From b6c5a9ce371a7e006b94dd27de0cd760e3533ce4 Mon Sep 17 00:00:00 2001 From: Max-im Date: Wed, 2 Aug 2023 01:43:45 +0300 Subject: [PATCH] add dist folder --- .github/workflows/production.yml | 18 +-- .gitignore | 1 - server/dist/app.js | 30 ++++ server/dist/build/asset-manifest.json | 54 +++++++ server/dist/build/favicon.ico | Bin 0 -> 3870 bytes server/dist/build/index.html | 1 + server/dist/build/logo192.png | Bin 0 -> 5347 bytes server/dist/build/logo512.png | Bin 0 -> 9664 bytes server/dist/build/manifest.json | 25 ++++ server/dist/build/robots.txt | 3 + .../build/static/css/256.65401392.chunk.css | 2 + .../static/css/256.65401392.chunk.css.map | 1 + .../build/static/css/416.941b1227.chunk.css | 2 + .../static/css/416.941b1227.chunk.css.map | 1 + .../build/static/css/45.c367a0e9.chunk.css | 2 + .../static/css/45.c367a0e9.chunk.css.map | 1 + .../build/static/css/564.8ca7bd63.chunk.css | 2 + .../static/css/564.8ca7bd63.chunk.css.map | 1 + .../build/static/css/598.b0249848.chunk.css | 2 + .../static/css/598.b0249848.chunk.css.map | 1 + .../build/static/css/867.61af701d.chunk.css | 2 + .../static/css/867.61af701d.chunk.css.map | 1 + .../build/static/css/990.3292c2db.chunk.css | 2 + .../static/css/990.3292c2db.chunk.css.map | 1 + .../dist/build/static/css/main.d39404c5.css | 2 + .../build/static/css/main.d39404c5.css.map | 1 + .../build/static/js/256.06b6e6c0.chunk.js | 2 + .../build/static/js/256.06b6e6c0.chunk.js.map | 1 + .../build/static/js/391.edd22a17.chunk.js | 2 + .../build/static/js/391.edd22a17.chunk.js.map | 1 + .../build/static/js/416.8802534b.chunk.js | 3 + .../js/416.8802534b.chunk.js.LICENSE.txt | 9 ++ .../build/static/js/416.8802534b.chunk.js.map | 1 + .../build/static/js/419.2ee2f2de.chunk.js | 2 + .../build/static/js/419.2ee2f2de.chunk.js.map | 1 + .../dist/build/static/js/45.4ed1f2a3.chunk.js | 2 + .../build/static/js/45.4ed1f2a3.chunk.js.map | 1 + .../build/static/js/564.30db0f57.chunk.js | 2 + .../build/static/js/564.30db0f57.chunk.js.map | 1 + .../build/static/js/598.cb23f7bd.chunk.js | 2 + .../build/static/js/598.cb23f7bd.chunk.js.map | 1 + .../build/static/js/704.7ff277ca.chunk.js | 2 + .../build/static/js/704.7ff277ca.chunk.js.map | 1 + .../build/static/js/721.9088ac4a.chunk.js | 2 + .../build/static/js/721.9088ac4a.chunk.js.map | 1 + .../build/static/js/867.e06c2dfa.chunk.js | 2 + .../build/static/js/867.e06c2dfa.chunk.js.map | 1 + .../build/static/js/886.c6bc5c5f.chunk.js | 3 + .../js/886.c6bc5c5f.chunk.js.LICENSE.txt | 9 ++ .../build/static/js/886.c6bc5c5f.chunk.js.map | 1 + .../build/static/js/990.337b3b20.chunk.js | 2 + .../build/static/js/990.337b3b20.chunk.js.map | 1 + server/dist/build/static/js/main.5d87b70d.js | 3 + .../static/js/main.5d87b70d.js.LICENSE.txt | 135 ++++++++++++++++++ .../dist/build/static/js/main.5d87b70d.js.map | 1 + .../card.7c621daa45265160602e9ac860b95a8f.svg | 44 ++++++ ...offee.9048a1b494d0607b77ab63706ce9f702.svg | 28 ++++ ...o-com.5d5c7b26577ee7e8fd77792007d5421d.svg | 7 + server/dist/jobs/clear.logs.js | 10 ++ server/dist/jobs/index.js | 14 ++ .../dist/modules/donate/donate.controller.js | 42 ++++++ server/dist/modules/donate/donate.route.js | 19 +++ .../modules/donate/notification.entity.js | 23 +++ .../dist/modules/donate/notification.repo.js | 52 +++++++ server/dist/modules/errors/error.custom.js | 13 ++ server/dist/modules/errors/error.database.js | 13 ++ server/dist/modules/errors/error.forbidden.js | 11 ++ server/dist/modules/errors/error.notfound.js | 10 ++ .../dist/modules/errors/error.unauthorized.js | 12 ++ .../dist/modules/errors/error.usernotfound.js | 11 ++ .../dist/modules/hooks/registredUser.hook.js | 23 +++ server/dist/modules/liqpay/liqpay.service.js | 42 ++++++ server/dist/modules/log/log.controller.js | 113 +++++++++++++++ server/dist/modules/log/log.entity.js | 63 ++++++++ server/dist/modules/log/log.repo.js | 133 +++++++++++++++++ server/dist/modules/log/log.route.js | 24 ++++ server/dist/modules/log/project.schema.js | 22 +++ .../notification/notification.controller.js | 58 ++++++++ .../notification/notification.entity.js | 23 +++ .../modules/notification/notification.repo.js | 52 +++++++ .../notification/notification.route.js | 21 +++ .../modules/payment/payment.controller.js | 44 ++++++ server/dist/modules/payment/payment.route.js | 20 +++ server/dist/modules/plan/plan.controller.js | 28 ++++ server/dist/modules/plan/plan.entity.js | 49 +++++++ server/dist/modules/plan/plan.repo.js | 37 +++++ server/dist/modules/plan/plan.route.js | 18 +++ .../modules/project/project.controller.js | 66 +++++++++ server/dist/modules/project/project.entity.js | 59 ++++++++ server/dist/modules/project/project.repo.js | 64 +++++++++ server/dist/modules/project/project.route.js | 27 ++++ server/dist/modules/project/project.schema.js | 22 +++ .../dist/modules/sender/sender-email.param.js | 15 ++ .../modules/sender/sender-email.service.js | 38 +++++ .../modules/sender/sender.email.entity.js | 40 ++++++ server/dist/modules/sender/sender.entity.js | 6 + server/dist/modules/sender/sender.param.js | 6 + server/dist/modules/sender/sender.repo.js | 42 ++++++ server/dist/modules/sender/sender.route.js | 18 +++ .../dist/modules/status/status.controller.js | 60 ++++++++ server/dist/modules/status/status.repo.js | 37 +++++ server/dist/modules/status/status.route.js | 20 +++ server/dist/modules/user/user.auth.schema.js | 24 ++++ server/dist/modules/user/user.controller.js | 44 ++++++ server/dist/modules/user/user.entity.js | 42 ++++++ server/dist/modules/user/user.repo.js | 59 ++++++++ server/dist/modules/user/user.route.js | 21 +++ server/dist/modules/user/user.types.js | 2 + server/dist/server.js | 54 +++++++ server/dist/test/setup.js | 16 +++ server/dist/util/constants.js | 5 + server/dist/util/db.js | 5 + server/dist/util/urls.js | 11 ++ server/package.json | 1 + 114 files changed, 2224 insertions(+), 10 deletions(-) create mode 100644 server/dist/app.js create mode 100644 server/dist/build/asset-manifest.json create mode 100644 server/dist/build/favicon.ico create mode 100644 server/dist/build/index.html create mode 100644 server/dist/build/logo192.png create mode 100644 server/dist/build/logo512.png create mode 100644 server/dist/build/manifest.json create mode 100644 server/dist/build/robots.txt create mode 100644 server/dist/build/static/css/256.65401392.chunk.css create mode 100644 server/dist/build/static/css/256.65401392.chunk.css.map create mode 100644 server/dist/build/static/css/416.941b1227.chunk.css create mode 100644 server/dist/build/static/css/416.941b1227.chunk.css.map create mode 100644 server/dist/build/static/css/45.c367a0e9.chunk.css create mode 100644 server/dist/build/static/css/45.c367a0e9.chunk.css.map create mode 100644 server/dist/build/static/css/564.8ca7bd63.chunk.css create mode 100644 server/dist/build/static/css/564.8ca7bd63.chunk.css.map create mode 100644 server/dist/build/static/css/598.b0249848.chunk.css create mode 100644 server/dist/build/static/css/598.b0249848.chunk.css.map create mode 100644 server/dist/build/static/css/867.61af701d.chunk.css create mode 100644 server/dist/build/static/css/867.61af701d.chunk.css.map create mode 100644 server/dist/build/static/css/990.3292c2db.chunk.css create mode 100644 server/dist/build/static/css/990.3292c2db.chunk.css.map create mode 100644 server/dist/build/static/css/main.d39404c5.css create mode 100644 server/dist/build/static/css/main.d39404c5.css.map create mode 100644 server/dist/build/static/js/256.06b6e6c0.chunk.js create mode 100644 server/dist/build/static/js/256.06b6e6c0.chunk.js.map create mode 100644 server/dist/build/static/js/391.edd22a17.chunk.js create mode 100644 server/dist/build/static/js/391.edd22a17.chunk.js.map create mode 100644 server/dist/build/static/js/416.8802534b.chunk.js create mode 100644 server/dist/build/static/js/416.8802534b.chunk.js.LICENSE.txt create mode 100644 server/dist/build/static/js/416.8802534b.chunk.js.map create mode 100644 server/dist/build/static/js/419.2ee2f2de.chunk.js create mode 100644 server/dist/build/static/js/419.2ee2f2de.chunk.js.map create mode 100644 server/dist/build/static/js/45.4ed1f2a3.chunk.js create mode 100644 server/dist/build/static/js/45.4ed1f2a3.chunk.js.map create mode 100644 server/dist/build/static/js/564.30db0f57.chunk.js create mode 100644 server/dist/build/static/js/564.30db0f57.chunk.js.map create mode 100644 server/dist/build/static/js/598.cb23f7bd.chunk.js create mode 100644 server/dist/build/static/js/598.cb23f7bd.chunk.js.map create mode 100644 server/dist/build/static/js/704.7ff277ca.chunk.js create mode 100644 server/dist/build/static/js/704.7ff277ca.chunk.js.map create mode 100644 server/dist/build/static/js/721.9088ac4a.chunk.js create mode 100644 server/dist/build/static/js/721.9088ac4a.chunk.js.map create mode 100644 server/dist/build/static/js/867.e06c2dfa.chunk.js create mode 100644 server/dist/build/static/js/867.e06c2dfa.chunk.js.map create mode 100644 server/dist/build/static/js/886.c6bc5c5f.chunk.js create mode 100644 server/dist/build/static/js/886.c6bc5c5f.chunk.js.LICENSE.txt create mode 100644 server/dist/build/static/js/886.c6bc5c5f.chunk.js.map create mode 100644 server/dist/build/static/js/990.337b3b20.chunk.js create mode 100644 server/dist/build/static/js/990.337b3b20.chunk.js.map create mode 100644 server/dist/build/static/js/main.5d87b70d.js create mode 100644 server/dist/build/static/js/main.5d87b70d.js.LICENSE.txt create mode 100644 server/dist/build/static/js/main.5d87b70d.js.map create mode 100644 server/dist/build/static/media/card.7c621daa45265160602e9ac860b95a8f.svg create mode 100644 server/dist/build/static/media/coffee.9048a1b494d0607b77ab63706ce9f702.svg create mode 100644 server/dist/build/static/media/patreon-svgrepo-com.5d5c7b26577ee7e8fd77792007d5421d.svg create mode 100644 server/dist/jobs/clear.logs.js create mode 100644 server/dist/jobs/index.js create mode 100644 server/dist/modules/donate/donate.controller.js create mode 100644 server/dist/modules/donate/donate.route.js create mode 100644 server/dist/modules/donate/notification.entity.js create mode 100644 server/dist/modules/donate/notification.repo.js create mode 100644 server/dist/modules/errors/error.custom.js create mode 100644 server/dist/modules/errors/error.database.js create mode 100644 server/dist/modules/errors/error.forbidden.js create mode 100644 server/dist/modules/errors/error.notfound.js create mode 100644 server/dist/modules/errors/error.unauthorized.js create mode 100644 server/dist/modules/errors/error.usernotfound.js create mode 100644 server/dist/modules/hooks/registredUser.hook.js create mode 100644 server/dist/modules/liqpay/liqpay.service.js create mode 100644 server/dist/modules/log/log.controller.js create mode 100644 server/dist/modules/log/log.entity.js create mode 100644 server/dist/modules/log/log.repo.js create mode 100644 server/dist/modules/log/log.route.js create mode 100644 server/dist/modules/log/project.schema.js create mode 100644 server/dist/modules/notification/notification.controller.js create mode 100644 server/dist/modules/notification/notification.entity.js create mode 100644 server/dist/modules/notification/notification.repo.js create mode 100644 server/dist/modules/notification/notification.route.js create mode 100644 server/dist/modules/payment/payment.controller.js create mode 100644 server/dist/modules/payment/payment.route.js create mode 100644 server/dist/modules/plan/plan.controller.js create mode 100644 server/dist/modules/plan/plan.entity.js create mode 100644 server/dist/modules/plan/plan.repo.js create mode 100644 server/dist/modules/plan/plan.route.js create mode 100644 server/dist/modules/project/project.controller.js create mode 100644 server/dist/modules/project/project.entity.js create mode 100644 server/dist/modules/project/project.repo.js create mode 100644 server/dist/modules/project/project.route.js create mode 100644 server/dist/modules/project/project.schema.js create mode 100644 server/dist/modules/sender/sender-email.param.js create mode 100644 server/dist/modules/sender/sender-email.service.js create mode 100644 server/dist/modules/sender/sender.email.entity.js create mode 100644 server/dist/modules/sender/sender.entity.js create mode 100644 server/dist/modules/sender/sender.param.js create mode 100644 server/dist/modules/sender/sender.repo.js create mode 100644 server/dist/modules/sender/sender.route.js create mode 100644 server/dist/modules/status/status.controller.js create mode 100644 server/dist/modules/status/status.repo.js create mode 100644 server/dist/modules/status/status.route.js create mode 100644 server/dist/modules/user/user.auth.schema.js create mode 100644 server/dist/modules/user/user.controller.js create mode 100644 server/dist/modules/user/user.entity.js create mode 100644 server/dist/modules/user/user.repo.js create mode 100644 server/dist/modules/user/user.route.js create mode 100644 server/dist/modules/user/user.types.js create mode 100644 server/dist/server.js create mode 100644 server/dist/test/setup.js create mode 100644 server/dist/util/constants.js create mode 100644 server/dist/util/db.js create mode 100644 server/dist/util/urls.js diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 6103978..ccd74ef 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -54,7 +54,7 @@ jobs: PORT: 5000 SECRET_OR_KEY: test_secret - building: + deploy: needs: [testing] runs-on: ubuntu-latest @@ -67,17 +67,17 @@ jobs: with: node-version: "14.x" - - name: Build server - run: cd ./server && npm install && tsc + # - name: Build server + # run: cd ./server && npm install && tsc - - name: Install dependencies - run: cd ./client && npm install + # - name: Install dependencies + # run: cd ./client && npm install - - name: Build - run: cd ./client && npm run build + # - name: Build + # run: cd ./client && npm run build - - name: Copy - run: cd ./client && cp -r build/ ../server/dist + # - name: Copy + # run: cd ./client && cp -r build/ ../server/dist - name: Deploy uses: johnbeynon/render-deploy-action@v0.0.8 diff --git a/.gitignore b/.gitignore index 108095e..73de8ce 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,5 @@ node_modules server/config client/build server/src/build -server/dist .env package \ No newline at end of file diff --git a/server/dist/app.js b/server/dist/app.js new file mode 100644 index 0000000..ccfbe56 --- /dev/null +++ b/server/dist/app.js @@ -0,0 +1,30 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const server_1 = __importDefault(require("./server")); +const server = (0, server_1.default)(); +function main() { + return __awaiter(this, void 0, void 0, function* () { + try { + const port = process.env.PORT || 5000; + yield server.listen(port); + console.log(`Server run on port ${port}`); + } + catch (e) { + console.error(e); + process.exit(1); + } + }); +} +main(); diff --git a/server/dist/build/asset-manifest.json b/server/dist/build/asset-manifest.json new file mode 100644 index 0000000..3321ecd --- /dev/null +++ b/server/dist/build/asset-manifest.json @@ -0,0 +1,54 @@ +{ + "files": { + "main.css": "/static/css/main.d39404c5.css", + "main.js": "/static/js/main.5d87b70d.js", + "static/css/598.b0249848.chunk.css": "/static/css/598.b0249848.chunk.css", + "static/js/598.cb23f7bd.chunk.js": "/static/js/598.cb23f7bd.chunk.js", + "static/css/867.61af701d.chunk.css": "/static/css/867.61af701d.chunk.css", + "static/js/867.e06c2dfa.chunk.js": "/static/js/867.e06c2dfa.chunk.js", + "static/js/721.9088ac4a.chunk.js": "/static/js/721.9088ac4a.chunk.js", + "static/css/256.65401392.chunk.css": "/static/css/256.65401392.chunk.css", + "static/js/256.06b6e6c0.chunk.js": "/static/js/256.06b6e6c0.chunk.js", + "static/css/416.941b1227.chunk.css": "/static/css/416.941b1227.chunk.css", + "static/js/416.8802534b.chunk.js": "/static/js/416.8802534b.chunk.js", + "static/css/990.3292c2db.chunk.css": "/static/css/990.3292c2db.chunk.css", + "static/js/990.337b3b20.chunk.js": "/static/js/990.337b3b20.chunk.js", + "static/js/419.2ee2f2de.chunk.js": "/static/js/419.2ee2f2de.chunk.js", + "static/js/704.7ff277ca.chunk.js": "/static/js/704.7ff277ca.chunk.js", + "static/css/45.c367a0e9.chunk.css": "/static/css/45.c367a0e9.chunk.css", + "static/js/45.4ed1f2a3.chunk.js": "/static/js/45.4ed1f2a3.chunk.js", + "static/css/564.8ca7bd63.chunk.css": "/static/css/564.8ca7bd63.chunk.css", + "static/js/564.30db0f57.chunk.js": "/static/js/564.30db0f57.chunk.js", + "static/js/391.edd22a17.chunk.js": "/static/js/391.edd22a17.chunk.js", + "static/js/886.c6bc5c5f.chunk.js": "/static/js/886.c6bc5c5f.chunk.js", + "static/media/card.svg": "/static/media/card.7c621daa45265160602e9ac860b95a8f.svg", + "static/media/coffee.svg": "/static/media/coffee.9048a1b494d0607b77ab63706ce9f702.svg", + "index.html": "/index.html", + "static/media/patreon-svgrepo-com.svg": "/static/media/patreon-svgrepo-com.5d5c7b26577ee7e8fd77792007d5421d.svg", + "main.d39404c5.css.map": "/static/css/main.d39404c5.css.map", + "main.5d87b70d.js.map": "/static/js/main.5d87b70d.js.map", + "598.b0249848.chunk.css.map": "/static/css/598.b0249848.chunk.css.map", + "598.cb23f7bd.chunk.js.map": "/static/js/598.cb23f7bd.chunk.js.map", + "867.61af701d.chunk.css.map": "/static/css/867.61af701d.chunk.css.map", + "867.e06c2dfa.chunk.js.map": "/static/js/867.e06c2dfa.chunk.js.map", + "721.9088ac4a.chunk.js.map": "/static/js/721.9088ac4a.chunk.js.map", + "256.65401392.chunk.css.map": "/static/css/256.65401392.chunk.css.map", + "256.06b6e6c0.chunk.js.map": "/static/js/256.06b6e6c0.chunk.js.map", + "416.941b1227.chunk.css.map": "/static/css/416.941b1227.chunk.css.map", + "416.8802534b.chunk.js.map": "/static/js/416.8802534b.chunk.js.map", + "990.3292c2db.chunk.css.map": "/static/css/990.3292c2db.chunk.css.map", + "990.337b3b20.chunk.js.map": "/static/js/990.337b3b20.chunk.js.map", + "419.2ee2f2de.chunk.js.map": "/static/js/419.2ee2f2de.chunk.js.map", + "704.7ff277ca.chunk.js.map": "/static/js/704.7ff277ca.chunk.js.map", + "45.c367a0e9.chunk.css.map": "/static/css/45.c367a0e9.chunk.css.map", + "45.4ed1f2a3.chunk.js.map": "/static/js/45.4ed1f2a3.chunk.js.map", + "564.8ca7bd63.chunk.css.map": "/static/css/564.8ca7bd63.chunk.css.map", + "564.30db0f57.chunk.js.map": "/static/js/564.30db0f57.chunk.js.map", + "391.edd22a17.chunk.js.map": "/static/js/391.edd22a17.chunk.js.map", + "886.c6bc5c5f.chunk.js.map": "/static/js/886.c6bc5c5f.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.d39404c5.css", + "static/js/main.5d87b70d.js" + ] +} \ No newline at end of file diff --git a/server/dist/build/favicon.ico b/server/dist/build/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a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index.html b/server/dist/build/index.html new file mode 100644 index 0000000..fa68cc6 --- /dev/null +++ b/server/dist/build/index.html @@ -0,0 +1 @@ +Logger Store
\ No newline at end of file diff --git a/server/dist/build/logo192.png b/server/dist/build/logo192.png new file mode 100644 index 0000000000000000000000000000000000000000..fc44b0a3796c0e0a64c3d858ca038bd4570465d9 GIT binary patch literal 5347 zcmZWtbyO6NvR-oO24RV%BvuJ&=?+<7=`LvyB&A_#M7mSDYw1v6DJkiYl9XjT!%$dLEBTQ8R9|wd3008in6lFF3GV-6mLi?MoP_y~}QUnaDCHI#t z7w^m$@6DI)|C8_jrT?q=f8D?0AM?L)Z}xAo^e^W>t$*Y0KlT5=@bBjT9kxb%-KNdk zeOS1tKO#ChhG7%{ApNBzE2ZVNcxbrin#E1TiAw#BlUhXllzhN$qWez5l;h+t^q#Eav8PhR2|T}y5kkflaK`ba-eoE+Z2q@o6P$)=&` z+(8}+-McnNO>e#$Rr{32ngsZIAX>GH??tqgwUuUz6kjns|LjsB37zUEWd|(&O!)DY zQLrq%Y>)Y8G`yYbYCx&aVHi@-vZ3|ebG!f$sTQqMgi0hWRJ^Wc+Ibv!udh_r%2|U) zPi|E^PK?UE!>_4`f`1k4hqqj_$+d!EB_#IYt;f9)fBOumGNyglU(ofY`yHq4Y?B%- zp&G!MRY<~ajTgIHErMe(Z8JG*;D-PJhd@RX@QatggM7+G(Lz8eZ;73)72Hfx5KDOE zkT(m}i2;@X2AT5fW?qVp?@WgN$aT+f_6eo?IsLh;jscNRp|8H}Z9p_UBO^SJXpZew zEK8fz|0Th%(Wr|KZBGTM4yxkA5CFdAj8=QSrT$fKW#tweUFqr0TZ9D~a5lF{)%-tTGMK^2tz(y2v$i%V8XAxIywrZCp=)83p(zIk6@S5AWl|Oa2hF`~~^W zI;KeOSkw1O#TiQ8;U7OPXjZM|KrnN}9arP)m0v$c|L)lF`j_rpG(zW1Qjv$=^|p*f z>)Na{D&>n`jOWMwB^TM}slgTEcjxTlUby89j1)|6ydRfWER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mV?d00001 diff --git a/server/dist/build/manifest.json b/server/dist/build/manifest.json new file mode 100644 index 0000000..080d6c7 --- /dev/null +++ b/server/dist/build/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/server/dist/build/robots.txt b/server/dist/build/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/server/dist/build/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/server/dist/build/static/css/256.65401392.chunk.css b/server/dist/build/static/css/256.65401392.chunk.css new file mode 100644 index 0000000..1bd1583 --- /dev/null +++ b/server/dist/build/static/css/256.65401392.chunk.css @@ -0,0 +1,2 @@ +.CreateProject_createProject__modal__jyYwE{border:2px solid #000;box-shadow:24;left:50%;padding:20px;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:400px}.ProjectsPage_projects__wrapper__81\+MF{display:flex;height:calc(100vh - var(--main-top-margin))}.ProjectsPage_projects__main__fxzp-{flex-grow:1;height:100%}.ProjectsPage_projects__aside__legVB{flex:0 0 30%;height:100%}.ProjectsPage_projects__divider__lBCxY{margin-bottom:16px;margin-top:16px}.ProjectRow_row__item__7t3kT:hover .ProjectRow_row__title__Wx9ae{top:10px}.ProjectRow_row__item__7t3kT:hover .ProjectRow_row__control__nXyQb{display:flex;opacity:1;top:5px;visibility:visible}.ProjectRow_link__3lkD-{position:relative}.ProjectRow_row__titleWrap__gcM9E{align-items:center;display:flex;justify-content:space-between}.ProjectRow_row__title__Wx9ae{font-size:18px;position:relative;top:0;transition:top .5s}.ProjectRow_row__key__l-n-G{left:20;position:relative;-webkit-transform:scale(.8);transform:scale(.8)}.ProjectRow_row__control__nXyQb{display:flex;opacity:0;position:absolute;top:0;transition:.5s}.ProjectRow_row__controlItem__SECwl{align-items:center;display:flex;font-size:10;margin-left:10px;opacity:.7}.ProjectRow_row__controlItem__SECwl:first-child{margin-left:0}.ProjectRow_row__controlIcon__V1pnR{font-size:14px;margin-left:3px}.ProjectRow_modal__Nwpju{bottom:0!important;position:absolute;right:0!important} +/*# sourceMappingURL=256.65401392.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/256.65401392.chunk.css.map b/server/dist/build/static/css/256.65401392.chunk.css.map new file mode 100644 index 0000000..bad424e --- /dev/null +++ b/server/dist/build/static/css/256.65401392.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/256.65401392.chunk.css","mappings":"AAAA,2CAOE,sBACA,cALA,SAMA,aARA,kBAKA,kBAJA,QAEA,sEACA,WAIA,CCTF,wCACE,aACA,4CAGF,oCAEE,WAAU,CADV,WACA,CAGF,qCAEE,aADA,WACA,CAGF,uCACE,mBACA,gBChBA,iEACE,SAGF,mEAGE,aADA,UAEA,QAHA,kBAGA,CAIJ,wBACE,kBAGF,kCAEE,mBADA,aAEA,8BAGF,8BACE,eACA,kBACA,MACA,mBAGF,4BAEE,QACA,kBAFA,+CAEA,CAGF,gCACE,aAIA,SAAQ,CAHR,kBACA,MACA,cACA,CAGF,oCAIE,mBADA,aAFA,aAIA,iBAHA,UAGA,CAGF,gDACE,cAGF,oCAEE,eADA,eACA,CAGF,yBAEE,mBADA,kBAEA","sources":["projects/styles/CreateProject.module.scss","projects/styles/ProjectsPage.module.scss","projects/styles/ProjectRow.module.scss"],"sourcesContent":[".createProject__modal {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 400px;\n text-align: center;\n border: 2px solid #000;\n box-shadow: 24;\n padding: 20px;\n}",".projects__wrapper {\n display: flex;\n height: calc(100vh - var(--main-top-margin));\n}\n\n.projects__main {\n height: 100%;\n flex-grow: 1;\n}\n\n.projects__aside {\n height: 100%;\n flex: 0 0 30%;\n}\n\n.projects__divider {\n margin-bottom: 16px;\n margin-top: 16px;\n}",".row__item {\n &:hover .row__title {\n top: 10px;\n }\n\n &:hover .row__control {\n visibility: visible;\n opacity: 1;\n display: flex;\n top: 5px;\n }\n}\n\n.link {\n position: relative;\n}\n\n.row__titleWrap {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.row__title {\n font-size: 18px;\n position: relative;\n top: 0;\n transition: top 0.5s;\n}\n\n.row__key {\n transform: scale(0.8);\n left: 20;\n position: relative;\n}\n\n.row__control {\n display: flex;\n position: absolute;\n top: 0;\n transition: 0.5s;\n opacity: 0;\n}\n\n.row__controlItem {\n font-size: 10;\n opacity: 0.7;\n display: flex;\n align-items: center;\n margin-left: 10px;\n}\n\n.row__controlItem:first-child {\n margin-left: 0px;\n}\n\n.row__controlIcon {\n margin-left: 3px;\n font-size: 14px;\n}\n\n.modal {\n position: absolute;\n bottom: 0px !important;\n right: 0px !important;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/416.941b1227.chunk.css b/server/dist/build/static/css/416.941b1227.chunk.css new file mode 100644 index 0000000..ce11733 --- /dev/null +++ b/server/dist/build/static/css/416.941b1227.chunk.css @@ -0,0 +1,2 @@ +.ProjectPage_project__wrapper__LrGZ8{display:flex;min-height:calc(100vh - var(--main-top-margin))}.ProjectPage_project__main__p5v6H{display:flex;flex-direction:column;flex-grow:1}.ProjectPage_project__aside__1Vkea{display:flex;flex:0 0 30%;flex-direction:column;height:calc(95vh - 60px);position:-webkit-sticky;position:sticky;top:16px}.ProjectPage_project__divider__DiDnF{margin-bottom:16px}.ProjectPage_project__asideContent__fLO0w{display:flex;flex-direction:column;height:100%;justify-content:space-between;max-width:220px} +/*# sourceMappingURL=416.941b1227.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/416.941b1227.chunk.css.map b/server/dist/build/static/css/416.941b1227.chunk.css.map new file mode 100644 index 0000000..4954849 --- /dev/null +++ b/server/dist/build/static/css/416.941b1227.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/416.941b1227.chunk.css","mappings":"AAAA,qCACE,aACA,gDAGF,kCAEE,aACA,sBAFA,WAEA,CAGF,mCAEE,aADA,aAEA,sBAEA,yBADA,wCAEA,SAGF,qCACE,mBAGF,0CAEE,aACA,sBAEA,YADA,8BAHA,eAIA","sources":["project/styles/ProjectPage.module.scss"],"sourcesContent":[".project__wrapper {\n display: flex;\n min-height: calc(100vh - var(--main-top-margin));\n}\n\n.project__main {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n}\n\n.project__aside {\n flex: 0 0 30%;\n display: flex;\n flex-direction: column;\n position: sticky;\n height: calc(95vh - 60px);\n top: 16px;\n}\n\n.project__divider {\n margin-bottom: 16px;\n}\n\n.project__asideContent {\n max-width: 220px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/45.c367a0e9.chunk.css b/server/dist/build/static/css/45.c367a0e9.chunk.css new file mode 100644 index 0000000..1b332d9 --- /dev/null +++ b/server/dist/build/static/css/45.c367a0e9.chunk.css @@ -0,0 +1,2 @@ +.HomePros_container__yQUA3{flex:0 0 100px;margin-bottom:16px}.HomePros_h100__B3Lir{height:100%}.HomePros_icon__i1wPR{font-size:24px;margin-bottom:10px}.HomeMain_banner__container__3Uwzp{height:100%;padding:20px;position:relative}.HomeMain_banner__dots__TEDXC{background:radial-gradient(circle,hsla(0,0%,100%,.3),hsla(0,0%,100%,.3) 1px,transparent 0,transparent) 0 0/25px 25px;bottom:10px;height:40%;position:absolute;right:0;width:100%}.HomeMain_banner__subtitle__4OCYN{font-size:18px;font-weight:700}.HomeMain_flow__container__kGXZS{height:100%}.HomeMain_flow__item__KyrrM{padding-left:0}.HomeMain_flow__iconWrapper__ay\+WZ{min-width:30px}.HomeMain_flow__icon__BnBDT{opacity:.5}.Home_home__wrapper__KrQb\+{display:flex;flex-direction:column;height:calc(100vh - var(--main-top-margin))} +/*# sourceMappingURL=45.c367a0e9.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/45.c367a0e9.chunk.css.map b/server/dist/build/static/css/45.c367a0e9.chunk.css.map new file mode 100644 index 0000000..4964ba5 --- /dev/null +++ b/server/dist/build/static/css/45.c367a0e9.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/45.c367a0e9.chunk.css","mappings":"AAAA,2BACE,eACA,mBAGF,sBACE,YAGF,sBACE,eACA,mBCXF,mCACE,YACA,aACA,kBAIF,8BAME,qHAFA,YADA,WAFA,kBAIA,QAHA,UAIA,CAIF,kCACE,eACA,gBAIA,iCACE,YAGF,4BACE,eAGF,oCACE,eAGF,4BACE,WCpCJ,4BACE,aACA,sBACA","sources":["home/styles/HomePros.module.scss","home/styles/HomeMain.module.scss","home/styles/Home.module.scss"],"sourcesContent":[".container {\n flex: 0 0 100px;\n margin-bottom: 16px;\n}\n\n.h100 {\n height: 100%;\n}\n\n.icon {\n font-size: 24px;\n margin-bottom: 10px;\n}",".banner__container {\n height: 100%;\n padding: 20px;\n position: relative;\n\n}\n\n.banner__dots {\n position: absolute;\n width: 100%;\n height: 40%;\n bottom: 10px;\n right: 0;\n background: radial-gradient(circle, rgba(255, 255, 255, .3),\n rgba(255, 255, 255, .3) 1px, transparent 0, transparent) 0 0/25px 25px;\n}\n\n.banner__subtitle {\n font-size: 18px;\n font-weight: bold;\n}\n\n.flow {\n &__container {\n height: 100%;\n }\n\n &__item {\n padding-left: 0px;\n }\n\n &__iconWrapper {\n min-width: 30px;\n }\n\n &__icon {\n opacity: 0.5;\n }\n}",".home__wrapper {\n display: flex;\n flex-direction: column;\n height: calc(100vh - var(--main-top-margin));\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/564.8ca7bd63.chunk.css b/server/dist/build/static/css/564.8ca7bd63.chunk.css new file mode 100644 index 0000000..d9f548f --- /dev/null +++ b/server/dist/build/static/css/564.8ca7bd63.chunk.css @@ -0,0 +1,2 @@ +.Donate_container__Nb7J8{height:calc(100vh - var(--main-top-margin))}.Donate_list__eXPz7{display:flex;flex-wrap:wrap;justify-content:space-between}.Donate_title__Kix8-{font-size:18px;font-weight:700}.Donate_tile__we0UZ{border-radius:10px;box-shadow:0 0 5px rgba(0,0,0,.5);display:flex;flex-direction:column;justify-content:space-between;padding:20px 10px;text-align:center;width:30%}.Donate_icon__pwIeR{margin:30px auto;width:50%}.Donate_icon__el__sHfAK{width:100%}.Donate_btn__WVKMv{margin-top:20px;width:100%} +/*# sourceMappingURL=564.8ca7bd63.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/564.8ca7bd63.chunk.css.map b/server/dist/build/static/css/564.8ca7bd63.chunk.css.map new file mode 100644 index 0000000..f33718f --- /dev/null +++ b/server/dist/build/static/css/564.8ca7bd63.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/564.8ca7bd63.chunk.css","mappings":"AAAA,yBACE,4CAGF,oBACE,aACA,eACA,8BAGF,qBACE,eACA,gBAIF,oBAME,mBAEA,kCANA,aACA,sBACA,8BACA,kBAEA,kBANA,SAOA,CAGF,oBACE,iBACA,UAEA,wBACE,WAIJ,mBAEE,gBADA,UACA","sources":["donate/styles/Donate.module.scss"],"sourcesContent":[".container {\n height: calc(100vh - var(--main-top-margin));\n}\n\n.list {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n\n.title {\n font-size: 18px;\n font-weight: bold;\n}\n\n\n.tile {\n width: 30%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 20px 10px;\n border-radius: 10px;\n text-align: center;\n box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);\n}\n\n.icon {\n margin: 30px auto;\n width: 50%;\n\n &__el {\n width: 100%;\n }\n}\n\n.btn {\n width: 100%;\n margin-top: 20px;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/598.b0249848.chunk.css b/server/dist/build/static/css/598.b0249848.chunk.css new file mode 100644 index 0000000..557bf50 --- /dev/null +++ b/server/dist/build/static/css/598.b0249848.chunk.css @@ -0,0 +1,2 @@ +.LogPage_log__main__rHW-B{display:flex;flex:1 1 70%;flex-direction:column;height:calc(100vh - var(--main-top-margin))}.LogPage_log__info__O0zyV{display:flex;flex:0 0 30%;flex-direction:column}.LogPage_divider__CcHg-{margin-bottom:16px;margin-top:16px} +/*# sourceMappingURL=598.b0249848.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/598.b0249848.chunk.css.map b/server/dist/build/static/css/598.b0249848.chunk.css.map new file mode 100644 index 0000000..dc30ccf --- /dev/null +++ b/server/dist/build/static/css/598.b0249848.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/598.b0249848.chunk.css","mappings":"AAAA,0BAGE,aADA,aAEA,sBAHA,2CAGA,CAGF,0BAEE,aADA,aAEA,sBAGF,wBACE,mBACA","sources":["log/styles/LogPage.module.scss"],"sourcesContent":[".log__main {\n height: calc(100vh - var(--main-top-margin));\n flex: 1 1 70%;\n display: flex;\n flex-direction: column;\n}\n\n.log__info {\n flex: 0 0 30%;\n display: flex;\n flex-direction: column;\n}\n\n.divider {\n margin-bottom: 16px;\n margin-top: 16px;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/867.61af701d.chunk.css b/server/dist/build/static/css/867.61af701d.chunk.css new file mode 100644 index 0000000..b38aa3c --- /dev/null +++ b/server/dist/build/static/css/867.61af701d.chunk.css @@ -0,0 +1,2 @@ +.PlanItem_plan__item__Owdts{flex:25% 1;padding:0}.PlanItem_plan__inner__Sgd2H{border-radius:10px;margin:5px;padding:10px;text-align:center;width:100%}.PlanItem_plan__label__J-J8f{font-size:22px;margin-bottom:16px;padding:5px}.PlanItem_plan__block__\+Lyu4{font-size:24px;margin-top:32px}.PaymentWidget_payment__container__uvdfj{border:2px solid #000;box-shadow:24px;display:flex;flex-direction:column;left:50%;padding:25px 20px;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:280px}.PaymentWidget_payment__text__QqG1H{font-size:18px;font-weight:100}.PaymentWidget_payment__price__bZMmh{font-size:24px;font-weight:500}.PaymentWidget_payment__button__OrG28:hover{opacity:.9}.PlanPage_plan__wrapper__hY8sW{display:flex;flex-direction:column;height:calc(100vh - var(--main-top-margin))}.PlanPage_plan__title__oVtYB{font-size:18px;padding-top:16px;text-align:center}.PlanPage_plan__description__bplMV{font-size:16px;font-weight:400;padding-top:16px}.PlanPage_plan__list__913XB{display:flex} +/*# sourceMappingURL=867.61af701d.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/867.61af701d.chunk.css.map b/server/dist/build/static/css/867.61af701d.chunk.css.map new file mode 100644 index 0000000..5d7e86b --- /dev/null +++ b/server/dist/build/static/css/867.61af701d.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/867.61af701d.chunk.css","mappings":"AAAA,4BACE,WACA,UAGF,6BAIE,mBAHA,WACA,aAGA,kBAFA,UAEA,CAGF,6BACE,eACA,mBACA,YAGF,8BACE,eACA,gBCrBF,yCAOE,sBACA,gBACA,aACA,sBAPA,SAQA,kBAVA,kBAKA,kBAJA,QAEA,sEACA,WAMA,CAGF,oCACE,eACA,gBAGF,qCACE,eACA,gBAIA,4CACE,WC1BJ,+BAEE,aACA,sBAFA,2CAEA,CAGF,6BACE,eACA,iBACA,kBAGF,mCAEE,eADA,gBAEA,iBAGF,4BACE","sources":["plan/styles/PlanItem.module.scss","payment/styles/PaymentWidget.module.scss","plan/styles/PlanPage.module.scss"],"sourcesContent":[".plan__item {\n flex: 25%;\n padding: 0;\n}\n\n.plan__inner {\n margin: 5px;\n padding: 10px;\n width: 100%;\n border-radius: 10px;\n text-align: center;\n}\n\n.plan__label {\n font-size: 22px;\n margin-bottom: 16px;\n padding: 5px;\n}\n\n.plan__block {\n font-size: 24px;\n margin-top: 32px;\n}",".payment__container {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 280px;\n text-align: center;\n border: 2px solid #000;\n box-shadow: 24px;\n display: flex;\n flex-direction: column;\n padding: 25px 20px;\n}\n\n.payment__text {\n font-size: 18px;\n font-weight: 100;\n}\n\n.payment__price {\n font-size: 24px;\n font-weight: 500;\n}\n\n.payment__button {\n &:hover {\n opacity: .9;\n }\n}",".plan__wrapper {\n height: calc(100vh - var(--main-top-margin));\n display: flex;\n flex-direction: column;\n}\n\n.plan__title {\n font-size: 18px;\n padding-top: 16px;\n text-align: center;\n}\n\n.plan__description {\n font-weight: 400;\n font-size: 16px;\n padding-top: 16px;\n}\n\n.plan__list {\n display: flex;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/990.3292c2db.chunk.css b/server/dist/build/static/css/990.3292c2db.chunk.css new file mode 100644 index 0000000..4e53b6c --- /dev/null +++ b/server/dist/build/static/css/990.3292c2db.chunk.css @@ -0,0 +1,2 @@ +.ProjectSettings_settings__wrapper__SWo88{display:flex;flex-direction:column;height:calc(100vh - var(--main-top-margin))}.ProjectSettings_settings__container__rWFNd{display:flex;flex-direction:column;flex-grow:1} +/*# sourceMappingURL=990.3292c2db.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/990.3292c2db.chunk.css.map b/server/dist/build/static/css/990.3292c2db.chunk.css.map new file mode 100644 index 0000000..9157a69 --- /dev/null +++ b/server/dist/build/static/css/990.3292c2db.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/990.3292c2db.chunk.css","mappings":"AAAA,0CAEE,aACA,sBAFA,2CAEA,CAGF,4CAEE,aACA,sBAFA,WAEA","sources":["project-settings/styles/ProjectSettings.module.scss"],"sourcesContent":[".settings__wrapper {\n height: calc(100vh - var(--main-top-margin));\n display: flex;\n flex-direction: column;\n}\n\n.settings__container {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/main.d39404c5.css b/server/dist/build/static/css/main.d39404c5.css new file mode 100644 index 0000000..e4f3493 --- /dev/null +++ b/server/dist/build/static/css/main.d39404c5.css @@ -0,0 +1,2 @@ +.AvatarWidget_avatar__hbExw{border:2px solid transparent;height:48px;margin:10px auto;width:48px}.PlanWidget_title__dwtkG{font-size:18px;font-weight:700}.PlanWidget_link__6BXJM{text-decoration:none}.PlanWidget_list__QlHlc{width:100%}.PlanWidget_item__aO6xj{margin:0!important;padding:0!important}.PlanWidget_icon__wrapper__1bNu7{height:32px!important;width:32px!important}.PlanWidget_icon__LgifT{font-size:11px!important}.PlanWidget_text__nFJb\+{font-size:16px!important;font-weight:700!important;left:-3;position:relative}.Aside_aside__wrapper__V45s\+{flex:0 0 22%;height:100%;position:-webkit-sticky;position:sticky;top:16px}.Aside_aside__container__SBILd{display:flex;flex-direction:column;height:95vh}.Aside_aside__divider__SC4Iy{margin-bottom:10px;margin-top:10px}.Header_subtitle__3PK\+\+{opacity:.5;position:relative;top:-4}.Header_header__wrapper__ugJTQ{min-height:60px}.App_app__wrapper__KNrDL{display:flex;flex-direction:column;min-height:100vh;padding:16px}.App_app__container__ksWQn{display:flex!important;height:100%;position:relative}.App_app__main__\+LXqM{display:flex;flex-direction:column;margin-left:16px!important;padding-left:0!important;padding-right:0!important;width:100%}.LogRow_log__row__-AsW3{cursor:pointer}.LogRow_log__row__-AsW3:last-child th,.LogRow_log__row__-AsW3:last-child tr{border:0}.LogRow_log__row_active__aQ\+4B{background:hsla(0,0%,100%,.24)}.LogRow_log__row_opened__nk-sa{opacity:.7}.LogRow_log__text__xzKGi{font-weight:700}.LogRow_log__text_opened__C4PWV{color:gray}.LogRow_log__nopadding__RWSV5{padding:0}.NotificationItem_notification__btn__8Nt81{height:20px;margin-right:20px;width:20px}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}a{text-decoration:none}:root{--main-top-margin:95px}.container{border-radius:10px;box-shadow:1px 1px 3px 0 rgba(0,0,0,.1);box-sizing:border-box;padding:15px} +/*# sourceMappingURL=main.d39404c5.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/main.d39404c5.css.map b/server/dist/build/static/css/main.d39404c5.css.map new file mode 100644 index 0000000..003dd9b --- /dev/null +++ b/server/dist/build/static/css/main.d39404c5.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.d39404c5.css","mappings":"AAAA,4BAIE,6BAFA,YACA,iBAFA,UAGA,CCJF,yBACE,eACA,gBAGF,wBACE,qBAGF,wBACE,WAGF,wBAEE,mBADA,mBACA,CAGF,iCAEE,sBADA,oBACA,CAGF,wBACE,yBAGF,yBACE,yBACA,0BAEA,QADA,iBACA,CC/BF,8BAEE,aADA,YAEA,wCACA,SAGF,+BACE,aACA,sBACA,YAGF,6BAEE,mBADA,eACA,CCfF,0BAGE,WAFA,kBACA,MACA,CAGF,+BACE,gBCPF,yBACE,aACA,sBACA,iBACA,aAGF,2BAGE,uBAFA,YAGA,kBAGF,uBACE,aACA,sBAEA,2BACA,yBACA,0BAHA,UAGA,CCpBF,wBACE,eAEA,4EAEE,SAGF,gCACE,+BAGF,+BACE,WAKJ,yBACE,gBAEA,gCACE,WAIJ,8BACE,UC3BF,2CAGE,YAFA,kBACA,UACA,CCEF,2ZAmFC,SACA,eACA,aAJA,SACA,UAIA,uBAID,8EAWC,cAGD,KACC,cAGD,MAEC,gBAGD,aAEC,YAGD,oDAIC,WACA,aAGD,MACC,yBACA,iBAGD,EACC,qBCzID,MACE,sBAAuB,CAIzB,WAGE,mBACA,wCAFA,sBADA,YAGA","sources":["user/styles/AvatarWidget.module.scss","plan/styles/PlanWidget.module.scss","aside/styles/Aside.module.scss","header/styles/Header.module.scss","app/styles/App.module.scss","logs/styles/LogRow.module.scss","notification/styles/NotificationItem.module.scss","styles/reset.scss","styles/common.scss"],"sourcesContent":[".avatar {\n width: 48px;\n height: 48px;\n margin: 10px auto;\n border: 2px solid transparent;\n}",".title {\n font-size: 18px;\n font-weight: bold;\n}\n\n.link {\n text-decoration: none;\n}\n\n.list {\n width: 100%;\n}\n\n.item {\n padding: 0px !important;\n margin: 0px !important;\n}\n\n.icon__wrapper {\n width: 32px !important;\n height: 32px !important;\n}\n\n.icon {\n font-size: 11px !important;\n}\n\n.text {\n font-size: 16px !important;\n font-weight: bold !important;\n position: relative;\n left: -3;\n}",".aside__wrapper {\n height: 100%;\n flex: 0 0 22%;\n position: sticky;\n top: 16px;\n}\n\n.aside__container {\n display: flex;\n flex-direction: column;\n height: 95vh;\n}\n\n.aside__divider {\n margin-top: 10px;\n margin-bottom: 10px;\n}",".subtitle {\n position: relative;\n top: -4;\n opacity: 0.5;\n}\n\n.header__wrapper {\n min-height: 60px\n}",".app__wrapper {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n padding: 16px;\n}\n\n.app__container {\n height: 100%;\n\n display: flex !important;\n position: relative;\n}\n\n.app__main {\n display: flex;\n flex-direction: column;\n width: 100%;\n margin-left: 16px !important;\n padding-left: 0px !important;\n padding-right: 0px !important;\n}",".log__row {\n cursor: pointer;\n\n &:last-child tr,\n &:last-child th {\n border: 0;\n }\n\n &_active {\n background: rgba(255, 255, 255, .24);\n }\n\n &_opened {\n opacity: 0.7;\n }\n}\n\n\n.log__text {\n font-weight: bold;\n\n &_opened {\n color: gray;\n }\n}\n\n.log__nopadding {\n padding: 0\n}",".notification__btn {\n margin-right: 20px;\n width: 20px;\n height: 20px;\n}","/* http://meyerweb.com/eric/tools/css/reset/ \n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tvertical-align: baseline;\n}\n\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n\tdisplay: block;\n}\n\nbody {\n\tline-height: 1;\n}\n\nol,\nul {\n\tlist-style: none;\n}\n\nblockquote,\nq {\n\tquotes: none;\n}\n\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n\tcontent: '';\n\tcontent: none;\n}\n\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0;\n}\n\na {\n\ttext-decoration: none;\n}",":root {\n --main-top-margin: 95px;\n}\n\n\n.container {\n padding: 15px;\n box-sizing: border-box;\n border-radius: 10px;\n box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, .1);\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/256.06b6e6c0.chunk.js b/server/dist/build/static/js/256.06b6e6c0.chunk.js new file mode 100644 index 0000000..c9f2af4 --- /dev/null +++ b/server/dist/build/static/js/256.06b6e6c0.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[256],{6256:function(e,r,t){t.r(r),t.d(r,{default:function(){return Re}});var n=t(2791),o=t(4554),a=t(5527),i=t(890),c=t(4721),s=t(8660),l=t(9439),u=t(6151),d=t(5391),p=t(7462),f=t(3366),h=t(8182),m=t(4419),j=t(6248),v=t(6934),x=t(1402),Z=t(292),_=t(4527),w=t(8029),g=t(4925),b=t(8096),P=t(4942),y=t(6147),C=t(2930),R=t(4036),N=t(5878),F=t(1217);function k(e){return(0,F.Z)("MuiFormHelperText",e)}var T,z=(0,N.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),S=t(184),M=["children","className","component","disabled","error","filled","focused","margin","required","variant"],q=(0,v.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,r){var t=e.ownerState;return[r.root,t.size&&r["size".concat((0,R.Z)(t.size))],t.contained&&r.contained,t.filled&&r.filled]}})((function(e){var r,t=e.theme,n=e.ownerState;return(0,p.Z)({color:(t.vars||t).palette.text.secondary},t.typography.caption,(r={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,P.Z)(r,"&.".concat(z.disabled),{color:(t.vars||t).palette.text.disabled}),(0,P.Z)(r,"&.".concat(z.error),{color:(t.vars||t).palette.error.main}),r),"small"===n.size&&{marginTop:4},n.contained&&{marginLeft:14,marginRight:14})})),I=n.forwardRef((function(e,r){var t=(0,x.Z)({props:e,name:"MuiFormHelperText"}),n=t.children,o=t.className,a=t.component,i=void 0===a?"p":a,c=(0,f.Z)(t,M),s=(0,C.Z)(),l=(0,y.Z)({props:t,muiFormControl:s,states:["variant","size","disabled","error","filled","focused","required"]}),u=(0,p.Z)({},t,{component:i,contained:"filled"===l.variant||"outlined"===l.variant,variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),d=function(e){var r=e.classes,t=e.contained,n=e.size,o=e.disabled,a=e.error,i=e.filled,c=e.focused,s=e.required,l={root:["root",o&&"disabled",a&&"error",n&&"size".concat((0,R.Z)(n)),t&&"contained",c&&"focused",i&&"filled",s&&"required"]};return(0,m.Z)(l,k,r)}(u);return(0,S.jsx)(q,(0,p.Z)({as:i,ownerState:u,className:(0,h.Z)(d.root,o),ref:r},c,{children:" "===n?T||(T=(0,S.jsx)("span",{className:"notranslate",children:"\u200b"})):n}))})),D=t(7198);function H(e){return(0,F.Z)("MuiTextField",e)}(0,N.Z)("MuiTextField",["root"]);var W=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],V={standard:Z.Z,filled:_.Z,outlined:w.Z},B=(0,v.ZP)(b.Z,{name:"MuiTextField",slot:"Root",overridesResolver:function(e,r){return r.root}})({}),E=n.forwardRef((function(e,r){var t=(0,x.Z)({props:e,name:"MuiTextField"}),n=t.autoComplete,o=t.autoFocus,a=void 0!==o&&o,i=t.children,c=t.className,s=t.color,l=void 0===s?"primary":s,u=t.defaultValue,d=t.disabled,v=void 0!==d&&d,Z=t.error,_=void 0!==Z&&Z,w=t.FormHelperTextProps,b=t.fullWidth,P=void 0!==b&&b,y=t.helperText,C=t.id,R=t.InputLabelProps,N=t.inputProps,F=t.InputProps,k=t.inputRef,T=t.label,z=t.maxRows,M=t.minRows,q=t.multiline,E=void 0!==q&&q,L=t.name,Y=t.onBlur,O=t.onChange,U=t.onClick,A=t.onFocus,J=t.placeholder,K=t.required,Q=void 0!==K&&K,X=t.rows,G=t.select,$=void 0!==G&&G,ee=t.SelectProps,re=t.type,te=t.value,ne=t.variant,oe=void 0===ne?"outlined":ne,ae=(0,f.Z)(t,W),ie=(0,p.Z)({},t,{autoFocus:a,color:l,disabled:v,error:_,fullWidth:P,multiline:E,required:Q,select:$,variant:oe}),ce=function(e){var r=e.classes;return(0,m.Z)({root:["root"]},H,r)}(ie);var se={};"outlined"===oe&&(R&&"undefined"!==typeof R.shrink&&(se.notched=R.shrink),se.label=T),$&&(ee&&ee.native||(se.id=void 0),se["aria-describedby"]=void 0);var le=(0,j.Z)(C),ue=y&&le?"".concat(le,"-helper-text"):void 0,de=T&&le?"".concat(le,"-label"):void 0,pe=V[oe],fe=(0,S.jsx)(pe,(0,p.Z)({"aria-describedby":ue,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:P,multiline:E,name:L,rows:X,maxRows:z,minRows:M,type:re,value:te,id:le,inputRef:k,onBlur:Y,onChange:O,onFocus:A,onClick:U,placeholder:J,inputProps:N},se,F));return(0,S.jsxs)(B,(0,p.Z)({className:(0,h.Z)(ce.root,c),disabled:v,error:_,fullWidth:P,ref:r,required:Q,color:l,variant:oe,ownerState:ie},ae,{children:[null!=T&&""!==T&&(0,S.jsx)(g.Z,(0,p.Z)({htmlFor:le,id:de},R,{children:T})),$?(0,S.jsx)(D.Z,(0,p.Z)({"aria-describedby":ue,id:le,labelId:de,value:te,input:fe},ee,{children:i})):fe,y&&(0,S.jsx)(I,(0,p.Z)({id:ue},w,{children:y}))]}))})),L=t(4165),Y=t(5861),O=t(6790),U=t(4423),A=t(3079),J=t(9744),K=t(3577),Q="CreateProject_createProject__modal__jyYwE",X=t(2690);function G(){var e=(0,s.T)(),r=(0,n.useState)(!1),t=(0,l.Z)(r,2),a=t[0],c=t[1],p=(0,n.useState)(""),f=(0,l.Z)(p,2),h=f[0],m=f[1],j=(0,n.useState)(null),v=(0,l.Z)(j,2),x=v[0],Z=v[1],_=function(){return c(!1)},w=function(e){e?Z(e):(m(""),_())};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(u.Z,{variant:"contained",onClick:function(){return c(!0)},children:"Create Project"}),(0,S.jsx)(d.Z,{open:a,onClose:_,children:(0,S.jsxs)(o.Z,{sx:{bgcolor:"background.paper"},className:Q,children:[(0,S.jsxs)("form",{onSubmit:function(r){r.preventDefault(),e(function(e,r){return function(){var t=(0,Y.Z)((0,L.Z)().mark((function t(n){var o;return(0,L.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,O.Z.post(U.gw,{title:e});case 3:o=t.sent,n(A.y.actions.add([o.data.project])),r(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),r((0,K.W)(t.t0));case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()}(h,w))},children:[(0,S.jsx)(i.Z,{variant:"h6",component:"h2",children:"Create Project"}),(0,S.jsx)(o.Z,{sx:{mt:1,mb:1},children:(0,S.jsx)(E,{label:"Title",onChange:function(e){m(e.target.value)},size:"small",variant:"filled"})}),(0,S.jsx)(u.Z,{type:"submit",variant:"contained",children:"Create Project"})]}),(0,S.jsx)(X.Z,{error:x})]})})]})}var $="ProjectsPage_projects__wrapper__81+MF",ee="ProjectsPage_projects__main__fxzp-",re="ProjectsPage_projects__aside__legVB",te="ProjectsPage_projects__divider__lBCxY",ne=t(493),oe=t(5021),ae=t(9900),ie=t(7689),ce=t(1087),se=t(6278),le=t(3543),ue=t(4358),de=t(1141),pe=t(7247),fe=t(7122),he=t(7143),me="ProjectRow_row__item__7t3kT",je="ProjectRow_row__title__Wx9ae",ve="ProjectRow_row__control__nXyQb",xe="ProjectRow_link__3lkD-",Ze="ProjectRow_row__titleWrap__gcM9E",_e="ProjectRow_row__controlItem__SECwl",we="ProjectRow_row__controlIcon__V1pnR",ge="ProjectRow_modal__Nwpju",be=function(e){var r=e.project,t=(0,s.T)(),a=(0,ie.s0)(),u=(0,n.useState)(!1),d=(0,l.Z)(u,2),p=d[0],f=d[1],h=(0,n.useState)(null),m=(0,l.Z)(h,2),j=m[0],v=m[1],x=function(e){e&&v(e)},Z=function(e,r){e.preventDefault(),t(function(e,r){return function(){var t=(0,Y.Z)((0,L.Z)().mark((function t(n){var o;return(0,L.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,O.Z.delete("".concat(U.gw,"/").concat(e));case 3:n(A.y.actions.delete(e)),n((0,J.z3)()),t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),o=t.t0.message||U.JD,r(o);case 11:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e){return t.apply(this,arguments)}}()}(r,x))},_={"&:hover":{color:"secondary.main"}};return(0,S.jsxs)(ce.rU,{to:"".concat(he.ww.url,"/").concat(r.id),className:xe,children:[(0,S.jsxs)(oe.ZP,{disablePadding:!0,className:me,children:[(0,S.jsx)(se.Z,{children:(0,S.jsx)(ae.Z,{primary:(0,S.jsx)(o.Z,{className:Ze,children:(0,S.jsx)(i.Z,{color:"text.primary",className:je,children:r.title})}),secondary:(0,S.jsxs)(o.Z,{className:ve,children:[(0,S.jsxs)(i.Z,{sx:_,className:_e,onClick:function(e){return Z(e,r.id)},children:["Delete",(0,S.jsx)(pe.Z,{className:we})]}),(0,S.jsxs)(i.Z,{sx:_,className:_e,onClick:function(e){return function(e,r){e.preventDefault(),a("".concat(he.ww.url,"/settings/").concat(r))}(e,r.id)},children:["Settings",(0,S.jsx)(fe.Z,{className:we})]}),(0,S.jsxs)(i.Z,{sx:_,className:_e,onClick:function(e){return function(e,r){e.preventDefault(),navigator.clipboard.writeText(r),f(!0)}(e,r.id)},children:["Copy Key",(0,S.jsx)(de.Z,{className:we})]})]})})}),(0,S.jsx)(X.Z,{error:j})]}),(0,S.jsx)(c.Z,{}),(0,S.jsx)(le.Z,{open:p,autoHideDuration:3e3,onClose:function(){f(!1)},className:ge,anchorOrigin:{vertical:"bottom",horizontal:"right"},children:(0,S.jsx)(ue.Z,{severity:"success",children:"Id copied"})})]})},Pe=function(e){var r=e.projects;return(0,S.jsxs)(S.Fragment,{children:[r.length>0&&(0,S.jsxs)(ne.Z,{children:[(0,S.jsx)(oe.ZP,{disablePadding:!0,children:(0,S.jsx)(ae.Z,{primary:"Projects list"})}),r.map((function(e){return(0,S.jsx)(be,{project:e},e.id)}))]}),0===r.length&&(0,S.jsx)(i.Z,{variant:"subtitle1",children:"You dont have projects yet, please Create new"})]})},ye=t(1918),Ce=function(e){var r=e.projectsThreshold,t=e.current;return(0,S.jsxs)(S.Fragment,{children:[t>=r&&(0,S.jsxs)(i.Z,{variant:"body1",children:["You currently have a limit of"," ",(0,S.jsx)(ye.Z,{label:r,size:"small",component:"span",color:"secondary"}),"projects under your current plan. To create additional projects, please consider upgrading your",(0,S.jsx)(ce.rU,{to:he.Og.url,children:(0,S.jsx)(i.Z,{color:"primary",children:"plan"})})]}),t {\n const {\n classes,\n contained,\n size,\n disabled,\n error,\n filled,\n focused,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', error && 'error', size && `size${capitalize(size)}`, contained && 'contained', focused && 'focused', filled && 'filled', required && 'required']\n };\n return composeClasses(slots, getFormHelperTextUtilityClasses, classes);\n};\nconst FormHelperTextRoot = styled('p', {\n name: 'MuiFormHelperText',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.size && styles[`size${capitalize(ownerState.size)}`], ownerState.contained && styles.contained, ownerState.filled && styles.filled];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n color: (theme.vars || theme).palette.text.secondary\n}, theme.typography.caption, {\n textAlign: 'left',\n marginTop: 3,\n marginRight: 0,\n marginBottom: 0,\n marginLeft: 0,\n [`&.${formHelperTextClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n },\n [`&.${formHelperTextClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n}, ownerState.size === 'small' && {\n marginTop: 4\n}, ownerState.contained && {\n marginLeft: 14,\n marginRight: 14\n}));\nconst FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFormHelperText'\n });\n const {\n children,\n className,\n component = 'p'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['variant', 'size', 'disabled', 'error', 'filled', 'focused', 'required']\n });\n const ownerState = _extends({}, props, {\n component,\n contained: fcs.variant === 'filled' || fcs.variant === 'outlined',\n variant: fcs.variant,\n size: fcs.size,\n disabled: fcs.disabled,\n error: fcs.error,\n filled: fcs.filled,\n focused: fcs.focused,\n required: fcs.required\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormHelperTextRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n })) : children\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormHelperText.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n *\n * If `' '` is provided, the component reserves one line height for displaying a future message.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, helper text should be displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the helper text should use filled classes key.\n */\n filled: PropTypes.bool,\n /**\n * If `true`, the helper text should use focused classes key.\n */\n focused: PropTypes.bool,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n /**\n * If `true`, the helper text should use required classes key.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])\n} : void 0;\nexport default FormHelperText;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getTextFieldUtilityClass(slot) {\n return generateUtilityClass('MuiTextField', slot);\n}\nconst textFieldClasses = generateUtilityClasses('MuiTextField', ['root']);\nexport default textFieldClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"autoComplete\", \"autoFocus\", \"children\", \"className\", \"color\", \"defaultValue\", \"disabled\", \"error\", \"FormHelperTextProps\", \"fullWidth\", \"helperText\", \"id\", \"InputLabelProps\", \"inputProps\", \"InputProps\", \"inputRef\", \"label\", \"maxRows\", \"minRows\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onClick\", \"onFocus\", \"placeholder\", \"required\", \"rows\", \"select\", \"SelectProps\", \"type\", \"value\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { refType, unstable_useId as useId } from '@mui/utils';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Input from '../Input';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nimport InputLabel from '../InputLabel';\nimport FormControl from '../FormControl';\nimport FormHelperText from '../FormHelperText';\nimport Select from '../Select';\nimport { getTextFieldUtilityClass } from './textFieldClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst variantComponent = {\n standard: Input,\n filled: FilledInput,\n outlined: OutlinedInput\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTextFieldUtilityClass, classes);\n};\nconst TextFieldRoot = styled(FormControl, {\n name: 'MuiTextField',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\n\n/**\n * The `TextField` is a convenience wrapper for the most common cases (80%).\n * It cannot be all things to all people, otherwise the API would grow out of control.\n *\n * ## Advanced Configuration\n *\n * It's important to understand that the text field is a simple abstraction\n * on top of the following components:\n *\n * - [FormControl](/material-ui/api/form-control/)\n * - [InputLabel](/material-ui/api/input-label/)\n * - [FilledInput](/material-ui/api/filled-input/)\n * - [OutlinedInput](/material-ui/api/outlined-input/)\n * - [Input](/material-ui/api/input/)\n * - [FormHelperText](/material-ui/api/form-helper-text/)\n *\n * If you wish to alter the props applied to the `input` element, you can do so as follows:\n *\n * ```jsx\n * const inputProps = {\n * step: 300,\n * };\n *\n * return ;\n * ```\n *\n * For advanced cases, please look at the source of TextField by clicking on the\n * \"Edit this page\" button above. Consider either:\n *\n * - using the upper case props for passing values directly to the components\n * - using the underlying components directly as shown in the demos\n */\nconst TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTextField'\n });\n const {\n autoComplete,\n autoFocus = false,\n children,\n className,\n color = 'primary',\n defaultValue,\n disabled = false,\n error = false,\n FormHelperTextProps,\n fullWidth = false,\n helperText,\n id: idOverride,\n InputLabelProps,\n inputProps,\n InputProps,\n inputRef,\n label,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onClick,\n onFocus,\n placeholder,\n required = false,\n rows,\n select = false,\n SelectProps,\n type,\n value,\n variant = 'outlined'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n autoFocus,\n color,\n disabled,\n error,\n fullWidth,\n multiline,\n required,\n select,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (select && !children) {\n console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');\n }\n }\n const InputMore = {};\n if (variant === 'outlined') {\n if (InputLabelProps && typeof InputLabelProps.shrink !== 'undefined') {\n InputMore.notched = InputLabelProps.shrink;\n }\n InputMore.label = label;\n }\n if (select) {\n // unset defaults from textbox inputs\n if (!SelectProps || !SelectProps.native) {\n InputMore.id = undefined;\n }\n InputMore['aria-describedby'] = undefined;\n }\n const id = useId(idOverride);\n const helperTextId = helperText && id ? `${id}-helper-text` : undefined;\n const inputLabelId = label && id ? `${id}-label` : undefined;\n const InputComponent = variantComponent[variant];\n const InputElement = /*#__PURE__*/_jsx(InputComponent, _extends({\n \"aria-describedby\": helperTextId,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n fullWidth: fullWidth,\n multiline: multiline,\n name: name,\n rows: rows,\n maxRows: maxRows,\n minRows: minRows,\n type: type,\n value: value,\n id: id,\n inputRef: inputRef,\n onBlur: onBlur,\n onChange: onChange,\n onFocus: onFocus,\n onClick: onClick,\n placeholder: placeholder,\n inputProps: inputProps\n }, InputMore, InputProps));\n return /*#__PURE__*/_jsxs(TextFieldRoot, _extends({\n className: clsx(classes.root, className),\n disabled: disabled,\n error: error,\n fullWidth: fullWidth,\n ref: ref,\n required: required,\n color: color,\n variant: variant,\n ownerState: ownerState\n }, other, {\n children: [label != null && label !== '' && /*#__PURE__*/_jsx(InputLabel, _extends({\n htmlFor: id,\n id: inputLabelId\n }, InputLabelProps, {\n children: label\n })), select ? /*#__PURE__*/_jsx(Select, _extends({\n \"aria-describedby\": helperTextId,\n id: id,\n labelId: inputLabelId,\n value: value,\n input: InputElement\n }, SelectProps, {\n children: children\n })) : InputElement, helperText && /*#__PURE__*/_jsx(FormHelperText, _extends({\n id: helperTextId\n }, FormHelperTextProps, {\n children: helperText\n }))]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextField.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n * @default false\n */\n error: PropTypes.bool,\n /**\n * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.\n */\n FormHelperTextProps: PropTypes.object,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The helper text content.\n */\n helperText: PropTypes.node,\n /**\n * The id of the `input` element.\n * Use this prop to make `label` and `helperText` accessible for screen readers.\n */\n id: PropTypes.string,\n /**\n * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.\n * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.\n */\n InputLabelProps: PropTypes.object,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Props applied to the Input element.\n * It will be a [`FilledInput`](/material-ui/api/filled-input/),\n * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)\n * component depending on the `variant` prop value.\n */\n InputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a `textarea` element is rendered instead of an input.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * If `true`, the label is displayed as required and the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.\n * If this option is set you must pass the options of the select as children.\n * @default false\n */\n select: PropTypes.bool,\n /**\n * Props applied to the [`Select`](/material-ui/api/select/) element.\n */\n SelectProps: PropTypes.object,\n /**\n * The size of the component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default TextField;","// extracted by mini-css-extract-plugin\nexport default {\"createProject__modal\":\"CreateProject_createProject__modal__jyYwE\"};","import React, { useState } from 'react';\nimport { Button, Modal, Box, Typography, TextField } from '@mui/material';\nimport { useAppDispatch } from '../../hooks/redux';\nimport { createProjectAction } from '../state/projects.actions';\nimport styles from '../styles/CreateProject.module.scss';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\nexport default function CreateProject() {\n const dispatch = useAppDispatch();\n const [open, setOpen] = useState(false);\n const [title, setTitle] = useState('');\n const [error, setError] = useState(null);\n\n const handleOpen = () => setOpen(true);\n const handleClose = () => setOpen(false);\n const onChangeTitle = (e: React.ChangeEvent) => {\n setTitle(e.target.value);\n };\n\n const onHandle = (err?: string) => {\n if (err) setError(err);\n else {\n setTitle('');\n handleClose();\n }\n };\n\n const onCreateProject = (e: React.FormEvent) => {\n e.preventDefault();\n dispatch(createProjectAction(title, onHandle));\n };\n\n return (\n <>\n \n\n \n \n
\n Create Project\n \n \n \n \n
\n \n
\n
\n \n );\n}\n","import { AppDispatch } from '../../store/store';\nimport api from '../../services/http';\nimport { PROJECT_URL, DEFAULT_ERROR_TEXT } from '../../constants';\nimport { ICreateProjectResponse, IProject } from '../model/projects.model';\nimport { projectSlice } from './projects.slice';\nimport { clearLogsAction } from '../../logs';\nimport { apiErrorHandler } from '../../shared/errorHandler';\n\n// eslint-disable-next-line no-unused-vars\ntype cb = (msg?: string) => void;\n\nexport const createProjectAction = (title: string, cb: cb) => async (dispatch: AppDispatch) => {\n try {\n const response = await api.post(PROJECT_URL, { title });\n dispatch(projectSlice.actions.add([response.data.project]));\n cb();\n } catch (err) {\n cb(apiErrorHandler(err));\n }\n};\n\nexport const getProjectsAction = () => async (dispatch: AppDispatch) => {\n try {\n const response = await api.get<{ projects: IProject[] }>(PROJECT_URL);\n dispatch(projectSlice.actions.add(response.data.projects));\n } catch (err) {\n const message = apiErrorHandler(err);\n dispatch(projectSlice.actions.onError(message));\n }\n};\n\nexport const deleteProjectAction = (id: string, cb: cb) => async (dispatch: AppDispatch) => {\n try {\n await api.delete(`${PROJECT_URL}/${id}`);\n dispatch(projectSlice.actions.delete(id));\n dispatch(clearLogsAction());\n } catch (err) {\n const message = err.message || DEFAULT_ERROR_TEXT;\n cb(message);\n }\n};\n\nexport const getCurrentProjectAction = (projectId: string, cb: cb) => async (dispatch: AppDispatch) => {\n try {\n const response = await api.get<{ project: IProject }>(`${PROJECT_URL}/${projectId}`);\n dispatch(projectSlice.actions.setCurrent(response.data.project));\n } catch (err) {\n const message = err.message || DEFAULT_ERROR_TEXT;\n cb(message);\n }\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"projects__wrapper\":\"ProjectsPage_projects__wrapper__81+MF\",\"projects__main\":\"ProjectsPage_projects__main__fxzp-\",\"projects__aside\":\"ProjectsPage_projects__aside__legVB\",\"projects__divider\":\"ProjectsPage_projects__divider__lBCxY\"};","// extracted by mini-css-extract-plugin\nexport default {\"row__item\":\"ProjectRow_row__item__7t3kT\",\"row__title\":\"ProjectRow_row__title__Wx9ae\",\"row__control\":\"ProjectRow_row__control__nXyQb\",\"link\":\"ProjectRow_link__3lkD-\",\"row__titleWrap\":\"ProjectRow_row__titleWrap__gcM9E\",\"row__key\":\"ProjectRow_row__key__l-n-G\",\"row__controlItem\":\"ProjectRow_row__controlItem__SECwl\",\"row__controlIcon\":\"ProjectRow_row__controlIcon__V1pnR\",\"modal\":\"ProjectRow_modal__Nwpju\"};","import React, { FC, useState } from 'react';\nimport { Link, useNavigate } from 'react-router-dom';\nimport {\n ListItem, ListItemButton, ListItemText, Typography, Box, Divider, Snackbar, Alert,\n} from '@mui/material';\nimport VpnKeyIcon from '@mui/icons-material/VpnKey';\nimport DeleteIcon from '@mui/icons-material/Delete';\nimport SettingsIcon from '@mui/icons-material/Settings';\nimport { useAppDispatch } from '../../hooks/redux';\nimport { projectsRoute } from '../../routes';\nimport { IProject } from '../model/projects.model';\nimport { deleteProjectAction } from '../state/projects.actions';\nimport styles from '../styles/ProjectRow.module.scss';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\ninterface IProjectRowProps {\n project: IProject\n}\n\nconst ProjectRow: FC = ({ project }) => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n const [showCopyMsg, setShowCopyMsg] = useState(false);\n const [error, setError] = useState(null);\n\n const onError = (msg?: string) => {\n if (msg) setError(msg);\n };\n\n const onDelete = (e: React.MouseEvent, id: string) => {\n e.preventDefault();\n dispatch(deleteProjectAction(id, onError));\n };\n\n const onSettings = (e: React.MouseEvent, id: string) => {\n e.preventDefault();\n navigate(`${projectsRoute.url}/settings/${id}`);\n };\n\n const onCopyKey = (e: React.MouseEvent, id: string) => {\n e.preventDefault();\n navigator.clipboard.writeText(id);\n setShowCopyMsg(true);\n };\n\n const onHideCopyMsg = () => {\n setShowCopyMsg(false);\n };\n\n const btnHoverStyle = { '&:hover': { color: 'secondary.main' } };\n\n return (\n \n \n \n \n \n {project.title}\n \n \n )}\n secondary={(\n \n onDelete(e, project.id)}\n >\n Delete\n \n \n onSettings(e, project.id)}\n >\n Settings\n \n \n onCopyKey(e, project.id)}\n >\n Copy Key\n \n \n \n )}\n />\n \n \n \n \n \n \n Id copied\n \n \n \n );\n};\n\nexport default ProjectRow;\n","import React, { FC } from 'react';\nimport { Typography, List, ListItem, ListItemText } from '@mui/material';\nimport ProjectRow from './ProjectRow';\nimport { IProject } from '../model/projects.model';\n\nconst ProjectsList: FC<{projects: IProject[]}> = ({ projects }) => {\n return (\n <>\n {projects.length > 0\n && (\n \n \n \n \n {projects.map((project) => )}\n \n )}\n\n {projects.length === 0\n && (\n \n You dont have projects yet, please Create new\n \n )}\n \n );\n};\n\nexport default ProjectsList;\n","import React, { FC } from 'react';\nimport { Link } from 'react-router-dom';\nimport { Typography, Chip } from '@mui/material';\nimport { planRoute } from '../../routes';\n\ninterface IProjectsLimitInfoProps {\n projectsThreshold: number;\n current: number\n}\n\nconst ProjectsLimitInfo: FC = ({ projectsThreshold, current }) => {\n return (\n <>\n {current >= projectsThreshold && (\n \n You currently have a limit of\n {' '}\n \n projects under your current plan. To create additional projects,\n please consider upgrading your\n plan\n \n )}\n\n {current < projectsThreshold && (\n \n You have access to\n {' '}\n \n {' '}\n projects within the scope of your current plan.\n \n )}\n \n );\n};\n\nexport default ProjectsLimitInfo;\n","import React, { useEffect } from 'react';\nimport { Paper, Typography, Divider, Box } from '@mui/material';\nimport { useAppDispatch, useAppSelector } from '../../hooks/redux';\nimport CreateProject from '../components/CreateProject';\nimport { getProjectsAction } from '../state/projects.actions';\nimport styles from '../styles/ProjectsPage.module.scss';\nimport ProjectsList from '../components/ProjectsList';\nimport ProjectsLimitInfo from '../components/ProjectsLimitInfo';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\nconst ProjectsPage = () => {\n const dispatch = useAppDispatch();\n const { projects, error } = useAppSelector((state) => state.projectReducer);\n const { user } = useAppSelector((state) => state.userReducer);\n const { plans } = useAppSelector((state) => state.planReducer);\n\n let projectsThreshold = 0;\n if (user && plans.length) {\n projectsThreshold = plans.find((plan) => plan.id === user.planId)!.projectsNum;\n }\n\n useEffect(() => {\n dispatch(getProjectsAction());\n }, [dispatch]);\n\n return (\n \n \n {!error && }\n \n \n \n \n {!error && (\n <>\n Projects Info\n \n \n { projects.length < projectsThreshold && }\n \n )}\n \n \n );\n};\n\nexport default ProjectsPage;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z\"\n}), 'Delete');\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z\"\n}), 'Settings');\nexports.default = _default;"],"names":["getFormHelperTextUtilityClasses","slot","generateUtilityClass","_span","generateUtilityClasses","_excluded","FormHelperTextRoot","styled","name","overridesResolver","props","styles","ownerState","root","size","concat","capitalize","contained","filled","_ref","_extends2","theme","_extends","color","vars","palette","text","secondary","typography","caption","textAlign","marginTop","marginRight","marginBottom","marginLeft","_defineProperty","formHelperTextClasses","disabled","error","main","React","inProps","ref","useThemeProps","children","className","_props$component","component","other","_objectWithoutPropertiesLoose","muiFormControl","useFormControl","fcs","formControlState","states","variant","focused","required","classes","slots","composeClasses","useUtilityClasses","_jsx","as","clsx","getTextFieldUtilityClass","variantComponent","standard","Input","FilledInput","outlined","OutlinedInput","TextFieldRoot","FormControl","autoComplete","_props$autoFocus","autoFocus","_props$color","defaultValue","_props$disabled","_props$error","FormHelperTextProps","_props$fullWidth","fullWidth","helperText","idOverride","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","_props$multiline","multiline","onBlur","onChange","onClick","onFocus","placeholder","_props$required","rows","_props$select","select","SelectProps","type","value","_props$variant","InputMore","shrink","notched","native","undefined","useId","helperTextId","inputLabelId","InputComponent","InputElement","_jsxs","InputLabel","htmlFor","Select","labelId","input","FormHelperText","CreateProject","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","open","setOpen","_useState3","_useState4","title","setTitle","_useState5","_useState6","setError","handleClose","onHandle","err","_Fragment","Button","Modal","onClose","Box","sx","bgcolor","onSubmit","e","preventDefault","cb","_asyncToGenerator","_regeneratorRuntime","mark","_callee","response","wrap","_context","prev","next","api","post","PROJECT_URL","sent","projectSlice","actions","add","data","project","t0","apiErrorHandler","stop","_x","apply","arguments","createProjectAction","Typography","mt","mb","TextField","target","ErrBanner","navigate","useNavigate","showCopyMsg","setShowCopyMsg","onError","msg","onDelete","_ref3","_callee3","message","_context3","delete","clearLogsAction","DEFAULT_ERROR_TEXT","_x3","deleteProjectAction","btnHoverStyle","Link","to","projectsRoute","url","ListItem","disablePadding","ListItemButton","ListItemText","primary","DeleteIcon","onSettings","SettingsIcon","navigator","clipboard","writeText","onCopyKey","VpnKeyIcon","Divider","Snackbar","autoHideDuration","anchorOrigin","vertical","horizontal","Alert","severity","projects","length","List","map","ProjectRow","projectsThreshold","current","Chip","planRoute","_useAppSelector","useAppSelector","state","projectReducer","user","userReducer","plans","planReducer","find","plan","planId","projectsNum","useEffect","_ref2","_callee2","_context2","get","_x2","Paper","ProjectsList","p","ProjectsLimitInfo","_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d"],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/391.edd22a17.chunk.js b/server/dist/build/static/js/391.edd22a17.chunk.js new file mode 100644 index 0000000..c0e46e5 --- /dev/null +++ b/server/dist/build/static/js/391.edd22a17.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[391],{5391:function(e,n,t){t.d(n,{Z:function(){return te}});var o=t(9439),r=t(3366),i=t(7462),a=t(2791),s=t(8182),l=t(7563),c=t(9723),u=t(8956),d=t(8949),f=t(4419),p=t(6174),v=t(5671),m=t(3144),b=t(3433),h=t(7979),E=t(7137);function y(e,n){n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function k(e){return parseInt((0,h.Z)(e).getComputedStyle(e).paddingRight,10)||0}function g(e,n,t,o,r){var i=[n,t].concat((0,b.Z)(o));[].forEach.call(e.children,(function(e){var n=-1===i.indexOf(e),t=!function(e){var n=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),t="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return n||t}(e);n&&t&&y(e,r)}))}function x(e,n){var t=-1;return e.some((function(e,o){return!!n(e)&&(t=o,!0)})),t}function Z(e,n){var t=[],o=e.container;if(!n.disableScrollLock){if(function(e){var n=(0,c.Z)(e);return n.body===e?(0,h.Z)(e).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var r=(0,E.Z)((0,c.Z)(o));t.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight="".concat(k(o)+r,"px");var i=(0,c.Z)(o).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){t.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(k(e)+r,"px")}))}var a;if(o.parentNode instanceof DocumentFragment)a=(0,c.Z)(o).body;else{var s=o.parentElement,l=(0,h.Z)(o);a="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===l.getComputedStyle(s).overflowY?s:o}t.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){t.forEach((function(e){var n=e.value,t=e.el,o=e.property;n?t.style.setProperty(o,n):t.style.removeProperty(o)}))}}var R=function(){function e(){(0,v.Z)(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return(0,m.Z)(e,[{key:"add",value:function(e,n){var t=this.modals.indexOf(e);if(-1!==t)return t;t=this.modals.length,this.modals.push(e),e.modalRef&&y(e.modalRef,!1);var o=function(e){var n=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&n.push(e)})),n}(n);g(n,e.mount,e.modalRef,o,!0);var r=x(this.containers,(function(e){return e.container===n}));return-1!==r?(this.containers[r].modals.push(e),t):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:o}),t)}},{key:"mount",value:function(e,n){var t=x(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),o=this.containers[t];o.restore||(o.restore=Z(o,n))}},{key:"remove",value:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=this.modals.indexOf(e);if(-1===t)return t;var o=x(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&y(e.modalRef,n),g(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&y(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),T=t(184),P=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function w(e){var n=[],t=[];return Array.from(e.querySelectorAll(P)).forEach((function(e,o){var r=function(e){var n=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(n)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:n}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var n=function(n){return e.ownerDocument.querySelector('input[type="radio"]'.concat(n))},t=n('[name="'.concat(e.name,'"]:checked'));return t||(t=n('[name="'.concat(e.name,'"]'))),t!==e}(e))}(e)&&(0===r?n.push(e):t.push({documentOrder:o,tabIndex:r,node:e}))})),t.sort((function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex})).map((function(e){return e.node})).concat(n)}function C(){return!0}var S=function(e){var n=e.children,t=e.disableAutoFocus,o=void 0!==t&&t,r=e.disableEnforceFocus,i=void 0!==r&&r,s=e.disableRestoreFocus,u=void 0!==s&&s,d=e.getTabbable,f=void 0===d?w:d,p=e.isEnabled,v=void 0===p?C:p,m=e.open,b=a.useRef(!1),h=a.useRef(null),E=a.useRef(null),y=a.useRef(null),k=a.useRef(null),g=a.useRef(!1),x=a.useRef(null),Z=(0,l.Z)(n.ref,x),R=a.useRef(null);a.useEffect((function(){m&&x.current&&(g.current=!o)}),[o,m]),a.useEffect((function(){if(m&&x.current){var e=(0,c.Z)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),g.current&&x.current.focus()),function(){u||(y.current&&y.current.focus&&(b.current=!0,y.current.focus()),y.current=null)}}}),[m]),a.useEffect((function(){if(m&&x.current){var e=(0,c.Z)(x.current),n=function(n){var t=x.current;if(null!==t)if(e.hasFocus()&&!i&&v()&&!b.current){if(!t.contains(e.activeElement)){if(n&&k.current!==n.target||e.activeElement!==k.current)k.current=null;else if(null!==k.current)return;if(!g.current)return;var o=[];if(e.activeElement!==h.current&&e.activeElement!==E.current||(o=f(x.current)),o.length>0){var r,a,s=Boolean((null==(r=R.current)?void 0:r.shiftKey)&&"Tab"===(null==(a=R.current)?void 0:a.key)),l=o[0],c=o[o.length-1];"string"!==typeof l&&"string"!==typeof c&&(s?c.focus():l.focus())}else t.focus()}}else b.current=!1},t=function(n){R.current=n,!i&&v()&&"Tab"===n.key&&e.activeElement===x.current&&n.shiftKey&&(b.current=!0,E.current&&E.current.focus())};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);var o=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&n(null)}),50);return function(){clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}}),[o,i,u,v,m,f]);var P=function(e){null===y.current&&(y.current=e.relatedTarget),g.current=!0};return(0,T.jsxs)(a.Fragment,{children:[(0,T.jsx)("div",{tabIndex:m?0:-1,onFocus:P,ref:h,"data-testid":"sentinelStart"}),a.cloneElement(n,{ref:Z,onFocus:function(e){null===y.current&&(y.current=e.relatedTarget),g.current=!0,k.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,T.jsx)("div",{tabIndex:m?0:-1,onFocus:P,ref:E,"data-testid":"sentinelEnd"})]})},A=t(5878),F=t(1217);function N(e){return(0,F.Z)("MuiModal",e)}(0,A.Z)("MuiModal",["root","hidden","backdrop"]);var I=t(536),M=t(6826),B=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];var L=new R,O=a.forwardRef((function(e,n){var t,s,v=e.children,m=e.closeAfterTransition,b=void 0!==m&&m,h=e.container,E=e.disableAutoFocus,k=void 0!==E&&E,g=e.disableEnforceFocus,x=void 0!==g&&g,Z=e.disableEscapeKeyDown,R=void 0!==Z&&Z,P=e.disablePortal,w=void 0!==P&&P,C=e.disableRestoreFocus,A=void 0!==C&&C,F=e.disableScrollLock,O=void 0!==F&&F,D=e.hideBackdrop,K=void 0!==D&&D,j=e.keepMounted,U=void 0!==j&&j,W=e.manager,H=void 0===W?L:W,Y=e.onBackdropClick,q=e.onClose,z=e.onKeyDown,G=e.open,V=e.onTransitionEnter,X=e.onTransitionExited,J=e.slotProps,Q=void 0===J?{}:J,$=e.slots,_=void 0===$?{}:$,ee=(0,r.Z)(e,B),ne=H,te=a.useState(!G),oe=(0,o.Z)(te,2),re=oe[0],ie=oe[1],ae=a.useRef({}),se=a.useRef(null),le=a.useRef(null),ce=(0,l.Z)(le,n),ue=function(e){return!!e&&e.props.hasOwnProperty("in")}(v),de=null==(t=e["aria-hidden"])||t,fe=function(){return ae.current.modalRef=le.current,ae.current.mountNode=se.current,ae.current},pe=function(){ne.mount(fe(),{disableScrollLock:O}),le.current&&(le.current.scrollTop=0)},ve=(0,u.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(h)||(0,c.Z)(se.current).body;ne.add(fe(),e),le.current&&pe()})),me=a.useCallback((function(){return ne.isTopModal(fe())}),[ne]),be=(0,u.Z)((function(e){se.current=e,e&&le.current&&(G&&me()?pe():y(le.current,de))})),he=a.useCallback((function(){ne.remove(fe(),de)}),[ne,de]);a.useEffect((function(){return function(){he()}}),[he]),a.useEffect((function(){G?ve():ue&&b||he()}),[G,he,ue,b,ve]);var Ee=(0,i.Z)({},e,{closeAfterTransition:b,disableAutoFocus:k,disableEnforceFocus:x,disableEscapeKeyDown:R,disablePortal:w,disableRestoreFocus:A,disableScrollLock:O,exited:re,hideBackdrop:K,keepMounted:U}),ye=function(e){var n=e.open,t=e.exited,o={root:["root",!n&&t&&"hidden"],backdrop:["backdrop"]};return(0,f.Z)(o,(0,M.T)(N))}(Ee),ke={};void 0===v.props.tabIndex&&(ke.tabIndex="-1"),ue&&(ke.onEnter=(0,d.Z)((function(){ie(!1),V&&V()}),v.props.onEnter),ke.onExited=(0,d.Z)((function(){ie(!0),X&&X(),b&&he()}),v.props.onExited));var ge=null!=(s=_.root)?s:"div",xe=(0,I.Z)({elementType:ge,externalSlotProps:Q.root,externalForwardedProps:ee,additionalProps:{ref:ce,role:"presentation",onKeyDown:function(e){z&&z(e),"Escape"===e.key&&me()&&(R||(e.stopPropagation(),q&&q(e,"escapeKeyDown")))}},className:ye.root,ownerState:Ee}),Ze=_.backdrop,Re=(0,I.Z)({elementType:Ze,externalSlotProps:Q.backdrop,additionalProps:{"aria-hidden":!0,onClick:function(e){e.target===e.currentTarget&&(Y&&Y(e),q&&q(e,"backdropClick"))},open:G},className:ye.backdrop,ownerState:Ee});return U||G||ue&&!re?(0,T.jsx)(p.Z,{ref:be,container:h,disablePortal:w,children:(0,T.jsxs)(ge,(0,i.Z)({},xe,{children:[!K&&Ze?(0,T.jsx)(Ze,(0,i.Z)({},Re)):null,(0,T.jsx)(S,{disableEnforceFocus:x,disableAutoFocus:k,disableRestoreFocus:A,isEnabled:me,open:G,children:a.cloneElement(v,ke)})]}))}):null})),D=t(1503),K=t(627),j=t(6934),U=t(1402),W=t(6752),H=t(3967),Y=t(4999),q=t(2071),z=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],G={entering:{opacity:1},entered:{opacity:1}},V=a.forwardRef((function(e,n){var t=(0,H.Z)(),o={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},s=e.addEndListener,l=e.appear,c=void 0===l||l,u=e.children,d=e.easing,f=e.in,p=e.onEnter,v=e.onEntered,m=e.onEntering,b=e.onExit,h=e.onExited,E=e.onExiting,y=e.style,k=e.timeout,g=void 0===k?o:k,x=e.TransitionComponent,Z=void 0===x?W.ZP:x,R=(0,r.Z)(e,z),P=a.useRef(null),w=(0,q.Z)(P,u.ref,n),C=function(e){return function(n){if(e){var t=P.current;void 0===n?e(t):e(t,n)}}},S=C(m),A=C((function(e,n){(0,Y.n)(e);var o=(0,Y.C)({style:y,timeout:g,easing:d},{mode:"enter"});e.style.webkitTransition=t.transitions.create("opacity",o),e.style.transition=t.transitions.create("opacity",o),p&&p(e,n)})),F=C(v),N=C(E),I=C((function(e){var n=(0,Y.C)({style:y,timeout:g,easing:d},{mode:"exit"});e.style.webkitTransition=t.transitions.create("opacity",n),e.style.transition=t.transitions.create("opacity",n),b&&b(e)})),M=C(h);return(0,T.jsx)(Z,(0,i.Z)({appear:c,in:f,nodeRef:P,onEnter:A,onEntered:F,onEntering:S,onExit:I,onExited:M,onExiting:N,addEndListener:function(e){s&&s(P.current,e)},timeout:g},R,{children:function(e,n){return a.cloneElement(u,(0,i.Z)({style:(0,i.Z)({opacity:0,visibility:"exited"!==e||f?void 0:"hidden"},G[e],y,u.props.style),ref:w},n))}}))}));function X(e){return(0,F.Z)("MuiBackdrop",e)}(0,A.Z)("MuiBackdrop",["root","invisible"]);var J=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Q=(0,j.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.invisible&&n.invisible]}})((function(e){var n=e.ownerState;return(0,i.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},n.invisible&&{backgroundColor:"transparent"})})),$=a.forwardRef((function(e,n){var t,o,a,l=(0,U.Z)({props:e,name:"MuiBackdrop"}),c=l.children,u=l.className,d=l.component,p=void 0===d?"div":d,v=l.components,m=void 0===v?{}:v,b=l.componentsProps,h=void 0===b?{}:b,E=l.invisible,y=void 0!==E&&E,k=l.open,g=l.slotProps,x=void 0===g?{}:g,Z=l.slots,R=void 0===Z?{}:Z,P=l.TransitionComponent,w=void 0===P?V:P,C=l.transitionDuration,S=(0,r.Z)(l,J),A=(0,i.Z)({},l,{component:p,invisible:y}),F=function(e){var n=e.classes,t={root:["root",e.invisible&&"invisible"]};return(0,f.Z)(t,X,n)}(A),N=null!=(t=x.root)?t:h.root;return(0,T.jsx)(w,(0,i.Z)({in:k,timeout:C},S,{children:(0,T.jsx)(Q,(0,i.Z)({"aria-hidden":!0},N,{as:null!=(o=null!=(a=R.root)?a:m.Root)?o:p,className:(0,s.Z)(F.root,u,null==N?void 0:N.className),ownerState:(0,i.Z)({},A,null==N?void 0:N.ownerState),classes:F,ref:n,children:c}))}))})),_=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],ee=(0,j.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,!t.open&&t.exited&&n.hidden]}})((function(e){var n=e.theme,t=e.ownerState;return(0,i.Z)({position:"fixed",zIndex:(n.vars||n).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})})),ne=(0,j.ZP)($,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,n){return n.backdrop}})({zIndex:-1}),te=a.forwardRef((function(e,n){var t,l,c,u,d,f,p=(0,U.Z)({name:"MuiModal",props:e}),v=p.BackdropComponent,m=void 0===v?ne:v,b=p.BackdropProps,h=p.classes,E=p.className,y=p.closeAfterTransition,k=void 0!==y&&y,g=p.children,x=p.container,Z=p.component,R=p.components,P=void 0===R?{}:R,w=p.componentsProps,C=void 0===w?{}:w,S=p.disableAutoFocus,A=void 0!==S&&S,F=p.disableEnforceFocus,N=void 0!==F&&F,I=p.disableEscapeKeyDown,M=void 0!==I&&I,B=p.disablePortal,L=void 0!==B&&B,j=p.disableRestoreFocus,W=void 0!==j&&j,H=p.disableScrollLock,Y=void 0!==H&&H,q=p.hideBackdrop,z=void 0!==q&&q,G=p.keepMounted,V=void 0!==G&&G,X=p.onBackdropClick,J=p.onClose,Q=p.open,$=p.slotProps,te=p.slots,oe=p.theme,re=(0,r.Z)(p,_),ie=a.useState(!0),ae=(0,o.Z)(ie,2),se=ae[0],le=ae[1],ce={container:x,closeAfterTransition:k,disableAutoFocus:A,disableEnforceFocus:N,disableEscapeKeyDown:M,disablePortal:L,disableRestoreFocus:W,disableScrollLock:Y,hideBackdrop:z,keepMounted:V,onBackdropClick:X,onClose:J,open:Q},ue=(0,i.Z)({},p,ce,{exited:se}),de=null!=(t=null!=(l=null==te?void 0:te.root)?l:P.Root)?t:ee,fe=null!=(c=null!=(u=null==te?void 0:te.backdrop)?u:P.Backdrop)?c:m,pe=null!=(d=null==$?void 0:$.root)?d:C.root,ve=null!=(f=null==$?void 0:$.backdrop)?f:C.backdrop;return(0,T.jsx)(O,(0,i.Z)({slots:{root:de,backdrop:fe},slotProps:{root:function(){return(0,i.Z)({},(0,D.Z)(pe,ue),!(0,K.Z)(de)&&{as:Z,theme:oe},{className:(0,s.Z)(E,null==pe?void 0:pe.className,null==h?void 0:h.root,!ue.open&&ue.exited&&(null==h?void 0:h.hidden))})},backdrop:function(){return(0,i.Z)({},b,(0,D.Z)(ve,ue),{className:(0,s.Z)(null==ve?void 0:ve.className,null==b?void 0:b.className,null==h?void 0:h.backdrop)})}},onTransitionEnter:function(){return le(!1)},onTransitionExited:function(){return le(!0)},ref:n},re,ce,{children:g}))}))},7137:function(e,n,t){function o(e){var n=e.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}t.d(n,{Z:function(){return o}})}}]); +//# sourceMappingURL=391.edd22a17.chunk.js.map \ No newline at end of file diff --git a/server/dist/build/static/js/391.edd22a17.chunk.js.map b/server/dist/build/static/js/391.edd22a17.chunk.js.map new file mode 100644 index 0000000..0b0c61a --- /dev/null +++ b/server/dist/build/static/js/391.edd22a17.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/391.edd22a17.chunk.js","mappings":"0SASO,SAASA,EAAWC,EAASC,GAC9BA,EACFD,EAAQE,aAAa,cAAe,QAEpCF,EAAQG,gBAAgB,cAE5B,CACA,SAASC,EAAgBJ,GACvB,OAAOK,UAASC,EAAAA,EAAAA,GAAYN,GAASO,iBAAiBP,GAASQ,aAAc,KAAO,CACtF,CAUA,SAASC,EAAmBC,EAAWC,EAAcC,EAAgBC,EAAmBZ,GACtF,IAAMa,EAAY,CAACH,EAAcC,GAAcG,QAAAC,EAAAA,EAAAA,GAAKH,IACpD,GAAGI,QAAQC,KAAKR,EAAUS,UAAU,SAAAnB,GAClC,IAAMoB,GAAuD,IAAhCN,EAAUO,QAAQrB,GACzCsB,GAbV,SAAwCtB,GAItC,IACMuB,GAAqE,IADjD,CAAC,WAAY,SAAU,QAAS,OAAQ,MAAO,OAAQ,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AAoB,EAASA,EAAU+B,UAAoB+G,EAAsBf,EAAgBhG,SAClJ,OAAoB/D,EAAAA,EAAAA,KAAKqL,GAAexH,EAAAA,EAAAA,GAAS,CAC/C3B,MAAO,CACLlH,KAAMkQ,GACNnH,SAAUoH,IAEZnJ,UAAW,CACThH,KAAM,kBAAM6I,EAAAA,EAAAA,GAAS,CAAC,GAAGyH,EAAAA,EAAAA,GAAsBnB,GAAevG,MAAc2H,EAAAA,EAAAA,GAAgBL,KAAa,CACvGd,GAAIT,EACJhE,MAAAA,IACC,CACDX,WAAWqF,EAAAA,EAAAA,GAAKrF,EAA4B,MAAjBmF,QAAwB,EAASA,GAAcnF,UAAsB,MAAXlB,OAAkB,EAASA,EAAQ9I,MAAO4I,GAAWrG,MAAQqG,GAAWpB,SAAsB,MAAXsB,OAAkB,EAASA,EAAQyG,UAC3M,EACFxG,SAAU,kBAAMF,EAAAA,EAAAA,GAAS,CAAC,EAAGmH,GAAeM,EAAAA,EAAAA,GAAsBF,GAAmBxH,IAAa,CAChGoB,WAAWqF,EAAAA,EAAAA,GAA0B,MAArBe,QAA4B,EAASA,GAAkBpG,UAA4B,MAAjBgG,OAAwB,EAASA,EAAchG,UAAsB,MAAXlB,OAAkB,EAASA,EAAQC,WAC/K,GAEJlC,kBAAmB,kBAAMY,IAAU,EAAM,EACzCX,mBAAoB,kBAAMW,IAAU,EAAK,EACzCvE,IAAKA,GACJiE,GAAO8I,GAAa,CACrB7U,SAAUA,IAEd,G,uBCxIe,SAAS+B,EAAiBV,GAEvC,IAAM+T,EAAgB/T,EAAII,gBAAgBC,YAC1C,OAAO2T,KAAKC,IAAIC,OAAO/T,WAAa4T,EACtC,C","sources":["../node_modules/@mui/base/Modal/ModalManager.js","../node_modules/@mui/base/FocusTrap/FocusTrap.js","../node_modules/@mui/base/Modal/modalClasses.js","../node_modules/@mui/base/Modal/Modal.js","../node_modules/@mui/material/Fade/Fade.js","../node_modules/@mui/material/Backdrop/backdropClasses.js","../node_modules/@mui/material/Backdrop/Backdrop.js","../node_modules/@mui/material/Modal/Modal.js","../node_modules/@mui/utils/esm/getScrollbarSize.js"],"sourcesContent":["import { unstable_ownerWindow as ownerWindow, unstable_ownerDocument as ownerDocument, unstable_getScrollbarSize as getScrollbarSize } from '@mui/utils';\n// Is a vertical scrollbar displayed?\nfunction isOverflowing(container) {\n const doc = ownerDocument(container);\n if (doc.body === container) {\n return ownerWindow(container).innerWidth > doc.documentElement.clientWidth;\n }\n return container.scrollHeight > container.clientHeight;\n}\nexport function ariaHidden(element, show) {\n if (show) {\n element.setAttribute('aria-hidden', 'true');\n } else {\n element.removeAttribute('aria-hidden');\n }\n}\nfunction getPaddingRight(element) {\n return parseInt(ownerWindow(element).getComputedStyle(element).paddingRight, 10) || 0;\n}\nfunction isAriaHiddenForbiddenOnElement(element) {\n // The forbidden HTML tags are the ones from ARIA specification that\n // can be children of body and can't have aria-hidden attribute.\n // cf. https://www.w3.org/TR/html-aria/#docconformance\n const forbiddenTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE', 'LINK', 'MAP', 'META', 'NOSCRIPT', 'PICTURE', 'COL', 'COLGROUP', 'PARAM', 'SLOT', 'SOURCE', 'TRACK'];\n const isForbiddenTagName = forbiddenTagNames.indexOf(element.tagName) !== -1;\n const isInputHidden = element.tagName === 'INPUT' && element.getAttribute('type') === 'hidden';\n return isForbiddenTagName || isInputHidden;\n}\nfunction ariaHiddenSiblings(container, mountElement, currentElement, elementsToExclude, show) {\n const blacklist = [mountElement, currentElement, ...elementsToExclude];\n [].forEach.call(container.children, element => {\n const isNotExcludedElement = blacklist.indexOf(element) === -1;\n const isNotForbiddenElement = !isAriaHiddenForbiddenOnElement(element);\n if (isNotExcludedElement && isNotForbiddenElement) {\n ariaHidden(element, show);\n }\n });\n}\nfunction findIndexOf(items, callback) {\n let idx = -1;\n items.some((item, index) => {\n if (callback(item)) {\n idx = index;\n return true;\n }\n return false;\n });\n return idx;\n}\nfunction handleContainer(containerInfo, props) {\n const restoreStyle = [];\n const container = containerInfo.container;\n if (!props.disableScrollLock) {\n if (isOverflowing(container)) {\n // Compute the size before applying overflow hidden to avoid any scroll jumps.\n const scrollbarSize = getScrollbarSize(ownerDocument(container));\n restoreStyle.push({\n value: container.style.paddingRight,\n property: 'padding-right',\n el: container\n });\n // Use computed style, here to get the real padding to add our scrollbar width.\n container.style.paddingRight = `${getPaddingRight(container) + scrollbarSize}px`;\n\n // .mui-fixed is a global helper.\n const fixedElements = ownerDocument(container).querySelectorAll('.mui-fixed');\n [].forEach.call(fixedElements, element => {\n restoreStyle.push({\n value: element.style.paddingRight,\n property: 'padding-right',\n el: element\n });\n element.style.paddingRight = `${getPaddingRight(element) + scrollbarSize}px`;\n });\n }\n let scrollContainer;\n if (container.parentNode instanceof DocumentFragment) {\n scrollContainer = ownerDocument(container).body;\n } else {\n // Improve Gatsby support\n // https://css-tricks.com/snippets/css/force-vertical-scrollbar/\n const parent = container.parentElement;\n const containerWindow = ownerWindow(container);\n scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container;\n }\n\n // Block the scroll even if no scrollbar is visible to account for mobile keyboard\n // screensize shrink.\n restoreStyle.push({\n value: scrollContainer.style.overflow,\n property: 'overflow',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowX,\n property: 'overflow-x',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowY,\n property: 'overflow-y',\n el: scrollContainer\n });\n scrollContainer.style.overflow = 'hidden';\n }\n const restore = () => {\n restoreStyle.forEach(({\n value,\n el,\n property\n }) => {\n if (value) {\n el.style.setProperty(property, value);\n } else {\n el.style.removeProperty(property);\n }\n });\n };\n return restore;\n}\nfunction getHiddenSiblings(container) {\n const hiddenSiblings = [];\n [].forEach.call(container.children, element => {\n if (element.getAttribute('aria-hidden') === 'true') {\n hiddenSiblings.push(element);\n }\n });\n return hiddenSiblings;\n}\n/**\n * @ignore - do not document.\n *\n * Proper state management for containers and the modals in those containers.\n * Simplified, but inspired by react-overlay's ModalManager class.\n * Used by the Modal to ensure proper styling of containers.\n */\nexport default class ModalManager {\n constructor() {\n this.containers = void 0;\n this.modals = void 0;\n this.modals = [];\n this.containers = [];\n }\n add(modal, container) {\n let modalIndex = this.modals.indexOf(modal);\n if (modalIndex !== -1) {\n return modalIndex;\n }\n modalIndex = this.modals.length;\n this.modals.push(modal);\n\n // If the modal we are adding is already in the DOM.\n if (modal.modalRef) {\n ariaHidden(modal.modalRef, false);\n }\n const hiddenSiblings = getHiddenSiblings(container);\n ariaHiddenSiblings(container, modal.mount, modal.modalRef, hiddenSiblings, true);\n const containerIndex = findIndexOf(this.containers, item => item.container === container);\n if (containerIndex !== -1) {\n this.containers[containerIndex].modals.push(modal);\n return modalIndex;\n }\n this.containers.push({\n modals: [modal],\n container,\n restore: null,\n hiddenSiblings\n });\n return modalIndex;\n }\n mount(modal, props) {\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n if (!containerInfo.restore) {\n containerInfo.restore = handleContainer(containerInfo, props);\n }\n }\n remove(modal, ariaHiddenState = true) {\n const modalIndex = this.modals.indexOf(modal);\n if (modalIndex === -1) {\n return modalIndex;\n }\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);\n this.modals.splice(modalIndex, 1);\n\n // If that was the last modal in a container, clean up the container.\n if (containerInfo.modals.length === 0) {\n // The modal might be closed before it had the chance to be mounted in the DOM.\n if (containerInfo.restore) {\n containerInfo.restore();\n }\n if (modal.modalRef) {\n // In case the modal wasn't in the DOM yet.\n ariaHidden(modal.modalRef, ariaHiddenState);\n }\n ariaHiddenSiblings(containerInfo.container, modal.mount, modal.modalRef, containerInfo.hiddenSiblings, false);\n this.containers.splice(containerIndex, 1);\n } else {\n // Otherwise make sure the next top modal is visible to a screen reader.\n const nextTop = containerInfo.modals[containerInfo.modals.length - 1];\n // as soon as a modal is adding its modalRef is undefined. it can't set\n // aria-hidden because the dom element doesn't exist either\n // when modal was unmounted before modalRef gets null\n if (nextTop.modalRef) {\n ariaHidden(nextTop.modalRef, false);\n }\n }\n return modalIndex;\n }\n isTopModal(modal) {\n return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;\n }\n}","/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp, elementAcceptingRef, unstable_useForkRef as useForkRef, unstable_ownerDocument as ownerDocument } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n// Inspired by https://github.com/focus-trap/tabbable\nconst candidatesSelector = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])'].join(',');\nfunction getTabIndex(node) {\n const tabindexAttr = parseInt(node.getAttribute('tabindex') || '', 10);\n if (!Number.isNaN(tabindexAttr)) {\n return tabindexAttr;\n }\n\n // Browsers do not return `tabIndex` correctly for contentEditable nodes;\n // https://bugs.chromium.org/p/chromium/issues/detail?id=661108&q=contenteditable%20tabindex&can=2\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n // in Chrome,
, \n \n);\n\nexport default DonatePatreon;\n","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getMenuItemUtilityClass(slot) {\n return generateUtilityClass('MuiMenuItem', slot);\n}\nconst menuItemClasses = generateUtilityClasses('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);\nexport default menuItemClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"autoFocus\", \"component\", \"dense\", \"divider\", \"disableGutters\", \"focusVisibleClassName\", \"role\", \"tabIndex\", \"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { alpha } from '@mui/system';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport ListContext from '../List/ListContext';\nimport ButtonBase from '../ButtonBase';\nimport useEnhancedEffect from '../utils/useEnhancedEffect';\nimport useForkRef from '../utils/useForkRef';\nimport { dividerClasses } from '../Divider';\nimport { listItemIconClasses } from '../ListItemIcon';\nimport { listItemTextClasses } from '../ListItemText';\nimport menuItemClasses, { getMenuItemUtilityClass } from './menuItemClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];\n};\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n dense,\n divider,\n disableGutters,\n selected,\n classes\n } = ownerState;\n const slots = {\n root: ['root', dense && 'dense', disabled && 'disabled', !disableGutters && 'gutters', divider && 'divider', selected && 'selected']\n };\n const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);\n return _extends({}, classes, composedClasses);\n};\nconst MenuItemRoot = styled(ButtonBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiMenuItem',\n slot: 'Root',\n overridesResolver\n})(({\n theme,\n ownerState\n}) => _extends({}, theme.typography.body1, {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n minHeight: 48,\n paddingTop: 6,\n paddingBottom: 6,\n boxSizing: 'border-box',\n whiteSpace: 'nowrap'\n}, !ownerState.disableGutters && {\n paddingLeft: 16,\n paddingRight: 16\n}, ownerState.divider && {\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,\n backgroundClip: 'padding-box'\n}, {\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n [`&.${menuItemClasses.selected}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n [`&.${menuItemClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n },\n [`&.${menuItemClasses.selected}:hover`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)\n }\n },\n [`&.${menuItemClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n [`&.${menuItemClasses.disabled}`]: {\n opacity: (theme.vars || theme).palette.action.disabledOpacity\n },\n [`& + .${dividerClasses.root}`]: {\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1)\n },\n [`& + .${dividerClasses.inset}`]: {\n marginLeft: 52\n },\n [`& .${listItemTextClasses.root}`]: {\n marginTop: 0,\n marginBottom: 0\n },\n [`& .${listItemTextClasses.inset}`]: {\n paddingLeft: 36\n },\n [`& .${listItemIconClasses.root}`]: {\n minWidth: 36\n }\n}, !ownerState.dense && {\n [theme.breakpoints.up('sm')]: {\n minHeight: 'auto'\n }\n}, ownerState.dense && _extends({\n minHeight: 32,\n // https://m2.material.io/components/menus#specs > Dense\n paddingTop: 4,\n paddingBottom: 4\n}, theme.typography.body2, {\n [`& .${listItemIconClasses.root} svg`]: {\n fontSize: '1.25rem'\n }\n})));\nconst MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiMenuItem'\n });\n const {\n autoFocus = false,\n component = 'li',\n dense = false,\n divider = false,\n disableGutters = false,\n focusVisibleClassName,\n role = 'menuitem',\n tabIndex: tabIndexProp,\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const context = React.useContext(ListContext);\n const childContext = React.useMemo(() => ({\n dense: dense || context.dense || false,\n disableGutters\n }), [context.dense, dense, disableGutters]);\n const menuItemRef = React.useRef(null);\n useEnhancedEffect(() => {\n if (autoFocus) {\n if (menuItemRef.current) {\n menuItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('MUI: Unable to set focus to a MenuItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n const ownerState = _extends({}, props, {\n dense: childContext.dense,\n divider,\n disableGutters\n });\n const classes = useUtilityClasses(props);\n const handleRef = useForkRef(menuItemRef, ref);\n let tabIndex;\n if (!props.disabled) {\n tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsx(MenuItemRoot, _extends({\n ref: handleRef,\n role: role,\n tabIndex: tabIndex,\n component: component,\n focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),\n className: clsx(classes.root, className)\n }, other, {\n ownerState: ownerState,\n classes: classes\n }))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the list item is focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used.\n * The prop defaults to the value inherited from the parent Menu component.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * @ignore\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the left and right padding is removed.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * If `true`, a 1px light border is added to the bottom of the menu item.\n * @default false\n */\n divider: PropTypes.bool,\n /**\n * This prop can help identify which element has keyboard focus.\n * The class name will be applied when the element gains the focus through keyboard interaction.\n * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).\n * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).\n * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components\n * if needed.\n */\n focusVisibleClassName: PropTypes.string,\n /**\n * @ignore\n */\n role: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * If `true`, the component is selected.\n * @default false\n */\n selected: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @default 0\n */\n tabIndex: PropTypes.number\n} : void 0;\nexport default MenuItem;","import api from '../../services/http';\nimport { GET_DONATE_URL } from '../../constants';\nimport { apiErrorHandler } from '../../shared/errorHandler';\nimport { IDonate } from '../model/donate.model';\n\nexport const onGetDonateParamsAction = async (amount: string) => {\n try {\n const response = await api.get(`${GET_DONATE_URL}/${amount}`);\n return response.data;\n } catch (err) {\n throw apiErrorHandler(err);\n }\n};\n","var _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCard(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n height: \"800px\",\n width: \"800px\",\n id: \"Layer_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n viewBox: \"0 0 512 512\",\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"polyline\", {\n style: {\n fill: \"#D6E5F6\"\n },\n points: \"335.241,345.685 493.714,345.685 493.714,84.464 128,84.464 128,202.884 \"\n }), /*#__PURE__*/React.createElement(\"polygon\", {\n style: {\n fill: \"#BCD6F2\"\n },\n points: \"310.857,84.464 310.857,328.884 335.241,345.685 493.714,345.685 493.714,84.464 \"\n }), /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#A8DA64\"\n },\n d: \"M493.714,363.971H335.241c-10.099,0-18.286-8.186-18.286-18.286 c0-10.097,8.187-18.286,18.286-18.286h140.188V102.75H146.286v100.134c0,10.099-8.187,18.286-18.286,18.286 s-18.286-8.187-18.286-18.286V84.464c0-10.099,8.187-18.286,18.286-18.286h365.714c10.099,0,18.286,8.187,18.286,18.286v261.221 C512,355.785,503.813,363.971,493.714,363.971z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#A8DA64\"\n },\n d: \"M197.661,66.178H128c-10.099,0-18.286,8.187-18.286,18.286v69.658 c0,10.1,8.187,18.286,18.286,18.286c48.494,0,87.947-39.451,87.947-87.943C215.947,74.366,207.76,66.178,197.661,66.178z\"\n })), /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#78B86D\"\n },\n d: \"M493.714,257.741c-48.492,0-87.945,39.452-87.945,87.946c0,10.1,8.187,18.286,18.286,18.286h69.659 c10.099,0,18.286-8.186,18.286-18.286v-69.66C512,265.929,503.813,257.741,493.714,257.741z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#78B86D\"\n },\n d: \"M493.714,66.178h-69.659c-10.099,0-18.286,8.187-18.286,18.286 c0,48.491,39.451,87.943,87.945,87.943c10.099,0,18.286-8.186,18.286-18.286V84.464C512,74.366,503.813,66.178,493.714,66.178z\"\n })), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#A8DA64\"\n },\n d: \"M310.857,162.51c-26.767,0-50.711,12.47-60.999,31.77c-3.022,5.666-2.848,12.504,0.456,18.011 c3.305,5.508,9.257,8.876,15.678,8.877l50.964,0.001l0.001,23.435c0,6.129,3.072,11.85,8.179,15.238 c3.042,2.016,6.565,3.048,10.108,3.048c2.409,0,4.826-0.477,7.111-1.441c21.454-9.058,34.779-26.826,34.779-46.374 C377.134,185.599,348.022,162.51,310.857,162.51z\"\n }), /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#78B86D\"\n },\n d: \"M310.857,162.51v58.658h6.099l0.001,23.435c0,6.129,3.072,11.85,8.179,15.238 c3.042,2.016,6.565,3.048,10.108,3.048c2.409,0,4.826-0.477,7.111-1.441c21.454-9.057,34.779-26.826,34.779-46.374 C377.134,185.599,348.022,162.51,310.857,162.51z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#78B86D\"\n },\n d: \"M493.714,66.178H310.857v36.571h164.571V327.4H335.241c-10.099,0-18.286,8.188-18.286,18.286 c0,10.1,8.187,18.286,18.286,18.286h158.474c10.099,0,18.286-8.186,18.286-18.286V84.464C512,74.366,503.813,66.178,493.714,66.178 z\"\n })), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#8CB7E8\"\n },\n d: \"M335.241,184.598H18.286C8.187,184.598,0,192.785,0,202.884v224.652 c0,10.099,8.187,18.286,18.286,18.286h316.955c10.099,0,18.286-8.187,18.286-18.286V202.884 C353.526,192.785,345.339,184.598,335.241,184.598z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#6398DE\"\n },\n d: \"M335.241,184.598H176.763v261.224h158.477c10.099,0,18.286-8.187,18.286-18.286V202.884 C353.526,192.785,345.339,184.598,335.241,184.598z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#294996\"\n },\n d: \"M335.241,294.312H18.286C8.187,294.312,0,286.125,0,276.027c0-10.099,8.187-18.286,18.286-18.286 h316.955c10.099,0,18.286,8.187,18.286,18.286S345.339,294.312,335.241,294.312z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#D6E5F6\"\n },\n d: \"M152.383,330.884H91.429c-10.099,0-18.286,8.187-18.286,18.286c0,10.099,8.187,18.286,18.286,18.286 h60.955c10.099,0,18.286-8.187,18.286-18.286C170.669,339.071,162.482,330.884,152.383,330.884z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#1D3366\"\n },\n d: \"M335.241,257.741H176.763v36.571h158.477c10.099,0,18.286-8.187,18.286-18.286 C353.526,265.928,345.339,257.741,335.241,257.741z\"\n }));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCard);\nexport default __webpack_public_path__ + \"static/media/card.7c621daa45265160602e9ac860b95a8f.svg\";\nexport { ForwardRef as ReactComponent };","import React, { FC } from 'react';\nimport { Button, Box, FormControl, InputLabel, MenuItem } from '@mui/material';\nimport Select, { SelectChangeEvent } from '@mui/material/Select';\nimport { onGetDonateParamsAction } from '../store/donate.actions';\nimport Icon from '../assets/card.svg';\nimport DonateTitle from './DonateTitle';\nimport styles from '../styles/Donate.module.scss';\nimport { IDonate } from '../model/donate.model';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\nconst DonateCard: FC = () => {\n const [amount, setAmount] = React.useState('');\n const [error, setError] = React.useState(null);\n const [donateData, setDonateData] = React.useState({ data: '', signature: '' });\n\n const handleChange = async (e: SelectChangeEvent) => {\n const value = e.target.value as string;\n try {\n const donateParams = await onGetDonateParamsAction(value);\n setAmount(value);\n setDonateData(donateParams);\n } catch (err) {\n setError(err as string);\n }\n };\n\n const btnParams = amount ? {} : { disabled: true };\n\n return (\n \n \n\n \n \n \n\n
\n \n Amount $\n \n $ 1.00\n $ 3.00\n $ 5.00\n $ 10.00\n $ 15.00\n \n \n\n \n \n\n \n \n \n
\n );\n};\n\nexport default DonateCard;\n","var _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCoffee(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n height: \"800px\",\n width: \"800px\",\n id: \"Layer_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n viewBox: \"0 0 289.94 289.94\",\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#E4E7E7\"\n },\n d: \"M244.674,54.346L217.193,289.94H72.776L45.268,54.346H244.674z\"\n }), /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"polygon\", {\n style: {\n fill: \"#C8CBCB\"\n },\n points: \"70.665,271.873 72.776,289.939 217.193,289.939 219.295,271.873 \"\n }), /*#__PURE__*/React.createElement(\"polygon\", {\n style: {\n fill: \"#C8CBCB\"\n },\n points: \"46.328,63.424 67.937,248.532 243.469,64.638 243.622,63.424 \"\n })), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#349886\"\n },\n d: \"M144.971,108.727c-30.018,0-54.364,24.346-54.364,54.364c0,30.027,24.346,54.364,54.364,54.364 c30.027,0,54.364-24.337,54.364-54.364S174.997,108.727,144.971,108.727z M171.816,187.247c-4.829-2.673-11.217-4.621-18.438-5.5 l0.371-2.899c5.554-3.099,9.341-8.961,9.341-15.756c0-10.012-8.109-18.121-18.121-18.121c-10.003,0-18.121,8.109-18.121,18.121 c0,6.795,3.796,12.649,9.341,15.747l0.381,2.899c-7.23,0.888-13.609,2.827-18.438,5.5c-5.781-6.415-9.405-14.823-9.405-24.147 c0-20.015,16.228-36.242,36.242-36.242c20.006,0,36.242,16.228,36.242,36.242C181.213,172.414,177.607,180.823,171.816,187.247z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#2B414D\"\n },\n d: \"M45.304,27.182h199.333c10.012,0,18.121,8.118,18.121,18.121v18.121H27.183V45.303 C27.183,35.291,35.301,27.182,45.304,27.182z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#475F6C\"\n },\n d: \"M72.486,0h144.97c10.012,0,18.121,8.118,18.121,18.121v9.061H54.365v-9.061 C54.365,8.109,62.483,0,72.486,0z\"\n }), /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n style: {\n fill: \"#2E8676\"\n },\n d: \"M144.971,144.97c-10.003,0-18.121,8.109-18.121,18.121c0,6.351,3.38,11.77,8.327,15.004 l24.446-25.605C156.333,147.951,151.014,144.97,144.971,144.97z M144.971,108.727c-30.018,0-54.364,24.346-54.364,54.364 c0,16.653,7.502,31.522,19.281,41.498l20.848-21.836c-4.82,1.042-9.124,2.564-12.603,4.494 c-5.781-6.424-9.405-14.832-9.405-24.156c0-20.015,16.228-36.242,36.242-36.242c10.891,0,20.54,4.902,27.182,12.504l12.612-13.21 C174.844,115.45,160.717,108.727,144.971,108.727z\"\n }))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCoffee);\nexport default __webpack_public_path__ + \"static/media/coffee.9048a1b494d0607b77ab63706ce9f702.svg\";\nexport { ForwardRef as ReactComponent };","import React from 'react';\nimport { Button, Box } from '@mui/material';\nimport Icon from '../assets/coffee.svg';\nimport styles from '../styles/Donate.module.scss';\nimport DonateTitle from './DonateTitle';\n\nconst DonateCoffee = () => (\n \n \n\n \n \n \n \n \n \n \n);\n\nexport default DonateCoffee;\n","import React, { FC } from 'react';\nimport { Box, Paper, Typography } from '@mui/material';\nimport DonatePatreon from '../components/DonatePatreon';\nimport styles from '../styles/Donate.module.scss';\nimport DonateCard from '../components/DonateCard';\nimport DonateCoffee from '../components/DonateCoffee';\n\nconst Donate: FC = () => (\n \n Select Convinient variant\n \n \n \n \n \n \n);\n\nexport default Donate;\n"],"names":["_ref","title","_jsx","Typography","variant","className","styles","color","children","_jsxs","Box","DonateTitle","src","Icon","alt","href","target","rel","Button","getMenuItemUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","MenuItemRoot","styled","ButtonBase","shouldForwardProp","prop","rootShouldForwardProp","name","overridesResolver","props","ownerState","root","dense","divider","disableGutters","gutters","_extends2","theme","_extends","typography","body1","display","justifyContent","alignItems","position","textDecoration","minHeight","paddingTop","paddingBottom","boxSizing","whiteSpace","paddingLeft","paddingRight","borderBottom","concat","vars","palette","backgroundClip","backgroundColor","action","hover","_defineProperty","menuItemClasses","selected","primary","mainChannel","selectedOpacity","alpha","main","focusVisible","focusOpacity","hoverOpacity","focus","disabled","opacity","disabledOpacity","dividerClasses","marginTop","spacing","marginBottom","inset","marginLeft","listItemTextClasses","listItemIconClasses","minWidth","breakpoints","up","body2","fontSize","React","inProps","ref","useThemeProps","_props$autoFocus","autoFocus","_props$component","component","_props$dense","_props$divider","_props$disableGutters","focusVisibleClassName","_props$role","role","tabIndexProp","tabIndex","other","_objectWithoutPropertiesLoose","context","ListContext","childContext","menuItemRef","useEnhancedEffect","current","classes","slots","composedClasses","composeClasses","useUtilityClasses","handleRef","useForkRef","undefined","Provider","value","clsx","onGetDonateParamsAction","_asyncToGenerator","_regeneratorRuntime","mark","_callee","amount","response","wrap","_context","prev","next","api","get","GET_DONATE_URL","sent","abrupt","data","t0","apiErrorHandler","stop","_x","apply","arguments","_React$useState","_React$useState2","_slicedToArray","setAmount","_React$useState3","_React$useState4","error","setError","_React$useState5","signature","_React$useState6","donateData","setDonateData","handleChange","e","donateParams","btnParams","method","acceptCharset","FormControl","fullWidth","InputLabel","size","id","Select","labelId","label","onChange","MenuItem","type","ErrBanner","_objectSpread","Paper","mb","DonatePatreon","DonateCoffee","DonateCard"],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/598.cb23f7bd.chunk.js b/server/dist/build/static/js/598.cb23f7bd.chunk.js new file mode 100644 index 0000000..19cdf8f --- /dev/null +++ b/server/dist/build/static/js/598.cb23f7bd.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[598],{1598:function(n,e,t){t.r(e),t.d(e,{default:function(){return J}});var l=t(9439),r=t(2791),c=t(7689),a=t(4554),s=t(5527),i=t(890),o=t(4721),u=t(6151),d=t(3416),x=t(8660),h=t(9744),Z="LogPage_log__main__rHW-B",f="LogPage_log__info__O0zyV",j="LogPage_divider__CcHg-",g=t(7963),v=t(6936),p=t(580),m=t(184),_=function(n){var e=n.log;return console.log(e),(0,m.jsxs)(a.Z,{display:"flex",justifyContent:"space-between",children:[(0,m.jsx)(u.Z,{startIcon:(0,m.jsx)(v.Z,{}),variant:"outlined",size:"small",children:"Download"}),(0,m.jsx)(u.Z,{startIcon:(0,m.jsx)(p.Z,{}),variant:"outlined",size:"small",children:"Share"})]})},w=t(4165),z=t(5861),C=t(4423),k=t(6790),b=t(3577),y=function(){var n=(0,z.Z)((0,w.Z)().mark((function n(e,t,l){var r;return(0,w.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,k.Z.get("".concat(C.kc,"/").concat(e,"/log/").concat(t));case 3:r=n.sent,l(null,r.data.log),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),l((0,b.W)(n.t0),null);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})));return function(e,t,l){return n.apply(this,arguments)}}(),L=t(2690),M=t(9836),S=t(3382),D=t(5855),I=t(3994),N=function(n){return n.getFullYear()},O=function(n){return["Jan","Feb","Mar","Apr","May","June","Jule","Aug","Sep","Oct","Nov"][n.getMonth()]},P=function(n){var e=n.getDate().toString();return 1===e.length&&(e="0".concat(e)),e},F=function(n){var e=n.log;console.log(e);var t=e&&new Date(e.created);return(0,m.jsxs)(a.Z,{mt:3,children:["Created:",(0,m.jsx)(M.Z,{size:"small",children:(0,m.jsxs)(S.Z,{children:[(0,m.jsxs)(D.Z,{children:[(0,m.jsx)(I.Z,{align:"left",children:"Year"}),(0,m.jsx)(I.Z,{align:"right",children:N(t)})]}),(0,m.jsxs)(D.Z,{children:[(0,m.jsx)(I.Z,{align:"left",children:"Month"}),(0,m.jsx)(I.Z,{align:"right",children:O(t)})]}),(0,m.jsxs)(D.Z,{children:[(0,m.jsx)(I.Z,{align:"left",children:"Day"}),(0,m.jsx)(I.Z,{align:"right",children:P(t)})]})]})})]})},H=t(7143),J=function(){var n=(0,x.T)(),e=(0,c.s0)(),t=(0,r.useState)(null),v=(0,l.Z)(t,2),p=v[0],w=v[1],z=(0,r.useState)(null),C=(0,l.Z)(z,2),k=C[0],b=C[1],M=(0,c.UO)(),S=M.projectId,D=M.logId,I=function(n,e){e?w(e):b(n)};return(0,r.useEffect)((function(){y(S,D,I),n((0,h.dX)(S,D))}),[n,S,D]),(0,m.jsxs)(a.Z,{display:"flex",children:[(0,m.jsxs)(s.Z,{className:"".concat(Z," container"),children:[(0,m.jsx)(i.Z,{variant:"subtitle1",children:"Log Info"}),(0,m.jsx)(o.Z,{className:j}),p&&(0,m.jsx)(i.Z,{component:"p",children:p.value}),(0,m.jsx)(L.Z,{error:k})]}),(0,m.jsx)(a.Z,{mr:2}),(0,m.jsxs)(s.Z,{className:"".concat(f," container"),children:[(0,m.jsx)(i.Z,{variant:"subtitle1",children:"Log Control"}),(0,m.jsx)(o.Z,{className:j}),p&&(0,m.jsxs)(a.Z,{display:"flex",flexDirection:"column",flex:2,children:[(0,m.jsx)(u.Z,{variant:"outlined",startIcon:(0,m.jsx)(d.Z,{}),onClick:function(){e("".concat(H.ww.url,"/").concat(S))},sx:{mb:2},children:"Back to Project"}),(0,m.jsx)(g.Z,{level:p.level,size:"medium"}),(0,m.jsx)(F,{log:p}),(0,m.jsx)(a.Z,{flexGrow:1}),(0,m.jsx)(_,{log:p})]})]})]})}},6936:function(n,e,t){var l=t(4836);e.Z=void 0;var r=l(t(5649)),c=t(184),a=(0,r.default)((0,c.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm-1 8V6h2v4h3l-4 4-4-4h3zm6 7H7v-2h10v2z"}),"DownloadForOffline");e.Z=a},580:function(n,e,t){var l=t(4836);e.Z=void 0;var r=l(t(5649)),c=t(184),a=(0,r.default)((0,c.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}),"Share");e.Z=a},3416:function(n,e,t){var l=t(4836);e.Z=void 0;var r=l(t(5649)),c=t(184),a=(0,r.default)((0,c.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"}),"Undo");e.Z=a}}]); +//# sourceMappingURL=598.cb23f7bd.chunk.js.map \ No newline at end of file diff --git a/server/dist/build/static/js/598.cb23f7bd.chunk.js.map b/server/dist/build/static/js/598.cb23f7bd.chunk.js.map new file mode 100644 index 0000000..e57ea4f --- /dev/null +++ b/server/dist/build/static/js/598.cb23f7bd.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/598.cb23f7bd.chunk.js","mappings":"mQACA,EAA4B,2BAA5B,EAAmE,2BAAnE,EAAwG,yB,sCCuBxG,EAlBsC,SAAHA,GAAiB,IAAXC,EAAGD,EAAHC,IAIrC,OAFAC,QAAQD,IAAIA,IAGRE,EAAAA,EAAAA,MAACC,EAAAA,EAAG,CAACC,QAAQ,OAAOC,eAAe,gBAAeC,SAAA,EAC9CC,EAAAA,EAAAA,KAACC,EAAAA,EAAM,CACHC,WAAWF,EAAAA,EAAAA,KAACG,EAAAA,EAAsB,IAClCC,QAAQ,WACRC,KAAK,QAAON,SACf,cAGDC,EAAAA,EAAAA,KAACC,EAAAA,EAAM,CAACC,WAAWF,EAAAA,EAAAA,KAACM,EAAAA,EAAS,IAAKF,QAAQ,WAAWC,KAAK,QAAON,SAAC,YAG9E,E,kDCdaQ,EAAgB,eAAAf,GAAAgB,EAAAA,EAAAA,IAAAC,EAAAA,EAAAA,KAAAC,MAAG,SAAAC,EAAOC,EAAmBC,EAAeC,GAAM,IAAAC,EAAA,OAAAN,EAAAA,EAAAA,KAAAO,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEhDC,EAAAA,EAAIC,IAAG,GAAAC,OAAmBC,EAAAA,GAAY,KAAAD,OAAIV,EAAS,SAAAU,OAAQT,IAAS,KAAD,EAAp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CC,EAAQ,OAAU,EAClB,IAAIC,EAAiBH,EAAuBC,EAAQ,OAChDG,EAAcH,EAAQ,KACtBI,GAAW,EAAIF,EAAeG,UAAuB,EAAIF,EAAYG,KAAK,OAAQ,CACpFC,EAAG,4WACD,SACJN,EAAQ,EAAUG,C,2BCVdL,EAAyBC,EAAQ,MAIrCC,EAAQ,OAAU,EAClB,IAAIC,EAAiBH,EAAuBC,EAAQ,OAChDG,EAAcH,EAAQ,KACtBI,GAAW,EAAIF,EAAeG,UAAuB,EAAIF,EAAYG,KAAK,OAAQ,CACpFC,EAAG,mJACD,QACJN,EAAQ,EAAUG,C","sources":["webpack://client/./src/log/styles/LogPage.module.scss?4b6f","log/components/LogControl.tsx","log/state/log.actions.ts","log/util/dateFormater.ts","log/components/LogDate.tsx","log/page/LogPage.tsx","../node_modules/@mui/icons-material/DownloadForOffline.js","../node_modules/@mui/icons-material/Share.js","../node_modules/@mui/icons-material/Undo.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"log__main\":\"LogPage_log__main__rHW-B\",\"log__info\":\"LogPage_log__info__O0zyV\",\"divider\":\"LogPage_divider__CcHg-\"};","import React, { FC } from 'react';\nimport { Button, Box } from '@mui/material';\nimport DownloadForOfflineIcon from '@mui/icons-material/DownloadForOffline';\nimport ShareIcon from '@mui/icons-material/Share';\nimport { ILog } from '../../logs';\n\nconst LogControl: FC<{ log: ILog }> = ({ log }) => {\n // TODO: implement\n console.log(log);\n\n return (\n \n }\n variant=\"outlined\"\n size=\"small\"\n >\n Download\n \n \n \n );\n};\n\nexport default LogControl;\n","import { GET_LOGS_URL } from '../../constants';\nimport { ILog } from '../../logs';\nimport api from '../../services/http';\nimport { apiErrorHandler } from '../../shared/errorHandler';\n\n// eslint-disable-next-line\ntype cb = (err: null | string, value: null | ILog) => void;\n\nexport const getLogDataAction = async (projectId: string, logId: string, cb: cb) => {\n try {\n const response = await api.get<{ log: ILog }>(`${GET_LOGS_URL}/${projectId}/log/${logId}`);\n cb(null, response.data.log);\n } catch (err) {\n cb(apiErrorHandler(err), null);\n }\n};\n","export const getYear = (date: Date) => {\n return date.getFullYear();\n};\n\nexport const getMonth = (date: Date) => {\n const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'Jule', 'Aug', 'Sep', 'Oct', 'Nov'];\n const index = date.getMonth();\n return months[index];\n};\n\nexport const getDay = (date: Date) => {\n let day = date.getDate().toString();\n\n if (day.length === 1) {\n day = `0${day}`;\n }\n\n return day;\n};\n","import React, { FC } from 'react';\nimport { Table, TableBody, TableRow, TableCell, Box } from '@mui/material';\nimport { getYear, getMonth, getDay } from '../util/dateFormater';\nimport { ILog } from '../../logs';\n\nconst LogDate: FC<{ log: ILog }> = ({ log }) => {\n console.log(log);\n\n const date = log && new Date(log.created);\n\n return (\n \n Created:\n \n \n \n Year\n {getYear(date!)}\n \n \n Month\n {getMonth(date!)}\n \n \n Day\n {getDay(date)}\n \n \n
\n
\n );\n};\n\nexport default LogDate;\n","import React, { FC, useEffect, useState } from 'react';\nimport { useNavigate, useParams } from 'react-router-dom';\nimport { Paper, Box, Typography, Divider, Button } from '@mui/material';\nimport UndoIcon from '@mui/icons-material/Undo';\nimport { useAppDispatch } from '../../hooks/redux';\nimport { readLogAction, ILog } from '../../logs';\nimport styles from '../styles/LogPage.module.scss';\nimport Label from '../../shared/ui/Label';\nimport LogControl from '../components/LogControl';\nimport { getLogDataAction } from '../state/log.actions';\nimport ErrBanner from '../../shared/ui/ErrBanner';\nimport LogDate from '../components/LogDate';\nimport { projectsRoute } from '../../routes';\n\nconst LogPage: FC = () => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n const [log, setLog] = useState(null);\n const [error, setError] = useState(null);\n const { projectId, logId } = useParams();\n\n const onHandle = (err: null | string, value: null | ILog) => {\n if (value) setLog(value);\n else setError(err);\n };\n\n const onStepBack = () => {\n navigate(`${projectsRoute.url}/${projectId}`);\n };\n\n useEffect(() => {\n getLogDataAction(projectId!, logId!, onHandle);\n dispatch(readLogAction(projectId!, logId!));\n }, [dispatch, projectId, logId]);\n\n return (\n \n \n Log Info\n \n {log && (\n \n {log.value}\n \n )}\n \n \n\n \n\n \n Log Control\n \n {log && (\n \n }\n onClick={onStepBack}\n sx={{ mb: 2 }}\n >\n Back to Project\n \n \n \n );\n};\n\nexport default LogPage;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm-1 8V6h2v4h3l-4 4-4-4h3zm6 7H7v-2h10v2z\"\n}), 'DownloadForOffline');\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z\"\n}), 'Share');\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z\"\n}), 'Undo');\nexports.default = _default;"],"names":["_ref","log","console","_jsxs","Box","display","justifyContent","children","_jsx","Button","startIcon","DownloadForOfflineIcon","variant","size","ShareIcon","getLogDataAction","_asyncToGenerator","_regeneratorRuntime","mark","_callee","projectId","logId","cb","response","wrap","_context","prev","next","api","get","concat","GET_LOGS_URL","sent","data","t0","apiErrorHandler","stop","_x","_x2","_x3","apply","arguments","getYear","date","getFullYear","getMonth","getDay","day","getDate","toString","length","Date","created","mt","Table","TableBody","TableRow","TableCell","align","dispatch","useAppDispatch","navigate","useNavigate","_useState","useState","_useState2","_slicedToArray","setLog","_useState3","_useState4","error","setError","_useParams","useParams","onHandle","err","value","useEffect","readLogAction","Paper","className","styles","Typography","Divider","component","ErrBanner","mr","flexDirection","flex","UndoIcon","onClick","projectsRoute","url","sx","mb","Label","level","LogDate","flexGrow","LogControl","_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d"],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/704.7ff277ca.chunk.js b/server/dist/build/static/js/704.7ff277ca.chunk.js new file mode 100644 index 0000000..044658a --- /dev/null +++ b/server/dist/build/static/js/704.7ff277ca.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[704],{4704:function(n,e,t){t.r(e);t(2791);var u=t(184);e.default=function(){return(0,u.jsx)(u.Fragment,{children:"not found page"})}}}]); +//# sourceMappingURL=704.7ff277ca.chunk.js.map \ No newline at end of file diff --git a/server/dist/build/static/js/704.7ff277ca.chunk.js.map b/server/dist/build/static/js/704.7ff277ca.chunk.js.map new file mode 100644 index 0000000..5cf646e --- /dev/null +++ b/server/dist/build/static/js/704.7ff277ca.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/704.7ff277ca.chunk.js","mappings":"iIAMA,UAJyB,WAAH,OAClBA,EAAAA,EAAAA,KAAAC,EAAAA,SAAA,CAAAC,SAAE,kBAAiB,C","sources":["notfound/page/notfound.page.tsx"],"sourcesContent":["import React, { FC } from 'react';\n\nconst NotFoundPage: FC = () => (\n <>not found page\n);\n\nexport default NotFoundPage;\n"],"names":["_jsx","_Fragment","children"],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/721.9088ac4a.chunk.js b/server/dist/build/static/js/721.9088ac4a.chunk.js new file mode 100644 index 0000000..fb6ff63 --- /dev/null +++ b/server/dist/build/static/js/721.9088ac4a.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[721],{2721:function(n,t,e){e.r(t);e(2791);var r=e(184);t.default=function(){return(0,r.jsxs)("div",{children:["Documentation",(0,r.jsx)("button",{type:"button",onClick:function(){throw new Error("alalal")},children:"err"})]})}}}]); +//# sourceMappingURL=721.9088ac4a.chunk.js.map \ No newline at end of file diff --git a/server/dist/build/static/js/721.9088ac4a.chunk.js.map b/server/dist/build/static/js/721.9088ac4a.chunk.js.map new file mode 100644 index 0000000..132b03e --- /dev/null +++ b/server/dist/build/static/js/721.9088ac4a.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/721.9088ac4a.chunk.js","mappings":"iIAeA,UAb0B,WAKtB,OACIA,EAAAA,EAAAA,MAAA,OAAAC,SAAA,CAAK,iBAEDC,EAAAA,EAAAA,KAAA,UAAQC,KAAK,SAASC,QAPd,WACZ,MAAM,IAAIC,MAAM,SACpB,EAK+CJ,SAAC,UAGpD,C","sources":["documentation/page/documentation.page.tsx"],"sourcesContent":["import React, { FC } from 'react';\n\nconst Documentation: FC = () => {\n const onError = () => {\n throw new Error('alalal');\n };\n\n return (\n
\n Documentation\n \n
\n );\n};\n\nexport default Documentation;\n"],"names":["_jsxs","children","_jsx","type","onClick","Error"],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/867.e06c2dfa.chunk.js b/server/dist/build/static/js/867.e06c2dfa.chunk.js new file mode 100644 index 0000000..3585519 --- /dev/null +++ b/server/dist/build/static/js/867.e06c2dfa.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[867],{6867:function(e,n,a){a.r(n),a.d(n,{default:function(){return B}});var t=a(2791),r=a(5527),s=a(890),l=a(4554),i=a(493),o=a(4165),c=a(5861),d=a(9439),u=a(6151),p=a(5021),_=a(1918),m=a(6154),h="PlanItem_plan__item__Owdts",x="PlanItem_plan__inner__Sgd2H",f="PlanItem_plan__label__J-J8f",j="PlanItem_plan__block__+Lyu4",Z=a(5391),y=a(4423),b=a(6790),v="PaymentWidget_payment__container__uvdfj",g="PaymentWidget_payment__text__QqG1H",P="PaymentWidget_payment__price__bZMmh",N="PaymentWidget_payment__button__OrG28",w=a(184),C=function(e){var n=e.open,a=e.handleClose,r=e.plan,i=(0,t.useState)(null),o=(0,d.Z)(i,2),c=o[0],u=o[1];return(0,t.useEffect)((function(){return b.Z.get("".concat(y.K9,"/").concat(r.id)).then((function(e){var n=e.data;return u(n)})),function(){u(null)}}),[r.id]),(0,w.jsx)(Z.Z,{open:n,onClose:a,children:(0,w.jsx)(l.Z,{className:v,sx:{bgcolor:"background.paper"},children:c&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s.Z,{variant:"h4",pb:4,children:"Buy Plan"}),(0,w.jsx)(_.Z,{component:"p",color:"secondary",variant:"outlined",label:r.name}),(0,w.jsx)(s.Z,{variant:"body2",pt:4,pb:1,className:g,children:"for"}),(0,w.jsxs)(s.Z,{variant:"body2",pb:1,className:P,children:[(0,w.jsx)(m.Z,{}),r.cost]}),(0,w.jsx)(s.Z,{variant:"body2",pb:4,className:g,children:"in a month"}),(0,w.jsxs)("form",{method:"POST",action:"https://www.liqpay.ua/api/3/checkout",acceptCharset:"utf-8",children:[(0,w.jsx)("input",{type:"hidden",name:"data",value:c.data}),(0,w.jsx)("input",{type:"hidden",name:"signature",value:c.signature}),(0,w.jsx)("input",{className:N,type:"image",src:"//static.liqpay.ua/buttons/p1en.radius.png",alt:"img",name:"btn_text"})]})]})})})},k=function(e){var n=e.plan,a=e.activePlanId,r=e.authorized,i=(0,t.useState)(!1),Z=(0,d.Z)(i,2),y=Z[0],b=Z[1],v=n.id===a,g={bgcolor:v?"info.main":"",border:"3px solid",borderColor:"info.dark"},P=function(){var e=(0,c.Z)((0,o.Z)().mark((function e(){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:b(!0);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=(0,w.jsx)(u.Z,{variant:"outlined",disabled:!0,children:"Current Plan"});return!v&&r?N=(0,w.jsx)(u.Z,{variant:"contained",onClick:P,children:"Activate Now"}):v||r||(N=(0,w.jsx)(u.Z,{variant:"contained",onClick:function(){console.log("Please login first")},children:"Activate Now"})),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(p.ZP,{className:h,children:(0,w.jsxs)(l.Z,{color:"primary",className:x,sx:g,component:"span",children:[(0,w.jsx)(_.Z,{className:f,component:"p",color:"secondary",variant:"outlined",label:n.name}),(0,w.jsxs)(s.Z,{className:j,children:[(0,w.jsx)(m.Z,{}),n.cost]}),(0,w.jsx)(s.Z,{component:"span",children:"Month fee"}),(0,w.jsx)(s.Z,{className:j,children:n.projectsNum}),(0,w.jsx)(s.Z,{component:"span",children:"Projects available"}),(0,w.jsxs)(l.Z,{children:[(0,w.jsx)(s.Z,{className:j,children:n.storingDays}),(0,w.jsx)(s.Z,{component:"span",children:"Logs store days"})]}),(0,w.jsx)(l.Z,{className:j,children:N})]})}),y&&(0,w.jsx)(C,{open:y,handleClose:function(){b(!1)},plan:n})]})},I=a(8660),W="PlanPage_plan__wrapper__hY8sW",S="PlanPage_plan__title__oVtYB",q="PlanPage_plan__description__bplMV",G="PlanPage_plan__list__913XB",z=a(2690),B=function(){var e=(0,I.C)((function(e){return e.planReducer})),n=e.plans,a=e.loaded,t=e.error,o=(0,I.C)((function(e){return e.userReducer})),c=o.user,d=o.authorized;return(0,w.jsxs)(r.Z,{className:"container ".concat(W),children:[(0,w.jsx)(s.Z,{className:S,variant:"subtitle2",children:"Welcome to our Plans section!"}),(0,w.jsx)(s.Z,{className:q,variant:"subtitle2",children:"Choose from a range of options to tailor your service exactly the way you want it. We offer flexible plans designed to meet your unique needs. Select one of our plans today and take control of your experience."}),a&&(0,w.jsx)(l.Z,{flexGrow:1,display:"flex",children:(0,w.jsx)(l.Z,{flexGrow:1,display:"flex",flexDirection:"column",children:(0,w.jsx)(i.Z,{className:G,children:n.map((function(e){return(0,w.jsx)(k,{plan:e,activePlanId:c.planId,authorized:d},e.id)}))})})}),(0,w.jsx)(z.Z,{error:t})]})}}}]); +//# sourceMappingURL=867.e06c2dfa.chunk.js.map \ No newline at end of file diff --git a/server/dist/build/static/js/867.e06c2dfa.chunk.js.map b/server/dist/build/static/js/867.e06c2dfa.chunk.js.map new file mode 100644 index 0000000..d8483b5 --- /dev/null +++ b/server/dist/build/static/js/867.e06c2dfa.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/867.e06c2dfa.chunk.js","mappings":"4QACA,EAA6B,6BAA7B,EAAwE,8BAAxE,EAAoH,8BAApH,EAAgK,8B,8BCAhK,EAAqC,0CAArC,EAA+F,qCAA/F,EAAqJ,sCAArJ,EAA6M,uC,S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,6B,UCyCjL,EAnCiB,WACb,IAAA2E,GAAiCC,EAAAA,EAAAA,IAAe,SAACC,GAAK,OAAKA,EAAMC,WAAW,IAApEC,EAAKJ,EAALI,MAAOC,EAAML,EAANK,OAAQC,EAAKN,EAALM,MACvBC,GAA6BN,EAAAA,EAAAA,IAAe,SAACC,GAAK,OAAKA,EAAMM,WAAW,IAAhEC,EAAIF,EAAJE,KAAMrC,EAAUmC,EAAVnC,WAEd,OACItB,EAAAA,EAAAA,MAAC4D,EAAAA,EAAK,CAAChE,UAAS,aAAAX,OAAeY,GAAuBH,SAAA,EAClDH,EAAAA,EAAAA,KAACW,EAAAA,EAAU,CAACN,UAAWC,EAAoBM,QAAQ,YAAWT,SAAC,mCAG/DH,EAAAA,EAAAA,KAACW,EAAAA,EAAU,CAACN,UAAWC,EAA0BM,QAAQ,YAAWT,SAAC,sNAKnE6D,IACEhE,EAAAA,EAAAA,KAACI,EAAAA,EAAG,CAACkE,SAAU,EAAGC,QAAQ,OAAMpE,UAC5BH,EAAAA,EAAAA,KAACI,EAAAA,EAAG,CAACkE,SAAU,EAAGC,QAAQ,OAAOC,cAAc,SAAQrE,UACnDH,EAAAA,EAAAA,KAACyE,EAAAA,EAAI,CAACpE,UAAWC,EAAkBH,SAC9B4D,EAAMW,KAAI,SAAC1F,GAAI,OACZgB,EAAAA,EAAAA,KAAC2E,EAAQ,CAEL3F,KAAMA,EACN8C,aAAcsC,EAAKQ,OACnB7C,WAAYA,GAHP/C,EAAKY,GAIZ,WAMtBI,EAAAA,EAAAA,KAAC6E,EAAAA,EAAS,CAACZ,MAAOA,MAG9B,C","sources":["webpack://client/./src/plan/styles/PlanItem.module.scss?e4bf","webpack://client/./src/payment/styles/PaymentWidget.module.scss?0a0d","payment/widgets/PaymentWidget.tsx","plan/components/PlanItem.tsx","webpack://client/./src/plan/styles/PlanPage.module.scss?0ffd","plan/page/PlanPage.tsx"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"plan__item\":\"PlanItem_plan__item__Owdts\",\"plan__inner\":\"PlanItem_plan__inner__Sgd2H\",\"plan__label\":\"PlanItem_plan__label__J-J8f\",\"plan__block\":\"PlanItem_plan__block__+Lyu4\"};","// extracted by mini-css-extract-plugin\nexport default {\"payment__container\":\"PaymentWidget_payment__container__uvdfj\",\"payment__text\":\"PaymentWidget_payment__text__QqG1H\",\"payment__price\":\"PaymentWidget_payment__price__bZMmh\",\"payment__button\":\"PaymentWidget_payment__button__OrG28\"};","import React, { FC, useState, useEffect } from 'react';\nimport { Box, Typography, Chip, Modal } from '@mui/material';\nimport AttachMoneyIcon from '@mui/icons-material/AttachMoney';\nimport { IPlan } from '../../plan/model/plan.model';\nimport { GET_PAYMENT_URL } from '../../constants';\nimport api from '../../services/http';\nimport styles from '../styles/PaymentWidget.module.scss';\n\ninterface IPaymentModalProps {\n open: boolean;\n handleClose: () => void;\n plan: IPlan\n}\n\ninterface IPayParams {\n data: string;\n signature: string;\n}\n\nconst PaymentWidget: FC = ({ open, handleClose, plan }) => {\n const [payForm, setPayForm] = useState(null);\n\n useEffect(() => {\n api.get(`${GET_PAYMENT_URL}/${plan.id}`)\n .then(({ data }) => setPayForm(data));\n\n return () => {\n setPayForm(null);\n };\n }, [plan.id]);\n\n return (\n \n \n {payForm && (\n <>\n Buy Plan\n \n for\n \n \n {plan.cost}\n \n in a month\n
\n \n \n \n \n \n )}\n
\n
\n );\n};\n\nexport default PaymentWidget;\n","import React, { FC, useState } from 'react';\nimport { ListItem, Box, Typography, Button, Chip } from '@mui/material';\nimport AttachMoneyIcon from '@mui/icons-material/AttachMoney';\nimport { IPlan } from '../model/plan.model';\nimport styles from '../styles/PlanItem.module.scss';\nimport { PaymentWidget } from '../../payment';\n\ninterface IPlanItemProps {\n plan: IPlan;\n activePlanId: number;\n authorized: boolean;\n}\n\nconst PlanItem: FC = ({ plan, activePlanId, authorized }) => {\n const [open, setOpen] = useState(false);\n const isActive = plan.id === activePlanId;\n const bgcolor = isActive ? 'info.main' : '';\n const planWrapperStyles = {\n bgcolor,\n border: '3px solid',\n borderColor: 'info.dark',\n };\n\n const onOpenCharge = async () => {\n setOpen(true);\n };\n\n const handleClose = () => {\n setOpen(false);\n };\n\n const showAuthModal = () => {\n console.log('Please login first');\n };\n\n let button = ;\n if (!isActive && authorized) {\n button = ;\n } else if (!isActive && !authorized) {\n button = ;\n }\n\n return (\n <>\n \n \n \n \n \n {plan.cost}\n \n Month fee\n\n {plan.projectsNum}\n Projects available\n\n \n {plan.storingDays}\n Logs store days\n \n\n \n { button }\n \n
\n \n\n {open && }\n \n );\n};\n\nexport default PlanItem;\n","// extracted by mini-css-extract-plugin\nexport default {\"plan__wrapper\":\"PlanPage_plan__wrapper__hY8sW\",\"plan__title\":\"PlanPage_plan__title__oVtYB\",\"plan__description\":\"PlanPage_plan__description__bplMV\",\"plan__list\":\"PlanPage_plan__list__913XB\"};","import React from 'react';\nimport { Paper, List, Box, Typography } from '@mui/material';\nimport PlanItem from '../components/PlanItem';\nimport { useAppSelector } from '../../hooks/redux';\nimport styles from '../styles/PlanPage.module.scss';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\nconst PlanPage = () => {\n const { plans, loaded, error } = useAppSelector((state) => state.planReducer);\n const { user, authorized } = useAppSelector((state) => state.userReducer);\n\n return (\n \n \n Welcome to our Plans section!\n \n \n Choose from a range of options to tailor your service exactly the way you want it.\n We offer flexible plans designed to meet your unique needs.\n Select one of our plans today and take control of your experience.\n \n { loaded && (\n \n \n \n {plans.map((plan) => (\n \n ))}\n \n \n \n )}\n \n \n );\n};\n\nexport default PlanPage;\n"],"names":["_ref","open","handleClose","plan","_useState","useState","_useState2","_slicedToArray","payForm","setPayForm","useEffect","api","get","concat","GET_PAYMENT_URL","id","then","_ref2","data","_jsx","Modal","onClose","children","Box","className","styles","sx","bgcolor","_jsxs","_Fragment","Typography","variant","pb","Chip","component","color","label","name","pt","AttachMoneyIcon","cost","method","action","acceptCharset","type","value","signature","src","alt","activePlanId","authorized","setOpen","isActive","planWrapperStyles","border","borderColor","onOpenCharge","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","stop","apply","arguments","button","Button","disabled","onClick","console","log","ListItem","projectsNum","storingDays","PaymentWidget","_useAppSelector","useAppSelector","state","planReducer","plans","loaded","error","_useAppSelector2","userReducer","user","Paper","flexGrow","display","flexDirection","List","map","PlanItem","planId","ErrBanner"],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/886.c6bc5c5f.chunk.js b/server/dist/build/static/js/886.c6bc5c5f.chunk.js new file mode 100644 index 0000000..4486510 --- /dev/null +++ b/server/dist/build/static/js/886.c6bc5c5f.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 886.c6bc5c5f.chunk.js.LICENSE.txt */ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[886],{4527:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(4942),o=n(3433),i=n(3366),a=n(7462),l=n(2791),s=n(2466),u=n(4419),d=n(4834),c=n(6934),p=n(1402),f=n(5878),m=n(1217),v=n(5891);function h(e){return(0,m.Z)("MuiFilledInput",e)}var b=(0,a.Z)({},v.Z,(0,f.Z)("MuiFilledInput",["root","underline","input"])),Z=n(184),g=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],y=(0,c.ZP)(d.Ej,{shouldForwardProp:function(e){return(0,c.FO)(e)||"classes"===e},name:"MuiFilledInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,o.Z)((0,d.Gx)(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n,o,i=e.theme,l=e.ownerState,s="light"===i.palette.mode,u=s?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",d=s?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",c=s?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",p=s?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,a.Z)((t={position:"relative",backgroundColor:i.vars?i.vars.palette.FilledInput.bg:d,borderTopLeftRadius:(i.vars||i).shape.borderRadius,borderTopRightRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create("background-color",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),"&:hover":{backgroundColor:i.vars?i.vars.palette.FilledInput.hoverBg:c,"@media (hover: none)":{backgroundColor:i.vars?i.vars.palette.FilledInput.bg:d}}},(0,r.Z)(t,"&.".concat(b.focused),{backgroundColor:i.vars?i.vars.palette.FilledInput.bg:d}),(0,r.Z)(t,"&.".concat(b.disabled),{backgroundColor:i.vars?i.vars.palette.FilledInput.disabledBg:p}),t),!l.disableUnderline&&(n={"&:after":{borderBottom:"2px solid ".concat(null==(o=(i.vars||i).palette[l.color||"primary"])?void 0:o.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:i.transitions.create("transform",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),pointerEvents:"none"}},(0,r.Z)(n,"&.".concat(b.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,r.Z)(n,"&.".concat(b.error),{"&:before, &:after":{borderBottomColor:(i.vars||i).palette.error.main}}),(0,r.Z)(n,"&:before",{borderBottom:"1px solid ".concat(i.vars?"rgba(".concat(i.vars.palette.common.onBackgroundChannel," / ").concat(i.vars.opacity.inputUnderline,")"):u),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:i.transitions.create("border-bottom-color",{duration:i.transitions.duration.shorter}),pointerEvents:"none"}),(0,r.Z)(n,"&:hover:not(.".concat(b.disabled,", .").concat(b.error,"):before"),{borderBottom:"1px solid ".concat((i.vars||i).palette.text.primary)}),(0,r.Z)(n,"&.".concat(b.disabled,":before"),{borderBottomStyle:"dotted"}),n),l.startAdornment&&{paddingLeft:12},l.endAdornment&&{paddingRight:12},l.multiline&&(0,a.Z)({padding:"25px 12px 8px"},"small"===l.size&&{paddingTop:21,paddingBottom:4},l.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),x=(0,c.ZP)(d.rA,{name:"MuiFilledInput",slot:"Input",overridesResolver:d._o})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&(0,r.Z)({"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9})})),w=l.forwardRef((function(e,t){var n,r,o,l,c=(0,p.Z)({props:e,name:"MuiFilledInput"}),f=c.components,m=void 0===f?{}:f,v=c.componentsProps,b=c.fullWidth,w=void 0!==b&&b,S=c.inputComponent,C=void 0===S?"input":S,P=c.multiline,R=void 0!==P&&P,k=c.slotProps,M=c.slots,I=void 0===M?{}:M,F=c.type,O=void 0===F?"text":F,E=(0,i.Z)(c,g),z=(0,a.Z)({},c,{fullWidth:w,inputComponent:C,multiline:R,type:O}),W=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,u.Z)(n,h,t);return(0,a.Z)({},t,r)}(c),A={root:{ownerState:z},input:{ownerState:z}},N=(null!=k?k:v)?(0,s.Z)(null!=k?k:v,A):A,L=null!=(n=null!=(r=I.root)?r:m.Root)?n:y,j=null!=(o=null!=(l=I.input)?l:m.Input)?o:x;return(0,Z.jsx)(d.ZP,(0,a.Z)({slots:{root:L,input:j},componentsProps:N,fullWidth:w,inputComponent:C,multiline:R,ref:t,type:O},E,{classes:W}))}));w.muiName="Input";var S=w},8096:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(9439),o=n(3366),i=n(7462),a=n(2791),l=n(8182),s=n(4419),u=n(1402),d=n(6934),c=n(5470),p=n(4036),f=n(9103),m=n(3840),v=n(5878),h=n(1217);function b(e){return(0,h.Z)("MuiFormControl",e)}(0,v.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var Z=n(184),g=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],y=(0,d.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,i.Z)({},t.root,t["margin".concat((0,p.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,i.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),x=a.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiFormControl"}),d=n.children,v=n.className,h=n.color,x=void 0===h?"primary":h,w=n.component,S=void 0===w?"div":w,C=n.disabled,P=void 0!==C&&C,R=n.error,k=void 0!==R&&R,M=n.focused,I=n.fullWidth,F=void 0!==I&&I,O=n.hiddenLabel,E=void 0!==O&&O,z=n.margin,W=void 0===z?"none":z,A=n.required,N=void 0!==A&&A,L=n.size,j=void 0===L?"medium":L,B=n.variant,T=void 0===B?"outlined":B,D=(0,o.Z)(n,g),H=(0,i.Z)({},n,{color:x,component:S,disabled:P,error:k,fullWidth:F,hiddenLabel:E,margin:W,required:N,size:j,variant:T}),q=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,o={root:["root","none"!==n&&"margin".concat((0,p.Z)(n)),r&&"fullWidth"]};return(0,s.Z)(o,b,t)}(H),U=a.useState((function(){var e=!1;return d&&a.Children.forEach(d,(function(t){if((0,f.Z)(t,["Input","Select"])){var n=(0,f.Z)(t,["Select"])?t.props.input:t;n&&(0,c.B7)(n.props)&&(e=!0)}})),e})),K=(0,r.Z)(U,2),V=K[0],_=K[1],X=a.useState((function(){var e=!1;return d&&a.Children.forEach(d,(function(t){(0,f.Z)(t,["Input","Select"])&&((0,c.vd)(t.props,!0)||(0,c.vd)(t.props.inputProps,!0))&&(e=!0)})),e})),G=(0,r.Z)(X,2),$=G[0],Y=G[1],J=a.useState(!1),Q=(0,r.Z)(J,2),ee=Q[0],te=Q[1];P&&ee&&te(!1);var ne,re=void 0===M||P?ee:M,oe=a.useMemo((function(){return{adornedStart:V,setAdornedStart:_,color:x,disabled:P,error:k,filled:$,focused:re,fullWidth:F,hiddenLabel:E,size:j,onBlur:function(){te(!1)},onEmpty:function(){Y(!1)},onFilled:function(){Y(!0)},onFocus:function(){te(!0)},registerEffect:ne,required:N,variant:T}}),[V,x,P,k,$,re,F,E,ne,N,j,T]);return(0,Z.jsx)(m.Z.Provider,{value:oe,children:(0,Z.jsx)(y,(0,i.Z)({as:S,ownerState:H,className:(0,l.Z)(q.root,v),ref:t},D,{children:d}))})}))},6147:function(e,t,n){function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}n.d(t,{Z:function(){return r}})},292:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(4942),o=n(3433),i=n(3366),a=n(7462),l=n(2791),s=n(4419),u=n(2466),d=n(4834),c=n(6934),p=n(1402),f=n(5878),m=n(1217),v=n(5891);function h(e){return(0,m.Z)("MuiInput",e)}var b=(0,a.Z)({},v.Z,(0,f.Z)("MuiInput",["root","underline","input"])),Z=n(184),g=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],y=(0,c.ZP)(d.Ej,{shouldForwardProp:function(e){return(0,c.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,o.Z)((0,d.Gx)(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,o=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(i="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputUnderline,")")),(0,a.Z)({position:"relative"},o.formControl&&{"label + &":{marginTop:16}},!o.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[o.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,r.Z)(t,"&.".concat(b.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,r.Z)(t,"&.".concat(b.error),{"&:before, &:after":{borderBottomColor:(n.vars||n).palette.error.main}}),(0,r.Z)(t,"&:before",{borderBottom:"1px solid ".concat(i),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,r.Z)(t,"&:hover:not(.".concat(b.disabled,", .").concat(b.error,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(i)}}),(0,r.Z)(t,"&.".concat(b.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),x=(0,c.ZP)(d.rA,{name:"MuiInput",slot:"Input",overridesResolver:d._o})({}),w=l.forwardRef((function(e,t){var n,r,o,l,c=(0,p.Z)({props:e,name:"MuiInput"}),f=c.disableUnderline,m=c.components,v=void 0===m?{}:m,b=c.componentsProps,w=c.fullWidth,S=void 0!==w&&w,C=c.inputComponent,P=void 0===C?"input":C,R=c.multiline,k=void 0!==R&&R,M=c.slotProps,I=c.slots,F=void 0===I?{}:I,O=c.type,E=void 0===O?"text":O,z=(0,i.Z)(c,g),W=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,s.Z)(n,h,t);return(0,a.Z)({},t,r)}(c),A={root:{ownerState:{disableUnderline:f}}},N=(null!=M?M:b)?(0,u.Z)(null!=M?M:b,A):A,L=null!=(n=null!=(r=F.root)?r:v.Root)?n:y,j=null!=(o=null!=(l=F.input)?l:v.Input)?o:x;return(0,Z.jsx)(d.ZP,(0,a.Z)({slots:{root:L,input:j},slotProps:N,fullWidth:S,inputComponent:P,multiline:k,ref:t,type:E},z,{classes:W}))}));w.muiName="Input";var S=w},4834:function(e,t,n){n.d(t,{rA:function(){return j},Ej:function(){return L},ZP:function(){return D},_o:function(){return N},Gx:function(){return A}});var r=n(9439),o=n(4942),i=n(3366),a=n(7462),l=n(6189),s=n(2791),u=n(8182),d=n(4419),c=n(4164),p=n(7563),f=n(7979),m=n(3981),v=n(5721),h=n(184),b=["onChange","maxRows","minRows","style","value"];function Z(e){return parseInt(e,10)||0}var g={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function y(e){return void 0===e||null===e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}var x=s.forwardRef((function(e,t){var n=e.onChange,o=e.maxRows,l=e.minRows,u=void 0===l?1:l,d=e.style,x=e.value,w=(0,i.Z)(e,b),S=s.useRef(null!=x).current,C=s.useRef(null),P=(0,p.Z)(t,C),R=s.useRef(null),k=s.useRef(0),M=s.useState({outerHeightStyle:0}),I=(0,r.Z)(M,2),F=I[0],O=I[1],E=s.useCallback((function(){var t=C.current,n=(0,f.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};var r=R.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n.boxSizing,a=Z(n.paddingBottom)+Z(n.paddingTop),l=Z(n.borderBottomWidth)+Z(n.borderTopWidth),s=r.scrollHeight;r.value="x";var d=r.scrollHeight,c=s;return u&&(c=Math.max(Number(u)*d,c)),o&&(c=Math.min(Number(o)*d,c)),{outerHeightStyle:(c=Math.max(c,d))+("border-box"===i?a+l:0),overflow:Math.abs(c-s)<=1}}),[o,u,e.placeholder]),z=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return k.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(k.current+=1,{overflow:r,outerHeightStyle:n}):e},W=s.useCallback((function(){var e=E();y(e)||O((function(t){return z(t,e)}))}),[E]);s.useEffect((function(){var e,t=(0,m.Z)((function(){k.current=0,C.current&&function(){var e=E();y(e)||c.flushSync((function(){O((function(t){return z(t,e)}))}))}()})),n=C.current,r=(0,f.Z)(n);return r.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(n),function(){t.clear(),r.removeEventListener("resize",t),e&&e.disconnect()}})),(0,v.Z)((function(){W()})),s.useEffect((function(){k.current=0}),[x]);return(0,h.jsxs)(s.Fragment,{children:[(0,h.jsx)("textarea",(0,a.Z)({value:x,onChange:function(e){k.current=0,S||W(),n&&n(e)},ref:P,rows:u,style:(0,a.Z)({height:F.outerHeightStyle,overflow:F.overflow?"hidden":void 0},d)},w)),(0,h.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:R,tabIndex:-1,style:(0,a.Z)({},g,d,{padding:0})})]})})),w=n(627),S=n(6147),C=n(3840),P=n(2930),R=n(6934),k=n(1402),M=n(4036),I=n(2071),F=n(162),O=n(1540),E=n(5470),z=n(5891),W=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],A=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,M.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},N=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},L=(0,R.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:A})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({},t.typography.body1,(0,o.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(z.Z.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,a.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),j=(0,R.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:N})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,l=(0,a.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),s={opacity:"0 !important"},u=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,a.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&:-ms-input-placeholder":l,"&::-ms-input-placeholder":l,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,o.Z)(t,"label[data-shrink=false] + .".concat(z.Z.formControl," &"),{"&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus::-webkit-input-placeholder":u,"&:focus::-moz-placeholder":u,"&:focus:-ms-input-placeholder":u,"&:focus::-ms-input-placeholder":u}),(0,o.Z)(t,"&.".concat(z.Z.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,o.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),B=(0,h.jsx)(O.Z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),T=s.forwardRef((function(e,t){var n,o=(0,k.Z)({props:e,name:"MuiInputBase"}),c=o["aria-describedby"],p=o.autoComplete,f=o.autoFocus,m=o.className,v=o.components,b=void 0===v?{}:v,Z=o.componentsProps,g=void 0===Z?{}:Z,y=o.defaultValue,R=o.disabled,O=o.disableInjectingGlobalStyles,A=o.endAdornment,N=o.fullWidth,T=void 0!==N&&N,D=o.id,H=o.inputComponent,q=void 0===H?"input":H,U=o.inputProps,K=void 0===U?{}:U,V=o.inputRef,_=o.maxRows,X=o.minRows,G=o.multiline,$=void 0!==G&&G,Y=o.name,J=o.onBlur,Q=o.onChange,ee=o.onClick,te=o.onFocus,ne=o.onKeyDown,re=o.onKeyUp,oe=o.placeholder,ie=o.readOnly,ae=o.renderSuffix,le=o.rows,se=o.slotProps,ue=void 0===se?{}:se,de=o.slots,ce=void 0===de?{}:de,pe=o.startAdornment,fe=o.type,me=void 0===fe?"text":fe,ve=o.value,he=(0,i.Z)(o,W),be=null!=K.value?K.value:ve,Ze=s.useRef(null!=be).current,ge=s.useRef(),ye=s.useCallback((function(e){0}),[]),xe=(0,I.Z)(ge,V,K.ref,ye),we=s.useState(!1),Se=(0,r.Z)(we,2),Ce=Se[0],Pe=Se[1],Re=(0,P.Z)();var ke=(0,S.Z)({props:o,muiFormControl:Re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ke.focused=Re?Re.focused:Ce,s.useEffect((function(){!Re&&R&&Ce&&(Pe(!1),J&&J())}),[Re,R,Ce,J]);var Me=Re&&Re.onFilled,Ie=Re&&Re.onEmpty,Fe=s.useCallback((function(e){(0,E.vd)(e)?Me&&Me():Ie&&Ie()}),[Me,Ie]);(0,F.Z)((function(){Ze&&Fe({value:be})}),[be,Fe,Ze]);s.useEffect((function(){Fe(ge.current)}),[]);var Oe=q,Ee=K;$&&"input"===Oe&&(Ee=le?(0,a.Z)({type:void 0,minRows:le,maxRows:le},Ee):(0,a.Z)({type:void 0,maxRows:_,minRows:X},Ee),Oe=x);s.useEffect((function(){Re&&Re.setAdornedStart(Boolean(pe))}),[Re,pe]);var ze=(0,a.Z)({},o,{color:ke.color||"primary",disabled:ke.disabled,endAdornment:A,error:ke.error,focused:ke.focused,formControl:Re,fullWidth:T,hiddenLabel:ke.hiddenLabel,multiline:$,size:ke.size,startAdornment:pe,type:me}),We=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,l=e.formControl,s=e.fullWidth,u=e.hiddenLabel,c=e.multiline,p=e.readOnly,f=e.size,m=e.startAdornment,v=e.type,h={root:["root","color".concat((0,M.Z)(n)),r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl","small"===f&&"sizeSmall",c&&"multiline",m&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled","search"===v&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return(0,d.Z)(h,z.u,t)}(ze),Ae=ce.root||b.Root||L,Ne=ue.root||g.root||{},Le=ce.input||b.Input||j;return Ee=(0,a.Z)({},Ee,null!=(n=ue.input)?n:g.input),(0,h.jsxs)(s.Fragment,{children:[!O&&B,(0,h.jsxs)(Ae,(0,a.Z)({},Ne,!(0,w.Z)(Ae)&&{ownerState:(0,a.Z)({},ze,Ne.ownerState)},{ref:t,onClick:function(e){ge.current&&e.currentTarget===e.target&&ge.current.focus(),ee&&!ke.disabled&&ee(e)}},he,{className:(0,u.Z)(We.root,Ne.className,m,ie&&"MuiInputBase-readOnly"),children:[pe,(0,h.jsx)(C.Z.Provider,{value:null,children:(0,h.jsx)(Le,(0,a.Z)({ownerState:ze,"aria-invalid":ke.error,"aria-describedby":c,autoComplete:p,autoFocus:f,defaultValue:y,disabled:ke.disabled,id:D,onAnimationStart:function(e){Fe("mui-auto-fill-cancel"===e.animationName?ge.current:{value:"x"})},name:Y,placeholder:oe,readOnly:ie,required:ke.required,rows:le,value:be,onKeyDown:ne,onKeyUp:re,type:me},Ee,!(0,w.Z)(Le)&&{as:Oe,ownerState:(0,a.Z)({},ze,Ee.ownerState)},{ref:xe,className:(0,u.Z)(We.input,Ee.className,ie&&"MuiInputBase-readOnly"),onBlur:function(e){J&&J(e),K.onBlur&&K.onBlur(e),Re&&Re.onBlur?Re.onBlur(e):Pe(!1)},onChange:function(e){if(!Ze){var t=e.target||ge.current;if(null==t)throw new Error((0,l.Z)(1));Fe({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{B7:function(){return i},vd:function(){return o}})},4925:function(e,t,n){n.d(t,{Z:function(){return R}});var r=n(4942),o=n(3366),i=n(7462),a=n(2791),l=n(4419),s=n(8182),u=n(6147),d=n(2930),c=n(4036),p=n(1402),f=n(6934),m=n(5878),v=n(1217);function h(e){return(0,v.Z)("MuiFormLabel",e)}var b=(0,m.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Z=n(184),g=["children","className","color","component","disabled","error","filled","focused","required"],y=(0,f.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,i.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,i.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,r.Z)(t,"&.".concat(b.focused),{color:(n.vars||n).palette[o.color].main}),(0,r.Z)(t,"&.".concat(b.disabled),{color:(n.vars||n).palette.text.disabled}),(0,r.Z)(t,"&.".concat(b.error),{color:(n.vars||n).palette.error.main}),t))})),x=(0,f.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,r.Z)({},"&.".concat(b.error),{color:(t.vars||t).palette.error.main})})),w=a.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiFormLabel"}),r=n.children,a=n.className,f=n.component,m=void 0===f?"label":f,v=(0,o.Z)(n,g),b=(0,d.Z)(),w=(0,u.Z)({props:n,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),S=(0,i.Z)({},n,{color:w.color||"primary",component:m,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required}),C=function(e){var t=e.classes,n=e.color,r=e.focused,o=e.disabled,i=e.error,a=e.filled,s=e.required,u={root:["root","color".concat((0,c.Z)(n)),o&&"disabled",i&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return(0,l.Z)(u,h,t)}(S);return(0,Z.jsxs)(y,(0,i.Z)({as:m,ownerState:S,className:(0,s.Z)(C.root,a),ref:t},v,{children:[r,w.required&&(0,Z.jsxs)(x,{ownerState:S,"aria-hidden":!0,className:C.asterisk,children:["\u2009","*"]})]}))}));function S(e){return(0,v.Z)("MuiInputLabel",e)}(0,m.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var C=["disableAnimation","margin","shrink","variant","className"],P=(0,f.ZP)(w,{shouldForwardProp:function(e){return(0,f.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,r.Z)({},"& .".concat(b.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,i.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),R=a.forwardRef((function(e,t){var n=(0,p.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,a=void 0!==r&&r,c=n.shrink,f=n.className,m=(0,o.Z)(n,C),v=(0,d.Z)(),h=c;"undefined"===typeof h&&v&&(h=v.filled||v.focused||v.adornedStart);var b=(0,u.Z)({props:n,muiFormControl:v,states:["size","variant","required"]}),g=(0,i.Z)({},n,{disableAnimation:a,formControl:v,shrink:h,size:b.size,variant:b.variant,required:b.required}),y=function(e){var t=e.classes,n=e.formControl,r=e.size,o=e.shrink,a={root:["root",n&&"formControl",!e.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},s=(0,l.Z)(a,S,t);return(0,i.Z)({},t,s)}(g);return(0,Z.jsx)(P,(0,i.Z)({"data-shrink":h,ownerState:g,ref:t,className:(0,s.Z)(y.root,f)},m,{classes:y}))}))},8029:function(e,t,n){n.d(t,{Z:function(){return M}});var r,o=n(4942),i=n(3366),a=n(7462),l=n(2791),s=n(4419),u=n(6934),d=n(184),c=["children","classes","className","label","notched"],p=(0,u.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),f=(0,u.ZP)("legend")((function(e){var t=e.ownerState,n=e.theme;return(0,a.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,a.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));var m=n(2930),v=n(6147),h=n(5878),b=n(1217),Z=n(5891);function g(e){return(0,b.Z)("MuiOutlinedInput",e)}var y=(0,a.Z)({},Z.Z,(0,h.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),x=n(4834),w=n(1402),S=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],C=(0,u.ZP)(x.Ej,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:x.Gx})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,a.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,o.Z)(t,"&:hover .".concat(y.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,o.Z)(t,"@media (hover: none)",(0,o.Z)({},"&:hover .".concat(y.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):i})),(0,o.Z)(t,"&.".concat(y.focused," .").concat(y.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),(0,o.Z)(t,"&.".concat(y.error," .").concat(y.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,o.Z)(t,"&.".concat(y.disabled," .").concat(y.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,a.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),P=(0,u.ZP)((function(e){var t=e.className,n=e.label,o=e.notched,l=(0,i.Z)(e,c),s=null!=n&&""!==n,u=(0,a.Z)({},e,{notched:o,withLabel:s});return(0,d.jsx)(p,(0,a.Z)({"aria-hidden":!0,className:t,ownerState:u},l,{children:(0,d.jsx)(f,{ownerState:u,children:s?(0,d.jsx)("span",{children:n}):r||(r=(0,d.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),R=(0,u.ZP)(x.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:x._o})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,o.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),k=l.forwardRef((function(e,t){var n,r,o,u,c,p=(0,w.Z)({props:e,name:"MuiOutlinedInput"}),f=p.components,h=void 0===f?{}:f,b=p.fullWidth,Z=void 0!==b&&b,y=p.inputComponent,k=void 0===y?"input":y,M=p.label,I=p.multiline,F=void 0!==I&&I,O=p.notched,E=p.slots,z=void 0===E?{}:E,W=p.type,A=void 0===W?"text":W,N=(0,i.Z)(p,S),L=function(e){var t=e.classes,n=(0,s.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g,t);return(0,a.Z)({},t,n)}(p),j=(0,m.Z)(),B=(0,v.Z)({props:p,muiFormControl:j,states:["required"]}),T=(0,a.Z)({},p,{color:B.color||"primary",disabled:B.disabled,error:B.error,focused:B.focused,formControl:j,fullWidth:Z,hiddenLabel:B.hiddenLabel,multiline:F,size:B.size,type:A}),D=null!=(n=null!=(r=z.root)?r:h.Root)?n:C,H=null!=(o=null!=(u=z.input)?u:h.Input)?o:R;return(0,d.jsx)(x.ZP,(0,a.Z)({slots:{root:D,input:H},renderSuffix:function(e){return(0,d.jsx)(P,{ownerState:T,className:L.notchedOutline,label:null!=M&&""!==M&&B.required?c||(c=(0,d.jsxs)(l.Fragment,{children:[M,"\u2009","*"]})):M,notched:"undefined"!==typeof O?O:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:Z,inputComponent:k,multiline:F,ref:t,type:A},N,{classes:(0,a.Z)({},L,{notchedOutline:null})}))}));k.muiName="Input";var M=k},7198:function(e,t,n){n.d(t,{Z:function(){return Ae}});var r=n(7462),o=n(3366),i=n(2791),a=n(8182),l=n(2466),s=n(9439),u=n(4942),d=n(6189),c=(n(8457),n(4419)),p=n(8301),f=n(4036),m=n(493),v=n(7137).Z,h=n(2071),b=n(162),Z=n(184),g=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function y(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function x(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function w(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function S(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return!1;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&w(l,i)&&!s)return l.focus(),!0;l=o(e,l,n)}return!1}var C=i.forwardRef((function(e,t){var n=e.actions,a=e.autoFocus,l=void 0!==a&&a,s=e.autoFocusItem,u=void 0!==s&&s,d=e.children,c=e.className,f=e.disabledItemsFocusable,C=void 0!==f&&f,P=e.disableListWrap,R=void 0!==P&&P,k=e.onKeyDown,M=e.variant,I=void 0===M?"selectedMenu":M,F=(0,o.Z)(e,g),O=i.useRef(null),E=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,b.Z)((function(){l&&O.current.focus()}),[l]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!O.current.style.width;if(e.clientHeight=d.length&&(W=-1)):W===t&&(W+=1)>=d.length&&(W=-1)}));var A=i.Children.map(d,(function(e,t){if(t===W){var n={};return u&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===I&&(n.tabIndex=0),i.cloneElement(e,n)}return e}));return(0,Z.jsx)(m.Z,(0,r.Z)({role:"menu",ref:z,className:c,onKeyDown:function(e){var t=O.current,n=e.key,r=(0,p.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),S(t,r,R,C,y);else if("ArrowUp"===n)e.preventDefault(),S(t,r,R,C,x);else if("Home"===n)e.preventDefault(),S(t,null,R,C,y);else if("End"===n)e.preventDefault(),S(t,null,R,C,x);else if(1===n.length){var o=E.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&w(r,o);o.previousKeyMatched&&(l||S(t,r,!1,C,y,o))?e.preventDefault():o.previousKeyMatched=!1}k&&k(e)},tabIndex:l?0:-1},F,{children:A}))})),P=n(536),R=n(627),k=n(6934),M=n(1402),I=n(3199),F=n(7602),O=n(3208),E=n(5391),z=n(5527),W=n(5878),A=n(1217);function N(e){return(0,A.Z)("MuiPopover",e)}(0,W.Z)("MuiPopover",["root","paper"]);var L=["onEntering"],j=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],B=["slotProps"];function T(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function D(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function H(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function q(e){return"function"===typeof e?e():e}var U=(0,k.ZP)(E.Z,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),K=(0,k.ZP)(z.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),V=i.forwardRef((function(e,t){var n,l,u,d=(0,M.Z)({props:e,name:"MuiPopover"}),f=d.action,m=d.anchorEl,v=d.anchorOrigin,b=void 0===v?{vertical:"top",horizontal:"left"}:v,g=d.anchorPosition,y=d.anchorReference,x=void 0===y?"anchorEl":y,w=d.children,S=d.className,C=d.container,k=d.elevation,E=void 0===k?8:k,z=d.marginThreshold,W=void 0===z?16:z,A=d.open,V=d.PaperProps,_=void 0===V?{}:V,X=d.slots,G=d.slotProps,$=d.transformOrigin,Y=void 0===$?{vertical:"top",horizontal:"left"}:$,J=d.TransitionComponent,Q=void 0===J?O.Z:J,ee=d.transitionDuration,te=void 0===ee?"auto":ee,ne=d.TransitionProps,re=(void 0===ne?{}:ne).onEntering,oe=(0,o.Z)(d.TransitionProps,L),ie=(0,o.Z)(d,j),ae=null!=(n=null==G?void 0:G.paper)?n:_,le=i.useRef(),se=(0,h.Z)(le,ae.ref),ue=(0,r.Z)({},d,{anchorOrigin:b,anchorReference:x,elevation:E,marginThreshold:W,externalPaperSlotProps:ae,transformOrigin:Y,TransitionComponent:Q,transitionDuration:te,TransitionProps:oe}),de=function(e){var t=e.classes;return(0,c.Z)({root:["root"],paper:["paper"]},N,t)}(ue),ce=i.useCallback((function(){if("anchorPosition"===x)return g;var e=q(m),t=(e&&1===e.nodeType?e:(0,p.Z)(le.current).body).getBoundingClientRect();return{top:t.top+T(t,b.vertical),left:t.left+D(t,b.horizontal)}}),[m,b.horizontal,b.vertical,g,x]),pe=i.useCallback((function(e){return{vertical:T(e,Y.vertical),horizontal:D(e,Y.horizontal)}}),[Y.horizontal,Y.vertical]),fe=i.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=pe(t);if("none"===x)return{top:null,left:null,transformOrigin:H(n)};var r=ce(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,l=i+t.width,s=(0,F.Z)(q(m)),u=s.innerHeight-W,d=s.innerWidth-W;if(ou){var p=a-u;o-=p,n.vertical+=p}if(id){var v=l-d;i-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:H(n)}}),[m,x,ce,pe,W]),me=i.useState(A),ve=(0,s.Z)(me,2),he=ve[0],be=ve[1],Ze=i.useCallback((function(){var e=le.current;if(e){var t=fe(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,be(!0)}}),[fe]);i.useEffect((function(){A&&Ze()})),i.useImperativeHandle(f,(function(){return A?{updatePosition:function(){Ze()}}:null}),[A,Ze]),i.useEffect((function(){if(A){var e=(0,I.Z)((function(){Ze()})),t=(0,F.Z)(m);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[m,A,Ze]);var ge=te;"auto"!==te||Q.muiSupportAuto||(ge=void 0);var ye=C||(m?(0,p.Z)(q(m)).body:void 0),xe=null!=(l=null==X?void 0:X.root)?l:U,we=null!=(u=null==X?void 0:X.paper)?u:K,Se=(0,P.Z)({elementType:we,externalSlotProps:(0,r.Z)({},ae,{style:he?ae.style:(0,r.Z)({},ae.style,{opacity:0})}),additionalProps:{elevation:E,ref:se},ownerState:ue,className:(0,a.Z)(de.paper,null==ae?void 0:ae.className)}),Ce=(0,P.Z)({elementType:xe,externalSlotProps:(null==G?void 0:G.root)||{},externalForwardedProps:ie,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:ye,open:A},ownerState:ue,className:(0,a.Z)(de.root,S)}),Pe=Ce.slotProps,Re=(0,o.Z)(Ce,B);return(0,Z.jsx)(xe,(0,r.Z)({},Re,!(0,R.Z)(xe)&&{slotProps:Pe},{children:(0,Z.jsx)(Q,(0,r.Z)({appear:!0,in:A,onEntering:function(e,t){re&&re(e,t),Ze()},onExited:function(){be(!1)},timeout:ge},oe,{children:(0,Z.jsx)(we,(0,r.Z)({},Se,{children:w}))}))}))})),_=n(3967);function X(e){return(0,A.Z)("MuiMenu",e)}(0,W.Z)("MuiMenu",["root","paper","list"]);var G=["onEntering"],$=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Y={vertical:"top",horizontal:"right"},J={vertical:"top",horizontal:"left"},Q=(0,k.ZP)(V,{shouldForwardProp:function(e){return(0,k.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),ee=(0,k.ZP)(K,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),te=(0,k.ZP)(C,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),ne=i.forwardRef((function(e,t){var n=(0,M.Z)({props:e,name:"MuiMenu"}),l=n.autoFocus,s=void 0===l||l,u=n.children,d=n.disableAutoFocusItem,p=void 0!==d&&d,f=n.MenuListProps,m=void 0===f?{}:f,v=n.onClose,h=n.open,b=n.PaperProps,g=void 0===b?{}:b,y=n.PopoverClasses,x=n.transitionDuration,w=void 0===x?"auto":x,S=n.TransitionProps,C=(void 0===S?{}:S).onEntering,P=n.variant,R=void 0===P?"selectedMenu":P,k=(0,o.Z)(n.TransitionProps,G),I=(0,o.Z)(n,$),F=(0,_.Z)(),O="rtl"===F.direction,E=(0,r.Z)({},n,{autoFocus:s,disableAutoFocusItem:p,MenuListProps:m,onEntering:C,PaperProps:g,transitionDuration:w,TransitionProps:k,variant:R}),z=function(e){var t=e.classes;return(0,c.Z)({root:["root"],paper:["paper"],list:["list"]},X,t)}(E),W=s&&!p&&h,A=i.useRef(null),N=-1;return i.Children.map(u,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===R&&e.props.selected||-1===N)&&(N=t))})),(0,Z.jsx)(Q,(0,r.Z)({onClose:v,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?Y:J,slots:{paper:ee},slotProps:{paper:(0,r.Z)({},g,{classes:(0,r.Z)({},g.classes,{root:z.paper})})},className:z.root,open:h,ref:t,transitionDuration:w,TransitionProps:(0,r.Z)({onEntering:function(e,t){A.current&&A.current.adjustStyleForScrollbar(e,F),C&&C(e,t)}},k),ownerState:E},I,{classes:y,children:(0,Z.jsx)(te,(0,r.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),v&&v(e,"tabKeyDown"))},actions:A,autoFocus:s&&(-1===N||p),autoFocusItem:W,variant:R},m,{className:(0,a.Z)(z.list,m.className),children:u}))}))}));function re(e){return(0,A.Z)("MuiNativeSelect",e)}var oe=(0,W.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),ie=["className","disabled","error","IconComponent","inputRef","variant"],ae=function(e){var t,n=e.ownerState,o=e.theme;return(0,r.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,r.Z)({},o.vars?{backgroundColor:"rgba(".concat(o.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===o.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,u.Z)(t,"&.".concat(oe.disabled),{cursor:"default"}),(0,u.Z)(t,"&[multiple]",{height:"auto"}),(0,u.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(o.vars||o).palette.background.paper}),(0,u.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(o.vars||o).shape.borderRadius,"&:focus":{borderRadius:(o.vars||o).shape.borderRadius},"&&&":{paddingRight:32}})},le=(0,k.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:k.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,u.Z)({},"&.".concat(oe.multiple),t.multiple)]}})(ae),se=function(e){var t=e.ownerState,n=e.theme;return(0,r.Z)((0,u.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(oe.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},ue=(0,k.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,f.Z)(n.variant))],n.open&&t.iconOpen]}})(se),de=i.forwardRef((function(e,t){var n=e.className,l=e.disabled,s=e.error,u=e.IconComponent,d=e.inputRef,p=e.variant,m=void 0===p?"standard":p,v=(0,o.Z)(e,ie),h=(0,r.Z)({},e,{disabled:l,variant:m,error:s}),b=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,f.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,c.Z)(a,re,t)}(h);return(0,Z.jsxs)(i.Fragment,{children:[(0,Z.jsx)(le,(0,r.Z)({ownerState:h,className:(0,a.Z)(b.select,n),disabled:l,ref:d||t},v)),e.multiple?null:(0,Z.jsx)(ue,{as:u,ownerState:h,className:b.icon})]})})),ce=n(5470),pe=n(8744);function fe(e){return(0,A.Z)("MuiSelect",e)}var me,ve=(0,W.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),he=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],be=(0,k.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"&.".concat(ve.select),t.select),(0,u.Z)({},"&.".concat(ve.select),t[n.variant]),(0,u.Z)({},"&.".concat(ve.error),t.error),(0,u.Z)({},"&.".concat(ve.multiple),t.multiple)]}})(ae,(0,u.Z)({},"&.".concat(ve.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),Ze=(0,k.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,f.Z)(n.variant))],n.open&&t.iconOpen]}})(se),ge=(0,k.ZP)("input",{shouldForwardProp:function(e){return(0,k.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function ye(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function xe(e){return null==e||"string"===typeof e&&!e.trim()}var we=i.forwardRef((function(e,t){var n=e["aria-describedby"],l=e["aria-label"],u=e.autoFocus,m=e.autoWidth,v=e.children,b=e.className,g=e.defaultOpen,y=e.defaultValue,x=e.disabled,w=e.displayEmpty,S=e.error,C=void 0!==S&&S,P=e.IconComponent,R=e.inputRef,k=e.labelId,M=e.MenuProps,I=void 0===M?{}:M,F=e.multiple,O=e.name,E=e.onBlur,z=e.onChange,W=e.onClose,A=e.onFocus,N=e.onOpen,L=e.open,j=e.readOnly,B=e.renderValue,T=e.SelectDisplayProps,D=void 0===T?{}:T,H=e.tabIndex,q=e.value,U=e.variant,K=void 0===U?"standard":U,V=(0,o.Z)(e,he),_=(0,pe.Z)({controlled:q,default:y,name:"Select"}),X=(0,s.Z)(_,2),G=X[0],$=X[1],Y=(0,pe.Z)({controlled:L,default:g,name:"Select"}),J=(0,s.Z)(Y,2),Q=J[0],ee=J[1],te=i.useRef(null),re=i.useRef(null),oe=i.useState(null),ie=(0,s.Z)(oe,2),ae=ie[0],le=ie[1],se=i.useRef(null!=L).current,ue=i.useState(),de=(0,s.Z)(ue,2),ve=de[0],we=de[1],Se=(0,h.Z)(t,R),Ce=i.useCallback((function(e){re.current=e,e&&le(e)}),[]),Pe=null==ae?void 0:ae.parentNode;i.useImperativeHandle(Se,(function(){return{focus:function(){re.current.focus()},node:te.current,value:G}}),[G]),i.useEffect((function(){g&&Q&&ae&&!se&&(we(m?null:Pe.clientWidth),re.current.focus())}),[ae,m]),i.useEffect((function(){u&&re.current.focus()}),[u]),i.useEffect((function(){if(k){var e=(0,p.Z)(re.current).getElementById(k);if(e){var t=function(){getSelection().isCollapsed&&re.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[k]);var Re,ke,Me=function(e,t){e?N&&N(t):W&&W(t),se||(we(m?null:Pe.clientWidth),ee(e))},Ie=i.Children.toArray(v),Fe=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(F){n=Array.isArray(G)?G.slice():[];var r=G.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),G!==n&&($(n),z)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:O}}),z(i,e)}F||Me(!1,t)}}},Oe=null!==ae&&Q;delete V["aria-invalid"];var Ee=[],ze=!1;((0,ce.vd)({value:G})||w)&&(B?Re=B(G):ze=!0);var We=Ie.map((function(e){if(!i.isValidElement(e))return null;var t;if(F){if(!Array.isArray(G))throw new Error((0,d.Z)(2));(t=G.some((function(t){return ye(t,e.props.value)})))&&ze&&Ee.push(e.props.children)}else(t=ye(G,e.props.value))&&ze&&(ke=e.props.children);return t&&!0,i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Fe(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));ze&&(Re=F?0===Ee.length?null:Ee.reduce((function(e,t,n){return e.push(t),n {\n const {\n classes,\n disableUnderline\n } = ownerState;\n const slots = {\n root: ['root', !disableUnderline && 'underline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);\n return _extends({}, classes, composedClasses);\n};\nconst FilledInputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiFilledInput',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [...inputBaseRootOverridesResolver(props, styles), !ownerState.disableUnderline && styles.underline];\n }\n})(({\n theme,\n ownerState\n}) => {\n var _palette;\n const light = theme.palette.mode === 'light';\n const bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n const backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';\n const hoverBackground = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.13)';\n const disabledBackground = light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)';\n return _extends({\n position: 'relative',\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor,\n borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,\n borderTopRightRadius: (theme.vars || theme).shape.borderRadius,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n '&:hover': {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.hoverBg : hoverBackground,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor\n }\n },\n [`&.${filledInputClasses.focused}`]: {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor\n },\n [`&.${filledInputClasses.disabled}`]: {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.disabledBg : disabledBackground\n }\n }, !ownerState.disableUnderline && {\n '&:after': {\n borderBottom: `2px solid ${(_palette = (theme.vars || theme).palette[ownerState.color || 'primary']) == null ? void 0 : _palette.main}`,\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n\n [`&.${filledInputClasses.focused}:after`]: {\n // translateX(0) is a workaround for Safari transform scale bug\n // See https://github.com/mui/material-ui/issues/31766\n transform: 'scaleX(1) translateX(0)'\n },\n [`&.${filledInputClasses.error}`]: {\n '&:before, &:after': {\n borderBottomColor: (theme.vars || theme).palette.error.main\n }\n },\n '&:before': {\n borderBottom: `1px solid ${theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputUnderline})` : bottomLineColor}`,\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n\n [`&:hover:not(.${filledInputClasses.disabled}, .${filledInputClasses.error}):before`]: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`\n },\n [`&.${filledInputClasses.disabled}:before`]: {\n borderBottomStyle: 'dotted'\n }\n }, ownerState.startAdornment && {\n paddingLeft: 12\n }, ownerState.endAdornment && {\n paddingRight: 12\n }, ownerState.multiline && _extends({\n padding: '25px 12px 8px'\n }, ownerState.size === 'small' && {\n paddingTop: 21,\n paddingBottom: 4\n }, ownerState.hiddenLabel && {\n paddingTop: 16,\n paddingBottom: 17\n }));\n});\nconst FilledInputInput = styled(InputBaseInput, {\n name: 'MuiFilledInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})(({\n theme,\n ownerState\n}) => _extends({\n paddingTop: 25,\n paddingRight: 12,\n paddingBottom: 8,\n paddingLeft: 12\n}, !theme.vars && {\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',\n WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',\n caretColor: theme.palette.mode === 'light' ? null : '#fff',\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit'\n }\n}, theme.vars && {\n '&:-webkit-autofill': {\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit'\n },\n [theme.getColorSchemeSelector('dark')]: {\n '&:-webkit-autofill': {\n WebkitBoxShadow: '0 0 0 100px #266798 inset',\n WebkitTextFillColor: '#fff',\n caretColor: '#fff'\n }\n }\n}, ownerState.size === 'small' && {\n paddingTop: 21,\n paddingBottom: 4\n}, ownerState.hiddenLabel && {\n paddingTop: 16,\n paddingBottom: 17\n}, ownerState.multiline && {\n paddingTop: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n paddingRight: 0\n}, ownerState.startAdornment && {\n paddingLeft: 0\n}, ownerState.endAdornment && {\n paddingRight: 0\n}, ownerState.hiddenLabel && ownerState.size === 'small' && {\n paddingTop: 8,\n paddingBottom: 9\n}));\nconst FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps, ref) {\n var _ref, _slots$root, _ref2, _slots$input;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFilledInput'\n });\n const {\n components = {},\n componentsProps: componentsPropsProp,\n fullWidth = false,\n // declare here to prevent spreading to DOM\n inputComponent = 'input',\n multiline = false,\n slotProps,\n slots = {},\n type = 'text'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n fullWidth,\n inputComponent,\n multiline,\n type\n });\n const classes = useUtilityClasses(props);\n const filledInputComponentsProps = {\n root: {\n ownerState\n },\n input: {\n ownerState\n }\n };\n const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;\n const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;\n const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;\n return /*#__PURE__*/_jsx(InputBase, _extends({\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n componentsProps: componentsProps,\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other, {\n classes: classes\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? FilledInput.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `slots` prop.\n * It's recommended to use the `slots` prop instead.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `slotProps` prop.\n * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the input will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * If `true`, the label is hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n * @default false\n */\n hiddenLabel: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nFilledInput.muiName = 'Input';\nexport default FilledInput;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getFormControlUtilityClasses(slot) {\n return generateUtilityClass('MuiFormControl', slot);\n}\nconst formControlClasses = generateUtilityClasses('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);\nexport default formControlClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"focused\", \"fullWidth\", \"hiddenLabel\", \"margin\", \"required\", \"size\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport { isFilled, isAdornedStart } from '../InputBase/utils';\nimport capitalize from '../utils/capitalize';\nimport isMuiElement from '../utils/isMuiElement';\nimport FormControlContext from './FormControlContext';\nimport { getFormControlUtilityClasses } from './formControlClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n margin,\n fullWidth\n } = ownerState;\n const slots = {\n root: ['root', margin !== 'none' && `margin${capitalize(margin)}`, fullWidth && 'fullWidth']\n };\n return composeClasses(slots, getFormControlUtilityClasses, classes);\n};\nconst FormControlRoot = styled('div', {\n name: 'MuiFormControl',\n slot: 'Root',\n overridesResolver: ({\n ownerState\n }, styles) => {\n return _extends({}, styles.root, styles[`margin${capitalize(ownerState.margin)}`], ownerState.fullWidth && styles.fullWidth);\n }\n})(({\n ownerState\n}) => _extends({\n display: 'inline-flex',\n flexDirection: 'column',\n position: 'relative',\n // Reset fieldset default style.\n minWidth: 0,\n padding: 0,\n margin: 0,\n border: 0,\n verticalAlign: 'top'\n}, ownerState.margin === 'normal' && {\n marginTop: 16,\n marginBottom: 8\n}, ownerState.margin === 'dense' && {\n marginTop: 8,\n marginBottom: 4\n}, ownerState.fullWidth && {\n width: '100%'\n}));\n\n/**\n * Provides context such as filled/focused/error/required for form inputs.\n * Relying on the context provides high flexibility and ensures that the state always stays\n * consistent across the children of the `FormControl`.\n * This context is used by the following components:\n *\n * - FormLabel\n * - FormHelperText\n * - Input\n * - InputLabel\n *\n * You can find one composition example below and more going to [the demos](/material-ui/react-text-field/#components).\n *\n * ```jsx\n * \n * Email address\n * \n * We'll never share your email.\n * \n * ```\n *\n * ⚠️ Only one `InputBase` can be used within a FormControl because it creates visual inconsistencies.\n * For instance, only one input can be focused at the same time, the state shouldn't be shared.\n */\nconst FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFormControl'\n });\n const {\n children,\n className,\n color = 'primary',\n component = 'div',\n disabled = false,\n error = false,\n focused: visuallyFocused,\n fullWidth = false,\n hiddenLabel = false,\n margin = 'none',\n required = false,\n size = 'medium',\n variant = 'outlined'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n component,\n disabled,\n error,\n fullWidth,\n hiddenLabel,\n margin,\n required,\n size,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const [adornedStart, setAdornedStart] = React.useState(() => {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n let initialAdornedStart = false;\n if (children) {\n React.Children.forEach(children, child => {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n const input = isMuiElement(child, ['Select']) ? child.props.input : child;\n if (input && isAdornedStart(input.props)) {\n initialAdornedStart = true;\n }\n });\n }\n return initialAdornedStart;\n });\n const [filled, setFilled] = React.useState(() => {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n let initialFilled = false;\n if (children) {\n React.Children.forEach(children, child => {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n if (isFilled(child.props, true) || isFilled(child.props.inputProps, true)) {\n initialFilled = true;\n }\n });\n }\n return initialFilled;\n });\n const [focusedState, setFocused] = React.useState(false);\n if (disabled && focusedState) {\n setFocused(false);\n }\n const focused = visuallyFocused !== undefined && !disabled ? visuallyFocused : focusedState;\n let registerEffect;\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const registeredInput = React.useRef(false);\n registerEffect = () => {\n if (registeredInput.current) {\n console.error(['MUI: There are multiple `InputBase` components inside a FormControl.', 'This creates visual inconsistencies, only use one `InputBase`.'].join('\\n'));\n }\n registeredInput.current = true;\n return () => {\n registeredInput.current = false;\n };\n };\n }\n const childContext = React.useMemo(() => {\n return {\n adornedStart,\n setAdornedStart,\n color,\n disabled,\n error,\n filled,\n focused,\n fullWidth,\n hiddenLabel,\n size,\n onBlur: () => {\n setFocused(false);\n },\n onEmpty: () => {\n setFilled(false);\n },\n onFilled: () => {\n setFilled(true);\n },\n onFocus: () => {\n setFocused(true);\n },\n registerEffect,\n required,\n variant\n };\n }, [adornedStart, color, disabled, error, filled, focused, fullWidth, hiddenLabel, registerEffect, required, size, variant]);\n return /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsx(FormControlRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children\n }))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControl.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the label, input and helper text should be displayed in a disabled state.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n * @default false\n */\n error: PropTypes.bool,\n /**\n * If `true`, the component is displayed in focused state.\n */\n focused: PropTypes.bool,\n /**\n * If `true`, the component will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * If `true`, the label is hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n * @default false\n */\n hiddenLabel: PropTypes.bool,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * If `true`, the label will indicate that the `input` is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default FormControl;","export default function formControlState({\n props,\n states,\n muiFormControl\n}) {\n return states.reduce((acc, state) => {\n acc[state] = props[state];\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n return acc;\n }, {});\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nimport { inputBaseClasses } from '../InputBase';\nexport function getInputUtilityClass(slot) {\n return generateUtilityClass('MuiInput', slot);\n}\nconst inputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiInput', ['root', 'underline', 'input']));\nexport default inputClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"disableUnderline\", \"components\", \"componentsProps\", \"fullWidth\", \"inputComponent\", \"multiline\", \"slotProps\", \"slots\", \"type\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { refType, deepmerge } from '@mui/utils';\nimport InputBase from '../InputBase';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport inputClasses, { getInputUtilityClass } from './inputClasses';\nimport { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseComponent as InputBaseInput } from '../InputBase/InputBase';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disableUnderline\n } = ownerState;\n const slots = {\n root: ['root', !disableUnderline && 'underline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getInputUtilityClass, classes);\n return _extends({}, classes, composedClasses);\n};\nconst InputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiInput',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [...inputBaseRootOverridesResolver(props, styles), !ownerState.disableUnderline && styles.underline];\n }\n})(({\n theme,\n ownerState\n}) => {\n const light = theme.palette.mode === 'light';\n let bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n if (theme.vars) {\n bottomLineColor = `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputUnderline})`;\n }\n return _extends({\n position: 'relative'\n }, ownerState.formControl && {\n 'label + &': {\n marginTop: 16\n }\n }, !ownerState.disableUnderline && {\n '&:after': {\n borderBottom: `2px solid ${(theme.vars || theme).palette[ownerState.color].main}`,\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n\n [`&.${inputClasses.focused}:after`]: {\n // translateX(0) is a workaround for Safari transform scale bug\n // See https://github.com/mui/material-ui/issues/31766\n transform: 'scaleX(1) translateX(0)'\n },\n [`&.${inputClasses.error}`]: {\n '&:before, &:after': {\n borderBottomColor: (theme.vars || theme).palette.error.main\n }\n },\n '&:before': {\n borderBottom: `1px solid ${bottomLineColor}`,\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n\n [`&:hover:not(.${inputClasses.disabled}, .${inputClasses.error}):before`]: {\n borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n borderBottom: `1px solid ${bottomLineColor}`\n }\n },\n [`&.${inputClasses.disabled}:before`]: {\n borderBottomStyle: 'dotted'\n }\n });\n});\nconst InputInput = styled(InputBaseInput, {\n name: 'MuiInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})({});\nconst Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {\n var _ref, _slots$root, _ref2, _slots$input;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiInput'\n });\n const {\n disableUnderline,\n components = {},\n componentsProps: componentsPropsProp,\n fullWidth = false,\n inputComponent = 'input',\n multiline = false,\n slotProps,\n slots = {},\n type = 'text'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const classes = useUtilityClasses(props);\n const ownerState = {\n disableUnderline\n };\n const inputComponentsProps = {\n root: {\n ownerState\n }\n };\n const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, inputComponentsProps) : inputComponentsProps;\n const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : InputRoot;\n const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : InputInput;\n return /*#__PURE__*/_jsx(InputBase, _extends({\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n slotProps: componentsProps,\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other, {\n classes: classes\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Input.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `slots` prop.\n * It's recommended to use the `slots` prop instead.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `slotProps` prop.\n * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the `input` will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nInput.muiName = 'Input';\nexport default Input;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onChange\", \"maxRows\", \"minRows\", \"style\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport { unstable_debounce as debounce, unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect, unstable_ownerWindow as ownerWindow } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction getStyleValue(value) {\n return parseInt(value, 10) || 0;\n}\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nfunction isEmpty(obj) {\n return obj === undefined || obj === null || Object.keys(obj).length === 0 || obj.outerHeightStyle === 0 && !obj.overflow;\n}\n\n/**\n *\n * Demos:\n *\n * - [Textarea Autosize](https://mui.com/base/react-textarea-autosize/)\n * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)\n *\n * API:\n *\n * - [TextareaAutosize API](https://mui.com/base/react-textarea-autosize/components-api/#textarea-autosize)\n */\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, forwardedRef) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef(null);\n const handleRef = useForkRef(forwardedRef, inputRef);\n const shadowRef = React.useRef(null);\n const renders = React.useRef(0);\n const [state, setState] = React.useState({\n outerHeightStyle: 0\n });\n const getUpdatedState = React.useCallback(() => {\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n const computedStyle = containerWindow.getComputedStyle(input);\n\n // If input's width is shrunk and it's not visible, don't sync height.\n if (computedStyle.width === '0px') {\n return {\n outerHeightStyle: 0\n };\n }\n const inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n const boxSizing = computedStyle.boxSizing;\n const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);\n const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);\n\n // The height of the inner content\n const innerHeight = inputShallow.scrollHeight;\n\n // Measure height of a textarea with a single row\n inputShallow.value = 'x';\n const singleRowHeight = inputShallow.scrollHeight;\n\n // The height of the outer content\n let outerHeight = innerHeight;\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n outerHeight = Math.max(outerHeight, singleRowHeight);\n\n // Take the box sizing into account for applying this value as a style.\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflow = Math.abs(outerHeight - innerHeight) <= 1;\n return {\n outerHeightStyle,\n overflow\n };\n }, [maxRows, minRows, props.placeholder]);\n const updateState = (prevState, newState) => {\n const {\n outerHeightStyle,\n overflow\n } = newState;\n // Need a large enough difference to update the height.\n // This prevents infinite rendering loop.\n if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {\n renders.current += 1;\n return {\n overflow,\n outerHeightStyle\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n if (renders.current === 20) {\n console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\\n'));\n }\n }\n return prevState;\n };\n const syncHeight = React.useCallback(() => {\n const newState = getUpdatedState();\n if (isEmpty(newState)) {\n return;\n }\n setState(prevState => {\n return updateState(prevState, newState);\n });\n }, [getUpdatedState]);\n const syncHeightWithFlushSync = () => {\n const newState = getUpdatedState();\n if (isEmpty(newState)) {\n return;\n }\n\n // In React 18, state updates in a ResizeObserver's callback are happening after the paint which causes flickering\n // when doing some visual updates in it. Using flushSync ensures that the dom will be painted after the states updates happen\n // Related issue - https://github.com/facebook/react/issues/24331\n ReactDOM.flushSync(() => {\n setState(prevState => {\n return updateState(prevState, newState);\n });\n });\n };\n React.useEffect(() => {\n const handleResize = debounce(() => {\n renders.current = 0;\n\n // If the TextareaAutosize component is replaced by Suspense with a fallback, the last\n // ResizeObserver's handler that runs because of the change in the layout is trying to\n // access a dom node that is no longer there (as the fallback component is being shown instead).\n // See https://github.com/mui/material-ui/issues/32640\n if (inputRef.current) {\n syncHeightWithFlushSync();\n }\n });\n let resizeObserver;\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n containerWindow.addEventListener('resize', handleResize);\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(handleResize);\n resizeObserver.observe(input);\n }\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n });\n useEnhancedEffect(() => {\n syncHeight();\n });\n React.useEffect(() => {\n renders.current = 0;\n }, [value]);\n const handleChange = event => {\n renders.current = 0;\n if (!isControlled) {\n syncHeight();\n }\n if (onChange) {\n onChange(event);\n }\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef\n // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: _extends({\n height: state.outerHeightStyle,\n // Need a large enough difference to allow scrolling.\n // This prevents infinite rendering loop.\n overflow: state.overflow ? 'hidden' : undefined\n }, style)\n }, other)), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends({}, styles.shadow, style, {\n padding: 0\n })\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { formatMuiErrorMessage as _formatMuiErrorMessage } from \"@mui/utils\";\nconst _excluded = [\"aria-describedby\", \"autoComplete\", \"autoFocus\", \"className\", \"color\", \"components\", \"componentsProps\", \"defaultValue\", \"disabled\", \"disableInjectingGlobalStyles\", \"endAdornment\", \"error\", \"fullWidth\", \"id\", \"inputComponent\", \"inputProps\", \"inputRef\", \"margin\", \"maxRows\", \"minRows\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onClick\", \"onFocus\", \"onKeyDown\", \"onKeyUp\", \"placeholder\", \"readOnly\", \"renderSuffix\", \"rows\", \"size\", \"slotProps\", \"slots\", \"startAdornment\", \"type\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType, elementTypeAcceptingRef } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses, isHostComponent, TextareaAutosize } from '@mui/base';\nimport formControlState from '../FormControl/formControlState';\nimport FormControlContext from '../FormControl/FormControlContext';\nimport useFormControl from '../FormControl/useFormControl';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport capitalize from '../utils/capitalize';\nimport useForkRef from '../utils/useForkRef';\nimport useEnhancedEffect from '../utils/useEnhancedEffect';\nimport GlobalStyles from '../GlobalStyles';\nimport { isFilled } from './utils';\nimport inputBaseClasses, { getInputBaseUtilityClass } from './inputBaseClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const rootOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.formControl && styles.formControl, ownerState.startAdornment && styles.adornedStart, ownerState.endAdornment && styles.adornedEnd, ownerState.error && styles.error, ownerState.size === 'small' && styles.sizeSmall, ownerState.multiline && styles.multiline, ownerState.color && styles[`color${capitalize(ownerState.color)}`], ownerState.fullWidth && styles.fullWidth, ownerState.hiddenLabel && styles.hiddenLabel];\n};\nexport const inputOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n disabled,\n error,\n endAdornment,\n focused,\n formControl,\n fullWidth,\n hiddenLabel,\n multiline,\n readOnly,\n size,\n startAdornment,\n type\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, disabled && 'disabled', error && 'error', fullWidth && 'fullWidth', focused && 'focused', formControl && 'formControl', size === 'small' && 'sizeSmall', multiline && 'multiline', startAdornment && 'adornedStart', endAdornment && 'adornedEnd', hiddenLabel && 'hiddenLabel', readOnly && 'readOnly'],\n input: ['input', disabled && 'disabled', type === 'search' && 'inputTypeSearch', multiline && 'inputMultiline', size === 'small' && 'inputSizeSmall', hiddenLabel && 'inputHiddenLabel', startAdornment && 'inputAdornedStart', endAdornment && 'inputAdornedEnd', readOnly && 'readOnly']\n };\n return composeClasses(slots, getInputBaseUtilityClass, classes);\n};\nexport const InputBaseRoot = styled('div', {\n name: 'MuiInputBase',\n slot: 'Root',\n overridesResolver: rootOverridesResolver\n})(({\n theme,\n ownerState\n}) => _extends({}, theme.typography.body1, {\n color: (theme.vars || theme).palette.text.primary,\n lineHeight: '1.4375em',\n // 23px\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n [`&.${inputBaseClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled,\n cursor: 'default'\n }\n}, ownerState.multiline && _extends({\n padding: '4px 0 5px'\n}, ownerState.size === 'small' && {\n paddingTop: 1\n}), ownerState.fullWidth && {\n width: '100%'\n}));\nexport const InputBaseComponent = styled('input', {\n name: 'MuiInputBase',\n slot: 'Input',\n overridesResolver: inputOverridesResolver\n})(({\n theme,\n ownerState\n}) => {\n const light = theme.palette.mode === 'light';\n const placeholder = _extends({\n color: 'currentColor'\n }, theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n }, {\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n });\n const placeholderHidden = {\n opacity: '0 !important'\n };\n const placeholderVisible = theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n };\n return _extends({\n font: 'inherit',\n letterSpacing: 'inherit',\n color: 'currentColor',\n padding: '4px 0 5px',\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.4375em',\n // Reset 23pxthe native input line-height\n margin: 0,\n // Reset for Safari\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n // Fix IE11 width issue\n animationName: 'mui-auto-fill-cancel',\n animationDuration: '10ms',\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholder,\n // IE11\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n WebkitAppearance: 'none'\n },\n // Show and hide the placeholder logic\n [`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholderHidden,\n // IE11\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus:-ms-input-placeholder': placeholderVisible,\n // IE11\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n },\n\n [`&.${inputBaseClasses.disabled}`]: {\n opacity: 1,\n // Reset iOS opacity\n WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug\n },\n\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: 'mui-auto-fill'\n }\n }, ownerState.size === 'small' && {\n paddingTop: 1\n }, ownerState.multiline && {\n height: 'auto',\n resize: 'none',\n padding: 0,\n paddingTop: 0\n }, ownerState.type === 'search' && {\n // Improve type search style.\n MozAppearance: 'textfield'\n });\n});\nconst inputGlobalStyles = /*#__PURE__*/_jsx(GlobalStyles, {\n styles: {\n '@keyframes mui-auto-fill': {\n from: {\n display: 'block'\n }\n },\n '@keyframes mui-auto-fill-cancel': {\n from: {\n display: 'block'\n }\n }\n }\n});\n\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\nconst InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {\n var _slotProps$input;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiInputBase'\n });\n const {\n 'aria-describedby': ariaDescribedby,\n autoComplete,\n autoFocus,\n className,\n components = {},\n componentsProps = {},\n defaultValue,\n disabled,\n disableInjectingGlobalStyles,\n endAdornment,\n fullWidth = false,\n id,\n inputComponent = 'input',\n inputProps: inputPropsProp = {},\n inputRef: inputRefProp,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onClick,\n onFocus,\n onKeyDown,\n onKeyUp,\n placeholder,\n readOnly,\n renderSuffix,\n rows,\n slotProps = {},\n slots = {},\n startAdornment,\n type = 'text',\n value: valueProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef();\n const handleInputRefWarning = React.useCallback(instance => {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {\n console.error(['MUI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `ref` prop.', 'Make sure the `ref` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n const handleInputRef = useForkRef(inputRef, inputRefProp, inputPropsProp.ref, handleInputRefWarning);\n const [focused, setFocused] = React.useState(false);\n const muiFormControl = useFormControl();\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n return undefined;\n }, [muiFormControl]);\n }\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['color', 'disabled', 'error', 'hiddenLabel', 'size', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused;\n\n // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n React.useEffect(() => {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n const onFilled = muiFormControl && muiFormControl.onFilled;\n const onEmpty = muiFormControl && muiFormControl.onEmpty;\n const checkDirty = React.useCallback(obj => {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(() => {\n if (isControlled) {\n checkDirty({\n value\n });\n }\n }, [value, checkDirty, isControlled]);\n const handleFocus = event => {\n // Fix a bug with IE11 where the focus/blur events are triggered\n // while the component is disabled.\n if (fcs.disabled) {\n event.stopPropagation();\n return;\n }\n if (onFocus) {\n onFocus(event);\n }\n if (inputPropsProp.onFocus) {\n inputPropsProp.onFocus(event);\n }\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n const handleBlur = event => {\n if (onBlur) {\n onBlur(event);\n }\n if (inputPropsProp.onBlur) {\n inputPropsProp.onBlur(event);\n }\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n const handleChange = (event, ...args) => {\n if (!isControlled) {\n const element = event.target || inputRef.current;\n if (element == null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Expected valid input target. Did you use a custom \\`inputComponent\\` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.` : _formatMuiErrorMessage(1));\n }\n checkDirty({\n value: element.value\n });\n }\n if (inputPropsProp.onChange) {\n inputPropsProp.onChange(event, ...args);\n }\n\n // Perform in the willUpdate\n if (onChange) {\n onChange(event, ...args);\n }\n };\n\n // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n React.useEffect(() => {\n checkDirty(inputRef.current);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const handleClick = event => {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n if (onClick && !fcs.disabled) {\n onClick(event);\n }\n };\n let InputComponent = inputComponent;\n let inputProps = inputPropsProp;\n if (multiline && InputComponent === 'input') {\n if (rows) {\n if (process.env.NODE_ENV !== 'production') {\n if (minRows || maxRows) {\n console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');\n }\n }\n inputProps = _extends({\n type: undefined,\n minRows: rows,\n maxRows: rows\n }, inputProps);\n } else {\n inputProps = _extends({\n type: undefined,\n maxRows,\n minRows\n }, inputProps);\n }\n InputComponent = TextareaAutosize;\n }\n const handleAutoFill = event => {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty(event.animationName === 'mui-auto-fill-cancel' ? inputRef.current : {\n value: 'x'\n });\n };\n React.useEffect(() => {\n if (muiFormControl) {\n muiFormControl.setAdornedStart(Boolean(startAdornment));\n }\n }, [muiFormControl, startAdornment]);\n const ownerState = _extends({}, props, {\n color: fcs.color || 'primary',\n disabled: fcs.disabled,\n endAdornment,\n error: fcs.error,\n focused: fcs.focused,\n formControl: muiFormControl,\n fullWidth,\n hiddenLabel: fcs.hiddenLabel,\n multiline,\n size: fcs.size,\n startAdornment,\n type\n });\n const classes = useUtilityClasses(ownerState);\n const Root = slots.root || components.Root || InputBaseRoot;\n const rootProps = slotProps.root || componentsProps.root || {};\n const Input = slots.input || components.Input || InputBaseComponent;\n inputProps = _extends({}, inputProps, (_slotProps$input = slotProps.input) != null ? _slotProps$input : componentsProps.input);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {\n ownerState: _extends({}, ownerState, rootProps.ownerState)\n }, {\n ref: ref,\n onClick: handleClick\n }, other, {\n className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),\n children: [startAdornment, /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: null,\n children: /*#__PURE__*/_jsx(Input, _extends({\n ownerState: ownerState,\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n type: type\n }, inputProps, !isHostComponent(Input) && {\n as: InputComponent,\n ownerState: _extends({}, ownerState, inputProps.ownerState)\n }, {\n ref: handleInputRef,\n className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus\n }))\n }), endAdornment, renderSuffix ? renderSuffix(_extends({}, fcs, {\n startAdornment\n })) : null]\n }))]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `slots` prop.\n * It's recommended to use the `slots` prop instead.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `slotProps` prop.\n * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.\n * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.\n * @default false\n */\n disableInjectingGlobalStyles: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: elementTypeAcceptingRef,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the `input` is blurred.\n *\n * Notice that the first argument (event) might be undefined.\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * Callback fired when the `input` doesn't satisfy its constraints.\n */\n onInvalid: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The size of the component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default InputBase;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getInputBaseUtilityClass(slot) {\n return generateUtilityClass('MuiInputBase', slot);\n}\nconst inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);\nexport default inputBaseClasses;","// Supports determination of isControlled().\n// Controlled input accepts its current value as a prop.\n//\n// @see https://facebook.github.io/react/docs/forms.html#controlled-components\n// @param value\n// @returns {boolean} true if string (including '') or number (including zero)\nexport function hasValue(value) {\n return value != null && !(Array.isArray(value) && value.length === 0);\n}\n\n// Determine if field is empty or filled.\n// Response determines if label is presented above field or as placeholder.\n//\n// @param obj\n// @param SSR\n// @returns {boolean} False when not present or empty string.\n// True when any number or string with length.\nexport function isFilled(obj, SSR = false) {\n return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');\n}\n\n// Determine if an Input is adorned on start.\n// It's corresponding to the left with LTR.\n//\n// @param obj\n// @returns {boolean} False when no adornments.\n// True when adorned at the start.\nexport function isAdornedStart(obj) {\n return obj.startAdornment;\n}","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getFormLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiFormLabel', slot);\n}\nconst formLabelClasses = generateUtilityClasses('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);\nexport default formLabelClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"required\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport capitalize from '../utils/capitalize';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport formLabelClasses, { getFormLabelUtilityClasses } from './formLabelClasses';\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n focused,\n disabled,\n error,\n filled,\n required\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, disabled && 'disabled', error && 'error', filled && 'filled', focused && 'focused', required && 'required'],\n asterisk: ['asterisk', error && 'error']\n };\n return composeClasses(slots, getFormLabelUtilityClasses, classes);\n};\nexport const FormLabelRoot = styled('label', {\n name: 'MuiFormLabel',\n slot: 'Root',\n overridesResolver: ({\n ownerState\n }, styles) => {\n return _extends({}, styles.root, ownerState.color === 'secondary' && styles.colorSecondary, ownerState.filled && styles.filled);\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n color: (theme.vars || theme).palette.text.secondary\n}, theme.typography.body1, {\n lineHeight: '1.4375em',\n padding: 0,\n position: 'relative',\n [`&.${formLabelClasses.focused}`]: {\n color: (theme.vars || theme).palette[ownerState.color].main\n },\n [`&.${formLabelClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n },\n [`&.${formLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n}));\nconst AsteriskComponent = styled('span', {\n name: 'MuiFormLabel',\n slot: 'Asterisk',\n overridesResolver: (props, styles) => styles.asterisk\n})(({\n theme\n}) => ({\n [`&.${formLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n}));\nconst FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFormLabel'\n });\n const {\n children,\n className,\n component = 'label'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']\n });\n const ownerState = _extends({}, props, {\n color: fcs.color || 'primary',\n component,\n disabled: fcs.disabled,\n error: fcs.error,\n filled: fcs.filled,\n focused: fcs.focused,\n required: fcs.required\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(FormLabelRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: [children, fcs.required && /*#__PURE__*/_jsxs(AsteriskComponent, {\n ownerState: ownerState,\n \"aria-hidden\": true,\n className: classes.asterisk,\n children: [\"\\u2009\", '*']\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormLabel.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the label should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the label should use filled classes key.\n */\n filled: PropTypes.bool,\n /**\n * If `true`, the input of this label is focused (used by `FormGroup` components).\n */\n focused: PropTypes.bool,\n /**\n * If `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default FormLabel;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getInputLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiInputLabel', slot);\n}\nconst inputLabelClasses = generateUtilityClasses('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);\nexport default inputLabelClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"disableAnimation\", \"margin\", \"shrink\", \"variant\", \"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport FormLabel, { formLabelClasses } from '../FormLabel';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport { getInputLabelUtilityClasses } from './inputLabelClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n formControl,\n size,\n shrink,\n disableAnimation,\n variant,\n required\n } = ownerState;\n const slots = {\n root: ['root', formControl && 'formControl', !disableAnimation && 'animated', shrink && 'shrink', size === 'small' && 'sizeSmall', variant],\n asterisk: [required && 'asterisk']\n };\n const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);\n return _extends({}, classes, composedClasses);\n};\nconst InputLabelRoot = styled(FormLabel, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiInputLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formLabelClasses.asterisk}`]: styles.asterisk\n }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, styles[ownerState.variant]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'block',\n transformOrigin: 'top left',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%'\n}, ownerState.formControl && {\n position: 'absolute',\n left: 0,\n top: 0,\n // slight alteration to spec spacing to match visual spec result\n transform: 'translate(0, 20px) scale(1)'\n}, ownerState.size === 'small' && {\n // Compensation for the `Input.inputSizeSmall` style.\n transform: 'translate(0, 17px) scale(1)'\n}, ownerState.shrink && {\n transform: 'translate(0, -1.5px) scale(0.75)',\n transformOrigin: 'top left',\n maxWidth: '133%'\n}, !ownerState.disableAnimation && {\n transition: theme.transitions.create(['color', 'transform', 'max-width'], {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n })\n}, ownerState.variant === 'filled' && _extends({\n // Chrome's autofill feature gives the input field a yellow background.\n // Since the input field is behind the label in the HTML tree,\n // the input field is drawn last and hides the label with an opaque background color.\n // zIndex: 1 will raise the label above opaque background-colors of input.\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(12px, 16px) scale(1)',\n maxWidth: 'calc(100% - 24px)'\n}, ownerState.size === 'small' && {\n transform: 'translate(12px, 13px) scale(1)'\n}, ownerState.shrink && _extends({\n userSelect: 'none',\n pointerEvents: 'auto',\n transform: 'translate(12px, 7px) scale(0.75)',\n maxWidth: 'calc(133% - 24px)'\n}, ownerState.size === 'small' && {\n transform: 'translate(12px, 4px) scale(0.75)'\n})), ownerState.variant === 'outlined' && _extends({\n // see comment above on filled.zIndex\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(14px, 16px) scale(1)',\n maxWidth: 'calc(100% - 24px)'\n}, ownerState.size === 'small' && {\n transform: 'translate(14px, 9px) scale(1)'\n}, ownerState.shrink && {\n userSelect: 'none',\n pointerEvents: 'auto',\n // Theoretically, we should have (8+5)*2/0.75 = 34px\n // but it feels a better when it bleeds a bit on the left, so 32px.\n maxWidth: 'calc(133% - 32px)',\n transform: 'translate(14px, -9px) scale(0.75)'\n})));\nconst InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, ref) {\n const props = useThemeProps({\n name: 'MuiInputLabel',\n props: inProps\n });\n const {\n disableAnimation = false,\n shrink: shrinkProp,\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const muiFormControl = useFormControl();\n let shrink = shrinkProp;\n if (typeof shrink === 'undefined' && muiFormControl) {\n shrink = muiFormControl.filled || muiFormControl.focused || muiFormControl.adornedStart;\n }\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['size', 'variant', 'required']\n });\n const ownerState = _extends({}, props, {\n disableAnimation,\n formControl: muiFormControl,\n shrink,\n size: fcs.size,\n variant: fcs.variant,\n required: fcs.required\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(InputLabelRoot, _extends({\n \"data-shrink\": shrink,\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className)\n }, other, {\n classes: classes\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? InputLabel.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the transition animation is disabled.\n * @default false\n */\n disableAnimation: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` of this label is focused.\n */\n focused: PropTypes.bool,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n /**\n * if `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * If `true`, the label is shrunk.\n */\n shrink: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'normal'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['normal', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default InputLabel;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar _span;\nconst _excluded = [\"children\", \"classes\", \"className\", \"label\", \"notched\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from '../styles/styled';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst NotchedOutlineRoot = styled('fieldset')({\n textAlign: 'left',\n position: 'absolute',\n bottom: 0,\n right: 0,\n top: -5,\n left: 0,\n margin: 0,\n padding: '0 8px',\n pointerEvents: 'none',\n borderRadius: 'inherit',\n borderStyle: 'solid',\n borderWidth: 1,\n overflow: 'hidden',\n minWidth: '0%'\n});\nconst NotchedOutlineLegend = styled('legend')(({\n ownerState,\n theme\n}) => _extends({\n float: 'unset',\n // Fix conflict with bootstrap\n width: 'auto',\n // Fix conflict with bootstrap\n overflow: 'hidden'\n}, !ownerState.withLabel && {\n padding: 0,\n lineHeight: '11px',\n // sync with `height` in `legend` styles\n transition: theme.transitions.create('width', {\n duration: 150,\n easing: theme.transitions.easing.easeOut\n })\n}, ownerState.withLabel && _extends({\n display: 'block',\n // Fix conflict with normalize.css and sanitize.css\n padding: 0,\n height: 11,\n // sync with `lineHeight` in `legend` styles\n fontSize: '0.75em',\n visibility: 'hidden',\n maxWidth: 0.01,\n transition: theme.transitions.create('max-width', {\n duration: 50,\n easing: theme.transitions.easing.easeOut\n }),\n whiteSpace: 'nowrap',\n '& > span': {\n paddingLeft: 5,\n paddingRight: 5,\n display: 'inline-block',\n opacity: 0,\n visibility: 'visible'\n }\n}, ownerState.notched && {\n maxWidth: '100%',\n transition: theme.transitions.create('max-width', {\n duration: 100,\n easing: theme.transitions.easing.easeOut,\n delay: 50\n })\n})));\n\n/**\n * @ignore - internal component.\n */\nexport default function NotchedOutline(props) {\n const {\n className,\n label,\n notched\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const withLabel = label != null && label !== '';\n const ownerState = _extends({}, props, {\n notched,\n withLabel\n });\n return /*#__PURE__*/_jsx(NotchedOutlineRoot, _extends({\n \"aria-hidden\": true,\n className: className,\n ownerState: ownerState\n }, other, {\n children: /*#__PURE__*/_jsx(NotchedOutlineLegend, {\n ownerState: ownerState,\n children: withLabel ? /*#__PURE__*/_jsx(\"span\", {\n children: label\n }) : // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n }))\n })\n }));\n}\nprocess.env.NODE_ENV !== \"production\" ? NotchedOutline.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The label.\n */\n label: PropTypes.node,\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool.isRequired,\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nimport { inputBaseClasses } from '../InputBase';\nexport function getOutlinedInputUtilityClass(slot) {\n return generateUtilityClass('MuiOutlinedInput', slot);\n}\nconst outlinedInputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));\nexport default outlinedInputClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"components\", \"fullWidth\", \"inputComponent\", \"label\", \"multiline\", \"notched\", \"slots\", \"type\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { refType } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport NotchedOutline from './NotchedOutline';\nimport useFormControl from '../FormControl/useFormControl';\nimport formControlState from '../FormControl/formControlState';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport outlinedInputClasses, { getOutlinedInputUtilityClass } from './outlinedInputClasses';\nimport InputBase, { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseComponent as InputBaseInput } from '../InputBase/InputBase';\nimport useThemeProps from '../styles/useThemeProps';\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n notchedOutline: ['notchedOutline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);\n return _extends({}, classes, composedClasses);\n};\nconst OutlinedInputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiOutlinedInput',\n slot: 'Root',\n overridesResolver: inputBaseRootOverridesResolver\n})(({\n theme,\n ownerState\n}) => {\n const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return _extends({\n position: 'relative',\n borderRadius: (theme.vars || theme).shape.borderRadius,\n [`&:hover .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.text.primary\n },\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n [`&:hover .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor\n }\n },\n [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette[ownerState.color].main,\n borderWidth: 2\n },\n [`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.error.main\n },\n [`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.action.disabled\n }\n }, ownerState.startAdornment && {\n paddingLeft: 14\n }, ownerState.endAdornment && {\n paddingRight: 14\n }, ownerState.multiline && _extends({\n padding: '16.5px 14px'\n }, ownerState.size === 'small' && {\n padding: '8.5px 14px'\n }));\n});\nconst NotchedOutlineRoot = styled(NotchedOutline, {\n name: 'MuiOutlinedInput',\n slot: 'NotchedOutline',\n overridesResolver: (props, styles) => styles.notchedOutline\n})(({\n theme\n}) => {\n const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor\n };\n});\nconst OutlinedInputInput = styled(InputBaseInput, {\n name: 'MuiOutlinedInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})(({\n theme,\n ownerState\n}) => _extends({\n padding: '16.5px 14px'\n}, !theme.vars && {\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',\n WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',\n caretColor: theme.palette.mode === 'light' ? null : '#fff',\n borderRadius: 'inherit'\n }\n}, theme.vars && {\n '&:-webkit-autofill': {\n borderRadius: 'inherit'\n },\n [theme.getColorSchemeSelector('dark')]: {\n '&:-webkit-autofill': {\n WebkitBoxShadow: '0 0 0 100px #266798 inset',\n WebkitTextFillColor: '#fff',\n caretColor: '#fff'\n }\n }\n}, ownerState.size === 'small' && {\n padding: '8.5px 14px'\n}, ownerState.multiline && {\n padding: 0\n}, ownerState.startAdornment && {\n paddingLeft: 0\n}, ownerState.endAdornment && {\n paddingRight: 0\n}));\nconst OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {\n var _ref, _slots$root, _ref2, _slots$input, _React$Fragment;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiOutlinedInput'\n });\n const {\n components = {},\n fullWidth = false,\n inputComponent = 'input',\n label,\n multiline = false,\n notched,\n slots = {},\n type = 'text'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const classes = useUtilityClasses(props);\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['required']\n });\n const ownerState = _extends({}, props, {\n color: fcs.color || 'primary',\n disabled: fcs.disabled,\n error: fcs.error,\n focused: fcs.focused,\n formControl: muiFormControl,\n fullWidth,\n hiddenLabel: fcs.hiddenLabel,\n multiline,\n size: fcs.size,\n type\n });\n const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : OutlinedInputRoot;\n const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : OutlinedInputInput;\n return /*#__PURE__*/_jsx(InputBase, _extends({\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n renderSuffix: state => /*#__PURE__*/_jsx(NotchedOutlineRoot, {\n ownerState: ownerState,\n className: classes.notchedOutline,\n label: label != null && label !== '' && fcs.required ? _React$Fragment || (_React$Fragment = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [label, \"\\u2009\", '*']\n })) : label,\n notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other, {\n classes: _extends({}, classes, {\n notchedOutline: null\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? OutlinedInput.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `slots` prop.\n * It's recommended to use the `slots` prop instead.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label of the `input`. It is only used for layout. The actual labelling\n * is handled by `InputLabel`.\n */\n label: PropTypes.node,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nOutlinedInput.muiName = 'Input';\nexport default OutlinedInput;","import { unstable_getScrollbarSize as getScrollbarSize } from '@mui/utils';\nexport default getScrollbarSize;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"actions\", \"autoFocus\", \"autoFocusItem\", \"children\", \"className\", \"disabledItemsFocusable\", \"disableListWrap\", \"onKeyDown\", \"variant\"];\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport ownerDocument from '../utils/ownerDocument';\nimport List from '../List';\nimport getScrollbarSize from '../utils/getScrollbarSize';\nimport useForkRef from '../utils/useForkRef';\nimport useEnhancedEffect from '../utils/useEnhancedEffect';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction nextItem(list, item, disableListWrap) {\n if (list === item) {\n return list.firstChild;\n }\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n return disableListWrap ? null : list.firstChild;\n}\nfunction previousItem(list, item, disableListWrap) {\n if (list === item) {\n return disableListWrap ? list.firstChild : list.lastChild;\n }\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n return disableListWrap ? null : list.lastChild;\n}\nfunction textCriteriaMatches(nextFocus, textCriteria) {\n if (textCriteria === undefined) {\n return true;\n }\n let text = nextFocus.innerText;\n if (text === undefined) {\n // jsdom doesn't support innerText\n text = nextFocus.textContent;\n }\n text = text.trim().toLowerCase();\n if (text.length === 0) {\n return false;\n }\n if (textCriteria.repeating) {\n return text[0] === textCriteria.keys[0];\n }\n return text.indexOf(textCriteria.keys.join('')) === 0;\n}\nfunction moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, traversalFunction, textCriteria) {\n let wrappedOnce = false;\n let nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return false;\n }\n wrappedOnce = true;\n }\n\n // Same logic as useAutocomplete.js\n const nextFocusDisabled = disabledItemsFocusable ? false : nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n if (!nextFocus.hasAttribute('tabindex') || !textCriteriaMatches(nextFocus, textCriteria) || nextFocusDisabled) {\n // Move to the next element.\n nextFocus = traversalFunction(list, nextFocus, disableListWrap);\n } else {\n nextFocus.focus();\n return true;\n }\n }\n return false;\n}\n\n/**\n * A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.\n * It's exposed to help customization of the [`Menu`](/material-ui/api/menu/) component if you\n * use it separately you need to move focus into the component manually. Once\n * the focus is placed inside the component it is fully keyboard accessible.\n */\nconst MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {\n const {\n // private\n // eslint-disable-next-line react/prop-types\n actions,\n autoFocus = false,\n autoFocusItem = false,\n children,\n className,\n disabledItemsFocusable = false,\n disableListWrap = false,\n onKeyDown,\n variant = 'selectedMenu'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const listRef = React.useRef(null);\n const textCriteriaRef = React.useRef({\n keys: [],\n repeating: true,\n previousKeyMatched: true,\n lastTime: null\n });\n useEnhancedEffect(() => {\n if (autoFocus) {\n listRef.current.focus();\n }\n }, [autoFocus]);\n React.useImperativeHandle(actions, () => ({\n adjustStyleForScrollbar: (containerElement, theme) => {\n // Let's ignore that piece of logic if users are already overriding the width\n // of the menu.\n const noExplicitWidth = !listRef.current.style.width;\n if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n const scrollbarSize = `${getScrollbarSize(ownerDocument(containerElement))}px`;\n listRef.current.style[theme.direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;\n listRef.current.style.width = `calc(100% + ${scrollbarSize})`;\n }\n return listRef.current;\n }\n }), []);\n const handleKeyDown = event => {\n const list = listRef.current;\n const key = event.key;\n /**\n * @type {Element} - will always be defined since we are in a keydown handler\n * attached to an element. A keydown event is either dispatched to the activeElement\n * or document.body or document.documentElement. Only the first case will\n * trigger this specific handler.\n */\n const currentFocus = ownerDocument(list).activeElement;\n if (key === 'ArrowDown') {\n // Prevent scroll of the page\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'ArrowUp') {\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key === 'Home') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'End') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key.length === 1) {\n const criteria = textCriteriaRef.current;\n const lowerKey = key.toLowerCase();\n const currTime = performance.now();\n if (criteria.keys.length > 0) {\n // Reset\n if (currTime - criteria.lastTime > 500) {\n criteria.keys = [];\n criteria.repeating = true;\n criteria.previousKeyMatched = true;\n } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n criteria.repeating = false;\n }\n }\n criteria.lastTime = currTime;\n criteria.keys.push(lowerKey);\n const keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, disabledItemsFocusable, nextItem, criteria))) {\n event.preventDefault();\n } else {\n criteria.previousKeyMatched = false;\n }\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n const handleRef = useForkRef(listRef, ref);\n\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n let activeItemIndex = -1;\n // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n React.Children.forEach(children, (child, index) => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n if (activeItemIndex === index) {\n activeItemIndex += 1;\n if (activeItemIndex >= children.length) {\n // there are no focusable items within the list.\n activeItemIndex = -1;\n }\n }\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n if (!child.props.disabled) {\n if (variant === 'selectedMenu' && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n if (activeItemIndex === index && (child.props.disabled || child.props.muiSkipListHighlight || child.type.muiSkipListHighlight)) {\n activeItemIndex += 1;\n if (activeItemIndex >= children.length) {\n // there are no focusable items within the list.\n activeItemIndex = -1;\n }\n }\n });\n const items = React.Children.map(children, (child, index) => {\n if (index === activeItemIndex) {\n const newChildProps = {};\n if (autoFocusItem) {\n newChildProps.autoFocus = true;\n }\n if (child.props.tabIndex === undefined && variant === 'selectedMenu') {\n newChildProps.tabIndex = 0;\n }\n return /*#__PURE__*/React.cloneElement(child, newChildProps);\n }\n return child;\n });\n return /*#__PURE__*/_jsx(List, _extends({\n role: \"menu\",\n ref: handleRef,\n className: className,\n onKeyDown: handleKeyDown,\n tabIndex: autoFocus ? 0 : -1\n }, other, {\n children: items\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuList.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, will focus the `[role=\"menu\"]` container and move into tab order.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, will focus the first menuitem if `variant=\"menu\"` or selected item\n * if `variant=\"selectedMenu\"`.\n * @default false\n */\n autoFocusItem: PropTypes.bool,\n /**\n * MenuList contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, will allow focus on disabled items.\n * @default false\n */\n disabledItemsFocusable: PropTypes.bool,\n /**\n * If `true`, the menu items will not wrap focus.\n * @default false\n */\n disableListWrap: PropTypes.bool,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n * @default 'selectedMenu'\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default MenuList;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getPopoverUtilityClass(slot) {\n return generateUtilityClass('MuiPopover', slot);\n}\nconst popoverClasses = generateUtilityClasses('MuiPopover', ['root', 'paper']);\nexport default popoverClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onEntering\"],\n _excluded2 = [\"action\", \"anchorEl\", \"anchorOrigin\", \"anchorPosition\", \"anchorReference\", \"children\", \"className\", \"container\", \"elevation\", \"marginThreshold\", \"open\", \"PaperProps\", \"slots\", \"slotProps\", \"transformOrigin\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"],\n _excluded3 = [\"slotProps\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses, useSlotProps, isHostComponent } from '@mui/base';\nimport { chainPropTypes, integerPropType, elementTypeAcceptingRef, refType, HTMLElementType } from '@mui/utils';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport debounce from '../utils/debounce';\nimport ownerDocument from '../utils/ownerDocument';\nimport ownerWindow from '../utils/ownerWindow';\nimport useForkRef from '../utils/useForkRef';\nimport Grow from '../Grow';\nimport Modal from '../Modal';\nimport PaperBase from '../Paper';\nimport { getPopoverUtilityClass } from './popoverClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function getOffsetTop(rect, vertical) {\n let offset = 0;\n if (typeof vertical === 'number') {\n offset = vertical;\n } else if (vertical === 'center') {\n offset = rect.height / 2;\n } else if (vertical === 'bottom') {\n offset = rect.height;\n }\n return offset;\n}\nexport function getOffsetLeft(rect, horizontal) {\n let offset = 0;\n if (typeof horizontal === 'number') {\n offset = horizontal;\n } else if (horizontal === 'center') {\n offset = rect.width / 2;\n } else if (horizontal === 'right') {\n offset = rect.width;\n }\n return offset;\n}\nfunction getTransformOriginValue(transformOrigin) {\n return [transformOrigin.horizontal, transformOrigin.vertical].map(n => typeof n === 'number' ? `${n}px` : n).join(' ');\n}\nfunction resolveAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n paper: ['paper']\n };\n return composeClasses(slots, getPopoverUtilityClass, classes);\n};\nexport const PopoverRoot = styled(Modal, {\n name: 'MuiPopover',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\nexport const PopoverPaper = styled(PaperBase, {\n name: 'MuiPopover',\n slot: 'Paper',\n overridesResolver: (props, styles) => styles.paper\n})({\n position: 'absolute',\n overflowY: 'auto',\n overflowX: 'hidden',\n // So we see the popover when it's empty.\n // It's most likely on issue on userland.\n minWidth: 16,\n minHeight: 16,\n maxWidth: 'calc(100% - 32px)',\n maxHeight: 'calc(100% - 32px)',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n});\nconst Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {\n var _slotProps$paper, _slots$root, _slots$paper;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPopover'\n });\n const {\n action,\n anchorEl,\n anchorOrigin = {\n vertical: 'top',\n horizontal: 'left'\n },\n anchorPosition,\n anchorReference = 'anchorEl',\n children,\n className,\n container: containerProp,\n elevation = 8,\n marginThreshold = 16,\n open,\n PaperProps: PaperPropsProp = {},\n slots,\n slotProps,\n transformOrigin = {\n vertical: 'top',\n horizontal: 'left'\n },\n TransitionComponent = Grow,\n transitionDuration: transitionDurationProp = 'auto',\n TransitionProps: {\n onEntering\n } = {}\n } = props,\n TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded),\n other = _objectWithoutPropertiesLoose(props, _excluded2);\n const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;\n const paperRef = React.useRef();\n const handlePaperRef = useForkRef(paperRef, externalPaperSlotProps.ref);\n const ownerState = _extends({}, props, {\n anchorOrigin,\n anchorReference,\n elevation,\n marginThreshold,\n externalPaperSlotProps,\n transformOrigin,\n TransitionComponent,\n transitionDuration: transitionDurationProp,\n TransitionProps\n });\n const classes = useUtilityClasses(ownerState);\n\n // Returns the top/left offset of the position\n // to attach to on the anchor element (or body if none is provided)\n const getAnchorOffset = React.useCallback(() => {\n if (anchorReference === 'anchorPosition') {\n if (process.env.NODE_ENV !== 'production') {\n if (!anchorPosition) {\n console.error('MUI: You need to provide a `anchorPosition` prop when using ' + '.');\n }\n }\n return anchorPosition;\n }\n const resolvedAnchorEl = resolveAnchorEl(anchorEl);\n\n // If an anchor element wasn't provided, just use the parent body element of this Popover\n const anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : ownerDocument(paperRef.current).body;\n const anchorRect = anchorElement.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'production') {\n const box = anchorElement.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n return {\n top: anchorRect.top + getOffsetTop(anchorRect, anchorOrigin.vertical),\n left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)\n };\n }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]);\n\n // Returns the base transform origin using the element\n const getTransformOrigin = React.useCallback(elemRect => {\n return {\n vertical: getOffsetTop(elemRect, transformOrigin.vertical),\n horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)\n };\n }, [transformOrigin.horizontal, transformOrigin.vertical]);\n const getPositioningStyle = React.useCallback(element => {\n const elemRect = {\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n\n // Get the transform origin point on the element itself\n const elemTransformOrigin = getTransformOrigin(elemRect);\n if (anchorReference === 'none') {\n return {\n top: null,\n left: null,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }\n\n // Get the offset of the anchoring element\n const anchorOffset = getAnchorOffset();\n\n // Calculate element positioning\n let top = anchorOffset.top - elemTransformOrigin.vertical;\n let left = anchorOffset.left - elemTransformOrigin.horizontal;\n const bottom = top + elemRect.height;\n const right = left + elemRect.width;\n\n // Use the parent window of the anchorEl if provided\n const containerWindow = ownerWindow(resolveAnchorEl(anchorEl));\n\n // Window thresholds taking required margin into account\n const heightThreshold = containerWindow.innerHeight - marginThreshold;\n const widthThreshold = containerWindow.innerWidth - marginThreshold;\n\n // Check if the vertical axis needs shifting\n if (top < marginThreshold) {\n const diff = top - marginThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n } else if (bottom > heightThreshold) {\n const diff = bottom - heightThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {\n console.error(['MUI: The popover component is too tall.', `Some part of it can not be seen on the screen (${elemRect.height - heightThreshold}px).`, 'Please consider adding a `max-height` to improve the user-experience.'].join('\\n'));\n }\n }\n\n // Check if the horizontal axis needs shifting\n if (left < marginThreshold) {\n const diff = left - marginThreshold;\n left -= diff;\n elemTransformOrigin.horizontal += diff;\n } else if (right > widthThreshold) {\n const diff = right - widthThreshold;\n left -= diff;\n elemTransformOrigin.horizontal += diff;\n }\n return {\n top: `${Math.round(top)}px`,\n left: `${Math.round(left)}px`,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }, [anchorEl, anchorReference, getAnchorOffset, getTransformOrigin, marginThreshold]);\n const [isPositioned, setIsPositioned] = React.useState(open);\n const setPositioningStyles = React.useCallback(() => {\n const element = paperRef.current;\n if (!element) {\n return;\n }\n const positioning = getPositioningStyle(element);\n if (positioning.top !== null) {\n element.style.top = positioning.top;\n }\n if (positioning.left !== null) {\n element.style.left = positioning.left;\n }\n element.style.transformOrigin = positioning.transformOrigin;\n setIsPositioned(true);\n }, [getPositioningStyle]);\n const handleEntering = (element, isAppearing) => {\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n setPositioningStyles();\n };\n const handleExited = () => {\n setIsPositioned(false);\n };\n React.useEffect(() => {\n if (open) {\n setPositioningStyles();\n }\n });\n React.useImperativeHandle(action, () => open ? {\n updatePosition: () => {\n setPositioningStyles();\n }\n } : null, [open, setPositioningStyles]);\n React.useEffect(() => {\n if (!open) {\n return undefined;\n }\n const handleResize = debounce(() => {\n setPositioningStyles();\n });\n const containerWindow = ownerWindow(anchorEl);\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [anchorEl, open, setPositioningStyles]);\n let transitionDuration = transitionDurationProp;\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n }\n\n // If the container prop is provided, use that\n // If the anchorEl prop is provided, use its parent body element as the container\n // If neither are provided let the Modal take care of choosing the container\n const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl(anchorEl)).body : undefined);\n const RootSlot = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : PopoverRoot;\n const PaperSlot = (_slots$paper = slots == null ? void 0 : slots.paper) != null ? _slots$paper : PopoverPaper;\n const paperProps = useSlotProps({\n elementType: PaperSlot,\n externalSlotProps: _extends({}, externalPaperSlotProps, {\n style: isPositioned ? externalPaperSlotProps.style : _extends({}, externalPaperSlotProps.style, {\n opacity: 0\n })\n }),\n additionalProps: {\n elevation,\n ref: handlePaperRef\n },\n ownerState,\n className: clsx(classes.paper, externalPaperSlotProps == null ? void 0 : externalPaperSlotProps.className)\n });\n const _useSlotProps = useSlotProps({\n elementType: RootSlot,\n externalSlotProps: (slotProps == null ? void 0 : slotProps.root) || {},\n externalForwardedProps: other,\n additionalProps: {\n ref,\n slotProps: {\n backdrop: {\n invisible: true\n }\n },\n container,\n open\n },\n ownerState,\n className: clsx(classes.root, className)\n }),\n {\n slotProps: rootSlotPropsProp\n } = _useSlotProps,\n rootProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded3);\n return /*#__PURE__*/_jsx(RootSlot, _extends({}, rootProps, !isHostComponent(RootSlot) && {\n slotProps: rootSlotPropsProp\n }, {\n children: /*#__PURE__*/_jsx(TransitionComponent, _extends({\n appear: true,\n in: open,\n onEntering: handleEntering,\n onExited: handleExited,\n timeout: transitionDuration\n }, TransitionProps, {\n children: /*#__PURE__*/_jsx(PaperSlot, _extends({}, paperProps, {\n children: children\n }))\n }))\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Popover.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * A ref for imperative actions.\n * It currently only supports updatePosition() action.\n */\n action: refType,\n /**\n * An HTML element, or a function that returns one.\n * It's used to set the position of the popover.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), props => {\n if (props.open && (!props.anchorReference || props.anchorReference === 'anchorEl')) {\n const resolvedAnchorEl = resolveAnchorEl(props.anchorEl);\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n const box = resolvedAnchorEl.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', `It should be an Element instance but it's \\`${resolvedAnchorEl}\\` instead.`].join('\\n'));\n }\n }\n return null;\n }),\n /**\n * This is the point on the anchor where the popover's\n * `anchorEl` will attach to. This is not used when the\n * anchorReference is 'anchorPosition'.\n *\n * Options:\n * vertical: [top, center, bottom];\n * horizontal: [left, center, right].\n * @default {\n * vertical: 'top',\n * horizontal: 'left',\n * }\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n /**\n * This is the position that may be used to set the position of the popover.\n * The coordinates are relative to the application's client area.\n */\n anchorPosition: PropTypes.shape({\n left: PropTypes.number.isRequired,\n top: PropTypes.number.isRequired\n }),\n /**\n * This determines which anchor prop to refer to when setting\n * the position of the popover.\n * @default 'anchorEl'\n */\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * An HTML element, component instance, or function that returns either.\n * The `container` will passed to the Modal component.\n *\n * By default, it uses the body of the anchorEl's top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * The elevation of the popover.\n * @default 8\n */\n elevation: integerPropType,\n /**\n * Specifies how close to the edge of the window the popover can appear.\n * @default 16\n */\n marginThreshold: PropTypes.number,\n /**\n * Callback fired when the component requests to be closed.\n * The `reason` parameter can optionally be used to control the response to `onClose`.\n */\n onClose: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * Props applied to the [`Paper`](/material-ui/api/paper/) element.\n *\n * This prop is an alias for `slotProps.paper` and will be overriden by it if both are used.\n * @deprecated Use `slotProps.paper` instead.\n *\n * @default {}\n */\n PaperProps: PropTypes /* @typescript-to-proptypes-ignore */.shape({\n component: elementTypeAcceptingRef\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n paper: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * This is the point on the popover which\n * will attach to the anchor's origin.\n *\n * Options:\n * vertical: [top, center, bottom, x(px)];\n * horizontal: [left, center, right, x(px)].\n * @default {\n * vertical: 'top',\n * horizontal: 'left',\n * }\n */\n transformOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n /**\n * The component used for the transition.\n * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Grow\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.\n * @default {}\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default Popover;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getMenuUtilityClass(slot) {\n return generateUtilityClass('MuiMenu', slot);\n}\nconst menuClasses = generateUtilityClasses('MuiMenu', ['root', 'paper', 'list']);\nexport default menuClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onEntering\"],\n _excluded2 = [\"autoFocus\", \"children\", \"disableAutoFocusItem\", \"MenuListProps\", \"onClose\", \"open\", \"PaperProps\", \"PopoverClasses\", \"transitionDuration\", \"TransitionProps\", \"variant\"];\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { HTMLElementType } from '@mui/utils';\nimport MenuList from '../MenuList';\nimport Popover, { PopoverPaper } from '../Popover';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport useTheme from '../styles/useTheme';\nimport useThemeProps from '../styles/useThemeProps';\nimport { getMenuUtilityClass } from './menuClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RTL_ORIGIN = {\n vertical: 'top',\n horizontal: 'right'\n};\nconst LTR_ORIGIN = {\n vertical: 'top',\n horizontal: 'left'\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n paper: ['paper'],\n list: ['list']\n };\n return composeClasses(slots, getMenuUtilityClass, classes);\n};\nconst MenuRoot = styled(Popover, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiMenu',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\nexport const MenuPaper = styled(PopoverPaper, {\n name: 'MuiMenu',\n slot: 'Paper',\n overridesResolver: (props, styles) => styles.paper\n})({\n // specZ: The maximum height of a simple menu should be one or more rows less than the view\n // height. This ensures a tappable area outside of the simple menu with which to dismiss\n // the menu.\n maxHeight: 'calc(100% - 96px)',\n // Add iOS momentum scrolling for iOS < 13.0\n WebkitOverflowScrolling: 'touch'\n});\nconst MenuMenuList = styled(MenuList, {\n name: 'MuiMenu',\n slot: 'List',\n overridesResolver: (props, styles) => styles.list\n})({\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n});\nconst Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiMenu'\n });\n const {\n autoFocus = true,\n children,\n disableAutoFocusItem = false,\n MenuListProps = {},\n onClose,\n open,\n PaperProps = {},\n PopoverClasses,\n transitionDuration = 'auto',\n TransitionProps: {\n onEntering\n } = {},\n variant = 'selectedMenu'\n } = props,\n TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded),\n other = _objectWithoutPropertiesLoose(props, _excluded2);\n const theme = useTheme();\n const isRtl = theme.direction === 'rtl';\n const ownerState = _extends({}, props, {\n autoFocus,\n disableAutoFocusItem,\n MenuListProps,\n onEntering,\n PaperProps,\n transitionDuration,\n TransitionProps,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const autoFocusItem = autoFocus && !disableAutoFocusItem && open;\n const menuListActionsRef = React.useRef(null);\n const handleEntering = (element, isAppearing) => {\n if (menuListActionsRef.current) {\n menuListActionsRef.current.adjustStyleForScrollbar(element, theme);\n }\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n };\n const handleListKeyDown = event => {\n if (event.key === 'Tab') {\n event.preventDefault();\n if (onClose) {\n onClose(event, 'tabKeyDown');\n }\n }\n };\n\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n let activeItemIndex = -1;\n // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n React.Children.map(children, (child, index) => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n if (!child.props.disabled) {\n if (variant === 'selectedMenu' && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n });\n return /*#__PURE__*/_jsx(MenuRoot, _extends({\n onClose: onClose,\n anchorOrigin: {\n vertical: 'bottom',\n horizontal: isRtl ? 'right' : 'left'\n },\n transformOrigin: isRtl ? RTL_ORIGIN : LTR_ORIGIN,\n slots: {\n paper: MenuPaper\n },\n slotProps: {\n paper: _extends({}, PaperProps, {\n classes: _extends({}, PaperProps.classes, {\n root: classes.paper\n })\n })\n },\n className: classes.root,\n open: open,\n ref: ref,\n transitionDuration: transitionDuration,\n TransitionProps: _extends({\n onEntering: handleEntering\n }, TransitionProps),\n ownerState: ownerState\n }, other, {\n classes: PopoverClasses,\n children: /*#__PURE__*/_jsx(MenuMenuList, _extends({\n onKeyDown: handleListKeyDown,\n actions: menuListActionsRef,\n autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),\n autoFocusItem: autoFocusItem,\n variant: variant\n }, MenuListProps, {\n className: clsx(classes.list, MenuListProps.className),\n children: children\n }))\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Menu.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * An HTML element, or a function that returns one.\n * It's used to set the position of the menu.\n */\n anchorEl: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * If `true` (Default) will focus the `[role=\"menu\"]` if no focusable child is found. Disabled\n * children are not focusable. If you set this prop to `false` focus will be placed\n * on the parent modal container. This has severe accessibility implications\n * and should only be considered if you manage focus otherwise.\n * @default true\n */\n autoFocus: PropTypes.bool,\n /**\n * Menu contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * When opening the menu will not focus the active item but the `[role=\"menu\"]`\n * unless `autoFocus` is also set to `false`. Not using the default means not\n * following WAI-ARIA authoring practices. Please be considerate about possible\n * accessibility implications.\n * @default false\n */\n disableAutoFocusItem: PropTypes.bool,\n /**\n * Props applied to the [`MenuList`](/material-ui/api/menu-list/) element.\n * @default {}\n */\n MenuListProps: PropTypes.object,\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`, `\"tabKeyDown\"`.\n */\n onClose: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * @ignore\n */\n PaperProps: PropTypes.object,\n /**\n * `classes` prop applied to the [`Popover`](/material-ui/api/popover/) element.\n */\n PopoverClasses: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The length of the transition in `ms`, or 'auto'\n * @default 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.\n * @default {}\n */\n TransitionProps: PropTypes.object,\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus.\n * @default 'selectedMenu'\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default Menu;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getNativeSelectUtilityClasses(slot) {\n return generateUtilityClass('MuiNativeSelect', slot);\n}\nconst nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);\nexport default nativeSelectClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"disabled\", \"error\", \"IconComponent\", \"inputRef\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport capitalize from '../utils/capitalize';\nimport nativeSelectClasses, { getNativeSelectUtilityClasses } from './nativeSelectClasses';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n disabled,\n multiple,\n open,\n error\n } = ownerState;\n const slots = {\n select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],\n icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled']\n };\n return composeClasses(slots, getNativeSelectUtilityClasses, classes);\n};\nexport const nativeSelectSelectStyles = ({\n ownerState,\n theme\n}) => _extends({\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n // When interacting quickly, the text can end up selected.\n // Native select can't be selected either.\n userSelect: 'none',\n borderRadius: 0,\n // Reset\n cursor: 'pointer',\n '&:focus': _extends({}, theme.vars ? {\n backgroundColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.05)`\n } : {\n backgroundColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)'\n }, {\n borderRadius: 0 // Reset Chrome style\n }),\n\n // Remove IE11 arrow\n '&::-ms-expand': {\n display: 'none'\n },\n [`&.${nativeSelectClasses.disabled}`]: {\n cursor: 'default'\n },\n '&[multiple]': {\n height: 'auto'\n },\n '&:not([multiple]) option, &:not([multiple]) optgroup': {\n backgroundColor: (theme.vars || theme).palette.background.paper\n },\n // Bump specificity to allow extending custom inputs\n '&&&': {\n paddingRight: 24,\n minWidth: 16 // So it doesn't collapse.\n }\n}, ownerState.variant === 'filled' && {\n '&&&': {\n paddingRight: 32\n }\n}, ownerState.variant === 'outlined' && {\n borderRadius: (theme.vars || theme).shape.borderRadius,\n '&:focus': {\n borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style\n },\n\n '&&&': {\n paddingRight: 32\n }\n});\nconst NativeSelectSelect = styled('select', {\n name: 'MuiNativeSelect',\n slot: 'Select',\n shouldForwardProp: rootShouldForwardProp,\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.select, styles[ownerState.variant], ownerState.error && styles.error, {\n [`&.${nativeSelectClasses.multiple}`]: styles.multiple\n }];\n }\n})(nativeSelectSelectStyles);\nexport const nativeSelectIconStyles = ({\n ownerState,\n theme\n}) => _extends({\n // We use a position absolute over a flexbox in order to forward the pointer events\n // to the input and to support wrapping tags..\n position: 'absolute',\n right: 0,\n top: 'calc(50% - .5em)',\n // Center vertically, height is 1em\n pointerEvents: 'none',\n // Don't block pointer events on the select under the icon.\n color: (theme.vars || theme).palette.action.active,\n [`&.${nativeSelectClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n }\n}, ownerState.open && {\n transform: 'rotate(180deg)'\n}, ownerState.variant === 'filled' && {\n right: 7\n}, ownerState.variant === 'outlined' && {\n right: 7\n});\nconst NativeSelectIcon = styled('svg', {\n name: 'MuiNativeSelect',\n slot: 'Icon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.icon, ownerState.variant && styles[`icon${capitalize(ownerState.variant)}`], ownerState.open && styles.iconOpen];\n }\n})(nativeSelectIconStyles);\n\n/**\n * @ignore - internal component.\n */\nconst NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInput(props, ref) {\n const {\n className,\n disabled,\n error,\n IconComponent,\n inputRef,\n variant = 'standard'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n disabled,\n variant,\n error\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(NativeSelectSelect, _extends({\n ownerState: ownerState,\n className: clsx(classes.select, className),\n disabled: disabled,\n ref: inputRef || ref\n }, other)), props.multiple ? null : /*#__PURE__*/_jsx(NativeSelectIcon, {\n as: IconComponent,\n ownerState: ownerState,\n className: classes.icon\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelectInput.propTypes = {\n /**\n * The option elements to populate the select with.\n * Can be some `