{"version":3,"file":"GlobalStyles.mjs","sources":["../../../../../../../../node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Global } from '@emotion/react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction isEmpty(obj) {\n  return obj === undefined || obj === null || Object.keys(obj).length === 0;\n}\nexport default function GlobalStyles(props) {\n  const {\n    styles,\n    defaultTheme = {}\n  } = props;\n  const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles;\n  return /*#__PURE__*/_jsx(Global, {\n    styles: globalStyles\n  });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes = {\n  defaultTheme: PropTypes.object,\n  styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])\n} : void 0;"],"names":["isEmpty","GlobalStyles","_jsx"],"mappings":";;;;AAMA,SAASA,SAAO,CAAC,GAAG,EAAE;AACtB,EAAE,OAAO,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC;AAC3E;AACe,SAASC,cAAY,CAAC,KAAK,EAAE;AAC5C,EAAE,MAAM;AACR,IAAI,MAAM;AACV,IAAI,YAAY,GAAG;AACnB,GAAG,GAAG,KAAK;AACX,EAAE,MAAM,YAAY,GAAG,OAAO,MAAM,KAAK,UAAU,GAAG,UAAU,IAAI,MAAM,CAACD,SAAO,CAAC,UAAU,CAAC,GAAG,YAAY,GAAG,UAAU,CAAC,GAAG,MAAM;AACpI,EAAE,oBAAoBE,CAAI,CAAC,MAAM,EAAE;AACnC,IAAI,MAAM,EAAE;AACZ,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}