├── .eslintrc.cjs
├── .gitignore
├── README.md
├── index.html
├── package-lock.json
├── package.json
├── public
├── avatar.png
├── cart-button-icon.svg
├── cart-icon.svg
├── delete-icon.svg
├── exit-icon.svg
├── logo.svg
├── menu-icon.svg
├── minus-icon.svg
├── pizza.png
├── plus-icon.svg
├── product-demo.png
├── search-icon.svg
├── star-icon.svg
└── vite.svg
├── src
├── assets
│ └── react.svg
├── components
│ ├── Button
│ │ ├── Button.module.css
│ │ ├── Button.props.ts
│ │ └── Button.tsx
│ ├── CartItem
│ │ ├── CartItem.module.css
│ │ ├── CartItem.props.ts
│ │ └── CartItem.tsx
│ ├── Headling
│ │ ├── Headling.module.css
│ │ ├── Headling.props.ts
│ │ └── Headling.tsx
│ ├── Input
│ │ ├── Input.module.css
│ │ ├── Input.props.ts
│ │ └── Input.tsx
│ ├── ProductCard
│ │ ├── ProductCard.module.css
│ │ ├── ProductCard.props.ts
│ │ └── ProductCard.tsx
│ └── Search
│ │ ├── Search.module.css
│ │ ├── Search.props.ts
│ │ └── Search.tsx
├── helpers
│ ├── API.ts
│ └── RequireAuth.tsx
├── index.css
├── interfaces
│ ├── auth.interface.ts
│ ├── product.interface.ts
│ └── user.interface.ts
├── layout
│ ├── Auth
│ │ ├── AuthLayout.module.css
│ │ └── AuthLayout.tsx
│ └── Menu
│ │ ├── Layout.module.css
│ │ └── Layout.tsx
├── main.tsx
├── pages
│ ├── Cart
│ │ ├── Cart.module.css
│ │ └── Cart.tsx
│ ├── Error
│ │ └── Error.tsx
│ ├── Login
│ │ ├── Login.module.css
│ │ └── Login.tsx
│ ├── Menu
│ │ ├── Menu.module.css
│ │ ├── Menu.tsx
│ │ └── MenuList
│ │ │ ├── MenuList.module.css
│ │ │ ├── MenuList.props.ts
│ │ │ └── MenuList.tsx
│ ├── Product
│ │ └── Product.tsx
│ ├── Register
│ │ └── Register.tsx
│ └── Success
│ │ ├── Success.module.css
│ │ └── Success.tsx
├── store
│ ├── cart.slice.ts
│ ├── storage.ts
│ ├── store.ts
│ └── user.slice.ts
└── vite-env.d.ts
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts
/.eslintrc.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: { browser: true, es2020: true },
4 | extends: [
5 | 'eslint:recommended',
6 | 'plugin:@typescript-eslint/recommended',
7 | 'plugin:react-hooks/recommended',
8 | ],
9 | ignorePatterns: ['dist', '.eslintrc.cjs'],
10 | parser: '@typescript-eslint/parser',
11 | plugins: ['react-refresh'],
12 | rules: {
13 | 'react-refresh/only-export-components': [
14 | 'warn',
15 | { allowConstantExport: true },
16 | ],
17 | 'semi': ['error', 'always', { 'omitLastInOneLineBlock': false}],
18 | 'comma-dangle': ['error', 'never'],
19 | quotes: ['error', 'single'],
20 | 'react/prop-types': [0],
21 | 'indent': ['error', 'tab']
22 | },
23 | }
24 |
--------------------------------------------------------------------------------
/.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 | # React + TypeScript + Vite
2 |
3 | This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4 |
5 | Currently, two official plugins are available:
6 |
7 | - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8 | - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9 |
10 | ## Expanding the ESLint configuration
11 |
12 | If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
13 |
14 | - Configure the top-level `parserOptions` property like this:
15 |
16 | ```js
17 | parserOptions: {
18 | ecmaVersion: 'latest',
19 | sourceType: 'module',
20 | project: ['./tsconfig.json', './tsconfig.node.json'],
21 | tsconfigRootDir: __dirname,
22 | },
23 | ```
24 |
25 | - Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
26 | - Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
27 | - Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
28 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Pizza App
8 |
9 |
10 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "pizza-app",
3 | "version": "0.0.0",
4 | "lockfileVersion": 3,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "pizza-app",
9 | "version": "0.0.0",
10 | "dependencies": {
11 | "@reduxjs/toolkit": "^1.9.5",
12 | "axios": "^1.4.0",
13 | "classnames": "^2.3.2",
14 | "react": "^18.2.0",
15 | "react-dom": "^18.2.0",
16 | "react-redux": "^8.1.2",
17 | "react-router-dom": "^6.15.0"
18 | },
19 | "devDependencies": {
20 | "@types/react": "^18.2.15",
21 | "@types/react-dom": "^18.2.7",
22 | "@typescript-eslint/eslint-plugin": "^6.0.0",
23 | "@typescript-eslint/parser": "^6.0.0",
24 | "@vitejs/plugin-react-swc": "^3.3.2",
25 | "eslint": "^8.45.0",
26 | "eslint-plugin-react-hooks": "^4.6.0",
27 | "eslint-plugin-react-refresh": "^0.4.3",
28 | "typescript": "^5.0.2",
29 | "vite": "^4.4.5"
30 | }
31 | },
32 | "node_modules/@aashutoshrathi/word-wrap": {
33 | "version": "1.2.6",
34 | "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
35 | "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
36 | "dev": true,
37 | "engines": {
38 | "node": ">=0.10.0"
39 | }
40 | },
41 | "node_modules/@babel/runtime": {
42 | "version": "7.22.10",
43 | "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.10.tgz",
44 | "integrity": "sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==",
45 | "dependencies": {
46 | "regenerator-runtime": "^0.14.0"
47 | },
48 | "engines": {
49 | "node": ">=6.9.0"
50 | }
51 | },
52 | "node_modules/@esbuild/android-arm": {
53 | "version": "0.18.20",
54 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
55 | "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
56 | "cpu": [
57 | "arm"
58 | ],
59 | "dev": true,
60 | "optional": true,
61 | "os": [
62 | "android"
63 | ],
64 | "engines": {
65 | "node": ">=12"
66 | }
67 | },
68 | "node_modules/@esbuild/android-arm64": {
69 | "version": "0.18.20",
70 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
71 | "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
72 | "cpu": [
73 | "arm64"
74 | ],
75 | "dev": true,
76 | "optional": true,
77 | "os": [
78 | "android"
79 | ],
80 | "engines": {
81 | "node": ">=12"
82 | }
83 | },
84 | "node_modules/@esbuild/android-x64": {
85 | "version": "0.18.20",
86 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
87 | "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
88 | "cpu": [
89 | "x64"
90 | ],
91 | "dev": true,
92 | "optional": true,
93 | "os": [
94 | "android"
95 | ],
96 | "engines": {
97 | "node": ">=12"
98 | }
99 | },
100 | "node_modules/@esbuild/darwin-arm64": {
101 | "version": "0.18.20",
102 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
103 | "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
104 | "cpu": [
105 | "arm64"
106 | ],
107 | "dev": true,
108 | "optional": true,
109 | "os": [
110 | "darwin"
111 | ],
112 | "engines": {
113 | "node": ">=12"
114 | }
115 | },
116 | "node_modules/@esbuild/darwin-x64": {
117 | "version": "0.18.20",
118 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
119 | "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
120 | "cpu": [
121 | "x64"
122 | ],
123 | "dev": true,
124 | "optional": true,
125 | "os": [
126 | "darwin"
127 | ],
128 | "engines": {
129 | "node": ">=12"
130 | }
131 | },
132 | "node_modules/@esbuild/freebsd-arm64": {
133 | "version": "0.18.20",
134 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
135 | "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
136 | "cpu": [
137 | "arm64"
138 | ],
139 | "dev": true,
140 | "optional": true,
141 | "os": [
142 | "freebsd"
143 | ],
144 | "engines": {
145 | "node": ">=12"
146 | }
147 | },
148 | "node_modules/@esbuild/freebsd-x64": {
149 | "version": "0.18.20",
150 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
151 | "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
152 | "cpu": [
153 | "x64"
154 | ],
155 | "dev": true,
156 | "optional": true,
157 | "os": [
158 | "freebsd"
159 | ],
160 | "engines": {
161 | "node": ">=12"
162 | }
163 | },
164 | "node_modules/@esbuild/linux-arm": {
165 | "version": "0.18.20",
166 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
167 | "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
168 | "cpu": [
169 | "arm"
170 | ],
171 | "dev": true,
172 | "optional": true,
173 | "os": [
174 | "linux"
175 | ],
176 | "engines": {
177 | "node": ">=12"
178 | }
179 | },
180 | "node_modules/@esbuild/linux-arm64": {
181 | "version": "0.18.20",
182 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
183 | "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
184 | "cpu": [
185 | "arm64"
186 | ],
187 | "dev": true,
188 | "optional": true,
189 | "os": [
190 | "linux"
191 | ],
192 | "engines": {
193 | "node": ">=12"
194 | }
195 | },
196 | "node_modules/@esbuild/linux-ia32": {
197 | "version": "0.18.20",
198 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
199 | "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
200 | "cpu": [
201 | "ia32"
202 | ],
203 | "dev": true,
204 | "optional": true,
205 | "os": [
206 | "linux"
207 | ],
208 | "engines": {
209 | "node": ">=12"
210 | }
211 | },
212 | "node_modules/@esbuild/linux-loong64": {
213 | "version": "0.18.20",
214 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
215 | "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
216 | "cpu": [
217 | "loong64"
218 | ],
219 | "dev": true,
220 | "optional": true,
221 | "os": [
222 | "linux"
223 | ],
224 | "engines": {
225 | "node": ">=12"
226 | }
227 | },
228 | "node_modules/@esbuild/linux-mips64el": {
229 | "version": "0.18.20",
230 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
231 | "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
232 | "cpu": [
233 | "mips64el"
234 | ],
235 | "dev": true,
236 | "optional": true,
237 | "os": [
238 | "linux"
239 | ],
240 | "engines": {
241 | "node": ">=12"
242 | }
243 | },
244 | "node_modules/@esbuild/linux-ppc64": {
245 | "version": "0.18.20",
246 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
247 | "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
248 | "cpu": [
249 | "ppc64"
250 | ],
251 | "dev": true,
252 | "optional": true,
253 | "os": [
254 | "linux"
255 | ],
256 | "engines": {
257 | "node": ">=12"
258 | }
259 | },
260 | "node_modules/@esbuild/linux-riscv64": {
261 | "version": "0.18.20",
262 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
263 | "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
264 | "cpu": [
265 | "riscv64"
266 | ],
267 | "dev": true,
268 | "optional": true,
269 | "os": [
270 | "linux"
271 | ],
272 | "engines": {
273 | "node": ">=12"
274 | }
275 | },
276 | "node_modules/@esbuild/linux-s390x": {
277 | "version": "0.18.20",
278 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
279 | "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
280 | "cpu": [
281 | "s390x"
282 | ],
283 | "dev": true,
284 | "optional": true,
285 | "os": [
286 | "linux"
287 | ],
288 | "engines": {
289 | "node": ">=12"
290 | }
291 | },
292 | "node_modules/@esbuild/linux-x64": {
293 | "version": "0.18.20",
294 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
295 | "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
296 | "cpu": [
297 | "x64"
298 | ],
299 | "dev": true,
300 | "optional": true,
301 | "os": [
302 | "linux"
303 | ],
304 | "engines": {
305 | "node": ">=12"
306 | }
307 | },
308 | "node_modules/@esbuild/netbsd-x64": {
309 | "version": "0.18.20",
310 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
311 | "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
312 | "cpu": [
313 | "x64"
314 | ],
315 | "dev": true,
316 | "optional": true,
317 | "os": [
318 | "netbsd"
319 | ],
320 | "engines": {
321 | "node": ">=12"
322 | }
323 | },
324 | "node_modules/@esbuild/openbsd-x64": {
325 | "version": "0.18.20",
326 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
327 | "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
328 | "cpu": [
329 | "x64"
330 | ],
331 | "dev": true,
332 | "optional": true,
333 | "os": [
334 | "openbsd"
335 | ],
336 | "engines": {
337 | "node": ">=12"
338 | }
339 | },
340 | "node_modules/@esbuild/sunos-x64": {
341 | "version": "0.18.20",
342 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
343 | "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
344 | "cpu": [
345 | "x64"
346 | ],
347 | "dev": true,
348 | "optional": true,
349 | "os": [
350 | "sunos"
351 | ],
352 | "engines": {
353 | "node": ">=12"
354 | }
355 | },
356 | "node_modules/@esbuild/win32-arm64": {
357 | "version": "0.18.20",
358 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
359 | "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
360 | "cpu": [
361 | "arm64"
362 | ],
363 | "dev": true,
364 | "optional": true,
365 | "os": [
366 | "win32"
367 | ],
368 | "engines": {
369 | "node": ">=12"
370 | }
371 | },
372 | "node_modules/@esbuild/win32-ia32": {
373 | "version": "0.18.20",
374 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
375 | "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
376 | "cpu": [
377 | "ia32"
378 | ],
379 | "dev": true,
380 | "optional": true,
381 | "os": [
382 | "win32"
383 | ],
384 | "engines": {
385 | "node": ">=12"
386 | }
387 | },
388 | "node_modules/@esbuild/win32-x64": {
389 | "version": "0.18.20",
390 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
391 | "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
392 | "cpu": [
393 | "x64"
394 | ],
395 | "dev": true,
396 | "optional": true,
397 | "os": [
398 | "win32"
399 | ],
400 | "engines": {
401 | "node": ">=12"
402 | }
403 | },
404 | "node_modules/@eslint-community/eslint-utils": {
405 | "version": "4.4.0",
406 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
407 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
408 | "dev": true,
409 | "dependencies": {
410 | "eslint-visitor-keys": "^3.3.0"
411 | },
412 | "engines": {
413 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
414 | },
415 | "peerDependencies": {
416 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
417 | }
418 | },
419 | "node_modules/@eslint-community/regexpp": {
420 | "version": "4.6.2",
421 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
422 | "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
423 | "dev": true,
424 | "engines": {
425 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
426 | }
427 | },
428 | "node_modules/@eslint/eslintrc": {
429 | "version": "2.1.1",
430 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
431 | "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
432 | "dev": true,
433 | "dependencies": {
434 | "ajv": "^6.12.4",
435 | "debug": "^4.3.2",
436 | "espree": "^9.6.0",
437 | "globals": "^13.19.0",
438 | "ignore": "^5.2.0",
439 | "import-fresh": "^3.2.1",
440 | "js-yaml": "^4.1.0",
441 | "minimatch": "^3.1.2",
442 | "strip-json-comments": "^3.1.1"
443 | },
444 | "engines": {
445 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
446 | },
447 | "funding": {
448 | "url": "https://opencollective.com/eslint"
449 | }
450 | },
451 | "node_modules/@eslint/js": {
452 | "version": "8.46.0",
453 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
454 | "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
455 | "dev": true,
456 | "engines": {
457 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
458 | }
459 | },
460 | "node_modules/@humanwhocodes/config-array": {
461 | "version": "0.11.10",
462 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz",
463 | "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==",
464 | "dev": true,
465 | "dependencies": {
466 | "@humanwhocodes/object-schema": "^1.2.1",
467 | "debug": "^4.1.1",
468 | "minimatch": "^3.0.5"
469 | },
470 | "engines": {
471 | "node": ">=10.10.0"
472 | }
473 | },
474 | "node_modules/@humanwhocodes/module-importer": {
475 | "version": "1.0.1",
476 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
477 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
478 | "dev": true,
479 | "engines": {
480 | "node": ">=12.22"
481 | },
482 | "funding": {
483 | "type": "github",
484 | "url": "https://github.com/sponsors/nzakas"
485 | }
486 | },
487 | "node_modules/@humanwhocodes/object-schema": {
488 | "version": "1.2.1",
489 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz",
490 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
491 | "dev": true
492 | },
493 | "node_modules/@nodelib/fs.scandir": {
494 | "version": "2.1.5",
495 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
496 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
497 | "dev": true,
498 | "dependencies": {
499 | "@nodelib/fs.stat": "2.0.5",
500 | "run-parallel": "^1.1.9"
501 | },
502 | "engines": {
503 | "node": ">= 8"
504 | }
505 | },
506 | "node_modules/@nodelib/fs.stat": {
507 | "version": "2.0.5",
508 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
509 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
510 | "dev": true,
511 | "engines": {
512 | "node": ">= 8"
513 | }
514 | },
515 | "node_modules/@nodelib/fs.walk": {
516 | "version": "1.2.8",
517 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
518 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
519 | "dev": true,
520 | "dependencies": {
521 | "@nodelib/fs.scandir": "2.1.5",
522 | "fastq": "^1.6.0"
523 | },
524 | "engines": {
525 | "node": ">= 8"
526 | }
527 | },
528 | "node_modules/@reduxjs/toolkit": {
529 | "version": "1.9.5",
530 | "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.9.5.tgz",
531 | "integrity": "sha512-Rt97jHmfTeaxL4swLRNPD/zV4OxTes4la07Xc4hetpUW/vc75t5m1ANyxG6ymnEQ2FsLQsoMlYB2vV1sO3m8tQ==",
532 | "dependencies": {
533 | "immer": "^9.0.21",
534 | "redux": "^4.2.1",
535 | "redux-thunk": "^2.4.2",
536 | "reselect": "^4.1.8"
537 | },
538 | "peerDependencies": {
539 | "react": "^16.9.0 || ^17.0.0 || ^18",
540 | "react-redux": "^7.2.1 || ^8.0.2"
541 | },
542 | "peerDependenciesMeta": {
543 | "react": {
544 | "optional": true
545 | },
546 | "react-redux": {
547 | "optional": true
548 | }
549 | }
550 | },
551 | "node_modules/@remix-run/router": {
552 | "version": "1.8.0",
553 | "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.8.0.tgz",
554 | "integrity": "sha512-mrfKqIHnSZRyIzBcanNJmVQELTnX+qagEDlcKO90RgRBVOZGSGvZKeDihTRfWcqoDn5N/NkUcwWTccnpN18Tfg==",
555 | "engines": {
556 | "node": ">=14.0.0"
557 | }
558 | },
559 | "node_modules/@swc/core": {
560 | "version": "1.3.76",
561 | "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.76.tgz",
562 | "integrity": "sha512-aYYTA2aVYkwJAZepQXtPnkUthhOfn8qd6rsh+lrJxonFrjmpI7RHt2tMDVTXP6XDX7fvnvrVtT1bwZfmBFPh0Q==",
563 | "dev": true,
564 | "hasInstallScript": true,
565 | "engines": {
566 | "node": ">=10"
567 | },
568 | "funding": {
569 | "type": "opencollective",
570 | "url": "https://opencollective.com/swc"
571 | },
572 | "optionalDependencies": {
573 | "@swc/core-darwin-arm64": "1.3.76",
574 | "@swc/core-darwin-x64": "1.3.76",
575 | "@swc/core-linux-arm-gnueabihf": "1.3.76",
576 | "@swc/core-linux-arm64-gnu": "1.3.76",
577 | "@swc/core-linux-arm64-musl": "1.3.76",
578 | "@swc/core-linux-x64-gnu": "1.3.76",
579 | "@swc/core-linux-x64-musl": "1.3.76",
580 | "@swc/core-win32-arm64-msvc": "1.3.76",
581 | "@swc/core-win32-ia32-msvc": "1.3.76",
582 | "@swc/core-win32-x64-msvc": "1.3.76"
583 | },
584 | "peerDependencies": {
585 | "@swc/helpers": "^0.5.0"
586 | },
587 | "peerDependenciesMeta": {
588 | "@swc/helpers": {
589 | "optional": true
590 | }
591 | }
592 | },
593 | "node_modules/@swc/core-darwin-arm64": {
594 | "version": "1.3.76",
595 | "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.76.tgz",
596 | "integrity": "sha512-ovviEhZ/1E81Z9OGrO0ivLWk4VCa3I3ZzM+cd3gugglRRwVwtlIaoIYqY5S3KiCAupDd1+UCl5X7Vbio7a/V8g==",
597 | "cpu": [
598 | "arm64"
599 | ],
600 | "dev": true,
601 | "optional": true,
602 | "os": [
603 | "darwin"
604 | ],
605 | "engines": {
606 | "node": ">=10"
607 | }
608 | },
609 | "node_modules/@swc/core-darwin-x64": {
610 | "version": "1.3.76",
611 | "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.76.tgz",
612 | "integrity": "sha512-tcySTDqs0SHCebtW35sCdcLWsmTEo7bEwx0gNL/spetqVT9fpFi6qU8qcnt7i2KaZHbeNl9g1aadu+Yrni+GzA==",
613 | "cpu": [
614 | "x64"
615 | ],
616 | "dev": true,
617 | "optional": true,
618 | "os": [
619 | "darwin"
620 | ],
621 | "engines": {
622 | "node": ">=10"
623 | }
624 | },
625 | "node_modules/@swc/core-linux-arm-gnueabihf": {
626 | "version": "1.3.76",
627 | "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.76.tgz",
628 | "integrity": "sha512-apgzpGWy1AwoMF4urAAASsAjE7rEzZFIF+p6utuxhS7cNHzE0AyEVDYJbo+pzBdlZ8orBdzzsHtFwoEgKOjebA==",
629 | "cpu": [
630 | "arm"
631 | ],
632 | "dev": true,
633 | "optional": true,
634 | "os": [
635 | "linux"
636 | ],
637 | "engines": {
638 | "node": ">=10"
639 | }
640 | },
641 | "node_modules/@swc/core-linux-arm64-gnu": {
642 | "version": "1.3.76",
643 | "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.76.tgz",
644 | "integrity": "sha512-c3c0zz6S0eludqidDpuqbadE0WT3OZczyQxe9Vw8lFFXES85mvNGtwYzyGK2o7TICpsuHrndwDIoYpmpWk879g==",
645 | "cpu": [
646 | "arm64"
647 | ],
648 | "dev": true,
649 | "optional": true,
650 | "os": [
651 | "linux"
652 | ],
653 | "engines": {
654 | "node": ">=10"
655 | }
656 | },
657 | "node_modules/@swc/core-linux-arm64-musl": {
658 | "version": "1.3.76",
659 | "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.76.tgz",
660 | "integrity": "sha512-Is3bpq7F2qtlnkzEeOD6HIZJPpOmu3q6c82lKww90Q0NnrlSluVMozTHJgwVoFZyizH7uLnk0LuNcEAWLnmJIw==",
661 | "cpu": [
662 | "arm64"
663 | ],
664 | "dev": true,
665 | "optional": true,
666 | "os": [
667 | "linux"
668 | ],
669 | "engines": {
670 | "node": ">=10"
671 | }
672 | },
673 | "node_modules/@swc/core-linux-x64-gnu": {
674 | "version": "1.3.76",
675 | "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.76.tgz",
676 | "integrity": "sha512-iwCeRzd9oSvUzqt7nU6p/ztceAWfnO9XVxBn502R5gs6QCBbE1HCKrWHDO77aKPK7ss+0NcIGHvXTd9L8/wRzw==",
677 | "cpu": [
678 | "x64"
679 | ],
680 | "dev": true,
681 | "optional": true,
682 | "os": [
683 | "linux"
684 | ],
685 | "engines": {
686 | "node": ">=10"
687 | }
688 | },
689 | "node_modules/@swc/core-linux-x64-musl": {
690 | "version": "1.3.76",
691 | "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.76.tgz",
692 | "integrity": "sha512-a671g4tW8kyFeuICsgq4uB9ukQfiIyXJT4V6YSnmqhCTz5mazWuDxZ5wKnx/1g5nXTl+U5cWH2TZaCJatp4GKA==",
693 | "cpu": [
694 | "x64"
695 | ],
696 | "dev": true,
697 | "optional": true,
698 | "os": [
699 | "linux"
700 | ],
701 | "engines": {
702 | "node": ">=10"
703 | }
704 | },
705 | "node_modules/@swc/core-win32-arm64-msvc": {
706 | "version": "1.3.76",
707 | "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.76.tgz",
708 | "integrity": "sha512-+swEFtjdMezS0vKUhJC3psdSDtOJGY5pEOt4e8XOPvn7aQpKQ9LfF49XVtIwDSk5SGuWtVoLFzkSY3reWUJCyg==",
709 | "cpu": [
710 | "arm64"
711 | ],
712 | "dev": true,
713 | "optional": true,
714 | "os": [
715 | "win32"
716 | ],
717 | "engines": {
718 | "node": ">=10"
719 | }
720 | },
721 | "node_modules/@swc/core-win32-ia32-msvc": {
722 | "version": "1.3.76",
723 | "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.76.tgz",
724 | "integrity": "sha512-5CqwAykpGBJ3PqGLOlWGLGIPpBAG1IwWVDUfro3hhjQ7XJxV5Z1aQf5V5OJ90HJVtrEAVx2xx59UV/Dh081LOg==",
725 | "cpu": [
726 | "ia32"
727 | ],
728 | "dev": true,
729 | "optional": true,
730 | "os": [
731 | "win32"
732 | ],
733 | "engines": {
734 | "node": ">=10"
735 | }
736 | },
737 | "node_modules/@swc/core-win32-x64-msvc": {
738 | "version": "1.3.76",
739 | "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.76.tgz",
740 | "integrity": "sha512-CiMpWLLlR3Cew9067E7XxaLBwYYJ90r9EhGSO6V1pvYSWj7ET/Ppmtj1ZhzPJMqRXAP6xflfl5R5o4ee1m4WLA==",
741 | "cpu": [
742 | "x64"
743 | ],
744 | "dev": true,
745 | "optional": true,
746 | "os": [
747 | "win32"
748 | ],
749 | "engines": {
750 | "node": ">=10"
751 | }
752 | },
753 | "node_modules/@types/hoist-non-react-statics": {
754 | "version": "3.3.1",
755 | "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",
756 | "integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",
757 | "dependencies": {
758 | "@types/react": "*",
759 | "hoist-non-react-statics": "^3.3.0"
760 | }
761 | },
762 | "node_modules/@types/json-schema": {
763 | "version": "7.0.12",
764 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz",
765 | "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==",
766 | "dev": true
767 | },
768 | "node_modules/@types/prop-types": {
769 | "version": "15.7.5",
770 | "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz",
771 | "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w=="
772 | },
773 | "node_modules/@types/react": {
774 | "version": "18.2.20",
775 | "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.20.tgz",
776 | "integrity": "sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==",
777 | "dependencies": {
778 | "@types/prop-types": "*",
779 | "@types/scheduler": "*",
780 | "csstype": "^3.0.2"
781 | }
782 | },
783 | "node_modules/@types/react-dom": {
784 | "version": "18.2.7",
785 | "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.7.tgz",
786 | "integrity": "sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==",
787 | "devOptional": true,
788 | "dependencies": {
789 | "@types/react": "*"
790 | }
791 | },
792 | "node_modules/@types/scheduler": {
793 | "version": "0.16.3",
794 | "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz",
795 | "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ=="
796 | },
797 | "node_modules/@types/semver": {
798 | "version": "7.5.0",
799 | "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz",
800 | "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==",
801 | "dev": true
802 | },
803 | "node_modules/@types/use-sync-external-store": {
804 | "version": "0.0.3",
805 | "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
806 | "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
807 | },
808 | "node_modules/@typescript-eslint/eslint-plugin": {
809 | "version": "6.3.0",
810 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.3.0.tgz",
811 | "integrity": "sha512-IZYjYZ0ifGSLZbwMqIip/nOamFiWJ9AH+T/GYNZBWkVcyNQOFGtSMoWV7RvY4poYCMZ/4lHzNl796WOSNxmk8A==",
812 | "dev": true,
813 | "dependencies": {
814 | "@eslint-community/regexpp": "^4.5.1",
815 | "@typescript-eslint/scope-manager": "6.3.0",
816 | "@typescript-eslint/type-utils": "6.3.0",
817 | "@typescript-eslint/utils": "6.3.0",
818 | "@typescript-eslint/visitor-keys": "6.3.0",
819 | "debug": "^4.3.4",
820 | "graphemer": "^1.4.0",
821 | "ignore": "^5.2.4",
822 | "natural-compare": "^1.4.0",
823 | "natural-compare-lite": "^1.4.0",
824 | "semver": "^7.5.4",
825 | "ts-api-utils": "^1.0.1"
826 | },
827 | "engines": {
828 | "node": "^16.0.0 || >=18.0.0"
829 | },
830 | "funding": {
831 | "type": "opencollective",
832 | "url": "https://opencollective.com/typescript-eslint"
833 | },
834 | "peerDependencies": {
835 | "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha",
836 | "eslint": "^7.0.0 || ^8.0.0"
837 | },
838 | "peerDependenciesMeta": {
839 | "typescript": {
840 | "optional": true
841 | }
842 | }
843 | },
844 | "node_modules/@typescript-eslint/parser": {
845 | "version": "6.3.0",
846 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.3.0.tgz",
847 | "integrity": "sha512-ibP+y2Gr6p0qsUkhs7InMdXrwldjxZw66wpcQq9/PzAroM45wdwyu81T+7RibNCh8oc0AgrsyCwJByncY0Ongg==",
848 | "dev": true,
849 | "dependencies": {
850 | "@typescript-eslint/scope-manager": "6.3.0",
851 | "@typescript-eslint/types": "6.3.0",
852 | "@typescript-eslint/typescript-estree": "6.3.0",
853 | "@typescript-eslint/visitor-keys": "6.3.0",
854 | "debug": "^4.3.4"
855 | },
856 | "engines": {
857 | "node": "^16.0.0 || >=18.0.0"
858 | },
859 | "funding": {
860 | "type": "opencollective",
861 | "url": "https://opencollective.com/typescript-eslint"
862 | },
863 | "peerDependencies": {
864 | "eslint": "^7.0.0 || ^8.0.0"
865 | },
866 | "peerDependenciesMeta": {
867 | "typescript": {
868 | "optional": true
869 | }
870 | }
871 | },
872 | "node_modules/@typescript-eslint/scope-manager": {
873 | "version": "6.3.0",
874 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.3.0.tgz",
875 | "integrity": "sha512-WlNFgBEuGu74ahrXzgefiz/QlVb+qg8KDTpknKwR7hMH+lQygWyx0CQFoUmMn1zDkQjTBBIn75IxtWss77iBIQ==",
876 | "dev": true,
877 | "dependencies": {
878 | "@typescript-eslint/types": "6.3.0",
879 | "@typescript-eslint/visitor-keys": "6.3.0"
880 | },
881 | "engines": {
882 | "node": "^16.0.0 || >=18.0.0"
883 | },
884 | "funding": {
885 | "type": "opencollective",
886 | "url": "https://opencollective.com/typescript-eslint"
887 | }
888 | },
889 | "node_modules/@typescript-eslint/type-utils": {
890 | "version": "6.3.0",
891 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.3.0.tgz",
892 | "integrity": "sha512-7Oj+1ox1T2Yc8PKpBvOKWhoI/4rWFd1j7FA/rPE0lbBPXTKjdbtC+7Ev0SeBjEKkIhKWVeZSP+mR7y1Db1CdfQ==",
893 | "dev": true,
894 | "dependencies": {
895 | "@typescript-eslint/typescript-estree": "6.3.0",
896 | "@typescript-eslint/utils": "6.3.0",
897 | "debug": "^4.3.4",
898 | "ts-api-utils": "^1.0.1"
899 | },
900 | "engines": {
901 | "node": "^16.0.0 || >=18.0.0"
902 | },
903 | "funding": {
904 | "type": "opencollective",
905 | "url": "https://opencollective.com/typescript-eslint"
906 | },
907 | "peerDependencies": {
908 | "eslint": "^7.0.0 || ^8.0.0"
909 | },
910 | "peerDependenciesMeta": {
911 | "typescript": {
912 | "optional": true
913 | }
914 | }
915 | },
916 | "node_modules/@typescript-eslint/types": {
917 | "version": "6.3.0",
918 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.3.0.tgz",
919 | "integrity": "sha512-K6TZOvfVyc7MO9j60MkRNWyFSf86IbOatTKGrpTQnzarDZPYPVy0oe3myTMq7VjhfsUAbNUW8I5s+2lZvtx1gg==",
920 | "dev": true,
921 | "engines": {
922 | "node": "^16.0.0 || >=18.0.0"
923 | },
924 | "funding": {
925 | "type": "opencollective",
926 | "url": "https://opencollective.com/typescript-eslint"
927 | }
928 | },
929 | "node_modules/@typescript-eslint/typescript-estree": {
930 | "version": "6.3.0",
931 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.3.0.tgz",
932 | "integrity": "sha512-Xh4NVDaC4eYKY4O3QGPuQNp5NxBAlEvNQYOqJquR2MePNxO11E5K3t5x4M4Mx53IZvtpW+mBxIT0s274fLUocg==",
933 | "dev": true,
934 | "dependencies": {
935 | "@typescript-eslint/types": "6.3.0",
936 | "@typescript-eslint/visitor-keys": "6.3.0",
937 | "debug": "^4.3.4",
938 | "globby": "^11.1.0",
939 | "is-glob": "^4.0.3",
940 | "semver": "^7.5.4",
941 | "ts-api-utils": "^1.0.1"
942 | },
943 | "engines": {
944 | "node": "^16.0.0 || >=18.0.0"
945 | },
946 | "funding": {
947 | "type": "opencollective",
948 | "url": "https://opencollective.com/typescript-eslint"
949 | },
950 | "peerDependenciesMeta": {
951 | "typescript": {
952 | "optional": true
953 | }
954 | }
955 | },
956 | "node_modules/@typescript-eslint/utils": {
957 | "version": "6.3.0",
958 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.3.0.tgz",
959 | "integrity": "sha512-hLLg3BZE07XHnpzglNBG8P/IXq/ZVXraEbgY7FM0Cnc1ehM8RMdn9mat3LubJ3KBeYXXPxV1nugWbQPjGeJk6Q==",
960 | "dev": true,
961 | "dependencies": {
962 | "@eslint-community/eslint-utils": "^4.4.0",
963 | "@types/json-schema": "^7.0.12",
964 | "@types/semver": "^7.5.0",
965 | "@typescript-eslint/scope-manager": "6.3.0",
966 | "@typescript-eslint/types": "6.3.0",
967 | "@typescript-eslint/typescript-estree": "6.3.0",
968 | "semver": "^7.5.4"
969 | },
970 | "engines": {
971 | "node": "^16.0.0 || >=18.0.0"
972 | },
973 | "funding": {
974 | "type": "opencollective",
975 | "url": "https://opencollective.com/typescript-eslint"
976 | },
977 | "peerDependencies": {
978 | "eslint": "^7.0.0 || ^8.0.0"
979 | }
980 | },
981 | "node_modules/@typescript-eslint/visitor-keys": {
982 | "version": "6.3.0",
983 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.3.0.tgz",
984 | "integrity": "sha512-kEhRRj7HnvaSjux1J9+7dBen15CdWmDnwrpyiHsFX6Qx2iW5LOBUgNefOFeh2PjWPlNwN8TOn6+4eBU3J/gupw==",
985 | "dev": true,
986 | "dependencies": {
987 | "@typescript-eslint/types": "6.3.0",
988 | "eslint-visitor-keys": "^3.4.1"
989 | },
990 | "engines": {
991 | "node": "^16.0.0 || >=18.0.0"
992 | },
993 | "funding": {
994 | "type": "opencollective",
995 | "url": "https://opencollective.com/typescript-eslint"
996 | }
997 | },
998 | "node_modules/@vitejs/plugin-react-swc": {
999 | "version": "3.3.2",
1000 | "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.3.2.tgz",
1001 | "integrity": "sha512-VJFWY5sfoZerQRvJrh518h3AcQt6f/yTuWn4/TRB+dqmYU0NX1qz7qM5Wfd+gOQqUzQW4gxKqKN3KpE/P3+zrA==",
1002 | "dev": true,
1003 | "dependencies": {
1004 | "@swc/core": "^1.3.61"
1005 | },
1006 | "peerDependencies": {
1007 | "vite": "^4"
1008 | }
1009 | },
1010 | "node_modules/acorn": {
1011 | "version": "8.10.0",
1012 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz",
1013 | "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==",
1014 | "dev": true,
1015 | "bin": {
1016 | "acorn": "bin/acorn"
1017 | },
1018 | "engines": {
1019 | "node": ">=0.4.0"
1020 | }
1021 | },
1022 | "node_modules/acorn-jsx": {
1023 | "version": "5.3.2",
1024 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
1025 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
1026 | "dev": true,
1027 | "peerDependencies": {
1028 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
1029 | }
1030 | },
1031 | "node_modules/ajv": {
1032 | "version": "6.12.6",
1033 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
1034 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
1035 | "dev": true,
1036 | "dependencies": {
1037 | "fast-deep-equal": "^3.1.1",
1038 | "fast-json-stable-stringify": "^2.0.0",
1039 | "json-schema-traverse": "^0.4.1",
1040 | "uri-js": "^4.2.2"
1041 | },
1042 | "funding": {
1043 | "type": "github",
1044 | "url": "https://github.com/sponsors/epoberezkin"
1045 | }
1046 | },
1047 | "node_modules/ansi-regex": {
1048 | "version": "5.0.1",
1049 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
1050 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
1051 | "dev": true,
1052 | "engines": {
1053 | "node": ">=8"
1054 | }
1055 | },
1056 | "node_modules/ansi-styles": {
1057 | "version": "4.3.0",
1058 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
1059 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
1060 | "dev": true,
1061 | "dependencies": {
1062 | "color-convert": "^2.0.1"
1063 | },
1064 | "engines": {
1065 | "node": ">=8"
1066 | },
1067 | "funding": {
1068 | "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1069 | }
1070 | },
1071 | "node_modules/argparse": {
1072 | "version": "2.0.1",
1073 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
1074 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
1075 | "dev": true
1076 | },
1077 | "node_modules/array-union": {
1078 | "version": "2.1.0",
1079 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
1080 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
1081 | "dev": true,
1082 | "engines": {
1083 | "node": ">=8"
1084 | }
1085 | },
1086 | "node_modules/asynckit": {
1087 | "version": "0.4.0",
1088 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
1089 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
1090 | },
1091 | "node_modules/axios": {
1092 | "version": "1.4.0",
1093 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",
1094 | "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
1095 | "dependencies": {
1096 | "follow-redirects": "^1.15.0",
1097 | "form-data": "^4.0.0",
1098 | "proxy-from-env": "^1.1.0"
1099 | }
1100 | },
1101 | "node_modules/balanced-match": {
1102 | "version": "1.0.2",
1103 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1104 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1105 | "dev": true
1106 | },
1107 | "node_modules/brace-expansion": {
1108 | "version": "1.1.11",
1109 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
1110 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
1111 | "dev": true,
1112 | "dependencies": {
1113 | "balanced-match": "^1.0.0",
1114 | "concat-map": "0.0.1"
1115 | }
1116 | },
1117 | "node_modules/braces": {
1118 | "version": "3.0.2",
1119 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
1120 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
1121 | "dev": true,
1122 | "dependencies": {
1123 | "fill-range": "^7.0.1"
1124 | },
1125 | "engines": {
1126 | "node": ">=8"
1127 | }
1128 | },
1129 | "node_modules/callsites": {
1130 | "version": "3.1.0",
1131 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
1132 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
1133 | "dev": true,
1134 | "engines": {
1135 | "node": ">=6"
1136 | }
1137 | },
1138 | "node_modules/chalk": {
1139 | "version": "4.1.2",
1140 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
1141 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
1142 | "dev": true,
1143 | "dependencies": {
1144 | "ansi-styles": "^4.1.0",
1145 | "supports-color": "^7.1.0"
1146 | },
1147 | "engines": {
1148 | "node": ">=10"
1149 | },
1150 | "funding": {
1151 | "url": "https://github.com/chalk/chalk?sponsor=1"
1152 | }
1153 | },
1154 | "node_modules/classnames": {
1155 | "version": "2.3.2",
1156 | "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz",
1157 | "integrity": "sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw=="
1158 | },
1159 | "node_modules/color-convert": {
1160 | "version": "2.0.1",
1161 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1162 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1163 | "dev": true,
1164 | "dependencies": {
1165 | "color-name": "~1.1.4"
1166 | },
1167 | "engines": {
1168 | "node": ">=7.0.0"
1169 | }
1170 | },
1171 | "node_modules/color-name": {
1172 | "version": "1.1.4",
1173 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1174 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1175 | "dev": true
1176 | },
1177 | "node_modules/combined-stream": {
1178 | "version": "1.0.8",
1179 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
1180 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
1181 | "dependencies": {
1182 | "delayed-stream": "~1.0.0"
1183 | },
1184 | "engines": {
1185 | "node": ">= 0.8"
1186 | }
1187 | },
1188 | "node_modules/concat-map": {
1189 | "version": "0.0.1",
1190 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
1191 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
1192 | "dev": true
1193 | },
1194 | "node_modules/cross-spawn": {
1195 | "version": "7.0.3",
1196 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
1197 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
1198 | "dev": true,
1199 | "dependencies": {
1200 | "path-key": "^3.1.0",
1201 | "shebang-command": "^2.0.0",
1202 | "which": "^2.0.1"
1203 | },
1204 | "engines": {
1205 | "node": ">= 8"
1206 | }
1207 | },
1208 | "node_modules/csstype": {
1209 | "version": "3.1.2",
1210 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz",
1211 | "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ=="
1212 | },
1213 | "node_modules/debug": {
1214 | "version": "4.3.4",
1215 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
1216 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
1217 | "dev": true,
1218 | "dependencies": {
1219 | "ms": "2.1.2"
1220 | },
1221 | "engines": {
1222 | "node": ">=6.0"
1223 | },
1224 | "peerDependenciesMeta": {
1225 | "supports-color": {
1226 | "optional": true
1227 | }
1228 | }
1229 | },
1230 | "node_modules/deep-is": {
1231 | "version": "0.1.4",
1232 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
1233 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
1234 | "dev": true
1235 | },
1236 | "node_modules/delayed-stream": {
1237 | "version": "1.0.0",
1238 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
1239 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
1240 | "engines": {
1241 | "node": ">=0.4.0"
1242 | }
1243 | },
1244 | "node_modules/dir-glob": {
1245 | "version": "3.0.1",
1246 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
1247 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
1248 | "dev": true,
1249 | "dependencies": {
1250 | "path-type": "^4.0.0"
1251 | },
1252 | "engines": {
1253 | "node": ">=8"
1254 | }
1255 | },
1256 | "node_modules/doctrine": {
1257 | "version": "3.0.0",
1258 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
1259 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
1260 | "dev": true,
1261 | "dependencies": {
1262 | "esutils": "^2.0.2"
1263 | },
1264 | "engines": {
1265 | "node": ">=6.0.0"
1266 | }
1267 | },
1268 | "node_modules/esbuild": {
1269 | "version": "0.18.20",
1270 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
1271 | "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
1272 | "dev": true,
1273 | "hasInstallScript": true,
1274 | "bin": {
1275 | "esbuild": "bin/esbuild"
1276 | },
1277 | "engines": {
1278 | "node": ">=12"
1279 | },
1280 | "optionalDependencies": {
1281 | "@esbuild/android-arm": "0.18.20",
1282 | "@esbuild/android-arm64": "0.18.20",
1283 | "@esbuild/android-x64": "0.18.20",
1284 | "@esbuild/darwin-arm64": "0.18.20",
1285 | "@esbuild/darwin-x64": "0.18.20",
1286 | "@esbuild/freebsd-arm64": "0.18.20",
1287 | "@esbuild/freebsd-x64": "0.18.20",
1288 | "@esbuild/linux-arm": "0.18.20",
1289 | "@esbuild/linux-arm64": "0.18.20",
1290 | "@esbuild/linux-ia32": "0.18.20",
1291 | "@esbuild/linux-loong64": "0.18.20",
1292 | "@esbuild/linux-mips64el": "0.18.20",
1293 | "@esbuild/linux-ppc64": "0.18.20",
1294 | "@esbuild/linux-riscv64": "0.18.20",
1295 | "@esbuild/linux-s390x": "0.18.20",
1296 | "@esbuild/linux-x64": "0.18.20",
1297 | "@esbuild/netbsd-x64": "0.18.20",
1298 | "@esbuild/openbsd-x64": "0.18.20",
1299 | "@esbuild/sunos-x64": "0.18.20",
1300 | "@esbuild/win32-arm64": "0.18.20",
1301 | "@esbuild/win32-ia32": "0.18.20",
1302 | "@esbuild/win32-x64": "0.18.20"
1303 | }
1304 | },
1305 | "node_modules/escape-string-regexp": {
1306 | "version": "4.0.0",
1307 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
1308 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
1309 | "dev": true,
1310 | "engines": {
1311 | "node": ">=10"
1312 | },
1313 | "funding": {
1314 | "url": "https://github.com/sponsors/sindresorhus"
1315 | }
1316 | },
1317 | "node_modules/eslint": {
1318 | "version": "8.46.0",
1319 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
1320 | "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
1321 | "dev": true,
1322 | "dependencies": {
1323 | "@eslint-community/eslint-utils": "^4.2.0",
1324 | "@eslint-community/regexpp": "^4.6.1",
1325 | "@eslint/eslintrc": "^2.1.1",
1326 | "@eslint/js": "^8.46.0",
1327 | "@humanwhocodes/config-array": "^0.11.10",
1328 | "@humanwhocodes/module-importer": "^1.0.1",
1329 | "@nodelib/fs.walk": "^1.2.8",
1330 | "ajv": "^6.12.4",
1331 | "chalk": "^4.0.0",
1332 | "cross-spawn": "^7.0.2",
1333 | "debug": "^4.3.2",
1334 | "doctrine": "^3.0.0",
1335 | "escape-string-regexp": "^4.0.0",
1336 | "eslint-scope": "^7.2.2",
1337 | "eslint-visitor-keys": "^3.4.2",
1338 | "espree": "^9.6.1",
1339 | "esquery": "^1.4.2",
1340 | "esutils": "^2.0.2",
1341 | "fast-deep-equal": "^3.1.3",
1342 | "file-entry-cache": "^6.0.1",
1343 | "find-up": "^5.0.0",
1344 | "glob-parent": "^6.0.2",
1345 | "globals": "^13.19.0",
1346 | "graphemer": "^1.4.0",
1347 | "ignore": "^5.2.0",
1348 | "imurmurhash": "^0.1.4",
1349 | "is-glob": "^4.0.0",
1350 | "is-path-inside": "^3.0.3",
1351 | "js-yaml": "^4.1.0",
1352 | "json-stable-stringify-without-jsonify": "^1.0.1",
1353 | "levn": "^0.4.1",
1354 | "lodash.merge": "^4.6.2",
1355 | "minimatch": "^3.1.2",
1356 | "natural-compare": "^1.4.0",
1357 | "optionator": "^0.9.3",
1358 | "strip-ansi": "^6.0.1",
1359 | "text-table": "^0.2.0"
1360 | },
1361 | "bin": {
1362 | "eslint": "bin/eslint.js"
1363 | },
1364 | "engines": {
1365 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1366 | },
1367 | "funding": {
1368 | "url": "https://opencollective.com/eslint"
1369 | }
1370 | },
1371 | "node_modules/eslint-plugin-react-hooks": {
1372 | "version": "4.6.0",
1373 | "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz",
1374 | "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==",
1375 | "dev": true,
1376 | "engines": {
1377 | "node": ">=10"
1378 | },
1379 | "peerDependencies": {
1380 | "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0"
1381 | }
1382 | },
1383 | "node_modules/eslint-plugin-react-refresh": {
1384 | "version": "0.4.3",
1385 | "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.3.tgz",
1386 | "integrity": "sha512-Hh0wv8bUNY877+sI0BlCUlsS0TYYQqvzEwJsJJPM2WF4RnTStSnSR3zdJYa2nPOJgg3UghXi54lVyMSmpCalzA==",
1387 | "dev": true,
1388 | "peerDependencies": {
1389 | "eslint": ">=7"
1390 | }
1391 | },
1392 | "node_modules/eslint-scope": {
1393 | "version": "7.2.2",
1394 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
1395 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
1396 | "dev": true,
1397 | "dependencies": {
1398 | "esrecurse": "^4.3.0",
1399 | "estraverse": "^5.2.0"
1400 | },
1401 | "engines": {
1402 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1403 | },
1404 | "funding": {
1405 | "url": "https://opencollective.com/eslint"
1406 | }
1407 | },
1408 | "node_modules/eslint-visitor-keys": {
1409 | "version": "3.4.2",
1410 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
1411 | "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
1412 | "dev": true,
1413 | "engines": {
1414 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1415 | },
1416 | "funding": {
1417 | "url": "https://opencollective.com/eslint"
1418 | }
1419 | },
1420 | "node_modules/espree": {
1421 | "version": "9.6.1",
1422 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
1423 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
1424 | "dev": true,
1425 | "dependencies": {
1426 | "acorn": "^8.9.0",
1427 | "acorn-jsx": "^5.3.2",
1428 | "eslint-visitor-keys": "^3.4.1"
1429 | },
1430 | "engines": {
1431 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1432 | },
1433 | "funding": {
1434 | "url": "https://opencollective.com/eslint"
1435 | }
1436 | },
1437 | "node_modules/esquery": {
1438 | "version": "1.5.0",
1439 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
1440 | "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
1441 | "dev": true,
1442 | "dependencies": {
1443 | "estraverse": "^5.1.0"
1444 | },
1445 | "engines": {
1446 | "node": ">=0.10"
1447 | }
1448 | },
1449 | "node_modules/esrecurse": {
1450 | "version": "4.3.0",
1451 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
1452 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
1453 | "dev": true,
1454 | "dependencies": {
1455 | "estraverse": "^5.2.0"
1456 | },
1457 | "engines": {
1458 | "node": ">=4.0"
1459 | }
1460 | },
1461 | "node_modules/estraverse": {
1462 | "version": "5.3.0",
1463 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
1464 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
1465 | "dev": true,
1466 | "engines": {
1467 | "node": ">=4.0"
1468 | }
1469 | },
1470 | "node_modules/esutils": {
1471 | "version": "2.0.3",
1472 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
1473 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
1474 | "dev": true,
1475 | "engines": {
1476 | "node": ">=0.10.0"
1477 | }
1478 | },
1479 | "node_modules/fast-deep-equal": {
1480 | "version": "3.1.3",
1481 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
1482 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
1483 | "dev": true
1484 | },
1485 | "node_modules/fast-glob": {
1486 | "version": "3.3.1",
1487 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
1488 | "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
1489 | "dev": true,
1490 | "dependencies": {
1491 | "@nodelib/fs.stat": "^2.0.2",
1492 | "@nodelib/fs.walk": "^1.2.3",
1493 | "glob-parent": "^5.1.2",
1494 | "merge2": "^1.3.0",
1495 | "micromatch": "^4.0.4"
1496 | },
1497 | "engines": {
1498 | "node": ">=8.6.0"
1499 | }
1500 | },
1501 | "node_modules/fast-glob/node_modules/glob-parent": {
1502 | "version": "5.1.2",
1503 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
1504 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
1505 | "dev": true,
1506 | "dependencies": {
1507 | "is-glob": "^4.0.1"
1508 | },
1509 | "engines": {
1510 | "node": ">= 6"
1511 | }
1512 | },
1513 | "node_modules/fast-json-stable-stringify": {
1514 | "version": "2.1.0",
1515 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1516 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
1517 | "dev": true
1518 | },
1519 | "node_modules/fast-levenshtein": {
1520 | "version": "2.0.6",
1521 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
1522 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
1523 | "dev": true
1524 | },
1525 | "node_modules/fastq": {
1526 | "version": "1.15.0",
1527 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
1528 | "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",
1529 | "dev": true,
1530 | "dependencies": {
1531 | "reusify": "^1.0.4"
1532 | }
1533 | },
1534 | "node_modules/file-entry-cache": {
1535 | "version": "6.0.1",
1536 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
1537 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
1538 | "dev": true,
1539 | "dependencies": {
1540 | "flat-cache": "^3.0.4"
1541 | },
1542 | "engines": {
1543 | "node": "^10.12.0 || >=12.0.0"
1544 | }
1545 | },
1546 | "node_modules/fill-range": {
1547 | "version": "7.0.1",
1548 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
1549 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
1550 | "dev": true,
1551 | "dependencies": {
1552 | "to-regex-range": "^5.0.1"
1553 | },
1554 | "engines": {
1555 | "node": ">=8"
1556 | }
1557 | },
1558 | "node_modules/find-up": {
1559 | "version": "5.0.0",
1560 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
1561 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
1562 | "dev": true,
1563 | "dependencies": {
1564 | "locate-path": "^6.0.0",
1565 | "path-exists": "^4.0.0"
1566 | },
1567 | "engines": {
1568 | "node": ">=10"
1569 | },
1570 | "funding": {
1571 | "url": "https://github.com/sponsors/sindresorhus"
1572 | }
1573 | },
1574 | "node_modules/flat-cache": {
1575 | "version": "3.0.4",
1576 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
1577 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
1578 | "dev": true,
1579 | "dependencies": {
1580 | "flatted": "^3.1.0",
1581 | "rimraf": "^3.0.2"
1582 | },
1583 | "engines": {
1584 | "node": "^10.12.0 || >=12.0.0"
1585 | }
1586 | },
1587 | "node_modules/flatted": {
1588 | "version": "3.2.7",
1589 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz",
1590 | "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==",
1591 | "dev": true
1592 | },
1593 | "node_modules/follow-redirects": {
1594 | "version": "1.15.2",
1595 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
1596 | "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
1597 | "funding": [
1598 | {
1599 | "type": "individual",
1600 | "url": "https://github.com/sponsors/RubenVerborgh"
1601 | }
1602 | ],
1603 | "engines": {
1604 | "node": ">=4.0"
1605 | },
1606 | "peerDependenciesMeta": {
1607 | "debug": {
1608 | "optional": true
1609 | }
1610 | }
1611 | },
1612 | "node_modules/form-data": {
1613 | "version": "4.0.0",
1614 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
1615 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
1616 | "dependencies": {
1617 | "asynckit": "^0.4.0",
1618 | "combined-stream": "^1.0.8",
1619 | "mime-types": "^2.1.12"
1620 | },
1621 | "engines": {
1622 | "node": ">= 6"
1623 | }
1624 | },
1625 | "node_modules/fs.realpath": {
1626 | "version": "1.0.0",
1627 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
1628 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
1629 | "dev": true
1630 | },
1631 | "node_modules/fsevents": {
1632 | "version": "2.3.2",
1633 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
1634 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
1635 | "dev": true,
1636 | "hasInstallScript": true,
1637 | "optional": true,
1638 | "os": [
1639 | "darwin"
1640 | ],
1641 | "engines": {
1642 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1643 | }
1644 | },
1645 | "node_modules/glob": {
1646 | "version": "7.2.3",
1647 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
1648 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
1649 | "dev": true,
1650 | "dependencies": {
1651 | "fs.realpath": "^1.0.0",
1652 | "inflight": "^1.0.4",
1653 | "inherits": "2",
1654 | "minimatch": "^3.1.1",
1655 | "once": "^1.3.0",
1656 | "path-is-absolute": "^1.0.0"
1657 | },
1658 | "engines": {
1659 | "node": "*"
1660 | },
1661 | "funding": {
1662 | "url": "https://github.com/sponsors/isaacs"
1663 | }
1664 | },
1665 | "node_modules/glob-parent": {
1666 | "version": "6.0.2",
1667 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
1668 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
1669 | "dev": true,
1670 | "dependencies": {
1671 | "is-glob": "^4.0.3"
1672 | },
1673 | "engines": {
1674 | "node": ">=10.13.0"
1675 | }
1676 | },
1677 | "node_modules/globals": {
1678 | "version": "13.20.0",
1679 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
1680 | "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
1681 | "dev": true,
1682 | "dependencies": {
1683 | "type-fest": "^0.20.2"
1684 | },
1685 | "engines": {
1686 | "node": ">=8"
1687 | },
1688 | "funding": {
1689 | "url": "https://github.com/sponsors/sindresorhus"
1690 | }
1691 | },
1692 | "node_modules/globby": {
1693 | "version": "11.1.0",
1694 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
1695 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
1696 | "dev": true,
1697 | "dependencies": {
1698 | "array-union": "^2.1.0",
1699 | "dir-glob": "^3.0.1",
1700 | "fast-glob": "^3.2.9",
1701 | "ignore": "^5.2.0",
1702 | "merge2": "^1.4.1",
1703 | "slash": "^3.0.0"
1704 | },
1705 | "engines": {
1706 | "node": ">=10"
1707 | },
1708 | "funding": {
1709 | "url": "https://github.com/sponsors/sindresorhus"
1710 | }
1711 | },
1712 | "node_modules/graphemer": {
1713 | "version": "1.4.0",
1714 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
1715 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
1716 | "dev": true
1717 | },
1718 | "node_modules/has-flag": {
1719 | "version": "4.0.0",
1720 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
1721 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
1722 | "dev": true,
1723 | "engines": {
1724 | "node": ">=8"
1725 | }
1726 | },
1727 | "node_modules/hoist-non-react-statics": {
1728 | "version": "3.3.2",
1729 | "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
1730 | "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
1731 | "dependencies": {
1732 | "react-is": "^16.7.0"
1733 | }
1734 | },
1735 | "node_modules/hoist-non-react-statics/node_modules/react-is": {
1736 | "version": "16.13.1",
1737 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
1738 | "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
1739 | },
1740 | "node_modules/ignore": {
1741 | "version": "5.2.4",
1742 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
1743 | "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==",
1744 | "dev": true,
1745 | "engines": {
1746 | "node": ">= 4"
1747 | }
1748 | },
1749 | "node_modules/immer": {
1750 | "version": "9.0.21",
1751 | "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz",
1752 | "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==",
1753 | "funding": {
1754 | "type": "opencollective",
1755 | "url": "https://opencollective.com/immer"
1756 | }
1757 | },
1758 | "node_modules/import-fresh": {
1759 | "version": "3.3.0",
1760 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
1761 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
1762 | "dev": true,
1763 | "dependencies": {
1764 | "parent-module": "^1.0.0",
1765 | "resolve-from": "^4.0.0"
1766 | },
1767 | "engines": {
1768 | "node": ">=6"
1769 | },
1770 | "funding": {
1771 | "url": "https://github.com/sponsors/sindresorhus"
1772 | }
1773 | },
1774 | "node_modules/imurmurhash": {
1775 | "version": "0.1.4",
1776 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
1777 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
1778 | "dev": true,
1779 | "engines": {
1780 | "node": ">=0.8.19"
1781 | }
1782 | },
1783 | "node_modules/inflight": {
1784 | "version": "1.0.6",
1785 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
1786 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
1787 | "dev": true,
1788 | "dependencies": {
1789 | "once": "^1.3.0",
1790 | "wrappy": "1"
1791 | }
1792 | },
1793 | "node_modules/inherits": {
1794 | "version": "2.0.4",
1795 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
1796 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
1797 | "dev": true
1798 | },
1799 | "node_modules/is-extglob": {
1800 | "version": "2.1.1",
1801 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
1802 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
1803 | "dev": true,
1804 | "engines": {
1805 | "node": ">=0.10.0"
1806 | }
1807 | },
1808 | "node_modules/is-glob": {
1809 | "version": "4.0.3",
1810 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
1811 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
1812 | "dev": true,
1813 | "dependencies": {
1814 | "is-extglob": "^2.1.1"
1815 | },
1816 | "engines": {
1817 | "node": ">=0.10.0"
1818 | }
1819 | },
1820 | "node_modules/is-number": {
1821 | "version": "7.0.0",
1822 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
1823 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
1824 | "dev": true,
1825 | "engines": {
1826 | "node": ">=0.12.0"
1827 | }
1828 | },
1829 | "node_modules/is-path-inside": {
1830 | "version": "3.0.3",
1831 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
1832 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
1833 | "dev": true,
1834 | "engines": {
1835 | "node": ">=8"
1836 | }
1837 | },
1838 | "node_modules/isexe": {
1839 | "version": "2.0.0",
1840 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
1841 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
1842 | "dev": true
1843 | },
1844 | "node_modules/js-tokens": {
1845 | "version": "4.0.0",
1846 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
1847 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
1848 | },
1849 | "node_modules/js-yaml": {
1850 | "version": "4.1.0",
1851 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
1852 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
1853 | "dev": true,
1854 | "dependencies": {
1855 | "argparse": "^2.0.1"
1856 | },
1857 | "bin": {
1858 | "js-yaml": "bin/js-yaml.js"
1859 | }
1860 | },
1861 | "node_modules/json-schema-traverse": {
1862 | "version": "0.4.1",
1863 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
1864 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
1865 | "dev": true
1866 | },
1867 | "node_modules/json-stable-stringify-without-jsonify": {
1868 | "version": "1.0.1",
1869 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
1870 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
1871 | "dev": true
1872 | },
1873 | "node_modules/levn": {
1874 | "version": "0.4.1",
1875 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
1876 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
1877 | "dev": true,
1878 | "dependencies": {
1879 | "prelude-ls": "^1.2.1",
1880 | "type-check": "~0.4.0"
1881 | },
1882 | "engines": {
1883 | "node": ">= 0.8.0"
1884 | }
1885 | },
1886 | "node_modules/locate-path": {
1887 | "version": "6.0.0",
1888 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
1889 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
1890 | "dev": true,
1891 | "dependencies": {
1892 | "p-locate": "^5.0.0"
1893 | },
1894 | "engines": {
1895 | "node": ">=10"
1896 | },
1897 | "funding": {
1898 | "url": "https://github.com/sponsors/sindresorhus"
1899 | }
1900 | },
1901 | "node_modules/lodash.merge": {
1902 | "version": "4.6.2",
1903 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
1904 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
1905 | "dev": true
1906 | },
1907 | "node_modules/loose-envify": {
1908 | "version": "1.4.0",
1909 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
1910 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
1911 | "dependencies": {
1912 | "js-tokens": "^3.0.0 || ^4.0.0"
1913 | },
1914 | "bin": {
1915 | "loose-envify": "cli.js"
1916 | }
1917 | },
1918 | "node_modules/lru-cache": {
1919 | "version": "6.0.0",
1920 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
1921 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
1922 | "dev": true,
1923 | "dependencies": {
1924 | "yallist": "^4.0.0"
1925 | },
1926 | "engines": {
1927 | "node": ">=10"
1928 | }
1929 | },
1930 | "node_modules/merge2": {
1931 | "version": "1.4.1",
1932 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
1933 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
1934 | "dev": true,
1935 | "engines": {
1936 | "node": ">= 8"
1937 | }
1938 | },
1939 | "node_modules/micromatch": {
1940 | "version": "4.0.5",
1941 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
1942 | "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
1943 | "dev": true,
1944 | "dependencies": {
1945 | "braces": "^3.0.2",
1946 | "picomatch": "^2.3.1"
1947 | },
1948 | "engines": {
1949 | "node": ">=8.6"
1950 | }
1951 | },
1952 | "node_modules/mime-db": {
1953 | "version": "1.52.0",
1954 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
1955 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
1956 | "engines": {
1957 | "node": ">= 0.6"
1958 | }
1959 | },
1960 | "node_modules/mime-types": {
1961 | "version": "2.1.35",
1962 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
1963 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
1964 | "dependencies": {
1965 | "mime-db": "1.52.0"
1966 | },
1967 | "engines": {
1968 | "node": ">= 0.6"
1969 | }
1970 | },
1971 | "node_modules/minimatch": {
1972 | "version": "3.1.2",
1973 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
1974 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
1975 | "dev": true,
1976 | "dependencies": {
1977 | "brace-expansion": "^1.1.7"
1978 | },
1979 | "engines": {
1980 | "node": "*"
1981 | }
1982 | },
1983 | "node_modules/ms": {
1984 | "version": "2.1.2",
1985 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
1986 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
1987 | "dev": true
1988 | },
1989 | "node_modules/nanoid": {
1990 | "version": "3.3.6",
1991 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
1992 | "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
1993 | "dev": true,
1994 | "funding": [
1995 | {
1996 | "type": "github",
1997 | "url": "https://github.com/sponsors/ai"
1998 | }
1999 | ],
2000 | "bin": {
2001 | "nanoid": "bin/nanoid.cjs"
2002 | },
2003 | "engines": {
2004 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
2005 | }
2006 | },
2007 | "node_modules/natural-compare": {
2008 | "version": "1.4.0",
2009 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
2010 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
2011 | "dev": true
2012 | },
2013 | "node_modules/natural-compare-lite": {
2014 | "version": "1.4.0",
2015 | "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz",
2016 | "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==",
2017 | "dev": true
2018 | },
2019 | "node_modules/once": {
2020 | "version": "1.4.0",
2021 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
2022 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
2023 | "dev": true,
2024 | "dependencies": {
2025 | "wrappy": "1"
2026 | }
2027 | },
2028 | "node_modules/optionator": {
2029 | "version": "0.9.3",
2030 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
2031 | "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
2032 | "dev": true,
2033 | "dependencies": {
2034 | "@aashutoshrathi/word-wrap": "^1.2.3",
2035 | "deep-is": "^0.1.3",
2036 | "fast-levenshtein": "^2.0.6",
2037 | "levn": "^0.4.1",
2038 | "prelude-ls": "^1.2.1",
2039 | "type-check": "^0.4.0"
2040 | },
2041 | "engines": {
2042 | "node": ">= 0.8.0"
2043 | }
2044 | },
2045 | "node_modules/p-limit": {
2046 | "version": "3.1.0",
2047 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
2048 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
2049 | "dev": true,
2050 | "dependencies": {
2051 | "yocto-queue": "^0.1.0"
2052 | },
2053 | "engines": {
2054 | "node": ">=10"
2055 | },
2056 | "funding": {
2057 | "url": "https://github.com/sponsors/sindresorhus"
2058 | }
2059 | },
2060 | "node_modules/p-locate": {
2061 | "version": "5.0.0",
2062 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
2063 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
2064 | "dev": true,
2065 | "dependencies": {
2066 | "p-limit": "^3.0.2"
2067 | },
2068 | "engines": {
2069 | "node": ">=10"
2070 | },
2071 | "funding": {
2072 | "url": "https://github.com/sponsors/sindresorhus"
2073 | }
2074 | },
2075 | "node_modules/parent-module": {
2076 | "version": "1.0.1",
2077 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
2078 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
2079 | "dev": true,
2080 | "dependencies": {
2081 | "callsites": "^3.0.0"
2082 | },
2083 | "engines": {
2084 | "node": ">=6"
2085 | }
2086 | },
2087 | "node_modules/path-exists": {
2088 | "version": "4.0.0",
2089 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
2090 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
2091 | "dev": true,
2092 | "engines": {
2093 | "node": ">=8"
2094 | }
2095 | },
2096 | "node_modules/path-is-absolute": {
2097 | "version": "1.0.1",
2098 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
2099 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
2100 | "dev": true,
2101 | "engines": {
2102 | "node": ">=0.10.0"
2103 | }
2104 | },
2105 | "node_modules/path-key": {
2106 | "version": "3.1.1",
2107 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
2108 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
2109 | "dev": true,
2110 | "engines": {
2111 | "node": ">=8"
2112 | }
2113 | },
2114 | "node_modules/path-type": {
2115 | "version": "4.0.0",
2116 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
2117 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
2118 | "dev": true,
2119 | "engines": {
2120 | "node": ">=8"
2121 | }
2122 | },
2123 | "node_modules/picocolors": {
2124 | "version": "1.0.0",
2125 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
2126 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
2127 | "dev": true
2128 | },
2129 | "node_modules/picomatch": {
2130 | "version": "2.3.1",
2131 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
2132 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
2133 | "dev": true,
2134 | "engines": {
2135 | "node": ">=8.6"
2136 | },
2137 | "funding": {
2138 | "url": "https://github.com/sponsors/jonschlinkert"
2139 | }
2140 | },
2141 | "node_modules/postcss": {
2142 | "version": "8.4.27",
2143 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz",
2144 | "integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==",
2145 | "dev": true,
2146 | "funding": [
2147 | {
2148 | "type": "opencollective",
2149 | "url": "https://opencollective.com/postcss/"
2150 | },
2151 | {
2152 | "type": "tidelift",
2153 | "url": "https://tidelift.com/funding/github/npm/postcss"
2154 | },
2155 | {
2156 | "type": "github",
2157 | "url": "https://github.com/sponsors/ai"
2158 | }
2159 | ],
2160 | "dependencies": {
2161 | "nanoid": "^3.3.6",
2162 | "picocolors": "^1.0.0",
2163 | "source-map-js": "^1.0.2"
2164 | },
2165 | "engines": {
2166 | "node": "^10 || ^12 || >=14"
2167 | }
2168 | },
2169 | "node_modules/prelude-ls": {
2170 | "version": "1.2.1",
2171 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
2172 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
2173 | "dev": true,
2174 | "engines": {
2175 | "node": ">= 0.8.0"
2176 | }
2177 | },
2178 | "node_modules/proxy-from-env": {
2179 | "version": "1.1.0",
2180 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
2181 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
2182 | },
2183 | "node_modules/punycode": {
2184 | "version": "2.3.0",
2185 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
2186 | "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==",
2187 | "dev": true,
2188 | "engines": {
2189 | "node": ">=6"
2190 | }
2191 | },
2192 | "node_modules/queue-microtask": {
2193 | "version": "1.2.3",
2194 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
2195 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
2196 | "dev": true,
2197 | "funding": [
2198 | {
2199 | "type": "github",
2200 | "url": "https://github.com/sponsors/feross"
2201 | },
2202 | {
2203 | "type": "patreon",
2204 | "url": "https://www.patreon.com/feross"
2205 | },
2206 | {
2207 | "type": "consulting",
2208 | "url": "https://feross.org/support"
2209 | }
2210 | ]
2211 | },
2212 | "node_modules/react": {
2213 | "version": "18.2.0",
2214 | "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
2215 | "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
2216 | "dependencies": {
2217 | "loose-envify": "^1.1.0"
2218 | },
2219 | "engines": {
2220 | "node": ">=0.10.0"
2221 | }
2222 | },
2223 | "node_modules/react-dom": {
2224 | "version": "18.2.0",
2225 | "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz",
2226 | "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==",
2227 | "dependencies": {
2228 | "loose-envify": "^1.1.0",
2229 | "scheduler": "^0.23.0"
2230 | },
2231 | "peerDependencies": {
2232 | "react": "^18.2.0"
2233 | }
2234 | },
2235 | "node_modules/react-is": {
2236 | "version": "18.2.0",
2237 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
2238 | "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="
2239 | },
2240 | "node_modules/react-redux": {
2241 | "version": "8.1.2",
2242 | "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.1.2.tgz",
2243 | "integrity": "sha512-xJKYI189VwfsFc4CJvHqHlDrzyFTY/3vZACbE+rr/zQ34Xx1wQfB4OTOSeOSNrF6BDVe8OOdxIrAnMGXA3ggfw==",
2244 | "dependencies": {
2245 | "@babel/runtime": "^7.12.1",
2246 | "@types/hoist-non-react-statics": "^3.3.1",
2247 | "@types/use-sync-external-store": "^0.0.3",
2248 | "hoist-non-react-statics": "^3.3.2",
2249 | "react-is": "^18.0.0",
2250 | "use-sync-external-store": "^1.0.0"
2251 | },
2252 | "peerDependencies": {
2253 | "@types/react": "^16.8 || ^17.0 || ^18.0",
2254 | "@types/react-dom": "^16.8 || ^17.0 || ^18.0",
2255 | "react": "^16.8 || ^17.0 || ^18.0",
2256 | "react-dom": "^16.8 || ^17.0 || ^18.0",
2257 | "react-native": ">=0.59",
2258 | "redux": "^4 || ^5.0.0-beta.0"
2259 | },
2260 | "peerDependenciesMeta": {
2261 | "@types/react": {
2262 | "optional": true
2263 | },
2264 | "@types/react-dom": {
2265 | "optional": true
2266 | },
2267 | "react-dom": {
2268 | "optional": true
2269 | },
2270 | "react-native": {
2271 | "optional": true
2272 | },
2273 | "redux": {
2274 | "optional": true
2275 | }
2276 | }
2277 | },
2278 | "node_modules/react-router": {
2279 | "version": "6.15.0",
2280 | "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.15.0.tgz",
2281 | "integrity": "sha512-NIytlzvzLwJkCQj2HLefmeakxxWHWAP+02EGqWEZy+DgfHHKQMUoBBjUQLOtFInBMhWtb3hiUy6MfFgwLjXhqg==",
2282 | "dependencies": {
2283 | "@remix-run/router": "1.8.0"
2284 | },
2285 | "engines": {
2286 | "node": ">=14.0.0"
2287 | },
2288 | "peerDependencies": {
2289 | "react": ">=16.8"
2290 | }
2291 | },
2292 | "node_modules/react-router-dom": {
2293 | "version": "6.15.0",
2294 | "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.15.0.tgz",
2295 | "integrity": "sha512-aR42t0fs7brintwBGAv2+mGlCtgtFQeOzK0BM1/OiqEzRejOZtpMZepvgkscpMUnKb8YO84G7s3LsHnnDNonbQ==",
2296 | "dependencies": {
2297 | "@remix-run/router": "1.8.0",
2298 | "react-router": "6.15.0"
2299 | },
2300 | "engines": {
2301 | "node": ">=14.0.0"
2302 | },
2303 | "peerDependencies": {
2304 | "react": ">=16.8",
2305 | "react-dom": ">=16.8"
2306 | }
2307 | },
2308 | "node_modules/redux": {
2309 | "version": "4.2.1",
2310 | "resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
2311 | "integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==",
2312 | "dependencies": {
2313 | "@babel/runtime": "^7.9.2"
2314 | }
2315 | },
2316 | "node_modules/redux-thunk": {
2317 | "version": "2.4.2",
2318 | "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz",
2319 | "integrity": "sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==",
2320 | "peerDependencies": {
2321 | "redux": "^4"
2322 | }
2323 | },
2324 | "node_modules/regenerator-runtime": {
2325 | "version": "0.14.0",
2326 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz",
2327 | "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA=="
2328 | },
2329 | "node_modules/reselect": {
2330 | "version": "4.1.8",
2331 | "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz",
2332 | "integrity": "sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ=="
2333 | },
2334 | "node_modules/resolve-from": {
2335 | "version": "4.0.0",
2336 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
2337 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
2338 | "dev": true,
2339 | "engines": {
2340 | "node": ">=4"
2341 | }
2342 | },
2343 | "node_modules/reusify": {
2344 | "version": "1.0.4",
2345 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
2346 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
2347 | "dev": true,
2348 | "engines": {
2349 | "iojs": ">=1.0.0",
2350 | "node": ">=0.10.0"
2351 | }
2352 | },
2353 | "node_modules/rimraf": {
2354 | "version": "3.0.2",
2355 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
2356 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
2357 | "dev": true,
2358 | "dependencies": {
2359 | "glob": "^7.1.3"
2360 | },
2361 | "bin": {
2362 | "rimraf": "bin.js"
2363 | },
2364 | "funding": {
2365 | "url": "https://github.com/sponsors/isaacs"
2366 | }
2367 | },
2368 | "node_modules/rollup": {
2369 | "version": "3.28.0",
2370 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz",
2371 | "integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==",
2372 | "dev": true,
2373 | "bin": {
2374 | "rollup": "dist/bin/rollup"
2375 | },
2376 | "engines": {
2377 | "node": ">=14.18.0",
2378 | "npm": ">=8.0.0"
2379 | },
2380 | "optionalDependencies": {
2381 | "fsevents": "~2.3.2"
2382 | }
2383 | },
2384 | "node_modules/run-parallel": {
2385 | "version": "1.2.0",
2386 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
2387 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
2388 | "dev": true,
2389 | "funding": [
2390 | {
2391 | "type": "github",
2392 | "url": "https://github.com/sponsors/feross"
2393 | },
2394 | {
2395 | "type": "patreon",
2396 | "url": "https://www.patreon.com/feross"
2397 | },
2398 | {
2399 | "type": "consulting",
2400 | "url": "https://feross.org/support"
2401 | }
2402 | ],
2403 | "dependencies": {
2404 | "queue-microtask": "^1.2.2"
2405 | }
2406 | },
2407 | "node_modules/scheduler": {
2408 | "version": "0.23.0",
2409 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
2410 | "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
2411 | "dependencies": {
2412 | "loose-envify": "^1.1.0"
2413 | }
2414 | },
2415 | "node_modules/semver": {
2416 | "version": "7.5.4",
2417 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
2418 | "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
2419 | "dev": true,
2420 | "dependencies": {
2421 | "lru-cache": "^6.0.0"
2422 | },
2423 | "bin": {
2424 | "semver": "bin/semver.js"
2425 | },
2426 | "engines": {
2427 | "node": ">=10"
2428 | }
2429 | },
2430 | "node_modules/shebang-command": {
2431 | "version": "2.0.0",
2432 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
2433 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
2434 | "dev": true,
2435 | "dependencies": {
2436 | "shebang-regex": "^3.0.0"
2437 | },
2438 | "engines": {
2439 | "node": ">=8"
2440 | }
2441 | },
2442 | "node_modules/shebang-regex": {
2443 | "version": "3.0.0",
2444 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
2445 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
2446 | "dev": true,
2447 | "engines": {
2448 | "node": ">=8"
2449 | }
2450 | },
2451 | "node_modules/slash": {
2452 | "version": "3.0.0",
2453 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
2454 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
2455 | "dev": true,
2456 | "engines": {
2457 | "node": ">=8"
2458 | }
2459 | },
2460 | "node_modules/source-map-js": {
2461 | "version": "1.0.2",
2462 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
2463 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
2464 | "dev": true,
2465 | "engines": {
2466 | "node": ">=0.10.0"
2467 | }
2468 | },
2469 | "node_modules/strip-ansi": {
2470 | "version": "6.0.1",
2471 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
2472 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
2473 | "dev": true,
2474 | "dependencies": {
2475 | "ansi-regex": "^5.0.1"
2476 | },
2477 | "engines": {
2478 | "node": ">=8"
2479 | }
2480 | },
2481 | "node_modules/strip-json-comments": {
2482 | "version": "3.1.1",
2483 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
2484 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
2485 | "dev": true,
2486 | "engines": {
2487 | "node": ">=8"
2488 | },
2489 | "funding": {
2490 | "url": "https://github.com/sponsors/sindresorhus"
2491 | }
2492 | },
2493 | "node_modules/supports-color": {
2494 | "version": "7.2.0",
2495 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
2496 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
2497 | "dev": true,
2498 | "dependencies": {
2499 | "has-flag": "^4.0.0"
2500 | },
2501 | "engines": {
2502 | "node": ">=8"
2503 | }
2504 | },
2505 | "node_modules/text-table": {
2506 | "version": "0.2.0",
2507 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
2508 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
2509 | "dev": true
2510 | },
2511 | "node_modules/to-regex-range": {
2512 | "version": "5.0.1",
2513 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
2514 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
2515 | "dev": true,
2516 | "dependencies": {
2517 | "is-number": "^7.0.0"
2518 | },
2519 | "engines": {
2520 | "node": ">=8.0"
2521 | }
2522 | },
2523 | "node_modules/ts-api-utils": {
2524 | "version": "1.0.1",
2525 | "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.1.tgz",
2526 | "integrity": "sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==",
2527 | "dev": true,
2528 | "engines": {
2529 | "node": ">=16.13.0"
2530 | },
2531 | "peerDependencies": {
2532 | "typescript": ">=4.2.0"
2533 | }
2534 | },
2535 | "node_modules/type-check": {
2536 | "version": "0.4.0",
2537 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
2538 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
2539 | "dev": true,
2540 | "dependencies": {
2541 | "prelude-ls": "^1.2.1"
2542 | },
2543 | "engines": {
2544 | "node": ">= 0.8.0"
2545 | }
2546 | },
2547 | "node_modules/type-fest": {
2548 | "version": "0.20.2",
2549 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
2550 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
2551 | "dev": true,
2552 | "engines": {
2553 | "node": ">=10"
2554 | },
2555 | "funding": {
2556 | "url": "https://github.com/sponsors/sindresorhus"
2557 | }
2558 | },
2559 | "node_modules/typescript": {
2560 | "version": "5.1.6",
2561 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
2562 | "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
2563 | "dev": true,
2564 | "bin": {
2565 | "tsc": "bin/tsc",
2566 | "tsserver": "bin/tsserver"
2567 | },
2568 | "engines": {
2569 | "node": ">=14.17"
2570 | }
2571 | },
2572 | "node_modules/uri-js": {
2573 | "version": "4.4.1",
2574 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
2575 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
2576 | "dev": true,
2577 | "dependencies": {
2578 | "punycode": "^2.1.0"
2579 | }
2580 | },
2581 | "node_modules/use-sync-external-store": {
2582 | "version": "1.2.0",
2583 | "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
2584 | "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==",
2585 | "peerDependencies": {
2586 | "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
2587 | }
2588 | },
2589 | "node_modules/vite": {
2590 | "version": "4.4.9",
2591 | "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.9.tgz",
2592 | "integrity": "sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==",
2593 | "dev": true,
2594 | "dependencies": {
2595 | "esbuild": "^0.18.10",
2596 | "postcss": "^8.4.27",
2597 | "rollup": "^3.27.1"
2598 | },
2599 | "bin": {
2600 | "vite": "bin/vite.js"
2601 | },
2602 | "engines": {
2603 | "node": "^14.18.0 || >=16.0.0"
2604 | },
2605 | "funding": {
2606 | "url": "https://github.com/vitejs/vite?sponsor=1"
2607 | },
2608 | "optionalDependencies": {
2609 | "fsevents": "~2.3.2"
2610 | },
2611 | "peerDependencies": {
2612 | "@types/node": ">= 14",
2613 | "less": "*",
2614 | "lightningcss": "^1.21.0",
2615 | "sass": "*",
2616 | "stylus": "*",
2617 | "sugarss": "*",
2618 | "terser": "^5.4.0"
2619 | },
2620 | "peerDependenciesMeta": {
2621 | "@types/node": {
2622 | "optional": true
2623 | },
2624 | "less": {
2625 | "optional": true
2626 | },
2627 | "lightningcss": {
2628 | "optional": true
2629 | },
2630 | "sass": {
2631 | "optional": true
2632 | },
2633 | "stylus": {
2634 | "optional": true
2635 | },
2636 | "sugarss": {
2637 | "optional": true
2638 | },
2639 | "terser": {
2640 | "optional": true
2641 | }
2642 | }
2643 | },
2644 | "node_modules/which": {
2645 | "version": "2.0.2",
2646 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
2647 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
2648 | "dev": true,
2649 | "dependencies": {
2650 | "isexe": "^2.0.0"
2651 | },
2652 | "bin": {
2653 | "node-which": "bin/node-which"
2654 | },
2655 | "engines": {
2656 | "node": ">= 8"
2657 | }
2658 | },
2659 | "node_modules/wrappy": {
2660 | "version": "1.0.2",
2661 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
2662 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
2663 | "dev": true
2664 | },
2665 | "node_modules/yallist": {
2666 | "version": "4.0.0",
2667 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
2668 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
2669 | "dev": true
2670 | },
2671 | "node_modules/yocto-queue": {
2672 | "version": "0.1.0",
2673 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
2674 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
2675 | "dev": true,
2676 | "engines": {
2677 | "node": ">=10"
2678 | },
2679 | "funding": {
2680 | "url": "https://github.com/sponsors/sindresorhus"
2681 | }
2682 | }
2683 | }
2684 | }
2685 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "pizza-app",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "tsc && vite build",
9 | "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
10 | "preview": "vite preview"
11 | },
12 | "dependencies": {
13 | "@reduxjs/toolkit": "^1.9.5",
14 | "axios": "^1.4.0",
15 | "classnames": "^2.3.2",
16 | "react": "^18.2.0",
17 | "react-dom": "^18.2.0",
18 | "react-redux": "^8.1.2",
19 | "react-router-dom": "^6.15.0"
20 | },
21 | "devDependencies": {
22 | "@types/react": "^18.2.15",
23 | "@types/react-dom": "^18.2.7",
24 | "@typescript-eslint/eslint-plugin": "^6.0.0",
25 | "@typescript-eslint/parser": "^6.0.0",
26 | "@vitejs/plugin-react-swc": "^3.3.2",
27 | "eslint": "^8.45.0",
28 | "eslint-plugin-react-hooks": "^4.6.0",
29 | "eslint-plugin-react-refresh": "^0.4.3",
30 | "typescript": "^5.0.2",
31 | "vite": "^4.4.5"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/public/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AlariCode/11-react-2/f2f698bad2f922dac6f21e39c79678ffa298344f/public/avatar.png
--------------------------------------------------------------------------------
/public/cart-button-icon.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/public/cart-icon.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/public/delete-icon.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/public/exit-icon.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/public/logo.svg:
--------------------------------------------------------------------------------
1 |
30 |
--------------------------------------------------------------------------------
/public/menu-icon.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/public/minus-icon.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/public/pizza.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AlariCode/11-react-2/f2f698bad2f922dac6f21e39c79678ffa298344f/public/pizza.png
--------------------------------------------------------------------------------
/public/plus-icon.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/public/product-demo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AlariCode/11-react-2/f2f698bad2f922dac6f21e39c79678ffa298344f/public/product-demo.png
--------------------------------------------------------------------------------
/public/search-icon.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/public/star-icon.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/public/vite.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/assets/react.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/Button/Button.module.css:
--------------------------------------------------------------------------------
1 | .button {
2 | font-family: inherit;
3 | cursor: pointer;
4 | transition: background 0.25s;
5 | border: none;
6 | color: var(--white-color);
7 | border-radius: 29px;
8 | font-style: normal;
9 | font-weight: 400;
10 | }
11 |
12 | .small {
13 | font-size: 16px;
14 | padding: 10px 25px;
15 | }
16 |
17 | .big {
18 | font-size: 15px;
19 | text-transform: uppercase;
20 | padding: 20px 60px;
21 | box-shadow: 0px 10px 40px 0px rgba(122, 129, 190, 0.16);
22 | }
23 |
24 | .accent {
25 | background: var(--primary-color);
26 | }
27 |
28 | .accent:hover {
29 | background: var(--primary-hover-color);
30 | }
--------------------------------------------------------------------------------
/src/components/Button/Button.props.ts:
--------------------------------------------------------------------------------
1 | import { ButtonHTMLAttributes, ReactNode } from 'react';
2 |
3 | export interface ButtonProps extends ButtonHTMLAttributes {
4 | children: ReactNode;
5 | appearence?: 'big' | 'small';
6 | }
--------------------------------------------------------------------------------
/src/components/Button/Button.tsx:
--------------------------------------------------------------------------------
1 | import styles from './Button.module.css';
2 | import { ButtonProps } from './Button.props';
3 | import cn from 'classnames';
4 |
5 | function Button({ children, className, appearence = 'small', ...props }: ButtonProps) {
6 | return (
7 |
11 | );
12 | }
13 |
14 | export default Button;
--------------------------------------------------------------------------------
/src/components/CartItem/CartItem.module.css:
--------------------------------------------------------------------------------
1 | .item {
2 | display: flex;
3 | gap: 20px;
4 | max-width: 512px;
5 | margin-bottom: 27px;
6 | }
7 |
8 | .image {
9 | width: 82px;
10 | height: 82px;
11 | background-size: cover;
12 | filter: drop-shadow(0px 8px 25px rgba(224, 219, 196, 0.90));
13 | border-radius: 20px;
14 | }
15 |
16 | .actions {
17 | margin-left: auto;
18 | display: flex;
19 | gap: 10px;
20 | align-items: center;
21 | align-self: flex-start;
22 | }
23 |
24 | .description {
25 | display: flex;
26 | flex-direction: column;
27 | gap: 10px;
28 | }
29 |
30 | .name {
31 | color: var(--text-color);
32 | font-size: 18px;
33 | font-style: normal;
34 | font-weight: 600;
35 | line-height: normal;
36 | }
37 |
38 | .price {
39 | color: var(--primary-color);
40 | font-size: 16px;
41 | font-style: normal;
42 | font-weight: 600;
43 | line-height: normal;
44 | }
45 |
46 | .minus {
47 | display: flex;
48 | align-items: center;
49 | justify-content: center;
50 | background: none;
51 | border: 1px solid var(--primary-color);
52 | border-radius: 50%;
53 | width: 29px;
54 | height: 29px;
55 | }
56 |
57 | .plus {
58 | display: flex;
59 | align-items: center;
60 | justify-content: center;
61 | background: var(--primary-color);
62 | border: 1px solid var(--primary-color);
63 | border-radius: 50%;
64 | width: 29px;
65 | height: 29px;
66 | }
67 |
68 | .remove {
69 | display: flex;
70 | align-items: center;
71 | justify-content: center;
72 | background: none;
73 | border: none;
74 | width: 29px;
75 | height: 29px;
76 | }
77 |
78 | .number {
79 | color: var(--text-color);
80 | font-size: 16px;
81 | font-style: normal;
82 | font-weight: 600;
83 | line-height: normal;
84 | }
--------------------------------------------------------------------------------
/src/components/CartItem/CartItem.props.ts:
--------------------------------------------------------------------------------
1 | export interface CartItemProps {
2 | id: number;
3 | name: string;
4 | image: string;
5 | price: number;
6 | count: number;
7 | }
--------------------------------------------------------------------------------
/src/components/CartItem/CartItem.tsx:
--------------------------------------------------------------------------------
1 | import styles from './CartItem.module.css';
2 | import { useDispatch } from 'react-redux';
3 | import { AppDispath } from '../../store/store';
4 | import { cartActions } from '../../store/cart.slice';
5 | import { CartItemProps } from './CartItem.props';
6 |
7 | function CartItem(props: CartItemProps) {
8 | const dispatch = useDispatch();
9 |
10 | const increase = () => {
11 | dispatch(cartActions.add(props.id));
12 | };
13 |
14 | const descrease = () => {
15 | dispatch(cartActions.remove(props.id));
16 | };
17 |
18 | const remove = () => {
19 | dispatch(cartActions.delete(props.id));
20 | };
21 |
22 |
23 | return (
24 |
25 |
26 |
27 |
{props.name}
28 |
{props.price} ₽
29 |
30 |
31 |
34 |
{props.count}
35 |
38 |
41 |
42 |
43 | );
44 | }
45 |
46 | export default CartItem;
--------------------------------------------------------------------------------
/src/components/Headling/Headling.module.css:
--------------------------------------------------------------------------------
1 | .h1 {
2 | color: var(--text-color);
3 | font-size: 36.413px;
4 | font-style: normal;
5 | font-weight: 600;
6 | line-height: 120%;
7 | margin: 0;
8 | }
--------------------------------------------------------------------------------
/src/components/Headling/Headling.props.ts:
--------------------------------------------------------------------------------
1 | import { HTMLAttributes, ReactNode } from 'react';
2 |
3 | export interface HeadlingProps extends HTMLAttributes {
4 | children: ReactNode;
5 | }
--------------------------------------------------------------------------------
/src/components/Headling/Headling.tsx:
--------------------------------------------------------------------------------
1 | import styles from './Headling.module.css';
2 | import cn from 'classnames';
3 | import { HeadlingProps } from './Headling.props';
4 |
5 | function Headling({ children, className, ...props }: HeadlingProps) {
6 | return (
7 | {children}
8 | );
9 | }
10 |
11 | export default Headling;
--------------------------------------------------------------------------------
/src/components/Input/Input.module.css:
--------------------------------------------------------------------------------
1 | .input {
2 | font-size: 17px;
3 | font-style: normal;
4 | font-weight: 400;
5 | color: var(--text-color);
6 | border: 1px solid #EEE;
7 | box-shadow: 15px 20px 45px 0px rgba(233, 233, 233, 0.25);
8 | border-radius: 10px;
9 | padding: 20px;
10 | }
--------------------------------------------------------------------------------
/src/components/Input/Input.props.ts:
--------------------------------------------------------------------------------
1 | import { InputHTMLAttributes } from 'react';
2 |
3 | export interface InputProps extends InputHTMLAttributes {
4 | isValid?: boolean;
5 | }
--------------------------------------------------------------------------------
/src/components/Input/Input.tsx:
--------------------------------------------------------------------------------
1 | import { forwardRef } from 'react';
2 | import styles from './Input.module.css';
3 | import cn from 'classnames';
4 | import { InputProps } from './Input.props';
5 |
6 | const Input = forwardRef(function Input({ isValid = true, className, ...props }, ref) {
7 | return (
8 |
11 | );
12 | });
13 |
14 | export default Input;
--------------------------------------------------------------------------------
/src/components/ProductCard/ProductCard.module.css:
--------------------------------------------------------------------------------
1 | .head {
2 | position: relative;
3 | min-height: 165px;
4 | border-radius: 19px;
5 | }
6 |
7 | .card {
8 | background: var(--white-color);
9 | border-radius: 19px;
10 | box-shadow: 18.21428680419922px 18.21428680419922px 36.42857360839844px 0px rgba(211, 209, 216, 0.25);
11 | width: 320px;
12 | }
13 |
14 | .footer {
15 | padding: 12px;
16 | }
17 |
18 | .title {
19 | color: var(--text-color);
20 | font-size: 18.214px;
21 | font-style: normal;
22 | font-weight: 600;
23 | line-height: normal;
24 | }
25 |
26 | .description {
27 | color: var(--text-secondary-color);
28 | font-size: 14.571px;
29 | font-style: normal;
30 | font-weight: 400;
31 | line-height: normal;
32 | }
33 |
34 | .link {
35 | text-decoration: none;
36 | }
37 |
38 | .price {
39 | position: absolute;
40 | top: 15px;
41 | left: 15px;
42 | background: var(--white-color);
43 | padding: 3px 10px;
44 | border-radius: 20px;
45 | color: #111719;
46 | font-size: 20px;
47 | font-style: normal;
48 | font-weight: 400;
49 | line-height: normal;
50 | }
51 |
52 | .currency {
53 | color: var(--primary-color);
54 | }
55 |
56 | .rating {
57 | position: absolute;
58 | bottom: -12px;
59 | left: 15px;
60 | background: var(--white-color);
61 | padding: 3px 8px;
62 | border-radius: 20px;
63 | color: #111719;
64 | font-size: 12px;
65 | font-style: normal;
66 | font-weight: 400;
67 | line-height: normal;
68 | box-shadow: 0px 6.0714287757873535px 24.285715103149414px 0px rgba(254, 114, 76, 0.20);
69 | }
70 |
71 | .add-to-cart {
72 | position: absolute;
73 | top: 15px;
74 | right: 15px;
75 | background: var(--primary-color);
76 | border-radius: 50%;
77 | width: 34px;
78 | height: 34px;
79 | border: none;
80 | cursor: pointer;
81 | }
82 |
83 | .add-to-cart:hover {
84 | background: var(--primary-hover-color);
85 | }
--------------------------------------------------------------------------------
/src/components/ProductCard/ProductCard.props.ts:
--------------------------------------------------------------------------------
1 | export interface ProductCardProps {
2 | id: number;
3 | name: string;
4 | description: string;
5 | image: string;
6 | price: number;
7 | rating: number;
8 | }
--------------------------------------------------------------------------------
/src/components/ProductCard/ProductCard.tsx:
--------------------------------------------------------------------------------
1 | import { Link } from 'react-router-dom';
2 | import styles from './ProductCard.module.css';
3 | import { ProductCardProps } from './ProductCard.props';
4 | import { MouseEvent } from 'react';
5 | import { useDispatch } from 'react-redux';
6 | import { AppDispath } from '../../store/store';
7 | import { cartActions } from '../../store/cart.slice';
8 |
9 | function ProductCard(props: ProductCardProps) {
10 | const dispatch = useDispatch();
11 |
12 | const add = (e: MouseEvent) => {
13 | e.preventDefault();
14 | dispatch(cartActions.add(props.id));
15 | };
16 |
17 | return (
18 |
19 |
20 |
21 |
22 | {props.price}
23 | ₽
24 |
25 |
28 |
29 | {props.rating}
30 |

31 |
32 |
33 |
34 |
{props.name}
35 |
{props.description}
36 |
37 |
38 |
39 | );
40 | }
41 |
42 | export default ProductCard;
--------------------------------------------------------------------------------
/src/components/Search/Search.module.css:
--------------------------------------------------------------------------------
1 | .input {
2 | font-size: 14px;
3 | font-style: normal;
4 | font-weight: 400;
5 | color: var(--text-color);
6 | background-color: #FCFCFD;
7 | border: 1px solid #EFEFEF;
8 | box-shadow: 15px 20px 45px 0px rgba(233, 233, 233, 0.25);
9 | border-radius: 10px;
10 | padding: 16px 30px 16px 44px;
11 | min-width: 200px;
12 | }
13 |
14 | .input-wrapper {
15 | position: relative;
16 | }
17 |
18 | .icon {
19 | position: absolute;
20 | left: 17px;
21 | top: 17px;
22 | }
--------------------------------------------------------------------------------
/src/components/Search/Search.props.ts:
--------------------------------------------------------------------------------
1 | import { InputHTMLAttributes } from 'react';
2 |
3 | export interface SearchProps extends InputHTMLAttributes {
4 | isValid?: boolean;
5 | }
--------------------------------------------------------------------------------
/src/components/Search/Search.tsx:
--------------------------------------------------------------------------------
1 | import { forwardRef } from 'react';
2 | import styles from './Search.module.css';
3 | import cn from 'classnames';
4 | import { SearchProps } from './Search.props';
5 |
6 | const Search = forwardRef(function Input({ isValid = true, className, ...props }, ref) {
7 | return (
8 |
9 |
12 |

13 |
14 | );
15 | });
16 |
17 | export default Search;
--------------------------------------------------------------------------------
/src/helpers/API.ts:
--------------------------------------------------------------------------------
1 | export const PREFIX = 'https://purpleschool.ru/pizza-api-demo';
--------------------------------------------------------------------------------
/src/helpers/RequireAuth.tsx:
--------------------------------------------------------------------------------
1 | import { ReactNode } from 'react';
2 | import { useSelector } from 'react-redux';
3 | import { Navigate } from 'react-router-dom';
4 | import { RootState } from '../store/store';
5 |
6 | export const RequireAuth = ({ children }: { children: ReactNode }) => {
7 | const jwt = useSelector((s: RootState) => s.user.jwt);
8 | if (!jwt) {
9 | return ;
10 | }
11 | return children;
12 | };
--------------------------------------------------------------------------------
/src/index.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --font: 'Open Sans', sans-serif;
3 | --primary-color: #FE724C;
4 | --primary-hover-color: #df6442;
5 | --text-color: #000000;
6 | --text-secondary-color: #5B5B5E;
7 | --white-color: #FFFFFF;
8 | --separator-color: #D4D6E0;
9 | }
10 |
11 | body {
12 | font-family: 'Open Sans', sans-serif;
13 | margin: 0;
14 | }
--------------------------------------------------------------------------------
/src/interfaces/auth.interface.ts:
--------------------------------------------------------------------------------
1 | export interface LoginResponse {
2 | access_token: string;
3 | }
--------------------------------------------------------------------------------
/src/interfaces/product.interface.ts:
--------------------------------------------------------------------------------
1 | export interface Product {
2 | id: number
3 | name: string
4 | price: number
5 | ingredients: string[]
6 | image: string
7 | rating: number
8 | }
9 |
--------------------------------------------------------------------------------
/src/interfaces/user.interface.ts:
--------------------------------------------------------------------------------
1 | export interface Profile {
2 | id: number;
3 | email: string;
4 | address: string;
5 | name: string;
6 | phone: string;
7 | }
--------------------------------------------------------------------------------
/src/layout/Auth/AuthLayout.module.css:
--------------------------------------------------------------------------------
1 | .layout {
2 | display: flex;
3 | min-height: 100vh;
4 | }
5 |
6 | .logo {
7 | flex: 1;
8 | display: flex;
9 | align-items: center;
10 | justify-content: center;
11 | }
12 |
13 | .content {
14 | border-left: 1px solid var(--separator-color);
15 | flex: 1;
16 | display: flex;
17 | align-items: center;
18 | justify-content: center;
19 | }
--------------------------------------------------------------------------------
/src/layout/Auth/AuthLayout.tsx:
--------------------------------------------------------------------------------
1 | import { Outlet } from 'react-router-dom';
2 | import styles from './AuthLayout.module.css';
3 |
4 | export function AuthLayout() {
5 | return
6 |
7 |

8 |
9 |
10 |
11 |
12 |
;
13 | }
--------------------------------------------------------------------------------
/src/layout/Menu/Layout.module.css:
--------------------------------------------------------------------------------
1 | .layout {
2 | display: flex;
3 | min-height: 100vh;
4 | }
5 |
6 | .sidebar {
7 | padding: 30px;
8 | border-right: 1px solid var(--separator-color);
9 | display: flex;
10 | flex-direction: column;
11 | }
12 |
13 | .exit {
14 | margin-top: auto;
15 | display: flex;
16 | align-items: center;
17 | justify-content: center;
18 | gap: 9px;
19 | }
20 |
21 | .menu {
22 | display: flex;
23 | flex-direction: column;
24 | gap: 35px;
25 | }
26 |
27 | .link {
28 | display: flex;
29 | align-items: center;
30 | gap: 14px;
31 | text-decoration: none;
32 | color: var(--text-color);
33 | }
34 |
35 | .link:hover {
36 | color: var(--primary-color);
37 | }
38 |
39 | .active {
40 | color: var(--primary-color);
41 | }
42 |
43 | .user {
44 | margin-bottom: 46px;
45 | }
46 |
47 | .avatar {
48 | margin-bottom: 20px;
49 | filter: drop-shadow(0px 8px 40px rgba(255, 197, 41, 0.25));
50 | }
51 |
52 | .name {
53 | font-size: 20px;
54 | font-style: normal;
55 | font-weight: 700;
56 | line-height: normal;
57 | color: var(--text-color);
58 | }
59 |
60 | .email {
61 | font-family: Open Sans;
62 | font-size: 14px;
63 | font-style: normal;
64 | font-weight: 400;
65 | line-height: normal;
66 | color: #9EA1B1;
67 | }
68 |
69 | .content {
70 | padding: 40px 60px;
71 | width: 100%;
72 | }
73 |
74 | .cart-count {
75 | background: var(--primary-color);
76 | border-radius: 50%;
77 | width: 20px;
78 | height: 20px;
79 | display: flex;
80 | align-items: center;
81 | justify-content: center;
82 | font-size: 12px;
83 | color: var(--white-color);
84 | }
--------------------------------------------------------------------------------
/src/layout/Menu/Layout.tsx:
--------------------------------------------------------------------------------
1 | import { NavLink, Outlet, useNavigate } from 'react-router-dom';
2 | import styles from './Layout.module.css';
3 | import Button from '../../components/Button/Button';
4 | import cn from 'classnames';
5 | import { useDispatch, useSelector } from 'react-redux';
6 | import { AppDispath, RootState } from '../../store/store';
7 | import { getProfile, userActions } from '../../store/user.slice';
8 | import { useEffect } from 'react';
9 |
10 | export function Layout() {
11 | const navigate = useNavigate();
12 | const dispatch = useDispatch();
13 | const profile = useSelector((s: RootState) => s.user.profile);
14 | const items = useSelector((s: RootState) => s.cart.items);
15 |
16 | useEffect(() => {
17 | dispatch(getProfile());
18 | }, [dispatch]);
19 |
20 | const logout = () => {
21 | dispatch(userActions.logout());
22 | navigate('/auth/login');
23 | };
24 |
25 | return
26 |
27 |
28 |

29 |
{profile?.name}
30 |
{profile?.email}
31 |
32 |
33 |
cn(styles['link'], {
34 | [styles.active]: isActive
35 | })}>
36 |
37 | Меню
38 |
cn(styles['link'], {
39 | [styles.active]: isActive
40 | })}>
41 |
Корзина {items.reduce((acc, item) => acc += item.count, 0)}
42 |
43 |
44 |
48 |
49 |
50 |
51 |
52 |
;
53 | }
--------------------------------------------------------------------------------
/src/main.tsx:
--------------------------------------------------------------------------------
1 | import React, { Suspense, lazy } from 'react';
2 | import ReactDOM from 'react-dom/client';
3 | import './index.css';
4 | import { RouterProvider, createBrowserRouter, defer } from 'react-router-dom';
5 | import { Cart } from './pages/Cart/Cart.tsx';
6 | import { Error as ErropPage } from './pages/Error/Error.tsx';
7 | import { Layout } from './layout/Menu/Layout.tsx';
8 | import { Product } from './pages/Product/Product.tsx';
9 | import axios from 'axios';
10 | import { PREFIX } from './helpers/API.ts';
11 | import { AuthLayout } from './layout/Auth/AuthLayout.tsx';
12 | import { Login } from './pages/Login/Login.tsx';
13 | import { Register } from './pages/Register/Register.tsx';
14 | import { RequireAuth } from './helpers/RequireAuth.tsx';
15 | import { Provider } from 'react-redux';
16 | import { store } from './store/store.ts';
17 | import { Success } from './pages/Success/Success.tsx';
18 |
19 | const Menu = lazy(() => import('./pages/Menu/Menu'));
20 |
21 | const router = createBrowserRouter([
22 | {
23 | path: '/',
24 | element: ,
25 | children: [
26 | {
27 | path: '/',
28 | element: Загрузка...>}>
29 | },
30 | {
31 | path: '/success',
32 | element:
33 | },
34 | {
35 | path: '/cart',
36 | element:
37 | },
38 | {
39 | path: '/product/:id',
40 | element: ,
41 | errorElement: <>Ошибка>,
42 | loader: async ({ params }) => {
43 | return defer({
44 | data: new Promise((resolve, reject) => {
45 | setTimeout(() => {
46 | axios.get(`${PREFIX}/products/${params.id}`).then(data => resolve(data)).catch(e => reject(e));
47 | }, 2000);
48 | })
49 | });
50 | }
51 | }
52 | ]
53 | },
54 | {
55 | path: '/auth',
56 | element: ,
57 | children: [
58 | {
59 | path: 'login',
60 | element:
61 | }, {
62 | path: 'register',
63 | element:
64 | }
65 | ]
66 | },
67 | {
68 | path: '*',
69 | element:
70 | }
71 | ]);
72 |
73 | ReactDOM.createRoot(document.getElementById('root')!).render(
74 |
75 |
76 |
77 |
78 |
79 | );
80 |
--------------------------------------------------------------------------------
/src/pages/Cart/Cart.module.css:
--------------------------------------------------------------------------------
1 | .headling {
2 | margin-bottom: 40px;
3 | }
4 |
5 | .line {
6 | max-width: 512px;
7 | display: flex;
8 | justify-content: space-between;
9 | padding: 17px 0;
10 | }
11 |
12 | .hr {
13 | max-width: 512px;
14 | margin: 0;
15 | border: 1px solid #F1F2F3;
16 | }
17 |
18 | .line span {
19 | color: var(--sub-color, #9796A1);
20 | }
21 |
22 | .text {
23 | color: var(--text-color);
24 | font-size: 16px;
25 | font-style: normal;
26 | font-weight: 400;
27 | line-height: normal;
28 | }
29 |
30 | .price {
31 | color: var(--text-color);
32 | font-size: 19px;
33 | font-style: normal;
34 | font-weight: 400;
35 | line-height: normal;
36 | }
37 |
38 | .total-count {
39 | color: #BEBEBE;
40 | font-size: 14px;
41 | font-style: normal;
42 | font-weight: 300;
43 | line-height: normal;
44 | }
45 |
46 | .checkout {
47 | max-width: 512px;
48 | display: flex;
49 | align-items: center;
50 | justify-content: center;
51 | margin-top: 70px;
52 | }
--------------------------------------------------------------------------------
/src/pages/Cart/Cart.tsx:
--------------------------------------------------------------------------------
1 | import { useDispatch, useSelector } from 'react-redux';
2 | import Headling from '../../components/Headling/Headling';
3 | import { AppDispath, RootState } from '../../store/store';
4 | import CartItem from '../../components/CartItem/CartItem';
5 | import { useEffect, useState } from 'react';
6 | import { Product } from '../../interfaces/product.interface';
7 | import axios from 'axios';
8 | import { PREFIX } from '../../helpers/API';
9 | import styles from './Cart.module.css';
10 | import Button from '../../components/Button/Button';
11 | import { useNavigate } from 'react-router-dom';
12 | import { cartActions } from '../../store/cart.slice';
13 |
14 | const DELIVERY_FEE = 169;
15 |
16 | export function Cart() {
17 | const [cartProducts, setCardProducts] = useState([]);
18 | const items = useSelector((s: RootState) => s.cart.items);
19 | const jwt = useSelector((s: RootState) => s.user.jwt);
20 | const dispatch = useDispatch();
21 | const navigate = useNavigate();
22 |
23 | const total = items.map(i => {
24 | const product = cartProducts.find(p => p.id === i.id);
25 | if (!product) {
26 | return 0;
27 | }
28 | return i.count * product.price;
29 | }).reduce((acc, i) => acc += i, 0);
30 |
31 |
32 | const getItem = async (id: number) => {
33 | const { data } = await axios.get(`${PREFIX}/products/${id}`);
34 | return data;
35 | };
36 |
37 | const loadAllItems = async () => {
38 | const res = await Promise.all(items.map(i => getItem(i.id)));
39 | setCardProducts(res);
40 | };
41 |
42 | const checkout = async () => {
43 | await axios.post(`${PREFIX}/order`, {
44 | products: items
45 | }, {
46 | headers: {
47 | Authorization: `Bearer ${jwt}`
48 | }
49 | });
50 | dispatch(cartActions.clean());
51 | navigate('/success');
52 | };
53 |
54 | useEffect(() => {
55 | loadAllItems();
56 | }, [items]);
57 |
58 | return <>
59 | Корзина
60 | {items.map(i => {
61 | const product = cartProducts.find(p => p.id === i.id);
62 | if (!product) {
63 | return;
64 | }
65 | return ;
66 | })}
67 |
68 |
Итог
69 |
{total} ₽
70 |
71 |
72 |
73 |
Доставка
74 |
{DELIVERY_FEE} ₽
75 |
76 |
77 |
78 |
Итог ({items.length})
79 |
{total + DELIVERY_FEE} ₽
80 |
81 |
82 |
83 |
84 | >;
85 | }
--------------------------------------------------------------------------------
/src/pages/Error/Error.tsx:
--------------------------------------------------------------------------------
1 | export function Error() {
2 | return <>Error>;
3 | }
--------------------------------------------------------------------------------
/src/pages/Login/Login.module.css:
--------------------------------------------------------------------------------
1 | .login {
2 | display: flex;
3 | flex-direction: column;
4 | gap: 30px;
5 | width: 100%;
6 | max-width: 500px;
7 | }
8 |
9 | .form {
10 | display: flex;
11 | flex-direction: column;
12 | gap: 30px;
13 | }
14 |
15 | .field {
16 | display: flex;
17 | flex-direction: column;
18 | gap: 5px;
19 | }
20 |
21 | .field label {
22 | color: #C4C4C4;
23 | font-size: 17px;
24 | font-style: normal;
25 | font-weight: 400;
26 | }
27 |
28 | .links {
29 | display: flex;
30 | flex-direction: column;
31 | align-items: center;
32 | color: var(--text-secondaty-color);
33 | font-size: 14px;
34 | }
35 |
36 | .links a {
37 | text-decoration: none;
38 | color: var(--primary-color);
39 | }
40 |
41 | .error {
42 | background: #FFC529;
43 | color: white;
44 | padding: 20px;
45 | }
--------------------------------------------------------------------------------
/src/pages/Login/Login.tsx:
--------------------------------------------------------------------------------
1 | import { Link, useNavigate } from 'react-router-dom';
2 | import Button from '../../components/Button/Button';
3 | import Headling from '../../components/Headling/Headling';
4 | import Input from '../../components/Input/Input';
5 | import styles from './Login.module.css';
6 | import { FormEvent, useEffect } from 'react';
7 | import { useDispatch, useSelector } from 'react-redux';
8 | import { AppDispath, RootState } from '../../store/store';
9 | import { login, userActions } from '../../store/user.slice';
10 |
11 | export type LoginForm = {
12 | email: {
13 | value: string;
14 | };
15 | password: {
16 | value: string;
17 | };
18 | }
19 |
20 | export function Login() {
21 | const navigate = useNavigate();
22 | const dispatch = useDispatch();
23 | const { jwt, loginErrorMessage } = useSelector((s: RootState) => s.user);
24 |
25 | useEffect(() => {
26 | if (jwt) {
27 | navigate('/');
28 | }
29 | }, [jwt, navigate]);
30 |
31 | const submit = async (e: FormEvent) => {
32 | e.preventDefault();
33 | dispatch(userActions.clearLoginError());
34 | const target = e.target as typeof e.target & LoginForm;
35 | const { email, password } = target;
36 | await sendLogin(email.value, password.value);
37 | };
38 |
39 | const sendLogin = async (email: string, password: string) => {
40 | dispatch(login({ email, password }));
41 | };
42 |
43 | return
44 |
Вход
45 | {loginErrorMessage &&
{loginErrorMessage}
}
46 |
57 |
58 |
Нет акканута?
59 |
Зарегистрироваться
60 |
61 |
;
62 | }
--------------------------------------------------------------------------------
/src/pages/Menu/Menu.module.css:
--------------------------------------------------------------------------------
1 | .head {
2 | display: flex;
3 | justify-content: space-between;
4 | }
--------------------------------------------------------------------------------
/src/pages/Menu/Menu.tsx:
--------------------------------------------------------------------------------
1 | import { ChangeEvent, useEffect, useState } from 'react';
2 | import Headling from '../../components/Headling/Headling';
3 | import Search from '../../components/Search/Search';
4 | import { PREFIX } from '../../helpers/API';
5 | import { Product } from '../../interfaces/product.interface';
6 | import styles from './Menu.module.css';
7 | import axios, { AxiosError } from 'axios';
8 | import { MenuList } from './MenuList/MenuList';
9 |
10 | export function Menu() {
11 | const [products, setProducts] = useState([]);
12 | const [isLoading, setIsLoading] = useState(false);
13 | const [error, setError] = useState();
14 | const [filter, setFilter] = useState();
15 |
16 | useEffect(() => {
17 | getMenu(filter);
18 | }, [filter]);
19 |
20 | const getMenu = async (name?: string) => {
21 | try {
22 | setIsLoading(true);
23 | const { data } = await axios.get(`${PREFIX}/products`, {
24 | params: {
25 | name
26 | }
27 | });
28 | setProducts(data);
29 | setIsLoading(false);
30 | } catch (e) {
31 | console.error(e);
32 | if (e instanceof AxiosError) {
33 | setError(e.message);
34 | }
35 | setIsLoading(false);
36 | return;
37 | }
38 | };
39 |
40 | const updateFilter = (e: ChangeEvent) => {
41 | setFilter(e.target.value);
42 | };
43 |
44 |
45 | return <>
46 |
47 | Меню
48 |
49 |
50 |
51 | {error && <>{error}>}
52 | {!isLoading && products.length > 0 && }
53 | {isLoading && <>Загружаем продукты...>}
54 | {!isLoading && products.length === 0 && <>Не найдено блюд по запросу>}
55 |
56 | >;
57 | }
58 |
59 | export default Menu;
--------------------------------------------------------------------------------
/src/pages/Menu/MenuList/MenuList.module.css:
--------------------------------------------------------------------------------
1 | .wrapper {
2 | display: flex;
3 | flex-wrap: wrap;
4 | gap: 40px;
5 | margin-top: 30px;
6 | }
--------------------------------------------------------------------------------
/src/pages/Menu/MenuList/MenuList.props.ts:
--------------------------------------------------------------------------------
1 | import { Product } from '../../../interfaces/product.interface';
2 |
3 | export interface MenuListProps {
4 | products: Product[];
5 | }
--------------------------------------------------------------------------------
/src/pages/Menu/MenuList/MenuList.tsx:
--------------------------------------------------------------------------------
1 | import ProductCard from '../../../components/ProductCard/ProductCard';
2 | import { MenuListProps } from './MenuList.props';
3 | import styles from './MenuList.module.css';
4 |
5 | export function MenuList({ products }: MenuListProps) {
6 | return {products.map(p => (
7 |
16 | ))}
17 |
;
18 | }
--------------------------------------------------------------------------------
/src/pages/Product/Product.tsx:
--------------------------------------------------------------------------------
1 | import { Await, useLoaderData } from 'react-router-dom';
2 | import { Product } from '../../interfaces/product.interface';
3 | import { Suspense } from 'react';
4 |
5 | export function Product() {
6 | const data = useLoaderData() as { data: Product };
7 |
8 | return <>
9 |
10 |
13 | {({ data }: { data: Product }) => (
14 | <>Product - {data.name}>
15 | )}
16 |
17 |
18 | >;
19 | }
--------------------------------------------------------------------------------
/src/pages/Register/Register.tsx:
--------------------------------------------------------------------------------
1 | import { Link, useNavigate } from 'react-router-dom';
2 | import Button from '../../components/Button/Button';
3 | import Headling from '../../components/Headling/Headling';
4 | import Input from '../../components/Input/Input';
5 | import styles from '../Login/Login.module.css';
6 | import { FormEvent, useEffect } from 'react';
7 | import { useDispatch, useSelector } from 'react-redux';
8 | import { AppDispath, RootState } from '../../store/store';
9 | import { register, userActions } from '../../store/user.slice';
10 |
11 | export type RegisterForm = {
12 | email: {
13 | value: string;
14 | };
15 | password: {
16 | value: string;
17 | };
18 | name: {
19 | value: string;
20 | };
21 | }
22 |
23 | export function Register() {
24 | const navigate = useNavigate();
25 | const dispatch = useDispatch();
26 | const { jwt, registerErrorMessage } = useSelector((s: RootState) => s.user);
27 |
28 | useEffect(() => {
29 | if (jwt) {
30 | navigate('/');
31 | }
32 | }, [jwt, navigate]);
33 |
34 | const submit = async (e: FormEvent) => {
35 | e.preventDefault();
36 | dispatch(userActions.clearRegisterError());
37 | const target = e.target as typeof e.target & RegisterForm;
38 | const { email, password, name } = target;
39 | dispatch(register({ email: email.value, password: password.value, name: name.value }));
40 | };
41 |
42 | return
43 |
Регистрация
44 | {registerErrorMessage &&
{registerErrorMessage}
}
45 |
60 |
61 |
Есть акканут?
62 |
Войти
63 |
64 |
;
65 | }
--------------------------------------------------------------------------------
/src/pages/Success/Success.module.css:
--------------------------------------------------------------------------------
1 | .success {
2 | display: flex;
3 | flex-direction: column;
4 | justify-content: center;
5 | align-items: center;
6 | gap: 30px;
7 | }
8 |
9 | .text {
10 | color: var(--text-color);
11 | text-align: center;
12 | font-size: 31px;
13 | font-style: normal;
14 | font-weight: 300;
15 | line-height: 120%;
16 | }
--------------------------------------------------------------------------------
/src/pages/Success/Success.tsx:
--------------------------------------------------------------------------------
1 | import { useNavigate } from 'react-router-dom';
2 | import Button from '../../components/Button/Button';
3 | import styles from './Success.module.css';
4 |
5 | export function Success() {
6 | const navigate = useNavigate();
7 | return (
8 |
9 |

10 |
Ваш заказ успешно оформлен!
11 |
12 |
13 | );
14 | }
--------------------------------------------------------------------------------
/src/store/cart.slice.ts:
--------------------------------------------------------------------------------
1 | import { PayloadAction, createSlice } from '@reduxjs/toolkit';
2 | import { loadState } from './storage';
3 |
4 | export const CART_PERSISTENT_STATE = 'cartData';
5 |
6 | export interface CartItem {
7 | id: number;
8 | count: number;
9 | }
10 |
11 | export interface CartState {
12 | items: CartItem[];
13 | }
14 |
15 | const initialState: CartState = loadState(CART_PERSISTENT_STATE) ?? {
16 | items: []
17 | };
18 |
19 | export const cartSlice = createSlice({
20 | name: 'cart',
21 | initialState,
22 | reducers: {
23 | clean: (state) => {
24 | state.items = [];
25 | },
26 | delete: (state, action: PayloadAction) => {
27 | state.items = state.items.filter(i => i.id !== action.payload);
28 | },
29 | remove: (state, action: PayloadAction) => {
30 | const existed = state.items.find(i => i.id === action.payload);
31 | if (!existed) {
32 | return;
33 | }
34 | if (existed.count === 1) {
35 | state.items = state.items.filter(i => i.id !== action.payload);
36 | } else {
37 | state.items.map(i => {
38 | if (i.id === action.payload) {
39 | i.count -= 1;
40 | }
41 | return i;
42 | });
43 | return;
44 | }
45 |
46 | },
47 | add: (state, action: PayloadAction) => {
48 | const existed = state.items.find(i => i.id === action.payload);
49 | if (!existed) {
50 | state.items.push({ id: action.payload, count: 1 });
51 | return;
52 | }
53 | state.items.map(i => {
54 | if (i.id === action.payload) {
55 | i.count += 1;
56 | }
57 | return i;
58 | });
59 | }
60 | }
61 | });
62 |
63 | export default cartSlice.reducer;
64 | export const cartActions = cartSlice.actions;
--------------------------------------------------------------------------------
/src/store/storage.ts:
--------------------------------------------------------------------------------
1 | export function loadState(key: string): T | undefined {
2 | try {
3 | const jsonState = localStorage.getItem(key);
4 | if (!jsonState) {
5 | return undefined;
6 | }
7 | return JSON.parse(jsonState);
8 | } catch (e) {
9 | console.error(e);
10 | return undefined;
11 | }
12 | }
13 |
14 | export function saveState(state: T, key: string) {
15 | const stringState = JSON.stringify(state);
16 | localStorage.setItem(key, stringState);
17 | }
--------------------------------------------------------------------------------
/src/store/store.ts:
--------------------------------------------------------------------------------
1 | import { configureStore } from '@reduxjs/toolkit';
2 | import userSlice, { JWT_PERSISTENT_STATE } from './user.slice';
3 | import { saveState } from './storage';
4 | import cartSlice, { CART_PERSISTENT_STATE } from './cart.slice';
5 |
6 | export const store = configureStore({
7 | reducer: {
8 | user: userSlice,
9 | cart: cartSlice
10 | }
11 | });
12 |
13 | store.subscribe(() => {
14 | saveState({ jwt: store.getState().user.jwt }, JWT_PERSISTENT_STATE);
15 | saveState(store.getState().cart, CART_PERSISTENT_STATE);
16 | });
17 |
18 | export type RootState = ReturnType;
19 | export type AppDispath = typeof store.dispatch;
--------------------------------------------------------------------------------
/src/store/user.slice.ts:
--------------------------------------------------------------------------------
1 | import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
2 | import { loadState } from './storage';
3 | import { LoginResponse } from '../interfaces/auth.interface';
4 | import axios, { AxiosError } from 'axios';
5 | import { PREFIX } from '../helpers/API';
6 | import { Profile } from '../interfaces/user.interface';
7 | import { RootState } from './store';
8 |
9 | export const JWT_PERSISTENT_STATE = 'userData';
10 |
11 | export interface UserPersistentState {
12 | jwt: string | null;
13 | }
14 |
15 | export interface UserState {
16 | jwt: string | null;
17 | loginErrorMessage?: string;
18 | registerErrorMessage?: string;
19 | profile?: Profile;
20 | }
21 |
22 | const initialState: UserState = {
23 | jwt: loadState(JWT_PERSISTENT_STATE)?.jwt ?? null
24 | };
25 |
26 | export const login = createAsyncThunk('user/login',
27 | async (params: { email: string, password: string }) => {
28 | try {
29 | const { data } = await axios.post(`${PREFIX}/auth/login`, {
30 | email: params.email,
31 | password: params.password
32 | });
33 | return data;
34 | } catch (e) {
35 | if (e instanceof AxiosError) {
36 | throw new Error(e.response?.data.message);
37 | }
38 | }
39 | }
40 | );
41 |
42 | export const register = createAsyncThunk('user/register',
43 | async (params: { email: string, password: string, name: string }) => {
44 | try {
45 | const { data } = await axios.post(`${PREFIX}/auth/register`, {
46 | email: params.email,
47 | password: params.password,
48 | name: params.name
49 | });
50 | return data;
51 | } catch (e) {
52 | if (e instanceof AxiosError) {
53 | throw new Error(e.response?.data.message);
54 | }
55 | }
56 | }
57 | );
58 |
59 | export const getProfile = createAsyncThunk('user/getProfile',
60 | async (_, thunkApi) => {
61 | const jwt = thunkApi.getState().user.jwt;
62 | const { data } = await axios.get(`${PREFIX}/user/profile`, {
63 | headers: {
64 | Authorization: `Bearer ${jwt}`
65 | }
66 | });
67 | return data;
68 | }
69 | );
70 |
71 | export const userSlice = createSlice({
72 | name: 'user',
73 | initialState,
74 | reducers: {
75 | logout: (state) => {
76 | state.jwt = null;
77 | },
78 | clearLoginError: (state) => {
79 | state.loginErrorMessage = undefined;
80 | },
81 | clearRegisterError: (state) => {
82 | state.registerErrorMessage = undefined;
83 | }
84 | },
85 | extraReducers: (builder) => {
86 | builder.addCase(login.fulfilled, (state, action) => {
87 | if (!action.payload) {
88 | return;
89 | }
90 | state.jwt = action.payload.access_token;
91 | });
92 | builder.addCase(login.rejected, (state, action) => {
93 | state.loginErrorMessage = action.error.message;
94 | });
95 |
96 | builder.addCase(getProfile.fulfilled, (state, action) => {
97 | state.profile = action.payload;
98 | });
99 |
100 | builder.addCase(register.fulfilled, (state, action) => {
101 | if (!action.payload) {
102 | return;
103 | }
104 | state.jwt = action.payload.access_token;
105 | });
106 | builder.addCase(register.rejected, (state, action) => {
107 | state.registerErrorMessage = action.error.message;
108 | });
109 | }
110 | });
111 |
112 | export default userSlice.reducer;
113 | export const userActions = userSlice.actions;
--------------------------------------------------------------------------------
/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/tsconfig.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 | "resolveJsonModule": true,
13 | "isolatedModules": true,
14 | "noEmit": true,
15 | "jsx": "react-jsx",
16 |
17 | /* Linting */
18 | "strict": true,
19 | "noUnusedLocals": true,
20 | "noUnusedParameters": true,
21 | "noFallthroughCasesInSwitch": true
22 | },
23 | "include": ["src"],
24 | "references": [{ "path": "./tsconfig.node.json" }]
25 | }
26 |
--------------------------------------------------------------------------------
/tsconfig.node.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": true,
4 | "skipLibCheck": true,
5 | "module": "ESNext",
6 | "moduleResolution": "bundler",
7 | "allowSyntheticDefaultImports": true
8 | },
9 | "include": ["vite.config.ts"]
10 | }
11 |
--------------------------------------------------------------------------------
/vite.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react-swc'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | })
8 |
--------------------------------------------------------------------------------