From bdd9786fc3cdc2d9707fce9bb8522d1309024128 Mon Sep 17 00:00:00 2001 From: Innei Date: Tue, 18 Apr 2023 07:53:59 +0800 Subject: [PATCH] refactor: codemirror editor (#366) --- package.json | 3 +- pnpm-lock.yaml | 1260 +++++++++--------- src/components/dashboard/DashboardLayout.tsx | 4 +- src/components/dashboard/DashboardMain.tsx | 4 +- src/components/ui/CodeMirror.tsx | 323 +++++ src/components/ui/Editor.tsx | 134 -- src/components/ui/Image.tsx | 4 +- src/hooks/useCodemirrorTheme.ts | 52 +- src/hooks/useGetState.ts | 2 +- src/hooks/useMobileLayout.ts | 29 +- src/pages/_app.tsx | 3 + src/pages/dashboard/[subdomain]/editor.tsx | 11 +- 12 files changed, 1028 insertions(+), 801 deletions(-) create mode 100644 src/components/ui/CodeMirror.tsx delete mode 100644 src/components/ui/Editor.tsx diff --git a/package.json b/package.json index a4fbffcf..fbb6f2ea 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "@codemirror/commands": "6.2.2", "@codemirror/lang-markdown": "6.1.1", "@codemirror/language": "6.6.0", + "@codemirror/language-data": "6.2.1", "@codemirror/state": "6.2.0", "@codemirror/theme-one-dark": "6.1.1", "@codemirror/view": "6.9.4", @@ -46,6 +47,7 @@ "@headlessui/react": "1.7.14", "@heroicons/react": "2.0.17", "@iconify-json/mingcute": "^1.1.5", + "@lezer/highlight": "*", "@mantine/core": "^6.0.7", "@monaco-editor/react": "4.5.0", "@popperjs/core": "^2.11.7", @@ -54,7 +56,6 @@ "@tanstack/react-query-devtools": "4.29.3", "@tanstack/react-query-persist-client": "4.29.3", "@uiw/codemirror-extensions-events": "4.19.16", - "@uiw/react-codemirror": "4.19.16", "@urql/core": "4.0.4", "aplayer": "^1.10.1", "aplayer-react": "^1.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8520d3c..9922e136 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,6 +10,9 @@ dependencies: '@codemirror/language': specifier: 6.6.0 version: 6.6.0 + '@codemirror/language-data': + specifier: 6.2.1 + version: 6.2.1(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2) '@codemirror/state': specifier: 6.2.0 version: 6.2.0 @@ -61,6 +64,9 @@ dependencies: '@iconify-json/mingcute': specifier: ^1.1.5 version: 1.1.5 + '@lezer/highlight': + specifier: '*' + version: 1.1.4 '@mantine/core': specifier: ^6.0.7 version: 6.0.7(@emotion/react@11.10.6)(@mantine/hooks@6.0.7)(@types/react@18.0.35)(react-dom@18.2.0)(react@18.2.0) @@ -85,9 +91,6 @@ dependencies: '@uiw/codemirror-extensions-events': specifier: 4.19.16 version: 4.19.16(@codemirror/view@6.9.4) - '@uiw/react-codemirror': - specifier: 4.19.16 - version: 4.19.16(@babel/runtime@7.21.0)(@codemirror/autocomplete@6.5.1)(@codemirror/language@6.6.0)(@codemirror/lint@6.2.1)(@codemirror/search@6.3.0)(@codemirror/state@6.2.0)(@codemirror/theme-one-dark@6.1.1)(@codemirror/view@6.9.4)(codemirror@6.0.1)(react-dom@18.2.0)(react@18.2.0) '@urql/core': specifier: 4.0.4 version: 4.0.4(graphql@16.6.0) @@ -207,7 +210,7 @@ dependencies: version: 1.2.6(react@18.2.0) react-parallax-tilt: specifier: ^1.7.128 - version: 1.7.128(react-dom@18.2.0)(react@18.2.0) + version: 1.7.129(react-dom@18.2.0)(react@18.2.0) react-popper: specifier: ^2.3.0 version: 2.3.0(@popperjs/core@2.11.7)(react-dom@18.2.0)(react@18.2.0) @@ -383,7 +386,7 @@ devDependencies: version: 3.1.0(vite@4.2.1) autoprefixer: specifier: 10.4.14 - version: 10.4.14(postcss@8.4.21) + version: 10.4.14(postcss@8.4.22) babel-loader: specifier: ^9.1.2 version: 9.1.2(@babel/core@7.21.4)(webpack@5.79.0) @@ -416,7 +419,7 @@ devDependencies: version: 5.6.0(@babel/core@7.21.4)(esbuild@0.17.16)(next@13.2.4)(webpack@5.79.0) postcss-import: specifier: 15.1.0 - version: 15.1.0(postcss@8.4.21) + version: 15.1.0(postcss@8.4.22) prettier: specifier: 2.8.7 version: 2.8.7 @@ -425,13 +428,13 @@ devDependencies: version: 4.12.0 tailwindcss: specifier: 3.3.1 - version: 3.3.1(postcss@8.4.21) + version: 3.3.1(postcss@8.4.22) typescript: specifier: 5.0.4 version: 5.0.4 unocss: specifier: 0.51.4 - version: 0.51.4(postcss@8.4.21)(rollup@2.79.1)(vite@4.2.1) + version: 0.51.4(postcss@8.4.22)(rollup@2.79.1)(vite@4.2.1) vitest: specifier: 0.30.1 version: 0.30.1 @@ -529,8 +532,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.21.4 - '@jridgewell/gen-mapping': 0.3.2 - '@jridgewell/trace-mapping': 0.3.17 + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.18 jsesc: 2.5.2 /@babel/helper-annotate-as-pure@7.18.6: @@ -561,8 +564,8 @@ packages: lru-cache: 5.1.1 semver: 6.3.0 - /@babel/helper-create-class-features-plugin@7.20.12(@babel/core@7.21.4): - resolution: {integrity: sha512-9OunRkbT0JQcednL0UFvbfXpAsUXiGjUk0a7sN8fUXX7Mue79cUSMjHGDRRi/Vz9vYlpIhLV5fMD5dKoMhhsNQ==} + /@babel/helper-create-class-features-plugin@7.21.4(@babel/core@7.21.4): + resolution: {integrity: sha512-46QrX2CQlaFRF4TkwfTt6nJD7IHq8539cCL7SDpqWSDeJKY1xylKKY5F/33mJhLZ3mFvKv2gGrVS6NkyF6qs+Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -571,7 +574,7 @@ packages: '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.21.0 - '@babel/helper-member-expression-to-functions': 7.20.7 + '@babel/helper-member-expression-to-functions': 7.21.0 '@babel/helper-optimise-call-expression': 7.18.6 '@babel/helper-replace-supers': 7.20.7 '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 @@ -580,15 +583,15 @@ packages: - supports-color dev: true - /@babel/helper-create-regexp-features-plugin@7.20.5(@babel/core@7.21.4): - resolution: {integrity: sha512-m68B1lkg3XDGX5yCvGO0kPx3v9WIYLnzjKfPcQiwntEQa5ZeRkPmo2X/ISJc8qxWGfwUr+kvZAeEzAwLec2r2w==} + /@babel/helper-create-regexp-features-plugin@7.21.4(@babel/core@7.21.4): + resolution: {integrity: sha512-M00OuhU+0GyZ5iBBN9czjugzWrEq2vDpf/zCYHxxf93ul/Q5rv+a5h+/+0WnI1AebHNVtl5bFV0qsJoH23DbfA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.21.4 '@babel/helper-annotate-as-pure': 7.18.6 - regexpu-core: 5.2.2 + regexpu-core: 5.3.2 dev: true /@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.21.4): @@ -601,7 +604,7 @@ packages: '@babel/helper-plugin-utils': 7.20.2 debug: 4.3.4(supports-color@8.1.1) lodash.debounce: 4.0.8 - resolve: 1.22.2 + resolve: 1.22.3 semver: 6.3.0 transitivePeerDependencies: - supports-color @@ -630,8 +633,8 @@ packages: dependencies: '@babel/types': 7.21.4 - /@babel/helper-member-expression-to-functions@7.20.7: - resolution: {integrity: sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw==} + /@babel/helper-member-expression-to-functions@7.21.0: + resolution: {integrity: sha512-Muu8cdZwNN6mRRNG6lAYErJ5X3bRevgYR2O8wN0yn7jJSnGDu6eG59RfT29JHxGUovyfrh6Pj0XzmR7drNVL3Q==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.21.4 @@ -689,7 +692,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-member-expression-to-functions': 7.20.7 + '@babel/helper-member-expression-to-functions': 7.21.0 '@babel/helper-optimise-call-expression': 7.18.6 '@babel/template': 7.20.7 '@babel/traverse': 7.21.4 @@ -785,7 +788,7 @@ packages: '@babel/core': 7.21.4 '@babel/helper-plugin-utils': 7.20.2 '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - '@babel/plugin-proposal-optional-chaining': 7.20.7(@babel/core@7.21.4) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.21.4) dev: true /@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.21.4): @@ -810,20 +813,20 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.21.4 - '@babel/helper-create-class-features-plugin': 7.20.12(@babel/core@7.21.4) + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 transitivePeerDependencies: - supports-color dev: true - /@babel/plugin-proposal-class-static-block@7.20.7(@babel/core@7.21.4): - resolution: {integrity: sha512-AveGOoi9DAjUYYuUAG//Ig69GlazLnoyzMw68VCDux+c1tsnnH/OkYcpz/5xzMkEFC6UxjR5Gw1c+iY2wOGVeQ==} + /@babel/plugin-proposal-class-static-block@7.21.0(@babel/core@7.21.4): + resolution: {integrity: sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.12.0 dependencies: '@babel/core': 7.21.4 - '@babel/helper-create-class-features-plugin': 7.20.12(@babel/core@7.21.4) + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.21.4) transitivePeerDependencies: @@ -907,7 +910,7 @@ packages: '@babel/helper-compilation-targets': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.21.4) - '@babel/plugin-transform-parameters': 7.20.7(@babel/core@7.21.4) + '@babel/plugin-transform-parameters': 7.21.3(@babel/core@7.21.4) dev: true /@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.21.4): @@ -921,8 +924,8 @@ packages: '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.21.4) dev: true - /@babel/plugin-proposal-optional-chaining@7.20.7(@babel/core@7.21.4): - resolution: {integrity: sha512-T+A7b1kfjtRM51ssoOfS1+wbyCVqorfyZhT99TvxxLMirPShD8CzKMRepMlCBGM5RpHMbn8s+5MMHnPstJH6mQ==} + /@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.21.4): + resolution: {integrity: sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -940,21 +943,21 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.21.4 - '@babel/helper-create-class-features-plugin': 7.20.12(@babel/core@7.21.4) + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 transitivePeerDependencies: - supports-color dev: true - /@babel/plugin-proposal-private-property-in-object@7.20.5(@babel/core@7.21.4): - resolution: {integrity: sha512-Vq7b9dUA12ByzB4EjQTPo25sFhY+08pQDBSZRtUAkj7lb7jahaHR5igera16QZ+3my1nYR4dKsNdYj5IjPHilQ==} + /@babel/plugin-proposal-private-property-in-object@7.21.0(@babel/core@7.21.4): + resolution: {integrity: sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.21.4 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.20.12(@babel/core@7.21.4) + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.21.4) transitivePeerDependencies: @@ -968,7 +971,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.21.4 - '@babel/helper-create-regexp-features-plugin': 7.20.5(@babel/core@7.21.4) + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 dev: true @@ -1145,8 +1148,8 @@ packages: '@babel/helper-plugin-utils': 7.20.2 dev: true - /@babel/plugin-transform-block-scoping@7.20.11(@babel/core@7.21.4): - resolution: {integrity: sha512-tA4N427a7fjf1P0/2I4ScsHGc5jcHPbb30xMbaTke2gxDuWpUfXDuX1FEymJwKk4tuGUvGcejAR6HdZVqmmPyw==} + /@babel/plugin-transform-block-scoping@7.21.0(@babel/core@7.21.4): + resolution: {integrity: sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1155,8 +1158,8 @@ packages: '@babel/helper-plugin-utils': 7.20.2 dev: true - /@babel/plugin-transform-classes@7.20.7(@babel/core@7.21.4): - resolution: {integrity: sha512-LWYbsiXTPKl+oBlXUGlwNlJZetXD5Am+CyBdqhPsDVjM9Jc8jwBJFrKhHf900Kfk2eZG1y9MAG3UNajol7A4VQ==} + /@babel/plugin-transform-classes@7.21.0(@babel/core@7.21.4): + resolution: {integrity: sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1186,8 +1189,8 @@ packages: '@babel/template': 7.20.7 dev: true - /@babel/plugin-transform-destructuring@7.20.7(@babel/core@7.21.4): - resolution: {integrity: sha512-Xwg403sRrZb81IVB79ZPqNQME23yhugYVqgTxAhT99h485F4f+GMELFhhOsscDUB7HCswepKeCKLn/GZvUKoBA==} + /@babel/plugin-transform-destructuring@7.21.3(@babel/core@7.21.4): + resolution: {integrity: sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1203,7 +1206,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.21.4 - '@babel/helper-create-regexp-features-plugin': 7.20.5(@babel/core@7.21.4) + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 dev: true @@ -1228,8 +1231,8 @@ packages: '@babel/helper-plugin-utils': 7.20.2 dev: true - /@babel/plugin-transform-for-of@7.18.8(@babel/core@7.21.4): - resolution: {integrity: sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==} + /@babel/plugin-transform-for-of@7.21.0(@babel/core@7.21.4): + resolution: {integrity: sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1283,8 +1286,8 @@ packages: - supports-color dev: true - /@babel/plugin-transform-modules-commonjs@7.20.11(@babel/core@7.21.4): - resolution: {integrity: sha512-S8e1f7WQ7cimJQ51JkAaDrEtohVEitXjgCGAS2N8S31Y42E+kWwfSz83LYz57QdBm7q9diARVqanIaH2oVgQnw==} + /@babel/plugin-transform-modules-commonjs@7.21.2(@babel/core@7.21.4): + resolution: {integrity: sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1332,7 +1335,7 @@ packages: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.21.4 - '@babel/helper-create-regexp-features-plugin': 7.20.5(@babel/core@7.21.4) + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 dev: true @@ -1359,8 +1362,8 @@ packages: - supports-color dev: true - /@babel/plugin-transform-parameters@7.20.7(@babel/core@7.21.4): - resolution: {integrity: sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA==} + /@babel/plugin-transform-parameters@7.21.3(@babel/core@7.21.4): + resolution: {integrity: sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1505,12 +1508,12 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.21.4 - '@babel/helper-create-regexp-features-plugin': 7.20.5(@babel/core@7.21.4) + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.21.4) '@babel/helper-plugin-utils': 7.20.2 dev: true - /@babel/preset-env@7.20.2(@babel/core@7.21.4): - resolution: {integrity: sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg==} + /@babel/preset-env@7.21.4(@babel/core@7.21.4): + resolution: {integrity: sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1524,7 +1527,7 @@ packages: '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.20.7(@babel/core@7.21.4) '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/core@7.21.4) '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.21.4) - '@babel/plugin-proposal-class-static-block': 7.20.7(@babel/core@7.21.4) + '@babel/plugin-proposal-class-static-block': 7.21.0(@babel/core@7.21.4) '@babel/plugin-proposal-dynamic-import': 7.18.6(@babel/core@7.21.4) '@babel/plugin-proposal-export-namespace-from': 7.18.9(@babel/core@7.21.4) '@babel/plugin-proposal-json-strings': 7.18.6(@babel/core@7.21.4) @@ -1533,9 +1536,9 @@ packages: '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.21.4) '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.21.4) '@babel/plugin-proposal-optional-catch-binding': 7.18.6(@babel/core@7.21.4) - '@babel/plugin-proposal-optional-chaining': 7.20.7(@babel/core@7.21.4) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.21.4) '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.21.4) - '@babel/plugin-proposal-private-property-in-object': 7.20.5(@babel/core@7.21.4) + '@babel/plugin-proposal-private-property-in-object': 7.21.0(@babel/core@7.21.4) '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.21.4) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.21.4) '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.21.4) @@ -1555,25 +1558,25 @@ packages: '@babel/plugin-transform-arrow-functions': 7.20.7(@babel/core@7.21.4) '@babel/plugin-transform-async-to-generator': 7.20.7(@babel/core@7.21.4) '@babel/plugin-transform-block-scoped-functions': 7.18.6(@babel/core@7.21.4) - '@babel/plugin-transform-block-scoping': 7.20.11(@babel/core@7.21.4) - '@babel/plugin-transform-classes': 7.20.7(@babel/core@7.21.4) + '@babel/plugin-transform-block-scoping': 7.21.0(@babel/core@7.21.4) + '@babel/plugin-transform-classes': 7.21.0(@babel/core@7.21.4) '@babel/plugin-transform-computed-properties': 7.20.7(@babel/core@7.21.4) - '@babel/plugin-transform-destructuring': 7.20.7(@babel/core@7.21.4) + '@babel/plugin-transform-destructuring': 7.21.3(@babel/core@7.21.4) '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.21.4) '@babel/plugin-transform-duplicate-keys': 7.18.9(@babel/core@7.21.4) '@babel/plugin-transform-exponentiation-operator': 7.18.6(@babel/core@7.21.4) - '@babel/plugin-transform-for-of': 7.18.8(@babel/core@7.21.4) + '@babel/plugin-transform-for-of': 7.21.0(@babel/core@7.21.4) '@babel/plugin-transform-function-name': 7.18.9(@babel/core@7.21.4) '@babel/plugin-transform-literals': 7.18.9(@babel/core@7.21.4) '@babel/plugin-transform-member-expression-literals': 7.18.6(@babel/core@7.21.4) '@babel/plugin-transform-modules-amd': 7.20.11(@babel/core@7.21.4) - '@babel/plugin-transform-modules-commonjs': 7.20.11(@babel/core@7.21.4) + '@babel/plugin-transform-modules-commonjs': 7.21.2(@babel/core@7.21.4) '@babel/plugin-transform-modules-systemjs': 7.20.11(@babel/core@7.21.4) '@babel/plugin-transform-modules-umd': 7.18.6(@babel/core@7.21.4) '@babel/plugin-transform-named-capturing-groups-regex': 7.20.5(@babel/core@7.21.4) '@babel/plugin-transform-new-target': 7.18.6(@babel/core@7.21.4) '@babel/plugin-transform-object-super': 7.18.6(@babel/core@7.21.4) - '@babel/plugin-transform-parameters': 7.20.7(@babel/core@7.21.4) + '@babel/plugin-transform-parameters': 7.21.3(@babel/core@7.21.4) '@babel/plugin-transform-property-literals': 7.18.6(@babel/core@7.21.4) '@babel/plugin-transform-regenerator': 7.20.5(@babel/core@7.21.4) '@babel/plugin-transform-reserved-words': 7.18.6(@babel/core@7.21.4) @@ -1589,7 +1592,7 @@ packages: babel-plugin-polyfill-corejs2: 0.3.3(@babel/core@7.21.4) babel-plugin-polyfill-corejs3: 0.6.0(@babel/core@7.21.4) babel-plugin-polyfill-regenerator: 0.4.1(@babel/core@7.21.4) - core-js-compat: 3.27.2 + core-js-compat: 3.30.1 semver: 6.3.0 transitivePeerDependencies: - supports-color @@ -1608,6 +1611,10 @@ packages: esutils: 2.0.3 dev: true + /@babel/regjsgen@0.8.0: + resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} + dev: true + /@babel/runtime@7.21.0: resolution: {integrity: sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==} engines: {node: '>=6.9.0'} @@ -1680,6 +1687,23 @@ packages: '@lezer/common': 1.0.2 dev: false + /@codemirror/lang-angular@0.1.0: + resolution: {integrity: sha512-vTjoHjzJmLrrMFmf/tojwp+O0P+R9mgWtjjaKDNDoY58PzOPg7ldMEBqIzABBc+/2mYPD85SG7O5byfBxc83eA==} + dependencies: + '@codemirror/lang-html': 6.4.3 + '@codemirror/lang-javascript': 6.1.6 + '@codemirror/language': 6.6.0 + '@lezer/common': 1.0.2 + '@lezer/highlight': 1.1.4 + dev: false + + /@codemirror/lang-cpp@6.0.2: + resolution: {integrity: sha512-6oYEYUKHvrnacXxWxYa6t4puTlbN3dgV662BDfSH8+MfjQjVmP697/KYTDOqpxgerkvoNm7q5wlFMBeX8ZMocg==} + dependencies: + '@codemirror/language': 6.6.0 + '@lezer/cpp': 1.1.0 + dev: false + /@codemirror/lang-css@6.1.1(@codemirror/view@6.9.4)(@lezer/common@1.0.2): resolution: {integrity: sha512-P6jdNEHyRcqqDgbvHYyC9Wxkek0rnG3a9aVSRi4a7WrjPbQtBTaOmvYpXmm13zZMAatO4Oqpac+0QZs7sy+LnQ==} dependencies: @@ -1706,6 +1730,13 @@ packages: '@lezer/html': 1.3.4 dev: false + /@codemirror/lang-java@6.0.1: + resolution: {integrity: sha512-OOnmhH67h97jHzCuFaIEspbmsT98fNdhVhmA3zCxW0cn7l8rChDhZtwiwJ/JOKXgfm4J+ELxQihxaI7bj7mJRg==} + dependencies: + '@codemirror/language': 6.6.0 + '@lezer/java': 1.0.3 + dev: false + /@codemirror/lang-javascript@6.1.6: resolution: {integrity: sha512-TTK28z+vJQY9GAefLTDDptI2LMqMfAiuTpt8s9SsNwocjVQ1v9yTzfReMf1hYhspQCdhfa7fdKnQJ78mKe/bHQ==} dependencies: @@ -1718,6 +1749,13 @@ packages: '@lezer/javascript': 1.4.2 dev: false + /@codemirror/lang-json@6.0.1: + resolution: {integrity: sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==} + dependencies: + '@codemirror/language': 6.6.0 + '@lezer/json': 1.0.0 + dev: false + /@codemirror/lang-markdown@6.1.1: resolution: {integrity: sha512-n87Ms6Y5UYb1UkFu8sRzTLfq/yyF1y2AYiWvaVdbBQi5WDj1tFk5N+AKA+WC0Jcjc1VxvrCCM0iizjdYYi9sFQ==} dependencies: @@ -1729,15 +1767,120 @@ packages: '@lezer/markdown': 1.0.2 dev: false + /@codemirror/lang-php@6.0.1: + resolution: {integrity: sha512-ublojMdw/PNWa7qdN5TMsjmqkNuTBD3k6ndZ4Z0S25SBAiweFGyY68AS3xNcIOlb6DDFDvKlinLQ40vSLqf8xA==} + dependencies: + '@codemirror/lang-html': 6.4.3 + '@codemirror/language': 6.6.0 + '@codemirror/state': 6.2.0 + '@lezer/common': 1.0.2 + '@lezer/php': 1.0.1 + dev: false + + /@codemirror/lang-python@6.1.2(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2): + resolution: {integrity: sha512-nbQfifLBZstpt6Oo4XxA2LOzlSp4b/7Bc5cmodG1R+Cs5PLLCTUvsMNWDnziiCfTOG/SW1rVzXq/GbIr6WXlcw==} + dependencies: + '@codemirror/autocomplete': 6.5.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2) + '@codemirror/language': 6.6.0 + '@lezer/python': 1.1.4 + transitivePeerDependencies: + - '@codemirror/state' + - '@codemirror/view' + - '@lezer/common' + dev: false + + /@codemirror/lang-rust@6.0.1: + resolution: {integrity: sha512-344EMWFBzWArHWdZn/NcgkwMvZIWUR1GEBdwG8FEp++6o6vT6KL9V7vGs2ONsKxxFUPXKI0SPcWhyYyl2zPYxQ==} + dependencies: + '@codemirror/language': 6.6.0 + '@lezer/rust': 1.0.0 + dev: false + + /@codemirror/lang-sql@6.4.1(@codemirror/view@6.9.4)(@lezer/common@1.0.2): + resolution: {integrity: sha512-PFB56L+A0WGY35uRya+Trt5g19V9k2V9X3c55xoFW4RgiATr/yLqWsbbnEsdxuMn5tLpuikp7Kmj9smRsqBXAg==} + dependencies: + '@codemirror/autocomplete': 6.5.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2) + '@codemirror/language': 6.6.0 + '@codemirror/state': 6.2.0 + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + transitivePeerDependencies: + - '@codemirror/view' + - '@lezer/common' + dev: false + + /@codemirror/lang-vue@0.1.1: + resolution: {integrity: sha512-GIfc/MemCFKUdNSYGTFZDN8XsD2z0DUY7DgrK34on0dzdZ/CawZbi+SADYfVzWoPPdxngHzLhqlR5pSOqyPCvA==} + dependencies: + '@codemirror/lang-html': 6.4.3 + '@codemirror/lang-javascript': 6.1.6 + '@codemirror/language': 6.6.0 + '@lezer/common': 1.0.2 + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + + /@codemirror/lang-wast@6.0.1: + resolution: {integrity: sha512-sQLsqhRjl2MWG3rxZysX+2XAyed48KhLBHLgq9xcKxIJu3npH/G+BIXW5NM5mHeDUjG0jcGh9BcjP0NfMStuzA==} + dependencies: + '@codemirror/language': 6.6.0 + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + + /@codemirror/lang-xml@6.0.2(@codemirror/view@6.9.4): + resolution: {integrity: sha512-JQYZjHL2LAfpiZI2/qZ/qzDuSqmGKMwyApYmEUUCTxLM4MWS7sATUEfIguZQr9Zjx/7gcdnewb039smF6nC2zw==} + dependencies: + '@codemirror/autocomplete': 6.5.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2) + '@codemirror/language': 6.6.0 + '@codemirror/state': 6.2.0 + '@lezer/common': 1.0.2 + '@lezer/xml': 1.0.1 + transitivePeerDependencies: + - '@codemirror/view' + dev: false + + /@codemirror/language-data@6.2.1(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2): + resolution: {integrity: sha512-cZADpA4FN2TWYdqhI1Q7CQcqBfRomMFFNC428dKT2WLbe/EFQ/FPTYlFTFbZDBLbmiXhVtLJOkobXRZVyCunuw==} + dependencies: + '@codemirror/lang-angular': 0.1.0 + '@codemirror/lang-cpp': 6.0.2 + '@codemirror/lang-css': 6.1.1(@codemirror/view@6.9.4)(@lezer/common@1.0.2) + '@codemirror/lang-html': 6.4.3 + '@codemirror/lang-java': 6.0.1 + '@codemirror/lang-javascript': 6.1.6 + '@codemirror/lang-json': 6.0.1 + '@codemirror/lang-markdown': 6.1.1 + '@codemirror/lang-php': 6.0.1 + '@codemirror/lang-python': 6.1.2(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2) + '@codemirror/lang-rust': 6.0.1 + '@codemirror/lang-sql': 6.4.1(@codemirror/view@6.9.4)(@lezer/common@1.0.2) + '@codemirror/lang-vue': 0.1.1 + '@codemirror/lang-wast': 6.0.1 + '@codemirror/lang-xml': 6.0.2(@codemirror/view@6.9.4) + '@codemirror/language': 6.6.0 + '@codemirror/legacy-modes': 6.3.2 + transitivePeerDependencies: + - '@codemirror/state' + - '@codemirror/view' + - '@lezer/common' + dev: false + /@codemirror/language@6.6.0: resolution: {integrity: sha512-cwUd6lzt3MfNYOobdjf14ZkLbJcnv4WtndYaoBkbor/vF+rCNguMPK0IRtvZJG4dsWiaWPcK8x1VijhvSxnstg==} dependencies: '@codemirror/state': 6.2.0 '@codemirror/view': 6.9.4 '@lezer/common': 1.0.2 - '@lezer/highlight': 1.1.3 + '@lezer/highlight': 1.1.4 '@lezer/lr': 1.3.3 - style-mod: 4.0.0 + style-mod: 4.0.3 + dev: false + + /@codemirror/legacy-modes@6.3.2: + resolution: {integrity: sha512-ki5sqNKWzKi5AKvpVE6Cna4Q+SgxYuYVLAZFSsMjGBWx5qSVa+D+xipix65GS3f2syTfAD9pXKMX4i4p49eneQ==} + dependencies: + '@codemirror/language': 6.6.0 dev: false /@codemirror/lint@6.2.1: @@ -1748,14 +1891,6 @@ packages: crelt: 1.0.5 dev: false - /@codemirror/search@6.3.0: - resolution: {integrity: sha512-rBhZxzT34CarfhgCZGhaLBScABDN3iqJxixzNuINp9lrb3lzm0nTpR77G1VrxGO3HOGK7j62jcJftQM7eCOIuw==} - dependencies: - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.4 - crelt: 1.0.5 - dev: false - /@codemirror/state@6.2.0: resolution: {integrity: sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==} dev: false @@ -1773,7 +1908,7 @@ packages: resolution: {integrity: sha512-Ov2H9gwlGUxiH94zWxlLtTlyogSFaQDIYjtSEcfzgh7MkKmKVchkmr4JbtR5zBev3jY5DVtKvUC8yjd1bKW55A==} dependencies: '@codemirror/state': 6.2.0 - style-mod: 4.0.2 + style-mod: 4.0.3 w3c-keyname: 2.2.6 dev: false @@ -3053,14 +3188,6 @@ packages: resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==} dev: false - /@jridgewell/gen-mapping@0.3.2: - resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 - '@jridgewell/trace-mapping': 0.3.17 - /@jridgewell/gen-mapping@0.3.3: resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} @@ -3082,11 +3209,11 @@ packages: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} - /@jridgewell/source-map@0.3.2: - resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==} + /@jridgewell/source-map@0.3.3: + resolution: {integrity: sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==} dependencies: - '@jridgewell/gen-mapping': 0.3.2 - '@jridgewell/trace-mapping': 0.3.17 + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.18 dev: true /@jridgewell/sourcemap-codec@1.4.14: @@ -3095,12 +3222,6 @@ packages: /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - /@jridgewell/trace-mapping@0.3.17: - resolution: {integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==} - dependencies: - '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.14 - /@jridgewell/trace-mapping@0.3.18: resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} dependencies: @@ -3162,17 +3283,18 @@ packages: resolution: {integrity: sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==} dev: false - /@lezer/css@1.1.1: - resolution: {integrity: sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==} + /@lezer/cpp@1.1.0: + resolution: {integrity: sha512-zUHrjNFuY/DOZCkOBJ6qItQIkcopHM/Zv/QOE0a4XNG3HDNahxTNu5fQYl8dIuKCpxCqRdMl5cEwl5zekFc7BA==} dependencies: '@lezer/highlight': 1.1.4 '@lezer/lr': 1.3.3 dev: false - /@lezer/highlight@1.1.3: - resolution: {integrity: sha512-3vLKLPThO4td43lYRBygmMY18JN3CPh9w+XS2j8WC30vR4yZeFG4z1iFe4jXE43NtGqe//zHW5q8ENLlHvz9gw==} + /@lezer/css@1.1.1: + resolution: {integrity: sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==} dependencies: - '@lezer/common': 1.0.2 + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 dev: false /@lezer/highlight@1.1.4: @@ -3189,6 +3311,13 @@ packages: '@lezer/lr': 1.3.3 dev: false + /@lezer/java@1.0.3: + resolution: {integrity: sha512-kKN17wmgP1cgHb8juR4pwVSPMKkDMzY/lAPbBsZ1fpXwbk2sg3N1kIrf0q+LefxgrANaQb/eNO7+m2QPruTFng==} + dependencies: + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + /@lezer/javascript@1.4.2: resolution: {integrity: sha512-77qdAD4zanmImPiAu4ibrMUzRc79UHoccdPa+Ey5iwS891TAkhnMAodUe17T7zV7tnF7e9HXM0pfmjoGEhrppg==} dependencies: @@ -3196,6 +3325,13 @@ packages: '@lezer/lr': 1.3.3 dev: false + /@lezer/json@1.0.0: + resolution: {integrity: sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==} + dependencies: + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + /@lezer/lr@1.3.3: resolution: {integrity: sha512-JPQe3mwJlzEVqy67iQiiGozhcngbO8QBgpqZM6oL1Wj/dXckrEexpBLeFkq0edtW5IqnPRFxA24BHJni8Js69w==} dependencies: @@ -3209,6 +3345,34 @@ packages: '@lezer/highlight': 1.1.4 dev: false + /@lezer/php@1.0.1: + resolution: {integrity: sha512-aqdCQJOXJ66De22vzdwnuC502hIaG9EnPK2rSi+ebXyUd+j7GAX1mRjWZOVOmf3GST1YUfUCu6WXDiEgDGOVwA==} + dependencies: + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + + /@lezer/python@1.1.4: + resolution: {integrity: sha512-x82XgYxqqX0Yiw7uIemQJ3z2QyQme5BYpectkPfNg99OQrakqfwqVolqEVIrsj4QO9rVDLFZZ49J0Vbne7UbAA==} + dependencies: + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + + /@lezer/rust@1.0.0: + resolution: {integrity: sha512-IpGAxIjNxYmX9ra6GfQTSPegdCAWNeq23WNmrsMMQI7YNSvKtYxO4TX5rgZUmbhEucWn0KTBMeDEPXg99YKtTA==} + dependencies: + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + + /@lezer/xml@1.0.1: + resolution: {integrity: sha512-jMDXrV953sDAUEMI25VNrI9dz94Ai96FfeglytFINhhwQ867HKlCE2jt3AwZTCT7M528WxdDWv/Ty8e9wizwmQ==} + dependencies: + '@lezer/highlight': 1.1.4 + '@lezer/lr': 1.3.3 + dev: false + /@lit-labs/ssr-dom-shim@1.1.0: resolution: {integrity: sha512-92uQ5ARf7UXYrzaFcAX3T2rTvaS9Z1//ukV+DqjACM4c8s0ZBQd7ayJU5Dh2AFLD/Ayuyz4uMmxQec8q3U4Ong==} dev: false @@ -3470,7 +3634,6 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] - libc: [glibc] requiresBuild: true optional: true @@ -3479,7 +3642,6 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] - libc: [musl] requiresBuild: true optional: true @@ -3488,7 +3650,6 @@ packages: engines: {node: '>= 10'} cpu: [x64] os: [linux] - libc: [glibc] requiresBuild: true optional: true @@ -3497,7 +3658,6 @@ packages: engines: {node: '>= 10'} cpu: [x64] os: [linux] - libc: [musl] requiresBuild: true optional: true @@ -3596,7 +3756,6 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] - libc: [glibc] requiresBuild: true dev: false optional: true @@ -3606,7 +3765,6 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] - libc: [musl] requiresBuild: true dev: false optional: true @@ -3616,7 +3774,6 @@ packages: engines: {node: '>= 10'} cpu: [x64] os: [linux] - libc: [glibc] requiresBuild: true dev: false optional: true @@ -3626,7 +3783,6 @@ packages: engines: {node: '>= 10'} cpu: [x64] os: [linux] - libc: [musl] requiresBuild: true dev: false optional: true @@ -3892,9 +4048,9 @@ packages: '@rollup/pluginutils': 3.1.0(rollup@2.79.1) '@types/resolve': 1.17.1 builtin-modules: 3.3.0 - deepmerge: 4.2.2 + deepmerge: 4.3.1 is-module: 1.0.0 - resolve: 1.22.2 + resolve: 1.22.3 rollup: 2.79.1 dev: true @@ -4132,7 +4288,7 @@ packages: /@surma/rollup-plugin-off-main-thread@2.2.3: resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} dependencies: - ejs: 3.1.8 + ejs: 3.1.9 json5: 2.2.3 magic-string: 0.25.9 string.prototype.matchall: 4.0.8 @@ -4329,14 +4485,12 @@ packages: resolution: {integrity: sha512-DUlIj2nk0YnJdlWgsFuVKcX27MLW0KbKmGVoUHmFr+74FYYNUDAaj9ZqTADvsbE8rfxuVmSFc7KczYn5Y09ozg==} dev: false - /@types/lodash@4.14.192: - resolution: {integrity: sha512-km+Vyn3BYm5ytMO13k9KTp27O75rbQ0NFw+U//g+PX7VZyjCioXaRFisqSIJRECljcTv73G3i6BpglNGHgUQ5A==} + /@types/katex@0.16.0: + resolution: {integrity: sha512-hz+S3nV6Mym5xPbT9fnO8dDhBFQguMYpY0Ipxv06JMi1ORgnEM4M1ymWDUhUNer3ElLmT583opRo4RzxKmh9jw==} dev: false - /@types/mdast@3.0.10: - resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} - dependencies: - '@types/unist': 2.0.6 + /@types/lodash@4.14.194: + resolution: {integrity: sha512-r22s9tAS7imvBt2lyHC9B8AGwWnXaYb1tY09oyLkXDs4vArpYJzw09nj8MLx5VfciBPGIb+ZwG0ssYnEPJxn/g==} dev: false /@types/mdast@3.0.11: @@ -4441,13 +4595,8 @@ packages: /@types/sortablejs@1.15.1: resolution: {integrity: sha512-g/JwBNToh6oCTAwNS8UGVmjO7NLDKsejVhvE4x1eWiPTC3uCuNsa/TD4ssvX3du+MLiM+SHPNDuijp8y76JzLQ==} - /@types/trusted-types@2.0.2: - resolution: {integrity: sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==} - dev: true - /@types/trusted-types@2.0.3: resolution: {integrity: sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==} - dev: false /@types/ua-parser-js@0.7.36: resolution: {integrity: sha512-N1rW+njavs70y2cApeIw1vLMYXRwfBy+7trgavGuuTfOd7j1Yh7QTRc/yqsPl6ncokt72ZXuxEU0PiCp9bSwNQ==} @@ -4466,8 +4615,8 @@ packages: '@types/node': 18.15.11 dev: false - /@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.0.4): - resolution: {integrity: sha512-hlA0BLeVSA/wBPKdPGxoVr9Pp6GutGoY380FEhbVi0Ph4WNe8kLvqIRx76RSQt1lynZKfrXKs0/XeEk4zZycuA==} + /@typescript-eslint/parser@5.58.0(eslint@8.38.0)(typescript@5.0.4): + resolution: {integrity: sha512-ixaM3gRtlfrKzP8N6lRhBbjTow1t6ztfBvQNGuRM8qH1bjFFXIJ35XY+FC0RRBKn3C6cT+7VW1y8tNm7DwPHDQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -4476,9 +4625,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.57.1 - '@typescript-eslint/types': 5.57.1 - '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4) + '@typescript-eslint/scope-manager': 5.58.0 + '@typescript-eslint/types': 5.58.0 + '@typescript-eslint/typescript-estree': 5.58.0(typescript@5.0.4) debug: 4.3.4(supports-color@8.1.1) eslint: 8.38.0 typescript: 5.0.4 @@ -4486,21 +4635,21 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@5.57.1: - resolution: {integrity: sha512-N/RrBwEUKMIYxSKl0oDK5sFVHd6VI7p9K5MyUlVYAY6dyNb/wHUqndkTd3XhpGlXgnQsBkRZuu4f9kAHghvgPw==} + /@typescript-eslint/scope-manager@5.58.0: + resolution: {integrity: sha512-b+w8ypN5CFvrXWQb9Ow9T4/6LC2MikNf1viLkYTiTbkQl46CnR69w7lajz1icW0TBsYmlpg+mRzFJ4LEJ8X9NA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.57.1 - '@typescript-eslint/visitor-keys': 5.57.1 + '@typescript-eslint/types': 5.58.0 + '@typescript-eslint/visitor-keys': 5.58.0 dev: true - /@typescript-eslint/types@5.57.1: - resolution: {integrity: sha512-bSs4LOgyV3bJ08F5RDqO2KXqg3WAdwHCu06zOqcQ6vqbTJizyBhuh1o1ImC69X4bV2g1OJxbH71PJqiO7Y1RuA==} + /@typescript-eslint/types@5.58.0: + resolution: {integrity: sha512-JYV4eITHPzVQMnHZcYJXl2ZloC7thuUHrcUmxtzvItyKPvQ50kb9QXBkgNAt90OYMqwaodQh2kHutWZl1fc+1g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree@5.57.1(typescript@5.0.4): - resolution: {integrity: sha512-A2MZqD8gNT0qHKbk2wRspg7cHbCDCk2tcqt6ScCFLr5Ru8cn+TCfM786DjPhqwseiS+PrYwcXht5ztpEQ6TFTw==} + /@typescript-eslint/typescript-estree@5.58.0(typescript@5.0.4): + resolution: {integrity: sha512-cRACvGTodA+UxnYM2uwA2KCwRL7VAzo45syNysqlMyNyjw0Z35Icc9ihPJZjIYuA5bXJYiJ2YGUB59BqlOZT1Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -4508,8 +4657,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.57.1 - '@typescript-eslint/visitor-keys': 5.57.1 + '@typescript-eslint/types': 5.58.0 + '@typescript-eslint/visitor-keys': 5.58.0 debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 @@ -4520,34 +4669,14 @@ packages: - supports-color dev: true - /@typescript-eslint/visitor-keys@5.57.1: - resolution: {integrity: sha512-RjQrAniDU0CEk5r7iphkm731zKlFiUjvcBS2yHAg8WWqFMCaCrD0rKEVOMUyMMcbGPZ0bPp56srkGWrgfZqLRA==} + /@typescript-eslint/visitor-keys@5.58.0: + resolution: {integrity: sha512-/fBraTlPj0jwdyTwLyrRTxv/3lnU2H96pNTVM6z3esTWLtA5MZ9ghSMJ7Rb+TtUAdtEw9EyJzJ0EydIMKxQ9gA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.57.1 + '@typescript-eslint/types': 5.58.0 eslint-visitor-keys: 3.4.0 dev: true - /@uiw/codemirror-extensions-basic-setup@4.19.16(@codemirror/autocomplete@6.5.1)(@codemirror/commands@6.2.2)(@codemirror/language@6.6.0)(@codemirror/lint@6.2.1)(@codemirror/search@6.3.0)(@codemirror/state@6.2.0)(@codemirror/view@6.9.4): - resolution: {integrity: sha512-Xm0RDpyYVZ/8hWqaBs3+wZwi4uLwZUBwp/uCt89X80FeR6mr3BFuC+a+gcDO4dBu3l+WQE3jJdhjKjB2TCY/PQ==} - peerDependencies: - '@codemirror/autocomplete': '>=6.0.0' - '@codemirror/commands': '>=6.0.0' - '@codemirror/language': '>=6.0.0' - '@codemirror/lint': '>=6.0.0' - '@codemirror/search': '>=6.0.0' - '@codemirror/state': '>=6.0.0' - '@codemirror/view': '>=6.0.0' - dependencies: - '@codemirror/autocomplete': 6.5.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2) - '@codemirror/commands': 6.2.2 - '@codemirror/language': 6.6.0 - '@codemirror/lint': 6.2.1 - '@codemirror/search': 6.3.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.4 - dev: false - /@uiw/codemirror-extensions-events@4.19.16(@codemirror/view@6.9.4): resolution: {integrity: sha512-XNoMDj0G/7GCFKOwcP1rMlKHCDKkNKVBr55YaQsznsLfiFo8XtP72/5dM/3xKLa0Mr37Z3BbmVAT/WgnR5s/8A==} peerDependencies: @@ -4556,33 +4685,6 @@ packages: '@codemirror/view': 6.9.4 dev: false - /@uiw/react-codemirror@4.19.16(@babel/runtime@7.21.0)(@codemirror/autocomplete@6.5.1)(@codemirror/language@6.6.0)(@codemirror/lint@6.2.1)(@codemirror/search@6.3.0)(@codemirror/state@6.2.0)(@codemirror/theme-one-dark@6.1.1)(@codemirror/view@6.9.4)(codemirror@6.0.1)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-uElraR7Mvwz2oZKrmtF5hmIB8dAlIiU65nfg484e/V9k4PV6/5KtPUQL3JPO4clH2pcd+TQqRTQrFFkP/D25ew==} - peerDependencies: - '@babel/runtime': '>=7.11.0' - '@codemirror/state': '>=6.0.0' - '@codemirror/theme-one-dark': '>=6.0.0' - '@codemirror/view': '>=6.0.0' - codemirror: '>=6.0.0' - react: '>=16.8.0' - react-dom: '>=16.8.0' - dependencies: - '@babel/runtime': 7.21.0 - '@codemirror/commands': 6.2.2 - '@codemirror/state': 6.2.0 - '@codemirror/theme-one-dark': 6.1.1 - '@codemirror/view': 6.9.4 - '@uiw/codemirror-extensions-basic-setup': 4.19.16(@codemirror/autocomplete@6.5.1)(@codemirror/commands@6.2.2)(@codemirror/language@6.6.0)(@codemirror/lint@6.2.1)(@codemirror/search@6.3.0)(@codemirror/state@6.2.0)(@codemirror/view@6.9.4) - codemirror: 6.0.1(@lezer/common@1.0.2) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - transitivePeerDependencies: - - '@codemirror/autocomplete' - - '@codemirror/language' - - '@codemirror/lint' - - '@codemirror/search' - dev: false - /@unocss/astro@0.51.4(rollup@2.79.1)(vite@4.2.1): resolution: {integrity: sha512-denp8/PHvzfN9azfTF72+ey6xpgUB4L4416FI4DfcfKPzRMo4KjIaHlTD6xuaJwBdC8UJSOIcDRXldRGPT33Ag==} dependencies: @@ -4606,8 +4708,8 @@ packages: '@unocss/preset-uno': 0.51.4 cac: 6.7.14 chokidar: 3.5.3 - colorette: 2.0.19 - consola: 3.0.1 + colorette: 2.0.20 + consola: 3.0.2 fast-glob: 3.2.12 magic-string: 0.30.0 pathe: 1.1.0 @@ -4641,7 +4743,7 @@ packages: sirv: 2.0.2 dev: true - /@unocss/postcss@0.51.4(postcss@8.4.21): + /@unocss/postcss@0.51.4(postcss@8.4.22): resolution: {integrity: sha512-Jkf7GD8svev854pHVuFx0AtZoh3LQKbFoU5DDT1Hb0Yr/l2sxUSxzx1Jb5vUun89tSlfzIZ2pKAd0BqwtqWlmw==} engines: {node: '>=14'} peerDependencies: @@ -4652,7 +4754,7 @@ packages: css-tree: 2.3.1 fast-glob: 3.2.12 magic-string: 0.30.0 - postcss: 8.4.21 + postcss: 8.4.22 dev: true /@unocss/preset-attributify@0.51.4: @@ -4864,9 +4966,9 @@ packages: '@safe-global/safe-apps-provider': 0.15.2 '@safe-global/safe-apps-sdk': 7.10.1 '@wagmi/core': 0.10.9(@babel/core@7.21.4)(@types/node@18.15.11)(ethers@5.7.2)(immer@9.0.21)(react@18.2.0)(typescript@5.0.4) - '@walletconnect/ethereum-provider': 2.6.2(@types/node@18.15.11)(@web3modal/standalone@2.2.2)(typescript@5.0.4) + '@walletconnect/ethereum-provider': 2.6.2(@types/node@18.15.11)(@web3modal/standalone@2.3.0)(typescript@5.0.4) '@walletconnect/legacy-provider': 2.0.0 - '@web3modal/standalone': 2.2.2(react@18.2.0) + '@web3modal/standalone': 2.3.0(react@18.2.0) abitype: 0.3.0(typescript@5.0.4) ethers: 5.7.2 eventemitter3: 4.0.7 @@ -4975,7 +5077,7 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/ethereum-provider@2.6.2(@types/node@18.15.11)(@web3modal/standalone@2.2.2)(typescript@5.0.4): + /@walletconnect/ethereum-provider@2.6.2(@types/node@18.15.11)(@web3modal/standalone@2.3.0)(typescript@5.0.4): resolution: {integrity: sha512-IFYxvl+cHDPR+bJiocEF/EfqEB5eNxeQOxb8mKtA4vzFGck2H7ft+k1ObMwrBlC387NjzsD3Uyr0dT7qYaSWCg==} peerDependencies: '@web3modal/standalone': '>=2' @@ -4991,7 +5093,7 @@ packages: '@walletconnect/types': 2.6.2(@types/node@18.15.11)(typescript@5.0.4) '@walletconnect/universal-provider': 2.6.2(@types/node@18.15.11)(typescript@5.0.4) '@walletconnect/utils': 2.6.2(@types/node@18.15.11)(typescript@5.0.4) - '@web3modal/standalone': 2.2.2(react@18.2.0) + '@web3modal/standalone': 2.3.0(react@18.2.0) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -5029,6 +5131,14 @@ packages: - typescript dev: false + /@walletconnect/heartbeat@1.2.1: + resolution: {integrity: sha512-yVzws616xsDLJxuG/28FqtZ5rzrTA4gUjdEMTbWB5Y8V1XHRmqq4efAxCw5ie7WjbXFSUyBHaWlMR+2/CpQC5Q==} + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/time': 1.0.2 + tslib: 1.14.1 + dev: false + /@walletconnect/jsonrpc-http-connection@1.0.6: resolution: {integrity: sha512-/3zSqDi7JDN06E4qm0NmVYMitngXfh21UWwy8zeJcBeJc+Jcs094EbLsIxtziIIKTCCbT88lWuTjl1ZujxN7cw==} dependencies: @@ -5193,7 +5303,7 @@ packages: dependencies: '@walletconnect/core': 2.6.2(@types/node@18.15.11)(typescript@5.0.4) '@walletconnect/events': 1.0.1 - '@walletconnect/heartbeat': 1.2.0(@types/node@18.15.11)(typescript@5.0.4) + '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-utils': 1.0.7 '@walletconnect/logger': 2.0.1 '@walletconnect/time': 1.0.2 @@ -5303,29 +5413,29 @@ packages: tslib: 1.14.1 dev: false - /@web3modal/core@2.2.2(react@18.2.0): - resolution: {integrity: sha512-RKbYNIEVP5Hwiva68PWXExbkTFLUTasneyRpcjoQSM4BIh78qXp1YMt0nyTvFdHmHQEGxXEMCuRG5qoE97uMHA==} + /@web3modal/core@2.3.0(react@18.2.0): + resolution: {integrity: sha512-g05JecspH50IdN4mMjCCg24uDKWFyvfqU1mTludfBO+hRpmsfmIdxojPNNmYR/oTxmhiko8nyt1hFoE1vg5A8A==} dependencies: buffer: 6.0.3 - valtio: 1.10.3(react@18.2.0) + valtio: 1.10.4(react@18.2.0) transitivePeerDependencies: - react dev: false - /@web3modal/standalone@2.2.2(react@18.2.0): - resolution: {integrity: sha512-c05kkTFNGZqnjJ3n2C8uo+wWL6ut1jexGYAyTvbweDengdsOr8LDo0VpK5V3XSKCV2fFcPh5JE9H1aA4jpnZPg==} + /@web3modal/standalone@2.3.0(react@18.2.0): + resolution: {integrity: sha512-O2vfsT83r2UlEYCFEKcIRQLt7XmsAUapazb1rjYr6PWN1hU4FVksWiUwG9UGNoU8lznvaiFiCUNmjje1+4NHgQ==} dependencies: - '@web3modal/core': 2.2.2(react@18.2.0) - '@web3modal/ui': 2.2.2(react@18.2.0) + '@web3modal/core': 2.3.0(react@18.2.0) + '@web3modal/ui': 2.3.0(react@18.2.0) transitivePeerDependencies: - react dev: false - /@web3modal/ui@2.2.2(react@18.2.0): - resolution: {integrity: sha512-PAuMOuk4sZ4UGjucGMZKzu6Qu56XtFsgLaqOn8ZgP2RkZmYEBGSG9mUQVzJd3XzfzAy1T91Wmqp/3TI3m0pXuQ==} + /@web3modal/ui@2.3.0(react@18.2.0): + resolution: {integrity: sha512-iXpT4UPwQCxU/+JcqxjNcyBMM5imepmtO47ogbPQkvpZXrjsyiAqxLAXFAbY/W6uoNvGez1sQDtTdzt0umlKyQ==} dependencies: - '@web3modal/core': 2.2.2(react@18.2.0) - lit: 2.6.1 + '@web3modal/core': 2.3.0(react@18.2.0) + lit: 2.7.2 motion: 10.15.5 qrcode: 1.5.1 transitivePeerDependencies: @@ -5504,12 +5614,6 @@ packages: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} - /acorn@8.8.1: - resolution: {integrity: sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - /acorn@8.8.2: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} engines: {node: '>=0.4.0'} @@ -5690,7 +5794,7 @@ packages: engines: {node: '>=10'} dependencies: delegates: 1.0.0 - readable-stream: 3.6.0 + readable-stream: 3.6.2 dev: false optional: true @@ -5833,7 +5937,7 @@ packages: engines: {node: '>=4'} dev: false - /autoprefixer@10.4.14(postcss@8.4.21): + /autoprefixer@10.4.14(postcss@8.4.22): resolution: {integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==} engines: {node: ^10 || ^12 || >=14} hasBin: true @@ -5841,11 +5945,11 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.21.5 - caniuse-lite: 1.0.30001466 + caniuse-lite: 1.0.30001480 fraction.js: 4.2.0 normalize-range: 0.1.2 picocolors: 1.0.0 - postcss: 8.4.21 + postcss: 8.4.22 postcss-value-parser: 4.2.0 dev: true @@ -5921,7 +6025,7 @@ packages: dependencies: '@babel/core': 7.21.4 find-cache-dir: 3.3.2 - schema-utils: 4.0.0 + schema-utils: 4.0.1 webpack: 5.79.0(esbuild@0.17.16) dev: true @@ -5930,7 +6034,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 cosmiconfig: 6.0.0 - resolve: 1.22.2 + resolve: 1.22.3 dev: false optional: true @@ -5962,7 +6066,7 @@ packages: dependencies: '@babel/core': 7.21.4 '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.21.4) - core-js-compat: 3.27.2 + core-js-compat: 3.30.1 transitivePeerDependencies: - supports-color @@ -6134,10 +6238,10 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001466 - electron-to-chromium: 1.4.332 + caniuse-lite: 1.0.30001480 + electron-to-chromium: 1.4.365 node-releases: 2.0.10 - update-browserslist-db: 1.0.10(browserslist@4.21.5) + update-browserslist-db: 1.0.11(browserslist@4.21.5) /bs58@4.0.1: resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} @@ -6223,11 +6327,8 @@ packages: engines: {node: '>=10'} dev: false - /caniuse-lite@1.0.30001466: - resolution: {integrity: sha512-ewtFBSfWjEmxUgNBSZItFSmVtvk9zkwkl1OfRZlKA8slltRN+/C/tuGVrF9styXkN36Yu3+SeJ1qkXxDEyNZ5w==} - - /caniuse-lite@1.0.30001478: - resolution: {integrity: sha512-gMhDyXGItTHipJj2ApIvR+iVB5hd0KP3svMWWXDvZOmjzJJassGLMfxRkQCSYgGd2gtdL/ReeiyvMSFD1Ss6Mw==} + /caniuse-lite@1.0.30001480: + resolution: {integrity: sha512-q7cpoPPvZYgtyC4VaBSN0Bt+PJ4c4EYRf0DrduInOz2SkFpHD5p3LnvEpqBp7UnJn+8x1Ogl1s38saUxe+ihQQ==} /canvas-confetti@1.6.0: resolution: {integrity: sha512-ej+w/m8Jzpv9Z7W7uJZer14Ke8P2ogsjg4ZMGIuq4iqUOqY2Jq8BNW42iGmNfRwREaaEfFIczLuZZiEVSYNHAA==} @@ -6429,20 +6530,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /codemirror@6.0.1(@lezer/common@1.0.2): - resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==} - dependencies: - '@codemirror/autocomplete': 6.5.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.9.4)(@lezer/common@1.0.2) - '@codemirror/commands': 6.2.2 - '@codemirror/language': 6.6.0 - '@codemirror/lint': 6.2.1 - '@codemirror/search': 6.3.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.4 - transitivePeerDependencies: - - '@lezer/common' - dev: false - /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -6481,8 +6568,8 @@ packages: color-string: 1.9.1 dev: false - /colorette@2.0.19: - resolution: {integrity: sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==} + /colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} dev: true /combined-stream@1.0.8: @@ -6503,8 +6590,8 @@ packages: keypress: 0.1.0 dev: false - /commander@10.0.0: - resolution: {integrity: sha512-zS5PnTI22FIRM6ylNW8G4Ap0IEOyk62fhLSD0+uHRT9McRCLGpkVNvao4bjimpK/GShynyQkFFxHhwMcETmduA==} + /commander@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} engines: {node: '>=14'} dev: true @@ -6545,7 +6632,7 @@ packages: dev: true /concat-map@0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} /concat-stream@2.0.0: resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} @@ -6553,7 +6640,7 @@ packages: dependencies: buffer-from: 1.1.2 inherits: 2.0.4 - readable-stream: 3.6.0 + readable-stream: 3.6.2 typedarray: 0.0.6 dev: false @@ -6583,8 +6670,8 @@ packages: xdg-basedir: 4.0.0 dev: true - /consola@3.0.1: - resolution: {integrity: sha512-08E7bC2N6gaFdzPU/qtBi4ulVvJitYnfrDdxEiwElC3jSNICbOvkcE+8N56EfIrBoxp37O9Qnn5ZZPElov83UQ==} + /consola@3.0.2: + resolution: {integrity: sha512-o/Wau2FmZKiQgyp3c3IULgN6J5yc0lwYMnoyiZdEpdGxKGBtt2ACbkulBZ6BUsHy1HlSJqoP4YOyPIJLgRJyKQ==} dev: true /console-control-strings@1.1.0: @@ -6608,13 +6695,13 @@ packages: toggle-selection: 1.0.6 dev: false - /core-js-compat@3.27.2: - resolution: {integrity: sha512-welaYuF7ZtbYKGrIy7y3eb40d37rG1FvzEOfe7hSLd2iD6duMDqUhRfSvCGyC46HhR6Y8JXXdZ2lnRUMkPBpvg==} + /core-js-compat@3.30.1: + resolution: {integrity: sha512-d690npR7MC6P0gq4npTl5n2VQeNAmUrJ90n+MHiKS7W2+xno4o3F5GDEuylSdi6EJ3VssibSGXOa1r3YXD3Mhw==} dependencies: browserslist: 4.21.5 - /core-js@3.29.1: - resolution: {integrity: sha512-+jwgnhg6cQxKYIIjGtAHq2nwUOolo9eoFZ4sHfUH09BLXBgxnH4gA0zEd+t+BO2cNB8idaBtZFcFTRjQJRJmAw==} + /core-js@3.30.1: + resolution: {integrity: sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==} requiresBuild: true dev: false @@ -6829,7 +6916,7 @@ packages: '@cspell/cspell-pipe': 6.31.1 '@cspell/dynamic-import': 6.31.1 chalk: 4.1.2 - commander: 10.0.0 + commander: 10.0.1 cspell-gitignore: 6.31.1 cspell-glob: 6.31.1 cspell-io: 6.31.1 @@ -7272,8 +7359,8 @@ packages: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true - /deepmerge@4.2.2: - resolution: {integrity: sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==} + /deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} dev: true @@ -7378,8 +7465,8 @@ packages: engines: {node: '>=0.3.1'} dev: false - /dijkstrajs@1.0.2: - resolution: {integrity: sha512-QV6PMaHTCNmKSeP6QoXhVTw9snc9VD8MulTT0Bd99Pacp4SS1cjcrYPgBPmibqKVtMJJfqC6XvOXgPMEEPH/fg==} + /dijkstrajs@1.0.3: + resolution: {integrity: sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==} dev: false /dir-glob@3.0.1: @@ -7461,16 +7548,16 @@ packages: - utf-8-validate dev: false - /ejs@3.1.8: - resolution: {integrity: sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==} + /ejs@3.1.9: + resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} engines: {node: '>=0.10.0'} hasBin: true dependencies: jake: 10.8.5 dev: true - /electron-to-chromium@1.4.332: - resolution: {integrity: sha512-c1Vbv5tuUlBFp0mb3mCIjw+REEsgthRgNE8BlbEDKmvzb8rxjcVki6OkQP83vLN34s0XCxpSkq7AZNep1a6xhw==} + /electron-to-chromium@1.4.365: + resolution: {integrity: sha512-FRHZO+1tUNO4TOPXmlxetkoaIY8uwHzd1kKopK/Gx2SKn1L47wJXWD44wxP5CGRyyP98z/c8e1eBzJrgPeiBOg==} /elkjs@0.8.2: resolution: {integrity: sha512-L6uRgvZTH+4OF5NE/MBbzQx/WYpru1xCBE9respNj6qznEewGUIfhzmm7horWWxbNO2M0WckQypGctR8lH79xQ==} @@ -7726,11 +7813,11 @@ packages: dependencies: '@next/eslint-plugin-next': 13.3.0 '@rushstack/eslint-patch': 1.2.0 - '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4) eslint: 8.38.0 eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.27.5)(eslint@8.38.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.27.5)(eslint@8.38.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.38.0) eslint-plugin-react: 7.32.2(eslint@8.38.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.38.0) @@ -7744,13 +7831,13 @@ packages: resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==} dependencies: debug: 3.2.7 - is-core-module: 2.11.0 - resolve: 1.22.2 + is-core-module: 2.12.0 + resolve: 1.22.3 transitivePeerDependencies: - supports-color dev: true - /eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.27.5)(eslint@8.38.0): + /eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.27.5)(eslint@8.38.0): resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -7760,11 +7847,11 @@ packages: debug: 4.3.4(supports-color@8.1.1) enhanced-resolve: 5.12.0 eslint: 8.38.0 - eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) get-tsconfig: 4.5.0 - globby: 13.1.3 - is-core-module: 2.11.0 + globby: 13.1.4 + is-core-module: 2.12.0 is-glob: 4.0.3 synckit: 0.8.5 transitivePeerDependencies: @@ -7774,8 +7861,8 @@ packages: - supports-color dev: true - /eslint-module-utils@2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0): - resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} + /eslint-module-utils@2.8.0(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0): + resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -7795,16 +7882,16 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4) debug: 3.2.7 eslint: 8.38.0 eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.27.5)(eslint@8.38.0) + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.27.5)(eslint@8.38.0) transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0): + /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0): resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: @@ -7814,7 +7901,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4) array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 @@ -7822,13 +7909,13 @@ packages: doctrine: 2.1.0 eslint: 8.38.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.38.0) has: 1.0.3 - is-core-module: 2.11.0 + is-core-module: 2.12.0 is-glob: 4.0.3 minimatch: 3.1.2 object.values: 1.1.6 - resolve: 1.22.2 + resolve: 1.22.3 semver: 6.3.0 tsconfig-paths: 3.14.2 transitivePeerDependencies: @@ -7903,8 +7990,8 @@ packages: estraverse: 4.3.0 dev: true - /eslint-scope@7.1.1: - resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==} + /eslint-scope@7.2.0: + resolution: {integrity: sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: esrecurse: 4.3.0 @@ -7934,7 +8021,7 @@ packages: debug: 4.3.4(supports-color@8.1.1) doctrine: 3.0.0 escape-string-regexp: 4.0.0 - eslint-scope: 7.1.1 + eslint-scope: 7.2.0 eslint-visitor-keys: 3.4.0 espree: 9.5.1 esquery: 1.5.0 @@ -8405,7 +8492,7 @@ packages: engines: {node: '>=10'} dependencies: at-least-node: 1.0.0 - graceful-fs: 4.2.10 + graceful-fs: 4.2.11 jsonfile: 6.1.0 universalify: 2.0.0 dev: true @@ -8623,8 +8710,8 @@ packages: slash: 3.0.0 dev: true - /globby@13.1.3: - resolution: {integrity: sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==} + /globby@13.1.4: + resolution: {integrity: sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 @@ -8649,8 +8736,8 @@ packages: resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} dev: true - /goober@2.1.11(csstype@3.1.2): - resolution: {integrity: sha512-5SS2lmxbhqH0u9ABEWq7WPU69a4i2pYcHeCxqaNq6Cw3mnrF0ghWNM4tEGid4dKy8XNIAUbuThuozDHHKJVh3A==} + /goober@2.1.12(csstype@3.1.2): + resolution: {integrity: sha512-yXHAvO08FU1JgTXX6Zn6sYCUFfB/OJSX8HHjDSgerZHZmFKAb08cykp5LBw5QnmyMcZyPRMqkdyHUSSzge788Q==} peerDependencies: csstype: ^3.0.10 dependencies: @@ -8662,10 +8749,6 @@ packages: dependencies: get-intrinsic: 1.2.0 - /graceful-fs@4.2.10: - resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} - dev: true - /graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} dev: true @@ -8769,15 +8852,15 @@ packages: hast-util-truncate: 1.0.2 dev: false - /hast-util-from-parse5@7.1.1: - resolution: {integrity: sha512-R6PoNcUs89ZxLJmMWsVbwSWuz95/9OriyQZ3e2ybwqGsRXzhA6gv49rgGmQvLbZuSNDv9fCg7vV7gXUsvtUFaA==} + /hast-util-from-parse5@7.1.2: + resolution: {integrity: sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw==} dependencies: '@types/hast': 2.3.4 '@types/unist': 2.0.6 hastscript: 7.2.0 property-information: 6.2.0 - vfile: 5.3.6 - vfile-location: 4.0.1 + vfile: 5.3.7 + vfile-location: 4.1.0 web-namespaces: 2.0.1 dev: false @@ -8809,13 +8892,13 @@ packages: dependencies: '@types/hast': 2.3.4 '@types/parse5': 6.0.3 - hast-util-from-parse5: 7.1.1 + hast-util-from-parse5: 7.1.2 hast-util-to-parse5: 7.1.0 html-void-elements: 2.0.1 parse5: 6.0.1 - unist-util-position: 4.0.3 + unist-util-position: 4.0.4 unist-util-visit: 4.1.2 - vfile: 5.3.6 + vfile: 5.3.7 web-namespaces: 2.0.1 zwitch: 2.0.4 dev: false @@ -8826,8 +8909,8 @@ packages: '@types/hast': 2.3.4 dev: false - /hast-util-select@5.0.4: - resolution: {integrity: sha512-iHfI+j4UFfYpQO0CMyFXB/ZFX+6R71y60hzHMW4D1zfAyyzHAto8RrRFdVKmg3X4uBVkDiMDe+QhMCQ3mW6fAg==} + /hast-util-select@5.0.5: + resolution: {integrity: sha512-QQhWMhgTFRhCaQdgTKzZ5g31GLQ9qRb1hZtDPMqQaOhpLBziWcshUS0uCR5IJ0U1jrK/mxg35fmcq+Dp/Cy2Aw==} dependencies: '@types/hast': 2.3.4 '@types/unist': 2.0.6 @@ -8885,7 +8968,7 @@ packages: '@types/hast': 2.3.4 '@types/unist': 2.0.6 hast-util-is-element: 2.1.3 - unist-util-find-after: 4.0.0 + unist-util-find-after: 4.0.1 dev: false /hast-util-truncate@1.0.2: @@ -9166,16 +9249,10 @@ packages: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} - /is-core-module@2.11.0: - resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} - dependencies: - has: 1.0.3 - /is-core-module@2.12.0: resolution: {integrity: sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==} dependencies: has: 1.0.3 - dev: false /is-date-object@1.0.5: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} @@ -9221,7 +9298,7 @@ packages: is-extglob: 2.1.1 /is-hex-prefixed@1.0.0: - resolution: {integrity: sha1-fY035q135dEnFIkTxXPggtd39VQ=} + resolution: {integrity: sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==} engines: {node: '>=6.5.0', npm: '>=3'} dev: false @@ -9561,7 +9638,7 @@ packages: lodash.get: 4.4.2 lodash.merge: 4.6.2 podcast-categories: 2.0.0 - sentence-splitter: 3.2.2 + sentence-splitter: 3.2.3 striptags: 3.2.0 trim-left: 1.0.1 trim-right: 1.0.1 @@ -9593,15 +9670,15 @@ packages: object.assign: 4.1.4 dev: true - /katex@0.13.24: - resolution: {integrity: sha512-jZxYuKCma3VS5UuxOx/rFV1QyGSl3Uy/i0kTJF3HgQ5xMinCQVF8Zd4bMY/9aI9b9A2pjIBOsjSSm68ykTAr8w==} + /katex@0.15.6: + resolution: {integrity: sha512-UpzJy4yrnqnhXvRPhjEuLA4lcPn6eRngixW7Q3TJErjg3Aw2PuLFBzTkdUb89UtumxjhHTqL3a5GDGETMSwgJA==} hasBin: true dependencies: commander: 8.3.0 dev: false - /katex@0.15.6: - resolution: {integrity: sha512-UpzJy4yrnqnhXvRPhjEuLA4lcPn6eRngixW7Q3TJErjg3Aw2PuLFBzTkdUb89UtumxjhHTqL3a5GDGETMSwgJA==} + /katex@0.16.4: + resolution: {integrity: sha512-WudRKUj8yyBeVDI4aYMNxhx5Vhh2PjpzQw1GRu/LVGqL4m1AxwD1GcUp0IMbdJaf5zsjtj8ghP0DOQRYhroNkw==} hasBin: true dependencies: commander: 8.3.0 @@ -9614,7 +9691,7 @@ packages: dependencies: node-addon-api: 2.0.2 node-gyp-build: 4.6.0 - readable-stream: 3.6.1 + readable-stream: 3.6.2 dev: false /keypress@0.1.0: @@ -9788,7 +9865,7 @@ packages: dependencies: chalk: 5.2.0 cli-truncate: 3.1.0 - commander: 10.0.0 + commander: 10.0.1 debug: 4.3.4(supports-color@8.1.1) execa: 7.1.1 lilconfig: 2.1.0 @@ -9814,7 +9891,7 @@ packages: optional: true dependencies: cli-truncate: 2.1.0 - colorette: 2.0.19 + colorette: 2.0.20 log-update: 4.0.0 p-map: 4.0.0 rfdc: 1.3.0 @@ -9837,8 +9914,8 @@ packages: '@types/trusted-types': 2.0.3 dev: false - /lit@2.6.1: - resolution: {integrity: sha512-DT87LD64f8acR7uVp7kZfhLRrHkfC/N4BVzAtnw9Yg8087mbBJ//qedwdwX0kzDbxgPccWRW6mFwGbRQIxy0pw==} + /lit@2.7.2: + resolution: {integrity: sha512-9QnZmG5mIKPRja96cpndMclLSi0Qrz2BXD6EbqNqCKMMjOWVm/BwAeXufFk2jqFsNmY07HOzU8X+8aTSVt3yrA==} dependencies: '@lit/reactive-element': 1.6.1 lit-element: 3.3.1 @@ -9963,13 +10040,13 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - lottie-web: 5.10.2 + lottie-web: 5.11.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /lottie-web@5.10.2: - resolution: {integrity: sha512-d0PFIGiwuMsJYaF4uPo+qG8dEorlI+xFI2zrrFtE1bGO4WoLIz+NjremxEq1swpR7juR10aeOtmNh3d6G3ub0A==} + /lottie-web@5.11.0: + resolution: {integrity: sha512-9vSt0AtdOH98GKDXwD5LPfFg9Pcmxt5+1BllAbudKM5iqPxpJnJUfuGaP45OyudDrESCOBgsjnntVUTygBNlzw==} dev: false /loupe@2.3.6: @@ -10042,37 +10119,41 @@ packages: safe-buffer: 5.2.1 dev: false - /mdast-util-definitions@5.1.1: - resolution: {integrity: sha512-rQ+Gv7mHttxHOBx2dkF4HWTg+EE+UR78ptQWDylzPKaQuVGdG4HIoY3SrS/pCp80nZ04greFvXbVFHT+uf0JVQ==} + /mdast-util-definitions@5.1.2: + resolution: {integrity: sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 '@types/unist': 2.0.6 unist-util-visit: 4.1.2 dev: false - /mdast-util-directive@2.2.2: - resolution: {integrity: sha512-6BuW4dFkCbTIf9peVMXdtWylI6ovMidVjnHyJpx7IDhwk3GosIgUs87Rl3x6T6kP5iAf1qIE3lMn6CgWw40d+g==} + /mdast-util-directive@2.2.4: + resolution: {integrity: sha512-sK3ojFP+jpj1n7Zo5ZKvoxP1MvLyzVG63+gm40Z/qI00avzdPCYxt7RBMgofwAva9gBjbDBWVRB/i+UD+fUCzQ==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 '@types/unist': 2.0.6 + mdast-util-from-markdown: 1.3.0 mdast-util-to-markdown: 1.5.0 - parse-entities: 4.0.0 + parse-entities: 4.0.1 stringify-entities: 4.0.3 - unist-util-visit-parents: 5.1.1 + unist-util-visit-parents: 5.1.3 + transitivePeerDependencies: + - supports-color dev: false - /mdast-util-find-and-replace@2.2.1: - resolution: {integrity: sha512-SobxkQXFAdd4b5WmEakmkVoh18icjQRxGy5OWTCzgsLRm1Fu/KCtwD1HIQSsmq5ZRjVH0Ehwg6/Fn3xIUk+nKw==} + /mdast-util-find-and-replace@2.2.2: + resolution: {integrity: sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw==} dependencies: + '@types/mdast': 3.0.11 escape-string-regexp: 5.0.0 - unist-util-is: 5.2.0 - unist-util-visit-parents: 5.1.1 + unist-util-is: 5.2.1 + unist-util-visit-parents: 5.1.3 dev: false - /mdast-util-from-markdown@1.2.0: - resolution: {integrity: sha512-iZJyyvKD1+K7QX1b5jXdE7Sc5dtoTry1vzV28UZZe8Z1xVnB/czKntJ7ZAkG0tANqRnBF6p3p7GpU1y19DTf2Q==} + /mdast-util-from-markdown@1.3.0: + resolution: {integrity: sha512-HN3W1gRIuN/ZW295c7zi7g9lVBllMgZE40RxCX37wrTPWXCWtpvOZdfnuK+1WNpvZje6XuJeI3Wnb4TJEUem+g==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 '@types/unist': 2.0.6 decode-named-character-reference: 1.0.2 mdast-util-to-string: 3.2.0 @@ -10082,110 +10163,111 @@ packages: micromark-util-normalize-identifier: 1.0.0 micromark-util-symbol: 1.0.1 micromark-util-types: 1.0.2 - unist-util-stringify-position: 3.0.2 + unist-util-stringify-position: 3.0.3 uvu: 0.5.6 transitivePeerDependencies: - supports-color dev: false - /mdast-util-frontmatter@1.0.0: - resolution: {integrity: sha512-7itKvp0arEVNpCktOET/eLFAYaZ+0cNjVtFtIPxgQ5tV+3i+D4SDDTjTzPWl44LT59PC+xdx+glNTawBdF98Mw==} + /mdast-util-frontmatter@1.0.1: + resolution: {integrity: sha512-JjA2OjxRqAa8wEG8hloD0uTU0kdn8kbtOWpPP94NBkfAlbxn4S8gCGf/9DwFtEeGPXrDcNXdiDjVaRdUFqYokw==} dependencies: - micromark-extension-frontmatter: 1.0.0 + '@types/mdast': 3.0.11 + mdast-util-to-markdown: 1.5.0 + micromark-extension-frontmatter: 1.1.0 dev: false - /mdast-util-gfm-autolink-literal@1.0.2: - resolution: {integrity: sha512-FzopkOd4xTTBeGXhXSBU0OCDDh5lUj2rd+HQqG92Ld+jL4lpUfgX2AT2OHAVP9aEeDKp7G92fuooSZcYJA3cRg==} + /mdast-util-gfm-autolink-literal@1.0.3: + resolution: {integrity: sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 ccount: 2.0.1 - mdast-util-find-and-replace: 2.2.1 + mdast-util-find-and-replace: 2.2.2 micromark-util-character: 1.1.0 dev: false - /mdast-util-gfm-footnote@1.0.1: - resolution: {integrity: sha512-p+PrYlkw9DeCRkTVw1duWqPRHX6Ywh2BNKJQcZbCwAuP/59B0Lk9kakuAd7KbQprVO4GzdW8eS5++A9PUSqIyw==} + /mdast-util-gfm-footnote@1.0.2: + resolution: {integrity: sha512-56D19KOGbE00uKVj3sgIykpwKL179QsVFwx/DCW0u/0+URsryacI4MAdNJl0dh+u2PSsD9FtxPFbHCzJ78qJFQ==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 mdast-util-to-markdown: 1.5.0 micromark-util-normalize-identifier: 1.0.0 dev: false - /mdast-util-gfm-strikethrough@1.0.2: - resolution: {integrity: sha512-T/4DVHXcujH6jx1yqpcAYYwd+z5lAYMw4Ls6yhTfbMMtCt0PHY4gEfhW9+lKsLBtyhUGKRIzcUA2FATVqnvPDA==} + /mdast-util-gfm-strikethrough@1.0.3: + resolution: {integrity: sha512-DAPhYzTYrRcXdMjUtUjKvW9z/FNAMTdU0ORyMcbmkwYNbKocDpdk+PX1L1dQgOID/+vVs1uBQ7ElrBQfZ0cuiQ==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 mdast-util-to-markdown: 1.5.0 dev: false - /mdast-util-gfm-table@1.0.6: - resolution: {integrity: sha512-uHR+fqFq3IvB3Rd4+kzXW8dmpxUhvgCQZep6KdjsLK4O6meK5dYZEayLtIxNus1XO3gfjfcIFe8a7L0HZRGgag==} + /mdast-util-gfm-table@1.0.7: + resolution: {integrity: sha512-jjcpmNnQvrmN5Vx7y7lEc2iIOEytYv7rTvu+MeyAsSHTASGCCRA79Igg2uKssgOs1i1po8s3plW0sTu1wkkLGg==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 markdown-table: 3.0.3 - mdast-util-from-markdown: 1.2.0 + mdast-util-from-markdown: 1.3.0 mdast-util-to-markdown: 1.5.0 transitivePeerDependencies: - supports-color dev: false - /mdast-util-gfm-task-list-item@1.0.1: - resolution: {integrity: sha512-KZ4KLmPdABXOsfnM6JHUIjxEvcx2ulk656Z/4Balw071/5qgnhz+H1uGtf2zIGnrnvDC8xR4Fj9uKbjAFGNIeA==} + /mdast-util-gfm-task-list-item@1.0.2: + resolution: {integrity: sha512-PFTA1gzfp1B1UaiJVyhJZA1rm0+Tzn690frc/L8vNX1Jop4STZgOE6bxUhnzdVSB+vm2GU1tIsuQcA9bxTQpMQ==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 mdast-util-to-markdown: 1.5.0 dev: false - /mdast-util-gfm@2.0.1: - resolution: {integrity: sha512-42yHBbfWIFisaAfV1eixlabbsa6q7vHeSPY+cg+BBjX51M8xhgMacqH9g6TftB/9+YkcI0ooV4ncfrJslzm/RQ==} + /mdast-util-gfm@2.0.2: + resolution: {integrity: sha512-qvZ608nBppZ4icQlhQQIAdc6S3Ffj9RGmzwUKUWuEICFnd1LVkN3EktF7ZHAgfcEdvZB5owU9tQgt99e2TlLjg==} dependencies: - mdast-util-from-markdown: 1.2.0 - mdast-util-gfm-autolink-literal: 1.0.2 - mdast-util-gfm-footnote: 1.0.1 - mdast-util-gfm-strikethrough: 1.0.2 - mdast-util-gfm-table: 1.0.6 - mdast-util-gfm-task-list-item: 1.0.1 + mdast-util-from-markdown: 1.3.0 + mdast-util-gfm-autolink-literal: 1.0.3 + mdast-util-gfm-footnote: 1.0.2 + mdast-util-gfm-strikethrough: 1.0.3 + mdast-util-gfm-table: 1.0.7 + mdast-util-gfm-task-list-item: 1.0.2 mdast-util-to-markdown: 1.5.0 transitivePeerDependencies: - supports-color dev: false - /mdast-util-math@2.0.1: - resolution: {integrity: sha512-ZZtjyRwobsiVg4bY0Q5CzAZztpbjRIA7ZlMMb0PNkwTXOnJTUoHvzBhVG95LIuek5Mlj1l2P+jBvWviqW7G+0A==} + /mdast-util-math@2.0.2: + resolution: {integrity: sha512-8gmkKVp9v6+Tgjtq6SYx9kGPpTf6FVYRa53/DLh479aldR9AyP48qeVOgNZ5X7QUK7nOy4yw7vg6mbiGcs9jWQ==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 longest-streak: 3.1.0 mdast-util-to-markdown: 1.5.0 dev: false - /mdast-util-phrasing@3.0.0: - resolution: {integrity: sha512-S+QYsDRLkGi8U7o5JF1agKa/sdP+CNGXXLqC17pdTVL8FHHgQEiwFGa9yE5aYtUxNiFGYoaDy9V1kC85Sz86Gg==} + /mdast-util-phrasing@3.0.1: + resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==} dependencies: - '@types/mdast': 3.0.10 - unist-util-is: 5.2.0 + '@types/mdast': 3.0.11 + unist-util-is: 5.2.1 dev: false - /mdast-util-to-hast@12.2.5: - resolution: {integrity: sha512-EFNhT35ZR/VZ85/EedDdCNTq0oFM+NM/+qBomVGQ0+Lcg0nhI8xIwmdCzNMlVlCJNXRprpobtKP/IUh8cfz6zQ==} + /mdast-util-to-hast@12.3.0: + resolution: {integrity: sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==} dependencies: '@types/hast': 2.3.4 - '@types/mdast': 3.0.10 - mdast-util-definitions: 5.1.1 + '@types/mdast': 3.0.11 + mdast-util-definitions: 5.1.2 micromark-util-sanitize-uri: 1.1.0 trim-lines: 3.0.1 - unist-builder: 3.0.1 - unist-util-generated: 2.0.0 - unist-util-position: 4.0.3 + unist-util-generated: 2.0.1 + unist-util-position: 4.0.4 unist-util-visit: 4.1.2 dev: false /mdast-util-to-markdown@1.5.0: resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 '@types/unist': 2.0.6 longest-streak: 3.1.0 - mdast-util-phrasing: 3.0.0 + mdast-util-phrasing: 3.0.1 mdast-util-to-string: 3.2.0 micromark-util-decode-string: 1.0.2 unist-util-visit: 4.1.2 @@ -10202,11 +10284,11 @@ packages: resolution: {integrity: sha512-Er21728Kow8hehecK2GZtb7Ny3omcoPUVrmObiSUwmoRYVZaXLR751QROEFjR8W/vAQdHMLj49Lz20J55XaNpw==} dependencies: '@types/extend': 3.0.1 - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 extend: 3.0.2 github-slugger: 2.0.0 mdast-util-to-string: 3.2.0 - unist-util-is: 5.2.0 + unist-util-is: 5.2.1 unist-util-visit: 4.1.2 dev: false @@ -10272,24 +10354,25 @@ packages: uvu: 0.5.6 dev: false - /micromark-extension-directive@2.1.2: - resolution: {integrity: sha512-brqLEztt14/73snVXYsq9Cv6ng67O+Sy69ZuM0s8ZhN/GFI9rnyXyj0Y0DaCwi648vCImv7/U1H5TzR7wMv5jw==} + /micromark-extension-directive@2.2.0: + resolution: {integrity: sha512-LWc2mGlJlPEcESz4IHNJR/tpJfWJEEFHGM+6vgCZGXkKMXc/y8rCKB07x5ZNnafIFe0/sjt6DIIihk78/Egj5Q==} dependencies: micromark-factory-space: 1.0.0 micromark-factory-whitespace: 1.0.0 micromark-util-character: 1.1.0 micromark-util-symbol: 1.0.1 micromark-util-types: 1.0.2 - parse-entities: 4.0.0 + parse-entities: 4.0.1 uvu: 0.5.6 dev: false - /micromark-extension-frontmatter@1.0.0: - resolution: {integrity: sha512-EXjmRnupoX6yYuUJSQhrQ9ggK0iQtQlpi6xeJzVD5xscyAI+giqco5fdymayZhJMbIFecjnE2yz85S9NzIgQpg==} + /micromark-extension-frontmatter@1.1.0: + resolution: {integrity: sha512-0nLelmvXR5aZ+F2IL6/Ed4cDnHLpL/VD/EELKuclsTWHrLI8UgxGHEmeoumeX2FXiM6z2WrBIOEcbKUZR8RYNg==} dependencies: fault: 2.0.1 micromark-util-character: 1.1.0 micromark-util-symbol: 1.0.1 + micromark-util-types: 1.0.2 dev: false /micromark-extension-gfm-autolink-literal@1.0.3: @@ -10302,8 +10385,8 @@ packages: uvu: 0.5.6 dev: false - /micromark-extension-gfm-footnote@1.0.4: - resolution: {integrity: sha512-E/fmPmDqLiMUP8mLJ8NbJWJ4bTw6tS+FEQS8CcuDtZpILuOb2kjLqPEeAePF1djXROHXChM/wPJw0iS4kHCcIg==} + /micromark-extension-gfm-footnote@1.1.0: + resolution: {integrity: sha512-RWYce7j8+c0n7Djzv5NzGEGitNNYO3uj+h/XYMdS/JinH1Go+/Qkomg/rfxExFzYTiydaV6GLeffGO5qcJbMPA==} dependencies: micromark-core-commonmark: 1.0.6 micromark-factory-space: 1.0.0 @@ -10315,8 +10398,8 @@ packages: uvu: 0.5.6 dev: false - /micromark-extension-gfm-strikethrough@1.0.4: - resolution: {integrity: sha512-/vjHU/lalmjZCT5xt7CcHVJGq8sYRm80z24qAKXzaHzem/xsDYb2yLL+NNVbYvmpLx3O7SYPuGL5pzusL9CLIQ==} + /micromark-extension-gfm-strikethrough@1.0.5: + resolution: {integrity: sha512-X0oI5eYYQVARhiNfbETy7BfLSmSilzN1eOuoRnrf9oUNsPRrWOAe9UqSizgw1vNxQBfOwL+n2610S3bYjVNi7w==} dependencies: micromark-util-chunked: 1.0.0 micromark-util-classify-character: 1.0.0 @@ -10336,14 +10419,14 @@ packages: uvu: 0.5.6 dev: false - /micromark-extension-gfm-tagfilter@1.0.1: - resolution: {integrity: sha512-Ty6psLAcAjboRa/UKUbbUcwjVAv5plxmpUTy2XC/3nJFL37eHej8jrHrRzkqcpipJliuBH30DTs7+3wqNcQUVA==} + /micromark-extension-gfm-tagfilter@1.0.2: + resolution: {integrity: sha512-5XWB9GbAUSHTn8VPU8/1DBXMuKYT5uOgEjJb8gN3mW0PNW5OPHpSdojoqf+iq1xo7vWzw/P8bAHY0n6ijpXF7g==} dependencies: micromark-util-types: 1.0.2 dev: false - /micromark-extension-gfm-task-list-item@1.0.3: - resolution: {integrity: sha512-PpysK2S1Q/5VXi72IIapbi/jliaiOFzv7THH4amwXeYXLq3l1uo8/2Be0Ac1rEwK20MQEsGH2ltAZLNY2KI/0Q==} + /micromark-extension-gfm-task-list-item@1.0.4: + resolution: {integrity: sha512-9XlIUUVnYXHsFF2HZ9jby4h3npfX10S1coXTnV035QGPgrtNYQq3J6IfIvcCIUAJrrqBVi5BqA/LmaOMJqPwMQ==} dependencies: micromark-factory-space: 1.0.0 micromark-util-character: 1.1.0 @@ -10356,20 +10439,20 @@ packages: resolution: {integrity: sha512-p2sGjajLa0iYiGQdT0oelahRYtMWvLjy8J9LOCxzIQsllMCGLbsLW+Nc+N4vi02jcRJvedVJ68cjelKIO6bpDA==} dependencies: micromark-extension-gfm-autolink-literal: 1.0.3 - micromark-extension-gfm-footnote: 1.0.4 - micromark-extension-gfm-strikethrough: 1.0.4 + micromark-extension-gfm-footnote: 1.1.0 + micromark-extension-gfm-strikethrough: 1.0.5 micromark-extension-gfm-table: 1.0.5 - micromark-extension-gfm-tagfilter: 1.0.1 - micromark-extension-gfm-task-list-item: 1.0.3 + micromark-extension-gfm-tagfilter: 1.0.2 + micromark-extension-gfm-task-list-item: 1.0.4 micromark-util-combine-extensions: 1.0.0 micromark-util-types: 1.0.2 dev: false - /micromark-extension-math@2.0.2: - resolution: {integrity: sha512-cFv2B/E4pFPBBFuGgLHkkNiFAIQv08iDgPH2HCuR2z3AUgMLecES5Cq7AVtwOtZeRrbA80QgMUk8VVW0Z+D2FA==} + /micromark-extension-math@2.1.0: + resolution: {integrity: sha512-WH+fJkveMvM3ZN+deb/jT3UW623x8xO9ycfJNDC+UQXX+V72RO6hT9KqxA7c8XFwozAFJ7tufOeG+x/CVSXHUw==} dependencies: - '@types/katex': 0.11.1 - katex: 0.13.24 + '@types/katex': 0.16.0 + katex: 0.16.4 micromark-factory-space: 1.0.0 micromark-util-character: 1.1.0 micromark-util-symbol: 1.0.1 @@ -10608,11 +10691,9 @@ packages: dev: false optional: true - /minipass@4.0.0: - resolution: {integrity: sha512-g2Uuh2jEKoht+zvO6vJqXmYpflPqzRBT+Th2h01DKh5z7wbY/AZ2gCQ78cP70YoHPyFdY30YBV5WxgLOEwOykw==} + /minipass@4.2.8: + resolution: {integrity: sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==} engines: {node: '>=8'} - dependencies: - yallist: 4.0.0 dev: false optional: true @@ -10790,7 +10871,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 '@types/hoist-non-react-statics': 3.3.1 - core-js: 3.29.1 + core-js: 3.30.1 hoist-non-react-statics: 3.3.2 i18next: 22.4.14 i18next-fs-backend: 2.1.1 @@ -10808,7 +10889,7 @@ packages: clean-webpack-plugin: 4.0.0(webpack@5.79.0) globby: 11.1.0 next: 13.2.4(@babel/core@7.21.4)(react-dom@18.2.0)(react@18.2.0) - terser-webpack-plugin: 5.3.6(esbuild@0.17.16)(webpack@5.79.0) + terser-webpack-plugin: 5.3.7(esbuild@0.17.16)(webpack@5.79.0) workbox-webpack-plugin: 6.5.4(webpack@5.79.0) workbox-window: 6.5.4 transitivePeerDependencies: @@ -10848,7 +10929,7 @@ packages: dependencies: '@next/env': 13.2.4 '@swc/helpers': 0.4.14 - caniuse-lite: 1.0.30001478 + caniuse-lite: 1.0.30001480 postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -10884,8 +10965,8 @@ packages: react: 18.2.0 dev: false - /node-abi@3.33.0: - resolution: {integrity: sha512-7GGVawqyHF4pfd0YFybhv/eM9JwTtPqx0mAanQ146O3FlSh3pA24zf9IRQTOsfTSqXTNzPSP5iagAJ94jjuVog==} + /node-abi@3.35.0: + resolution: {integrity: sha512-jAlSOFR1Bls963NmFwxeQkNTzqjUF0NThm8Le7eRIRGzFUVJuMOFZDLv5Y30W/Oaw+KEebEJLAigwO9gQHoEmw==} engines: {node: '>=10'} dependencies: semver: 7.4.0 @@ -11257,19 +11338,6 @@ packages: callsites: 3.1.0 dev: true - /parse-entities@4.0.0: - resolution: {integrity: sha512-5nk9Fn03x3rEhGaX1FU6IDwG/k+GxLXlFAkgrbM1asuAFl3BhdQWvASaIsmwWypRNcZKHPYnIuOSfIWEyEQnPQ==} - dependencies: - '@types/unist': 2.0.6 - character-entities: 2.0.2 - character-entities-legacy: 3.0.0 - character-reference-invalid: 2.0.1 - decode-named-character-reference: 1.0.2 - is-alphanumerical: 2.0.1 - is-decimal: 2.0.1 - is-hexadecimal: 2.0.1 - dev: false - /parse-entities@4.0.1: resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==} dependencies: @@ -11471,39 +11539,39 @@ packages: resolution: {integrity: sha512-WcntiTmj4ERPwaevHeR59Lc6yk37YVwksflBaCu7/J2ChjPA02J703rZMVq4gnoa+XHFHqpjK+qSc8Fv6N62EA==} dev: false - /postcss-import@14.1.0(postcss@8.4.21): + /postcss-import@14.1.0(postcss@8.4.22): resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==} engines: {node: '>=10.0.0'} peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.21 + postcss: 8.4.22 postcss-value-parser: 4.2.0 read-cache: 1.0.0 - resolve: 1.22.1 + resolve: 1.22.3 - /postcss-import@15.1.0(postcss@8.4.21): + /postcss-import@15.1.0(postcss@8.4.22): resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} engines: {node: '>=14.0.0'} peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.21 + postcss: 8.4.22 postcss-value-parser: 4.2.0 read-cache: 1.0.0 - resolve: 1.22.1 + resolve: 1.22.3 dev: true - /postcss-js@4.0.1(postcss@8.4.21): + /postcss-js@4.0.1(postcss@8.4.22): resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} engines: {node: ^12 || ^14 || >= 16} peerDependencies: postcss: ^8.4.21 dependencies: camelcase-css: 2.0.1 - postcss: 8.4.21 + postcss: 8.4.22 - /postcss-load-config@3.1.4(postcss@8.4.21): + /postcss-load-config@3.1.4(postcss@8.4.22): resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} engines: {node: '>= 10'} peerDependencies: @@ -11516,16 +11584,16 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - postcss: 8.4.21 + postcss: 8.4.22 yaml: 1.10.2 - /postcss-nested@6.0.0(postcss@8.4.21): + /postcss-nested@6.0.0(postcss@8.4.22): resolution: {integrity: sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 dependencies: - postcss: 8.4.21 + postcss: 8.4.22 postcss-selector-parser: 6.0.11 /postcss-selector-parser@6.0.11: @@ -11546,8 +11614,8 @@ packages: picocolors: 1.0.0 source-map-js: 1.0.2 - /postcss@8.4.21: - resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==} + /postcss@8.4.22: + resolution: {integrity: sha512-XseknLAfRHzVWjCEtdviapiBtfLdgyzExD50Rg2ePaucEesyh8Wv4VPdW0nbyDa1ydbrAxV19jvMT4+LFmcNUA==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.6 @@ -11569,7 +11637,7 @@ packages: minimist: 1.2.8 mkdirp-classic: 0.5.3 napi-build-utils: 1.0.2 - node-abi: 3.33.0 + node-abi: 3.35.0 pump: 3.0.0 rc: 1.2.8 simple-get: 4.0.1 @@ -11656,8 +11724,8 @@ packages: once: 1.4.0 dev: false - /punycode@2.2.0: - resolution: {integrity: sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==} + /punycode@2.3.0: + resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} dev: true @@ -11666,7 +11734,7 @@ packages: engines: {node: '>=10.13.0'} hasBin: true dependencies: - dijkstrajs: 1.0.2 + dijkstrajs: 1.0.3 encode-utf8: 1.0.3 pngjs: 5.0.0 yargs: 15.4.1 @@ -11786,7 +11854,7 @@ packages: react: '>=16' react-dom: '>=16' dependencies: - goober: 2.1.11(csstype@3.1.2) + goober: 2.1.12(csstype@3.1.2) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: @@ -11837,8 +11905,8 @@ packages: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} dev: true - /react-parallax-tilt@1.7.128(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-JsKdSlicpg8iyKS9nB49kZz7Bj3iznTBH72/fyDA9b3DewraQbUnuyNOieL6H4czu3BPtuM2thaLkpR07bDjng==} + /react-parallax-tilt@1.7.129(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-Re0c6VAExDfCEbnad3XJnYQCbRLXg7q13UCQS56vyq1RHeTcEXDY2uotCz4uYVXGqSSVZJvvNK8LInq0FqYDuw==} peerDependencies: react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 @@ -12004,24 +12072,6 @@ packages: dependencies: pify: 2.3.0 - /readable-stream@3.6.0: - resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==} - engines: {node: '>= 6'} - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - dev: false - - /readable-stream@3.6.1: - resolution: {integrity: sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==} - engines: {node: '>= 6'} - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - dev: false - /readable-stream@3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} @@ -12092,22 +12142,18 @@ packages: functions-have-names: 1.2.3 dev: true - /regexpu-core@5.2.2: - resolution: {integrity: sha512-T0+1Zp2wjF/juXMrMxHxidqGYn8U4R+zleSJhX9tQ1PUsS8a9UtYfbsF9LdiVgNX3kiX8RNaKM42nfSgvFJjmw==} + /regexpu-core@5.3.2: + resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} engines: {node: '>=4'} dependencies: + '@babel/regjsgen': 0.8.0 regenerate: 1.4.2 regenerate-unicode-properties: 10.1.0 - regjsgen: 0.7.1 regjsparser: 0.9.1 unicode-match-property-ecmascript: 2.0.0 unicode-match-property-value-ecmascript: 2.1.0 dev: true - /regjsgen@0.7.1: - resolution: {integrity: sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA==} - dev: true - /regjsparser@0.9.1: resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} hasBin: true @@ -12132,11 +12178,11 @@ packages: dependencies: '@types/hast': 2.3.4 hast-util-excerpt: 1.0.2 - hast-util-select: 5.0.4 + hast-util-select: 5.0.5 hast-util-to-text: 3.1.2 hast-util-truncate: 1.0.2 unified: 10.1.2 - unist-util-remove-position: 4.0.1 + unist-util-remove-position: 4.0.2 dev: false /rehype-katex@6.0.2: @@ -12148,7 +12194,7 @@ packages: katex: 0.15.6 rehype-parse: 8.0.4 unified: 10.1.2 - unist-util-remove-position: 4.0.1 + unist-util-remove-position: 4.0.2 unist-util-visit: 4.1.2 dev: false @@ -12156,7 +12202,7 @@ packages: resolution: {integrity: sha512-MJJKONunHjoTh4kc3dsM1v3C9kGrrxvA3U8PxZlP2SjH8RNUSrb+lF7Y0KVaUDnGH2QZ5vAn7ulkiajM9ifuqg==} dependencies: '@types/hast': 2.3.4 - hast-util-from-parse5: 7.1.1 + hast-util-from-parse5: 7.1.2 parse5: 6.0.1 unified: 10.1.2 dev: false @@ -12197,7 +12243,7 @@ packages: resolution: {integrity: sha512-REDTNCvsKcAazy8IQWzKp66AhSUDSOIKssSCqNqCcT9sN7JCwAAm3mWGTUdUzq80ABuy8d0D6RBwbnewu1aY1g==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: - hast-util-select: 5.0.4 + hast-util-select: 5.0.5 unified: 10.1.2 unist-util-visit: 4.1.2 dev: false @@ -12233,7 +12279,7 @@ packages: /remark-breaks@3.0.2: resolution: {integrity: sha512-x96YDJ9X+Ry0/JNZFKfr1hpcAKvGYWfUTszxY9RbxKEqq6uzPPoLCuHdZsLPZZUdAv3nCROyc7FPrQLWr2rxyw==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 unified: 10.1.2 unist-util-visit: 4.1.2 dev: false @@ -12243,32 +12289,34 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: hastscript: 7.2.0 - unist-util-map: 3.1.2 + unist-util-map: 3.1.3 dev: false /remark-directive@2.0.1: resolution: {integrity: sha512-oosbsUAkU/qmUE78anLaJePnPis4ihsE7Agp0T/oqTzvTea8pOiaYEtfInU/+xMOVTS9PN5AhGOiaIVe4GD8gw==} dependencies: - '@types/mdast': 3.0.10 - mdast-util-directive: 2.2.2 - micromark-extension-directive: 2.1.2 + '@types/mdast': 3.0.11 + mdast-util-directive: 2.2.4 + micromark-extension-directive: 2.2.0 unified: 10.1.2 + transitivePeerDependencies: + - supports-color dev: false /remark-frontmatter@4.0.1: resolution: {integrity: sha512-38fJrB0KnmD3E33a5jZC/5+gGAC2WKNiPw1/fdXJvijBlhA7RCsvJklrYJakS0HedninvaCYW8lQGf9C918GfA==} dependencies: - '@types/mdast': 3.0.10 - mdast-util-frontmatter: 1.0.0 - micromark-extension-frontmatter: 1.0.0 + '@types/mdast': 3.0.11 + mdast-util-frontmatter: 1.0.1 + micromark-extension-frontmatter: 1.1.0 unified: 10.1.2 dev: false /remark-gfm@3.0.1: resolution: {integrity: sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==} dependencies: - '@types/mdast': 3.0.10 - mdast-util-gfm: 2.0.1 + '@types/mdast': 3.0.11 + mdast-util-gfm: 2.0.2 micromark-extension-gfm: 2.0.1 unified: 10.1.2 transitivePeerDependencies: @@ -12278,17 +12326,17 @@ packages: /remark-math@5.1.1: resolution: {integrity: sha512-cE5T2R/xLVtfFI4cCePtiRn+e6jKMtFDR3P8V3qpv8wpKjwvHoBA4eJzvX+nVrnlNy0911bdGmuspCSwetfYHw==} dependencies: - '@types/mdast': 3.0.10 - mdast-util-math: 2.0.1 - micromark-extension-math: 2.0.2 + '@types/mdast': 3.0.11 + mdast-util-math: 2.0.2 + micromark-extension-math: 2.1.0 unified: 10.1.2 dev: false /remark-parse@10.0.1: resolution: {integrity: sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw==} dependencies: - '@types/mdast': 3.0.10 - mdast-util-from-markdown: 1.2.0 + '@types/mdast': 3.0.11 + mdast-util-from-markdown: 1.3.0 unified: 10.1.2 transitivePeerDependencies: - supports-color @@ -12298,15 +12346,15 @@ packages: resolution: {integrity: sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==} dependencies: '@types/hast': 2.3.4 - '@types/mdast': 3.0.10 - mdast-util-to-hast: 12.2.5 + '@types/mdast': 3.0.11 + mdast-util-to-hast: 12.3.0 unified: 10.1.2 dev: false /remark-stringify@10.0.2: resolution: {integrity: sha512-6wV3pvbPvHkbNnWB0wdDvVFHOe1hBRAx1Q/5g/EpH4RppAII6J8Gnwe7VbHuXaoKIF6LAg6ExTel/+kNqSQ7lw==} dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.11 mdast-util-to-markdown: 1.5.0 unified: 10.1.2 dev: false @@ -12349,22 +12397,6 @@ packages: global-dirs: 0.1.1 dev: true - /resolve@1.22.1: - resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} - hasBin: true - dependencies: - is-core-module: 2.11.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - - /resolve@1.22.2: - resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} - hasBin: true - dependencies: - is-core-module: 2.11.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - /resolve@1.22.3: resolution: {integrity: sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==} hasBin: true @@ -12372,13 +12404,12 @@ packages: is-core-module: 2.12.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - dev: false /resolve@2.0.0-next.4: resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} hasBin: true dependencies: - is-core-module: 2.11.0 + is-core-module: 2.12.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true @@ -12445,7 +12476,7 @@ packages: jest-worker: 26.6.2 rollup: 2.79.1 serialize-javascript: 4.0.0 - terser: 5.16.1 + terser: 5.16.9 dev: true /rollup@2.79.1: @@ -12456,8 +12487,8 @@ packages: fsevents: 2.3.2 dev: true - /rollup@3.20.2: - resolution: {integrity: sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==} + /rollup@3.20.4: + resolution: {integrity: sha512-n7J4tuctZXUErM9Uc916httwqmTc63zzCr2+TLCiSCpfO/Xuk3g/marGN1IlRJZi+QF3XMYx75PxXRfZDVgaRw==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -12553,8 +12584,8 @@ packages: ajv-keywords: 3.5.2(ajv@6.12.6) dev: true - /schema-utils@3.1.1: - resolution: {integrity: sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==} + /schema-utils@3.1.2: + resolution: {integrity: sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==} engines: {node: '>= 10.13.0'} dependencies: '@types/json-schema': 7.0.11 @@ -12562,8 +12593,8 @@ packages: ajv-keywords: 3.5.2(ajv@6.12.6) dev: true - /schema-utils@4.0.0: - resolution: {integrity: sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==} + /schema-utils@4.0.1: + resolution: {integrity: sha512-lELhBAAly9NowEsX0yZBlw9ahZG+sK/1RJ21EpzdYHKEs13Vku3LJ+MIPhh4sMs0oCCeufZQEQbMekiA4vuVIQ==} engines: {node: '>= 12.13.0'} dependencies: '@types/json-schema': 7.0.11 @@ -12598,14 +12629,6 @@ packages: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} hasBin: true - /semver@7.3.8: - resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: false - /semver@7.4.0: resolution: {integrity: sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==} engines: {node: '>=10'} @@ -12613,8 +12636,8 @@ packages: dependencies: lru-cache: 6.0.0 - /sentence-splitter@3.2.2: - resolution: {integrity: sha512-hMvaodgK9Fay928uiQoTMEWjXpCERdKD2uKo7BbSyP+uWTo+wHiRjN+ZShyI99rW0VuoV4Cuw8FUmaRcnpN7Ug==} + /sentence-splitter@3.2.3: + resolution: {integrity: sha512-eDqaz4MasTn6Mp3dagKzIbiNsJpgpueMEQqCJeN9F9XQRFLDGFJ0kX8R3uMp+mU7J58dWjr4q6eks/nUX/vnJQ==} hasBin: true dependencies: '@textlint/ast-node-types': 4.4.3 @@ -12633,6 +12656,7 @@ packages: resolution: {integrity: sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==} dependencies: randombytes: 2.1.0 + dev: false /serialize-javascript@6.0.1: resolution: {integrity: sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==} @@ -12665,7 +12689,7 @@ packages: detect-libc: 2.0.1 node-addon-api: 6.0.0 prebuild-install: 7.1.1 - semver: 7.3.8 + semver: 7.4.0 simple-get: 4.0.1 tar-fs: 2.1.1 tunnel-agent: 0.6.0 @@ -12994,7 +13018,7 @@ packages: dev: true /strip-hex-prefix@1.0.0: - resolution: {integrity: sha1-DF8VX+8RUTczd96du1iNoFUA428=} + resolution: {integrity: sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==} engines: {node: '>=6.5.0', npm: '>=3'} dependencies: is-hex-prefixed: 1.0.0 @@ -13025,12 +13049,8 @@ packages: boundary: 1.0.1 dev: false - /style-mod@4.0.0: - resolution: {integrity: sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==} - dev: false - - /style-mod@4.0.2: - resolution: {integrity: sha512-C4myMmRTO8iaC5Gg+N1ftK2WT4eXUTMAa+HEFPPrfVeO/NtqLTtAmV1HbqnuGtLwCek44Ra76fdGUkSqjiMPcQ==} + /style-mod@4.0.3: + resolution: {integrity: sha512-78Jv8kYJdjbvRwwijtCevYADfsI0lGzYJe4mMFdceO8l75DFFDoqBhR1jVDicDRRaX4//g1u9wKeo+ztc2h1Rw==} dev: false /style-to-object@0.4.1: @@ -13060,11 +13080,12 @@ packages: resolution: {integrity: sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA==} dev: false - /sucrase@3.31.0: - resolution: {integrity: sha512-6QsHnkqyVEzYcaiHsOKkzOtOgdJcb8i54x6AV2hDwyZcY9ZyykGZVw6L/YN98xC0evwTP6utsWWrKRaa8QlfEQ==} + /sucrase@3.32.0: + resolution: {integrity: sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==} engines: {node: '>=8'} hasBin: true dependencies: + '@jridgewell/gen-mapping': 0.3.3 commander: 4.1.1 glob: 7.1.6 lines-and-columns: 1.2.4 @@ -13130,10 +13151,10 @@ packages: peerDependencies: tailwindcss: '>=3.0.0 || insiders' dependencies: - tailwindcss: 3.3.1(postcss@8.4.21) + tailwindcss: 3.3.1(postcss@8.4.22) dev: false - /tailwindcss@3.3.1(postcss@8.4.21): + /tailwindcss@3.3.1(postcss@8.4.22): resolution: {integrity: sha512-Vkiouc41d4CEq0ujXl6oiGFQ7bA3WEhUZdTgXAhtKxSy49OmKs8rEfQmupsfF0IGW8fv2iQkp1EVUuapCFrZ9g==} engines: {node: '>=12.13.0'} hasBin: true @@ -13154,16 +13175,16 @@ packages: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.0 - postcss: 8.4.21 - postcss-import: 14.1.0(postcss@8.4.21) - postcss-js: 4.0.1(postcss@8.4.21) - postcss-load-config: 3.1.4(postcss@8.4.21) - postcss-nested: 6.0.0(postcss@8.4.21) + postcss: 8.4.22 + postcss-import: 14.1.0(postcss@8.4.22) + postcss-js: 4.0.1(postcss@8.4.22) + postcss-load-config: 3.1.4(postcss@8.4.22) + postcss-nested: 6.0.0(postcss@8.4.22) postcss-selector-parser: 6.0.11 postcss-value-parser: 4.2.0 quick-lru: 5.1.1 - resolve: 1.22.1 - sucrase: 3.31.0 + resolve: 1.22.3 + sucrase: 3.32.0 transitivePeerDependencies: - ts-node @@ -13198,7 +13219,7 @@ packages: dependencies: chownr: 2.0.0 fs-minipass: 2.1.0 - minipass: 4.0.0 + minipass: 4.2.8 minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 @@ -13220,31 +13241,6 @@ packages: unique-string: 2.0.0 dev: true - /terser-webpack-plugin@5.3.6(esbuild@0.17.16)(webpack@5.79.0): - resolution: {integrity: sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==} - engines: {node: '>= 10.13.0'} - peerDependencies: - '@swc/core': '*' - esbuild: '*' - uglify-js: '*' - webpack: ^5.1.0 - peerDependenciesMeta: - '@swc/core': - optional: true - esbuild: - optional: true - uglify-js: - optional: true - dependencies: - '@jridgewell/trace-mapping': 0.3.17 - esbuild: 0.17.16 - jest-worker: 27.5.1 - schema-utils: 3.1.1 - serialize-javascript: 6.0.0 - terser: 5.16.1 - webpack: 5.79.0(esbuild@0.17.16) - dev: true - /terser-webpack-plugin@5.3.7(esbuild@0.17.16)(webpack@5.79.0): resolution: {integrity: sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==} engines: {node: '>= 10.13.0'} @@ -13264,29 +13260,18 @@ packages: '@jridgewell/trace-mapping': 0.3.18 esbuild: 0.17.16 jest-worker: 27.5.1 - schema-utils: 3.1.1 + schema-utils: 3.1.2 serialize-javascript: 6.0.1 terser: 5.16.9 webpack: 5.79.0(esbuild@0.17.16) dev: true - /terser@5.16.1: - resolution: {integrity: sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw==} - engines: {node: '>=10'} - hasBin: true - dependencies: - '@jridgewell/source-map': 0.3.2 - acorn: 8.8.1 - commander: 2.20.3 - source-map-support: 0.5.21 - dev: true - /terser@5.16.9: resolution: {integrity: sha512-HPa/FdTB9XGI2H1/keLFZHxl6WNvAI4YalHGtDQTlMnJcoqSab1UwL4l1hGEhs6/GmLHBZIg/YgB++jcbzoOEg==} engines: {node: '>=10'} hasBin: true dependencies: - '@jridgewell/source-map': 0.3.2 + '@jridgewell/source-map': 0.3.3 acorn: 8.8.2 commander: 2.20.3 source-map-support: 0.5.21 @@ -13380,7 +13365,7 @@ packages: /tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} dependencies: - punycode: 2.2.0 + punycode: 2.3.0 dev: true /trim-left@1.0.1: @@ -13599,7 +13584,7 @@ packages: /unidata.js@0.7.18: resolution: {integrity: sha512-MPwYVkRdJApMSs+xY9umfJk5e0EVvPCCjYEytduvhrUoH73rHLImNNBdlXiMzvDhUp3CqHKyzLMdmIEwL/LJ/Q==} dependencies: - '@types/lodash': 4.14.192 + '@types/lodash': 4.14.194 '@urql/core': 4.0.4(graphql@16.6.0) axios: 1.3.5 axios-retry: 3.4.0 @@ -13625,7 +13610,7 @@ packages: is-buffer: 2.0.5 is-plain-obj: 4.1.0 trough: 2.1.0 - vfile: 5.3.6 + vfile: 5.3.7 dev: false /unique-string@2.0.0: @@ -13645,54 +13630,52 @@ packages: resolution: {integrity: sha512-RynicUM/vbOSTSiUK+BnaK9XMfmQUh6gyi7L6taNgc7FIf84GukXVV3ucGzEN/PhUUkdP5hb1MmXc+3cvPUm5Q==} dependencies: '@types/unist': 2.0.6 - unist-util-is: 5.2.0 + unist-util-is: 5.2.1 unist-util-visit-parents: 5.1.3 dev: false - /unist-util-find-after@4.0.0: - resolution: {integrity: sha512-gfpsxKQde7atVF30n5Gff2fQhAc4/HTOV4CvkXpTg9wRfQhZWdXitpyXHWB6YcYgnsxLx+4gGHeVjCTAAp9sjw==} + /unist-util-find-after@4.0.1: + resolution: {integrity: sha512-QO/PuPMm2ERxC6vFXEPtmAutOopy5PknD+Oq64gGwxKtk4xwo9Z97t9Av1obPmGU0IyTa6EKYUfTrK2QJS3Ozw==} dependencies: '@types/unist': 2.0.6 - unist-util-is: 5.2.0 + unist-util-is: 5.2.1 dev: false - /unist-util-generated@2.0.0: - resolution: {integrity: sha512-TiWE6DVtVe7Ye2QxOVW9kqybs6cZexNwTwSMVgkfjEReqy/xwGpAXb99OxktoWwmL+Z+Epb0Dn8/GNDYP1wnUw==} + /unist-util-generated@2.0.1: + resolution: {integrity: sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A==} dev: false /unist-util-is@3.0.0: resolution: {integrity: sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==} dev: false - /unist-util-is@5.1.1: - resolution: {integrity: sha512-F5CZ68eYzuSvJjGhCLPL3cYx45IxkqXSetCcRgUXtbcm50X2L9oOWQlfUfDdAf+6Pd27YDblBfdtmsThXmwpbQ==} - dev: false - - /unist-util-is@5.2.0: - resolution: {integrity: sha512-Glt17jWwZeyqrFqOK0pF1Ded5U3yzJnFr8CG1GMjCWTp9zDo2p+cmD6pWbZU8AgM5WU3IzRv6+rBwhzsGh6hBQ==} - dev: false - - /unist-util-map@3.1.2: - resolution: {integrity: sha512-WLA2R6x/UaopedG2poaWLShf5LCi+BNa6mMkACdjft23PHou4v85PvZItjbO2XgXvukMP365PlL/DrbuMgr3eg==} + /unist-util-is@5.2.1: + resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==} dependencies: '@types/unist': 2.0.6 dev: false - /unist-util-position@4.0.3: - resolution: {integrity: sha512-p/5EMGIa1qwbXjA+QgcBXaPWjSnZfQ2Sc3yBEEfgPwsEmJd8Qh+DSk3LGnmOM4S1bY2C0AjmMnB8RuEYxpPwXQ==} + /unist-util-map@3.1.3: + resolution: {integrity: sha512-4/mDauoxqZ6geK97lJ6n2kDk6JK88Vh+hWMSJqyaaP/7eqN1dDhjcjnNxKNm3YU6Sw7PVJtcFMUbnmHvYzb6Vg==} dependencies: '@types/unist': 2.0.6 dev: false - /unist-util-remove-position@4.0.1: - resolution: {integrity: sha512-0yDkppiIhDlPrfHELgB+NLQD5mfjup3a8UYclHruTJWmY74je8g+CIFr79x5f6AkmzSwlvKLbs63hC0meOMowQ==} + /unist-util-position@4.0.4: + resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==} + dependencies: + '@types/unist': 2.0.6 + dev: false + + /unist-util-remove-position@4.0.2: + resolution: {integrity: sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ==} dependencies: '@types/unist': 2.0.6 unist-util-visit: 4.1.2 dev: false - /unist-util-stringify-position@3.0.2: - resolution: {integrity: sha512-7A6eiDCs9UtjcwZOcCpM4aPII3bAAGv13E96IkawkOAW0OhH+yRxtY0lzo8KiHpzEMfH7Q+FizUmwp8Iqy5EWg==} + /unist-util-stringify-position@3.0.3: + resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} dependencies: '@types/unist': 2.0.6 dev: false @@ -13703,18 +13686,11 @@ packages: unist-util-is: 3.0.0 dev: false - /unist-util-visit-parents@5.1.1: - resolution: {integrity: sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==} - dependencies: - '@types/unist': 2.0.6 - unist-util-is: 5.1.1 - dev: false - /unist-util-visit-parents@5.1.3: resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==} dependencies: '@types/unist': 2.0.6 - unist-util-is: 5.2.0 + unist-util-is: 5.2.1 dev: false /unist-util-visit@1.4.1: @@ -13727,7 +13703,7 @@ packages: resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} dependencies: '@types/unist': 2.0.6 - unist-util-is: 5.2.0 + unist-util-is: 5.2.1 unist-util-visit-parents: 5.1.3 dev: false @@ -13736,7 +13712,7 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss@0.51.4(postcss@8.4.21)(rollup@2.79.1)(vite@4.2.1): + /unocss@0.51.4(postcss@8.4.22)(rollup@2.79.1)(vite@4.2.1): resolution: {integrity: sha512-84kRoL29Rk0AKdeS2GGZ+YduW5F0S2on3cSxA2Hh1KlI4MN8Xvxa8+f4RfFS0U5iH4yoHohvcWThRgjDhOWSeg==} engines: {node: '>=14'} peerDependencies: @@ -13749,7 +13725,7 @@ packages: '@unocss/cli': 0.51.4(rollup@2.79.1) '@unocss/core': 0.51.4 '@unocss/extractor-arbitrary-variants': 0.51.4 - '@unocss/postcss': 0.51.4(postcss@8.4.21) + '@unocss/postcss': 0.51.4(postcss@8.4.22) '@unocss/preset-attributify': 0.51.4 '@unocss/preset-icons': 0.51.4 '@unocss/preset-mini': 0.51.4 @@ -13777,8 +13753,8 @@ packages: engines: {node: '>=4'} dev: true - /update-browserslist-db@1.0.10(browserslist@4.21.5): - resolution: {integrity: sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==} + /update-browserslist-db@1.0.11(browserslist@4.21.5): + resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' @@ -13790,7 +13766,7 @@ packages: /uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: - punycode: 2.2.0 + punycode: 2.3.0 dev: true /use-callback-ref@1.3.0(@types/react@18.0.35)(react@18.2.0): @@ -13929,8 +13905,8 @@ packages: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} dev: false - /valtio@1.10.3(react@18.2.0): - resolution: {integrity: sha512-t3Ez/+baJ+Z5tIyeaI6nCAbW/hrmcq2jditwg/X++o5IvCdiGirQKTOv1kJq0glgUo13v5oABCVGcinggBfiKw==} + /valtio@1.10.4(react@18.2.0): + resolution: {integrity: sha512-gqGWh0DjtDMAy8Jaui8ufFoxlQB1k1NiA/QHrpKoTUk9EeY331WKeYhvtGn1u703RcefrDCez7PT+qeCu9lWEw==} engines: {node: '>=12.20.0'} peerDependencies: react: '>=16.8' @@ -13943,27 +13919,27 @@ packages: use-sync-external-store: 1.2.0(react@18.2.0) dev: false - /vfile-location@4.0.1: - resolution: {integrity: sha512-JDxPlTbZrZCQXogGheBHjbRWjESSPEak770XwWPfw5mTc1v1nWGLB/apzZxsx8a0SJVfF8HK8ql8RD308vXRUw==} + /vfile-location@4.1.0: + resolution: {integrity: sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==} dependencies: '@types/unist': 2.0.6 - vfile: 5.3.6 + vfile: 5.3.7 dev: false - /vfile-message@3.1.3: - resolution: {integrity: sha512-0yaU+rj2gKAyEk12ffdSbBfjnnj+b1zqTBv3OQCTn8yEB02bsPizwdBPrLJjHnK+cU9EMMcUnNv938XcZIkmdA==} + /vfile-message@3.1.4: + resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==} dependencies: '@types/unist': 2.0.6 - unist-util-stringify-position: 3.0.2 + unist-util-stringify-position: 3.0.3 dev: false - /vfile@5.3.6: - resolution: {integrity: sha512-ADBsmerdGBs2WYckrLBEmuETSPyTD4TuLxTrw0DvjirxW1ra4ZwkbzG8ndsv3Q57smvHxo677MHaQrY9yxH8cA==} + /vfile@5.3.7: + resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} dependencies: '@types/unist': 2.0.6 is-buffer: 2.0.5 - unist-util-stringify-position: 3.0.2 - vfile-message: 3.1.3 + unist-util-stringify-position: 3.0.3 + vfile-message: 3.1.4 dev: false /vite-node@0.30.1(@types/node@18.15.11): @@ -14014,9 +13990,9 @@ packages: dependencies: '@types/node': 18.15.11 esbuild: 0.17.16 - postcss: 8.4.21 - resolve: 1.22.2 - rollup: 3.20.2 + postcss: 8.4.22 + resolve: 1.22.3 + rollup: 3.20.4 optionalDependencies: fsevents: 2.3.2 dev: true @@ -14270,7 +14246,7 @@ packages: loader-runner: 4.3.0 mime-types: 2.1.35 neo-async: 2.6.2 - schema-utils: 3.1.1 + schema-utils: 3.1.2 tapable: 2.2.1 terser-webpack-plugin: 5.3.7(esbuild@0.17.16)(webpack@5.79.0) watchpack: 2.4.0 @@ -14400,7 +14376,7 @@ packages: dependencies: '@apideck/better-ajv-errors': 0.3.6(ajv@8.12.0) '@babel/core': 7.21.4 - '@babel/preset-env': 7.20.2(@babel/core@7.21.4) + '@babel/preset-env': 7.21.4(@babel/core@7.21.4) '@babel/runtime': 7.21.0 '@rollup/plugin-babel': 5.3.1(@babel/core@7.21.4)(rollup@2.79.1) '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1) @@ -14540,7 +14516,7 @@ packages: /workbox-window@6.5.4: resolution: {integrity: sha512-HnLZJDwYBE+hpG25AQBO8RUWBJRaCsI9ksQJEp3aCOFCaG5kqaToAYXFRAHxzRluM2cQbGzdQF5rjKPWPA1fug==} dependencies: - '@types/trusted-types': 2.0.2 + '@types/trusted-types': 2.0.3 workbox-core: 6.5.4 dev: true diff --git a/src/components/dashboard/DashboardLayout.tsx b/src/components/dashboard/DashboardLayout.tsx index 17f31410..fee24ae4 100644 --- a/src/components/dashboard/DashboardLayout.tsx +++ b/src/components/dashboard/DashboardLayout.tsx @@ -23,7 +23,7 @@ import { Logo } from "~/components/common/Logo" import { getStorage } from "~/lib/storage" import { useGetPagesBySite } from "~/queries/page" import { DashboardTopbar } from "./DashboardTopbar" -import { useMobileLayout } from "~/hooks/useMobileLayout" +import { useIsMobileLayout } from "~/hooks/useMobileLayout" export function DashboardLayout({ children, @@ -47,7 +47,7 @@ export function DashboardLayout({ const [hasPermission, setHasPermission] = React.useState(false) const { t } = useTranslation("dashboard") - const isMobileLayout = useMobileLayout() + const isMobileLayout = useIsMobileLayout() useEffect(() => { if (ssrReady) { diff --git a/src/components/dashboard/DashboardMain.tsx b/src/components/dashboard/DashboardMain.tsx index 456a554c..32a0a0fd 100644 --- a/src/components/dashboard/DashboardMain.tsx +++ b/src/components/dashboard/DashboardMain.tsx @@ -1,6 +1,6 @@ import { cn } from "~/lib/utils" import { useTranslation } from "next-i18next" -import { useMobileLayout } from "~/hooks/useMobileLayout" +import { useIsMobileLayout } from "~/hooks/useMobileLayout" export const DashboardMain: React.FC<{ children: React.ReactNode @@ -9,7 +9,7 @@ export const DashboardMain: React.FC<{ className?: string }> = ({ children, fullWidth, title, className }) => { const { t } = useTranslation("dashboard") - const isMobileLayout = useMobileLayout() + const isMobileLayout = useIsMobileLayout() return (
diff --git a/src/components/ui/CodeMirror.tsx b/src/components/ui/CodeMirror.tsx new file mode 100644 index 00000000..d952eaa4 --- /dev/null +++ b/src/components/ui/CodeMirror.tsx @@ -0,0 +1,323 @@ +import type { EditorState } from "@codemirror/state" +import { Annotation } from "@codemirror/state" + +import { HighlightStyle } from "@codemirror/language" +import { EditorView, KeyBinding, ViewUpdate } from "@codemirror/view" +import { tags } from "@lezer/highlight" +import type { Tag } from "@lezer/highlight" +import { + Suspense, + forwardRef, + useEffect, + useImperativeHandle, + useRef, + useState, +} from "react" +import { useTranslation } from "react-i18next" +import { + useCodeMirrorAutoToggleTheme, + useCodeMirrorStyle, +} from "~/hooks/useCodemirrorTheme" +import { useIsDark } from "~/hooks/useDarkMode" +import { useGetState } from "~/hooks/useGetState" +import { useIsUnmounted } from "~/hooks/useLifecycle" +import { useIsMobileLayout } from "~/hooks/useMobileLayout" + +const LoadingHolder = () => { + const { t } = useTranslation("common") + return ( +
+ {t("Loading")}... +
+ ) +} + +interface XLogCodeMirrorEditorProps { + value: string + onChange?: (value: string, viewUpdate: ViewUpdate) => void + handleDropFile?: (file: File) => void + onScroll?: (scrollTop: number) => void + onUpdate?: (update: ViewUpdate) => void + onCreateEditor?: (view: EditorView, state: EditorState) => void + onMouseEnter?: () => void +} + +export const CodeMirrorEditor = forwardRef< + EditorView | null, + XLogCodeMirrorEditorProps +>((props, ref) => { + return ( + }> + + + ) +}) +CodeMirrorEditor.displayName = "CodeMirrorEditor" + +const External = Annotation.define() + +const LazyCodeMirrorEditor = forwardRef< + EditorView | null, + XLogCodeMirrorEditorProps +>((props, ref) => { + const [loading, setLoading] = useState(true) + const editorElementRef = useRef(null) + const isUnmounted = useIsUnmounted() + const { t } = useTranslation("dashboard") + const isMobileLayout = useIsMobileLayout() + + const [cmEditor, setCmEditor] = useState(null) + const isDark = useIsDark() + + useCodeMirrorStyle(cmEditor) + useCodeMirrorAutoToggleTheme(cmEditor, isDark) + + useImperativeHandle(ref, () => cmEditor!) + + const { value, handleDropFile, onScroll, onMouseEnter } = props + + const getHandleDropFile = useGetState(handleDropFile) + const getOnScroll = useGetState(onScroll) + const getValue = useGetState(value) + const getProps = useGetState(props) + + useEffect(() => { + if (!cmEditor) return + if (value === undefined) { + return + } + const currentValue = cmEditor ? cmEditor.state.doc.toString() : "" + if (cmEditor && value !== currentValue) { + cmEditor.dispatch({ + changes: { from: 0, to: currentValue.length, insert: value || "" }, + annotations: [External.of(true)], + }) + } + }, [value, cmEditor]) + + useEffect(() => { + Promise.all([ + import("@codemirror/state"), + import("@codemirror/view"), + import("@codemirror/lang-markdown"), + import("@uiw/codemirror-extensions-events"), + import("~/hooks/useCodemirrorTheme"), + import("@codemirror/language"), + import("@codemirror/commands"), + import("@codemirror/language-data"), + ]).then((modules) => { + if (isUnmounted()) return + if (!editorElementRef.current) return + const [ + // @codemirror/state + { EditorState }, + // @codemirror/view + { + EditorView, + dropCursor, + drawSelection, + crosshairCursor, + keymap, + placeholder, + }, + // @codemirror/lang-markdown + { markdown, markdownKeymap, markdownLanguage }, + // @uiw/codemirror-extensions-events + { scroll }, + { codemirrorReconfigureExtension }, + // @codemirror/language + { syntaxHighlighting, indentOnInput }, + // @codemirror/commands + { defaultKeymap, history, historyKeymap, indentWithTab }, + // @codemirror/language-data + { languages }, + ] = modules + + const editorState = EditorState.create({ + doc: getValue(), + + extensions: [ + placeholder(t("Start writing...") || ""), + EditorView.updateListener.of((vu) => { + const props = getProps() + const { onUpdate, onChange } = props + onUpdate?.(vu) + + if ( + vu.docChanged && + typeof onChange === "function" && + // Fix echoing of the remote changes: + // If transaction is market as remote we don't have to call `onChange` handler again + !vu.transactions.some((tr) => tr.annotation(External)) + ) { + const doc = vu.state.doc + const value = doc.toString() + onChange(value, vu) + } + }), + + indentOnInput(), + drawSelection(), + dropCursor(), + crosshairCursor(), + history(), + + EditorState.allowMultipleSelections.of(true), + + [EditorView.theme({}), syntaxHighlighting(codeMirrorMarkdownSyntax)], + ...codemirrorReconfigureExtension, + + markdown({ + base: markdownLanguage, + codeLanguages: languages, + }), + + keymap.of([ + ...defaultKeymap, + ...historyKeymap, + ...markdownKeymap, + indentWithTab, + ] as KeyBinding[]), + + EditorView.domEventHandlers({ + drop(e) { + const items = Array.from(e.dataTransfer?.items || []) + { + ;(async () => { + for (let i = 0; i < items.length; i++) { + const file = items[i]?.getAsFile() + if (file) { + getHandleDropFile()?.(file) + } + } + })() + } + }, + paste(e) { + const files = e.clipboardData?.files + if (files) { + const items = Array.from(files) + { + ;(async () => { + for (let i = 0; i < items.length; i++) { + getHandleDropFile()?.(items[i]) + } + })() + } + } + }, + }), + scroll({ + scroll: (evn) => { + getOnScroll()?.((evn.target as any)?.scrollTop) + }, + }), + EditorView.lineWrapping, + ], + }) + + const view = new EditorView({ + state: editorState, + parent: editorElementRef.current, + }) + + getProps().onCreateEditor?.(view, editorState) + setCmEditor(view) + setLoading(false) + }) + }, []) + + useEffect(() => () => cmEditor?.destroy(), [cmEditor]) + + return ( + <> +
+ {loading && } + + ) +}) + +LazyCodeMirrorEditor.displayName = "LazyCodeMirrorEditor" + +const monoSpaceTags: Tag[] = [ + tags.bracket, + tags.angleBracket, + tags.squareBracket, + tags.paren, + tags.brace, + tags.float, + tags.monospace, + tags.keyword, + tags.character, + tags.propertyName, + tags.macroName, + tags.function(tags.variableName), + tags.labelName, + tags.definition(tags.name), + tags.typeName, + tags.annotation, + tags.modifier, + tags.self, + tags.namespace, + tags.comment, + tags.bool, + /*@__PURE__*/ tags.special(tags.variableName), + tags.className, + tags.number, + tags.changed, + tags.operator, + tags.operatorKeyword, + tags.escape, + tags.regexp, + /*@__PURE__*/ tags.special(tags.string), + tags.name, + tags.deleted, + tags.character, +] +const codeMirrorMarkdownSyntax = HighlightStyle.define([ + { + tag: tags.heading1, + fontSize: "1.4em", + fontWeight: "bold", + }, + { + tag: tags.heading2, + fontSize: "1.3em", + fontWeight: "bold", + }, + { + tag: tags.heading3, + fontSize: "1.2em", + fontWeight: "bold", + }, + { + tag: tags.heading4, + fontSize: "1.1em", + fontWeight: "bold", + }, + { + tag: tags.heading5, + fontSize: "1.1em", + fontWeight: "bold", + }, + { + tag: tags.heading6, + fontSize: "1.1em", + fontWeight: "bold", + }, + { tag: tags.strong, fontWeight: "bold" }, + { tag: tags.emphasis, fontStyle: "italic" }, + { tag: tags.deleted, textDecoration: "line-through" }, + ...monoSpaceTags.map((tag) => ({ + tag, + fontFamily: `"OperatorMonoSSmLig Nerd Font","Cascadia Code PL","FantasqueSansMono Nerd Font","operator mono","Fira code Retina","Fira code","Consolas", Monaco, "Hannotate SC", monospace, -apple-system`, + })), +]) diff --git a/src/components/ui/Editor.tsx b/src/components/ui/Editor.tsx deleted file mode 100644 index 8c122c58..00000000 --- a/src/components/ui/Editor.tsx +++ /dev/null @@ -1,134 +0,0 @@ -import CodeMirror from "@uiw/react-codemirror" -import { EditorView, ViewUpdate } from "@codemirror/view" -import { markdown } from "@codemirror/lang-markdown" -import { scroll } from "@uiw/codemirror-extensions-events" -import type { EditorState } from "@codemirror/state" -import { useState, useEffect, useMemo } from "react" -import { useTranslation } from "next-i18next" -import { useMobileLayout } from "~/hooks/useMobileLayout" -import { - codemirrorReconfigureExtension, - useCodeMirrorAutoToggleTheme, -} from "~/hooks/useCodemirrorTheme" -import { useIsDark } from "~/hooks/useDarkMode" - -export const Editor: React.FC<{ - value: string - onChange?: (value: string, viewUpdate: ViewUpdate) => void - handleDropFile?: (file: File) => void - onScroll?: (scrollTop: number) => void - onUpdate?: (update: ViewUpdate) => void - onCreateEditor?: (view: EditorView, state: EditorState) => void - onMouseEnter?: () => void -}> = ({ - value, - onChange, - handleDropFile, - onScroll, - onUpdate, - onCreateEditor, - onMouseEnter, -}) => { - const { t } = useTranslation("dashboard") - const [extensions, setExtensions] = useState([]) - const isMobileLayout = useMobileLayout() - const [editor, setCmEditor] = useState(null) - const isDark = useIsDark() - useCodeMirrorAutoToggleTheme(editor, isDark) - - useEffect(() => { - setExtensions([ - markdown(), - EditorView.theme({ - ".cm-scroller": { - fontFamily: "var(--font-sans)", - fontSize: "1rem", - overflow: "auto", - height: "100%", - padding: isMobileLayout ? "0 1.25rem" : "unset", - }, - ".cm-content": { - paddingBottom: "600px", - }, - "&.cm-editor.cm-focused": { - outline: "none", - }, - "&.cm-editor": { - height: "100%", - backgroundColor: "transparent", - }, - }), - EditorView.domEventHandlers({ - drop(e) { - const items = Array.from(e.dataTransfer?.items || []) - { - ;(async () => { - for (let i = 0; i < items.length; i++) { - const file = items[i]?.getAsFile() - if (file) { - handleDropFile?.(file) - } - } - })() - } - }, - paste(e) { - const files = e.clipboardData?.files - if (files) { - const items = Array.from(files) - { - ;(async () => { - for (let i = 0; i < items.length; i++) { - handleDropFile?.(items[i]) - } - })() - } - } - }, - }), - scroll({ - scroll: (evn) => { - onScroll?.((evn.target as any)?.scrollTop) - }, - }), - EditorView.lineWrapping, - ...codemirrorReconfigureExtension, - ]) - }, [onScroll, handleDropFile]) - - return useMemo( - () => ( - { - setCmEditor(view) - onCreateEditor?.(view, state) - }} - basicSetup={{ - lineNumbers: false, - foldGutter: false, - highlightActiveLine: false, - history: true, - defaultKeymap: true, - historyKeymap: true, - dropCursor: true, - drawSelection: true, - indentOnInput: true, - crosshairCursor: true, - allowMultipleSelections: true, - syntaxHighlighting: true, - }} - indentWithTab={true} - onChange={onChange} - placeholder={t("Start writing...") || ""} - onUpdate={onUpdate} - onMouseEnter={onMouseEnter} - /> - ), - [value, onChange, extensions, onUpdate, onCreateEditor, onMouseEnter], - ) -} diff --git a/src/components/ui/Image.tsx b/src/components/ui/Image.tsx index 052f0884..ff98585a 100644 --- a/src/components/ui/Image.tsx +++ b/src/components/ui/Image.tsx @@ -1,7 +1,7 @@ import React, { useEffect } from "react" import { default as NextImage, ImageProps } from "next/image" import { toGateway, toIPFS } from "~/lib/ipfs-parser" -import { useMobileLayout } from "~/hooks/useMobileLayout" +import { useIsMobileLayout } from "~/hooks/useMobileLayout" import { useGetState } from "~/hooks/useGetState" type TImageProps = { @@ -32,7 +32,7 @@ export const Image: React.FC = ({ const noOptimization = className?.includes("no-optimization") const imageRefInternal = React.useRef(null) - const isMobileLayout = useMobileLayout() + const isMobileLayout = useIsMobileLayout() const getSrc = useGetState(src) useEffect(() => { diff --git a/src/hooks/useCodemirrorTheme.ts b/src/hooks/useCodemirrorTheme.ts index 35f37a32..83b9fd73 100644 --- a/src/hooks/useCodemirrorTheme.ts +++ b/src/hooks/useCodemirrorTheme.ts @@ -1,17 +1,21 @@ import type { Extension } from "@codemirror/state" import { Compartment } from "@codemirror/state" import { EditorView } from "@codemirror/view" -import { useEffect } from "react" +import { useEffect, useRef } from "react" import { oneDark } from "@codemirror/theme-one-dark" import { githubLight } from "@ddietr/codemirror-themes/theme/github-light" +import { useIsUnmounted } from "./useLifecycle" +import { useIsMobileLayout } from "./useMobileLayout" const extensionMap = { theme: new Compartment(), + style: new Compartment(), } export const codemirrorReconfigureExtension: Extension[] = [ extensionMap.theme.of([]), + extensionMap.style.of([]), ] export const useCodeMirrorAutoToggleTheme = ( @@ -31,3 +35,49 @@ export const useCodeMirrorAutoToggleTheme = ( } }, [view, isDark]) } + +export const useCodeMirrorStyle = (view: EditorView | null) => { + const isMobileLayout = useIsMobileLayout() + const isUnmounted = useIsUnmounted() + const once = useRef(false) + const getStyle = () => { + return { + ".cm-scroller": { + fontFamily: "var(--font-sans)", + fontSize: "1rem", + overflow: "auto", + height: "100%", + padding: isMobileLayout ? "0 1.25rem" : "unset", + }, + ".cm-content": { + paddingBottom: "600px", + }, + "&.cm-editor.cm-focused": { + outline: "none", + }, + "&.cm-editor": { + height: "100%", + backgroundColor: "transparent", + }, + ".cm-s-markdown .cm-string": { + fontFamily: '"Fira Code", monospace', + }, + } + } + + useEffect(() => { + if (!view) return + view.dispatch({ + effects: [extensionMap.style.reconfigure(EditorView.theme(getStyle()))], + }) + }, [view, isMobileLayout]) + + if (isUnmounted()) return + if (!once.current) { + if (!view) return + view.dispatch({ + effects: [extensionMap.style.reconfigure(EditorView.theme(getStyle()))], + }) + once.current = true + } +} diff --git a/src/hooks/useGetState.ts b/src/hooks/useGetState.ts index c9bd43a0..f2462ca7 100644 --- a/src/hooks/useGetState.ts +++ b/src/hooks/useGetState.ts @@ -1,6 +1,6 @@ import { useEffect, useRef } from "react" -export const useGetState = (state: any) => { +export const useGetState = (state: T): (() => T) => { const ref = useRef(state) useEffect(() => void (ref.current = state), [state]) diff --git a/src/hooks/useMobileLayout.ts b/src/hooks/useMobileLayout.ts index 7f006e03..edd6cc2b 100644 --- a/src/hooks/useMobileLayout.ts +++ b/src/hooks/useMobileLayout.ts @@ -1,24 +1,31 @@ -import { useCallback, useEffect, useState } from "react" +import { useCallback, useEffect } from "react" +import { create } from "zustand" const mobileWidth = 1024 +const useLayoutStore = create<{ + isMobile: boolean | undefined +}>(() => ({ + isMobile: undefined, +})) + export function useMobileLayout() { - const [isMobile, setIsMobile] = useState() - - const onResize = useCallback(() => { - setIsMobile(window.innerWidth < mobileWidth) + const calc = useCallback(() => { + useLayoutStore.setState({ + isMobile: window.innerWidth < mobileWidth, + }) }, []) useEffect(() => { - window.addEventListener("resize", onResize) + window.addEventListener("resize", calc) return () => { - window.removeEventListener("resize", onResize) + window.removeEventListener("resize", calc) } - }, [onResize]) + }, [calc]) useEffect(() => { - setIsMobile(window.innerWidth < mobileWidth) + calc() }, []) - - return isMobile } + +export const useIsMobileLayout = () => useLayoutStore((state) => state.isMobile) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index ac7a3772..f614fea9 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -21,6 +21,7 @@ import { createIDBPersister } from "~/lib/persister.client" import { urlComposer } from "~/lib/url-composer" import { AppPropsWithLayout } from "types/next" import { useDarkMode } from "~/hooks/useDarkMode" +import { useMobileLayout } from "~/hooks/useMobileLayout" Network.setIpfsGateway(IPFS_GATEWAY) @@ -40,6 +41,8 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) { const getLayout = Component.getLayout ?? ((page) => page) useDarkMode() + useMobileLayout() + return ( { @@ -167,7 +168,7 @@ export default function SubdomainEditor() { const createOrUpdatePage = useCreateOrUpdatePage() - const isMobileLayout = useMobileLayout() + const isMobileLayout = useIsMobileLayout() const [isRendering, setIsRendering] = useState(false) const savePage = async (published: boolean) => { @@ -683,7 +684,7 @@ export default function SubdomainEditor() {
{isMobileLayout ? ( !isRendering ? ( - -