From a6a4dfff4dfe192530afc1f7817ef92285e36395 Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Sat, 6 Jan 2024 15:01:50 +0530 Subject: [PATCH] Start adding new Item Page #243 --- package.json | 38 +- pnpm-lock.yaml | 355 ++++----- src/components/appBar/appBar.jsx | 19 +- src/components/appBar/appBar.module.scss | 7 +- src/components/buttons/likeButton.jsx | 9 +- src/components/buttons/playButton.jsx | 1 - src/routes/item/index.jsx | 902 ++++++++++++++++++++++- src/routes/item/item.module.scss | 137 ++++ src/routes/library/library.module.scss | 2 +- src/styles/global.scss | 7 + src/styles/variables.scss | 7 +- src/theme.js | 3 + 12 files changed, 1248 insertions(+), 239 deletions(-) diff --git a/package.json b/package.json index e6d45e1..1befb55 100644 --- a/package.json +++ b/package.json @@ -11,49 +11,49 @@ "lint": "eslint" }, "dependencies": { - "@emotion/react": "^11.11.1", + "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@fontsource-variable/jetbrains-mono": "^5.0.19", "@fontsource/noto-sans": "^5.0.18", "@jellyfin/sdk": "0.8.2", - "@mdi/js": "^7.3.67", - "@mui/lab": "5.0.0-alpha.158", - "@mui/material": "^5.14.20", - "@tanstack/react-query": "^5.13.4", - "@tanstack/react-query-devtools": "^5.13.5", - "@tauri-apps/api": "^1.5.1", - "axios": "^1.6.2", - "axios-tauri-api-adapter": "^0.2.0", + "@mdi/js": "^7.4.47", + "@mui/lab": "5.0.0-alpha.159", + "@mui/material": "^5.15.3", + "@tanstack/react-query": "^5.17.5", + "@tanstack/react-query-devtools": "^5.17.5", + "@tauri-apps/api": "^1.5.3", + "axios": "^1.6.5", + "axios-tauri-api-adapter": "^0.2.1", "blurhash": "^2.0.5", "events": "^3.3.0", - "framer-motion": "^10.16.16", - "material-symbols": "^0.14.2", + "framer-motion": "^10.17.9", + "material-symbols": "^0.14.4", "notistack": "^3.0.1", "react": "^18.2.0", "react-blurhash": "^0.3.0", "react-dom": "^18.2.0", - "react-error-boundary": "^4.0.11", + "react-error-boundary": "^4.0.12", "react-markdown": "^9.0.1", "react-multi-carousel": "^2.8.4", - "react-player": "^2.13.0", - "react-router-dom": "^6.20.1", + "react-player": "^2.14.1", + "react-router-dom": "^6.21.1", "react-use-konami": "^1.1.0", "tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1", "tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store", "uuid": "^9.0.1", "vite-plugin-svgr": "^4.2.0", - "wavesurfer.js": "^7.5.1", + "wavesurfer.js": "^7.6.1", "zustand": "^4.4.7" }, "devDependencies": { - "@tauri-apps/cli": "^1.5.7", + "@tauri-apps/cli": "^1.5.9", "@vitejs/plugin-react": "^4.2.1", - "eslint": "^8.55.0", + "eslint": "^8.56.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-refresh": "^0.4.5", "prop-types": "^15.8.1", - "sass": "^1.69.5", - "vite": "^5.0.7", + "sass": "^1.69.7", + "vite": "^5.0.11", "vite-plugin-compression": "^0.5.1" }, "license": "GPL-3.0-only" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b6ddab..f8c66eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: dependencies: '@emotion/react': - specifier: ^11.11.1 + specifier: ^11.11.3 version: 11.11.3(@types/react@18.2.46)(react@18.2.0) '@emotion/styled': specifier: ^11.11.0 @@ -19,30 +19,30 @@ dependencies: version: 5.0.18 '@jellyfin/sdk': specifier: 0.8.2 - version: 0.8.2(axios@1.6.3) + version: 0.8.2(axios@1.6.5) '@mdi/js': - specifier: ^7.3.67 + specifier: ^7.4.47 version: 7.4.47 '@mui/lab': - specifier: 5.0.0-alpha.158 - version: 5.0.0-alpha.158(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@mui/material@5.15.2)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) + specifier: 5.0.0-alpha.159 + version: 5.0.0-alpha.159(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@mui/material@5.15.3)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) '@mui/material': - specifier: ^5.14.20 - version: 5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) + specifier: ^5.15.3 + version: 5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) '@tanstack/react-query': - specifier: ^5.13.4 - version: 5.15.5(react@18.2.0) + specifier: ^5.17.5 + version: 5.17.5(react@18.2.0) '@tanstack/react-query-devtools': - specifier: ^5.13.5 - version: 5.15.5(@tanstack/react-query@5.15.5)(react@18.2.0) + specifier: ^5.17.5 + version: 5.17.5(@tanstack/react-query@5.17.5)(react@18.2.0) '@tauri-apps/api': - specifier: ^1.5.1 + specifier: ^1.5.3 version: 1.5.3 axios: - specifier: ^1.6.2 - version: 1.6.3 + specifier: ^1.6.5 + version: 1.6.5 axios-tauri-api-adapter: - specifier: ^0.2.0 + specifier: ^0.2.1 version: 0.2.1 blurhash: specifier: ^2.0.5 @@ -51,11 +51,11 @@ dependencies: specifier: ^3.3.0 version: 3.3.0 framer-motion: - specifier: ^10.16.16 - version: 10.16.16(react-dom@18.2.0)(react@18.2.0) + specifier: ^10.17.9 + version: 10.17.9(react-dom@18.2.0)(react@18.2.0) material-symbols: - specifier: ^0.14.2 - version: 0.14.3 + specifier: ^0.14.4 + version: 0.14.4 notistack: specifier: ^3.0.1 version: 3.0.1(csstype@3.1.3)(react-dom@18.2.0)(react@18.2.0) @@ -69,7 +69,7 @@ dependencies: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) react-error-boundary: - specifier: ^4.0.11 + specifier: ^4.0.12 version: 4.0.12(react@18.2.0) react-markdown: specifier: ^9.0.1 @@ -78,10 +78,10 @@ dependencies: specifier: ^2.8.4 version: 2.8.4 react-player: - specifier: ^2.13.0 + specifier: ^2.14.1 version: 2.14.1(react@18.2.0) react-router-dom: - specifier: ^6.20.1 + specifier: ^6.21.1 version: 6.21.1(react-dom@18.2.0)(react@18.2.0) react-use-konami: specifier: ^1.1.0 @@ -97,23 +97,23 @@ dependencies: version: 9.0.1 vite-plugin-svgr: specifier: ^4.2.0 - version: 4.2.0(vite@5.0.10) + version: 4.2.0(vite@5.0.11) wavesurfer.js: - specifier: ^7.5.1 - version: 7.6.0 + specifier: ^7.6.1 + version: 7.6.1 zustand: specifier: ^4.4.7 version: 4.4.7(@types/react@18.2.46)(react@18.2.0) devDependencies: '@tauri-apps/cli': - specifier: ^1.5.7 + specifier: ^1.5.9 version: 1.5.9 '@vitejs/plugin-react': specifier: ^4.2.1 - version: 4.2.1(vite@5.0.10) + version: 4.2.1(vite@5.0.11) eslint: - specifier: ^8.55.0 + specifier: ^8.56.0 version: 8.56.0 eslint-plugin-react: specifier: ^7.33.2 @@ -125,14 +125,14 @@ devDependencies: specifier: ^15.8.1 version: 15.8.1 sass: - specifier: ^1.69.5 - version: 1.69.6 + specifier: ^1.69.7 + version: 1.69.7 vite: - specifier: ^5.0.7 - version: 5.0.10(sass@1.69.6) + specifier: ^5.0.11 + version: 5.0.11(sass@1.69.7) vite-plugin-compression: specifier: ^0.5.1 - version: 0.5.1(vite@5.0.10) + version: 0.5.1(vite@5.0.11) packages: @@ -701,32 +701,40 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@floating-ui/core@1.5.2: - resolution: {integrity: sha512-Ii3MrfY/GAIN3OhXNzpCKaLxHQfJF9qvwq/kEJYdqDxeIHa01K8sldugal6TmeeXl+WMvhv9cnVzUTaFFJF09A==} + /@floating-ui/core@1.5.3(react@18.2.0): + resolution: {integrity: sha512-O0WKDOo0yhJuugCx6trZQj5jVJ9yR0ystG2JaNAemYUWce+pmM6WUEFIibnWyEJKdrDxhm75NoSRME35FNaM/Q==} dependencies: - '@floating-ui/utils': 0.1.6 + '@floating-ui/utils': 0.2.0(react@18.2.0) + transitivePeerDependencies: + - react dev: false - /@floating-ui/dom@1.5.3: - resolution: {integrity: sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==} + /@floating-ui/dom@1.5.4(react@18.2.0): + resolution: {integrity: sha512-jByEsHIY+eEdCjnTVu+E3ephzTOzkQ8hgUfGwos+bg7NlH33Zc5uO+QHz1mrQUOgIKKDD1RtS201P9NvAfq3XQ==} dependencies: - '@floating-ui/core': 1.5.2 - '@floating-ui/utils': 0.1.6 + '@floating-ui/core': 1.5.3(react@18.2.0) + '@floating-ui/utils': 0.2.0(react@18.2.0) + transitivePeerDependencies: + - react dev: false - /@floating-ui/react-dom@2.0.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-CF8k2rgKeh/49UrnIBs4BdxPUV6vize/Db1d/YbCLyp9GiVZ0BEwf5AiDSxJRCr6yOkGqTFHtmrULxkEfYZ7dQ==} + /@floating-ui/react-dom@2.0.5(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-UsBK30Bg+s6+nsgblXtZmwHhgS2vmbuQK22qgt2pTQM6M3X6H1+cQcLXqgRY3ihVLcZJE6IvqDQozhsnIVqK/Q==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@floating-ui/dom': 1.5.3 + '@floating-ui/dom': 1.5.4(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@floating-ui/utils@0.1.6: - resolution: {integrity: sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==} + /@floating-ui/utils@0.2.0(react@18.2.0): + resolution: {integrity: sha512-T4jNeM6dMzXONGkSjk7+O+eFQTVbw7KHi5OYuvFaBer3Wcrmpwi6fHKcT/FdSf7boWC7H9eXTyYTFZOQdJ1AMA==} + peerDependencies: + react: '>=16.8.0' + dependencies: + react: 18.2.0 dev: false /@fontsource-variable/jetbrains-mono@5.0.19: @@ -757,12 +765,12 @@ packages: resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} dev: true - /@jellyfin/sdk@0.8.2(axios@1.6.3): + /@jellyfin/sdk@0.8.2(axios@1.6.5): resolution: {integrity: sha512-u3yfu7ODL9zN/ytQ+JomeZTkyVMuF5BR/y9tWL59tjgQ44Zf9MGBSeys3RGz60AW/OkpCP7G9MfaR3mP11pn6w==} peerDependencies: axios: ^1.3.4 dependencies: - axios: 1.6.3 + axios: 1.6.5 compare-versions: 5.0.3 dev: false @@ -795,8 +803,8 @@ packages: resolution: {integrity: sha512-KPnNOtm5i2pMabqZxpUz7iQf+mfrYZyKCZ8QNz85czgEt7cuHcGorWfdzUMWYA0SD+a6Hn4FmJ+YhzzzjkTZrQ==} dev: false - /@mui/base@5.0.0-beta.29(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-OXfUssYrB6ch/xpBVHMKAjThPlI9VyGGKdvQLMXef2j39wXfcxPlUVQlwia/lmE3rxWIGvbwkZsDtNYzLMsDUg==} + /@mui/base@5.0.0-beta.30(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-dc38W4W3K42atE9nSaOeoJ7/x9wGIfawdwC/UmMxMLlZ1iSsITQ8dQJaTATCbn98YvYPINK/EH541YA5enQIPQ==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -807,9 +815,9 @@ packages: optional: true dependencies: '@babel/runtime': 7.23.7 - '@floating-ui/react-dom': 2.0.4(react-dom@18.2.0)(react@18.2.0) - '@mui/types': 7.2.11(@types/react@18.2.46) - '@mui/utils': 5.15.2(@types/react@18.2.46)(react@18.2.0) + '@floating-ui/react-dom': 2.0.5(react-dom@18.2.0)(react@18.2.0) + '@mui/types': 7.2.12(@types/react@18.2.46) + '@mui/utils': 5.15.3(@types/react@18.2.46)(react@18.2.0) '@popperjs/core': 2.11.8 '@types/react': 18.2.46 clsx: 2.1.0 @@ -818,12 +826,12 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /@mui/core-downloads-tracker@5.15.2: - resolution: {integrity: sha512-0vk4ckS2w1F5PmkSXSd7F/QuRlNcPqWTJ8CPl+HQRLTIhJVS/VKEI+3dQufOdKfn2wS+ecnvlvXerbugs+xZ8Q==} + /@mui/core-downloads-tracker@5.15.3: + resolution: {integrity: sha512-sWeihiVyxdJjpLkp8SHkTy9kt2M/o11M60G1MzwljGL2BXdM3Ktzqv5QaQHdi00y7Y1ulvtI3GOSxP2xU8mQJw==} dev: false - /@mui/lab@5.0.0-alpha.158(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@mui/material@5.15.2)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-MNn/J07GAipfElEEzDD9O7KLxz+mKgONJ+zBmlLgcCpDFsOh6nAuVQ2ONbeg1cgV/e553jXv8QHTWSRXw8KX4A==} + /@mui/lab@5.0.0-alpha.159(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@mui/material@5.15.3)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-42Y8nf2/mDgYSLOw6PhOfHNV6P7tPcQkQEL0DTbY7a+gc+hXDsyVEzBMYST1MrV64EHTH68msfQm+k3CvLON/g==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -843,11 +851,11 @@ packages: '@babel/runtime': 7.23.7 '@emotion/react': 11.11.3(@types/react@18.2.46)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.3)(@types/react@18.2.46)(react@18.2.0) - '@mui/base': 5.0.0-beta.29(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) - '@mui/material': 5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) - '@mui/system': 5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react@18.2.0) - '@mui/types': 7.2.11(@types/react@18.2.46) - '@mui/utils': 5.15.2(@types/react@18.2.46)(react@18.2.0) + '@mui/base': 5.0.0-beta.30(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) + '@mui/material': 5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) + '@mui/system': 5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react@18.2.0) + '@mui/types': 7.2.12(@types/react@18.2.46) + '@mui/utils': 5.15.3(@types/react@18.2.46)(react@18.2.0) '@types/react': 18.2.46 clsx: 2.1.0 prop-types: 15.8.1 @@ -855,8 +863,8 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /@mui/material@5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-JnoIrpNmEHG5uC1IyEdgsnDiaiuCZnUIh7f9oeAr87AvBmNiEJPbo7XrD7kBTFWwp+b97rQ12QdSs9CLhT2n/A==} + /@mui/material@5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-DODBBMouyq1B5f3YkEWL9vO8pGCxuEGqtfpltF6peMJzz/78tJFyLQsDas9MNLC/8AdFu2BQdkK7wox5UBPTAA==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -875,11 +883,11 @@ packages: '@babel/runtime': 7.23.7 '@emotion/react': 11.11.3(@types/react@18.2.46)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.3)(@types/react@18.2.46)(react@18.2.0) - '@mui/base': 5.0.0-beta.29(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) - '@mui/core-downloads-tracker': 5.15.2 - '@mui/system': 5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react@18.2.0) - '@mui/types': 7.2.11(@types/react@18.2.46) - '@mui/utils': 5.15.2(@types/react@18.2.46)(react@18.2.0) + '@mui/base': 5.0.0-beta.30(@types/react@18.2.46)(react-dom@18.2.0)(react@18.2.0) + '@mui/core-downloads-tracker': 5.15.3 + '@mui/system': 5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react@18.2.0) + '@mui/types': 7.2.12(@types/react@18.2.46) + '@mui/utils': 5.15.3(@types/react@18.2.46)(react@18.2.0) '@types/react': 18.2.46 '@types/react-transition-group': 4.4.10 clsx: 2.1.0 @@ -891,8 +899,8 @@ packages: react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) dev: false - /@mui/private-theming@5.15.2(@types/react@18.2.46)(react@18.2.0): - resolution: {integrity: sha512-KlXx5TH1Mw9omSY+Q6rz5TA/P71meSYaAOeopiW8s6o433+fnOxS17rZbmd1RnDZGCo+j24TfCavQuCMBAZnQA==} + /@mui/private-theming@5.15.3(@types/react@18.2.46)(react@18.2.0): + resolution: {integrity: sha512-Q79MhVMmywC1l5bMsMZq5PsIudr1MNPJnx9/EqdMP0vpz5iNvFpnLmxsD7d8/hqTWgFAljI+LH3jX8MxlZH9Gw==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -902,14 +910,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.23.7 - '@mui/utils': 5.15.2(@types/react@18.2.46)(react@18.2.0) + '@mui/utils': 5.15.3(@types/react@18.2.46)(react@18.2.0) '@types/react': 18.2.46 prop-types: 15.8.1 react: 18.2.0 dev: false - /@mui/styled-engine@5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(react@18.2.0): - resolution: {integrity: sha512-fYEN3IZzbebeHwAmQHhxwruiOIi8W74709qXg/7tgtHV4byQSmPgnnKsZkg0hFlzjEbcJIRZyZI0qEecgpR2cg==} + /@mui/styled-engine@5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(react@18.2.0): + resolution: {integrity: sha512-+d5XZCTeemOO/vBfWGEeHgTm8fjU1Psdgm+xAw+uegycO2EnoA/EfGSaG5UwZ6g3b66y48Mkxi35AggShMr88w==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.4.1 @@ -930,8 +938,8 @@ packages: react: 18.2.0 dev: false - /@mui/system@5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react@18.2.0): - resolution: {integrity: sha512-I7CzLiHDtU/BTobJgSk+wPGGWG95K8lYfdFEnq//wOgSrLDAdOVvl2gleDxJWO+yAbGz4RKEOnR9KuD+xQZH4A==} + /@mui/system@5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(@types/react@18.2.46)(react@18.2.0): + resolution: {integrity: sha512-ewVU4eRgo4VfNMGpO61cKlfWmH7l9s6rA8EknRzuMX3DbSLfmtW2WJJg6qPwragvpPIir0Pp/AdWVSDhyNy5Tw==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -949,10 +957,10 @@ packages: '@babel/runtime': 7.23.7 '@emotion/react': 11.11.3(@types/react@18.2.46)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.3)(@types/react@18.2.46)(react@18.2.0) - '@mui/private-theming': 5.15.2(@types/react@18.2.46)(react@18.2.0) - '@mui/styled-engine': 5.15.2(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(react@18.2.0) - '@mui/types': 7.2.11(@types/react@18.2.46) - '@mui/utils': 5.15.2(@types/react@18.2.46)(react@18.2.0) + '@mui/private-theming': 5.15.3(@types/react@18.2.46)(react@18.2.0) + '@mui/styled-engine': 5.15.3(@emotion/react@11.11.3)(@emotion/styled@11.11.0)(react@18.2.0) + '@mui/types': 7.2.12(@types/react@18.2.46) + '@mui/utils': 5.15.3(@types/react@18.2.46)(react@18.2.0) '@types/react': 18.2.46 clsx: 2.1.0 csstype: 3.1.3 @@ -960,8 +968,8 @@ packages: react: 18.2.0 dev: false - /@mui/types@7.2.11(@types/react@18.2.46): - resolution: {integrity: sha512-KWe/QTEsFFlFSH+qRYf3zoFEj3z67s+qAuSnMMg+gFwbxG7P96Hm6g300inQL1Wy///gSRb8juX7Wafvp93m3w==} + /@mui/types@7.2.12(@types/react@18.2.46): + resolution: {integrity: sha512-3kaHiNm9khCAo0pVe0RenketDSFoZGAlVZ4zDjB/QNZV0XiCj+sh1zkX0VVhQPgYJDlBEzAag+MHJ1tU3vf0Zw==} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -971,8 +979,8 @@ packages: '@types/react': 18.2.46 dev: false - /@mui/utils@5.15.2(@types/react@18.2.46)(react@18.2.0): - resolution: {integrity: sha512-6dGM9/guFKBlFRHA7/mbM+E7wE7CYDy9Ny4JLtD3J+NTyhi8nd8YxlzgAgTaTVqY0BpdQ2zdfB/q6+p2EdGM0w==} + /@mui/utils@5.15.3(@types/react@18.2.46)(react@18.2.0): + resolution: {integrity: sha512-mT3LiSt9tZWCdx1pl7q4Q5tNo6gdZbvJel286ZHGuj6LQQXjWNAh8qiF9d+LogvNUI+D7eLkTnj605d1zoazfg==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -1033,92 +1041,92 @@ packages: picomatch: 2.3.1 dev: false - /@rollup/rollup-android-arm-eabi@4.9.2: - resolution: {integrity: sha512-RKzxFxBHq9ysZ83fn8Iduv3A283K7zPPYuhL/z9CQuyFrjwpErJx0h4aeb/bnJ+q29GRLgJpY66ceQ/Wcsn3wA==} + /@rollup/rollup-android-arm-eabi@4.9.4: + resolution: {integrity: sha512-ub/SN3yWqIv5CWiAZPHVS1DloyZsJbtXmX4HxUTIpS0BHm9pW5iYBo2mIZi+hE3AeiTzHz33blwSnhdUo+9NpA==} cpu: [arm] os: [android] requiresBuild: true optional: true - /@rollup/rollup-android-arm64@4.9.2: - resolution: {integrity: sha512-yZ+MUbnwf3SHNWQKJyWh88ii2HbuHCFQnAYTeeO1Nb8SyEiWASEi5dQUygt3ClHWtA9My9RQAYkjvrsZ0WK8Xg==} + /@rollup/rollup-android-arm64@4.9.4: + resolution: {integrity: sha512-ehcBrOR5XTl0W0t2WxfTyHCR/3Cq2jfb+I4W+Ch8Y9b5G+vbAecVv0Fx/J1QKktOrgUYsIKxWAKgIpvw56IFNA==} cpu: [arm64] os: [android] requiresBuild: true optional: true - /@rollup/rollup-darwin-arm64@4.9.2: - resolution: {integrity: sha512-vqJ/pAUh95FLc/G/3+xPqlSBgilPnauVf2EXOQCZzhZJCXDXt/5A8mH/OzU6iWhb3CNk5hPJrh8pqJUPldN5zw==} + /@rollup/rollup-darwin-arm64@4.9.4: + resolution: {integrity: sha512-1fzh1lWExwSTWy8vJPnNbNM02WZDS8AW3McEOb7wW+nPChLKf3WG2aG7fhaUmfX5FKw9zhsF5+MBwArGyNM7NA==} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-darwin-x64@4.9.2: - resolution: {integrity: sha512-otPHsN5LlvedOprd3SdfrRNhOahhVBwJpepVKUN58L0RnC29vOAej1vMEaVU6DadnpjivVsNTM5eNt0CcwTahw==} + /@rollup/rollup-darwin-x64@4.9.4: + resolution: {integrity: sha512-Gc6cukkF38RcYQ6uPdiXi70JB0f29CwcQ7+r4QpfNpQFVHXRd0DfWFidoGxjSx1DwOETM97JPz1RXL5ISSB0pA==} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.9.2: - resolution: {integrity: sha512-ewG5yJSp+zYKBYQLbd1CUA7b1lSfIdo9zJShNTyc2ZP1rcPrqyZcNlsHgs7v1zhgfdS+kW0p5frc0aVqhZCiYQ==} + /@rollup/rollup-linux-arm-gnueabihf@4.9.4: + resolution: {integrity: sha512-g21RTeFzoTl8GxosHbnQZ0/JkuFIB13C3T7Y0HtKzOXmoHhewLbVTFBQZu+z5m9STH6FZ7L/oPgU4Nm5ErN2fw==} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.9.2: - resolution: {integrity: sha512-pL6QtV26W52aCWTG1IuFV3FMPL1m4wbsRG+qijIvgFO/VBsiXJjDPE/uiMdHBAO6YcpV4KvpKtd0v3WFbaxBtg==} + /@rollup/rollup-linux-arm64-gnu@4.9.4: + resolution: {integrity: sha512-TVYVWD/SYwWzGGnbfTkrNpdE4HON46orgMNHCivlXmlsSGQOx/OHHYiQcMIOx38/GWgwr/po2LBn7wypkWw/Mg==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-musl@4.9.2: - resolution: {integrity: sha512-On+cc5EpOaTwPSNetHXBuqylDW+765G/oqB9xGmWU3npEhCh8xu0xqHGUA+4xwZLqBbIZNcBlKSIYfkBm6ko7g==} + /@rollup/rollup-linux-arm64-musl@4.9.4: + resolution: {integrity: sha512-XcKvuendwizYYhFxpvQ3xVpzje2HHImzg33wL9zvxtj77HvPStbSGI9czrdbfrf8DGMcNNReH9pVZv8qejAQ5A==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.9.2: - resolution: {integrity: sha512-Wnx/IVMSZ31D/cO9HSsU46FjrPWHqtdF8+0eyZ1zIB5a6hXaZXghUKpRrC4D5DcRTZOjml2oBhXoqfGYyXKipw==} + /@rollup/rollup-linux-riscv64-gnu@4.9.4: + resolution: {integrity: sha512-LFHS/8Q+I9YA0yVETyjonMJ3UA+DczeBd/MqNEzsGSTdNvSJa1OJZcSH8GiXLvcizgp9AlHs2walqRcqzjOi3A==} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-gnu@4.9.2: - resolution: {integrity: sha512-ym5x1cj4mUAMBummxxRkI4pG5Vht1QMsJexwGP8547TZ0sox9fCLDHw9KCH9c1FO5d9GopvkaJsBIOkTKxksdw==} + /@rollup/rollup-linux-x64-gnu@4.9.4: + resolution: {integrity: sha512-dIYgo+j1+yfy81i0YVU5KnQrIJZE8ERomx17ReU4GREjGtDW4X+nvkBak2xAUpyqLs4eleDSj3RrV72fQos7zw==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-musl@4.9.2: - resolution: {integrity: sha512-m0hYELHGXdYx64D6IDDg/1vOJEaiV8f1G/iO+tejvRCJNSwK4jJ15e38JQy5Q6dGkn1M/9KcyEOwqmlZ2kqaZg==} + /@rollup/rollup-linux-x64-musl@4.9.4: + resolution: {integrity: sha512-RoaYxjdHQ5TPjaPrLsfKqR3pakMr3JGqZ+jZM0zP2IkDtsGa4CqYaWSfQmZVgFUCgLrTnzX+cnHS3nfl+kB6ZQ==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.9.2: - resolution: {integrity: sha512-x1CWburlbN5JjG+juenuNa4KdedBdXLjZMp56nHFSHTOsb/MI2DYiGzLtRGHNMyydPGffGId+VgjOMrcltOksA==} + /@rollup/rollup-win32-arm64-msvc@4.9.4: + resolution: {integrity: sha512-T8Q3XHV+Jjf5e49B4EAaLKV74BbX7/qYBRQ8Wop/+TyyU0k+vSjiLVSHNWdVd1goMjZcbhDmYZUYW5RFqkBNHQ==} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.9.2: - resolution: {integrity: sha512-VVzCB5yXR1QlfsH1Xw1zdzQ4Pxuzv+CPr5qpElpKhVxlxD3CRdfubAG9mJROl6/dmj5gVYDDWk8sC+j9BI9/kQ==} + /@rollup/rollup-win32-ia32-msvc@4.9.4: + resolution: {integrity: sha512-z+JQ7JirDUHAsMecVydnBPWLwJjbppU+7LZjffGf+Jvrxq+dVjIE7By163Sc9DKc3ADSU50qPVw0KonBS+a+HQ==} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-x64-msvc@4.9.2: - resolution: {integrity: sha512-SYRedJi+mweatroB+6TTnJYLts0L0bosg531xnQWtklOI6dezEagx4Q0qDyvRdK+qgdA3YZpjjGuPFtxBmddBA==} + /@rollup/rollup-win32-x64-msvc@4.9.4: + resolution: {integrity: sha512-LfdGXCV9rdEify1oxlN9eamvDSjv9md9ZVMAbNHA87xqIfFCxImxan9qZ8+Un54iK2nnqPlbnSi4R54ONtbWBw==} cpu: [x64] os: [win32] requiresBuild: true @@ -1250,31 +1258,31 @@ packages: - supports-color dev: false - /@tanstack/query-core@5.15.5: - resolution: {integrity: sha512-GDwVfu8RPswqVu27+zuIkZINru6CN++zzBbBK+OnAgzxK8N4Obdi+sG2P0EO8rJAOw0fLyQTsO4GCZ1djwaUCg==} + /@tanstack/query-core@5.17.4: + resolution: {integrity: sha512-1J2vINgJ6OH1/qgN/ouDjnRZc67TnKQ2mlIODKQr36Aa2vjMdH6Fb3pIbCRh5N6u95q6z1olp90n22eTlp9Ykg==} dev: false - /@tanstack/query-devtools@5.15.0: - resolution: {integrity: sha512-oz+xBIf+fanmAQ3CZrV4t+1VZiK2nyTcH3zY3G8ukzw+LwX2QGa04ZfF+OCOVF6tPZ2dn1cekMibUb4tevf/aw==} + /@tanstack/query-devtools@5.17.1: + resolution: {integrity: sha512-gNdt6PYzYlyjtSAoO8Jt9GIFq5VSLLDV2qq0TCi1t/PGnpAIlIHqNZGYkQTPsy0FyGUTX3pCq4bd7v5z/wzf3A==} dev: false - /@tanstack/react-query-devtools@5.15.5(@tanstack/react-query@5.15.5)(react@18.2.0): - resolution: {integrity: sha512-AixLsTYGB52Ou7snhbW4QlTHZ347VJOl+wjXqiLlK9/oENxpaVI92Nl4VIsGiVRrscwv5lRMYUGucM+UYShyEQ==} + /@tanstack/react-query-devtools@5.17.5(@tanstack/react-query@5.17.5)(react@18.2.0): + resolution: {integrity: sha512-el0PlSk+06XS1yXq4owhcB9nRf4OzUOZmhaMCQ3Tux1HsSdPdg85y4api04qbknOYmU2ItwzcTWx/V/sCqZKTQ==} peerDependencies: - '@tanstack/react-query': ^5.15.5 + '@tanstack/react-query': ^5.17.5 react: ^18.0.0 dependencies: - '@tanstack/query-devtools': 5.15.0 - '@tanstack/react-query': 5.15.5(react@18.2.0) + '@tanstack/query-devtools': 5.17.1 + '@tanstack/react-query': 5.17.5(react@18.2.0) react: 18.2.0 dev: false - /@tanstack/react-query@5.15.5(react@18.2.0): - resolution: {integrity: sha512-JSPpzsJPqpNySgjMhAvBpF3gVhtlI/0bZrBmwmcD/ewYYOExll+tIz13gkgnCfNA1qTJQnbv7vdc2gw594vq9Q==} + /@tanstack/react-query@5.17.5(react@18.2.0): + resolution: {integrity: sha512-TwVmK2YHW/aG6eM5Xre7akBSZHrWWa5frwQR5Kg9ERIttlVWzUHrRcsMOlB5QsMgHtlauzzr6Rm6M8a0T9Iwdg==} peerDependencies: react: ^18.0.0 dependencies: - '@tanstack/query-core': 5.15.5 + '@tanstack/query-core': 5.17.4 react: 18.2.0 dev: false @@ -1397,7 +1405,7 @@ packages: '@babel/types': 7.23.6 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 - '@types/babel__traverse': 7.20.4 + '@types/babel__traverse': 7.20.5 dev: true /@types/babel__generator@7.6.8: @@ -1413,8 +1421,8 @@ packages: '@babel/types': 7.23.6 dev: true - /@types/babel__traverse@7.20.4: - resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} + /@types/babel__traverse@7.20.5: + resolution: {integrity: sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==} dependencies: '@babel/types': 7.23.6 dev: true @@ -1433,7 +1441,6 @@ packages: /@types/estree@1.0.5: resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - dev: false /@types/hast@3.0.3: resolution: {integrity: sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==} @@ -1488,7 +1495,7 @@ packages: /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - /@vitejs/plugin-react@4.2.1(vite@5.0.10): + /@vitejs/plugin-react@4.2.1(vite@5.0.11): resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -1499,7 +1506,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.0.10(sass@1.69.6) + vite: 5.0.11(sass@1.69.7) transitivePeerDependencies: - supports-color dev: true @@ -1637,7 +1644,7 @@ packages: requiresBuild: true dependencies: '@tauri-apps/api': 1.5.3 - axios: 1.6.3 + axios: 1.6.5 build-url-ts: 6.1.5 http-status-codes: 2.3.0 url-parse: 1.5.10 @@ -1645,10 +1652,10 @@ packages: - debug dev: false - /axios@1.6.3: - resolution: {integrity: sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==} + /axios@1.6.5: + resolution: {integrity: sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==} dependencies: - follow-redirects: 1.15.3 + follow-redirects: 1.15.4 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -1698,8 +1705,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001572 - electron-to-chromium: 1.4.616 + caniuse-lite: 1.0.30001574 + electron-to-chromium: 1.4.623 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) @@ -1724,8 +1731,8 @@ packages: engines: {node: '>=10'} dev: false - /caniuse-lite@1.0.30001572: - resolution: {integrity: sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==} + /caniuse-lite@1.0.30001574: + resolution: {integrity: sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==} /ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -1959,8 +1966,8 @@ packages: tslib: 2.6.2 dev: false - /electron-to-chromium@1.4.616: - resolution: {integrity: sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==} + /electron-to-chromium@1.4.623: + resolution: {integrity: sha512-lKoz10iCYlP1WtRYdh5MvocQPWVRoI7ysp6qf18bmeBgR8abE6+I2CsfyNKztRDZvhdWc+krKT6wS7Neg8sw3A==} /entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} @@ -2302,8 +2309,8 @@ packages: resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} dev: true - /follow-redirects@1.15.3: - resolution: {integrity: sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==} + /follow-redirects@1.15.4: + resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -2327,8 +2334,8 @@ packages: mime-types: 2.1.35 dev: false - /framer-motion@10.16.16(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-je6j91rd7NmUX7L1XHouwJ4v3R+SO4umso2LUcgOct3rHZ0PajZ80ETYZTajzEXEl9DlKyzjyt4AvGQ+lrebOw==} + /framer-motion@10.17.9(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-z2NpP8r+XuALoPA7ZVZHm/OoTnwkQNJFBu91sC86o/FYvJ4x7ar3eQnixgwYWFK7kEqOtQ6whtNM37tn1KrOOA==} peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 @@ -2904,8 +2911,8 @@ packages: dependencies: yallist: 3.1.1 - /material-symbols@0.14.3: - resolution: {integrity: sha512-oys7SbIaPz1sfUCMVYlEE5HJGzh0GMoUK0jCGH7hAqO9iW/b9dnSAeYgOQp2s1ifQP5Y+Q4+Fcujay/ASzvy2w==} + /material-symbols@0.14.4: + resolution: {integrity: sha512-a4gUxar/H+enN+hc5b/XE3Sroqyb9eT9hqkoTl6HXoW2mIajQ9mLW1T1tgjfq6KX6zqU1aLOV27mddUSHrgYAA==} dev: false /mdast-util-from-markdown@2.0.0: @@ -3398,8 +3405,8 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - /postcss@8.4.32: - resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} + /postcss@8.4.33: + resolution: {integrity: sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.7 @@ -3668,24 +3675,26 @@ packages: glob: 7.2.3 dev: true - /rollup@4.9.2: - resolution: {integrity: sha512-66RB8OtFKUTozmVEh3qyNfH+b+z2RXBVloqO2KCC/pjFaGaHtxP9fVfOQKPSGXg2mElmjmxjW/fZ7iKrEpMH5Q==} + /rollup@4.9.4: + resolution: {integrity: sha512-2ztU7pY/lrQyXSCnnoU4ICjT/tCG9cdH3/G25ERqE3Lst6vl2BCM5hL2Nw+sslAvAf+ccKsAq1SkKQALyqhR7g==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + dependencies: + '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.9.2 - '@rollup/rollup-android-arm64': 4.9.2 - '@rollup/rollup-darwin-arm64': 4.9.2 - '@rollup/rollup-darwin-x64': 4.9.2 - '@rollup/rollup-linux-arm-gnueabihf': 4.9.2 - '@rollup/rollup-linux-arm64-gnu': 4.9.2 - '@rollup/rollup-linux-arm64-musl': 4.9.2 - '@rollup/rollup-linux-riscv64-gnu': 4.9.2 - '@rollup/rollup-linux-x64-gnu': 4.9.2 - '@rollup/rollup-linux-x64-musl': 4.9.2 - '@rollup/rollup-win32-arm64-msvc': 4.9.2 - '@rollup/rollup-win32-ia32-msvc': 4.9.2 - '@rollup/rollup-win32-x64-msvc': 4.9.2 + '@rollup/rollup-android-arm-eabi': 4.9.4 + '@rollup/rollup-android-arm64': 4.9.4 + '@rollup/rollup-darwin-arm64': 4.9.4 + '@rollup/rollup-darwin-x64': 4.9.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.9.4 + '@rollup/rollup-linux-arm64-gnu': 4.9.4 + '@rollup/rollup-linux-arm64-musl': 4.9.4 + '@rollup/rollup-linux-riscv64-gnu': 4.9.4 + '@rollup/rollup-linux-x64-gnu': 4.9.4 + '@rollup/rollup-linux-x64-musl': 4.9.4 + '@rollup/rollup-win32-arm64-msvc': 4.9.4 + '@rollup/rollup-win32-ia32-msvc': 4.9.4 + '@rollup/rollup-win32-x64-msvc': 4.9.4 fsevents: 2.3.3 /run-parallel@1.2.0: @@ -3712,8 +3721,8 @@ packages: is-regex: 1.1.4 dev: true - /sass@1.69.6: - resolution: {integrity: sha512-qbRr3k9JGHWXCvZU77SD2OTwUlC+gNT+61JOLcmLm+XqH4h/5D+p4IIsxvpkB89S9AwJOyb5+rWNpIucaFxSFQ==} + /sass@1.69.7: + resolution: {integrity: sha512-rzj2soDeZ8wtE2egyLXgOOHQvaC2iosZrkF6v3EUG+tBwEvhqUCzm0VP3k9gHF9LXbSrRhT5SksoI56Iw8NPnQ==} engines: {node: '>=14.0.0'} hasBin: true dependencies: @@ -4072,7 +4081,7 @@ packages: vfile-message: 4.0.2 dev: false - /vite-plugin-compression@0.5.1(vite@5.0.10): + /vite-plugin-compression@0.5.1(vite@5.0.11): resolution: {integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==} peerDependencies: vite: '>=2.0.0' @@ -4080,12 +4089,12 @@ packages: chalk: 4.1.2 debug: 4.3.4 fs-extra: 10.1.0 - vite: 5.0.10(sass@1.69.6) + vite: 5.0.11(sass@1.69.7) transitivePeerDependencies: - supports-color dev: true - /vite-plugin-svgr@4.2.0(vite@5.0.10): + /vite-plugin-svgr@4.2.0(vite@5.0.11): resolution: {integrity: sha512-SC7+FfVtNQk7So0XMjrrtLAbEC8qjFPifyD7+fs/E6aaNdVde6umlVVh0QuwDLdOMu7vp5RiGFsB70nj5yo0XA==} peerDependencies: vite: ^2.6.0 || 3 || 4 || 5 @@ -4093,15 +4102,15 @@ packages: '@rollup/pluginutils': 5.1.0 '@svgr/core': 8.1.0 '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0) - vite: 5.0.10(sass@1.69.6) + vite: 5.0.11(sass@1.69.7) transitivePeerDependencies: - rollup - supports-color - typescript dev: false - /vite@5.0.10(sass@1.69.6): - resolution: {integrity: sha512-2P8J7WWgmc355HUMlFrwofacvr98DAjoE52BfdbwQtyLH06XKwaL/FMnmKM2crF0iX4MpmMKoDlNCB1ok7zHCw==} + /vite@5.0.11(sass@1.69.7): + resolution: {integrity: sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -4129,14 +4138,14 @@ packages: optional: true dependencies: esbuild: 0.19.11 - postcss: 8.4.32 - rollup: 4.9.2 - sass: 1.69.6 + postcss: 8.4.33 + rollup: 4.9.4 + sass: 1.69.7 optionalDependencies: fsevents: 2.3.3 - /wavesurfer.js@7.6.0: - resolution: {integrity: sha512-fRGgzdr7QfWuiELWHuaoiXO3WXhBTejBSX6ca41onLmbvEexFWbNRX89aeHDLF+72Gcd5NLqFjxt/0Pc808JBQ==} + /wavesurfer.js@7.6.1: + resolution: {integrity: sha512-KMEkVTgzMSV2KSmdpmdgDBiGpnaa2kFka6gT3oD4hBijnggKOkKZulVDxXelWpJkN9jCYfUpeqFcPM+VC4SBAw==} dev: false /which-boxed-primitive@1.0.2: diff --git a/src/components/appBar/appBar.jsx b/src/components/appBar/appBar.jsx index 959fddb..128e59b 100644 --- a/src/components/appBar/appBar.jsx +++ b/src/components/appBar/appBar.jsx @@ -217,9 +217,9 @@ export const AppBar = () => { textTransform: "none", }} size="large" + className="appBar-text active" > @@ -231,12 +231,11 @@ export const AppBar = () => { style={{ textTransform: "none", }} - // className="appBar-text " - + className="appBar-text" + size="large" color="white" > @@ -257,17 +256,15 @@ export const AppBar = () => { color={ isBrowsingLibrary ? "primary" : "white" } - - // ref={librariesText} + className={ + isBrowsingLibrary + ? "appBar-text active" + : "appBar-text" + } > Libraries diff --git a/src/components/appBar/appBar.module.scss b/src/components/appBar/appBar.module.scss index 411a339..afbf79d 100644 --- a/src/components/appBar/appBar.module.scss +++ b/src/components/appBar/appBar.module.scss @@ -27,7 +27,7 @@ background: white; opacity: 0.7; position: absolute; - bottom: -2.6px; + bottom: 4.6px; left: 0; transform: scaleX(0); transition: transform $transition-time-fast, @@ -37,7 +37,7 @@ &:hover { opacity: 0.8; &::after { - transform: scaleX(0.5); + transform: scaleX(0.25); opacity: 0.8; } } @@ -45,7 +45,7 @@ opacity: 1; color: $clr-accent-default; &::after { - transform: scaleX(0.75); + transform: scaleX(0.5); opacity: 1; background: $clr-accent-default; } @@ -115,6 +115,7 @@ &::-webkit-scrollbar { &-thumb { width: 150px; + max-width: 33%; } &-track { margin-left: 25px; diff --git a/src/components/buttons/likeButton.jsx b/src/components/buttons/likeButton.jsx index 36913ba..76e6480 100644 --- a/src/components/buttons/likeButton.jsx +++ b/src/components/buttons/likeButton.jsx @@ -15,14 +15,7 @@ import CircularProgress from "@mui/material/CircularProgress"; import { useApi } from "../../utils/store/api"; -const LikeButton = ({ - itemId, - isFavorite, - queryKey, - userId, - itemName, - color = "white", -}) => { +const LikeButton = ({ itemId, isFavorite, queryKey, userId, itemName }) => { const [api] = useApi((state) => [state.api]); const queryClient = useQueryClient(); const { enqueueSnackbar } = useSnackbar(); diff --git a/src/components/buttons/playButton.jsx b/src/components/buttons/playButton.jsx index 7cd2b7c..385f794 100644 --- a/src/components/buttons/playButton.jsx +++ b/src/components/buttons/playButton.jsx @@ -36,7 +36,6 @@ const PlayButton = ({ currentVideoTrack, className, sx, - iconProps, buttonProps, iconOnly, audio = false, diff --git a/src/routes/item/index.jsx b/src/routes/item/index.jsx index 203c27c..6df5c7b 100644 --- a/src/routes/item/index.jsx +++ b/src/routes/item/index.jsx @@ -3,11 +3,21 @@ import React, { useState, useEffect } from "react"; import PropTypes from "prop-types"; import Box from "@mui/material/Box"; +import Stack from "@mui/material/Stack"; +import Typography from "@mui/material/Typography"; import CircularProgress from "@mui/material/CircularProgress"; +import Chip from "@mui/material/Chip"; +import TextField from "@mui/material/TextField"; +import MenuItem from "@mui/material/MenuItem"; +import Divider from "@mui/material/Divider"; +import LinearProgress from "@mui/material/LinearProgress"; +import { red, green, yellow } from "@mui/material/colors"; + +import { Blurhash } from "react-blurhash"; import { useParams } from "react-router-dom"; -import { motion, AnimatePresence } from "framer-motion"; +import { motion } from "framer-motion"; import { BaseItemKind, @@ -31,6 +41,14 @@ import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice"; import { useBackdropStore } from "../../utils/store/backdrop"; import { ActorCard } from "../../components/card/actorCards"; import { useApi } from "../../utils/store/api"; +import { endsAt, getRuntime } from "../../utils/date/time"; +import PlayButton from "../../components/buttons/playButton"; +import LikeButton from "../../components/buttons/likeButton"; +import MarkPlayedButton from "../../components/buttons/markPlayedButton"; +import TextLink from "../../components/textLink"; +import { getTypeIcon } from "../../components/utils/iconsCollection"; +import { NavLink } from "react-router-dom"; +import { Link } from "react-router-dom"; function TabPanel(props) { const { children, value, index, ...other } = props; @@ -146,6 +164,10 @@ const ItemDetail = () => { return false; }; + const [selectedVideoTrack, setSelectedVideoTrack] = useState(null); + const [selectedAudioTrack, setSelectedAudioTrack] = useState(null); + const [selectedSubtitleTrack, setSelectedSubtitleTrack] = useState(null); + useEffect(() => { if (item.isSuccess && !!item.data.MediaStreams) { let videos = item.data.MediaStreams.filter( @@ -158,6 +180,10 @@ const ItemDetail = () => { filterMediaStreamSubtitle, ); + setSelectedVideoTrack(videos[0]?.Index ?? null); + setSelectedAudioTrack(audios[0]?.Index ?? null); + setSelectedSubtitleTrack(subs[0]?.Index ?? null); + setVideoTracks(videos); setAudioTracks(audios); setSubtitleTracks(subs); @@ -168,6 +194,8 @@ const ItemDetail = () => { const [directors, setDirectors] = useState([]); const [writers, setWriters] = useState([]); + const [actors, setActors] = useState([]); + const [producers, setProducers] = useState([]); useEffect(() => { if (item.isSuccess) { setAppBackdrop( @@ -185,9 +213,74 @@ const ItemDetail = () => { (itm) => itm.Type == "Writer", ); setWriters(writeTp); + let producerTp = item.data.People.filter( + (itm) => itm.Type == "Producer", + ); + setProducers(producerTp); + let actorTp = item.data.People.filter( + (itm) => itm.Type == "Actor", + ); + setActors(actorTp); } }, [item.isSuccess]); + const qualityLabel = () => { + if ( + videoTracks[0]?.DisplayTitle.toLocaleLowerCase().includes( + "2160p", + ) || + videoTracks[0]?.DisplayTitle.toLocaleLowerCase().includes("4k") + ) { + return "4K"; + } else if ( + videoTracks[0]?.DisplayTitle.toLocaleLowerCase().includes( + "1080p", + ) || + videoTracks[0]?.DisplayTitle.toLocaleLowerCase().includes("hd") + ) { + return "HD"; + } else { + return "SD"; + } + }; + + const atmosLabel = () => { + if ( + audioTracks[0]?.DisplayTitle.toLocaleLowerCase().includes( + "atmos", + ) && + audioTracks[0]?.DisplayTitle.toLocaleLowerCase().includes( + "truehd", + ) + ) { + return "TrueHD | Atmos"; + } else if ( + audioTracks[0]?.DisplayTitle.toLocaleLowerCase().includes( + "atmos", + ) + ) { + return "Atmos"; + } else if ( + audioTracks[0]?.DisplayTitle.toLocaleLowerCase().includes( + "truehd", + ) + ) { + return "TrueHD"; + } else { + return ""; + } + }; + + const surroundSoundLabel = () => { + if (audioTracks[0]?.DisplayTitle.includes("7.1")) { + return "7.1"; + } else if (audioTracks[0]?.DisplayTitle.includes("5.1")) { + return "5.1"; + } else { + return "2.0"; + } + }; + if (item.isPending || similarItems.isPending) { return ( { duration: 0.25, ease: "easeInOut", }} - className="scrollY" - style={{ - padding: "5em 2em 2em 1em", - display: "flex", - flexDirection: "column", - gap: "0.5em", - }} + className="scrollY padded-top flex flex-column item" > - - {item.data.People.length > 0 && ( +
+
+ {item.data.BackdropImageTags ? ( + + (e.currentTarget.style.opacity = 1) + } + /> + ) : ( + <> + )} +
+
+ {Object.keys(item.data.ImageTags).includes( + "Primary", + ) ? ( + <> + + + (e.currentTarget.style.opacity = 1) + } + className="item-hero-image" + /> + + ) : ( + <> + )} +
+
+ {Object.keys(item.data.ImageTags).includes( + "Logo", + ) ? ( + + (e.currentTarget.style.opacity = 1) + } + className="item-hero-logo" + /> + ) : ( + + {item.data.Name} + + )} + + {!!qualityLabel() && ( + + {qualityLabel()} + + } + sx={{ + borderRadius: + "8px !important", + "& .MuiChip-label": { + fontSize: "2.2em", + }, + }} + /> + )} + {!!surroundSoundLabel() && ( + + {surroundSoundLabel()} + + } + sx={{ + borderRadius: + "8px !important", + "& .MuiChip-label": { + fontSize: "2.2em", + }, + }} + /> + )} + {!!videoTracks[0]?.VideoRangeType && ( + + { + videoTracks[0] + .VideoRangeType + } + + } + sx={{ + borderRadius: + "8px !important", + "& .MuiChip-label": { + fontSize: "2.2em", + }, + }} + /> + )} + {!!atmosLabel() && ( + + {atmosLabel()} + + } + sx={{ + borderRadius: + "8px !important", + "& .MuiChip-label": { + fontSize: "2.2em", + }, + }} + /> + )} + {!!subtitleTracks.length > 0 && ( + + CC + + } + sx={{ + borderRadius: + "8px !important", + "& .MuiChip-label": { + fontSize: "2.2em", + }, + }} + /> + )} + + + + {item.data.ProductionYear ?? ""} + + {item.data.OfficialRating && ( + + )} + + {item.data.CommunityRating && ( +
+
+ star +
+ + {Math.round( + item.data + .CommunityRating * + 10, + ) / 10} + +
+ )} + {item.data.CriticRating && ( +
+
+ 50 + ? green[400] + : red[400], + fontVariationSettings: + '"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40', + }} + > + {item.data.CriticRating > 50 + ? "thumb_up" + : "thumb_down"} +
+ + {item.data.CriticRating} + +
+ )} + + {item.data.RunTimeTicks && ( + + {getRuntime( + item.data.RunTimeTicks, + )} + + )} + {item.data.RunTimeTicks && ( + + {endsAt( + item.data.RunTimeTicks - + item.data.UserData + .PlaybackPositionTicks, + )} + + )} +
+ + {item.data.Genres.join(", ")} + + +
+
+ +
+
+ + +
+
+
+
+
+
+ {100 > + item.data.UserData.PlayedPercentage > + 0 && ( +
+ + {getRuntime( + item.data.RunTimeTicks - + item.data.UserData + .PlaybackPositionTicks, + )}{" "} + left + + +
+ )} + + {item.data.Taglines[0] ?? ""} + + + {item.data.Overview ?? ""} + + {writers.length > 0 && ( +
+ + Written by + +
+ {writers.map((writer, index) => ( + <> + + {writer.Name} + + {index != + writers.length - + 1 && ( + + ,{" "} + + )} + + ))} +
+
+ )} + {directors.length > 0 && ( +
+ + Directed by + +
+ {directors.map( + (director, index) => ( + <> + + {director.Name} + + {index != + directors.length - + 1 && ( + + ,{" "} + + )} + + ), + )} +
+
+ )} +
+ +
+ {videoTracks.length > 0 && ( + + setSelectedVideoTrack( + e.target.value, + ) + } + > + {videoTracks.map((track) => ( + + {track.DisplayTitle} + + ))} + + )} + {audioTracks.length > 0 && ( + + setSelectedAudioTrack( + e.target.value, + ) + } + > + {audioTracks.map((track) => ( + + {track.DisplayTitle} + + ))} + + )} + {subtitleTracks.length > 0 && ( + + setSelectedSubtitleTrack( + e.target.value, + ) + } + > + {subtitleTracks.map((track) => ( + + {track.DisplayTitle} + + ))} + + )} +
+ {item.data.ExternalUrls.map((url) => ( + + {url.Name} + + ))} +
+
+
+
+ + Cast & Crew + + {actors.length > 0 && ( +
+ Actors +
+ {actors.map((actor) => ( + + {actor.PrimaryImageTag ? ( + + ) : ( +
+ {getTypeIcon( + "Person", + )} +
+ )} +
+ + {actor.Name} + + + {actor.Role} + +
+
+ ))} +
+
+ )} + {writers.length > 0 && ( +
+ Writers +
+ {writers.map((actor) => ( + + {actor.PrimaryImageTag ? ( + + ) : ( +
+ {getTypeIcon( + "Person", + )} +
+ )} +
+ + {actor.Name} + + + {actor.Role} + +
+
+ ))} +
+
+ )} + {directors.length > 0 && ( +
+ + Directors + +
+ {directors.map((actor) => ( + + {actor.PrimaryImageTag ? ( + + ) : ( +
+ {getTypeIcon( + "Person", + )} +
+ )} +
+ + {actor.Name} + + + {actor.Role} + +
+
+ ))} +
+
+ )} + {producers.length > 0 && ( +
+ + Producers + +
+ {producers.map((actor) => ( + + {actor.PrimaryImageTag ? ( + + ) : ( +
+ {getTypeIcon( + "Person", + )} +
+ )} +
+ + {actor.Name} + + + {actor.Role} + +
+
+ ))} +
+
+ )} +
+ {/* {item.data.People.length > 0 && ( { ); })} - )} + )} */} {similarItems.data.TotalRecordCount > 0 && (