From 2773225ff9ae969c28c15ab29c8ffdb56235d947 Mon Sep 17 00:00:00 2001 From: omkieit Date: Wed, 4 Sep 2024 06:22:26 +0530 Subject: [PATCH] done --- ef-api/controllers/user.js | 77 ++ ef-api/index.js | 57 ++ ef-api/models/user.js | 18 + ef-api/package-lock.json | 1271 +++++++++++++++++++++++++ ef-api/package.json | 24 + ef-api/routes/user.js | 11 + ef-ui/dist/assets/index-BWSzxPyA.js | 67 -- ef-ui/dist/assets/index-Ckttlw5i.js | 80 ++ ef-ui/dist/index.html | 2 +- ef-ui/package-lock.json | 362 ++++++- ef-ui/package.json | 9 +- ef-ui/src/components/Login.jsx | 91 +- ef-ui/src/components/Register.jsx | 136 ++- ef-ui/src/main.jsx | 13 +- ef-ui/src/redux/api.js | 20 + ef-ui/src/redux/features/authSlice.js | 85 ++ ef-ui/src/redux/store.js | 10 + ef-ui/vite.config.js | 10 + 18 files changed, 2215 insertions(+), 128 deletions(-) create mode 100644 ef-api/controllers/user.js create mode 100644 ef-api/index.js create mode 100644 ef-api/models/user.js create mode 100644 ef-api/package-lock.json create mode 100644 ef-api/package.json create mode 100644 ef-api/routes/user.js delete mode 100644 ef-ui/dist/assets/index-BWSzxPyA.js create mode 100644 ef-ui/dist/assets/index-Ckttlw5i.js create mode 100644 ef-ui/src/redux/api.js create mode 100644 ef-ui/src/redux/features/authSlice.js create mode 100644 ef-ui/src/redux/store.js diff --git a/ef-api/controllers/user.js b/ef-api/controllers/user.js new file mode 100644 index 0000000..bb14cdc --- /dev/null +++ b/ef-api/controllers/user.js @@ -0,0 +1,77 @@ +import dotenv from "dotenv"; +import UserModal from "../models/user.js"; +import bcrypt from "bcryptjs"; +import jwt from "jsonwebtoken"; + +dotenv.config(); +const secret = process.env.SECRET_KEY; + +// This is signup +export const signup = async (req, res) => { + const { email, password, firstName, lastName } = req.body; + + try { + // Check if user already exists + const oldUser = await UserModal.findOne({ email }); + if (oldUser) { + return res.status(400).json({ message: "User already exists" }); + } + + // Hash the password + const hashedPassword = await bcrypt.hash(password, 12); + + // Create new user + const result = await UserModal.create({ + email, + password: hashedPassword, + firstName, + lastName, + }); + + // Generate JWT (if needed) + const token = jwt.sign({ email: result.email, id: result._id }, secret, { expiresIn: "7h" }); + + // Save the token in the user's tokens array + result.tokens.push({ token }); + // Save the user + await result.save(); + + + // console.log("ss", result) + + // Send the user info and token back to the client + res.status(201).json({ result, token }); + + } catch (error) { + console.error(error); + res.status(500).json({ message: "Something went wrong" }); + } +}; + +export const signin = async (req, res) => { + const { email, password } = req.body; + + try { + const oldUser = await UserModal.findOne({ email }); + if (!oldUser) + return res.status(404).json({ message: "User doesn't exist" }); + + const isPasswordCorrect = await bcrypt.compare(password, oldUser.password); + + if (!isPasswordCorrect) + return res.status(400).json({ message: "Invalid credentials" }); + + // if (!oldUser.verified) { + // return res.status(401).json({ message: "User is not verified" }); + // } + + const token = jwt.sign({ email: oldUser.email, id: oldUser._id }, secret, { + expiresIn: "8h", + }); + + res.status(200).json({ result: oldUser, token }); + } catch (error) { + res.status(500).json({ message: "Something went wrong" }); + console.log(error); + } +}; \ No newline at end of file diff --git a/ef-api/index.js b/ef-api/index.js new file mode 100644 index 0000000..4b03da8 --- /dev/null +++ b/ef-api/index.js @@ -0,0 +1,57 @@ +import express from "express"; +import mongoose from "mongoose"; +import cors from "cors"; +import morgan from "morgan"; +import session from "express-session"; +import userRouter from "./routes/user.js"; +import dotenv from "dotenv"; + + + +const app = express(); +dotenv.config(); + +app.use(morgan("dev")); +app.use(express.json({ limit: "30mb", extended: true })); +app.use(express.urlencoded({ limit: "30mb", extended: true })); +app.use(cors()); + +app.use( + session({ + secret: process.env.SECRET_KEY, + resave: false, + saveUninitialized: true, + }) +); + +app.use("/users", userRouter); + +app.get("/", (req, res) => { + res.send("Welcome to EF-API"); +}); + +const port = process.env.PORT || 5000; + + +// Connect to the database +const dbConnectionPromise = mongoose.connect(process.env.DB_ACCESS, { + // useNewUrlParser: true, + // useUnifiedTopology: true, +}); + +// Start HTTP server +const startHttpServer = () => { + app.listen(port, () => { + console.log(`Server is running on port ${port} (HTTP)`); + }); +}; startHttpServer(); + +// Handle database connection success/failure +dbConnectionPromise + .then(() => { + console.log("Connected to the database"); + }) + .catch((error) => { + console.log(`${error} did not connect`); + }); + diff --git a/ef-api/models/user.js b/ef-api/models/user.js new file mode 100644 index 0000000..49976b0 --- /dev/null +++ b/ef-api/models/user.js @@ -0,0 +1,18 @@ +import mongoose from "mongoose"; + +const userSchema = new mongoose.Schema({ + firstName: { type: String, required: true }, + lastName: { type: String, required: true }, + email: { type: String, required: true, unique: true }, + password: { type: String, required: true }, + tokens:[ + { + token:{ + type:String, + required:true + } + } + ], + }); + +export default mongoose.model("User", userSchema); diff --git a/ef-api/package-lock.json b/ef-api/package-lock.json new file mode 100644 index 0000000..cc93af9 --- /dev/null +++ b/ef-api/package-lock.json @@ -0,0 +1,1271 @@ +{ + "name": "ef-api", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "ef-api", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "bcryptjs": "^2.4.3", + "cors": "^2.8.5", + "dotenv": "^16.4.5", + "express": "^4.19.2", + "express-session": "^1.18.0", + "jsonwebtoken": "^9.0.2", + "mongoose": "^8.6.0", + "morgan": "^1.10.0", + "nodemailer": "^6.9.14" + } + }, + "node_modules/@mongodb-js/saslprep": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", + "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", + "license": "MIT", + "dependencies": { + "sparse-bitfield": "^3.0.3" + } + }, + "node_modules/@types/webidl-conversions": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz", + "integrity": "sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==", + "license": "MIT" + }, + "node_modules/@types/whatwg-url": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz", + "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==", + "license": "MIT", + "dependencies": { + "@types/webidl-conversions": "*" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "license": "MIT" + }, + "node_modules/basic-auth": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", + "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/basic-auth/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/bcryptjs": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.4.3.tgz", + "integrity": "sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==", + "license": "MIT" + }, + "node_modules/body-parser": { + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/bson": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.8.0.tgz", + "integrity": "sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=16.20.1" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "license": "BSD-3-Clause" + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express-session": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.18.0.tgz", + "integrity": "sha512-m93QLWr0ju+rOwApSsyso838LQwgfs44QtOP/WBiwtAgPIo/SAh1a5c6nn2BR6mFNZehTpqKDESzP+fRHVbxwQ==", + "license": "MIT", + "dependencies": { + "cookie": "0.6.0", + "cookie-signature": "1.0.7", + "debug": "2.6.9", + "depd": "~2.0.0", + "on-headers": "~1.0.2", + "parseurl": "~1.3.3", + "safe-buffer": "5.2.1", + "uid-safe": "~2.1.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/express-session/node_modules/cookie-signature": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", + "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", + "license": "MIT" + }, + "node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/jsonwebtoken": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", + "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jsonwebtoken/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "license": "MIT", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/kareem": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.6.3.tgz", + "integrity": "sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==", + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", + "license": "MIT" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", + "license": "MIT" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", + "license": "MIT" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "license": "MIT" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", + "license": "MIT" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "license": "MIT" + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memory-pager": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", + "license": "MIT" + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "license": "MIT" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mongodb": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.8.0.tgz", + "integrity": "sha512-HGQ9NWDle5WvwMnrvUxsFYPd3JEbqD3RgABHBQRuoCEND0qzhsd0iH5ypHsf1eJ+sXmvmyKpP+FLOKY8Il7jMw==", + "license": "Apache-2.0", + "dependencies": { + "@mongodb-js/saslprep": "^1.1.5", + "bson": "^6.7.0", + "mongodb-connection-string-url": "^3.0.0" + }, + "engines": { + "node": ">=16.20.1" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.1.0", + "gcp-metadata": "^5.2.0", + "kerberos": "^2.0.1", + "mongodb-client-encryption": ">=6.0.0 <7", + "snappy": "^7.2.2", + "socks": "^2.7.1" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "gcp-metadata": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + }, + "socks": { + "optional": true + } + } + }, + "node_modules/mongodb-connection-string-url": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.1.tgz", + "integrity": "sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==", + "license": "Apache-2.0", + "dependencies": { + "@types/whatwg-url": "^11.0.2", + "whatwg-url": "^13.0.0" + } + }, + "node_modules/mongoose": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.6.0.tgz", + "integrity": "sha512-p6VSbYKvD4ZIabqo8C0kS5eKX1Xpji+opTAIJ9wyuPJ8Y/FblgXSMnFRXnB40bYZLKPQT089K5KU8+bqIXtFdw==", + "license": "MIT", + "dependencies": { + "bson": "^6.7.0", + "kareem": "2.6.3", + "mongodb": "6.8.0", + "mpath": "0.9.0", + "mquery": "5.0.0", + "ms": "2.1.3", + "sift": "17.1.3" + }, + "engines": { + "node": ">=16.20.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mongoose" + } + }, + "node_modules/mongoose/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/morgan": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz", + "integrity": "sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==", + "license": "MIT", + "dependencies": { + "basic-auth": "~2.0.1", + "debug": "2.6.9", + "depd": "~2.0.0", + "on-finished": "~2.3.0", + "on-headers": "~1.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/morgan/node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/mpath": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz", + "integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==", + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mquery": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz", + "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==", + "license": "MIT", + "dependencies": { + "debug": "4.x" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/mquery/node_modules/debug": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/mquery/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/nodemailer": { + "version": "6.9.14", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.14.tgz", + "integrity": "sha512-Dobp/ebDKBvz91sbtRKhcznLThrKxKt97GI2FAlAyy+fk19j73Uz3sBXolVtmcXjaorivqsbbbjDY+Jkt4/bQA==", + "license": "MIT-0", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "license": "MIT" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/random-bytes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", + "integrity": "sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/serve-static": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/sift": { + "version": "17.1.3", + "resolved": "https://registry.npmjs.org/sift/-/sift-17.1.3.tgz", + "integrity": "sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ==", + "license": "MIT" + }, + "node_modules/sparse-bitfield": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", + "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", + "license": "MIT", + "dependencies": { + "memory-pager": "^1.0.2" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tr46": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-4.1.1.tgz", + "integrity": "sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==", + "license": "MIT", + "dependencies": { + "punycode": "^2.3.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/uid-safe": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", + "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", + "license": "MIT", + "dependencies": { + "random-bytes": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-url": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-13.0.0.tgz", + "integrity": "sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==", + "license": "MIT", + "dependencies": { + "tr46": "^4.1.1", + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=16" + } + } + } +} diff --git a/ef-api/package.json b/ef-api/package.json new file mode 100644 index 0000000..09dbfbc --- /dev/null +++ b/ef-api/package.json @@ -0,0 +1,24 @@ +{ + "name": "ef-api", + "version": "1.0.0", + "main": "index.js", + "type": "module", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "description": "", + "dependencies": { + "bcryptjs": "^2.4.3", + "cors": "^2.8.5", + "dotenv": "^16.4.5", + "express": "^4.19.2", + "express-session": "^1.18.0", + "jsonwebtoken": "^9.0.2", + "mongoose": "^8.6.0", + "morgan": "^1.10.0", + "nodemailer": "^6.9.14" + } +} diff --git a/ef-api/routes/user.js b/ef-api/routes/user.js new file mode 100644 index 0000000..b1cd45c --- /dev/null +++ b/ef-api/routes/user.js @@ -0,0 +1,11 @@ +import express from "express"; +const router = express.Router(); + +import { signup, signin } from "../controllers/user.js"; + +router.post("/signin", signin); +router.post("/signup", signup); + + + +export default router; \ No newline at end of file diff --git a/ef-ui/dist/assets/index-BWSzxPyA.js b/ef-ui/dist/assets/index-BWSzxPyA.js deleted file mode 100644 index 95bf470..0000000 --- a/ef-ui/dist/assets/index-BWSzxPyA.js +++ /dev/null @@ -1,67 +0,0 @@ -function Kc(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Yc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wa={exports:{}},xl={},Na={exports:{}},O={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ir=Symbol.for("react.element"),Xc=Symbol.for("react.portal"),Gc=Symbol.for("react.fragment"),Zc=Symbol.for("react.strict_mode"),Jc=Symbol.for("react.profiler"),qc=Symbol.for("react.provider"),bc=Symbol.for("react.context"),ed=Symbol.for("react.forward_ref"),td=Symbol.for("react.suspense"),nd=Symbol.for("react.memo"),rd=Symbol.for("react.lazy"),is=Symbol.iterator;function ld(e){return e===null||typeof e!="object"?null:(e=is&&e[is]||e["@@iterator"],typeof e=="function"?e:null)}var ja={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ka=Object.assign,Sa={};function pn(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ja}pn.prototype.isReactComponent={};pn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};pn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _a(){}_a.prototype=pn.prototype;function uo(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ja}var co=uo.prototype=new _a;co.constructor=uo;ka(co,pn.prototype);co.isPureReactComponent=!0;var os=Array.isArray,Ea=Object.prototype.hasOwnProperty,fo={current:null},Ca={key:!0,ref:!0,__self:!0,__source:!0};function Pa(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Ea.call(t,r)&&!Ca.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,J=E[K];if(0>>1;Kl(Bl,T))Ntl(hr,Bl)?(E[K]=hr,E[Nt]=T,K=Nt):(E[K]=Bl,E[wt]=T,K=wt);else if(Ntl(hr,T))E[K]=hr,E[Nt]=T,K=Nt;else break e}}return L}function l(E,L){var T=E.sortIndex-L.sortIndex;return T!==0?T:E.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],c=[],h=1,m=null,v=3,x=!1,y=!1,w=!1,S=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=E)r(c),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(c)}}function g(E){if(w=!1,p(E),!y)if(n(u)!==null)y=!0,Ul(j);else{var L=n(c);L!==null&&$l(g,L.startTime-E)}}function j(E,L){y=!1,w&&(w=!1,f(z),z=-1),x=!0;var T=v;try{for(p(L),m=n(u);m!==null&&(!(m.expirationTime>L)||E&&!ve());){var K=m.callback;if(typeof K=="function"){m.callback=null,v=m.priorityLevel;var J=K(m.expirationTime<=L);L=e.unstable_now(),typeof J=="function"?m.callback=J:m===n(u)&&r(u),p(L)}else r(u);m=n(u)}if(m!==null)var mr=!0;else{var wt=n(c);wt!==null&&$l(g,wt.startTime-L),mr=!1}return mr}finally{m=null,v=T,x=!1}}var C=!1,P=null,z=-1,B=5,R=-1;function ve(){return!(e.unstable_now()-RE||125K?(E.sortIndex=T,t(c,E),n(u)===null&&E===n(c)&&(w?(f(z),z=-1):w=!0,$l(g,T-K))):(E.sortIndex=J,t(u,E),y||x||(y=!0,Ul(j))),E},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(E){var L=v;return function(){var T=v;v=L;try{return E.apply(this,arguments)}finally{v=T}}}})(Oa);Ta.exports=Oa;var gd=Ta.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var yd=k,we=gd;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mi=Object.prototype.hasOwnProperty,xd=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,as={},us={};function wd(e){return mi.call(us,e)?!0:mi.call(as,e)?!1:xd.test(e)?us[e]=!0:(as[e]=!0,!1)}function Nd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function jd(e,t,n,r){if(t===null||typeof t>"u"||Nd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ce(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var mo=/[\-:]([a-z])/g;function ho(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(mo,ho);ne[t]=new ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(mo,ho);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mo,ho);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function vo(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2a||l[o]!==i[a]){var u=` -`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cn(e):""}function kd(e){switch(e.tag){case 5:return Cn(e.type);case 16:return Cn("Lazy");case 13:return Cn("Suspense");case 19:return Cn("SuspenseList");case 0:case 2:case 15:return e=Hl(e.type,!1),e;case 11:return e=Hl(e.type.render,!1),e;case 1:return e=Hl(e.type,!0),e;default:return""}}function yi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case At:return"Fragment";case Bt:return"Portal";case hi:return"Profiler";case go:return"StrictMode";case vi:return"Suspense";case gi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ma:return(e.displayName||"Context")+".Consumer";case Fa:return(e._context.displayName||"Context")+".Provider";case yo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xo:return t=e.displayName||null,t!==null?t:yi(e.type)||"Memo";case qe:t=e._payload,e=e._init;try{return yi(e(t))}catch{}}return null}function Sd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return yi(t);case 8:return t===go?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ua(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _d(e){var t=Ua(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yr(e){e._valueTracker||(e._valueTracker=_d(e))}function $a(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ua(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xi(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ds(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ba(e,t){t=t.checked,t!=null&&vo(e,"checked",t,!1)}function wi(e,t){Ba(e,t);var n=mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ni(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ni(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ni(e,t,n){(t!=="number"||Qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pn=Array.isArray;function qt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=xr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function An(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ed=["Webkit","ms","Moz","O"];Object.keys(Rn).forEach(function(e){Ed.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rn[t]=Rn[e]})});function Ha(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rn.hasOwnProperty(e)&&Rn[e]?(""+t).trim():t+"px"}function Qa(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ha(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Cd=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Si(e,t){if(t){if(Cd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function _i(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ei=null;function wo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ci=null,bt=null,en=null;function hs(e){if(e=ar(e)){if(typeof Ci!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Sl(t),Ci(e.stateNode,e.type,t))}}function Ka(e){bt?en?en.push(e):en=[e]:bt=e}function Ya(){if(bt){var e=bt,t=en;if(en=bt=null,hs(e),t)for(e=0;e>>=0,e===0?32:31-(Ud(e)/$d|0)|0}var wr=64,Nr=4194304;function zn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Gr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=zn(a):(i&=o,i!==0&&(r=zn(i)))}else o=n&~l,o!==0?r=zn(o):i!==0&&(r=zn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function or(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function Vd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=On),Ss=" ",_s=!1;function pu(e,t){switch(e){case"keyup":return yf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wt=!1;function wf(e,t){switch(e){case"compositionend":return mu(t);case"keypress":return t.which!==32?null:(_s=!0,Ss);case"textInput":return e=t.data,e===Ss&&_s?null:e;default:return null}}function Nf(e,t){if(Wt)return e==="compositionend"||!Po&&pu(e,t)?(e=du(),Mr=_o=nt=null,Wt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zs(n)}}function yu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xu(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qr(e.document)}return t}function zo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Lf(e){var t=xu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&yu(n.ownerDocument.documentElement,n)){if(r!==null&&zo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Ls(n,i);var o=Ls(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Vt=null,Oi=null,Fn=null,Ii=!1;function Rs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ii||Vt==null||Vt!==Qr(r)||(r=Vt,"selectionStart"in r&&zo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fn&&Yn(Fn,r)||(Fn=r,r=qr(Oi,"onSelect"),0Kt||(e.current=Bi[Kt],Bi[Kt]=null,Kt--)}function M(e,t){Kt++,Bi[Kt]=e.current,e.current=t}var ht={},oe=gt(ht),pe=gt(!1),Lt=ht;function on(e,t){var n=e.type.contextTypes;if(!n)return ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function el(){U(pe),U(oe)}function Us(e,t,n){if(oe.current!==ht)throw Error(N(168));M(oe,t),M(pe,n)}function Pu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(N(108,Sd(e)||"Unknown",l));return V({},n,r)}function tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ht,Lt=oe.current,M(oe,e),M(pe,pe.current),!0}function $s(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Pu(e,t,Lt),r.__reactInternalMemoizedMergedChildContext=e,U(pe),U(oe),M(oe,e)):U(pe),M(pe,n)}var We=null,_l=!1,li=!1;function zu(e){We===null?We=[e]:We.push(e)}function Wf(e){_l=!0,zu(e)}function yt(){if(!li&&We!==null){li=!0;var e=0,t=F;try{var n=We;for(F=1;e>=o,l-=o,Ve=1<<32-Oe(t)+l|n<z?(B=P,P=null):B=P.sibling;var R=v(f,P,p[z],g);if(R===null){P===null&&(P=B);break}e&&P&&R.alternate===null&&t(f,P),d=i(R,d,z),C===null?j=R:C.sibling=R,C=R,P=B}if(z===p.length)return n(f,P),$&&kt(f,z),j;if(P===null){for(;zz?(B=P,P=null):B=P.sibling;var ve=v(f,P,R.value,g);if(ve===null){P===null&&(P=B);break}e&&P&&ve.alternate===null&&t(f,P),d=i(ve,d,z),C===null?j=ve:C.sibling=ve,C=ve,P=B}if(R.done)return n(f,P),$&&kt(f,z),j;if(P===null){for(;!R.done;z++,R=p.next())R=m(f,R.value,g),R!==null&&(d=i(R,d,z),C===null?j=R:C.sibling=R,C=R);return $&&kt(f,z),j}for(P=r(f,P);!R.done;z++,R=p.next())R=x(P,f,z,R.value,g),R!==null&&(e&&R.alternate!==null&&P.delete(R.key===null?z:R.key),d=i(R,d,z),C===null?j=R:C.sibling=R,C=R);return e&&P.forEach(function(gn){return t(f,gn)}),$&&kt(f,z),j}function S(f,d,p,g){if(typeof p=="object"&&p!==null&&p.type===At&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case gr:e:{for(var j=p.key,C=d;C!==null;){if(C.key===j){if(j=p.type,j===At){if(C.tag===7){n(f,C.sibling),d=l(C,p.props.children),d.return=f,f=d;break e}}else if(C.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===qe&&Ws(j)===C.type){n(f,C.sibling),d=l(C,p.props),d.ref=Sn(f,C,p),d.return=f,f=d;break e}n(f,C);break}else t(f,C);C=C.sibling}p.type===At?(d=zt(p.props.children,f.mode,g,p.key),d.return=f,f=d):(g=Hr(p.type,p.key,p.props,null,f.mode,g),g.ref=Sn(f,d,p),g.return=f,f=g)}return o(f);case Bt:e:{for(C=p.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=fi(p,f.mode,g),d.return=f,f=d}return o(f);case qe:return C=p._init,S(f,d,C(p._payload),g)}if(Pn(p))return y(f,d,p,g);if(xn(p))return w(f,d,p,g);Pr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=di(p,f.mode,g),d.return=f,f=d),o(f)):n(f,d)}return S}var an=Ou(!0),Iu=Ou(!1),ll=gt(null),il=null,Gt=null,Oo=null;function Io(){Oo=Gt=il=null}function Fo(e){var t=ll.current;U(ll),e._currentValue=t}function Vi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function nn(e,t){il=e,Oo=Gt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function Ce(e){var t=e._currentValue;if(Oo!==e)if(e={context:e,memoizedValue:t,next:null},Gt===null){if(il===null)throw Error(N(308));Gt=e,il.dependencies={lanes:0,firstContext:e}}else Gt=Gt.next=e;return t}var Et=null;function Mo(e){Et===null?Et=[e]:Et.push(e)}function Fu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Mo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Xe(e,r)}function Xe(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var be=!1;function Do(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ut(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Xe(e,n)}return l=r.interleaved,l===null?(t.next=t,Mo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Xe(e,n)}function Ur(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jo(e,n)}}function Vs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ol(e,t,n,r){var l=e.updateQueue;be=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,c=u.next;u.next=null,o===null?i=c:o.next=c,o=u;var h=e.alternate;h!==null&&(h=h.updateQueue,a=h.lastBaseUpdate,a!==o&&(a===null?h.firstBaseUpdate=c:a.next=c,h.lastBaseUpdate=u))}if(i!==null){var m=l.baseState;o=0,h=c=u=null,a=i;do{var v=a.lane,x=a.eventTime;if((r&v)===v){h!==null&&(h=h.next={eventTime:x,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,w=a;switch(v=t,x=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){m=y.call(x,m,v);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,v=typeof y=="function"?y.call(x,m,v):y,v==null)break e;m=V({},m,v);break e;case 2:be=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[a]:v.push(a))}else x={eventTime:x,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},h===null?(c=h=x,u=m):h=h.next=x,o|=v;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;v=a,a=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(h===null&&(u=m),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Ot|=o,e.lanes=o,e.memoizedState=m}}function Hs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{F=n,oi.transition=r}}function bu(){return Pe().memoizedState}function Kf(e,t,n){var r=dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ec(e))tc(t,n);else if(n=Fu(e,t,n,r),n!==null){var l=ae();Ie(n,e,r,l),nc(n,t,r)}}function Yf(e,t,n){var r=dt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ec(e))tc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,Fe(a,o)){var u=t.interleaved;u===null?(l.next=l,Mo(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Fu(e,t,l,r),n!==null&&(l=ae(),Ie(n,e,r,l),nc(n,t,r))}}function ec(e){var t=e.alternate;return e===W||t!==null&&t===W}function tc(e,t){Mn=al=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jo(e,n)}}var ul={readContext:Ce,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},Xf={readContext:Ce,useCallback:function(e,t){return De().memoizedState=[e,t===void 0?null:t],e},useContext:Ce,useEffect:Ks,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Br(4194308,4,Xu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Br(4194308,4,e,t)},useInsertionEffect:function(e,t){return Br(4,2,e,t)},useMemo:function(e,t){var n=De();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=De();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Kf.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=De();return e={current:e},t.memoizedState=e},useState:Qs,useDebugValue:Qo,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=Qs(!1),t=e[0];return e=Qf.bind(null,e[1]),De().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=W,l=De();if($){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),b===null)throw Error(N(349));Tt&30||Bu(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ks(Wu.bind(null,r,i,e),[e]),r.flags|=2048,tr(9,Au.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=De(),t=b.identifierPrefix;if($){var n=He,r=Ve;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ue]=t,e[Zn]=r,fc(e,t,!1,!1),t.stateNode=e;e:{switch(o=_i(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;ldn&&(t.flags|=128,r=!0,_n(i,!1),t.lanes=4194304)}else{if(!r)if(e=sl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),_n(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!$)return le(t),null}else 2*Y()-i.renderingStartTime>dn&&n!==1073741824&&(t.flags|=128,r=!0,_n(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Y(),t.sibling=null,n=A.current,M(A,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Jo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ge&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function np(e,t){switch(Ro(t),t.tag){case 1:return me(t.type)&&el(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return un(),U(pe),U(oe),Bo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $o(t),null;case 13:if(U(A),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(A),null;case 4:return un(),null;case 10:return Fo(t.type._context),null;case 22:case 23:return Jo(),null;case 24:return null;default:return null}}var Lr=!1,ie=!1,rp=typeof WeakSet=="function"?WeakSet:Set,_=null;function Zt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){H(e,t,r)}else n.current=null}function qi(e,t,n){try{n()}catch(r){H(e,t,r)}}var ra=!1;function lp(e,t){if(Fi=Zr,e=xu(),zo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,c=0,h=0,m=e,v=null;t:for(;;){for(var x;m!==n||l!==0&&m.nodeType!==3||(a=o+l),m!==i||r!==0&&m.nodeType!==3||(u=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(x=m.firstChild)!==null;)v=m,m=x;for(;;){if(m===e)break t;if(v===n&&++c===l&&(a=o),v===i&&++h===r&&(u=o),(x=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=x}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mi={focusedElem:e,selectionRange:n},Zr=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,S=y.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:Le(t.type,w),S);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(g){H(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return y=ra,ra=!1,y}function Dn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&qi(t,n,i)}l=l.next}while(l!==r)}}function Pl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function bi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function hc(e){var t=e.alternate;t!==null&&(e.alternate=null,hc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Zn],delete t[$i],delete t[Bf],delete t[Af])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vc(e){return e.tag===5||e.tag===3||e.tag===4}function la(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=br));else if(r!==4&&(e=e.child,e!==null))for(eo(e,t,n),e=e.sibling;e!==null;)eo(e,t,n),e=e.sibling}function to(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(to(e,t,n),e=e.sibling;e!==null;)to(e,t,n),e=e.sibling}var ee=null,Re=!1;function Je(e,t,n){for(n=n.child;n!==null;)gc(e,t,n),n=n.sibling}function gc(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(wl,n)}catch{}switch(n.tag){case 5:ie||Zt(n,t);case 6:var r=ee,l=Re;ee=null,Je(e,t,n),ee=r,Re=l,ee!==null&&(Re?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Re?(e=ee,n=n.stateNode,e.nodeType===8?ri(e.parentNode,n):e.nodeType===1&&ri(e,n),Qn(e)):ri(ee,n.stateNode));break;case 4:r=ee,l=Re,ee=n.stateNode.containerInfo,Re=!0,Je(e,t,n),ee=r,Re=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&qi(n,t,o),l=l.next}while(l!==r)}Je(e,t,n);break;case 1:if(!ie&&(Zt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){H(n,t,a)}Je(e,t,n);break;case 21:Je(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,Je(e,t,n),ie=r):Je(e,t,n);break;default:Je(e,t,n)}}function ia(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rp),t.forEach(function(r){var l=pp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*op(r/1960))-r,10e?16:e,rt===null)var r=!1;else{if(e=rt,rt=null,fl=0,I&6)throw Error(N(331));var l=I;for(I|=4,_=e.current;_!==null;){var i=_,o=i.child;if(_.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uY()-Go?Pt(e,0):Xo|=n),he(e,t)}function _c(e,t){t===0&&(e.mode&1?(t=Nr,Nr<<=1,!(Nr&130023424)&&(Nr=4194304)):t=1);var n=ae();e=Xe(e,t),e!==null&&(or(e,t,n),he(e,n))}function fp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_c(e,n)}function pp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),_c(e,n)}var Ec;Ec=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,ep(e,t,n);fe=!!(e.flags&131072)}else fe=!1,$&&t.flags&1048576&&Lu(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ar(e,t),e=t.pendingProps;var l=on(t,oe.current);nn(t,n),l=Wo(null,t,r,e,l,n);var i=Vo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,me(r)?(i=!0,tl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Do(t),l.updater=Cl,t.stateNode=l,l._reactInternals=t,Qi(t,r,e,n),t=Xi(null,t,r,!0,i,n)):(t.tag=0,$&&i&&Lo(t),se(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ar(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=hp(r),e=Le(r,e),l){case 0:t=Yi(null,t,r,e,n);break e;case 1:t=ea(null,t,r,e,n);break e;case 11:t=qs(null,t,r,e,n);break e;case 14:t=bs(null,t,r,Le(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Yi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),ea(e,t,r,l,n);case 3:e:{if(uc(t),e===null)throw Error(N(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Mu(e,t),ol(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=cn(Error(N(423)),t),t=ta(e,t,r,n,l);break e}else if(r!==l){l=cn(Error(N(424)),t),t=ta(e,t,r,n,l);break e}else for(ye=at(t.stateNode.containerInfo.firstChild),xe=t,$=!0,Te=null,n=Iu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sn(),r===l){t=Ge(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return Du(t),e===null&&Wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Di(r,l)?o=null:i!==null&&Di(r,i)&&(t.flags|=32),ac(e,t),se(e,t,o,n),t.child;case 6:return e===null&&Wi(t),null;case 13:return cc(e,t,n);case 4:return Uo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=an(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),qs(e,t,r,l,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,M(ll,r._currentValue),r._currentValue=o,i!==null)if(Fe(i.value,o)){if(i.children===l.children&&!pe.current){t=Ge(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Qe(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?u.next=u:(u.next=h.next,h.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Vi(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(N(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Vi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}se(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,nn(t,n),l=Ce(l),r=r(l),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),bs(e,t,r,l,n);case 15:return oc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ar(e,t),t.tag=1,me(r)?(e=!0,tl(t)):e=!1,nn(t,n),rc(t,r,l),Qi(t,r,l,n),Xi(null,t,r,!0,e,n);case 19:return dc(e,t,n);case 22:return sc(e,t,n)}throw Error(N(156,t.tag))};function Cc(e,t){return eu(e,t)}function mp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _e(e,t,n,r){return new mp(e,t,n,r)}function bo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hp(e){if(typeof e=="function")return bo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yo)return 11;if(e===xo)return 14}return 2}function ft(e,t){var n=e.alternate;return n===null?(n=_e(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")bo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case At:return zt(n.children,l,i,t);case go:o=8,l|=8;break;case hi:return e=_e(12,n,t,l|2),e.elementType=hi,e.lanes=i,e;case vi:return e=_e(13,n,t,l),e.elementType=vi,e.lanes=i,e;case gi:return e=_e(19,n,t,l),e.elementType=gi,e.lanes=i,e;case Da:return Ll(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Fa:o=10;break e;case Ma:o=9;break e;case yo:o=11;break e;case xo:o=14;break e;case qe:o=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=_e(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function zt(e,t,n,r){return e=_e(7,e,r,t),e.lanes=n,e}function Ll(e,t,n,r){return e=_e(22,e,r,t),e.elementType=Da,e.lanes=n,e.stateNode={isHidden:!1},e}function di(e,t,n){return e=_e(6,e,null,t),e.lanes=n,e}function fi(e,t,n){return t=_e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kl(0),this.expirationTimes=Kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function es(e,t,n,r,l,i,o,a,u){return e=new vp(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=_e(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Do(i),e}function gp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rc)}catch(e){console.error(e)}}Rc(),Ra.exports=Ne;var jp=Ra.exports,Tc,pa=jp;Tc=pa.createRoot,pa.hydrateRoot;/** - * @remix-run/router v1.19.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Oc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sp(){return Math.random().toString(36).substr(2,8)}function ha(e,t){return{usr:e.state,key:e.key,idx:t}}function oo(e,t,n,r){return n===void 0&&(n=null),rr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vn(t):t,{state:n,key:t&&t.key||r||Sp()})}function hl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function vn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function _p(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,a=lt.Pop,u=null,c=h();c==null&&(c=0,o.replaceState(rr({},o.state,{idx:c}),""));function h(){return(o.state||{idx:null}).idx}function m(){a=lt.Pop;let S=h(),f=S==null?null:S-c;c=S,u&&u({action:a,location:w.location,delta:f})}function v(S,f){a=lt.Push;let d=oo(w.location,S,f);c=h()+1;let p=ha(d,c),g=w.createHref(d);try{o.pushState(p,"",g)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;l.location.assign(g)}i&&u&&u({action:a,location:w.location,delta:1})}function x(S,f){a=lt.Replace;let d=oo(w.location,S,f);c=h();let p=ha(d,c),g=w.createHref(d);o.replaceState(p,"",g),i&&u&&u({action:a,location:w.location,delta:0})}function y(S){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof S=="string"?S:hl(S);return d=d.replace(/ $/,"%20"),Q(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let w={get action(){return a},get location(){return e(l,o)},listen(S){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(ma,m),u=S,()=>{l.removeEventListener(ma,m),u=null}},createHref(S){return t(l,S)},createURL:y,encodeLocation(S){let f=y(S);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:v,replace:x,go(S){return o.go(S)}};return w}var va;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(va||(va={}));function Ep(e,t,n){return n===void 0&&(n="/"),Cp(e,t,n,!1)}function Cp(e,t,n,r){let l=typeof t=="string"?vn(t):t,i=fn(l.pathname||"/",n);if(i==null)return null;let o=Ic(e);Pp(o);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(Q(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=pt([r,u.relativePath]),h=n.concat(u);i.children&&i.children.length>0&&(Q(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Ic(i.children,t,h,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Fp(c,i.index),routesMeta:h})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))l(i,o);else for(let u of Fc(i.path))l(i,o,u)}),t}function Fc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=Fc(r.join("/")),a=[];return a.push(...o.map(u=>u===""?i:[i,u].join("/"))),l&&a.push(...o),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Pp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Mp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const zp=/^:[\w-]+$/,Lp=3,Rp=2,Tp=1,Op=10,Ip=-2,ga=e=>e==="*";function Fp(e,t){let n=e.split("/"),r=n.length;return n.some(ga)&&(r+=Ip),t&&(r+=Rp),n.filter(l=>!ga(l)).reduce((l,i)=>l+(zp.test(i)?Lp:i===""?Tp:Op),r)}function Mp(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Dp(e,t,n){let{routesMeta:r}=e,l={},i="/",o=[];for(let a=0;a{let{paramName:v,isOptional:x}=h;if(v==="*"){let w=a[m]||"";o=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const y=a[m];return x&&!y?c[v]=void 0:c[v]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:e}}function Up(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Oc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function $p(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Oc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function fn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Bp(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?vn(e):e;return{pathname:n?n.startsWith("/")?n:Ap(n,t):t,search:Hp(r),hash:Qp(l)}}function Ap(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function pi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Wp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Mc(e,t){let n=Wp(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Dc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=vn(e):(l=rr({},e),Q(!l.pathname||!l.pathname.includes("?"),pi("?","pathname","search",l)),Q(!l.pathname||!l.pathname.includes("#"),pi("#","pathname","hash",l)),Q(!l.search||!l.search.includes("#"),pi("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,a;if(o==null)a=n;else{let m=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),m-=1;l.pathname=v.join("/")}a=m>=0?t[m]:"/"}let u=Bp(l,a),c=o&&o!=="/"&&o.endsWith("/"),h=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||h)&&(u.pathname+="/"),u}const pt=e=>e.join("/").replace(/\/\/+/g,"/"),Vp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Hp=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Qp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Kp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Uc=["post","put","patch","delete"];new Set(Uc);const Yp=["get",...Uc];new Set(Yp);/** - * React Router v6.26.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),k.useCallback(function(c,h){if(h===void 0&&(h={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let m=Dc(c,JSON.parse(o),i,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:pt([t,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[t,r,o,i,e])}function Dl(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=k.useContext(xt),{matches:l}=k.useContext(Dt),{pathname:i}=dr(),o=JSON.stringify(Mc(l,r.v7_relativeSplatPath));return k.useMemo(()=>Dc(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function Jp(e,t){return qp(e,t)}function qp(e,t,n,r){cr()||Q(!1);let{navigator:l}=k.useContext(xt),{matches:i}=k.useContext(Dt),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let c=dr(),h;if(t){var m;let S=typeof t=="string"?vn(t):t;u==="/"||(m=S.pathname)!=null&&m.startsWith(u)||Q(!1),h=S}else h=c;let v=h.pathname||"/",x=v;if(u!=="/"){let S=u.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(S.length).join("/")}let y=Ep(e,{pathname:x}),w=rm(y&&y.map(S=>Object.assign({},S,{params:Object.assign({},a,S.params),pathname:pt([u,l.encodeLocation?l.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?u:pt([u,l.encodeLocation?l.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r);return t&&w?k.createElement(Ml.Provider,{value:{location:lr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:lt.Pop}},w):w}function bp(){let e=sm(),t=Kp(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,null)}const em=k.createElement(bp,null);class tm extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?k.createElement(Dt.Provider,{value:this.props.routeContext},k.createElement(Bc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function nm(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(Fl);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(Dt.Provider,{value:t},r)}function rm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let h=o.findIndex(m=>m.route.id&&(a==null?void 0:a[m.route.id])!==void 0);h>=0||Q(!1),o=o.slice(0,Math.min(o.length,h+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((h,m,v)=>{let x,y=!1,w=null,S=null;n&&(x=a&&m.route.id?a[m.route.id]:void 0,w=m.route.errorElement||em,u&&(c<0&&v===0?(y=!0,S=null):c===v&&(y=!0,S=m.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,v+1)),d=()=>{let p;return x?p=w:y?p=S:m.route.Component?p=k.createElement(m.route.Component,null):m.route.element?p=m.route.element:p=h,k.createElement(nm,{match:m,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:p})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?k.createElement(tm,{location:n.location,revalidation:n.revalidation,component:w,error:x,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var Wc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Wc||{}),gl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(gl||{});function lm(e){let t=k.useContext(Fl);return t||Q(!1),t}function im(e){let t=k.useContext($c);return t||Q(!1),t}function om(e){let t=k.useContext(Dt);return t||Q(!1),t}function Vc(e){let t=om(),n=t.matches[t.matches.length-1];return n.route.id||Q(!1),n.route.id}function sm(){var e;let t=k.useContext(Bc),n=im(gl.UseRouteError),r=Vc(gl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function am(){let{router:e}=lm(Wc.UseNavigateStable),t=Vc(gl.UseNavigateStable),n=k.useRef(!1);return Ac(()=>{n.current=!0}),k.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,lr({fromRouteId:t},i)))},[e,t])}function $t(e){Q(!1)}function um(e){let{basename:t="/",children:n=null,location:r,navigationType:l=lt.Pop,navigator:i,static:o=!1,future:a}=e;cr()&&Q(!1);let u=t.replace(/^\/*/,"/"),c=k.useMemo(()=>({basename:u,navigator:i,static:o,future:lr({v7_relativeSplatPath:!1},a)}),[u,a,i,o]);typeof r=="string"&&(r=vn(r));let{pathname:h="/",search:m="",hash:v="",state:x=null,key:y="default"}=r,w=k.useMemo(()=>{let S=fn(h,u);return S==null?null:{location:{pathname:S,search:m,hash:v,state:x,key:y},navigationType:l}},[u,h,m,v,x,y,l]);return w==null?null:k.createElement(xt.Provider,{value:c},k.createElement(Ml.Provider,{children:n,value:w}))}function cm(e){let{children:t,location:n}=e;return Jp(so(t),n)}new Promise(()=>{});function so(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let i=[...t,l];if(r.type===k.Fragment){n.push.apply(n,so(r.props.children,i));return}r.type!==$t&&Q(!1),!r.props.index||!r.props.children||Q(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=so(r.props.children,i)),n.push(o)}),n}/** - * React Router DOM v6.26.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function dm(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fm(e,t){return e.button===0&&(!t||t==="_self")&&!dm(e)}const pm=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],mm=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],hm="6";try{window.__reactRouterVersion=hm}catch{}const vm=k.createContext({isTransitioning:!1}),gm="startTransition",ya=cd[gm];function ym(e){let{basename:t,children:n,future:r,window:l}=e,i=k.useRef();i.current==null&&(i.current=kp({window:l,v5Compat:!0}));let o=i.current,[a,u]=k.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},h=k.useCallback(m=>{c&&ya?ya(()=>u(m)):u(m)},[u,c]);return k.useLayoutEffect(()=>o.listen(h),[o,h]),k.createElement(um,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const xm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Nm=k.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:a,target:u,to:c,preventScrollReset:h,unstable_viewTransition:m}=t,v=Hc(t,pm),{basename:x}=k.useContext(xt),y,w=!1;if(typeof c=="string"&&wm.test(c)&&(y=c,xm))try{let p=new URL(window.location.href),g=c.startsWith("//")?new URL(p.protocol+c):new URL(c),j=fn(g.pathname,x);g.origin===p.origin&&j!=null?c=j+g.search+g.hash:w=!0}catch{}let S=Xp(c,{relative:l}),f=km(c,{replace:o,state:a,target:u,preventScrollReset:h,relative:l,unstable_viewTransition:m});function d(p){r&&r(p),p.defaultPrevented||f(p)}return k.createElement("a",yl({},v,{href:y||S,onClick:w||i?r:d,ref:n,target:u}))}),jt=k.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:o=!1,style:a,to:u,unstable_viewTransition:c,children:h}=t,m=Hc(t,mm),v=Dl(u,{relative:m.relative}),x=dr(),y=k.useContext($c),{navigator:w,basename:S}=k.useContext(xt),f=y!=null&&Sm(v)&&c===!0,d=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=x.pathname,g=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;l||(p=p.toLowerCase(),g=g?g.toLowerCase():null,d=d.toLowerCase()),g&&S&&(g=fn(g,S)||g);const j=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let C=p===d||!o&&p.startsWith(d)&&p.charAt(j)==="/",P=g!=null&&(g===d||!o&&g.startsWith(d)&&g.charAt(d.length)==="/"),z={isActive:C,isPending:P,isTransitioning:f},B=C?r:void 0,R;typeof i=="function"?R=i(z):R=[i,C?"active":null,P?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let ve=typeof a=="function"?a(z):a;return k.createElement(Nm,yl({},m,{"aria-current":B,className:R,ref:n,style:ve,to:u,unstable_viewTransition:c}),typeof h=="function"?h(z):h)});var ao;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ao||(ao={}));var xa;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(xa||(xa={}));function jm(e){let t=k.useContext(Fl);return t||Q(!1),t}function km(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:a}=t===void 0?{}:t,u=Gp(),c=dr(),h=Dl(e,{relative:o});return k.useCallback(m=>{if(fm(m,n)){m.preventDefault();let v=r!==void 0?r:hl(c)===hl(h);u(e,{replace:v,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:a})}},[c,u,h,r,l,n,e,i,o,a])}function Sm(e,t){t===void 0&&(t={});let n=k.useContext(vm);n==null&&Q(!1);let{basename:r}=jm(ao.useViewTransitionState),l=Dl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=fn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=fn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return vl(l.pathname,o)!=null||vl(l.pathname,i)!=null}const fr=()=>{const e=new Date().getFullYear();return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"header_top_section",children:s.jsx("div",{className:"container",children:s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-sm-12",children:s.jsxs("div",{className:"header_top_main",children:[s.jsx("div",{className:"call_text",children:s.jsxs("a",{href:"#",children:[s.jsx("i",{className:"fa fa-phone","aria-hidden":"true"})," ","+01-40-114-6855"]})}),s.jsx("div",{className:"call_text_2",children:s.jsxs("a",{href:"#",children:[s.jsx("i",{className:"fa fa-envelope","aria-hidden":"true"})," ","support@estatesfunding.com"]})}),s.jsx("div",{className:"call_text_1",children:s.jsxs("a",{href:"#",children:[s.jsx("i",{className:"fa fa-map-marker","aria-hidden":"true"})," ","Mordern Tawon Mosco"]})})]})})})})}),s.jsx("div",{className:"copyright_section",children:s.jsx("div",{className:"container",children:s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-sm-12",children:s.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})},_m="/assets/logo-Cb1x1exd.png",pr=()=>s.jsx(s.Fragment,{children:s.jsx("div",{className:"container-fluid p-0 m-0",children:s.jsx("nav",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:s.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[s.jsxs("div",{className:"d-flex align-items-center",children:[s.jsx("img",{src:_m,alt:"logo",width:"75",height:"75",className:"img-fluid"}),s.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),s.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[s.jsxs("ul",{className:"navbar-nav ml-auto",children:[s.jsx("li",{className:"nav-item active",children:s.jsx(jt,{to:"/",className:"nav-link",children:"Home"})}),s.jsx("li",{className:"nav-item",children:s.jsx(jt,{to:"/services",className:"nav-link",children:"Services"})}),s.jsx("li",{className:"nav-item",children:s.jsx(jt,{to:"/about",className:"nav-link",children:"About"})}),s.jsx("li",{className:"nav-item",children:s.jsx(jt,{to:"/projects",className:"nav-link",children:"Project"})}),s.jsx("li",{className:"nav-item",children:s.jsx(jt,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),s.jsxs("form",{className:"form-inline my-2 my-lg-0",children:[s.jsx("div",{className:"login_text",children:s.jsxs("ul",{children:[s.jsx("li",{children:s.jsx(jt,{to:"/login",className:"nav-link",children:"Login"})}),s.jsx("li",{children:s.jsx("a",{href:"#",children:s.jsx("i",{className:"fa fa-user","aria-hidden":"true"})})})]})}),s.jsx("div",{className:"quote_btn",children:s.jsx(jt,{to:"/register",className:"nav-link",children:"Register"})})]})]})]})})})}),Em=()=>s.jsxs(s.Fragment,{children:[s.jsx(pr,{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsxs("div",{children:[s.jsx("div",{className:"header_section",children:s.jsx("div",{className:"banner_section layout_padding",children:s.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[s.jsxs("div",{className:"carousel-inner",children:[s.jsx("div",{className:"carousel-item active",children:s.jsx("div",{className:"container",children:s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-sm-12",children:s.jsxs("div",{className:"banner_taital_main",children:[s.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),s.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),s.jsxs("div",{className:"btn_main",children:[s.jsx("div",{className:"started_text active",children:s.jsx("a",{href:"#",children:"Contact US"})}),s.jsx("div",{className:"started_text",children:s.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),s.jsx("div",{className:"carousel-item",children:s.jsx("div",{className:"container",children:s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-sm-12",children:s.jsxs("div",{className:"banner_taital_main",children:[s.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),s.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),s.jsxs("div",{className:"btn_main",children:[s.jsx("div",{className:"started_text active",children:s.jsx("a",{href:"#",children:"Contact US"})}),s.jsx("div",{className:"started_text",children:s.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),s.jsx("div",{className:"carousel-item",children:s.jsx("div",{className:"container",children:s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-sm-12",children:s.jsxs("div",{className:"banner_taital_main",children:[s.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),s.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),s.jsxs("div",{className:"btn_main",children:[s.jsx("div",{className:"started_text active",children:s.jsx("a",{href:"#",children:"Contact US"})}),s.jsx("div",{className:"started_text",children:s.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),s.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:s.jsx("i",{className:"fa fa-angle-left"})}),s.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:s.jsx("i",{className:"fa fa-angle-right"})})]})})}),s.jsx("div",{className:"services_section layout_padding",children:s.jsxs("div",{className:"container-fluid",children:[s.jsx("div",{className:"row",children:s.jsxs("div",{className:"col-sm-12",children:[s.jsx("h1",{className:"services_taital",children:"Our Services"}),s.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),s.jsx("div",{className:"services_section_2",children:s.jsxs("div",{className:"row",children:[s.jsx("div",{className:"col-lg-3 col-sm-6",children:s.jsxs("div",{className:"box_main active",children:[s.jsx("div",{className:"service_img",children:s.jsx("img",{src:"images/icon-1.png"})}),s.jsx("h4",{className:"development_text",children:"Dedication Services"}),s.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),s.jsx("div",{className:"readmore_bt",children:s.jsx("a",{href:"#",children:"Read More"})})]})}),s.jsx("div",{className:"col-lg-3 col-sm-6",children:s.jsxs("div",{className:"box_main",children:[s.jsx("div",{className:"service_img",children:s.jsx("img",{src:"images/icon-2.png"})}),s.jsx("h4",{className:"development_text",children:"Building work Reports"}),s.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),s.jsx("div",{className:"readmore_bt",children:s.jsx("a",{href:"#",children:"Read More"})})]})}),s.jsx("div",{className:"col-lg-3 col-sm-6",children:s.jsxs("div",{className:"box_main",children:[s.jsx("div",{className:"service_img",children:s.jsx("img",{src:"images/icon-3.png"})}),s.jsx("h4",{className:"development_text",children:"Reporting continuously"}),s.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),s.jsx("div",{className:"readmore_bt",children:s.jsx("a",{href:"#",children:"Read More"})})]})}),s.jsx("div",{className:"col-lg-3 col-sm-6",children:s.jsxs("div",{className:"box_main",children:[s.jsx("div",{className:"service_img",children:s.jsx("img",{src:"images/icon-4.png"})}),s.jsx("h4",{className:"development_text",children:"Manage your investment "}),s.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),s.jsx("div",{className:"readmore_bt",children:s.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),s.jsxs("div",{className:"projects_section layout_padding",children:[s.jsx("div",{className:"container",children:s.jsx("div",{className:"row",children:s.jsxs("div",{className:"col-md-12",children:[s.jsx("h1",{className:"projects_taital",children:"Projects"}),s.jsx("div",{className:"nav-tabs-navigation",children:s.jsx("div",{className:"nav-tabs-wrapper",children:s.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[s.jsx("li",{className:"nav-item",children:s.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),s.jsx("li",{className:"nav-item",children:s.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),s.jsx("li",{className:"nav-item",children:s.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),s.jsx("li",{className:"nav-item",children:s.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),s.jsx("li",{className:"nav-item",children:s.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),s.jsx("li",{className:"nav-item",children:s.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),s.jsx("div",{className:"projects_section_2 layout_padding",children:s.jsx("div",{className:"container",children:s.jsx("div",{className:"pets_section",children:s.jsx("div",{className:"pets_section_2",children:s.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:s.jsxs("div",{className:"carousel-inner",children:[s.jsx("div",{className:"carousel-item active",children:s.jsxs("div",{className:"row",children:[s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),s.jsx("div",{className:"carousel-item",children:s.jsxs("div",{className:"row",children:[s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),s.jsx("div",{className:"carousel-item",children:s.jsxs("div",{className:"row",children:[s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),s.jsxs("div",{className:"col-md-4",children:[s.jsxs("div",{className:"container_main",children:[s.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),s.jsx("div",{className:"overlay",children:s.jsx("div",{className:"text",children:s.jsx("h4",{className:"some_text",children:s.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),s.jsxs("div",{className:"project_main",children:[s.jsx("h2",{className:"work_text",children:"Home Work"}),s.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]}),s.jsx(fr,{})]})]}),Cm=()=>s.jsxs(s.Fragment,{children:[s.jsx(pr,{}),s.jsxs("div",{className:"about_section layout_padding",children:[s.jsx("br",{})," ",s.jsx("br",{})," ",s.jsx("br",{}),s.jsx("div",{className:"container",children:s.jsxs("div",{className:"row",children:[s.jsxs("div",{className:"col-md-6",children:[s.jsx("h1",{className:"about_taital",children:"About Us"}),s.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),s.jsx("div",{className:"read_bt_1",children:s.jsx("a",{href:"#",children:"Read More"})})]}),s.jsx("div",{className:"col-md-6",children:s.jsx("div",{className:"about_img",children:s.jsx("div",{className:"video_bt",children:s.jsx("div",{className:"play_icon",children:s.jsx("img",{src:"images/play-icon.png"})})})})})]})}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{})]}),s.jsx(fr,{})]}),Pm=()=>s.jsxs(s.Fragment,{children:[s.jsx(pr,{}),s.jsxs("div",{className:"contact_section layout_padding",children:[s.jsx("div",{className:"container",children:s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-md-12",children:s.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),s.jsx("div",{className:"container-fluid",children:s.jsx("div",{className:"contact_section_2",children:s.jsxs("div",{className:"row",children:[s.jsx("div",{className:"col-md-6",children:s.jsx("form",{action:!0,children:s.jsxs("div",{className:"mail_section_1",children:[s.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),s.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),s.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),s.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),s.jsx("div",{className:"send_bt",children:s.jsx("a",{href:"#",children:"SEND"})})]})})}),s.jsx("div",{className:"col-md-6 padding_left_15",children:s.jsx("div",{className:"contact_img",children:s.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),s.jsx(fr,{})]}),zm=()=>s.jsxs(s.Fragment,{children:[s.jsx(pr,{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:s.jsx("div",{className:"container-fluid px-0",children:s.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[s.jsxs("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:[s.jsx("i",{className:"fa fa-dollar",style:{fontSize:"5rem",color:"#fda417"},"aria-hidden":"true"}),s.jsx("div",{className:"text-bg-primary",children:s.jsxs("div",{className:"px-4",children:[s.jsx("hr",{className:"border-primary-subtle mb-4"}),s.jsx("h2",{className:"h1 mb-4",children:"Empower your investors"}),s.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),s.jsx("div",{className:"text-endx",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:s.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})]}),s.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:s.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:s.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"mb-4",children:[s.jsx("h2",{className:"h3",children:"Registration"}),s.jsx("h3",{className:"fs-6 fw-normal text-secondary m-0",children:"Enter your details to register"})]})})}),s.jsx("form",{action:"#!",children:s.jsxs("div",{className:"row gy-3 overflow-hidden",children:[s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-floating mb-3",children:[s.jsx("input",{type:"text",className:"form-control",name:"firstName",id:"firstName",placeholder:"First Name",required:!0}),s.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-floating mb-3",children:[s.jsx("input",{type:"text",className:"form-control",name:"lastName",id:"lastName",placeholder:"Last Name",required:!0}),s.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-floating mb-3",children:[s.jsx("input",{type:"email",className:"form-control",name:"email",id:"email",placeholder:"name@example.com",required:!0}),s.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-floating mb-3",children:[s.jsx("input",{type:"password",className:"form-control",name:"password",id:"password",placeholder:"Password",required:!0}),s.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-check",children:[s.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),s.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",s.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),s.jsx("div",{className:"col-12",children:s.jsx("div",{className:"d-grid",children:s.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},children:"Sign up"})})})]})}),s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-12",children:s.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:s.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",s.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-12"})})]})})})]})})}),s.jsx(fr,{})]}),Lm=()=>s.jsxs(s.Fragment,{children:[s.jsx(pr,{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("br",{}),s.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:s.jsx("div",{className:"container-fluid px-0",children:s.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[s.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:s.jsx("div",{className:"text-bg-primary",children:s.jsxs("div",{className:"px-4",children:[s.jsx("hr",{className:"border-primary-subtle mb-4"}),s.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),s.jsx("div",{className:"text-endx",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:s.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),s.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:s.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:s.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-12",children:s.jsx("div",{className:"mb-4",children:s.jsx("h2",{className:"h3",children:"Please Login"})})})}),s.jsx("form",{action:"#!",children:s.jsxs("div",{className:"row gy-3 overflow-hidden",children:[s.jsx("div",{className:"col-12"}),s.jsx("div",{className:"col-12"}),s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-floating mb-3",children:[s.jsx("input",{type:"email",className:"form-control",name:"email",id:"email",placeholder:"name@example.com",required:!0}),s.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-floating mb-3",children:[s.jsx("input",{type:"password",className:"form-control",name:"password",id:"password",placeholder:"Password",required:!0}),s.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),s.jsx("div",{className:"col-12",children:s.jsxs("div",{className:"form-check",children:[s.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),s.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),s.jsx("div",{className:"col-12",children:s.jsx("div",{className:"d-grid",children:s.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},children:"Sign In"})})})]})}),s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-12",children:s.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:s.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",s.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Register"})]})})})}),s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-12"})})]})})})]})})}),s.jsx(fr,{})]}),Rm=()=>s.jsx(ym,{children:s.jsxs(cm,{children:[s.jsx($t,{path:"/",element:s.jsx(Em,{})}),s.jsx($t,{path:"/about",element:s.jsx(Cm,{})}),s.jsx($t,{path:"/contact",element:s.jsx(Pm,{})}),s.jsx($t,{path:"/register",element:s.jsx(zm,{})}),s.jsx($t,{path:"/login",element:s.jsx(Lm,{})})]})});Tc(document.getElementById("root")).render(s.jsx(k.StrictMode,{children:s.jsx(Rm,{})})); diff --git a/ef-ui/dist/assets/index-Ckttlw5i.js b/ef-ui/dist/assets/index-Ckttlw5i.js new file mode 100644 index 0000000..372a5ea --- /dev/null +++ b/ef-ui/dist/assets/index-Ckttlw5i.js @@ -0,0 +1,80 @@ +var gp=Object.defineProperty;var xp=(e,t,n)=>t in e?gp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var so=(e,t,n)=>xp(e,typeof t!="symbol"?t+"":t,n);function wp(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function Np(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xc={exports:{}},Rl={},Gc={exports:{}},F={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Zr=Symbol.for("react.element"),Sp=Symbol.for("react.portal"),Ep=Symbol.for("react.fragment"),kp=Symbol.for("react.strict_mode"),_p=Symbol.for("react.profiler"),jp=Symbol.for("react.provider"),Cp=Symbol.for("react.context"),Op=Symbol.for("react.forward_ref"),Pp=Symbol.for("react.suspense"),Rp=Symbol.for("react.memo"),Tp=Symbol.for("react.lazy"),su=Symbol.iterator;function Lp(e){return e===null||typeof e!="object"?null:(e=su&&e[su]||e["@@iterator"],typeof e=="function"?e:null)}var Yc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zc=Object.assign,ed={};function Gn(e,t,n){this.props=e,this.context=t,this.refs=ed,this.updater=n||Yc}Gn.prototype.isReactComponent={};Gn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Gn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function td(){}td.prototype=Gn.prototype;function ea(e,t,n){this.props=e,this.context=t,this.refs=ed,this.updater=n||Yc}var ta=ea.prototype=new td;ta.constructor=ea;Zc(ta,Gn.prototype);ta.isPureReactComponent=!0;var au=Array.isArray,nd=Object.prototype.hasOwnProperty,na={current:null},rd={key:!0,ref:!0,__self:!0,__source:!0};function id(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)nd.call(t,r)&&!rd.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,ne=T[X];if(0>>1;Xi(oo,A))Qti(fi,oo)?(T[X]=fi,T[Qt]=A,X=Qt):(T[X]=oo,T[Vt]=A,X=Vt);else if(Qti(fi,A))T[X]=fi,T[Qt]=A,X=Qt;else break e}}return M}function i(T,M){var A=T.sortIndex-M.sortIndex;return A!==0?A:T.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var a=[],c=[],d=1,f=null,v=3,x=!1,y=!1,g=!1,N=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(T){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=T)r(c),M.sortIndex=M.expirationTime,t(a,M);else break;M=n(c)}}function w(T){if(g=!1,h(T),!y)if(n(a)!==null)y=!0,io(k);else{var M=n(c);M!==null&&lo(w,M.startTime-T)}}function k(T,M){y=!1,g&&(g=!1,p(C),C=-1),x=!0;var A=v;try{for(h(M),f=n(a);f!==null&&(!(f.expirationTime>M)||T&&!me());){var X=f.callback;if(typeof X=="function"){f.callback=null,v=f.priorityLevel;var ne=X(f.expirationTime<=M);M=e.unstable_now(),typeof ne=="function"?f.callback=ne:f===n(a)&&r(a),h(M)}else r(a);f=n(a)}if(f!==null)var di=!0;else{var Vt=n(c);Vt!==null&&lo(w,Vt.startTime-M),di=!1}return di}finally{f=null,v=A,x=!1}}var j=!1,O=null,C=-1,D=5,z=-1;function me(){return!(e.unstable_now()-zT||125X?(T.sortIndex=A,t(c,T),n(a)===null&&T===n(c)&&(g?(p(C),C=-1):g=!0,lo(w,A-X))):(T.sortIndex=ne,t(a,T),y||x||(y=!0,io(k))),T},e.unstable_shouldYield=me,e.unstable_wrapCallback=function(T){var M=v;return function(){var A=v;v=M;try{return T.apply(this,arguments)}finally{v=A}}}})(ud);ad.exports=ud;var Wp=ad.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Hp=P,Te=Wp;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vo=Object.prototype.hasOwnProperty,Vp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,cu={},du={};function Qp(e){return Vo.call(du,e)?!0:Vo.call(cu,e)?!1:Vp.test(e)?du[e]=!0:(cu[e]=!0,!1)}function Kp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qp(e,t,n,r){if(t===null||typeof t>"u"||Kp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ye(e,t,n,r,i,l,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new ye(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ae[e]=new ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ae[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ae[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ae[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var ia=/[\-:]([a-z])/g;function la(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ia,la);ae[t]=new ye(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ia,la);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ia,la);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!1,!1)});ae.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function oa(e,t,n,r){var i=ae.hasOwnProperty(t)?ae[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==l[s]){var a=` +`+i[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=s);break}}}finally{co=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?pr(e):""}function Jp(e){switch(e.tag){case 5:return pr(e.type);case 16:return pr("Lazy");case 13:return pr("Suspense");case 19:return pr("SuspenseList");case 0:case 2:case 15:return e=fo(e.type,!1),e;case 11:return e=fo(e.type.render,!1),e;case 1:return e=fo(e.type,!0),e;default:return""}}function Jo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wn:return"Fragment";case xn:return"Portal";case Qo:return"Profiler";case sa:return"StrictMode";case Ko:return"Suspense";case qo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fd:return(e.displayName||"Context")+".Consumer";case dd:return(e._context.displayName||"Context")+".Provider";case aa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ua:return t=e.displayName||null,t!==null?t:Jo(e.type)||"Memo";case xt:t=e._payload,e=e._init;try{return Jo(e(t))}catch{}}return null}function Xp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Jo(t);case 8:return t===sa?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function It(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gp(e){var t=pd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,l.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hi(e){e._valueTracker||(e._valueTracker=Gp(e))}function hd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xo(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function mu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=It(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vd(e,t){t=t.checked,t!=null&&oa(e,"checked",t,!1)}function Go(e,t){vd(e,t);var n=It(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Yo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yo(e,t.type,It(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Yo(e,t,n){(t!=="number"||qi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hr=Array.isArray;function Fn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=vi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Lr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Yp=["Webkit","ms","Moz","O"];Object.keys(xr).forEach(function(e){Yp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xr[t]=xr[e]})});function wd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xr.hasOwnProperty(e)&&xr[e]?(""+t).trim():t+"px"}function Nd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=wd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Zp=K({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ts(e,t){if(t){if(Zp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function ns(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var rs=null;function ca(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var is=null,Dn=null,In=null;function yu(e){if(e=ni(e)){if(typeof is!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Al(t),is(e.stateNode,e.type,t))}}function Sd(e){Dn?In?In.push(e):In=[e]:Dn=e}function Ed(){if(Dn){var e=Dn,t=In;if(In=Dn=null,yu(e),t)for(e=0;e>>=0,e===0?32:31-(ch(e)/dh|0)|0}var yi=64,gi=4194304;function vr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Yi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=vr(s):(l&=o,l!==0&&(r=vr(l)))}else o=n&~i,o!==0?r=vr(o):l!==0&&(r=vr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ei(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ke(t),e[t]=n}function hh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Nr),ju=" ",Cu=!1;function Wd(e,t){switch(e){case"keyup":return Wh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nn=!1;function Vh(e,t){switch(e){case"compositionend":return Hd(t);case"keypress":return t.which!==32?null:(Cu=!0,ju);case"textInput":return e=t.data,e===ju&&Cu?null:e;default:return null}}function Qh(e,t){if(Nn)return e==="compositionend"||!ga&&Wd(e,t)?(e=Bd(),Ai=ha=jt=null,Nn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Tu(n)}}function qd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jd(){for(var e=window,t=qi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qi(e.document)}return t}function xa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function t0(e){var t=Jd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&qd(n.ownerDocument.documentElement,n)){if(r!==null&&xa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Lu(n,l);var o=Lu(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Sn=null,cs=null,Er=null,ds=!1;function zu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ds||Sn==null||Sn!==qi(r)||(r=Sn,"selectionStart"in r&&xa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Er&&Ir(Er,r)||(Er=r,r=tl(cs,"onSelect"),0_n||(e.current=ys[_n],ys[_n]=null,_n--)}function B(e,t){_n++,ys[_n]=e.current,e.current=t}var Ut={},fe=$t(Ut),Ne=$t(!1),on=Ut;function Wn(e,t){var n=e.type.contextTypes;if(!n)return Ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Se(e){return e=e.childContextTypes,e!=null}function rl(){W(Ne),W(fe)}function bu(e,t,n){if(fe.current!==Ut)throw Error(_(168));B(fe,t),B(Ne,n)}function lf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(_(108,Xp(e)||"Unknown",i));return K({},n,r)}function il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,on=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Bu(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=lf(e,t,on),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var st=null,Fl=!1,jo=!1;function of(e){st===null?st=[e]:st.push(e)}function m0(e){Fl=!0,of(e)}function Wt(){if(!jo&&st!==null){jo=!0;var e=0,t=b;try{var n=st;for(b=1;e>=o,i-=o,at=1<<32-Ke(t)+i|n<C?(D=O,O=null):D=O.sibling;var z=v(p,O,h[C],w);if(z===null){O===null&&(O=D);break}e&&O&&z.alternate===null&&t(p,O),m=l(z,m,C),j===null?k=z:j.sibling=z,j=z,O=D}if(C===h.length)return n(p,O),H&&qt(p,C),k;if(O===null){for(;CC?(D=O,O=null):D=O.sibling;var me=v(p,O,z.value,w);if(me===null){O===null&&(O=D);break}e&&O&&me.alternate===null&&t(p,O),m=l(me,m,C),j===null?k=me:j.sibling=me,j=me,O=D}if(z.done)return n(p,O),H&&qt(p,C),k;if(O===null){for(;!z.done;C++,z=h.next())z=f(p,z.value,w),z!==null&&(m=l(z,m,C),j===null?k=z:j.sibling=z,j=z);return H&&qt(p,C),k}for(O=r(p,O);!z.done;C++,z=h.next())z=x(O,p,C,z.value,w),z!==null&&(e&&z.alternate!==null&&O.delete(z.key===null?C:z.key),m=l(z,m,C),j===null?k=z:j.sibling=z,j=z);return e&&O.forEach(function(rr){return t(p,rr)}),H&&qt(p,C),k}function N(p,m,h,w){if(typeof h=="object"&&h!==null&&h.type===wn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case pi:e:{for(var k=h.key,j=m;j!==null;){if(j.key===k){if(k=h.type,k===wn){if(j.tag===7){n(p,j.sibling),m=i(j,h.props.children),m.return=p,p=m;break e}}else if(j.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===xt&&Hu(k)===j.type){n(p,j.sibling),m=i(j,h.props),m.ref=cr(p,j,h),m.return=p,p=m;break e}n(p,j);break}else t(p,j);j=j.sibling}h.type===wn?(m=rn(h.props.children,p.mode,w,h.key),m.return=p,p=m):(w=Wi(h.type,h.key,h.props,null,p.mode,w),w.ref=cr(p,m,h),w.return=p,p=w)}return o(p);case xn:e:{for(j=h.key;m!==null;){if(m.key===j)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(p,m.sibling),m=i(m,h.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=Mo(h,p.mode,w),m.return=p,p=m}return o(p);case xt:return j=h._init,N(p,m,j(h._payload),w)}if(hr(h))return y(p,m,h,w);if(lr(h))return g(p,m,h,w);_i(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,h),m.return=p,p=m):(n(p,m),m=zo(h,p.mode,w),m.return=p,p=m),o(p)):n(p,m)}return N}var Vn=cf(!0),df=cf(!1),sl=$t(null),al=null,On=null,Ea=null;function ka(){Ea=On=al=null}function _a(e){var t=sl.current;W(sl),e._currentValue=t}function ws(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function bn(e,t){al=e,Ea=On=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function be(e){var t=e._currentValue;if(Ea!==e)if(e={context:e,memoizedValue:t,next:null},On===null){if(al===null)throw Error(_(308));On=e,al.dependencies={lanes:0,firstContext:e}}else On=On.next=e;return t}var Zt=null;function ja(e){Zt===null?Zt=[e]:Zt.push(e)}function ff(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ja(t)):(n.next=i.next,i.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wt=!1;function Ca(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function mf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,mt(e,n)}return i=r.interleaved,i===null?(t.next=t,ja(r)):(t.next=i.next,i.next=t),r.interleaved=t,mt(e,n)}function Di(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fa(e,n)}}function Vu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=o:l=l.next=o,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ul(e,t,n,r){var i=e.updateQueue;wt=!1;var l=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,c=a.next;a.next=null,o===null?l=c:o.next=c,o=a;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=a))}if(l!==null){var f=i.baseState;o=0,d=c=a=null,s=l;do{var v=s.lane,x=s.eventTime;if((r&v)===v){d!==null&&(d=d.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,g=s;switch(v=t,x=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){f=y.call(x,f,v);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=g.payload,v=typeof y=="function"?y.call(x,f,v):y,v==null)break e;f=K({},f,v);break e;case 2:wt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[s]:v.push(s))}else x={eventTime:x,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=x,a=f):d=d.next=x,o|=v;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;v=s,s=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);if(d===null&&(a=f),i.baseState=a,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);un|=o,e.lanes=o,e.memoizedState=f}}function Qu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Oo.transition;Oo.transition={};try{e(!1),t()}finally{b=n,Oo.transition=r}}function Rf(){return Be().memoizedState}function y0(e,t,n){var r=At(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Tf(e))Lf(t,n);else if(n=ff(e,t,n,r),n!==null){var i=he();qe(n,e,r,i),zf(n,t,r)}}function g0(e,t,n){var r=At(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Tf(e))Lf(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,s=l(o,n);if(i.hasEagerState=!0,i.eagerState=s,Xe(s,o)){var a=t.interleaved;a===null?(i.next=i,ja(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=ff(e,t,i,r),n!==null&&(i=he(),qe(n,e,r,i),zf(n,t,r))}}function Tf(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Lf(e,t){kr=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fa(e,n)}}var fl={readContext:be,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},x0={readContext:be,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:be,useEffect:qu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ui(4194308,4,_f.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=y0.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:Ku,useDebugValue:Aa,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=Ku(!1),t=e[0];return e=v0.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=Ze();if(H){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ie===null)throw Error(_(349));an&30||yf(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,qu(xf.bind(null,r,l,e),[e]),r.flags|=2048,Qr(9,gf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ze(),t=ie.identifierPrefix;if(H){var n=ut,r=at;n=(r&~(1<<32-Ke(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[tt]=t,e[Br]=r,Wf(e,t,!1,!1),t.stateNode=e;e:{switch(o=ns(n,r),n){case"dialog":$("cancel",e),$("close",e),i=r;break;case"iframe":case"object":case"embed":$("load",e),i=r;break;case"video":case"audio":for(i=0;iqn&&(t.flags|=128,r=!0,dr(l,!1),t.lanes=4194304)}else{if(!r)if(e=cl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),dr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!H)return ce(t),null}else 2*G()-l.renderingStartTime>qn&&n!==1073741824&&(t.flags|=128,r=!0,dr(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=G(),t.sibling=null,n=V.current,B(V,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return Ba(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function C0(e,t){switch(Na(t),t.tag){case 1:return Se(t.type)&&rl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qn(),W(Ne),W(fe),Ra(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pa(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(V),null;case 4:return Qn(),null;case 10:return _a(t.type._context),null;case 22:case 23:return Ba(),null;case 24:return null;default:return null}}var Ci=!1,de=!1,O0=typeof WeakSet=="function"?WeakSet:Set,R=null;function Pn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Ps(e,t,n){try{n()}catch(r){q(e,t,r)}}var lc=!1;function P0(e,t){if(fs=Zi,e=Jd(),xa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,s=-1,a=-1,c=0,d=0,f=e,v=null;t:for(;;){for(var x;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==l||r!==0&&f.nodeType!==3||(a=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(x=f.firstChild)!==null;)v=f,f=x;for(;;){if(f===e)break t;if(v===n&&++c===i&&(s=o),v===l&&++d===r&&(a=o),(x=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=x}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ms={focusedElem:e,selectionRange:n},Zi=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,N=y.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:We(t.type,g),N);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(w){q(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=lc,lc=!1,y}function _r(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Ps(t,n,l)}i=i.next}while(i!==r)}}function Ul(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Rs(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Qf(e){var t=e.alternate;t!==null&&(e.alternate=null,Qf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tt],delete t[Br],delete t[vs],delete t[d0],delete t[f0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Kf(e){return e.tag===5||e.tag===3||e.tag===4}function oc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ts(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nl));else if(r!==4&&(e=e.child,e!==null))for(Ts(e,t,n),e=e.sibling;e!==null;)Ts(e,t,n),e=e.sibling}function Ls(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ls(e,t,n),e=e.sibling;e!==null;)Ls(e,t,n),e=e.sibling}var oe=null,He=!1;function yt(e,t,n){for(n=n.child;n!==null;)qf(e,t,n),n=n.sibling}function qf(e,t,n){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(Tl,n)}catch{}switch(n.tag){case 5:de||Pn(n,t);case 6:var r=oe,i=He;oe=null,yt(e,t,n),oe=r,He=i,oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):oe.removeChild(n.stateNode));break;case 18:oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?_o(e.parentNode,n):e.nodeType===1&&_o(e,n),Fr(e)):_o(oe,n.stateNode));break;case 4:r=oe,i=He,oe=n.stateNode.containerInfo,He=!0,yt(e,t,n),oe=r,He=i;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&Ps(n,t,o),i=i.next}while(i!==r)}yt(e,t,n);break;case 1:if(!de&&(Pn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){q(n,t,s)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,yt(e,t,n),de=r):yt(e,t,n);break;default:yt(e,t,n)}}function sc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new O0),t.forEach(function(r){var i=I0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $e(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~l}if(r=i,r=G()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*T0(r/1960))-r,10e?16:e,Ct===null)var r=!1;else{if(e=Ct,Ct=null,hl=0,I&6)throw Error(_(331));var i=I;for(I|=4,R=e.current;R!==null;){var l=R,o=l.child;if(R.flags&16){var s=l.deletions;if(s!==null){for(var a=0;aG()-Ua?nn(e,0):Ia|=n),Ee(e,t)}function nm(e,t){t===0&&(e.mode&1?(t=gi,gi<<=1,!(gi&130023424)&&(gi=4194304)):t=1);var n=he();e=mt(e,t),e!==null&&(ei(e,t,n),Ee(e,n))}function D0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nm(e,n)}function I0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),nm(e,n)}var rm;rm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,_0(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&sf(t,ol,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;bi(e,t),e=t.pendingProps;var i=Wn(t,fe.current);bn(t,n),i=La(null,t,r,e,i,n);var l=za();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Se(r)?(l=!0,il(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ca(t),i.updater=Il,t.stateNode=i,i._reactInternals=t,Ss(t,r,e,n),t=_s(null,t,r,!0,l,n)):(t.tag=0,H&&l&&wa(t),pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(bi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=b0(r),e=We(r,e),i){case 0:t=ks(null,t,r,e,n);break e;case 1:t=nc(null,t,r,e,n);break e;case 11:t=ec(null,t,r,e,n);break e;case 14:t=tc(null,t,r,We(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),ks(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),nc(e,t,r,i,n);case 3:e:{if(bf(t),e===null)throw Error(_(387));r=t.pendingProps,l=t.memoizedState,i=l.element,mf(e,t),ul(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Kn(Error(_(423)),t),t=rc(e,t,r,n,i);break e}else if(r!==i){i=Kn(Error(_(424)),t),t=rc(e,t,r,n,i);break e}else for(Ce=Lt(t.stateNode.containerInfo.firstChild),Pe=t,H=!0,Ve=null,n=df(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===i){t=pt(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return pf(t),e===null&&xs(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,ps(r,i)?o=null:l!==null&&ps(r,l)&&(t.flags|=32),Uf(e,t),pe(e,t,o,n),t.child;case 6:return e===null&&xs(t),null;case 13:return Bf(e,t,n);case 4:return Oa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(t,null,r,n):pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),ec(e,t,r,i,n);case 7:return pe(e,t,t.pendingProps,n),t.child;case 8:return pe(e,t,t.pendingProps.children,n),t.child;case 12:return pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,B(sl,r._currentValue),r._currentValue=o,l!==null)if(Xe(l.value,o)){if(l.children===i.children&&!Ne.current){t=pt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(l.tag===1){a=ct(-1,n&-n),a.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?a.next=a:(a.next=d.next,d.next=a),c.pending=a}}l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),ws(l.return,n,t),s.lanes|=n;break}a=a.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(_(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),ws(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,bn(t,n),i=be(i),r=r(i),t.flags|=1,pe(e,t,r,n),t.child;case 14:return r=t.type,i=We(r,t.pendingProps),i=We(r.type,i),tc(e,t,r,i,n);case 15:return Df(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),bi(e,t),t.tag=1,Se(r)?(e=!0,il(t)):e=!1,bn(t,n),Mf(t,r,i),Ss(t,r,i,n),_s(null,t,r,!0,e,n);case 19:return $f(e,t,n);case 22:return If(e,t,n)}throw Error(_(156,t.tag))};function im(e,t){return Rd(e,t)}function U0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new U0(e,t,n,r)}function Wa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function b0(e){if(typeof e=="function")return Wa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===aa)return 11;if(e===ua)return 14}return 2}function Ft(e,t){var n=e.alternate;return n===null?(n=Ie(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wi(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")Wa(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case wn:return rn(n.children,i,l,t);case sa:o=8,i|=8;break;case Qo:return e=Ie(12,n,t,i|2),e.elementType=Qo,e.lanes=l,e;case Ko:return e=Ie(13,n,t,i),e.elementType=Ko,e.lanes=l,e;case qo:return e=Ie(19,n,t,i),e.elementType=qo,e.lanes=l,e;case md:return Bl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dd:o=10;break e;case fd:o=9;break e;case aa:o=11;break e;case ua:o=14;break e;case xt:o=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Ie(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function rn(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Bl(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=md,e.lanes=n,e.stateNode={isHidden:!1},e}function zo(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Mo(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function B0(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=po(0),this.expirationTimes=po(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=po(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ha(e,t,n,r,i,l,o,s,a){return e=new B0(e,t,n,s,a),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ie(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ca(l),e}function $0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(am)}catch(e){console.error(e)}}am(),sd.exports=Me;var K0=sd.exports,um,hc=K0;um=hc.createRoot,hc.hydrateRoot;var cm={exports:{}},dm={};/** + * @license React + * use-sync-external-store-with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ii=P;function q0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var J0=typeof Object.is=="function"?Object.is:q0,X0=ii.useSyncExternalStore,G0=ii.useRef,Y0=ii.useEffect,Z0=ii.useMemo,ev=ii.useDebugValue;dm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=G0(null);if(l.current===null){var o={hasValue:!1,value:null};l.current=o}else o=l.current;l=Z0(function(){function a(x){if(!c){if(c=!0,d=x,x=r(x),i!==void 0&&o.hasValue){var y=o.value;if(i(y,x))return f=y}return f=x}if(y=f,J0(d,x))return y;var g=r(x);return i!==void 0&&i(y,g)?y:(d=x,f=g)}var c=!1,d,f,v=n===void 0?null:n;return[function(){return a(t())},v===null?void 0:function(){return a(v())}]},[t,n,r,i]);var s=X0(e,l[0],l[1]);return Y0(function(){o.hasValue=!0,o.value=s},[s]),ev(s),s};cm.exports=dm;var tv=cm.exports,Oe="default"in Ho?E:Ho,vc=Symbol.for("react-redux-context"),yc=typeof globalThis<"u"?globalThis:{};function nv(){if(!Oe.createContext)return{};const e=yc[vc]??(yc[vc]=new Map);let t=e.get(Oe.createContext);return t||(t=Oe.createContext(null),e.set(Oe.createContext,t)),t}var bt=nv(),rv=()=>{throw new Error("uSES not initialized!")};function qa(e=bt){return function(){return Oe.useContext(e)}}var fm=qa(),mm=rv,iv=e=>{mm=e},lv=(e,t)=>e===t;function ov(e=bt){const t=e===bt?fm:qa(e),n=(r,i={})=>{const{equalityFn:l=lv,devModeChecks:o={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:a,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Oe.useRef(!0);const v=Oe.useCallback({[r.name](y){return r(y)}}[r.name],[r,d,o.stabilityCheck]),x=mm(a.addNestedSub,s.getState,c||s.getState,v,l);return Oe.useDebugValue(x),x};return Object.assign(n,{withTypes:()=>n}),n}var pm=ov();function sv(e){e()}function av(){let e=null,t=null;return{clear(){e=null,t=null},notify(){sv(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var gc={notify(){},get:()=>[]};function uv(e,t){let n,r=gc,i=0,l=!1;function o(g){d();const N=r.subscribe(g);let p=!1;return()=>{p||(p=!0,N(),f())}}function s(){r.notify()}function a(){y.onStateChange&&y.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(a),r=av())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=gc)}function v(){l||(l=!0,d())}function x(){l&&(l=!1,f())}const y={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:a,isSubscribed:c,trySubscribe:v,tryUnsubscribe:x,getListeners:()=>r};return y}var cv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dv=typeof navigator<"u"&&navigator.product==="ReactNative",fv=cv||dv?Oe.useLayoutEffect:Oe.useEffect;function mv({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const o=Oe.useMemo(()=>{const c=uv(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),s=Oe.useMemo(()=>e.getState(),[e]);fv(()=>{const{subscription:c}=o;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[o,s]);const a=t||bt;return Oe.createElement(a.Provider,{value:o},n)}var pv=mv;function hm(e=bt){const t=e===bt?fm:qa(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var hv=hm();function vv(e=bt){const t=e===bt?hv:hm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var vm=vv();iv(tv.useSyncExternalStoreWithSelector);function le(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var yv=typeof Symbol=="function"&&Symbol.observable||"@@observable",xc=yv,Ao=()=>Math.random().toString(36).substring(7).split("").join("."),gv={INIT:`@@redux/INIT${Ao()}`,REPLACE:`@@redux/REPLACE${Ao()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ao()}`},gl=gv;function Ja(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function ym(e,t,n){if(typeof e!="function")throw new Error(le(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(le(1));return n(ym)(e,t)}let r=e,i=t,l=new Map,o=l,s=0,a=!1;function c(){o===l&&(o=new Map,l.forEach((N,p)=>{o.set(p,N)}))}function d(){if(a)throw new Error(le(3));return i}function f(N){if(typeof N!="function")throw new Error(le(4));if(a)throw new Error(le(5));let p=!0;c();const m=s++;return o.set(m,N),function(){if(p){if(a)throw new Error(le(6));p=!1,c(),o.delete(m),l=null}}}function v(N){if(!Ja(N))throw new Error(le(7));if(typeof N.type>"u")throw new Error(le(8));if(typeof N.type!="string")throw new Error(le(17));if(a)throw new Error(le(9));try{a=!0,i=r(i,N)}finally{a=!1}return(l=o).forEach(m=>{m()}),N}function x(N){if(typeof N!="function")throw new Error(le(10));r=N,v({type:gl.REPLACE})}function y(){const N=f;return{subscribe(p){if(typeof p!="object"||p===null)throw new Error(le(11));function m(){const w=p;w.next&&w.next(d())}return m(),{unsubscribe:N(m)}},[xc](){return this}}}return v({type:gl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:x,[xc]:y}}function xv(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:gl.INIT})>"u")throw new Error(le(12));if(typeof n(void 0,{type:gl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function wv(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw s&&s.type,new Error(le(14));c[f]=y,a=a||y!==x}return a=a||r.length!==Object.keys(o).length,a?c:o}}function xl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Nv(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(le(15))};const o={getState:i.getState,dispatch:(a,...c)=>l(a,...c)},s=e.map(a=>a(o));return l=xl(...s)(i.dispatch),{...i,dispatch:l}}}function Sv(e){return Ja(e)&&"type"in e&&typeof e.type=="string"}var gm=Symbol.for("immer-nothing"),wc=Symbol.for("immer-draftable"),Le=Symbol.for("immer-state");function Qe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Jn=Object.getPrototypeOf;function dn(e){return!!e&&!!e[Le]}function ht(e){var t;return e?xm(e)||Array.isArray(e)||!!e[wc]||!!((t=e.constructor)!=null&&t[wc])||Kl(e)||ql(e):!1}var Ev=Object.prototype.constructor.toString();function xm(e){if(!e||typeof e!="object")return!1;const t=Jn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Ev}function wl(e,t){Ql(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Ql(e){const t=e[Le];return t?t.type_:Array.isArray(e)?1:Kl(e)?2:ql(e)?3:0}function Ds(e,t){return Ql(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function wm(e,t,n){const r=Ql(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function kv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Kl(e){return e instanceof Map}function ql(e){return e instanceof Set}function Xt(e){return e.copy_||e.base_}function Is(e,t){if(Kl(e))return new Map(e);if(ql(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=xm(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Le];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=_v),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>Xa(r,!0))),e}function _v(){Qe(2)}function Jl(e){return Object.isFrozen(e)}var jv={};function fn(e){const t=jv[e];return t||Qe(0,e),t}var qr;function Nm(){return qr}function Cv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Nc(e,t){t&&(fn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Us(e){bs(e),e.drafts_.forEach(Ov),e.drafts_=null}function bs(e){e===qr&&(qr=e.parent_)}function Sc(e){return qr=Cv(qr,e)}function Ov(e){const t=e[Le];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Ec(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Le].modified_&&(Us(t),Qe(4)),ht(e)&&(e=Nl(t,e),t.parent_||Sl(t,e)),t.patches_&&fn("Patches").generateReplacementPatches_(n[Le].base_,e,t.patches_,t.inversePatches_)):e=Nl(t,n,[]),Us(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==gm?e:void 0}function Nl(e,t,n){if(Jl(t))return t;const r=t[Le];if(!r)return wl(t,(i,l)=>kc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Sl(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,o=!1;r.type_===3&&(l=new Set(i),i.clear(),o=!0),wl(l,(s,a)=>kc(e,r,i,s,a,n,o)),Sl(e,i,!1),n&&e.patches_&&fn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function kc(e,t,n,r,i,l,o){if(dn(i)){const s=l&&t&&t.type_!==3&&!Ds(t.assigned_,r)?l.concat(r):void 0,a=Nl(e,i,s);if(wm(n,r,a),dn(a))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(ht(i)&&!Jl(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Nl(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Sl(e,i)}}function Sl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Xa(t,n)}function Pv(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Nm(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=Ga;n&&(i=[r],l=Jr);const{revoke:o,proxy:s}=Proxy.revocable(i,l);return r.draft_=s,r.revoke_=o,s}var Ga={get(e,t){if(t===Le)return e;const n=Xt(e);if(!Ds(n,t))return Rv(e,n,t);const r=n[t];return e.finalized_||!ht(r)?r:r===Fo(e.base_,t)?(Do(e),e.copy_[t]=$s(r,e)):r},has(e,t){return t in Xt(e)},ownKeys(e){return Reflect.ownKeys(Xt(e))},set(e,t,n){const r=Sm(Xt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Fo(Xt(e),t),l=i==null?void 0:i[Le];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(kv(n,i)&&(n!==void 0||Ds(e.base_,t)))return!0;Do(e),Bs(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Fo(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Do(e),Bs(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Xt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Qe(11)},getPrototypeOf(e){return Jn(e.base_)},setPrototypeOf(){Qe(12)}},Jr={};wl(Ga,(e,t)=>{Jr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Jr.deleteProperty=function(e,t){return Jr.set.call(this,e,t,void 0)};Jr.set=function(e,t,n){return Ga.set.call(this,e[0],t,n,e[0])};function Fo(e,t){const n=e[Le];return(n?Xt(n):e)[t]}function Rv(e,t,n){var i;const r=Sm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Sm(e,t){if(!(t in e))return;let n=Jn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Jn(n)}}function Bs(e){e.modified_||(e.modified_=!0,e.parent_&&Bs(e.parent_))}function Do(e){e.copy_||(e.copy_=Is(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Tv=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const o=this;return function(a=l,...c){return o.produce(a,d=>n.call(this,d,...c))}}typeof n!="function"&&Qe(6),r!==void 0&&typeof r!="function"&&Qe(7);let i;if(ht(t)){const l=Sc(this),o=$s(t,void 0);let s=!0;try{i=n(o),s=!1}finally{s?Us(l):bs(l)}return Nc(l,r),Ec(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===gm&&(i=void 0),this.autoFreeze_&&Xa(i,!0),r){const l=[],o=[];fn("Patches").generateReplacementPatches_(t,i,l,o),r(l,o)}return i}else Qe(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(o,...s)=>this.produceWithPatches(o,a=>t(a,...s));let r,i;return[this.produce(t,n,(o,s)=>{r=o,i=s}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){ht(e)||Qe(8),dn(e)&&(e=Lv(e));const t=Sc(this),n=$s(e,void 0);return n[Le].isManual_=!0,bs(t),n}finishDraft(e,t){const n=e&&e[Le];(!n||!n.isManual_)&&Qe(9);const{scope_:r}=n;return Nc(r,t),Ec(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=fn("Patches").applyPatches_;return dn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function $s(e,t){const n=Kl(e)?fn("MapSet").proxyMap_(e,t):ql(e)?fn("MapSet").proxySet_(e,t):Pv(e,t);return(t?t.scope_:Nm()).drafts_.push(n),n}function Lv(e){return dn(e)||Qe(10,e),Em(e)}function Em(e){if(!ht(e)||Jl(e))return e;const t=e[Le];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Is(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Is(e,!0);return wl(n,(r,i)=>{wm(n,r,Em(i))}),t&&(t.finalized_=!1),n}var ze=new Tv,km=ze.produce;ze.produceWithPatches.bind(ze);ze.setAutoFreeze.bind(ze);ze.setUseStrictShallowCopy.bind(ze);ze.applyPatches.bind(ze);ze.createDraft.bind(ze);ze.finishDraft.bind(ze);function _m(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var zv=_m(),Mv=_m,Av=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?xl:xl.apply(null,arguments)},Fv=e=>e&&typeof e.match=="function";function Or(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Je(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Sv(r)&&r.type===e,n}var jm=class gr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,gr.prototype)}static get[Symbol.species](){return gr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new gr(...t[0].concat(this)):new gr(...t.concat(this))}};function _c(e){return ht(e)?km(e,()=>{}):e}function jc(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Je(10));const r=n.insert(t,e);return e.set(t,r),r}function Dv(e){return typeof e=="boolean"}var Iv=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let o=new jm;return n&&(Dv(n)?o.push(zv):o.push(Mv(n.extraArgument))),o},Uv="RTK_autoBatch",Cm=e=>t=>{setTimeout(t,e)},bv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cm(10),Bv=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,o=!1;const s=new Set,a=e.type==="tick"?queueMicrotask:e.type==="raf"?bv:e.type==="callback"?e.queueNotification:Cm(e.timeout),c=()=>{o=!1,l&&(l=!1,s.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),v=r.subscribe(f);return s.add(d),()=>{v(),s.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[Uv]),l=!i,l&&(o||(o=!0,a(c))),r.dispatch(d)}finally{i=!0}}})},$v=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new jm(e);return r&&i.push(Bv(typeof r=="object"?r:void 0)),i};function Wv(e){const t=Iv(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:o=void 0}=e||{};let s;if(typeof n=="function")s=n;else if(Ja(n))s=wv(n);else throw new Error(Je(1));let a;typeof r=="function"?a=r(t):a=t();let c=xl;i&&(c=Av({trace:!1,...typeof i=="object"&&i}));const d=Nv(...a),f=$v(d);let v=typeof o=="function"?o(f):f();const x=c(...v);return ym(s,l,x)}function Om(e){const t={},n=[];let r;const i={addCase(l,o){const s=typeof l=="string"?l:l.type;if(!s)throw new Error(Je(28));if(s in t)throw new Error(Je(29));return t[s]=o,i},addMatcher(l,o){return n.push({matcher:l,reducer:o}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function Hv(e){return typeof e=="function"}function Vv(e,t){let[n,r,i]=Om(t),l;if(Hv(e))l=()=>_c(e());else{const s=_c(e);l=()=>s}function o(s=l(),a){let c=[n[a.type],...r.filter(({matcher:d})=>d(a)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(dn(d)){const x=f(d,a);return x===void 0?d:x}else{if(ht(d))return km(d,v=>f(v,a));{const v=f(d,a);if(v===void 0){if(d===null)return d;throw new Error(Je(9))}return v}}return d},s)}return o.getInitialState=l,o}var Qv=(e,t)=>Fv(e)?e.match(t):e(t);function Kv(...e){return t=>e.some(n=>Qv(n,t))}var qv="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Jv=(e=21)=>{let t="",n=e;for(;n--;)t+=qv[Math.random()*64|0];return t},Xv=["name","message","stack","code"],Io=class{constructor(e,t){so(this,"_type");this.payload=e,this.meta=t}},Cc=class{constructor(e,t){so(this,"_type");this.payload=e,this.meta=t}},Gv=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of Xv)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Pm=(()=>{function e(t,n,r){const i=Or(t+"/fulfilled",(a,c,d,f)=>({payload:a,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Or(t+"/pending",(a,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:a,requestStatus:"pending"}})),o=Or(t+"/rejected",(a,c,d,f,v)=>({payload:f,error:(r&&r.serializeError||Gv)(a||"Rejected"),meta:{...v||{},arg:d,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(a==null?void 0:a.name)==="AbortError",condition:(a==null?void 0:a.name)==="ConditionError"}}));function s(a){return(c,d,f)=>{const v=r!=null&&r.idGenerator?r.idGenerator(a):Jv(),x=new AbortController;let y,g;function N(m){g=m,x.abort()}const p=async function(){var w,k;let m;try{let j=(w=r==null?void 0:r.condition)==null?void 0:w.call(r,a,{getState:d,extra:f});if(Zv(j)&&(j=await j),j===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const O=new Promise((C,D)=>{y=()=>{D({name:"AbortError",message:g||"Aborted"})},x.signal.addEventListener("abort",y)});c(l(v,a,(k=r==null?void 0:r.getPendingMeta)==null?void 0:k.call(r,{requestId:v,arg:a},{getState:d,extra:f}))),m=await Promise.race([O,Promise.resolve(n(a,{dispatch:c,getState:d,extra:f,requestId:v,signal:x.signal,abort:N,rejectWithValue:(C,D)=>new Io(C,D),fulfillWithValue:(C,D)=>new Cc(C,D)})).then(C=>{if(C instanceof Io)throw C;return C instanceof Cc?i(C.payload,v,a,C.meta):i(C,v,a)})])}catch(j){m=j instanceof Io?o(null,v,a,j.payload,j.meta):o(j,v,a)}finally{y&&x.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&o.match(m)&&m.meta.condition||c(m),m}();return Object.assign(p,{abort:N,requestId:v,arg:a,unwrap(){return p.then(Yv)}})}}return Object.assign(s,{pending:l,rejected:o,fulfilled:i,settled:Kv(o,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Yv(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Zv(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var ey=Symbol.for("rtk-slice-createasyncthunk");function ty(e,t){return`${e}/${t}`}function ny({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[ey];return function(i){const{name:l,reducerPath:o=l}=i;if(!l)throw new Error(Je(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(ly()):i.reducers)||{},a=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(h,w){const k=typeof h=="string"?h:h.type;if(!k)throw new Error(Je(12));if(k in c.sliceCaseReducersByType)throw new Error(Je(13));return c.sliceCaseReducersByType[k]=w,d},addMatcher(h,w){return c.sliceMatchers.push({matcher:h,reducer:w}),d},exposeAction(h,w){return c.actionCreators[h]=w,d},exposeCaseReducer(h,w){return c.sliceCaseReducersByName[h]=w,d}};a.forEach(h=>{const w=s[h],k={reducerName:h,type:ty(l,h),createNotation:typeof i.reducers=="function"};sy(w)?uy(k,w,d,t):oy(k,w,d)});function f(){const[h={},w=[],k=void 0]=typeof i.extraReducers=="function"?Om(i.extraReducers):[i.extraReducers],j={...h,...c.sliceCaseReducersByType};return Vv(i.initialState,O=>{for(let C in j)O.addCase(C,j[C]);for(let C of c.sliceMatchers)O.addMatcher(C.matcher,C.reducer);for(let C of w)O.addMatcher(C.matcher,C.reducer);k&&O.addDefaultCase(k)})}const v=h=>h,x=new Map;let y;function g(h,w){return y||(y=f()),y(h,w)}function N(){return y||(y=f()),y.getInitialState()}function p(h,w=!1){function k(O){let C=O[h];return typeof C>"u"&&w&&(C=N()),C}function j(O=v){const C=jc(x,w,{insert:()=>new WeakMap});return jc(C,O,{insert:()=>{const D={};for(const[z,me]of Object.entries(i.selectors??{}))D[z]=ry(me,O,N,w);return D}})}return{reducerPath:h,getSelectors:j,get selectors(){return j(k)},selectSlice:k}}const m={name:l,reducer:g,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...p(o),injectInto(h,{reducerPath:w,...k}={}){const j=w??o;return h.inject({reducerPath:j,reducer:g},k),{...m,...p(j,!0)}}};return m}}function ry(e,t,n,r){function i(l,...o){let s=t(l);return typeof s>"u"&&r&&(s=n()),e(s,...o)}return i.unwrapped=e,i}var iy=ny();function ly(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function oy({type:e,reducerName:t,createNotation:n},r,i){let l,o;if("reducer"in r){if(n&&!ay(r))throw new Error(Je(17));l=r.reducer,o=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,o?Or(e,o):Or(e))}function sy(e){return e._reducerDefinitionType==="asyncThunk"}function ay(e){return e._reducerDefinitionType==="reducerWithPrepare"}function uy({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Je(18));const{payloadCreator:l,fulfilled:o,pending:s,rejected:a,settled:c,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),o&&r.addCase(f.fulfilled,o),s&&r.addCase(f.pending,s),a&&r.addCase(f.rejected,a),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:o||Ri,pending:s||Ri,rejected:a||Ri,settled:c||Ri})}function Ri(){}function Je(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function Rm(e,t){return function(){return e.apply(t,arguments)}}const{toString:cy}=Object.prototype,{getPrototypeOf:Ya}=Object,Xl=(e=>t=>{const n=cy.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>Xl(t)===e),Gl=e=>t=>typeof t===e,{isArray:er}=Array,Xr=Gl("undefined");function dy(e){return e!==null&&!Xr(e)&&e.constructor!==null&&!Xr(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tm=Ge("ArrayBuffer");function fy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tm(e.buffer),t}const my=Gl("string"),Re=Gl("function"),Lm=Gl("number"),Yl=e=>e!==null&&typeof e=="object",py=e=>e===!0||e===!1,Hi=e=>{if(Xl(e)!=="object")return!1;const t=Ya(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},hy=Ge("Date"),vy=Ge("File"),yy=Ge("Blob"),gy=Ge("FileList"),xy=e=>Yl(e)&&Re(e.pipe),wy=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Re(e.append)&&((t=Xl(e))==="formdata"||t==="object"&&Re(e.toString)&&e.toString()==="[object FormData]"))},Ny=Ge("URLSearchParams"),[Sy,Ey,ky,_y]=["ReadableStream","Request","Response","Headers"].map(Ge),jy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),er(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const tn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mm=e=>!Xr(e)&&e!==tn;function Ws(){const{caseless:e}=Mm(this)&&this||{},t={},n=(r,i)=>{const l=e&&zm(t,i)||i;Hi(t[l])&&Hi(r)?t[l]=Ws(t[l],r):Hi(r)?t[l]=Ws({},r):er(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(li(t,(i,l)=>{n&&Re(i)?e[l]=Rm(i,n):e[l]=i},{allOwnKeys:r}),e),Oy=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Py=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ry=(e,t,n,r)=>{let i,l,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)o=i[l],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Ya(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ty=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ly=e=>{if(!e)return null;if(er(e))return e;let t=e.length;if(!Lm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zy=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ya(Uint8Array)),My=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},Ay=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Fy=Ge("HTMLFormElement"),Dy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Oc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Iy=Ge("RegExp"),Am=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};li(n,(i,l)=>{let o;(o=t(i,l,e))!==!1&&(r[l]=o||i)}),Object.defineProperties(e,r)},Uy=e=>{Am(e,(t,n)=>{if(Re(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Re(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},by=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return er(e)?r(e):r(String(e).split(t)),n},By=()=>{},$y=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Uo="abcdefghijklmnopqrstuvwxyz",Pc="0123456789",Fm={DIGIT:Pc,ALPHA:Uo,ALPHA_DIGIT:Uo+Uo.toUpperCase()+Pc},Wy=(e=16,t=Fm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Hy(e){return!!(e&&Re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Vy=e=>{const t=new Array(10),n=(r,i)=>{if(Yl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=er(r)?[]:{};return li(r,(o,s)=>{const a=n(o,i+1);!Xr(a)&&(l[s]=a)}),t[i]=void 0,l}}return r};return n(e,0)},Qy=Ge("AsyncFunction"),Ky=e=>e&&(Yl(e)||Re(e))&&Re(e.then)&&Re(e.catch),Dm=((e,t)=>e?setImmediate:t?((n,r)=>(tn.addEventListener("message",({source:i,data:l})=>{i===tn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),tn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(tn.postMessage)),qy=typeof queueMicrotask<"u"?queueMicrotask.bind(tn):typeof process<"u"&&process.nextTick||Dm,S={isArray:er,isArrayBuffer:Tm,isBuffer:dy,isFormData:wy,isArrayBufferView:fy,isString:my,isNumber:Lm,isBoolean:py,isObject:Yl,isPlainObject:Hi,isReadableStream:Sy,isRequest:Ey,isResponse:ky,isHeaders:_y,isUndefined:Xr,isDate:hy,isFile:vy,isBlob:yy,isRegExp:Iy,isFunction:Re,isStream:xy,isURLSearchParams:Ny,isTypedArray:zy,isFileList:gy,forEach:li,merge:Ws,extend:Cy,trim:jy,stripBOM:Oy,inherits:Py,toFlatObject:Ry,kindOf:Xl,kindOfTest:Ge,endsWith:Ty,toArray:Ly,forEachEntry:My,matchAll:Ay,isHTMLForm:Fy,hasOwnProperty:Oc,hasOwnProp:Oc,reduceDescriptors:Am,freezeMethods:Uy,toObjectSet:by,toCamelCase:Dy,noop:By,toFiniteNumber:$y,findKey:zm,global:tn,isContextDefined:Mm,ALPHABET:Fm,generateString:Wy,isSpecCompliantForm:Hy,toJSONObject:Vy,isAsyncFn:Qy,isThenable:Ky,setImmediate:Dm,asap:qy};function L(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}S.inherits(L,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.status}}});const Im=L.prototype,Um={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Um[e]={value:e}});Object.defineProperties(L,Um);Object.defineProperty(Im,"isAxiosError",{value:!0});L.from=(e,t,n,r,i,l)=>{const o=Object.create(Im);return S.toFlatObject(e,o,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),L.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,l&&Object.assign(o,l),o};const Jy=null;function Hs(e){return S.isPlainObject(e)||S.isArray(e)}function bm(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Rc(e,t,n){return e?e.concat(t).map(function(i,l){return i=bm(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function Xy(e){return S.isArray(e)&&!e.some(Hs)}const Gy=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function Zl(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,N){return!S.isUndefined(N[g])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(i))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(S.isDate(y))return y.toISOString();if(!a&&S.isBlob(y))throw new L("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(y)||S.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,g,N){let p=y;if(y&&!N&&typeof y=="object"){if(S.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(S.isArray(y)&&Xy(y)||(S.isFileList(y)||S.endsWith(g,"[]"))&&(p=S.toArray(y)))return g=bm(g),p.forEach(function(h,w){!(S.isUndefined(h)||h===null)&&t.append(o===!0?Rc([g],w,l):o===null?g:g+"[]",c(h))}),!1}return Hs(y)?!0:(t.append(Rc(N,g,l),c(y)),!1)}const f=[],v=Object.assign(Gy,{defaultVisitor:d,convertValue:c,isVisitable:Hs});function x(y,g){if(!S.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(y),S.forEach(y,function(p,m){(!(S.isUndefined(p)||p===null)&&i.call(t,p,S.isString(m)?m.trim():m,g,v))===!0&&x(p,g?g.concat(m):[m])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return x(e),t}function Tc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Za(e,t){this._pairs=[],e&&Zl(e,this,t)}const Bm=Za.prototype;Bm.append=function(t,n){this._pairs.push([t,n])};Bm.toString=function(t){const n=t?function(r){return t.call(this,r,Tc)}:Tc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Yy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $m(e,t,n){if(!t)return e;const r=n&&n.encode||Yy,i=n&&n.serialize;let l;if(i?l=i(t,n):l=S.isURLSearchParams(t)?t.toString():new Za(t,n).toString(r),l){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Lc{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Wm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zy=typeof URLSearchParams<"u"?URLSearchParams:Za,eg=typeof FormData<"u"?FormData:null,tg=typeof Blob<"u"?Blob:null,ng={isBrowser:!0,classes:{URLSearchParams:Zy,FormData:eg,Blob:tg},protocols:["http","https","file","blob","url","data"]},eu=typeof window<"u"&&typeof document<"u",Vs=typeof navigator=="object"&&navigator||void 0,rg=eu&&(!Vs||["ReactNative","NativeScript","NS"].indexOf(Vs.product)<0),ig=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",lg=eu&&window.location.href||"http://localhost",og=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:eu,hasStandardBrowserEnv:rg,hasStandardBrowserWebWorkerEnv:ig,navigator:Vs,origin:lg},Symbol.toStringTag,{value:"Module"})),ke={...og,...ng};function sg(e,t){return Zl(e,new ke.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return ke.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function ag(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ug(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return o=!o&&S.isArray(i)?i.length:o,a?(S.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!S.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],l)&&S.isArray(i[o])&&(i[o]=ug(i[o])),!s)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(ag(r),i,n,0)}),n}return null}function cg(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const oi={transitional:Wm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=S.isObject(t);if(l&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return i?JSON.stringify(Hm(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return sg(t,this.formSerializer).toString();if((s=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Zl(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),cg(t)):t}],transformResponse:[function(t){const n=this.transitional||oi.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?L.from(s,L.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ke.classes.FormData,Blob:ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{oi.headers[e]={}});const dg=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fg=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&dg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},zc=Symbol("internals");function mr(e){return e&&String(e).trim().toLowerCase()}function Vi(e){return e===!1||e==null?e:S.isArray(e)?e.map(Vi):String(e)}function mg(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const pg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bo(e,t,n,r,i){if(S.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function hg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function vg(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,o){return this[r].call(this,t,i,l,o)},configurable:!0})})}class _e{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(s,a,c){const d=mr(a);if(!d)throw new Error("header name must be a non-empty string");const f=S.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||a]=Vi(s))}const o=(s,a)=>S.forEach(s,(c,d)=>l(c,d,a));if(S.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(S.isString(t)&&(t=t.trim())&&!pg(t))o(fg(t),n);else if(S.isHeaders(t))for(const[s,a]of t.entries())l(a,s,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=mr(t),t){const r=S.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return mg(i);if(S.isFunction(n))return n.call(this,i,r);if(S.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=mr(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||bo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(o){if(o=mr(o),o){const s=S.findKey(r,o);s&&(!n||bo(r,r[s],s,n))&&(delete r[s],i=!0)}}return S.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||bo(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return S.forEach(this,(i,l)=>{const o=S.findKey(r,l);if(o){n[o]=Vi(i),delete n[l];return}const s=t?hg(l):String(l).trim();s!==l&&delete n[l],n[s]=Vi(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[zc]=this[zc]={accessors:{}}).accessors,i=this.prototype;function l(o){const s=mr(o);r[s]||(vg(i,o),r[s]=!0)}return S.isArray(t)?t.forEach(l):l(t),this}}_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(_e.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(_e);function Bo(e,t){const n=this||oi,r=t||n,i=_e.from(r.headers);let l=r.data;return S.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Vm(e){return!!(e&&e.__CANCEL__)}function tr(e,t,n){L.call(this,e??"canceled",L.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(tr,L,{__CANCEL__:!0});function Qm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new L("Request failed with status code "+n.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function yg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,o;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),d=r[l];o||(o=c),n[i]=a,r[i]=c;let f=l,v=0;for(;f!==i;)v+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-o{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?o(c,d):(i=c,l||(l=setTimeout(()=>{l=null,o(i)},r-f)))},()=>i&&o(i)]}const El=(e,t,n=3)=>{let r=0;const i=gg(50,250);return xg(l=>{const o=l.loaded,s=l.lengthComputable?l.total:void 0,a=o-r,c=i(a),d=o<=s;r=o;const f={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&d?(s-o)/c:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},Mc=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ac=e=>(...t)=>S.asap(()=>e(...t)),wg=ke.hasStandardBrowserEnv?function(){const t=ke.navigator&&/(msie|trident)/i.test(ke.navigator.userAgent),n=document.createElement("a");let r;function i(l){let o=l;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const s=S.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Ng=ke.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const o=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),S.isString(r)&&o.push("path="+r),S.isString(i)&&o.push("domain="+i),l===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Sg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Eg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Km(e,t){return e&&!Sg(t)?Eg(e,t):t}const Fc=e=>e instanceof _e?{...e}:e;function mn(e,t){t=t||{};const n={};function r(c,d,f){return S.isPlainObject(c)&&S.isPlainObject(d)?S.merge.call({caseless:f},c,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function i(c,d,f){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!S.isUndefined(d))return r(void 0,d)}function o(c,d){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function s(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const a={url:l,method:l,data:l,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(c,d)=>i(Fc(c),Fc(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=a[d]||i,v=f(e[d],t[d],d);S.isUndefined(v)&&f!==s||(n[d]=v)}),n}const qm=e=>{const t=mn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:o,auth:s}=t;t.headers=o=_e.from(o),t.url=$m(Km(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(S.isFormData(n)){if(ke.hasStandardBrowserEnv||ke.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((a=o.getContentType())!==!1){const[c,...d]=a?a.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...d].join("; "))}}if(ke.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&wg(t.url))){const c=i&&l&&Ng.read(l);c&&o.set(i,c)}return t},kg=typeof XMLHttpRequest<"u",_g=kg&&function(e){return new Promise(function(n,r){const i=qm(e);let l=i.data;const o=_e.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,d,f,v,x,y;function g(){x&&x(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let N=new XMLHttpRequest;N.open(i.method.toUpperCase(),i.url,!0),N.timeout=i.timeout;function p(){if(!N)return;const h=_e.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),k={data:!s||s==="text"||s==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:h,config:e,request:N};Qm(function(O){n(O),g()},function(O){r(O),g()},k),N=null}"onloadend"in N?N.onloadend=p:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(p)},N.onabort=function(){N&&(r(new L("Request aborted",L.ECONNABORTED,e,N)),N=null)},N.onerror=function(){r(new L("Network Error",L.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||Wm;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),r(new L(w,k.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,N)),N=null},l===void 0&&o.setContentType(null),"setRequestHeader"in N&&S.forEach(o.toJSON(),function(w,k){N.setRequestHeader(k,w)}),S.isUndefined(i.withCredentials)||(N.withCredentials=!!i.withCredentials),s&&s!=="json"&&(N.responseType=i.responseType),c&&([v,y]=El(c,!0),N.addEventListener("progress",v)),a&&N.upload&&([f,x]=El(a),N.upload.addEventListener("progress",f),N.upload.addEventListener("loadend",x)),(i.cancelToken||i.signal)&&(d=h=>{N&&(r(!h||h.type?new tr(null,e,N):h),N.abort(),N=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=yg(i.url);if(m&&ke.protocols.indexOf(m)===-1){r(new L("Unsupported protocol "+m+":",L.ERR_BAD_REQUEST,e));return}N.send(l||null)})},jg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(c){if(!i){i=!0,s();const d=c instanceof Error?c:this.reason;r.abort(d instanceof L?d:new tr(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,l(new L(`timeout ${t} of ms exceeded`,L.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:a}=r;return a.unsubscribe=()=>S.asap(s),a}},Cg=function*(e,t){let n=e.byteLength;if(!t||n{const i=Og(e,t);let l=0,o,s=a=>{o||(o=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:c,value:d}=await i.next();if(c){s(),a.close();return}let f=d.byteLength;if(n){let v=l+=f;n(v)}a.enqueue(new Uint8Array(d))}catch(c){throw s(c),c}},cancel(a){return s(a),i.return()}},{highWaterMark:2})},eo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Jm=eo&&typeof ReadableStream=="function",Rg=eo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Xm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Tg=Jm&&Xm(()=>{let e=!1;const t=new Request(ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ic=64*1024,Qs=Jm&&Xm(()=>S.isReadableStream(new Response("").body)),kl={stream:Qs&&(e=>e.body)};eo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!kl[t]&&(kl[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new L(`Response type '${t}' is not supported`,L.ERR_NOT_SUPPORT,r)})})})(new Response);const Lg=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await Rg(e)).byteLength},zg=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??Lg(t)},Mg=eo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:o,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:v}=qm(e);c=c?(c+"").toLowerCase():"text";let x=jg([i,l&&l.toAbortSignal()],o),y;const g=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let N;try{if(a&&Tg&&n!=="get"&&n!=="head"&&(N=await zg(d,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),j;if(S.isFormData(r)&&(j=k.headers.get("content-type"))&&d.setContentType(j),k.body){const[O,C]=Mc(N,El(Ac(a)));r=Dc(k.body,Ic,O,C)}}S.isString(f)||(f=f?"include":"omit");const p="credentials"in Request.prototype;y=new Request(t,{...v,signal:x,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:p?f:void 0});let m=await fetch(y);const h=Qs&&(c==="stream"||c==="response");if(Qs&&(s||h&&g)){const k={};["status","statusText","headers"].forEach(D=>{k[D]=m[D]});const j=S.toFiniteNumber(m.headers.get("content-length")),[O,C]=s&&Mc(j,El(Ac(s),!0))||[];m=new Response(Dc(m.body,Ic,O,()=>{C&&C(),g&&g()}),k)}c=c||"text";let w=await kl[S.findKey(kl,c)||"text"](m,e);return!h&&g&&g(),await new Promise((k,j)=>{Qm(k,j,{data:w,headers:_e.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(p){throw g&&g(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new L("Network Error",L.ERR_NETWORK,e,y),{cause:p.cause||p}):L.from(p,p&&p.code,e,y)}}),Ks={http:Jy,xhr:_g,fetch:Mg};S.forEach(Ks,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Uc=e=>`- ${e}`,Ag=e=>S.isFunction(e)||e===null||e===!1,Gm={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=t?l.length>1?`since : +`+l.map(Uc).join(` +`):" "+Uc(l[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Ks};function $o(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tr(null,e)}function bc(e){return $o(e),e.headers=_e.from(e.headers),e.data=Bo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gm.getAdapter(e.adapter||oi.adapter)(e).then(function(r){return $o(e),r.data=Bo.call(e,e.transformResponse,r),r.headers=_e.from(r.headers),r},function(r){return Vm(r)||($o(e),r&&r.response&&(r.response.data=Bo.call(e,e.transformResponse,r.response),r.response.headers=_e.from(r.response.headers))),Promise.reject(r)})}const Ym="1.7.7",tu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Bc={};tu.transitional=function(t,n,r){function i(l,o){return"[Axios v"+Ym+"] Transitional option '"+l+"'"+o+(r?". "+r:"")}return(l,o,s)=>{if(t===!1)throw new L(i(o," has been removed"+(n?" in "+n:"")),L.ERR_DEPRECATED);return n&&!Bc[o]&&(Bc[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,o,s):!0}};function Fg(e,t,n){if(typeof e!="object")throw new L("options must be an object",L.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],o=t[l];if(o){const s=e[l],a=s===void 0||o(s,l,e);if(a!==!0)throw new L("option "+l+" must be "+a,L.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new L("Unknown option "+l,L.ERR_BAD_OPTION)}}const qs={assertOptions:Fg,validators:tu},gt=qs.validators;class ln{constructor(t){this.defaults=t,this.interceptors={request:new Lc,response:new Lc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=mn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&qs.assertOptions(r,{silentJSONParsing:gt.transitional(gt.boolean),forcedJSONParsing:gt.transitional(gt.boolean),clarifyTimeoutError:gt.transitional(gt.boolean)},!1),i!=null&&(S.isFunction(i)?n.paramsSerializer={serialize:i}:qs.assertOptions(i,{encode:gt.function,serialize:gt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=l&&S.merge(l.common,l[n.method]);l&&S.forEach(["delete","get","head","post","put","patch","common"],y=>{delete l[y]}),n.headers=_e.concat(o,l);const s=[];let a=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(a=a&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,f=0,v;if(!a){const y=[bc.bind(this),void 0];for(y.unshift.apply(y,s),y.push.apply(y,c),v=y.length,d=Promise.resolve(n);f{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const o=new Promise(s=>{r.subscribe(s),l=s}).then(i);return o.cancel=function(){r.unsubscribe(l)},o},t(function(l,o,s){r.reason||(r.reason=new tr(l,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new nu(function(i){t=i}),cancel:t}}}function Dg(e){return function(n){return e.apply(null,n)}}function Ig(e){return S.isObject(e)&&e.isAxiosError===!0}const Js={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Js).forEach(([e,t])=>{Js[t]=e});function Zm(e){const t=new ln(e),n=Rm(ln.prototype.request,t);return S.extend(n,ln.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Zm(mn(e,i))},n}const Z=Zm(oi);Z.Axios=ln;Z.CanceledError=tr;Z.CancelToken=nu;Z.isCancel=Vm;Z.VERSION=Ym;Z.toFormData=Zl;Z.AxiosError=L;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=Dg;Z.isAxiosError=Ig;Z.mergeConfig=mn;Z.AxiosHeaders=_e;Z.formToJSON=e=>Hm(S.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=Gm.getAdapter;Z.HttpStatusCode=Js;Z.default=Z;const Ug=void 0,ru=Z.create({baseURL:Ug});ru.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const bg=e=>ru.post("/users/signup",e),Bg=e=>ru.post("/users/signin",e),Qi=Pm("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await bg(e);return n.success("Register Successfully"),t("/"),i.data}catch(i){return r(i.response.data)}}),Ki=Pm("auth/login",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await Bg(e);return n.success("Login Successfully"),t("/register"),i.data}catch(i){return r(i.response.data)}}),ep=iy({name:"auth",initialState:{user:null,error:null,loading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload}},extraReducers:e=>{e.addCase(Qi.pending,(t,n)=>{t.loading=!0,t.user=n.payload}).addCase(Qi.fulfilled,(t,n)=>{t.loading=!1,t.error=null,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Qi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(Ki.pending,t=>{t.loading=!0}).addCase(Ki.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Ki.rejected,(t,n)=>{t.loading=!1,t.error=n.payload})}});ep.actions;const $g=ep.reducer,Wg=Wv({reducer:{auth:$g}});/** + * @remix-run/router v1.19.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Gr(){return Gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function tp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Vg(){return Math.random().toString(36).substr(2,8)}function Wc(e,t){return{usr:e.state,key:e.key,idx:t}}function Xs(e,t,n,r){return n===void 0&&(n=null),Gr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?nr(t):t,{state:n,key:t&&t.key||r||Vg()})}function _l(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function nr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Qg(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,o=i.history,s=Ot.Pop,a=null,c=d();c==null&&(c=0,o.replaceState(Gr({},o.state,{idx:c}),""));function d(){return(o.state||{idx:null}).idx}function f(){s=Ot.Pop;let N=d(),p=N==null?null:N-c;c=N,a&&a({action:s,location:g.location,delta:p})}function v(N,p){s=Ot.Push;let m=Xs(g.location,N,p);c=d()+1;let h=Wc(m,c),w=g.createHref(m);try{o.pushState(h,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(w)}l&&a&&a({action:s,location:g.location,delta:1})}function x(N,p){s=Ot.Replace;let m=Xs(g.location,N,p);c=d();let h=Wc(m,c),w=g.createHref(m);o.replaceState(h,"",w),l&&a&&a({action:s,location:g.location,delta:0})}function y(N){let p=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof N=="string"?N:_l(N);return m=m.replace(/ $/,"%20"),J(p,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,p)}let g={get action(){return s},get location(){return e(i,o)},listen(N){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener($c,f),a=N,()=>{i.removeEventListener($c,f),a=null}},createHref(N){return t(i,N)},createURL:y,encodeLocation(N){let p=y(N);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:v,replace:x,go(N){return o.go(N)}};return g}var Hc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Hc||(Hc={}));function Kg(e,t,n){return n===void 0&&(n="/"),qg(e,t,n,!1)}function qg(e,t,n,r){let i=typeof t=="string"?nr(t):t,l=Xn(i.pathname||"/",n);if(l==null)return null;let o=np(e);Jg(o);let s=null;for(let a=0;s==null&&a{let a={relativePath:s===void 0?l.path||"":s,caseSensitive:l.caseSensitive===!0,childrenIndex:o,route:l};a.relativePath.startsWith("/")&&(J(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let c=Dt([r,a.relativePath]),d=n.concat(a);l.children&&l.children.length>0&&(J(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),np(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:n1(c,l.index),routesMeta:d})};return e.forEach((l,o)=>{var s;if(l.path===""||!((s=l.path)!=null&&s.includes("?")))i(l,o);else for(let a of rp(l.path))i(l,o,a)}),t}function rp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let o=rp(r.join("/")),s=[];return s.push(...o.map(a=>a===""?l:[l,a].join("/"))),i&&s.push(...o),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function Jg(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:r1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Xg=/^:[\w-]+$/,Gg=3,Yg=2,Zg=1,e1=10,t1=-2,Vc=e=>e==="*";function n1(e,t){let n=e.split("/"),r=n.length;return n.some(Vc)&&(r+=t1),t&&(r+=Yg),n.filter(i=>!Vc(i)).reduce((i,l)=>i+(Xg.test(l)?Gg:l===""?Zg:e1),r)}function r1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function i1(e,t,n){let{routesMeta:r}=e,i={},l="/",o=[];for(let s=0;s{let{paramName:v,isOptional:x}=d;if(v==="*"){let g=s[f]||"";o=l.slice(0,l.length-g.length).replace(/(.)\/+$/,"$1")}const y=s[f];return x&&!y?c[v]=void 0:c[v]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:o,pattern:e}}function l1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),tp(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,a)=>(r.push({paramName:s,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function o1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return tp(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Xn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function s1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?nr(e):e;return{pathname:n?n.startsWith("/")?n:a1(n,t):t,search:d1(r),hash:f1(i)}}function a1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Wo(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function u1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ip(e,t){let n=u1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function lp(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=nr(e):(i=Gr({},e),J(!i.pathname||!i.pathname.includes("?"),Wo("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),Wo("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),Wo("#","search","hash",i)));let l=e===""||i.pathname==="",o=l?"/":i.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),f-=1;i.pathname=v.join("/")}s=f>=0?t[f]:"/"}let a=s1(i,s),c=o&&o!=="/"&&o.endsWith("/"),d=(l||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(c||d)&&(a.pathname+="/"),a}const Dt=e=>e.join("/").replace(/\/\/+/g,"/"),c1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),d1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,f1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function m1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const op=["post","put","patch","delete"];new Set(op);const p1=["get",...op];new Set(p1);/** + * React Router v6.26.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Yr(){return Yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(c,d){if(d===void 0&&(d={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let f=lp(c,JSON.parse(o),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Dt([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,l,e])}function ro(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Ht),{matches:i}=P.useContext(vn),{pathname:l}=ai(),o=JSON.stringify(ip(i,r.v7_relativeSplatPath));return P.useMemo(()=>lp(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function y1(e,t){return g1(e,t)}function g1(e,t,n,r){si()||J(!1);let{navigator:i}=P.useContext(Ht),{matches:l}=P.useContext(vn),o=l[l.length-1],s=o?o.params:{};o&&o.pathname;let a=o?o.pathnameBase:"/";o&&o.route;let c=ai(),d;if(t){var f;let N=typeof t=="string"?nr(t):t;a==="/"||(f=N.pathname)!=null&&f.startsWith(a)||J(!1),d=N}else d=c;let v=d.pathname||"/",x=v;if(a!=="/"){let N=a.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let y=Kg(e,{pathname:x}),g=E1(y&&y.map(N=>Object.assign({},N,{params:Object.assign({},s,N.params),pathname:Dt([a,i.encodeLocation?i.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?a:Dt([a,i.encodeLocation?i.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),l,n,r);return t&&g?P.createElement(no.Provider,{value:{location:Yr({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Ot.Pop}},g):g}function x1(){let e=C1(),t=m1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const w1=P.createElement(x1,null);class N1 extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?P.createElement(vn.Provider,{value:this.props.routeContext},P.createElement(ap.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function S1(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(to);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(vn.Provider,{value:t},r)}function E1(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let d=o.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);d>=0||J(!1),o=o.slice(0,Math.min(o.length,d+1))}let a=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((d,f,v)=>{let x,y=!1,g=null,N=null;n&&(x=s&&f.route.id?s[f.route.id]:void 0,g=f.route.errorElement||w1,a&&(c<0&&v===0?(y=!0,N=null):c===v&&(y=!0,N=f.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,v+1)),m=()=>{let h;return x?h=g:y?h=N:f.route.Component?h=P.createElement(f.route.Component,null):f.route.element?h=f.route.element:h=d,P.createElement(S1,{match:f,routeContext:{outlet:d,matches:p,isDataRoute:n!=null},children:h})};return n&&(f.route.ErrorBoundary||f.route.errorElement||v===0)?P.createElement(N1,{location:n.location,revalidation:n.revalidation,component:g,error:x,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var cp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(cp||{}),Cl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Cl||{});function k1(e){let t=P.useContext(to);return t||J(!1),t}function _1(e){let t=P.useContext(sp);return t||J(!1),t}function j1(e){let t=P.useContext(vn);return t||J(!1),t}function dp(e){let t=j1(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function C1(){var e;let t=P.useContext(ap),n=_1(Cl.UseRouteError),r=dp(Cl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function O1(){let{router:e}=k1(cp.UseNavigateStable),t=dp(Cl.UseNavigateStable),n=P.useRef(!1);return up(()=>{n.current=!0}),P.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Yr({fromRouteId:t},l)))},[e,t])}function gn(e){J(!1)}function P1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ot.Pop,navigator:l,static:o=!1,future:s}=e;si()&&J(!1);let a=t.replace(/^\/*/,"/"),c=P.useMemo(()=>({basename:a,navigator:l,static:o,future:Yr({v7_relativeSplatPath:!1},s)}),[a,s,l,o]);typeof r=="string"&&(r=nr(r));let{pathname:d="/",search:f="",hash:v="",state:x=null,key:y="default"}=r,g=P.useMemo(()=>{let N=Xn(d,a);return N==null?null:{location:{pathname:N,search:f,hash:v,state:x,key:y},navigationType:i}},[a,d,f,v,x,y,i]);return g==null?null:P.createElement(Ht.Provider,{value:c},P.createElement(no.Provider,{children:n,value:g}))}function R1(e){let{children:t,location:n}=e;return y1(Gs(t),n)}new Promise(()=>{});function Gs(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let l=[...t,i];if(r.type===P.Fragment){n.push.apply(n,Gs(r.props.children,l));return}r.type!==gn&&J(!1),!r.props.index||!r.props.children||J(!1);let o={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Gs(r.props.children,l)),n.push(o)}),n}/** + * React Router DOM v6.26.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function T1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function L1(e,t){return e.button===0&&(!t||t==="_self")&&!T1(e)}const z1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],M1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],A1="6";try{window.__reactRouterVersion=A1}catch{}const F1=P.createContext({isTransitioning:!1}),D1="startTransition",Qc=Ho[D1];function I1(e){let{basename:t,children:n,future:r,window:i}=e,l=P.useRef();l.current==null&&(l.current=Hg({window:i,v5Compat:!0}));let o=l.current,[s,a]=P.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},d=P.useCallback(f=>{c&&Qc?Qc(()=>a(f)):a(f)},[a,c]);return P.useLayoutEffect(()=>o.listen(d),[o,d]),P.createElement(P1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const U1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",b1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,B1=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:o,state:s,target:a,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=fp(t,z1),{basename:x}=P.useContext(Ht),y,g=!1;if(typeof c=="string"&&b1.test(c)&&(y=c,U1))try{let h=new URL(window.location.href),w=c.startsWith("//")?new URL(h.protocol+c):new URL(c),k=Xn(w.pathname,x);w.origin===h.origin&&k!=null?c=k+w.search+w.hash:g=!0}catch{}let N=h1(c,{relative:i}),p=W1(c,{replace:o,state:s,target:a,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(h){r&&r(h),h.defaultPrevented||p(h)}return P.createElement("a",Ol({},v,{href:y||N,onClick:g||l?r:m,ref:n,target:a}))}),Kt=P.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:o=!1,style:s,to:a,unstable_viewTransition:c,children:d}=t,f=fp(t,M1),v=ro(a,{relative:f.relative}),x=ai(),y=P.useContext(sp),{navigator:g,basename:N}=P.useContext(Ht),p=y!=null&&H1(v)&&c===!0,m=g.encodeLocation?g.encodeLocation(v).pathname:v.pathname,h=x.pathname,w=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(h=h.toLowerCase(),w=w?w.toLowerCase():null,m=m.toLowerCase()),w&&N&&(w=Xn(w,N)||w);const k=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let j=h===m||!o&&h.startsWith(m)&&h.charAt(k)==="/",O=w!=null&&(w===m||!o&&w.startsWith(m)&&w.charAt(m.length)==="/"),C={isActive:j,isPending:O,isTransitioning:p},D=j?r:void 0,z;typeof l=="function"?z=l(C):z=[l,j?"active":null,O?"pending":null,p?"transitioning":null].filter(Boolean).join(" ");let me=typeof s=="function"?s(C):s;return P.createElement(B1,Ol({},f,{"aria-current":D,className:z,ref:n,style:me,to:a,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var Ys;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ys||(Ys={}));var Kc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Kc||(Kc={}));function $1(e){let t=P.useContext(to);return t||J(!1),t}function W1(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,a=iu(),c=ai(),d=ro(e,{relative:o});return P.useCallback(f=>{if(L1(f,n)){f.preventDefault();let v=r!==void 0?r:_l(c)===_l(d);a(e,{replace:v,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s})}},[c,a,d,r,i,n,e,l,o,s])}function H1(e,t){t===void 0&&(t={});let n=P.useContext(F1);n==null&&J(!1);let{basename:r}=$1(Ys.useViewTransitionState),i=ro(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Xn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Xn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return jl(i.pathname,o)!=null||jl(i.pathname,l)!=null}const ui=()=>{const e=new Date().getFullYear();return u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"header_top_section",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"header_top_main",children:[u.jsx("div",{className:"call_text",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-phone","aria-hidden":"true"})," ","+01-40-114-6855"]})}),u.jsx("div",{className:"call_text_2",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-envelope","aria-hidden":"true"})," ","support@estatesfunding.com"]})}),u.jsx("div",{className:"call_text_1",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-map-marker","aria-hidden":"true"})," ","Mordern Tawon Mosco"]})})]})})})})}),u.jsx("div",{className:"copyright_section",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})},V1="/assets/logo-Cb1x1exd.png",ci=()=>u.jsx(u.Fragment,{children:u.jsx("div",{className:"container-fluid p-0 m-0",children:u.jsx("nav",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:u.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[u.jsxs("div",{className:"d-flex align-items-center",children:[u.jsx("img",{src:V1,alt:"logo",width:"75",height:"75",className:"img-fluid"}),u.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),u.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[u.jsxs("ul",{className:"navbar-nav ml-auto",children:[u.jsx("li",{className:"nav-item active",children:u.jsx(Kt,{to:"/",className:"nav-link",children:"Home"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/services",className:"nav-link",children:"Services"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/about",className:"nav-link",children:"About"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/projects",className:"nav-link",children:"Project"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),u.jsxs("form",{className:"form-inline my-2 my-lg-0",children:[u.jsx("div",{className:"login_text",children:u.jsxs("ul",{children:[u.jsx("li",{children:u.jsx(Kt,{to:"/login",className:"nav-link",children:"Login"})}),u.jsx("li",{children:u.jsx("a",{href:"#",children:u.jsx("i",{className:"fa fa-user","aria-hidden":"true"})})})]})}),u.jsx("div",{className:"quote_btn",children:u.jsx(Kt,{to:"/register",className:"nav-link",children:"Register"})})]})]})]})})})}),Q1=()=>u.jsxs(u.Fragment,{children:[u.jsx(ci,{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsxs("div",{children:[u.jsx("div",{className:"header_section",children:u.jsx("div",{className:"banner_section layout_padding",children:u.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[u.jsxs("div",{className:"carousel-inner",children:[u.jsx("div",{className:"carousel-item active",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),u.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),u.jsx("div",{className:"carousel-item",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),u.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),u.jsx("div",{className:"carousel-item",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),u.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),u.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:u.jsx("i",{className:"fa fa-angle-left"})}),u.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:u.jsx("i",{className:"fa fa-angle-right"})})]})})}),u.jsx("div",{className:"services_section layout_padding",children:u.jsxs("div",{className:"container-fluid",children:[u.jsx("div",{className:"row",children:u.jsxs("div",{className:"col-sm-12",children:[u.jsx("h1",{className:"services_taital",children:"Our Services"}),u.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),u.jsx("div",{className:"services_section_2",children:u.jsxs("div",{className:"row",children:[u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main active",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-1.png"})}),u.jsx("h4",{className:"development_text",children:"Dedication Services"}),u.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-2.png"})}),u.jsx("h4",{className:"development_text",children:"Building work Reports"}),u.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-3.png"})}),u.jsx("h4",{className:"development_text",children:"Reporting continuously"}),u.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-4.png"})}),u.jsx("h4",{className:"development_text",children:"Manage your investment "}),u.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),u.jsxs("div",{className:"projects_section layout_padding",children:[u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsxs("div",{className:"col-md-12",children:[u.jsx("h1",{className:"projects_taital",children:"Projects"}),u.jsx("div",{className:"nav-tabs-navigation",children:u.jsx("div",{className:"nav-tabs-wrapper",children:u.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),u.jsx("div",{className:"projects_section_2 layout_padding",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"pets_section",children:u.jsx("div",{className:"pets_section_2",children:u.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:u.jsxs("div",{className:"carousel-inner",children:[u.jsx("div",{className:"carousel-item active",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),u.jsx("div",{className:"carousel-item",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),u.jsx("div",{className:"carousel-item",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]}),u.jsx(ui,{})]})]}),K1=()=>u.jsxs(u.Fragment,{children:[u.jsx(ci,{}),u.jsxs("div",{className:"about_section layout_padding",children:[u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{}),u.jsx("div",{className:"container",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-6",children:[u.jsx("h1",{className:"about_taital",children:"About Us"}),u.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),u.jsx("div",{className:"read_bt_1",children:u.jsx("a",{href:"#",children:"Read More"})})]}),u.jsx("div",{className:"col-md-6",children:u.jsx("div",{className:"about_img",children:u.jsx("div",{className:"video_bt",children:u.jsx("div",{className:"play_icon",children:u.jsx("img",{src:"images/play-icon.png"})})})})})]})}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{})]}),u.jsx(ui,{})]}),q1=()=>u.jsxs(u.Fragment,{children:[u.jsx(ci,{}),u.jsxs("div",{className:"contact_section layout_padding",children:[u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-md-12",children:u.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),u.jsx("div",{className:"container-fluid",children:u.jsx("div",{className:"contact_section_2",children:u.jsxs("div",{className:"row",children:[u.jsx("div",{className:"col-md-6",children:u.jsx("form",{action:!0,children:u.jsxs("div",{className:"mail_section_1",children:[u.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),u.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),u.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),u.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),u.jsx("div",{className:"send_bt",children:u.jsx("a",{href:"#",children:"SEND"})})]})})}),u.jsx("div",{className:"col-md-6 padding_left_15",children:u.jsx("div",{className:"contact_img",children:u.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),u.jsx(ui,{})]}),lu=e=>typeof e=="number"&&!isNaN(e),Pr=e=>typeof e=="string",mp=e=>typeof e=="function",J1=e=>P.isValidElement(e)||Pr(e)||mp(e)||lu(e),nt=new Map;let Zs=[];const qc=new Set,pp=()=>nt.size>0;function X1(e,t){var n;if(t)return!((n=nt.get(t))==null||!n.isToastActive(e));let r=!1;return nt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function G1(e,t){J1(e)&&(pp()||Zs.push({content:e,options:t}),nt.forEach(n=>{n.buildToast(e,t)}))}function Jc(e,t){nt.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let Y1=1;const hp=()=>""+Y1++;function Z1(e){return e&&(Pr(e.toastId)||lu(e.toastId))?e.toastId:hp()}function Rr(e,t){return G1(e,t),t.toastId}function Pl(e,t){return{...t,type:t&&t.type||e,toastId:Z1(t)}}function Ti(e){return(t,n)=>Rr(t,Pl(e,n))}function U(e,t){return Rr(e,Pl("default",t))}U.loading=(e,t)=>Rr(e,Pl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),U.promise=function(e,t,n){let r,{pending:i,error:l,success:o}=t;i&&(r=Pr(i)?U.loading(i,n):U.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},a=(d,f,v)=>{if(f==null)return void U.dismiss(r);const x={type:d,...s,...n,data:v},y=Pr(f)?{render:f}:f;return r?U.update(r,{...x,...y}):U(y.render,{...x,...y}),v},c=mp(e)?e():e;return c.then(d=>a("success",o,d)).catch(d=>a("error",l,d)),c},U.success=Ti("success"),U.info=Ti("info"),U.error=Ti("error"),U.warning=Ti("warning"),U.warn=U.warning,U.dark=(e,t)=>Rr(e,Pl("default",{theme:"dark",...t})),U.dismiss=function(e){(function(t){var n;if(pp()){if(t==null||Pr(n=t)||lu(n))nt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=nt.get(t.containerId);r?r.removeToast(t.id):nt.forEach(i=>{i.removeToast(t.id)})}}else Zs=Zs.filter(r=>t!=null&&r.options.toastId!==t)})(e)},U.clearWaitingQueue=function(e){e===void 0&&(e={}),nt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},U.isActive=X1,U.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:o}=i;return(l=nt.get(o||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:hp()};l.toastId!==e&&(l.staleId=e);const o=l.render||i;delete l.render,Rr(o,l)}},U.done=e=>{U.update(e,{progress:1})},U.onChange=function(e){return qc.add(e),()=>{qc.delete(e)}},U.play=e=>Jc(!0,e),U.pause=e=>Jc(!1,e);var ot=function(){return ot=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=P.useState(kx),[n,r]=P.useState(!1),{loading:i,error:l}=pm(g=>({...g.auth})),{email:o,password:s,firstName:a,lastName:c,confirmPassword:d}=e,f=vm(),v=iu();P.useEffect(()=>{l&&U.error(l)},[l]),P.useEffect(()=>{r(o&&s&&a&&c&&d)},[o,s,a,c,d]);const x=g=>{if(g.preventDefault(),s!==d)return U.error("Password should match");n?f(Qi({formValue:e,navigate:v,toast:U})):U.error("Please fill in all fields and select all checkboxes")},y=g=>{let{name:N,value:p}=g.target;t({...e,[N]:p})};return u.jsxs(u.Fragment,{children:[u.jsx(ci,{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[u.jsxs("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:[u.jsx("i",{className:"fa fa-dollar",style:{fontSize:"2.5rem",color:"#fda417"},"aria-hidden":"true"}),u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("h2",{className:"h1 mb-4",children:"Empower your investors"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),u.jsx("div",{className:"text-endx",children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:u.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})]}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"mb-4",children:[u.jsx("h2",{className:"h3",children:"Registration"}),u.jsx("h3",{className:"fs-6 fw-normal text-secondary m-0",children:"Enter your details to register"})]})})}),u.jsx("form",{onSubmit:x,children:u.jsxs("div",{className:"row gy-3 overflow-hidden",children:[u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"text",className:"form-control",value:a,name:"firstName",onChange:y,placeholder:"First Name",required:"required"}),u.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"text",className:"form-control",value:c,name:"lastName",onChange:y,placeholder:"Last Name",required:"required"}),u.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"email",className:"form-control",value:o,name:"email",onChange:y,placeholder:"name@example.com",required:"required"}),u.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",value:s,name:"password",onChange:y,placeholder:"Password",required:"required"}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",value:d,name:"confirmPassword",onChange:y,placeholder:"confirmPassword",required:"required"}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-check",children:[u.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),u.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-grid",children:u.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},children:[i&&u.jsx(vp.Bars,{}),"Sign up"]})})})]})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:u.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12"})})]})})})]})})}),u.jsx(ui,{})]})},jx={email:"",password:""},Cx=()=>{const[e,t]=P.useState(jx),{loading:n,error:r}=pm(d=>({...d.auth})),{email:i,password:l}=e,o=vm(),s=iu();P.useEffect(()=>{r&&U.error(r)},[r]);const a=d=>{d.preventDefault(),i&&l&&o(Ki({formValue:e,navigate:s,toast:U}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return u.jsxs(u.Fragment,{children:[u.jsx(ci,{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[u.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),u.jsx("div",{className:"text-endx",children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:u.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"mb-4",children:u.jsx("h2",{className:"h3",children:"Please Login"})})})}),u.jsx("form",{method:"POST",children:u.jsxs("div",{className:"row gy-3 overflow-hidden",children:[u.jsx("div",{className:"col-12"}),u.jsx("div",{className:"col-12"}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),u.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-check",children:[u.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),u.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-grid",children:u.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:a,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&u.jsx(vp.Bars,{}),"Sign In"]})})})]})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:u.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Register"})]})})})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12"})})]})})})]})})}),u.jsx(ui,{})]})},Ox=()=>u.jsx(I1,{children:u.jsxs(R1,{children:[u.jsx(gn,{path:"/",element:u.jsx(Q1,{})}),u.jsx(gn,{path:"/about",element:u.jsx(K1,{})}),u.jsx(gn,{path:"/contact",element:u.jsx(q1,{})}),u.jsx(gn,{path:"/register",element:u.jsx(_x,{})}),u.jsx(gn,{path:"/login",element:u.jsx(Cx,{})})]})});um(document.getElementById("root")).render(u.jsx(P.StrictMode,{children:u.jsx(pv,{store:Wg,children:u.jsx(Ox,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index fcde1ed..e2dca1d 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -27,7 +27,7 @@ - + diff --git a/ef-ui/package-lock.json b/ef-ui/package-lock.json index 1bcba13..44d4486 100644 --- a/ef-ui/package-lock.json +++ b/ef-ui/package-lock.json @@ -9,12 +9,19 @@ "version": "0.0.0", "dependencies": { "@fortawesome/react-fontawesome": "^0.2.2", + "@reduxjs/toolkit": "^2.2.7", + "axios": "^1.7.7", + "dotenv": "^16.4.5", "ef-ui": "file:", + "mdb-react-ui-kit": "^8.0.0", "primeicons": "^7.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-icons": "^5.3.0", - "react-router-dom": "^6.26.1" + "react-loading-icons": "^1.1.0", + "react-redux": "^9.1.2", + "react-router-dom": "^6.26.1", + "react-toastify": "^10.0.5" }, "devDependencies": { "@eslint/js": "^9.9.0", @@ -375,6 +382,23 @@ "node": ">=6.9.0" } }, + "node_modules/@emotion/is-prop-valid": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", + "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", + "license": "MIT", + "optional": true, + "dependencies": { + "@emotion/memoize": "0.7.4" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", + "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==", + "license": "MIT", + "optional": true + }, "node_modules/@esbuild/win32-x64": { "version": "0.21.5", "cpu": [ @@ -620,6 +644,40 @@ "node": ">= 8" } }, + "node_modules/@popperjs/core": { + "version": "2.11.5", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", + "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@reduxjs/toolkit": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.7.tgz", + "integrity": "sha512-faI3cZbSdFb8yv9dhDTmGwclW0vk0z5o1cia+kf7gCbaCwHI5e+7tP57mJUv22pNcNbeA62GSrPpfrUfdXcQ6g==", + "license": "MIT", + "dependencies": { + "immer": "^10.0.3", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.1.0" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, "node_modules/@remix-run/router": { "version": "1.19.1", "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.1.tgz", @@ -685,12 +743,10 @@ }, "node_modules/@types/prop-types": { "version": "15.7.12", - "dev": true, "license": "MIT" }, "node_modules/@types/react": { "version": "18.3.4", - "dev": true, "license": "MIT", "dependencies": { "@types/prop-types": "*", @@ -699,12 +755,17 @@ }, "node_modules/@types/react-dom": { "version": "18.3.0", - "dev": true, "license": "MIT", "dependencies": { "@types/react": "*" } }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", + "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==", + "license": "MIT" + }, "node_modules/@vitejs/plugin-react": { "version": "4.3.1", "dev": true, @@ -907,6 +968,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, "node_modules/available-typed-arrays": { "version": "1.0.7", "dev": true, @@ -921,6 +988,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/axios": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "dev": true, @@ -1026,6 +1104,15 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/color-convert": { "version": "2.0.1", "dev": true, @@ -1042,6 +1129,18 @@ "dev": true, "license": "MIT" }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/concat-map": { "version": "0.0.1", "dev": true, @@ -1067,7 +1166,6 @@ }, "node_modules/csstype": { "version": "3.1.3", - "dev": true, "license": "MIT" }, "node_modules/data-view-buffer": { @@ -1171,6 +1269,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/doctrine": { "version": "2.1.0", "dev": true, @@ -1182,6 +1289,18 @@ "node": ">=0.10.0" } }, + "node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/ef-ui": { "resolved": "", "link": true @@ -1651,6 +1770,26 @@ "dev": true, "license": "ISC" }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, "node_modules/for-each": { "version": "0.3.3", "dev": true, @@ -1659,6 +1798,44 @@ "is-callable": "^1.1.3" } }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/framer-motion": { + "version": "10.18.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.18.0.tgz", + "integrity": "sha512-oGlDh1Q1XqYPksuTD/usb0I70hq95OUzmL9+6Zd+Hs4XV0oaISBa/UUMSjYiq6m8EUF32132mOJ8xVZS+I0S6w==", + "license": "MIT", + "dependencies": { + "tslib": "^2.4.0" + }, + "optionalDependencies": { + "@emotion/is-prop-valid": "^0.8.2" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, "node_modules/function-bind": { "version": "1.1.2", "dev": true, @@ -1864,6 +2041,16 @@ "node": ">= 4" } }, + "node_modules/immer": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", + "integrity": "sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, "node_modules/import-fresh": { "version": "3.3.0", "dev": true, @@ -2360,6 +2547,54 @@ "yallist": "^3.0.2" } }, + "node_modules/mdb-react-ui-kit": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/mdb-react-ui-kit/-/mdb-react-ui-kit-8.0.0.tgz", + "integrity": "sha512-4XnfUv/SkMGhKbSUcEqNgNBYz009YEPHuweodher7ba70NlbnKlfgCxXolZPX5WUPYtsV2IjDRMxu3+oLnjzTQ==", + "license": "SEE LICENSE IN ", + "dependencies": { + "@popperjs/core": "2.11.5", + "clsx": "1.1.1", + "framer-motion": "^10.16.4", + "react-popper": "2.3.0" + }, + "peerDependencies": { + "@types/react": "^18.0.9", + "@types/react-dom": "^18.0.3", + "react": "^18.1.0", + "react-dom": "^18.1.0" + } + }, + "node_modules/mdb-react-ui-kit/node_modules/clsx": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz", + "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/minimatch": { "version": "3.1.2", "dev": true, @@ -2631,6 +2866,12 @@ "react-is": "^16.13.1" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, "node_modules/punycode": { "version": "2.3.1", "dev": true, @@ -2683,6 +2924,12 @@ "react": "^18.3.1" } }, + "node_modules/react-fast-compare": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz", + "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==", + "license": "MIT" + }, "node_modules/react-icons": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.3.0.tgz", @@ -2696,6 +2943,53 @@ "version": "16.13.1", "license": "MIT" }, + "node_modules/react-loading-icons": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/react-loading-icons/-/react-loading-icons-1.1.0.tgz", + "integrity": "sha512-Y9eZ6HAufmUd8DIQd6rFrx5Bt/oDlTM9Nsjvf8YpajTa3dI8cLNU8jUN5z7KTANU+Yd6/KJuBjxVlrU2dMw33g==", + "license": "MIT", + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/react-popper": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", + "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", + "license": "MIT", + "dependencies": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + }, + "peerDependencies": { + "@popperjs/core": "^2.0.0", + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, + "node_modules/react-redux": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.1.2.tgz", + "integrity": "sha512-0OA4dhM1W48l3uzmv6B7TXPCGmokUU4p1M44DGN2/D9a1FjVPukVjER1PcPX97jIg6aUeLq1XJo1IpfbgULn0w==", + "license": "MIT", + "dependencies": { + "@types/use-sync-external-store": "^0.0.3", + "use-sync-external-store": "^1.0.0" + }, + "peerDependencies": { + "@types/react": "^18.2.25", + "react": "^18.0", + "redux": "^5.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, "node_modules/react-refresh": { "version": "0.14.2", "dev": true, @@ -2736,6 +3030,34 @@ "react": ">=16.8" } }, + "node_modules/react-toastify": { + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-10.0.5.tgz", + "integrity": "sha512-mNKt2jBXJg4O7pSdbNUfDdTsK9FIdikfsIE/yUCxbAEXl4HMyJaivrVFcn3Elvt5xvCQYhUZm+hqTIu1UXM3Pw==", + "license": "MIT", + "dependencies": { + "clsx": "^2.1.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==", + "license": "MIT" + }, + "node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "license": "MIT", + "peerDependencies": { + "redux": "^5.0.0" + } + }, "node_modules/reflect.getprototypeof": { "version": "1.0.6", "dev": true, @@ -2773,6 +3095,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/reselect": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz", + "integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==", + "license": "MIT" + }, "node_modules/resolve": { "version": "2.0.0-next.5", "dev": true, @@ -3123,6 +3451,12 @@ "node": ">=4" } }, + "node_modules/tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "license": "0BSD" + }, "node_modules/type-check": { "version": "0.4.0", "dev": true, @@ -3254,6 +3588,15 @@ "punycode": "^2.1.0" } }, + "node_modules/use-sync-external-store": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", + "integrity": "sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/vite": { "version": "5.4.2", "dev": true, @@ -3312,6 +3655,15 @@ } } }, + "node_modules/warning": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", + "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.0.0" + } + }, "node_modules/which": { "version": "2.0.2", "dev": true, diff --git a/ef-ui/package.json b/ef-ui/package.json index c7c53e0..522f123 100644 --- a/ef-ui/package.json +++ b/ef-ui/package.json @@ -11,12 +11,19 @@ }, "dependencies": { "@fortawesome/react-fontawesome": "^0.2.2", + "@reduxjs/toolkit": "^2.2.7", + "axios": "^1.7.7", + "dotenv": "^16.4.5", "ef-ui": "file:", + "mdb-react-ui-kit": "^8.0.0", "primeicons": "^7.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-icons": "^5.3.0", - "react-router-dom": "^6.26.1" + "react-loading-icons": "^1.1.0", + "react-redux": "^9.1.2", + "react-router-dom": "^6.26.1", + "react-toastify": "^10.0.5" }, "devDependencies": { "@eslint/js": "^9.9.0", diff --git a/ef-ui/src/components/Login.jsx b/ef-ui/src/components/Login.jsx index 9641a4e..6efc87c 100644 --- a/ef-ui/src/components/Login.jsx +++ b/ef-ui/src/components/Login.jsx @@ -1,11 +1,46 @@ +import { useState, useEffect } from "react"; import Footer from "./Footer"; import Navbar from "./Navbar"; +import { toast } from "react-toastify"; +import LoadingIcons from "react-loading-icons"; +import { useDispatch, useSelector } from "react-redux"; +import { useNavigate } from "react-router-dom"; +import { login } from "../redux/features/authSlice"; + +const initialState = { + email: "", + password: "", +}; const Login = () => { + const [formValue, setFormValue] = useState(initialState); + const { loading, error } = useSelector((state) => ({ ...state.auth })); + const { email, password } = formValue; + const dispatch = useDispatch(); + const navigate = useNavigate(); + + useEffect(() => { + error && toast.error(error); + }, [error]); + + const handleSubmit = (e) => { + e.preventDefault(); + if (email && password) { + dispatch(login({ formValue, navigate, toast })); + } + }; + const onInputChange = (e) => { + let { name, value } = e.target; + setFormValue({ ...formValue, [name]: value }); + }; return ( <> - -




+ +
+
+
+
+
{
- - - - -

- +

- A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need + A beautiful, easy-to-use, and secure Investor Portal that + gives your investors everything they may need

{
-
+

Please Login

-
-
+
-
- -
-
- -
+
+
@@ -112,9 +144,15 @@ const Login = () => {
@@ -146,9 +184,8 @@ const Login = () => {