commit 63e1f58670ec0f2830480385a183056c38f209fc Author: HasanMu Date: Tue Feb 11 23:13:50 2025 +0700 Initial Commit - Templating Login & Dashboard diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/README.md b/README.md new file mode 100644 index 0000000..74872fd --- /dev/null +++ b/README.md @@ -0,0 +1,50 @@ +# React + TypeScript + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh + +## Expanding the ESLint configuration + +If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: + +- Configure the top-level `parserOptions` property like this: + +```js +export default tseslint.config({ + languageOptions: { + // other options... + parserOptions: { + project: ['./tsconfig.node.json', './tsconfig.app.json'], + tsconfigRootDir: import.meta.dirname, + }, + }, +}) +``` + +- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked` +- Optionally add `...tseslint.configs.stylisticTypeChecked` +- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config: + +```js +// eslint.config.js +import react from 'eslint-plugin-react' + +export default tseslint.config({ + // Set the react version + settings: { react: { version: '18.3' } }, + plugins: { + // Add the react plugin + react, + }, + rules: { + // other rules... + // Enable its recommended rules + ...react.configs.recommended.rules, + ...react.configs['jsx-runtime'].rules, + }, +}) +``` diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..092408a --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,28 @@ +import js from '@eslint/js' +import globals from 'globals' +import reactHooks from 'eslint-plugin-react-hooks' +import reactRefresh from 'eslint-plugin-react-refresh' +import tseslint from 'typescript-eslint' + +export default tseslint.config( + { ignores: ['dist'] }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ['**/*.{ts,tsx}'], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + }, + plugins: { + 'react-hooks': reactHooks, + 'react-refresh': reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, + }, +) diff --git a/index.html b/index.html new file mode 100644 index 0000000..96a89a0 --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + ASMAN + + +
+ + + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..e625b9c --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3761 @@ +{ + "name": "asman", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "asman", + "version": "1.0.0", + "dependencies": { + "@emotion/react": "^11.14.0", + "@emotion/styled": "^11.14.0", + "@fontsource/public-sans": "^5.1.2", + "@mui/icons-material": "^6.4.3", + "@mui/material": "^6.4.3", + "iconsax-react": "^0.0.8", + "lodash": "^4.17.21", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "react-router": "^7.1.5", + "react-svg": "^16.3.0" + }, + "devDependencies": { + "@eslint/js": "^9.19.0", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", + "@vitejs/plugin-react": "^4.3.4", + "eslint": "^9.19.0", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-refresh": "^0.4.18", + "globals": "^15.14.0", + "typescript": "~5.7.2", + "typescript-eslint": "^8.22.0", + "vite": "^6.1.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz", + "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.8.tgz", + "integrity": "sha512-l+lkXCHS6tQEc5oUpK28xBOZ6+HwaH7YwoYQbLFiYb4nS2/l1tKnZEtEWkD0GuiYdvArf9qBS0XlQGXzPMsNqQ==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.8", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.7", + "@babel/parser": "^7.26.8", + "@babel/template": "^7.26.8", + "@babel/traverse": "^7.26.8", + "@babel/types": "^7.26.8", + "@types/gensync": "^1.0.0", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.8.tgz", + "integrity": "sha512-ef383X5++iZHWAXX0SXQR6ZyQhw/0KtTkrTz61WXRhFM6dhpHulO/RJz79L8S6ugZHJkOOkUrUdxgdF2YiPFnA==", + "dependencies": { + "@babel/parser": "^7.26.8", + "@babel/types": "^7.26.8", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.26.5", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz", + "integrity": "sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.26.5", + "@babel/helper-validator-option": "^7.25.9", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", + "dependencies": { + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.26.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz", + "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.26.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.7.tgz", + "integrity": "sha512-8NHiL98vsi0mbPQmYAGWwfcFaOy4j2HY49fXJCfuDcdE7fMIsH9a7GdaeXpIBsbT7307WU8KCMp5pUVDNL4f9A==", + "dev": true, + "dependencies": { + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.8.tgz", + "integrity": "sha512-TZIQ25pkSoaKEYYaHbbxkfL36GNsQ6iFiBbeuzAkLnXayKR1yP1zFe+NxuZWWsUyvt8icPU9CCq0sgWGXR1GEw==", + "dependencies": { + "@babel/types": "^7.26.8" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.25.9.tgz", + "integrity": "sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.25.9.tgz", + "integrity": "sha512-+iqjT8xmXhhYv4/uiYd8FNQsraMFZIfxVSqxxVSZP0WbbSAWvBXAul0m/zu+7Vv4O/3WtApy9pmaTMiumEZgfg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.26.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.7.tgz", + "integrity": "sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.26.8.tgz", + "integrity": "sha512-iNKaX3ZebKIsCvJ+0jd6embf+Aulaa3vNBqZ41kM7iTWjx5qzWKXGHiJUW3+nTpQ18SG11hdF8OAzKrpXkb96Q==", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/parser": "^7.26.8", + "@babel/types": "^7.26.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.8.tgz", + "integrity": "sha512-nic9tRkjYH0oB2dzr/JoGIm+4Q6SuYeLEiIiZDwBscRMYFJ+tMAz98fuel9ZnbXViA2I0HVSSRRK8DW5fjXStA==", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.8", + "@babel/parser": "^7.26.8", + "@babel/template": "^7.26.8", + "@babel/types": "^7.26.8", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/types": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.8.tgz", + "integrity": "sha512-eUuWapzEGWFEpHFxgEaBG8e3n6S8L3MSu0oda755rOfabWPnh0Our1AozNFVUxGFIhbKgd1ksprsoDGMinTOTA==", + "dependencies": { + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@emotion/babel-plugin": { + "version": "11.13.5", + "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz", + "integrity": "sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.2", + "@emotion/memoize": "^0.9.0", + "@emotion/serialize": "^1.3.3", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + }, + "node_modules/@emotion/cache": { + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz", + "integrity": "sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==", + "dependencies": { + "@emotion/memoize": "^0.9.0", + "@emotion/sheet": "^1.4.0", + "@emotion/utils": "^1.4.2", + "@emotion/weak-memoize": "^0.4.0", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/hash": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", + "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==" + }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.3.1.tgz", + "integrity": "sha512-/ACwoqx7XQi9knQs/G0qKvv5teDMhD7bXYns9N/wM8ah8iNb8jZ2uNO0YOgiq2o2poIvVtJS2YALasQuMSQ7Kw==", + "dependencies": { + "@emotion/memoize": "^0.9.0" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", + "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==" + }, + "node_modules/@emotion/react": { + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.14.0.tgz", + "integrity": "sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.13.5", + "@emotion/cache": "^11.14.0", + "@emotion/serialize": "^1.3.3", + "@emotion/use-insertion-effect-with-fallbacks": "^1.2.0", + "@emotion/utils": "^1.4.2", + "@emotion/weak-memoize": "^0.4.0", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/serialize": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.3.tgz", + "integrity": "sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==", + "dependencies": { + "@emotion/hash": "^0.9.2", + "@emotion/memoize": "^0.9.0", + "@emotion/unitless": "^0.10.0", + "@emotion/utils": "^1.4.2", + "csstype": "^3.0.2" + } + }, + "node_modules/@emotion/sheet": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz", + "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==" + }, + "node_modules/@emotion/styled": { + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.14.0.tgz", + "integrity": "sha512-XxfOnXFffatap2IyCeJyNov3kiDQWoR08gPUQxvbL7fxKryGBKUZUkG6Hz48DZwVrJSVh9sJboyV1Ds4OW6SgA==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.13.5", + "@emotion/is-prop-valid": "^1.3.0", + "@emotion/serialize": "^1.3.3", + "@emotion/use-insertion-effect-with-fallbacks": "^1.2.0", + "@emotion/utils": "^1.4.2" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/unitless": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz", + "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==" + }, + "node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz", + "integrity": "sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@emotion/utils": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.2.tgz", + "integrity": "sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz", + "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==" + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz", + "integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.2.tgz", + "integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz", + "integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.2.tgz", + "integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz", + "integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz", + "integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz", + "integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz", + "integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz", + "integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz", + "integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz", + "integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz", + "integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz", + "integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz", + "integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz", + "integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz", + "integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz", + "integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz", + "integrity": "sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz", + "integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz", + "integrity": "sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz", + "integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz", + "integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz", + "integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz", + "integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz", + "integrity": "sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.2.tgz", + "integrity": "sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==", + "dev": true, + "dependencies": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.11.0.tgz", + "integrity": "sha512-DWUB2pksgNEb6Bz2fggIy1wh6fGgZP4Xyy/Mt0QZPiloKKXerbqq9D3SBQTlCRYOrcRPu4vuz+CGjwdfqxnoWA==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.20.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.20.0.tgz", + "integrity": "sha512-iZA07H9io9Wn836aVTytRaNqh00Sad+EamwOVJT12GTLw1VGMFV/4JaME+JjLtr9fiGaoWgYnS54wrfWsSs4oQ==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", + "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", + "dev": true, + "dependencies": { + "@eslint/core": "^0.10.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", + "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@fontsource/public-sans": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@fontsource/public-sans/-/public-sans-5.1.2.tgz", + "integrity": "sha512-VY/2N8hfhFgP/3lkk/WdGX27/0wp+ajX9/E4bb+O1BS5c+OUfJG7FChIqYRKZUe8n2jl8pOVjaB93PfyVQS9Hg==" + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "dev": true, + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "dev": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@mui/core-downloads-tracker": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.3.tgz", + "integrity": "sha512-hlyOzo2ObarllAOeT1ZSAusADE5NZNencUeIvXrdQ1Na+FL1lcznhbxfV5He1KqGiuR8Az3xtCUcYKwMVGFdzg==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + } + }, + "node_modules/@mui/icons-material": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-6.4.3.tgz", + "integrity": "sha512-3IY9LpjkwIJVgL/SkZQKKCUcumdHdQEsJaIavvsQze2QEztBt0HJ17naToN0DBBdhKdtwX5xXrfD6ZFUeWWk8g==", + "dependencies": { + "@babel/runtime": "^7.26.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@mui/material": "^6.4.3", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/material/-/material-6.4.3.tgz", + "integrity": "sha512-ubtQjplbWneIEU8Y+4b2VA0CDBlyH5I3AmVFGmsLyDe/bf0ubxav5t11c8Afem6rkSFWPlZA2DilxmGka1xiKQ==", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@mui/core-downloads-tracker": "^6.4.3", + "@mui/system": "^6.4.3", + "@mui/types": "^7.2.21", + "@mui/utils": "^6.4.3", + "@popperjs/core": "^2.11.8", + "@types/react-transition-group": "^4.4.12", + "clsx": "^2.1.1", + "csstype": "^3.1.3", + "prop-types": "^15.8.1", + "react-is": "^19.0.0", + "react-transition-group": "^4.4.5" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@mui/material-pigment-css": "^6.4.3", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@mui/material-pigment-css": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/private-theming": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-6.4.3.tgz", + "integrity": "sha512-7x9HaNwDCeoERc4BoEWLieuzKzXu5ZrhRnEM6AUcRXUScQLvF1NFkTlP59+IJfTbEMgcGg1wWHApyoqcksrBpQ==", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@mui/utils": "^6.4.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/styled-engine": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-6.4.3.tgz", + "integrity": "sha512-OC402VfK+ra2+f12Gef8maY7Y9n7B6CZcoQ9u7mIkh/7PKwW/xH81xwX+yW+Ak1zBT3HYcVjh2X82k5cKMFGoQ==", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@emotion/cache": "^11.13.5", + "@emotion/serialize": "^1.3.3", + "@emotion/sheet": "^1.4.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "node_modules/@mui/system": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-6.4.3.tgz", + "integrity": "sha512-Q0iDwnH3+xoxQ0pqVbt8hFdzhq1g2XzzR4Y5pVcICTNtoCLJmpJS3vI4y/OIM1FHFmpfmiEC2IRIq7YcZ8nsmg==", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@mui/private-theming": "^6.4.3", + "@mui/styled-engine": "^6.4.3", + "@mui/types": "^7.2.21", + "@mui/utils": "^6.4.3", + "clsx": "^2.1.1", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/types": { + "version": "7.2.21", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.21.tgz", + "integrity": "sha512-6HstngiUxNqLU+/DPqlUJDIPbzUBxIVHb1MmXP0eTWDIROiCR2viugXpEif0PPe2mLqqakPzzRClWAnK+8UJww==", + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/utils": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.4.3.tgz", + "integrity": "sha512-jxHRHh3BqVXE9ABxDm+Tc3wlBooYz/4XPa0+4AI+iF38rV1/+btJmSUgG4shDtSWVs/I97aDn5jBCt6SF2Uq2A==", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@mui/types": "^7.2.21", + "@types/prop-types": "^15.7.14", + "clsx": "^2.1.1", + "prop-types": "^15.8.1", + "react-is": "^19.0.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.6.tgz", + "integrity": "sha512-+GcCXtOQoWuC7hhX1P00LqjjIiS/iOouHXhMdiDSnq/1DGTox4SpUvO52Xm+div6+106r+TcvOeo/cxvyEyTgg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.34.6.tgz", + "integrity": "sha512-E8+2qCIjciYUnCa1AiVF1BkRgqIGW9KzJeesQqVfyRITGQN+dFuoivO0hnro1DjT74wXLRZ7QF8MIbz+luGaJA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.6.tgz", + "integrity": "sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.34.6.tgz", + "integrity": "sha512-PShKVY4u0FDAR7jskyFIYVyHEPCPnIQY8s5OcXkdU8mz3Y7eXDJPdyM/ZWjkYdR2m0izD9HHWA8sGcXn+Qrsyg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.34.6.tgz", + "integrity": "sha512-YSwyOqlDAdKqs0iKuqvRHLN4SrD2TiswfoLfvYXseKbL47ht1grQpq46MSiQAx6rQEN8o8URtpXARCpqabqxGQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.34.6.tgz", + "integrity": "sha512-HEP4CgPAY1RxXwwL5sPFv6BBM3tVeLnshF03HMhJYCNc6kvSqBgTMmsEjb72RkZBAWIqiPUyF1JpEBv5XT9wKQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.34.6.tgz", + "integrity": "sha512-88fSzjC5xeH9S2Vg3rPgXJULkHcLYMkh8faix8DX4h4TIAL65ekwuQMA/g2CXq8W+NJC43V6fUpYZNjaX3+IIg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.34.6.tgz", + "integrity": "sha512-wM4ztnutBqYFyvNeR7Av+reWI/enK9tDOTKNF+6Kk2Q96k9bwhDDOlnCUNRPvromlVXo04riSliMBs/Z7RteEg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.34.6.tgz", + "integrity": "sha512-9RyprECbRa9zEjXLtvvshhw4CMrRa3K+0wcp3KME0zmBe1ILmvcVHnypZ/aIDXpRyfhSYSuN4EPdCCj5Du8FIA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.34.6.tgz", + "integrity": "sha512-qTmklhCTyaJSB05S+iSovfo++EwnIEZxHkzv5dep4qoszUMX5Ca4WM4zAVUMbfdviLgCSQOu5oU8YoGk1s6M9Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.34.6.tgz", + "integrity": "sha512-4Qmkaps9yqmpjY5pvpkfOerYgKNUGzQpFxV6rnS7c/JfYbDSU0y6WpbbredB5cCpLFGJEqYX40WUmxMkwhWCjw==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.34.6.tgz", + "integrity": "sha512-Zsrtux3PuaxuBTX/zHdLaFmcofWGzaWW1scwLU3ZbW/X+hSsFbz9wDIp6XvnT7pzYRl9MezWqEqKy7ssmDEnuQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.34.6.tgz", + "integrity": "sha512-aK+Zp+CRM55iPrlyKiU3/zyhgzWBxLVrw2mwiQSYJRobCURb781+XstzvA8Gkjg/hbdQFuDw44aUOxVQFycrAg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.34.6.tgz", + "integrity": "sha512-WoKLVrY9ogmaYPXwTH326+ErlCIgMmsoRSx6bO+l68YgJnlOXhygDYSZe/qbUJCSiCiZAQ+tKm88NcWuUXqOzw==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.6.tgz", + "integrity": "sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.6.tgz", + "integrity": "sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.34.6.tgz", + "integrity": "sha512-3/q1qUsO/tLqGBaD4uXsB6coVGB3usxw3qyeVb59aArCgedSF66MPdgRStUd7vbZOsko/CgVaY5fo2vkvPLWiA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.34.6.tgz", + "integrity": "sha512-oLHxuyywc6efdKVTxvc0135zPrRdtYVjtVD5GUm55I3ODxhU/PwkQFD97z16Xzxa1Fz0AEe4W/2hzRtd+IfpOA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.34.6.tgz", + "integrity": "sha512-0PVwmgzZ8+TZ9oGBmdZoQVXflbvuwzN/HRclujpl4N/q3i+y0lqLw8n1bXA8ru3sApDjlmONaNAuYr38y1Kr9w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@tanem/svg-injector": { + "version": "10.1.68", + "resolved": "https://registry.npmjs.org/@tanem/svg-injector/-/svg-injector-10.1.68.tgz", + "integrity": "sha512-UkJajeR44u73ujtr5GVSbIlELDWD/mzjqWe54YMK61ljKxFcJoPd9RBSaO7xj02ISCWUqJW99GjrS+sVF0UnrA==", + "dependencies": { + "@babel/runtime": "^7.23.2", + "content-type": "^1.0.5", + "tslib": "^2.6.2" + } + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", + "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", + "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==" + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true + }, + "node_modules/@types/gensync": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/gensync/-/gensync-1.0.4.tgz", + "integrity": "sha512-C3YYeRQWp2fmq9OryX+FoDy8nXS6scQ7dPptD8LnFDAUNcKWJjXQKDNJD3HVm+kOUsXhTOkpi69vI4EuAr95bA==", + "dev": true + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true + }, + "node_modules/@types/parse-json": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", + "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==" + }, + "node_modules/@types/prop-types": { + "version": "15.7.14", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", + "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==" + }, + "node_modules/@types/react": { + "version": "19.0.8", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.8.tgz", + "integrity": "sha512-9P/o1IGdfmQxrujGbIMDyYaaCykhLKc0NGCtYcECNUr9UAaDe4gwvV9bR6tvd5Br1SG0j+PBpbKr2UYY8CwqSw==", + "dependencies": { + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.0.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.3.tgz", + "integrity": "sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA==", + "dev": true, + "peerDependencies": { + "@types/react": "^19.0.0" + } + }, + "node_modules/@types/react-transition-group": { + "version": "4.4.12", + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz", + "integrity": "sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==", + "peerDependencies": { + "@types/react": "*" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.23.0.tgz", + "integrity": "sha512-vBz65tJgRrA1Q5gWlRfvoH+w943dq9K1p1yDBY2pc+a1nbBLZp7fB9+Hk8DaALUbzjqlMfgaqlVPT1REJdkt/w==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/type-utils": "8.23.0", + "@typescript-eslint/utils": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz", + "integrity": "sha512-h2lUByouOXFAlMec2mILeELUbME5SZRN/7R9Cw2RD2lRQQY08MWMM+PmVVKKJNK1aIwqTo9t/0CvOxwPbRIE2Q==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz", + "integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/utils": "8.23.0", + "debug": "^4.3.4", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz", + "integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.23.0", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz", + "integrity": "sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==", + "dev": true, + "dependencies": { + "@babel/core": "^7.26.0", + "@babel/plugin-transform-react-jsx-self": "^7.25.9", + "@babel/plugin-transform-react-jsx-source": "^7.25.9", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.14.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0" + } + }, + "node_modules/acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/babel-plugin-macros": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", + "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", + "dependencies": { + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz", + "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001688", + "electron-to-chromium": "^1.5.73", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.1" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001699", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001699.tgz", + "integrity": "sha512-b+uH5BakXZ9Do9iK+CkDmctUSEqZl+SP056vc5usa0PL+ev5OHw003rZXcnjNDv3L8P5j6rwT6C0BPKSikW08w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/cookie": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz", + "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==", + "engines": { + "node": ">=18" + } + }, + "node_modules/cosmiconfig": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cosmiconfig/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, + "node_modules/debug": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.96", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.96.tgz", + "integrity": "sha512-8AJUW6dh75Fm/ny8+kZKJzI1pgoE8bKLZlzDU2W1ENd+DXKJrx7I7l9hb8UWR4ojlnb5OlixMt00QWiYJoVw1w==", + "dev": true + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/esbuild": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.2.tgz", + "integrity": "sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.24.2", + "@esbuild/android-arm": "0.24.2", + "@esbuild/android-arm64": "0.24.2", + "@esbuild/android-x64": "0.24.2", + "@esbuild/darwin-arm64": "0.24.2", + "@esbuild/darwin-x64": "0.24.2", + "@esbuild/freebsd-arm64": "0.24.2", + "@esbuild/freebsd-x64": "0.24.2", + "@esbuild/linux-arm": "0.24.2", + "@esbuild/linux-arm64": "0.24.2", + "@esbuild/linux-ia32": "0.24.2", + "@esbuild/linux-loong64": "0.24.2", + "@esbuild/linux-mips64el": "0.24.2", + "@esbuild/linux-ppc64": "0.24.2", + "@esbuild/linux-riscv64": "0.24.2", + "@esbuild/linux-s390x": "0.24.2", + "@esbuild/linux-x64": "0.24.2", + "@esbuild/netbsd-arm64": "0.24.2", + "@esbuild/netbsd-x64": "0.24.2", + "@esbuild/openbsd-arm64": "0.24.2", + "@esbuild/openbsd-x64": "0.24.2", + "@esbuild/sunos-x64": "0.24.2", + "@esbuild/win32-arm64": "0.24.2", + "@esbuild/win32-ia32": "0.24.2", + "@esbuild/win32-x64": "0.24.2" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.20.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.20.0.tgz", + "integrity": "sha512-aL4F8167Hg4IvsW89ejnpTwx+B/UQRzJPGgbIOl+4XqffWsahVVsLEWoZvnrVuwpWmnRd7XeXmQI1zlKcFDteA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.0", + "@eslint/core": "^0.11.0", + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "9.20.0", + "@eslint/plugin-kit": "^0.2.5", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz", + "integrity": "sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.19.tgz", + "integrity": "sha512-eyy8pcr/YxSYjBoqIFSrlbn9i/xvxUFa8CjzAYo9cFjgGXqq1hyjihcpZvxRLalpaWmueWR81xn7vuKmAFijDQ==", + "dev": true, + "peerDependencies": { + "eslint": ">=8.40" + } + }, + "node_modules/eslint-scope": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "dev": true, + "dependencies": { + "acorn": "^8.14.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.0.tgz", + "integrity": "sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "15.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.14.0.tgz", + "integrity": "sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dependencies": { + "react-is": "^16.7.0" + } + }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/iconsax-react": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/iconsax-react/-/iconsax-react-0.0.8.tgz", + "integrity": "sha512-l3dVk4zGtkkJHgvNYqAf0wDKqnKxXykee5/DoESGo2JvSYwaxajJUHSX2YrPRXSov8Hd8ClGFwJxCEaEjrFD1Q==", + "dependencies": { + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "*" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + }, + "node_modules/is-core-module": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/nanoid": { + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/node-releases": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "dev": true + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.1.tgz", + "integrity": "sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.8", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/react": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", + "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", + "dependencies": { + "scheduler": "^0.25.0" + }, + "peerDependencies": { + "react": "^19.0.0" + } + }, + "node_modules/react-is": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz", + "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g==" + }, + "node_modules/react-refresh": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", + "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-router": { + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.1.5.tgz", + "integrity": "sha512-8BUF+hZEU4/z/JD201yK6S+UYhsf58bzYIDq2NS1iGpwxSXDu7F+DeGSkIXMFBuHZB21FSiCzEcUb18cQNdRkA==", + "dependencies": { + "@types/cookie": "^0.6.0", + "cookie": "^1.0.1", + "set-cookie-parser": "^2.6.0", + "turbo-stream": "2.4.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } + } + }, + "node_modules/react-svg": { + "version": "16.3.0", + "resolved": "https://registry.npmjs.org/react-svg/-/react-svg-16.3.0.tgz", + "integrity": "sha512-MvoQbITgkmpPJYwDTNdiUyoncJFfoa0D86WzoZuMQ9c/ORJURPR6rPMnXDsLOWDCAyXuV9nKZhQhGyP0HZ0MVQ==", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@tanem/svg-injector": "^10.1.68", + "@types/prop-types": "^15.7.14", + "prop-types": "^15.8.1" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, + "node_modules/resolve": { + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", + "dependencies": { + "is-core-module": "^2.16.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.34.6.tgz", + "integrity": "sha512-wc2cBWqJgkU3Iz5oztRkQbfVkbxoz5EhnCGOrnJvnLnQ7O0WhQUYyv18qQI79O8L7DdHrrlJNeCHd4VGpnaXKQ==", + "dev": true, + "dependencies": { + "@types/estree": "1.0.6" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.34.6", + "@rollup/rollup-android-arm64": "4.34.6", + "@rollup/rollup-darwin-arm64": "4.34.6", + "@rollup/rollup-darwin-x64": "4.34.6", + "@rollup/rollup-freebsd-arm64": "4.34.6", + "@rollup/rollup-freebsd-x64": "4.34.6", + "@rollup/rollup-linux-arm-gnueabihf": "4.34.6", + "@rollup/rollup-linux-arm-musleabihf": "4.34.6", + "@rollup/rollup-linux-arm64-gnu": "4.34.6", + "@rollup/rollup-linux-arm64-musl": "4.34.6", + "@rollup/rollup-linux-loongarch64-gnu": "4.34.6", + "@rollup/rollup-linux-powerpc64le-gnu": "4.34.6", + "@rollup/rollup-linux-riscv64-gnu": "4.34.6", + "@rollup/rollup-linux-s390x-gnu": "4.34.6", + "@rollup/rollup-linux-x64-gnu": "4.34.6", + "@rollup/rollup-linux-x64-musl": "4.34.6", + "@rollup/rollup-win32-arm64-msvc": "4.34.6", + "@rollup/rollup-win32-ia32-msvc": "4.34.6", + "@rollup/rollup-win32-x64-msvc": "4.34.6", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/scheduler": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/set-cookie-parser": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz", + "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-api-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", + "dev": true, + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + }, + "node_modules/turbo-stream": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/turbo-stream/-/turbo-stream-2.4.0.tgz", + "integrity": "sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g==" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.23.0.tgz", + "integrity": "sha512-/LBRo3HrXr5LxmrdYSOCvoAMm7p2jNizNfbIpCgvG4HMsnoprRUOce/+8VJ9BDYWW68rqIENE/haVLWPeFZBVQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.23.0", + "@typescript-eslint/parser": "8.23.0", + "@typescript-eslint/utils": "8.23.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.2.tgz", + "integrity": "sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/vite": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.1.0.tgz", + "integrity": "sha512-RjjMipCKVoR4hVfPY6GQTgveinjNuyLw+qruksLDvA5ktI1150VmcMBKmQaEWJhg/j6Uaf6dNCNA0AfdzUb/hQ==", + "dev": true, + "dependencies": { + "esbuild": "^0.24.2", + "postcss": "^8.5.1", + "rollup": "^4.30.1" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/yaml": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz", + "integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==", + "dev": true, + "optional": true, + "peer": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..060b85c --- /dev/null +++ b/package.json @@ -0,0 +1,38 @@ +{ + "name": "asman", + "private": true, + "version": "1.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc -b && vite build", + "lint": "eslint .", + "preview": "vite preview" + }, + "dependencies": { + "@emotion/react": "^11.14.0", + "@emotion/styled": "^11.14.0", + "@fontsource/public-sans": "^5.1.2", + "@mui/icons-material": "^6.4.3", + "@mui/material": "^6.4.3", + "iconsax-react": "^0.0.8", + "lodash": "^4.17.21", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "react-router": "^7.1.5", + "react-svg": "^16.3.0" + }, + "devDependencies": { + "@eslint/js": "^9.19.0", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", + "@vitejs/plugin-react": "^4.3.4", + "eslint": "^9.19.0", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-refresh": "^0.4.18", + "globals": "^15.14.0", + "typescript": "~5.7.2", + "typescript-eslint": "^8.22.0", + "vite": "^6.1.0" + } +} diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 0000000..8133e75 --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,34 @@ +import { useState } from 'react' +import reactLogo from './assets/react.svg' +import viteLogo from '/vite.svg' + +function App() { + const [count, setCount] = useState(0) + + return ( + <> +
+ + Vite logo + + + React logo + +
+

Vite + React

+
+ +

+ Edit src/App.tsx and save to test HMR +

+
+

+ Click on the Vite and React logos to learn more +

+ + ) +} + +export default App diff --git a/src/assets/react.svg b/src/assets/react.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/src/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/speedometer.svg b/src/assets/speedometer.svg new file mode 100644 index 0000000..ddc12ee --- /dev/null +++ b/src/assets/speedometer.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..320d4a3 --- /dev/null +++ b/src/index.css @@ -0,0 +1,12 @@ +:root { + font-family: 'Public Sans', sans-serif; + + /* font-synthesis: none; */ + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +a { + text-decoration: inherit; +} \ No newline at end of file diff --git a/src/layouts/AuthLayout.tsx b/src/layouts/AuthLayout.tsx new file mode 100644 index 0000000..34bf858 --- /dev/null +++ b/src/layouts/AuthLayout.tsx @@ -0,0 +1,20 @@ +import { Outlet } from "react-router"; +import Container from "@mui/material/Container"; +import Box from "@mui/material/Box"; + +export default function AuthLayout() { + return ( + + + + + + ); +} diff --git a/src/layouts/Dashboard/Header.tsx b/src/layouts/Dashboard/Header.tsx new file mode 100644 index 0000000..0dbcaa0 --- /dev/null +++ b/src/layouts/Dashboard/Header.tsx @@ -0,0 +1,93 @@ +import Box from "@mui/material/Box"; +import Toolbar from "@mui/material/Toolbar"; +import Typography from "@mui/material/Typography"; +import Menu from "@mui/material/Menu"; +import MenuItem from "@mui/material/MenuItem"; +import IconButton from "@mui/material/IconButton"; +import MenuIcon from "@mui/icons-material/Menu"; +import Avatar from "@mui/material/Avatar"; +import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; +import React from "react"; +import { useNavigate } from "react-router"; + +export default function Header({ + handleDrawerToggle, +}: { + handleDrawerToggle: () => void; +}) { + const [anchorEl, setAnchorEl] = React.useState(null); + const open = Boolean(anchorEl); + let navigate = useNavigate(); + + const handleClick = (event: React.MouseEvent) => { + setAnchorEl(event.currentTarget); + }; + + const handleClose = () => { + setAnchorEl(null); + }; + + const onLogout = () => { + setAnchorEl(null); + + navigate("/login") + }; + + return ( + + + + + + + + + + Hi, Admins + + + + + Profile + + + My Account + + + Logout + + + + + ); +} diff --git a/src/layouts/Dashboard/Sidebar.tsx b/src/layouts/Dashboard/Sidebar.tsx new file mode 100644 index 0000000..baa2457 --- /dev/null +++ b/src/layouts/Dashboard/Sidebar.tsx @@ -0,0 +1,159 @@ +import Drawer from "@mui/material/Drawer"; +import Toolbar from "@mui/material/Toolbar"; +import Divider from "@mui/material/Divider"; +import List from "@mui/material/List"; +import ListItem from "@mui/material/ListItem"; +import ListSubheader from "@mui/material/ListSubheader"; +import ListItemButton from "@mui/material/ListItemButton"; +import ListItemIcon from "@mui/material/ListItemIcon"; +import ListItemText from "@mui/material/ListItemText"; +import Box from "@mui/material/Box"; + +import { Link, Typography } from "@mui/material"; +import { useLocation } from "react-router"; +import { ReactSVG } from "react-svg"; +import Speedometer from "../../assets/speedometer.svg"; + +interface Props { + /** + * Injected by the documentation to work in an iframe. + * Remove this when copying and pasting into your project. + */ + drawerWidth: number; + mobileOpen: boolean; + handleDrawerTransitionEnd: () => void; + handleDrawerClose: () => void; + window?: () => Window; +} + +const MENU = [ + { + title: "Data Master", + menus: [ + { + title: "Dashboard", + link: "/dashboard", + icon: Speedometer, + }, + { + title: "Backbone", + link: "/backbone", + icon: Speedometer, + }, + { + title: "Fishbone", + link: "/fishbone", + icon: Speedometer, + }, + { + title: "Devices", + link: "/devices", + icon: Speedometer, + }, + ], + }, + { + title: "Management", + menus: [ + { + title: "User", + link: "/user", + icon: Speedometer, + }, + ], + }, +]; + +export default function Sidebar({ + window, + mobileOpen, + handleDrawerClose, + handleDrawerTransitionEnd, + drawerWidth, +}: Props) { + const location = useLocation(); + + const drawer = ( +
+ + + + Network + + + Asset Management + + + + {/* */} + {MENU.map((item, index) => ( + + {item.title} + + } + > + {item.menus.map((menu, key) => { + return ( + + + + + + + + + ); + })} + + ))} +
+ ); + + // Remove this const when copying and pasting into your project. + const container = + window !== undefined ? () => window().document.body : undefined; + + return ( + <> + + {drawer} + + + {drawer} + + + ); +} diff --git a/src/layouts/DashboardLayout.tsx b/src/layouts/DashboardLayout.tsx new file mode 100644 index 0000000..e0c96ca --- /dev/null +++ b/src/layouts/DashboardLayout.tsx @@ -0,0 +1,81 @@ +import React from "react"; +import AppBar from "@mui/material/AppBar"; +import Box from "@mui/material/Box"; +import CssBaseline from "@mui/material/CssBaseline"; +import Toolbar from "@mui/material/Toolbar"; +import { Outlet } from "react-router"; +import Sidebar from "./Dashboard/Sidebar"; +import Header from "./Dashboard/Header"; + +const drawerWidth = 240; + +interface Props { + /** + * Injected by the documentation to work in an iframe. + * Remove this when copying and pasting into your project. + */ + window?: () => Window; +} + +export default function DashboardLayout(props: Props) { + const [mobileOpen, setMobileOpen] = React.useState(false); + const [isClosing, setIsClosing] = React.useState(false); + + const handleDrawerClose = () => { + setIsClosing(true); + setMobileOpen(false); + }; + + const handleDrawerTransitionEnd = () => { + setIsClosing(false); + }; + + const handleDrawerToggle = () => { + if (!isClosing) { + setMobileOpen(!mobileOpen); + } + }; + + return ( + + + +
+ + + {/* The implementation can be swapped with js to avoid SEO duplication of links. */} + + + + + + + + + ); +} diff --git a/src/main.tsx b/src/main.tsx new file mode 100644 index 0000000..aaa2c97 --- /dev/null +++ b/src/main.tsx @@ -0,0 +1,23 @@ +import { StrictMode } from "react"; +import { createRoot } from "react-dom/client"; +import { BrowserRouter } from "react-router"; +import Routes from "./routes/index.tsx"; +import CssBaseline from '@mui/material/CssBaseline'; +import ThemeCustomization from "./theme/index.tsx"; +import '@fontsource/public-sans/300.css'; +import '@fontsource/public-sans/400.css'; +import '@fontsource/public-sans/500.css'; +import '@fontsource/public-sans/700.css'; +import './index.css'; + + +createRoot(document.getElementById("root")!).render( + + + + + + + + +); diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx new file mode 100644 index 0000000..cf8413a --- /dev/null +++ b/src/pages/Dashboard.tsx @@ -0,0 +1,7 @@ +export default function Dashboard() { + return ( +
+ Dashboard +
+ ) +} diff --git a/src/pages/auth/Login.tsx b/src/pages/auth/Login.tsx new file mode 100644 index 0000000..f7bac7c --- /dev/null +++ b/src/pages/auth/Login.tsx @@ -0,0 +1,67 @@ +import Button from "@mui/material/Button"; +import Box from "@mui/material/Box"; +import TextField from "@mui/material/TextField"; +import Paper from "@mui/material/Paper"; +import FormControlLabel from "@mui/material/FormControlLabel"; +import Checkbox from "@mui/material/Checkbox"; +import Typography from "@mui/material/Typography"; +import Link from "@mui/material/Link"; +import Grid from "@mui/material/Grid2"; +import { useNavigate } from "react-router"; + +export default function Login() { + let navigate = useNavigate(); + + const onSubmit = (e: any) => { + e.preventDefault(); + + navigate("/dashboard"); + }; + + return ( + + + Sign in + + + + + + + + } + label="Remember me" + /> + + + + Forgot password? + + + + + + + ); +} diff --git a/src/routes/index.tsx b/src/routes/index.tsx new file mode 100644 index 0000000..2b007a2 --- /dev/null +++ b/src/routes/index.tsx @@ -0,0 +1,22 @@ +import { Routes as RRRoutes, Route } from "react-router"; +import App from "../App"; +import AuthLayout from "../layouts/AuthLayout"; +import Login from "../pages/auth/Login"; +import Dashboard from "../pages/Dashboard"; +import DashboardLayout from "../layouts/DashboardLayout"; + +export default function Routes() { + return ( + + } /> + + }> + } /> + + {/* Auth routes */} + }> + } /> + + + ) +} diff --git a/src/theme/components/Accordion.ts b/src/theme/components/Accordion.ts new file mode 100644 index 0000000..6e0e21a --- /dev/null +++ b/src/theme/components/Accordion.ts @@ -0,0 +1,30 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - ACCORDION ||============================== // + +export default function Accordion(theme: Theme) { + return { + MuiAccordion: { + defaultProps: { + disableGutters: true, + square: true, + elevation: 0 + }, + styleOverrides: { + root: { + border: `1px solid ${theme.palette.divider}`, + '&:not(:last-child)': { + borderBottom: 0 + }, + '&:before': { + display: 'none' + }, + '&.Mui-disabled': { + backgroundColor: theme.palette.secondary.lighter + } + } + } + } + }; +} diff --git a/src/theme/components/AccordionDetails.ts b/src/theme/components/AccordionDetails.ts new file mode 100644 index 0000000..c60a4bc --- /dev/null +++ b/src/theme/components/AccordionDetails.ts @@ -0,0 +1,17 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - ACCORDION DETAILS ||============================== // + +export default function AccordionDetails(theme: Theme) { + return { + MuiAccordionDetails: { + styleOverrides: { + root: { + padding: theme.spacing(2), + borderTop: `1px solid ${theme.palette.secondary.light}` + } + } + } + }; +} diff --git a/src/theme/components/AccordionSummary.tsx b/src/theme/components/AccordionSummary.tsx new file mode 100644 index 0000000..c3cd17d --- /dev/null +++ b/src/theme/components/AccordionSummary.tsx @@ -0,0 +1,36 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ASSETS +import { ArrowRight2 } from 'iconsax-react'; + +// ==============================|| OVERRIDES - ACCORDION SUMMARY ||============================== // + +export default function AccordionSummary(theme: Theme) { + const { palette, spacing } = theme; + + return { + MuiAccordionSummary: { + defaultProps: { + expandIcon: + }, + styleOverrides: { + root: { + backgroundColor: palette.secondary.lighter, + flexDirection: 'row-reverse', + minHeight: 46 + }, + expandIconWrapper: { + '&.Mui-expanded': { + transform: 'rotate(90deg)' + } + }, + content: { + marginTop: spacing(1.25), + marginBottom: spacing(1.25), + marginLeft: spacing(1) + } + } + } + }; +} diff --git a/src/theme/components/Alert.ts b/src/theme/components/Alert.ts new file mode 100644 index 0000000..7e382b6 --- /dev/null +++ b/src/theme/components/Alert.ts @@ -0,0 +1,82 @@ +// MATERIAL - UI +import { alpha, Theme } from '@mui/material'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; +import { ThemeMode } from '../../types/config'; + +// ==============================|| ALERT - COLORS ||============================== // + +function getColorStyle({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { lighter, light, main } = colors; + + return { + borderColor: alpha(light, 0.5), + backgroundColor: lighter, + '& .MuiAlert-icon': { + color: main + } + }; +} + +// ==============================|| OVERRIDES - ALERT ||============================== // + +export default function Alert(theme: Theme) { + const primaryDashed = getColorStyle({ color: 'primary', theme }); + + return { + MuiAlert: { + styleOverrides: { + root: { + color: theme.palette.text.primary, + fontSize: '0.875rem' + }, + icon: { + '& svg': { + width: 20, + height: 20 + } + }, + message: { + padding: 0, + marginTop: 3 + }, + filled: { + color: theme.palette.mode === ThemeMode.DARK ? theme.palette.common.black : theme.palette.common.white + }, + border: { + padding: '10px 16px', + border: '1px solid', + ...primaryDashed, + '&.MuiAlert-borderPrimary': getColorStyle({ color: 'primary', theme }), + '&.MuiAlert-borderSecondary': getColorStyle({ color: 'secondary', theme }), + '&.MuiAlert-borderError': getColorStyle({ color: 'error', theme }), + '&.MuiAlert-borderSuccess': getColorStyle({ color: 'success', theme }), + '&.MuiAlert-borderInfo': getColorStyle({ color: 'info', theme }), + '&.MuiAlert-borderWarning': getColorStyle({ color: 'warning', theme }) + }, + action: { + '& .MuiButton-root': { + padding: 2, + height: 'auto', + fontSize: '0.75rem', + marginTop: -2 + }, + '& .MuiIconButton-root': { + width: 'auto', + height: 'auto', + padding: 2, + marginRight: 6, + '& .MuiSvgIcon-root': { + fontSize: '1rem' + } + } + } + } + } + }; +} diff --git a/src/theme/components/AlertTitle.ts b/src/theme/components/AlertTitle.ts new file mode 100644 index 0000000..cd925c4 --- /dev/null +++ b/src/theme/components/AlertTitle.ts @@ -0,0 +1,15 @@ +// ==============================|| OVERRIDES - ALERT TITLE ||============================== // + +export default function AlertTitle() { + return { + MuiAlertTitle: { + styleOverrides: { + root: { + marginBottom: 4, + marginTop: 0, + fontWeight: 400 + } + } + } + }; +} diff --git a/src/theme/components/Autocomplete.ts b/src/theme/components/Autocomplete.ts new file mode 100644 index 0000000..ee29f94 --- /dev/null +++ b/src/theme/components/Autocomplete.ts @@ -0,0 +1,23 @@ +// ==============================|| OVERRIDES - AUTOCOMPLETE ||============================== // + +export default function Autocomplete() { + return { + MuiAutocomplete: { + styleOverrides: { + root: { + '& .MuiOutlinedInput-root': { + padding: '3px 9px' + } + }, + popupIndicator: { + width: 'auto', + height: 'auto' + }, + clearIndicator: { + width: 'auto', + height: 'auto' + } + } + } + }; +} diff --git a/src/theme/components/Backdrop.tsx b/src/theme/components/Backdrop.tsx new file mode 100644 index 0000000..63bd405 --- /dev/null +++ b/src/theme/components/Backdrop.tsx @@ -0,0 +1,16 @@ +// MATERIAL - UI +import { alpha } from '@mui/material'; + +// ==============================|| OVERRIDES - BACKDROP ||============================== // + +export default function Backdrop() { + return { + MuiBackdrop: { + styleOverrides: { + root: { + backgroundColor: alpha('#000', 0.2) + } + } + } + }; +} diff --git a/src/theme/components/Badge.ts b/src/theme/components/Badge.ts new file mode 100644 index 0000000..7982930 --- /dev/null +++ b/src/theme/components/Badge.ts @@ -0,0 +1,50 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; + +// ==============================|| BADGE - COLORS ||============================== // + +function getColorStyle({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { darker, lighter } = colors; + + return { + color: darker, + backgroundColor: lighter + }; +} + +// ==============================|| OVERRIDES - BADGE ||============================== // + +export default function Badge(theme: Theme) { + const defaultLightBadge = getColorStyle({ color: 'primary', theme }); + + return { + MuiBadge: { + styleOverrides: { + standard: { + minWidth: theme.spacing(2), + height: theme.spacing(2), + padding: theme.spacing(0.5) + }, + colorSecondary: { + color: theme.palette.secondary.lighter + }, + light: { + ...defaultLightBadge, + '&.MuiBadge-colorPrimary': getColorStyle({ color: 'primary', theme }), + '&.MuiBadge-colorSecondary': getColorStyle({ color: 'secondary', theme }), + '&.MuiBadge-colorError': getColorStyle({ color: 'error', theme }), + '&.MuiBadge-colorInfo': getColorStyle({ color: 'info', theme }), + '&.MuiBadge-colorSuccess': getColorStyle({ color: 'success', theme }), + '&.MuiBadge-colorWarning': getColorStyle({ color: 'warning', theme }) + } + } + } + }; +} diff --git a/src/theme/components/Body.ts b/src/theme/components/Body.ts new file mode 100644 index 0000000..54850e9 --- /dev/null +++ b/src/theme/components/Body.ts @@ -0,0 +1,13 @@ +// ==============================|| OVERRIDES - BODY ||============================== // + +export default function Body() { + return { + MuiCssBaseline: { + styleOverrides: { + body: { + fontFeatureSettings: '"salt"' + } + } + } + }; +} diff --git a/src/theme/components/Button.ts b/src/theme/components/Button.ts new file mode 100644 index 0000000..afc3f08 --- /dev/null +++ b/src/theme/components/Button.ts @@ -0,0 +1,238 @@ +// MATERIAL - UI +import { alpha, Theme } from '@mui/material'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; +import getShadow from '../../utils/getShadow'; + +// TYPES +import { ThemeMode } from '../../types/config'; +import { ButtonVariantProps, ExtendedStyleProps } from '../../types/extended'; + +// ==============================|| BUTTON - COLORS ||============================== // + +interface ButtonStyleProps extends ExtendedStyleProps { + variant: ButtonVariantProps; +} + +function getColorStyle({ variant, color, theme }: ButtonStyleProps) { + const colors = getColors(theme, color); + const { lighter, light, main, dark, darker, contrastText } = colors; + + const buttonShadow = `${color}Button`; + + const shadows = getShadow(theme, buttonShadow); + + const commonShadow = { + '&::after': { + boxShadow: `0 0 5px 5px ${alpha(main, 0.9)}` + }, + '&:active::after': { + boxShadow: `0 0 0 0 ${alpha(main, 0.9)}` + }, + '&:focus-visible': { + outline: `2px solid ${dark}`, + outlineOffset: 2 + } + }; + + switch (variant) { + case 'contained': + return { + ...(color === 'secondary' && { + backgroundColor: theme.palette.mode === ThemeMode.DARK ? light : dark + }), + '&:hover': { + backgroundColor: theme.palette.mode === ThemeMode.DARK ? lighter : dark, + ...(color === 'secondary' && { + backgroundColor: theme.palette.mode === ThemeMode.DARK ? lighter : darker + }) + }, + ...commonShadow + }; + case 'shadow': + return { + color: contrastText, + backgroundColor: theme.palette.mode === ThemeMode.DARK ? light : dark, + boxShadow: shadows, + '&:hover': { + boxShadow: 'none', + backgroundColor: theme.palette.mode === ThemeMode.DARK ? lighter : darker, + ...(color === 'secondary' && { + backgroundColor: theme.palette.mode === ThemeMode.DARK ? lighter : darker + }) + }, + ...commonShadow + }; + case 'outlined': + return { + borderColor: main, + '&:hover': { + color: dark, + backgroundColor: 'transparent', + borderColor: dark + }, + ...commonShadow + }; + case 'dashed': + return { + color: theme.palette.mode === ThemeMode.DARK ? darker : main, + borderColor: theme.palette.mode === ThemeMode.DARK ? darker : main, + backgroundColor: lighter, + '&:hover': { + color: theme.palette.mode === ThemeMode.DARK ? contrastText : dark, + borderColor: dark + }, + ...commonShadow + }; + case 'text': + default: + return { + '&:hover': { + color: theme.palette.mode === ThemeMode.DARK ? darker : dark, + backgroundColor: theme.palette.mode === ThemeMode.DARK ? lighter + 30 : lighter + }, + ...commonShadow + }; + } +} + +// ==============================|| OVERRIDES - BUTTON ||============================== // + +export default function Button(theme: Theme) { + const primaryDashed = getColorStyle({ variant: 'dashed', color: 'primary', theme }); + const primaryShadow = getColorStyle({ variant: 'shadow', color: 'primary', theme }); + + const disabledStyle = { + '&.Mui-disabled': { + backgroundColor: theme.palette.secondary[200] + } + }; + const iconStyle = { + '&>*:nth-of-type(1)': { + fontSize: 'inherit' + } + }; + + return { + MuiButton: { + defaultProps: { + disableElevation: true + }, + styleOverrides: { + root: { + fontWeight: 400, + '&::after': { + content: '""', + display: 'block', + position: 'absolute', + left: 0, + top: 0, + width: '100%', + height: '100%', + borderRadius: 8, + opacity: 0, + transition: 'all 0.5s' + }, + + '&:active::after': { + position: 'absolute', + borderRadius: 8, + left: 0, + top: 0, + opacity: 1, + transition: '0s' + } + }, + contained: { + ...disabledStyle + }, + outlined: { + ...disabledStyle + }, + text: { + boxShadow: 'none', + '&:hover': { + boxShadow: 'none' + } + }, + endIcon: { + ...iconStyle + }, + startIcon: { + ...iconStyle + }, + dashed: { + border: '1px dashed', + ...primaryDashed, + '&.MuiButton-dashedPrimary': getColorStyle({ variant: 'dashed', color: 'primary', theme }), + '&.MuiButton-dashedSecondary': getColorStyle({ variant: 'dashed', color: 'secondary', theme }), + '&.MuiButton-dashedError': getColorStyle({ variant: 'dashed', color: 'error', theme }), + '&.MuiButton-dashedSuccess': getColorStyle({ variant: 'dashed', color: 'success', theme }), + '&.MuiButton-dashedInfo': getColorStyle({ variant: 'dashed', color: 'info', theme }), + '&.MuiButton-dashedWarning': getColorStyle({ variant: 'dashed', color: 'warning', theme }), + '&.Mui-disabled': { + color: `${theme.palette.secondary.light} !important`, + borderColor: `${theme.palette.secondary[400]} !important`, + backgroundColor: `${theme.palette.secondary[200]} !important` + } + }, + shadow: { + ...primaryShadow, + '&.MuiButton-shadowPrimary': getColorStyle({ variant: 'shadow', color: 'primary', theme }), + '&.MuiButton-shadowSecondary': getColorStyle({ variant: 'shadow', color: 'secondary', theme }), + '&.MuiButton-shadowError': getColorStyle({ variant: 'shadow', color: 'error', theme }), + '&.MuiButton-shadowSuccess': getColorStyle({ variant: 'shadow', color: 'success', theme }), + '&.MuiButton-shadowInfo': getColorStyle({ variant: 'shadow', color: 'info', theme }), + '&.MuiButton-shadowWarning': getColorStyle({ variant: 'shadow', color: 'warning', theme }), + '&.Mui-disabled': { + color: `${theme.palette.secondary.light} !important`, + borderColor: `${theme.palette.secondary[400]} !important`, + backgroundColor: `${theme.palette.secondary[200]} !important` + } + }, + containedPrimary: getColorStyle({ variant: 'contained', color: 'primary', theme }), + containedSecondary: getColorStyle({ variant: 'contained', color: 'secondary', theme }), + containedError: getColorStyle({ variant: 'contained', color: 'error', theme }), + containedSuccess: getColorStyle({ variant: 'contained', color: 'success', theme }), + containedInfo: getColorStyle({ variant: 'contained', color: 'info', theme }), + containedWarning: getColorStyle({ variant: 'contained', color: 'warning', theme }), + outlinedPrimary: getColorStyle({ variant: 'outlined', color: 'primary', theme }), + outlinedSecondary: getColorStyle({ variant: 'outlined', color: 'secondary', theme }), + outlinedError: getColorStyle({ variant: 'outlined', color: 'error', theme }), + outlinedSuccess: getColorStyle({ variant: 'outlined', color: 'success', theme }), + outlinedInfo: getColorStyle({ variant: 'outlined', color: 'info', theme }), + outlinedWarning: getColorStyle({ variant: 'outlined', color: 'warning', theme }), + textPrimary: getColorStyle({ variant: 'text', color: 'primary', theme }), + textSecondary: getColorStyle({ variant: 'text', color: 'secondary', theme }), + textError: getColorStyle({ variant: 'text', color: 'error', theme }), + textSuccess: getColorStyle({ variant: 'text', color: 'success', theme }), + textInfo: getColorStyle({ variant: 'text', color: 'info', theme }), + textWarning: getColorStyle({ variant: 'text', color: 'warning', theme }), + sizeExtraSmall: { + minWidth: 56, + fontSize: '0.625rem', + padding: '2px 8px' + }, + sizeSmall: { + '& svg': { + width: 16, + height: 16 + } + }, + sizeMedium: { + '& svg': { + width: 18, + height: 18 + } + }, + sizeLarge: { + '& svg': { + width: 20, + height: 20 + } + } + } + } + }; +} diff --git a/src/theme/components/ButtonBase.ts b/src/theme/components/ButtonBase.ts new file mode 100644 index 0000000..1ad63bd --- /dev/null +++ b/src/theme/components/ButtonBase.ts @@ -0,0 +1,14 @@ +// ==============================|| OVERRIDES - BUTTON BASE ||============================== // + +import { LinkBehavior } from ".."; + +export default function ButtonBase() { + return { + MuiButtonBase: { + defaultProps: { + disableRipple: false, + LinkComponent: LinkBehavior, + } + } + }; +} diff --git a/src/theme/components/ButtonGroup.ts b/src/theme/components/ButtonGroup.ts new file mode 100644 index 0000000..14f23f7 --- /dev/null +++ b/src/theme/components/ButtonGroup.ts @@ -0,0 +1,11 @@ +// ==============================|| OVERRIDES - BUTTON GROUP ||============================== // + +export default function ButtonGroup() { + return { + MuiButtonGroup: { + defaultProps: { + disableRipple: false + } + } + }; +} diff --git a/src/theme/components/CardContent.ts b/src/theme/components/CardContent.ts new file mode 100644 index 0000000..58b8a49 --- /dev/null +++ b/src/theme/components/CardContent.ts @@ -0,0 +1,16 @@ +// ==============================|| OVERRIDES - CARD CONTENT ||============================== // + +export default function CardContent() { + return { + MuiCardContent: { + styleOverrides: { + root: { + padding: 24, + '&:last-child': { + paddingBottom: 24 + } + } + } + } + }; +} diff --git a/src/theme/components/Checkbox.tsx b/src/theme/components/Checkbox.tsx new file mode 100644 index 0000000..3966029 --- /dev/null +++ b/src/theme/components/Checkbox.tsx @@ -0,0 +1,105 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; +import { CheckboxProps } from '@mui/material/Checkbox'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; + +// ASSETS +import { Stop, TickSquare, MinusSquare } from 'iconsax-react'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; +import { ThemeMode } from '../../types/config'; + +// ==============================|| RADIO - COLORS ||============================== // + +function getColorStyle({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { lighter, main, dark } = colors; + + return { + '&:hover': { + backgroundColor: color === 'secondary' ? lighter : lighter + 50, + ...(theme.palette.mode === ThemeMode.DARK && { + backgroundColor: color === 'secondary' ? lighter + 50 : lighter + 20 + }), + '& .icon': { + borderColor: main + } + }, + '&.Mui-focusVisible': { + outline: `2px solid ${dark}`, + outlineOffset: -4 + } + }; +} + +// ==============================|| CHECKBOX - SIZE STYLE ||============================== // + +interface CheckboxSizeProps { + size: number; +} + +function getSizeStyle(size?: CheckboxProps['size']): CheckboxSizeProps { + switch (size) { + case 'small': + return { size: 20 }; + case 'large': + return { size: 28 }; + case 'medium': + default: + return { size: 24 }; + } +} + +// ==============================|| CHECKBOX - STYLE ||============================== // + +function checkboxStyle(size?: CheckboxProps['size']) { + const sizes: CheckboxSizeProps = getSizeStyle(size); + + return { + '& svg': { + width: sizes.size, + height: sizes.size + } + }; +} + +// ==============================|| OVERRIDES - CHECKBOX ||============================== // + +export default function Checkbox(theme: Theme) { + const { palette } = theme; + + return { + MuiCheckbox: { + defaultProps: { + className: 'size-medium', + icon: , + checkedIcon: , + indeterminateIcon: + }, + styleOverrides: { + root: { + borderRadius: 0, + color: palette.secondary[300], + '&.size-small': { + ...checkboxStyle('small') + }, + '&.size-medium': { + ...checkboxStyle('medium') + }, + '&.size-large': { + ...checkboxStyle('large') + } + }, + colorPrimary: getColorStyle({ color: 'primary', theme }), + colorSecondary: getColorStyle({ color: 'secondary', theme }), + colorSuccess: getColorStyle({ color: 'success', theme }), + colorWarning: getColorStyle({ color: 'warning', theme }), + colorInfo: getColorStyle({ color: 'info', theme }), + colorError: getColorStyle({ color: 'error', theme }) + } + } + }; +} diff --git a/src/theme/components/Chip.ts b/src/theme/components/Chip.ts new file mode 100644 index 0000000..b8473bc --- /dev/null +++ b/src/theme/components/Chip.ts @@ -0,0 +1,90 @@ +// MATERIAL - UI +import { Theme } from '@mui/material/styles'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; + +// ==============================|| CHIP - COLORS ||============================== // + +function getColor({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { dark } = colors; + + return { + '&.Mui-focusVisible': { + outline: `2px solid ${dark}`, + outlineOffset: 2 + } + }; +} + +function getColorStyle({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { light, lighter, main, darker } = colors; + + return { + color: darker, + backgroundColor: lighter + 80, + borderColor: light, + '& .MuiChip-deleteIcon': { + color: main, + '&:hover': { + color: light + } + } + }; +} + +// ==============================|| OVERRIDES - CHIP ||============================== // + +export default function Chip(theme: Theme) { + const defaultLightChip = getColorStyle({ color: 'secondary', theme }); + return { + MuiChip: { + styleOverrides: { + root: { + '& svg': { + width: 18, + height: 18 + }, + borderRadius: 12, + '&:active': { + boxShadow: 'none' + }, + '&.MuiChip-colorPrimary': getColor({ color: 'primary', theme }), + '&.MuiChip-colorSecondary': getColor({ color: 'secondary', theme }), + '&.MuiChip-colorError': getColor({ color: 'error', theme }), + '&.MuiChip-colorInfo': getColor({ color: 'info', theme }), + '&.MuiChip-colorSuccess': getColor({ color: 'success', theme }), + '&.MuiChip-colorWarning': getColor({ color: 'warning', theme }) + }, + sizeLarge: { + fontSize: '1rem', + height: 40 + }, + light: { + ...defaultLightChip, + '&.MuiChip-lightPrimary': getColorStyle({ color: 'primary', theme }), + '&.MuiChip-lightSecondary': getColorStyle({ color: 'secondary', theme }), + '&.MuiChip-lightError': getColorStyle({ color: 'error', theme }), + '&.MuiChip-lightInfo': getColorStyle({ color: 'info', theme }), + '&.MuiChip-lightSuccess': getColorStyle({ color: 'success', theme }), + '&.MuiChip-lightWarning': getColorStyle({ color: 'warning', theme }) + }, + combined: { + border: '1px solid', + ...defaultLightChip, + '&.MuiChip-combinedPrimary': getColorStyle({ color: 'primary', theme }), + '&.MuiChip-combinedSecondary': getColorStyle({ color: 'secondary', theme }), + '&.MuiChip-combinedError': getColorStyle({ color: 'error', theme }), + '&.MuiChip-combinedInfo': getColorStyle({ color: 'info', theme }), + '&.MuiChip-combinedSuccess': getColorStyle({ color: 'success', theme }), + '&.MuiChip-combinedWarning': getColorStyle({ color: 'warning', theme }) + } + } + } + }; +} diff --git a/src/theme/components/Dialog.ts b/src/theme/components/Dialog.ts new file mode 100644 index 0000000..067a933 --- /dev/null +++ b/src/theme/components/Dialog.ts @@ -0,0 +1,21 @@ +// MATERIAL - UI +import { alpha } from '@mui/material'; + +// ==============================|| OVERRIDES - DIALOG ||============================== // + +export default function Dialog() { + return { + MuiDialog: { + styleOverrides: { + root: { + '& .MuiBackdrop-root': { + backgroundColor: alpha('#000', 0.5) + } + }, + paper: { + backgroundImage: 'none' + } + } + } + }; +} diff --git a/src/theme/components/DialogContentText.ts b/src/theme/components/DialogContentText.ts new file mode 100644 index 0000000..f9fb8a9 --- /dev/null +++ b/src/theme/components/DialogContentText.ts @@ -0,0 +1,17 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - DIALOG CONTENT TEXT ||============================== // + +export default function DialogContentText(theme: Theme) { + return { + MuiDialogContentText: { + styleOverrides: { + root: { + fontSize: '0.875rem', + color: theme.palette.text.primary + } + } + } + }; +} diff --git a/src/theme/components/DialogTitle.ts b/src/theme/components/DialogTitle.ts new file mode 100644 index 0000000..6a30338 --- /dev/null +++ b/src/theme/components/DialogTitle.ts @@ -0,0 +1,14 @@ +// ==============================|| OVERRIDES - DIALOG TITLE ||============================== // + +export default function DialogTitle() { + return { + MuiDialogTitle: { + styleOverrides: { + root: { + fontSize: '1rem', + fontWeight: 500 + } + } + } + }; +} diff --git a/src/theme/components/Drawer.ts b/src/theme/components/Drawer.ts new file mode 100644 index 0000000..7c6f78c --- /dev/null +++ b/src/theme/components/Drawer.ts @@ -0,0 +1,13 @@ +// ==============================|| OVERRIDES - DRAWER ||============================== // + +export default function Drawer() { + return { + MuiDrawer: { + styleOverrides: { + paper: { + backgroundImage: 'none' + } + } + } + }; +} diff --git a/src/theme/components/Fab.ts b/src/theme/components/Fab.ts new file mode 100644 index 0000000..a5fbadd --- /dev/null +++ b/src/theme/components/Fab.ts @@ -0,0 +1,89 @@ +// MATERIAL - UI +import { alpha, Theme } from '@mui/material'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; +import getShadow from '../../utils/getShadow'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; + +// ==============================|| BUTTON - COLORS ||============================== // + +function getColorStyle({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { main, dark, contrastText } = colors; + + const buttonShadow = `${color}Button`; + const shadows = getShadow(theme, buttonShadow); + + return { + color: contrastText, + backgroundColor: main, + boxShadow: shadows, + '&:hover': { + boxShadow: 'none', + backgroundColor: dark + }, + '&:focus-visible': { + outline: `2px solid ${dark}`, + outlineOffset: 2 + }, + '&::after': { + borderRadius: '50px', + boxShadow: `0 0 5px 5px ${alpha(main, 0.9)}` + }, + '&:active::after': { + borderRadius: '50px', + boxShadow: `0 0 0 0 ${alpha(main, 0.9)}` + } + }; +} + +// ==============================|| OVERRIDES - FAB BUTTON ||============================== // + +export default function Fab(theme: Theme) { + return { + MuiFab: { + styleOverrides: { + root: { + '& svg': { + width: 20, + height: 20 + }, + fontWeight: 400, + '&.Mui-disabled': { + backgroundColor: theme.palette.secondary[200] + }, + '&.MuiFab-primary': getColorStyle({ color: 'primary', theme }), + '&.MuiFab-secondary': getColorStyle({ color: 'secondary', theme }), + '&.Mui-error': getColorStyle({ color: 'error', theme }), + '&.MuiFab-success': getColorStyle({ color: 'success', theme }), + '&.MuiFab-info': getColorStyle({ color: 'info', theme }), + '&.MuiFab-warning': getColorStyle({ color: 'warning', theme }), + '&::after': { + content: '""', + display: 'block', + position: 'absolute', + left: 0, + top: 0, + width: '100%', + height: '100%', + borderRadius: 4, + opacity: 0, + transition: 'all 0.5s' + }, + + '&:active::after': { + position: 'absolute', + borderRadius: 4, + left: 0, + top: 0, + opacity: 1, + transition: '0s' + } + } + } + } + }; +} diff --git a/src/theme/components/FormHelperText.ts b/src/theme/components/FormHelperText.ts new file mode 100644 index 0000000..836c3fc --- /dev/null +++ b/src/theme/components/FormHelperText.ts @@ -0,0 +1,13 @@ +// ==============================|| OVERRIDES - FORM HELPER TEXT ||============================== // + +export default function FormHelperText() { + return { + MuiFormHelperText: { + styleOverrides: { + root: { + marginLeft: 8 + } + } + } + }; +} diff --git a/src/theme/components/IconButton.ts b/src/theme/components/IconButton.ts new file mode 100644 index 0000000..34c63dd --- /dev/null +++ b/src/theme/components/IconButton.ts @@ -0,0 +1,43 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - ICON BUTTON ||============================== // + +export default function IconButton(theme: Theme) { + return { + MuiIconButton: { + styleOverrides: { + root: { + borderRadius: 8 + }, + sizeLarge: { + width: theme.spacing(5.5), + height: theme.spacing(5.5), + fontSize: '1.25rem', + '& svg': { + width: 24, + height: 24 + } + }, + sizeMedium: { + width: theme.spacing(4.5), + height: theme.spacing(4.5), + fontSize: '1rem', + '& svg': { + width: 20, + height: 20 + } + }, + sizeSmall: { + width: theme.spacing(3.75), + height: theme.spacing(3.75), + fontSize: '0.75rem', + '& svg': { + width: 16, + height: 16 + } + } + } + } + }; +} diff --git a/src/theme/components/InputBase.ts b/src/theme/components/InputBase.ts new file mode 100644 index 0000000..9e83320 --- /dev/null +++ b/src/theme/components/InputBase.ts @@ -0,0 +1,13 @@ +// ==============================|| OVERRIDES - INPUT BASE ||============================== // + +export default function InputBase() { + return { + MuiInputBase: { + styleOverrides: { + sizeSmall: { + fontSize: '0.75rem' + } + } + } + }; +} diff --git a/src/theme/components/InputLabel.ts b/src/theme/components/InputLabel.ts new file mode 100644 index 0000000..827ad57 --- /dev/null +++ b/src/theme/components/InputLabel.ts @@ -0,0 +1,28 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - INPUT LABEL ||============================== // + +export default function InputLabel(theme: Theme) { + return { + MuiInputLabel: { + styleOverrides: { + root: { + color: theme.palette.secondary.main + }, + outlined: { + lineHeight: '0.8em', + '&.MuiInputLabel-sizeSmall': { + lineHeight: '1em' + }, + '&.MuiInputLabel-shrink': { + background: theme.palette.background.paper, + padding: '0 8px', + marginLeft: -6, + lineHeight: '1.4375em' + } + } + } + } + }; +} diff --git a/src/theme/components/LinearProgress.ts b/src/theme/components/LinearProgress.ts new file mode 100644 index 0000000..20cb67d --- /dev/null +++ b/src/theme/components/LinearProgress.ts @@ -0,0 +1,17 @@ +// ==============================|| OVERRIDES - LINER PROGRESS ||============================== // + +export default function LinearProgress() { + return { + MuiLinearProgress: { + styleOverrides: { + root: { + height: 6, + borderRadius: 100 + }, + bar: { + borderRadius: 100 + } + } + } + }; +} diff --git a/src/theme/components/Link.ts b/src/theme/components/Link.ts new file mode 100644 index 0000000..a536840 --- /dev/null +++ b/src/theme/components/Link.ts @@ -0,0 +1,12 @@ +import { Components, LinkProps } from "@mui/material"; +import { LinkBehavior } from ".."; + +export default function Button(): Components { + return { + MuiLink: { + defaultProps: { + component: LinkBehavior, + } as LinkProps, + }, + }; +} diff --git a/src/theme/components/ListItemButton.ts b/src/theme/components/ListItemButton.ts new file mode 100644 index 0000000..72e8170 --- /dev/null +++ b/src/theme/components/ListItemButton.ts @@ -0,0 +1,23 @@ +import { Theme } from "@mui/material"; + +// ==============================|| OVERRIDES - LIST ITEM BUTTON ||============================== // + +export default function ListItemButton(theme: Theme) { + return { + MuiListItemButton: { + styleOverrides: { + root: { + borderRadius: 8, + marginTop: 2, + marginBottom: 2, + "&.Mui-selected": { + color: theme.palette.primary.main, + "& .MuiListItemIcon-root": { + color: theme.palette.primary.main, + }, + }, + }, + }, + }, + }; +} diff --git a/src/theme/components/ListItemIcon.ts b/src/theme/components/ListItemIcon.ts new file mode 100644 index 0000000..00eb194 --- /dev/null +++ b/src/theme/components/ListItemIcon.ts @@ -0,0 +1,16 @@ +import { Theme } from "@mui/material"; + +// ==============================|| OVERRIDES - LIST ITEM ICON ||============================== // + +export default function ListItemIcon(theme: Theme) { + return { + MuiListItemIcon: { + styleOverrides: { + root: { + minWidth: 38, + color: theme.palette.secondary.main + } + } + }, + }; +} diff --git a/src/theme/components/LoadingButton.ts b/src/theme/components/LoadingButton.ts new file mode 100644 index 0000000..3bf44aa --- /dev/null +++ b/src/theme/components/LoadingButton.ts @@ -0,0 +1,28 @@ +// ==============================|| OVERRIDES - LOADING BUTTON ||============================== // + +export default function LoadingButton() { + return { + MuiLoadingButton: { + styleOverrides: { + root: { + '& svg': { + width: 18, + height: 18 + }, + paddingLeft: 16, + paddingRight: 16, + '&.MuiLoadingButton-loading': { + opacity: 0.6, + textShadow: 'none', + '& .MuiLoadingButton-loadingIndicatorStart': { + left: 12 + }, + '& .MuiLoadingButton-loadingIndicatorEnd': { + right: 12 + } + } + } + } + } + }; +} diff --git a/src/theme/components/OutlinedInput.ts b/src/theme/components/OutlinedInput.ts new file mode 100644 index 0000000..441f3f7 --- /dev/null +++ b/src/theme/components/OutlinedInput.ts @@ -0,0 +1,73 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; +import getShadow from '../../utils/getShadow'; + +// TYPES +import { ThemeMode } from '../../types/config'; +import { ColorProps } from '../../types/extended'; + +interface Props { + variant: ColorProps; + theme: Theme; +} + +// ==============================|| OVERRIDES - INPUT BORDER & SHADOWS ||============================== // + +function getColor({ variant, theme }: Props) { + const colors = getColors(theme, variant); + const { light } = colors; + + const shadows = getShadow(theme, `${variant}`); + + return { + '&:hover .MuiOutlinedInput-notchedOutline': { + borderColor: light + }, + '&.Mui-focused': { + boxShadow: shadows, + '& .MuiOutlinedInput-notchedOutline': { + border: `1px solid ${light}` + } + } + }; +} + +// ==============================|| OVERRIDES - OUTLINED INPUT ||============================== // + +export default function OutlinedInput(theme: Theme) { + return { + MuiOutlinedInput: { + styleOverrides: { + input: { + padding: 14 + }, + notchedOutline: { + borderColor: theme.palette.mode === ThemeMode.DARK ? theme.palette.secondary[200] : theme.palette.secondary[400] + }, + root: { + '& svg': { + color: theme.palette.secondary.main + }, + ...getColor({ variant: 'primary', theme }), + '&.Mui-error': { + ...getColor({ variant: 'error', theme }) + } + }, + inputSizeSmall: { + padding: '10px 10px 10px 12px' + }, + inputMultiline: { + padding: 0 + }, + colorSecondary: getColor({ variant: 'secondary', theme }), + colorError: getColor({ variant: 'error', theme }), + colorWarning: getColor({ variant: 'warning', theme }), + colorInfo: getColor({ variant: 'info', theme }), + colorSuccess: getColor({ variant: 'success', theme }) + } + } + }; +} diff --git a/src/theme/components/Pagination.ts b/src/theme/components/Pagination.ts new file mode 100644 index 0000000..faf8d1b --- /dev/null +++ b/src/theme/components/Pagination.ts @@ -0,0 +1,11 @@ +// ==============================|| OVERRIDES - PAGINATION ||============================== // + +export default function Pagination() { + return { + MuiPagination: { + defaultProps: { + shape: 'rounded' + } + } + }; +} diff --git a/src/theme/components/PaginationItem.ts b/src/theme/components/PaginationItem.ts new file mode 100644 index 0000000..398ca83 --- /dev/null +++ b/src/theme/components/PaginationItem.ts @@ -0,0 +1,129 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; +import { PaginationProps } from '@mui/material/Pagination'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; + +// ==============================|| PAGINATION ITEM - COLORS ||============================== // + +interface PaginationStyleProps extends ExtendedStyleProps { + variant: PaginationProps['variant']; +} + +function getColorStyle({ variant, color, theme }: PaginationStyleProps) { + const colors = getColors(theme, color); + const { lighter, light, dark, main, contrastText } = colors; + + const focusStyle = { + '&:focus-visible': { + outline: `2px solid ${dark}`, + outlineOffset: 2, + ...(variant === 'text' && { + backgroundColor: theme.palette.background.paper + }) + } + }; + + switch (variant) { + case 'combined': + case 'contained': + return { + color: color === 'secondary' ? lighter : contrastText, + backgroundColor: main, + '&:hover': { + backgroundColor: light + }, + ...focusStyle + }; + case 'outlined': + return { + borderColor: main, + '&:hover': { + backgroundColor: lighter, + borderColor: light + }, + ...focusStyle + }; + case 'text': + default: + return { + color: main, + '&:hover': { + backgroundColor: main, + color: lighter + }, + ...focusStyle + }; + } +} + +// ==============================|| OVERRIDES - PAGINATION ITEM ||============================== // + +export default function PaginationItem(theme: Theme) { + return { + MuiPaginationItem: { + styleOverrides: { + root: { + '&:focus-visible': { + outline: `2px solid ${theme.palette.secondary.dark}`, + outlineOffset: 2 + } + }, + text: { + '&.Mui-selected': { + backgroundColor: 'transparent', + fontSize: '1rem', + fontWeight: 500, + '&.MuiPaginationItem-textPrimary': getColorStyle({ variant: 'text', color: 'primary', theme }), + '&.MuiPaginationItem-textSecondary': getColorStyle({ variant: 'text', color: 'secondary', theme }), + '&.MuiPaginationItem-textError': getColorStyle({ variant: 'text', color: 'error', theme }), + '&.MuiPaginationItem-textSuccess': getColorStyle({ variant: 'text', color: 'success', theme }), + '&.MuiPaginationItem-textInfo': getColorStyle({ variant: 'text', color: 'info', theme }), + '&.MuiPaginationItem-textWarning': getColorStyle({ variant: 'text', color: 'warning', theme }) + } + }, + contained: { + '&.Mui-selected': { + '&.MuiPaginationItem-containedPrimary': getColorStyle({ variant: 'contained', color: 'primary', theme }), + '&.MuiPaginationItem-containedSecondary': getColorStyle({ variant: 'contained', color: 'secondary', theme }), + '&.MuiPaginationItem-containedError': getColorStyle({ variant: 'contained', color: 'error', theme }), + '&.MuiPaginationItem-containedSuccess': getColorStyle({ variant: 'contained', color: 'success', theme }), + '&.MuiPaginationItem-containedInfo': getColorStyle({ variant: 'contained', color: 'info', theme }), + '&.MuiPaginationItem-containedWarning': getColorStyle({ variant: 'contained', color: 'warning', theme }) + } + }, + combined: { + border: '1px solid', + borderColor: theme.palette.divider, + '&.MuiPaginationItem-ellipsis': { + border: 'none' + }, + '&.Mui-selected': { + '&.MuiPaginationItem-combinedPrimary': getColorStyle({ variant: 'combined', color: 'primary', theme }), + '&.MuiPaginationItem-combinedSecondary': getColorStyle({ variant: 'combined', color: 'secondary', theme }), + '&.MuiPaginationItem-combinedError': getColorStyle({ variant: 'combined', color: 'error', theme }), + '&.MuiPaginationItem-combinedSuccess': getColorStyle({ variant: 'combined', color: 'success', theme }), + '&.MuiPaginationItem-combinedInfo': getColorStyle({ variant: 'combined', color: 'info', theme }), + '&.MuiPaginationItem-combinedWarning': getColorStyle({ variant: 'combined', color: 'warning', theme }) + } + }, + outlined: { + borderColor: theme.palette.divider, + '&.Mui-selected': { + backgroundColor: 'transparent', + '&.MuiPaginationItem-outlinedPrimary': getColorStyle({ variant: 'outlined', color: 'primary', theme }), + '&.MuiPaginationItem-outlinedSecondary': getColorStyle({ variant: 'outlined', color: 'secondary', theme }), + '&.MuiPaginationItem-outlinedError': getColorStyle({ variant: 'outlined', color: 'error', theme }), + '&.MuiPaginationItem-outlinedSuccess': getColorStyle({ variant: 'outlined', color: 'success', theme }), + '&.MuiPaginationItem-outlinedInfo': getColorStyle({ variant: 'outlined', color: 'info', theme }), + '&.MuiPaginationItem-outlinedWarning': getColorStyle({ variant: 'outlined', color: 'warning', theme }) + } + } + } + } + }; +} diff --git a/src/theme/components/Popover.ts b/src/theme/components/Popover.ts new file mode 100644 index 0000000..2056123 --- /dev/null +++ b/src/theme/components/Popover.ts @@ -0,0 +1,16 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - POPOVER ||============================== // + +export default function Popover(theme: Theme) { + return { + MuiPopover: { + styleOverrides: { + paper: { + boxShadow: theme.customShadows.z1 + } + } + } + }; +} diff --git a/src/theme/components/Radio.tsx b/src/theme/components/Radio.tsx new file mode 100644 index 0000000..874aaba --- /dev/null +++ b/src/theme/components/Radio.tsx @@ -0,0 +1,134 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; +import Box from '@mui/material/Box'; +import { CheckboxProps } from '@mui/material/Checkbox'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; +import { ThemeMode } from '../../types/config'; + +// ==============================|| RADIO - COLORS ||============================== // + +function getColorStyle({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { lighter, main, dark } = colors; + + return { + '& .dot': { + backgroundColor: main + }, + '&:hover': { + backgroundColor: color === 'secondary' ? lighter : lighter + 50, + ...(theme.palette.mode === ThemeMode.DARK && { + backgroundColor: color === 'secondary' ? lighter + 50 : lighter + 20 + }) + }, + '&.Mui-focusVisible': { + outline: `2px solid ${dark}`, + outlineOffset: -4 + } + }; +} + +// ==============================|| CHECKBOX - SIZE STYLE ||============================== // + +interface RadioSizeProps { + size: number; + dotSize: number; + position: number; +} + +function getSizeStyle(size?: CheckboxProps['size']): RadioSizeProps { + switch (size) { + case 'small': + return { size: 16, dotSize: 8, position: 3 }; + case 'large': + return { size: 24, dotSize: 12, position: 5 }; + case 'medium': + default: + return { size: 20, dotSize: 10, position: 4 }; + } +} + +// ==============================|| CHECKBOX - STYLE ||============================== // + +function radioStyle(size?: CheckboxProps['size']) { + const sizes: RadioSizeProps = getSizeStyle(size); + + return { + '& .icon': { + width: sizes.size, + height: sizes.size, + '& .dot': { + width: sizes.dotSize, + height: sizes.dotSize, + top: sizes.position, + left: sizes.position + } + } + }; +} + +// ==============================|| OVERRIDES - RADIO ||============================== // + +export default function Radio(theme: Theme) { + const { palette } = theme; + + return { + MuiRadio: { + defaultProps: { + className: 'size-medium', + icon: , + checkedIcon: ( + + + + ) + }, + styleOverrides: { + root: { + color: palette.secondary[300], + '&.size-small': { + ...radioStyle('small') + }, + '&.size-medium': { + ...radioStyle('medium') + }, + '&.size-large': { + ...radioStyle('large') + } + }, + colorPrimary: getColorStyle({ color: 'primary', theme }), + colorSecondary: getColorStyle({ color: 'secondary', theme }), + colorSuccess: getColorStyle({ color: 'success', theme }), + colorWarning: getColorStyle({ color: 'warning', theme }), + colorInfo: getColorStyle({ color: 'info', theme }), + colorError: getColorStyle({ color: 'error', theme }) + } + } + }; +} diff --git a/src/theme/components/Slider.ts b/src/theme/components/Slider.ts new file mode 100644 index 0000000..9dcc8f4 --- /dev/null +++ b/src/theme/components/Slider.ts @@ -0,0 +1,75 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// PROJECT IMPORTS +import getColors from '../../utils/getColors'; + +// TYPES +import { ExtendedStyleProps } from '../../types/extended'; + +function getColorStyle({ color, theme }: ExtendedStyleProps) { + const colors = getColors(theme, color); + const { main } = colors; + + return { + border: `2px solid ${main}` + }; +} + +// ==============================|| OVERRIDES - SLIDER ||============================== // + +export default function Slider(theme: Theme) { + return { + MuiSlider: { + styleOverrides: { + track: { + height: '1px' + }, + thumb: { + width: 14, + height: 14, + border: `2px solid ${theme.palette.primary.main}`, + backgroundColor: theme.palette.background.paper, + '&.MuiSlider-thumbColorPrimary': getColorStyle({ color: 'primary', theme }), + '&.MuiSlider-thumbColorSecondary': getColorStyle({ color: 'secondary', theme }), + '&.MuiSlider-thumbColorSuccess': getColorStyle({ color: 'success', theme }), + '&.MuiSlider-thumbColorWarning': getColorStyle({ color: 'warning', theme }), + '&.MuiSlider-thumbColorInfo': getColorStyle({ color: 'info', theme }), + '&.MuiSlider-thumbColorError': getColorStyle({ color: 'error', theme }) + }, + mark: { + width: 4, + height: 4, + borderRadius: '50%', + border: `1px solid ${theme.palette.secondary.light}`, + backgroundColor: theme.palette.background.paper, + '&.MuiSlider-markActive': { + opacity: 1, + borderColor: 'inherit', + borderWidth: 2 + } + }, + rail: { + color: theme.palette.secondary.light + }, + root: { + '&.Mui-disabled': { + '.MuiSlider-rail': { + opacity: 0.25 + }, + '.MuiSlider-track': { + color: theme.palette.secondary.lighter + }, + '.MuiSlider-thumb': { + border: `2px solid ${theme.palette.secondary.lighter}` + } + } + }, + valueLabel: { + backgroundColor: theme.palette.secondary.light, + color: theme.palette.text.primary + } + } + } + }; +} diff --git a/src/theme/components/Switch.ts b/src/theme/components/Switch.ts new file mode 100644 index 0000000..3ef9b54 --- /dev/null +++ b/src/theme/components/Switch.ts @@ -0,0 +1,100 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; +import { SwitchProps } from '@mui/material/Switch'; + +// ==============================|| SWITCH - SIZE STYLE ||============================== // + +interface SwitchSizeProps { + width: number; + height: number; + base: number; + thumb: number; + trackRadius: number; +} + +function getSizeStyle(size?: SwitchProps['size']): SwitchSizeProps { + switch (size) { + case 'small': + return { width: 28, height: 16, base: 12, thumb: 10, trackRadius: 8 }; + case 'large': + return { width: 60, height: 28, base: 32, thumb: 22, trackRadius: 24 }; + case 'medium': + default: + return { width: 44, height: 22, base: 22, thumb: 16, trackRadius: 16 }; + } +} + +function switchStyle(theme: Theme, size?: SwitchProps['size']) { + const sizes: SwitchSizeProps = getSizeStyle(size); + + return { + width: sizes.width, + height: sizes.height, + '& .MuiSwitch-switchBase': { + padding: 3, + '&.Mui-checked': { + transform: `translateX(${sizes.base}px)` + } + }, + '& .MuiSwitch-thumb': { + width: sizes.thumb, + height: sizes.thumb + }, + '& .MuiSwitch-track': { + borderRadius: sizes.trackRadius + } + }; +} + +// ==============================|| OVERRIDES - SWITCH ||============================== // + +export default function Switch(theme: Theme) { + return { + MuiSwitch: { + styleOverrides: { + track: { + opacity: 1, + backgroundColor: theme.palette.secondary[400], + boxSizing: 'border-box' + }, + thumb: { + borderRadius: '50%', + transition: theme.transitions.create(['width'], { + duration: 200 + }) + }, + switchBase: { + '&.Mui-checked': { + color: '#fff', + '& + .MuiSwitch-track': { + opacity: 1 + }, + '&.Mui-disabled': { + color: theme.palette.background.paper + } + }, + '&.Mui-disabled': { + color: theme.palette.background.paper, + '+.MuiSwitch-track': { + opacity: 0.3 + } + } + }, + root: { + color: theme.palette.text.primary, + padding: 0, + margin: 8, + display: 'flex', + '& ~ .MuiFormControlLabel-label': { + margin: 6 + }, + ...switchStyle(theme, 'medium') + }, + sizeLarge: { ...switchStyle(theme, 'large') }, + sizeSmall: { + ...switchStyle(theme, 'small') + } + } + } + }; +} diff --git a/src/theme/components/Tab.ts b/src/theme/components/Tab.ts new file mode 100644 index 0000000..b166232 --- /dev/null +++ b/src/theme/components/Tab.ts @@ -0,0 +1,30 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - TAB ||============================== // + +export default function Tab(theme: Theme) { + return { + MuiTab: { + styleOverrides: { + root: { + minHeight: 46, + color: theme.palette.text.primary, + borderRadius: 4, + '&:hover': { + color: theme.palette.primary.main + }, + '&:focus-visible': { + borderRadius: 4, + outline: `2px solid ${theme.palette.secondary.dark}`, + outlineOffset: -3 + }, + '& svg.MuiTab-iconWrapper': { + width: 18, + height: 18 + } + } + } + } + }; +} diff --git a/src/theme/components/TableBody.ts b/src/theme/components/TableBody.ts new file mode 100644 index 0000000..881d88e --- /dev/null +++ b/src/theme/components/TableBody.ts @@ -0,0 +1,30 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - TABLE BODY ||============================== // + +export default function TableBody(theme: Theme) { + const hoverStyle = { + '&:hover': { + backgroundColor: theme.palette.secondary.lighter + } + }; + + return { + MuiTableBody: { + styleOverrides: { + root: { + '&.striped .MuiTableRow-root': { + '&:nth-of-type(even)': { + backgroundColor: theme.palette.secondary.lighter + }, + ...hoverStyle + }, + '& .MuiTableRow-root': { + ...hoverStyle + } + } + } + } + }; +} diff --git a/src/theme/components/TableCell.ts b/src/theme/components/TableCell.ts new file mode 100644 index 0000000..866a472 --- /dev/null +++ b/src/theme/components/TableCell.ts @@ -0,0 +1,66 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - TABLE CELL ||============================== // + +export default function TableCell(theme: Theme) { + const commonCell = { + '&:not(:last-of-type)': { + position: 'relative', + '&:after': { + position: 'absolute', + content: '""', + backgroundColor: theme.palette.divider, + width: 1, + height: 'calc(100% - 30px)', + right: 0, + top: 16 + } + } + }; + + return { + MuiTableCell: { + styleOverrides: { + root: { + fontSize: '0.875rem', + padding: 12, + borderColor: theme.palette.divider, + '&.cell-right': { + justifyContent: 'flex-end', + textAlign: 'right', + '& > *': { + justifyContent: 'flex-end', + margin: '0 0 0 auto' + }, + '& .MuiOutlinedInput-input': { + textAlign: 'right' + } + }, + '&.cell-center': { + justifyContent: 'center', + textAlign: 'center', + '& > *': { + justifyContent: 'center', + margin: '0 auto' + } + } + }, + sizeSmall: { + padding: 8 + }, + head: { + fontSize: '0.75rem', + fontWeight: 700, + textTransform: 'uppercase', + ...commonCell + }, + footer: { + fontSize: '0.75rem', + textTransform: 'uppercase', + ...commonCell + } + } + } + }; +} diff --git a/src/theme/components/TableFooter.ts b/src/theme/components/TableFooter.ts new file mode 100644 index 0000000..54c5a03 --- /dev/null +++ b/src/theme/components/TableFooter.ts @@ -0,0 +1,18 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - TABLE FOOTER ||============================== // + +export default function TableFooter(theme: Theme) { + return { + MuiTableFooter: { + styleOverrides: { + root: { + backgroundColor: theme.palette.secondary.lighter, + borderTop: `2px solid ${theme.palette.divider}`, + borderBottom: `1px solid ${theme.palette.divider}` + } + } + } + }; +} diff --git a/src/theme/components/TableHead.ts b/src/theme/components/TableHead.ts new file mode 100644 index 0000000..67de068 --- /dev/null +++ b/src/theme/components/TableHead.ts @@ -0,0 +1,18 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - TABLE HEAD ||============================== // + +export default function TableHead(theme: Theme) { + return { + MuiTableHead: { + styleOverrides: { + root: { + backgroundColor: theme.palette.secondary.lighter, + borderTop: `1px solid ${theme.palette.divider}`, + borderBottom: `2px solid ${theme.palette.divider}` + } + } + } + }; +} diff --git a/src/theme/components/TablePagination.ts b/src/theme/components/TablePagination.ts new file mode 100644 index 0000000..6f2a48e --- /dev/null +++ b/src/theme/components/TablePagination.ts @@ -0,0 +1,16 @@ +// ==============================|| OVERRIDES - TABLE PAGINATION ||============================== // + +export default function TablePagination() { + return { + MuiTablePagination: { + styleOverrides: { + selectLabel: { + fontSize: '0.875rem' + }, + displayedRows: { + fontSize: '0.875rem' + } + } + } + }; +} diff --git a/src/theme/components/TableRow.ts b/src/theme/components/TableRow.ts new file mode 100644 index 0000000..498bf97 --- /dev/null +++ b/src/theme/components/TableRow.ts @@ -0,0 +1,25 @@ +// ==============================|| OVERRIDES - TABLE ROW ||============================== // + +export default function TableRow() { + return { + MuiTableRow: { + styleOverrides: { + root: { + '&:last-of-type': { + '& .MuiTableCell-root': { + borderBottom: 'none' + } + }, + '& .MuiTableCell-root': { + '&:last-of-type': { + paddingRight: 24 + }, + '&:first-of-type': { + paddingLeft: 24 + } + } + } + } + } + }; +} diff --git a/src/theme/components/Tabs.ts b/src/theme/components/Tabs.ts new file mode 100644 index 0000000..661de7d --- /dev/null +++ b/src/theme/components/Tabs.ts @@ -0,0 +1,13 @@ +// ==============================|| OVERRIDES - TABS ||============================== // + +export default function Tabs() { + return { + MuiTabs: { + styleOverrides: { + vertical: { + overflow: 'visible' + } + } + } + }; +} diff --git a/src/theme/components/ToggleButton.ts b/src/theme/components/ToggleButton.ts new file mode 100644 index 0000000..ea32aaa --- /dev/null +++ b/src/theme/components/ToggleButton.ts @@ -0,0 +1,27 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - TOGGLE BUTTON ||============================== // + +export default function ToggleButton(theme: Theme) { + return { + MuiToggleButton: { + styleOverrides: { + root: { + '& svg': { + width: 18, + height: 18 + }, + '&.Mui-disabled': { + borderColor: theme.palette.divider, + color: theme.palette.text.disabled + }, + '&:focus-visible': { + outline: `2px solid ${theme.palette.secondary.dark}`, + outlineOffset: 2 + } + } + } + } + }; +} diff --git a/src/theme/components/Tooltip.ts b/src/theme/components/Tooltip.ts new file mode 100644 index 0000000..b70d6a9 --- /dev/null +++ b/src/theme/components/Tooltip.ts @@ -0,0 +1,17 @@ +// MATERIAL - UI +import { Theme } from '@mui/material'; + +// ==============================|| OVERRIDES - TOOLTIP ||============================== // + +export default function Tooltip(theme: Theme) { + return { + MuiTooltip: { + styleOverrides: { + tooltip: { + backgroundColor: theme.palette.secondary.darker, + color: theme.palette.background.paper + } + } + } + }; +} diff --git a/src/theme/components/TreeItem.ts b/src/theme/components/TreeItem.ts new file mode 100644 index 0000000..cba9c49 --- /dev/null +++ b/src/theme/components/TreeItem.ts @@ -0,0 +1,19 @@ +// ==============================|| OVERRIDES - TREE ITEM ||============================== // + +export default function TreeItem() { + return { + MuiTreeItem: { + styleOverrides: { + content: { + padding: 8 + }, + label: { + '& svg': { + width: 20, + height: 20 + } + } + } + } + }; +} diff --git a/src/theme/components/Typography.ts b/src/theme/components/Typography.ts new file mode 100644 index 0000000..1bd78ad --- /dev/null +++ b/src/theme/components/Typography.ts @@ -0,0 +1,13 @@ +// ==============================|| OVERRIDES - TYPOGRAPHY ||============================== // + +export default function Typography() { + return { + MuiTypography: { + styleOverrides: { + gutterBottom: { + marginBottom: 12 + } + } + } + }; +} diff --git a/src/theme/components/index.ts b/src/theme/components/index.ts new file mode 100644 index 0000000..b711ef4 --- /dev/null +++ b/src/theme/components/index.ts @@ -0,0 +1,104 @@ +import { Theme } from "@mui/material"; +import { merge } from "lodash"; + +import Accordion from './Accordion'; +import AccordionDetails from './AccordionDetails'; +import AccordionSummary from './AccordionSummary'; +import Alert from './Alert'; +import AlertTitle from './AlertTitle'; +import Autocomplete from './Autocomplete'; +import Badge from './Badge'; +import Backdrop from './Backdrop'; +import Body from './Body'; +import Button from './Button'; +import ButtonBase from './ButtonBase'; +import ButtonGroup from './ButtonGroup'; +import CardContent from './CardContent'; +import Checkbox from './Checkbox'; +import Chip from './Chip'; +import Dialog from './Dialog'; +import DialogContentText from './DialogContentText'; +import DialogTitle from './DialogTitle'; +import Drawer from './Drawer'; +import Fab from './Fab'; +import FormHelperText from './FormHelperText'; +import IconButton from './IconButton'; +import InputBase from './InputBase'; +import InputLabel from './InputLabel'; +import LinearProgress from './LinearProgress'; +import Link from './Link'; +import ListItemButton from './ListItemButton'; +import ListItemIcon from './ListItemIcon'; +import LoadingButton from './LoadingButton'; +import OutlinedInput from './OutlinedInput'; +import Pagination from './Pagination'; +import PaginationItem from './PaginationItem'; +import Popover from './Popover'; +import Radio from './Radio'; +import Slider from './Slider'; +import Switch from './Switch'; +import Tab from './Tab'; +import TableBody from './TableBody'; +import TableCell from './TableCell'; +import TableFooter from './TableFooter'; +import TableHead from './TableHead'; +import TablePagination from './TablePagination'; +import TableRow from './TableRow'; +import Tabs from './Tabs'; +import ToggleButton from './ToggleButton'; +import Tooltip from './Tooltip'; +import TreeItem from './TreeItem'; +import Typography from './Typography'; + +export default function ComponentsOverrides(theme: Theme) { + return merge( + Accordion(theme), + AccordionDetails(theme), + AccordionSummary(theme), + Alert(theme), + AlertTitle(), + Autocomplete(), + Badge(theme), + Backdrop(), + Body(), + Button(theme), + ButtonBase(), + ButtonGroup(), + CardContent(), + Checkbox(theme), + Chip(theme), + Dialog(), + DialogContentText(theme), + DialogTitle(), + Drawer(), + Fab(theme), + FormHelperText(), + IconButton(theme), + InputBase(), + InputLabel(theme), + LinearProgress(), + Link(), + ListItemButton(theme), + ListItemIcon(theme), + LoadingButton(), + OutlinedInput(theme), + Pagination(), + PaginationItem(theme), + Popover(theme), + Radio(theme), + Slider(theme), + Switch(theme), + Tab(theme), + TableBody(theme), + TableCell(theme), + TableFooter(theme), + TableHead(theme), + TablePagination(), + TableRow(), + Tabs(), + ToggleButton(theme), + Tooltip(theme), + TreeItem(), + Typography() + ); +} diff --git a/src/theme/index.tsx b/src/theme/index.tsx new file mode 100644 index 0000000..e88a913 --- /dev/null +++ b/src/theme/index.tsx @@ -0,0 +1,76 @@ +import { Link as RouterLink, LinkProps as RouterLinkProps } from "react-router"; +import { + createTheme, + ThemeOptions, + ThemeProvider, + TypographyVariantsOptions, +} from "@mui/material"; +import React, { useMemo } from "react"; +import ComponentsOverrides from "./components"; +import Palette from "./pallete"; +import CustomShadows from "./shadows"; +import Typography from "./typography"; +import { ThemeMode } from "../types/config"; +import { CustomShadowProps } from "../types/theme"; + +export const LinkBehavior = React.forwardRef< + HTMLAnchorElement, + Omit & { href: RouterLinkProps["to"] } +>((props, ref) => { + const { href, ...other } = props; + // Map href (Material UI) -> to (react-router) + return ; +}); + +export default function ThemeCustomization({ + children, +}: { + children: React.ReactNode; +}) { + let themeMode: any = ThemeMode.LIGHT; + const fontFamily = '"Public Sans", sans-serif'; + + const getWindowScheme = () => { + if (typeof window !== "undefined") { + return window.matchMedia("(prefers-color-scheme: dark)").matches; + } + return false; + }; + + if (themeMode === ThemeMode.AUTO) { + const autoMode = getWindowScheme(); + if (autoMode) { + themeMode = ThemeMode.DARK; + } else { + themeMode = ThemeMode.LIGHT; + } + } + + const theme = Palette(ThemeMode.LIGHT); + + const themeTypography: TypographyVariantsOptions = + useMemo( + () => Typography(themeMode, fontFamily, theme), + // eslint-disable-next-line react-hooks/exhaustive-deps + [themeMode, fontFamily] + ); + const themeCustomShadows: CustomShadowProps = useMemo( + () => CustomShadows(theme), + [theme] + ); + + const themeOptions: ThemeOptions = useMemo( + () => ({ + palette: theme.palette, + customShadows: themeCustomShadows, + typography: themeTypography, + }), + [theme, themeCustomShadows, themeTypography] + ); + + const themes = createTheme(themeOptions); + + themes.components = ComponentsOverrides(themes); + + return {children}; +} diff --git a/src/theme/pallete.ts b/src/theme/pallete.ts new file mode 100644 index 0000000..eac7791 --- /dev/null +++ b/src/theme/pallete.ts @@ -0,0 +1,81 @@ +import { createTheme } from '@mui/material'; +import { PaletteMode, SimplePaletteColorOptions } from '@mui/material'; +import { ThemeMode } from '../types/config'; + +export type PaletteThemeProps = { + primary: SimplePaletteColorOptions; + secondary: SimplePaletteColorOptions; + error: SimplePaletteColorOptions; + warning: SimplePaletteColorOptions; + info: SimplePaletteColorOptions; + success: SimplePaletteColorOptions; +}; + +// ==============================|| DEFAULT THEME - PALETTE ||============================== // + +const Palette = (mode: ThemeMode) => { + const paletteColor: PaletteThemeProps = { + primary: { + lighter: "#fef2f2", + 100: "#fee2e2", + 200: "#fecaca", + light: "#fca5a5", + 400: "#f87171", + main: "#ef4444", + dark: "#dc2626", + 700: "#b71c1c", + darker: "#991b1b", + 900: "#7f1d1d", + }, + secondary: { + lighter: "#ffeff2", + 100: "#ffe0e7", + 200: "#ffc6d6", + light: "#ff97b3", + 400: "#ff5d8c", + main: "#ff246a", + dark: "#f50057", + 700: "#d7004c", + darker: "#b40048", + 900: "#990244", + }, + error: { + main: "#f44336" + }, + warning: { + main: "#ff9800" + }, + info: { + main: "#2196f3" + }, + success: { + main: "#4caf50" + } + }; + + return createTheme({ + palette: { + mode: mode as PaletteMode, + common: { + black: '#000', + white: '#fff' + }, + ...paletteColor, + // text: { + // primary: mode === ThemeMode.DARK ? alpha(paletteColor.secondary.darker!, 0.87) : paletteColor.secondary[800], + // secondary: mode === ThemeMode.DARK ? alpha(paletteColor.secondary.darker!, 0.45) : paletteColor.secondary.main, + // disabled: mode === ThemeMode.DARK ? alpha(paletteColor.secondary.darker!, 0.1) : paletteColor.secondary[400] + // }, + action: { + disabled: paletteColor.secondary.light + }, + // divider: mode === ThemeMode.DARK ? alpha(paletteColor.secondary.darker!, 0.05) : alpha(paletteColor.secondary.light!, 0.65), + // background: { + // paper: mode === ThemeMode.DARK ? paletteColor.secondary[100] : '#fff', + // default: themeContrast && mode !== ThemeMode.DARK ? '#fff' : paletteColor.secondary.lighter + // } + } + }); +}; + +export default Palette; diff --git a/src/theme/shadows.ts b/src/theme/shadows.ts new file mode 100644 index 0000000..63181ed --- /dev/null +++ b/src/theme/shadows.ts @@ -0,0 +1,38 @@ +// MATERIAL - UI +import { alpha, Theme } from '@mui/material'; + +// TYPES +import { ThemeMode } from '../types/config'; +import { CustomShadowProps } from '../types/theme'; + +// ==============================|| DEFAULT THEME - SHADOWS ||============================== // + +const CustomShadows = (theme: Theme): CustomShadowProps => ({ + // z1: `0px 2px 8px rgba(0, 0, 0, 0.15)`, + button: theme.palette.mode === ThemeMode.DARK ? `0 2px 0 rgb(0 0 0 / 5%)` : `0 2px #0000000b`, + text: `0 -1px 0 rgb(0 0 0 / 12%)`, + z1: + theme.palette.mode === ThemeMode.DARK + ? `0px 8px 24px ${alpha(theme.palette.secondary[200]!, 0.3)}` + : `0px 8px 24px ${alpha(theme.palette.secondary.dark, 0.08)}`, + z2: + theme.palette.mode === ThemeMode.DARK + ? `0px 2px 8px ${alpha(theme.palette.secondary[200]!, 0.3)}` + : `0px 2px 8px ${alpha(theme.palette.secondary.dark, 0.08)}`, + primary: `0 0 0 2px ${alpha(theme.palette.primary.main, 0.1)}`, + secondary: `0 0 0 2px ${alpha(theme.palette.secondary.main, 0.2)}`, + error: `0 0 0 2px ${alpha(theme.palette.error.main, 0.2)}`, + warning: `0 0 0 2px ${alpha(theme.palette.warning.main, 0.2)}`, + info: `0 0 0 2px ${alpha(theme.palette.info.main, 0.2)}`, + success: `0 0 0 2px ${alpha(theme.palette.success.main, 0.2)}`, + grey: `0 0 0 2px ${alpha(theme.palette.secondary.main, 0.2)}`, + primaryButton: `0 14px 12px ${alpha(theme.palette.primary.main, 0.2)}`, + secondaryButton: `0 14px 12px ${alpha(theme.palette.secondary.main, 0.2)}`, + errorButton: `0 14px 12px ${alpha(theme.palette.error.main, 0.2)}`, + warningButton: `0 14px 12px ${alpha(theme.palette.warning.main, 0.2)}`, + infoButton: `0 14px 12px ${alpha(theme.palette.info.main, 0.2)}`, + successButton: `0 14px 12px ${alpha(theme.palette.success.main, 0.2)}`, + greyButton: `0 14px 12px ${alpha(theme.palette.secondary.main, 0.2)}` +}); + +export default CustomShadows; diff --git a/src/theme/typography.ts b/src/theme/typography.ts new file mode 100644 index 0000000..6c17ca0 --- /dev/null +++ b/src/theme/typography.ts @@ -0,0 +1,75 @@ +// MATERIAL - UI +import { Theme, TypographyVariantsOptions } from '@mui/material/styles'; +import { FontFamily, ThemeMode } from '../types/config'; + +// ==============================|| DEFAULT THEME - TYPOGRAPHY ||============================== // + +const Typography = (mode: ThemeMode, fontFamily: FontFamily, theme: Theme): TypographyVariantsOptions => ({ + htmlFontSize: 16, + fontFamily, + fontWeightLight: 300, + fontWeightRegular: 400, + fontWeightMedium: 500, + fontWeightBold: 600, + h1: { + fontWeight: 600, + fontSize: '2.375rem', + lineHeight: 1.21 + }, + h2: { + fontWeight: 600, + fontSize: '1.875rem', + lineHeight: 1.27 + }, + h3: { + fontWeight: 600, + fontSize: '1.5rem', + lineHeight: 1.33 + }, + h4: { + fontWeight: 600, + fontSize: '1.25rem', + lineHeight: 1.4 + }, + h5: { + fontWeight: 600, + fontSize: '1rem', + lineHeight: 1.5 + }, + h6: { + fontWeight: 400, + fontSize: '0.875rem', + lineHeight: 1.57 + }, + caption: { + fontWeight: 400, + fontSize: '0.75rem', + lineHeight: 1.66 + }, + body1: { + fontSize: '0.875rem', + lineHeight: 1.57 + }, + body2: { + fontSize: '0.75rem', + lineHeight: 1.66 + }, + subtitle1: { + fontSize: '0.875rem', + fontWeight: 600, + lineHeight: 1.57 + }, + subtitle2: { + fontSize: '0.75rem', + fontWeight: 500, + lineHeight: 1.66 + }, + overline: { + lineHeight: 1.66 + }, + button: { + textTransform: 'capitalize' + } +}); + +export default Typography; diff --git a/src/types/config.ts b/src/types/config.ts new file mode 100644 index 0000000..4b36fc7 --- /dev/null +++ b/src/types/config.ts @@ -0,0 +1,140 @@ +export type FontFamily = string; +export type PresetColor = 'default' | 'theme1' | 'theme2' | 'theme3' | 'theme4' | 'theme5' | 'theme6' | 'theme7' | 'theme8'; +export type I18n = 'en' | 'fr' | 'ro' | 'zh'; // 'en' - English, 'fr' - French, 'ro' - Romanian, 'zh' - Chinese + +export enum ThemeMode { + LIGHT = 'light', + DARK = 'dark', + AUTO = 'auto' +} + +export enum MenuOrientation { + VERTICAL = 'vertical', + HORIZONTAL = 'horizontal' +} + +export enum ThemeDirection { + LTR = 'ltr', + RTL = 'rtl' +} + +// ==============================|| TYPES - CONFIG ||============================== // + +export type CustomizationActionProps = { + type: string; + payload?: CustomizationProps; +}; + +export type DefaultConfigProps = { + /** + * The props used for the theme font-style. + * We use options from next/font ref - + * https://nextjs.org/docs/pages/building-your-application/optimizing/fonts + * https://fonts.google.com/variablefonts + */ + fontFamily: FontFamily; + + /** + * The props used for display menu-items with multi-language. + * We provide static below languages according to 'react-intl' options - https://www.npmjs.com/package/react-intl + * 'en' (default) + * 'fr' + * 'ro' + * 'zh' + */ + i18n: I18n; + + /** + * the props used for menu orientation (diffrent theme layout). + * we provide static below options - + * 'vertical' (default) + * 'horizontal' + */ + menuOrientation: MenuOrientation; + + /** + * the props used for show/hide caption drawer + * default - true + * false - will hide menu caption + */ + menuCaption: boolean; + + /** + * the props used for show mini variant drawer + * the mini variant is recommended for apps sections that need quick selection access alongside content. + * default - false + */ + miniDrawer: boolean; + + /** + * the props used for theme container. + * the container centers your content horizontally. It's the most basic layout element. + * default - true which show container + * false - will show fluid + */ + container: boolean; + + /** + * the props used for default theme palette mode + * explore the default theme + * below theme options - + * 'light' (default) + * 'dark' + */ + mode: ThemeMode; + + /** + * the props used for theme primary color variants + * we provide static below options thoe s are already defaine in src/themes/theme - + * 'default' + * 'theme1' + * 'theme2' + * 'theme3' + * 'theme4' + * 'theme5' + * 'theme6' + * 'theme7' + * 'theme8' + */ + presetColor: PresetColor; + + /** + * the props used for default theme direction + * explore the default theme + * below theme options - + * 'ltr' (default) + * 'rtl' + */ + themeDirection: ThemeDirection; + + /** + * the props used for theme contrast. + * set box-shadow . + * default - false which show card without box-shadow and background default + * true - will show card with box-shadow and background pure white + */ + themeContrast: boolean; +}; + +export type CustomizationProps = { + fontFamily: FontFamily; + i18n: I18n; + miniDrawer: boolean; + container: boolean; + menuOrientation: MenuOrientation; + menuCaption: boolean; + mode: ThemeMode; + presetColor: PresetColor; + themeDirection: ThemeDirection; + themeContrast: boolean; + onChangeContainer: VoidFunction; + onChangeLocalization: (lang: I18n) => void; + onChangeMode: (mode: ThemeMode) => void; + onChangePresetColor: (theme: PresetColor) => void; + onChangeDirection: (direction: ThemeDirection) => void; + onChangeMiniDrawer: (miniDrawer: boolean) => void; + onChangeMenuOrientation: (menuOrientation: MenuOrientation) => void; + onChangeMenuCaption: VoidFunction; + onChangeFontFamily: (fontFamily: FontFamily) => void; + onChangeContrast: VoidFunction; +}; diff --git a/src/types/extended.ts b/src/types/extended.ts new file mode 100644 index 0000000..800d933 --- /dev/null +++ b/src/types/extended.ts @@ -0,0 +1,25 @@ +import { Theme } from '@mui/material'; +import { ButtonProps } from '@mui/material/Button'; +import { ChipProps } from '@mui/material/Chip'; +import { IconButtonProps } from '@mui/material/IconButton'; +import { SliderProps } from '@mui/material/Slider'; +import { LoadingButtonProps } from '@mui/lab'; + +// ==============================|| TYPES - EXTENDED COMPONENT ||============================== // + +export type ButtonVariantProps = 'contained' | 'light' | 'outlined' | 'dashed' | 'text' | 'shadow'; +export type IconButtonShapeProps = 'rounded' | 'square'; +type TooltipColor = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'default'; +export type ColorProps = + | ChipProps['color'] + | ButtonProps['color'] + | LoadingButtonProps['color'] + | IconButtonProps['color'] + | SliderProps['color'] + | TooltipColor; +export type AvatarTypeProps = 'filled' | 'outlined' | 'combined'; +export type SizeProps = 'badge' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'; +export type ExtendedStyleProps = { + color: ColorProps; + theme: Theme; +}; diff --git a/src/types/overrides/Alert.d.ts b/src/types/overrides/Alert.d.ts new file mode 100644 index 0000000..7c3a816 --- /dev/null +++ b/src/types/overrides/Alert.d.ts @@ -0,0 +1,12 @@ +// eslint-disable-next-line +import * as Alert from '@mui/material/Alert'; + +declare module '@mui/material/Alert' { + interface AlertPropsColorOverrides { + primary; + secondary; + } + interface AlertPropsVariantOverrides { + border; + } +} diff --git a/src/types/overrides/Badge.d.ts b/src/types/overrides/Badge.d.ts new file mode 100644 index 0000000..1bd9870 --- /dev/null +++ b/src/types/overrides/Badge.d.ts @@ -0,0 +1,8 @@ +// eslint-disable-next-line +import * as Badge from '@mui/material/Badge'; + +declare module '@mui/material/Badge' { + interface BadgePropsVariantOverrides { + light; + } +} diff --git a/src/types/overrides/Button.d.ts b/src/types/overrides/Button.d.ts new file mode 100644 index 0000000..76c6bc5 --- /dev/null +++ b/src/types/overrides/Button.d.ts @@ -0,0 +1,14 @@ +// eslint-disable-next-line +import * as Button from '@mui/material/Button'; + +declare module '@mui/material/Button' { + interface ButtonPropsVariantOverrides { + dashed; + shadow; + light; + } + + interface ButtonPropsSizeOverrides { + extraSmall; + } +} diff --git a/src/types/overrides/Checkbox.d.ts b/src/types/overrides/Checkbox.d.ts new file mode 100644 index 0000000..bd5bd88 --- /dev/null +++ b/src/types/overrides/Checkbox.d.ts @@ -0,0 +1,8 @@ +// eslint-disable-next-line +import * as Checkbox from '@mui/material/Checkbox'; + +declare module '@mui/material/Checkbox' { + interface CheckboxPropsSizeOverrides { + large; + } +} diff --git a/src/types/overrides/Chip.d.ts b/src/types/overrides/Chip.d.ts new file mode 100644 index 0000000..4cbfad4 --- /dev/null +++ b/src/types/overrides/Chip.d.ts @@ -0,0 +1,12 @@ +// eslint-disable-next-line +import * as Chip from '@mui/material/Chip'; + +declare module '@mui/material/Chip' { + interface ChipPropsVariantOverrides { + light; + combined; + } + interface ChipPropsSizeOverrides { + large; + } +} diff --git a/src/types/overrides/Pagination.d.ts b/src/types/overrides/Pagination.d.ts new file mode 100644 index 0000000..a9b4288 --- /dev/null +++ b/src/types/overrides/Pagination.d.ts @@ -0,0 +1,15 @@ +// eslint-disable-next-line +import * as Pagination from '@mui/material/Pagination'; + +declare module '@mui/material/Pagination' { + interface PaginationPropsColorOverrides { + error; + success; + warning; + info; + } + interface PaginationPropsVariantOverrides { + contained; + combined; + } +} diff --git a/src/types/overrides/Radio.d.ts b/src/types/overrides/Radio.d.ts new file mode 100644 index 0000000..ddd7640 --- /dev/null +++ b/src/types/overrides/Radio.d.ts @@ -0,0 +1,8 @@ +// eslint-disable-next-line +import * as Radio from '@mui/material/Radio'; + +declare module '@mui/material/Radio' { + interface RadioPropsSizeOverrides { + large; + } +} diff --git a/src/types/overrides/Slider.d.ts b/src/types/overrides/Slider.d.ts new file mode 100644 index 0000000..bbb2cf8 --- /dev/null +++ b/src/types/overrides/Slider.d.ts @@ -0,0 +1,11 @@ +// eslint-disable-next-line +import * as Slider from '@mui/material/Slider'; + +declare module '@mui/material/Slider' { + interface SliderPropsColorOverrides { + error; + success; + warning; + info; + } +} diff --git a/src/types/overrides/Switch.d.ts b/src/types/overrides/Switch.d.ts new file mode 100644 index 0000000..c9050b5 --- /dev/null +++ b/src/types/overrides/Switch.d.ts @@ -0,0 +1,8 @@ +// eslint-disable-next-line +import * as Switch from '@mui/material/Switch'; + +declare module '@mui/material/Switch' { + interface SwitchPropsSizeOverrides { + large; + } +} diff --git a/src/types/overrides/createPalette.d.ts b/src/types/overrides/createPalette.d.ts new file mode 100644 index 0000000..0040553 --- /dev/null +++ b/src/types/overrides/createPalette.d.ts @@ -0,0 +1,36 @@ +// eslint-disable-next-line +import * as createPalette from '@mui/material'; + +declare module '@mui/material/styles' { + interface SimplePaletteColorOptions { + lighter?: string; + darker?: string; + 0?: string; + 50?: string; + 100?: string; + 200?: string; + 300?: string; + 400?: string; + 500?: string; + 600?: string; + 700?: string; + 800?: string; + 900?: string; + } + + interface PaletteColor { + lighter: string; + darker: string; + 0?: string; + 50?: string; + 100?: string; + 200?: string; + 300?: string; + 400?: string; + 500?: string; + 600?: string; + 700?: string; + 800?: string; + 900?: string; + } +} diff --git a/src/types/overrides/createTheme.d.ts b/src/types/overrides/createTheme.d.ts new file mode 100644 index 0000000..f74453a --- /dev/null +++ b/src/types/overrides/createTheme.d.ts @@ -0,0 +1,11 @@ +// eslint-disable-next-line +import * as Theme from '@mui/material'; + +// PROJECT IMPORTS +import { CustomShadowProps } from 'types/theme'; + +declare module '@mui/material/styles' { + interface Theme { + customShadows: CustomShadowProps; + } +} diff --git a/src/types/overrides/index.d.ts b/src/types/overrides/index.d.ts new file mode 100644 index 0000000..efaaa60 --- /dev/null +++ b/src/types/overrides/index.d.ts @@ -0,0 +1,8 @@ +// eslint-disable-next-line +import * as Color from '@mui/material'; + +declare module '@mui/material' { + interface Color { + 0?: string; + } +} diff --git a/src/types/overrides/react-table-config.d.ts b/src/types/overrides/react-table-config.d.ts new file mode 100644 index 0000000..5ae9ad1 --- /dev/null +++ b/src/types/overrides/react-table-config.d.ts @@ -0,0 +1,119 @@ +import { + UseColumnOrderInstanceProps, + UseColumnOrderState, + UseExpandedHooks, + UseExpandedInstanceProps, + UseExpandedOptions, + UseExpandedRowProps, + UseExpandedState, + UseFiltersColumnOptions, + UseFiltersColumnProps, + UseFiltersInstanceProps, + UseFiltersOptions, + UseFiltersState, + UseGlobalFiltersColumnOptions, + UseGlobalFiltersInstanceProps, + UseGlobalFiltersOptions, + UseGlobalFiltersState, + UseGroupByCellProps, + UseGroupByColumnOptions, + UseGroupByColumnProps, + UseGroupByHooks, + UseGroupByInstanceProps, + UseGroupByOptions, + UseGroupByRowProps, + UseGroupByState, + UsePaginationInstanceProps, + UsePaginationOptions, + UsePaginationState, + UseResizeColumnsColumnOptions, + UseResizeColumnsColumnProps, + UseResizeColumnsOptions, + UseResizeColumnsState, + UseRowSelectHooks, + UseRowSelectInstanceProps, + UseRowSelectOptions, + UseRowSelectRowProps, + UseRowSelectState, + UseRowStateCellProps, + UseRowStateInstanceProps, + UseRowStateOptions, + UseRowStateRowProps, + UseRowStateState, + UseSortByColumnOptions, + UseSortByColumnProps, + UseSortByHooks, + UseSortByInstanceProps, + UseSortByOptions, + UseSortByState +} from 'react-table'; + +declare module 'react-table' { + export interface TableOptions> + extends UseExpandedOptions, + UseFiltersOptions, + UseGlobalFiltersOptions, + UseGroupByOptions, + UsePaginationOptions, + UseResizeColumnsOptions, + UseRowSelectOptions, + UseRowStateOptions, + UseSortByOptions, + Record {} + + export interface Hooks = Record> + extends UseExpandedHooks, + UseGroupByHooks, + UseRowSelectHooks, + UseSortByHooks {} + + export interface TableInstance = Record> + extends UseColumnOrderInstanceProps, + UseExpandedInstanceProps, + UseFiltersInstanceProps, + UseGlobalFiltersInstanceProps, + UseGroupByInstanceProps, + UsePaginationInstanceProps, + UseRowSelectInstanceProps, + UseRowStateInstanceProps, + UseSortByInstanceProps {} + + export interface TableState = Record> + extends UseColumnOrderState, + UseExpandedState, + UseFiltersState, + UseGlobalFiltersState, + UseGroupByState, + UsePaginationState, + UseResizeColumnsState, + UseRowSelectState, + UseRowStateState, + UseSortByState {} + + export interface ColumnInterface = Record> + extends UseFiltersColumnOptions, + UseGlobalFiltersColumnOptions, + UseGroupByColumnOptions, + UseResizeColumnsColumnOptions, + UseSortByColumnOptions {} + + export interface ColumnInstance = Record> + extends UseFiltersColumnProps, + UseGroupByColumnProps, + UseResizeColumnsColumnProps, + UseSortByColumnProps, + Omit, 'id'>, + ColumnInterfaceBasedOnValue, + UseTableColumnProps, + Record {} + + export interface Cell = Record> + extends UseGroupByCellProps, + UseRowStateCellProps {} + + export interface Row = Record> + extends UseExpandedRowProps, + UseGroupByRowProps, + UseRowSelectRowProps, + UseRowStateRowProps {} +} diff --git a/src/types/theme.ts b/src/types/theme.ts new file mode 100644 index 0000000..87b9d7b --- /dev/null +++ b/src/types/theme.ts @@ -0,0 +1,34 @@ +// MATERIAL - UI +import { SimplePaletteColorOptions } from '@mui/material'; + +// ==============================|| TYPES - DEFAULT THEME ||============================== // + +export type PaletteThemeProps = { + primary: SimplePaletteColorOptions; + secondary: SimplePaletteColorOptions; + error: SimplePaletteColorOptions; + warning: SimplePaletteColorOptions; + info: SimplePaletteColorOptions; + success: SimplePaletteColorOptions; +}; + +export type CustomShadowProps = { + button: string; + text: string; + z1: string; + z2: string; + primary: string; + primaryButton: string; + secondary: string; + secondaryButton: string; + error: string; + errorButton: string; + warning: string; + warningButton: string; + info: string; + infoButton: string; + success: string; + successButton: string; + grey: string; + greyButton: string; +}; diff --git a/src/utils/getColors.ts b/src/utils/getColors.ts new file mode 100644 index 0000000..82b16c1 --- /dev/null +++ b/src/utils/getColors.ts @@ -0,0 +1,24 @@ +// material-ui +import { Theme } from '@mui/material'; + +// types +import { ColorProps } from '../types/extended'; + +// ==============================|| CUSTOM FUNCTION - COLORS ||============================== // + +export default function getColors(theme: Theme, color?: ColorProps) { + switch (color!) { + case 'secondary': + return theme.palette.secondary; + case 'error': + return theme.palette.error; + case 'warning': + return theme.palette.warning; + case 'info': + return theme.palette.info; + case 'success': + return theme.palette.success; + default: + return theme.palette.primary; + } +} diff --git a/src/utils/getShadow.ts b/src/utils/getShadow.ts new file mode 100644 index 0000000..946c0a3 --- /dev/null +++ b/src/utils/getShadow.ts @@ -0,0 +1,33 @@ +// material-ui +import { Theme } from '@mui/material/styles'; + +// ==============================|| CUSTOM FUNCTION - COLOR SHADOWS ||============================== // + +export default function getShadow(theme: Theme, shadow: string) { + switch (shadow) { + case 'secondary': + return theme.customShadows.secondary; + case 'error': + return theme.customShadows.error; + case 'warning': + return theme.customShadows.warning; + case 'info': + return theme.customShadows.info; + case 'success': + return theme.customShadows.success; + case 'primaryButton': + return theme.customShadows.primaryButton; + case 'secondaryButton': + return theme.customShadows.secondaryButton; + case 'errorButton': + return theme.customShadows.errorButton; + case 'warningButton': + return theme.customShadows.warningButton; + case 'infoButton': + return theme.customShadows.infoButton; + case 'successButton': + return theme.customShadows.successButton; + default: + return theme.customShadows.primary; + } +} diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/tsconfig.app.json b/tsconfig.app.json new file mode 100644 index 0000000..358ca9b --- /dev/null +++ b/tsconfig.app.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["src"] +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..1ffef60 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,7 @@ +{ + "files": [], + "references": [ + { "path": "./tsconfig.app.json" }, + { "path": "./tsconfig.node.json" } + ] +} diff --git a/tsconfig.node.json b/tsconfig.node.json new file mode 100644 index 0000000..db0becc --- /dev/null +++ b/tsconfig.node.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + "target": "ES2022", + "lib": ["ES2023"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..8b0f57b --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +// https://vite.dev/config/ +export default defineConfig({ + plugins: [react()], +})