@sisense/sdk-shared-ui 2.0.0 → 2.1.1

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.
Files changed (69) hide show
  1. package/dist/Breadcrumbs-Da5cnPID.cjs +3 -0
  2. package/dist/{Breadcrumbs-D4b_GQtd.js → Breadcrumbs-qJmt9n6B.js} +53 -53
  3. package/dist/Button-RoXZvXZf.cjs +1 -0
  4. package/dist/{Button-APrD1mzX.js → Button-Y7DwfxdO.js} +40 -40
  5. package/dist/{ButtonBase-BS1IFUdV.cjs → ButtonBase-CISYuRKV.cjs} +1 -1
  6. package/dist/{ButtonBase-DOZfyNZL.js → ButtonBase-UWHDpyst.js} +1 -1
  7. package/dist/{Checkbox-DFOHQKnj.js → Checkbox-BNkk6YDz.js} +43 -43
  8. package/dist/Checkbox-DpGUO-Li.cjs +1 -0
  9. package/dist/{Icon-YfaQM06u.js → Icon-JQpFT2bY.js} +12 -12
  10. package/dist/Icon-KwS2TWVq.cjs +1 -0
  11. package/dist/Portal-CtJkkaJ7.cjs +1 -0
  12. package/dist/{Portal-CLHtBz5i.js → Portal-DUw3q8Mq.js} +3 -3
  13. package/dist/{SvgIcon-DRiOiPzl.js → SvgIcon-5KhsYNcu.js} +1 -1
  14. package/dist/SvgIcon-DXzFs5aw.cjs +1 -0
  15. package/dist/{TablePagination-DMqJ2TDQ.js → TablePagination-CgaKWA2r.js} +455 -455
  16. package/dist/{TablePagination-DxCn_NpI.cjs → TablePagination-baLnBUNn.cjs} +12 -12
  17. package/dist/{Tooltip-DAxLCXwu.js → Tooltip-BpA4opI3.js} +154 -154
  18. package/dist/Tooltip-Dcsip2Zy.cjs +7 -0
  19. package/dist/Typography-BDMqUlbg.cjs +1 -0
  20. package/dist/{Typography-V0qAux0_.js → Typography-pY0gGUzu.js} +42 -42
  21. package/dist/{createSvgIcon-BFO1uNry.js → createSvgIcon-B28x3Jky.js} +1 -1
  22. package/dist/{createSvgIcon-BECoGUSX.cjs → createSvgIcon-KaV60kcg.cjs} +1 -1
  23. package/dist/emotion-cache-provider-C66nBUtN.cjs +114 -0
  24. package/dist/{ThemeProvider-idCYeHSk.js → emotion-cache-provider-CsTOkc-k.js} +1854 -1567
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.js +7 -7
  27. package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
  28. package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  29. package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
  30. package/dist/lib/Button/Button.cjs +1 -1
  31. package/dist/lib/Button/Button.d.ts.map +1 -1
  32. package/dist/lib/Button/Button.js +2 -2
  33. package/dist/lib/Checkbox/Checkbox.cjs +1 -1
  34. package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -1
  35. package/dist/lib/Checkbox/Checkbox.js +1 -1
  36. package/dist/lib/Icon/Icon.cjs +1 -1
  37. package/dist/lib/Icon/Icon.d.ts.map +1 -1
  38. package/dist/lib/Icon/Icon.js +1 -1
  39. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
  40. package/dist/lib/TablePagination/TablePagination.cjs +1 -1
  41. package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -1
  42. package/dist/lib/TablePagination/TablePagination.js +1 -1
  43. package/dist/lib/Tooltip/Tooltip.cjs +1 -1
  44. package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -1
  45. package/dist/lib/Tooltip/Tooltip.js +2 -2
  46. package/dist/lib/Typography/Typography.cjs +1 -1
  47. package/dist/lib/Typography/Typography.d.ts.map +1 -1
  48. package/dist/lib/Typography/Typography.js +2 -2
  49. package/dist/lib/common/emotion-cache-provider.d.ts +11 -0
  50. package/dist/lib/common/emotion-cache-provider.d.ts.map +1 -0
  51. package/dist/lib/themes/themes.cjs +1 -1
  52. package/dist/lib/themes/themes.js +1 -1
  53. package/dist/package.json +3 -1
  54. package/dist/{useSlotProps-DHNviH4P.js → useSlotProps-BxlgPyQJ.js} +1 -1
  55. package/dist/useSlotProps-DS82uuM_.cjs +1 -0
  56. package/dist/{useTheme-CNirH-1O.js → useTheme-CzEManLl.js} +1 -1
  57. package/dist/useTheme-DmoPdQRb.cjs +1 -0
  58. package/package.json +3 -1
  59. package/dist/Breadcrumbs-DHLUMk5g.cjs +0 -3
  60. package/dist/Button-DOVMisTd.cjs +0 -1
  61. package/dist/Checkbox-Ckp-O85I.cjs +0 -1
  62. package/dist/Icon-gOwM-Vrv.cjs +0 -1
  63. package/dist/Portal-DCkmwdyF.cjs +0 -1
  64. package/dist/SvgIcon-DwrPxEJR.cjs +0 -1
  65. package/dist/ThemeProvider-CLfPqpv1.cjs +0 -114
  66. package/dist/Tooltip-_QBcDSPT.cjs +0 -7
  67. package/dist/Typography-qWhZXZhp.cjs +0 -1
  68. package/dist/useSlotProps-1DAAbdYI.cjs +0 -1
  69. package/dist/useTheme-CKptR5QM.cjs +0 -1
@@ -0,0 +1,114 @@
1
+ "use strict";const _t=require("react"),N=require("./index-B-zZeebW.cjs"),X=require("react/jsx-runtime"),No=require("./extends-q0Hkx4pQ.cjs");function Ro(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 A=Ro(_t);function In(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=In(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Mo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=In(e))&&(n&&(n+=" "),n+=t);return n}function Io(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let s="",c=!0;for(let u=0;u<i.length;u+=1){const f=i[u];f&&(s+=(c===!0?"":" ")+t(f),c=!1,r&&r[f]&&(s+=" "+r[f]))}n[o]=s}return n}function Ot(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function mr(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ot(7));return e.charAt(0).toUpperCase()+e.slice(1)}function we(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 Dn(e){if(A.isValidElement(e)||!we(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Dn(e[r])}),t}function Pe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return we(e)&&we(t)&&Object.keys(t).forEach(o=>{A.isValidElement(t[o])?n[o]=t[o]:we(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&we(e[o])?n[o]=Pe(e[o],t[o],r):r.clone?n[o]=we(t[o])?Dn(t[o]):t[o]:n[o]=t[o]}),n}function nt(e,t){return t?Pe(e,t,{clone:!1}):e}const ke=process.env.NODE_ENV!=="production"?N.PropTypes.oneOfType([N.PropTypes.number,N.PropTypes.string,N.PropTypes.object,N.PropTypes.array]):{};function Do(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var s,c;const i=/min-width:\s*([0-9.]+)/;return+(((s=n.match(i))==null?void 0:s[1])||0)-+(((c=o.match(i))==null?void 0:c[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function jo(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Vo(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
2
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ot(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Lo(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...c)=>t(e.breakpoints.up(...c),s),i.down=(...c)=>t(e.breakpoints.down(...c),s),i.between=(...c)=>t(e.breakpoints.between(...c),s),i.only=(...c)=>t(e.breakpoints.only(...c),s),i.not=(...c)=>{const u=t(e.breakpoints.not(...c),s);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Rt={xs:0,sm:600,md:900,lg:1200,xl:1536},zr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rt[e]}px)`},Fo={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Rt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Se(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||zr;return t.reduce((s,c,u)=>(s[i.up(i.keys[u])]=r(t[u]),s),{})}if(typeof t=="object"){const i=n.breakpoints||zr;return Object.keys(t).reduce((s,c)=>{if(jo(i.keys,c)){const u=Vo(n.containerQueries?n:Fo,c);u&&(s[u]=r(t[c],c))}else if(Object.keys(i.values||Rt).includes(c)){const u=i.up(c);s[u]=r(t[c],c)}else{const u=c;s[u]=t[u]}return s},{})}return r(t)}function Bo(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function zo(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Mt(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 At(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Mt(e,r)||n,t&&(o=t(o,n,e)),o}function q(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const c=s[t],u=s.theme,f=Mt(u,n)||{};return Se(s,c,p=>{let g=At(f,o,p);return p===g&&typeof p=="string"&&(g=At(f,o,`${t}${p==="default"?"":mr(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:ke}:{},i.filterProps=[t],i}function Uo(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Yo={m:"margin",p:"padding"},Wo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ur={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Go=Uo(e=>{if(e.length>2)if(Ur[e])e=Ur[e];else return[e];const[t,r]=e.split(""),n=Yo[t],o=Wo[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),It=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Dt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ko=[...It,...Dt];function ut(e,t,r,n){const o=Mt(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
3
+ `)):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(`
4
+ `)));const c=o[s];return i>=0?c:typeof c=="number"?-c:`-${c}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
5
+ `)),()=>{})}function hr(e){return ut(e,"spacing",8,"spacing")}function ft(e,t){return typeof t=="string"||t==null?t:e(t)}function qo(e,t){return r=>e.reduce((n,o)=>(n[o]=ft(t,r),n),{})}function Ho(e,t,r,n){if(!t.includes(r))return null;const o=Go(r),i=qo(o,n),s=e[r];return Se(e,s,i)}function jn(e,t){const r=hr(e.theme);return Object.keys(e).map(n=>Ho(e,t,n,r)).reduce(nt,{})}function W(e){return jn(e,It)}W.propTypes=process.env.NODE_ENV!=="production"?It.reduce((e,t)=>(e[t]=ke,e),{}):{};W.filterProps=It;function G(e){return jn(e,Dt)}G.propTypes=process.env.NODE_ENV!=="production"?Dt.reduce((e,t)=>(e[t]=ke,e),{}):{};G.filterProps=Dt;process.env.NODE_ENV!=="production"&&Ko.reduce((e,t)=>(e[t]=ke,e),{});function jt(...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]?nt(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 ae(e){return typeof e!="number"?e:`${e}px solid`}function le(e,t){return q({prop:e,themeKey:"borders",transform:t})}const Xo=le("border",ae),Qo=le("borderTop",ae),Jo=le("borderRight",ae),Zo=le("borderBottom",ae),ei=le("borderLeft",ae),ti=le("borderColor"),ri=le("borderTopColor"),ni=le("borderRightColor"),oi=le("borderBottomColor"),ii=le("borderLeftColor"),si=le("outline",ae),ai=le("outlineColor"),Vt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ut(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:ft(t,n)});return Se(e,e.borderRadius,r)}return null};Vt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ke}:{};Vt.filterProps=["borderRadius"];jt(Xo,Qo,Jo,Zo,ei,ti,ri,ni,oi,ii,Vt,si,ai);const Lt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ut(e.theme,"spacing",8,"gap"),r=n=>({gap:ft(t,n)});return Se(e,e.gap,r)}return null};Lt.propTypes=process.env.NODE_ENV!=="production"?{gap:ke}:{};Lt.filterProps=["gap"];const Ft=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ut(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:ft(t,n)});return Se(e,e.columnGap,r)}return null};Ft.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ke}:{};Ft.filterProps=["columnGap"];const Bt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ut(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:ft(t,n)});return Se(e,e.rowGap,r)}return null};Bt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ke}:{};Bt.filterProps=["rowGap"];const ci=q({prop:"gridColumn"}),li=q({prop:"gridRow"}),ui=q({prop:"gridAutoFlow"}),fi=q({prop:"gridAutoColumns"}),di=q({prop:"gridAutoRows"}),pi=q({prop:"gridTemplateColumns"}),mi=q({prop:"gridTemplateRows"}),hi=q({prop:"gridTemplateAreas"}),gi=q({prop:"gridArea"});jt(Lt,Ft,Bt,ci,li,ui,fi,di,pi,mi,hi,gi);function Ue(e,t){return t==="grey"?t:e}const yi=q({prop:"color",themeKey:"palette",transform:Ue}),bi=q({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ue}),Si=q({prop:"backgroundColor",themeKey:"palette",transform:Ue});jt(yi,bi,Si);function oe(e){return e<=1&&e!==0?`${e*100}%`:e}const Ei=q({prop:"width",transform:oe}),gr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,s,c,u;const n=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[r])||Rt[r];return n?((u=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:oe(r)}};return Se(e,e.maxWidth,t)}return null};gr.filterProps=["maxWidth"];const Ci=q({prop:"minWidth",transform:oe}),wi=q({prop:"height",transform:oe}),xi=q({prop:"maxHeight",transform:oe}),Ti=q({prop:"minHeight",transform:oe});q({prop:"size",cssProperty:"width",transform:oe});q({prop:"size",cssProperty:"height",transform:oe});const $i=q({prop:"boxSizing"});jt(Ei,gr,Ci,wi,xi,Ti,$i);const dt={border:{themeKey:"borders",transform:ae},borderTop:{themeKey:"borders",transform:ae},borderRight:{themeKey:"borders",transform:ae},borderBottom:{themeKey:"borders",transform:ae},borderLeft:{themeKey:"borders",transform:ae},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ae},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vt},color:{themeKey:"palette",transform:Ue},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ue},backgroundColor:{themeKey:"palette",transform:Ue},p:{style:G},pt:{style:G},pr:{style:G},pb:{style:G},pl:{style:G},px:{style:G},py:{style:G},padding:{style:G},paddingTop:{style:G},paddingRight:{style:G},paddingBottom:{style:G},paddingLeft:{style:G},paddingX:{style:G},paddingY:{style:G},paddingInline:{style:G},paddingInlineStart:{style:G},paddingInlineEnd:{style:G},paddingBlock:{style:G},paddingBlockStart:{style:G},paddingBlockEnd:{style:G},m:{style:W},mt:{style:W},mr:{style:W},mb:{style:W},ml:{style:W},mx:{style:W},my:{style:W},margin:{style:W},marginTop:{style:W},marginRight:{style:W},marginBottom:{style:W},marginLeft:{style:W},marginX:{style:W},marginY:{style:W},marginInline:{style:W},marginInlineStart:{style:W},marginInlineEnd:{style:W},marginBlock:{style:W},marginBlockStart:{style:W},marginBlockEnd:{style:W},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:Lt},rowGap:{style:Bt},columnGap:{style:Ft},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:oe},maxWidth:{style:gr},minWidth:{transform:oe},height:{transform:oe},maxHeight:{transform:oe},minHeight:{transform:oe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function _i(...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 Oi(e,t){return typeof e=="function"?e(t):e}function Ai(){function e(r,n,o,i){const s={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:d,style:p}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const g=Mt(o,f)||{};return p?p(s):Se(s,n,y=>{let l=At(g,d,y);return y===l&&typeof y=="string"&&(l=At(g,d,`${r}${y==="default"?"":mr(y)}`,y)),u===!1?l:{[u]:l}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??dt;function s(c){let u=c;if(typeof c=="function")u=c(o);else if(typeof c!="object")return c;if(!u)return null;const f=Bo(o.breakpoints),d=Object.keys(f);let p=f;return Object.keys(u).forEach(g=>{const S=Oi(u[g],o);if(S!=null)if(typeof S=="object")if(i[g])p=nt(p,e(g,S,o,i));else{const y=Se({theme:o},S,l=>({[g]:l}));_i(y,S)?p[g]=t({sx:S,theme:o}):p=nt(p,y)}else p=nt(p,e(g,S,o,i))}),Do(o,zo(d,p))}return Array.isArray(n)?n.map(s):s(n)}return t}const Ne=Ai();Ne.filterProps=["sx"];function Vn(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)-.*))$/,Pi=Vn(function(e){return ki.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Ni(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 Ri(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 Mi=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(Ri(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:
6
+ `+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 s=Ni(o);try{s.insertRule(n,s.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}(),R="-ms-",Oe="-moz-",x="-webkit-",yr="comm",zt="rule",Ut="decl",Ii="@import",br="@keyframes",Di="@layer",ji=Math.abs,pt=String.fromCharCode,Vi=Object.assign;function Ln(e,t){return Y(e,0)^45?(((t<<2^Y(e,0))<<2^Y(e,1))<<2^Y(e,2))<<2^Y(e,3):0}function Fn(e){return e.trim()}function Bn(e,t){return(e=t.exec(e))?e[0]:e}function _(e,t,r){return e.replace(t,r)}function it(e,t){return e.indexOf(t)}function Y(e,t){return e.charCodeAt(t)|0}function st(e,t,r){return e.slice(t,r)}function ce(e){return e.length}function Sr(e){return e.length}function vt(e,t){return t.push(e),e}function zn(e,t){return e.map(t).join("")}var Yt=1,Ye=1,Un=0,Z=0,H=0,Ke="";function Wt(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Yt,column:Ye,length:s,return:""}}function he(e,t){return Vi(Wt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Li(){return H}function Fi(){return H=Z>0?Y(Ke,--Z):0,Ye--,H===10&&(Ye=1,Yt--),H}function te(){return H=Z<Un?Y(Ke,Z++):0,Ye++,H===10&&(Ye=1,Yt++),H}function ie(){return Y(Ke,Z)}function xt(){return Z}function qe(e,t){return st(Ke,e,t)}function Re(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 vr(e){return Yt=Ye=1,Un=ce(Ke=e),Z=0,[]}function Er(e){return Ke="",e}function ot(e){return Fn(qe(Z-1,ar(e===91?e+2:e===40?e+1:e)))}function Bi(e){for(;(H=ie())&&H<33;)te();return Re(e)>2||Re(H)>3?"":" "}function zi(e,t){for(;--t&&te()&&!(H<48||H>102||H>57&&H<65||H>70&&H<97););return qe(e,xt()+(t<6&&ie()==32&&te()==32))}function ar(e){for(;te();)switch(H){case e:return Z;case 34:case 39:e!==34&&e!==39&&ar(H);break;case 40:e===41&&ar(e);break;case 92:te();break}return Z}function Ui(e,t){for(;te()&&e+H!==57;)if(e+H===84&&ie()===47)break;return"/*"+qe(t,Z-1)+"*"+pt(e===47?e:te())}function Yi(e){for(;!Re(ie());)te();return qe(e,Z)}function Yn(e){return Er(Tt("",null,null,null,[""],e=vr(e),0,[0],e))}function Tt(e,t,r,n,o,i,s,c,u){for(var f=0,d=0,p=s,g=0,S=0,y=0,l=1,v=1,E=1,k=0,C="",b=o,m=i,w=n,$=C;v;)switch(y=k,k=te()){case 40:if(y!=108&&Y($,p-1)==58){it($+=_(ot(k),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:$+=ot(k);break;case 9:case 10:case 13:case 32:$+=Bi(y);break;case 92:$+=zi(xt()-1,7);continue;case 47:switch(ie()){case 42:case 47:vt(Wi(Ui(te(),xt()),t,r),u);break;default:$+="/"}break;case 123*l:c[f++]=ce($)*E;case 125*l:case 59:case 0:switch(k){case 0:case 125:v=0;case 59+d:E==-1&&($=_($,/\f/g,"")),S>0&&ce($)-p&&vt(S>32?Wr($+";",n,r,p-1):Wr(_($," ","")+";",n,r,p-2),u);break;case 59:$+=";";default:if(vt(w=Yr($,t,r,f,d,o,c,C,b=[],m=[],p),i),k===123)if(d===0)Tt($,t,w,w,b,i,p,c,m);else switch(g===99&&Y($,3)===110?100:g){case 100:case 108:case 109:case 115:Tt(e,w,w,n&&vt(Yr(e,w,w,0,0,o,c,C,o,b=[],p),m),o,m,p,c,n?b:m);break;default:Tt($,w,w,w,[""],m,0,c,m)}}f=d=S=0,l=E=1,C=$="",p=s;break;case 58:p=1+ce($),S=y;default:if(l<1){if(k==123)--l;else if(k==125&&l++==0&&Fi()==125)continue}switch($+=pt(k),k*l){case 38:E=d>0?1:($+="\f",-1);break;case 44:c[f++]=(ce($)-1)*E,E=1;break;case 64:ie()===45&&($+=ot(te())),g=ie(),d=p=ce(C=$+=Yi(xt())),k++;break;case 45:y===45&&ce($)==2&&(l=0)}}return i}function Yr(e,t,r,n,o,i,s,c,u,f,d){for(var p=o-1,g=o===0?i:[""],S=Sr(g),y=0,l=0,v=0;y<n;++y)for(var E=0,k=st(e,p+1,p=ji(l=s[y])),C=e;E<S;++E)(C=Fn(l>0?g[E]+" "+k:_(k,/&\f/g,g[E])))&&(u[v++]=C);return Wt(e,t,r,o===0?zt:c,u,f,d)}function Wi(e,t,r){return Wt(e,t,r,yr,pt(Li()),st(e,2,-2),0)}function Wr(e,t,r,n){return Wt(e,t,r,Ut,st(e,0,n),st(e,n+1,-1),n)}function ge(e,t){for(var r="",n=Sr(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Wn(e,t,r,n){switch(e.type){case Di:if(e.children.length)break;case Ii:case Ut:return e.return=e.return||e.value;case yr:return"";case br:return e.return=e.value+"{"+ge(e.children,n)+"}";case zt:e.value=e.props.join(",")}return ce(r=ge(e.children,n))?e.return=e.value+"{"+r+"}":""}function Gn(e){var t=Sr(e);return function(r,n,o,i){for(var s="",c=0;c<t;c++)s+=e[c](r,n,o,i)||"";return s}}function Kn(e){return function(t){t.root||(t=t.return)&&e(t)}}var Gi=function(t,r,n){for(var o=0,i=0;o=i,i=ie(),o===38&&i===12&&(r[n]=1),!Re(i);)te();return qe(t,Z)},Ki=function(t,r){var n=-1,o=44;do switch(Re(o)){case 0:o===38&&ie()===12&&(r[n]=1),t[n]+=Gi(Z-1,r,n);break;case 2:t[n]+=ot(o);break;case 4:if(o===44){t[++n]=ie()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=pt(o)}while(o=te());return t},qi=function(t,r){return Er(Ki(vr(t),r))},Gr=new WeakMap,Hi=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&&!Gr.get(n))&&!o){Gr.set(t,!0);for(var i=[],s=qi(r,i),c=n.props,u=0,f=0;u<s.length;u++)for(var d=0;d<c.length;d++,f++)t.props[f]=i[u]?s[u].replace(/&\f/g,c[d]):c[d]+" "+s[u]}}},Xi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Qi="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Ji=function(t){return t.type==="comm"&&t.children.indexOf(Qi)>-1},Zi=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 s=!!r.parent,c=s?r.parent.children:o,u=c.length-1;u>=0;u--){var f=c[u];if(f.line<r.line)break;if(f.column<r.column){if(Ji(f))return;break}}i.forEach(function(d){console.error('The pseudo class "'+d+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+d.split("-child")[0]+'-of-type".')})}}}},qn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},es=function(t,r){for(var n=t-1;n>=0;n--)if(!qn(r[n]))return!0;return!1},Kr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ts=function(t,r,n){qn(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."),Kr(t)):es(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Kr(t)))};function Hn(e,t){switch(Ln(e,t)){case 5103:return x+"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 x+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+Oe+e+R+e+e;case 6828:case 4268:return x+e+R+e+e;case 6165:return x+e+R+"flex-"+e+e;case 5187:return x+e+_(e,/(\w+).+(:[^]+)/,x+"box-$1$2"+R+"flex-$1$2")+e;case 5443:return x+e+R+"flex-item-"+_(e,/flex-|-self/,"")+e;case 4675:return x+e+R+"flex-line-pack"+_(e,/align-content|flex-|-self/,"")+e;case 5548:return x+e+R+_(e,"shrink","negative")+e;case 5292:return x+e+R+_(e,"basis","preferred-size")+e;case 6060:return x+"box-"+_(e,"-grow","")+x+e+R+_(e,"grow","positive")+e;case 4554:return x+_(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return _(_(_(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return _(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return _(_(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3"+R+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+x+e+e;case 4095:case 3583:case 4068:case 2532:return _(e,/(.+)-inline(.+)/,x+"$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(ce(e)-1-t>6)switch(Y(e,t+1)){case 109:if(Y(e,t+4)!==45)break;case 102:return _(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+Oe+(Y(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~it(e,"stretch")?Hn(_(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Y(e,t+1)!==115)break;case 6444:switch(Y(e,ce(e)-3-(~it(e,"!important")&&10))){case 107:return _(e,":",":"+x)+e;case 101:return _(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+x+(Y(e,14)===45?"inline-":"")+"box$3$1"+x+"$2$3$1"+R+"$2box$3")+e}break;case 5936:switch(Y(e,t+11)){case 114:return x+e+R+_(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+R+_(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+R+_(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return x+e+R+e+e}return e}var rs=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ut:t.return=Hn(t.value,t.length);break;case br:return ge([he(t,{value:_(t.value,"@","@"+x)})],o);case zt:if(t.length)return zn(t.props,function(i){switch(Bn(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ge([he(t,{props:[_(i,/:(read-\w+)/,":"+Oe+"$1")]})],o);case"::placeholder":return ge([he(t,{props:[_(i,/:(plac\w+)/,":"+x+"input-$1")]}),he(t,{props:[_(i,/:(plac\w+)/,":"+Oe+"$1")]}),he(t,{props:[_(i,/:(plac\w+)/,R+"input-$1")]})],o)}return""})}},ns=[rs],os=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.
7
+ 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 v=l.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||ns;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={},s,c=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var v=l.getAttribute("data-emotion").split(" "),E=1;E<v.length;E++)i[v[E]]=!0;c.push(l)});var u,f=[Hi,Xi];process.env.NODE_ENV!=="production"&&f.push(Zi({get compat(){return y.compat}}),ts);{var d,p=[Wn,process.env.NODE_ENV!=="production"?function(l){l.root||(l.return?d.insert(l.return):l.value&&l.type!==yr&&d.insert(l.value+"{}"))}:Kn(function(l){d.insert(l)})],g=Gn(f.concat(o,p)),S=function(v){return ge(Yn(v),g)};u=function(v,E,k,C){d=k,process.env.NODE_ENV!=="production"&&E.map!==void 0&&(d={insert:function(m){k.insert(m+E.map)}}),S(v?v+"{"+E.styles+"}":E.styles),C&&(y.inserted[E.name]=!0)}}var y={key:r,sheet:new Mi({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return y.sheet.hydrate(c),y},cr={exports:{}},D={};/** @license React v16.13.1
8
+ * react-is.production.min.js
9
+ *
10
+ * Copyright (c) Facebook, Inc. and its affiliates.
11
+ *
12
+ * This source code is licensed under the MIT license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */var qr;function is(){if(qr)return D;qr=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,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function C(m){if(typeof m=="object"&&m!==null){var w=m.$$typeof;switch(w){case t:switch(m=m.type,m){case u:case f:case n:case i:case o:case p:return m;default:switch(m=m&&m.$$typeof,m){case c:case d:case y:case S:case s:return m;default:return w}}case r:return w}}}function b(m){return C(m)===f}return D.AsyncMode=u,D.ConcurrentMode=f,D.ContextConsumer=c,D.ContextProvider=s,D.Element=t,D.ForwardRef=d,D.Fragment=n,D.Lazy=y,D.Memo=S,D.Portal=r,D.Profiler=i,D.StrictMode=o,D.Suspense=p,D.isAsyncMode=function(m){return b(m)||C(m)===u},D.isConcurrentMode=b,D.isContextConsumer=function(m){return C(m)===c},D.isContextProvider=function(m){return C(m)===s},D.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},D.isForwardRef=function(m){return C(m)===d},D.isFragment=function(m){return C(m)===n},D.isLazy=function(m){return C(m)===y},D.isMemo=function(m){return C(m)===S},D.isPortal=function(m){return C(m)===r},D.isProfiler=function(m){return C(m)===i},D.isStrictMode=function(m){return C(m)===o},D.isSuspense=function(m){return C(m)===p},D.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===f||m===i||m===o||m===p||m===g||typeof m=="object"&&m!==null&&(m.$$typeof===y||m.$$typeof===S||m.$$typeof===s||m.$$typeof===c||m.$$typeof===d||m.$$typeof===v||m.$$typeof===E||m.$$typeof===k||m.$$typeof===l)},D.typeOf=C,D}var j={};/** @license React v16.13.1
15
+ * react-is.development.js
16
+ *
17
+ * Copyright (c) Facebook, Inc. and its affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */var Hr;function ss(){return Hr||(Hr=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,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function C(O){return typeof O=="string"||typeof O=="function"||O===n||O===f||O===i||O===o||O===p||O===g||typeof O=="object"&&O!==null&&(O.$$typeof===y||O.$$typeof===S||O.$$typeof===s||O.$$typeof===c||O.$$typeof===d||O.$$typeof===v||O.$$typeof===E||O.$$typeof===k||O.$$typeof===l)}function b(O){if(typeof O=="object"&&O!==null){var Ie=O.$$typeof;switch(Ie){case t:var De=O.type;switch(De){case u:case f:case n:case i:case o:case p:return De;default:var Qe=De&&De.$$typeof;switch(Qe){case c:case d:case y:case S:case s:return Qe;default:return Ie}}case r:return Ie}}}var m=u,w=f,$=c,M=s,V=t,a=d,T=n,P=y,I=S,K=r,J=i,ue=o,ve=p,Ee=!1;function mt(O){return Ee||(Ee=!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.")),ee(O)||b(O)===u}function ee(O){return b(O)===f}function pe(O){return b(O)===c}function ht(O){return b(O)===s}function He(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function gt(O){return b(O)===d}function Ce(O){return b(O)===n}function yt(O){return b(O)===y}function bt(O){return b(O)===S}function Jt(O){return b(O)===r}function Zt(O){return b(O)===i}function Xe(O){return b(O)===o}function St(O){return b(O)===p}j.AsyncMode=m,j.ConcurrentMode=w,j.ContextConsumer=$,j.ContextProvider=M,j.Element=V,j.ForwardRef=a,j.Fragment=T,j.Lazy=P,j.Memo=I,j.Portal=K,j.Profiler=J,j.StrictMode=ue,j.Suspense=ve,j.isAsyncMode=mt,j.isConcurrentMode=ee,j.isContextConsumer=pe,j.isContextProvider=ht,j.isElement=He,j.isForwardRef=gt,j.isFragment=Ce,j.isLazy=yt,j.isMemo=bt,j.isPortal=Jt,j.isProfiler=Zt,j.isStrictMode=Xe,j.isSuspense=St,j.isValidElementType=C,j.typeOf=b}()),j}process.env.NODE_ENV==="production"?cr.exports=is():cr.exports=ss();var as=cr.exports,Xn=as,cs={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ls={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Qn={};Qn[Xn.ForwardRef]=cs;Qn[Xn.Memo]=ls;var us=!0;function Cr(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Gt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||us===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Kt=function(t,r,n){Gt(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 fs(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 ds={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},Xr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
22
+ 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';".
23
+ You can read more about this here:
24
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,ps="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ms=/[A-Z]|^ms/g,Jn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wr=function(t){return t.charCodeAt(1)===45},Qr=function(t){return t!=null&&typeof t!="boolean"},tr=Vn(function(e){return wr(e)?e:e.replace(ms,"-$&").toLowerCase()}),kt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Jn,function(n,o,i){return de={name:o,styles:i,next:de},o})}return ds[t]!==1&&!wr(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var hs=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,gs=["normal","none","initial","inherit","unset"],ys=kt,bs=/^-ms-/,Ss=/-(.)/g,Jr={};kt=function(t,r){if(t==="content"&&(typeof r!="string"||gs.indexOf(r)===-1&&!hs.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=ys(t,r);return n!==""&&!wr(t)&&t.indexOf("-")!==-1&&Jr[t]===void 0&&(Jr[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(bs,"ms-").replace(Ss,function(o,i){return i.toUpperCase()})+"?")),n}}var Zn="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function at(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(Zn);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return de={name:r.name,styles:r.styles,next:de},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)de={name:n.name,styles:n.styles,next:de},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return vs(e,t,r)}case"function":{if(e!==void 0){var i=de,s=r(e);return de=i,at(e,t,s)}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(Jn,function(d,p,g){var S="animation"+c.length;return c.push("const "+S+" = keyframes`"+g.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+S+"}"});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(`
25
+ `)+`
26
+
27
+ You should wrap it with \`css\` like this:
28
+
29
+ `+("css`"+u+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function vs(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=at(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":Qr(s)&&(n+=tr(i)+":"+kt(i,s)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Zn);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var c=0;c<s.length;c++)Qr(s[c])&&(n+=tr(i)+":"+kt(i,s[c])+";");else{var u=at(e,t,s);switch(i){case"animation":case"animationName":{n+=tr(i)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(ps),n+=i+"{"+u+"}"}}}}return n}var Zr=/label:\s*([^\s;\n{]+)\s*(;|$)/g,eo;process.env.NODE_ENV!=="production"&&(eo=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var de,We=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="";de=void 0;var s=t[0];s==null||s.raw===void 0?(o=!1,i+=at(n,r,s)):(process.env.NODE_ENV!=="production"&&s[0]===void 0&&console.error(Xr),i+=s[0]);for(var c=1;c<t.length;c++)i+=at(n,r,t[c]),o&&(process.env.NODE_ENV!=="production"&&s[c]===void 0&&console.error(Xr),i+=s[c]);var u;process.env.NODE_ENV!=="production"&&(i=i.replace(eo,function(g){return u=g,""})),Zr.lastIndex=0;for(var f="",d;(d=Zr.exec(i))!==null;)f+="-"+d[1];var p=fs(i)+f;return process.env.NODE_ENV!=="production"?{name:p,styles:i,map:u,next:de,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:p,styles:i,next:de}},Es=function(t){return t()},to=A.useInsertionEffect?A.useInsertionEffect:!1,xr=to||Es,en=to||A.useLayoutEffect,Cs={}.hasOwnProperty,Tr=A.createContext(typeof HTMLElement<"u"?os({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Tr.displayName="EmotionCacheContext");var ws=Tr.Provider,qt=function(t){return _t.forwardRef(function(r,n){var o=_t.useContext(Tr);return t(r,o,n)})},Me=A.createContext({});process.env.NODE_ENV!=="production"&&(Me.displayName="EmotionThemeContext");var tn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",rn="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",xs=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Gt(r,n,o),xr(function(){return Kt(r,n,o)}),null},Ts=qt(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[tn],i=[n],s="";typeof e.className=="string"?s=Cr(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var c=We(i,void 0,A.useContext(Me));if(process.env.NODE_ENV!=="production"&&c.name.indexOf("-")===-1){var u=e[rn];u&&(c=We([c,"label:"+u+";"]))}s+=t.key+"-"+c.name;var f={};for(var d in e)Cs.call(e,d)&&d!=="css"&&d!==tn&&(process.env.NODE_ENV==="production"||d!==rn)&&(f[d]=e[d]);return f.ref=r,f.className=s,A.createElement(A.Fragment,null,A.createElement(xs,{cache:t,serialized:c,isStringTag:typeof o=="string"}),A.createElement(o,f))});process.env.NODE_ENV!=="production"&&(Ts.displayName="EmotionCssPropInternal");var $s={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"}}}}},nn=!1,ro=qt(function(e,t){process.env.NODE_ENV!=="production"&&!nn&&(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?"),nn=!0);var r=e.styles,n=We([r],void 0,A.useContext(Me)),o=A.useRef();return en(function(){var i=t.key+"-global",s=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&&(s.before=t.sheet.tags[0]),u!==null&&(c=!0,u.setAttribute("data-emotion",i),s.hydrate([u])),o.current=[s,c],function(){s.flush()}},[t]),en(function(){var i=o.current,s=i[0],c=i[1];if(c){i[1]=!1;return}if(n.next!==void 0&&Kt(t,n.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(ro.displayName="EmotionGlobal");function _s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return We(t)}var Os=function(){var t=_s.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_"}}},As=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(i!=null){var s=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))s=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."),s="";for(var c in i)i[c]&&c&&(s&&(s+=" "),s+=c)}break}default:s=i}s&&(o&&(o+=" "),o+=s)}}return o};function ks(e,t,r){var n=[],o=Cr(e,n,r);return n.length<2?r:o+t(n)}var Ps=function(t){var r=t.cache,n=t.serializedArr;return xr(function(){for(var o=0;o<n.length;o++)Kt(r,n[o],!1)}),null},Ns=qt(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var f=arguments.length,d=new Array(f),p=0;p<f;p++)d[p]=arguments[p];var g=We(d,t.registered);return n.push(g),Gt(t,g,!1),t.key+"-"+g.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var f=arguments.length,d=new Array(f),p=0;p<f;p++)d[p]=arguments[p];return ks(t.registered,o,As(d))},s={css:o,cx:i,theme:A.useContext(Me)},c=e.children(s);return r=!0,A.createElement(A.Fragment,null,A.createElement(Ps,{cache:t,serializedArr:n}),c)});process.env.NODE_ENV!=="production"&&(Ns.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var on=!0,Rs=typeof jest<"u"||typeof vi<"u";if(on&&!Rs){var sn=typeof globalThis<"u"?globalThis:on?window:global,an="__EMOTION_REACT_"+$s.version.split(".")[0]+"__";sn[an]&&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."),sn[an]=!0}}var Ms=Pi,Is=function(t){return t!=="theme"},cn=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ms:Is},ln=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},un=`You have illegal escape sequence in your template literal, most likely inside content's property value.
30
+ 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';".
31
+ You can read more about this here:
32
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ds=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Gt(r,n,o),xr(function(){return Kt(r,n,o)}),null},js=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.
33
+ You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var c=ln(t,r,n),u=c||cn(o),f=!u("as");return function(){var d=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{process.env.NODE_ENV!=="production"&&d[0][0]===void 0&&console.error(un),p.push(d[0][0]);for(var g=d.length,S=1;S<g;S++)process.env.NODE_ENV!=="production"&&d[0][S]===void 0&&console.error(un),p.push(d[S],d[0][S])}var y=qt(function(l,v,E){var k=f&&l.as||o,C="",b=[],m=l;if(l.theme==null){m={};for(var w in l)m[w]=l[w];m.theme=A.useContext(Me)}typeof l.className=="string"?C=Cr(v.registered,b,l.className):l.className!=null&&(C=l.className+" ");var $=We(p.concat(b),v.registered,m);C+=v.key+"-"+$.name,s!==void 0&&(C+=" "+s);var M=f&&c===void 0?cn(k):u,V={};for(var a in l)f&&a==="as"||M(a)&&(V[a]=l[a]);return V.className=C,V.ref=E,A.createElement(A.Fragment,null,A.createElement(Ds,{cache:v,serialized:$,isStringTag:typeof k=="string"}),A.createElement(k,V))});return y.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=o,y.__emotion_styles=p,y.__emotion_forwardProp=c,Object.defineProperty(y,"toString",{value:function(){return s===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+s}}),y.withComponent=function(l,v){return e(l,No._extends({},r,v,{shouldForwardProp:ln(y,v,!0)})).apply(void 0,p)},y}},Vs=["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"],lr=js.bind();Vs.forEach(function(e){lr[e]=lr(e)});function Ls(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 Fs={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,scale: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};function Bs(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var zs=!1,Us=/[A-Z]|^ms/g,Ys=/_EMO_([^_]+?)_([^]*?)_EMO_/g,no=function(t){return t.charCodeAt(1)===45},fn=function(t){return t!=null&&typeof t!="boolean"},rr=Bs(function(e){return no(e)?e:e.replace(Us,"-$&").toLowerCase()}),dn=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ys,function(n,o,i){return Te={name:o,styles:i,next:Te},o})}return Fs[t]!==1&&!no(t)&&typeof r=="number"&&r!==0?r+"px":r},Ws="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Pt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Te={name:o.name,styles:o.styles,next:Te},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Te={name:s.name,styles:s.styles,next:Te},s=s.next;var c=i.styles+";";return c}return Gs(e,t,r)}}var u=r;return u}function Gs(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Pt(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var c=s;fn(c)&&(n+=rr(i)+":"+dn(i,c)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&zs)throw new Error(Ws);if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var u=0;u<s.length;u++)fn(s[u])&&(n+=rr(i)+":"+dn(i,s[u])+";");else{var f=Pt(e,t,s);switch(i){case"animation":case"animationName":{n+=rr(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}}return n}var pn=/label:\s*([^\s;{]+)\s*(;|$)/g,Te;function Ks(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Te=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Pt(r,t,i);else{var s=i;o+=s[0]}for(var c=1;c<e.length;c++)if(o+=Pt(r,t,e[c]),n){var u=i;o+=u[c]}pn.lastIndex=0;for(var f="",d;(d=pn.exec(o))!==null;)f+="-"+d[1];var p=Ls(o)+f;return{name:p,styles:o,next:Te}}var qs=!1;function Hs(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 Xs(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 Qs=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?!qs: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(Xs(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Hs(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Js=function(t,r,n){for(var o=0,i=0;o=i,i=ie(),o===38&&i===12&&(r[n]=1),!Re(i);)te();return qe(t,Z)},Zs=function(t,r){var n=-1,o=44;do switch(Re(o)){case 0:o===38&&ie()===12&&(r[n]=1),t[n]+=Js(Z-1,r,n);break;case 2:t[n]+=ot(o);break;case 4:if(o===44){t[++n]=ie()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=pt(o)}while(o=te());return t},ea=function(t,r){return Er(Zs(vr(t),r))},mn=new WeakMap,ta=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&&!mn.get(n))&&!o){mn.set(t,!0);for(var i=[],s=ea(r,i),c=n.props,u=0,f=0;u<s.length;u++)for(var d=0;d<c.length;d++,f++)t.props[f]=i[u]?s[u].replace(/&\f/g,c[d]):c[d]+" "+s[u]}}},ra=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function oo(e,t){switch(Ln(e,t)){case 5103:return x+"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 x+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+Oe+e+R+e+e;case 6828:case 4268:return x+e+R+e+e;case 6165:return x+e+R+"flex-"+e+e;case 5187:return x+e+_(e,/(\w+).+(:[^]+)/,x+"box-$1$2"+R+"flex-$1$2")+e;case 5443:return x+e+R+"flex-item-"+_(e,/flex-|-self/,"")+e;case 4675:return x+e+R+"flex-line-pack"+_(e,/align-content|flex-|-self/,"")+e;case 5548:return x+e+R+_(e,"shrink","negative")+e;case 5292:return x+e+R+_(e,"basis","preferred-size")+e;case 6060:return x+"box-"+_(e,"-grow","")+x+e+R+_(e,"grow","positive")+e;case 4554:return x+_(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return _(_(_(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return _(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return _(_(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3"+R+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+x+e+e;case 4095:case 3583:case 4068:case 2532:return _(e,/(.+)-inline(.+)/,x+"$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(ce(e)-1-t>6)switch(Y(e,t+1)){case 109:if(Y(e,t+4)!==45)break;case 102:return _(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+Oe+(Y(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~it(e,"stretch")?oo(_(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Y(e,t+1)!==115)break;case 6444:switch(Y(e,ce(e)-3-(~it(e,"!important")&&10))){case 107:return _(e,":",":"+x)+e;case 101:return _(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+x+(Y(e,14)===45?"inline-":"")+"box$3$1"+x+"$2$3$1"+R+"$2box$3")+e}break;case 5936:switch(Y(e,t+11)){case 114:return x+e+R+_(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+R+_(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+R+_(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return x+e+R+e+e}return e}var na=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ut:t.return=oo(t.value,t.length);break;case br:return ge([he(t,{value:_(t.value,"@","@"+x)})],o);case zt:if(t.length)return zn(t.props,function(i){switch(Bn(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ge([he(t,{props:[_(i,/:(read-\w+)/,":"+Oe+"$1")]})],o);case"::placeholder":return ge([he(t,{props:[_(i,/:(plac\w+)/,":"+x+"input-$1")]}),he(t,{props:[_(i,/:(plac\w+)/,":"+Oe+"$1")]}),he(t,{props:[_(i,/:(plac\w+)/,R+"input-$1")]})],o)}return""})}},oa=[na],ia=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var v=l.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||oa,i={},s,c=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var v=l.getAttribute("data-emotion").split(" "),E=1;E<v.length;E++)i[v[E]]=!0;c.push(l)});var u,f=[ta,ra];{var d,p=[Wn,Kn(function(l){d.insert(l)})],g=Gn(f.concat(o,p)),S=function(v){return ge(Yn(v),g)};u=function(v,E,k,C){d=k,S(v?v+"{"+E.styles+"}":E.styles),C&&(y.inserted[E.name]=!0)}}var y={key:r,sheet:new Qs({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return y.sheet.hydrate(c),y};function sa(e){return e==null||Object.keys(e).length===0}function $r(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(sa(o)?r:o):t;return X.jsx(ro,{styles:n})}process.env.NODE_ENV!=="production"&&($r.propTypes={defaultTheme:N.PropTypes.object,styles:N.PropTypes.oneOfType([N.PropTypes.array,N.PropTypes.string,N.PropTypes.object,N.PropTypes.func])});/**
34
+ * @mui/styled-engine v6.2.1
35
+ *
36
+ * @license MIT
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */function aa(e,t){const r=lr(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(`
40
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function ca(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const hn=[];function gn(e){return hn[0]=e,Ks(hn)}const la=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)=>({...r,[n.key]:n.val}),{})};function ua(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=la(t),s=Object.keys(i);function c(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function f(g,S){const y=s.indexOf(S);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:S)-n/100}${r})`}function d(g){return s.indexOf(g)+1<s.length?f(g,s[s.indexOf(g)+1]):c(g)}function p(g){const S=s.indexOf(g);return S===0?c(s[1]):S===s.length-1?u(s[S]):f(g,s[s.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:c,down:u,between:f,only:d,not:p,unit:r,...o}}const fa={borderRadius:4};function io(e=8,t=hr({spacing:e})){if(e.mui)return e;const 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 s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function da(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function _r(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,c=ua(r),u=io(o);let f=Pe({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...fa,...i}},s);return f=Lo(f),f.applyStyles=da,f=t.reduce((d,p)=>Pe(d,p),f),f.unstable_sxConfig={...dt,...s==null?void 0:s.unstable_sxConfig},f.unstable_sx=function(p){return Ne({sx:p,theme:this})},f}function pa(e){return Object.keys(e).length===0}function so(e=null){const t=A.useContext(Me);return!t||pa(t)?e:t}var ur={exports:{}},L={};/**
41
+ * @license React
42
+ * react-is.production.js
43
+ *
44
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
45
+ *
46
+ * This source code is licensed under the MIT license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ */var yn;function ma(){if(yn)return L;yn=1;var e=Symbol.for("react.transitional.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.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),S=Symbol.for("react.client.reference");function y(l){if(typeof l=="object"&&l!==null){var v=l.$$typeof;switch(v){case e:switch(l=l.type,l){case r:case o:case n:case u:case f:return l;default:switch(l=l&&l.$$typeof,l){case s:case c:case p:case d:return l;case i:return l;default:return v}}case t:return v}}}return L.ContextConsumer=i,L.ContextProvider=s,L.Element=e,L.ForwardRef=c,L.Fragment=r,L.Lazy=p,L.Memo=d,L.Portal=t,L.Profiler=o,L.StrictMode=n,L.Suspense=u,L.SuspenseList=f,L.isContextConsumer=function(l){return y(l)===i},L.isContextProvider=function(l){return y(l)===s},L.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},L.isForwardRef=function(l){return y(l)===c},L.isFragment=function(l){return y(l)===r},L.isLazy=function(l){return y(l)===p},L.isMemo=function(l){return y(l)===d},L.isPortal=function(l){return y(l)===t},L.isProfiler=function(l){return y(l)===o},L.isStrictMode=function(l){return y(l)===n},L.isSuspense=function(l){return y(l)===u},L.isSuspenseList=function(l){return y(l)===f},L.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===u||l===f||l===g||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===d||l.$$typeof===s||l.$$typeof===i||l.$$typeof===c||l.$$typeof===S||l.getModuleId!==void 0)},L.typeOf=y,L}var F={};/**
49
+ * @license React
50
+ * react-is.development.js
51
+ *
52
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ */var bn;function ha(){return bn||(bn=1,process.env.NODE_ENV!=="production"&&function(){function e(l){if(typeof l=="object"&&l!==null){var v=l.$$typeof;switch(v){case t:switch(l=l.type,l){case n:case i:case o:case f:case d:return l;default:switch(l=l&&l.$$typeof,l){case c:case u:case g:case p:return l;case s:return l;default:return v}}case r:return v}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),y=Symbol.for("react.client.reference");F.ContextConsumer=s,F.ContextProvider=c,F.Element=t,F.ForwardRef=u,F.Fragment=n,F.Lazy=g,F.Memo=p,F.Portal=r,F.Profiler=i,F.StrictMode=o,F.Suspense=f,F.SuspenseList=d,F.isContextConsumer=function(l){return e(l)===s},F.isContextProvider=function(l){return e(l)===c},F.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},F.isForwardRef=function(l){return e(l)===u},F.isFragment=function(l){return e(l)===n},F.isLazy=function(l){return e(l)===g},F.isMemo=function(l){return e(l)===p},F.isPortal=function(l){return e(l)===r},F.isProfiler=function(l){return e(l)===i},F.isStrictMode=function(l){return e(l)===o},F.isSuspense=function(l){return e(l)===f},F.isSuspenseList=function(l){return e(l)===d},F.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===f||l===d||l===S||typeof l=="object"&&l!==null&&(l.$$typeof===g||l.$$typeof===p||l.$$typeof===c||l.$$typeof===s||l.$$typeof===u||l.$$typeof===y||l.getModuleId!==void 0)},F.typeOf=e}()),F}process.env.NODE_ENV==="production"?ur.exports=ma():ur.exports=ha();var Sn=ur.exports;function ao(e,t=""){return e.displayName||e.name||t}function vn(e,t,r){const n=ao(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function ga(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ao(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Sn.ForwardRef:return vn(e,e.render,"ForwardRef");case Sn.Memo:return vn(e,e.type,"memo");default:return}}}function co(e){const{variants:t,...r}=e,n={variants:t,style:gn(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=gn(o.style))}),n}const ya=_r();function nr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ba(e){return e?(t,r)=>r[e]:null}function Sa(e,t,r){e.theme=wa(e.theme)?r:e.theme[t]||e.theme}function $t(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>$t(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return lo(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function lo(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(n))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&((o=e.ownerState)==null?void 0:o[c])!==s.props[c])continue e;typeof s.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(s.style(n))):r.push(s.style)}return r}function va(e={}){const{themeId:t,defaultTheme:r=ya,rootShouldForwardProp:n=nr,slotShouldForwardProp:o=nr}=e;function i(c){Sa(c,t,r)}return(c,u={})=>{ca(c,m=>m.filter(w=>w!==Ne));const{name:f,slot:d,skipVariantsResolver:p,skipSx:g,overridesResolver:S=ba(uo(d)),...y}=u,l=p!==void 0?p:d&&d!=="Root"&&d!=="root"||!1,v=g||!1;let E=nr;d==="Root"||d==="root"?E=n:d?E=o:xa(c)&&(E=void 0);const k=aa(c,{shouldForwardProp:E,label:Ca(f,d),...y}),C=m=>{if(typeof m=="function"&&m.__emotion_real!==m)return function($){return $t($,m)};if(we(m)){const w=co(m);return w.variants?function(M){return $t(M,w)}:w.style}return m},b=(...m)=>{const w=[],$=m.map(C),M=[];if(w.push(i),f&&S&&M.push(function(P){var ue,ve;const K=(ve=(ue=P.theme.components)==null?void 0:ue[f])==null?void 0:ve.styleOverrides;if(!K)return null;const J={};for(const Ee in K)J[Ee]=$t(P,K[Ee]);return S(P,J)}),f&&!l&&M.push(function(P){var J,ue;const I=P.theme,K=(ue=(J=I==null?void 0:I.components)==null?void 0:J[f])==null?void 0:ue.variants;return K?lo(P,K):null}),v||M.push(Ne),Array.isArray($[0])){const T=$.shift(),P=new Array(w.length).fill(""),I=new Array(M.length).fill("");let K;K=[...P,...T,...I],K.raw=[...P,...T.raw,...I],w.unshift(K)}const V=[...w,...$,...M],a=k(...V);return c.muiName&&(a.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(a.displayName=Ea(f,d,c)),a};return k.withConfig&&(b.withConfig=k.withConfig),b}}function Ea(e,t,r){return e?`${e}${mr(t||"")}`:`Styled(${ga(r)})`}function Ca(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${uo(t||"Root")}`),r}function wa(e){for(const t in e)return!1;return!0}function xa(e){return typeof e=="string"&&e.charCodeAt(0)>96}function uo(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function fr(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)r[o]=i||{};else if(!i)r[o]=s;else{r[o]={...s};for(const c in i)if(Object.prototype.hasOwnProperty.call(i,c)){const u=c;r[o][u]=fr(i[u],s[u])}}}else r[o]===void 0&&(r[o]=e[o])}return r}function Ta(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Or(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}].`),Ta(e,t,r)}function $a(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)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),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 Ae(e){if(e.type)return e;if(e.charAt(0)==="#")return Ae($a(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
57
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ot(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"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
58
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ot(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const _a=e=>{const t=Ae(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},tt=(e,t)=>{try{return _a(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Ht(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function fo(e){e=Ae(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(f,d=(f+r/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let c="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Ht({type:c,values:u})}function dr(e){e=Ae(e);let t=e.type==="hsl"||e.type==="hsla"?Ae(fo(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 En(e,t){const r=dr(e),n=dr(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function po(e,t){return e=Ae(e),t=Or(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ht(e)}function Et(e,t,r){try{return po(e,t)}catch{return e}}function Xt(e,t){if(e=Ae(e),t=Or(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ht(e)}function B(e,t,r){try{return Xt(e,t)}catch{return e}}function Qt(e,t){if(e=Ae(e),t=Or(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ht(e)}function z(e,t,r){try{return Qt(e,t)}catch{return e}}function mo(e,t=.15){return dr(e)>.5?Xt(e,t):Qt(e,t)}function Ct(e,t,r){try{return mo(e,t)}catch{return e}}const Oa="exact-prop: ​";function Aa(e){return process.env.NODE_ENV==="production"?e:{...e,[Oa]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}}}const Ar=A.createContext(null);process.env.NODE_ENV!=="production"&&(Ar.displayName="ThemeContext");function kr(){const e=A.useContext(Ar);return process.env.NODE_ENV!=="production"&&A.useDebugValue(e),e}const ka=typeof Symbol=="function"&&Symbol.for,Pa=ka?Symbol.for("mui.nested"):"__THEME_NESTED__";function Na(e,t){if(typeof t=="function"){const r=t(e);return process.env.NODE_ENV!=="production"&&(r||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join(`
59
+ `))),r}return{...e,...t}}function Nt(e){const{children:t,theme:r}=e,n=kr();process.env.NODE_ENV!=="production"&&n===null&&typeof r=="function"&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
60
+ `));const o=A.useMemo(()=>{const i=n===null?{...r}:Na(n,r);return i!=null&&(i[Pa]=n!==null),i},[r,n]);return X.jsx(Ar.Provider,{value:o,children:t})}process.env.NODE_ENV!=="production"&&(Nt.propTypes={children:N.PropTypes.node,theme:N.PropTypes.oneOfType([N.PropTypes.object,N.PropTypes.func]).isRequired});process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Nt.propTypes=Aa(Nt.propTypes));const Ra="exact-prop: ​";function Ma(e){return process.env.NODE_ENV==="production"?e:{...e,[Ra]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}}}const ho=A.createContext();function go({value:e,...t}){return X.jsx(ho.Provider,{value:e??!0,...t})}process.env.NODE_ENV!=="production"&&(go.propTypes={children:N.PropTypes.node,value:N.PropTypes.bool});const Ia=()=>A.useContext(ho)??!1,yo=A.createContext(void 0);function bo({value:e,children:t}){return X.jsx(yo.Provider,{value:e,children:t})}process.env.NODE_ENV!=="production"&&(bo.propTypes={children:N.PropTypes.node,value:N.PropTypes.object});function Da(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?fr(o.defaultProps,n):!o.styleOverrides&&!o.variants?fr(o,n):n}function ja({props:e,name:t}){const r=A.useContext(yo);return Da({props:e,name:t,theme:{components:r}})}const Cn={};function wn(e,t,r,n=!1){return A.useMemo(()=>{const o=e&&t[e]||t;if(typeof r=="function"){const i=r(o),s=e?{...t,[e]:i}:i;return n?()=>s:s}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}function ct(e){const{children:t,theme:r,themeId:n}=e,o=so(Cn),i=kr()||Cn;process.env.NODE_ENV!=="production"&&(o===null&&typeof r=="function"||n&&o&&!o[n]&&typeof r=="function")&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
61
+ `));const s=wn(n,o,r),c=wn(n,i,r,!0),u=(n?s[n]:s).direction==="rtl";return X.jsx(Nt,{theme:c,children:X.jsx(Me.Provider,{value:s,children:X.jsx(go,{value:u,children:X.jsx(bo,{value:n?s[n].components:s.components,children:t})})})})}process.env.NODE_ENV!=="production"&&(ct.propTypes={children:N.PropTypes.node,theme:N.PropTypes.oneOfType([N.PropTypes.func,N.PropTypes.object]).isRequired,themeId:N.PropTypes.string});process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(ct.propTypes=Ma(ct.propTypes));const xn={theme:void 0};function Va(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(xn.theme=o.theme,i=co(e(xn)),t=i,r=o.theme),i}}const Pr="mode",Nr="color-scheme",La="data-color-scheme";function Fa(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:o=Pr,colorSchemeStorageKey:i=Nr,attribute:s=La,colorSchemeNode:c="document.documentElement",nonce:u}=e||{};let f="",d=s;if(s==="class"&&(d=".%s"),s==="data"&&(d="[data-%s]"),d.startsWith(".")){const g=d.substring(1);f+=`${c}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark));
62
+ ${c}.classList.add('${g}'.replace('%s', colorScheme));`}const p=d.match(/\[([^\]]+)\]/);if(p){const[g,S]=p[1].split("=");S||(f+=`${c}.removeAttribute('${g}'.replace('%s', light));
63
+ ${c}.removeAttribute('${g}'.replace('%s', dark));`),f+=`
64
+ ${c}.setAttribute('${g}'.replace('%s', colorScheme), ${S?`${S}.replace('%s', colorScheme)`:'""'});`}else f+=`${c}.setAttribute('${d}', colorScheme);`;return X.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(function() {
65
+ try {
66
+ let colorScheme = '';
67
+ const mode = localStorage.getItem('${o}') || '${t}';
68
+ const dark = localStorage.getItem('${i}-dark') || '${n}';
69
+ const light = localStorage.getItem('${i}-light') || '${r}';
70
+ if (mode === 'system') {
71
+ // handle system mode
72
+ const mql = window.matchMedia('(prefers-color-scheme: dark)');
73
+ if (mql.matches) {
74
+ colorScheme = dark
75
+ } else {
76
+ colorScheme = light
77
+ }
78
+ }
79
+ if (mode === 'light') {
80
+ colorScheme = light;
81
+ }
82
+ if (mode === 'dark') {
83
+ colorScheme = dark;
84
+ }
85
+ if (colorScheme) {
86
+ ${f}
87
+ }
88
+ } catch(e){}})();`}},"mui-color-scheme-init")}function Tn(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function So(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function Ba(e){return So(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function or(e,t){if(typeof window>"u")return;let r;try{r=localStorage.getItem(e)||void 0,r||localStorage.setItem(e,t)}catch{}return r||t}function za(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:i=Pr,colorSchemeStorageKey:s=Nr,storageWindow:c=typeof window>"u"?void 0:window,noSsr:u=!1}=e,f=o.join(","),d=o.length>1,[p,g]=A.useState(()=>{const b=or(i,t),m=or(`${s}-light`,r),w=or(`${s}-dark`,n);return{mode:b,systemMode:Tn(b),lightColorScheme:m,darkColorScheme:w}}),[S,y]=A.useState(u||!d);A.useEffect(()=>{y(!0)},[]);const l=Ba(p),v=A.useCallback(b=>{g(m=>{if(b===m.mode)return m;const w=b??t;try{localStorage.setItem(i,w)}catch{}return{...m,mode:w,systemMode:Tn(w)}})},[i,t]),E=A.useCallback(b=>{b?typeof b=="string"?b&&!f.includes(b)?console.error(`\`${b}\` does not exist in \`theme.colorSchemes\`.`):g(m=>{const w={...m};return So(m,$=>{try{localStorage.setItem(`${s}-${$}`,b)}catch{}$==="light"&&(w.lightColorScheme=b),$==="dark"&&(w.darkColorScheme=b)}),w}):g(m=>{const w={...m},$=b.light===null?r:b.light,M=b.dark===null?n:b.dark;if($)if(!f.includes($))console.error(`\`${$}\` does not exist in \`theme.colorSchemes\`.`);else{w.lightColorScheme=$;try{localStorage.setItem(`${s}-light`,$)}catch{}}if(M)if(!f.includes(M))console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`);else{w.darkColorScheme=M;try{localStorage.setItem(`${s}-dark`,M)}catch{}}return w}):g(m=>{try{localStorage.setItem(`${s}-light`,r),localStorage.setItem(`${s}-dark`,n)}catch{}return{...m,lightColorScheme:r,darkColorScheme:n}})},[f,s,r,n]),k=A.useCallback(b=>{p.mode==="system"&&g(m=>{const w=b!=null&&b.matches?"dark":"light";return m.systemMode===w?m:{...m,systemMode:w}})},[p.mode]),C=A.useRef(k);return C.current=k,A.useEffect(()=>{if(typeof window.matchMedia!="function"||!d)return;const b=(...w)=>C.current(...w),m=window.matchMedia("(prefers-color-scheme: dark)");return m.addListener(b),b(m),()=>{m.removeListener(b)}},[d]),A.useEffect(()=>{if(c&&d){const b=m=>{const w=m.newValue;typeof m.key=="string"&&m.key.startsWith(s)&&(!w||f.match(w))&&(m.key.endsWith("light")&&E({light:w}),m.key.endsWith("dark")&&E({dark:w})),m.key===i&&(!w||["light","dark","system"].includes(w))&&v(w||t)};return c.addEventListener("storage",b),()=>{c.removeEventListener("storage",b)}}},[E,v,i,s,f,t,c,d]),{...p,mode:S?p.mode:void 0,systemMode:S?p.systemMode:void 0,colorScheme:S?l:void 0,setMode:v,setColorScheme:E}}const Ua="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Ya(e){const{themeId:t,theme:r={},modeStorageKey:n=Pr,colorSchemeStorageKey:o=Nr,disableTransitionOnChange:i=!1,defaultColorScheme:s,resolveTheme:c}=e,u={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},f=A.createContext(void 0);process.env.NODE_ENV!=="production"&&(f.displayName="ColorSchemeContext");const d=()=>A.useContext(f)||u,p={},g={};function S(E){var Vr,Lr,Fr,Br;const{children:k,theme:C,modeStorageKey:b=n,colorSchemeStorageKey:m=o,disableTransitionOnChange:w=i,storageWindow:$=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:V=typeof document>"u"?void 0:document.documentElement,disableNestedContext:a=!1,disableStyleSheetGeneration:T=!1,defaultMode:P="system",noSsr:I}=E,K=A.useRef(!1),J=kr(),ue=A.useContext(f),ve=!!ue&&!a,Ee=A.useMemo(()=>C||(typeof r=="function"?r():r),[C]),mt=Ee[t],ee=mt||Ee,{colorSchemes:pe=p,components:ht=g,cssVarPrefix:He}=ee,gt=Object.keys(pe).filter(Q=>!!pe[Q]).join(","),Ce=A.useMemo(()=>gt.split(","),[gt]),yt=typeof s=="string"?s:s.light,bt=typeof s=="string"?s:s.dark,Jt=pe[yt]&&pe[bt]?P:((Lr=(Vr=pe[ee.defaultColorScheme])==null?void 0:Vr.palette)==null?void 0:Lr.mode)||((Fr=ee.palette)==null?void 0:Fr.mode),{mode:Zt,setMode:Xe,systemMode:St,lightColorScheme:O,darkColorScheme:Ie,colorScheme:De,setColorScheme:Qe}=za({supportedColorSchemes:Ce,defaultLightColorScheme:yt,defaultDarkColorScheme:bt,modeStorageKey:b,colorSchemeStorageKey:m,defaultMode:Jt,storageWindow:$,noSsr:I});let er=Zt,se=De;ve&&(er=ue.mode,se=ue.colorScheme);const je=A.useMemo(()=>{var Ze;const Q=se||ee.defaultColorScheme,re=((Ze=ee.generateThemeVars)==null?void 0:Ze.call(ee))||ee.vars,ne={...ee,components:ht,colorSchemes:pe,cssVarPrefix:He,vars:re};if(typeof ne.generateSpacing=="function"&&(ne.spacing=ne.generateSpacing()),Q){const fe=pe[Q];fe&&typeof fe=="object"&&Object.keys(fe).forEach(ye=>{fe[ye]&&typeof fe[ye]=="object"?ne[ye]={...ne[ye],...fe[ye]}:ne[ye]=fe[ye]})}return c?c(ne):ne},[ee,se,ht,pe,He]),Je=ee.colorSchemeSelector;A.useEffect(()=>{if(se&&V&&Je&&Je!=="media"){const Q=Je;let re=Je;if(Q==="class"&&(re=".%s"),Q==="data"&&(re="[data-%s]"),Q!=null&&Q.startsWith("data-")&&!Q.includes("%s")&&(re=`[${Q}="%s"]`),re.startsWith("."))V.classList.remove(...Ce.map(ne=>re.substring(1).replace("%s",ne))),V.classList.add(re.substring(1).replace("%s",se));else{const ne=re.replace("%s",se).match(/\[([^\]]+)\]/);if(ne){const[Ze,fe]=ne[1].split("=");fe||Ce.forEach(ye=>{V.removeAttribute(Ze.replace(se,ye))}),V.setAttribute(Ze,fe?fe.replace(/"|'/g,""):"")}else V.setAttribute(re,se)}}},[se,Je,V,Ce]),A.useEffect(()=>{let Q;if(w&&K.current&&M){const re=M.createElement("style");re.appendChild(M.createTextNode(Ua)),M.head.appendChild(re),window.getComputedStyle(M.body),Q=setTimeout(()=>{M.head.removeChild(re)},1)}return()=>{clearTimeout(Q)}},[se,w,M]),A.useEffect(()=>(K.current=!0,()=>{K.current=!1}),[]);const Po=A.useMemo(()=>({allColorSchemes:Ce,colorScheme:se,darkColorScheme:Ie,lightColorScheme:O,mode:er,setColorScheme:Qe,setMode:process.env.NODE_ENV==="production"?Xe:Q=>{je.colorSchemeSelector==="media"&&console.error(["MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).","To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.","To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually"].join(`
89
+ `)),Xe(Q)},systemMode:St}),[Ce,se,Ie,O,er,Qe,Xe,St,je.colorSchemeSelector]);let Dr=!0;(T||ee.cssVariables===!1||ve&&(J==null?void 0:J.cssVarPrefix)===He)&&(Dr=!1);const jr=X.jsxs(A.Fragment,{children:[X.jsx(ct,{themeId:mt?t:void 0,theme:je,children:k}),Dr&&X.jsx($r,{styles:((Br=je.generateStyleSheets)==null?void 0:Br.call(je))||[]})]});return ve?jr:X.jsx(f.Provider,{value:Po,children:jr})}process.env.NODE_ENV!=="production"&&(S.propTypes={children:N.PropTypes.node,colorSchemeNode:N.PropTypes.any,colorSchemeStorageKey:N.PropTypes.string,defaultMode:N.PropTypes.string,disableNestedContext:N.PropTypes.bool,disableStyleSheetGeneration:N.PropTypes.bool,disableTransitionOnChange:N.PropTypes.bool,documentNode:N.PropTypes.any,modeStorageKey:N.PropTypes.string,noSsr:N.PropTypes.bool,storageWindow:N.PropTypes.any,theme:N.PropTypes.object});const y=typeof s=="string"?s:s.light,l=typeof s=="string"?s:s.dark;return{CssVarsProvider:S,useColorScheme:d,getInitColorSchemeScript:E=>Fa({colorSchemeStorageKey:o,defaultLightColorScheme:y,defaultDarkColorScheme:l,modeStorageKey:n,...E})}}function Wa(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const $n=(e,t,r,n=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Ga=(e,t,r)=>{function n(o,i=[],s=[]){Object.entries(o).forEach(([c,u])=>{(!r||r&&!r([...i,c]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,c],Array.isArray(u)?[...s,c]:s):t([...i,c],u,s))})}n(e)},Ka=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function ir(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},s={};return Ga(e,(c,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(c,u))){const d=`--${r?`${r}-`:""}${c.join("-")}`,p=Ka(c,u);Object.assign(o,{[d]:p}),$n(i,c,`var(${d})`,f),$n(s,c,`var(${d}, ${p})`,f)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function qa(e,t={}){const{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:c="light",...u}=e,{vars:f,css:d,varsWithDefaults:p}=ir(u,t);let g=p;const S={},{[c]:y,...l}=i;if(Object.entries(l||{}).forEach(([C,b])=>{const{vars:m,css:w,varsWithDefaults:$}=ir(b,t);g=Pe(g,$),S[C]={css:w,vars:m}}),y){const{css:C,vars:b,varsWithDefaults:m}=ir(y,t);g=Pe(g,m),S[c]={css:C,vars:b}}function v(C,b){var w,$;let m=o;if(o==="class"&&(m=".%s"),o==="data"&&(m="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(m=`[${o}="%s"]`),C){if(m==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${(($=(w=i[C])==null?void 0:w.palette)==null?void 0:$.mode)||C})`]:{":root":b}};if(m)return e.defaultColorScheme===C?`:root, ${m.replace("%s",String(C))}`:m.replace("%s",String(C))}return":root"}return{vars:g,generateThemeVars:()=>{let C={...f};return Object.entries(S).forEach(([,{vars:b}])=>{C=Pe(C,b)}),C},generateStyleSheets:()=>{var M,V;const C=[],b=e.defaultColorScheme||"light";function m(a,T){Object.keys(T).length&&C.push(typeof a=="string"?{[a]:{...T}}:a)}m(r(void 0,{...d}),d);const{[b]:w,...$}=S;if(w){const{css:a}=w,T=(V=(M=i[b])==null?void 0:M.palette)==null?void 0:V.mode,P=!n&&T?{colorScheme:T,...a}:{...a};m(r(b,{...P}),P)}return Object.entries($).forEach(([a,{css:T}])=>{var K,J;const P=(J=(K=i[a])==null?void 0:K.palette)==null?void 0:J.mode,I=!n&&P?{colorScheme:P,...T}:{...T};m(r(a,{...I}),I)}),C}}}function Ha(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function Ge(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function xe(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 vo(e){if(A.isValidElement(e)||!xe(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=vo(e[r])}),t}function $e(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return xe(e)&&xe(t)&&Object.keys(t).forEach(o=>{A.isValidElement(t[o])?n[o]=t[o]:xe(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&xe(e[o])?n[o]=$e(e[o],t[o],r):r.clone?n[o]=xe(t[o])?vo(t[o]):t[o]:n[o]=t[o]}),n}const lt={black:"#000",white:"#fff"},Xa={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"},Ve={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"},Le={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"},et={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"},Fe={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"},Be={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"},ze={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"};function Eo(){return{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:lt.white,default:lt.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}}}const Qa=Eo();function Co(){return{text:{primary:lt.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:lt.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}}}const _n=Co();function On(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=Qt(e.main,o):t==="dark"&&(e.dark=Xt(e.main,i)))}function Ja(e="light"){return e==="dark"?{main:Fe[200],light:Fe[50],dark:Fe[400]}:{main:Fe[700],light:Fe[400],dark:Fe[800]}}function Za(e="light"){return e==="dark"?{main:Ve[200],light:Ve[50],dark:Ve[400]}:{main:Ve[500],light:Ve[300],dark:Ve[700]}}function ec(e="light"){return e==="dark"?{main:Le[500],light:Le[300],dark:Le[700]}:{main:Le[700],light:Le[400],dark:Le[800]}}function tc(e="light"){return e==="dark"?{main:Be[400],light:Be[300],dark:Be[700]}:{main:Be[700],light:Be[500],dark:Be[900]}}function rc(e="light"){return e==="dark"?{main:ze[400],light:ze[300],dark:ze[700]}:{main:ze[800],light:ze[500],dark:ze[900]}}function nc(e="light"){return e==="dark"?{main:et[400],light:et[300],dark:et[700]}:{main:"#ed6c02",light:et[500],dark:et[900]}}function Rr(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||Ja(t),s=e.secondary||Za(t),c=e.error||ec(t),u=e.info||tc(t),f=e.success||rc(t),d=e.warning||nc(t);function p(l){const v=En(l,_n.text.primary)>=r?_n.text.primary:Qa.text.primary;if(process.env.NODE_ENV!=="production"){const E=En(l,v);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${v} 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(`
90
+ `))}return v}const g=({color:l,name:v,mainShade:E=500,lightShade:k=300,darkShade:C=700})=>{if(l={...l},!l.main&&l[E]&&(l.main=l[E]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
91
+ The color object needs to have a \`main\` property or a \`${E}\` property.`:Ge(11,v?` (${v})`:"",E));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
92
+ \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
93
+
94
+ Did you intend to use one of the following approaches?
95
+
96
+ import { green } from "@mui/material/colors";
97
+
98
+ const theme1 = createTheme({ palette: {
99
+ primary: green,
100
+ } });
101
+
102
+ const theme2 = createTheme({ palette: {
103
+ primary: { main: green[500] },
104
+ } });`:Ge(12,v?` (${v})`:"",JSON.stringify(l.main)));return On(l,"light",k,n),On(l,"dark",C,n),l.contrastText||(l.contrastText=p(l.main)),l};let S;return t==="light"?S=Eo():t==="dark"&&(S=Co()),process.env.NODE_ENV!=="production"&&(S||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),$e({common:{...lt},mode:t,primary:g({color:i,name:"primary"}),secondary:g({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:c,name:"error"}),warning:g({color:d,name:"warning"}),info:g({color:u,name:"info"}),success:g({color:f,name:"success"}),grey:Xa,contrastThreshold:r,getContrastText:p,augmentColor:g,tonalOffset:n,...S},o)}function oc(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}const An=e=>e,ic=()=>{let e=An;return{configure(t){e=t},generate(t){return e(t)},reset(){e=An}}},sc=ic(),ac={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 Mr(e,t,r="Mui"){const n=ac[t];return n?`${r}-${n}`:`${sc.generate(e)}-${t}`}function cc(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function lc(e){return Math.round(e*1e5)/1e5}const kn={textTransform:"uppercase"},Pn='"Roboto", "Helvetica", "Arial", sans-serif';function wo(e,t){const{fontFamily:r=Pn,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:f,pxToRem:d,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=n/14,S=d||(v=>`${v/u*g}rem`),y=(v,E,k,C,b)=>({fontFamily:r,fontWeight:v,fontSize:S(E),lineHeight:k,...r===Pn?{letterSpacing:`${lc(C/E)}em`}:{},...b,...f}),l={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(s,14,1.75,.4,kn),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,kn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return $e({htmlFontSize:u,pxToRem:S,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:c,...l},p,{clone:!1})}const uc=.2,fc=.14,dc=.12;function U(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${uc})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${fc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${dc})`].join(",")}const pc=["none",U(0,2,1,-1,0,1,1,0,0,1,3,0),U(0,3,1,-2,0,2,2,0,0,1,5,0),U(0,3,3,-2,0,3,4,0,0,1,8,0),U(0,2,4,-1,0,4,5,0,0,1,10,0),U(0,3,5,-1,0,5,8,0,0,1,14,0),U(0,3,5,-1,0,6,10,0,0,1,18,0),U(0,4,5,-2,0,7,10,1,0,2,16,1),U(0,5,5,-3,0,8,10,1,0,3,14,2),U(0,5,6,-3,0,9,12,1,0,3,16,2),U(0,6,6,-3,0,10,14,1,0,4,18,3),U(0,6,7,-4,0,11,15,1,0,4,20,3),U(0,7,8,-4,0,12,17,2,0,5,22,4),U(0,7,8,-4,0,13,19,2,0,5,24,4),U(0,7,9,-4,0,14,21,2,0,5,26,4),U(0,8,9,-5,0,15,22,2,0,6,28,5),U(0,8,10,-5,0,16,24,2,0,6,30,5),U(0,8,11,-5,0,17,26,2,0,6,32,5),U(0,9,11,-5,0,18,28,2,0,7,34,6),U(0,9,12,-6,0,19,29,2,0,7,36,6),U(0,10,13,-6,0,20,31,3,0,8,38,7),U(0,10,13,-6,0,21,33,3,0,8,40,7),U(0,10,14,-6,0,22,35,3,0,8,42,7),U(0,11,14,-7,0,23,36,3,0,9,44,8),U(0,11,15,-7,0,24,38,3,0,9,46,8)],mc={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)"},hc={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Nn(e){return`${Math.round(e)}ms`}function gc(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function yc(e){const t={...mc,...e.easing},r={...hc,...e.duration};return{getAutoHeightDuration:gc,create:(o=["all"],i={})=>{const{duration:s=r.standard,easing:c=t.easeInOut,delay:u=0,...f}=i;if(process.env.NODE_ENV!=="production"){const d=g=>typeof g=="string",p=g=>!Number.isNaN(parseFloat(g));!d(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(s)&&!d(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),d(c)||console.error('MUI: Argument "easing" must be a string.'),!p(u)&&!d(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(`
105
+ `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof s=="string"?s:Nn(s)} ${c} ${typeof u=="string"?u:Nn(u)}`).join(",")},...e,easing:t,duration:r}}const bc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Sc(e){return xe(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function xo(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[s,c]=o[i];!Sc(c)||s.startsWith("unstable_")?delete n[s]:xe(c)&&(n[s]={...c},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
106
+
107
+ const theme = ${JSON.stringify(t,null,2)};
108
+
109
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
110
+ theme.transitions = createTransitions(theme.transitions || {});
111
+
112
+ export default theme;`}function pr(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:s={},typography:c={},shape:u,...f}=e;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.":Ge(20));const d=Rr(i),p=_r(e);let g=$e(p,{mixins:cc(p.breakpoints,n),palette:d,shadows:pc.slice(),typography:wo(d,c),transitions:yc(s),zIndex:{...bc}});if(g=$e(g,f),g=t.reduce((S,y)=>$e(S,y),g),process.env.NODE_ENV!=="production"){const S=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],y=(l,v)=>{let E;for(E in l){const k=l[E];if(S.includes(E)&&Object.keys(k).length>0){if(process.env.NODE_ENV!=="production"){const C=Mr("",E);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${E}\` internal state.`,"You can not override it like this: ",JSON.stringify(l,null,2),"",`Instead, you need to use the '&.${C}' syntax:`,JSON.stringify({root:{[`&.${C}`]:k}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
113
+ `))}l[E]={}}}};Object.keys(g.components).forEach(l=>{const v=g.components[l].styleOverrides;v&&l.startsWith("Mui")&&y(v,l)})}return g.unstable_sxConfig={...dt,...f==null?void 0:f.unstable_sxConfig},g.unstable_sx=function(y){return Ne({sx:y,theme:this})},g.toRuntimeSource=xo,g}function To(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const vc=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=To(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function $o(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function _o(e){return e==="dark"?vc:[]}function Ec(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=Rr(t);return{palette:i,opacity:{...$o(i.mode),...r},overlays:n||_o(i.mode),...o}}function Cc(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const wc=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],xc=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return wc(e.cssVarPrefix).forEach(c=>{s[c]=r[c],delete r[c]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:s}}:i?{[i.replace("%s",t)]:s,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...s}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Tc(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function h(e,t,r){!e[t]&&r&&(e[t]=r)}function rt(e){return typeof e!="string"||!e.startsWith("hsl")?e:fo(e)}function be(e,t){`${t}Channel`in e||(e[`${t}Channel`]=tt(rt(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
114
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function $c(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const me=e=>{try{return e()}catch{}},_c=(e="mui")=>Wa(e);function sr(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=Ec({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=pr({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...$o(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||_o(o)},s}function Oc(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=Cc,colorSchemeSelector:c=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...f}=e,d=Object.keys(r)[0],p=n||(r.light&&d!=="light"?"light":d),g=_c(i),{[p]:S,light:y,dark:l,...v}=r,E={...v};let k=S;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(k=!0),!k)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:Ge(21,p));const C=sr(E,k,f,p);y&&!E.light&&sr(E,y,void 0,"light"),l&&!E.dark&&sr(E,l,void 0,"dark");let b={defaultColorScheme:p,...C,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:u,getCssVar:g,colorSchemes:E,font:{...oc(C.typography),...C.font},spacing:$c(f.spacing)};Object.keys(b.colorSchemes).forEach(V=>{const a=b.colorSchemes[V].palette,T=P=>{const I=P.split("-"),K=I[1],J=I[2];return g(P,a[K][J])};if(a.mode==="light"&&(h(a.common,"background","#fff"),h(a.common,"onBackground","#000")),a.mode==="dark"&&(h(a.common,"background","#000"),h(a.common,"onBackground","#fff")),Tc(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){h(a.Alert,"errorColor",B(a.error.light,.6)),h(a.Alert,"infoColor",B(a.info.light,.6)),h(a.Alert,"successColor",B(a.success.light,.6)),h(a.Alert,"warningColor",B(a.warning.light,.6)),h(a.Alert,"errorFilledBg",T("palette-error-main")),h(a.Alert,"infoFilledBg",T("palette-info-main")),h(a.Alert,"successFilledBg",T("palette-success-main")),h(a.Alert,"warningFilledBg",T("palette-warning-main")),h(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.main))),h(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.main))),h(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.main))),h(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.main))),h(a.Alert,"errorStandardBg",z(a.error.light,.9)),h(a.Alert,"infoStandardBg",z(a.info.light,.9)),h(a.Alert,"successStandardBg",z(a.success.light,.9)),h(a.Alert,"warningStandardBg",z(a.warning.light,.9)),h(a.Alert,"errorIconColor",T("palette-error-main")),h(a.Alert,"infoIconColor",T("palette-info-main")),h(a.Alert,"successIconColor",T("palette-success-main")),h(a.Alert,"warningIconColor",T("palette-warning-main")),h(a.AppBar,"defaultBg",T("palette-grey-100")),h(a.Avatar,"defaultBg",T("palette-grey-400")),h(a.Button,"inheritContainedBg",T("palette-grey-300")),h(a.Button,"inheritContainedHoverBg",T("palette-grey-A100")),h(a.Chip,"defaultBorder",T("palette-grey-400")),h(a.Chip,"defaultAvatarColor",T("palette-grey-700")),h(a.Chip,"defaultIconColor",T("palette-grey-700")),h(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),h(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),h(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),h(a.LinearProgress,"primaryBg",z(a.primary.main,.62)),h(a.LinearProgress,"secondaryBg",z(a.secondary.main,.62)),h(a.LinearProgress,"errorBg",z(a.error.main,.62)),h(a.LinearProgress,"infoBg",z(a.info.main,.62)),h(a.LinearProgress,"successBg",z(a.success.main,.62)),h(a.LinearProgress,"warningBg",z(a.warning.main,.62)),h(a.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),h(a.Slider,"primaryTrack",z(a.primary.main,.62)),h(a.Slider,"secondaryTrack",z(a.secondary.main,.62)),h(a.Slider,"errorTrack",z(a.error.main,.62)),h(a.Slider,"infoTrack",z(a.info.main,.62)),h(a.Slider,"successTrack",z(a.success.main,.62)),h(a.Slider,"warningTrack",z(a.warning.main,.62));const P=Ct(a.background.default,.8);h(a.SnackbarContent,"bg",P),h(a.SnackbarContent,"color",me(()=>a.getContrastText(P))),h(a.SpeedDialAction,"fabHoverBg",Ct(a.background.paper,.15)),h(a.StepConnector,"border",T("palette-grey-400")),h(a.StepContent,"border",T("palette-grey-400")),h(a.Switch,"defaultColor",T("palette-common-white")),h(a.Switch,"defaultDisabledColor",T("palette-grey-100")),h(a.Switch,"primaryDisabledColor",z(a.primary.main,.62)),h(a.Switch,"secondaryDisabledColor",z(a.secondary.main,.62)),h(a.Switch,"errorDisabledColor",z(a.error.main,.62)),h(a.Switch,"infoDisabledColor",z(a.info.main,.62)),h(a.Switch,"successDisabledColor",z(a.success.main,.62)),h(a.Switch,"warningDisabledColor",z(a.warning.main,.62)),h(a.TableCell,"border",z(Et(a.divider,1),.88)),h(a.Tooltip,"bg",Et(a.grey[700],.92))}if(a.mode==="dark"){h(a.Alert,"errorColor",z(a.error.light,.6)),h(a.Alert,"infoColor",z(a.info.light,.6)),h(a.Alert,"successColor",z(a.success.light,.6)),h(a.Alert,"warningColor",z(a.warning.light,.6)),h(a.Alert,"errorFilledBg",T("palette-error-dark")),h(a.Alert,"infoFilledBg",T("palette-info-dark")),h(a.Alert,"successFilledBg",T("palette-success-dark")),h(a.Alert,"warningFilledBg",T("palette-warning-dark")),h(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.dark))),h(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.dark))),h(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.dark))),h(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.dark))),h(a.Alert,"errorStandardBg",B(a.error.light,.9)),h(a.Alert,"infoStandardBg",B(a.info.light,.9)),h(a.Alert,"successStandardBg",B(a.success.light,.9)),h(a.Alert,"warningStandardBg",B(a.warning.light,.9)),h(a.Alert,"errorIconColor",T("palette-error-main")),h(a.Alert,"infoIconColor",T("palette-info-main")),h(a.Alert,"successIconColor",T("palette-success-main")),h(a.Alert,"warningIconColor",T("palette-warning-main")),h(a.AppBar,"defaultBg",T("palette-grey-900")),h(a.AppBar,"darkBg",T("palette-background-paper")),h(a.AppBar,"darkColor",T("palette-text-primary")),h(a.Avatar,"defaultBg",T("palette-grey-600")),h(a.Button,"inheritContainedBg",T("palette-grey-800")),h(a.Button,"inheritContainedHoverBg",T("palette-grey-700")),h(a.Chip,"defaultBorder",T("palette-grey-700")),h(a.Chip,"defaultAvatarColor",T("palette-grey-300")),h(a.Chip,"defaultIconColor",T("palette-grey-300")),h(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),h(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),h(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),h(a.LinearProgress,"primaryBg",B(a.primary.main,.5)),h(a.LinearProgress,"secondaryBg",B(a.secondary.main,.5)),h(a.LinearProgress,"errorBg",B(a.error.main,.5)),h(a.LinearProgress,"infoBg",B(a.info.main,.5)),h(a.LinearProgress,"successBg",B(a.success.main,.5)),h(a.LinearProgress,"warningBg",B(a.warning.main,.5)),h(a.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),h(a.Slider,"primaryTrack",B(a.primary.main,.5)),h(a.Slider,"secondaryTrack",B(a.secondary.main,.5)),h(a.Slider,"errorTrack",B(a.error.main,.5)),h(a.Slider,"infoTrack",B(a.info.main,.5)),h(a.Slider,"successTrack",B(a.success.main,.5)),h(a.Slider,"warningTrack",B(a.warning.main,.5));const P=Ct(a.background.default,.98);h(a.SnackbarContent,"bg",P),h(a.SnackbarContent,"color",me(()=>a.getContrastText(P))),h(a.SpeedDialAction,"fabHoverBg",Ct(a.background.paper,.15)),h(a.StepConnector,"border",T("palette-grey-600")),h(a.StepContent,"border",T("palette-grey-600")),h(a.Switch,"defaultColor",T("palette-grey-300")),h(a.Switch,"defaultDisabledColor",T("palette-grey-600")),h(a.Switch,"primaryDisabledColor",B(a.primary.main,.55)),h(a.Switch,"secondaryDisabledColor",B(a.secondary.main,.55)),h(a.Switch,"errorDisabledColor",B(a.error.main,.55)),h(a.Switch,"infoDisabledColor",B(a.info.main,.55)),h(a.Switch,"successDisabledColor",B(a.success.main,.55)),h(a.Switch,"warningDisabledColor",B(a.warning.main,.55)),h(a.TableCell,"border",B(Et(a.divider,1),.68)),h(a.Tooltip,"bg",Et(a.grey[700],.92))}be(a.background,"default"),be(a.background,"paper"),be(a.common,"background"),be(a.common,"onBackground"),be(a,"divider"),Object.keys(a).forEach(P=>{const I=a[P];P!=="tonalOffset"&&I&&typeof I=="object"&&(I.main&&h(a[P],"mainChannel",tt(rt(I.main))),I.light&&h(a[P],"lightChannel",tt(rt(I.light))),I.dark&&h(a[P],"darkChannel",tt(rt(I.dark))),I.contrastText&&h(a[P],"contrastTextChannel",tt(rt(I.contrastText))),P==="text"&&(be(a[P],"primary"),be(a[P],"secondary")),P==="action"&&(I.active&&be(a[P],"active"),I.selected&&be(a[P],"selected")))})}),b=t.reduce((V,a)=>$e(V,a),b);const m={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:xc(b)},{vars:w,generateThemeVars:$,generateStyleSheets:M}=qa(b,m);return b.vars=w,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([V,a])=>{b[V]=a}),b.generateThemeVars=$,b.generateStyleSheets=M,b.generateSpacing=function(){return io(f.spacing,hr(this))},b.getColorSchemeSelector=Ha(c),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=s,b.unstable_sxConfig={...dt,...f==null?void 0:f.unstable_sxConfig},b.unstable_sx=function(a){return Ne({sx:a,theme:this})},b.toRuntimeSource=xo,b}function Rn(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Rr({...r===!0?{}:r.palette,mode:t})})}function Ir(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...s}=e,c=i||"light",u=o==null?void 0:o[c],f={...o,...r?{[c]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return pr(e,...t);let d=r;"palette"in e||f[c]&&(f[c]!==!0?d=f[c].palette:c==="dark"&&(d={mode:"dark"}));const p=pr({...e,palette:d},...t);return p.defaultColorScheme=c,p.colorSchemes=f,p.palette.mode==="light"&&(p.colorSchemes.light={...f.light!==!0&&f.light,palette:p.palette},Rn(p,"dark",f.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:p.palette},Rn(p,"light",f.light)),p}return!r&&!("light"in f)&&c==="light"&&(f.light=!0),Oc({...s,colorSchemes:f,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const Oo=Ir(),_e="$$material";function Ao(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ko=e=>Ao(e)&&e!=="classes",Ac=va({themeId:_e,defaultTheme:Oo,rootShouldForwardProp:ko});process.env.NODE_ENV!=="production"&&(N.PropTypes.node,N.PropTypes.object.isRequired);function kc(e){return ja(e)}const Pc=Va;function Nc(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ge(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Rc(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Mr(e,o,r)}),n}function Mn({theme:e,...t}){const r=_e in e?e[_e]:void 0;return X.jsx(ct,{...t,themeId:r?_e:void 0,theme:r||e})}const wt={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:Mc,useColorScheme:Lc,getInitColorSchemeScript:Fc}=Ya({themeId:_e,theme:()=>Ir({cssVariables:!0}),colorSchemeStorageKey:wt.colorSchemeStorageKey,modeStorageKey:wt.modeStorageKey,defaultColorScheme:{light:wt.defaultLightColorScheme,dark:wt.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:wo(e.palette,e.typography)};return t.unstable_sx=function(n){return Ne({sx:n,theme:this})},t}}),Ic=Mc;function Dc({theme:e,...t}){return typeof e=="function"?X.jsx(Mn,{theme:e,...t}):"colorSchemes"in(_e in e?e[_e]:e)?X.jsx(Ic,{theme:e,...t}):X.jsx(Mn,{theme:e,...t})}const jc=()=>{var t;const e=(t=document.head.querySelector('meta[property="csp-nonce"]'))==null?void 0:t.getAttribute("content");return e?ia({key:"css",nonce:e}):null},Vc=({children:e})=>{const t=_t.useMemo(()=>jc(),[]);return t?X.jsx(ws,{value:t,children:e}):X.jsx(X.Fragment,{children:e})};exports.EmotionCacheProvider=Vc;exports.GlobalStyles=$r;exports.THEME_ID=_e;exports.ThemeProvider=Dc;exports.alpha=po;exports.capitalize=Nc;exports.clsx=Mo;exports.composeClasses=Io;exports.createTheme=_r;exports.createTheme$1=Ir;exports.darken=Xt;exports.deepmerge=$e;exports.defaultSxConfig=dt;exports.defaultTheme=Oo;exports.emphasize=mo;exports.formatMuiErrorMessage=Ge;exports.generateUtilityClass=Mr;exports.generateUtilityClasses=Rc;exports.getOverlayAlpha=To;exports.isPlainObject=we;exports.keyframes=Os;exports.lighten=Qt;exports.memoTheme=Pc;exports.rootShouldForwardProp=ko;exports.slotShouldForwardProp=Ao;exports.styled=Ac;exports.useDefaultProps=kc;exports.useRtl=Ia;exports.useTheme=so;