A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: add support for education plan purchase
Abdullah Atta58c1f5e3ca6f
diff --git a/apps/web/package-lock.json b/apps/web/package-lock.jsonindex bd92fa6da..8b44c1ab2 100644--- a/apps/web/package-lock.json+++ b/apps/web/package-lock.json@@ -10,7 +10,6 @@"hasInstallScript": true,"license": "GPL-3.0-or-later","dependencies": {- "@brixtol/currency-symbols": "^1.1.1","@dnd-kit/core": "^6.1.0","@dnd-kit/modifiers": "^7.0.0","@dnd-kit/sortable": "^8.0.0",@@ -548,7 +547,6 @@"version": "2.3.0","resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz","integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",- "dev": true,"license": "Apache-2.0","dependencies": {"@jridgewell/gen-mapping": "^0.3.5",@@ -657,7 +655,6 @@"version": "7.22.5","resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.5.tgz","integrity": "sha512-SBuTAjg91A3eKOvD+bPEz3LlhHZRNu1nFOVts9lzDJTXshHTjII0BAtDS3Y2DAkdZdDKWVZGVwkDfc4Clxn1dg==",- "dev": true,"license": "MIT","dependencies": {"@ampproject/remapping": "^2.2.0",@@ -816,7 +813,6 @@"version": "7.27.3","resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz","integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==",- "dev": true,"license": "MIT","dependencies": {"@babel/helper-module-imports": "^7.27.1",@@ -948,7 +944,6 @@"version": "7.27.6","resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.6.tgz","integrity": "sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==",- "dev": true,"license": "MIT","dependencies": {"@babel/template": "^7.27.2",@@ -2129,15 +2124,6 @@"node": ">=6.9.0"}},- "node_modules/@brixtol/currency-symbols": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/@brixtol/currency-symbols/-/currency-symbols-1.1.1.tgz",- "integrity": "sha512-0G0dXppeOlKfwCAlcT35PsG6yKHzqd1fxJuPnrjLOWmp0GyrzBuwjnyYkBKiKjOpLgdzLlAe3trnbmO/xzOIzQ==",- "license": "MIT",- "engines": {- "pnpm": ">=5"- }- },"node_modules/@cloudflare/workers-types": {"version": "4.20250617.0","resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20250617.0.tgz",@@ -2212,6 +2198,28 @@"react": ">=16.8.0"}},+ "node_modules/@electron/get": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@electron/get/-/get-2.0.3.tgz",+ "integrity": "sha512-Qkzpg2s9GnVV2I2BjRksUi43U5e6+zaQMcjoJy0C+C5oxaKl+fmckGDQFtRpZpZV0NQekuZZ+tGz7EA9TVnQtQ==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "debug": "^4.1.1",+ "env-paths": "^2.2.0",+ "fs-extra": "^8.1.0",+ "got": "^11.8.5",+ "progress": "^2.0.3",+ "semver": "^6.2.0",+ "sumchecker": "^3.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "optionalDependencies": {+ "global-agent": "^3.0.0"+ }+ },"node_modules/@emotion/babel-plugin": {"version": "11.13.5","resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz",@@ -3748,6 +3756,19 @@"win32"]},+ "node_modules/@sindresorhus/is": {+ "version": "4.6.0",+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",+ "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sindresorhus/is?sponsor=1"+ }+ },"node_modules/@stablelib/aead": {"version": "1.0.1","resolved": "https://registry.npmjs.org/@stablelib/aead/-/aead-1.0.1.tgz",@@ -4598,6 +4619,19 @@"@swc/counter": "^0.1.3"}},+ "node_modules/@szmarczak/http-timer": {+ "version": "4.0.6",+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",+ "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "defer-to-connect": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/@tanstack/query-core": {"version": "4.39.2","resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-4.39.2.tgz",@@ -4672,6 +4706,37 @@"polished": "^4.0.5"}},+ "node_modules/@theme-ui/color-modes": {+ "version": "0.16.2",+ "resolved": "https://registry.npmjs.org/@theme-ui/color-modes/-/color-modes-0.16.2.tgz",+ "integrity": "sha512-jWEWx53lxNgWCT38i/kwLV2rsvJz8lVZgi5oImnVwYba9VejXD23q1ckbNFJHosQ8KKXY87ht0KPC6BQFIiHtQ==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@theme-ui/core": "^0.16.2",+ "@theme-ui/css": "^0.16.2",+ "deepmerge": "^4.2.2"+ },+ "peerDependencies": {+ "@emotion/react": "^11.11.1",+ "react": ">=18"+ }+ },+ "node_modules/@theme-ui/color-modes/node_modules/@theme-ui/core": {+ "version": "0.16.2",+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.16.2.tgz",+ "integrity": "sha512-bBd/ltbwO9vIUjF1jtlOX6XN0IIOdf1vzBp2JCKsSOqdfn84m+XL8OogIe/zOhQ+aM94Nrq4+32tFJc8sFav4Q==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@theme-ui/css": "^0.16.2",+ "deepmerge": "^4.2.2"+ },+ "peerDependencies": {+ "@emotion/react": "^11.11.1",+ "react": ">=18"+ }+ },"node_modules/@theme-ui/components": {"version": "0.16.1","resolved": "https://registry.npmjs.org/@theme-ui/components/-/components-0.16.1.tgz",@@ -4717,6 +4782,37 @@"@emotion/react": "^11.11.1"}},+ "node_modules/@theme-ui/theme-provider": {+ "version": "0.16.2",+ "resolved": "https://registry.npmjs.org/@theme-ui/theme-provider/-/theme-provider-0.16.2.tgz",+ "integrity": "sha512-LRnVevODcGqO0JyLJ3wht+PV3ZoZcJ7XXLJAJWDoGeII4vZcPQKwVy4Lpz/juHsZppQxKcB3U+sQDGBnP25irQ==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@theme-ui/color-modes": "^0.16.2",+ "@theme-ui/core": "^0.16.2",+ "@theme-ui/css": "^0.16.2"+ },+ "peerDependencies": {+ "@emotion/react": "^11.11.1",+ "react": ">=18"+ }+ },+ "node_modules/@theme-ui/theme-provider/node_modules/@theme-ui/core": {+ "version": "0.16.2",+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.16.2.tgz",+ "integrity": "sha512-bBd/ltbwO9vIUjF1jtlOX6XN0IIOdf1vzBp2JCKsSOqdfn84m+XL8OogIe/zOhQ+aM94Nrq4+32tFJc8sFav4Q==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@theme-ui/css": "^0.16.2",+ "deepmerge": "^4.2.2"+ },+ "peerDependencies": {+ "@emotion/react": "^11.11.1",+ "react": ">=18"+ }+ },"node_modules/@trpc/client": {"version": "10.45.2","resolved": "https://registry.npmjs.org/@trpc/client/-/client-10.45.2.tgz",@@ -4749,7 +4845,6 @@"version": "10.45.2","resolved": "https://registry.npmjs.org/@trpc/server/-/server-10.45.2.tgz","integrity": "sha512-wOrSThNNE4HUnuhJG6PfDRp4L2009KDVxsd+2VYH8ro6o/7/jwYZ8Uu5j+VaW+mOmc8EHerHzGcdbGNQSAUPgg==",- "dev": true,"funding": ["https://trpc.io/sponsor"],@@ -4800,6 +4895,19 @@"@babel/types": "^7.20.7"}},+ "node_modules/@types/cacheable-request": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz",+ "integrity": "sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/http-cache-semantics": "*",+ "@types/keyv": "^3.1.4",+ "@types/node": "*",+ "@types/responselike": "^1.0.0"+ }+ },"node_modules/@types/debug": {"version": "4.1.12","resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",@@ -4809,6 +4917,30 @@"@types/ms": "*"}},+ "node_modules/@types/eslint": {+ "version": "9.6.1",+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",+ "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/estree": "*",+ "@types/json-schema": "*"+ }+ },+ "node_modules/@types/eslint-scope": {+ "version": "3.7.7",+ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",+ "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/eslint": "*",+ "@types/estree": "*"+ }+ },"node_modules/@types/estree": {"version": "1.0.7","resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz",@@ -4839,6 +4971,13 @@"@types/unist": "^2"}},+ "node_modules/@types/http-cache-semantics": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz",+ "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==",+ "license": "MIT",+ "peer": true+ },"node_modules/@types/json-schema": {"version": "7.0.15","resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",@@ -4852,6 +4991,16 @@"integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==","license": "MIT"},+ "node_modules/@types/keyv": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz",+ "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/node": "*"+ }+ },"node_modules/@types/marked": {"version": "6.0.0","resolved": "https://registry.npmjs.org/@types/marked/-/marked-6.0.0.tgz",@@ -4882,7 +5031,6 @@"version": "24.0.3","resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.3.tgz","integrity": "sha512-R4I/kzCYAdRLzfiCabn9hxWfbuHS573x+r0dJMkkzThEa7pbrcDWK+9zu3e7aBOouf+rQAciqPFMnxwr0aWgKg==",- "dev": true,"license": "MIT","dependencies": {"undici-types": "~7.8.0"@@ -4922,14 +5070,12 @@"version": "15.7.15","resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz","integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",- "dev": true,"license": "MIT"},"node_modules/@types/react": {"version": "18.3.5","resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz","integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==",- "dev": true,"license": "MIT","dependencies": {"@types/prop-types": "*",@@ -4983,6 +5129,16 @@"dev": true,"license": "MIT"},+ "node_modules/@types/responselike": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.3.tgz",+ "integrity": "sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/node": "*"+ }+ },"node_modules/@types/styled-system": {"version": "5.1.23","resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.23.tgz",@@ -5012,6 +5168,17 @@"dev": true,"license": "MIT"},+ "node_modules/@types/yauzl": {+ "version": "2.10.3",+ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",+ "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",+ "license": "MIT",+ "optional": true,+ "peer": true,+ "dependencies": {+ "@types/node": "*"+ }+ },"node_modules/@vitejs/plugin-react-swc": {"version": "3.10.2","resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.10.2.tgz",@@ -5175,6 +5342,198 @@"url": "https://opencollective.com/vitest"}},+ "node_modules/@webassemblyjs/ast": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz",+ "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/helper-numbers": "1.13.2",+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2"+ }+ },+ "node_modules/@webassemblyjs/floating-point-hex-parser": {+ "version": "1.13.2",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz",+ "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-api-error": {+ "version": "1.13.2",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz",+ "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-buffer": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz",+ "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-numbers": {+ "version": "1.13.2",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz",+ "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/floating-point-hex-parser": "1.13.2",+ "@webassemblyjs/helper-api-error": "1.13.2",+ "@xtuc/long": "4.2.2"+ }+ },+ "node_modules/@webassemblyjs/helper-wasm-bytecode": {+ "version": "1.13.2",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz",+ "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-wasm-section": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz",+ "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.14.1",+ "@webassemblyjs/helper-buffer": "1.14.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",+ "@webassemblyjs/wasm-gen": "1.14.1"+ }+ },+ "node_modules/@webassemblyjs/ieee754": {+ "version": "1.13.2",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz",+ "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@xtuc/ieee754": "^1.2.0"+ }+ },+ "node_modules/@webassemblyjs/leb128": {+ "version": "1.13.2",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz",+ "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==",+ "dev": true,+ "license": "Apache-2.0",+ "peer": true,+ "dependencies": {+ "@xtuc/long": "4.2.2"+ }+ },+ "node_modules/@webassemblyjs/utf8": {+ "version": "1.13.2",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz",+ "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/@webassemblyjs/wasm-edit": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz",+ "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.14.1",+ "@webassemblyjs/helper-buffer": "1.14.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",+ "@webassemblyjs/helper-wasm-section": "1.14.1",+ "@webassemblyjs/wasm-gen": "1.14.1",+ "@webassemblyjs/wasm-opt": "1.14.1",+ "@webassemblyjs/wasm-parser": "1.14.1",+ "@webassemblyjs/wast-printer": "1.14.1"+ }+ },+ "node_modules/@webassemblyjs/wasm-gen": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz",+ "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.14.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",+ "@webassemblyjs/ieee754": "1.13.2",+ "@webassemblyjs/leb128": "1.13.2",+ "@webassemblyjs/utf8": "1.13.2"+ }+ },+ "node_modules/@webassemblyjs/wasm-opt": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz",+ "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.14.1",+ "@webassemblyjs/helper-buffer": "1.14.1",+ "@webassemblyjs/wasm-gen": "1.14.1",+ "@webassemblyjs/wasm-parser": "1.14.1"+ }+ },+ "node_modules/@webassemblyjs/wasm-parser": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz",+ "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.14.1",+ "@webassemblyjs/helper-api-error": "1.13.2",+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",+ "@webassemblyjs/ieee754": "1.13.2",+ "@webassemblyjs/leb128": "1.13.2",+ "@webassemblyjs/utf8": "1.13.2"+ }+ },+ "node_modules/@webassemblyjs/wast-printer": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz",+ "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.14.1",+ "@xtuc/long": "4.2.2"+ }+ },+ "node_modules/@xtuc/ieee754": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",+ "dev": true,+ "license": "BSD-3-Clause",+ "peer": true+ },+ "node_modules/@xtuc/long": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",+ "dev": true,+ "license": "Apache-2.0",+ "peer": true+ },"node_modules/@zip.js/zip.js": {"version": "2.7.62","resolved": "https://registry.npmjs.org/@zip.js/zip.js/-/zip.js-2.7.62.tgz",@@ -5206,6 +5565,20 @@"node": ">=0.4.0"}},+ "node_modules/acorn-import-phases": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz",+ "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=10.13.0"+ },+ "peerDependencies": {+ "acorn": "^8.14.0"+ }+ },"node_modules/agent-base": {"version": "6.0.2","resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",@@ -5236,6 +5609,51 @@"url": "https://github.com/sponsors/epoberezkin"}},+ "node_modules/ajv-formats": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz",+ "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "ajv": "^8.0.0"+ },+ "peerDependencies": {+ "ajv": "^8.0.0"+ },+ "peerDependenciesMeta": {+ "ajv": {+ "optional": true+ }+ }+ },+ "node_modules/ajv-formats/node_modules/ajv": {+ "version": "8.17.1",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",+ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "fast-deep-equal": "^3.1.3",+ "fast-uri": "^3.0.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/ajv-formats/node_modules/json-schema-traverse": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },"node_modules/ajv-keywords": {"version": "3.5.2","resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",@@ -5634,6 +6052,15 @@"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==","license": "ISC"},+ "node_modules/boolean": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz",+ "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==",+ "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",+ "license": "MIT",+ "optional": true,+ "peer": true+ },"node_modules/brace-expansion": {"version": "1.1.12","resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",@@ -5702,6 +6129,16 @@"ieee754": "^1.2.1"}},+ "node_modules/buffer-crc32": {+ "version": "0.2.13",+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": "*"+ }+ },"node_modules/buffer-equal-constant-time": {"version": "1.0.1","resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",@@ -5725,6 +6162,35 @@"node": ">=8"}},+ "node_modules/cacheable-lookup": {+ "version": "5.0.4",+ "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz",+ "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=10.6.0"+ }+ },+ "node_modules/cacheable-request": {+ "version": "7.0.4",+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz",+ "integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "clone-response": "^1.0.2",+ "get-stream": "^5.1.0",+ "http-cache-semantics": "^4.0.0",+ "keyv": "^4.0.0",+ "lowercase-keys": "^2.0.0",+ "normalize-url": "^6.0.1",+ "responselike": "^2.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/call-bind": {"version": "1.0.8","resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",@@ -5926,6 +6392,17 @@"node": ">=10"}},+ "node_modules/chrome-trace-event": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz",+ "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=6.0"+ }+ },"node_modules/clipboard-polyfill": {"version": "4.1.0","resolved": "https://registry.npmjs.org/clipboard-polyfill/-/clipboard-polyfill-4.1.0.tgz",@@ -5947,6 +6424,19 @@"node": ">=12"}},+ "node_modules/clone-response": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz",+ "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "mimic-response": "^1.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/color-convert": {"version": "2.0.1","resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",@@ -6221,7 +6711,6 @@"version": "6.0.0","resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz","integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",- "devOptional": true,"license": "MIT","dependencies": {"mimic-response": "^3.1.0"@@ -6237,7 +6726,6 @@"version": "3.1.0","resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz","integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",- "devOptional": true,"license": "MIT","engines": {"node": ">=10"@@ -6275,11 +6763,21 @@"node": ">=0.10.0"}},+ "node_modules/defer-to-connect": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",+ "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=10"+ }+ },"node_modules/define-data-property": {"version": "1.1.4","resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz","integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"es-define-property": "^1.0.0",@@ -6307,7 +6805,7 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz","integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"define-data-property": "^1.0.1",@@ -6356,6 +6854,14 @@"node": ">=8"}},+ "node_modules/detect-node": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz",+ "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",+ "license": "MIT",+ "optional": true,+ "peer": true+ },"node_modules/diff": {"version": "5.2.0","resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",@@ -6517,6 +7023,25 @@"node": ">=0.10.0"}},+ "node_modules/electron": {+ "version": "38.1.2",+ "resolved": "https://registry.npmjs.org/electron/-/electron-38.1.2.tgz",+ "integrity": "sha512-WXUcN3W8h8NTTZViA3KNX0rV2YBU0X0mEUM3ubupXTDY4QtIN7tmiqYVOKSKpR2LckTmBWGuEeY4D6xVoffwKQ==",+ "hasInstallScript": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@electron/get": "^2.0.0",+ "@types/node": "^22.7.7",+ "extract-zip": "^2.0.1"+ },+ "bin": {+ "electron": "cli.js"+ },+ "engines": {+ "node": ">= 12.20.55"+ }+ },"node_modules/electron-to-chromium": {"version": "1.5.168","resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.168.tgz",@@ -6537,6 +7062,23 @@"electron": ">19.0.0"}},+ "node_modules/electron/node_modules/@types/node": {+ "version": "22.18.6",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.6.tgz",+ "integrity": "sha512-r8uszLPpeIWbNKtvWRt/DbVi5zbqZyj1PTmhRMqBMvDnaz1QpmSKujUtJLrqGZeoM8v72MfYggDceY4K1itzWQ==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "undici-types": "~6.21.0"+ }+ },+ "node_modules/electron/node_modules/undici-types": {+ "version": "6.21.0",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",+ "license": "MIT",+ "peer": true+ },"node_modules/emoji-regex": {"version": "8.0.0","resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",@@ -6558,12 +7100,26 @@"version": "1.4.5","resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz","integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",- "devOptional": true,"license": "MIT","dependencies": {"once": "^1.4.0"}},+ "node_modules/enhanced-resolve": {+ "version": "5.18.3",+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.3.tgz",+ "integrity": "sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "graceful-fs": "^4.2.4",+ "tapable": "^2.2.0"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },"node_modules/entities": {"version": "4.5.0","resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",@@ -6576,6 +7132,16 @@"url": "https://github.com/fb55/entities?sponsor=1"}},+ "node_modules/env-paths": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=6"+ }+ },"node_modules/error-ex": {"version": "1.3.2","resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",@@ -6724,6 +7290,14 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/es6-error": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",+ "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",+ "license": "MIT",+ "optional": true,+ "peer": true+ },"node_modules/esbuild": {"version": "0.21.5","resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",@@ -6784,6 +7358,21 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/eslint-scope": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",+ "dev": true,+ "license": "BSD-2-Clause",+ "peer": true,+ "dependencies": {+ "esrecurse": "^4.3.0",+ "estraverse": "^4.1.1"+ },+ "engines": {+ "node": ">=8.0.0"+ }+ },"node_modules/esprima": {"version": "4.0.1","resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",@@ -6797,6 +7386,42 @@"node": ">=4"}},+ "node_modules/esrecurse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",+ "dev": true,+ "license": "BSD-2-Clause",+ "peer": true,+ "dependencies": {+ "estraverse": "^5.2.0"+ },+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/esrecurse/node_modules/estraverse": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",+ "dev": true,+ "license": "BSD-2-Clause",+ "peer": true,+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/estraverse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",+ "dev": true,+ "license": "BSD-2-Clause",+ "peer": true,+ "engines": {+ "node": ">=4.0"+ }+ },"node_modules/estree-walker": {"version": "2.0.2","resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",@@ -6820,6 +7445,17 @@"integrity": "sha512-4IJSItgS/41IxN5UVAVuAyczwZF7ZIEsM1XAoUzIHA6A+xzusEZUutdXz2Nr+MQPLxfTiCvqE79/C8HT8fKFvA==","license": "MIT"},+ "node_modules/events": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=0.8.x"+ }+ },"node_modules/exenv": {"version": "1.2.2","resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz",@@ -6864,6 +7500,27 @@"node": ">=0.10.0"}},+ "node_modules/extract-zip": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",+ "license": "BSD-2-Clause",+ "peer": true,+ "dependencies": {+ "debug": "^4.1.1",+ "get-stream": "^5.1.0",+ "yauzl": "^2.10.0"+ },+ "bin": {+ "extract-zip": "cli.js"+ },+ "engines": {+ "node": ">= 10.17.0"+ },+ "optionalDependencies": {+ "@types/yauzl": "^2.9.1"+ }+ },"node_modules/fast-deep-equal": {"version": "3.1.3","resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",@@ -6895,6 +7552,16 @@],"license": "BSD-3-Clause"},+ "node_modules/fd-slicer": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",+ "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "pend": "~1.2.0"+ }+ },"node_modules/fdir": {"version": "6.4.6","resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz",@@ -7089,6 +7756,21 @@"devOptional": true,"license": "MIT"},+ "node_modules/fs-extra": {+ "version": "8.1.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",+ "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "graceful-fs": "^4.2.0",+ "jsonfile": "^4.0.0",+ "universalify": "^0.1.0"+ },+ "engines": {+ "node": ">=6 <7 || >=8"+ }+ },"node_modules/fs-minipass": {"version": "2.1.0","resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",@@ -7210,7 +7892,6 @@"version": "1.0.0-beta.2","resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz","integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",- "dev": true,"license": "MIT","engines": {"node": ">=6.9.0"@@ -7270,6 +7951,22 @@"node": ">= 0.4"}},+ "node_modules/get-stream": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "pump": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/get-symbol-description": {"version": "1.1.0","resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz",@@ -7317,6 +8014,47 @@"url": "https://github.com/sponsors/isaacs"}},+ "node_modules/glob-to-regexp": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",+ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",+ "dev": true,+ "license": "BSD-2-Clause",+ "peer": true+ },+ "node_modules/global-agent": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-3.0.0.tgz",+ "integrity": "sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==",+ "license": "BSD-3-Clause",+ "optional": true,+ "peer": true,+ "dependencies": {+ "boolean": "^3.0.1",+ "es6-error": "^4.1.1",+ "matcher": "^3.0.0",+ "roarr": "^2.15.3",+ "semver": "^7.3.2",+ "serialize-error": "^7.0.1"+ },+ "engines": {+ "node": ">=10.0"+ }+ },+ "node_modules/global-agent/node_modules/semver": {+ "version": "7.7.2",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",+ "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",+ "license": "ISC",+ "optional": true,+ "peer": true,+ "bin": {+ "semver": "bin/semver.js"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/globals": {"version": "11.12.0","resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",@@ -7330,7 +8068,7 @@"version": "1.0.4","resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz","integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"define-properties": "^1.2.1",@@ -7364,11 +8102,36 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/got": {+ "version": "11.8.6",+ "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz",+ "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@sindresorhus/is": "^4.0.0",+ "@szmarczak/http-timer": "^4.0.5",+ "@types/cacheable-request": "^6.0.1",+ "@types/responselike": "^1.0.0",+ "cacheable-lookup": "^5.0.3",+ "cacheable-request": "^7.0.2",+ "decompress-response": "^6.0.0",+ "http2-wrapper": "^1.0.0-beta.5.2",+ "lowercase-keys": "^2.0.0",+ "p-cancelable": "^2.0.0",+ "responselike": "^2.0.0"+ },+ "engines": {+ "node": ">=10.19.0"+ },+ "funding": {+ "url": "https://github.com/sindresorhus/got?sponsor=1"+ }+ },"node_modules/graceful-fs": {"version": "4.2.11","resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz","integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",- "dev": true,"license": "ISC"},"node_modules/gray-matter": {@@ -7427,7 +8190,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz","integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"es-define-property": "^1.0.0"@@ -7703,6 +8466,27 @@"entities": "^4.4.0"}},+ "node_modules/http-cache-semantics": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",+ "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==",+ "license": "BSD-2-Clause",+ "peer": true+ },+ "node_modules/http2-wrapper": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",+ "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "quick-lru": "^5.1.1",+ "resolve-alpn": "^1.0.0"+ },+ "engines": {+ "node": ">=10.19.0"+ }+ },"node_modules/https-proxy-agent": {"version": "5.0.1","resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",@@ -8321,6 +9105,39 @@"node": ">=10"}},+ "node_modules/jest-worker": {+ "version": "27.5.1",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",+ "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/node": "*",+ "merge-stream": "^2.0.0",+ "supports-color": "^8.0.0"+ },+ "engines": {+ "node": ">= 10.13.0"+ }+ },+ "node_modules/jest-worker/node_modules/supports-color": {+ "version": "8.1.1",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/supports-color?sponsor=1"+ }+ },"node_modules/js-sha256": {"version": "0.10.1","resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.10.1.tgz",@@ -8358,6 +9175,13 @@"node": ">=6"}},+ "node_modules/json-buffer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",+ "license": "MIT",+ "peer": true+ },"node_modules/json-parse-even-better-errors": {"version": "2.3.1","resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",@@ -8378,11 +9202,18 @@"dev": true,"license": "MIT"},+ "node_modules/json-stringify-safe": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",+ "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",+ "license": "ISC",+ "optional": true,+ "peer": true+ },"node_modules/json5": {"version": "2.2.3","resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz","integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",- "dev": true,"license": "MIT","bin": {"json5": "lib/cli.js"@@ -8391,6 +9222,16 @@"node": ">=6"}},+ "node_modules/jsonfile": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",+ "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",+ "license": "MIT",+ "peer": true,+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },"node_modules/jsonpointer": {"version": "5.0.1","resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz",@@ -8493,6 +9334,16 @@"prebuild-install": "^7.0.1"}},+ "node_modules/keyv": {+ "version": "4.5.4",+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "json-buffer": "3.0.1"+ }+ },"node_modules/kind-of": {"version": "6.0.3","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",@@ -8527,6 +9378,17 @@"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==","license": "MIT"},+ "node_modules/loader-runner": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",+ "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=6.11.5"+ }+ },"node_modules/loader-utils": {"version": "2.0.4","resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",@@ -8691,6 +9553,16 @@"tslib": "^2.0.3"}},+ "node_modules/lowercase-keys": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=8"+ }+ },"node_modules/lru-cache": {"version": "5.1.1","resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",@@ -8761,6 +9633,20 @@"node": ">= 18"}},+ "node_modules/matcher": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",+ "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==",+ "license": "MIT",+ "optional": true,+ "peer": true,+ "dependencies": {+ "escape-string-regexp": "^4.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/math-intrinsics": {"version": "1.1.0","resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",@@ -9058,6 +9944,14 @@"url": "https://opencollective.com/unified"}},+ "node_modules/merge-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },"node_modules/micromark": {"version": "3.2.0","resolved": "https://registry.npmjs.org/micromark/-/micromark-3.2.0.tgz",@@ -9661,6 +10555,16 @@"node": ">= 0.6"}},+ "node_modules/mimic-response": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=4"+ }+ },"node_modules/minimatch": {"version": "3.1.2","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",@@ -9811,6 +10715,14 @@"devOptional": true,"license": "MIT"},+ "node_modules/neo-async": {+ "version": "2.6.2",+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",+ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },"node_modules/no-case": {"version": "3.0.4","resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",@@ -9908,6 +10820,19 @@"node": ">=0.10.0"}},+ "node_modules/normalize-url": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz",+ "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/npmlog": {"version": "5.0.1","resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz",@@ -9960,7 +10885,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz","integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -9991,7 +10916,6 @@"version": "1.4.0","resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz","integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",- "devOptional": true,"license": "ISC","dependencies": {"wrappy": "1"@@ -10045,6 +10969,16 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/p-cancelable": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",+ "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=8"+ }+ },"node_modules/parent-module": {"version": "1.0.1","resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",@@ -10148,6 +11082,13 @@"canvas": "^2.11.2"}},+ "node_modules/pend": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",+ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",+ "license": "MIT",+ "peer": true+ },"node_modules/phone": {"version": "3.1.62","resolved": "https://registry.npmjs.org/phone/-/phone-3.1.62.tgz",@@ -10338,6 +11279,16 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/progress": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=0.4.0"+ }+ },"node_modules/prop-types": {"version": "15.8.1","resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",@@ -10369,7 +11320,6 @@"version": "3.0.3","resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz","integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==",- "devOptional": true,"license": "MIT","dependencies": {"end-of-stream": "^1.1.0",@@ -10398,6 +11348,19 @@"integrity": "sha512-sqo7otiDq5rA4djRkFI7IjLQqxRrLpIou0d3rqr03JJLUGf5raPh91xCio+lFFbQf0SlcVckStz0EmDEX3EeZA==","license": "MIT"},+ "node_modules/quick-lru": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",+ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/randombytes": {"version": "2.1.0","resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",@@ -10911,6 +11874,13 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/resolve-alpn": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz",+ "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==",+ "license": "MIT",+ "peer": true+ },"node_modules/resolve-from": {"version": "4.0.0","resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",@@ -10920,6 +11890,19 @@"node": ">=4"}},+ "node_modules/responselike": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz",+ "integrity": "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "lowercase-keys": "^2.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/rimraf": {"version": "3.0.2","resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",@@ -10937,6 +11920,33 @@"url": "https://github.com/sponsors/isaacs"}},+ "node_modules/roarr": {+ "version": "2.15.4",+ "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz",+ "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==",+ "license": "BSD-3-Clause",+ "optional": true,+ "peer": true,+ "dependencies": {+ "boolean": "^3.0.1",+ "detect-node": "^2.0.4",+ "globalthis": "^1.0.1",+ "json-stringify-safe": "^5.0.1",+ "semver-compare": "^1.0.0",+ "sprintf-js": "^1.1.2"+ },+ "engines": {+ "node": ">=8.0"+ }+ },+ "node_modules/roarr/node_modules/sprintf-js": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",+ "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",+ "license": "BSD-3-Clause",+ "optional": true,+ "peer": true+ },"node_modules/rollup": {"version": "4.43.0","resolved": "https://registry.npmjs.org/rollup/-/rollup-4.43.0.tgz",@@ -11155,6 +12165,31 @@"semver": "bin/semver.js"}},+ "node_modules/semver-compare": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",+ "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==",+ "license": "MIT",+ "optional": true,+ "peer": true+ },+ "node_modules/serialize-error": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz",+ "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==",+ "license": "MIT",+ "optional": true,+ "peer": true,+ "dependencies": {+ "type-fest": "^0.13.1"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/serialize-javascript": {"version": "6.0.2","resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz",@@ -11702,6 +12737,19 @@"integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==","license": "MIT"},+ "node_modules/sumchecker": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz",+ "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==",+ "license": "Apache-2.0",+ "peer": true,+ "dependencies": {+ "debug": "^4.1.0"+ },+ "engines": {+ "node": ">= 8.0"+ }+ },"node_modules/supports-color": {"version": "7.2.0","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",@@ -11734,6 +12782,21 @@"dev": true,"license": "MIT"},+ "node_modules/tapable": {+ "version": "2.2.3",+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.3.tgz",+ "integrity": "sha512-ZL6DDuAlRlLGghwcfmSn9sK3Hr6ArtyudlSAiCqQ6IfE+b+HHbydbYDIG15IfS5do+7XQQBdBiubF/cV2dnDzg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ }+ },"node_modules/tar": {"version": "6.2.1","resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz",@@ -11857,6 +12920,103 @@"node": ">=10"}},+ "node_modules/terser-webpack-plugin": {+ "version": "5.3.14",+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz",+ "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@jridgewell/trace-mapping": "^0.3.25",+ "jest-worker": "^27.4.5",+ "schema-utils": "^4.3.0",+ "serialize-javascript": "^6.0.2",+ "terser": "^5.31.1"+ },+ "engines": {+ "node": ">= 10.13.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ },+ "peerDependencies": {+ "webpack": "^5.1.0"+ },+ "peerDependenciesMeta": {+ "@swc/core": {+ "optional": true+ },+ "esbuild": {+ "optional": true+ },+ "uglify-js": {+ "optional": true+ }+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/ajv": {+ "version": "8.17.1",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",+ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "fast-deep-equal": "^3.1.3",+ "fast-uri": "^3.0.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/ajv-keywords": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz",+ "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "fast-deep-equal": "^3.1.3"+ },+ "peerDependencies": {+ "ajv": "^8.8.2"+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/terser-webpack-plugin/node_modules/schema-utils": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.2.tgz",+ "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/json-schema": "^7.0.9",+ "ajv": "^8.9.0",+ "ajv-formats": "^2.1.1",+ "ajv-keywords": "^5.1.0"+ },+ "engines": {+ "node": ">= 10.13.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ }+ },"node_modules/terser/node_modules/commander": {"version": "2.20.3","resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",@@ -11986,6 +13146,20 @@"node": "*"}},+ "node_modules/type-fest": {+ "version": "0.13.1",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",+ "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",+ "license": "(MIT OR CC0-1.0)",+ "optional": true,+ "peer": true,+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/typed-array-buffer": {"version": "1.0.3","resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",@@ -12087,7 +13261,6 @@"version": "7.8.0","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz","integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==",- "dev": true,"license": "MIT"},"node_modules/unicode-canonical-property-names-ecmascript": {@@ -12277,6 +13450,16 @@"url": "https://opencollective.com/unified"}},+ "node_modules/universalify": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">= 4.0.0"+ }+ },"node_modules/unraw": {"version": "3.0.0","resolved": "https://registry.npmjs.org/unraw/-/unraw-3.0.0.tgz",@@ -12674,6 +13857,21 @@"loose-envify": "^1.0.0"}},+ "node_modules/watchpack": {+ "version": "2.4.4",+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.4.tgz",+ "integrity": "sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.1.2"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },"node_modules/web-namespaces": {"version": "2.0.1","resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz",@@ -12703,6 +13901,136 @@"node": ">=12"}},+ "node_modules/webpack": {+ "version": "5.101.3",+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.101.3.tgz",+ "integrity": "sha512-7b0dTKR3Ed//AD/6kkx/o7duS8H3f1a4w3BYpIriX4BzIhjkn4teo05cptsxvLesHFKK5KObnadmCHBwGc+51A==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/eslint-scope": "^3.7.7",+ "@types/estree": "^1.0.8",+ "@types/json-schema": "^7.0.15",+ "@webassemblyjs/ast": "^1.14.1",+ "@webassemblyjs/wasm-edit": "^1.14.1",+ "@webassemblyjs/wasm-parser": "^1.14.1",+ "acorn": "^8.15.0",+ "acorn-import-phases": "^1.0.3",+ "browserslist": "^4.24.0",+ "chrome-trace-event": "^1.0.2",+ "enhanced-resolve": "^5.17.3",+ "es-module-lexer": "^1.2.1",+ "eslint-scope": "5.1.1",+ "events": "^3.2.0",+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.2.11",+ "json-parse-even-better-errors": "^2.3.1",+ "loader-runner": "^4.2.0",+ "mime-types": "^2.1.27",+ "neo-async": "^2.6.2",+ "schema-utils": "^4.3.2",+ "tapable": "^2.1.1",+ "terser-webpack-plugin": "^5.3.11",+ "watchpack": "^2.4.1",+ "webpack-sources": "^3.3.3"+ },+ "bin": {+ "webpack": "bin/webpack.js"+ },+ "engines": {+ "node": ">=10.13.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ },+ "peerDependenciesMeta": {+ "webpack-cli": {+ "optional": true+ }+ }+ },+ "node_modules/webpack-sources": {+ "version": "3.3.3",+ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.3.tgz",+ "integrity": "sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/webpack/node_modules/@types/estree": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/webpack/node_modules/ajv": {+ "version": "8.17.1",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",+ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "fast-deep-equal": "^3.1.3",+ "fast-uri": "^3.0.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/webpack/node_modules/ajv-keywords": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz",+ "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "fast-deep-equal": "^3.1.3"+ },+ "peerDependencies": {+ "ajv": "^8.8.2"+ }+ },+ "node_modules/webpack/node_modules/json-schema-traverse": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",+ "dev": true,+ "license": "MIT",+ "peer": true+ },+ "node_modules/webpack/node_modules/schema-utils": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.2.tgz",+ "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "@types/json-schema": "^7.0.9",+ "ajv": "^8.9.0",+ "ajv-formats": "^2.1.1",+ "ajv-keywords": "^5.1.0"+ },+ "engines": {+ "node": ">= 10.13.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ }+ },"node_modules/whatwg-mimetype": {"version": "3.0.0","resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz",@@ -13371,7 +14699,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz","integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",- "devOptional": true,"license": "ISC"},"node_modules/y18n": {@@ -13428,6 +14755,17 @@"node": ">=12"}},+ "node_modules/yauzl": {+ "version": "2.10.0",+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",+ "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",+ "license": "MIT",+ "peer": true,+ "dependencies": {+ "buffer-crc32": "~0.2.3",+ "fd-slicer": "~1.1.0"+ }+ },"node_modules/zod": {"version": "3.25.67","resolved": "https://registry.npmjs.org/zod/-/zod-3.25.67.tgz",diff --git a/apps/web/package.json b/apps/web/package.jsonindex 3d5bf9535..cbd77ad19 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -8,7 +8,6 @@"repository": "https://github.com/streetwriters/notesnook","license": "GPL-3.0-or-later","dependencies": {- "@brixtol/currency-symbols": "^1.1.1","@dnd-kit/core": "^6.1.0","@dnd-kit/modifiers": "^7.0.0","@dnd-kit/sortable": "^8.0.0",diff --git a/apps/web/src/common/currencies.ts b/apps/web/src/common/currencies.tsnew file mode 100644index 000000000..a14222d0a--- /dev/null+++ b/apps/web/src/common/currencies.ts@@ -0,0 +1,213 @@+/*+This file is part of the Notesnook project (https://notesnook.com/)++Copyright (C) 2023 Streetwriters (Private) Limited++This program is free software: you can redistribute it and/or modify+it under the terms of the GNU General Public License as published by+the Free Software Foundation, either version 3 of the License, or+(at your option) any later version.++This program is distributed in the hope that it will be useful,+but WITHOUT ANY WARRANTY; without even the implied warranty of+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+GNU General Public License for more details.++You should have received a copy of the GNU General Public License+along with this program. If not, see <http://www.gnu.org/licenses/>.+*/++const currencyMap = {+ AED: "د.إ",+ AFN: "؋",+ ALL: "L",+ AMD: "֏",+ ANG: "ƒ",+ AOA: "Kz",+ ARS: "$",+ AUD: "$",+ AWG: "ƒ",+ AZN: "₼",+ BAM: "KM",+ BBD: "$",+ BDT: "৳",+ BGN: "лв",+ BHD: ".د.ب",+ BIF: "FBu",+ BMD: "$",+ BND: "$",+ BOB: "$b",+ BOV: "BOV",+ BRL: "R$",+ BSD: "$",+ BTC: "₿",+ BTN: "Nu.",+ BWP: "P",+ BYN: "Br",+ BYR: "Br",+ BZD: "BZ$",+ CAD: "$",+ CDF: "FC",+ CHE: "CHE",+ CHF: "CHF",+ CHW: "CHW",+ CLF: "CLF",+ CLP: "$",+ CNH: "¥",+ CNY: "¥",+ COP: "$",+ COU: "COU",+ CRC: "₡",+ CUC: "$",+ CUP: "₱",+ CVE: "$",+ CZK: "Kč",+ DJF: "Fdj",+ DKK: "kr",+ DOP: "RD$",+ DZD: "دج",+ EEK: "kr",+ EGP: "£",+ ERN: "Nfk",+ ETB: "Br",+ ETH: "Ξ",+ EUR: "€",+ FJD: "$",+ FKP: "£",+ GBP: "£",+ GEL: "₾",+ GGP: "£",+ GHC: "₵",+ GHS: "GH₵",+ GIP: "£",+ GMD: "D",+ GNF: "FG",+ GTQ: "Q",+ GYD: "$",+ HKD: "$",+ HNL: "L",+ HRK: "kn",+ HTG: "G",+ HUF: "Ft",+ IDR: "Rp",+ ILS: "₪",+ IMP: "£",+ INR: "₹",+ IQD: "ع.د",+ IRR: "﷼",+ ISK: "kr",+ JEP: "£",+ JMD: "J$",+ JOD: "JD",+ JPY: "¥",+ KES: "KSh",+ KGS: "лв",+ KHR: "៛",+ KMF: "CF",+ KPW: "₩",+ KRW: "₩",+ KWD: "KD",+ KYD: "$",+ KZT: "₸",+ LAK: "₭",+ LBP: "£",+ LKR: "₨",+ LRD: "$",+ LSL: "M",+ LTC: "Ł",+ LTL: "Lt",+ LVL: "Ls",+ LYD: "LD",+ MAD: "MAD",+ MDL: "lei",+ MGA: "Ar",+ MKD: "ден",+ MMK: "K",+ MNT: "₮",+ MOP: "MOP$",+ MRO: "UM",+ MRU: "UM",+ MUR: "₨",+ MVR: "Rf",+ MWK: "MK",+ MXN: "$",+ MXV: "MXV",+ MYR: "RM",+ MZN: "MT",+ NAD: "$",+ NGN: "₦",+ NIO: "C$",+ NOK: "kr",+ NPR: "₨",+ NZD: "$",+ OMR: "﷼",+ PAB: "B/.",+ PEN: "S/.",+ PGK: "K",+ PHP: "₱",+ PKR: "₨",+ PLN: "zł",+ PYG: "Gs",+ QAR: "﷼",+ RMB: "¥",+ RON: "lei",+ RSD: "Дин.",+ RUB: "₽",+ RWF: "R₣",+ SAR: "﷼",+ SBD: "$",+ SCR: "₨",+ SDG: "ج.س.",+ SEK: "kr",+ SGD: "S$",+ SHP: "£",+ SLL: "Le",+ SOS: "S",+ SRD: "$",+ SSP: "£",+ STD: "Db",+ STN: "Db",+ SVC: "$",+ SYP: "£",+ SZL: "E",+ THB: "฿",+ TJS: "SM",+ TMT: "T",+ TND: "د.ت",+ TOP: "T$",+ TRL: "₤",+ TRY: "₺",+ TTD: "TT$",+ TVD: "$",+ TWD: "NT$",+ TZS: "TSh",+ UAH: "₴",+ UGX: "USh",+ USD: "$",+ UYI: "UYI",+ UYU: "$U",+ UYW: "UYW",+ UZS: "лв",+ VEF: "Bs",+ VES: "Bs.S",+ VND: "₫",+ VUV: "VT",+ WST: "WS$",+ XAF: "FCFA",+ XBT: "Ƀ",+ XCD: "$",+ XOF: "CFA",+ XPF: "₣",+ XSU: "Sucre",+ XUA: "XUA",+ YER: "﷼",+ ZAR: "R",+ ZMW: "ZK",+ ZWD: "Z$",+ ZWL: "$"+};+export function getCurrencySymbol(currency: string): string {+ return (+ currencyMap[currency.toUpperCase() as keyof typeof currencyMap] || currency+ );+}diff --git a/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx b/apps/web/src/dialogs/buy-dialog/buy-dialog.tsxindex 3e1c60de5..ece9465bc 100644--- a/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx+++ b/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx@@ -35,7 +35,7 @@ import {PlansList} from "./plan-list";import { useCheckoutStore } from "./store";-import { getCurrencySymbol, toPricingInfo } from "./helpers";+import { toPricingInfo } from "./helpers";import { isUserSubscribed } from "../../hooks/use-is-user-premium";import BaseDialog from "../../components/dialog";import { ScopedThemeProvider } from "../../components/theme-provider";@@ -45,6 +45,7 @@ import dayjs from "dayjs";import { PromptDialog } from "../prompt";import IconTag from "../../components/icon-tag";import { usePromise } from "@notesnook/common";+import { getCurrencySymbol } from "../../common/currencies";type BuyDialogProps = BaseDialogProps<false> & {couponCode?: string;@@ -339,8 +340,6 @@ export function CheckoutPricing(props: CheckoutPricingProps) {const { pricingInfo } = props;const { price } = pricingInfo;- const currentTotal = price.total;-const [isApplyingCoupon, setIsApplyingCoupon] = useCheckoutStore((store) => [store.isApplyingCoupon,store.setIsApplyingCoupon@@ -409,13 +408,13 @@ export function CheckoutPricing(props: CheckoutPricingProps) {</Text>) : (<Text variant="body" color="heading">- {pricingInfo.price.total}+ {pricingInfo.price.subtotal}</Text>)}</Flex>- <Box sx={{ width: "2px", bg: "border", height: "20px" }} />{pricingInfo.price.trial_period ? (<>+ <Box sx={{ width: "2px", bg: "border", height: "20px" }} /><Flex sx={{ justifyContent: "space-between" }}><Flex sx={{ flexDirection: "column" }}><Text variant="body" color="heading">@@ -429,50 +428,57 @@ export function CheckoutPricing(props: CheckoutPricingProps) {</Text></Flex><Text variant="body" color="heading">- {pricingInfo.price.total}+ {pricingInfo.price.subtotal}</Text></Flex>- <Box sx={{ width: "2px", bg: "border", height: "20px" }} /></>) : null}- <Flex sx={{ justifyContent: "space-between" }}>- <Flex sx={{ flexDirection: "column" }}>- <Text variant="body" color="heading">- {pricingInfo.period === "monthly"- ? "Next month"- : pricingInfo.period === "yearly"- ? "Next year"- : dayjs()- .add(5, "year")- .add(pricingInfo.price.trial_period?.frequency || 0, "days")- .format("YYYY-MM-DD")}- </Text>- {pricingInfo.period === "monthly" ||- pricingInfo.period === "yearly" ? (- <Text variant="subBody">- {pricingInfo.period === "monthly"- ? dayjs()- .add(1, "month")- .add(- pricingInfo.price.trial_period?.frequency || 0,- "days"- )- .format("YYYY-MM-DD")- : dayjs()- .add(1, "year")- .add(- pricingInfo.price.trial_period?.frequency || 0,- "days"- )- .format("YYYY-MM-DD")}+ {pricingInfo.recurringPrice ? (+ <>+ <Box sx={{ width: "2px", bg: "border", height: "20px" }} />+ <Flex sx={{ justifyContent: "space-between" }}>+ <Flex sx={{ flexDirection: "column" }}>+ <Text variant="body" color="heading">+ {pricingInfo.period === "monthly"+ ? "Next month"+ : pricingInfo.period === "yearly"+ ? "Next year"+ : dayjs()+ .add(5, "year")+ .add(+ pricingInfo.price.trial_period?.frequency || 0,+ "days"+ )+ .format("YYYY-MM-DD")}+ </Text>+ {pricingInfo.period === "monthly" ||+ pricingInfo.period === "yearly" ? (+ <Text variant="subBody">+ {pricingInfo.period === "monthly"+ ? dayjs()+ .add(1, "month")+ .add(+ pricingInfo.price.trial_period?.frequency || 0,+ "days"+ )+ .format("YYYY-MM-DD")+ : dayjs()+ .add(1, "year")+ .add(+ pricingInfo.price.trial_period?.frequency || 0,+ "days"+ )+ .format("YYYY-MM-DD")}+ </Text>+ ) : null}+ </Flex>+ <Text variant="body" color="heading">+ {pricingInfo.recurringPrice.subtotal}</Text>- ) : null}- </Flex>- <Text variant="body" color="heading">- {pricingInfo.recurringPrice.total}- </Text>- </Flex>+ </Flex>+ </>+ ) : null}</Flex><Flexsx={{@@ -565,7 +571,7 @@ export function CheckoutPricing(props: CheckoutPricingProps) {variant="title"sx={{ textAlign: "end" }}>- {currentTotal}+ {price.total}</Text>)}</Flex>diff --git a/apps/web/src/dialogs/buy-dialog/change-plan-dialog.tsx b/apps/web/src/dialogs/buy-dialog/change-plan-dialog.tsxindex 9ed585b20..ce3c7d62b 100644--- a/apps/web/src/dialogs/buy-dialog/change-plan-dialog.tsx+++ b/apps/web/src/dialogs/buy-dialog/change-plan-dialog.tsx@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import { DialogManager } from "../../common/dialog-manager";import BaseDialog from "../../components/dialog";import { Flex, Text } from "@theme-ui/components";-import { getCurrencySymbol } from "./helpers";import { getAllPlans, PERIOD_METADATA, PLAN_METADATA } from "./plans";import { SelectComponent } from "../settings";import { useStore as useUserStore } from "../../stores/user-store";@@ -31,6 +30,7 @@ import { showToast } from "../../utils/toast";import { usePromise } from "@notesnook/common";import { ErrorText } from "../../components/error-text";import { Loading } from "../../components/icons";+import { getCurrencySymbol } from "../../common/currencies";export type ChangePlanDialogProps = {onClose: () => void;diff --git a/apps/web/src/dialogs/buy-dialog/helpers.ts b/apps/web/src/dialogs/buy-dialog/helpers.tsindex 338840292..e58451abe 100644--- a/apps/web/src/dialogs/buy-dialog/helpers.ts+++ b/apps/web/src/dialogs/buy-dialog/helpers.ts@@ -17,19 +17,12 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import {- getCurrencySymbol as _getSymbol,- ICurrencySymbols-} from "@brixtol/currency-symbols";import { getFeature } from "@notesnook/common";import { Period, Plan, SubscriptionPlan, User } from "@notesnook/core";import { PricingInfo } from "./types";-import dayjs from "dayjs";+import { getCurrencySymbol } from "../../common/currencies";export const IS_DEV = import.meta.env.DEV || IS_TESTING;-export function getCurrencySymbol(currency: string) {- return _getSymbol(currency as keyof ICurrencySymbols) || currency;-}export function parseAmount(amount: string) {const matches = /(.+?)([\d.]+)/.exec(amount);@@ -57,6 +50,7 @@ const TRIAL_PERIODS: Record<Period, number> = {};export function toPricingInfo(plan: Plan, user: User | undefined): PricingInfo {+ console.log("TO PRICING INFO", plan);return {country: plan.country,period: plan.period,@@ -64,9 +58,9 @@ export function toPricingInfo(plan: Plan, user: User | undefined): PricingInfo {currency: plan.currency,id: plan.id,period: plan.period,- subtotal: `${getCurrencySymbol(plan.currency)}${plan.price.net}`,- tax: `${getCurrencySymbol(plan.currency)}${plan.price.tax}`,- total: `${getCurrencySymbol(plan.currency)}${plan.price.gross}`,+ subtotal: formatPrice(plan.price.gross, plan.currency),+ tax: formatPrice(plan.price.tax, plan.currency),+ total: formatPrice(plan.price.net, plan.currency),trial_period: isTrialAvailableForPlan(plan.plan, user)? {frequency: TRIAL_PERIODS[plan.period]@@ -75,14 +69,16 @@ export function toPricingInfo(plan: Plan, user: User | undefined): PricingInfo {},discount: plan.discount,coupon: plan.discount?.code,- recurringPrice: {- currency: plan.currency,- id: plan.id,- period: plan.period,- subtotal: `${getCurrencySymbol(plan.currency)}${plan.price.net}`,- tax: `${getCurrencySymbol(plan.currency)}${plan.price.tax}`,- total: `${getCurrencySymbol(plan.currency)}${plan.price.gross}`- }+ recurringPrice: plan.recurring+ ? {+ currency: plan.currency,+ id: plan.id,+ period: plan.period,+ subtotal: formatPrice(plan.price.gross, plan.currency),+ tax: formatPrice(plan.price.tax, plan.currency),+ total: formatPrice(plan.price.net, plan.currency)+ }+ : undefined};}@@ -90,8 +86,13 @@ export function isTrialAvailableForPlan(plan: SubscriptionPlan,user: User | undefined) {+ if (plan === SubscriptionPlan.EDUCATION) return false;return (!user?.subscription.trialsAvailed ||!user?.subscription.trialsAvailed?.includes(plan));}++export function formatPrice(price: number, currency: string) {+ return `${getCurrencySymbol(currency)}${price.toFixed(2)}`;+}diff --git a/apps/web/src/dialogs/buy-dialog/paddle.tsx b/apps/web/src/dialogs/buy-dialog/paddle.tsxindex 401e2846f..4390c6b85 100644--- a/apps/web/src/dialogs/buy-dialog/paddle.tsx+++ b/apps/web/src/dialogs/buy-dialog/paddle.tsx@@ -20,21 +20,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import { useEffect, useState, useRef, useCallback } from "react";import { Flex } from "@theme-ui/components";import { Loader } from "../../components/loader";-import { PaddleEvent, Plan, Price, PricingInfo } from "./types";+import { PaddleEvent, Plan, PricingInfo } from "./types";import { ScrollContainer } from "@notesnook/ui";import useMobile from "../../hooks/use-mobile";import {AvailablePaymentMethod,CheckoutEventNames,CheckoutOpenLineItem,- CurrencyCode,- Totals,- Product,CheckoutEventsCustomerAddress,CheckoutEventsData} from "@paddle/paddle-js";import { isFeatureSupported } from "../../utils/feature-check";-import { IS_DEV, parseAmount } from "./helpers";+import { formatPrice, IS_DEV } from "./helpers";import { CheckoutCustomerUserInfo } from "@paddle/paddle-js/types/checkout/customer";import { logger } from "../../utils/logger";import { Period } from "@notesnook/core";@@ -102,9 +99,10 @@ export function PaddleCheckout(props: PaddleCheckoutProps) {createCheckout({ theme, user, coupon, plan }).then(async (checkoutData) => {if (!checkoutData) return;- const pricingInfo = await getPrice(plan, {+ const pricingInfo = getPricingInfo(checkoutData, {currencyCode: checkoutData.currency_code,- discount: checkoutData.discount,+ period: plan.period,+ discountCode: coupon,countryCode: checkoutData.customer?.address?.country_code});if (!pricingInfo) return;@@ -142,18 +140,15 @@ export function PaddleCheckout(props: PaddleCheckoutProps) {if (event_name === CheckoutEventNames.CHECKOUT_LOADED) {setIsLoading(false);}- console.log(callback_data);+ console.log(callback_data.data);addressRef.current = callback_data.data.customer?.address || undefined;- const pricingInfo = await getPrice(plan, {+ const pricingInfo = getPricingInfo(callback_data.data, {+ period: plan.period,currencyCode: callback_data.data.currency_code,- discount: callback_data.data.discount,+ discountCode: coupon,countryCode: callback_data.data.customer?.address?.country_code});- if (!pricingInfo) return;-- pricingInfo.invalidCoupon =- !!props.coupon && !callback_data.data.discount;if (onPriceUpdated) onPriceUpdated(pricingInfo);appliedCouponCode.current = pricingInfo.coupon;checkoutDataRef.current = callback_data.data || checkoutDataRef.current;@@ -162,7 +157,7 @@ export function PaddleCheckout(props: PaddleCheckoutProps) {return () => {window.removeEventListener("message", onMessage, false);};- }, [onPriceUpdated, plan, props.coupon, onCompleted]);+ }, [onPriceUpdated, plan, coupon, onCompleted]);return (<ScrollContainer@@ -215,143 +210,54 @@ function getCheckoutURL(id: string, theme: PaddleCheckoutProps["theme"]) {}type PriceOptions = {+ period: Period;currencyCode: string;- discount?: { id: string; code: string };+ discountCode?: string;countryCode?: string;};-export async function getPrice(plan: Plan, data: PriceOptions) {- const response = await fetch(`${PADDLE_API}/pricing-preview`, {- method: "POST",- body: JSON.stringify({- items: [- {- quantity: 1,- price_id: plan.id- }- ],- currency_code: data.currencyCode,- discount_id: data.discount?.id- }),- headers: {- "Content-Type": "application/json",- Accept: "application/json",- "Paddle-Clienttoken": CLIENT_PADDLE_TOKEN- }- });- if (!response.ok) return false;- const json = (await response.json()) as PricePreviewResponse;- console.log(json);- return getPricingInfo(json.data, plan.period, data);-}function getPricingInfo(- price: PricePreviewResponse["data"],- period: Period,+ data: CheckoutEventsData,options: PriceOptions): PricingInfo {- const {- discounts,- formatted_totals: totals,- totals: _totals,- price: _price,- tax_rate- } = price.details.line_items[0];- const discount = discounts[0];- const isRecurring = !discount || discount.discount.recur;- const totalsWithoutDiscount: Totals = { ...totals };- if (discount) {- const taxRate = parseFloat(tax_rate);- const tax = parseInt(_totals.subtotal) * taxRate;- const total = parseInt(_totals.subtotal) + tax;- const { symbol = price.currency_code } = parseAmount(totals.subtotal) || {};- totalsWithoutDiscount.discount = `${symbol}0.00`;- totalsWithoutDiscount.subtotal = totals.subtotal;- totalsWithoutDiscount.tax = `${symbol}${(tax / 100).toFixed(2)}`;- totalsWithoutDiscount.total = `${symbol}${(total / 100).toFixed(2)}`;- }+ const isRecurringDiscount = !!data.recurring_totals?.discount;+ const price = data.items[0];return {country: options.countryCode || "US",- discount: discount+ period: options.period,+ coupon: data.discount?.code,+ invalidCoupon: !!options.discountCode && !data.discount,+ discount:+ data.totals.discount > 0+ ? {+ recurring: isRecurringDiscount,+ type: "promo",+ code: data.discount?.code,+ amount: data.totals.discount+ }+ : undefined,+ recurringPrice: data.recurring_totals? {- recurring: isRecurring,- amount: 0,- type: "promo"+ currency: data.currency_code,+ id: price.price_id,+ period: options.period,+ subtotal: formatPrice(+ data.recurring_totals.subtotal,+ data.currency_code+ ),+ total: formatPrice(data.recurring_totals.total, data.currency_code),+ tax: formatPrice(data.recurring_totals.tax, data.currency_code)}: undefined,- period,price: {- id: _price.id,- period,- currency: options.currencyCode,- ...totals,- trial_period: _price.trial_period- },- recurringPrice: {- id: _price.id,- period,- currency: options.currencyCode,- ...totalsWithoutDiscount- },- coupon: options.discount?.code- };-}--interface Discount {- id: string;- status: "active" | "archived" | "expired" | "used";- description: string;- enabled_for_checkout: boolean;- code: string | null;- type: "flat" | "flat_per_seat" | "percentage";- amount: string;- currency_code: CurrencyCode | null;- recur: boolean;- maximum_recurring_intervals: number | null;- usage_limit: number | null;- restrict_to: string[] | null;- expires_at: string | null;- times_used: number;- created_at: string;- updated_at: string;-}--interface DiscountLineItem {- discount: Discount;- total: string;- formatted_total: string;-}--interface LineItem {- price: Price;- quantity: number;- tax_rate: string;- unit_totals: Totals;- formatted_unit_totals: Totals;- totals: Totals;- formatted_totals: Totals;- product: Product;- discounts: DiscountLineItem[];-}-interface PricePreviewResponse {- data: {- customer_id: string | null;- address_id: string | null;- business_id: string | null;- currency_code: CurrencyCode;- address: {- country_code: string;- postal_code: string | null;- } | null;- customer_ip_address: string | null;- discount_id: string | null;- details: {- line_items: LineItem[];- };- availablePaymentMethods: AvailablePaymentMethod[];+ currency: data.currency_code,+ id: price.price_id,+ period: options.period,+ subtotal: formatPrice(data.totals.subtotal, data.currency_code),+ total: formatPrice(data.totals.total, data.currency_code),+ tax: formatPrice(data.totals.tax, data.currency_code)+ }};- // meta: {- // requestId: string;- // };}enum THEME {@@ -436,12 +342,18 @@ async function createCheckout(props: {const response = await fetch(`${CHECKOUT_SERVICE}/transaction-checkout`, {method: "POST",body: JSON.stringify({- data: {- custom_data: JSON.stringify({ userId: user.id }),- customer: { email: user.email },- items: [{ price_id: plan.id, quantity: 1 }],- settings: getCheckoutSettings(theme)- }+ data: plan.transactionId+ ? {+ custom_data: JSON.stringify({ userId: user.id }),+ transaction_id: plan.transactionId,+ settings: getCheckoutSettings(theme)+ }+ : {+ custom_data: JSON.stringify({ userId: user.id }),+ customer: { email: user.email },+ items: [{ price_id: plan.id, quantity: 1 }],+ settings: getCheckoutSettings(theme)+ }}),headers: {"Content-Type": "application/json",@@ -453,6 +365,8 @@ async function createCheckout(props: {const json = (await response.json()) as CheckoutDataResponse;let checkoutData = json.data;+ if (plan.transactionId) return checkoutData;+const checkoutId = checkoutData.id;checkoutData = await submitCustomerInfo(diff --git a/apps/web/src/dialogs/buy-dialog/plan-list.tsx b/apps/web/src/dialogs/buy-dialog/plan-list.tsxindex 54d452ba1..b1d686137 100644--- a/apps/web/src/dialogs/buy-dialog/plan-list.tsx+++ b/apps/web/src/dialogs/buy-dialog/plan-list.tsx@@ -22,11 +22,7 @@ import { CheckCircleOutline, Loading } from "../../components/icons";import { Plan } from "./types";import { PERIOD_METADATA, PLAN_METADATA, usePlans } from "./plans";import { useState } from "react";-import {- FEATURE_HIGHLIGHTS,- getCurrencySymbol,- isTrialAvailableForPlan-} from "./helpers";+import { FEATURE_HIGHLIGHTS, isTrialAvailableForPlan } from "./helpers";import { strings } from "@notesnook/intl";import { Period, SubscriptionPlan } from "@notesnook/core";import Cameron from "../../assets/testimonials/cameron.jpg";@@ -43,6 +39,7 @@ import { getFeaturesTable, planToAvailability } from "@notesnook/common";import { FeatureCaption } from "./feature-caption";import Accordion from "../../components/accordion";import { useStore as useUserStore } from "../../stores/user-store";+import { getCurrencySymbol } from "../../common/currencies";type PlansListProps = {selectedPlan: SubscriptionPlan;diff --git a/apps/web/src/dialogs/buy-dialog/plans.ts b/apps/web/src/dialogs/buy-dialog/plans.tsindex a41e838ed..caed20670 100644--- a/apps/web/src/dialogs/buy-dialog/plans.ts+++ b/apps/web/src/dialogs/buy-dialog/plans.ts@@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import { useEffect, useState } from "react";import { Plan, PlanMetadata } from "./types";import { Period, set, SubscriptionPlan } from "@notesnook/core";import { strings } from "@notesnook/intl";diff --git a/apps/web/src/dialogs/buy-dialog/types.ts b/apps/web/src/dialogs/buy-dialog/types.tsindex 226143f4f..e3354537a 100644--- a/apps/web/src/dialogs/buy-dialog/types.ts+++ b/apps/web/src/dialogs/buy-dialog/types.ts@@ -71,6 +71,8 @@ export interface Plan {originalPrice?: PlanPrice;discount?: Discount;country: string;++ transactionId?: string;}export interface Price {@@ -91,7 +93,7 @@ export type PricingInfo = {// currency: string;price: Price;period: Period;- recurringPrice: Price;+ recurringPrice?: Price;discount?: Discount;coupon?: string;invalidCoupon?: boolean;diff --git a/apps/web/src/dialogs/buy-dialog/upgrade-dialog.tsx b/apps/web/src/dialogs/buy-dialog/upgrade-dialog.tsxindex cff5989d6..5d45c8b11 100644--- a/apps/web/src/dialogs/buy-dialog/upgrade-dialog.tsx+++ b/apps/web/src/dialogs/buy-dialog/upgrade-dialog.tsx@@ -26,13 +26,13 @@ import { DialogManager } from "../../common/dialog-manager";import BaseDialog from "../../components/dialog";import { SubscriptionPlan } from "@notesnook/core";import { Button, Flex, Text } from "@theme-ui/components";-import { getCurrencySymbol } from "./helpers";import { FeatureCaption } from "./feature-caption";import { PERIOD_METADATA, PLAN_METADATA, usePlans } from "./plans";import { formatRecurringPeriodShort } from "./plan-list";import { useCheckoutStore } from "./store";import { BuyDialog } from "./buy-dialog";import { ErrorText } from "../../components/error-text";+import { getCurrencySymbol } from "../../common/currencies";export type UpgradeDialogProps = {feature: FeatureResult<any>;diff --git a/apps/web/src/dialogs/settings/subscription-settings.ts b/apps/web/src/dialogs/settings/subscription-settings.tsindex fffef3dbe..e148ce1cc 100644--- a/apps/web/src/dialogs/settings/subscription-settings.ts+++ b/apps/web/src/dialogs/settings/subscription-settings.ts@@ -56,6 +56,7 @@ export const SubscriptionSettings: SettingsGroup[] = [const status = user?.subscription.status;return (user?.subscription.provider !== SubscriptionProvider.PADDLE ||+ user?.subscription.plan === SubscriptionPlan.EDUCATION ||!isUserSubscribed(user) ||status === SubscriptionStatusEnum.EXPIRED ||status === SubscriptionStatusEnum.TRIAL ||@@ -91,6 +92,7 @@ export const SubscriptionSettings: SettingsGroup[] = [const status = user?.subscription.status;return (user?.subscription.plan === SubscriptionPlan.LEGACY_PRO ||+ user?.subscription.plan === SubscriptionPlan.EDUCATION ||user?.subscription.provider !== SubscriptionProvider.PADDLE ||!isUserSubscribed(user) ||status === SubscriptionStatusEnum.CANCELED ||@@ -197,8 +199,7 @@ export const SubscriptionSettings: SettingsGroup[] = [const user = useUserStore.getState().user;return (user?.subscription.provider !== SubscriptionProvider.PADDLE ||- !isUserSubscribed(user) ||- user.subscription.plan === SubscriptionPlan.EDUCATION+ !isUserSubscribed(user));},components: [diff --git a/apps/web/src/views/checkout.tsx b/apps/web/src/views/checkout.tsxindex c671cb581..e1c9804b9 100644--- a/apps/web/src/views/checkout.tsx+++ b/apps/web/src/views/checkout.tsx@@ -55,12 +55,14 @@ const PlanSchema = z.object({}),currency: z.string(),currencySymbol: z.string().optional(),- originalPrice: z.object({- gross: z.number(),- net: z.number(),- tax: z.number(),- currency: z.string().optional()- }),+ originalPrice: z+ .object({+ gross: z.number(),+ net: z.number(),+ tax: z.number(),+ currency: z.string().optional()+ })+ .optional(),discount: z.object({type: z.enum(["regional", "promo"]),@@ -70,6 +72,7 @@ const PlanSchema = z.object({}).optional(),country: z.string(),+ transactionId: z.string().optional(),customer: z.object({id: z.string(),@@ -91,6 +94,8 @@ function Checkout() {}, []);useEffect(() => {+ if (!plan) return;+const pricingInfo = PlanSchema.safeParse(JSON.parse(Buffer.from(plan, "base64").toString("utf-8")));