commit e707f9528827edd7afb6dca8a106b30f3e400a6c Author: victorAnumudu Date: Fri Jun 14 18:06:25 2024 +0100 initial commit diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..d6c9537 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,18 @@ +module.exports = { + root: true, + env: { browser: true, es2020: true }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:react-hooks/recommended', + ], + ignorePatterns: ['dist', '.eslintrc.cjs'], + parser: '@typescript-eslint/parser', + plugins: ['react-refresh'], + rules: { + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, +} 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..0d6babe --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# 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 { + // other rules... + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + project: ['./tsconfig.json', './tsconfig.node.json'], + tsconfigRootDir: __dirname, + }, +} +``` + +- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` +- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` +- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list diff --git a/index.html b/index.html new file mode 100644 index 0000000..40117ac --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + Digifi + + +
+ + + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..8fc15f9 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,4175 @@ +{ + "name": "digifi-employer", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "digifi-employer", + "version": "0.0.0", + "dependencies": { + "@reduxjs/toolkit": "^2.2.5", + "axios": "^1.7.2", + "formik": "^2.4.6", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-icons": "^5.2.1", + "react-redux": "^9.1.2", + "react-router-dom": "^6.23.1", + "yup": "^1.4.0" + }, + "devDependencies": { + "@types/react": "^18.2.66", + "@types/react-dom": "^18.2.22", + "@typescript-eslint/eslint-plugin": "^7.2.0", + "@typescript-eslint/parser": "^7.2.0", + "@vitejs/plugin-react-swc": "^3.5.0", + "autoprefixer": "^10.4.19", + "eslint": "^8.57.0", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.4.6", + "postcss": "^8.4.38", + "tailwindcss": "^3.4.4", + "typescript": "^5.2.2", + "vite": "^5.2.0" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.1.tgz", + "integrity": "sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.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": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/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/@eslint/eslintrc/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/@eslint/js": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/config-array/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/@humanwhocodes/config-array/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/@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/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "dev": true + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "dev": true, + "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==", + "dev": true, + "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==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "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==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "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/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@reduxjs/toolkit": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.5.tgz", + "integrity": "sha512-aeFA/s5NCG7NoJe/MhmwREJxRkDs0ZaSqt0MxhWUrwCf1UQXpwR87RROJEql0uAkLI6U7snBOYOcKw83ew3FPg==", + "dependencies": { + "immer": "^10.0.3", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.1.0" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, + "node_modules/@remix-run/router": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.16.1.tgz", + "integrity": "sha512-es2g3dq6Nb07iFxGk5GuHN20RwBZOsuDQN7izWIisUcv9r+d2C5jQxqmgkdebXgReWfiyUabcki6Fg77mSNrig==", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz", + "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz", + "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz", + "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz", + "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz", + "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz", + "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz", + "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz", + "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz", + "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz", + "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz", + "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz", + "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz", + "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz", + "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz", + "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz", + "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@swc/core": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.5.29.tgz", + "integrity": "sha512-nvTtHJI43DUSOAf3h9XsqYg8YXKc0/N4il9y4j0xAkO0ekgDNo+3+jbw6MInawjKJF9uulyr+f5bAutTsOKVlw==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@swc/counter": "^0.1.3", + "@swc/types": "^0.1.8" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/swc" + }, + "optionalDependencies": { + "@swc/core-darwin-arm64": "1.5.29", + "@swc/core-darwin-x64": "1.5.29", + "@swc/core-linux-arm-gnueabihf": "1.5.29", + "@swc/core-linux-arm64-gnu": "1.5.29", + "@swc/core-linux-arm64-musl": "1.5.29", + "@swc/core-linux-x64-gnu": "1.5.29", + "@swc/core-linux-x64-musl": "1.5.29", + "@swc/core-win32-arm64-msvc": "1.5.29", + "@swc/core-win32-ia32-msvc": "1.5.29", + "@swc/core-win32-x64-msvc": "1.5.29" + }, + "peerDependencies": { + "@swc/helpers": "*" + }, + "peerDependenciesMeta": { + "@swc/helpers": { + "optional": true + } + } + }, + "node_modules/@swc/core-darwin-arm64": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.5.29.tgz", + "integrity": "sha512-6F/sSxpHaq3nzg2ADv9FHLi4Fu2A8w8vP8Ich8gIl16D2htStlwnaPmCLjRswO+cFkzgVqy/l01gzNGWd4DFqA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-darwin-x64": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.5.29.tgz", + "integrity": "sha512-rF/rXkvUOTdTIfoYbmszbSUGsCyvqACqy1VeP3nXONS+LxFl4bRmRcUTRrblL7IE5RTMCKUuPbqbQSE2hK7bqg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm-gnueabihf": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.5.29.tgz", + "integrity": "sha512-2OAPL8iWBsmmwkjGXqvuUhbmmoLxS1xNXiMq87EsnCNMAKohGc7wJkdAOUL6J/YFpean/vwMWg64rJD4pycBeg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm64-gnu": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.5.29.tgz", + "integrity": "sha512-eH/Q9+8O5qhSxMestZnhuS1xqQMr6M7SolZYxiXJqxArXYILLCF+nq2R9SxuMl0CfjHSpb6+hHPk/HXy54eIRA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm64-musl": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.5.29.tgz", + "integrity": "sha512-TERh2OICAJz+SdDIK9+0GyTUwF6r4xDlFmpoiHKHrrD/Hh3u+6Zue0d7jQ/he/i80GDn4tJQkHlZys+RZL5UZg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-x64-gnu": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.5.29.tgz", + "integrity": "sha512-WMDPqU7Ji9dJpA+Llek2p9t7pcy7Bob8ggPUvgsIlv3R/eesF9DIzSbrgl6j3EAEPB9LFdSafsgf6kT/qnvqFg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-x64-musl": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.5.29.tgz", + "integrity": "sha512-DO14glwpdKY4POSN0201OnGg1+ziaSVr6/RFzuSLggshwXeeyVORiHv3baj7NENhJhWhUy3NZlDsXLnRFkmhHQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-arm64-msvc": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.5.29.tgz", + "integrity": "sha512-V3Y1+a1zG1zpYXUMqPIHEMEOd+rHoVnIpO/KTyFwAmKVu8v+/xPEVx/AGoYE67x4vDAAvPQrKI3Aokilqa5yVg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-ia32-msvc": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.5.29.tgz", + "integrity": "sha512-OrM6yfXw4wXhnVFosOJzarw0Fdz5Y0okgHfn9oFbTPJhoqxV5Rdmd6kXxWu2RiVKs6kGSJFZXHDeUq2w5rTIMg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-x64-msvc": { + "version": "1.5.29", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.5.29.tgz", + "integrity": "sha512-eD/gnxqKyZQQR0hR7TMkIlJ+nCF9dzYmVVNbYZWuA1Xy94aBPUsEk3Uw3oG7q6R3ErrEUPP0FNf2ztEnv+I+dw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/counter": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", + "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", + "dev": true + }, + "node_modules/@swc/types": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.8.tgz", + "integrity": "sha512-RNFA3+7OJFNYY78x0FYwi1Ow+iF1eF5WvmfY1nXPOEH4R2p/D4Cr1vzje7dNAI2aLFqpv8Wyz4oKSWqIZArpQA==", + "dev": true, + "dependencies": { + "@swc/counter": "^0.1.3" + } + }, + "node_modules/@types/estree": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "dev": true + }, + "node_modules/@types/hoist-non-react-statics": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz", + "integrity": "sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg==", + "dependencies": { + "@types/react": "*", + "hoist-non-react-statics": "^3.3.0" + } + }, + "node_modules/@types/prop-types": { + "version": "15.7.12", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" + }, + "node_modules/@types/react": { + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", + "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.0.tgz", + "integrity": "sha512-FX1X6AF0w8MdVFLSdqwqN/me2hyhuQg4ykN6ZpVhh1ij/80pTvDKclX1sZB9iqex8SjQfVhwMKs3JtnnMLzG9w==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "7.13.0", + "@typescript-eslint/type-utils": "7.13.0", + "@typescript-eslint/utils": "7.13.0", + "@typescript-eslint/visitor-keys": "7.13.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^7.0.0", + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.0.tgz", + "integrity": "sha512-EjMfl69KOS9awXXe83iRN7oIEXy9yYdqWfqdrFAYAAr6syP8eLEFI7ZE4939antx2mNgPRW/o1ybm2SFYkbTVA==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "7.13.0", + "@typescript-eslint/types": "7.13.0", + "@typescript-eslint/typescript-estree": "7.13.0", + "@typescript-eslint/visitor-keys": "7.13.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.0.tgz", + "integrity": "sha512-ZrMCe1R6a01T94ilV13egvcnvVJ1pxShkE0+NDjDzH4nvG1wXpwsVI5bZCvE7AEDH1mXEx5tJSVR68bLgG7Dng==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "7.13.0", + "@typescript-eslint/visitor-keys": "7.13.0" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.0.tgz", + "integrity": "sha512-xMEtMzxq9eRkZy48XuxlBFzpVMDurUAfDu5Rz16GouAtXm0TaAoTFzqWUFPPuQYXI/CDaH/Bgx/fk/84t/Bc9A==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "7.13.0", + "@typescript-eslint/utils": "7.13.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.0.tgz", + "integrity": "sha512-QWuwm9wcGMAuTsxP+qz6LBBd3Uq8I5Nv8xb0mk54jmNoCyDspnMvVsOxI6IsMmway5d1S9Su2+sCKv1st2l6eA==", + "dev": true, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.0.tgz", + "integrity": "sha512-cAvBvUoobaoIcoqox1YatXOnSl3gx92rCZoMRPzMNisDiM12siGilSM4+dJAekuuHTibI2hVC2fYK79iSFvWjw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "7.13.0", + "@typescript-eslint/visitor-keys": "7.13.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.0.tgz", + "integrity": "sha512-jceD8RgdKORVnB4Y6BqasfIkFhl4pajB1wVxrF4akxD2QPM8GNYjgGwEzYS+437ewlqqrg7Dw+6dhdpjMpeBFQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.13.0", + "@typescript-eslint/types": "7.13.0", + "@typescript-eslint/typescript-estree": "7.13.0" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.0.tgz", + "integrity": "sha512-nxn+dozQx+MK61nn/JP+M4eCkHDSxSLDpgE3WcQo0+fkjEolnaB5jswvIKC4K56By8MMgIho7f1PVxERHEo8rw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "7.13.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, + "node_modules/@vitejs/plugin-react-swc": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.0.tgz", + "integrity": "sha512-yrknSb3Dci6svCd/qhHqhFPDSw0QtjumcqdKMoNNzmOl5lMXTTiqzjWtG4Qask2HdvvzaNgSunbQGet8/GrKdA==", + "dev": true, + "dependencies": { + "@swc/core": "^1.5.7" + }, + "peerDependencies": { + "vite": "^4 || ^5" + } + }, + "node_modules/acorn": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.0.tgz", + "integrity": "sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==", + "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-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "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/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "dev": true + }, + "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/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/autoprefixer": { + "version": "10.4.19", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz", + "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "browserslist": "^4.23.0", + "caniuse-lite": "^1.0.30001599", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "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/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "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/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.23.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.1.tgz", + "integrity": "sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==", + "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.30001629", + "electron-to-chromium": "^1.4.796", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.16" + }, + "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==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001634", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001634.tgz", + "integrity": "sha512-fbBYXQ9q3+yp1q1gBk86tOFs4pyn/yxFm5ZNP18OXJDfA3txImOY9PhfxVggZ4vRHDqoU8NrKU81eN0OtzOgRA==", + "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/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/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/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/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "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/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "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.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "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/deepmerge": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", + "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "node_modules/electron-to-chromium": { + "version": "1.4.802", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.802.tgz", + "integrity": "sha512-TnTMUATbgNdPXVSHsxvNVSG0uEd6cSZsANjm8c9HbvflZVVn1yTRcmVXYT1Ma95/ssB/Dcd30AHweH2TE+dNpA==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "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==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", + "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "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" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.7.tgz", + "integrity": "sha512-yrj+KInFmwuQS2UQcg1SF83ha1tuHC1jMQbRNyuWtlEzzKRDgAl7L4Yp4NlDUZTZNlWvHEzOtJhMi40R7JxcSw==", + "dev": true, + "peerDependencies": { + "eslint": ">=7" + } + }, + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "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/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/eslint/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/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "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.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "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.4" + }, + "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.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.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-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": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.0.tgz", + "integrity": "sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/formik": { + "version": "2.4.6", + "resolved": "https://registry.npmjs.org/formik/-/formik-2.4.6.tgz", + "integrity": "sha512-A+2EI7U7aG296q2TLGvNapDNTZp1khVt5Vk0Q/fyfSROss0V/V6+txt2aJnwEos44IxTCW/LYAi/zgWzlevj+g==", + "funding": [ + { + "type": "individual", + "url": "https://opencollective.com/formik" + } + ], + "dependencies": { + "@types/hoist-non-react-statics": "^3.3.1", + "deepmerge": "^2.1.1", + "hoist-non-react-statics": "^3.3.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "react-fast-compare": "^2.0.1", + "tiny-warning": "^1.0.2", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "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==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "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/glob/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/glob/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/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "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==", + "dev": true, + "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/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/immer": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", + "integrity": "sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "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/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "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-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "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/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "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/jackspeak": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", + "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jiti": { + "version": "1.21.6", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", + "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "dev": true, + "bin": { + "jiti": "bin/jiti.js" + } + }, + "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/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-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/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/lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "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==", + "dev": true + }, + "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-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "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": "10.2.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", + "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "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.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "dev": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", + "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "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.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "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==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "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==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "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-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "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==", + "dev": true + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "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==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "dev": true + }, + "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/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss": { + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "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.7", + "picocolors": "^1.0.0", + "source-map-js": "^1.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dev": true, + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-load-config/node_modules/lilconfig": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", + "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "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/property-expr": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz", + "integrity": "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==" + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "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": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/react-fast-compare": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", + "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" + }, + "node_modules/react-icons": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.2.1.tgz", + "integrity": "sha512-zdbW5GstTzXaVKvGSyTaBalt7HSfuK5ovrzlpyiWHAFXndXTdd/1hdDHI4xBM1Mn7YriT6aqESucFl9kEXzrdw==", + "peerDependencies": { + "react": "*" + } + }, + "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/react-redux": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.1.2.tgz", + "integrity": "sha512-0OA4dhM1W48l3uzmv6B7TXPCGmokUU4p1M44DGN2/D9a1FjVPukVjER1PcPX97jIg6aUeLq1XJo1IpfbgULn0w==", + "dependencies": { + "@types/use-sync-external-store": "^0.0.3", + "use-sync-external-store": "^1.0.0" + }, + "peerDependencies": { + "@types/react": "^18.2.25", + "react": "^18.0", + "redux": "^5.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, + "node_modules/react-router": { + "version": "6.23.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.23.1.tgz", + "integrity": "sha512-fzcOaRF69uvqbbM7OhvQyBTFDVrrGlsFdS3AL+1KfIBtGETibHzi3FkoTRyiDJnWNc2VxrfvR+657ROHjaNjqQ==", + "dependencies": { + "@remix-run/router": "1.16.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8" + } + }, + "node_modules/react-router-dom": { + "version": "6.23.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.23.1.tgz", + "integrity": "sha512-utP+K+aSTtEdbWpC+4gxhdlPFwuEfDKq8ZrPFU65bbRJY+l706qjR7yaidBpo3MSeA/fzwbXWbKBI6ftOnP3OQ==", + "dependencies": { + "@remix-run/router": "1.16.1", + "react-router": "6.23.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8", + "react-dom": ">=16.8" + } + }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==" + }, + "node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "peerDependencies": { + "redux": "^5.0.0" + } + }, + "node_modules/reselect": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz", + "integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==" + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "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==", + "dev": true, + "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/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz", + "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==", + "dev": true, + "dependencies": { + "@types/estree": "1.0.5" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.18.0", + "@rollup/rollup-android-arm64": "4.18.0", + "@rollup/rollup-darwin-arm64": "4.18.0", + "@rollup/rollup-darwin-x64": "4.18.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.18.0", + "@rollup/rollup-linux-arm-musleabihf": "4.18.0", + "@rollup/rollup-linux-arm64-gnu": "4.18.0", + "@rollup/rollup-linux-arm64-musl": "4.18.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0", + "@rollup/rollup-linux-riscv64-gnu": "4.18.0", + "@rollup/rollup-linux-s390x-gnu": "4.18.0", + "@rollup/rollup-linux-x64-gnu": "4.18.0", + "@rollup/rollup-linux-x64-musl": "4.18.0", + "@rollup/rollup-win32-arm64-msvc": "4.18.0", + "@rollup/rollup-win32-ia32-msvc": "4.18.0", + "@rollup/rollup-win32-x64-msvc": "4.18.0", + "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.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "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/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map-js": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "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/sucrase": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", + "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "^10.3.10", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", + "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "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==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tailwindcss": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.4.tgz", + "integrity": "sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==", + "dev": true, + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.0", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.21.0", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tiny-case": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz", + "integrity": "sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==" + }, + "node_modules/tiny-warning": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", + "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" + }, + "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/toposort": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", + "integrity": "sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==" + }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true + }, + "node_modules/tslib": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" + }, + "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/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typescript": { + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", + "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", + "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.1.2", + "picocolors": "^1.0.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/use-sync-external-store": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", + "integrity": "sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "node_modules/vite": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.1.tgz", + "integrity": "sha512-XBmSKRLXLxiaPYamLv3/hnP/KXDai1NDexN0FpkTaZXTfycHvkRHoenpgl/fvuK/kPbB6xAgoyiryAhQNxYmAQ==", + "dev": true, + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.38", + "rollup": "^4.13.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.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", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "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/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "node_modules/yaml": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", + "dev": 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" + } + }, + "node_modules/yup": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/yup/-/yup-1.4.0.tgz", + "integrity": "sha512-wPbgkJRCqIf+OHyiTBQoJiP5PFuAXaWiJK6AmYkzQAh5/c2K9hzSApBZG5wV9KoKSePF7sAxmNSvh/13YHkFDg==", + "dependencies": { + "property-expr": "^2.0.5", + "tiny-case": "^1.0.3", + "toposort": "^2.0.2", + "type-fest": "^2.19.0" + } + }, + "node_modules/yup/node_modules/type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d259cce --- /dev/null +++ b/package.json @@ -0,0 +1,38 @@ +{ + "name": "digifi-employer", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc && vite build", + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "preview": "vite preview" + }, + "dependencies": { + "@reduxjs/toolkit": "^2.2.5", + "axios": "^1.7.2", + "formik": "^2.4.6", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-icons": "^5.2.1", + "react-redux": "^9.1.2", + "react-router-dom": "^6.23.1", + "yup": "^1.4.0" + }, + "devDependencies": { + "@types/react": "^18.2.66", + "@types/react-dom": "^18.2.22", + "@typescript-eslint/eslint-plugin": "^7.2.0", + "@typescript-eslint/parser": "^7.2.0", + "@vitejs/plugin-react-swc": "^3.5.0", + "autoprefixer": "^10.4.19", + "eslint": "^8.57.0", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.4.6", + "postcss": "^8.4.38", + "tailwindcss": "^3.4.4", + "typescript": "^5.2.2", + "vite": "^5.2.0" + } +} diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..2e7af2b --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..8305ce9 Binary files /dev/null and b/public/favicon.ico differ 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.css b/src/App.css new file mode 100644 index 0000000..3eaebf4 --- /dev/null +++ b/src/App.css @@ -0,0 +1,74 @@ +.btn-primary { + background: #5A2C82 !important; + color: #FFFFFF; + display: block; + text-decoration: none; + font-weight: 500; + cursor: pointer; +} + +.btn-active { + background: #D10056 !important; +} + +.btn-R { + padding-inline: 3rem !important; + font-weight: bold !important; + font-size: 16px !important; + background-color: #5A2C82; +} + +.btn-W { + background: white !important; + border-radius: 8px; + font-size: 18px; + font-weight: bold; + color: #FBB700; + line-height: 25px; + align-items: center !important; +} + +.btn-Y { + background: #FBB700 !important; + border-radius: 8px; + font-size: 18px; + font-weight: bold; + /* color: white; */ + line-height: 25px; + align-items: center !important; +} + +.sidebar { + position: fixed; + top: 0; + left: 0; + width: 330px; + /* Adjust the width as needed */ + height: 100vh; + background-color: #5c2684; + color: #FFFFFF; + padding-top: .9375rem; + /* Set the background color */ + box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); + /* Add a box-shadow for visual separation */ + transform: translateX(-100%); + /* Initially hide the sidebar */ + transition: transform 0.4s ease; + /* Add a transition for smooth animation */ + + z-index: 9; +} + +.sidebar.open { + transform: translateX(0); + /* Show the sidebar by removing the translation */ +} + +.sidebar-open { + border: 1px solid red; +} + +.sidebar-close { + border: 1px solid green; + transform: translateX(0%); +} \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 0000000..dadab16 --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,12 @@ +import Routers from "./router/Router"; +import "./App.css"; + +function App() { + return ( + <> + + + ); +} + +export default App; diff --git a/src/assets/icons/facebook.svg b/src/assets/icons/facebook.svg new file mode 100644 index 0000000..2553e52 --- /dev/null +++ b/src/assets/icons/facebook.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/icons/favicon/android-chrome-192x192.png b/src/assets/icons/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..8fe572d Binary files /dev/null and b/src/assets/icons/favicon/android-chrome-192x192.png differ diff --git a/src/assets/icons/favicon/android-chrome-512x512.png b/src/assets/icons/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..5c8c98c Binary files /dev/null and b/src/assets/icons/favicon/android-chrome-512x512.png differ diff --git a/src/assets/icons/favicon/apple-touch-icon.png b/src/assets/icons/favicon/apple-touch-icon.png new file mode 100644 index 0000000..b59bee9 Binary files /dev/null and b/src/assets/icons/favicon/apple-touch-icon.png differ diff --git a/src/assets/icons/favicon/favicon-16x16.png b/src/assets/icons/favicon/favicon-16x16.png new file mode 100644 index 0000000..f023186 Binary files /dev/null and b/src/assets/icons/favicon/favicon-16x16.png differ diff --git a/src/assets/icons/favicon/favicon-32x32.png b/src/assets/icons/favicon/favicon-32x32.png new file mode 100644 index 0000000..b8f77b8 Binary files /dev/null and b/src/assets/icons/favicon/favicon-32x32.png differ diff --git a/src/assets/icons/favicon/site.webmanifest b/src/assets/icons/favicon/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/src/assets/icons/favicon/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/src/assets/icons/instagram.svg b/src/assets/icons/instagram.svg new file mode 100644 index 0000000..deaf649 --- /dev/null +++ b/src/assets/icons/instagram.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/icons/logo.svg b/src/assets/icons/logo.svg new file mode 100644 index 0000000..adf3681 --- /dev/null +++ b/src/assets/icons/logo.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/icons/naira-bag.svg b/src/assets/icons/naira-bag.svg new file mode 100644 index 0000000..b1588f5 --- /dev/null +++ b/src/assets/icons/naira-bag.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/icons/twitter.svg b/src/assets/icons/twitter.svg new file mode 100644 index 0000000..3fd79de --- /dev/null +++ b/src/assets/icons/twitter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/images/dashboard/bg_ellipse1.png b/src/assets/images/dashboard/bg_ellipse1.png new file mode 100644 index 0000000..1260349 Binary files /dev/null and b/src/assets/images/dashboard/bg_ellipse1.png differ diff --git a/src/assets/images/dashboard/bg_ellipse2.png b/src/assets/images/dashboard/bg_ellipse2.png new file mode 100644 index 0000000..a199b06 Binary files /dev/null and b/src/assets/images/dashboard/bg_ellipse2.png differ diff --git a/src/assets/images/dashboard/card_bg.png b/src/assets/images/dashboard/card_bg.png new file mode 100644 index 0000000..1b5e4e7 Binary files /dev/null and b/src/assets/images/dashboard/card_bg.png differ diff --git a/src/assets/images/dashboard/dashDefault.svg b/src/assets/images/dashboard/dashDefault.svg new file mode 100644 index 0000000..9c84424 --- /dev/null +++ b/src/assets/images/dashboard/dashDefault.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/images/dashboard/naira-bag.png b/src/assets/images/dashboard/naira-bag.png new file mode 100644 index 0000000..9cdfc25 Binary files /dev/null and b/src/assets/images/dashboard/naira-bag.png differ diff --git a/src/assets/images/footer_back.jpg b/src/assets/images/footer_back.jpg new file mode 100644 index 0000000..4133d9f Binary files /dev/null and b/src/assets/images/footer_back.jpg differ diff --git a/src/assets/images/hero-test.png b/src/assets/images/hero-test.png new file mode 100644 index 0000000..64edc88 Binary files /dev/null and b/src/assets/images/hero-test.png differ diff --git a/src/assets/images/logo.png b/src/assets/images/logo.png new file mode 100644 index 0000000..0f4b8fa Binary files /dev/null and b/src/assets/images/logo.png differ diff --git a/src/assets/images/naira-img.png b/src/assets/images/naira-img.png new file mode 100644 index 0000000..68f3e34 Binary files /dev/null and b/src/assets/images/naira-img.png differ diff --git a/src/assets/images/personal-page.jpg b/src/assets/images/personal-page.jpg new file mode 100644 index 0000000..04ea6b9 Binary files /dev/null and b/src/assets/images/personal-page.jpg differ diff --git a/src/assets/images/sign-in.png b/src/assets/images/sign-in.png new file mode 100644 index 0000000..3ccaf61 Binary files /dev/null and b/src/assets/images/sign-in.png differ diff --git a/src/assets/images/socials/facebook.svg b/src/assets/images/socials/facebook.svg new file mode 100644 index 0000000..0948ce9 --- /dev/null +++ b/src/assets/images/socials/facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/socials/instagram.svg b/src/assets/images/socials/instagram.svg new file mode 100644 index 0000000..e9848bd --- /dev/null +++ b/src/assets/images/socials/instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/socials/linkedin.svg b/src/assets/images/socials/linkedin.svg new file mode 100644 index 0000000..2868dd3 --- /dev/null +++ b/src/assets/images/socials/linkedin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/socials/twitterx.svg b/src/assets/images/socials/twitterx.svg new file mode 100644 index 0000000..fe1257d --- /dev/null +++ b/src/assets/images/socials/twitterx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/socials/whatsapp.svg b/src/assets/images/socials/whatsapp.svg new file mode 100644 index 0000000..2fac177 --- /dev/null +++ b/src/assets/images/socials/whatsapp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/socials/youtube.svg b/src/assets/images/socials/youtube.svg new file mode 100644 index 0000000..8f5e238 --- /dev/null +++ b/src/assets/images/socials/youtube.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/test1-reverse.png b/src/assets/images/test1-reverse.png new file mode 100644 index 0000000..f26dbde Binary files /dev/null and b/src/assets/images/test1-reverse.png differ diff --git a/src/assets/images/test1.png b/src/assets/images/test1.png new file mode 100644 index 0000000..81a4ddc Binary files /dev/null and b/src/assets/images/test1.png differ diff --git a/src/assets/images/topbar_back.jpg b/src/assets/images/topbar_back.jpg new file mode 100644 index 0000000..32512d6 Binary files /dev/null and b/src/assets/images/topbar_back.jpg differ 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/components/Cards/DefaultCard.tsx b/src/components/Cards/DefaultCard.tsx new file mode 100644 index 0000000..041c3bb --- /dev/null +++ b/src/components/Cards/DefaultCard.tsx @@ -0,0 +1,42 @@ +import { Icons } from "../" + +type Props = { + title?: string, + descText?: string, + iconName?: string, + iconColor?: string, + cardClass?: string, + titleClass?: string, + descTextClass?: string, + onClick?: ()=>any +} + + +export default function DefaultCard({ +title, +descText, +iconName, +iconColor, +cardClass, +titleClass, +descTextClass, +onClick +}:Props) { + return ( + + ) +} diff --git a/src/components/Cards/index.tsx b/src/components/Cards/index.tsx new file mode 100644 index 0000000..2614703 --- /dev/null +++ b/src/components/Cards/index.tsx @@ -0,0 +1,3 @@ +import DefaultCard from "./DefaultCard"; + +export { DefaultCard }; \ No newline at end of file diff --git a/src/components/Dashboard/DashboardFormInit.tsx b/src/components/Dashboard/DashboardFormInit.tsx new file mode 100644 index 0000000..13cdd2f --- /dev/null +++ b/src/components/Dashboard/DashboardFormInit.tsx @@ -0,0 +1,116 @@ +import { Button, InputCompOne, Stepper } from ".."; +import {Formik, Form} from 'formik' +import * as Yup from "yup"; + +type Props = { + handleNextStep:(value:{})=>any +} + +const initialValues = { + loan_amount: "", + payment_month: "", + sales_agent: "", +}; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + payment_month: Yup.string() + .required("Required"), + loan_amount: Yup.string() + .required("Required") + .test("no-e", "Invalid", (value:any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }), + sales_agent: Yup.string() +}); + +export default function DashboardFormInit({handleNextStep}:Props) { + + //FUNCTION TO HANDLE SUBMIT + const handleSubmit = (values:{}) => { + handleNextStep(values) + }; + + return ( +
+
+ +
+ + {(props)=>( +
+
+ + + +
+
+ )} +
+
+ ); +} + +interface SelectOption { + loading: boolean; + data: {value: string; + label: string}[] +} + + +const paymentMonth: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "6", label: "6 Months" }, + { value: "12", label: "12 Months" }, + { value: "18", label: "18 Months" }, + { value: "24", label: "24 Months" }, + ] +} diff --git a/src/components/Dashboard/DashboardHome.tsx b/src/components/Dashboard/DashboardHome.tsx new file mode 100644 index 0000000..79bc66e --- /dev/null +++ b/src/components/Dashboard/DashboardHome.tsx @@ -0,0 +1,36 @@ +import React, { FC } from "react"; +import DashboardHomeIntro from "./DashboardHomeIntro"; +import DashboardFormInit from "./DashboardFormInit"; +import DashboardHomeDetail from "./home/DashboardHomeDetail"; +import DashboardHomeEmploymentInfo from "./home/DashboardHomeEmploymentInfo"; +import DashboardHomeRefereeInfo from "./home/DashboardHomeRefereeInfo"; +import DashboardHomeAttestation from "./home/DashboardHomeAttestation"; + +interface DashboardHomeProps {} + +const DashboardHome: FC = () => { + const [step, setStep] = React.useState(1); + const [applicationDetails, setApplicationDetails] = React.useState({}); + + const handleNextStep = (values:{}={}) => { + if (step < 7) { + setStep(step + 1); + } + setApplicationDetails((prev:{}) => ({...prev, ...values})) + } + + return ( +
+ {step === 1 && } + {step === 2 && } + {step === 3 && } + {step === 4 && } + {step === 5 && } + {step === 6 && } + {step === 7 && } + {/* */} +
+ ); +}; + +export default DashboardHome; diff --git a/src/components/Dashboard/DashboardHomeIntro.tsx b/src/components/Dashboard/DashboardHomeIntro.tsx new file mode 100644 index 0000000..26648f5 --- /dev/null +++ b/src/components/Dashboard/DashboardHomeIntro.tsx @@ -0,0 +1,269 @@ +import React, { FC, useState, useEffect } from 'react'; +import NairaBag from '../../assets/images/dashboard/naira-bag.png'; +import { Button, Icons } from '../'; +import { useSelector } from 'react-redux'; +import PendingList from '../paginated-list/PendingList'; +import { PendingTableList } from '../../core/models'; +import { NewDateTimeFormatter } from '../../lib/NewDateTimeFormatter'; +import { getUserPendingLoanList } from '../../core/apiRequest'; + +export interface DashBoardCardProps { + title?: string; + desc?: string; + descSpan?: string; + descSpanClass?: string; + onClick?: any; + cardClass?: string; + titleClass?: string; + descClass?: string; + btnTitle?: string; + btnTextClass?: string; + image?: any; + imgClass?: string; +} + +export const DashBoardCard: React.FC = ({ + title, + desc, + onClick, + cardClass, + titleClass, + descClass, + descSpan, + descSpanClass, + btnTitle, + btnTextClass, + image, + imgClass, +}) => { + return ( +
+
+ {title && ( +

+ {title} +

+ )} + {desc && ( +

+ {desc}{' '} + {descSpan && ( + + {descSpan} + + )} +

+ )} + {btnTitle && ( +
+ {image && card-image} +
+ ); +}; + +interface DashboardHomeIntroProps { + handleNextStep: (value: {}) => any; + step?: number | string; +} + +const DashboardHomeIntro: FC = ({ + handleNextStep, + step, +}) => { + const { userDetails } = useSelector((state: any) => state?.userDetails); // CHECKS IF USER Details are avaliable + + const [userLoanList, setUserLoanList] = useState<{ + loading: boolean; + data: PendingTableList; + }>({ loading: true, data: [] }); + + useEffect(() => { + let token = localStorage.getItem('token'); + let uid = localStorage.getItem('uid'); + if (!token || !uid) { + return; + } + getUserPendingLoanList(uid) + .then((res) => { + console.log('RES', res); + console.log('RES', userLoanList); + if (!res || !res.data.loans) { + setUserLoanList({ loading: false, data: [] }); + return; + } + setUserLoanList({ loading: false, data: res?.data?.loans }); + }) + .catch((err) => { + console.log(err); + setUserLoanList({ loading: false, data: [] }); + }); + }, []); + + return ( +
+ {step == 1 ? ( + <> +

+ Hello, {userDetails.firstname} +

+
+ handleNextStep({})} + /> +
+ + ) : ( + <> +

+ Welcome Back, {userDetails.firstname} +

+
+ +
+ + )} + {userLoanList.loading ? null : ( +
+ + {(data: any) => ( +
+ + + + + + + + + + + + {data.map((item: any, index: any) => ( + + + + + + + + ))} + +
DateAmount + Payment Term + StatusAction
+ {NewDateTimeFormatter(item?.added)} + + {item?.loan_amount} + + {item?.payment_month} + + {item?.status} + + +
+
+ )} +
+
+ )} +
+ ); +}; + +export default DashboardHomeIntro; + +// {/*
+// { +// console.log("working"); +// }} +// /> +//
*/} + +// {/*
+//
+// { +// console.log("working"); +// }} +// /> +//
+//
+// { +// console.log("working"); +// }} +// /> +//
+//
+// { +// console.log("working"); +// }} +// /> +//
+//
*/} diff --git a/src/components/Dashboard/DashboardProfile.tsx b/src/components/Dashboard/DashboardProfile.tsx new file mode 100644 index 0000000..33e187f --- /dev/null +++ b/src/components/Dashboard/DashboardProfile.tsx @@ -0,0 +1,72 @@ +import { InputCompOne } from ".."; + +import { useNavigate } from "react-router-dom"; +import { RouteHandler } from "../../router/routes"; + +export default function DashboardProfile() { + let navigate = useNavigate(); + const navigateToProfile = () => navigate(RouteHandler.dashboardHome); + return ( +
+
+ +
+
+ + + + + + +
+
+ ); +} diff --git a/src/components/Dashboard/home/DashboardHomeAttestation.tsx b/src/components/Dashboard/home/DashboardHomeAttestation.tsx new file mode 100644 index 0000000..c2cae7a --- /dev/null +++ b/src/components/Dashboard/home/DashboardHomeAttestation.tsx @@ -0,0 +1,147 @@ +import { Button, InputCompOne, Stepper } from '../../shared/index'; + +import {Formik, Form} from 'formik' +import * as Yup from "yup"; +import { applyForLoan } from '../../../core/apiRequest'; + +// import { useNavigate } from "react-router-dom"; +// import { RouteHandler } from '../../../router/routes'; + +type Props = { + handleNextStep:(value:{})=>any + applicationDetails: {} +} + +const initialValues = { + account: "", + checked: false +}; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + account: Yup.string() + .required("Required"), + checked: Yup.bool() // use bool instead of boolean + .oneOf([true], "You must accept the terms and conditions") +}); + +export default function DashboardHomeAttestation({handleNextStep, applicationDetails}:Props) { + // let navigate = useNavigate(); + // const navigateToProfile = () => navigate(RouteHandler.dashboardProfile); + + //FUNCTION TO HANDLE LOAN APPLICATION + const handleSubmit = (values:any) => { + delete values.checked + applyForLoan({...applicationDetails, disbursement: values}).then(res=>{ + console.log('APPLY FOR LOAN', res) + handleNextStep({disbursement: values}) + console.log('ApplicationDetails', {...applicationDetails, disbursement: values}) + }).catch(err=>{ + console.log(err) + }) + // applyForLoan(payload).then(res=>{ + // console.log('APPLY FOR LOAN', res) + // // handleNextStep({disbursement: values}) + // }).catch(err=>{ + // console.log(err) + // }) + }; + + return ( +
+
+ +
+

Applicant's Attestation and Debit Instruction

+

NB: Must be your FCMB account number

+ + {(props)=>( +
+
+
+ +
+
+
+ +

By pressing, you agree that you have read, understood and accept the applicatant's attestation and terms and conditions for FCMB + premium salary loan. You also give us permission to collect financial information and run credit checks on the account provided through our partners +

+
+ {props.errors.checked && props.touched.checked && {props.errors.checked}} +
+
+
+ )} +
+
+ ); +} + + +// const payload = { +// "loan_amount": "100000", +// "payment_month": "18", +// "sales_agent": "Testing1234", +// "gender": "male", +// "address": "World bank housing Estate, Umuahia", +// "marital_status": "single", +// "state": "abia", +// "email": "test5070@gmail.com", +// "country": "NG", +// "employment": { +// "job_title": "Information Officer", +// "name": "Testing Testing", +// "sector": "private (non academic)", +// "industry": "engineering", +// "resumption_date": "2024-04-05", +// "email": "test50700@gmail.com", +// "annual_income": "600000", +// "monthly_salary": "50000", +// "salary_payment_date": "2024-04-19", +// "employment_id": "2555566", +// "highest_eductaion": "b.sc + professional qualification" +// }, +// "loan_reference": [ +// { +// "fullname": "John Mike", +// "relationship": "Brother", +// "phone_number": "07055566611", +// "email": "refone@gmail.com", +// "bvn": "11111111111" +// }, +// { +// "fullname": "Mary Paul", +// "relationship": "Brother", +// "phone_number": "07055577711", +// "email": "reftwo@gmail.com", +// "bvn": "22222222222" +// } +// ], +// disbursement:{account: '1122334456'} +// } \ No newline at end of file diff --git a/src/components/Dashboard/home/DashboardHomeDetail.tsx b/src/components/Dashboard/home/DashboardHomeDetail.tsx new file mode 100644 index 0000000..3097b18 --- /dev/null +++ b/src/components/Dashboard/home/DashboardHomeDetail.tsx @@ -0,0 +1,190 @@ +import { Button, InputCompOne, Stepper } from '../../shared/index'; + +import {Formik, Form} from 'formik' +import * as Yup from "yup"; + +type Props = { + handleNextStep:(value:{})=>any +} + +const initialValues = { + gender: "", + address: "", + marital_status: "", + state: "", + email:"", + country:"" +}; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + gender: Yup.string() + .required("Required"), + address: Yup.string() + .required("Required"), + marital_status: Yup.string() + .required("Required"), + state: Yup.string() + .required("Required"), + email: Yup.string() + .email("Invalid") + .required("Required"), + country: Yup.string() + .required("Required"), +}); + +export default function DashboardHomeDetail({handleNextStep}:Props) { + + //FUNCTION TO HANDLE SUBMIT + const handleSubmit = (values:any) => { + handleNextStep(values) + }; + + return ( +
+
+ +
+ + {(props)=>( +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ )} +
+
+ ); +} + +interface SelectOption { + loading: boolean; + data: {value: string; + label: string}[] +} + + +const gender: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "male", label: "Male" }, + { value: "female", label: "Female" }, + { value: "others", label: "Prefer not to say" }, + ] +} + +const maritalStatus: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "single", label: "Single" }, + { value: "married", label: "Married" }, + { value: "divorced", label: "Divorced" }, + ] +} + +const state: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "abia", label: "Abia" }, + { value: "imo", label: "Imo" }, + { value: "lagos", label: "Lagos" }, + ] +} + +const country: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "NG", label: "Nigeria" }, + ] +} \ No newline at end of file diff --git a/src/components/Dashboard/home/DashboardHomeEmploymentInfo.tsx b/src/components/Dashboard/home/DashboardHomeEmploymentInfo.tsx new file mode 100644 index 0000000..946f521 --- /dev/null +++ b/src/components/Dashboard/home/DashboardHomeEmploymentInfo.tsx @@ -0,0 +1,353 @@ +import {useState, useEffect} from 'react' +import { Button, InputCompOne, Stepper } from '../../shared/index'; + +import {Formik, Form} from 'formik' +import * as Yup from "yup"; + +import { getEmployersList } from '../../../core/apiRequest'; + +type Props = { + handleNextStep:(value:{})=>any +} + +// type EmployerProps = { +// loading?: boolean, +// data?: Array<{[index:string]: string}> | {[index:string]: Array<{[index:string]: string}> } +// } + +const initialValues = { + job_title: "", + name: "", + sector: "", + industry: "", + resumption_date: "", + email:"", + annual_income: "", + monthly_salary: "", + salary_payment_date: "", + employment_id: "", + highest_eductaion: "", + employer_uid: "", + isChecked: false +}; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + isChecked: Yup.bool(), // use bool instead of boolean + // .oneOf([true, false], "You must accept the terms and conditions"), + job_title: Yup.string() + .required("Required"), + name: Yup.string().when('isChecked', { + is: true, + then: () => Yup.string().required('required'), + otherwise: () => Yup.string(), + }), + sector: Yup.string().when('isChecked', { + is: true, + then: () => Yup.string().required('required'), + }), + industry: Yup.string().when('isChecked', { + is: true, + then: () => Yup.string().required('required'), + }), + resumption_date: Yup.string() + .required("Required"), + email: Yup.string().when('isChecked', { + is: true, + then: () => Yup.string().required('required'), + }) + .email("Invalid"), + annual_income: Yup.string() + .required("Required") + .test("no-e", "Invalid", (value:any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }), + monthly_salary: Yup.string() + .required("Required") + .test("no-e", "Invalid", (value:any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }), + salary_payment_date: Yup.string() + .required("Required"), + employment_id: Yup.string() + .required("Required"), + highest_eductaion: Yup.string() + .required("Required"), + employer_uid: Yup.string().when('isChecked', { + is: false, + then: () => Yup.string().required('required'), + }), +}); + +export default function DashboardHomeEmploymentInfo({handleNextStep}:Props) { + + const [employersList, setEmployersList] = useState({ + loading: true, + data: [] + }) + + + //FUNCTION TO HANDLE SUBMIT + const handleSubmit = (values:any) => { + // Remember to changed the checked value's name + if(values.employer_uid){ + let employer_uid = values.employer_uid + delete values.employer_uid + handleNextStep({employer_uid, employment: values}) + }else{ + handleNextStep({employment: values}) + } + }; + + useEffect(()=>{ + getEmployersList().then(res => { + setEmployersList({loading:false, data:res?.data}) + }).catch(err => { + console.log(err) + setEmployersList({loading:false, data:[]}) + }) + },[]) + + + return ( +
+
+ +
+ + {(props)=>( +
+
+

Employment Informaton

+
+
+
+ +
+ +

Check here if employer is not on the list

+
+
+ Name: {'Name'} +
+
+
+ + + + +
+
+ +
+ + +
+ + +
+
+ + +
+ +
+
+
+
+
+
+ )} +
+
+ ); +} + + + +interface SelectOption { + loading: boolean; + data: {value: string; + label: string}[] +} + + +const jobSector: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "private (non academic)", label: "Private (non academic)" }, + ] +} + +const industry: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "engineering", label: "Engineering" }, + ] +} + +const highestEductaion: SelectOption = { + loading: false, + data: [ + { value: "", label: "Please Select" }, + { value: "b.sc + professional qualification", label: "B.Sc + Professional Qualification" }, + ] +} \ No newline at end of file diff --git a/src/components/Dashboard/home/DashboardHomeRefereeInfo.tsx b/src/components/Dashboard/home/DashboardHomeRefereeInfo.tsx new file mode 100644 index 0000000..ee00a6b --- /dev/null +++ b/src/components/Dashboard/home/DashboardHomeRefereeInfo.tsx @@ -0,0 +1,244 @@ +import { Button, InputCompOne, Stepper } from '../../shared/index'; + +import {Formik, Form} from 'formik' +import * as Yup from "yup"; + +type Props = { + handleNextStep:(value:{})=>any +} + +const initialValues = { + ref_name: "", + ref_email: "", + ref_phone_number: "", + ref_relationship: "", + ref_bvn: "", + ref_two_name: "", + ref_two_email: "", + ref_two_phone_number: "", + ref_two_relationship: "", + ref_two_bvn: "", +}; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + ref_name: Yup.string() + .required("Required"), + ref_email: Yup.string() + .email("Invalid") + .required("Required"), + ref_phone_number: Yup.string() + .required("Required"), + ref_relationship: Yup.string() + .required("Required"), + ref_bvn: Yup.string() + .required("BVN is required") + .test("no-e", "Invalid number", (value:any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }) + .min(11, "must be 11 digits") + .max(11, "must be 11 digits"), + ref_two_name: Yup.string() + .required("Required"), + ref_two_email: Yup.string() + .email("Invalid") + .required("Required"), + ref_two_phone_number: Yup.string() + .required("Required"), + ref_two_relationship: Yup.string() + .required("Required"), + ref_two_bvn: Yup.string() + .required("BVN is required") + .test("no-e", "Invalid number", (value:any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }) + .min(11, "must be 11 digits") + .max(11, "must be 11 digits"), +}); + +export default function DashboardHomeRefereeInfo({handleNextStep}:Props) { + + //FUNCTION TO HANDLE SUBMIT + const handleSubmit = (values:any) => { + let refOne = { + fullname: values.ref_name, + relationship: values.ref_relationship, + phone_number: values.ref_phone_number, + email: values.ref_email, + bvn: values.ref_bvn + } + let refTwo = { + fullname: values.ref_two_name, + relationship: values.ref_two_relationship, + phone_number: values.ref_two_phone_number, + email: values.ref_two_email, + bvn: values.ref_two_bvn + } + handleNextStep({loan_reference:[refOne, refTwo]}) + }; + + + return ( +
+
+ +
+ + {(props)=>( +
+
+

Reference Details (Must be 18 years and above)

+
+
+

Reference one

+
+ + + + + +
+
+
+

Reference two

+
+ + + + + +
+
+
+
+
+ )} +
+
+ ); +} diff --git a/src/components/Dashboard/index.tsx b/src/components/Dashboard/index.tsx new file mode 100644 index 0000000..e26e6ca --- /dev/null +++ b/src/components/Dashboard/index.tsx @@ -0,0 +1,4 @@ +import DashboardHome from './DashboardHome' +import DashboardProfile from './DashboardProfile'; + +export { DashboardHome, DashboardProfile }; \ No newline at end of file diff --git a/src/components/Footer/BottomFooterOne.tsx b/src/components/Footer/BottomFooterOne.tsx new file mode 100644 index 0000000..2babfea --- /dev/null +++ b/src/components/Footer/BottomFooterOne.tsx @@ -0,0 +1,69 @@ +import { footerCustomerLinks, footerSocialLinks } from "../../utils/data"; + +interface FooterLinksProps { + href: string; + icon?: string; + text?: string; +} + +const BottomFooterOne = () => { + const date: number = new Date().getFullYear(); + + return ( +
+
+
+ + +
+

+ © {date} First City Monument Bank (Licensed by the + Central Bank of Nigeria) +

+
+
+ ); +}; + +export default BottomFooterOne; + +const SocialIconButtons = () => { + const icons = footerSocialLinks.map( + ({ href, icon }: FooterLinksProps, idx: number) => ( +
  • + + {icon && icon} + +
  • + ) + ); + + return
      {icons}
    ; +}; + +const CustomerLinks = () => { + const links = footerCustomerLinks.map( + ({ href, text }: FooterLinksProps, idx: number) => ( +
  • + + {text} + +
  • + ) + ); + return ( +
    + {links} +
    + ); +}; diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx new file mode 100644 index 0000000..62e9849 --- /dev/null +++ b/src/components/Footer/Footer.tsx @@ -0,0 +1,33 @@ +// import { Link } from "react-router-dom"; +import { socialsIcons } from "../../utils/data"; + +export default function Footer() { + const date = new Date().getFullYear(); + + return ( +
    +
    +

    + {date} @ First City Monument Bank Limited +

    +
    + {renderSocialLinks()} +
    +
    +
    + ); +} + +function renderSocialLinks(): JSX.Element { + const link = socialsIcons.map(function (item, index) { + let { name, image, link } = item; + + return ( + + {name} + + ); + }); + + return
      {link}
    ; +} diff --git a/src/components/Footer/MidFooter.tsx b/src/components/Footer/MidFooter.tsx new file mode 100644 index 0000000..bab6a84 --- /dev/null +++ b/src/components/Footer/MidFooter.tsx @@ -0,0 +1,15 @@ +import styles from "./footer.module.css" + +const MidFooter = () => { + return ( +
    +
    +
    +

    my bank and I

    +
    +
    +
    + ) +} + +export default MidFooter diff --git a/src/components/Footer/TopFooterOne.tsx b/src/components/Footer/TopFooterOne.tsx new file mode 100644 index 0000000..336d16e --- /dev/null +++ b/src/components/Footer/TopFooterOne.tsx @@ -0,0 +1,35 @@ +import { footerItems } from "../../utils/data"; +import TopFooterOneMenu from "./TopFooterOneMenu"; + +export interface TopFooterOneMenuProps { + category: string; + subItems: { + text: string; + href?: string; + }[]; +} + +const TopFooterOne = () => { + const footerListItems: TopFooterOneMenuProps[] = footerItems; + + return ( +
    +
    +

    + sitemap +

    +
    + {footerListItems.map(({ category, subItems }, index) => ( + + ))} +
    +
    +
    + ); +}; + +export default TopFooterOne; diff --git a/src/components/Footer/TopFooterOneMenu.tsx b/src/components/Footer/TopFooterOneMenu.tsx new file mode 100644 index 0000000..7323a4c --- /dev/null +++ b/src/components/Footer/TopFooterOneMenu.tsx @@ -0,0 +1,29 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import { TopFooterOneMenuProps } from "./TopFooterOne"; + + +const TopFooterOneMenu: React.FC = ({ + category, + subItems, +}) => { + return ( +
      +
    • + {category} +
    • +
        + {subItems.map(({ href = "#", text }) => ( +
      • + {href ? {text} : {text}} +
      • + ))} +
      +
    + ); +}; + +export default TopFooterOneMenu; diff --git a/src/components/Footer/footer.module.css b/src/components/Footer/footer.module.css new file mode 100644 index 0000000..ed7def1 --- /dev/null +++ b/src/components/Footer/footer.module.css @@ -0,0 +1,8 @@ +.lower_footer{ + background: url(../../assets/images/footer_back.jpg) no-repeat; + background-size: cover; + /* padding: 0.4rem 0; */ + display: flex; + align-items: center; + justify-content: center; +} \ No newline at end of file diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx new file mode 100644 index 0000000..2d488be --- /dev/null +++ b/src/components/Footer/index.tsx @@ -0,0 +1,6 @@ +import Footer from "./Footer"; +import TopFooterOne from "./TopFooterOne"; +import MidFooter from "./MidFooter"; +import BottomFooterOne from "./BottomFooterOne"; + +export { Footer, TopFooterOne, MidFooter, BottomFooterOne }; diff --git a/src/components/GetStarted/ApplicantsAttestation.tsx b/src/components/GetStarted/ApplicantsAttestation.tsx new file mode 100644 index 0000000..4a01616 --- /dev/null +++ b/src/components/GetStarted/ApplicantsAttestation.tsx @@ -0,0 +1,29 @@ +import React from "react"; +import DebitAccount from "./DebitAccount"; + + +const ApplicantsAttestation: React.FC = () => { + return ( + <> +
    +

    + Applicant’s Attestation and Debit Instruction +

    +
    +

    + For more enquiries and support +

    +

    + Call: 09099000000 +

    +

    + Email: fcmbloan@support.com +

    +
    +
    + + + ); +}; + +export default ApplicantsAttestation; diff --git a/src/components/GetStarted/BVN.tsx b/src/components/GetStarted/BVN.tsx new file mode 100644 index 0000000..253c3f1 --- /dev/null +++ b/src/components/GetStarted/BVN.tsx @@ -0,0 +1,89 @@ +import React from "react"; +import * as Yup from "yup"; +import { Form, Formik } from "formik"; +import { InputCompOne } from "../shared"; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + bvn: Yup.string() + .required("BVN is required") + .test("no-e", "Invalid number", (value:any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }) + .min(11, "must be 11 digits") + .max(11, "must be 11 digits") +}); + +// initial values for formik +let initialValues = { + bvn: '' +}; + +type Props = { + handleNextStep:()=>any +} + +const BVN = ({handleNextStep}:Props) => { + + const firstInputRef = React.useRef(null); + + const handleSubmit = (values:any) => { + console.log('values', values) + handleNextStep() + }; + + return ( + + {(props:any) => ( +
    +
    +
    +
    +

    + Let’s Get You Started +

    +
    +
    + + +

    + ***Every personal information attached to your BVN is safe and secured. It is only inportant for us to verify your information and also give you access to your application profile/account +

    +
    +
    +
    +
    + )} +
    + ); +}; + +export default BVN; diff --git a/src/components/GetStarted/CreditAccount.tsx b/src/components/GetStarted/CreditAccount.tsx new file mode 100644 index 0000000..cb0e80a --- /dev/null +++ b/src/components/GetStarted/CreditAccount.tsx @@ -0,0 +1,27 @@ +import React from "react"; +import { InputCompOne } from ".."; + +const CreditAccount: React.FC = () => { + return ( + <> +
    +

    + CREDIT ACCOUNT ( Your account to receive your loan ) +

    +
    + + + ); +}; + +export default CreditAccount; diff --git a/src/components/GetStarted/DebitAccount.tsx b/src/components/GetStarted/DebitAccount.tsx new file mode 100644 index 0000000..22fbaa3 --- /dev/null +++ b/src/components/GetStarted/DebitAccount.tsx @@ -0,0 +1,146 @@ +import React from "react"; +import {useNavigate} from 'react-router-dom' +import { Button, InputCompOne } from ".."; +import { RouteHandler } from "../../router/routes"; + +import {Formik, Form} from 'formik' +import * as Yup from "yup"; + +const initialValues = { + disburse_account: "", + bank_name: "", + account_name: "", + account_number: "", + checked: false +}; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + disburse_account: Yup.string() + .required("Required"), + bank_name: Yup.string() + .required("Required"), + account_name: Yup.string() + .required("Required"), + account_number: Yup.string() + .required("Required"), + checked: Yup.bool() // use bool instead of boolean + .oneOf([true], "You must accept the terms and conditions") +}); + +const DebitAccount: React.FC = () => { + const navigate = useNavigate() + + //FUNCTION TO HANDLE SUBMIT + const handleSubmit = (values:any) => { + console.log(values) + navigate(RouteHandler.letsGetStarted, {replace:true}) + }; + + return ( + <> +
    +

    + CREDIT ACCOUNT ( Your account to receive your loan ) +

    +
    + + {(props)=>( +
    + + +
    +
    +

    + DEBIT ACCOUNT ( Your salary account for monthly repayment ) +

    +
    + + +
    + + +
    + +
    + + + {props.errors.checked && props.touched.checked && {props.errors.checked}} +
    +
    + + )} +
    + + ); +}; + +export default DebitAccount; diff --git a/src/components/GetStarted/EmployerValidation.tsx b/src/components/GetStarted/EmployerValidation.tsx new file mode 100644 index 0000000..8e22d81 --- /dev/null +++ b/src/components/GetStarted/EmployerValidation.tsx @@ -0,0 +1,320 @@ +import React from "react"; + +import { Button, InputCompOne } from ".."; + +import {Formik, Form} from 'formik' +import * as Yup from "yup"; + +const initialValues = { + title: "", + marital_status: "", + agent_id: "", + bvn: "", + first_name: "", + phone: "", + email: "", + surname: "", + dob: "", + second_name: "", + spouse_bvn: "", +}; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + title: Yup.string() + .required("Required"), + marital_status: Yup.string() + .required("Required"), + agent_id: Yup.string() + .required("Required"), + bvn: Yup.string() + .required("BVN is required") + .test("no-e", "Invalid number", (value:any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }) + .min(11, "must be 11 digits") + .max(11, "must be 11 digits"), + first_name: Yup.string() + .required("Required"), + phone: Yup.string() + .required("Required"), + email: Yup.string() + .required("Required") + .email("Wrong email format"), + surname: Yup.string() + .required("Required"), + dob: Yup.string() + .required("Required"), +}); + +interface BasicInfoProps { + handleNextStep: any; +} + +const EmployerValidation: React.FC = ({ + handleNextStep, +}) => { + // const inputRef = useRef(null); + + // const handleInput = (e: React.FormEvent) => { + // const { name, value } = e.target as HTMLInputElement; + + // if (name === "bvn") { + // const isNumeric = /^[0-9]+$/.test(value); + + // if (isNumeric) { + // if (value.length === 10) { + // setHideOTPComponent(false); + // } else { + // setHideOTPComponent(true); + // } + // } else { + // console.log("Invalid BVN"); + // } + // } + // }; + + + //FUNCTION TO HANDLE SUBMIT + const handleSubmit = (values:any) => { + console.log(values) + handleNextStep() + }; + + return ( + <> + {/* Header */} +
    +

    + EMPLOYER'S COMMITMENT AND VALIDATION +

    +

    (This is to be filled and validated by the employer of the applicant)

    +
    + + {(props)=>( +
    +
    +

    We hereby confirm that Mr Victor Badmus (The Applicant) who applied for our loan facility is a permanent and confirmed (Non-contract) staff of Globalcom Nigeria limited and that he is actively on the company's payroll +

    +

    We hereby irrevocably and unconditionally undertake to domicile his/her salaries to First City Monument Bank Ltd (FCMB) Accounts number. +

    +
    +
    +

    + Employers Validation +

    +
    +
    +
    + + + + +
    +
    + +
    +
    + + + + + + + +
    +
    + +
    +
    +

    + SPOUSE DETAILS ( If not applicable, please move to the next stage ) +

    +
    +
    +
    + +
    +
    +
    + <> +
    + + ); +}; diff --git a/src/components/Header/HeaderMenuItem.tsx b/src/components/Header/HeaderMenuItem.tsx new file mode 100644 index 0000000..498eaea --- /dev/null +++ b/src/components/Header/HeaderMenuItem.tsx @@ -0,0 +1,35 @@ +import React, { useState } from "react"; +import { LowerMenuItem } from "./Header"; + +interface MenuItemProps { + item: LowerMenuItem; +} + +const HeaderMenuItem: React.FC = ({ item }) => { + const [showSubMenu, setShowSubMenu] = useState(false); + + const toggleSubMenu = () => { + setShowSubMenu(!showSubMenu); + }; + + return ( +
  • + {item.name} + {showSubMenu && item.subItems && ( +
      + {item.subItems.map((subItem, index) => ( + + ))} +
    + )} +
  • + ); +}; + +export default HeaderMenuItem; diff --git a/src/components/Header/Sidebar.tsx b/src/components/Header/Sidebar.tsx new file mode 100644 index 0000000..60e1f9e --- /dev/null +++ b/src/components/Header/Sidebar.tsx @@ -0,0 +1,19 @@ +const Sidebar = ({ + toggleSidebar, + isSidebarOpen, +}: { + toggleSidebar: () => void; + isSidebarOpen: boolean; +}) => { + const isActive = isSidebarOpen ? "sidebar-close" : "sidebar-open"; + + return ( + //
    +
    + {/* Sidebar content goes here */} + +
    + ); +}; + +export default Sidebar; diff --git a/src/components/Header/TopHeader.tsx b/src/components/Header/TopHeader.tsx new file mode 100644 index 0000000..5996b66 --- /dev/null +++ b/src/components/Header/TopHeader.tsx @@ -0,0 +1,54 @@ +import { top_header_data } from "../../utils/data"; +import { Link } from "react-router-dom"; +import styles from "./header.module.css"; + +const TopHeader = () => { + return ( + <> +
    + +
    +
    +
    +
      + {top_header_data.map(({ id, name, href }) => ( +
    • + + {name} + +
    • + ))} +
    +
    +

    Today's Share price:

    + $ 4.00 +
    +
    +
    + + ); +}; + +export default TopHeader; diff --git a/src/components/Header/header.module.css b/src/components/Header/header.module.css new file mode 100644 index 0000000..3da672e --- /dev/null +++ b/src/components/Header/header.module.css @@ -0,0 +1,8 @@ +.top_header{ + background: url(../../assets/images/topbar_back.jpg) no-repeat; + background-size: cover; + /* padding: 0.4rem 0; */ + display: flex; + align-items: center; + justify-content: center; +} \ No newline at end of file diff --git a/src/components/Header/index.ts b/src/components/Header/index.ts new file mode 100644 index 0000000..8c29293 --- /dev/null +++ b/src/components/Header/index.ts @@ -0,0 +1,4 @@ +import TopHeader from "./TopHeader"; +import Header from "./Header"; + +export { TopHeader, Header }; diff --git a/src/components/Home/Hero/Hero.tsx b/src/components/Home/Hero/Hero.tsx new file mode 100644 index 0000000..0fcd447 --- /dev/null +++ b/src/components/Home/Hero/Hero.tsx @@ -0,0 +1,16 @@ +import styles from "./hero.module.css"; +const Hero = () => { + return ( +
    +
    +

    + PREMIUM SALARY LOAN +

    +
    +
    + ); +}; + +export default Hero; diff --git a/src/components/Home/Hero/PersonalHero.tsx b/src/components/Home/Hero/PersonalHero.tsx new file mode 100644 index 0000000..939eb40 --- /dev/null +++ b/src/components/Home/Hero/PersonalHero.tsx @@ -0,0 +1,36 @@ +import React from "react"; +import styles from "./hero.module.css"; +import { Link } from "react-router-dom"; + +interface PersonalHeroProps { + heading?: string; + body?: string; + buttonLink?: string; + buttonText?: string; +} +const PersonalHero: React.FC = ({ + heading, + body, + buttonLink = "#", + buttonText, +}) => { + return ( +
    +
    +

    + {heading} +

    +

    {body}

    + + + +
    +
    + ); +}; + +export default PersonalHero; diff --git a/src/components/Home/Hero/hero.module.css b/src/components/Home/Hero/hero.module.css new file mode 100644 index 0000000..85f3757 --- /dev/null +++ b/src/components/Home/Hero/hero.module.css @@ -0,0 +1,19 @@ +.heroBg{ + background: url(../../../assets/images/hero-test.png) no-repeat; + background-size: cover; + background-position: center; + /* padding: 0.4rem 0; */ + display: flex; + align-items: center; + justify-content: center; +} + +.personalHeroBg{ + background: url(../../../assets/images/personal-page.jpg) no-repeat; + background-size: cover; + background-position: center; + /* padding: 0.4rem 0; */ + display: flex; + align-items: center; + justify-content: center; +} \ No newline at end of file diff --git a/src/components/Home/Hero/index.ts b/src/components/Home/Hero/index.ts new file mode 100644 index 0000000..cfad588 --- /dev/null +++ b/src/components/Home/Hero/index.ts @@ -0,0 +1,4 @@ +import Hero from "./Hero"; +import PersonalHero from "./PersonalHero"; + +export { Hero, PersonalHero }; diff --git a/src/components/Home/Requirements/EligiblityBox.tsx b/src/components/Home/Requirements/EligiblityBox.tsx new file mode 100644 index 0000000..c01feb0 --- /dev/null +++ b/src/components/Home/Requirements/EligiblityBox.tsx @@ -0,0 +1,22 @@ +const EligiblityBox = () => { + return ( +
    +

    + REQUIRED ELIGIBILITY +

    +
      +
    • + Have a verifiable source of income +
    • +
    • + You must have a valid BVN +
    • +
    • + Must have a salary or current bank account with FCMB +
    • +
    +
    + ); +}; + +export default EligiblityBox; diff --git a/src/components/Home/Requirements/FeatureText.tsx b/src/components/Home/Requirements/FeatureText.tsx new file mode 100644 index 0000000..0eaf8ae --- /dev/null +++ b/src/components/Home/Requirements/FeatureText.tsx @@ -0,0 +1,45 @@ +import { Link } from "react-router-dom"; +import { RouteHandler } from "../../../router/routes"; + +const FeatureText = () => { + return ( +
    +
    +

    + Premium Salary Plus loan provides confirmed staff of commercial + organizations more usable funds. The employee’s organization must have + been rated on Moody’s with a minimum BB- rating, employees interested + in the product must be eligible for minimum loan amount of 2,000,000. +

    +

    + Features +

    +
      +
    • Minimum loan amount - N2 Million
    • +
    • Maximum tenure - 60 Months
    • +
    • Minimum tenure - 12 Months
    • +
    • Management fee - 1% flat upfront (0.5% for top-up loan)
    • +
    • + Collateral - Domiciliate of salary, terminal benefits and other + allowances +
    • +
    • Insurance fee - 0.9%*loan amount*tenure (in years)
    • +
    +
    + + *** Click here to apply + + + Terms and conditions apply + +
    + ); +}; + +export default FeatureText; diff --git a/src/components/Home/Requirements/Requirements.tsx b/src/components/Home/Requirements/Requirements.tsx new file mode 100644 index 0000000..3031c26 --- /dev/null +++ b/src/components/Home/Requirements/Requirements.tsx @@ -0,0 +1,15 @@ +import FeatureText from "./FeatureText"; +import EligiblityBox from "./EligiblityBox"; + +const Requirements = () => { + return ( +
    +
    + + +
    +
    + ); +}; + +export default Requirements; diff --git a/src/components/Home/Requirements/index.ts b/src/components/Home/Requirements/index.ts new file mode 100644 index 0000000..8e1dcac --- /dev/null +++ b/src/components/Home/Requirements/index.ts @@ -0,0 +1,3 @@ +import Requirements from "./Requirements"; + +export { Requirements }; diff --git a/src/components/Home/index.ts b/src/components/Home/index.ts new file mode 100644 index 0000000..e07aac8 --- /dev/null +++ b/src/components/Home/index.ts @@ -0,0 +1,4 @@ +import { Hero, PersonalHero } from "./Hero"; +import { Requirements } from "./Requirements"; + +export {Hero, Requirements, PersonalHero} \ No newline at end of file diff --git a/src/components/Icons/Icons.tsx b/src/components/Icons/Icons.tsx new file mode 100644 index 0000000..ec8bbc6 --- /dev/null +++ b/src/components/Icons/Icons.tsx @@ -0,0 +1,121 @@ +import { FaCaretDown, FaCaretRight } from "react-icons/fa"; + +import dashIcon from "../../assets/images/dashboard/dashDefault.svg"; +type Props = { + name: string; + fillColor?: string; + className?:string; +}; + +export default function Icons({ name, fillColor, className }: Props) { + return ( + <> + {name == "home" ? ( + + + + + ) : name == "profile" ? ( + + + + + ) : name == "verification" ? ( + + + + ) : name == "payments" ? ( + + + + ) : name == "legals" ? ( + + + + ) : name == "arrow" ? ( + + + + ) : name == "greater-than" ? ( + + + + ) :name == 'arrow-down'? + + :name == 'arrow-right'? + + :name == "dash-icon" ? ( + dash-icon + ) : null} + + ); +} diff --git a/src/components/Icons/index.tsx b/src/components/Icons/index.tsx new file mode 100644 index 0000000..040ac44 --- /dev/null +++ b/src/components/Icons/index.tsx @@ -0,0 +1,3 @@ +import Icons from "./Icons"; + +export { Icons }; \ No newline at end of file diff --git a/src/components/InternetBanking/InternetBanking.tsx b/src/components/InternetBanking/InternetBanking.tsx new file mode 100644 index 0000000..80af7ad --- /dev/null +++ b/src/components/InternetBanking/InternetBanking.tsx @@ -0,0 +1,9 @@ +import React from 'react' + +const InternetBanking: React.FC = () => { + return ( +
    InternetBanking
    + ) +} + +export default InternetBanking \ No newline at end of file diff --git a/src/components/InternetBanking/index.ts b/src/components/InternetBanking/index.ts new file mode 100644 index 0000000..73c7fa2 --- /dev/null +++ b/src/components/InternetBanking/index.ts @@ -0,0 +1,3 @@ +import InternetBanking from "./InternetBanking"; + +export { InternetBanking }; diff --git a/src/components/LetsGetStated/LetsGetStarted.tsx b/src/components/LetsGetStated/LetsGetStarted.tsx new file mode 100644 index 0000000..b08495e --- /dev/null +++ b/src/components/LetsGetStated/LetsGetStarted.tsx @@ -0,0 +1,260 @@ +import React from 'react'; +import * as Yup from 'yup'; +import { Form, Formik } from 'formik'; +import { InputCompOne } from '..'; +import { useNavigate } from 'react-router-dom'; +import { RouteHandler } from '../../router/routes'; + +import { useDispatch } from 'react-redux'; +import { updateUserDetails } from '../../store/UserDetails'; + +import { validateBVN, verifyOTP } from '../../core/apiRequest'; +import { RequestStatus } from '../../core/models'; + +// To get the validation schema +const validationSchema = Yup.object().shape({ + bvn: Yup.string() + .required('BVN is required') + .test('no-e', 'Invalid number', (value: any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }) + .min(11, 'must be 11 digits') + .max(11, 'must be 11 digits'), + otp: Yup.string() + // .when('require_otp', { + // is: true, + // then: Yup.string().required("OTP is required") + // }) + // .required("OTP is required") + .test('no-e', 'Invalid number', (value: any) => { + if (value && /^[0-9]*$/.test(value) == false) { + return false; + } + return true; + }) + .min(5, 'must be 5 digits') + .max(5, 'must be 5 digits'), + // .test("no-e", "must be 11 characters", (value:any) => { + // if (value.length < 11) { + // return false; + // } + // return true; + // }) +}); + +// initial values for formik +let initialValues = { + bvn: '', + otp: '', +}; + +type ValidBVN = { + verification_id: string; + valid: undefined | boolean; +}; + +const LetsGetStarted: React.FC = () => { + const dispatch = useDispatch(); + const navigate = useNavigate(); + // const [pinValues, setPinValues] = React.useState({ + // bvn: "", + // otp: "", + // }); + // const otpInputRef = React.useRef(null); + + const [requestStatusBVN, setRequestStatusBVN] = React.useState( + { loading: false, status: undefined, message: '' } + ); + + const [requestStatusOTP, setRequestStatusOTP] = React.useState( + { loading: false, status: undefined, message: '' } + ); + + const [bvnIsValid, setBvnIsValid] = React.useState({ + verification_id: '', + valid: undefined, + }); + + // e: React.FormEvent + // let { value } = e.target as HTMLInputElement; + const bvnValidation = (values: any) => { + // Function to Validate BVN + let bvn = values.bvn; + setRequestStatusBVN({ loading: true, status: false, message: '' }); + validateBVN({ bvn }) + .then((res) => { + if (!res || !res.data.call_return) { + setBvnIsValid({ verification_id: '', valid: false }); + setRequestStatusBVN({ + loading: false, + status: false, + message: 'unable to verify BVN', + }); + return setTimeout(() => { + setRequestStatusBVN({ loading: false, status: false, message: '' }); + }, 4000); + } + setBvnIsValid({ + verification_id: res.data.verification_id, + valid: true, + }); + setRequestStatusBVN({ + loading: false, + status: true, + message: 'verified', + }); + }) + .catch((err) => { + setBvnIsValid({ verification_id: '', valid: false }); + console.log(err); + }); + }; + + const handleSubmit = (values: any) => { + // Function to VERIFY OTP AND LOGIN USER + setRequestStatusOTP({ loading: true, status: false, message: '' }); + // console.log('values', values) + verifyOTP({ ...values, verification_id: bvnIsValid.verification_id }) + .then((res) => { + if (!res || !res.data.call_return) { + setRequestStatusOTP({ + loading: false, + status: false, + message: 'wrong otp', + }); + return setTimeout(() => { + setRequestStatusOTP({ loading: false, status: false, message: '' }); + }, 4000); + } + // console.log(res.data) + localStorage.setItem('token', res.data?.token); + localStorage.setItem('uid', res?.data?.customer[0]?.uid); + dispatch(updateUserDetails({ ...res?.data?.customer[0] })); + navigate(RouteHandler.dashboardHome, { replace: true }); + }) + .catch((err) => { + setRequestStatusOTP({ + loading: false, + status: false, + message: 'something went wrong, try again', + }); + console.log(err); + return setTimeout(() => { + setRequestStatusOTP({ loading: false, status: false, message: '' }); + }, 4000); + }); + }; + + return ( + + {(props: any) => ( +
    +
    +
    +
    +

    + Let’s Get You Started +

    +
    +
    +
    + +

    + {requestStatusBVN.loading + ? 'verifying...' + : requestStatusBVN.message} +

    +
    + {bvnIsValid.valid && ( + + )} + + +

    + {requestStatusOTP.message} +

    + + {bvnIsValid.valid || bvnIsValid.valid == undefined ? ( +

    + ***Every personal information attached to your BVN is safe + and secure. It is only important for us to verify your + information and also give you access to your application + profile/account. +

    + ) : ( +

    + ***Did not receive OTP? Click to resend +

    + )} +
    +
    +
    +
    + )} +
    + ); +}; + +export default LetsGetStarted; diff --git a/src/components/LetsGetStated/LetsGetStartedNav.tsx b/src/components/LetsGetStated/LetsGetStartedNav.tsx new file mode 100644 index 0000000..e4116f6 --- /dev/null +++ b/src/components/LetsGetStated/LetsGetStartedNav.tsx @@ -0,0 +1,22 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import Logo from "../../assets/icons/logo.svg"; + + +const LetsGetStartedNav: React.FC = () => { + return ( +
    +
    + + Logo + +
    +
    + ); +}; + +export default LetsGetStartedNav; diff --git a/src/components/LetsGetStated/index.ts b/src/components/LetsGetStated/index.ts new file mode 100644 index 0000000..35c2c03 --- /dev/null +++ b/src/components/LetsGetStated/index.ts @@ -0,0 +1,4 @@ +import LetsGetStarted from "./LetsGetStarted"; +import LetsGetStartedNav from "./LetsGetStartedNav"; + +export { LetsGetStarted, LetsGetStartedNav }; diff --git a/src/components/TsAndCs/Main.tsx b/src/components/TsAndCs/Main.tsx new file mode 100644 index 0000000..d6e24a6 --- /dev/null +++ b/src/components/TsAndCs/Main.tsx @@ -0,0 +1,428 @@ +import React from "react"; + +const Main: React.FC = () => { + return ( +
    +
    +

    + PRIVACY POLICY +

    +

    + + 1.Your Privacy is important to us. + +

    +

    + This privacy statement sets out the privacy policy of + fcmbgroupplc.com, which provides a portal, or gateway, to the + financial services offered by the First City Monument Bank Limited and + the other members of the FCMB Group Plc (Collectively, “FCMB”). +

    +

    + This policy explains how we collect, share, use, and protect + information when you visit or use this website and any other online + services, platforms, or products offered by FCMB or any of its banking + and non-banking affiliates and subsidiaries that link to or reference + this policy (collectively, our “services”). +

    +

    + 1.1 FCMB and You +

    +

    + First City Monument Bank Limited is a private limited liability + company registered in the Federal Republic of Nigeria under RC No. + 46713. Its head-office is at Primrose Tower, 17A Tinubu Street, Lagos + State, Nigeria. +

    +

    + FCMB Group Plc hosts the fcmbgroupplc.com website and provides + technical support, access and links to the Local Sites of First City + Group members. fcmbgroupplc.com does not offer financial services or + products. Financial services and products may only be obtained by + registering with a Local Site. The First City Group provides financial + products and services to a global clientele through its affiliated + companies and branches located in 36 states and the Federal Capital + Territory in Nigeria, and in the UK. Privacy and personal data + protection principles vary from one country to another. When you + access or link to a Local Site, please read the privacy statement + issued by the Local Site to determine the policies that apply to + information or data maintained by the Local Site. +

    +

    + + 2. Information we may collect about you + +

    +

    + 2.1 Your Personal Information +

    +

    + At FCMB, we strive to meet your needs and provide you with exceptional + services. In the course of consuming our services through various + channels, such as forms, phone calls, correspondence, service point + interfaces, and other available channels, we collect information that + you provide to us. This information may include, but is not limited + to, contact data, log/Technical information, Financial Data, Marketing + and Communications Data, identity verification details (this includes + Personally Identifiable Information (PII), otherwise known as Personal + Information or Personal Data, which includes email address, phone + number, contact address, limited financial information, location data, + device data etc.) and documents, services consumed or desired, mode of + consumption, preferences, location, general events, and instructions + and transactions relating to the services. +

    +

    + The lawful basis we rely on for processing your Personal Information + are: +

    +
      +
    1. + Your Consent: Where you agree to us collecting your Personal + Information by using our Services. +
    2. +
    3. + We have a contractual obligation: Without your Personal Information, + we cannot provide our Services to you. +
    4. +
    5. + We have a legal obligation: To ensure we are fully compliant with + all applicable financial legislations such as Anti-Money Laundering + and Countering the Financing of Terrorism (AML/CFT) Laws, we must + collect and store your Personal Information. We protect against + fraud by checking your identity with your Personal Information. +
    6. +
    +

    + Additionally, to better serve your needs, we may utilize information + about you collected from third parties and service partners. It is + important to note that these third-party sources are not under the + control of FCMB, and we are not responsible for how they use the + information. +

    +

    + 2.2 Usage and other information +

    +

    + In addition to the personal information described above, we may + collect certain information about your use of our online services. For + example, we may capture the IP address of the device you use to + connect to the online service, the type of operating system and + browser you use, and information about the site you came from, the + parts of our online service you access, and the site you visit next. + FCMB or our third-party partners may also use cookies, web beacons or + other technologies to collect and store other information about your + visit to, or use of, our online services. In addition, we may later + associate the usage and other information we collect online with + personal information about you. +

    +

    + 2.3 FCMB Mobile +

    +

    + For the convenience of our FCMB customers, we provide access to our + products and services through our mobile applications and + mobile-optimized websites ("FCMB Mobile"). When you engage with us + through FCMB Mobile, we may collect certain information to enhance + your experience. This information may include unique device + identifiers for your mobile device, screen resolution, device + settings, location information, and analytical data regarding your + mobile device usage. Please note that we may request your permission + before collecting specific information, such as precise geo-location + data,- contact or image data and other personal identifiable + information through FCMB Mobile. Rest assured that any information + collected is handled with the utmost care and in accordance with our + privacy policy. +

    +

    + 2.4 Additional sources of information +

    +

    + We may also collect information about you from additional online and + offline sources including from co-branded partner sites or + commercially available third-party sources, such as credit reporting + agencies. We may combine this information with the personal and other + information we have collected about you under this Privacy Policy. +

    +

    + 2.5 Non-Personal Information +

    +

    + In order to achieve our goal of providing you with the best-in-class + service, we may also collect, store, use and transfer non-personal + information or anonymized data such as statistical or demographic + data. These may be collected or sourced during your visits to perform + certain tasks such as grant you access to some parts of our web site + or conduct research on your behaviour on our site in order to improve + our services. We will not disclose your information to any person + outside our organization except as described in this Privacy Policy. +

    +

    + + 3. Our Use of Information + +

    +

    + FCMB and/or subsidiaries may use or process the information discussed + above in a number of ways, such as to: +

    +
      +
    1. Manage your preferences;
    2. +
    3. + Create and manage any accounts or transactions you may have with us, + verify your identity, provide our services, and respond to your + inquiries; +
    4. +
    5. + Process your applications and transactions (including authorization, + clearing, chargebacks and other related dispute resolution + activities); +
    6. +
    7. + Protect against and prevent fraud, unauthorized transactions, claims + and other liabilities as well as enhance the security of your + account or our online services; +
    8. +
    9. + Provide, administer and communicate with you about our products, + services, offers, programs and promotions as well as those of our + merchants and partners; +
    10. +
    11. + Evaluate your interest in employment and contact you regarding + possible employment with FCMB; +
    12. +
    13. + Evaluate and improve our business, including developing new products + and services; +
    14. +
    15. To target advertisements, newsletters, and service updates;
    16. +
    17. As necessary to establish, exercise and defend legal rights;
    18. +
    19. + Perform analytics concerning your use of our online services, + including your responses to our emails and the pages and + advertisements you view; +
    20. +
    21. + As may be required by applicable laws and regulations, including for + compliance with Know Your Customers and risk assessment, Anti-Money + Laundering, anti-corruption and sanctions screening requirements, or + as requested by any judicial process, law enforcement or + governmental agency having or claiming jurisdiction over FCMB or + affiliates; +
    22. +
    23. + To use data analytics to improve our Website, products, or services, + and user experiences; +
    24. +
    25. + For other purposes for which we provide specific notice at the time + you provide or we collect your information. +
    26. +
    +

    + We may also use data that we collect on an aggregate or anonymous + basis (such that it does not identify any individual customers) for + various business purposes, where permissible under applicable laws and + regulations. +

    +

    + + 4. Cookies + +

    +

    + This website, along with most other major websites, uses cookies. + Cookies are pieces of information that a website transfers to the + cookie file on your computer’s hard disk. Cookies enable users to + navigate around the website and (where appropriate) enable us to + tailor the content to fit the needs of visitors who have accessed the + site. +

    +

    + Firstcitygroup.com uses two types of cookies on this website: +

    +
      +
    1. + Session cookies, which are temporary cookies that remain in the + cookie file of your computer until you close your browser (at which + point they are deleted). +
    2. +
    3. + Persistent or stored cookies that remain permanently on the cookie + file of your computer. +
    4. +
    +

    + Cookies cannot look into your computer and obtain information about + you or your family or read any material kept on your hard drive and, + unless you have logged onto an authenticated page, cookies cannot be + used to identify who you are. +

    +

    + Cookies cannot be used by anyone else who has access to the computer + to find out anything about you, other than the fact that someone using + the computer has visited a certain website. Cookies do not in any way + compromise the security of your computer. +

    +

    + Cookies will not be used to contact you for marketing purposes other + than by means of advertisements offered within this website. +

    +

    + Cookies may be used to record details of pages relating to particular + products and services that you have visited on this website. This is + to provide fcmb.com with generic usage statistics to allow the company + to improve this website and to provide you with information that may + interest you. +

    +

    + The web browsers of most computers are initially set up to accept + cookies. If you prefer, you can set your web browser to disable + cookies or to inform you when a website is attempting to add a cookie. + You can also delete cookies that have previously been added to your + computer’s cookie file. +

    +

    + You can set your browser to disable persistent cookies and/or session + cookies but if you disable session cookies, although you will be able + to view this website’s unsecured pages, you may not be able to log + onto any authenticated pages. +

    +

    + Please visit{" "} + + http://www.allaboutcookies.org/manage-cookies/ + {" "} + to discover how to disable and delete cookies. +

    +

    + + 5. Disclosures + +

    +

    + 5.1 Disclosures +

    +

    + We may divulge individual data to any individual performing review, + lawful, operational, or different services for us. We will utilize + data which does not identify the person for these exercises at + whatever point achievable. Data divulged to vendors or contractors for + operational purposes may not be re-disclosed to others by such a + vendor or contractor. We may reveal individual data when needed to do + as such by a court request, or court order. We may divulge individual + data as we esteem it proper to secure the wellbeing of our customers + or for an investigation identified with open security or to report an + action that has all the earmarks of being disregarding law. We may + divulge individual data to ensure the security and dependability of + this site and to take safety measures against accountability. +

    +

    + 5.2 Disclosures to Third Parties +

    +

    + Data about you that is accessible to you by means of fcmb.com, + including your personal data, can become subject to the legal systems + and laws in force in the country where the data is held, received or + stored by you or us. Such data can become subject to disclosure + pursuant to the laws of the country. +

    +

    + We may reveal your name and other personal data and other monetary + data about you at the request of regulatory agency or in connection + with an examination of us as a bank. This information could be + revealed to internal and external attorneys or auditors, and to others + whom we are required to make such revelations. +

    +

    + + 6. Information Security and Retention + +

    +

    + At FCMB, we are fully committed to protecting the information we + collect. We maintain administrative, technical, and physical controls + to actively safeguard the Personal Information you provide or we + collect. These controls are designed to protect against loss, theft, + unauthorized access, disclosure, copying, misuse, or modification. +

    +

    + Our security measures actively include secure servers, firewalls, data + encryption, and restricted access granted only to employees for + fulfilling their job responsibilities. +

    +

    + When using a password for any of your accounts, it is essential that + you actively ensure its confidentiality and refrain from sharing it + with anyone. +

    +

    + We actively conduct our business in accordance with these principles + to actively ensure the confidentiality and protection of your Personal + Information. While transmitting information online may not be entirely + secure, we actively take all reasonable steps to ensure the security + and protection of your Personal Information. +

    +

    + We will only retain personal information on our servers for as long as + it is actively necessary while providing services to you. In the event + you close your account, we actively store your information on our + servers to comply with regulatory obligations and actively monitor, + detect, and prevent fraud. Any retention of your Personal Data is + solely for such length of time as may be required by law, regulation, + and the internal policies of FCMB, her members and/or affiliates. +

    +

    + 6.1 Data Protection on the Internet +

    +

    + At FCMB we utilize encryption innovation to ensure the transmission of + data to or from you by means of fcmb.com. For security reasons and to + protect the security of your information, access to fcmb.com is + restricted to authorized users only. However, because information + about you, your account data and other transactions can be accessed + through a public network, the Internet, there can be no guarantee that + your account information will remain secure and you accept the risk + that unauthorized persons may view such information. If you believe + that an unauthorized person has accessed your information, please + contact the Bank immediately. +

    +

    + + 7. Updates to this Policy + +

    +

    + From time to time, we may change, amend or review this Privacy Policy + from time to time to reflect new services or changes in our Privacy + Policy and place any updates on this page. All changes made will be + posted on this page and where changes will materially affect you, we + will notify you of this change by placing a notice online or via mail. + If you keep using our Services, you consent to all amendments of this + Privacy Policy. +

    +

    + + 8. Contact us + +

    +

    + For issues relating to personal data, please contact us via any of the + below: +

    +

    + Corporate Address: Primrose Tower, 17A, Tinubu Street, Marina, Lagos +

    +

    Telephone: 07003290000, 01-2798800

    +

    + Email: customerservice@fcmb.com +

    +

    + Whatsapp: (+234) 09099999814 or (+234) 09099999815 +

    +
    +
    + ); +}; + +export default Main; diff --git a/src/components/TsAndCs/index.ts b/src/components/TsAndCs/index.ts new file mode 100644 index 0000000..7980d4a --- /dev/null +++ b/src/components/TsAndCs/index.ts @@ -0,0 +1,3 @@ +import Main from "./Main"; + +export { Main as TsAndCs }; diff --git a/src/components/auth/Login.tsx b/src/components/auth/Login.tsx new file mode 100644 index 0000000..ab43042 --- /dev/null +++ b/src/components/auth/Login.tsx @@ -0,0 +1,92 @@ +import { useState } from "react"; +import { Button, FloatLabelInput } from ".."; +import { useNavigate } from "react-router-dom"; +import { RouteHandler } from "../../router/routes"; + + +type FormType = { + email: string; + password: string; +}; + +type HandleChange = { + name: string; + value: string; +}; + +export default function Login() { + const navigate = useNavigate() + + let [formDetails, setFormDetails] = useState({ + email: "", + password: "", + }); + + const handleFormChange = ({ + target: { name, value }, + }: { + target: HandleChange; + }): any => { + setFormDetails((prev) => ({ ...prev, [name]: value })); + }; + + return ( +
    +
    +
    +
    +
    +
    +

    + Welcome! +

    +

    + Please login with your email and default password provided to you +

    +
    + +
    + {/* INPUTS */} +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + ); +} diff --git a/src/components/auth/OTP.tsx b/src/components/auth/OTP.tsx new file mode 100644 index 0000000..3cd3ed5 --- /dev/null +++ b/src/components/auth/OTP.tsx @@ -0,0 +1,111 @@ +import { useState } from "react"; +import { Button, FloatLabelInput } from ".."; +// import { Link } from "react-router-dom"; + +type FormType = { + email: string; + password: string; +}; + +type HandleChange = { + name: string; + value: string; +}; + +export default function Login() { + let [formDetails, setFormDetails] = useState({ + email: "", + password: "", + }); + + const handleFormChange = ({ + target: { name, value }, + }: { + target: HandleChange; + }): any => { + setFormDetails((prev) => ({ ...prev, [name]: value })); + }; + + return ( +
    +
    +
    +
    +
    +
    +

    + Enter OTP +

    +

    + Please enter verification code sent to you +

    +
    + +
    + {/* INPUTS */} +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + ); +} diff --git a/src/components/auth/index.ts b/src/components/auth/index.ts new file mode 100644 index 0000000..d20faff --- /dev/null +++ b/src/components/auth/index.ts @@ -0,0 +1,4 @@ +import Login from "./Login"; +import OTP from "./OTP" + +export { Login, OTP }; \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts new file mode 100644 index 0000000..5ed0e38 --- /dev/null +++ b/src/components/index.ts @@ -0,0 +1,11 @@ +export * from "./Header"; +export * from "./Home"; +export * from "./GetStarted"; +export * from "./shared"; +export * from "./Footer"; +// export * from "./DashboardLayout"; +export * from "./Icons"; +export * from "./Dashboard"; +export * from "./Cards"; +export * from "./LetsGetStated"; +export * from "./TsAndCs"; diff --git a/src/components/paginated-list/PendingList.tsx b/src/components/paginated-list/PendingList.tsx new file mode 100644 index 0000000..990e4e8 --- /dev/null +++ b/src/components/paginated-list/PendingList.tsx @@ -0,0 +1,134 @@ +import { ReactNode, useEffect, useState } from "react"; +import { PendingTableList } from "../../core/models"; + +type PaginatedListProps = { + data: PendingTableList, + itemsPerPage?: number, + filterItem?: string[], + tableTitle?: string, + titleClass?:string, + children: (data:PendingTableList) => ReactNode; +} + +export default function PendingList({ + data, + itemsPerPage = 5, + filterItem, + tableTitle, + titleClass, + children, +}:PaginatedListProps) { + const [searchTerm, setSearchTerm] = useState(""); + const [filteredData, setFilteredData] = useState(data); + + const [currentPage, setCurrentPage] = useState(0); + const [newData, setNewData] = useState([]); + + const numberOfSelection = itemsPerPage; + + const handlePrev = () => { + if (currentPage != 0) { + setCurrentPage((prev) => prev - numberOfSelection); + } + }; + const handleNext = () => { + if (currentPage < data.length) { + setCurrentPage((prev) => prev + numberOfSelection); + } + }; + + const handleSearch = ({ target: { value } }:{target: {value:string}}, name:string) => { + setSearchTerm(value); + let newFilteredData:any = data.filter((item:any) => + item[name].toLowerCase().startsWith(value.toLowerCase()) + ); + setFilteredData(newFilteredData); + setCurrentPage(0); + }; + + useEffect(() => { + setNewData( + filteredData?.slice(currentPage, numberOfSelection + currentPage) + ); + }, [currentPage, filteredData]); + + useEffect(()=>{ + setCurrentPage(0) + },[itemsPerPage]) + + return ( +
    +

    {tableTitle}

    + + {data.length > 0 && filterItem && ( +
    + {filterItem.map((item, index) => ( + + ))} +
    + )} + + {children(newData)} + + {/* show prev and next button if data exist */} + {(data.length > 0 && data.length > itemsPerPage) && ( +
    + + + {data.length && data.map((item, index)=>{ + item = item + if(index%itemsPerPage == 0 && index >= currentPage && index <= currentPage+itemsPerPage){ + return ( + + ) + } + })} + + +
    + )} +
    + ); +} diff --git a/src/components/shared/Button.tsx b/src/components/shared/Button.tsx new file mode 100644 index 0000000..245c3ac --- /dev/null +++ b/src/components/shared/Button.tsx @@ -0,0 +1,27 @@ +import React from "react"; + +interface ButtonProps { + text: string; + className?: string; + type?: "button" | "submit" | "reset"; + onClick?: React.MouseEventHandler; +} + +const Button: React.FC = ({ + text, + className, + onClick, + type = "button", +}) => { + return ( + + ); +}; + +export default Button; diff --git a/src/components/shared/FloatLabelInput.tsx b/src/components/shared/FloatLabelInput.tsx new file mode 100644 index 0000000..6ef36ad --- /dev/null +++ b/src/components/shared/FloatLabelInput.tsx @@ -0,0 +1,42 @@ + +type Props = { + id?:string, + name?:string, + type?:string, + placeHolder?:string, + labelName?:string, + inputClass?:string, + value:string, + onChange:(event?: any)=>any +} + +export default function FloatLabelInput({ + id, + name, + type, + placeHolder, + labelName, + value, + inputClass, + onChange +}:Props) { + return ( +
    + + +
    + ) +} diff --git a/src/components/shared/InputCompOne.tsx b/src/components/shared/InputCompOne.tsx new file mode 100644 index 0000000..776876d --- /dev/null +++ b/src/components/shared/InputCompOne.tsx @@ -0,0 +1,152 @@ +import React, { forwardRef } from "react"; +import { Icons } from "../Icons"; + +export interface InputCompOneProps { + label?: string; + labelClass?: string; + labelSpan?: string; + labelSpanClass?: string; + floatLabel?: string; + placeholder?: string; + value?: string | any; + onChange?: (e:any) => any; + onInput?: (e:any) => any; + name: string; + tabIndex?: number; + ref?: React.RefObject; + selectValue?: string; + input?: boolean; + select?: boolean; + selectOptions?: {loading:boolean, data:{ [index: string]: string; }[]}; + inputType?: string; + inputClass?: string; + parentInputClass?: string; + selectClass?: string; + parentClass?: string; + maxLength?: number; + error?: string; + disabled?: boolean +} + +const InputCompOne = forwardRef( + ( + { + label, + labelClass, + labelSpan, + labelSpanClass, + floatLabel, + placeholder, + value, + onChange, + onInput, + name, + tabIndex, + selectValue, + input = false, + select = false, + selectOptions = {loading:false, data:[]}, + inputType = "text", + inputClass, + parentInputClass, + selectClass, + parentClass, + maxLength, + error, + disabled=false + }, + forwardedRef + ) => { + return ( +
    + {label && ( + + )} + {input && ( +
    + + {floatLabel && + + } +
    + )} + {select && ( +
    + + {floatLabel && + + } + {/* select custon arrow */} +
    + +
    +
    + )} +
    + ); + } +); + +export default InputCompOne; diff --git a/src/components/shared/Stepper.tsx b/src/components/shared/Stepper.tsx new file mode 100644 index 0000000..53c1cf1 --- /dev/null +++ b/src/components/shared/Stepper.tsx @@ -0,0 +1,25 @@ +import React from "react"; + +interface StepperProps { + step: number; +} + +const Stepper: React.FC = ({ step = 0 }) => { + // const [activeStep, setActiveStep] = useState(step); + + return ( +
    + {[...Array(5)].map((_, index) => ( +
    setActiveStep(index)} + /> + ))} +
    + ); +}; + +export default Stepper; diff --git a/src/components/shared/index.ts b/src/components/shared/index.ts new file mode 100644 index 0000000..7a3ffd4 --- /dev/null +++ b/src/components/shared/index.ts @@ -0,0 +1,6 @@ +import Button from "./Button"; +import InputCompOne from "./InputCompOne"; +import FloatLabelInput from "./FloatLabelInput"; +import Stepper from "./Stepper"; + +export { Button, FloatLabelInput, InputCompOne, Stepper }; diff --git a/src/core/apiRequest.ts b/src/core/apiRequest.ts new file mode 100644 index 0000000..ce5555b --- /dev/null +++ b/src/core/apiRequest.ts @@ -0,0 +1,51 @@ +import { postAuxEnd, getAuxEnd } from "./axiosCall"; + +// FUNCTION TO START BVN VALIDATION +export const validateBVN = (postData:any) => { + let reqData = { + ...postData + } + return postAuxEnd('/bvn', reqData) +} + + +// FUNCTION TO VERIFY OTP AND LOGIN +export const verifyOTP = (postData:any) => { + let reqData = { + ...postData + } + return postAuxEnd('/bvn/verify', reqData) +} + +// FUNCTION TO APPLY FOR LOAN +export const applyForLoan = (postData:any) => { + let reqData = { + customer_uid: localStorage.getItem('uid'), + ...postData + } + return postAuxEnd('/loan/apply', reqData) +} + +// FUNCTION TO GET USER BY CUSTOMER UID +export const getUserByID = (uid:string) => { + let reqData = { + // customer_uid: localStorage.getItem('uid'), + } + return getAuxEnd(`/profile?uid=${uid}`, reqData) +} + +// FUNCTION TO GET USER BY CUSTOMER UID +export const getUserPendingLoanList = (uid:string) => { + let reqData = { + // customer_uid: localStorage.getItem('uid'), + } + return getAuxEnd(`/dash?uid=${uid}`, reqData) +} + +// FUNCTION TO GET LIST OF EMPLOYERS +export const getEmployersList = () => { + let reqData = { + // customer_uid: localStorage.getItem('uid'), + } + return getAuxEnd(`/employers`, reqData) +} \ No newline at end of file diff --git a/src/core/axiosCall.ts b/src/core/axiosCall.ts new file mode 100644 index 0000000..67e0043 --- /dev/null +++ b/src/core/axiosCall.ts @@ -0,0 +1,81 @@ +import axios from "axios"; + +export function postAuxEnd(uri: string, reqData: any): Promise { + const endPoint = import.meta.env.VITE_USERS_ENDPOINT + uri; + const formData = new FormData(); + for (let value in reqData) { + if (typeof reqData[value] === "object") { + // for (let innerValue in reqData[value]) { + // let innerReqData = reqData[value] + // console.log('SAMPLE',innerReqData) + // formData.append(reqData[value][innerValue], reqData[value][innerValue]); + // } + // formData.append(value, JSON.stringify(reqData[value])); + formData.append(value, reqData[value]); + } else { + formData.append(value, reqData[value]); + } + } + return axios + .post(endPoint, formData) + .then((response: {}) => { + // if (response.data.internal_return == "-9999") { + // localStorage.clear(); + // window.location.href = `/login?sessionExpired=true`; + // } + return response; + }) + .catch((error: any) => { + if (error.response) { + //response status is an error code + console.log( + "ERROR-------------------------------------------------------" + ); + console.log(error.response.status); + console.log( + "ERROR-------------------------------------------------------" + ); + } else if (error.request) { + //response not received though the request was sent + console.log( + "ERROR2-------------------------------------------------------" + ); + console.log(error?.request); + console.log( + "ERROR2-------------------------------------------------------" + ); + } else { + //an error occurred when setting up the request + console.log( + "ERROR3-------------------------------------------------------" + ); + console.log(error); + console.log( + "ERROR3-------------------------------------------------------" + ); + } + }); +} + + +export function getAuxEnd(uri: string, reqData: any): Promise { + const endPoint = import.meta.env.VITE_USERS_ENDPOINT + uri; + const formData = new FormData(); + for (let value in reqData) { + formData.append(value, reqData[value]); + } + return axios + .get(endPoint, reqData) + .then((response: {}) => { + // if (response.data.internal_return == "-9999") { + // localStorage.clear(); + // window.location.href = `/login?sessionExpired=true`; + // } + return response; + }) + .catch((error: any) => { + console.log( + "ERROR3-------------------------------------------------------", error + ); + }); +} diff --git a/src/core/models.ts b/src/core/models.ts new file mode 100644 index 0000000..90a29f9 --- /dev/null +++ b/src/core/models.ts @@ -0,0 +1,27 @@ +export interface RequestStatus { + loading?:boolean + status?:boolean | undefined + message?:string + name?:string + data?:{}[] | [any] | {} +} + + +export interface User { + firstname?:string + lastname?:string + last_login?:string + message?:string + token?:string + customer_uid?:string + call_return?:string + } + + +export type PendingTableList = { + status?: string | boolean; + application_uid?: string + added?: string + loan_amount?: string + payment_month?: string +}[]; \ No newline at end of file diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..898078a --- /dev/null +++ b/src/index.css @@ -0,0 +1,19 @@ +@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap'); + +@tailwind base; +@tailwind components; +@tailwind utilities; + +body { + line-height: 1.42857143; + font-family: "Open Sans", sans-serif; + font-optical-sizing: auto; + font-style: normal; +} + + +@layer components { + .containerMode { + @apply container mx-auto px-5 max-w-[1500px] + } +} \ No newline at end of file diff --git a/src/layouts/DashboardLayout/Aside.tsx b/src/layouts/DashboardLayout/Aside.tsx new file mode 100644 index 0000000..2b964a9 --- /dev/null +++ b/src/layouts/DashboardLayout/Aside.tsx @@ -0,0 +1,225 @@ +import { useState, useEffect } from 'react'; +import { Link, useLocation } from 'react-router-dom'; +import Logo from '../../assets/icons/logo.svg'; +import { Icons } from '../../components'; +import { contactDetails } from '../../utils/data'; + +type Props = { + asideDisplay?: () => void; + logoutUser: () => void; +}; + +export default function Aside({ asideDisplay, logoutUser }: Props) { + const { pathname } = useLocation(); + + const [openNestedLink, setOpenNestedLink] = useState<{ name: string | null }>( + { name: '' } + ); + + const handleOpenNestedLink = (e: any) => { + if (!e || !e.target) { + return setOpenNestedLink({ name: '' }); + } + if (openNestedLink.name && openNestedLink.name == e.target.name) { + setOpenNestedLink({ name: '' }); + } else { + setOpenNestedLink({ name: e.target.name }); + } + }; + + // Track user activity + useEffect(() => { + let timeout: number; + + const resetTimeout = () => { + clearTimeout(timeout); + timeout = window.setTimeout(() => { + // Logout user after 7 minutes of inactivity + logoutUser(); + }, 7 * 60 * 1000); // 7 minutes in milliseconds + }; + + const handleUserActivity = () => { + resetTimeout(); + }; + + // Attach event listeners to track user activity + document.addEventListener('mousemove', handleUserActivity); + document.addEventListener('keypress', handleUserActivity); + + // Initialize timeout + resetTimeout(); + + // Clear timeout and remove event listeners on component unmount + return () => { + clearTimeout(timeout); + document.removeEventListener('mousemove', handleUserActivity); + document.removeEventListener('keypress', handleUserActivity); + }; + }, [logoutUser]); + + return ( +
    + + Logo + +
    + {asideLinks.map((link, index) => { + if (link.nestedLink?.length) { + let allNestedLinks = link.nestedLink.map((item) => item.link); + return ( +
    + +
    + {link.nestedLink.map((nextLink, index) => ( + { + asideDisplay && asideDisplay(); + }} + key={index} + to={nextLink.link ? nextLink.link : '#'} + className={`w-full my-1 flex items-center gap-2 py-2 pl-5 text-base font-medium ${ + pathname == nextLink.link + ? ' text-[#5C2684]' + : 'text-[#585858]' + }`} + > + + {nextLink.name} + + ))} +
    +
    + ); + } else { + return ( + { + asideDisplay && asideDisplay(); + }} + key={index} + to={link.link ? link.link : '#'} + className={`w-full my-4 flex items-center gap-2 py-2 pl-5 rounded-lg text-base font-medium ${ + pathname == link.link ? 'text-[#5C2684]' : 'text-[#585858]' + }`} + > + + {link.name} + + ); + } + })} +
    +
    + + +
    +

    + For more enquiries and support +

    + {/*

    + Call: 09099000000 +

    +

    + Email: fcmbloan@support.com +

    */} + {contactDetails.map(({ name, value }) => ( +

    + {name}: {value} +

    + ))} +
    +
    +
    + ); +} + +type AsideLinksType = { + name: string; + link?: string; + icon: string; + nestedLink?: { + name: string; + link: string; + icon: string; + }[]; +}[]; + +const asideLinks: AsideLinksType = [ + { + name: 'Dashboard', + link: '/dashboard/home', + icon: 'dash-icon', + nestedLink: [], + }, + { + name: 'Your Profile', + link: '/dashboard/profile', + icon: 'dash-icon', + nestedLink: [], + }, + { + name: 'Employment Details', + link: '/dashboard/verification', + icon: 'dash-icon', + nestedLink: [], + }, + { + name: 'Reference Details', + link: '/dashboard/payments', + icon: 'dash-icon', + nestedLink: [], + }, + { + name: 'Agreements', + link: '/dashboard/legals', + icon: 'dash-icon', + nestedLink: [], + }, + // {name: 'Nested Link', icon: 'home', nestedLink:[ + // {name: 'Link 2', link: '/dashboard/not-found', icon: 'legals'}, + // {name: 'Link 1', link: '/dashboard/not-found', icon: 'home'} + // ] + // }, +]; diff --git a/src/layouts/DashboardLayout/DashboardAuth.tsx b/src/layouts/DashboardLayout/DashboardAuth.tsx new file mode 100644 index 0000000..8400f96 --- /dev/null +++ b/src/layouts/DashboardLayout/DashboardAuth.tsx @@ -0,0 +1,61 @@ + +import {useState, useEffect} from 'react' +import DashboardLayout from "./DashboardLayout"; +import { Outlet, useNavigate } from "react-router-dom"; +import { useSelector, useDispatch } from "react-redux"; +import { RouteHandler } from '../../router/routes'; +import { updateUserDetails } from '../../store/UserDetails'; +import { getUserByID } from '../../core/apiRequest'; + +import Logo from '../../assets/images/logo.png' + +export default function DashboardAuth() { + + const navigate = useNavigate() + const dispatch = useDispatch() + + const { userDetails } = useSelector((state:any) => state?.userDetails); // CHECKS IF USER Details are avaliable + + const [loading, setLoading] = useState(true) + + useEffect(()=>{ + let token = localStorage.getItem('token') + let uid = localStorage.getItem('uid') + if(!token || !uid){ + navigate(RouteHandler.letsGetStarted, {replace:true}) + return + } + const getUser = () => { // FUNCTION TO GET USER BY ID + // let data = {firstname:'firstname', lastname:'lastname', uid:'28273737646466464'} + getUserByID(uid).then(res=>{ + if(!res.data.call_return || !Object.keys(res.data.customer).length){ + navigate(RouteHandler.letsGetStarted, {replace:true}) + return + } + setLoading(false) + dispatch(updateUserDetails(res.data.customer)); + }).catch(err=>{ + navigate(RouteHandler.letsGetStarted, {replace:true}) + console.log('USER ERROR', err) + }) + } + if(!Object.keys(userDetails).length){ + getUser() + } + },[]) + + return ( + <> + {loading && !Object.keys(userDetails).length ? +
    + Logo +

    loading...

    +
    + : + + + + } + + ) +} \ No newline at end of file diff --git a/src/layouts/DashboardLayout/DashboardLayout.tsx b/src/layouts/DashboardLayout/DashboardLayout.tsx new file mode 100644 index 0000000..892250c --- /dev/null +++ b/src/layouts/DashboardLayout/DashboardLayout.tsx @@ -0,0 +1,124 @@ +import { ReactNode, useState, useEffect } from "react"; +import { RouteHandler } from "../../router/routes"; +import { useNavigate } from "react-router-dom"; + +import Aside from "./Aside"; + +export default function DashboardLayout({ children }: { children: ReactNode }) { + const navigate = useNavigate(); + + const [showAside, setShowAside] = useState(false); + const asideDisplay = (): void => { + setShowAside((prev) => !prev); + }; + + useEffect(() => { + const handleResize = () => { + return setShowAside(false); + }; + window.addEventListener("resize", handleResize); + return () => { + window.removeEventListener("resize", handleResize); + }; + }, []); + + // Assume this interface for ChildProps + // interface ChildProps { + // customProp?: string; + // } + + // const enhanceChildren = React.Children.map(children, (child) => { + // if (React.isValidElement(child)) { + // return React.cloneElement(child, { customProp: "Hello, World!" }); + // } + // return child; + // }); + + const logoutUser = () => { + localStorage.clear() + navigate(RouteHandler.letsGetStarted, {replace:true}) + } + + return ( +
    +
    + ); +} + +// {/*
    +//
    + +// {/* MENU HAND BURGER */} +//
    Welcome Austin Catherine
    +//
    +//
    +//
    +//
    +//
    +//
    +//
    */} diff --git a/src/layouts/DashboardLayout/index.tsx b/src/layouts/DashboardLayout/index.tsx new file mode 100644 index 0000000..cf40d1a --- /dev/null +++ b/src/layouts/DashboardLayout/index.tsx @@ -0,0 +1,3 @@ +import DashboardAuth from "./DashboardAuth"; + +export { DashboardAuth }; \ No newline at end of file diff --git a/src/layouts/HomeLayout.tsx b/src/layouts/HomeLayout.tsx new file mode 100644 index 0000000..e0110c2 --- /dev/null +++ b/src/layouts/HomeLayout.tsx @@ -0,0 +1,27 @@ +import React, { ReactNode } from "react"; +import { + BottomFooterOne, + Header, + MidFooter, + TopFooterOne, + TopHeader, +} from "../components"; + +interface HomeLayoutProps { + children: ReactNode; +} + +const HomeLayout: React.FC = ({ children }) => { + return ( + <> + +
    + {children} + + + + + ); +}; + +export default HomeLayout; diff --git a/src/layouts/Layout.tsx b/src/layouts/Layout.tsx new file mode 100644 index 0000000..104a39d --- /dev/null +++ b/src/layouts/Layout.tsx @@ -0,0 +1,26 @@ +import React from "react"; +import { Footer, Header } from "../components"; +import { Outlet } from "react-router-dom"; + +interface GetStartedLayoutProps { + children?: React.ReactNode; +} + + +const Layout: React.FC = ({ children }) => { + return ( +
    +
    +
    +
    +
    + {children || } +
    +
    +
    +
    +
    + ); +}; + +export default Layout; diff --git a/src/layouts/LetsGetStartedLayout.tsx b/src/layouts/LetsGetStartedLayout.tsx new file mode 100644 index 0000000..cbf43a6 --- /dev/null +++ b/src/layouts/LetsGetStartedLayout.tsx @@ -0,0 +1,24 @@ +import React from "react"; +import { Footer, LetsGetStartedNav } from "../components"; +// import layoutImage from "../assets/images/test1-reverse.png"; + +const LetsGetStartedLayout = ({ children }: { children: React.ReactNode }) => { + return ( +
    +
    +
    + + {children} +
    +
    + {/* */} +
    +
    +
    +
    +
    +
    + ); +}; + +export default LetsGetStartedLayout; diff --git a/src/layouts/index.ts b/src/layouts/index.ts new file mode 100644 index 0000000..5267d35 --- /dev/null +++ b/src/layouts/index.ts @@ -0,0 +1,7 @@ +import HomeLayout from "./HomeLayout"; +import LetsGetStartedLayout from "./LetsGetStartedLayout"; +import Layout from "./Layout"; +import DashboardLayout from "./DashboardLayout/DashboardLayout"; +import { DashboardAuth } from "./DashboardLayout"; + +export { HomeLayout, LetsGetStartedLayout, Layout, DashboardLayout, DashboardAuth }; diff --git a/src/lib/NewDateTimeFormatter.ts b/src/lib/NewDateTimeFormatter.ts new file mode 100644 index 0000000..18da0e7 --- /dev/null +++ b/src/lib/NewDateTimeFormatter.ts @@ -0,0 +1,18 @@ + +export function NewDateTimeFormatter(isoDateString:any, addHour = true) { + const date = new Date(isoDateString); + if (addHour) { + date.setTime(date.getTime() + 1 * 60 * 60 * 1000); + } + const formattedDate = date.toLocaleDateString("en-US", { + year: "numeric", + month: "numeric", + day: "numeric", + hour: "2-digit", + minute: "2-digit", + // second: "2-digit", + hour12: true, + timeZone: "UTC", + }); + return formattedDate; + } \ No newline at end of file diff --git a/src/main.tsx b/src/main.tsx new file mode 100644 index 0000000..6873238 --- /dev/null +++ b/src/main.tsx @@ -0,0 +1,18 @@ +import React from "react"; +import ReactDOM from "react-dom/client"; +import { BrowserRouter } from "react-router-dom"; +import App from "./App.tsx"; +import "./index.css"; + +import { Provider } from "react-redux"; +import store from "./store/store"; + +ReactDOM.createRoot(document.getElementById("root")!).render( + + + + + + + +); diff --git a/src/pages/BusinessBankingPage.tsx b/src/pages/BusinessBankingPage.tsx new file mode 100644 index 0000000..75592f7 --- /dev/null +++ b/src/pages/BusinessBankingPage.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import { HomeLayout } from "../layouts"; +import { PersonalHero } from "../components"; + +const BusinessBankingPage: React.FC = () => { + return ( + + + Business Banking + + ); +}; + +export default BusinessBankingPage; diff --git a/src/pages/CooperateBankingPage.tsx b/src/pages/CooperateBankingPage.tsx new file mode 100644 index 0000000..7b35519 --- /dev/null +++ b/src/pages/CooperateBankingPage.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import { HomeLayout } from "../layouts"; +import { PersonalHero } from "../components"; + +const CooperateBankingPage: React.FC = () => { + return ( + + + Cooperate Banking + + ); +}; + +export default CooperateBankingPage; diff --git a/src/pages/DashboardHomePage.tsx b/src/pages/DashboardHomePage.tsx new file mode 100644 index 0000000..7b02b80 --- /dev/null +++ b/src/pages/DashboardHomePage.tsx @@ -0,0 +1,9 @@ +import { DashboardHome } from "../components" + +export default function DashboardHomePage() { + return ( +
    + +
    + ) +} diff --git a/src/pages/DashboardLegalsPage.tsx b/src/pages/DashboardLegalsPage.tsx new file mode 100644 index 0000000..5101c4f --- /dev/null +++ b/src/pages/DashboardLegalsPage.tsx @@ -0,0 +1,5 @@ +export default function DashboardLegalsPage() { + return ( +
    DashboardLegals
    + ) +} diff --git a/src/pages/DashboardPaymentsPage.tsx b/src/pages/DashboardPaymentsPage.tsx new file mode 100644 index 0000000..52e80af --- /dev/null +++ b/src/pages/DashboardPaymentsPage.tsx @@ -0,0 +1,5 @@ +export default function DashboardpaymentsPage() { + return ( +
    Dashboardpayments
    + ) +} diff --git a/src/pages/DashboardProfilePage.tsx b/src/pages/DashboardProfilePage.tsx new file mode 100644 index 0000000..5f8c8ae --- /dev/null +++ b/src/pages/DashboardProfilePage.tsx @@ -0,0 +1,9 @@ +import { DashboardProfile } from "../components"; + +export default function DashboardProfilePage() { + return ( + <> + + + ); +} diff --git a/src/pages/DashboardVerificationPage.tsx b/src/pages/DashboardVerificationPage.tsx new file mode 100644 index 0000000..65b9262 --- /dev/null +++ b/src/pages/DashboardVerificationPage.tsx @@ -0,0 +1,5 @@ +export default function DashboardVerificationPage() { + return ( +
    DashboardVerification
    + ) +} diff --git a/src/pages/GetStartedPage.tsx b/src/pages/GetStartedPage.tsx new file mode 100644 index 0000000..baad895 --- /dev/null +++ b/src/pages/GetStartedPage.tsx @@ -0,0 +1,31 @@ +import React from "react"; +import { GetStarted as Main } from "../components"; +import { Layout } from "../layouts"; +// import BVN from "../components/GetStarted/BVN"; + +const GetStartedPage: React.FC = () => { + const [step, setStep] = React.useState(1); + + const handleNextStep = () => { + if (step < 5) { + setStep(step + 1); + } + }; + + return ( + <> + {/* {step == 1 ? + + + + : + null + } */} + +
    + + + ); +}; + +export default GetStartedPage; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx new file mode 100644 index 0000000..d24ef40 --- /dev/null +++ b/src/pages/HomePage.tsx @@ -0,0 +1,21 @@ +import React, { useEffect } from "react"; +import { Hero, Requirements } from "../components"; +import { HomeLayout } from "../layouts"; +import { useNavigate } from "react-router-dom"; + +const HomePage: React.FC = () => { + const navigate = useNavigate() + + useEffect(()=>{ + navigate('/auth/login') + },[]) + + return ( + + + + + ); +}; + +export default HomePage; diff --git a/src/pages/InternetBankingPage.tsx b/src/pages/InternetBankingPage.tsx new file mode 100644 index 0000000..8d0fb70 --- /dev/null +++ b/src/pages/InternetBankingPage.tsx @@ -0,0 +1,10 @@ +import React from 'react' +import { HomeLayout } from '../layouts' + +const InternetBankingPage: React.FC = () => { + return ( + InternetBankingPage + ) +} + +export default InternetBankingPage \ No newline at end of file diff --git a/src/pages/LetsGetStatedPage.tsx b/src/pages/LetsGetStatedPage.tsx new file mode 100644 index 0000000..f8bd80d --- /dev/null +++ b/src/pages/LetsGetStatedPage.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import { LetsGetStartedLayout } from "../layouts"; +import { LetsGetStarted } from "../components"; + +const LetsGetStatedPage: React.FC = () => { + return ( + + + + ); +}; + +export default LetsGetStatedPage; diff --git a/src/pages/LoginPage.tsx b/src/pages/LoginPage.tsx new file mode 100644 index 0000000..24230a4 --- /dev/null +++ b/src/pages/LoginPage.tsx @@ -0,0 +1,10 @@ +import { Login } from "../components/auth"; + + +export default function LoginPage() { + return ( + <> + + + ); +} diff --git a/src/pages/OTPPage.tsx b/src/pages/OTPPage.tsx new file mode 100644 index 0000000..846bdcb --- /dev/null +++ b/src/pages/OTPPage.tsx @@ -0,0 +1,10 @@ +import { OTP } from "../components/auth"; + + +export default function OTPPage() { + return ( + <> + + + ); +} diff --git a/src/pages/PersonalBankingPage.tsx b/src/pages/PersonalBankingPage.tsx new file mode 100644 index 0000000..97679bf --- /dev/null +++ b/src/pages/PersonalBankingPage.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import { HomeLayout } from "../layouts"; +import { PersonalHero } from "../components"; + +const PersonalBankingPage: React.FC = () => { + return ( + + + Personal Banking + + ); +}; + +export default PersonalBankingPage; diff --git a/src/pages/TermsAndConditionPage.tsx b/src/pages/TermsAndConditionPage.tsx new file mode 100644 index 0000000..b2c83c2 --- /dev/null +++ b/src/pages/TermsAndConditionPage.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import { HomeLayout } from "../layouts"; +import { TsAndCs } from "../components"; + +const TermsAndConditionPage: React.FC = () => { + return ( + + + + ); +}; + +export default TermsAndConditionPage; diff --git a/src/pages/index.ts b/src/pages/index.ts new file mode 100644 index 0000000..b53ab89 --- /dev/null +++ b/src/pages/index.ts @@ -0,0 +1,31 @@ +import HomePage from "./HomePage"; +import LoginPage from "./LoginPage"; +import OTPPage from "./OTPPage"; +import GetStartedPage from "./GetStartedPage"; +// import DashboardHomePage from "./DashboardHomePage"; +// import DashboardLegalsPage from "./DashboardLegalsPage"; +// import DashboardProfilePage from "./DashboardProfilePage"; +// import DashboardVerificationPage from "./DashboardVerificationPage"; +// import DashboardpaymentsPage from "./DashboardPaymentsPage"; +// import TermsAndConditionPage from "./TermsAndConditionPage"; +// import PersonalBankingPage from "./PersonalBankingPage"; +// import BusinessBankingPage from "./BusinessBankingPage"; +// import CooperateBankingPage from "./CooperateBankingPage"; +// import LetsGetStatedPage from "./LetsGetStatedPage"; + +export { + HomePage, + LoginPage, + OTPPage, + GetStartedPage, + // DashboardHomePage, + // DashboardLegalsPage, + // DashboardProfilePage, + // DashboardVerificationPage, + // DashboardpaymentsPage, + // TermsAndConditionPage, + // PersonalBankingPage, + // BusinessBankingPage, + // CooperateBankingPage, + // LetsGetStatedPage +}; diff --git a/src/router/Router.tsx b/src/router/Router.tsx new file mode 100644 index 0000000..c524109 --- /dev/null +++ b/src/router/Router.tsx @@ -0,0 +1,82 @@ +import { Route, Routes } from "react-router-dom"; +import { RouteHandler } from "./routes"; +import { DashboardAuth, Layout } from "../layouts"; + +import { + GetStartedPage, + LoginPage, + OTPPage, + // HomePage, + // DashboardHomePage, + // DashboardLegalsPage, + // DashboardProfilePage, + // DashboardVerificationPage, + // DashboardpaymentsPage, + // TermsAndConditionPage, + // BusinessBankingPage, + // CooperateBankingPage, + // PersonalBankingPage, + // LetsGetStatedPage, +} from "../pages"; + +const Routers = () => { + return ( + + }> + } /> + } /> + + + } /> + + {/* } /> */} + {/* } + /> + } + /> + } + /> + } + /> + } + /> */} + + {/* Dashboard */} + }> + {/* } + /> + } + /> + } + /> + } + /> + } + /> */} + + Error Page} /> + + ); +}; + +export default Routers; diff --git a/src/router/routes.tsx b/src/router/routes.tsx new file mode 100644 index 0000000..07f2c5a --- /dev/null +++ b/src/router/routes.tsx @@ -0,0 +1,17 @@ +export class RouteHandler { + static homepage = "/"; + static loginpage = "/auth/login"; + static otppage = "/auth/otp"; + + // static getStarted = "/get-started"; + // static personalBanking = "/personal-banking"; + // static businessBanking = "/business-banking"; + // static cooperateBanking = "/cooperate-banking"; + // static letsGetStarted = "/lets-get-started"; + // static dashboardHome = "/dashboard/home"; + // static dashboardProfile = "/dashboard/profile"; + // static dashboardVerification = "/dashboard/verification"; + // static dashboardPayments = "/dashboard/payments"; + // static dashboardLegals = "/dashboard/legals"; + // static termsAndConditions = "/terms-and-conditions"; +} diff --git a/src/store/UserDetails.ts b/src/store/UserDetails.ts new file mode 100644 index 0000000..8cb2677 --- /dev/null +++ b/src/store/UserDetails.ts @@ -0,0 +1,20 @@ +import { createSlice } from "@reduxjs/toolkit"; + +const initialState = { + userDetails: {}, +}; + +export const userSlice = createSlice({ + name: "userDetails", + initialState, + reducers: { + updateUserDetails: (state, action) => { + state.userDetails = { ...action.payload }; + }, + }, +}); + +// Action creators are generated for each case reducer function +export const { updateUserDetails } = userSlice.actions; + +export default userSlice.reducer; diff --git a/src/store/store.ts b/src/store/store.ts new file mode 100644 index 0000000..e111aec --- /dev/null +++ b/src/store/store.ts @@ -0,0 +1,9 @@ +import { configureStore } from "@reduxjs/toolkit"; + +import userDetailReducer from "./UserDetails"; + +export default configureStore({ + reducer: { + userDetails: userDetailReducer, + }, +}); diff --git a/src/utils/data.tsx b/src/utils/data.tsx new file mode 100644 index 0000000..258e8b6 --- /dev/null +++ b/src/utils/data.tsx @@ -0,0 +1,561 @@ +import FBook from '../assets/icons/facebook.svg'; +import Twitter from '../assets/icons/twitter.svg'; +import Instagram from '../assets/icons/instagram.svg'; +import FBookWhite from '../assets/images/socials/facebook.svg'; +import LinkedInWhite from '../assets/images/socials/linkedin.svg'; +import XWhite from '../assets/images/socials/twitterx.svg'; +import WhatsappWhite from '../assets/images/socials/whatsapp.svg'; +import YoutubeWhite from '../assets/images/socials/youtube.svg'; +import InstagramWhite from '../assets/images/socials/instagram.svg'; +import { RouteHandler } from '../router/routes'; + +let process = import.meta.env; + +export const top_header_data = [ + { id: 1, name: 'HOME', href: RouteHandler.homepage }, + { id: 2, name: 'PERSONAL', href: RouteHandler.personalBanking }, + { id: 3, name: 'BUSINESS', href: RouteHandler.businessBanking }, + { id: 4, name: 'CORPORATE', href: RouteHandler.cooperateBanking }, +]; + +export const lowerMenuItems = [ + { + id: 1, + name: 'PERSONAL BANKING', + linkPath: '/personal-banking', + }, + { + id: 2, + name: 'BUSINESS BANKING', + linkPath: '/business-banking', + }, + { + id: 3, + name: 'CORPORATE BANKING', + linkPath: '/cooperate-banking', + }, + { + id: 4, + name: 'GROUP & SUBSIDIARIES', + linkPath: '', + }, + { + id: 5, + name: 'ABOUT US', + linkPath: '/about-us', + }, + { + id: 6, + name: 'MY BANK AND I', + linkPath: '', + }, +]; + +export const _lowerMenuItems = [ + { + name: 'PERSONAL BANKING', + linkPath: '/personal-banking', + subItems: [ + { + name: 'CURRENT ACCOUNTS', + linkPath: '/current-accounts', + subItems: [ + { + name: 'CLASSIC CURRENT ACCOUNT', + linkPath: '/personal-classic-current-account', + }, + { + name: 'PREMIUM CURRENT ACCOUNT', + linkPath: '/premium-current-account', + }, + { + name: 'PERSONAL BUSINESS ACCOUNT', + linkPath: '/personal-business-account', + }, + { + name: 'DOMICILIARY CURRENT ACCOUNT', + linkPath: '/domiciliary-current-account', + }, + ], + }, + { + name: 'SAVINGS ACCOUNTS', + linkPath: '/savings-accounts', + subItems: [ + { name: 'FCMB EASY ACCOUNT', linkPath: '/easy-account' }, + { name: 'KIDS (0-17 YRS)', linkPath: '/kids' }, + { name: 'FLEXX (18-30 YRS)', linkPath: '/flexx-account' }, + { + name: 'CLASSIC SAVINGS ACCOUNT', + linkPath: '/classic-savings-account', + }, + { + name: 'PREMIUM SAVINGS ACCOUNT', + linkPath: '/fcmb-premium-savings-account', + }, + { + name: 'FCMB SALARY SAVINGS ACCOUNT', + linkPath: '/fcmb-salary-savings-account', + }, + { + name: 'DOMICILIARY SAVINGS ACCOUNT', + linkPath: '/domiciliary-savings-account', + }, + ], + }, + { + name: 'INVESTMENTS', + linkPath: '/investment-accounts', + subItems: [ + { name: 'FIXED DEPOSITS', linkPath: '/fixed-deposits' }, + { name: 'GRO (App)', linkPath: '/GRO' }, + { name: 'GRO (Web)', linkPath: 'https://www.investwithgro.com/' }, + { + name: 'I-NEST SAVING', + linkPath: 'https://i-nest.fcmb.com/#/welcome', + }, + { name: 'CALL DEPOSITS', linkPath: '/call-deposits' }, + { + name: 'EDUCATION INVESTMENT PLAN', + linkPath: '/education-investment', + }, + { + name: 'MUTUAL FUNDS', + linkPath: 'https://www.fcmbassetmanagement.com/mutual-funds/', + }, + ], + }, + { + name: 'LOANS AND CREDIT CARDS', + linkPath: '/loans-and-credit-cards', + subItems: [ + { name: 'FASTCASH', linkPath: '/fastcash' }, + { name: 'SALARY PLUS LOAN', linkPath: '/salary-plus-loan' }, + { name: 'PREMIUM SALARY LOAN', linkPath: '/premium-salary-loan' }, + { name: 'AUTO LOAN', linkPath: '/auto-loan' }, + { name: 'AIRTIME LOAN', linkPath: '/airtime-loan' }, + { name: 'CREDIT CARDS', linkPath: '/credit-cards' }, + { + name: 'EASYLIFT LOAN', + linkPath: 'https://easyliftloanform.fcmb.com', + }, + { name: 'MORTGAGE', linkPath: 'http://mortgage.fcmb.com/' }, + ], + }, + { + name: 'NON-RESIDENT NIGERIAN (NRN) BANKING', + linkPath: 'https://www.fcmb.com/non-resident-nigerian', + }, + { + name: 'WAYS TO BANK', + linkPath: '/ways-to-bank', + subItems: [ + { name: 'FCMB MOBILE', linkPath: '/fcmb-mobile' }, + { + name: 'RETAIL INTERNET BANKING', + linkPath: 'https://ibank.fcmb.com/', + }, + { name: 'USSD BANKING', linkPath: '/ussd' }, + { name: 'OUR BRANCH NETWORK', linkPath: '/branch-network' }, + { name: 'OUR ATM NETWORK', linkPath: '/atm-network' }, + { name: 'FLASHMECASH', linkPath: '/flashme-cash' }, + { name: 'OUR CARDS', linkPath: '/our-cards' }, + { name: 'FCMB ELECTRONIC CHANNELS', linkPath: '/e-channels' }, + { name: 'AGENT BANKING', linkPath: '/agent-banking' }, + { + name: 'FCMB SECURE COMMUNICATION', + linkPath: '/secure-communication', + }, + { name: 'TEMI', linkPath: '/temi' }, + ], + }, + { name: 'BANCASSURANCE', linkPath: '/bancassurance' }, + ], + }, + { + name: 'BUSINESS BANKING', + linkPath: '/business-banking', + subItems: [ + { + name: 'PROPOSITIONS', + linkPath: '', + subItems: [ + { name: 'SHEVENTURES', linkPath: '/she-ventures' }, + { name: 'BUSINESS ZONE', linkPath: 'https://businesszone.fcmb.com/' }, + { + name: 'FOOD BUSINESS SUPPORT', + linkPath: 'https://www.fcmb.com/food-business-support/', + }, + { name: 'SCHOOL BUSINESS SUPPORT', linkPath: '/school-support' }, + ], + }, + { + name: 'CURRENT ACCOUNTS', + linkPath: '/business-current-accounts', + subItems: [ + { + name: 'CORPORATE CURRENT ACCOUNT', + linkPath: '/corporate-current-account', + }, + { name: 'FCMB BUSINESS ACCOUNT', linkPath: '/fcmb-business-account' }, + { + name: 'DOMICILIARY CURRENT ACCOUNT', + linkPath: '/business-domiciliary-current-account', + }, + ], + }, + { + name: 'SAVINGS ACCOUNTS', + linkPath: '/node/178', + subItems: [ + { + name: 'BUSINESS SAVINGS ACCOUNT', + linkPath: '/business-savings-account', + }, + ], + }, + { + name: 'LOANS', + linkPath: '/business-loans', + subItems: [ + { + name: 'SME DEVELOPMENT FINANCE FACILITY', + linkPath: '/sme-development-finance-facility', + }, + { + name: 'SME ASSET FINANCE FACILITY', + linkPath: '/sme-asset-finance-facility', + }, + { + name: 'SME WORKING CAPITAL FACILITY', + linkPath: '/sme-working-capital-facility', + }, + { name: 'QUICK LOAN', linkPath: '/quick-loan' }, + { + name: 'SME INVOICE DISCOUNTING FINANCE (IDF) FACILITY', + linkPath: '/invoice-discounting-loan', + }, + { + name: 'SME LOCAL PURCHASE ORDER (LPO) FINANCE FACILITY', + linkPath: '/local-purchase-order-loan', + }, + ], + }, + { name: 'BONDS & GUARANTEES', linkPath: '/bonds-and-guarantees' }, + { name: 'INTERVENTION FUNDS', linkPath: '/intervention-funds' }, + { name: 'TRADE SERVICE', linkPath: '/trade-service' }, + { + name: 'PAYMENT & COLLECTION', + linkPath: '/payment-and-collection', + subItems: [ + { name: 'COLLECTION SOLUTIONS', linkPath: '/collection-solutions' }, + { name: 'PAYMENT SOLUTIONS', linkPath: '/payment-solutions' }, + ], + }, + { + name: 'WAYS TO BANK', + linkPath: '/business-ways-to-bank', + subItems: [ + { + name: 'BUSINESS INTERNET BANKING', + linkPath: 'https://ibank.fcmb.com/corporate/BbgLoginScreenUI.aspx', + }, + { + name: 'CORPORATE INTERNET BANKING', + linkPath: 'https://www.fcmbonline.com/', + }, + { name: 'OUR ATM NETWORK', linkPath: '/atm-network2' }, + { name: 'FCMB ONLINE', linkPath: '/fcmb-online-business' }, + { + name: 'FCMB ELECTRONIC CHANNELS', + linkPath: 'https://www.fcmb.com/e-channels', + }, + { name: 'FCMB BUSINESS APP', linkPath: '/FCMB-business-app' }, + ], + }, + ], + }, + { + name: 'CORPORATE BANKING', + linkPath: '/cooperate-banking', + subItems: [ + { + name: 'FOREIGN EXCHANGE SERVICES', + linkPath: '/foreign-exchange-services', + }, + { name: 'TRADE SERVICES', linkPath: '/node/166' }, + { name: 'CASH MANAGEMENT SOLUTIONS', linkPath: '/cash-management' }, + { name: 'CORPORATE FINANCE', linkPath: '/corporate-finance' }, + ], + }, + { + name: 'GROUP & SUBSIDIARIES', + linkPath: '', + subItems: [ + { name: 'FCMB GROUP PLC', linkPath: 'https://www.fcmbgroup.com/' }, + { + name: 'CSL STOCKBROKERS', + linkPath: 'https://www.cslstockbrokers.com/', + }, + { + name: 'FCMB CAPITAL MARKETS', + linkPath: 'https://www.fcmbcapitalmarketsng.com/', + }, + { + name: 'FCMB ASSET MANAGEMENT', + linkPath: 'https://www.fcmbassetmanagement.com/index/', + }, + { + name: 'FCMB MICROFINANCE BANK', + linkPath: '/fcmb-microfinance-initiative', + }, + { name: 'FCMB UK', linkPath: 'http://www.fcmbuk.com/' }, + { + name: 'FCMB PENSIONS LIMITED', + linkPath: 'https://www.fcmbpensions.com/', + }, + { + name: 'CREDIT DIRECT LIMITED', + linkPath: 'https://www.creditdirect.ng', + }, + { name: 'FCMB TRUSTEES', linkPath: 'http://fcmbtrustees.com/' }, + ], + }, + { + name: 'ABOUT US', + linkPath: '/about-us', + subItems: [ + { + name: 'OUR VISION/MISSION/VALUES', + linkPath: '/about-us/vision-mision-core-values', + }, + { name: 'OUR HISTORY', linkPath: '/about-us/our-history' }, + { + name: 'INVESTOR RELATIONS', + linkPath: 'http://www.fcmbgroup.com/investor-relations', + }, + { name: 'CSR', linkPath: '/corporate-social-responsibility/index.html' }, + { name: 'SUSTAINABILITY', linkPath: '/sustainability/index.html' }, + { name: 'OUR LEADERSHIP', linkPath: '/about-us/our-leadership' }, + { name: 'BOARD OF DIRECTORS', linkPath: '/about-us/board-of-directors' }, + { + name: 'MEDIA RELATIONS', + linkPath: '/media-relations', + subItems: [ + { name: 'PRESS RELEASES', linkPath: '/press-releases' }, + { name: 'MEDIA STATEMENTS', linkPath: '/press-statements' }, + ], + }, + { name: 'AWARDS AND RECOGNITION', linkPath: '/awards' }, + { + name: 'OUR POLICY', + linkPath: '/our-policies', + subItems: [ + { name: 'BUSINESS CONTINUITY', linkPath: '/business-continuity' }, + { + name: 'CORPORATE GOVERNANCE POLICY', + linkPath: '/corporate-governance', + }, + { name: 'PRIVACY POLICY', linkPath: '/privacy-policy' }, + { name: 'QUALITY POLICY', linkPath: '/quality-policy' }, + ], + }, + ], + }, + { + name: 'MY BANK AND I', + linkPath: '', + subItems: [ + { name: 'TELEPHONE SELF SERVICE', linkPath: '/telephone-self-service' }, + { + name: 'CURRENT CAMPAIGNS/PROMOS', + linkPath: '/current-campaigns-promos', + subItems: [ + { + name: 'BOOK YOUR FLIGHTS AND PAY IN INSTALMENTS WITH FCMB', + linkPath: '/247travels', + }, + { name: 'REFER AND WIN', linkPath: '/refer-and-win' }, + { name: 'CARD DISCOUNTS', linkPath: '/card-discounts' }, + { + name: 'FLEXX WRITING CHALLENGE', + linkPath: 'https://flexxzone.fcmb.com/writing-challenge/', + }, + { + name: 'FLEXXPRENEUR', + linkPath: + 'https://flexxzone.fcmb.com/2020/07/flexxpreneur-is-back-2/', + }, + { + name: '3-MONTH FREE BANKING', + linkPath: 'https://www.fcmb.com/campaign/smebanking', + }, + ], + }, + { name: 'CAREERS', linkPath: '/career' }, + { name: 'CUSTOMER FEEDBACK', linkPath: '/customer-feedback' }, + { name: 'CUSTOMER SERVICE', linkPath: '/customer-service' }, + ], + }, +]; + +export const socialsIcons = [ + { name: 'facebook', image: FBook, link: process.VITE_FACEBOOK_URL }, + { name: 'twitter', image: Twitter, link: process.VITE_TWITTER_URL }, + { name: 'instagram', image: Instagram, link: process.VITE_INSTAGRAM_URL }, +]; + +export const footerItems = [ + { + category: 'PERSONAL BANKING', + subItems: [ + { text: 'CURRENT ACCOUNTS', href: '/current-accounts' }, + { text: 'SAVINGS ACCOUNTS', href: '/savings-accounts' }, + { text: 'INVESTMENTS', href: '/investment-accounts' }, + { text: 'LOANS AND CREDIT CARDS', href: '/loans-and-credit-cards' }, + { + text: 'NON-RESIDENT NIGERIAN (NRN) BANKING', + href: 'https://www.fcmb.com/non-resident-nigerian', + }, + { text: 'WAYS TO BANK', href: '/ways-to-bank' }, + { text: 'BANCASSURANCE', href: '/bancassurance' }, + ], + }, + { + category: 'BUSINESS BANKING', + subItems: [ + { text: 'PROPOSITIONS', href: '' }, + { text: 'CURRENT ACCOUNTS', href: '/business-current-accounts' }, + { text: 'SAVINGS ACCOUNTS', href: '/node/178' }, + { text: 'LOANS', href: '/business-loans' }, + { text: 'BONDS & GUARANTEES', href: '/bonds-and-guarantees' }, + { text: 'INTERVENTION FUNDS', href: '/intervention-funds' }, + { text: 'TRADE SERVICE', href: '/trade-service' }, + { text: 'PAYMENT & COLLECTION', href: '/payment-and-collection' }, + { text: 'WAYS TO BANK', href: '/business-ways-to-bank' }, + ], + }, + { + category: 'COOPORATE BANKING', + subItems: [ + { text: 'FOREIGN EXCHANGE SERVICES', href: '/foreign-exchange-services' }, + { text: 'TRADE SERVICES', href: '/node/166' }, + { text: 'CASH MANAGEMENT SOLUTIONS', href: '/cash-management' }, + { text: 'COOPORATE FINANCE', href: '/corporate-finance' }, + ], + }, + { + category: 'GROUP & SUBSIDIARIES', + subItems: [ + { text: 'FCMB GROUP PLC', href: 'https://www.fcmbgroup.com/' }, + { text: 'CSL STOCKBROKERS', href: 'https://www.cslstockbrokers.com/' }, + { + text: 'FCMB CAPITAL MARKETS', + href: 'https://www.fcmbcapitalmarketsng.com/', + }, + { + text: 'FCMB ASSET MANAGEMENT', + href: 'https://www.fcmbassetmanagement.com/index/', + }, + { text: 'FCMB MICROFINANCE BANK', href: '/fcmb-microfinance-initiative' }, + { text: 'FCMB UK', href: 'http://www.fcmbuk.com/' }, + { text: 'FCMB PENSIONS LIMITED', href: 'https://www.fcmbpensions.com/' }, + { text: 'CREDIT DIRECT LIMITED', href: 'https://www.creditdirect.ng' }, + { text: 'FCMB TRUSTEES', href: 'http://fcmbtrustees.com/' }, + ], + }, + { + category: 'ABOUT US', + subItems: [ + { + text: 'OUR VISION/MISSION/VALUES', + href: '/about-us/vision-mision-core-values', + }, + { text: 'OUR HISTORY', href: '/about-us/our-history' }, + { + text: 'INVESTOR RELATIONS', + href: 'http://www.fcmbgroup.com/investor-relations', + }, + { text: 'CSR', href: '/corporate-social-responsibility/index.html' }, + { text: 'SUSTAINABILITY', href: '/sustainability/index.html' }, + { text: 'OUR LEADERSHIP', href: '/about-us/our-leadership' }, + { text: 'BOARD OF DIRECTORS', href: '/about-us/board-of-directors' }, + { text: 'MEDIA RELATIONS', href: '/media-relations' }, + { text: 'AWARDS AND RECOGNITION', href: '/awards' }, + { text: 'OUR POLICY', href: '/our-policies' }, + ], + }, + { + category: 'MY BANK AND I', + subItems: [ + { text: 'TELEPHONE SELF SERVICE', href: '/telephone-self-service' }, + { text: 'CURRENT CAMPAIGNS/PROMOS', href: '/current-campaigns-promos' }, + { text: 'CAREERS', href: '/career' }, + { text: 'CUSTOMER FEEDBACK', href: '/customer-feedback' }, + { text: 'CUSTOMER SERVICE', href: '/customer-service' }, + ], + }, +]; + +export const footerSocialLinks = [ + { + href: 'https://www.facebook.com/FcmbMyBank/', + icon: FBookWhite, + }, + { + href: 'https://twitter.com/myfcmb/', + icon: XWhite, + }, + { + href: 'https://www.linkedin.com/company/first-city-monument-bank-ltd/', + icon: LinkedInWhite, + }, + { + href: 'https://www.youtube.com/user/fcmbplc', + icon: YoutubeWhite, + }, + { + href: 'https://www.instagram.com/myfcmb/', + icon: InstagramWhite, + }, + { + href: 'https://api.whatsapp.com/send?phone=09099999814', + icon: WhatsappWhite, + }, +]; + +export const footerCustomerLinks = [ + { + text: 'PRIVACY POLICY', + href: 'https://www.fcmb.com/privacy-policy', + }, + { + text: 'PRESS RELEASES', + href: '/press-releases', + }, + { + text: 'SHARE PRICE', + href: '/', + }, + { + text: 'WHISTLE BLOWER', + href: '/fcmb-whistle-blower-form', + }, + { + text: 'FRAUD PREVENTION', + href: '/customer-service', + }, + { + text: 'AML', + href: '/customer-service', + }, + { + text: 'CAREERS', + href: '/career', + }, +]; + +export const contactDetails = [ + { name: 'Call', value: import.meta.env.VITE_CALL_ENDPOINT }, + { name: 'Email', value: import.meta.env.VITE_EMAIL_ENDPOINT }, +]; 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/src_old/App.css b/src_old/App.css new file mode 100644 index 0000000..b9d355d --- /dev/null +++ b/src_old/App.css @@ -0,0 +1,42 @@ +#root { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: center; +} + +.logo { + height: 6em; + padding: 1.5em; + will-change: filter; + transition: filter 300ms; +} +.logo:hover { + filter: drop-shadow(0 0 2em #646cffaa); +} +.logo.react:hover { + filter: drop-shadow(0 0 2em #61dafbaa); +} + +@keyframes logo-spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} + +@media (prefers-reduced-motion: no-preference) { + a:nth-of-type(2) .logo { + animation: logo-spin infinite 20s linear; + } +} + +.card { + padding: 2em; +} + +.read-the-docs { + color: #888; +} diff --git a/src_old/App.tsx b/src_old/App.tsx new file mode 100644 index 0000000..14456cc --- /dev/null +++ b/src_old/App.tsx @@ -0,0 +1,14 @@ +import { useState } from 'react' +import './App.css' + +function App() { + const [count, setCount] = useState(0) + + return ( +

    + Hello world! +

    + ) +} + +export default App diff --git a/src_old/assets/react.svg b/src_old/assets/react.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/src_old/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src_old/index.css b/src_old/index.css new file mode 100644 index 0000000..bd6213e --- /dev/null +++ b/src_old/index.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file diff --git a/src_old/main.tsx b/src_old/main.tsx new file mode 100644 index 0000000..3d7150d --- /dev/null +++ b/src_old/main.tsx @@ -0,0 +1,10 @@ +import React from 'react' +import ReactDOM from 'react-dom/client' +import App from './App.tsx' +import './index.css' + +ReactDOM.createRoot(document.getElementById('root')!).render( + + + , +) diff --git a/src_old/vite-env.d.ts b/src_old/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/src_old/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..d37737f --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,12 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: [ + "./index.html", + "./src/**/*.{js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +} + diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..a7fc6fb --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/tsconfig.node.json b/tsconfig.node.json new file mode 100644 index 0000000..97ede7e --- /dev/null +++ b/tsconfig.node.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, + "strict": true + }, + "include": ["vite.config.ts"] +} diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..861b04b --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react-swc' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [react()], +})