├── .gitignore
├── README.md
├── eslint.config.js
├── image.png
├── index.html
├── package-lock.json
├── package.json
├── public
└── vite.svg
├── src
├── App.css
├── App.tsx
├── assets
│ └── react.svg
├── components
│ ├── AssignmentCard
│ │ ├── AssignmentCard.module.css
│ │ └── AssignmentCard.tsx
│ ├── AssignmentForm
│ │ ├── AssignmentForm.module.css
│ │ └── AssignmentForm.tsx
│ ├── Choice
│ │ ├── Choice.module.css
│ │ └── Choice.tsx
│ ├── ClassCard
│ │ ├── ClassCard.module.css
│ │ └── ClassCard.tsx
│ ├── Navbar
│ │ ├── Navbar.module.css
│ │ └── Navbar.tsx
│ ├── ProtectedRoute.tsx
│ ├── Question
│ │ ├── Question.module.css
│ │ └── Question.tsx
│ ├── QuestionForm
│ │ ├── QuestionForm.module.css
│ │ └── QuestionForm.tsx
│ └── StudentCard
│ │ ├── StudentCard.module.css
│ │ └── StudentCard.tsx
├── context
│ ├── AuthContext.ts
│ └── AuthProvider.tsx
├── hooks
│ └── useAuth.tsx
├── index.css
├── main.tsx
├── pages
│ ├── Assignment
│ │ ├── Assignment.module.css
│ │ └── Assignment.tsx
│ ├── AssignmentCreate.tsx
│ ├── AssignmentDisplay.tsx
│ ├── AssignmentEdit.tsx
│ ├── AssignmentList
│ │ ├── AssignmentList.module.css
│ │ └── AssignmentList.tsx
│ ├── Class.tsx
│ ├── ClassList.tsx
│ ├── Login.tsx
│ ├── Student.tsx
│ ├── StudentList.tsx
│ ├── Submission.tsx
│ └── SubmissionList.tsx
├── services
│ └── dac-api.ts
└── vite-env.d.ts
├── tsconfig.app.json
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Capstone Frontend
2 | ## Premise
3 | * Create assignments, send assignments to students in your class, grade students' submissions from that assignment... repeat
4 | 
5 | ### Installation
6 | 1. Clone the repo
7 | ```sh
8 | git clone https://github.com/kdang0/capstone_backend.git
9 | ```
10 | 2. Install NPM packages
11 | ```sh
12 | npm i
13 | ```
14 | 3. Change git remote url to avoid accidental pushes to base project
15 | ```sh
16 | git remote set-url origin github_username/repo_name
17 | git remote -v # confirm the changes
18 | ```
19 | ### Pages
20 | * Assignment - Allows student to work on the given assignment and submit their answers when finished (authorization for both tutors and students)
21 | * AssignmentList - Displays list of assignments based on user logged in (authorization for both tutors and students)
22 | * AssignmentCreate - Allows tutors to create assignments (authorization for only tutors)
23 | * AssignmentDisplay - Displays description, submission details, and layout of assignment (authorization for tutors and students)
24 | * AssignmentEdit - Allows tutors to edit their assignments (authorization for only tutors)
25 | * Class - Displays content of class such as assignments and overall grade (authorization for tutors and students)
26 | * Login - Main page where users will need to go through in order to be authenticated
27 | * Student - Allows tutors to view their student roster (authorization for only tutors)
28 | * Submission - Allows to view content for that specific submission (authorization for students and tutors)
29 | * SubmissionList - Allows tutors to view list of submissions for each particular assignment
30 | ## Current Features
31 | * Tutors can do full CRUD on assignments
32 | * Authentication and Authorization
33 | * Tutors can publish their assignments
34 | * Students can submit assignments given
35 | ## Future Features
36 |
37 | * Active view on assigment with list of submissions
38 | * Ability for tutors to grade assignments through UI
39 | * Ability to filter roster of students for tutors
40 | * Ability for students to view overall grade in class
41 | * Ability for students to view grade for particular assignment
42 | * More customization when creating assignments
43 | * Implement short answer responses
44 | * Ability to include visuals for questions
45 | * Implement registration page
46 | ## TODO
47 | * Rework on app aesthethic and layout
48 | * Modularize requests in a separate file
49 | * Modularize types and interfaces in a separate file
50 | * Implement redux to reduce complexity when sharing data between components
51 | ## Acknowledgements
52 | * https://blog.logrocket.com/authentication-react-router-v6/
--------------------------------------------------------------------------------
/eslint.config.js:
--------------------------------------------------------------------------------
1 | import js from '@eslint/js'
2 | import globals from 'globals'
3 | import reactHooks from 'eslint-plugin-react-hooks'
4 | import reactRefresh from 'eslint-plugin-react-refresh'
5 | import tseslint from 'typescript-eslint'
6 |
7 | export default tseslint.config(
8 | { ignores: ['dist'] },
9 | {
10 | extends: [js.configs.recommended, ...tseslint.configs.recommended],
11 | files: ['**/*.{ts,tsx}'],
12 | languageOptions: {
13 | ecmaVersion: 2020,
14 | globals: globals.browser,
15 | },
16 | plugins: {
17 | 'react-hooks': reactHooks,
18 | 'react-refresh': reactRefresh,
19 | },
20 | rules: {
21 | ...reactHooks.configs.recommended.rules,
22 | 'react-refresh/only-export-components': [
23 | 'warn',
24 | { allowConstantExport: true },
25 | ],
26 | },
27 | },
28 | )
29 |
--------------------------------------------------------------------------------
/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kdang0/capstone-frontend/c293f65f06069bb188216bfc386d4f868b27fbd8/image.png
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
13 | Vite + React + TS
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "frontend",
3 | "version": "0.0.0",
4 | "lockfileVersion": 3,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "frontend",
9 | "version": "0.0.0",
10 | "dependencies": {
11 | "axios": "^1.7.7",
12 | "react": "^18.3.1",
13 | "react-dom": "^18.3.1",
14 | "react-router-dom": "^6.27.0"
15 | },
16 | "devDependencies": {
17 | "@eslint/js": "^9.13.0",
18 | "@types/react": "^18.3.11",
19 | "@types/react-dom": "^18.3.1",
20 | "@vitejs/plugin-react": "^4.3.3",
21 | "eslint": "^9.13.0",
22 | "eslint-plugin-react-hooks": "^5.0.0",
23 | "eslint-plugin-react-refresh": "^0.4.13",
24 | "globals": "^15.11.0",
25 | "typescript": "~5.6.2",
26 | "typescript-eslint": "^8.10.0",
27 | "vite": "^5.4.9"
28 | }
29 | },
30 | "node_modules/@ampproject/remapping": {
31 | "version": "2.3.0",
32 | "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
33 | "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
34 | "dev": true,
35 | "dependencies": {
36 | "@jridgewell/gen-mapping": "^0.3.5",
37 | "@jridgewell/trace-mapping": "^0.3.24"
38 | },
39 | "engines": {
40 | "node": ">=6.0.0"
41 | }
42 | },
43 | "node_modules/@babel/code-frame": {
44 | "version": "7.26.0",
45 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.0.tgz",
46 | "integrity": "sha512-INCKxTtbXtcNbUZ3YXutwMpEleqttcswhAdee7dhuoVrD2cnuc3PqtERBtxkX5nziX9vnBL8WXmSGwv8CuPV6g==",
47 | "dev": true,
48 | "dependencies": {
49 | "@babel/helper-validator-identifier": "^7.25.9",
50 | "js-tokens": "^4.0.0",
51 | "picocolors": "^1.0.0"
52 | },
53 | "engines": {
54 | "node": ">=6.9.0"
55 | }
56 | },
57 | "node_modules/@babel/compat-data": {
58 | "version": "7.26.0",
59 | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.0.tgz",
60 | "integrity": "sha512-qETICbZSLe7uXv9VE8T/RWOdIE5qqyTucOt4zLYMafj2MRO271VGgLd4RACJMeBO37UPWhXiKMBk7YlJ0fOzQA==",
61 | "dev": true,
62 | "engines": {
63 | "node": ">=6.9.0"
64 | }
65 | },
66 | "node_modules/@babel/core": {
67 | "version": "7.26.0",
68 | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz",
69 | "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==",
70 | "dev": true,
71 | "dependencies": {
72 | "@ampproject/remapping": "^2.2.0",
73 | "@babel/code-frame": "^7.26.0",
74 | "@babel/generator": "^7.26.0",
75 | "@babel/helper-compilation-targets": "^7.25.9",
76 | "@babel/helper-module-transforms": "^7.26.0",
77 | "@babel/helpers": "^7.26.0",
78 | "@babel/parser": "^7.26.0",
79 | "@babel/template": "^7.25.9",
80 | "@babel/traverse": "^7.25.9",
81 | "@babel/types": "^7.26.0",
82 | "convert-source-map": "^2.0.0",
83 | "debug": "^4.1.0",
84 | "gensync": "^1.0.0-beta.2",
85 | "json5": "^2.2.3",
86 | "semver": "^6.3.1"
87 | },
88 | "engines": {
89 | "node": ">=6.9.0"
90 | },
91 | "funding": {
92 | "type": "opencollective",
93 | "url": "https://opencollective.com/babel"
94 | }
95 | },
96 | "node_modules/@babel/generator": {
97 | "version": "7.26.0",
98 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.0.tgz",
99 | "integrity": "sha512-/AIkAmInnWwgEAJGQr9vY0c66Mj6kjkE2ZPB1PurTRaRAh3U+J45sAQMjQDJdh4WbR3l0x5xkimXBKyBXXAu2w==",
100 | "dev": true,
101 | "dependencies": {
102 | "@babel/parser": "^7.26.0",
103 | "@babel/types": "^7.26.0",
104 | "@jridgewell/gen-mapping": "^0.3.5",
105 | "@jridgewell/trace-mapping": "^0.3.25",
106 | "jsesc": "^3.0.2"
107 | },
108 | "engines": {
109 | "node": ">=6.9.0"
110 | }
111 | },
112 | "node_modules/@babel/helper-compilation-targets": {
113 | "version": "7.25.9",
114 | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz",
115 | "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==",
116 | "dev": true,
117 | "dependencies": {
118 | "@babel/compat-data": "^7.25.9",
119 | "@babel/helper-validator-option": "^7.25.9",
120 | "browserslist": "^4.24.0",
121 | "lru-cache": "^5.1.1",
122 | "semver": "^6.3.1"
123 | },
124 | "engines": {
125 | "node": ">=6.9.0"
126 | }
127 | },
128 | "node_modules/@babel/helper-module-imports": {
129 | "version": "7.25.9",
130 | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz",
131 | "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==",
132 | "dev": true,
133 | "dependencies": {
134 | "@babel/traverse": "^7.25.9",
135 | "@babel/types": "^7.25.9"
136 | },
137 | "engines": {
138 | "node": ">=6.9.0"
139 | }
140 | },
141 | "node_modules/@babel/helper-module-transforms": {
142 | "version": "7.26.0",
143 | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz",
144 | "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==",
145 | "dev": true,
146 | "dependencies": {
147 | "@babel/helper-module-imports": "^7.25.9",
148 | "@babel/helper-validator-identifier": "^7.25.9",
149 | "@babel/traverse": "^7.25.9"
150 | },
151 | "engines": {
152 | "node": ">=6.9.0"
153 | },
154 | "peerDependencies": {
155 | "@babel/core": "^7.0.0"
156 | }
157 | },
158 | "node_modules/@babel/helper-plugin-utils": {
159 | "version": "7.25.9",
160 | "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz",
161 | "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==",
162 | "dev": true,
163 | "engines": {
164 | "node": ">=6.9.0"
165 | }
166 | },
167 | "node_modules/@babel/helper-string-parser": {
168 | "version": "7.25.9",
169 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz",
170 | "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==",
171 | "dev": true,
172 | "engines": {
173 | "node": ">=6.9.0"
174 | }
175 | },
176 | "node_modules/@babel/helper-validator-identifier": {
177 | "version": "7.25.9",
178 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
179 | "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
180 | "dev": true,
181 | "engines": {
182 | "node": ">=6.9.0"
183 | }
184 | },
185 | "node_modules/@babel/helper-validator-option": {
186 | "version": "7.25.9",
187 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz",
188 | "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==",
189 | "dev": true,
190 | "engines": {
191 | "node": ">=6.9.0"
192 | }
193 | },
194 | "node_modules/@babel/helpers": {
195 | "version": "7.26.0",
196 | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz",
197 | "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==",
198 | "dev": true,
199 | "dependencies": {
200 | "@babel/template": "^7.25.9",
201 | "@babel/types": "^7.26.0"
202 | },
203 | "engines": {
204 | "node": ">=6.9.0"
205 | }
206 | },
207 | "node_modules/@babel/parser": {
208 | "version": "7.26.0",
209 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.0.tgz",
210 | "integrity": "sha512-aP8x5pIw3xvYr/sXT+SEUwyhrXT8rUJRZltK/qN3Db80dcKpTett8cJxHyjk+xYSVXvNnl2SfcJVjbwxpOSscA==",
211 | "dev": true,
212 | "dependencies": {
213 | "@babel/types": "^7.26.0"
214 | },
215 | "bin": {
216 | "parser": "bin/babel-parser.js"
217 | },
218 | "engines": {
219 | "node": ">=6.0.0"
220 | }
221 | },
222 | "node_modules/@babel/plugin-transform-react-jsx-self": {
223 | "version": "7.25.9",
224 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.25.9.tgz",
225 | "integrity": "sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==",
226 | "dev": true,
227 | "dependencies": {
228 | "@babel/helper-plugin-utils": "^7.25.9"
229 | },
230 | "engines": {
231 | "node": ">=6.9.0"
232 | },
233 | "peerDependencies": {
234 | "@babel/core": "^7.0.0-0"
235 | }
236 | },
237 | "node_modules/@babel/plugin-transform-react-jsx-source": {
238 | "version": "7.25.9",
239 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.25.9.tgz",
240 | "integrity": "sha512-+iqjT8xmXhhYv4/uiYd8FNQsraMFZIfxVSqxxVSZP0WbbSAWvBXAul0m/zu+7Vv4O/3WtApy9pmaTMiumEZgfg==",
241 | "dev": true,
242 | "dependencies": {
243 | "@babel/helper-plugin-utils": "^7.25.9"
244 | },
245 | "engines": {
246 | "node": ">=6.9.0"
247 | },
248 | "peerDependencies": {
249 | "@babel/core": "^7.0.0-0"
250 | }
251 | },
252 | "node_modules/@babel/template": {
253 | "version": "7.25.9",
254 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz",
255 | "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==",
256 | "dev": true,
257 | "dependencies": {
258 | "@babel/code-frame": "^7.25.9",
259 | "@babel/parser": "^7.25.9",
260 | "@babel/types": "^7.25.9"
261 | },
262 | "engines": {
263 | "node": ">=6.9.0"
264 | }
265 | },
266 | "node_modules/@babel/traverse": {
267 | "version": "7.25.9",
268 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz",
269 | "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==",
270 | "dev": true,
271 | "dependencies": {
272 | "@babel/code-frame": "^7.25.9",
273 | "@babel/generator": "^7.25.9",
274 | "@babel/parser": "^7.25.9",
275 | "@babel/template": "^7.25.9",
276 | "@babel/types": "^7.25.9",
277 | "debug": "^4.3.1",
278 | "globals": "^11.1.0"
279 | },
280 | "engines": {
281 | "node": ">=6.9.0"
282 | }
283 | },
284 | "node_modules/@babel/traverse/node_modules/globals": {
285 | "version": "11.12.0",
286 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
287 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
288 | "dev": true,
289 | "engines": {
290 | "node": ">=4"
291 | }
292 | },
293 | "node_modules/@babel/types": {
294 | "version": "7.26.0",
295 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz",
296 | "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==",
297 | "dev": true,
298 | "dependencies": {
299 | "@babel/helper-string-parser": "^7.25.9",
300 | "@babel/helper-validator-identifier": "^7.25.9"
301 | },
302 | "engines": {
303 | "node": ">=6.9.0"
304 | }
305 | },
306 | "node_modules/@esbuild/aix-ppc64": {
307 | "version": "0.21.5",
308 | "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
309 | "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
310 | "cpu": [
311 | "ppc64"
312 | ],
313 | "dev": true,
314 | "optional": true,
315 | "os": [
316 | "aix"
317 | ],
318 | "engines": {
319 | "node": ">=12"
320 | }
321 | },
322 | "node_modules/@esbuild/android-arm": {
323 | "version": "0.21.5",
324 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
325 | "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
326 | "cpu": [
327 | "arm"
328 | ],
329 | "dev": true,
330 | "optional": true,
331 | "os": [
332 | "android"
333 | ],
334 | "engines": {
335 | "node": ">=12"
336 | }
337 | },
338 | "node_modules/@esbuild/android-arm64": {
339 | "version": "0.21.5",
340 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
341 | "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
342 | "cpu": [
343 | "arm64"
344 | ],
345 | "dev": true,
346 | "optional": true,
347 | "os": [
348 | "android"
349 | ],
350 | "engines": {
351 | "node": ">=12"
352 | }
353 | },
354 | "node_modules/@esbuild/android-x64": {
355 | "version": "0.21.5",
356 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
357 | "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
358 | "cpu": [
359 | "x64"
360 | ],
361 | "dev": true,
362 | "optional": true,
363 | "os": [
364 | "android"
365 | ],
366 | "engines": {
367 | "node": ">=12"
368 | }
369 | },
370 | "node_modules/@esbuild/darwin-arm64": {
371 | "version": "0.21.5",
372 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
373 | "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
374 | "cpu": [
375 | "arm64"
376 | ],
377 | "dev": true,
378 | "optional": true,
379 | "os": [
380 | "darwin"
381 | ],
382 | "engines": {
383 | "node": ">=12"
384 | }
385 | },
386 | "node_modules/@esbuild/darwin-x64": {
387 | "version": "0.21.5",
388 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
389 | "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
390 | "cpu": [
391 | "x64"
392 | ],
393 | "dev": true,
394 | "optional": true,
395 | "os": [
396 | "darwin"
397 | ],
398 | "engines": {
399 | "node": ">=12"
400 | }
401 | },
402 | "node_modules/@esbuild/freebsd-arm64": {
403 | "version": "0.21.5",
404 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
405 | "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
406 | "cpu": [
407 | "arm64"
408 | ],
409 | "dev": true,
410 | "optional": true,
411 | "os": [
412 | "freebsd"
413 | ],
414 | "engines": {
415 | "node": ">=12"
416 | }
417 | },
418 | "node_modules/@esbuild/freebsd-x64": {
419 | "version": "0.21.5",
420 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
421 | "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
422 | "cpu": [
423 | "x64"
424 | ],
425 | "dev": true,
426 | "optional": true,
427 | "os": [
428 | "freebsd"
429 | ],
430 | "engines": {
431 | "node": ">=12"
432 | }
433 | },
434 | "node_modules/@esbuild/linux-arm": {
435 | "version": "0.21.5",
436 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
437 | "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
438 | "cpu": [
439 | "arm"
440 | ],
441 | "dev": true,
442 | "optional": true,
443 | "os": [
444 | "linux"
445 | ],
446 | "engines": {
447 | "node": ">=12"
448 | }
449 | },
450 | "node_modules/@esbuild/linux-arm64": {
451 | "version": "0.21.5",
452 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
453 | "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
454 | "cpu": [
455 | "arm64"
456 | ],
457 | "dev": true,
458 | "optional": true,
459 | "os": [
460 | "linux"
461 | ],
462 | "engines": {
463 | "node": ">=12"
464 | }
465 | },
466 | "node_modules/@esbuild/linux-ia32": {
467 | "version": "0.21.5",
468 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
469 | "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
470 | "cpu": [
471 | "ia32"
472 | ],
473 | "dev": true,
474 | "optional": true,
475 | "os": [
476 | "linux"
477 | ],
478 | "engines": {
479 | "node": ">=12"
480 | }
481 | },
482 | "node_modules/@esbuild/linux-loong64": {
483 | "version": "0.21.5",
484 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
485 | "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
486 | "cpu": [
487 | "loong64"
488 | ],
489 | "dev": true,
490 | "optional": true,
491 | "os": [
492 | "linux"
493 | ],
494 | "engines": {
495 | "node": ">=12"
496 | }
497 | },
498 | "node_modules/@esbuild/linux-mips64el": {
499 | "version": "0.21.5",
500 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
501 | "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
502 | "cpu": [
503 | "mips64el"
504 | ],
505 | "dev": true,
506 | "optional": true,
507 | "os": [
508 | "linux"
509 | ],
510 | "engines": {
511 | "node": ">=12"
512 | }
513 | },
514 | "node_modules/@esbuild/linux-ppc64": {
515 | "version": "0.21.5",
516 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
517 | "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
518 | "cpu": [
519 | "ppc64"
520 | ],
521 | "dev": true,
522 | "optional": true,
523 | "os": [
524 | "linux"
525 | ],
526 | "engines": {
527 | "node": ">=12"
528 | }
529 | },
530 | "node_modules/@esbuild/linux-riscv64": {
531 | "version": "0.21.5",
532 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
533 | "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
534 | "cpu": [
535 | "riscv64"
536 | ],
537 | "dev": true,
538 | "optional": true,
539 | "os": [
540 | "linux"
541 | ],
542 | "engines": {
543 | "node": ">=12"
544 | }
545 | },
546 | "node_modules/@esbuild/linux-s390x": {
547 | "version": "0.21.5",
548 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
549 | "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
550 | "cpu": [
551 | "s390x"
552 | ],
553 | "dev": true,
554 | "optional": true,
555 | "os": [
556 | "linux"
557 | ],
558 | "engines": {
559 | "node": ">=12"
560 | }
561 | },
562 | "node_modules/@esbuild/linux-x64": {
563 | "version": "0.21.5",
564 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
565 | "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
566 | "cpu": [
567 | "x64"
568 | ],
569 | "dev": true,
570 | "optional": true,
571 | "os": [
572 | "linux"
573 | ],
574 | "engines": {
575 | "node": ">=12"
576 | }
577 | },
578 | "node_modules/@esbuild/netbsd-x64": {
579 | "version": "0.21.5",
580 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
581 | "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
582 | "cpu": [
583 | "x64"
584 | ],
585 | "dev": true,
586 | "optional": true,
587 | "os": [
588 | "netbsd"
589 | ],
590 | "engines": {
591 | "node": ">=12"
592 | }
593 | },
594 | "node_modules/@esbuild/openbsd-x64": {
595 | "version": "0.21.5",
596 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
597 | "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
598 | "cpu": [
599 | "x64"
600 | ],
601 | "dev": true,
602 | "optional": true,
603 | "os": [
604 | "openbsd"
605 | ],
606 | "engines": {
607 | "node": ">=12"
608 | }
609 | },
610 | "node_modules/@esbuild/sunos-x64": {
611 | "version": "0.21.5",
612 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
613 | "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
614 | "cpu": [
615 | "x64"
616 | ],
617 | "dev": true,
618 | "optional": true,
619 | "os": [
620 | "sunos"
621 | ],
622 | "engines": {
623 | "node": ">=12"
624 | }
625 | },
626 | "node_modules/@esbuild/win32-arm64": {
627 | "version": "0.21.5",
628 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
629 | "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
630 | "cpu": [
631 | "arm64"
632 | ],
633 | "dev": true,
634 | "optional": true,
635 | "os": [
636 | "win32"
637 | ],
638 | "engines": {
639 | "node": ">=12"
640 | }
641 | },
642 | "node_modules/@esbuild/win32-ia32": {
643 | "version": "0.21.5",
644 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
645 | "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
646 | "cpu": [
647 | "ia32"
648 | ],
649 | "dev": true,
650 | "optional": true,
651 | "os": [
652 | "win32"
653 | ],
654 | "engines": {
655 | "node": ">=12"
656 | }
657 | },
658 | "node_modules/@esbuild/win32-x64": {
659 | "version": "0.21.5",
660 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
661 | "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
662 | "cpu": [
663 | "x64"
664 | ],
665 | "dev": true,
666 | "optional": true,
667 | "os": [
668 | "win32"
669 | ],
670 | "engines": {
671 | "node": ">=12"
672 | }
673 | },
674 | "node_modules/@eslint-community/eslint-utils": {
675 | "version": "4.4.0",
676 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
677 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
678 | "dev": true,
679 | "dependencies": {
680 | "eslint-visitor-keys": "^3.3.0"
681 | },
682 | "engines": {
683 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
684 | },
685 | "peerDependencies": {
686 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
687 | }
688 | },
689 | "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
690 | "version": "3.4.3",
691 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
692 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
693 | "dev": true,
694 | "engines": {
695 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
696 | },
697 | "funding": {
698 | "url": "https://opencollective.com/eslint"
699 | }
700 | },
701 | "node_modules/@eslint-community/regexpp": {
702 | "version": "4.11.1",
703 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz",
704 | "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==",
705 | "dev": true,
706 | "engines": {
707 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
708 | }
709 | },
710 | "node_modules/@eslint/config-array": {
711 | "version": "0.18.0",
712 | "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz",
713 | "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==",
714 | "dev": true,
715 | "dependencies": {
716 | "@eslint/object-schema": "^2.1.4",
717 | "debug": "^4.3.1",
718 | "minimatch": "^3.1.2"
719 | },
720 | "engines": {
721 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
722 | }
723 | },
724 | "node_modules/@eslint/core": {
725 | "version": "0.7.0",
726 | "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.7.0.tgz",
727 | "integrity": "sha512-xp5Jirz5DyPYlPiKat8jaq0EmYvDXKKpzTbxXMpT9eqlRJkRKIz9AGMdlvYjih+im+QlhWrpvVjl8IPC/lHlUw==",
728 | "dev": true,
729 | "engines": {
730 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
731 | }
732 | },
733 | "node_modules/@eslint/eslintrc": {
734 | "version": "3.1.0",
735 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz",
736 | "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==",
737 | "dev": true,
738 | "dependencies": {
739 | "ajv": "^6.12.4",
740 | "debug": "^4.3.2",
741 | "espree": "^10.0.1",
742 | "globals": "^14.0.0",
743 | "ignore": "^5.2.0",
744 | "import-fresh": "^3.2.1",
745 | "js-yaml": "^4.1.0",
746 | "minimatch": "^3.1.2",
747 | "strip-json-comments": "^3.1.1"
748 | },
749 | "engines": {
750 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
751 | },
752 | "funding": {
753 | "url": "https://opencollective.com/eslint"
754 | }
755 | },
756 | "node_modules/@eslint/eslintrc/node_modules/globals": {
757 | "version": "14.0.0",
758 | "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
759 | "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
760 | "dev": true,
761 | "engines": {
762 | "node": ">=18"
763 | },
764 | "funding": {
765 | "url": "https://github.com/sponsors/sindresorhus"
766 | }
767 | },
768 | "node_modules/@eslint/js": {
769 | "version": "9.13.0",
770 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.13.0.tgz",
771 | "integrity": "sha512-IFLyoY4d72Z5y/6o/BazFBezupzI/taV8sGumxTAVw3lXG9A6md1Dc34T9s1FoD/an9pJH8RHbAxsaEbBed9lA==",
772 | "dev": true,
773 | "engines": {
774 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
775 | }
776 | },
777 | "node_modules/@eslint/object-schema": {
778 | "version": "2.1.4",
779 | "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz",
780 | "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==",
781 | "dev": true,
782 | "engines": {
783 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
784 | }
785 | },
786 | "node_modules/@eslint/plugin-kit": {
787 | "version": "0.2.1",
788 | "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.1.tgz",
789 | "integrity": "sha512-HFZ4Mp26nbWk9d/BpvP0YNL6W4UoZF0VFcTw/aPPA8RpOxeFQgK+ClABGgAUXs9Y/RGX/l1vOmrqz1MQt9MNuw==",
790 | "dev": true,
791 | "dependencies": {
792 | "levn": "^0.4.1"
793 | },
794 | "engines": {
795 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
796 | }
797 | },
798 | "node_modules/@humanfs/core": {
799 | "version": "0.19.0",
800 | "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.0.tgz",
801 | "integrity": "sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==",
802 | "dev": true,
803 | "engines": {
804 | "node": ">=18.18.0"
805 | }
806 | },
807 | "node_modules/@humanfs/node": {
808 | "version": "0.16.5",
809 | "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.5.tgz",
810 | "integrity": "sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg==",
811 | "dev": true,
812 | "dependencies": {
813 | "@humanfs/core": "^0.19.0",
814 | "@humanwhocodes/retry": "^0.3.0"
815 | },
816 | "engines": {
817 | "node": ">=18.18.0"
818 | }
819 | },
820 | "node_modules/@humanwhocodes/module-importer": {
821 | "version": "1.0.1",
822 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
823 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
824 | "dev": true,
825 | "engines": {
826 | "node": ">=12.22"
827 | },
828 | "funding": {
829 | "type": "github",
830 | "url": "https://github.com/sponsors/nzakas"
831 | }
832 | },
833 | "node_modules/@humanwhocodes/retry": {
834 | "version": "0.3.1",
835 | "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",
836 | "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",
837 | "dev": true,
838 | "engines": {
839 | "node": ">=18.18"
840 | },
841 | "funding": {
842 | "type": "github",
843 | "url": "https://github.com/sponsors/nzakas"
844 | }
845 | },
846 | "node_modules/@jridgewell/gen-mapping": {
847 | "version": "0.3.5",
848 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
849 | "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
850 | "dev": true,
851 | "dependencies": {
852 | "@jridgewell/set-array": "^1.2.1",
853 | "@jridgewell/sourcemap-codec": "^1.4.10",
854 | "@jridgewell/trace-mapping": "^0.3.24"
855 | },
856 | "engines": {
857 | "node": ">=6.0.0"
858 | }
859 | },
860 | "node_modules/@jridgewell/resolve-uri": {
861 | "version": "3.1.2",
862 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
863 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
864 | "dev": true,
865 | "engines": {
866 | "node": ">=6.0.0"
867 | }
868 | },
869 | "node_modules/@jridgewell/set-array": {
870 | "version": "1.2.1",
871 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
872 | "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
873 | "dev": true,
874 | "engines": {
875 | "node": ">=6.0.0"
876 | }
877 | },
878 | "node_modules/@jridgewell/sourcemap-codec": {
879 | "version": "1.5.0",
880 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
881 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
882 | "dev": true
883 | },
884 | "node_modules/@jridgewell/trace-mapping": {
885 | "version": "0.3.25",
886 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
887 | "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
888 | "dev": true,
889 | "dependencies": {
890 | "@jridgewell/resolve-uri": "^3.1.0",
891 | "@jridgewell/sourcemap-codec": "^1.4.14"
892 | }
893 | },
894 | "node_modules/@nodelib/fs.scandir": {
895 | "version": "2.1.5",
896 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
897 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
898 | "dev": true,
899 | "dependencies": {
900 | "@nodelib/fs.stat": "2.0.5",
901 | "run-parallel": "^1.1.9"
902 | },
903 | "engines": {
904 | "node": ">= 8"
905 | }
906 | },
907 | "node_modules/@nodelib/fs.stat": {
908 | "version": "2.0.5",
909 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
910 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
911 | "dev": true,
912 | "engines": {
913 | "node": ">= 8"
914 | }
915 | },
916 | "node_modules/@nodelib/fs.walk": {
917 | "version": "1.2.8",
918 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
919 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
920 | "dev": true,
921 | "dependencies": {
922 | "@nodelib/fs.scandir": "2.1.5",
923 | "fastq": "^1.6.0"
924 | },
925 | "engines": {
926 | "node": ">= 8"
927 | }
928 | },
929 | "node_modules/@remix-run/router": {
930 | "version": "1.20.0",
931 | "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.20.0.tgz",
932 | "integrity": "sha512-mUnk8rPJBI9loFDZ+YzPGdeniYK+FTmRD1TMCz7ev2SNIozyKKpnGgsxO34u6Z4z/t0ITuu7voi/AshfsGsgFg==",
933 | "engines": {
934 | "node": ">=14.0.0"
935 | }
936 | },
937 | "node_modules/@rollup/rollup-android-arm-eabi": {
938 | "version": "4.24.0",
939 | "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz",
940 | "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==",
941 | "cpu": [
942 | "arm"
943 | ],
944 | "dev": true,
945 | "optional": true,
946 | "os": [
947 | "android"
948 | ]
949 | },
950 | "node_modules/@rollup/rollup-android-arm64": {
951 | "version": "4.24.0",
952 | "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz",
953 | "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==",
954 | "cpu": [
955 | "arm64"
956 | ],
957 | "dev": true,
958 | "optional": true,
959 | "os": [
960 | "android"
961 | ]
962 | },
963 | "node_modules/@rollup/rollup-darwin-arm64": {
964 | "version": "4.24.0",
965 | "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz",
966 | "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==",
967 | "cpu": [
968 | "arm64"
969 | ],
970 | "dev": true,
971 | "optional": true,
972 | "os": [
973 | "darwin"
974 | ]
975 | },
976 | "node_modules/@rollup/rollup-darwin-x64": {
977 | "version": "4.24.0",
978 | "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz",
979 | "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==",
980 | "cpu": [
981 | "x64"
982 | ],
983 | "dev": true,
984 | "optional": true,
985 | "os": [
986 | "darwin"
987 | ]
988 | },
989 | "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
990 | "version": "4.24.0",
991 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz",
992 | "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==",
993 | "cpu": [
994 | "arm"
995 | ],
996 | "dev": true,
997 | "optional": true,
998 | "os": [
999 | "linux"
1000 | ]
1001 | },
1002 | "node_modules/@rollup/rollup-linux-arm-musleabihf": {
1003 | "version": "4.24.0",
1004 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz",
1005 | "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==",
1006 | "cpu": [
1007 | "arm"
1008 | ],
1009 | "dev": true,
1010 | "optional": true,
1011 | "os": [
1012 | "linux"
1013 | ]
1014 | },
1015 | "node_modules/@rollup/rollup-linux-arm64-gnu": {
1016 | "version": "4.24.0",
1017 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz",
1018 | "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==",
1019 | "cpu": [
1020 | "arm64"
1021 | ],
1022 | "dev": true,
1023 | "optional": true,
1024 | "os": [
1025 | "linux"
1026 | ]
1027 | },
1028 | "node_modules/@rollup/rollup-linux-arm64-musl": {
1029 | "version": "4.24.0",
1030 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz",
1031 | "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==",
1032 | "cpu": [
1033 | "arm64"
1034 | ],
1035 | "dev": true,
1036 | "optional": true,
1037 | "os": [
1038 | "linux"
1039 | ]
1040 | },
1041 | "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
1042 | "version": "4.24.0",
1043 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz",
1044 | "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==",
1045 | "cpu": [
1046 | "ppc64"
1047 | ],
1048 | "dev": true,
1049 | "optional": true,
1050 | "os": [
1051 | "linux"
1052 | ]
1053 | },
1054 | "node_modules/@rollup/rollup-linux-riscv64-gnu": {
1055 | "version": "4.24.0",
1056 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz",
1057 | "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==",
1058 | "cpu": [
1059 | "riscv64"
1060 | ],
1061 | "dev": true,
1062 | "optional": true,
1063 | "os": [
1064 | "linux"
1065 | ]
1066 | },
1067 | "node_modules/@rollup/rollup-linux-s390x-gnu": {
1068 | "version": "4.24.0",
1069 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz",
1070 | "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==",
1071 | "cpu": [
1072 | "s390x"
1073 | ],
1074 | "dev": true,
1075 | "optional": true,
1076 | "os": [
1077 | "linux"
1078 | ]
1079 | },
1080 | "node_modules/@rollup/rollup-linux-x64-gnu": {
1081 | "version": "4.24.0",
1082 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz",
1083 | "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==",
1084 | "cpu": [
1085 | "x64"
1086 | ],
1087 | "dev": true,
1088 | "optional": true,
1089 | "os": [
1090 | "linux"
1091 | ]
1092 | },
1093 | "node_modules/@rollup/rollup-linux-x64-musl": {
1094 | "version": "4.24.0",
1095 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz",
1096 | "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==",
1097 | "cpu": [
1098 | "x64"
1099 | ],
1100 | "dev": true,
1101 | "optional": true,
1102 | "os": [
1103 | "linux"
1104 | ]
1105 | },
1106 | "node_modules/@rollup/rollup-win32-arm64-msvc": {
1107 | "version": "4.24.0",
1108 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz",
1109 | "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==",
1110 | "cpu": [
1111 | "arm64"
1112 | ],
1113 | "dev": true,
1114 | "optional": true,
1115 | "os": [
1116 | "win32"
1117 | ]
1118 | },
1119 | "node_modules/@rollup/rollup-win32-ia32-msvc": {
1120 | "version": "4.24.0",
1121 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz",
1122 | "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==",
1123 | "cpu": [
1124 | "ia32"
1125 | ],
1126 | "dev": true,
1127 | "optional": true,
1128 | "os": [
1129 | "win32"
1130 | ]
1131 | },
1132 | "node_modules/@rollup/rollup-win32-x64-msvc": {
1133 | "version": "4.24.0",
1134 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz",
1135 | "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==",
1136 | "cpu": [
1137 | "x64"
1138 | ],
1139 | "dev": true,
1140 | "optional": true,
1141 | "os": [
1142 | "win32"
1143 | ]
1144 | },
1145 | "node_modules/@types/babel__core": {
1146 | "version": "7.20.5",
1147 | "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
1148 | "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
1149 | "dev": true,
1150 | "dependencies": {
1151 | "@babel/parser": "^7.20.7",
1152 | "@babel/types": "^7.20.7",
1153 | "@types/babel__generator": "*",
1154 | "@types/babel__template": "*",
1155 | "@types/babel__traverse": "*"
1156 | }
1157 | },
1158 | "node_modules/@types/babel__generator": {
1159 | "version": "7.6.8",
1160 | "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
1161 | "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
1162 | "dev": true,
1163 | "dependencies": {
1164 | "@babel/types": "^7.0.0"
1165 | }
1166 | },
1167 | "node_modules/@types/babel__template": {
1168 | "version": "7.4.4",
1169 | "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
1170 | "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
1171 | "dev": true,
1172 | "dependencies": {
1173 | "@babel/parser": "^7.1.0",
1174 | "@babel/types": "^7.0.0"
1175 | }
1176 | },
1177 | "node_modules/@types/babel__traverse": {
1178 | "version": "7.20.6",
1179 | "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz",
1180 | "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==",
1181 | "dev": true,
1182 | "dependencies": {
1183 | "@babel/types": "^7.20.7"
1184 | }
1185 | },
1186 | "node_modules/@types/estree": {
1187 | "version": "1.0.6",
1188 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
1189 | "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
1190 | "dev": true
1191 | },
1192 | "node_modules/@types/json-schema": {
1193 | "version": "7.0.15",
1194 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
1195 | "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
1196 | "dev": true
1197 | },
1198 | "node_modules/@types/prop-types": {
1199 | "version": "15.7.13",
1200 | "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz",
1201 | "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==",
1202 | "dev": true
1203 | },
1204 | "node_modules/@types/react": {
1205 | "version": "18.3.12",
1206 | "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz",
1207 | "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==",
1208 | "dev": true,
1209 | "dependencies": {
1210 | "@types/prop-types": "*",
1211 | "csstype": "^3.0.2"
1212 | }
1213 | },
1214 | "node_modules/@types/react-dom": {
1215 | "version": "18.3.1",
1216 | "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.1.tgz",
1217 | "integrity": "sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==",
1218 | "dev": true,
1219 | "dependencies": {
1220 | "@types/react": "*"
1221 | }
1222 | },
1223 | "node_modules/@typescript-eslint/eslint-plugin": {
1224 | "version": "8.11.0",
1225 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.11.0.tgz",
1226 | "integrity": "sha512-KhGn2LjW1PJT2A/GfDpiyOfS4a8xHQv2myUagTM5+zsormOmBlYsnQ6pobJ8XxJmh6hnHwa2Mbe3fPrDJoDhbA==",
1227 | "dev": true,
1228 | "dependencies": {
1229 | "@eslint-community/regexpp": "^4.10.0",
1230 | "@typescript-eslint/scope-manager": "8.11.0",
1231 | "@typescript-eslint/type-utils": "8.11.0",
1232 | "@typescript-eslint/utils": "8.11.0",
1233 | "@typescript-eslint/visitor-keys": "8.11.0",
1234 | "graphemer": "^1.4.0",
1235 | "ignore": "^5.3.1",
1236 | "natural-compare": "^1.4.0",
1237 | "ts-api-utils": "^1.3.0"
1238 | },
1239 | "engines": {
1240 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1241 | },
1242 | "funding": {
1243 | "type": "opencollective",
1244 | "url": "https://opencollective.com/typescript-eslint"
1245 | },
1246 | "peerDependencies": {
1247 | "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
1248 | "eslint": "^8.57.0 || ^9.0.0"
1249 | },
1250 | "peerDependenciesMeta": {
1251 | "typescript": {
1252 | "optional": true
1253 | }
1254 | }
1255 | },
1256 | "node_modules/@typescript-eslint/parser": {
1257 | "version": "8.11.0",
1258 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.11.0.tgz",
1259 | "integrity": "sha512-lmt73NeHdy1Q/2ul295Qy3uninSqi6wQI18XwSpm8w0ZbQXUpjCAWP1Vlv/obudoBiIjJVjlztjQ+d/Md98Yxg==",
1260 | "dev": true,
1261 | "dependencies": {
1262 | "@typescript-eslint/scope-manager": "8.11.0",
1263 | "@typescript-eslint/types": "8.11.0",
1264 | "@typescript-eslint/typescript-estree": "8.11.0",
1265 | "@typescript-eslint/visitor-keys": "8.11.0",
1266 | "debug": "^4.3.4"
1267 | },
1268 | "engines": {
1269 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1270 | },
1271 | "funding": {
1272 | "type": "opencollective",
1273 | "url": "https://opencollective.com/typescript-eslint"
1274 | },
1275 | "peerDependencies": {
1276 | "eslint": "^8.57.0 || ^9.0.0"
1277 | },
1278 | "peerDependenciesMeta": {
1279 | "typescript": {
1280 | "optional": true
1281 | }
1282 | }
1283 | },
1284 | "node_modules/@typescript-eslint/scope-manager": {
1285 | "version": "8.11.0",
1286 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.11.0.tgz",
1287 | "integrity": "sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==",
1288 | "dev": true,
1289 | "dependencies": {
1290 | "@typescript-eslint/types": "8.11.0",
1291 | "@typescript-eslint/visitor-keys": "8.11.0"
1292 | },
1293 | "engines": {
1294 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1295 | },
1296 | "funding": {
1297 | "type": "opencollective",
1298 | "url": "https://opencollective.com/typescript-eslint"
1299 | }
1300 | },
1301 | "node_modules/@typescript-eslint/type-utils": {
1302 | "version": "8.11.0",
1303 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.11.0.tgz",
1304 | "integrity": "sha512-ItiMfJS6pQU0NIKAaybBKkuVzo6IdnAhPFZA/2Mba/uBjuPQPet/8+zh5GtLHwmuFRShZx+8lhIs7/QeDHflOg==",
1305 | "dev": true,
1306 | "dependencies": {
1307 | "@typescript-eslint/typescript-estree": "8.11.0",
1308 | "@typescript-eslint/utils": "8.11.0",
1309 | "debug": "^4.3.4",
1310 | "ts-api-utils": "^1.3.0"
1311 | },
1312 | "engines": {
1313 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1314 | },
1315 | "funding": {
1316 | "type": "opencollective",
1317 | "url": "https://opencollective.com/typescript-eslint"
1318 | },
1319 | "peerDependenciesMeta": {
1320 | "typescript": {
1321 | "optional": true
1322 | }
1323 | }
1324 | },
1325 | "node_modules/@typescript-eslint/types": {
1326 | "version": "8.11.0",
1327 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.11.0.tgz",
1328 | "integrity": "sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==",
1329 | "dev": true,
1330 | "engines": {
1331 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1332 | },
1333 | "funding": {
1334 | "type": "opencollective",
1335 | "url": "https://opencollective.com/typescript-eslint"
1336 | }
1337 | },
1338 | "node_modules/@typescript-eslint/typescript-estree": {
1339 | "version": "8.11.0",
1340 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.11.0.tgz",
1341 | "integrity": "sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==",
1342 | "dev": true,
1343 | "dependencies": {
1344 | "@typescript-eslint/types": "8.11.0",
1345 | "@typescript-eslint/visitor-keys": "8.11.0",
1346 | "debug": "^4.3.4",
1347 | "fast-glob": "^3.3.2",
1348 | "is-glob": "^4.0.3",
1349 | "minimatch": "^9.0.4",
1350 | "semver": "^7.6.0",
1351 | "ts-api-utils": "^1.3.0"
1352 | },
1353 | "engines": {
1354 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1355 | },
1356 | "funding": {
1357 | "type": "opencollective",
1358 | "url": "https://opencollective.com/typescript-eslint"
1359 | },
1360 | "peerDependenciesMeta": {
1361 | "typescript": {
1362 | "optional": true
1363 | }
1364 | }
1365 | },
1366 | "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
1367 | "version": "2.0.1",
1368 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
1369 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
1370 | "dev": true,
1371 | "dependencies": {
1372 | "balanced-match": "^1.0.0"
1373 | }
1374 | },
1375 | "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
1376 | "version": "9.0.5",
1377 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
1378 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
1379 | "dev": true,
1380 | "dependencies": {
1381 | "brace-expansion": "^2.0.1"
1382 | },
1383 | "engines": {
1384 | "node": ">=16 || 14 >=14.17"
1385 | },
1386 | "funding": {
1387 | "url": "https://github.com/sponsors/isaacs"
1388 | }
1389 | },
1390 | "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
1391 | "version": "7.6.3",
1392 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
1393 | "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
1394 | "dev": true,
1395 | "bin": {
1396 | "semver": "bin/semver.js"
1397 | },
1398 | "engines": {
1399 | "node": ">=10"
1400 | }
1401 | },
1402 | "node_modules/@typescript-eslint/utils": {
1403 | "version": "8.11.0",
1404 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.11.0.tgz",
1405 | "integrity": "sha512-CYiX6WZcbXNJV7UNB4PLDIBtSdRmRI/nb0FMyqHPTQD1rMjA0foPLaPUV39C/MxkTd/QKSeX+Gb34PPsDVC35g==",
1406 | "dev": true,
1407 | "dependencies": {
1408 | "@eslint-community/eslint-utils": "^4.4.0",
1409 | "@typescript-eslint/scope-manager": "8.11.0",
1410 | "@typescript-eslint/types": "8.11.0",
1411 | "@typescript-eslint/typescript-estree": "8.11.0"
1412 | },
1413 | "engines": {
1414 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1415 | },
1416 | "funding": {
1417 | "type": "opencollective",
1418 | "url": "https://opencollective.com/typescript-eslint"
1419 | },
1420 | "peerDependencies": {
1421 | "eslint": "^8.57.0 || ^9.0.0"
1422 | }
1423 | },
1424 | "node_modules/@typescript-eslint/visitor-keys": {
1425 | "version": "8.11.0",
1426 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.11.0.tgz",
1427 | "integrity": "sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==",
1428 | "dev": true,
1429 | "dependencies": {
1430 | "@typescript-eslint/types": "8.11.0",
1431 | "eslint-visitor-keys": "^3.4.3"
1432 | },
1433 | "engines": {
1434 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1435 | },
1436 | "funding": {
1437 | "type": "opencollective",
1438 | "url": "https://opencollective.com/typescript-eslint"
1439 | }
1440 | },
1441 | "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
1442 | "version": "3.4.3",
1443 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
1444 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
1445 | "dev": true,
1446 | "engines": {
1447 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1448 | },
1449 | "funding": {
1450 | "url": "https://opencollective.com/eslint"
1451 | }
1452 | },
1453 | "node_modules/@vitejs/plugin-react": {
1454 | "version": "4.3.3",
1455 | "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.3.tgz",
1456 | "integrity": "sha512-NooDe9GpHGqNns1i8XDERg0Vsg5SSYRhRxxyTGogUdkdNt47jal+fbuYi+Yfq6pzRCKXyoPcWisfxE6RIM3GKA==",
1457 | "dev": true,
1458 | "dependencies": {
1459 | "@babel/core": "^7.25.2",
1460 | "@babel/plugin-transform-react-jsx-self": "^7.24.7",
1461 | "@babel/plugin-transform-react-jsx-source": "^7.24.7",
1462 | "@types/babel__core": "^7.20.5",
1463 | "react-refresh": "^0.14.2"
1464 | },
1465 | "engines": {
1466 | "node": "^14.18.0 || >=16.0.0"
1467 | },
1468 | "peerDependencies": {
1469 | "vite": "^4.2.0 || ^5.0.0"
1470 | }
1471 | },
1472 | "node_modules/acorn": {
1473 | "version": "8.13.0",
1474 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.13.0.tgz",
1475 | "integrity": "sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w==",
1476 | "dev": true,
1477 | "bin": {
1478 | "acorn": "bin/acorn"
1479 | },
1480 | "engines": {
1481 | "node": ">=0.4.0"
1482 | }
1483 | },
1484 | "node_modules/acorn-jsx": {
1485 | "version": "5.3.2",
1486 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
1487 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
1488 | "dev": true,
1489 | "peerDependencies": {
1490 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
1491 | }
1492 | },
1493 | "node_modules/ajv": {
1494 | "version": "6.12.6",
1495 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
1496 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
1497 | "dev": true,
1498 | "dependencies": {
1499 | "fast-deep-equal": "^3.1.1",
1500 | "fast-json-stable-stringify": "^2.0.0",
1501 | "json-schema-traverse": "^0.4.1",
1502 | "uri-js": "^4.2.2"
1503 | },
1504 | "funding": {
1505 | "type": "github",
1506 | "url": "https://github.com/sponsors/epoberezkin"
1507 | }
1508 | },
1509 | "node_modules/ansi-styles": {
1510 | "version": "4.3.0",
1511 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
1512 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
1513 | "dev": true,
1514 | "dependencies": {
1515 | "color-convert": "^2.0.1"
1516 | },
1517 | "engines": {
1518 | "node": ">=8"
1519 | },
1520 | "funding": {
1521 | "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1522 | }
1523 | },
1524 | "node_modules/argparse": {
1525 | "version": "2.0.1",
1526 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
1527 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
1528 | "dev": true
1529 | },
1530 | "node_modules/asynckit": {
1531 | "version": "0.4.0",
1532 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
1533 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
1534 | },
1535 | "node_modules/axios": {
1536 | "version": "1.7.7",
1537 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz",
1538 | "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==",
1539 | "dependencies": {
1540 | "follow-redirects": "^1.15.6",
1541 | "form-data": "^4.0.0",
1542 | "proxy-from-env": "^1.1.0"
1543 | }
1544 | },
1545 | "node_modules/balanced-match": {
1546 | "version": "1.0.2",
1547 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1548 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1549 | "dev": true
1550 | },
1551 | "node_modules/brace-expansion": {
1552 | "version": "1.1.11",
1553 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
1554 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
1555 | "dev": true,
1556 | "dependencies": {
1557 | "balanced-match": "^1.0.0",
1558 | "concat-map": "0.0.1"
1559 | }
1560 | },
1561 | "node_modules/braces": {
1562 | "version": "3.0.3",
1563 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
1564 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
1565 | "dev": true,
1566 | "dependencies": {
1567 | "fill-range": "^7.1.1"
1568 | },
1569 | "engines": {
1570 | "node": ">=8"
1571 | }
1572 | },
1573 | "node_modules/browserslist": {
1574 | "version": "4.24.2",
1575 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz",
1576 | "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==",
1577 | "dev": true,
1578 | "funding": [
1579 | {
1580 | "type": "opencollective",
1581 | "url": "https://opencollective.com/browserslist"
1582 | },
1583 | {
1584 | "type": "tidelift",
1585 | "url": "https://tidelift.com/funding/github/npm/browserslist"
1586 | },
1587 | {
1588 | "type": "github",
1589 | "url": "https://github.com/sponsors/ai"
1590 | }
1591 | ],
1592 | "dependencies": {
1593 | "caniuse-lite": "^1.0.30001669",
1594 | "electron-to-chromium": "^1.5.41",
1595 | "node-releases": "^2.0.18",
1596 | "update-browserslist-db": "^1.1.1"
1597 | },
1598 | "bin": {
1599 | "browserslist": "cli.js"
1600 | },
1601 | "engines": {
1602 | "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1603 | }
1604 | },
1605 | "node_modules/callsites": {
1606 | "version": "3.1.0",
1607 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
1608 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
1609 | "dev": true,
1610 | "engines": {
1611 | "node": ">=6"
1612 | }
1613 | },
1614 | "node_modules/caniuse-lite": {
1615 | "version": "1.0.30001669",
1616 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz",
1617 | "integrity": "sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w==",
1618 | "dev": true,
1619 | "funding": [
1620 | {
1621 | "type": "opencollective",
1622 | "url": "https://opencollective.com/browserslist"
1623 | },
1624 | {
1625 | "type": "tidelift",
1626 | "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
1627 | },
1628 | {
1629 | "type": "github",
1630 | "url": "https://github.com/sponsors/ai"
1631 | }
1632 | ]
1633 | },
1634 | "node_modules/chalk": {
1635 | "version": "4.1.2",
1636 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
1637 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
1638 | "dev": true,
1639 | "dependencies": {
1640 | "ansi-styles": "^4.1.0",
1641 | "supports-color": "^7.1.0"
1642 | },
1643 | "engines": {
1644 | "node": ">=10"
1645 | },
1646 | "funding": {
1647 | "url": "https://github.com/chalk/chalk?sponsor=1"
1648 | }
1649 | },
1650 | "node_modules/color-convert": {
1651 | "version": "2.0.1",
1652 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1653 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1654 | "dev": true,
1655 | "dependencies": {
1656 | "color-name": "~1.1.4"
1657 | },
1658 | "engines": {
1659 | "node": ">=7.0.0"
1660 | }
1661 | },
1662 | "node_modules/color-name": {
1663 | "version": "1.1.4",
1664 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1665 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1666 | "dev": true
1667 | },
1668 | "node_modules/combined-stream": {
1669 | "version": "1.0.8",
1670 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
1671 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
1672 | "dependencies": {
1673 | "delayed-stream": "~1.0.0"
1674 | },
1675 | "engines": {
1676 | "node": ">= 0.8"
1677 | }
1678 | },
1679 | "node_modules/concat-map": {
1680 | "version": "0.0.1",
1681 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
1682 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
1683 | "dev": true
1684 | },
1685 | "node_modules/convert-source-map": {
1686 | "version": "2.0.0",
1687 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
1688 | "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
1689 | "dev": true
1690 | },
1691 | "node_modules/cross-spawn": {
1692 | "version": "7.0.3",
1693 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
1694 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
1695 | "dev": true,
1696 | "dependencies": {
1697 | "path-key": "^3.1.0",
1698 | "shebang-command": "^2.0.0",
1699 | "which": "^2.0.1"
1700 | },
1701 | "engines": {
1702 | "node": ">= 8"
1703 | }
1704 | },
1705 | "node_modules/csstype": {
1706 | "version": "3.1.3",
1707 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
1708 | "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
1709 | "dev": true
1710 | },
1711 | "node_modules/debug": {
1712 | "version": "4.3.7",
1713 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
1714 | "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
1715 | "dev": true,
1716 | "dependencies": {
1717 | "ms": "^2.1.3"
1718 | },
1719 | "engines": {
1720 | "node": ">=6.0"
1721 | },
1722 | "peerDependenciesMeta": {
1723 | "supports-color": {
1724 | "optional": true
1725 | }
1726 | }
1727 | },
1728 | "node_modules/deep-is": {
1729 | "version": "0.1.4",
1730 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
1731 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
1732 | "dev": true
1733 | },
1734 | "node_modules/delayed-stream": {
1735 | "version": "1.0.0",
1736 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
1737 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
1738 | "engines": {
1739 | "node": ">=0.4.0"
1740 | }
1741 | },
1742 | "node_modules/electron-to-chromium": {
1743 | "version": "1.5.45",
1744 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.45.tgz",
1745 | "integrity": "sha512-vOzZS6uZwhhbkZbcRyiy99Wg+pYFV5hk+5YaECvx0+Z31NR3Tt5zS6dze2OepT6PCTzVzT0dIJItti+uAW5zmw==",
1746 | "dev": true
1747 | },
1748 | "node_modules/esbuild": {
1749 | "version": "0.21.5",
1750 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
1751 | "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
1752 | "dev": true,
1753 | "hasInstallScript": true,
1754 | "bin": {
1755 | "esbuild": "bin/esbuild"
1756 | },
1757 | "engines": {
1758 | "node": ">=12"
1759 | },
1760 | "optionalDependencies": {
1761 | "@esbuild/aix-ppc64": "0.21.5",
1762 | "@esbuild/android-arm": "0.21.5",
1763 | "@esbuild/android-arm64": "0.21.5",
1764 | "@esbuild/android-x64": "0.21.5",
1765 | "@esbuild/darwin-arm64": "0.21.5",
1766 | "@esbuild/darwin-x64": "0.21.5",
1767 | "@esbuild/freebsd-arm64": "0.21.5",
1768 | "@esbuild/freebsd-x64": "0.21.5",
1769 | "@esbuild/linux-arm": "0.21.5",
1770 | "@esbuild/linux-arm64": "0.21.5",
1771 | "@esbuild/linux-ia32": "0.21.5",
1772 | "@esbuild/linux-loong64": "0.21.5",
1773 | "@esbuild/linux-mips64el": "0.21.5",
1774 | "@esbuild/linux-ppc64": "0.21.5",
1775 | "@esbuild/linux-riscv64": "0.21.5",
1776 | "@esbuild/linux-s390x": "0.21.5",
1777 | "@esbuild/linux-x64": "0.21.5",
1778 | "@esbuild/netbsd-x64": "0.21.5",
1779 | "@esbuild/openbsd-x64": "0.21.5",
1780 | "@esbuild/sunos-x64": "0.21.5",
1781 | "@esbuild/win32-arm64": "0.21.5",
1782 | "@esbuild/win32-ia32": "0.21.5",
1783 | "@esbuild/win32-x64": "0.21.5"
1784 | }
1785 | },
1786 | "node_modules/escalade": {
1787 | "version": "3.2.0",
1788 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
1789 | "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
1790 | "dev": true,
1791 | "engines": {
1792 | "node": ">=6"
1793 | }
1794 | },
1795 | "node_modules/escape-string-regexp": {
1796 | "version": "4.0.0",
1797 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
1798 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
1799 | "dev": true,
1800 | "engines": {
1801 | "node": ">=10"
1802 | },
1803 | "funding": {
1804 | "url": "https://github.com/sponsors/sindresorhus"
1805 | }
1806 | },
1807 | "node_modules/eslint": {
1808 | "version": "9.13.0",
1809 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.13.0.tgz",
1810 | "integrity": "sha512-EYZK6SX6zjFHST/HRytOdA/zE72Cq/bfw45LSyuwrdvcclb/gqV8RRQxywOBEWO2+WDpva6UZa4CcDeJKzUCFA==",
1811 | "dev": true,
1812 | "dependencies": {
1813 | "@eslint-community/eslint-utils": "^4.2.0",
1814 | "@eslint-community/regexpp": "^4.11.0",
1815 | "@eslint/config-array": "^0.18.0",
1816 | "@eslint/core": "^0.7.0",
1817 | "@eslint/eslintrc": "^3.1.0",
1818 | "@eslint/js": "9.13.0",
1819 | "@eslint/plugin-kit": "^0.2.0",
1820 | "@humanfs/node": "^0.16.5",
1821 | "@humanwhocodes/module-importer": "^1.0.1",
1822 | "@humanwhocodes/retry": "^0.3.1",
1823 | "@types/estree": "^1.0.6",
1824 | "@types/json-schema": "^7.0.15",
1825 | "ajv": "^6.12.4",
1826 | "chalk": "^4.0.0",
1827 | "cross-spawn": "^7.0.2",
1828 | "debug": "^4.3.2",
1829 | "escape-string-regexp": "^4.0.0",
1830 | "eslint-scope": "^8.1.0",
1831 | "eslint-visitor-keys": "^4.1.0",
1832 | "espree": "^10.2.0",
1833 | "esquery": "^1.5.0",
1834 | "esutils": "^2.0.2",
1835 | "fast-deep-equal": "^3.1.3",
1836 | "file-entry-cache": "^8.0.0",
1837 | "find-up": "^5.0.0",
1838 | "glob-parent": "^6.0.2",
1839 | "ignore": "^5.2.0",
1840 | "imurmurhash": "^0.1.4",
1841 | "is-glob": "^4.0.0",
1842 | "json-stable-stringify-without-jsonify": "^1.0.1",
1843 | "lodash.merge": "^4.6.2",
1844 | "minimatch": "^3.1.2",
1845 | "natural-compare": "^1.4.0",
1846 | "optionator": "^0.9.3",
1847 | "text-table": "^0.2.0"
1848 | },
1849 | "bin": {
1850 | "eslint": "bin/eslint.js"
1851 | },
1852 | "engines": {
1853 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1854 | },
1855 | "funding": {
1856 | "url": "https://eslint.org/donate"
1857 | },
1858 | "peerDependencies": {
1859 | "jiti": "*"
1860 | },
1861 | "peerDependenciesMeta": {
1862 | "jiti": {
1863 | "optional": true
1864 | }
1865 | }
1866 | },
1867 | "node_modules/eslint-plugin-react-hooks": {
1868 | "version": "5.0.0",
1869 | "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz",
1870 | "integrity": "sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==",
1871 | "dev": true,
1872 | "engines": {
1873 | "node": ">=10"
1874 | },
1875 | "peerDependencies": {
1876 | "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
1877 | }
1878 | },
1879 | "node_modules/eslint-plugin-react-refresh": {
1880 | "version": "0.4.14",
1881 | "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.14.tgz",
1882 | "integrity": "sha512-aXvzCTK7ZBv1e7fahFuR3Z/fyQQSIQ711yPgYRj+Oj64tyTgO4iQIDmYXDBqvSWQ/FA4OSCsXOStlF+noU0/NA==",
1883 | "dev": true,
1884 | "peerDependencies": {
1885 | "eslint": ">=7"
1886 | }
1887 | },
1888 | "node_modules/eslint-scope": {
1889 | "version": "8.1.0",
1890 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.1.0.tgz",
1891 | "integrity": "sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw==",
1892 | "dev": true,
1893 | "dependencies": {
1894 | "esrecurse": "^4.3.0",
1895 | "estraverse": "^5.2.0"
1896 | },
1897 | "engines": {
1898 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1899 | },
1900 | "funding": {
1901 | "url": "https://opencollective.com/eslint"
1902 | }
1903 | },
1904 | "node_modules/eslint-visitor-keys": {
1905 | "version": "4.1.0",
1906 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz",
1907 | "integrity": "sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==",
1908 | "dev": true,
1909 | "engines": {
1910 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1911 | },
1912 | "funding": {
1913 | "url": "https://opencollective.com/eslint"
1914 | }
1915 | },
1916 | "node_modules/espree": {
1917 | "version": "10.2.0",
1918 | "resolved": "https://registry.npmjs.org/espree/-/espree-10.2.0.tgz",
1919 | "integrity": "sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==",
1920 | "dev": true,
1921 | "dependencies": {
1922 | "acorn": "^8.12.0",
1923 | "acorn-jsx": "^5.3.2",
1924 | "eslint-visitor-keys": "^4.1.0"
1925 | },
1926 | "engines": {
1927 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1928 | },
1929 | "funding": {
1930 | "url": "https://opencollective.com/eslint"
1931 | }
1932 | },
1933 | "node_modules/esquery": {
1934 | "version": "1.6.0",
1935 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
1936 | "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
1937 | "dev": true,
1938 | "dependencies": {
1939 | "estraverse": "^5.1.0"
1940 | },
1941 | "engines": {
1942 | "node": ">=0.10"
1943 | }
1944 | },
1945 | "node_modules/esrecurse": {
1946 | "version": "4.3.0",
1947 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
1948 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
1949 | "dev": true,
1950 | "dependencies": {
1951 | "estraverse": "^5.2.0"
1952 | },
1953 | "engines": {
1954 | "node": ">=4.0"
1955 | }
1956 | },
1957 | "node_modules/estraverse": {
1958 | "version": "5.3.0",
1959 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
1960 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
1961 | "dev": true,
1962 | "engines": {
1963 | "node": ">=4.0"
1964 | }
1965 | },
1966 | "node_modules/esutils": {
1967 | "version": "2.0.3",
1968 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
1969 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
1970 | "dev": true,
1971 | "engines": {
1972 | "node": ">=0.10.0"
1973 | }
1974 | },
1975 | "node_modules/fast-deep-equal": {
1976 | "version": "3.1.3",
1977 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
1978 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
1979 | "dev": true
1980 | },
1981 | "node_modules/fast-glob": {
1982 | "version": "3.3.2",
1983 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
1984 | "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
1985 | "dev": true,
1986 | "dependencies": {
1987 | "@nodelib/fs.stat": "^2.0.2",
1988 | "@nodelib/fs.walk": "^1.2.3",
1989 | "glob-parent": "^5.1.2",
1990 | "merge2": "^1.3.0",
1991 | "micromatch": "^4.0.4"
1992 | },
1993 | "engines": {
1994 | "node": ">=8.6.0"
1995 | }
1996 | },
1997 | "node_modules/fast-glob/node_modules/glob-parent": {
1998 | "version": "5.1.2",
1999 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
2000 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
2001 | "dev": true,
2002 | "dependencies": {
2003 | "is-glob": "^4.0.1"
2004 | },
2005 | "engines": {
2006 | "node": ">= 6"
2007 | }
2008 | },
2009 | "node_modules/fast-json-stable-stringify": {
2010 | "version": "2.1.0",
2011 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
2012 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
2013 | "dev": true
2014 | },
2015 | "node_modules/fast-levenshtein": {
2016 | "version": "2.0.6",
2017 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
2018 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
2019 | "dev": true
2020 | },
2021 | "node_modules/fastq": {
2022 | "version": "1.17.1",
2023 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
2024 | "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
2025 | "dev": true,
2026 | "dependencies": {
2027 | "reusify": "^1.0.4"
2028 | }
2029 | },
2030 | "node_modules/file-entry-cache": {
2031 | "version": "8.0.0",
2032 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
2033 | "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
2034 | "dev": true,
2035 | "dependencies": {
2036 | "flat-cache": "^4.0.0"
2037 | },
2038 | "engines": {
2039 | "node": ">=16.0.0"
2040 | }
2041 | },
2042 | "node_modules/fill-range": {
2043 | "version": "7.1.1",
2044 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
2045 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
2046 | "dev": true,
2047 | "dependencies": {
2048 | "to-regex-range": "^5.0.1"
2049 | },
2050 | "engines": {
2051 | "node": ">=8"
2052 | }
2053 | },
2054 | "node_modules/find-up": {
2055 | "version": "5.0.0",
2056 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
2057 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
2058 | "dev": true,
2059 | "dependencies": {
2060 | "locate-path": "^6.0.0",
2061 | "path-exists": "^4.0.0"
2062 | },
2063 | "engines": {
2064 | "node": ">=10"
2065 | },
2066 | "funding": {
2067 | "url": "https://github.com/sponsors/sindresorhus"
2068 | }
2069 | },
2070 | "node_modules/flat-cache": {
2071 | "version": "4.0.1",
2072 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
2073 | "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
2074 | "dev": true,
2075 | "dependencies": {
2076 | "flatted": "^3.2.9",
2077 | "keyv": "^4.5.4"
2078 | },
2079 | "engines": {
2080 | "node": ">=16"
2081 | }
2082 | },
2083 | "node_modules/flatted": {
2084 | "version": "3.3.1",
2085 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
2086 | "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
2087 | "dev": true
2088 | },
2089 | "node_modules/follow-redirects": {
2090 | "version": "1.15.9",
2091 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
2092 | "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
2093 | "funding": [
2094 | {
2095 | "type": "individual",
2096 | "url": "https://github.com/sponsors/RubenVerborgh"
2097 | }
2098 | ],
2099 | "engines": {
2100 | "node": ">=4.0"
2101 | },
2102 | "peerDependenciesMeta": {
2103 | "debug": {
2104 | "optional": true
2105 | }
2106 | }
2107 | },
2108 | "node_modules/form-data": {
2109 | "version": "4.0.1",
2110 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz",
2111 | "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==",
2112 | "dependencies": {
2113 | "asynckit": "^0.4.0",
2114 | "combined-stream": "^1.0.8",
2115 | "mime-types": "^2.1.12"
2116 | },
2117 | "engines": {
2118 | "node": ">= 6"
2119 | }
2120 | },
2121 | "node_modules/fsevents": {
2122 | "version": "2.3.3",
2123 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
2124 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
2125 | "dev": true,
2126 | "hasInstallScript": true,
2127 | "optional": true,
2128 | "os": [
2129 | "darwin"
2130 | ],
2131 | "engines": {
2132 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
2133 | }
2134 | },
2135 | "node_modules/gensync": {
2136 | "version": "1.0.0-beta.2",
2137 | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
2138 | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
2139 | "dev": true,
2140 | "engines": {
2141 | "node": ">=6.9.0"
2142 | }
2143 | },
2144 | "node_modules/glob-parent": {
2145 | "version": "6.0.2",
2146 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
2147 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
2148 | "dev": true,
2149 | "dependencies": {
2150 | "is-glob": "^4.0.3"
2151 | },
2152 | "engines": {
2153 | "node": ">=10.13.0"
2154 | }
2155 | },
2156 | "node_modules/globals": {
2157 | "version": "15.11.0",
2158 | "resolved": "https://registry.npmjs.org/globals/-/globals-15.11.0.tgz",
2159 | "integrity": "sha512-yeyNSjdbyVaWurlwCpcA6XNBrHTMIeDdj0/hnvX/OLJ9ekOXYbLsLinH/MucQyGvNnXhidTdNhTtJaffL2sMfw==",
2160 | "dev": true,
2161 | "engines": {
2162 | "node": ">=18"
2163 | },
2164 | "funding": {
2165 | "url": "https://github.com/sponsors/sindresorhus"
2166 | }
2167 | },
2168 | "node_modules/graphemer": {
2169 | "version": "1.4.0",
2170 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
2171 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
2172 | "dev": true
2173 | },
2174 | "node_modules/has-flag": {
2175 | "version": "4.0.0",
2176 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
2177 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
2178 | "dev": true,
2179 | "engines": {
2180 | "node": ">=8"
2181 | }
2182 | },
2183 | "node_modules/ignore": {
2184 | "version": "5.3.2",
2185 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
2186 | "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
2187 | "dev": true,
2188 | "engines": {
2189 | "node": ">= 4"
2190 | }
2191 | },
2192 | "node_modules/import-fresh": {
2193 | "version": "3.3.0",
2194 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
2195 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
2196 | "dev": true,
2197 | "dependencies": {
2198 | "parent-module": "^1.0.0",
2199 | "resolve-from": "^4.0.0"
2200 | },
2201 | "engines": {
2202 | "node": ">=6"
2203 | },
2204 | "funding": {
2205 | "url": "https://github.com/sponsors/sindresorhus"
2206 | }
2207 | },
2208 | "node_modules/imurmurhash": {
2209 | "version": "0.1.4",
2210 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
2211 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
2212 | "dev": true,
2213 | "engines": {
2214 | "node": ">=0.8.19"
2215 | }
2216 | },
2217 | "node_modules/is-extglob": {
2218 | "version": "2.1.1",
2219 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
2220 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
2221 | "dev": true,
2222 | "engines": {
2223 | "node": ">=0.10.0"
2224 | }
2225 | },
2226 | "node_modules/is-glob": {
2227 | "version": "4.0.3",
2228 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
2229 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
2230 | "dev": true,
2231 | "dependencies": {
2232 | "is-extglob": "^2.1.1"
2233 | },
2234 | "engines": {
2235 | "node": ">=0.10.0"
2236 | }
2237 | },
2238 | "node_modules/is-number": {
2239 | "version": "7.0.0",
2240 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
2241 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
2242 | "dev": true,
2243 | "engines": {
2244 | "node": ">=0.12.0"
2245 | }
2246 | },
2247 | "node_modules/isexe": {
2248 | "version": "2.0.0",
2249 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
2250 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
2251 | "dev": true
2252 | },
2253 | "node_modules/js-tokens": {
2254 | "version": "4.0.0",
2255 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
2256 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
2257 | },
2258 | "node_modules/js-yaml": {
2259 | "version": "4.1.0",
2260 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
2261 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
2262 | "dev": true,
2263 | "dependencies": {
2264 | "argparse": "^2.0.1"
2265 | },
2266 | "bin": {
2267 | "js-yaml": "bin/js-yaml.js"
2268 | }
2269 | },
2270 | "node_modules/jsesc": {
2271 | "version": "3.0.2",
2272 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz",
2273 | "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==",
2274 | "dev": true,
2275 | "bin": {
2276 | "jsesc": "bin/jsesc"
2277 | },
2278 | "engines": {
2279 | "node": ">=6"
2280 | }
2281 | },
2282 | "node_modules/json-buffer": {
2283 | "version": "3.0.1",
2284 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
2285 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
2286 | "dev": true
2287 | },
2288 | "node_modules/json-schema-traverse": {
2289 | "version": "0.4.1",
2290 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
2291 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
2292 | "dev": true
2293 | },
2294 | "node_modules/json-stable-stringify-without-jsonify": {
2295 | "version": "1.0.1",
2296 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
2297 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
2298 | "dev": true
2299 | },
2300 | "node_modules/json5": {
2301 | "version": "2.2.3",
2302 | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
2303 | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
2304 | "dev": true,
2305 | "bin": {
2306 | "json5": "lib/cli.js"
2307 | },
2308 | "engines": {
2309 | "node": ">=6"
2310 | }
2311 | },
2312 | "node_modules/keyv": {
2313 | "version": "4.5.4",
2314 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
2315 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
2316 | "dev": true,
2317 | "dependencies": {
2318 | "json-buffer": "3.0.1"
2319 | }
2320 | },
2321 | "node_modules/levn": {
2322 | "version": "0.4.1",
2323 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
2324 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
2325 | "dev": true,
2326 | "dependencies": {
2327 | "prelude-ls": "^1.2.1",
2328 | "type-check": "~0.4.0"
2329 | },
2330 | "engines": {
2331 | "node": ">= 0.8.0"
2332 | }
2333 | },
2334 | "node_modules/locate-path": {
2335 | "version": "6.0.0",
2336 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
2337 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
2338 | "dev": true,
2339 | "dependencies": {
2340 | "p-locate": "^5.0.0"
2341 | },
2342 | "engines": {
2343 | "node": ">=10"
2344 | },
2345 | "funding": {
2346 | "url": "https://github.com/sponsors/sindresorhus"
2347 | }
2348 | },
2349 | "node_modules/lodash.merge": {
2350 | "version": "4.6.2",
2351 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
2352 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
2353 | "dev": true
2354 | },
2355 | "node_modules/loose-envify": {
2356 | "version": "1.4.0",
2357 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
2358 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
2359 | "dependencies": {
2360 | "js-tokens": "^3.0.0 || ^4.0.0"
2361 | },
2362 | "bin": {
2363 | "loose-envify": "cli.js"
2364 | }
2365 | },
2366 | "node_modules/lru-cache": {
2367 | "version": "5.1.1",
2368 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
2369 | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
2370 | "dev": true,
2371 | "dependencies": {
2372 | "yallist": "^3.0.2"
2373 | }
2374 | },
2375 | "node_modules/merge2": {
2376 | "version": "1.4.1",
2377 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
2378 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
2379 | "dev": true,
2380 | "engines": {
2381 | "node": ">= 8"
2382 | }
2383 | },
2384 | "node_modules/micromatch": {
2385 | "version": "4.0.8",
2386 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
2387 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
2388 | "dev": true,
2389 | "dependencies": {
2390 | "braces": "^3.0.3",
2391 | "picomatch": "^2.3.1"
2392 | },
2393 | "engines": {
2394 | "node": ">=8.6"
2395 | }
2396 | },
2397 | "node_modules/mime-db": {
2398 | "version": "1.52.0",
2399 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
2400 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
2401 | "engines": {
2402 | "node": ">= 0.6"
2403 | }
2404 | },
2405 | "node_modules/mime-types": {
2406 | "version": "2.1.35",
2407 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
2408 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
2409 | "dependencies": {
2410 | "mime-db": "1.52.0"
2411 | },
2412 | "engines": {
2413 | "node": ">= 0.6"
2414 | }
2415 | },
2416 | "node_modules/minimatch": {
2417 | "version": "3.1.2",
2418 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
2419 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
2420 | "dev": true,
2421 | "dependencies": {
2422 | "brace-expansion": "^1.1.7"
2423 | },
2424 | "engines": {
2425 | "node": "*"
2426 | }
2427 | },
2428 | "node_modules/ms": {
2429 | "version": "2.1.3",
2430 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
2431 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
2432 | "dev": true
2433 | },
2434 | "node_modules/nanoid": {
2435 | "version": "3.3.7",
2436 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
2437 | "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
2438 | "dev": true,
2439 | "funding": [
2440 | {
2441 | "type": "github",
2442 | "url": "https://github.com/sponsors/ai"
2443 | }
2444 | ],
2445 | "bin": {
2446 | "nanoid": "bin/nanoid.cjs"
2447 | },
2448 | "engines": {
2449 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
2450 | }
2451 | },
2452 | "node_modules/natural-compare": {
2453 | "version": "1.4.0",
2454 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
2455 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
2456 | "dev": true
2457 | },
2458 | "node_modules/node-releases": {
2459 | "version": "2.0.18",
2460 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz",
2461 | "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==",
2462 | "dev": true
2463 | },
2464 | "node_modules/optionator": {
2465 | "version": "0.9.4",
2466 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
2467 | "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
2468 | "dev": true,
2469 | "dependencies": {
2470 | "deep-is": "^0.1.3",
2471 | "fast-levenshtein": "^2.0.6",
2472 | "levn": "^0.4.1",
2473 | "prelude-ls": "^1.2.1",
2474 | "type-check": "^0.4.0",
2475 | "word-wrap": "^1.2.5"
2476 | },
2477 | "engines": {
2478 | "node": ">= 0.8.0"
2479 | }
2480 | },
2481 | "node_modules/p-limit": {
2482 | "version": "3.1.0",
2483 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
2484 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
2485 | "dev": true,
2486 | "dependencies": {
2487 | "yocto-queue": "^0.1.0"
2488 | },
2489 | "engines": {
2490 | "node": ">=10"
2491 | },
2492 | "funding": {
2493 | "url": "https://github.com/sponsors/sindresorhus"
2494 | }
2495 | },
2496 | "node_modules/p-locate": {
2497 | "version": "5.0.0",
2498 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
2499 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
2500 | "dev": true,
2501 | "dependencies": {
2502 | "p-limit": "^3.0.2"
2503 | },
2504 | "engines": {
2505 | "node": ">=10"
2506 | },
2507 | "funding": {
2508 | "url": "https://github.com/sponsors/sindresorhus"
2509 | }
2510 | },
2511 | "node_modules/parent-module": {
2512 | "version": "1.0.1",
2513 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
2514 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
2515 | "dev": true,
2516 | "dependencies": {
2517 | "callsites": "^3.0.0"
2518 | },
2519 | "engines": {
2520 | "node": ">=6"
2521 | }
2522 | },
2523 | "node_modules/path-exists": {
2524 | "version": "4.0.0",
2525 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
2526 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
2527 | "dev": true,
2528 | "engines": {
2529 | "node": ">=8"
2530 | }
2531 | },
2532 | "node_modules/path-key": {
2533 | "version": "3.1.1",
2534 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
2535 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
2536 | "dev": true,
2537 | "engines": {
2538 | "node": ">=8"
2539 | }
2540 | },
2541 | "node_modules/picocolors": {
2542 | "version": "1.1.1",
2543 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
2544 | "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
2545 | "dev": true
2546 | },
2547 | "node_modules/picomatch": {
2548 | "version": "2.3.1",
2549 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
2550 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
2551 | "dev": true,
2552 | "engines": {
2553 | "node": ">=8.6"
2554 | },
2555 | "funding": {
2556 | "url": "https://github.com/sponsors/jonschlinkert"
2557 | }
2558 | },
2559 | "node_modules/postcss": {
2560 | "version": "8.4.47",
2561 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz",
2562 | "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==",
2563 | "dev": true,
2564 | "funding": [
2565 | {
2566 | "type": "opencollective",
2567 | "url": "https://opencollective.com/postcss/"
2568 | },
2569 | {
2570 | "type": "tidelift",
2571 | "url": "https://tidelift.com/funding/github/npm/postcss"
2572 | },
2573 | {
2574 | "type": "github",
2575 | "url": "https://github.com/sponsors/ai"
2576 | }
2577 | ],
2578 | "dependencies": {
2579 | "nanoid": "^3.3.7",
2580 | "picocolors": "^1.1.0",
2581 | "source-map-js": "^1.2.1"
2582 | },
2583 | "engines": {
2584 | "node": "^10 || ^12 || >=14"
2585 | }
2586 | },
2587 | "node_modules/prelude-ls": {
2588 | "version": "1.2.1",
2589 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
2590 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
2591 | "dev": true,
2592 | "engines": {
2593 | "node": ">= 0.8.0"
2594 | }
2595 | },
2596 | "node_modules/proxy-from-env": {
2597 | "version": "1.1.0",
2598 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
2599 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
2600 | },
2601 | "node_modules/punycode": {
2602 | "version": "2.3.1",
2603 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
2604 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
2605 | "dev": true,
2606 | "engines": {
2607 | "node": ">=6"
2608 | }
2609 | },
2610 | "node_modules/queue-microtask": {
2611 | "version": "1.2.3",
2612 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
2613 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
2614 | "dev": true,
2615 | "funding": [
2616 | {
2617 | "type": "github",
2618 | "url": "https://github.com/sponsors/feross"
2619 | },
2620 | {
2621 | "type": "patreon",
2622 | "url": "https://www.patreon.com/feross"
2623 | },
2624 | {
2625 | "type": "consulting",
2626 | "url": "https://feross.org/support"
2627 | }
2628 | ]
2629 | },
2630 | "node_modules/react": {
2631 | "version": "18.3.1",
2632 | "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
2633 | "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
2634 | "dependencies": {
2635 | "loose-envify": "^1.1.0"
2636 | },
2637 | "engines": {
2638 | "node": ">=0.10.0"
2639 | }
2640 | },
2641 | "node_modules/react-dom": {
2642 | "version": "18.3.1",
2643 | "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
2644 | "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
2645 | "dependencies": {
2646 | "loose-envify": "^1.1.0",
2647 | "scheduler": "^0.23.2"
2648 | },
2649 | "peerDependencies": {
2650 | "react": "^18.3.1"
2651 | }
2652 | },
2653 | "node_modules/react-refresh": {
2654 | "version": "0.14.2",
2655 | "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz",
2656 | "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==",
2657 | "dev": true,
2658 | "engines": {
2659 | "node": ">=0.10.0"
2660 | }
2661 | },
2662 | "node_modules/react-router": {
2663 | "version": "6.27.0",
2664 | "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.27.0.tgz",
2665 | "integrity": "sha512-YA+HGZXz4jaAkVoYBE98VQl+nVzI+cVI2Oj/06F5ZM+0u3TgedN9Y9kmMRo2mnkSK2nCpNQn0DVob4HCsY/WLw==",
2666 | "dependencies": {
2667 | "@remix-run/router": "1.20.0"
2668 | },
2669 | "engines": {
2670 | "node": ">=14.0.0"
2671 | },
2672 | "peerDependencies": {
2673 | "react": ">=16.8"
2674 | }
2675 | },
2676 | "node_modules/react-router-dom": {
2677 | "version": "6.27.0",
2678 | "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.27.0.tgz",
2679 | "integrity": "sha512-+bvtFWMC0DgAFrfKXKG9Fc+BcXWRUO1aJIihbB79xaeq0v5UzfvnM5houGUm1Y461WVRcgAQ+Clh5rdb1eCx4g==",
2680 | "dependencies": {
2681 | "@remix-run/router": "1.20.0",
2682 | "react-router": "6.27.0"
2683 | },
2684 | "engines": {
2685 | "node": ">=14.0.0"
2686 | },
2687 | "peerDependencies": {
2688 | "react": ">=16.8",
2689 | "react-dom": ">=16.8"
2690 | }
2691 | },
2692 | "node_modules/resolve-from": {
2693 | "version": "4.0.0",
2694 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
2695 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
2696 | "dev": true,
2697 | "engines": {
2698 | "node": ">=4"
2699 | }
2700 | },
2701 | "node_modules/reusify": {
2702 | "version": "1.0.4",
2703 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
2704 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
2705 | "dev": true,
2706 | "engines": {
2707 | "iojs": ">=1.0.0",
2708 | "node": ">=0.10.0"
2709 | }
2710 | },
2711 | "node_modules/rollup": {
2712 | "version": "4.24.0",
2713 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz",
2714 | "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==",
2715 | "dev": true,
2716 | "dependencies": {
2717 | "@types/estree": "1.0.6"
2718 | },
2719 | "bin": {
2720 | "rollup": "dist/bin/rollup"
2721 | },
2722 | "engines": {
2723 | "node": ">=18.0.0",
2724 | "npm": ">=8.0.0"
2725 | },
2726 | "optionalDependencies": {
2727 | "@rollup/rollup-android-arm-eabi": "4.24.0",
2728 | "@rollup/rollup-android-arm64": "4.24.0",
2729 | "@rollup/rollup-darwin-arm64": "4.24.0",
2730 | "@rollup/rollup-darwin-x64": "4.24.0",
2731 | "@rollup/rollup-linux-arm-gnueabihf": "4.24.0",
2732 | "@rollup/rollup-linux-arm-musleabihf": "4.24.0",
2733 | "@rollup/rollup-linux-arm64-gnu": "4.24.0",
2734 | "@rollup/rollup-linux-arm64-musl": "4.24.0",
2735 | "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0",
2736 | "@rollup/rollup-linux-riscv64-gnu": "4.24.0",
2737 | "@rollup/rollup-linux-s390x-gnu": "4.24.0",
2738 | "@rollup/rollup-linux-x64-gnu": "4.24.0",
2739 | "@rollup/rollup-linux-x64-musl": "4.24.0",
2740 | "@rollup/rollup-win32-arm64-msvc": "4.24.0",
2741 | "@rollup/rollup-win32-ia32-msvc": "4.24.0",
2742 | "@rollup/rollup-win32-x64-msvc": "4.24.0",
2743 | "fsevents": "~2.3.2"
2744 | }
2745 | },
2746 | "node_modules/run-parallel": {
2747 | "version": "1.2.0",
2748 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
2749 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
2750 | "dev": true,
2751 | "funding": [
2752 | {
2753 | "type": "github",
2754 | "url": "https://github.com/sponsors/feross"
2755 | },
2756 | {
2757 | "type": "patreon",
2758 | "url": "https://www.patreon.com/feross"
2759 | },
2760 | {
2761 | "type": "consulting",
2762 | "url": "https://feross.org/support"
2763 | }
2764 | ],
2765 | "dependencies": {
2766 | "queue-microtask": "^1.2.2"
2767 | }
2768 | },
2769 | "node_modules/scheduler": {
2770 | "version": "0.23.2",
2771 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
2772 | "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
2773 | "dependencies": {
2774 | "loose-envify": "^1.1.0"
2775 | }
2776 | },
2777 | "node_modules/semver": {
2778 | "version": "6.3.1",
2779 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
2780 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
2781 | "dev": true,
2782 | "bin": {
2783 | "semver": "bin/semver.js"
2784 | }
2785 | },
2786 | "node_modules/shebang-command": {
2787 | "version": "2.0.0",
2788 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
2789 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
2790 | "dev": true,
2791 | "dependencies": {
2792 | "shebang-regex": "^3.0.0"
2793 | },
2794 | "engines": {
2795 | "node": ">=8"
2796 | }
2797 | },
2798 | "node_modules/shebang-regex": {
2799 | "version": "3.0.0",
2800 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
2801 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
2802 | "dev": true,
2803 | "engines": {
2804 | "node": ">=8"
2805 | }
2806 | },
2807 | "node_modules/source-map-js": {
2808 | "version": "1.2.1",
2809 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
2810 | "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
2811 | "dev": true,
2812 | "engines": {
2813 | "node": ">=0.10.0"
2814 | }
2815 | },
2816 | "node_modules/strip-json-comments": {
2817 | "version": "3.1.1",
2818 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
2819 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
2820 | "dev": true,
2821 | "engines": {
2822 | "node": ">=8"
2823 | },
2824 | "funding": {
2825 | "url": "https://github.com/sponsors/sindresorhus"
2826 | }
2827 | },
2828 | "node_modules/supports-color": {
2829 | "version": "7.2.0",
2830 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
2831 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
2832 | "dev": true,
2833 | "dependencies": {
2834 | "has-flag": "^4.0.0"
2835 | },
2836 | "engines": {
2837 | "node": ">=8"
2838 | }
2839 | },
2840 | "node_modules/text-table": {
2841 | "version": "0.2.0",
2842 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
2843 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
2844 | "dev": true
2845 | },
2846 | "node_modules/to-regex-range": {
2847 | "version": "5.0.1",
2848 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
2849 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
2850 | "dev": true,
2851 | "dependencies": {
2852 | "is-number": "^7.0.0"
2853 | },
2854 | "engines": {
2855 | "node": ">=8.0"
2856 | }
2857 | },
2858 | "node_modules/ts-api-utils": {
2859 | "version": "1.3.0",
2860 | "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz",
2861 | "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==",
2862 | "dev": true,
2863 | "engines": {
2864 | "node": ">=16"
2865 | },
2866 | "peerDependencies": {
2867 | "typescript": ">=4.2.0"
2868 | }
2869 | },
2870 | "node_modules/type-check": {
2871 | "version": "0.4.0",
2872 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
2873 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
2874 | "dev": true,
2875 | "dependencies": {
2876 | "prelude-ls": "^1.2.1"
2877 | },
2878 | "engines": {
2879 | "node": ">= 0.8.0"
2880 | }
2881 | },
2882 | "node_modules/typescript": {
2883 | "version": "5.6.3",
2884 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz",
2885 | "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==",
2886 | "dev": true,
2887 | "bin": {
2888 | "tsc": "bin/tsc",
2889 | "tsserver": "bin/tsserver"
2890 | },
2891 | "engines": {
2892 | "node": ">=14.17"
2893 | }
2894 | },
2895 | "node_modules/typescript-eslint": {
2896 | "version": "8.11.0",
2897 | "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.11.0.tgz",
2898 | "integrity": "sha512-cBRGnW3FSlxaYwU8KfAewxFK5uzeOAp0l2KebIlPDOT5olVi65KDG/yjBooPBG0kGW/HLkoz1c/iuBFehcS3IA==",
2899 | "dev": true,
2900 | "dependencies": {
2901 | "@typescript-eslint/eslint-plugin": "8.11.0",
2902 | "@typescript-eslint/parser": "8.11.0",
2903 | "@typescript-eslint/utils": "8.11.0"
2904 | },
2905 | "engines": {
2906 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
2907 | },
2908 | "funding": {
2909 | "type": "opencollective",
2910 | "url": "https://opencollective.com/typescript-eslint"
2911 | },
2912 | "peerDependenciesMeta": {
2913 | "typescript": {
2914 | "optional": true
2915 | }
2916 | }
2917 | },
2918 | "node_modules/update-browserslist-db": {
2919 | "version": "1.1.1",
2920 | "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz",
2921 | "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==",
2922 | "dev": true,
2923 | "funding": [
2924 | {
2925 | "type": "opencollective",
2926 | "url": "https://opencollective.com/browserslist"
2927 | },
2928 | {
2929 | "type": "tidelift",
2930 | "url": "https://tidelift.com/funding/github/npm/browserslist"
2931 | },
2932 | {
2933 | "type": "github",
2934 | "url": "https://github.com/sponsors/ai"
2935 | }
2936 | ],
2937 | "dependencies": {
2938 | "escalade": "^3.2.0",
2939 | "picocolors": "^1.1.0"
2940 | },
2941 | "bin": {
2942 | "update-browserslist-db": "cli.js"
2943 | },
2944 | "peerDependencies": {
2945 | "browserslist": ">= 4.21.0"
2946 | }
2947 | },
2948 | "node_modules/uri-js": {
2949 | "version": "4.4.1",
2950 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
2951 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
2952 | "dev": true,
2953 | "dependencies": {
2954 | "punycode": "^2.1.0"
2955 | }
2956 | },
2957 | "node_modules/vite": {
2958 | "version": "5.4.10",
2959 | "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz",
2960 | "integrity": "sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==",
2961 | "dev": true,
2962 | "dependencies": {
2963 | "esbuild": "^0.21.3",
2964 | "postcss": "^8.4.43",
2965 | "rollup": "^4.20.0"
2966 | },
2967 | "bin": {
2968 | "vite": "bin/vite.js"
2969 | },
2970 | "engines": {
2971 | "node": "^18.0.0 || >=20.0.0"
2972 | },
2973 | "funding": {
2974 | "url": "https://github.com/vitejs/vite?sponsor=1"
2975 | },
2976 | "optionalDependencies": {
2977 | "fsevents": "~2.3.3"
2978 | },
2979 | "peerDependencies": {
2980 | "@types/node": "^18.0.0 || >=20.0.0",
2981 | "less": "*",
2982 | "lightningcss": "^1.21.0",
2983 | "sass": "*",
2984 | "sass-embedded": "*",
2985 | "stylus": "*",
2986 | "sugarss": "*",
2987 | "terser": "^5.4.0"
2988 | },
2989 | "peerDependenciesMeta": {
2990 | "@types/node": {
2991 | "optional": true
2992 | },
2993 | "less": {
2994 | "optional": true
2995 | },
2996 | "lightningcss": {
2997 | "optional": true
2998 | },
2999 | "sass": {
3000 | "optional": true
3001 | },
3002 | "sass-embedded": {
3003 | "optional": true
3004 | },
3005 | "stylus": {
3006 | "optional": true
3007 | },
3008 | "sugarss": {
3009 | "optional": true
3010 | },
3011 | "terser": {
3012 | "optional": true
3013 | }
3014 | }
3015 | },
3016 | "node_modules/which": {
3017 | "version": "2.0.2",
3018 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
3019 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
3020 | "dev": true,
3021 | "dependencies": {
3022 | "isexe": "^2.0.0"
3023 | },
3024 | "bin": {
3025 | "node-which": "bin/node-which"
3026 | },
3027 | "engines": {
3028 | "node": ">= 8"
3029 | }
3030 | },
3031 | "node_modules/word-wrap": {
3032 | "version": "1.2.5",
3033 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
3034 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
3035 | "dev": true,
3036 | "engines": {
3037 | "node": ">=0.10.0"
3038 | }
3039 | },
3040 | "node_modules/yallist": {
3041 | "version": "3.1.1",
3042 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
3043 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
3044 | "dev": true
3045 | },
3046 | "node_modules/yocto-queue": {
3047 | "version": "0.1.0",
3048 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
3049 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
3050 | "dev": true,
3051 | "engines": {
3052 | "node": ">=10"
3053 | },
3054 | "funding": {
3055 | "url": "https://github.com/sponsors/sindresorhus"
3056 | }
3057 | }
3058 | }
3059 | }
3060 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "frontend",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "tsc -b && vite build",
9 | "lint": "eslint .",
10 | "preview": "vite preview"
11 | },
12 | "dependencies": {
13 | "axios": "^1.7.7",
14 | "react": "^18.3.1",
15 | "react-dom": "^18.3.1",
16 | "react-router-dom": "^6.27.0"
17 | },
18 | "devDependencies": {
19 | "@eslint/js": "^9.13.0",
20 | "@types/react": "^18.3.11",
21 | "@types/react-dom": "^18.3.1",
22 | "@vitejs/plugin-react": "^4.3.3",
23 | "eslint": "^9.13.0",
24 | "eslint-plugin-react-hooks": "^5.0.0",
25 | "eslint-plugin-react-refresh": "^0.4.13",
26 | "globals": "^15.11.0",
27 | "typescript": "~5.6.2",
28 | "typescript-eslint": "^8.10.0",
29 | "vite": "^5.4.9"
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/public/vite.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/App.css:
--------------------------------------------------------------------------------
1 | * {
2 | margin: 0;
3 | padding: 0;
4 | box-sizing: border-box;
5 | font-family: "Fira Code", serif;
6 | }
7 |
8 | .displayFlex{
9 | display: flex;
10 | }
11 |
12 | .flexColumn{
13 | flex-direction: column;
14 | }
15 |
16 | .justifyContentCenter{
17 | justify-content: center;
18 | }
19 |
20 | .alignItemsCenter{
21 | align-items: center;
22 | }
23 |
24 | .appContainer{
25 | height: 100vh;
26 | overflow-y:hidden;
27 | }
28 |
29 | .container{
30 | width: 100%;
31 | }
32 |
33 | .gap10{
34 | gap:15px;
35 | }
36 | .padding15{
37 | padding:15px;
38 | }
--------------------------------------------------------------------------------
/src/App.tsx:
--------------------------------------------------------------------------------
1 | import { Route, Routes } from "react-router-dom";
2 | import { Assignment } from "./pages/Assignment/Assignment";
3 | import { Login } from "./pages/Login";
4 | import "./App.css";
5 | import { AssignmentList } from "./pages/AssignmentList/AssignmentList";
6 | import { ClassList } from "./pages/ClassList";
7 | import { Class } from "./pages/Class";
8 | import { Submission } from "./pages/Submission";
9 | import { SubmissionList } from "./pages/SubmissionList";
10 | import { Student } from "./pages/Student";
11 | import { StudentList } from "./pages/StudentList";
12 | import { AuthProvider } from "./context/AuthProvider";
13 | import { ProtectedRoute } from "./components/ProtectedRoute";
14 | import { AssignmentCreate } from "./pages/AssignmentCreate";
15 | import Navbar from "./components/Navbar/Navbar";
16 | import { AssignmentEdit } from "./pages/AssignmentEdit";
17 | import { AssignmentDisplay } from "./pages/AssignmentDisplay";
18 |
19 | function App() {
20 | return (
21 | <>
22 | {/*
23 | * ==================================
24 | * | Authentication + Authorization |
25 | * ==================================
26 | * AuthProvider is a context provider that checks to see if there is an authenticated user and if so provide information regarding the authenticated user
27 | *
28 | * ProtectedRoute component uses the context provided by AuthProvider to check if the user is authenticated and authorized by role. If the user is either not authenticated or authorized, then it sends them back to the login page
29 | */}
30 |
31 |
32 |
33 |
34 | } />
35 |
37 |
38 |
39 | } />
40 |
42 |
43 |
44 | }/>
45 |
47 |
48 |
49 | } />
50 |
52 |
53 |
54 | }/>
55 |
57 |
58 |
59 | }/>
60 |
64 |
65 |
66 | }
67 | />
68 |
70 |
71 |
72 | } />
73 |
75 |
76 |
77 | } />
78 |
80 |
81 |
82 | } />
83 |
85 |
86 | } />
87 |
89 |
90 |
91 | } />
92 |
93 |
94 |
95 | >
96 | );
97 | }
98 |
99 | export default App;
100 |
--------------------------------------------------------------------------------
/src/assets/react.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/AssignmentCard/AssignmentCard.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 | display:flex;
3 | justify-content: space-between;
4 | align-items: center;
5 | width: 30vw;
6 | border: 1px solid #20211A;
7 | box-shadow: 10px 5px #20211A;
8 | padding:1rem;
9 | border-radius: 5px;
10 | }
11 |
12 | .description{
13 | font-size: 0.8rem;
14 | }
15 |
16 | .name{
17 | font-size: 1.2rem;
18 | text-wrap: nowrap;
19 | }
20 |
21 |
22 | .button{
23 | background-color: #20211A;
24 | text-decoration: none;
25 | color:#FFFF;
26 | padding: 10px;
27 | border-radius: 5px;
28 | transition: background-color 0.2s ease-in;
29 | border:none;
30 | font-size: 1rem;
31 | cursor: pointer;
32 | }
33 |
34 | .button:hover{
35 | background-color: #20211ac2;
36 | }
37 |
38 | .buttonContainer{
39 | display:flex;
40 | gap:10px;
41 | }
--------------------------------------------------------------------------------
/src/components/AssignmentCard/AssignmentCard.tsx:
--------------------------------------------------------------------------------
1 | import { Link } from "react-router-dom";
2 | import styles from './AssignmentCard.module.css';
3 | interface AssignmentCardProp {
4 | name: string;
5 | role: string;
6 | id: string;
7 | handleOnClick: (id: string, type:string) => void;
8 | classId: string;
9 | }
10 |
11 | export default function AssignmentCard({
12 | name,
13 | role,
14 | id,
15 | handleOnClick,
16 | classId
17 | }: AssignmentCardProp) {
18 |
19 |
20 | return (
21 | <>
22 | {role == "tutor" ? (
23 |
24 |
27 |
28 |
29 | edit
30 |
31 |
32 |
33 |
34 |
35 | ) : (
36 |
37 |
38 |
{name}
39 |
40 | start
41 |
42 |
43 |
44 | )}
45 | >
46 | );
47 | }
48 |
--------------------------------------------------------------------------------
/src/components/AssignmentForm/AssignmentForm.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 | display: flex;
3 | width:100%;
4 | justify-content: center;
5 | }
--------------------------------------------------------------------------------
/src/components/AssignmentForm/AssignmentForm.tsx:
--------------------------------------------------------------------------------
1 | import { useState, useEffect } from "react";
2 | import { QuestionForm } from "../QuestionForm/QuestionForm";
3 | import styles from './AssignmentForm.module.css';
4 |
5 |
6 | //REMINDER TO STORE THESE TYPES AND INTERFACES IN ANOTHER FILE TO REDUCE REDUNDANCY
7 | type Assignment = {
8 | name: string;
9 | description: string;
10 | totalPoints: number;
11 | classId: string;
12 | questions: Question[];
13 | };
14 |
15 | type Question = {
16 | problem: string;
17 | answer: string;
18 | choices: string[];
19 | questionId?: string;
20 | };
21 |
22 | type Class = {
23 | name: string;
24 | _id: string;
25 | };
26 |
27 | interface AssignmentFormProps {
28 | assignmentItem: Assignment;
29 | classes: Class[];
30 | createAssignment: (assignment: Assignment) => void;
31 | formType: string;
32 | }
33 | export default function AssignmentForm({
34 | assignmentItem,
35 | classes,
36 | createAssignment,
37 | formType,
38 | }: AssignmentFormProps) {
39 | const [assignment, setAssignment] = useState(assignmentItem);
40 |
41 | useEffect(() => {
42 | //Operation is different depending on formType modularized into CREATE and EDIT
43 | if (formType === "create") {
44 | /**
45 | * If the passed down assignment has at least one question then
46 | * tack the most recently added question to this component's assignment useState so this question form has its own unique ID
47 | * You see how convoluted this sounds...
48 | * */
49 | if(assignmentItem.questions.length > 0){
50 | setAssignment((prevAssignment) => ({
51 | ...prevAssignment,
52 | questions: [...prevAssignment.questions, assignmentItem.questions[assignmentItem.questions.length-1]],
53 | classId: assignmentItem.classId,
54 | }));
55 | }
56 | } else if (formType === "edit") {
57 | setAssignment(assignmentItem);
58 | }
59 | }, [assignmentItem, formType]);
60 |
61 |
62 | //Modify any input form other than questions
63 | const modifyAssignment = (
64 | e:
65 | | React.ChangeEvent
66 | | React.ChangeEvent
67 | ) => {
68 | const { value, name } = e.target;
69 | setAssignment((prevAssignment) => ({
70 | ...prevAssignment,
71 | [name]: value,
72 | }));
73 | };
74 |
75 |
76 | /**
77 | *
78 | * @param name Name of the input (e.target.name)
79 | * @param value Value of the input (e.target.value)
80 | * @param id ID of the question
81 | * @param choiceNumber ID for choice
82 | */
83 | const modifyQuestion = (
84 | name: string,
85 | value: string,
86 | id?: string,
87 | choiceNumber?: number
88 | ) => {
89 | //If the choiceNumber is present and is a valid number modify the choices
90 | if (typeof choiceNumber === "number" && choiceNumber >= 0) {
91 | //Find the question associated with the given id
92 | const updatedQuestion = assignment.questions.find(
93 | (question) => id === question.questionId
94 | );
95 | /**
96 | * If the name is choices and the question with the associated ID is found
97 | * then replace the current value of choice with the new one
98 | */
99 | if (name == "choices" && updatedQuestion) {
100 | /**
101 | * Splice => takes the index of the desired choice to replace using the ID
102 | => we want to replace one instance of it
103 | => the value we want to use to replace the current value of choice
104 | * */
105 | updatedQuestion[name].splice(choiceNumber, 1, value);
106 |
107 | /**
108 | * Make a copy of questions array with the updated changes we did with choices
109 | */
110 | const updatedQuestions = assignment.questions.map((question) =>
111 | question.questionId === id ? updatedQuestion : question
112 | );
113 | setAssignment((prevAssignment) => ({
114 | ...prevAssignment,
115 | questions: updatedQuestions,
116 | }));
117 | }
118 | } else {
119 | //Just modify the inputs of question form that are not choices
120 | const updatedQuestions = assignment.questions.map((question) =>
121 | question.questionId === id ? { ...question, [name]: value } : question
122 | );
123 | setAssignment((prevAssignment) => ({
124 | ...prevAssignment,
125 | questions: updatedQuestions,
126 | }));
127 | }
128 | };
129 |
130 | //SENDS BACK UPDATED ASSIGNMENT STATE TO PARENT COMPONENT ON SUBMISSION
131 | const handleSubmit = (e: React.ChangeEvent) => {
132 | e.preventDefault();
133 | const updatedQuestions = assignment.questions.map(
134 | // eslint-disable-next-line @typescript-eslint/no-unused-vars
135 | ({ questionId, ...question }) => question
136 | );
137 | const updatedAssignment = { ...assignment, questions: updatedQuestions };
138 | setAssignment((prevAssignment) => ({
139 | ...prevAssignment,
140 | questions: updatedQuestions,
141 | }));
142 | createAssignment(updatedAssignment);
143 | };
144 |
145 | return (
146 |
198 | );
199 | }
200 |
--------------------------------------------------------------------------------
/src/components/Choice/Choice.module.css:
--------------------------------------------------------------------------------
1 | .panel{
2 | transition: background-color 0.2s ease;
3 | cursor: pointer;
4 | }
5 | .panel:hover{
6 | background-color: red;
7 | }
8 |
9 | .clicked {
10 | background-color: red;
11 | }
--------------------------------------------------------------------------------
/src/components/Choice/Choice.tsx:
--------------------------------------------------------------------------------
1 | // import React from 'react'
2 | import styles from './Choice.module.css';
3 |
4 | interface ChoiceProps{
5 | onChoiceClicked : (choice : string) => void
6 | value: string,
7 | clicked: boolean
8 | }
9 |
10 | export const Choice = ({value, onChoiceClicked, clicked} : ChoiceProps) => {
11 |
12 | const handleClick = () => {
13 | onChoiceClicked(value);
14 | }
15 |
16 | return (
17 |
20 | )
21 | }
22 |
--------------------------------------------------------------------------------
/src/components/ClassCard/ClassCard.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 | display:flex;
3 | justify-content: space-between;
4 | align-items: center;
5 | width: 10vw;
6 | border: 1px solid #20211A;
7 | box-shadow: 10px 5px #20211A;
8 | padding:1rem;
9 | border-radius: 5px;
10 | }
--------------------------------------------------------------------------------
/src/components/ClassCard/ClassCard.tsx:
--------------------------------------------------------------------------------
1 | import styles from './ClassCard.module.css';
2 |
3 | interface ClassCardProps {
4 | name: string
5 | }
6 |
7 |
8 | export default function ClassCard({name} : ClassCardProps) {
9 | return (
10 |
13 | )
14 | }
15 |
--------------------------------------------------------------------------------
/src/components/Navbar/Navbar.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 | display: flex;
3 | flex-direction: column;
4 | background-color: #20211A;
5 | height: 100%;
6 | padding-right: 0.5rem;
7 | gap: 15px;
8 | }
9 |
10 | .container a{
11 | text-decoration: none;
12 | color:#FFFF;
13 | transition: color 0.2s ease-in;
14 | padding-left: 2rem;
15 | }
16 |
17 | .container h1{
18 | color:#FFFF;
19 | padding:1rem;
20 | }
21 |
22 | .container a:hover{
23 | border-left: 4px solid #FFFF;
24 | color:#ffffff80
25 | }
26 |
27 |
28 | .logout{
29 | background-color: #FFFF;
30 | border: none;
31 | padding: 10px;
32 | border-radius: 5px;
33 | margin-left: 5px;
34 | cursor: pointer;
35 | transition: background-color 0.2s ease-in;
36 | }
37 |
38 | .logout:hover{
39 | background-color: #ffffff80;
40 | }
41 |
--------------------------------------------------------------------------------
/src/components/Navbar/Navbar.tsx:
--------------------------------------------------------------------------------
1 | import axios from 'axios';
2 | import { useAuth } from '../../hooks/useAuth'
3 | import styles from './Navbar.module.css'
4 | import { Link } from 'react-router-dom';
5 | export default function Navbar() {
6 | const {user, logout} = useAuth();
7 | if(user === undefined){
8 | return <>Loading>
9 | }
10 | if(user === null){
11 | return <>>
12 | }
13 | const handleLogout = async () => {
14 | await axios.delete(`http://localhost:4000/logout`);
15 | logout();
16 | }
17 |
18 | return (
19 |
20 |
dacademy
21 | {
22 | user.role == 'tutor' ?
23 | <>
24 | Class
25 | Assignment
26 | Student
27 |
28 | >
29 | :
30 | <>
31 | Class
32 | Assignment
33 |
34 | >
35 | }
36 |
37 |
38 | )
39 | }
40 |
--------------------------------------------------------------------------------
/src/components/ProtectedRoute.tsx:
--------------------------------------------------------------------------------
1 | import { Navigate } from "react-router-dom";
2 | import { useAuth } from '../hooks/useAuth';
3 | import { PropsWithChildren } from "react";
4 |
5 |
6 |
7 | type ProtectedRouteProps = PropsWithChildren & {
8 | allowedRoles?: string[]
9 | }
10 |
11 | export const ProtectedRoute = ({children, allowedRoles} : ProtectedRouteProps ) => {
12 | const {user} = useAuth();
13 |
14 | if(user === undefined){
15 | return <>Loading...>
16 | }
17 | if(user === null || (allowedRoles && !allowedRoles.includes(user.role))){
18 | return
19 | }
20 | return children
21 | }
--------------------------------------------------------------------------------
/src/components/Question/Question.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 | display: flex;
3 | flex-direction: column;
4 | align-items: flex-start;
5 | }
--------------------------------------------------------------------------------
/src/components/Question/Question.tsx:
--------------------------------------------------------------------------------
1 | import {useState} from 'react';
2 | import {Choice} from '../Choice/Choice';
3 | import styles from './Question.module.css';
4 | interface QuestionProps{
5 | problem : string;
6 | choices: string[];
7 | id: string;
8 | handleSelect: (questionId: string, choice: string) => void
9 | }
10 |
11 | export const Question = ({problem, choices, handleSelect, id} : QuestionProps) => {
12 | const [selectedChoice, setSelectedChoice] = useState(null);
13 | const handleChoiceClick = (choice: string) => {
14 | handleSelect(id, choice);
15 | setSelectedChoice(choice);
16 | }
17 | return (
18 |
19 |
{problem}
20 | {
21 | choices.map((choice) => )
22 | }
23 |
24 | )
25 | }
26 |
--------------------------------------------------------------------------------
/src/components/QuestionForm/QuestionForm.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 |
3 | }
--------------------------------------------------------------------------------
/src/components/QuestionForm/QuestionForm.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | //REMINDER TO STORE THESE TYPES AND INTERFACES IN ANOTHER FILE TO REDUCE REDUNDANCY
4 | interface QuestionFormProps {
5 | passQuestionData: (
6 | name: string,
7 | value: string,
8 | id?: string,
9 | choiceId?: number
10 | ) => void;
11 | id?: string;
12 | questionItem: Question;
13 | }
14 |
15 | type Question = {
16 | problem: string;
17 | answer: string;
18 | choices: string[];
19 | };
20 |
21 |
22 | export const QuestionForm = ({
23 | passQuestionData,
24 | id,
25 | questionItem,
26 | }: QuestionFormProps) => {
27 |
28 |
29 | const handleChange = (e: React.ChangeEvent) => {
30 | const { name, value } = e.target;
31 | passQuestionData(name, value, id);
32 | };
33 |
34 | const handleChoice = (
35 | e: React.ChangeEvent,
36 | choiceId: number
37 | ) => {
38 | const { value, name } = e.target;
39 | passQuestionData(name, value, id, choiceId);
40 | };
41 |
42 | /**
43 | *
44 | */
45 | return (
46 |
47 |
48 |
49 |
55 |
56 |
57 |
58 |
64 |
65 |
94 |
95 | );
96 | };
97 |
--------------------------------------------------------------------------------
/src/components/StudentCard/StudentCard.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 | display:flex;
3 | justify-content: space-between;
4 | align-items: center;
5 | width: 10vw;
6 | border: 1px solid #20211A;
7 | box-shadow: 10px 5px #20211A;
8 | padding:1rem;
9 | border-radius: 5px;
10 | }
--------------------------------------------------------------------------------
/src/components/StudentCard/StudentCard.tsx:
--------------------------------------------------------------------------------
1 | import styles from './StudentCard.module.css';
2 |
3 | interface StudentClassProps {
4 | firstName: string,
5 | lastName: string
6 | }
7 |
8 | export const StudentCard = ({firstName, lastName} : StudentClassProps) => {
9 | return (
10 |
11 |
{firstName} {lastName}
12 |
13 | )
14 | }
15 |
--------------------------------------------------------------------------------
/src/context/AuthContext.ts:
--------------------------------------------------------------------------------
1 | import {createContext} from 'react';
2 |
3 | type User = {
4 | _id: string,
5 | userName: string,
6 | firstName: string,
7 | lastName: string,
8 | role: string
9 | }
10 |
11 | interface AuthContextType {
12 | user: User | undefined | null;
13 | login: (data: User) => void;
14 | logout: () => void;
15 | }
16 | export const AuthContext = createContext(undefined);
--------------------------------------------------------------------------------
/src/context/AuthProvider.tsx:
--------------------------------------------------------------------------------
1 | import { ReactNode, useState, useEffect } from "react";
2 | import { useNavigate } from "react-router-dom";
3 | import { AuthContext } from "./AuthContext";
4 | import axios from "axios";
5 |
6 |
7 |
8 | axios.defaults.withCredentials = true;
9 |
10 | type User = {
11 | _id: string;
12 | userName: string;
13 | firstName: string;
14 | lastName: string;
15 | role: string;
16 | };
17 |
18 | interface AuthContextType {
19 | user: User | undefined | null;
20 | login: (data: User) => void;
21 | logout: () => void;
22 | }
23 |
24 | export const AuthProvider = ({ children }: { children: ReactNode }) => {
25 | const [user, setUser] = useState(undefined);
26 | useEffect(() => {
27 | async function fetchUser(){
28 | const res = await axios.get('http://localhost:4000/profile');
29 | const data = res.data;
30 | const userData = data.user;
31 | console.log(userData);
32 | if(userData) {
33 | setUser(userData);
34 | } else{
35 | setUser(null);
36 | }
37 | }
38 | fetchUser();
39 | }, []);
40 | const navigate = useNavigate();
41 |
42 | const login = (data: User) => {
43 | setUser(data);
44 | navigate("/class");
45 | };
46 | const logout = () => {
47 | setUser(null);
48 | navigate("/", { replace: true });
49 | };
50 |
51 | const value: AuthContextType = {
52 | user,
53 | login,
54 | logout,
55 | };
56 | return {children};
57 | };
58 |
--------------------------------------------------------------------------------
/src/hooks/useAuth.tsx:
--------------------------------------------------------------------------------
1 | import { useContext } from 'react';
2 | import { AuthContext } from '../context/AuthContext';
3 |
4 | export const useAuth = () => {
5 | const context = useContext(AuthContext);
6 | if(!context) {
7 | throw new Error("useAuth must be used within an Authprovider");
8 | }
9 | return context;
10 | }
11 |
--------------------------------------------------------------------------------
/src/index.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kdang0/capstone-frontend/c293f65f06069bb188216bfc386d4f868b27fbd8/src/index.css
--------------------------------------------------------------------------------
/src/main.tsx:
--------------------------------------------------------------------------------
1 | import { StrictMode } from 'react'
2 | import { createRoot } from 'react-dom/client'
3 | import './index.css'
4 | import App from './App.tsx'
5 | import { BrowserRouter } from 'react-router-dom'
6 |
7 | createRoot(document.getElementById('root')!).render(
8 |
9 |
10 |
11 |
12 | ,
13 | )
14 |
--------------------------------------------------------------------------------
/src/pages/Assignment/Assignment.module.css:
--------------------------------------------------------------------------------
1 | .container{
2 | display:flex;
3 | width: 100%;
4 | flex-direction: column;
5 | align-items: center;
6 | }
7 |
8 | .container h1{
9 | text-align: center;
10 | }
--------------------------------------------------------------------------------
/src/pages/Assignment/Assignment.tsx:
--------------------------------------------------------------------------------
1 | import { useState, useEffect } from "react";
2 | import { Question } from "../../components/Question/Question";
3 | import { getAssignment } from "../../services/dac-api";
4 | import { useParams, useNavigate } from "react-router-dom";
5 | import axios from "axios";
6 | import { useAuth } from "../../hooks/useAuth";
7 | import styles from "./Assignment.module.css";
8 |
9 | //REMINDER TO STORE THESE TYPES AND INTERFACES IN ANOTHER FILE TO REDUCE REDUNDANCY
10 | type Assignment = {
11 | questions: Question[];
12 | description: string;
13 | name: string;
14 | };
15 |
16 | type Question = {
17 | _id: string;
18 | problem: string;
19 | choices: string[];
20 | };
21 |
22 | export const Assignment = () => {
23 | const navigate = useNavigate();
24 | const { user } = useAuth();
25 | const params = useParams();
26 | const [assignment, setAssignment] = useState(null);
27 | const [answerChoices, setAnswerChoices] = useState>(
28 | {}
29 | );
30 |
31 | useEffect(() => {
32 | const updateAssignment = async () => {
33 | if (params.assignmentId) {
34 | const assignment: Assignment = await getAssignment(params.assignmentId);
35 | setAssignment(assignment);
36 | }
37 | };
38 | updateAssignment();
39 | }, [params.assignmentId]);
40 |
41 | const handleSelection = (questionId: string, choice: string) => {
42 | setAnswerChoices((prevSelection) => ({
43 | ...prevSelection,
44 | [questionId]: choice,
45 | }));
46 | };
47 |
48 | const handleSubmit = async (e: React.ChangeEvent) => {
49 | e.preventDefault();
50 | const answers = [];
51 | const submission: Record = {};
52 | for (const answerChoice in answerChoices) {
53 | const refAnswer = {
54 | questionId: answerChoice,
55 | answer: answerChoices[answerChoice],
56 | };
57 | answers.push(refAnswer);
58 | }
59 | submission["answers"] = answers;
60 | submission["classId"] = params.classId;
61 | submission["assignmentId"] = params.assignmentId;
62 | if (user) submission["id"] = user._id;
63 | const res = await axios.patch(
64 | `http://localhost:4000/assignment/submit`,
65 | submission
66 | );
67 | if (res.status === 201) {
68 | navigate("/assignment");
69 | }
70 | };
71 | return (
72 | <>
73 | {assignment ? (
74 |
92 | ) : (
93 | <>Loading...>
94 | )}
95 | >
96 | );
97 | };
98 |
--------------------------------------------------------------------------------
/src/pages/AssignmentCreate.tsx:
--------------------------------------------------------------------------------
1 | import { useState, useEffect } from "react";
2 | import { useAuth } from "../hooks/useAuth";
3 | import { useNavigate } from "react-router-dom";
4 | import axios from "axios";
5 | import AssignmentForm from "../components/AssignmentForm/AssignmentForm";
6 |
7 |
8 | //REMINDER TO STORE THESE TYPES AND INTERFACES IN ANOTHER FILE TO REDUCE REDUNDANCY
9 | type Assignment = {
10 | name: string;
11 | description: string;
12 | totalPoints: number;
13 | classId: string;
14 | questions: Question[];
15 | };
16 |
17 | type Question = {
18 | problem: string;
19 | answer: string;
20 | choices: string[];
21 | questionId?: string;
22 | };
23 |
24 | type Class = {
25 | name: string;
26 | _id: string;
27 | };
28 |
29 | export const AssignmentCreate = () => {
30 | const [classes, setClasses] = useState([]);
31 | const [assignment, setAssignment] = useState({
32 | name: "",
33 | description: "",
34 | totalPoints: 0,
35 | classId: "",
36 | questions: [],
37 | });
38 | const { user } = useAuth();
39 | const navigate = useNavigate();
40 |
41 | //Generates list of classes to be on options
42 | useEffect(() => {
43 | async function fetchClasses() {
44 | if (user) {
45 | const res = await axios.get(
46 | `http://localhost:4000/class/tutor/${user._id}`
47 | );
48 | const data = res.data;
49 | setClasses(data);
50 | setAssignment((prevAssignment) => ({
51 | ...prevAssignment,
52 | classId: data[0]._id,
53 | }));
54 | }
55 | }
56 | fetchClasses();
57 | }, [user]);
58 |
59 |
60 | /**
61 | * Adds a question object with a unique generated ID
62 | * Needs to be revised with REDUX this is too convoluted for no reason at all
63 | */
64 | const addButton = () => {
65 | setAssignment((prevAssignment) => ({
66 | ...prevAssignment,
67 | questions: [
68 | ...assignment["questions"],
69 | {
70 | problem: "",
71 | answer: "",
72 | choices: ["", "", "", ""],
73 | questionId: crypto.randomUUID(),
74 | },
75 | ],
76 | }));
77 | };
78 |
79 | /**
80 | * Creates the assignment upon submission
81 | * Things to TODO:
82 | * > Form validation
83 | * > Error handling
84 | * @param assignmentItem The assignment object you want to create
85 | */
86 | const createAssignment = async (assignmentItem: Assignment) => {
87 | if (user) {
88 | await axios.post(
89 | `http://localhost:4000/assignment?userId=${user._id}`,
90 | assignmentItem
91 | );
92 | }
93 | navigate("/assignment");
94 | };
95 |
96 | return (
97 |
98 |
Create Assignment
99 |
100 |
106 |
107 | );
108 | };
109 |
--------------------------------------------------------------------------------
/src/pages/AssignmentDisplay.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export const AssignmentDisplay = () => {
4 | return (
5 | AssignmentDisplay
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/src/pages/AssignmentEdit.tsx:
--------------------------------------------------------------------------------
1 | import { useState, useEffect} from "react";
2 | import { useAuth } from '../hooks/useAuth';
3 | import axios from 'axios';
4 | import AssignmentForm from "../components/AssignmentForm/AssignmentForm";
5 | import { useNavigate, useParams } from "react-router-dom";
6 |
7 | type Assignment = {
8 | name: string;
9 | description: string;
10 | totalPoints: number;
11 | classId: string;
12 | questions: Question[];
13 | };
14 |
15 | type Question = {
16 | problem: string;
17 | answer: string;
18 | choices: string[];
19 | questionId?: string;
20 | };
21 |
22 | type Class = {
23 | name: string,
24 | _id: string
25 | }
26 |
27 | export const AssignmentEdit = () => {
28 | const [classes, setClasses] = useState([]);
29 | const [assignment, setAssignment] = useState({
30 | name: '',
31 | description: '',
32 | totalPoints: 0,
33 | classId: '',
34 | questions: []
35 | });
36 |
37 | const {user} = useAuth();
38 | const navigate = useNavigate();
39 | const params = useParams();
40 |
41 | useEffect(() => {
42 | async function fetchAssignment(){
43 | const res = await axios.get(`http://localhost:4000/assignment/${params.id}`);
44 | const data : Assignment = res.data;
45 | data.questions.forEach((question) => {
46 | question['questionId'] = crypto.randomUUID();
47 | })
48 | setAssignment(data);
49 | }
50 | fetchAssignment();
51 | }, [params.id]);
52 |
53 | useEffect(() => {
54 | async function fetchClasses(){
55 | if(user){
56 | const res = await axios.get(`http://localhost:4000/class/tutor/${user._id}`);
57 | const data = res.data;
58 | setClasses(data);
59 | setAssignment((prevAssignment) => ({...prevAssignment, classId: data[0]._id}));
60 | }
61 | }
62 | fetchClasses();
63 | }, [user]);
64 |
65 | const updateAssignment = async (assignmentItem : Assignment) => {
66 | if(user){
67 | await axios.patch(`http://localhost:4000/assignment/${params.id}`, assignmentItem);
68 | }
69 | navigate('/assignment');
70 | }
71 |
72 | return (
73 |
74 |
Edit Assignment
75 |
76 |
77 | )
78 | }
79 |
--------------------------------------------------------------------------------
/src/pages/AssignmentList/AssignmentList.module.css:
--------------------------------------------------------------------------------
1 | .button{
2 | background-color: #20211A;
3 | text-decoration: none;
4 | color:#FFFF;
5 | padding: 10px;
6 | border-radius: 5px;
7 | transition: background-color 0.2s ease-in;
8 | border:none;
9 | font-size: 1rem;
10 | cursor: pointer;
11 | }
12 | .button:hover{
13 | background-color: #20211ac2;
14 | }
15 |
--------------------------------------------------------------------------------
/src/pages/AssignmentList/AssignmentList.tsx:
--------------------------------------------------------------------------------
1 | import {useState, useEffect} from 'react';
2 | import axios from 'axios';
3 | import { useAuth } from '../../hooks/useAuth';
4 | import AssignmentCard from '../../components/AssignmentCard/AssignmentCard';
5 | import { Link } from 'react-router-dom';
6 | import styles from './AssignmentList.module.css';
7 |
8 | axios.defaults.withCredentials = true;
9 | interface Assignment{
10 | _id: string,
11 | name: string,
12 | description: string,
13 | classId: string
14 | }
15 |
16 | export const AssignmentList = () => {
17 | const [assignments, setAssignments] = useState([]);
18 | const {user} = useAuth();
19 | useEffect(()=> {
20 | async function fetchAssignments(){
21 | if(user){
22 | const res = await axios.get(`http://localhost:4000/assignment/${user.role}/${user._id}`);
23 | const data = res.data;
24 | setAssignments(data);
25 | }
26 | }
27 | fetchAssignments();
28 | }, [user]);
29 |
30 | const handleAssignment = async (assignmentId: string, type: string) => {
31 | if(type === "delete"){
32 | setAssignments((prevAssignment) => prevAssignment.filter((assignment) => assignment._id !== assignmentId));
33 | await axios.delete(`http://localhost:4000/assignment/${assignmentId}`);
34 | } else if(type==="publish"){
35 | await axios.post(`http://localhost:4000/assignment/access/${assignmentId}`);
36 | }
37 | }
38 |
39 | return (
40 |
41 | {
42 | user && user.role == 'tutor' ?
43 |
44 |
45 |
46 | :
47 | <>>
48 | }
49 | {
50 | user ?
51 | assignments.map((assignment) =>
) : <>>
52 | }
53 |
54 | )
55 | }
56 |
--------------------------------------------------------------------------------
/src/pages/Class.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export const Class = () => {
4 | return (
5 | Class
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/src/pages/ClassList.tsx:
--------------------------------------------------------------------------------
1 | import {useState, useEffect} from 'react'
2 | import axios from 'axios';
3 | import { useAuth } from '../hooks/useAuth';
4 | import ClassCard from '../components/ClassCard/ClassCard';
5 | axios.defaults.withCredentials = true;
6 |
7 | //REMINDER TO STORE THESE TYPES AND INTERFACES IN ANOTHER FILE TO REDUCE REDUNDANCY
8 | type Class = {
9 | _id:string,
10 | name:string
11 | }
12 |
13 |
14 | export const ClassList = () => {
15 | const [classes, setClasses] = useState([]);
16 | const {user} = useAuth();
17 | //Fetches list of classes based on user
18 | useEffect(() => {
19 | async function fetchClasses(){
20 | if(user){
21 | const res = await axios.get(`http://localhost:4000/class/${user.role}/${user._id}`);
22 | const data = res.data;
23 | setClasses(data);
24 | }
25 | }
26 | fetchClasses();
27 | }, [user])
28 | return (
29 |
30 | {
31 | classes.map((classInst) => )
32 | }
33 |
34 | )
35 | }
36 |
--------------------------------------------------------------------------------
/src/pages/Login.tsx:
--------------------------------------------------------------------------------
1 | import { useState, useEffect } from "react";
2 | import axios from "axios";
3 | import { useAuth } from "../hooks/useAuth";
4 | import { useNavigate } from "react-router-dom";
5 |
6 | type User = {
7 | _id: string;
8 | userName: string;
9 | firstName: string;
10 | lastName: string;
11 | role: string;
12 | };
13 |
14 |
15 | type Quote = {
16 | q: string;
17 | a: string;
18 | }
19 |
20 | axios.defaults.withCredentials = true;
21 |
22 | export const Login = () => {
23 | const [userName, setUsername] = useState("");
24 | const [password, setPassword] = useState("");
25 | const [quote, setQuote] = useState({q:"", a:""});
26 | const { login, user } = useAuth();
27 | const navigate = useNavigate();
28 | useEffect(() => {
29 | //Fetch random quote
30 | async function fetchQuote(){
31 | const res = await axios.get('http://localhost:4000/quote');
32 | const data = res.data;
33 | console.log(data);
34 | setQuote(data);
35 | }
36 | fetchQuote();
37 | //If the user is authenticated then send them to the class dashboard
38 | if(user){
39 | navigate('/class');
40 | }
41 | },[user,navigate]);
42 |
43 | const handleLogin = async (e: React.FormEvent) => {
44 | e.preventDefault();
45 | const res = await axios.post("http://localhost:4000/login", {
46 | username: userName,
47 | password: password,
48 | });
49 | const data = res.data;
50 | const user: User = data.user;
51 | console.log(user);
52 | if (user) {
53 | login(user);
54 | } else {
55 | alert(data);
56 | }
57 | };
58 |
59 |
60 | return (
61 |
62 |
Login
63 |
"{quote.q}" - {quote.a}
64 |
87 |
88 | );
89 | };
90 |
--------------------------------------------------------------------------------
/src/pages/Student.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export const Student = () => {
4 | return (
5 | Student
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/src/pages/StudentList.tsx:
--------------------------------------------------------------------------------
1 | import {useState, useEffect} from 'react'
2 | import axios from 'axios';
3 | import { useAuth } from '../hooks/useAuth';
4 | import { StudentCard } from '../components/StudentCard/StudentCard';
5 | axios.defaults.withCredentials = true;
6 | //REMINDER TO STORE THESE TYPES AND INTERFACES IN ANOTHER FILE TO REDUCE REDUNDANCY
7 | type Student = {
8 | firstName:string,
9 | lastName:string,
10 | _id: string
11 | }
12 |
13 | export const StudentList = () => {
14 | const [students, setStudents] = useState([]);
15 | const {user} = useAuth();
16 | useEffect(() => {
17 | async function fetchStudents(){
18 | if(user){
19 | const res = await axios.get(`http://localhost:4000/user/students/${user._id}`);
20 | const data = res.data;
21 | setStudents(data);
22 | }
23 | }
24 | fetchStudents();
25 | }, [user]);
26 |
27 | return (
28 |
29 | {
30 | students.map((student) => )
31 | }
32 |
33 | )
34 | }
35 |
--------------------------------------------------------------------------------
/src/pages/Submission.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export const Submission = () => {
4 | return (
5 | Submission
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/src/pages/SubmissionList.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export const SubmissionList = () => {
4 | return (
5 | SubmissionList
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/src/services/dac-api.ts:
--------------------------------------------------------------------------------
1 |
2 | interface Assignment {
3 | tutorId: string,
4 | questions: {
5 | _id: string,
6 | problem: string
7 | answer: string,
8 | choices: string[]
9 | } [],
10 | dueDate: string,
11 | classId: string,
12 | name: string,
13 | description: string,
14 | totalPoints: number
15 | }
16 |
17 |
18 |
19 | const url = `http://localhost:4000`;
20 |
21 | export const getAssignment = async (id : string) : Promise => {
22 | const res = await fetch(`${url}/assignment/${id}`);
23 | const data : Assignment = await res.json();
24 | return data;
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ES2020",
4 | "useDefineForClassFields": true,
5 | "lib": ["ES2020", "DOM", "DOM.Iterable"],
6 | "module": "ESNext",
7 | "skipLibCheck": true,
8 |
9 | /* Bundler mode */
10 | "moduleResolution": "Bundler",
11 | "allowImportingTsExtensions": true,
12 | "isolatedModules": true,
13 | "moduleDetection": "force",
14 | "noEmit": true,
15 | "jsx": "react-jsx",
16 |
17 | /* Linting */
18 | "strict": true,
19 | "noUnusedLocals": true,
20 | "noUnusedParameters": true,
21 | "noFallthroughCasesInSwitch": true,
22 | "noUncheckedSideEffectImports": true
23 | },
24 | "include": ["src"]
25 | }
26 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "files": [],
3 | "references": [
4 | { "path": "./tsconfig.app.json" },
5 | { "path": "./tsconfig.node.json" }
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/tsconfig.node.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ES2022",
4 | "lib": ["ES2023"],
5 | "module": "ESNext",
6 | "skipLibCheck": true,
7 |
8 | /* Bundler mode */
9 | "moduleResolution": "Bundler",
10 | "allowImportingTsExtensions": true,
11 | "isolatedModules": true,
12 | "moduleDetection": "force",
13 | "noEmit": true,
14 |
15 | /* Linting */
16 | "strict": true,
17 | "noUnusedLocals": true,
18 | "noUnusedParameters": true,
19 | "noFallthroughCasesInSwitch": true,
20 | "noUncheckedSideEffectImports": true
21 | },
22 | "include": ["vite.config.ts"]
23 | }
24 |
--------------------------------------------------------------------------------
/vite.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react'
3 |
4 | // https://vite.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | })
8 |
--------------------------------------------------------------------------------