@sisense/sdk-shared-ui 1.33.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Breadcrumbs-CQNCIJ2Y.js → Breadcrumbs-D4b_GQtd.js} +9 -9
- package/dist/{Breadcrumbs-B46ViOSv.cjs → Breadcrumbs-DHLUMk5g.cjs} +1 -1
- package/dist/{Button-D5ZAS_sd.js → Button-APrD1mzX.js} +2 -2
- package/dist/{Button-CoMaroSC.cjs → Button-DOVMisTd.cjs} +1 -1
- package/dist/{ButtonBase-Camgk6s8.cjs → ButtonBase-BS1IFUdV.cjs} +1 -1
- package/dist/{ButtonBase-DPVWpC8-.js → ButtonBase-DOZfyNZL.js} +2 -2
- package/dist/{CheckableList-BLLCGCKX.cjs → CheckableList-1Jq4spYu.cjs} +1 -1
- package/dist/{CheckableList-CC7iKnHq.js → CheckableList-DTTE9oEw.js} +1 -1
- package/dist/{Checkbox-oJOn5Vb9.cjs → Checkbox-Ckp-O85I.cjs} +1 -1
- package/dist/{Checkbox-3bG1OLg3.js → Checkbox-DFOHQKnj.js} +10 -10
- package/dist/{DEPRECATED_Button-D2XS1y1r.cjs → DEPRECATED_Button-CKGdJitl.cjs} +1 -1
- package/dist/{DEPRECATED_Button-m2ifXo3Q.js → DEPRECATED_Button-Dhs0ieAl.js} +2 -2
- package/dist/{DEPRECATED_Checkbox-DWtXr5K7.js → DEPRECATED_Checkbox-Be1l_Vce.js} +1 -1
- package/dist/{DEPRECATED_Checkbox-CYomxatm.cjs → DEPRECATED_Checkbox-BggU0HO5.cjs} +1 -1
- package/dist/{DEPRECATED_Icon-iUszZb09.cjs → DEPRECATED_Icon-DC1Hc9iB.cjs} +1 -1
- package/dist/Dropdown-D8rLKKcl.cjs +1 -0
- package/dist/{Dropdown-BxoUPsca.js → Dropdown-DtWYpFk8.js} +50 -50
- package/dist/{Icon-D0uZg6iJ.js → Icon-YfaQM06u.js} +6 -6
- package/dist/{Icon-CqoYg88-.cjs → Icon-gOwM-Vrv.cjs} +1 -1
- package/dist/{Input-BghWSV2Z.js → Input-CNvYE0Er.js} +2 -2
- package/dist/{Input-Cd6a2FUC.cjs → Input-_wNCDCdI.cjs} +1 -1
- package/dist/{Menu-BfAQOpHl.cjs → Menu-DkPO8bCf.cjs} +1 -1
- package/dist/{Menu-C5wQnuq6.js → Menu-EXiwd8T_.js} +57 -58
- package/dist/{Popover-Bp5g_ws9.cjs → Popover-BjgDIgO7.cjs} +1 -1
- package/dist/{Popover-0n4kd3ut.js → Popover-CiYeL2VE.js} +4 -4
- package/dist/{useSlot-7x9FkqBW.js → Portal-CLHtBz5i.js} +100 -100
- package/dist/{useSlot-B_P_o-pz.cjs → Portal-DCkmwdyF.cjs} +1 -1
- package/dist/{SvgIcon-DsAvI5iY.js → SvgIcon-DRiOiPzl.js} +1 -1
- package/dist/{SvgIcon-Dg-EBYZz.cjs → SvgIcon-DwrPxEJR.cjs} +1 -1
- package/dist/{TablePagination-DUkJaWJG.js → TablePagination-DMqJ2TDQ.js} +72 -72
- package/dist/{TablePagination-Yp8eKLZB.cjs → TablePagination-DxCn_NpI.cjs} +2 -2
- package/dist/{ThemeProvider-BjBWRt7C.cjs → ThemeProvider-CLfPqpv1.cjs} +27 -27
- package/dist/{ThemeProvider-BCsnqK18.js → ThemeProvider-idCYeHSk.js} +720 -720
- package/dist/{Tooltip-B0-7TF8b.js → Tooltip-DAxLCXwu.js} +10 -10
- package/dist/Tooltip-_QBcDSPT.cjs +7 -0
- package/dist/{Typography-BGFgTnYN.js → Typography-V0qAux0_.js} +20 -20
- package/dist/{Typography-CGsd6zC4.cjs → Typography-qWhZXZhp.cjs} +1 -1
- package/dist/{createSvgIcon-DDrcw4wZ.cjs → createSvgIcon-BECoGUSX.cjs} +1 -1
- package/dist/{createSvgIcon-rAujRRtd.js → createSvgIcon-BFO1uNry.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +46 -46
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Breadcrumbs/index.d.ts +1 -1
- package/dist/lib/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/lib/Breadcrumbs/themes/index.d.ts +1 -1
- package/dist/lib/Breadcrumbs/themes/index.d.ts.map +1 -1
- package/dist/lib/Button/Button.cjs +1 -1
- package/dist/lib/Button/Button.d.ts +1 -1
- package/dist/lib/Button/Button.d.ts.map +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Button/index.d.ts +1 -1
- package/dist/lib/Button/index.d.ts.map +1 -1
- package/dist/lib/Button/themes/index.d.ts +1 -1
- package/dist/lib/Button/themes/index.d.ts.map +1 -1
- package/dist/lib/CheckableList/CheckableList.cjs +1 -1
- package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -1
- package/dist/lib/CheckableList/CheckableList.js +1 -1
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/Checkbox/themes/index.d.ts +1 -1
- package/dist/lib/Checkbox/themes/index.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +1 -1
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.d.ts +1 -1
- package/dist/lib/Icon/Icon.d.ts.map +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Icon/themes/index.d.ts +1 -1
- package/dist/lib/Icon/themes/index.d.ts.map +1 -1
- package/dist/lib/Input/Input.cjs +1 -1
- package/dist/lib/Input/Input.d.ts.map +1 -1
- package/dist/lib/Input/Input.js +1 -1
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -1
- package/dist/lib/Menu/MenuItem/index.d.ts +2 -2
- package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -1
- package/dist/lib/Menu/index.d.ts +2 -2
- package/dist/lib/Menu/index.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.cjs +1 -1
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.js +1 -1
- package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/TablePagination/themes/index.d.ts +1 -1
- package/dist/lib/TablePagination/themes/index.d.ts.map +1 -1
- package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Tooltip/index.d.ts +1 -1
- package/dist/lib/Tooltip/index.d.ts.map +1 -1
- package/dist/lib/Tooltip/themes/index.d.ts +1 -1
- package/dist/lib/Tooltip/themes/index.d.ts.map +1 -1
- package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -1
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.d.ts +1 -1
- package/dist/lib/Typography/Typography.d.ts.map +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lib/Typography/index.d.ts +1 -1
- package/dist/lib/Typography/index.d.ts.map +1 -1
- package/dist/lib/Typography/themes/index.d.ts +1 -1
- package/dist/lib/Typography/themes/index.d.ts.map +1 -1
- package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -1
- package/dist/lib/index.d.ts +7 -7
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/themes/colors/siColors.d.ts +1 -1
- package/dist/lib/themes/index.d.ts +1 -1
- package/dist/lib/themes/themes.cjs +1 -1
- package/dist/lib/themes/themes.js +1 -1
- package/dist/package.json +4 -3
- package/dist/{useSlotProps-COvANhgg.cjs → useSlotProps-1DAAbdYI.cjs} +1 -1
- package/dist/{useSlotProps-BpXHXb21.js → useSlotProps-DHNviH4P.js} +2 -2
- package/dist/{useTheme-BN6DGaDZ.cjs → useTheme-CKptR5QM.cjs} +1 -1
- package/dist/{useTheme-eCVqNAnk.js → useTheme-CNirH-1O.js} +1 -1
- package/dist/useTimeout-DwkOFF8P.cjs +2 -0
- package/dist/{useTimeout-BG7TPjEm.js → useTimeout-Oe_jK-ia.js} +18 -18
- package/package.json +4 -3
- package/dist/Dropdown-BtZZ4fY6.cjs +0 -1
- package/dist/Tooltip-DE1hlnS3.cjs +0 -7
- package/dist/useTimeout-DQN9lwd_.cjs +0 -2
- package/dist/{DEPRECATED_Icon-BQ4AqiI1.js → DEPRECATED_Icon-Bgufd-9Q.js} +1 -1
|
@@ -1,45 +1,43 @@
|
|
|
1
|
-
"use strict";const nr=require("react"),N=require("./index-B-zZeebW.cjs"),X=require("react/jsx-runtime"),wo=require("./extends-q0Hkx4pQ.cjs");function xo(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 $=xo(nr);function Pn(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=Pn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function To(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Pn(e))&&(n&&(n+=" "),n+=t);return n}function _o(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 xt(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
|
|
2
|
-
|
|
3
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:xt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ao=e=>{const t=_e(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Je=(e,t)=>{try{return Ao(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Nt(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 kn(e){e=_e(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])),Nt({type:c,values:u})}function or(e){e=_e(e);let t=e.type==="hsl"||e.type==="hsla"?_e(kn(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 Lr(e,t){const r=or(e),n=or(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Rn(e,t){return e=_e(e),t=dr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Nt(e)}function gt(e,t,r){try{return Rn(e,t)}catch{return e}}function Pt(e,t){if(e=_e(e),t=dr(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 Nt(e)}function F(e,t,r){try{return Pt(e,t)}catch{return e}}function kt(e,t){if(e=_e(e),t=dr(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 Nt(e)}function B(e,t,r){try{return kt(e,t)}catch{return e}}function Mn(e,t=.15){return or(e)>.5?Pt(e,t):kt(e,t)}function yt(e,t,r){try{return Mn(e,t)}catch{return e}}function Be(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 No(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Be(7));return e.charAt(0).toUpperCase()+e.slice(1)}function In(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Dn=e=>In(e)&&e!=="classes";function mr(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":xt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ee(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 jn(e){if($.isValidElement(e)||!Ee(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=jn(e[r])}),t}function Oe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ee(e)&&Ee(t)&&Object.keys(t).forEach(o=>{$.isValidElement(t[o])?n[o]=t[o]:Ee(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ee(e[o])?n[o]=Oe(e[o],t[o],r):r.clone?n[o]=Ee(t[o])?jn(t[o]):t[o]:n[o]=t[o]}),n}function et(e,t){return t?Oe(e,t,{clone:!1}):e}const $e=process.env.NODE_ENV!=="production"?N.PropTypes.oneOfType([N.PropTypes.number,N.PropTypes.string,N.PropTypes.object,N.PropTypes.array]):{};function Po(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 ko(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Ro(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>\`.
|
|
4
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:xt(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Mo(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},Fr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rt[e]}px)`},Io={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 ye(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Fr;return t.reduce((s,c,u)=>(s[i.up(i.keys[u])]=r(t[u]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Fr;return Object.keys(t).reduce((s,c)=>{if(ko(i.keys,c)){const u=Ro(n.containerQueries?n:Io,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 Do(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function jo(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 Tt(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 G(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 ye(s,c,p=>{let g=Tt(f,o,p);return p===g&&typeof p=="string"&&(g=Tt(f,o,`${t}${p==="default"?"":mr(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:$e}:{},i.filterProps=[t],i}function Vo(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Lo={m:"margin",p:"padding"},Fo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Br={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bo=Vo(e=>{if(e.length>2)if(Br[e])e=Br[e];else return[e];const[t,r]=e.split(""),n=Lo[t],o=Fo[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"],zo=[...It,...Dt];function st(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(`
|
|
1
|
+
"use strict";const nr=require("react"),N=require("./index-B-zZeebW.cjs"),X=require("react/jsx-runtime"),wo=require("./extends-q0Hkx4pQ.cjs");function xo(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 $=xo(nr);function Pn(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=Pn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function To(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Pn(e))&&(n&&(n+=" "),n+=t);return n}function _o(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 xt(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 dr(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":xt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ee(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 kn(e){if($.isValidElement(e)||!Ee(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=kn(e[r])}),t}function Oe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ee(e)&&Ee(t)&&Object.keys(t).forEach(o=>{$.isValidElement(t[o])?n[o]=t[o]:Ee(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ee(e[o])?n[o]=Oe(e[o],t[o],r):r.clone?n[o]=Ee(t[o])?kn(t[o]):t[o]:n[o]=t[o]}),n}function et(e,t){return t?Oe(e,t,{clone:!1}):e}const $e=process.env.NODE_ENV!=="production"?N.PropTypes.oneOfType([N.PropTypes.number,N.PropTypes.string,N.PropTypes.object,N.PropTypes.array]):{};function $o(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 Oo(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Ao(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\`.`:xt(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function No(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 Nt={xs:0,sm:600,md:900,lg:1200,xl:1536},Lr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Nt[e]}px)`},Po={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Nt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function ye(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Lr;return t.reduce((s,c,u)=>(s[i.up(i.keys[u])]=r(t[u]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Lr;return Object.keys(t).reduce((s,c)=>{if(Oo(i.keys,c)){const u=Ao(n.containerQueries?n:Po,c);u&&(s[u]=r(t[c],c))}else if(Object.keys(i.values||Nt).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 ko(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Ro(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Pt(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 Tt(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Pt(e,r)||n,t&&(o=t(o,n,e)),o}function G(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=Pt(u,n)||{};return ye(s,c,p=>{let g=Tt(f,o,p);return p===g&&typeof p=="string"&&(g=Tt(f,o,`${t}${p==="default"?"":dr(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:$e}:{},i.filterProps=[t],i}function Mo(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Io={m:"margin",p:"padding"},Do={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Fr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},jo=Mo(e=>{if(e.length>2)if(Fr[e])e=Fr[e];else return[e];const[t,r]=e.split(""),n=Io[t],o=Do[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),kt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Rt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Vo=[...kt,...Rt];function st(e,t,r,n){const o=Pt(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(`
|
|
5
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(`
|
|
6
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(`
|
|
7
|
-
`)),()=>{})}function pr(e){return st(e,"spacing",8,"spacing")}function at(e,t){return typeof t=="string"||t==null?t:e(t)}function Uo(e,t){return r=>e.reduce((n,o)=>(n[o]=at(t,r),n),{})}function Yo(e,t,r,n){if(!t.includes(r))return null;const o=Bo(r),i=Uo(o,n),s=e[r];return ye(e,s,i)}function Vn(e,t){const r=pr(e.theme);return Object.keys(e).map(n=>Yo(e,t,n,r)).reduce(et,{})}function U(e){return Vn(e,It)}U.propTypes=process.env.NODE_ENV!=="production"?It.reduce((e,t)=>(e[t]=$e,e),{}):{};U.filterProps=It;function Y(e){return Vn(e,Dt)}Y.propTypes=process.env.NODE_ENV!=="production"?Dt.reduce((e,t)=>(e[t]=$e,e),{}):{};Y.filterProps=Dt;process.env.NODE_ENV!=="production"&&zo.reduce((e,t)=>(e[t]=$e,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]?et(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 se(e){return typeof e!="number"?e:`${e}px solid`}function ae(e,t){return G({prop:e,themeKey:"borders",transform:t})}const Wo=ae("border",se),Go=ae("borderTop",se),Ko=ae("borderRight",se),qo=ae("borderBottom",se),Ho=ae("borderLeft",se),Xo=ae("borderColor"),Qo=ae("borderTopColor"),Jo=ae("borderRightColor"),Zo=ae("borderBottomColor"),ei=ae("borderLeftColor"),ti=ae("outline",se),ri=ae("outlineColor"),Vt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=st(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:at(t,n)});return ye(e,e.borderRadius,r)}return null};Vt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:$e}:{};Vt.filterProps=["borderRadius"];jt(Wo,Go,Ko,qo,Ho,Xo,Qo,Jo,Zo,ei,Vt,ti,ri);const Lt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=st(e.theme,"spacing",8,"gap"),r=n=>({gap:at(t,n)});return ye(e,e.gap,r)}return null};Lt.propTypes=process.env.NODE_ENV!=="production"?{gap:$e}:{};Lt.filterProps=["gap"];const Ft=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=st(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:at(t,n)});return ye(e,e.columnGap,r)}return null};Ft.propTypes=process.env.NODE_ENV!=="production"?{columnGap:$e}:{};Ft.filterProps=["columnGap"];const Bt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=st(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:at(t,n)});return ye(e,e.rowGap,r)}return null};Bt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:$e}:{};Bt.filterProps=["rowGap"];const ni=G({prop:"gridColumn"}),oi=G({prop:"gridRow"}),ii=G({prop:"gridAutoFlow"}),si=G({prop:"gridAutoColumns"}),ai=G({prop:"gridAutoRows"}),ci=G({prop:"gridTemplateColumns"}),li=G({prop:"gridTemplateRows"}),ui=G({prop:"gridTemplateAreas"}),fi=G({prop:"gridArea"});jt(Lt,Ft,Bt,ni,oi,ii,si,ai,ci,li,ui,fi);function Le(e,t){return t==="grey"?t:e}const di=G({prop:"color",themeKey:"palette",transform:Le}),mi=G({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Le}),pi=G({prop:"backgroundColor",themeKey:"palette",transform:Le});jt(di,mi,pi);function ne(e){return e<=1&&e!==0?`${e*100}%`:e}const hi=G({prop:"width",transform:ne}),hr=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:ne(r)}};return ye(e,e.maxWidth,t)}return null};hr.filterProps=["maxWidth"];const gi=G({prop:"minWidth",transform:ne}),yi=G({prop:"height",transform:ne}),bi=G({prop:"maxHeight",transform:ne}),Si=G({prop:"minHeight",transform:ne});G({prop:"size",cssProperty:"width",transform:ne});G({prop:"size",cssProperty:"height",transform:ne});const Ei=G({prop:"boxSizing"});jt(hi,hr,gi,yi,bi,Si,Ei);const ct={border:{themeKey:"borders",transform:se},borderTop:{themeKey:"borders",transform:se},borderRight:{themeKey:"borders",transform:se},borderBottom:{themeKey:"borders",transform:se},borderLeft:{themeKey:"borders",transform:se},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:se},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vt},color:{themeKey:"palette",transform:Le},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Le},backgroundColor:{themeKey:"palette",transform:Le},p:{style:Y},pt:{style:Y},pr:{style:Y},pb:{style:Y},pl:{style:Y},px:{style:Y},py:{style:Y},padding:{style:Y},paddingTop:{style:Y},paddingRight:{style:Y},paddingBottom:{style:Y},paddingLeft:{style:Y},paddingX:{style:Y},paddingY:{style:Y},paddingInline:{style:Y},paddingInlineStart:{style:Y},paddingInlineEnd:{style:Y},paddingBlock:{style:Y},paddingBlockStart:{style:Y},paddingBlockEnd:{style:Y},m:{style:U},mt:{style:U},mr:{style:U},mb:{style:U},ml:{style:U},mx:{style:U},my:{style:U},margin:{style:U},marginTop:{style:U},marginRight:{style:U},marginBottom:{style:U},marginLeft:{style:U},marginX:{style:U},marginY:{style:U},marginInline:{style:U},marginInlineStart:{style:U},marginInlineEnd:{style:U},marginBlock:{style:U},marginBlockStart:{style:U},marginBlockEnd:{style:U},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:ne},maxWidth:{style:hr},minWidth:{transform:ne},height:{transform:ne},maxHeight:{transform:ne},minHeight:{transform:ne},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 Ci(...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 wi(e,t){return typeof e=="function"?e(t):e}function xi(){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):ye(s,n,y=>{let l=Tt(g,d,y);return y===l&&typeof y=="string"&&(l=Tt(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??ct;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=Do(o.breakpoints),d=Object.keys(f);let p=f;return Object.keys(u).forEach(g=>{const S=wi(u[g],o);if(S!=null)if(typeof S=="object")if(i[g])p=et(p,e(g,S,o,i));else{const y=ye({theme:o},S,l=>({[g]:l}));Ci(y,S)?p[g]=t({sx:S,theme:o}):p=et(p,y)}else p=et(p,e(g,S,o,i))}),Po(o,jo(d,p))}return Array.isArray(n)?n.map(s):s(n)}return t}const Ae=xi();Ae.filterProps=["sx"];function Ln(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ti=/^((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)-.*))$/,_i=Ln(function(e){return Ti.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function $i(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 Oi(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 Ai=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(Oi(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:
|
|
8
|
-
`+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=$i(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}(),J="-ms-",_t="-moz-",k="-webkit-",gr="comm",yr="rule",br="decl",Ni="@import",Fn="@keyframes",Pi="@layer",ki=Math.abs,zt=String.fromCharCode,Ri=Object.assign;function Mi(e,t){return H(e,0)^45?(((t<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3):0}function Bn(e){return e.trim()}function Ii(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,r){return e.replace(t,r)}function ir(e,t){return e.indexOf(t)}function H(e,t){return e.charCodeAt(t)|0}function tt(e,t,r){return e.slice(t,r)}function me(e){return e.length}function Sr(e){return e.length}function bt(e,t){return t.push(e),e}function Di(e,t){return e.map(t).join("")}var Ut=1,ze=1,zn=0,te=0,K=0,Ye="";function Yt(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ut,column:ze,length:s,return:""}}function Xe(e,t){return Ri(Yt("",null,null,"",null,null,0),e,{length:-e.length},t)}function ji(){return K}function Vi(){return K=te>0?H(Ye,--te):0,ze--,K===10&&(ze=1,Ut--),K}function oe(){return K=te<zn?H(Ye,te++):0,ze++,K===10&&(ze=1,Ut++),K}function pe(){return H(Ye,te)}function vt(){return te}function lt(e,t){return tt(Ye,e,t)}function rt(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 Un(e){return Ut=ze=1,zn=me(Ye=e),te=0,[]}function Yn(e){return Ye="",e}function Et(e){return Bn(lt(te-1,sr(e===91?e+2:e===40?e+1:e)))}function Li(e){for(;(K=pe())&&K<33;)oe();return rt(e)>2||rt(K)>3?"":" "}function Fi(e,t){for(;--t&&oe()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return lt(e,vt()+(t<6&&pe()==32&&oe()==32))}function sr(e){for(;oe();)switch(K){case e:return te;case 34:case 39:e!==34&&e!==39&&sr(K);break;case 40:e===41&&sr(e);break;case 92:oe();break}return te}function Bi(e,t){for(;oe()&&e+K!==57;)if(e+K===84&&pe()===47)break;return"/*"+lt(t,te-1)+"*"+zt(e===47?e:oe())}function zi(e){for(;!rt(pe());)oe();return lt(e,te)}function Ui(e){return Yn(Ct("",null,null,null,[""],e=Un(e),0,[0],e))}function Ct(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,w=1,C=1,O=0,v="",b=o,m=i,E=n,T=v;w;)switch(y=O,O=oe()){case 40:if(y!=108&&H(T,p-1)==58){ir(T+=R(Et(O),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:T+=Et(O);break;case 9:case 10:case 13:case 32:T+=Li(y);break;case 92:T+=Fi(vt()-1,7);continue;case 47:switch(pe()){case 42:case 47:bt(Yi(Bi(oe(),vt()),t,r),u);break;default:T+="/"}break;case 123*l:c[f++]=me(T)*C;case 125*l:case 59:case 0:switch(O){case 0:case 125:w=0;case 59+d:C==-1&&(T=R(T,/\f/g,"")),S>0&&me(T)-p&&bt(S>32?Ur(T+";",n,r,p-1):Ur(R(T," ","")+";",n,r,p-2),u);break;case 59:T+=";";default:if(bt(E=zr(T,t,r,f,d,o,c,v,b=[],m=[],p),i),O===123)if(d===0)Ct(T,t,E,E,b,i,p,c,m);else switch(g===99&&H(T,3)===110?100:g){case 100:case 108:case 109:case 115:Ct(e,E,E,n&&bt(zr(e,E,E,0,0,o,c,v,o,b=[],p),m),o,m,p,c,n?b:m);break;default:Ct(T,E,E,E,[""],m,0,c,m)}}f=d=S=0,l=C=1,v=T="",p=s;break;case 58:p=1+me(T),S=y;default:if(l<1){if(O==123)--l;else if(O==125&&l++==0&&Vi()==125)continue}switch(T+=zt(O),O*l){case 38:C=d>0?1:(T+="\f",-1);break;case 44:c[f++]=(me(T)-1)*C,C=1;break;case 64:pe()===45&&(T+=Et(oe())),g=pe(),d=p=me(v=T+=zi(vt())),O++;break;case 45:y===45&&me(T)==2&&(l=0)}}return i}function zr(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,w=0;y<n;++y)for(var C=0,O=tt(e,p+1,p=ki(l=s[y])),v=e;C<S;++C)(v=Bn(l>0?g[C]+" "+O:R(O,/&\f/g,g[C])))&&(u[w++]=v);return Yt(e,t,r,o===0?yr:c,u,f,d)}function Yi(e,t,r){return Yt(e,t,r,gr,zt(ji()),tt(e,2,-2),0)}function Ur(e,t,r,n){return Yt(e,t,r,br,tt(e,0,n),tt(e,n+1,-1),n)}function Fe(e,t){for(var r="",n=Sr(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Wi(e,t,r,n){switch(e.type){case Pi:if(e.children.length)break;case Ni:case br:return e.return=e.return||e.value;case gr:return"";case Fn:return e.return=e.value+"{"+Fe(e.children,n)+"}";case yr:e.value=e.props.join(",")}return me(r=Fe(e.children,n))?e.return=e.value+"{"+r+"}":""}function Gi(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 Ki(e){return function(t){t.root||(t=t.return)&&e(t)}}var qi=function(t,r,n){for(var o=0,i=0;o=i,i=pe(),o===38&&i===12&&(r[n]=1),!rt(i);)oe();return lt(t,te)},Hi=function(t,r){var n=-1,o=44;do switch(rt(o)){case 0:o===38&&pe()===12&&(r[n]=1),t[n]+=qi(te-1,r,n);break;case 2:t[n]+=Et(o);break;case 4:if(o===44){t[++n]=pe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=zt(o)}while(o=oe());return t},Xi=function(t,r){return Yn(Hi(Un(t),r))},Yr=new WeakMap,Qi=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&&!Yr.get(n))&&!o){Yr.set(t,!0);for(var i=[],s=Xi(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]}}},Ji=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Zi="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",es=function(t){return t.type==="comm"&&t.children.indexOf(Zi)>-1},ts=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(es(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".')})}}}},Wn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},rs=function(t,r){for(var n=t-1;n>=0;n--)if(!Wn(r[n]))return!0;return!1},Wr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ns=function(t,r,n){Wn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Wr(t)):rs(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Wr(t)))};function Gn(e,t){switch(Mi(e,t)){case 5103:return k+"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 k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+_t+e+J+e+e;case 6828:case 4268:return k+e+J+e+e;case 6165:return k+e+J+"flex-"+e+e;case 5187:return k+e+R(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+J+"flex-$1$2")+e;case 5443:return k+e+J+"flex-item-"+R(e,/flex-|-self/,"")+e;case 4675:return k+e+J+"flex-line-pack"+R(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+J+R(e,"shrink","negative")+e;case 5292:return k+e+J+R(e,"basis","preferred-size")+e;case 6060:return k+"box-"+R(e,"-grow","")+k+e+J+R(e,"grow","positive")+e;case 4554:return k+R(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return R(R(R(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+J+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,k+"$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(me(e)-1-t>6)switch(H(e,t+1)){case 109:if(H(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+_t+(H(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ir(e,"stretch")?Gn(R(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(H(e,t+1)!==115)break;case 6444:switch(H(e,me(e)-3-(~ir(e,"!important")&&10))){case 107:return R(e,":",":"+k)+e;case 101:return R(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(H(e,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+J+"$2box$3")+e}break;case 5936:switch(H(e,t+11)){case 114:return k+e+J+R(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+J+R(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+J+R(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+J+e+e}return e}var os=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case br:t.return=Gn(t.value,t.length);break;case Fn:return Fe([Xe(t,{value:R(t.value,"@","@"+k)})],o);case yr:if(t.length)return Di(t.props,function(i){switch(Ii(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fe([Xe(t,{props:[R(i,/:(read-\w+)/,":"+_t+"$1")]})],o);case"::placeholder":return Fe([Xe(t,{props:[R(i,/:(plac\w+)/,":"+k+"input-$1")]}),Xe(t,{props:[R(i,/:(plac\w+)/,":"+_t+"$1")]}),Xe(t,{props:[R(i,/:(plac\w+)/,J+"input-$1")]})],o)}return""})}},is=[os],ss=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.
|
|
9
|
-
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 w=l.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||
|
|
5
|
+
`)),()=>{})}function mr(e){return st(e,"spacing",8,"spacing")}function at(e,t){return typeof t=="string"||t==null?t:e(t)}function Lo(e,t){return r=>e.reduce((n,o)=>(n[o]=at(t,r),n),{})}function Fo(e,t,r,n){if(!t.includes(r))return null;const o=jo(r),i=Lo(o,n),s=e[r];return ye(e,s,i)}function Rn(e,t){const r=mr(e.theme);return Object.keys(e).map(n=>Fo(e,t,n,r)).reduce(et,{})}function U(e){return Rn(e,kt)}U.propTypes=process.env.NODE_ENV!=="production"?kt.reduce((e,t)=>(e[t]=$e,e),{}):{};U.filterProps=kt;function Y(e){return Rn(e,Rt)}Y.propTypes=process.env.NODE_ENV!=="production"?Rt.reduce((e,t)=>(e[t]=$e,e),{}):{};Y.filterProps=Rt;process.env.NODE_ENV!=="production"&&Vo.reduce((e,t)=>(e[t]=$e,e),{});function Mt(...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]?et(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 se(e){return typeof e!="number"?e:`${e}px solid`}function ae(e,t){return G({prop:e,themeKey:"borders",transform:t})}const Bo=ae("border",se),zo=ae("borderTop",se),Uo=ae("borderRight",se),Yo=ae("borderBottom",se),Wo=ae("borderLeft",se),Go=ae("borderColor"),Ko=ae("borderTopColor"),qo=ae("borderRightColor"),Ho=ae("borderBottomColor"),Xo=ae("borderLeftColor"),Qo=ae("outline",se),Jo=ae("outlineColor"),It=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=st(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:at(t,n)});return ye(e,e.borderRadius,r)}return null};It.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:$e}:{};It.filterProps=["borderRadius"];Mt(Bo,zo,Uo,Yo,Wo,Go,Ko,qo,Ho,Xo,It,Qo,Jo);const Dt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=st(e.theme,"spacing",8,"gap"),r=n=>({gap:at(t,n)});return ye(e,e.gap,r)}return null};Dt.propTypes=process.env.NODE_ENV!=="production"?{gap:$e}:{};Dt.filterProps=["gap"];const jt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=st(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:at(t,n)});return ye(e,e.columnGap,r)}return null};jt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:$e}:{};jt.filterProps=["columnGap"];const Vt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=st(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:at(t,n)});return ye(e,e.rowGap,r)}return null};Vt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:$e}:{};Vt.filterProps=["rowGap"];const Zo=G({prop:"gridColumn"}),ei=G({prop:"gridRow"}),ti=G({prop:"gridAutoFlow"}),ri=G({prop:"gridAutoColumns"}),ni=G({prop:"gridAutoRows"}),oi=G({prop:"gridTemplateColumns"}),ii=G({prop:"gridTemplateRows"}),si=G({prop:"gridTemplateAreas"}),ai=G({prop:"gridArea"});Mt(Dt,jt,Vt,Zo,ei,ti,ri,ni,oi,ii,si,ai);function Le(e,t){return t==="grey"?t:e}const ci=G({prop:"color",themeKey:"palette",transform:Le}),li=G({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Le}),ui=G({prop:"backgroundColor",themeKey:"palette",transform:Le});Mt(ci,li,ui);function ne(e){return e<=1&&e!==0?`${e*100}%`:e}const fi=G({prop:"width",transform:ne}),pr=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])||Nt[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:ne(r)}};return ye(e,e.maxWidth,t)}return null};pr.filterProps=["maxWidth"];const di=G({prop:"minWidth",transform:ne}),mi=G({prop:"height",transform:ne}),pi=G({prop:"maxHeight",transform:ne}),hi=G({prop:"minHeight",transform:ne});G({prop:"size",cssProperty:"width",transform:ne});G({prop:"size",cssProperty:"height",transform:ne});const gi=G({prop:"boxSizing"});Mt(fi,pr,di,mi,pi,hi,gi);const ct={border:{themeKey:"borders",transform:se},borderTop:{themeKey:"borders",transform:se},borderRight:{themeKey:"borders",transform:se},borderBottom:{themeKey:"borders",transform:se},borderLeft:{themeKey:"borders",transform:se},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:se},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:It},color:{themeKey:"palette",transform:Le},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Le},backgroundColor:{themeKey:"palette",transform:Le},p:{style:Y},pt:{style:Y},pr:{style:Y},pb:{style:Y},pl:{style:Y},px:{style:Y},py:{style:Y},padding:{style:Y},paddingTop:{style:Y},paddingRight:{style:Y},paddingBottom:{style:Y},paddingLeft:{style:Y},paddingX:{style:Y},paddingY:{style:Y},paddingInline:{style:Y},paddingInlineStart:{style:Y},paddingInlineEnd:{style:Y},paddingBlock:{style:Y},paddingBlockStart:{style:Y},paddingBlockEnd:{style:Y},m:{style:U},mt:{style:U},mr:{style:U},mb:{style:U},ml:{style:U},mx:{style:U},my:{style:U},margin:{style:U},marginTop:{style:U},marginRight:{style:U},marginBottom:{style:U},marginLeft:{style:U},marginX:{style:U},marginY:{style:U},marginInline:{style:U},marginInlineStart:{style:U},marginInlineEnd:{style:U},marginBlock:{style:U},marginBlockStart:{style:U},marginBlockEnd:{style:U},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:Dt},rowGap:{style:Vt},columnGap:{style:jt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ne},maxWidth:{style:pr},minWidth:{transform:ne},height:{transform:ne},maxHeight:{transform:ne},minHeight:{transform:ne},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 yi(...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 bi(e,t){return typeof e=="function"?e(t):e}function Si(){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=Pt(o,f)||{};return p?p(s):ye(s,n,y=>{let l=Tt(g,d,y);return y===l&&typeof y=="string"&&(l=Tt(g,d,`${r}${y==="default"?"":dr(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??ct;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=ko(o.breakpoints),d=Object.keys(f);let p=f;return Object.keys(u).forEach(g=>{const S=bi(u[g],o);if(S!=null)if(typeof S=="object")if(i[g])p=et(p,e(g,S,o,i));else{const y=ye({theme:o},S,l=>({[g]:l}));yi(y,S)?p[g]=t({sx:S,theme:o}):p=et(p,y)}else p=et(p,e(g,S,o,i))}),$o(o,Ro(d,p))}return Array.isArray(n)?n.map(s):s(n)}return t}const Ae=Si();Ae.filterProps=["sx"];function Mn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ei=/^((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)-.*))$/,Ci=Mn(function(e){return Ei.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function wi(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 xi(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 Ti=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(xi(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=wi(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}(),J="-ms-",_t="-moz-",k="-webkit-",hr="comm",gr="rule",yr="decl",_i="@import",In="@keyframes",$i="@layer",Oi=Math.abs,Lt=String.fromCharCode,Ai=Object.assign;function Ni(e,t){return H(e,0)^45?(((t<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3):0}function Dn(e){return e.trim()}function Pi(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,r){return e.replace(t,r)}function or(e,t){return e.indexOf(t)}function H(e,t){return e.charCodeAt(t)|0}function tt(e,t,r){return e.slice(t,r)}function me(e){return e.length}function br(e){return e.length}function gt(e,t){return t.push(e),e}function ki(e,t){return e.map(t).join("")}var Ft=1,Be=1,jn=0,te=0,K=0,Ye="";function Bt(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ft,column:Be,length:s,return:""}}function Xe(e,t){return Ai(Bt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ri(){return K}function Mi(){return K=te>0?H(Ye,--te):0,Be--,K===10&&(Be=1,Ft--),K}function oe(){return K=te<jn?H(Ye,te++):0,Be++,K===10&&(Be=1,Ft++),K}function pe(){return H(Ye,te)}function vt(){return te}function lt(e,t){return tt(Ye,e,t)}function rt(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 Vn(e){return Ft=Be=1,jn=me(Ye=e),te=0,[]}function Ln(e){return Ye="",e}function Et(e){return Dn(lt(te-1,ir(e===91?e+2:e===40?e+1:e)))}function Ii(e){for(;(K=pe())&&K<33;)oe();return rt(e)>2||rt(K)>3?"":" "}function Di(e,t){for(;--t&&oe()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return lt(e,vt()+(t<6&&pe()==32&&oe()==32))}function ir(e){for(;oe();)switch(K){case e:return te;case 34:case 39:e!==34&&e!==39&&ir(K);break;case 40:e===41&&ir(e);break;case 92:oe();break}return te}function ji(e,t){for(;oe()&&e+K!==57;)if(e+K===84&&pe()===47)break;return"/*"+lt(t,te-1)+"*"+Lt(e===47?e:oe())}function Vi(e){for(;!rt(pe());)oe();return lt(e,te)}function Li(e){return Ln(Ct("",null,null,null,[""],e=Vn(e),0,[0],e))}function Ct(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,w=1,C=1,O=0,v="",b=o,m=i,E=n,T=v;w;)switch(y=O,O=oe()){case 40:if(y!=108&&H(T,p-1)==58){or(T+=R(Et(O),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:T+=Et(O);break;case 9:case 10:case 13:case 32:T+=Ii(y);break;case 92:T+=Di(vt()-1,7);continue;case 47:switch(pe()){case 42:case 47:gt(Fi(ji(oe(),vt()),t,r),u);break;default:T+="/"}break;case 123*l:c[f++]=me(T)*C;case 125*l:case 59:case 0:switch(O){case 0:case 125:w=0;case 59+d:C==-1&&(T=R(T,/\f/g,"")),S>0&&me(T)-p&>(S>32?zr(T+";",n,r,p-1):zr(R(T," ","")+";",n,r,p-2),u);break;case 59:T+=";";default:if(gt(E=Br(T,t,r,f,d,o,c,v,b=[],m=[],p),i),O===123)if(d===0)Ct(T,t,E,E,b,i,p,c,m);else switch(g===99&&H(T,3)===110?100:g){case 100:case 108:case 109:case 115:Ct(e,E,E,n&>(Br(e,E,E,0,0,o,c,v,o,b=[],p),m),o,m,p,c,n?b:m);break;default:Ct(T,E,E,E,[""],m,0,c,m)}}f=d=S=0,l=C=1,v=T="",p=s;break;case 58:p=1+me(T),S=y;default:if(l<1){if(O==123)--l;else if(O==125&&l++==0&&Mi()==125)continue}switch(T+=Lt(O),O*l){case 38:C=d>0?1:(T+="\f",-1);break;case 44:c[f++]=(me(T)-1)*C,C=1;break;case 64:pe()===45&&(T+=Et(oe())),g=pe(),d=p=me(v=T+=Vi(vt())),O++;break;case 45:y===45&&me(T)==2&&(l=0)}}return i}function Br(e,t,r,n,o,i,s,c,u,f,d){for(var p=o-1,g=o===0?i:[""],S=br(g),y=0,l=0,w=0;y<n;++y)for(var C=0,O=tt(e,p+1,p=Oi(l=s[y])),v=e;C<S;++C)(v=Dn(l>0?g[C]+" "+O:R(O,/&\f/g,g[C])))&&(u[w++]=v);return Bt(e,t,r,o===0?gr:c,u,f,d)}function Fi(e,t,r){return Bt(e,t,r,hr,Lt(Ri()),tt(e,2,-2),0)}function zr(e,t,r,n){return Bt(e,t,r,yr,tt(e,0,n),tt(e,n+1,-1),n)}function Fe(e,t){for(var r="",n=br(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Bi(e,t,r,n){switch(e.type){case $i:if(e.children.length)break;case _i:case yr:return e.return=e.return||e.value;case hr:return"";case In:return e.return=e.value+"{"+Fe(e.children,n)+"}";case gr:e.value=e.props.join(",")}return me(r=Fe(e.children,n))?e.return=e.value+"{"+r+"}":""}function zi(e){var t=br(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 Ui(e){return function(t){t.root||(t=t.return)&&e(t)}}var Yi=function(t,r,n){for(var o=0,i=0;o=i,i=pe(),o===38&&i===12&&(r[n]=1),!rt(i);)oe();return lt(t,te)},Wi=function(t,r){var n=-1,o=44;do switch(rt(o)){case 0:o===38&&pe()===12&&(r[n]=1),t[n]+=Yi(te-1,r,n);break;case 2:t[n]+=Et(o);break;case 4:if(o===44){t[++n]=pe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Lt(o)}while(o=oe());return t},Gi=function(t,r){return Ln(Wi(Vn(t),r))},Ur=new WeakMap,Ki=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&&!Ur.get(n))&&!o){Ur.set(t,!0);for(var i=[],s=Gi(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]}}},qi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Hi="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Xi=function(t){return t.type==="comm"&&t.children.indexOf(Hi)>-1},Qi=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(Xi(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".')})}}}},Fn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Ji=function(t,r){for(var n=t-1;n>=0;n--)if(!Fn(r[n]))return!0;return!1},Yr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Zi=function(t,r,n){Fn(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."),Yr(t)):Ji(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Yr(t)))};function Bn(e,t){switch(Ni(e,t)){case 5103:return k+"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 k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+_t+e+J+e+e;case 6828:case 4268:return k+e+J+e+e;case 6165:return k+e+J+"flex-"+e+e;case 5187:return k+e+R(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+J+"flex-$1$2")+e;case 5443:return k+e+J+"flex-item-"+R(e,/flex-|-self/,"")+e;case 4675:return k+e+J+"flex-line-pack"+R(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+J+R(e,"shrink","negative")+e;case 5292:return k+e+J+R(e,"basis","preferred-size")+e;case 6060:return k+"box-"+R(e,"-grow","")+k+e+J+R(e,"grow","positive")+e;case 4554:return k+R(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return R(R(R(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+J+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,k+"$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(me(e)-1-t>6)switch(H(e,t+1)){case 109:if(H(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+_t+(H(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~or(e,"stretch")?Bn(R(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(H(e,t+1)!==115)break;case 6444:switch(H(e,me(e)-3-(~or(e,"!important")&&10))){case 107:return R(e,":",":"+k)+e;case 101:return R(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(H(e,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+J+"$2box$3")+e}break;case 5936:switch(H(e,t+11)){case 114:return k+e+J+R(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+J+R(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+J+R(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+J+e+e}return e}var es=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case yr:t.return=Bn(t.value,t.length);break;case In:return Fe([Xe(t,{value:R(t.value,"@","@"+k)})],o);case gr:if(t.length)return ki(t.props,function(i){switch(Pi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fe([Xe(t,{props:[R(i,/:(read-\w+)/,":"+_t+"$1")]})],o);case"::placeholder":return Fe([Xe(t,{props:[R(i,/:(plac\w+)/,":"+k+"input-$1")]}),Xe(t,{props:[R(i,/:(plac\w+)/,":"+_t+"$1")]}),Xe(t,{props:[R(i,/:(plac\w+)/,J+"input-$1")]})],o)}return""})}},ts=[es],rs=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 w=l.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||ts;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 w=l.getAttribute("data-emotion").split(" "),C=1;C<w.length;C++)i[w[C]]=!0;c.push(l)});var u,f=[Ki,qi];process.env.NODE_ENV!=="production"&&f.push(Qi({get compat(){return y.compat}}),Zi);{var d,p=[Bi,process.env.NODE_ENV!=="production"?function(l){l.root||(l.return?d.insert(l.return):l.value&&l.type!==hr&&d.insert(l.value+"{}"))}:Ui(function(l){d.insert(l)})],g=zi(f.concat(o,p)),S=function(w){return Fe(Li(w),g)};u=function(w,C,O,v){d=O,process.env.NODE_ENV!=="production"&&C.map!==void 0&&(d={insert:function(m){O.insert(m+C.map)}}),S(w?w+"{"+C.styles+"}":C.styles),v&&(y.inserted[C.name]=!0)}}var y={key:r,sheet:new Ti({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},sr={exports:{}},I={};/** @license React v16.13.1
|
|
10
8
|
* react-is.production.min.js
|
|
11
9
|
*
|
|
12
10
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
13
11
|
*
|
|
14
12
|
* This source code is licensed under the MIT license found in the
|
|
15
13
|
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/var
|
|
14
|
+
*/var Wr;function ns(){if(Wr)return I;Wr=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,w=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function v(m){if(typeof m=="object"&&m!==null){var E=m.$$typeof;switch(E){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 E}}case r:return E}}}function b(m){return v(m)===f}return I.AsyncMode=u,I.ConcurrentMode=f,I.ContextConsumer=c,I.ContextProvider=s,I.Element=t,I.ForwardRef=d,I.Fragment=n,I.Lazy=y,I.Memo=S,I.Portal=r,I.Profiler=i,I.StrictMode=o,I.Suspense=p,I.isAsyncMode=function(m){return b(m)||v(m)===u},I.isConcurrentMode=b,I.isContextConsumer=function(m){return v(m)===c},I.isContextProvider=function(m){return v(m)===s},I.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},I.isForwardRef=function(m){return v(m)===d},I.isFragment=function(m){return v(m)===n},I.isLazy=function(m){return v(m)===y},I.isMemo=function(m){return v(m)===S},I.isPortal=function(m){return v(m)===r},I.isProfiler=function(m){return v(m)===i},I.isStrictMode=function(m){return v(m)===o},I.isSuspense=function(m){return v(m)===p},I.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===w||m.$$typeof===C||m.$$typeof===O||m.$$typeof===l)},I.typeOf=v,I}var D={};/** @license React v16.13.1
|
|
17
15
|
* react-is.development.js
|
|
18
16
|
*
|
|
19
17
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
20
18
|
*
|
|
21
19
|
* This source code is licensed under the MIT license found in the
|
|
22
20
|
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/var
|
|
21
|
+
*/var Gr;function os(){return Gr||(Gr=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,w=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function v(_){return typeof _=="string"||typeof _=="function"||_===n||_===f||_===i||_===o||_===p||_===g||typeof _=="object"&&_!==null&&(_.$$typeof===y||_.$$typeof===S||_.$$typeof===s||_.$$typeof===c||_.$$typeof===d||_.$$typeof===w||_.$$typeof===C||_.$$typeof===O||_.$$typeof===l)}function b(_){if(typeof _=="object"&&_!==null){var Pe=_.$$typeof;switch(Pe){case t:var ke=_.type;switch(ke){case u:case f:case n:case i:case o:case p:return ke;default:var Ke=ke&&ke.$$typeof;switch(Ke){case c:case d:case y:case S:case s:return Ke;default:return Pe}}case r:return Pe}}}var m=u,E=f,T=c,P=s,j=t,a=d,x=n,A=y,M=S,W=r,Q=i,ce=o,be=p,Se=!1;function ut(_){return Se||(Se=!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.")),Z(_)||b(_)===u}function Z(_){return b(_)===f}function fe(_){return b(_)===c}function ft(_){return b(_)===s}function We(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function dt(_){return b(_)===d}function ve(_){return b(_)===n}function mt(_){return b(_)===y}function pt(_){return b(_)===S}function qt(_){return b(_)===r}function Ht(_){return b(_)===i}function Ge(_){return b(_)===o}function ht(_){return b(_)===p}D.AsyncMode=m,D.ConcurrentMode=E,D.ContextConsumer=T,D.ContextProvider=P,D.Element=j,D.ForwardRef=a,D.Fragment=x,D.Lazy=A,D.Memo=M,D.Portal=W,D.Profiler=Q,D.StrictMode=ce,D.Suspense=be,D.isAsyncMode=ut,D.isConcurrentMode=Z,D.isContextConsumer=fe,D.isContextProvider=ft,D.isElement=We,D.isForwardRef=dt,D.isFragment=ve,D.isLazy=mt,D.isMemo=pt,D.isPortal=qt,D.isProfiler=Ht,D.isStrictMode=Ge,D.isSuspense=ht,D.isValidElementType=v,D.typeOf=b}()),D}process.env.NODE_ENV==="production"?sr.exports=ns():sr.exports=os();var is=sr.exports,zn=is,ss={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},as={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Un={};Un[zn.ForwardRef]=ss;Un[zn.Memo]=as;var cs=!0;function Sr(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var zt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||cs===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Ut=function(t,r,n){zt(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 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 us={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Kr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
24
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';".
|
|
25
23
|
You can read more about this here:
|
|
26
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
24
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,fs="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ds=/[A-Z]|^ms/g,Yn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vr=function(t){return t.charCodeAt(1)===45},qr=function(t){return t!=null&&typeof t!="boolean"},Qt=Mn(function(e){return vr(e)?e:e.replace(ds,"-$&").toLowerCase()}),$t=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Yn,function(n,o,i){return ue={name:o,styles:i,next:ue},o})}return us[t]!==1&&!vr(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var ms=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,ps=["normal","none","initial","inherit","unset"],hs=$t,gs=/^-ms-/,ys=/-(.)/g,Hr={};$t=function(t,r){if(t==="content"&&(typeof r!="string"||ps.indexOf(r)===-1&&!ms.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=hs(t,r);return n!==""&&!vr(t)&&t.indexOf("-")!==-1&&Hr[t]===void 0&&(Hr[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(gs,"ms-").replace(ys,function(o,i){return i.toUpperCase()})+"?")),n}}var Wn="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function nt(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(Wn);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ue={name:r.name,styles:r.styles,next:ue},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ue={name:n.name,styles:n.styles,next:ue},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return bs(e,t,r)}case"function":{if(e!==void 0){var i=ue,s=r(e);return ue=i,nt(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(Yn,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(`
|
|
27
25
|
`)+`
|
|
28
26
|
|
|
29
27
|
You should wrap it with \`css\` like this:
|
|
30
28
|
|
|
31
|
-
`+("css`"+u+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function
|
|
29
|
+
`+("css`"+u+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function bs(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=nt(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+=Qt(i)+":"+$t(i,s)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Wn);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+=Qt(i)+":"+$t(i,s[c])+";");else{var u=nt(e,t,s);switch(i){case"animation":case"animationName":{n+=Qt(i)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(fs),n+=i+"{"+u+"}"}}}}return n}var Xr=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Gn;process.env.NODE_ENV!=="production"&&(Gn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ue,ze=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="";ue=void 0;var s=t[0];s==null||s.raw===void 0?(o=!1,i+=nt(n,r,s)):(process.env.NODE_ENV!=="production"&&s[0]===void 0&&console.error(Kr),i+=s[0]);for(var c=1;c<t.length;c++)i+=nt(n,r,t[c]),o&&(process.env.NODE_ENV!=="production"&&s[c]===void 0&&console.error(Kr),i+=s[c]);var u;process.env.NODE_ENV!=="production"&&(i=i.replace(Gn,function(g){return u=g,""})),Xr.lastIndex=0;for(var f="",d;(d=Xr.exec(i))!==null;)f+="-"+d[1];var p=ls(i)+f;return process.env.NODE_ENV!=="production"?{name:p,styles:i,map:u,next:ue,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:ue}},Ss=function(t){return t()},Kn=$.useInsertionEffect?$.useInsertionEffect:!1,Er=Kn||Ss,Qr=Kn||$.useLayoutEffect,vs={}.hasOwnProperty,Cr=$.createContext(typeof HTMLElement<"u"?rs({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Cr.displayName="EmotionCacheContext");Cr.Provider;var Yt=function(t){return nr.forwardRef(function(r,n){var o=nr.useContext(Cr);return t(r,o,n)})},Ne=$.createContext({});process.env.NODE_ENV!=="production"&&(Ne.displayName="EmotionThemeContext");var Jr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Zr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Es=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return zt(r,n,o),Er(function(){return Ut(r,n,o)}),null},Cs=Yt(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Jr],i=[n],s="";typeof e.className=="string"?s=Sr(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var c=ze(i,void 0,$.useContext(Ne));if(process.env.NODE_ENV!=="production"&&c.name.indexOf("-")===-1){var u=e[Zr];u&&(c=ze([c,"label:"+u+";"]))}s+=t.key+"-"+c.name;var f={};for(var d in e)vs.call(e,d)&&d!=="css"&&d!==Jr&&(process.env.NODE_ENV==="production"||d!==Zr)&&(f[d]=e[d]);return f.ref=r,f.className=s,$.createElement($.Fragment,null,$.createElement(Es,{cache:t,serialized:c,isStringTag:typeof o=="string"}),$.createElement(o,f))});process.env.NODE_ENV!=="production"&&(Cs.displayName="EmotionCssPropInternal");var ws={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"}}}}},en=!1,qn=Yt(function(e,t){process.env.NODE_ENV!=="production"&&!en&&(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?"),en=!0);var r=e.styles,n=ze([r],void 0,$.useContext(Ne)),o=$.useRef();return Qr(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]),Qr(function(){var i=o.current,s=i[0],c=i[1];if(c){i[1]=!1;return}if(n.next!==void 0&&Ut(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"&&(qn.displayName="EmotionGlobal");function xs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ze(t)}var Ts=function(){var t=xs.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_"}}},_s=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 $s(e,t,r){var n=[],o=Sr(e,n,r);return n.length<2?r:o+t(n)}var Os=function(t){var r=t.cache,n=t.serializedArr;return Er(function(){for(var o=0;o<n.length;o++)Ut(r,n[o],!1)}),null},As=Yt(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=ze(d,t.registered);return n.push(g),zt(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 $s(t.registered,o,_s(d))},s={css:o,cx:i,theme:$.useContext(Ne)},c=e.children(s);return r=!0,$.createElement($.Fragment,null,$.createElement(Os,{cache:t,serializedArr:n}),c)});process.env.NODE_ENV!=="production"&&(As.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var tn=!0,Ns=typeof jest<"u"||typeof vi<"u";if(tn&&!Ns){var rn=typeof globalThis<"u"?globalThis:tn?window:global,nn="__EMOTION_REACT_"+ws.version.split(".")[0]+"__";rn[nn]&&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."),rn[nn]=!0}}var Ps=Ci,ks=function(t){return t!=="theme"},on=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ps:ks},sn=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},an=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
32
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';".
|
|
33
31
|
You can read more about this here:
|
|
34
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
35
|
-
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=
|
|
32
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Rs=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return zt(r,n,o),Er(function(){return Ut(r,n,o)}),null},Ms=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=sn(t,r,n),u=c||on(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(an),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(an),p.push(d[S],d[0][S])}var y=Yt(function(l,w,C){var O=f&&l.as||o,v="",b=[],m=l;if(l.theme==null){m={};for(var E in l)m[E]=l[E];m.theme=$.useContext(Ne)}typeof l.className=="string"?v=Sr(w.registered,b,l.className):l.className!=null&&(v=l.className+" ");var T=ze(p.concat(b),w.registered,m);v+=w.key+"-"+T.name,s!==void 0&&(v+=" "+s);var P=f&&c===void 0?on(O):u,j={};for(var a in l)f&&a==="as"||P(a)&&(j[a]=l[a]);return j.className=v,j.ref=C,$.createElement($.Fragment,null,$.createElement(Rs,{cache:w,serialized:T,isStringTag:typeof O=="string"}),$.createElement(O,j))});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,w){return e(l,wo._extends({},r,w,{shouldForwardProp:sn(y,w,!0)})).apply(void 0,p)},y}},Is=["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"],ar=Ms.bind();Is.forEach(function(e){ar[e]=ar(e)});function Ds(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 js={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 Vs(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ls=!1,Fs=/[A-Z]|^ms/g,Bs=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Hn=function(t){return t.charCodeAt(1)===45},cn=function(t){return t!=null&&typeof t!="boolean"},Jt=Vs(function(e){return Hn(e)?e:e.replace(Fs,"-$&").toLowerCase()}),ln=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Bs,function(n,o,i){return we={name:o,styles:i,next:we},o})}return js[t]!==1&&!Hn(t)&&typeof r=="number"&&r!==0?r+"px":r},zs="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ot(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 we={name:o.name,styles:o.styles,next:we},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)we={name:s.name,styles:s.styles,next:we},s=s.next;var c=i.styles+";";return c}return Us(e,t,r)}}var u=r;return u}function Us(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ot(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var c=s;cn(c)&&(n+=Jt(i)+":"+ln(i,c)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&Ls)throw new Error(zs);if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var u=0;u<s.length;u++)cn(s[u])&&(n+=Jt(i)+":"+ln(i,s[u])+";");else{var f=Ot(e,t,s);switch(i){case"animation":case"animationName":{n+=Jt(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}}return n}var un=/label:\s*([^\s;{]+)\s*(;|$)/g,we;function Ys(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="";we=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Ot(r,t,i);else{var s=i;o+=s[0]}for(var c=1;c<e.length;c++)if(o+=Ot(r,t,e[c]),n){var u=i;o+=u[c]}un.lastIndex=0;for(var f="",d;(d=un.exec(o))!==null;)f+="-"+d[1];var p=Ds(o)+f;return{name:p,styles:o,next:we}}function Ws(e){return e==null||Object.keys(e).length===0}function wr(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Ws(o)?r:o):t;return X.jsx(qn,{styles:n})}process.env.NODE_ENV!=="production"&&(wr.propTypes={defaultTheme:N.PropTypes.object,styles:N.PropTypes.oneOfType([N.PropTypes.array,N.PropTypes.string,N.PropTypes.object,N.PropTypes.func])});/**
|
|
36
34
|
* @mui/styled-engine v6.2.1
|
|
37
35
|
*
|
|
38
36
|
* @license MIT
|
|
39
37
|
* This source code is licensed under the MIT license found in the
|
|
40
38
|
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/function
|
|
42
|
-
`)):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
|
|
39
|
+
*/function Gs(e,t){const r=ar(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 Ks(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const fn=[];function dn(e){return fn[0]=e,Ys(fn)}const qs=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 Hs(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=qs(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 Xs={borderRadius:4};function Xn(e=8,t=mr({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 Qs(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 xr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,c=Hs(r),u=Xn(o);let f=Oe({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Xs,...i}},s);return f=No(f),f.applyStyles=Qs,f=t.reduce((d,p)=>Oe(d,p),f),f.unstable_sxConfig={...ct,...s==null?void 0:s.unstable_sxConfig},f.unstable_sx=function(p){return Ae({sx:p,theme:this})},f}function Js(e){return Object.keys(e).length===0}function Qn(e=null){const t=$.useContext(Ne);return!t||Js(t)?e:t}var cr={exports:{}},V={};/**
|
|
43
41
|
* @license React
|
|
44
42
|
* react-is.production.js
|
|
45
43
|
*
|
|
@@ -47,7 +45,7 @@ You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emoti
|
|
|
47
45
|
*
|
|
48
46
|
* This source code is licensed under the MIT license found in the
|
|
49
47
|
* LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/var
|
|
48
|
+
*/var mn;function Zs(){if(mn)return V;mn=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 w=l.$$typeof;switch(w){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 w}}case t:return w}}}return V.ContextConsumer=i,V.ContextProvider=s,V.Element=e,V.ForwardRef=c,V.Fragment=r,V.Lazy=p,V.Memo=d,V.Portal=t,V.Profiler=o,V.StrictMode=n,V.Suspense=u,V.SuspenseList=f,V.isContextConsumer=function(l){return y(l)===i},V.isContextProvider=function(l){return y(l)===s},V.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},V.isForwardRef=function(l){return y(l)===c},V.isFragment=function(l){return y(l)===r},V.isLazy=function(l){return y(l)===p},V.isMemo=function(l){return y(l)===d},V.isPortal=function(l){return y(l)===t},V.isProfiler=function(l){return y(l)===o},V.isStrictMode=function(l){return y(l)===n},V.isSuspense=function(l){return y(l)===u},V.isSuspenseList=function(l){return y(l)===f},V.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)},V.typeOf=y,V}var L={};/**
|
|
51
49
|
* @license React
|
|
52
50
|
* react-is.development.js
|
|
53
51
|
*
|
|
@@ -55,10 +53,12 @@ You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emoti
|
|
|
55
53
|
*
|
|
56
54
|
* This source code is licensed under the MIT license found in the
|
|
57
55
|
* LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/var
|
|
56
|
+
*/var pn;function ea(){return pn||(pn=1,process.env.NODE_ENV!=="production"&&function(){function e(l){if(typeof l=="object"&&l!==null){var w=l.$$typeof;switch(w){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 w}}case r:return w}}}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");L.ContextConsumer=s,L.ContextProvider=c,L.Element=t,L.ForwardRef=u,L.Fragment=n,L.Lazy=g,L.Memo=p,L.Portal=r,L.Profiler=i,L.StrictMode=o,L.Suspense=f,L.SuspenseList=d,L.isContextConsumer=function(l){return e(l)===s},L.isContextProvider=function(l){return e(l)===c},L.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},L.isForwardRef=function(l){return e(l)===u},L.isFragment=function(l){return e(l)===n},L.isLazy=function(l){return e(l)===g},L.isMemo=function(l){return e(l)===p},L.isPortal=function(l){return e(l)===r},L.isProfiler=function(l){return e(l)===i},L.isStrictMode=function(l){return e(l)===o},L.isSuspense=function(l){return e(l)===f},L.isSuspenseList=function(l){return e(l)===d},L.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)},L.typeOf=e}()),L}process.env.NODE_ENV==="production"?cr.exports=Zs():cr.exports=ea();var hn=cr.exports;function Jn(e,t=""){return e.displayName||e.name||t}function gn(e,t,r){const n=Jn(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function ta(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Jn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case hn.ForwardRef:return gn(e,e.render,"ForwardRef");case hn.Memo:return gn(e,e.type,"memo");default:return}}}function Zn(e){const{variants:t,...r}=e,n={variants:t,style:dn(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=dn(o.style))}),n}const ra=xr();function Zt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function na(e){return e?(t,r)=>r[e]:null}function oa(e,t,r){e.theme=ca(e.theme)?r:e.theme[t]||e.theme}function wt(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>wt(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 eo(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function eo(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 ia(e={}){const{themeId:t,defaultTheme:r=ra,rootShouldForwardProp:n=Zt,slotShouldForwardProp:o=Zt}=e;function i(c){oa(c,t,r)}return(c,u={})=>{Ks(c,m=>m.filter(E=>E!==Ae));const{name:f,slot:d,skipVariantsResolver:p,skipSx:g,overridesResolver:S=na(to(d)),...y}=u,l=p!==void 0?p:d&&d!=="Root"&&d!=="root"||!1,w=g||!1;let C=Zt;d==="Root"||d==="root"?C=n:d?C=o:la(c)&&(C=void 0);const O=Gs(c,{shouldForwardProp:C,label:aa(f,d),...y}),v=m=>{if(typeof m=="function"&&m.__emotion_real!==m)return function(T){return wt(T,m)};if(Ee(m)){const E=Zn(m);return E.variants?function(P){return wt(P,E)}:E.style}return m},b=(...m)=>{const E=[],T=m.map(v),P=[];if(E.push(i),f&&S&&P.push(function(A){var ce,be;const W=(be=(ce=A.theme.components)==null?void 0:ce[f])==null?void 0:be.styleOverrides;if(!W)return null;const Q={};for(const Se in W)Q[Se]=wt(A,W[Se]);return S(A,Q)}),f&&!l&&P.push(function(A){var Q,ce;const M=A.theme,W=(ce=(Q=M==null?void 0:M.components)==null?void 0:Q[f])==null?void 0:ce.variants;return W?eo(A,W):null}),w||P.push(Ae),Array.isArray(T[0])){const x=T.shift(),A=new Array(E.length).fill(""),M=new Array(P.length).fill("");let W;W=[...A,...x,...M],W.raw=[...A,...x.raw,...M],E.unshift(W)}const j=[...E,...T,...P],a=O(...j);return c.muiName&&(a.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(a.displayName=sa(f,d,c)),a};return O.withConfig&&(b.withConfig=O.withConfig),b}}function sa(e,t,r){return e?`${e}${dr(t||"")}`:`Styled(${ta(r)})`}function aa(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${to(t||"Root")}`),r}function ca(e){for(const t in e)return!1;return!0}function la(e){return typeof e=="string"&&e.charCodeAt(0)>96}function to(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function lr(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]=lr(i[u],s[u])}}}else r[o]===void 0&&(r[o]=e[o])}return r}function ua(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Tr(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}].`),ua(e,t,r)}function fa(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 _e(e){if(e.type)return e;if(e.charAt(0)==="#")return _e(fa(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().`:xt(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.`:xt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const da=e=>{const t=_e(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Je=(e,t)=>{try{return da(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Wt(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 ro(e){e=_e(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])),Wt({type:c,values:u})}function ur(e){e=_e(e);let t=e.type==="hsl"||e.type==="hsla"?_e(ro(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 yn(e,t){const r=ur(e),n=ur(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function no(e,t){return e=_e(e),t=Tr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Wt(e)}function yt(e,t,r){try{return no(e,t)}catch{return e}}function Gt(e,t){if(e=_e(e),t=Tr(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 Wt(e)}function F(e,t,r){try{return Gt(e,t)}catch{return e}}function Kt(e,t){if(e=_e(e),t=Tr(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 Wt(e)}function B(e,t,r){try{return Kt(e,t)}catch{return e}}function oo(e,t=.15){return ur(e)>.5?Gt(e,t):Kt(e,t)}function bt(e,t,r){try{return oo(e,t)}catch{return e}}const ma="exact-prop: ";function pa(e){return process.env.NODE_ENV==="production"?e:{...e,[ma]: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 _r=$.createContext(null);process.env.NODE_ENV!=="production"&&(_r.displayName="ThemeContext");function $r(){const e=$.useContext(_r);return process.env.NODE_ENV!=="production"&&$.useDebugValue(e),e}const ha=typeof Symbol=="function"&&Symbol.for,ga=ha?Symbol.for("mui.nested"):"__THEME_NESTED__";function ya(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
59
|
`))),r}return{...e,...t}}function At(e){const{children:t,theme:r}=e,n=$r();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=$.useMemo(()=>{const i=n===null?{...r}:
|
|
61
|
-
`));const s=Sn(n,o,r),c=Sn(n,i,r,!0),u=(n?s[n]:s).direction==="rtl";return X.jsx(At,{theme:c,children:X.jsx(Ne.Provider,{value:s,children:X.jsx(
|
|
60
|
+
`));const o=$.useMemo(()=>{const i=n===null?{...r}:ya(n,r);return i!=null&&(i[ga]=n!==null),i},[r,n]);return X.jsx(_r.Provider,{value:o,children:t})}process.env.NODE_ENV!=="production"&&(At.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"&&(At.propTypes=pa(At.propTypes));const ba="exact-prop: ";function Sa(e){return process.env.NODE_ENV==="production"?e:{...e,[ba]: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 io=$.createContext();function so({value:e,...t}){return X.jsx(io.Provider,{value:e??!0,...t})}process.env.NODE_ENV!=="production"&&(so.propTypes={children:N.PropTypes.node,value:N.PropTypes.bool});const va=()=>$.useContext(io)??!1,ao=$.createContext(void 0);function co({value:e,children:t}){return X.jsx(ao.Provider,{value:e,children:t})}process.env.NODE_ENV!=="production"&&(co.propTypes={children:N.PropTypes.node,value:N.PropTypes.object});function Ea(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?lr(o.defaultProps,n):!o.styleOverrides&&!o.variants?lr(o,n):n}function Ca({props:e,name:t}){const r=$.useContext(ao);return Ea({props:e,name:t,theme:{components:r}})}const bn={};function Sn(e,t,r,n=!1){return $.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 ot(e){const{children:t,theme:r,themeId:n}=e,o=Qn(bn),i=$r()||bn;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=Sn(n,o,r),c=Sn(n,i,r,!0),u=(n?s[n]:s).direction==="rtl";return X.jsx(At,{theme:c,children:X.jsx(Ne.Provider,{value:s,children:X.jsx(so,{value:u,children:X.jsx(co,{value:n?s[n].components:s.components,children:t})})})})}process.env.NODE_ENV!=="production"&&(ot.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"&&(ot.propTypes=Sa(ot.propTypes));const vn={theme:void 0};function wa(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(vn.theme=o.theme,i=Zn(e(vn)),t=i,r=o.theme),i}}const Or="mode",Ar="color-scheme",xa="data-color-scheme";function Ta(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:o=Or,colorSchemeStorageKey:i=Ar,attribute:s=xa,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
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
63
|
${c}.removeAttribute('${g}'.replace('%s', dark));`),f+=`
|
|
64
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() {
|
|
@@ -85,10 +85,10 @@ try {
|
|
|
85
85
|
if (colorScheme) {
|
|
86
86
|
${f}
|
|
87
87
|
}
|
|
88
|
-
} catch(e){}})();`}},"mui-color-scheme-init")}function En(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function
|
|
89
|
-
`)),Ge(q)},systemMode:ht}),[ve,ie,Pe,_,Xt,Ke,Ge,ht,Re.colorSchemeSelector]);let Rr=!0;(x||Z.cssVariables===!1||be&&(Q==null?void 0:Q.cssVarPrefix)===We)&&(Rr=!1);const Mr=X.jsxs($.Fragment,{children:[X.jsx(ot,{themeId:ut?t:void 0,theme:Re,children:O}),Rr&&X.jsx(
|
|
88
|
+
} catch(e){}})();`}},"mui-color-scheme-init")}function En(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function lo(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 _a(e){return lo(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function er(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 $a(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:i=Or,colorSchemeStorageKey:s=Ar,storageWindow:c=typeof window>"u"?void 0:window,noSsr:u=!1}=e,f=o.join(","),d=o.length>1,[p,g]=$.useState(()=>{const b=er(i,t),m=er(`${s}-light`,r),E=er(`${s}-dark`,n);return{mode:b,systemMode:En(b),lightColorScheme:m,darkColorScheme:E}}),[S,y]=$.useState(u||!d);$.useEffect(()=>{y(!0)},[]);const l=_a(p),w=$.useCallback(b=>{g(m=>{if(b===m.mode)return m;const E=b??t;try{localStorage.setItem(i,E)}catch{}return{...m,mode:E,systemMode:En(E)}})},[i,t]),C=$.useCallback(b=>{b?typeof b=="string"?b&&!f.includes(b)?console.error(`\`${b}\` does not exist in \`theme.colorSchemes\`.`):g(m=>{const E={...m};return lo(m,T=>{try{localStorage.setItem(`${s}-${T}`,b)}catch{}T==="light"&&(E.lightColorScheme=b),T==="dark"&&(E.darkColorScheme=b)}),E}):g(m=>{const E={...m},T=b.light===null?r:b.light,P=b.dark===null?n:b.dark;if(T)if(!f.includes(T))console.error(`\`${T}\` does not exist in \`theme.colorSchemes\`.`);else{E.lightColorScheme=T;try{localStorage.setItem(`${s}-light`,T)}catch{}}if(P)if(!f.includes(P))console.error(`\`${P}\` does not exist in \`theme.colorSchemes\`.`);else{E.darkColorScheme=P;try{localStorage.setItem(`${s}-dark`,P)}catch{}}return E}):g(m=>{try{localStorage.setItem(`${s}-light`,r),localStorage.setItem(`${s}-dark`,n)}catch{}return{...m,lightColorScheme:r,darkColorScheme:n}})},[f,s,r,n]),O=$.useCallback(b=>{p.mode==="system"&&g(m=>{const E=b!=null&&b.matches?"dark":"light";return m.systemMode===E?m:{...m,systemMode:E}})},[p.mode]),v=$.useRef(O);return v.current=O,$.useEffect(()=>{if(typeof window.matchMedia!="function"||!d)return;const b=(...E)=>v.current(...E),m=window.matchMedia("(prefers-color-scheme: dark)");return m.addListener(b),b(m),()=>{m.removeListener(b)}},[d]),$.useEffect(()=>{if(c&&d){const b=m=>{const E=m.newValue;typeof m.key=="string"&&m.key.startsWith(s)&&(!E||f.match(E))&&(m.key.endsWith("light")&&C({light:E}),m.key.endsWith("dark")&&C({dark:E})),m.key===i&&(!E||["light","dark","system"].includes(E))&&w(E||t)};return c.addEventListener("storage",b),()=>{c.removeEventListener("storage",b)}}},[C,w,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:w,setColorScheme:C}}const Oa="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Aa(e){const{themeId:t,theme:r={},modeStorageKey:n=Or,colorSchemeStorageKey:o=Ar,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=$.createContext(void 0);process.env.NODE_ENV!=="production"&&(f.displayName="ColorSchemeContext");const d=()=>$.useContext(f)||u,p={},g={};function S(C){var Ir,Dr,jr,Vr;const{children:O,theme:v,modeStorageKey:b=n,colorSchemeStorageKey:m=o,disableTransitionOnChange:E=i,storageWindow:T=typeof window>"u"?void 0:window,documentNode:P=typeof document>"u"?void 0:document,colorSchemeNode:j=typeof document>"u"?void 0:document.documentElement,disableNestedContext:a=!1,disableStyleSheetGeneration:x=!1,defaultMode:A="system",noSsr:M}=C,W=$.useRef(!1),Q=$r(),ce=$.useContext(f),be=!!ce&&!a,Se=$.useMemo(()=>v||(typeof r=="function"?r():r),[v]),ut=Se[t],Z=ut||Se,{colorSchemes:fe=p,components:ft=g,cssVarPrefix:We}=Z,dt=Object.keys(fe).filter(q=>!!fe[q]).join(","),ve=$.useMemo(()=>dt.split(","),[dt]),mt=typeof s=="string"?s:s.light,pt=typeof s=="string"?s:s.dark,qt=fe[mt]&&fe[pt]?A:((Dr=(Ir=fe[Z.defaultColorScheme])==null?void 0:Ir.palette)==null?void 0:Dr.mode)||((jr=Z.palette)==null?void 0:jr.mode),{mode:Ht,setMode:Ge,systemMode:ht,lightColorScheme:_,darkColorScheme:Pe,colorScheme:ke,setColorScheme:Ke}=$a({supportedColorSchemes:ve,defaultLightColorScheme:mt,defaultDarkColorScheme:pt,modeStorageKey:b,colorSchemeStorageKey:m,defaultMode:qt,storageWindow:T,noSsr:M});let Xt=Ht,ie=ke;be&&(Xt=ce.mode,ie=ce.colorScheme);const Re=$.useMemo(()=>{var He;const q=ie||Z.defaultColorScheme,ee=((He=Z.generateThemeVars)==null?void 0:He.call(Z))||Z.vars,re={...Z,components:ft,colorSchemes:fe,cssVarPrefix:We,vars:ee};if(typeof re.generateSpacing=="function"&&(re.spacing=re.generateSpacing()),q){const le=fe[q];le&&typeof le=="object"&&Object.keys(le).forEach(he=>{le[he]&&typeof le[he]=="object"?re[he]={...re[he],...le[he]}:re[he]=le[he]})}return c?c(re):re},[Z,ie,ft,fe,We]),qe=Z.colorSchemeSelector;$.useEffect(()=>{if(ie&&j&&qe&&qe!=="media"){const q=qe;let ee=qe;if(q==="class"&&(ee=".%s"),q==="data"&&(ee="[data-%s]"),q!=null&&q.startsWith("data-")&&!q.includes("%s")&&(ee=`[${q}="%s"]`),ee.startsWith("."))j.classList.remove(...ve.map(re=>ee.substring(1).replace("%s",re))),j.classList.add(ee.substring(1).replace("%s",ie));else{const re=ee.replace("%s",ie).match(/\[([^\]]+)\]/);if(re){const[He,le]=re[1].split("=");le||ve.forEach(he=>{j.removeAttribute(He.replace(ie,he))}),j.setAttribute(He,le?le.replace(/"|'/g,""):"")}else j.setAttribute(ee,ie)}}},[ie,qe,j,ve]),$.useEffect(()=>{let q;if(E&&W.current&&P){const ee=P.createElement("style");ee.appendChild(P.createTextNode(Oa)),P.head.appendChild(ee),window.getComputedStyle(P.body),q=setTimeout(()=>{P.head.removeChild(ee)},1)}return()=>{clearTimeout(q)}},[ie,E,P]),$.useEffect(()=>(W.current=!0,()=>{W.current=!1}),[]);const Co=$.useMemo(()=>({allColorSchemes:ve,colorScheme:ie,darkColorScheme:Pe,lightColorScheme:_,mode:Xt,setColorScheme:Ke,setMode:process.env.NODE_ENV==="production"?Ge:q=>{Re.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
|
+
`)),Ge(q)},systemMode:ht}),[ve,ie,Pe,_,Xt,Ke,Ge,ht,Re.colorSchemeSelector]);let Rr=!0;(x||Z.cssVariables===!1||be&&(Q==null?void 0:Q.cssVarPrefix)===We)&&(Rr=!1);const Mr=X.jsxs($.Fragment,{children:[X.jsx(ot,{themeId:ut?t:void 0,theme:Re,children:O}),Rr&&X.jsx(wr,{styles:((Vr=Re.generateStyleSheets)==null?void 0:Vr.call(Re))||[]})]});return be?Mr:X.jsx(f.Provider,{value:Co,children:Mr})}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:C=>Ta({colorSchemeStorageKey:o,defaultLightColorScheme:y,defaultDarkColorScheme:l,modeStorageKey:n,...C})}}function Na(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 Cn=(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])})},Pa=(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 tr(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},s={};return Pa(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}),Cn(i,c,`var(${d})`,f),Cn(s,c,`var(${d}, ${p})`,f)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Ra(e,t={}){const{getSelector:r=w,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:c="light",...u}=e,{vars:f,css:d,varsWithDefaults:p}=tr(u,t);let g=p;const S={},{[c]:y,...l}=i;if(Object.entries(l||{}).forEach(([v,b])=>{const{vars:m,css:E,varsWithDefaults:T}=tr(b,t);g=Oe(g,T),S[v]={css:E,vars:m}}),y){const{css:v,vars:b,varsWithDefaults:m}=tr(y,t);g=Oe(g,m),S[c]={css:v,vars:b}}function w(v,b){var E,T;let m=o;if(o==="class"&&(m=".%s"),o==="data"&&(m="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(m=`[${o}="%s"]`),v){if(m==="media")return e.defaultColorScheme===v?":root":{[`@media (prefers-color-scheme: ${((T=(E=i[v])==null?void 0:E.palette)==null?void 0:T.mode)||v})`]:{":root":b}};if(m)return e.defaultColorScheme===v?`:root, ${m.replace("%s",String(v))}`:m.replace("%s",String(v))}return":root"}return{vars:g,generateThemeVars:()=>{let v={...f};return Object.entries(S).forEach(([,{vars:b}])=>{v=Oe(v,b)}),v},generateStyleSheets:()=>{var P,j;const v=[],b=e.defaultColorScheme||"light";function m(a,x){Object.keys(x).length&&v.push(typeof a=="string"?{[a]:{...x}}:a)}m(r(void 0,{...d}),d);const{[b]:E,...T}=S;if(E){const{css:a}=E,x=(j=(P=i[b])==null?void 0:P.palette)==null?void 0:j.mode,A=!n&&x?{colorScheme:x,...a}:{...a};m(r(b,{...A}),A)}return Object.entries(T).forEach(([a,{css:x}])=>{var W,Q;const A=(Q=(W=i[a])==null?void 0:W.palette)==null?void 0:Q.mode,M=!n&&A?{colorScheme:A,...x}:{...x};m(r(a,{...M}),M)}),v}}}function Ma(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 Ue(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 Ce(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 uo(e){if($.isValidElement(e)||!Ce(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=uo(e[r])}),t}function xe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ce(e)&&Ce(t)&&Object.keys(t).forEach(o=>{$.isValidElement(t[o])?n[o]=t[o]:Ce(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ce(e[o])?n[o]=xe(e[o],t[o],r):r.clone?n[o]=Ce(t[o])?uo(t[o]):t[o]:n[o]=t[o]}),n}const it={black:"#000",white:"#fff"},Ia={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"},Me={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"},Ie={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"},Qe={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"},De={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"},je={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"},Ve={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 fo(){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:it.white,default:it.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 Da=fo();function mo(){return{text:{primary:it.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:it.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 wn=mo();function xn(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=Kt(e.main,o):t==="dark"&&(e.dark=Gt(e.main,i)))}function ja(e="light"){return e==="dark"?{main:De[200],light:De[50],dark:De[400]}:{main:De[700],light:De[400],dark:De[800]}}function Va(e="light"){return e==="dark"?{main:Me[200],light:Me[50],dark:Me[400]}:{main:Me[500],light:Me[300],dark:Me[700]}}function La(e="light"){return e==="dark"?{main:Ie[500],light:Ie[300],dark:Ie[700]}:{main:Ie[700],light:Ie[400],dark:Ie[800]}}function Fa(e="light"){return e==="dark"?{main:je[400],light:je[300],dark:je[700]}:{main:je[700],light:je[500],dark:je[900]}}function Ba(e="light"){return e==="dark"?{main:Ve[400],light:Ve[300],dark:Ve[700]}:{main:Ve[800],light:Ve[500],dark:Ve[900]}}function za(e="light"){return e==="dark"?{main:Qe[400],light:Qe[300],dark:Qe[700]}:{main:"#ed6c02",light:Qe[500],dark:Qe[900]}}function Nr(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||ja(t),s=e.secondary||Va(t),c=e.error||La(t),u=e.info||Fa(t),f=e.success||Ba(t),d=e.warning||za(t);function p(l){const w=yn(l,wn.text.primary)>=r?wn.text.primary:Da.text.primary;if(process.env.NODE_ENV!=="production"){const C=yn(l,w);C<3&&console.error([`MUI: The contrast ratio of ${C}:1 for ${w} 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
90
|
`))}return w}const g=({color:l,name:w,mainShade:C=500,lightShade:O=300,darkShade:v=700})=>{if(l={...l},!l.main&&l[C]&&(l.main=l[C]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
91
|
-
The color object needs to have a \`main\` property or a \`${C}\` property.`:
|
|
91
|
+
The color object needs to have a \`main\` property or a \`${C}\` property.`:Ue(11,w?` (${w})`:"",C));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
92
92
|
\`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
|
|
93
93
|
|
|
94
94
|
Did you intend to use one of the following approaches?
|
|
@@ -101,14 +101,14 @@ const theme1 = createTheme({ palette: {
|
|
|
101
101
|
|
|
102
102
|
const theme2 = createTheme({ palette: {
|
|
103
103
|
primary: { main: green[500] },
|
|
104
|
-
} });`:
|
|
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:On(s)} ${c} ${typeof u=="string"?u:On(u)}`).join(",")},...e,easing:t,duration:r}}const
|
|
104
|
+
} });`:Ue(12,w?` (${w})`:"",JSON.stringify(l.main)));return xn(l,"light",O,n),xn(l,"dark",v,n),l.contrastText||(l.contrastText=p(l.main)),l};let S;return t==="light"?S=fo():t==="dark"&&(S=mo()),process.env.NODE_ENV!=="production"&&(S||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),xe({common:{...it},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:Ia,contrastThreshold:r,getContrastText:p,augmentColor:g,tonalOffset:n,...S},o)}function Ua(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 Tn=e=>e,Ya=()=>{let e=Tn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Tn}}},Wa=Ya(),Ga={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 Pr(e,t,r="Mui"){const n=Ga[t];return n?`${r}-${n}`:`${Wa.generate(e)}-${t}`}function Ka(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function qa(e){return Math.round(e*1e5)/1e5}const _n={textTransform:"uppercase"},$n='"Roboto", "Helvetica", "Arial", sans-serif';function po(e,t){const{fontFamily:r=$n,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||(w=>`${w/u*g}rem`),y=(w,C,O,v,b)=>({fontFamily:r,fontWeight:w,fontSize:S(C),lineHeight:O,...r===$n?{letterSpacing:`${qa(v/C)}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,_n),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,_n),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xe({htmlFontSize:u,pxToRem:S,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:c,...l},p,{clone:!1})}const Ha=.2,Xa=.14,Qa=.12;function z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ha})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Xa})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Qa})`].join(",")}const Ja=["none",z(0,2,1,-1,0,1,1,0,0,1,3,0),z(0,3,1,-2,0,2,2,0,0,1,5,0),z(0,3,3,-2,0,3,4,0,0,1,8,0),z(0,2,4,-1,0,4,5,0,0,1,10,0),z(0,3,5,-1,0,5,8,0,0,1,14,0),z(0,3,5,-1,0,6,10,0,0,1,18,0),z(0,4,5,-2,0,7,10,1,0,2,16,1),z(0,5,5,-3,0,8,10,1,0,3,14,2),z(0,5,6,-3,0,9,12,1,0,3,16,2),z(0,6,6,-3,0,10,14,1,0,4,18,3),z(0,6,7,-4,0,11,15,1,0,4,20,3),z(0,7,8,-4,0,12,17,2,0,5,22,4),z(0,7,8,-4,0,13,19,2,0,5,24,4),z(0,7,9,-4,0,14,21,2,0,5,26,4),z(0,8,9,-5,0,15,22,2,0,6,28,5),z(0,8,10,-5,0,16,24,2,0,6,30,5),z(0,8,11,-5,0,17,26,2,0,6,32,5),z(0,9,11,-5,0,18,28,2,0,7,34,6),z(0,9,12,-6,0,19,29,2,0,7,36,6),z(0,10,13,-6,0,20,31,3,0,8,38,7),z(0,10,13,-6,0,21,33,3,0,8,40,7),z(0,10,14,-6,0,22,35,3,0,8,42,7),z(0,11,14,-7,0,23,36,3,0,9,44,8),z(0,11,15,-7,0,24,38,3,0,9,46,8)],Za={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)"},ec={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function On(e){return`${Math.round(e)}ms`}function tc(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function rc(e){const t={...Za,...e.easing},r={...ec,...e.duration};return{getAutoHeightDuration:tc,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:On(s)} ${c} ${typeof u=="string"?u:On(u)}`).join(",")},...e,easing:t,duration:r}}const nc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function oc(e){return Ce(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function ho(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];!oc(c)||s.startsWith("unstable_")?delete n[s]:Ce(c)&&(n[s]={...c},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
106
106
|
|
|
107
107
|
const theme = ${JSON.stringify(t,null,2)};
|
|
108
108
|
|
|
109
109
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
110
110
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
111
111
|
|
|
112
|
-
export default theme;`}function fr(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.":
|
|
113
|
-
`))}l[C]={}}}};Object.keys(g.components).forEach(l=>{const w=g.components[l].styleOverrides;w&&l.startsWith("Mui")&&y(w,l)})}return g.unstable_sxConfig={...ct,...f==null?void 0:f.unstable_sxConfig},g.unstable_sx=function(y){return Ae({sx:y,theme:this})},g.toRuntimeSource=
|
|
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 dc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const de=e=>{try{return e()}catch{}},mc=(e="mui")=>Pa(e);function rr(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=ac({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=fr({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...So(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||vo(o)},s}function pc(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=mc(i),{[p]:S,light:y,dark:l,...w}=r,C={...w};let O=S;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(O=!0),!O)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:Be(21,p));const v=rr(C,O,f,p);y&&!C.light&&rr(C,y,void 0,"light"),l&&!C.dark&&rr(C,l,void 0,"dark");let b={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:u,getCssVar:g,colorSchemes:C,font:{...Ya(v.typography),...v.font},spacing:dc(f.spacing)};Object.keys(b.colorSchemes).forEach(j=>{const a=b.colorSchemes[j].palette,x=A=>{const M=A.split("-"),W=M[1],Q=M[2];return g(A,a[W][Q])};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")),fc(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){h(a.Alert,"errorColor",F(a.error.light,.6)),h(a.Alert,"infoColor",F(a.info.light,.6)),h(a.Alert,"successColor",F(a.success.light,.6)),h(a.Alert,"warningColor",F(a.warning.light,.6)),h(a.Alert,"errorFilledBg",x("palette-error-main")),h(a.Alert,"infoFilledBg",x("palette-info-main")),h(a.Alert,"successFilledBg",x("palette-success-main")),h(a.Alert,"warningFilledBg",x("palette-warning-main")),h(a.Alert,"errorFilledColor",de(()=>a.getContrastText(a.error.main))),h(a.Alert,"infoFilledColor",de(()=>a.getContrastText(a.info.main))),h(a.Alert,"successFilledColor",de(()=>a.getContrastText(a.success.main))),h(a.Alert,"warningFilledColor",de(()=>a.getContrastText(a.warning.main))),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",x("palette-error-main")),h(a.Alert,"infoIconColor",x("palette-info-main")),h(a.Alert,"successIconColor",x("palette-success-main")),h(a.Alert,"warningIconColor",x("palette-warning-main")),h(a.AppBar,"defaultBg",x("palette-grey-100")),h(a.Avatar,"defaultBg",x("palette-grey-400")),h(a.Button,"inheritContainedBg",x("palette-grey-300")),h(a.Button,"inheritContainedHoverBg",x("palette-grey-A100")),h(a.Chip,"defaultBorder",x("palette-grey-400")),h(a.Chip,"defaultAvatarColor",x("palette-grey-700")),h(a.Chip,"defaultIconColor",x("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",B(a.primary.main,.62)),h(a.LinearProgress,"secondaryBg",B(a.secondary.main,.62)),h(a.LinearProgress,"errorBg",B(a.error.main,.62)),h(a.LinearProgress,"infoBg",B(a.info.main,.62)),h(a.LinearProgress,"successBg",B(a.success.main,.62)),h(a.LinearProgress,"warningBg",B(a.warning.main,.62)),h(a.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),h(a.Slider,"primaryTrack",B(a.primary.main,.62)),h(a.Slider,"secondaryTrack",B(a.secondary.main,.62)),h(a.Slider,"errorTrack",B(a.error.main,.62)),h(a.Slider,"infoTrack",B(a.info.main,.62)),h(a.Slider,"successTrack",B(a.success.main,.62)),h(a.Slider,"warningTrack",B(a.warning.main,.62));const A=yt(a.background.default,.8);h(a.SnackbarContent,"bg",A),h(a.SnackbarContent,"color",de(()=>a.getContrastText(A))),h(a.SpeedDialAction,"fabHoverBg",yt(a.background.paper,.15)),h(a.StepConnector,"border",x("palette-grey-400")),h(a.StepContent,"border",x("palette-grey-400")),h(a.Switch,"defaultColor",x("palette-common-white")),h(a.Switch,"defaultDisabledColor",x("palette-grey-100")),h(a.Switch,"primaryDisabledColor",B(a.primary.main,.62)),h(a.Switch,"secondaryDisabledColor",B(a.secondary.main,.62)),h(a.Switch,"errorDisabledColor",B(a.error.main,.62)),h(a.Switch,"infoDisabledColor",B(a.info.main,.62)),h(a.Switch,"successDisabledColor",B(a.success.main,.62)),h(a.Switch,"warningDisabledColor",B(a.warning.main,.62)),h(a.TableCell,"border",B(gt(a.divider,1),.88)),h(a.Tooltip,"bg",gt(a.grey[700],.92))}if(a.mode==="dark"){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",x("palette-error-dark")),h(a.Alert,"infoFilledBg",x("palette-info-dark")),h(a.Alert,"successFilledBg",x("palette-success-dark")),h(a.Alert,"warningFilledBg",x("palette-warning-dark")),h(a.Alert,"errorFilledColor",de(()=>a.getContrastText(a.error.dark))),h(a.Alert,"infoFilledColor",de(()=>a.getContrastText(a.info.dark))),h(a.Alert,"successFilledColor",de(()=>a.getContrastText(a.success.dark))),h(a.Alert,"warningFilledColor",de(()=>a.getContrastText(a.warning.dark))),h(a.Alert,"errorStandardBg",F(a.error.light,.9)),h(a.Alert,"infoStandardBg",F(a.info.light,.9)),h(a.Alert,"successStandardBg",F(a.success.light,.9)),h(a.Alert,"warningStandardBg",F(a.warning.light,.9)),h(a.Alert,"errorIconColor",x("palette-error-main")),h(a.Alert,"infoIconColor",x("palette-info-main")),h(a.Alert,"successIconColor",x("palette-success-main")),h(a.Alert,"warningIconColor",x("palette-warning-main")),h(a.AppBar,"defaultBg",x("palette-grey-900")),h(a.AppBar,"darkBg",x("palette-background-paper")),h(a.AppBar,"darkColor",x("palette-text-primary")),h(a.Avatar,"defaultBg",x("palette-grey-600")),h(a.Button,"inheritContainedBg",x("palette-grey-800")),h(a.Button,"inheritContainedHoverBg",x("palette-grey-700")),h(a.Chip,"defaultBorder",x("palette-grey-700")),h(a.Chip,"defaultAvatarColor",x("palette-grey-300")),h(a.Chip,"defaultIconColor",x("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",F(a.primary.main,.5)),h(a.LinearProgress,"secondaryBg",F(a.secondary.main,.5)),h(a.LinearProgress,"errorBg",F(a.error.main,.5)),h(a.LinearProgress,"infoBg",F(a.info.main,.5)),h(a.LinearProgress,"successBg",F(a.success.main,.5)),h(a.LinearProgress,"warningBg",F(a.warning.main,.5)),h(a.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),h(a.Slider,"primaryTrack",F(a.primary.main,.5)),h(a.Slider,"secondaryTrack",F(a.secondary.main,.5)),h(a.Slider,"errorTrack",F(a.error.main,.5)),h(a.Slider,"infoTrack",F(a.info.main,.5)),h(a.Slider,"successTrack",F(a.success.main,.5)),h(a.Slider,"warningTrack",F(a.warning.main,.5));const A=yt(a.background.default,.98);h(a.SnackbarContent,"bg",A),h(a.SnackbarContent,"color",de(()=>a.getContrastText(A))),h(a.SpeedDialAction,"fabHoverBg",yt(a.background.paper,.15)),h(a.StepConnector,"border",x("palette-grey-600")),h(a.StepContent,"border",x("palette-grey-600")),h(a.Switch,"defaultColor",x("palette-grey-300")),h(a.Switch,"defaultDisabledColor",x("palette-grey-600")),h(a.Switch,"primaryDisabledColor",F(a.primary.main,.55)),h(a.Switch,"secondaryDisabledColor",F(a.secondary.main,.55)),h(a.Switch,"errorDisabledColor",F(a.error.main,.55)),h(a.Switch,"infoDisabledColor",F(a.info.main,.55)),h(a.Switch,"successDisabledColor",F(a.success.main,.55)),h(a.Switch,"warningDisabledColor",F(a.warning.main,.55)),h(a.TableCell,"border",F(gt(a.divider,1),.68)),h(a.Tooltip,"bg",gt(a.grey[700],.92))}ge(a.background,"default"),ge(a.background,"paper"),ge(a.common,"background"),ge(a.common,"onBackground"),ge(a,"divider"),Object.keys(a).forEach(A=>{const M=a[A];A!=="tonalOffset"&&M&&typeof M=="object"&&(M.main&&h(a[A],"mainChannel",Je(Ze(M.main))),M.light&&h(a[A],"lightChannel",Je(Ze(M.light))),M.dark&&h(a[A],"darkChannel",Je(Ze(M.dark))),M.contrastText&&h(a[A],"contrastTextChannel",Je(Ze(M.contrastText))),A==="text"&&(ge(a[A],"primary"),ge(a[A],"secondary")),A==="action"&&(M.active&&ge(a[A],"active"),M.selected&&ge(a[A],"selected")))})}),b=t.reduce((j,a)=>xe(j,a),b);const m={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:uc(b)},{vars:E,generateThemeVars:T,generateStyleSheets:P}=Ma(b,m);return b.vars=E,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([j,a])=>{b[j]=a}),b.generateThemeVars=T,b.generateStyleSheets=P,b.generateSpacing=function(){return to(f.spacing,pr(this))},b.getColorSchemeSelector=Ia(c),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=s,b.unstable_sxConfig={...ct,...f==null?void 0:f.unstable_sxConfig},b.unstable_sx=function(a){return Ae({sx:a,theme:this})},b.toRuntimeSource=yo,b}function An(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Nr({...r===!0?{}:r.palette,mode:t})})}function kr(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 fr(e,...t);let d=r;"palette"in e||f[c]&&(f[c]!==!0?d=f[c].palette:c==="dark"&&(d={mode:"dark"}));const p=fr({...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},An(p,"dark",f.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:p.palette},An(p,"light",f.light)),p}return!r&&!("light"in f)&&c==="light"&&(f.light=!0),pc({...s,colorSchemes:f,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const Eo=kr(),Te="$$material",hc=la({themeId:Te,defaultTheme:Eo,rootShouldForwardProp:Dn});process.env.NODE_ENV!=="production"&&(N.PropTypes.node,N.PropTypes.object.isRequired);function gc(e){return wa(e)}function yc(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Pr(e,o,r)}),n}const bc=xa;function Nn({theme:e,...t}){const r=Te in e?e[Te]:void 0;return X.jsx(ot,{...t,themeId:r?Te:void 0,theme:r||e})}const St={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:Sc,useColorScheme:Cc,getInitColorSchemeScript:wc}=Na({themeId:Te,theme:()=>kr({cssVariables:!0}),colorSchemeStorageKey:St.colorSchemeStorageKey,modeStorageKey:St.modeStorageKey,defaultColorScheme:{light:St.defaultLightColorScheme,dark:St.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:go(e.palette,e.typography)};return t.unstable_sx=function(n){return Ae({sx:n,theme:this})},t}}),vc=Sc;function Ec({theme:e,...t}){return typeof e=="function"?X.jsx(Nn,{theme:e,...t}):"colorSchemes"in(Te in e?e[Te]:e)?X.jsx(vc,{theme:e,...t}):X.jsx(Nn,{theme:e,...t})}exports.GlobalStyles=xr;exports.THEME_ID=Te;exports.ThemeProvider=Ec;exports.alpha=Rn;exports.capitalize=No;exports.clsx=To;exports.composeClasses=_o;exports.createTheme=Tr;exports.createTheme$1=kr;exports.darken=Pt;exports.deepmerge=xe;exports.defaultSxConfig=ct;exports.defaultTheme=Eo;exports.emphasize=Mn;exports.formatMuiErrorMessage=Be;exports.generateUtilityClass=Pr;exports.generateUtilityClasses=yc;exports.getOverlayAlpha=bo;exports.isPlainObject=Ee;exports.keyframes=As;exports.lighten=kt;exports.memoTheme=bc;exports.rootShouldForwardProp=Dn;exports.slotShouldForwardProp=In;exports.styled=hc;exports.useDefaultProps=gc;exports.useRtl=Ea;exports.useTheme=ro;
|
|
112
|
+
export default theme;`}function fr(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.":Ue(20));const d=Nr(i),p=xr(e);let g=xe(p,{mixins:Ka(p.breakpoints,n),palette:d,shadows:Ja.slice(),typography:po(d,c),transitions:rc(s),zIndex:{...nc}});if(g=xe(g,f),g=t.reduce((S,y)=>xe(S,y),g),process.env.NODE_ENV!=="production"){const S=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],y=(l,w)=>{let C;for(C in l){const O=l[C];if(S.includes(C)&&Object.keys(O).length>0){if(process.env.NODE_ENV!=="production"){const v=Pr("",C);console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${C}\` internal state.`,"You can not override it like this: ",JSON.stringify(l,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:O}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
113
|
+
`))}l[C]={}}}};Object.keys(g.components).forEach(l=>{const w=g.components[l].styleOverrides;w&&l.startsWith("Mui")&&y(w,l)})}return g.unstable_sxConfig={...ct,...f==null?void 0:f.unstable_sxConfig},g.unstable_sx=function(y){return Ae({sx:y,theme:this})},g.toRuntimeSource=ho,g}function go(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 ic=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=go(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function yo(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function bo(e){return e==="dark"?ic:[]}function sc(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=Nr(t);return{palette:i,opacity:{...yo(i.mode),...r},overlays:n||bo(i.mode),...o}}function ac(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 cc=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],lc=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 cc(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 uc(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function h(e,t,r){!e[t]&&r&&(e[t]=r)}function Ze(e){return typeof e!="string"||!e.startsWith("hsl")?e:ro(e)}function ge(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Je(Ze(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 fc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const de=e=>{try{return e()}catch{}},dc=(e="mui")=>Na(e);function rr(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=sc({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=fr({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...yo(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||bo(o)},s}function mc(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=ac,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=dc(i),{[p]:S,light:y,dark:l,...w}=r,C={...w};let O=S;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(O=!0),!O)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:Ue(21,p));const v=rr(C,O,f,p);y&&!C.light&&rr(C,y,void 0,"light"),l&&!C.dark&&rr(C,l,void 0,"dark");let b={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:u,getCssVar:g,colorSchemes:C,font:{...Ua(v.typography),...v.font},spacing:fc(f.spacing)};Object.keys(b.colorSchemes).forEach(j=>{const a=b.colorSchemes[j].palette,x=A=>{const M=A.split("-"),W=M[1],Q=M[2];return g(A,a[W][Q])};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")),uc(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){h(a.Alert,"errorColor",F(a.error.light,.6)),h(a.Alert,"infoColor",F(a.info.light,.6)),h(a.Alert,"successColor",F(a.success.light,.6)),h(a.Alert,"warningColor",F(a.warning.light,.6)),h(a.Alert,"errorFilledBg",x("palette-error-main")),h(a.Alert,"infoFilledBg",x("palette-info-main")),h(a.Alert,"successFilledBg",x("palette-success-main")),h(a.Alert,"warningFilledBg",x("palette-warning-main")),h(a.Alert,"errorFilledColor",de(()=>a.getContrastText(a.error.main))),h(a.Alert,"infoFilledColor",de(()=>a.getContrastText(a.info.main))),h(a.Alert,"successFilledColor",de(()=>a.getContrastText(a.success.main))),h(a.Alert,"warningFilledColor",de(()=>a.getContrastText(a.warning.main))),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",x("palette-error-main")),h(a.Alert,"infoIconColor",x("palette-info-main")),h(a.Alert,"successIconColor",x("palette-success-main")),h(a.Alert,"warningIconColor",x("palette-warning-main")),h(a.AppBar,"defaultBg",x("palette-grey-100")),h(a.Avatar,"defaultBg",x("palette-grey-400")),h(a.Button,"inheritContainedBg",x("palette-grey-300")),h(a.Button,"inheritContainedHoverBg",x("palette-grey-A100")),h(a.Chip,"defaultBorder",x("palette-grey-400")),h(a.Chip,"defaultAvatarColor",x("palette-grey-700")),h(a.Chip,"defaultIconColor",x("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",B(a.primary.main,.62)),h(a.LinearProgress,"secondaryBg",B(a.secondary.main,.62)),h(a.LinearProgress,"errorBg",B(a.error.main,.62)),h(a.LinearProgress,"infoBg",B(a.info.main,.62)),h(a.LinearProgress,"successBg",B(a.success.main,.62)),h(a.LinearProgress,"warningBg",B(a.warning.main,.62)),h(a.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),h(a.Slider,"primaryTrack",B(a.primary.main,.62)),h(a.Slider,"secondaryTrack",B(a.secondary.main,.62)),h(a.Slider,"errorTrack",B(a.error.main,.62)),h(a.Slider,"infoTrack",B(a.info.main,.62)),h(a.Slider,"successTrack",B(a.success.main,.62)),h(a.Slider,"warningTrack",B(a.warning.main,.62));const A=bt(a.background.default,.8);h(a.SnackbarContent,"bg",A),h(a.SnackbarContent,"color",de(()=>a.getContrastText(A))),h(a.SpeedDialAction,"fabHoverBg",bt(a.background.paper,.15)),h(a.StepConnector,"border",x("palette-grey-400")),h(a.StepContent,"border",x("palette-grey-400")),h(a.Switch,"defaultColor",x("palette-common-white")),h(a.Switch,"defaultDisabledColor",x("palette-grey-100")),h(a.Switch,"primaryDisabledColor",B(a.primary.main,.62)),h(a.Switch,"secondaryDisabledColor",B(a.secondary.main,.62)),h(a.Switch,"errorDisabledColor",B(a.error.main,.62)),h(a.Switch,"infoDisabledColor",B(a.info.main,.62)),h(a.Switch,"successDisabledColor",B(a.success.main,.62)),h(a.Switch,"warningDisabledColor",B(a.warning.main,.62)),h(a.TableCell,"border",B(yt(a.divider,1),.88)),h(a.Tooltip,"bg",yt(a.grey[700],.92))}if(a.mode==="dark"){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",x("palette-error-dark")),h(a.Alert,"infoFilledBg",x("palette-info-dark")),h(a.Alert,"successFilledBg",x("palette-success-dark")),h(a.Alert,"warningFilledBg",x("palette-warning-dark")),h(a.Alert,"errorFilledColor",de(()=>a.getContrastText(a.error.dark))),h(a.Alert,"infoFilledColor",de(()=>a.getContrastText(a.info.dark))),h(a.Alert,"successFilledColor",de(()=>a.getContrastText(a.success.dark))),h(a.Alert,"warningFilledColor",de(()=>a.getContrastText(a.warning.dark))),h(a.Alert,"errorStandardBg",F(a.error.light,.9)),h(a.Alert,"infoStandardBg",F(a.info.light,.9)),h(a.Alert,"successStandardBg",F(a.success.light,.9)),h(a.Alert,"warningStandardBg",F(a.warning.light,.9)),h(a.Alert,"errorIconColor",x("palette-error-main")),h(a.Alert,"infoIconColor",x("palette-info-main")),h(a.Alert,"successIconColor",x("palette-success-main")),h(a.Alert,"warningIconColor",x("palette-warning-main")),h(a.AppBar,"defaultBg",x("palette-grey-900")),h(a.AppBar,"darkBg",x("palette-background-paper")),h(a.AppBar,"darkColor",x("palette-text-primary")),h(a.Avatar,"defaultBg",x("palette-grey-600")),h(a.Button,"inheritContainedBg",x("palette-grey-800")),h(a.Button,"inheritContainedHoverBg",x("palette-grey-700")),h(a.Chip,"defaultBorder",x("palette-grey-700")),h(a.Chip,"defaultAvatarColor",x("palette-grey-300")),h(a.Chip,"defaultIconColor",x("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",F(a.primary.main,.5)),h(a.LinearProgress,"secondaryBg",F(a.secondary.main,.5)),h(a.LinearProgress,"errorBg",F(a.error.main,.5)),h(a.LinearProgress,"infoBg",F(a.info.main,.5)),h(a.LinearProgress,"successBg",F(a.success.main,.5)),h(a.LinearProgress,"warningBg",F(a.warning.main,.5)),h(a.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),h(a.Slider,"primaryTrack",F(a.primary.main,.5)),h(a.Slider,"secondaryTrack",F(a.secondary.main,.5)),h(a.Slider,"errorTrack",F(a.error.main,.5)),h(a.Slider,"infoTrack",F(a.info.main,.5)),h(a.Slider,"successTrack",F(a.success.main,.5)),h(a.Slider,"warningTrack",F(a.warning.main,.5));const A=bt(a.background.default,.98);h(a.SnackbarContent,"bg",A),h(a.SnackbarContent,"color",de(()=>a.getContrastText(A))),h(a.SpeedDialAction,"fabHoverBg",bt(a.background.paper,.15)),h(a.StepConnector,"border",x("palette-grey-600")),h(a.StepContent,"border",x("palette-grey-600")),h(a.Switch,"defaultColor",x("palette-grey-300")),h(a.Switch,"defaultDisabledColor",x("palette-grey-600")),h(a.Switch,"primaryDisabledColor",F(a.primary.main,.55)),h(a.Switch,"secondaryDisabledColor",F(a.secondary.main,.55)),h(a.Switch,"errorDisabledColor",F(a.error.main,.55)),h(a.Switch,"infoDisabledColor",F(a.info.main,.55)),h(a.Switch,"successDisabledColor",F(a.success.main,.55)),h(a.Switch,"warningDisabledColor",F(a.warning.main,.55)),h(a.TableCell,"border",F(yt(a.divider,1),.68)),h(a.Tooltip,"bg",yt(a.grey[700],.92))}ge(a.background,"default"),ge(a.background,"paper"),ge(a.common,"background"),ge(a.common,"onBackground"),ge(a,"divider"),Object.keys(a).forEach(A=>{const M=a[A];A!=="tonalOffset"&&M&&typeof M=="object"&&(M.main&&h(a[A],"mainChannel",Je(Ze(M.main))),M.light&&h(a[A],"lightChannel",Je(Ze(M.light))),M.dark&&h(a[A],"darkChannel",Je(Ze(M.dark))),M.contrastText&&h(a[A],"contrastTextChannel",Je(Ze(M.contrastText))),A==="text"&&(ge(a[A],"primary"),ge(a[A],"secondary")),A==="action"&&(M.active&&ge(a[A],"active"),M.selected&&ge(a[A],"selected")))})}),b=t.reduce((j,a)=>xe(j,a),b);const m={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:lc(b)},{vars:E,generateThemeVars:T,generateStyleSheets:P}=Ra(b,m);return b.vars=E,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([j,a])=>{b[j]=a}),b.generateThemeVars=T,b.generateStyleSheets=P,b.generateSpacing=function(){return Xn(f.spacing,mr(this))},b.getColorSchemeSelector=Ma(c),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=s,b.unstable_sxConfig={...ct,...f==null?void 0:f.unstable_sxConfig},b.unstable_sx=function(a){return Ae({sx:a,theme:this})},b.toRuntimeSource=ho,b}function An(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Nr({...r===!0?{}:r.palette,mode:t})})}function kr(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 fr(e,...t);let d=r;"palette"in e||f[c]&&(f[c]!==!0?d=f[c].palette:c==="dark"&&(d={mode:"dark"}));const p=fr({...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},An(p,"dark",f.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:p.palette},An(p,"light",f.light)),p}return!r&&!("light"in f)&&c==="light"&&(f.light=!0),mc({...s,colorSchemes:f,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const So=kr(),Te="$$material";function vo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Eo=e=>vo(e)&&e!=="classes",pc=ia({themeId:Te,defaultTheme:So,rootShouldForwardProp:Eo});process.env.NODE_ENV!=="production"&&(N.PropTypes.node,N.PropTypes.object.isRequired);function hc(e){return Ca(e)}const gc=wa;function yc(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ue(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bc(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Pr(e,o,r)}),n}function Nn({theme:e,...t}){const r=Te in e?e[Te]:void 0;return X.jsx(ot,{...t,themeId:r?Te:void 0,theme:r||e})}const St={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:Sc,useColorScheme:Cc,getInitColorSchemeScript:wc}=Aa({themeId:Te,theme:()=>kr({cssVariables:!0}),colorSchemeStorageKey:St.colorSchemeStorageKey,modeStorageKey:St.modeStorageKey,defaultColorScheme:{light:St.defaultLightColorScheme,dark:St.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:po(e.palette,e.typography)};return t.unstable_sx=function(n){return Ae({sx:n,theme:this})},t}}),vc=Sc;function Ec({theme:e,...t}){return typeof e=="function"?X.jsx(Nn,{theme:e,...t}):"colorSchemes"in(Te in e?e[Te]:e)?X.jsx(vc,{theme:e,...t}):X.jsx(Nn,{theme:e,...t})}exports.GlobalStyles=wr;exports.THEME_ID=Te;exports.ThemeProvider=Ec;exports.alpha=no;exports.capitalize=yc;exports.clsx=To;exports.composeClasses=_o;exports.createTheme=xr;exports.createTheme$1=kr;exports.darken=Gt;exports.deepmerge=xe;exports.defaultSxConfig=ct;exports.defaultTheme=So;exports.emphasize=oo;exports.formatMuiErrorMessage=Ue;exports.generateUtilityClass=Pr;exports.generateUtilityClasses=bc;exports.getOverlayAlpha=go;exports.isPlainObject=Ee;exports.keyframes=Ts;exports.lighten=Kt;exports.memoTheme=gc;exports.rootShouldForwardProp=Eo;exports.slotShouldForwardProp=vo;exports.styled=pc;exports.useDefaultProps=hc;exports.useRtl=va;exports.useTheme=Qn;
|