├── .eslintrc.json ├── .gitignore ├── README.md ├── next.config.js ├── package-lock.json ├── package.json ├── pages ├── _app.js ├── api │ └── hello.js ├── index.js └── teams │ ├── [team] │ ├── fixtures.js │ ├── index.js │ └── players.js │ └── index.js ├── public ├── favicon.ico └── vercel.svg ├── styles ├── App.module.css ├── Teams.module.css └── globals.css └── utils └── nestLayout.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /out/ 14 | 15 | # production 16 | /build 17 | 18 | # misc 19 | .DS_Store 20 | *.pem 21 | 22 | # debug 23 | npm-debug.log* 24 | yarn-debug.log* 25 | yarn-error.log* 26 | .pnpm-debug.log* 27 | 28 | # local env files 29 | .env*.local 30 | 31 | # vercel 32 | .vercel 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). 2 | 3 | ## Getting Started 4 | 5 | First, run the development server: 6 | 7 | ```bash 8 | npm run dev 9 | # or 10 | yarn dev 11 | ``` 12 | 13 | Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. 14 | 15 | You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. 16 | 17 | [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. 18 | 19 | The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. 20 | 21 | ## Learn More 22 | 23 | To learn more about Next.js, take a look at the following resources: 24 | 25 | - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. 26 | - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. 27 | 28 | You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! 29 | 30 | ## Deploy on Vercel 31 | 32 | The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. 33 | 34 | Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. 35 | -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = { 3 | reactStrictMode: true, 4 | } 5 | 6 | module.exports = nextConfig 7 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nested-layout-demo", 3 | "version": "0.1.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "nested-layout-demo", 9 | "version": "0.1.0", 10 | "dependencies": { 11 | "next": "12.1.6", 12 | "react": "18.1.0", 13 | "react-dom": "18.1.0" 14 | }, 15 | "devDependencies": { 16 | "eslint": "8.16.0", 17 | "eslint-config-next": "12.1.6" 18 | } 19 | }, 20 | "node_modules/@babel/runtime": { 21 | "version": "7.18.0", 22 | "dev": true, 23 | "license": "MIT", 24 | "dependencies": { 25 | "regenerator-runtime": "^0.13.4" 26 | }, 27 | "engines": { 28 | "node": ">=6.9.0" 29 | } 30 | }, 31 | "node_modules/@babel/runtime-corejs3": { 32 | "version": "7.18.0", 33 | "dev": true, 34 | "license": "MIT", 35 | "dependencies": { 36 | "core-js-pure": "^3.20.2", 37 | "regenerator-runtime": "^0.13.4" 38 | }, 39 | "engines": { 40 | "node": ">=6.9.0" 41 | } 42 | }, 43 | "node_modules/@eslint/eslintrc": { 44 | "version": "1.3.0", 45 | "dev": true, 46 | "license": "MIT", 47 | "dependencies": { 48 | "ajv": "^6.12.4", 49 | "debug": "^4.3.2", 50 | "espree": "^9.3.2", 51 | "globals": "^13.15.0", 52 | "ignore": "^5.2.0", 53 | "import-fresh": "^3.2.1", 54 | "js-yaml": "^4.1.0", 55 | "minimatch": "^3.1.2", 56 | "strip-json-comments": "^3.1.1" 57 | }, 58 | "engines": { 59 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 60 | } 61 | }, 62 | "node_modules/@humanwhocodes/config-array": { 63 | "version": "0.9.5", 64 | "dev": true, 65 | "license": "Apache-2.0", 66 | "dependencies": { 67 | "@humanwhocodes/object-schema": "^1.2.1", 68 | "debug": "^4.1.1", 69 | "minimatch": "^3.0.4" 70 | }, 71 | "engines": { 72 | "node": ">=10.10.0" 73 | } 74 | }, 75 | "node_modules/@humanwhocodes/object-schema": { 76 | "version": "1.2.1", 77 | "dev": true, 78 | "license": "BSD-3-Clause" 79 | }, 80 | "node_modules/@next/env": { 81 | "version": "12.1.6", 82 | "license": "MIT" 83 | }, 84 | "node_modules/@next/eslint-plugin-next": { 85 | "version": "12.1.6", 86 | "dev": true, 87 | "license": "MIT", 88 | "dependencies": { 89 | "glob": "7.1.7" 90 | } 91 | }, 92 | "node_modules/@next/eslint-plugin-next/node_modules/glob": { 93 | "version": "7.1.7", 94 | "dev": true, 95 | "license": "ISC", 96 | "dependencies": { 97 | "fs.realpath": "^1.0.0", 98 | "inflight": "^1.0.4", 99 | "inherits": "2", 100 | "minimatch": "^3.0.4", 101 | "once": "^1.3.0", 102 | "path-is-absolute": "^1.0.0" 103 | }, 104 | "engines": { 105 | "node": "*" 106 | }, 107 | "funding": { 108 | "url": "https://github.com/sponsors/isaacs" 109 | } 110 | }, 111 | "node_modules/@next/swc-darwin-x64": { 112 | "version": "12.1.6", 113 | "cpu": [ 114 | "x64" 115 | ], 116 | "license": "MIT", 117 | "optional": true, 118 | "os": [ 119 | "darwin" 120 | ], 121 | "engines": { 122 | "node": ">= 10" 123 | } 124 | }, 125 | "node_modules/@nodelib/fs.scandir": { 126 | "version": "2.1.5", 127 | "dev": true, 128 | "license": "MIT", 129 | "dependencies": { 130 | "@nodelib/fs.stat": "2.0.5", 131 | "run-parallel": "^1.1.9" 132 | }, 133 | "engines": { 134 | "node": ">= 8" 135 | } 136 | }, 137 | "node_modules/@nodelib/fs.stat": { 138 | "version": "2.0.5", 139 | "dev": true, 140 | "license": "MIT", 141 | "engines": { 142 | "node": ">= 8" 143 | } 144 | }, 145 | "node_modules/@nodelib/fs.walk": { 146 | "version": "1.2.8", 147 | "dev": true, 148 | "license": "MIT", 149 | "dependencies": { 150 | "@nodelib/fs.scandir": "2.1.5", 151 | "fastq": "^1.6.0" 152 | }, 153 | "engines": { 154 | "node": ">= 8" 155 | } 156 | }, 157 | "node_modules/@rushstack/eslint-patch": { 158 | "version": "1.1.3", 159 | "dev": true, 160 | "license": "MIT" 161 | }, 162 | "node_modules/@types/json5": { 163 | "version": "0.0.29", 164 | "dev": true, 165 | "license": "MIT" 166 | }, 167 | "node_modules/@typescript-eslint/parser": { 168 | "version": "5.25.0", 169 | "dev": true, 170 | "license": "BSD-2-Clause", 171 | "dependencies": { 172 | "@typescript-eslint/scope-manager": "5.25.0", 173 | "@typescript-eslint/types": "5.25.0", 174 | "@typescript-eslint/typescript-estree": "5.25.0", 175 | "debug": "^4.3.4" 176 | }, 177 | "engines": { 178 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 179 | }, 180 | "funding": { 181 | "type": "opencollective", 182 | "url": "https://opencollective.com/typescript-eslint" 183 | }, 184 | "peerDependencies": { 185 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" 186 | }, 187 | "peerDependenciesMeta": { 188 | "typescript": { 189 | "optional": true 190 | } 191 | } 192 | }, 193 | "node_modules/@typescript-eslint/scope-manager": { 194 | "version": "5.25.0", 195 | "dev": true, 196 | "license": "MIT", 197 | "dependencies": { 198 | "@typescript-eslint/types": "5.25.0", 199 | "@typescript-eslint/visitor-keys": "5.25.0" 200 | }, 201 | "engines": { 202 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 203 | }, 204 | "funding": { 205 | "type": "opencollective", 206 | "url": "https://opencollective.com/typescript-eslint" 207 | } 208 | }, 209 | "node_modules/@typescript-eslint/types": { 210 | "version": "5.25.0", 211 | "dev": true, 212 | "license": "MIT", 213 | "engines": { 214 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 215 | }, 216 | "funding": { 217 | "type": "opencollective", 218 | "url": "https://opencollective.com/typescript-eslint" 219 | } 220 | }, 221 | "node_modules/@typescript-eslint/typescript-estree": { 222 | "version": "5.25.0", 223 | "dev": true, 224 | "license": "BSD-2-Clause", 225 | "dependencies": { 226 | "@typescript-eslint/types": "5.25.0", 227 | "@typescript-eslint/visitor-keys": "5.25.0", 228 | "debug": "^4.3.4", 229 | "globby": "^11.1.0", 230 | "is-glob": "^4.0.3", 231 | "semver": "^7.3.7", 232 | "tsutils": "^3.21.0" 233 | }, 234 | "engines": { 235 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 236 | }, 237 | "funding": { 238 | "type": "opencollective", 239 | "url": "https://opencollective.com/typescript-eslint" 240 | }, 241 | "peerDependenciesMeta": { 242 | "typescript": { 243 | "optional": true 244 | } 245 | } 246 | }, 247 | "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { 248 | "version": "7.3.7", 249 | "dev": true, 250 | "license": "ISC", 251 | "dependencies": { 252 | "lru-cache": "^6.0.0" 253 | }, 254 | "bin": { 255 | "semver": "bin/semver.js" 256 | }, 257 | "engines": { 258 | "node": ">=10" 259 | } 260 | }, 261 | "node_modules/@typescript-eslint/visitor-keys": { 262 | "version": "5.25.0", 263 | "dev": true, 264 | "license": "MIT", 265 | "dependencies": { 266 | "@typescript-eslint/types": "5.25.0", 267 | "eslint-visitor-keys": "^3.3.0" 268 | }, 269 | "engines": { 270 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 271 | }, 272 | "funding": { 273 | "type": "opencollective", 274 | "url": "https://opencollective.com/typescript-eslint" 275 | } 276 | }, 277 | "node_modules/acorn": { 278 | "version": "8.7.1", 279 | "dev": true, 280 | "license": "MIT", 281 | "bin": { 282 | "acorn": "bin/acorn" 283 | }, 284 | "engines": { 285 | "node": ">=0.4.0" 286 | } 287 | }, 288 | "node_modules/acorn-jsx": { 289 | "version": "5.3.2", 290 | "dev": true, 291 | "license": "MIT", 292 | "peerDependencies": { 293 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 294 | } 295 | }, 296 | "node_modules/ajv": { 297 | "version": "6.12.6", 298 | "dev": true, 299 | "license": "MIT", 300 | "dependencies": { 301 | "fast-deep-equal": "^3.1.1", 302 | "fast-json-stable-stringify": "^2.0.0", 303 | "json-schema-traverse": "^0.4.1", 304 | "uri-js": "^4.2.2" 305 | }, 306 | "funding": { 307 | "type": "github", 308 | "url": "https://github.com/sponsors/epoberezkin" 309 | } 310 | }, 311 | "node_modules/ansi-regex": { 312 | "version": "5.0.1", 313 | "dev": true, 314 | "license": "MIT", 315 | "engines": { 316 | "node": ">=8" 317 | } 318 | }, 319 | "node_modules/ansi-styles": { 320 | "version": "4.3.0", 321 | "dev": true, 322 | "license": "MIT", 323 | "dependencies": { 324 | "color-convert": "^2.0.1" 325 | }, 326 | "engines": { 327 | "node": ">=8" 328 | }, 329 | "funding": { 330 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 331 | } 332 | }, 333 | "node_modules/argparse": { 334 | "version": "2.0.1", 335 | "dev": true, 336 | "license": "Python-2.0" 337 | }, 338 | "node_modules/aria-query": { 339 | "version": "4.2.2", 340 | "dev": true, 341 | "license": "Apache-2.0", 342 | "dependencies": { 343 | "@babel/runtime": "^7.10.2", 344 | "@babel/runtime-corejs3": "^7.10.2" 345 | }, 346 | "engines": { 347 | "node": ">=6.0" 348 | } 349 | }, 350 | "node_modules/array-includes": { 351 | "version": "3.1.5", 352 | "dev": true, 353 | "license": "MIT", 354 | "dependencies": { 355 | "call-bind": "^1.0.2", 356 | "define-properties": "^1.1.4", 357 | "es-abstract": "^1.19.5", 358 | "get-intrinsic": "^1.1.1", 359 | "is-string": "^1.0.7" 360 | }, 361 | "engines": { 362 | "node": ">= 0.4" 363 | }, 364 | "funding": { 365 | "url": "https://github.com/sponsors/ljharb" 366 | } 367 | }, 368 | "node_modules/array-union": { 369 | "version": "2.1.0", 370 | "dev": true, 371 | "license": "MIT", 372 | "engines": { 373 | "node": ">=8" 374 | } 375 | }, 376 | "node_modules/array.prototype.flat": { 377 | "version": "1.3.0", 378 | "dev": true, 379 | "license": "MIT", 380 | "dependencies": { 381 | "call-bind": "^1.0.2", 382 | "define-properties": "^1.1.3", 383 | "es-abstract": "^1.19.2", 384 | "es-shim-unscopables": "^1.0.0" 385 | }, 386 | "engines": { 387 | "node": ">= 0.4" 388 | }, 389 | "funding": { 390 | "url": "https://github.com/sponsors/ljharb" 391 | } 392 | }, 393 | "node_modules/array.prototype.flatmap": { 394 | "version": "1.3.0", 395 | "dev": true, 396 | "license": "MIT", 397 | "dependencies": { 398 | "call-bind": "^1.0.2", 399 | "define-properties": "^1.1.3", 400 | "es-abstract": "^1.19.2", 401 | "es-shim-unscopables": "^1.0.0" 402 | }, 403 | "engines": { 404 | "node": ">= 0.4" 405 | }, 406 | "funding": { 407 | "url": "https://github.com/sponsors/ljharb" 408 | } 409 | }, 410 | "node_modules/ast-types-flow": { 411 | "version": "0.0.7", 412 | "dev": true, 413 | "license": "ISC" 414 | }, 415 | "node_modules/axe-core": { 416 | "version": "4.4.2", 417 | "dev": true, 418 | "license": "MPL-2.0", 419 | "engines": { 420 | "node": ">=12" 421 | } 422 | }, 423 | "node_modules/axobject-query": { 424 | "version": "2.2.0", 425 | "dev": true, 426 | "license": "Apache-2.0" 427 | }, 428 | "node_modules/balanced-match": { 429 | "version": "1.0.2", 430 | "dev": true, 431 | "license": "MIT" 432 | }, 433 | "node_modules/brace-expansion": { 434 | "version": "1.1.11", 435 | "dev": true, 436 | "license": "MIT", 437 | "dependencies": { 438 | "balanced-match": "^1.0.0", 439 | "concat-map": "0.0.1" 440 | } 441 | }, 442 | "node_modules/braces": { 443 | "version": "3.0.2", 444 | "dev": true, 445 | "license": "MIT", 446 | "dependencies": { 447 | "fill-range": "^7.0.1" 448 | }, 449 | "engines": { 450 | "node": ">=8" 451 | } 452 | }, 453 | "node_modules/call-bind": { 454 | "version": "1.0.2", 455 | "dev": true, 456 | "license": "MIT", 457 | "dependencies": { 458 | "function-bind": "^1.1.1", 459 | "get-intrinsic": "^1.0.2" 460 | }, 461 | "funding": { 462 | "url": "https://github.com/sponsors/ljharb" 463 | } 464 | }, 465 | "node_modules/callsites": { 466 | "version": "3.1.0", 467 | "dev": true, 468 | "license": "MIT", 469 | "engines": { 470 | "node": ">=6" 471 | } 472 | }, 473 | "node_modules/caniuse-lite": { 474 | "version": "1.0.30001465", 475 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001465.tgz", 476 | "integrity": "sha512-HvjgL3MYAJjceTDCcjRnQGjwUz/5qec9n7JPOzUursUoOTIsYCSDOb1l7RsnZE8mjbxG78zVRCKfrBXyvChBag==", 477 | "funding": [ 478 | { 479 | "type": "opencollective", 480 | "url": "https://opencollective.com/browserslist" 481 | }, 482 | { 483 | "type": "tidelift", 484 | "url": "https://tidelift.com/funding/github/npm/caniuse-lite" 485 | } 486 | ] 487 | }, 488 | "node_modules/chalk": { 489 | "version": "4.1.2", 490 | "dev": true, 491 | "license": "MIT", 492 | "dependencies": { 493 | "ansi-styles": "^4.1.0", 494 | "supports-color": "^7.1.0" 495 | }, 496 | "engines": { 497 | "node": ">=10" 498 | }, 499 | "funding": { 500 | "url": "https://github.com/chalk/chalk?sponsor=1" 501 | } 502 | }, 503 | "node_modules/color-convert": { 504 | "version": "2.0.1", 505 | "dev": true, 506 | "license": "MIT", 507 | "dependencies": { 508 | "color-name": "~1.1.4" 509 | }, 510 | "engines": { 511 | "node": ">=7.0.0" 512 | } 513 | }, 514 | "node_modules/color-name": { 515 | "version": "1.1.4", 516 | "dev": true, 517 | "license": "MIT" 518 | }, 519 | "node_modules/concat-map": { 520 | "version": "0.0.1", 521 | "dev": true, 522 | "license": "MIT" 523 | }, 524 | "node_modules/core-js-pure": { 525 | "version": "3.22.5", 526 | "dev": true, 527 | "hasInstallScript": true, 528 | "license": "MIT", 529 | "funding": { 530 | "type": "opencollective", 531 | "url": "https://opencollective.com/core-js" 532 | } 533 | }, 534 | "node_modules/cross-spawn": { 535 | "version": "7.0.3", 536 | "dev": true, 537 | "license": "MIT", 538 | "dependencies": { 539 | "path-key": "^3.1.0", 540 | "shebang-command": "^2.0.0", 541 | "which": "^2.0.1" 542 | }, 543 | "engines": { 544 | "node": ">= 8" 545 | } 546 | }, 547 | "node_modules/damerau-levenshtein": { 548 | "version": "1.0.8", 549 | "dev": true, 550 | "license": "BSD-2-Clause" 551 | }, 552 | "node_modules/debug": { 553 | "version": "4.3.4", 554 | "dev": true, 555 | "license": "MIT", 556 | "dependencies": { 557 | "ms": "2.1.2" 558 | }, 559 | "engines": { 560 | "node": ">=6.0" 561 | }, 562 | "peerDependenciesMeta": { 563 | "supports-color": { 564 | "optional": true 565 | } 566 | } 567 | }, 568 | "node_modules/deep-is": { 569 | "version": "0.1.4", 570 | "dev": true, 571 | "license": "MIT" 572 | }, 573 | "node_modules/define-properties": { 574 | "version": "1.1.4", 575 | "dev": true, 576 | "license": "MIT", 577 | "dependencies": { 578 | "has-property-descriptors": "^1.0.0", 579 | "object-keys": "^1.1.1" 580 | }, 581 | "engines": { 582 | "node": ">= 0.4" 583 | }, 584 | "funding": { 585 | "url": "https://github.com/sponsors/ljharb" 586 | } 587 | }, 588 | "node_modules/dir-glob": { 589 | "version": "3.0.1", 590 | "dev": true, 591 | "license": "MIT", 592 | "dependencies": { 593 | "path-type": "^4.0.0" 594 | }, 595 | "engines": { 596 | "node": ">=8" 597 | } 598 | }, 599 | "node_modules/doctrine": { 600 | "version": "2.1.0", 601 | "dev": true, 602 | "license": "Apache-2.0", 603 | "dependencies": { 604 | "esutils": "^2.0.2" 605 | }, 606 | "engines": { 607 | "node": ">=0.10.0" 608 | } 609 | }, 610 | "node_modules/emoji-regex": { 611 | "version": "9.2.2", 612 | "dev": true, 613 | "license": "MIT" 614 | }, 615 | "node_modules/es-abstract": { 616 | "version": "1.20.1", 617 | "dev": true, 618 | "license": "MIT", 619 | "dependencies": { 620 | "call-bind": "^1.0.2", 621 | "es-to-primitive": "^1.2.1", 622 | "function-bind": "^1.1.1", 623 | "function.prototype.name": "^1.1.5", 624 | "get-intrinsic": "^1.1.1", 625 | "get-symbol-description": "^1.0.0", 626 | "has": "^1.0.3", 627 | "has-property-descriptors": "^1.0.0", 628 | "has-symbols": "^1.0.3", 629 | "internal-slot": "^1.0.3", 630 | "is-callable": "^1.2.4", 631 | "is-negative-zero": "^2.0.2", 632 | "is-regex": "^1.1.4", 633 | "is-shared-array-buffer": "^1.0.2", 634 | "is-string": "^1.0.7", 635 | "is-weakref": "^1.0.2", 636 | "object-inspect": "^1.12.0", 637 | "object-keys": "^1.1.1", 638 | "object.assign": "^4.1.2", 639 | "regexp.prototype.flags": "^1.4.3", 640 | "string.prototype.trimend": "^1.0.5", 641 | "string.prototype.trimstart": "^1.0.5", 642 | "unbox-primitive": "^1.0.2" 643 | }, 644 | "engines": { 645 | "node": ">= 0.4" 646 | }, 647 | "funding": { 648 | "url": "https://github.com/sponsors/ljharb" 649 | } 650 | }, 651 | "node_modules/es-shim-unscopables": { 652 | "version": "1.0.0", 653 | "dev": true, 654 | "license": "MIT", 655 | "dependencies": { 656 | "has": "^1.0.3" 657 | } 658 | }, 659 | "node_modules/es-to-primitive": { 660 | "version": "1.2.1", 661 | "dev": true, 662 | "license": "MIT", 663 | "dependencies": { 664 | "is-callable": "^1.1.4", 665 | "is-date-object": "^1.0.1", 666 | "is-symbol": "^1.0.2" 667 | }, 668 | "engines": { 669 | "node": ">= 0.4" 670 | }, 671 | "funding": { 672 | "url": "https://github.com/sponsors/ljharb" 673 | } 674 | }, 675 | "node_modules/escape-string-regexp": { 676 | "version": "4.0.0", 677 | "dev": true, 678 | "license": "MIT", 679 | "engines": { 680 | "node": ">=10" 681 | }, 682 | "funding": { 683 | "url": "https://github.com/sponsors/sindresorhus" 684 | } 685 | }, 686 | "node_modules/eslint": { 687 | "version": "8.16.0", 688 | "dev": true, 689 | "license": "MIT", 690 | "dependencies": { 691 | "@eslint/eslintrc": "^1.3.0", 692 | "@humanwhocodes/config-array": "^0.9.2", 693 | "ajv": "^6.10.0", 694 | "chalk": "^4.0.0", 695 | "cross-spawn": "^7.0.2", 696 | "debug": "^4.3.2", 697 | "doctrine": "^3.0.0", 698 | "escape-string-regexp": "^4.0.0", 699 | "eslint-scope": "^7.1.1", 700 | "eslint-utils": "^3.0.0", 701 | "eslint-visitor-keys": "^3.3.0", 702 | "espree": "^9.3.2", 703 | "esquery": "^1.4.0", 704 | "esutils": "^2.0.2", 705 | "fast-deep-equal": "^3.1.3", 706 | "file-entry-cache": "^6.0.1", 707 | "functional-red-black-tree": "^1.0.1", 708 | "glob-parent": "^6.0.1", 709 | "globals": "^13.15.0", 710 | "ignore": "^5.2.0", 711 | "import-fresh": "^3.0.0", 712 | "imurmurhash": "^0.1.4", 713 | "is-glob": "^4.0.0", 714 | "js-yaml": "^4.1.0", 715 | "json-stable-stringify-without-jsonify": "^1.0.1", 716 | "levn": "^0.4.1", 717 | "lodash.merge": "^4.6.2", 718 | "minimatch": "^3.1.2", 719 | "natural-compare": "^1.4.0", 720 | "optionator": "^0.9.1", 721 | "regexpp": "^3.2.0", 722 | "strip-ansi": "^6.0.1", 723 | "strip-json-comments": "^3.1.0", 724 | "text-table": "^0.2.0", 725 | "v8-compile-cache": "^2.0.3" 726 | }, 727 | "bin": { 728 | "eslint": "bin/eslint.js" 729 | }, 730 | "engines": { 731 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 732 | }, 733 | "funding": { 734 | "url": "https://opencollective.com/eslint" 735 | } 736 | }, 737 | "node_modules/eslint-config-next": { 738 | "version": "12.1.6", 739 | "dev": true, 740 | "license": "MIT", 741 | "dependencies": { 742 | "@next/eslint-plugin-next": "12.1.6", 743 | "@rushstack/eslint-patch": "^1.1.3", 744 | "@typescript-eslint/parser": "^5.21.0", 745 | "eslint-import-resolver-node": "^0.3.6", 746 | "eslint-import-resolver-typescript": "^2.7.1", 747 | "eslint-plugin-import": "^2.26.0", 748 | "eslint-plugin-jsx-a11y": "^6.5.1", 749 | "eslint-plugin-react": "^7.29.4", 750 | "eslint-plugin-react-hooks": "^4.5.0" 751 | }, 752 | "peerDependencies": { 753 | "eslint": "^7.23.0 || ^8.0.0", 754 | "next": ">=10.2.0", 755 | "typescript": ">=3.3.1" 756 | }, 757 | "peerDependenciesMeta": { 758 | "typescript": { 759 | "optional": true 760 | } 761 | } 762 | }, 763 | "node_modules/eslint-import-resolver-node": { 764 | "version": "0.3.6", 765 | "dev": true, 766 | "license": "MIT", 767 | "dependencies": { 768 | "debug": "^3.2.7", 769 | "resolve": "^1.20.0" 770 | } 771 | }, 772 | "node_modules/eslint-import-resolver-node/node_modules/debug": { 773 | "version": "3.2.7", 774 | "dev": true, 775 | "license": "MIT", 776 | "dependencies": { 777 | "ms": "^2.1.1" 778 | } 779 | }, 780 | "node_modules/eslint-import-resolver-node/node_modules/ms": { 781 | "version": "2.1.3", 782 | "dev": true, 783 | "license": "MIT" 784 | }, 785 | "node_modules/eslint-import-resolver-typescript": { 786 | "version": "2.7.1", 787 | "dev": true, 788 | "license": "ISC", 789 | "dependencies": { 790 | "debug": "^4.3.4", 791 | "glob": "^7.2.0", 792 | "is-glob": "^4.0.3", 793 | "resolve": "^1.22.0", 794 | "tsconfig-paths": "^3.14.1" 795 | }, 796 | "engines": { 797 | "node": ">=4" 798 | }, 799 | "peerDependencies": { 800 | "eslint": "*", 801 | "eslint-plugin-import": "*" 802 | } 803 | }, 804 | "node_modules/eslint-module-utils": { 805 | "version": "2.7.3", 806 | "dev": true, 807 | "license": "MIT", 808 | "dependencies": { 809 | "debug": "^3.2.7", 810 | "find-up": "^2.1.0" 811 | }, 812 | "engines": { 813 | "node": ">=4" 814 | } 815 | }, 816 | "node_modules/eslint-module-utils/node_modules/debug": { 817 | "version": "3.2.7", 818 | "dev": true, 819 | "license": "MIT", 820 | "dependencies": { 821 | "ms": "^2.1.1" 822 | } 823 | }, 824 | "node_modules/eslint-module-utils/node_modules/ms": { 825 | "version": "2.1.3", 826 | "dev": true, 827 | "license": "MIT" 828 | }, 829 | "node_modules/eslint-plugin-import": { 830 | "version": "2.26.0", 831 | "dev": true, 832 | "license": "MIT", 833 | "dependencies": { 834 | "array-includes": "^3.1.4", 835 | "array.prototype.flat": "^1.2.5", 836 | "debug": "^2.6.9", 837 | "doctrine": "^2.1.0", 838 | "eslint-import-resolver-node": "^0.3.6", 839 | "eslint-module-utils": "^2.7.3", 840 | "has": "^1.0.3", 841 | "is-core-module": "^2.8.1", 842 | "is-glob": "^4.0.3", 843 | "minimatch": "^3.1.2", 844 | "object.values": "^1.1.5", 845 | "resolve": "^1.22.0", 846 | "tsconfig-paths": "^3.14.1" 847 | }, 848 | "engines": { 849 | "node": ">=4" 850 | }, 851 | "peerDependencies": { 852 | "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" 853 | } 854 | }, 855 | "node_modules/eslint-plugin-import/node_modules/debug": { 856 | "version": "2.6.9", 857 | "dev": true, 858 | "license": "MIT", 859 | "dependencies": { 860 | "ms": "2.0.0" 861 | } 862 | }, 863 | "node_modules/eslint-plugin-import/node_modules/ms": { 864 | "version": "2.0.0", 865 | "dev": true, 866 | "license": "MIT" 867 | }, 868 | "node_modules/eslint-plugin-jsx-a11y": { 869 | "version": "6.5.1", 870 | "dev": true, 871 | "license": "MIT", 872 | "dependencies": { 873 | "@babel/runtime": "^7.16.3", 874 | "aria-query": "^4.2.2", 875 | "array-includes": "^3.1.4", 876 | "ast-types-flow": "^0.0.7", 877 | "axe-core": "^4.3.5", 878 | "axobject-query": "^2.2.0", 879 | "damerau-levenshtein": "^1.0.7", 880 | "emoji-regex": "^9.2.2", 881 | "has": "^1.0.3", 882 | "jsx-ast-utils": "^3.2.1", 883 | "language-tags": "^1.0.5", 884 | "minimatch": "^3.0.4" 885 | }, 886 | "engines": { 887 | "node": ">=4.0" 888 | }, 889 | "peerDependencies": { 890 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" 891 | } 892 | }, 893 | "node_modules/eslint-plugin-react": { 894 | "version": "7.30.0", 895 | "dev": true, 896 | "license": "MIT", 897 | "dependencies": { 898 | "array-includes": "^3.1.5", 899 | "array.prototype.flatmap": "^1.3.0", 900 | "doctrine": "^2.1.0", 901 | "estraverse": "^5.3.0", 902 | "jsx-ast-utils": "^2.4.1 || ^3.0.0", 903 | "minimatch": "^3.1.2", 904 | "object.entries": "^1.1.5", 905 | "object.fromentries": "^2.0.5", 906 | "object.hasown": "^1.1.1", 907 | "object.values": "^1.1.5", 908 | "prop-types": "^15.8.1", 909 | "resolve": "^2.0.0-next.3", 910 | "semver": "^6.3.0", 911 | "string.prototype.matchall": "^4.0.7" 912 | }, 913 | "engines": { 914 | "node": ">=4" 915 | }, 916 | "peerDependencies": { 917 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" 918 | } 919 | }, 920 | "node_modules/eslint-plugin-react-hooks": { 921 | "version": "4.5.0", 922 | "dev": true, 923 | "license": "MIT", 924 | "engines": { 925 | "node": ">=10" 926 | }, 927 | "peerDependencies": { 928 | "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" 929 | } 930 | }, 931 | "node_modules/eslint-plugin-react/node_modules/resolve": { 932 | "version": "2.0.0-next.3", 933 | "dev": true, 934 | "license": "MIT", 935 | "dependencies": { 936 | "is-core-module": "^2.2.0", 937 | "path-parse": "^1.0.6" 938 | }, 939 | "funding": { 940 | "url": "https://github.com/sponsors/ljharb" 941 | } 942 | }, 943 | "node_modules/eslint-scope": { 944 | "version": "7.1.1", 945 | "dev": true, 946 | "license": "BSD-2-Clause", 947 | "dependencies": { 948 | "esrecurse": "^4.3.0", 949 | "estraverse": "^5.2.0" 950 | }, 951 | "engines": { 952 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 953 | } 954 | }, 955 | "node_modules/eslint-utils": { 956 | "version": "3.0.0", 957 | "dev": true, 958 | "license": "MIT", 959 | "dependencies": { 960 | "eslint-visitor-keys": "^2.0.0" 961 | }, 962 | "engines": { 963 | "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" 964 | }, 965 | "funding": { 966 | "url": "https://github.com/sponsors/mysticatea" 967 | }, 968 | "peerDependencies": { 969 | "eslint": ">=5" 970 | } 971 | }, 972 | "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { 973 | "version": "2.1.0", 974 | "dev": true, 975 | "license": "Apache-2.0", 976 | "engines": { 977 | "node": ">=10" 978 | } 979 | }, 980 | "node_modules/eslint-visitor-keys": { 981 | "version": "3.3.0", 982 | "dev": true, 983 | "license": "Apache-2.0", 984 | "engines": { 985 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 986 | } 987 | }, 988 | "node_modules/eslint/node_modules/doctrine": { 989 | "version": "3.0.0", 990 | "dev": true, 991 | "license": "Apache-2.0", 992 | "dependencies": { 993 | "esutils": "^2.0.2" 994 | }, 995 | "engines": { 996 | "node": ">=6.0.0" 997 | } 998 | }, 999 | "node_modules/espree": { 1000 | "version": "9.3.2", 1001 | "dev": true, 1002 | "license": "BSD-2-Clause", 1003 | "dependencies": { 1004 | "acorn": "^8.7.1", 1005 | "acorn-jsx": "^5.3.2", 1006 | "eslint-visitor-keys": "^3.3.0" 1007 | }, 1008 | "engines": { 1009 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1010 | } 1011 | }, 1012 | "node_modules/esquery": { 1013 | "version": "1.4.0", 1014 | "dev": true, 1015 | "license": "BSD-3-Clause", 1016 | "dependencies": { 1017 | "estraverse": "^5.1.0" 1018 | }, 1019 | "engines": { 1020 | "node": ">=0.10" 1021 | } 1022 | }, 1023 | "node_modules/esrecurse": { 1024 | "version": "4.3.0", 1025 | "dev": true, 1026 | "license": "BSD-2-Clause", 1027 | "dependencies": { 1028 | "estraverse": "^5.2.0" 1029 | }, 1030 | "engines": { 1031 | "node": ">=4.0" 1032 | } 1033 | }, 1034 | "node_modules/estraverse": { 1035 | "version": "5.3.0", 1036 | "dev": true, 1037 | "license": "BSD-2-Clause", 1038 | "engines": { 1039 | "node": ">=4.0" 1040 | } 1041 | }, 1042 | "node_modules/esutils": { 1043 | "version": "2.0.3", 1044 | "dev": true, 1045 | "license": "BSD-2-Clause", 1046 | "engines": { 1047 | "node": ">=0.10.0" 1048 | } 1049 | }, 1050 | "node_modules/fast-deep-equal": { 1051 | "version": "3.1.3", 1052 | "dev": true, 1053 | "license": "MIT" 1054 | }, 1055 | "node_modules/fast-glob": { 1056 | "version": "3.2.11", 1057 | "dev": true, 1058 | "license": "MIT", 1059 | "dependencies": { 1060 | "@nodelib/fs.stat": "^2.0.2", 1061 | "@nodelib/fs.walk": "^1.2.3", 1062 | "glob-parent": "^5.1.2", 1063 | "merge2": "^1.3.0", 1064 | "micromatch": "^4.0.4" 1065 | }, 1066 | "engines": { 1067 | "node": ">=8.6.0" 1068 | } 1069 | }, 1070 | "node_modules/fast-glob/node_modules/glob-parent": { 1071 | "version": "5.1.2", 1072 | "dev": true, 1073 | "license": "ISC", 1074 | "dependencies": { 1075 | "is-glob": "^4.0.1" 1076 | }, 1077 | "engines": { 1078 | "node": ">= 6" 1079 | } 1080 | }, 1081 | "node_modules/fast-json-stable-stringify": { 1082 | "version": "2.1.0", 1083 | "dev": true, 1084 | "license": "MIT" 1085 | }, 1086 | "node_modules/fast-levenshtein": { 1087 | "version": "2.0.6", 1088 | "dev": true, 1089 | "license": "MIT" 1090 | }, 1091 | "node_modules/fastq": { 1092 | "version": "1.13.0", 1093 | "dev": true, 1094 | "license": "ISC", 1095 | "dependencies": { 1096 | "reusify": "^1.0.4" 1097 | } 1098 | }, 1099 | "node_modules/file-entry-cache": { 1100 | "version": "6.0.1", 1101 | "dev": true, 1102 | "license": "MIT", 1103 | "dependencies": { 1104 | "flat-cache": "^3.0.4" 1105 | }, 1106 | "engines": { 1107 | "node": "^10.12.0 || >=12.0.0" 1108 | } 1109 | }, 1110 | "node_modules/fill-range": { 1111 | "version": "7.0.1", 1112 | "dev": true, 1113 | "license": "MIT", 1114 | "dependencies": { 1115 | "to-regex-range": "^5.0.1" 1116 | }, 1117 | "engines": { 1118 | "node": ">=8" 1119 | } 1120 | }, 1121 | "node_modules/find-up": { 1122 | "version": "2.1.0", 1123 | "dev": true, 1124 | "license": "MIT", 1125 | "dependencies": { 1126 | "locate-path": "^2.0.0" 1127 | }, 1128 | "engines": { 1129 | "node": ">=4" 1130 | } 1131 | }, 1132 | "node_modules/flat-cache": { 1133 | "version": "3.0.4", 1134 | "dev": true, 1135 | "license": "MIT", 1136 | "dependencies": { 1137 | "flatted": "^3.1.0", 1138 | "rimraf": "^3.0.2" 1139 | }, 1140 | "engines": { 1141 | "node": "^10.12.0 || >=12.0.0" 1142 | } 1143 | }, 1144 | "node_modules/flatted": { 1145 | "version": "3.2.5", 1146 | "dev": true, 1147 | "license": "ISC" 1148 | }, 1149 | "node_modules/fs.realpath": { 1150 | "version": "1.0.0", 1151 | "dev": true, 1152 | "license": "ISC" 1153 | }, 1154 | "node_modules/function-bind": { 1155 | "version": "1.1.1", 1156 | "dev": true, 1157 | "license": "MIT" 1158 | }, 1159 | "node_modules/function.prototype.name": { 1160 | "version": "1.1.5", 1161 | "dev": true, 1162 | "license": "MIT", 1163 | "dependencies": { 1164 | "call-bind": "^1.0.2", 1165 | "define-properties": "^1.1.3", 1166 | "es-abstract": "^1.19.0", 1167 | "functions-have-names": "^1.2.2" 1168 | }, 1169 | "engines": { 1170 | "node": ">= 0.4" 1171 | }, 1172 | "funding": { 1173 | "url": "https://github.com/sponsors/ljharb" 1174 | } 1175 | }, 1176 | "node_modules/functional-red-black-tree": { 1177 | "version": "1.0.1", 1178 | "dev": true, 1179 | "license": "MIT" 1180 | }, 1181 | "node_modules/functions-have-names": { 1182 | "version": "1.2.3", 1183 | "dev": true, 1184 | "license": "MIT", 1185 | "funding": { 1186 | "url": "https://github.com/sponsors/ljharb" 1187 | } 1188 | }, 1189 | "node_modules/get-intrinsic": { 1190 | "version": "1.1.1", 1191 | "dev": true, 1192 | "license": "MIT", 1193 | "dependencies": { 1194 | "function-bind": "^1.1.1", 1195 | "has": "^1.0.3", 1196 | "has-symbols": "^1.0.1" 1197 | }, 1198 | "funding": { 1199 | "url": "https://github.com/sponsors/ljharb" 1200 | } 1201 | }, 1202 | "node_modules/get-symbol-description": { 1203 | "version": "1.0.0", 1204 | "dev": true, 1205 | "license": "MIT", 1206 | "dependencies": { 1207 | "call-bind": "^1.0.2", 1208 | "get-intrinsic": "^1.1.1" 1209 | }, 1210 | "engines": { 1211 | "node": ">= 0.4" 1212 | }, 1213 | "funding": { 1214 | "url": "https://github.com/sponsors/ljharb" 1215 | } 1216 | }, 1217 | "node_modules/glob": { 1218 | "version": "7.2.3", 1219 | "dev": true, 1220 | "license": "ISC", 1221 | "dependencies": { 1222 | "fs.realpath": "^1.0.0", 1223 | "inflight": "^1.0.4", 1224 | "inherits": "2", 1225 | "minimatch": "^3.1.1", 1226 | "once": "^1.3.0", 1227 | "path-is-absolute": "^1.0.0" 1228 | }, 1229 | "engines": { 1230 | "node": "*" 1231 | }, 1232 | "funding": { 1233 | "url": "https://github.com/sponsors/isaacs" 1234 | } 1235 | }, 1236 | "node_modules/glob-parent": { 1237 | "version": "6.0.2", 1238 | "dev": true, 1239 | "license": "ISC", 1240 | "dependencies": { 1241 | "is-glob": "^4.0.3" 1242 | }, 1243 | "engines": { 1244 | "node": ">=10.13.0" 1245 | } 1246 | }, 1247 | "node_modules/globals": { 1248 | "version": "13.15.0", 1249 | "dev": true, 1250 | "license": "MIT", 1251 | "dependencies": { 1252 | "type-fest": "^0.20.2" 1253 | }, 1254 | "engines": { 1255 | "node": ">=8" 1256 | }, 1257 | "funding": { 1258 | "url": "https://github.com/sponsors/sindresorhus" 1259 | } 1260 | }, 1261 | "node_modules/globby": { 1262 | "version": "11.1.0", 1263 | "dev": true, 1264 | "license": "MIT", 1265 | "dependencies": { 1266 | "array-union": "^2.1.0", 1267 | "dir-glob": "^3.0.1", 1268 | "fast-glob": "^3.2.9", 1269 | "ignore": "^5.2.0", 1270 | "merge2": "^1.4.1", 1271 | "slash": "^3.0.0" 1272 | }, 1273 | "engines": { 1274 | "node": ">=10" 1275 | }, 1276 | "funding": { 1277 | "url": "https://github.com/sponsors/sindresorhus" 1278 | } 1279 | }, 1280 | "node_modules/has": { 1281 | "version": "1.0.3", 1282 | "dev": true, 1283 | "license": "MIT", 1284 | "dependencies": { 1285 | "function-bind": "^1.1.1" 1286 | }, 1287 | "engines": { 1288 | "node": ">= 0.4.0" 1289 | } 1290 | }, 1291 | "node_modules/has-bigints": { 1292 | "version": "1.0.2", 1293 | "dev": true, 1294 | "license": "MIT", 1295 | "funding": { 1296 | "url": "https://github.com/sponsors/ljharb" 1297 | } 1298 | }, 1299 | "node_modules/has-flag": { 1300 | "version": "4.0.0", 1301 | "dev": true, 1302 | "license": "MIT", 1303 | "engines": { 1304 | "node": ">=8" 1305 | } 1306 | }, 1307 | "node_modules/has-property-descriptors": { 1308 | "version": "1.0.0", 1309 | "dev": true, 1310 | "license": "MIT", 1311 | "dependencies": { 1312 | "get-intrinsic": "^1.1.1" 1313 | }, 1314 | "funding": { 1315 | "url": "https://github.com/sponsors/ljharb" 1316 | } 1317 | }, 1318 | "node_modules/has-symbols": { 1319 | "version": "1.0.3", 1320 | "dev": true, 1321 | "license": "MIT", 1322 | "engines": { 1323 | "node": ">= 0.4" 1324 | }, 1325 | "funding": { 1326 | "url": "https://github.com/sponsors/ljharb" 1327 | } 1328 | }, 1329 | "node_modules/has-tostringtag": { 1330 | "version": "1.0.0", 1331 | "dev": true, 1332 | "license": "MIT", 1333 | "dependencies": { 1334 | "has-symbols": "^1.0.2" 1335 | }, 1336 | "engines": { 1337 | "node": ">= 0.4" 1338 | }, 1339 | "funding": { 1340 | "url": "https://github.com/sponsors/ljharb" 1341 | } 1342 | }, 1343 | "node_modules/ignore": { 1344 | "version": "5.2.0", 1345 | "dev": true, 1346 | "license": "MIT", 1347 | "engines": { 1348 | "node": ">= 4" 1349 | } 1350 | }, 1351 | "node_modules/import-fresh": { 1352 | "version": "3.3.0", 1353 | "dev": true, 1354 | "license": "MIT", 1355 | "dependencies": { 1356 | "parent-module": "^1.0.0", 1357 | "resolve-from": "^4.0.0" 1358 | }, 1359 | "engines": { 1360 | "node": ">=6" 1361 | }, 1362 | "funding": { 1363 | "url": "https://github.com/sponsors/sindresorhus" 1364 | } 1365 | }, 1366 | "node_modules/imurmurhash": { 1367 | "version": "0.1.4", 1368 | "dev": true, 1369 | "license": "MIT", 1370 | "engines": { 1371 | "node": ">=0.8.19" 1372 | } 1373 | }, 1374 | "node_modules/inflight": { 1375 | "version": "1.0.6", 1376 | "dev": true, 1377 | "license": "ISC", 1378 | "dependencies": { 1379 | "once": "^1.3.0", 1380 | "wrappy": "1" 1381 | } 1382 | }, 1383 | "node_modules/inherits": { 1384 | "version": "2.0.4", 1385 | "dev": true, 1386 | "license": "ISC" 1387 | }, 1388 | "node_modules/internal-slot": { 1389 | "version": "1.0.3", 1390 | "dev": true, 1391 | "license": "MIT", 1392 | "dependencies": { 1393 | "get-intrinsic": "^1.1.0", 1394 | "has": "^1.0.3", 1395 | "side-channel": "^1.0.4" 1396 | }, 1397 | "engines": { 1398 | "node": ">= 0.4" 1399 | } 1400 | }, 1401 | "node_modules/is-bigint": { 1402 | "version": "1.0.4", 1403 | "dev": true, 1404 | "license": "MIT", 1405 | "dependencies": { 1406 | "has-bigints": "^1.0.1" 1407 | }, 1408 | "funding": { 1409 | "url": "https://github.com/sponsors/ljharb" 1410 | } 1411 | }, 1412 | "node_modules/is-boolean-object": { 1413 | "version": "1.1.2", 1414 | "dev": true, 1415 | "license": "MIT", 1416 | "dependencies": { 1417 | "call-bind": "^1.0.2", 1418 | "has-tostringtag": "^1.0.0" 1419 | }, 1420 | "engines": { 1421 | "node": ">= 0.4" 1422 | }, 1423 | "funding": { 1424 | "url": "https://github.com/sponsors/ljharb" 1425 | } 1426 | }, 1427 | "node_modules/is-callable": { 1428 | "version": "1.2.4", 1429 | "dev": true, 1430 | "license": "MIT", 1431 | "engines": { 1432 | "node": ">= 0.4" 1433 | }, 1434 | "funding": { 1435 | "url": "https://github.com/sponsors/ljharb" 1436 | } 1437 | }, 1438 | "node_modules/is-core-module": { 1439 | "version": "2.9.0", 1440 | "dev": true, 1441 | "license": "MIT", 1442 | "dependencies": { 1443 | "has": "^1.0.3" 1444 | }, 1445 | "funding": { 1446 | "url": "https://github.com/sponsors/ljharb" 1447 | } 1448 | }, 1449 | "node_modules/is-date-object": { 1450 | "version": "1.0.5", 1451 | "dev": true, 1452 | "license": "MIT", 1453 | "dependencies": { 1454 | "has-tostringtag": "^1.0.0" 1455 | }, 1456 | "engines": { 1457 | "node": ">= 0.4" 1458 | }, 1459 | "funding": { 1460 | "url": "https://github.com/sponsors/ljharb" 1461 | } 1462 | }, 1463 | "node_modules/is-extglob": { 1464 | "version": "2.1.1", 1465 | "dev": true, 1466 | "license": "MIT", 1467 | "engines": { 1468 | "node": ">=0.10.0" 1469 | } 1470 | }, 1471 | "node_modules/is-glob": { 1472 | "version": "4.0.3", 1473 | "dev": true, 1474 | "license": "MIT", 1475 | "dependencies": { 1476 | "is-extglob": "^2.1.1" 1477 | }, 1478 | "engines": { 1479 | "node": ">=0.10.0" 1480 | } 1481 | }, 1482 | "node_modules/is-negative-zero": { 1483 | "version": "2.0.2", 1484 | "dev": true, 1485 | "license": "MIT", 1486 | "engines": { 1487 | "node": ">= 0.4" 1488 | }, 1489 | "funding": { 1490 | "url": "https://github.com/sponsors/ljharb" 1491 | } 1492 | }, 1493 | "node_modules/is-number": { 1494 | "version": "7.0.0", 1495 | "dev": true, 1496 | "license": "MIT", 1497 | "engines": { 1498 | "node": ">=0.12.0" 1499 | } 1500 | }, 1501 | "node_modules/is-number-object": { 1502 | "version": "1.0.7", 1503 | "dev": true, 1504 | "license": "MIT", 1505 | "dependencies": { 1506 | "has-tostringtag": "^1.0.0" 1507 | }, 1508 | "engines": { 1509 | "node": ">= 0.4" 1510 | }, 1511 | "funding": { 1512 | "url": "https://github.com/sponsors/ljharb" 1513 | } 1514 | }, 1515 | "node_modules/is-regex": { 1516 | "version": "1.1.4", 1517 | "dev": true, 1518 | "license": "MIT", 1519 | "dependencies": { 1520 | "call-bind": "^1.0.2", 1521 | "has-tostringtag": "^1.0.0" 1522 | }, 1523 | "engines": { 1524 | "node": ">= 0.4" 1525 | }, 1526 | "funding": { 1527 | "url": "https://github.com/sponsors/ljharb" 1528 | } 1529 | }, 1530 | "node_modules/is-shared-array-buffer": { 1531 | "version": "1.0.2", 1532 | "dev": true, 1533 | "license": "MIT", 1534 | "dependencies": { 1535 | "call-bind": "^1.0.2" 1536 | }, 1537 | "funding": { 1538 | "url": "https://github.com/sponsors/ljharb" 1539 | } 1540 | }, 1541 | "node_modules/is-string": { 1542 | "version": "1.0.7", 1543 | "dev": true, 1544 | "license": "MIT", 1545 | "dependencies": { 1546 | "has-tostringtag": "^1.0.0" 1547 | }, 1548 | "engines": { 1549 | "node": ">= 0.4" 1550 | }, 1551 | "funding": { 1552 | "url": "https://github.com/sponsors/ljharb" 1553 | } 1554 | }, 1555 | "node_modules/is-symbol": { 1556 | "version": "1.0.4", 1557 | "dev": true, 1558 | "license": "MIT", 1559 | "dependencies": { 1560 | "has-symbols": "^1.0.2" 1561 | }, 1562 | "engines": { 1563 | "node": ">= 0.4" 1564 | }, 1565 | "funding": { 1566 | "url": "https://github.com/sponsors/ljharb" 1567 | } 1568 | }, 1569 | "node_modules/is-weakref": { 1570 | "version": "1.0.2", 1571 | "dev": true, 1572 | "license": "MIT", 1573 | "dependencies": { 1574 | "call-bind": "^1.0.2" 1575 | }, 1576 | "funding": { 1577 | "url": "https://github.com/sponsors/ljharb" 1578 | } 1579 | }, 1580 | "node_modules/isexe": { 1581 | "version": "2.0.0", 1582 | "dev": true, 1583 | "license": "ISC" 1584 | }, 1585 | "node_modules/js-tokens": { 1586 | "version": "4.0.0", 1587 | "license": "MIT" 1588 | }, 1589 | "node_modules/js-yaml": { 1590 | "version": "4.1.0", 1591 | "dev": true, 1592 | "license": "MIT", 1593 | "dependencies": { 1594 | "argparse": "^2.0.1" 1595 | }, 1596 | "bin": { 1597 | "js-yaml": "bin/js-yaml.js" 1598 | } 1599 | }, 1600 | "node_modules/json-schema-traverse": { 1601 | "version": "0.4.1", 1602 | "dev": true, 1603 | "license": "MIT" 1604 | }, 1605 | "node_modules/json-stable-stringify-without-jsonify": { 1606 | "version": "1.0.1", 1607 | "dev": true, 1608 | "license": "MIT" 1609 | }, 1610 | "node_modules/json5": { 1611 | "version": "1.0.1", 1612 | "dev": true, 1613 | "license": "MIT", 1614 | "dependencies": { 1615 | "minimist": "^1.2.0" 1616 | }, 1617 | "bin": { 1618 | "json5": "lib/cli.js" 1619 | } 1620 | }, 1621 | "node_modules/jsx-ast-utils": { 1622 | "version": "3.3.0", 1623 | "dev": true, 1624 | "license": "MIT", 1625 | "dependencies": { 1626 | "array-includes": "^3.1.4", 1627 | "object.assign": "^4.1.2" 1628 | }, 1629 | "engines": { 1630 | "node": ">=4.0" 1631 | } 1632 | }, 1633 | "node_modules/language-subtag-registry": { 1634 | "version": "0.3.21", 1635 | "dev": true, 1636 | "license": "ODC-By-1.0" 1637 | }, 1638 | "node_modules/language-tags": { 1639 | "version": "1.0.5", 1640 | "dev": true, 1641 | "license": "MIT", 1642 | "dependencies": { 1643 | "language-subtag-registry": "~0.3.2" 1644 | } 1645 | }, 1646 | "node_modules/levn": { 1647 | "version": "0.4.1", 1648 | "dev": true, 1649 | "license": "MIT", 1650 | "dependencies": { 1651 | "prelude-ls": "^1.2.1", 1652 | "type-check": "~0.4.0" 1653 | }, 1654 | "engines": { 1655 | "node": ">= 0.8.0" 1656 | } 1657 | }, 1658 | "node_modules/locate-path": { 1659 | "version": "2.0.0", 1660 | "dev": true, 1661 | "license": "MIT", 1662 | "dependencies": { 1663 | "p-locate": "^2.0.0", 1664 | "path-exists": "^3.0.0" 1665 | }, 1666 | "engines": { 1667 | "node": ">=4" 1668 | } 1669 | }, 1670 | "node_modules/lodash.merge": { 1671 | "version": "4.6.2", 1672 | "dev": true, 1673 | "license": "MIT" 1674 | }, 1675 | "node_modules/loose-envify": { 1676 | "version": "1.4.0", 1677 | "license": "MIT", 1678 | "dependencies": { 1679 | "js-tokens": "^3.0.0 || ^4.0.0" 1680 | }, 1681 | "bin": { 1682 | "loose-envify": "cli.js" 1683 | } 1684 | }, 1685 | "node_modules/lru-cache": { 1686 | "version": "6.0.0", 1687 | "dev": true, 1688 | "license": "ISC", 1689 | "dependencies": { 1690 | "yallist": "^4.0.0" 1691 | }, 1692 | "engines": { 1693 | "node": ">=10" 1694 | } 1695 | }, 1696 | "node_modules/merge2": { 1697 | "version": "1.4.1", 1698 | "dev": true, 1699 | "license": "MIT", 1700 | "engines": { 1701 | "node": ">= 8" 1702 | } 1703 | }, 1704 | "node_modules/micromatch": { 1705 | "version": "4.0.5", 1706 | "dev": true, 1707 | "license": "MIT", 1708 | "dependencies": { 1709 | "braces": "^3.0.2", 1710 | "picomatch": "^2.3.1" 1711 | }, 1712 | "engines": { 1713 | "node": ">=8.6" 1714 | } 1715 | }, 1716 | "node_modules/minimatch": { 1717 | "version": "3.1.2", 1718 | "dev": true, 1719 | "license": "ISC", 1720 | "dependencies": { 1721 | "brace-expansion": "^1.1.7" 1722 | }, 1723 | "engines": { 1724 | "node": "*" 1725 | } 1726 | }, 1727 | "node_modules/minimist": { 1728 | "version": "1.2.6", 1729 | "dev": true, 1730 | "license": "MIT" 1731 | }, 1732 | "node_modules/ms": { 1733 | "version": "2.1.2", 1734 | "dev": true, 1735 | "license": "MIT" 1736 | }, 1737 | "node_modules/nanoid": { 1738 | "version": "3.3.4", 1739 | "license": "MIT", 1740 | "bin": { 1741 | "nanoid": "bin/nanoid.cjs" 1742 | }, 1743 | "engines": { 1744 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1745 | } 1746 | }, 1747 | "node_modules/natural-compare": { 1748 | "version": "1.4.0", 1749 | "dev": true, 1750 | "license": "MIT" 1751 | }, 1752 | "node_modules/next": { 1753 | "version": "12.1.6", 1754 | "license": "MIT", 1755 | "dependencies": { 1756 | "@next/env": "12.1.6", 1757 | "caniuse-lite": "^1.0.30001332", 1758 | "postcss": "8.4.5", 1759 | "styled-jsx": "5.0.2" 1760 | }, 1761 | "bin": { 1762 | "next": "dist/bin/next" 1763 | }, 1764 | "engines": { 1765 | "node": ">=12.22.0" 1766 | }, 1767 | "optionalDependencies": { 1768 | "@next/swc-android-arm-eabi": "12.1.6", 1769 | "@next/swc-android-arm64": "12.1.6", 1770 | "@next/swc-darwin-arm64": "12.1.6", 1771 | "@next/swc-darwin-x64": "12.1.6", 1772 | "@next/swc-linux-arm-gnueabihf": "12.1.6", 1773 | "@next/swc-linux-arm64-gnu": "12.1.6", 1774 | "@next/swc-linux-arm64-musl": "12.1.6", 1775 | "@next/swc-linux-x64-gnu": "12.1.6", 1776 | "@next/swc-linux-x64-musl": "12.1.6", 1777 | "@next/swc-win32-arm64-msvc": "12.1.6", 1778 | "@next/swc-win32-ia32-msvc": "12.1.6", 1779 | "@next/swc-win32-x64-msvc": "12.1.6" 1780 | }, 1781 | "peerDependencies": { 1782 | "fibers": ">= 3.1.0", 1783 | "node-sass": "^6.0.0 || ^7.0.0", 1784 | "react": "^17.0.2 || ^18.0.0-0", 1785 | "react-dom": "^17.0.2 || ^18.0.0-0", 1786 | "sass": "^1.3.0" 1787 | }, 1788 | "peerDependenciesMeta": { 1789 | "fibers": { 1790 | "optional": true 1791 | }, 1792 | "node-sass": { 1793 | "optional": true 1794 | }, 1795 | "sass": { 1796 | "optional": true 1797 | } 1798 | } 1799 | }, 1800 | "node_modules/object-assign": { 1801 | "version": "4.1.1", 1802 | "dev": true, 1803 | "license": "MIT", 1804 | "engines": { 1805 | "node": ">=0.10.0" 1806 | } 1807 | }, 1808 | "node_modules/object-inspect": { 1809 | "version": "1.12.0", 1810 | "dev": true, 1811 | "license": "MIT", 1812 | "funding": { 1813 | "url": "https://github.com/sponsors/ljharb" 1814 | } 1815 | }, 1816 | "node_modules/object-keys": { 1817 | "version": "1.1.1", 1818 | "dev": true, 1819 | "license": "MIT", 1820 | "engines": { 1821 | "node": ">= 0.4" 1822 | } 1823 | }, 1824 | "node_modules/object.assign": { 1825 | "version": "4.1.2", 1826 | "dev": true, 1827 | "license": "MIT", 1828 | "dependencies": { 1829 | "call-bind": "^1.0.0", 1830 | "define-properties": "^1.1.3", 1831 | "has-symbols": "^1.0.1", 1832 | "object-keys": "^1.1.1" 1833 | }, 1834 | "engines": { 1835 | "node": ">= 0.4" 1836 | }, 1837 | "funding": { 1838 | "url": "https://github.com/sponsors/ljharb" 1839 | } 1840 | }, 1841 | "node_modules/object.entries": { 1842 | "version": "1.1.5", 1843 | "dev": true, 1844 | "license": "MIT", 1845 | "dependencies": { 1846 | "call-bind": "^1.0.2", 1847 | "define-properties": "^1.1.3", 1848 | "es-abstract": "^1.19.1" 1849 | }, 1850 | "engines": { 1851 | "node": ">= 0.4" 1852 | } 1853 | }, 1854 | "node_modules/object.fromentries": { 1855 | "version": "2.0.5", 1856 | "dev": true, 1857 | "license": "MIT", 1858 | "dependencies": { 1859 | "call-bind": "^1.0.2", 1860 | "define-properties": "^1.1.3", 1861 | "es-abstract": "^1.19.1" 1862 | }, 1863 | "engines": { 1864 | "node": ">= 0.4" 1865 | }, 1866 | "funding": { 1867 | "url": "https://github.com/sponsors/ljharb" 1868 | } 1869 | }, 1870 | "node_modules/object.hasown": { 1871 | "version": "1.1.1", 1872 | "dev": true, 1873 | "license": "MIT", 1874 | "dependencies": { 1875 | "define-properties": "^1.1.4", 1876 | "es-abstract": "^1.19.5" 1877 | }, 1878 | "funding": { 1879 | "url": "https://github.com/sponsors/ljharb" 1880 | } 1881 | }, 1882 | "node_modules/object.values": { 1883 | "version": "1.1.5", 1884 | "dev": true, 1885 | "license": "MIT", 1886 | "dependencies": { 1887 | "call-bind": "^1.0.2", 1888 | "define-properties": "^1.1.3", 1889 | "es-abstract": "^1.19.1" 1890 | }, 1891 | "engines": { 1892 | "node": ">= 0.4" 1893 | }, 1894 | "funding": { 1895 | "url": "https://github.com/sponsors/ljharb" 1896 | } 1897 | }, 1898 | "node_modules/once": { 1899 | "version": "1.4.0", 1900 | "dev": true, 1901 | "license": "ISC", 1902 | "dependencies": { 1903 | "wrappy": "1" 1904 | } 1905 | }, 1906 | "node_modules/optionator": { 1907 | "version": "0.9.1", 1908 | "dev": true, 1909 | "license": "MIT", 1910 | "dependencies": { 1911 | "deep-is": "^0.1.3", 1912 | "fast-levenshtein": "^2.0.6", 1913 | "levn": "^0.4.1", 1914 | "prelude-ls": "^1.2.1", 1915 | "type-check": "^0.4.0", 1916 | "word-wrap": "^1.2.3" 1917 | }, 1918 | "engines": { 1919 | "node": ">= 0.8.0" 1920 | } 1921 | }, 1922 | "node_modules/p-limit": { 1923 | "version": "1.3.0", 1924 | "dev": true, 1925 | "license": "MIT", 1926 | "dependencies": { 1927 | "p-try": "^1.0.0" 1928 | }, 1929 | "engines": { 1930 | "node": ">=4" 1931 | } 1932 | }, 1933 | "node_modules/p-locate": { 1934 | "version": "2.0.0", 1935 | "dev": true, 1936 | "license": "MIT", 1937 | "dependencies": { 1938 | "p-limit": "^1.1.0" 1939 | }, 1940 | "engines": { 1941 | "node": ">=4" 1942 | } 1943 | }, 1944 | "node_modules/p-try": { 1945 | "version": "1.0.0", 1946 | "dev": true, 1947 | "license": "MIT", 1948 | "engines": { 1949 | "node": ">=4" 1950 | } 1951 | }, 1952 | "node_modules/parent-module": { 1953 | "version": "1.0.1", 1954 | "dev": true, 1955 | "license": "MIT", 1956 | "dependencies": { 1957 | "callsites": "^3.0.0" 1958 | }, 1959 | "engines": { 1960 | "node": ">=6" 1961 | } 1962 | }, 1963 | "node_modules/path-exists": { 1964 | "version": "3.0.0", 1965 | "dev": true, 1966 | "license": "MIT", 1967 | "engines": { 1968 | "node": ">=4" 1969 | } 1970 | }, 1971 | "node_modules/path-is-absolute": { 1972 | "version": "1.0.1", 1973 | "dev": true, 1974 | "license": "MIT", 1975 | "engines": { 1976 | "node": ">=0.10.0" 1977 | } 1978 | }, 1979 | "node_modules/path-key": { 1980 | "version": "3.1.1", 1981 | "dev": true, 1982 | "license": "MIT", 1983 | "engines": { 1984 | "node": ">=8" 1985 | } 1986 | }, 1987 | "node_modules/path-parse": { 1988 | "version": "1.0.7", 1989 | "dev": true, 1990 | "license": "MIT" 1991 | }, 1992 | "node_modules/path-type": { 1993 | "version": "4.0.0", 1994 | "dev": true, 1995 | "license": "MIT", 1996 | "engines": { 1997 | "node": ">=8" 1998 | } 1999 | }, 2000 | "node_modules/picocolors": { 2001 | "version": "1.0.0", 2002 | "license": "ISC" 2003 | }, 2004 | "node_modules/picomatch": { 2005 | "version": "2.3.1", 2006 | "dev": true, 2007 | "license": "MIT", 2008 | "engines": { 2009 | "node": ">=8.6" 2010 | }, 2011 | "funding": { 2012 | "url": "https://github.com/sponsors/jonschlinkert" 2013 | } 2014 | }, 2015 | "node_modules/postcss": { 2016 | "version": "8.4.5", 2017 | "license": "MIT", 2018 | "dependencies": { 2019 | "nanoid": "^3.1.30", 2020 | "picocolors": "^1.0.0", 2021 | "source-map-js": "^1.0.1" 2022 | }, 2023 | "engines": { 2024 | "node": "^10 || ^12 || >=14" 2025 | }, 2026 | "funding": { 2027 | "type": "opencollective", 2028 | "url": "https://opencollective.com/postcss/" 2029 | } 2030 | }, 2031 | "node_modules/prelude-ls": { 2032 | "version": "1.2.1", 2033 | "dev": true, 2034 | "license": "MIT", 2035 | "engines": { 2036 | "node": ">= 0.8.0" 2037 | } 2038 | }, 2039 | "node_modules/prop-types": { 2040 | "version": "15.8.1", 2041 | "dev": true, 2042 | "license": "MIT", 2043 | "dependencies": { 2044 | "loose-envify": "^1.4.0", 2045 | "object-assign": "^4.1.1", 2046 | "react-is": "^16.13.1" 2047 | } 2048 | }, 2049 | "node_modules/punycode": { 2050 | "version": "2.1.1", 2051 | "dev": true, 2052 | "license": "MIT", 2053 | "engines": { 2054 | "node": ">=6" 2055 | } 2056 | }, 2057 | "node_modules/queue-microtask": { 2058 | "version": "1.2.3", 2059 | "dev": true, 2060 | "funding": [ 2061 | { 2062 | "type": "github", 2063 | "url": "https://github.com/sponsors/feross" 2064 | }, 2065 | { 2066 | "type": "patreon", 2067 | "url": "https://www.patreon.com/feross" 2068 | }, 2069 | { 2070 | "type": "consulting", 2071 | "url": "https://feross.org/support" 2072 | } 2073 | ], 2074 | "license": "MIT" 2075 | }, 2076 | "node_modules/react": { 2077 | "version": "18.1.0", 2078 | "license": "MIT", 2079 | "dependencies": { 2080 | "loose-envify": "^1.1.0" 2081 | }, 2082 | "engines": { 2083 | "node": ">=0.10.0" 2084 | } 2085 | }, 2086 | "node_modules/react-dom": { 2087 | "version": "18.1.0", 2088 | "license": "MIT", 2089 | "dependencies": { 2090 | "loose-envify": "^1.1.0", 2091 | "scheduler": "^0.22.0" 2092 | }, 2093 | "peerDependencies": { 2094 | "react": "^18.1.0" 2095 | } 2096 | }, 2097 | "node_modules/react-is": { 2098 | "version": "16.13.1", 2099 | "dev": true, 2100 | "license": "MIT" 2101 | }, 2102 | "node_modules/regenerator-runtime": { 2103 | "version": "0.13.9", 2104 | "dev": true, 2105 | "license": "MIT" 2106 | }, 2107 | "node_modules/regexp.prototype.flags": { 2108 | "version": "1.4.3", 2109 | "dev": true, 2110 | "license": "MIT", 2111 | "dependencies": { 2112 | "call-bind": "^1.0.2", 2113 | "define-properties": "^1.1.3", 2114 | "functions-have-names": "^1.2.2" 2115 | }, 2116 | "engines": { 2117 | "node": ">= 0.4" 2118 | }, 2119 | "funding": { 2120 | "url": "https://github.com/sponsors/ljharb" 2121 | } 2122 | }, 2123 | "node_modules/regexpp": { 2124 | "version": "3.2.0", 2125 | "dev": true, 2126 | "license": "MIT", 2127 | "engines": { 2128 | "node": ">=8" 2129 | }, 2130 | "funding": { 2131 | "url": "https://github.com/sponsors/mysticatea" 2132 | } 2133 | }, 2134 | "node_modules/resolve": { 2135 | "version": "1.22.0", 2136 | "dev": true, 2137 | "license": "MIT", 2138 | "dependencies": { 2139 | "is-core-module": "^2.8.1", 2140 | "path-parse": "^1.0.7", 2141 | "supports-preserve-symlinks-flag": "^1.0.0" 2142 | }, 2143 | "bin": { 2144 | "resolve": "bin/resolve" 2145 | }, 2146 | "funding": { 2147 | "url": "https://github.com/sponsors/ljharb" 2148 | } 2149 | }, 2150 | "node_modules/resolve-from": { 2151 | "version": "4.0.0", 2152 | "dev": true, 2153 | "license": "MIT", 2154 | "engines": { 2155 | "node": ">=4" 2156 | } 2157 | }, 2158 | "node_modules/reusify": { 2159 | "version": "1.0.4", 2160 | "dev": true, 2161 | "license": "MIT", 2162 | "engines": { 2163 | "iojs": ">=1.0.0", 2164 | "node": ">=0.10.0" 2165 | } 2166 | }, 2167 | "node_modules/rimraf": { 2168 | "version": "3.0.2", 2169 | "dev": true, 2170 | "license": "ISC", 2171 | "dependencies": { 2172 | "glob": "^7.1.3" 2173 | }, 2174 | "bin": { 2175 | "rimraf": "bin.js" 2176 | }, 2177 | "funding": { 2178 | "url": "https://github.com/sponsors/isaacs" 2179 | } 2180 | }, 2181 | "node_modules/run-parallel": { 2182 | "version": "1.2.0", 2183 | "dev": true, 2184 | "funding": [ 2185 | { 2186 | "type": "github", 2187 | "url": "https://github.com/sponsors/feross" 2188 | }, 2189 | { 2190 | "type": "patreon", 2191 | "url": "https://www.patreon.com/feross" 2192 | }, 2193 | { 2194 | "type": "consulting", 2195 | "url": "https://feross.org/support" 2196 | } 2197 | ], 2198 | "license": "MIT", 2199 | "dependencies": { 2200 | "queue-microtask": "^1.2.2" 2201 | } 2202 | }, 2203 | "node_modules/scheduler": { 2204 | "version": "0.22.0", 2205 | "license": "MIT", 2206 | "dependencies": { 2207 | "loose-envify": "^1.1.0" 2208 | } 2209 | }, 2210 | "node_modules/semver": { 2211 | "version": "6.3.0", 2212 | "dev": true, 2213 | "license": "ISC", 2214 | "bin": { 2215 | "semver": "bin/semver.js" 2216 | } 2217 | }, 2218 | "node_modules/shebang-command": { 2219 | "version": "2.0.0", 2220 | "dev": true, 2221 | "license": "MIT", 2222 | "dependencies": { 2223 | "shebang-regex": "^3.0.0" 2224 | }, 2225 | "engines": { 2226 | "node": ">=8" 2227 | } 2228 | }, 2229 | "node_modules/shebang-regex": { 2230 | "version": "3.0.0", 2231 | "dev": true, 2232 | "license": "MIT", 2233 | "engines": { 2234 | "node": ">=8" 2235 | } 2236 | }, 2237 | "node_modules/side-channel": { 2238 | "version": "1.0.4", 2239 | "dev": true, 2240 | "license": "MIT", 2241 | "dependencies": { 2242 | "call-bind": "^1.0.0", 2243 | "get-intrinsic": "^1.0.2", 2244 | "object-inspect": "^1.9.0" 2245 | }, 2246 | "funding": { 2247 | "url": "https://github.com/sponsors/ljharb" 2248 | } 2249 | }, 2250 | "node_modules/slash": { 2251 | "version": "3.0.0", 2252 | "dev": true, 2253 | "license": "MIT", 2254 | "engines": { 2255 | "node": ">=8" 2256 | } 2257 | }, 2258 | "node_modules/source-map-js": { 2259 | "version": "1.0.2", 2260 | "license": "BSD-3-Clause", 2261 | "engines": { 2262 | "node": ">=0.10.0" 2263 | } 2264 | }, 2265 | "node_modules/string.prototype.matchall": { 2266 | "version": "4.0.7", 2267 | "dev": true, 2268 | "license": "MIT", 2269 | "dependencies": { 2270 | "call-bind": "^1.0.2", 2271 | "define-properties": "^1.1.3", 2272 | "es-abstract": "^1.19.1", 2273 | "get-intrinsic": "^1.1.1", 2274 | "has-symbols": "^1.0.3", 2275 | "internal-slot": "^1.0.3", 2276 | "regexp.prototype.flags": "^1.4.1", 2277 | "side-channel": "^1.0.4" 2278 | }, 2279 | "funding": { 2280 | "url": "https://github.com/sponsors/ljharb" 2281 | } 2282 | }, 2283 | "node_modules/string.prototype.trimend": { 2284 | "version": "1.0.5", 2285 | "dev": true, 2286 | "license": "MIT", 2287 | "dependencies": { 2288 | "call-bind": "^1.0.2", 2289 | "define-properties": "^1.1.4", 2290 | "es-abstract": "^1.19.5" 2291 | }, 2292 | "funding": { 2293 | "url": "https://github.com/sponsors/ljharb" 2294 | } 2295 | }, 2296 | "node_modules/string.prototype.trimstart": { 2297 | "version": "1.0.5", 2298 | "dev": true, 2299 | "license": "MIT", 2300 | "dependencies": { 2301 | "call-bind": "^1.0.2", 2302 | "define-properties": "^1.1.4", 2303 | "es-abstract": "^1.19.5" 2304 | }, 2305 | "funding": { 2306 | "url": "https://github.com/sponsors/ljharb" 2307 | } 2308 | }, 2309 | "node_modules/strip-ansi": { 2310 | "version": "6.0.1", 2311 | "dev": true, 2312 | "license": "MIT", 2313 | "dependencies": { 2314 | "ansi-regex": "^5.0.1" 2315 | }, 2316 | "engines": { 2317 | "node": ">=8" 2318 | } 2319 | }, 2320 | "node_modules/strip-bom": { 2321 | "version": "3.0.0", 2322 | "dev": true, 2323 | "license": "MIT", 2324 | "engines": { 2325 | "node": ">=4" 2326 | } 2327 | }, 2328 | "node_modules/strip-json-comments": { 2329 | "version": "3.1.1", 2330 | "dev": true, 2331 | "license": "MIT", 2332 | "engines": { 2333 | "node": ">=8" 2334 | }, 2335 | "funding": { 2336 | "url": "https://github.com/sponsors/sindresorhus" 2337 | } 2338 | }, 2339 | "node_modules/styled-jsx": { 2340 | "version": "5.0.2", 2341 | "license": "MIT", 2342 | "engines": { 2343 | "node": ">= 12.0.0" 2344 | }, 2345 | "peerDependencies": { 2346 | "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0" 2347 | }, 2348 | "peerDependenciesMeta": { 2349 | "@babel/core": { 2350 | "optional": true 2351 | }, 2352 | "babel-plugin-macros": { 2353 | "optional": true 2354 | } 2355 | } 2356 | }, 2357 | "node_modules/supports-color": { 2358 | "version": "7.2.0", 2359 | "dev": true, 2360 | "license": "MIT", 2361 | "dependencies": { 2362 | "has-flag": "^4.0.0" 2363 | }, 2364 | "engines": { 2365 | "node": ">=8" 2366 | } 2367 | }, 2368 | "node_modules/supports-preserve-symlinks-flag": { 2369 | "version": "1.0.0", 2370 | "dev": true, 2371 | "license": "MIT", 2372 | "engines": { 2373 | "node": ">= 0.4" 2374 | }, 2375 | "funding": { 2376 | "url": "https://github.com/sponsors/ljharb" 2377 | } 2378 | }, 2379 | "node_modules/text-table": { 2380 | "version": "0.2.0", 2381 | "dev": true, 2382 | "license": "MIT" 2383 | }, 2384 | "node_modules/to-regex-range": { 2385 | "version": "5.0.1", 2386 | "dev": true, 2387 | "license": "MIT", 2388 | "dependencies": { 2389 | "is-number": "^7.0.0" 2390 | }, 2391 | "engines": { 2392 | "node": ">=8.0" 2393 | } 2394 | }, 2395 | "node_modules/tsconfig-paths": { 2396 | "version": "3.14.1", 2397 | "dev": true, 2398 | "license": "MIT", 2399 | "dependencies": { 2400 | "@types/json5": "^0.0.29", 2401 | "json5": "^1.0.1", 2402 | "minimist": "^1.2.6", 2403 | "strip-bom": "^3.0.0" 2404 | } 2405 | }, 2406 | "node_modules/tslib": { 2407 | "version": "1.14.1", 2408 | "dev": true, 2409 | "license": "0BSD" 2410 | }, 2411 | "node_modules/tsutils": { 2412 | "version": "3.21.0", 2413 | "dev": true, 2414 | "license": "MIT", 2415 | "dependencies": { 2416 | "tslib": "^1.8.1" 2417 | }, 2418 | "engines": { 2419 | "node": ">= 6" 2420 | }, 2421 | "peerDependencies": { 2422 | "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" 2423 | } 2424 | }, 2425 | "node_modules/type-check": { 2426 | "version": "0.4.0", 2427 | "dev": true, 2428 | "license": "MIT", 2429 | "dependencies": { 2430 | "prelude-ls": "^1.2.1" 2431 | }, 2432 | "engines": { 2433 | "node": ">= 0.8.0" 2434 | } 2435 | }, 2436 | "node_modules/type-fest": { 2437 | "version": "0.20.2", 2438 | "dev": true, 2439 | "license": "(MIT OR CC0-1.0)", 2440 | "engines": { 2441 | "node": ">=10" 2442 | }, 2443 | "funding": { 2444 | "url": "https://github.com/sponsors/sindresorhus" 2445 | } 2446 | }, 2447 | "node_modules/typescript": { 2448 | "version": "4.9.5", 2449 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", 2450 | "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", 2451 | "dev": true, 2452 | "peer": true, 2453 | "bin": { 2454 | "tsc": "bin/tsc", 2455 | "tsserver": "bin/tsserver" 2456 | }, 2457 | "engines": { 2458 | "node": ">=4.2.0" 2459 | } 2460 | }, 2461 | "node_modules/unbox-primitive": { 2462 | "version": "1.0.2", 2463 | "dev": true, 2464 | "license": "MIT", 2465 | "dependencies": { 2466 | "call-bind": "^1.0.2", 2467 | "has-bigints": "^1.0.2", 2468 | "has-symbols": "^1.0.3", 2469 | "which-boxed-primitive": "^1.0.2" 2470 | }, 2471 | "funding": { 2472 | "url": "https://github.com/sponsors/ljharb" 2473 | } 2474 | }, 2475 | "node_modules/uri-js": { 2476 | "version": "4.4.1", 2477 | "dev": true, 2478 | "license": "BSD-2-Clause", 2479 | "dependencies": { 2480 | "punycode": "^2.1.0" 2481 | } 2482 | }, 2483 | "node_modules/v8-compile-cache": { 2484 | "version": "2.3.0", 2485 | "dev": true, 2486 | "license": "MIT" 2487 | }, 2488 | "node_modules/which": { 2489 | "version": "2.0.2", 2490 | "dev": true, 2491 | "license": "ISC", 2492 | "dependencies": { 2493 | "isexe": "^2.0.0" 2494 | }, 2495 | "bin": { 2496 | "node-which": "bin/node-which" 2497 | }, 2498 | "engines": { 2499 | "node": ">= 8" 2500 | } 2501 | }, 2502 | "node_modules/which-boxed-primitive": { 2503 | "version": "1.0.2", 2504 | "dev": true, 2505 | "license": "MIT", 2506 | "dependencies": { 2507 | "is-bigint": "^1.0.1", 2508 | "is-boolean-object": "^1.1.0", 2509 | "is-number-object": "^1.0.4", 2510 | "is-string": "^1.0.5", 2511 | "is-symbol": "^1.0.3" 2512 | }, 2513 | "funding": { 2514 | "url": "https://github.com/sponsors/ljharb" 2515 | } 2516 | }, 2517 | "node_modules/word-wrap": { 2518 | "version": "1.2.3", 2519 | "dev": true, 2520 | "license": "MIT", 2521 | "engines": { 2522 | "node": ">=0.10.0" 2523 | } 2524 | }, 2525 | "node_modules/wrappy": { 2526 | "version": "1.0.2", 2527 | "dev": true, 2528 | "license": "ISC" 2529 | }, 2530 | "node_modules/yallist": { 2531 | "version": "4.0.0", 2532 | "dev": true, 2533 | "license": "ISC" 2534 | } 2535 | } 2536 | } 2537 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nested-layout-demo", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "dev": "next dev", 7 | "build": "next build", 8 | "start": "next start", 9 | "lint": "next lint" 10 | }, 11 | "dependencies": { 12 | "next": "12.1.6", 13 | "react": "18.1.0", 14 | "react-dom": "18.1.0" 15 | }, 16 | "devDependencies": { 17 | "eslint": "8.16.0", 18 | "eslint-config-next": "12.1.6" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /pages/_app.js: -------------------------------------------------------------------------------- 1 | import { useEffect } from "react"; 2 | import Link from "next/link"; 3 | import "../styles/globals.css"; 4 | import styles from "../styles/App.module.css"; 5 | 6 | function MyApp({ Component, pageProps }) { 7 | useEffect(() => { 8 | console.log("App layout mounted"); 9 | return () => console.log("App layout unmounted"); 10 | }, []); 11 | return ( 12 |