├── .babelrc
├── .eslintignore
├── .eslintrc.cjs
├── .gitignore
├── .prettierignore
├── .prettierrc.json
├── LICENSE.md
├── README.md
├── images
├── discord_colored_header.png
├── discord_colored_text.png
├── discord_default.png
├── introduction.png
├── limitations.png
├── logo.png
└── reviewns.png
├── package-lock.json
├── package.json
├── rollup.config.js
└── src
├── components
├── Bio.js
├── BlockedMessage.js
├── ColorMessageContent.js
├── ColorMessageHeader.js
├── DataPanelBio.js
├── HeaderPKBadge.js
├── LoadingMessageHeader.js
├── MessageContentProxy.js
├── MessageHeaderProxy.js
├── MessageProxy.js
├── PopoutBio.js
└── PopoutPKBadge.js
├── contrast.js
├── data.js
├── edit.js
├── eula.js
├── header.js
├── main.js
├── messages.js
├── popout.js
├── profiles.js
├── settingsPanel.js
├── styles.css
├── styles.js
├── update.js
└── utility.js
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["@babel/preset-react"]
3 | }
4 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
--------------------------------------------------------------------------------
/.eslintrc.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | env: {
3 | browser: true,
4 | commonjs: true,
5 | es2021: true,
6 | },
7 | extends: ['eslint:recommended', 'plugin:react/recommended'],
8 | overrides: [
9 | {
10 | env: {
11 | node: true,
12 | },
13 | files: ['.eslintrc.{js,cjs}'],
14 | parserOptions: {
15 | sourceType: 'script',
16 | },
17 | },
18 | ],
19 | parserOptions: {
20 | ecmaVersion: 'latest',
21 | sourceType: 'module',
22 | },
23 | plugins: ['react'],
24 | rules: {
25 | 'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }],
26 | 'react/prop-types': ['off'],
27 | 'react/jsx-key': ['off'],
28 | 'react/jsx-no-target-blank': ['off'],
29 | },
30 | globals: {
31 | BdApi: 'readonly',
32 | },
33 | settings: {
34 | react: {
35 | version: '18.2.0',
36 | },
37 | },
38 | };
39 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | dist
2 | node_modules
3 | logs
4 | justfile
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | dist
2 | node_modules
--------------------------------------------------------------------------------
/.prettierrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "arrowParens": "avoid",
3 | "bracketSpacing": true,
4 | "printWidth": 120,
5 | "proseWrap": "always",
6 | "semi": true,
7 | "singleQuote": true,
8 | "tabWidth": 2,
9 | "trailingComma": "all",
10 | "useTabs": false,
11 | "jsxSingleQuote": true
12 | }
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Ash Taylor
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
(PluralKit integration for BetterDiscord)
2 |
3 | ---
4 |
5 |
6 |
7 | Hey! Is your head FULL OF PEOPLE? Are you an avid PLURALKIT USER? Does seeing plain white usernames, broken profile popups and BOT
tags all day make you want to BREAK THINGS? Then PLURALCHUM is the plugin for you!
8 |
9 | - [ Download -
10 | Changelog -
11 | Twitter ] -
12 |
13 |
14 | ---
15 |
16 |
17 |
18 |
19 | PluralKit is great. It helps untold numbers of systems communicate over Discord, providing them with robust tools for self-expression. It's an invaluable resource for plural folk on the internet. But as you may have noticed... It looks a bit crap, right?
20 |
21 |
22 |
23 | These limitations aren't PK's fault. The bot uses webhooks to create proxy messages, which Discord just doesn't give features like custom name colours to. Nothing to do about it, unfortunately.
24 |
25 | Except, of course, if you could mod the client. Enter Pluralchum .
26 |
27 |
28 |
29 | Pluralchum is a plugin for BetterDiscord that utilizes PluralKit's web API to provide better integration for proxied messages.
30 | It brings features like coloured member names and system tags, optional text colouring, a special PK
badge for proxied messages, and much* more!
31 |
32 | *not actually that much right now but i'm working on it okay
33 |
34 |
35 |
36 |
37 | ---
38 |
39 |
40 |
41 | Yeah, it's not perfect. I tried my best, but I am categorically not a web developer. I'm always looking to make it better, and some of these will likely be fixed in due time, but, y'know, be aware of them.
42 |
43 |
44 | - Major limitations -
45 |
46 |
47 | 1. Member colours aren't updated when changed.
48 | PC has no way of knowing when a member's colour changes. It only gets that information when it asks for an update from PK in the first place!
49 |
50 | As a workaround, you can click the PK badge next to a user to request a member info update manually.
51 |
52 |
53 | Beyond that, there are likely to be loads of bugs and small issues I haven't spotted. Please don't hesitate to submit an issue if something's wrong, and any contributions are greatly appreciated! (I apologize for my code.)
54 |
55 |
56 | ---
57 |
58 |
59 |
60 |
61 | "This is great!" - The Entire Cast of Homestuck Several Times Over
62 | "This is gr8!" - Oh, You Know
63 | "this shitty plugin's crashed my discord like 5 times" - Satisfied Customer
64 | "I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT I HATE JAVASCRIPT"
65 | - Unsatisfied Programmer
66 | "this is just like chordioid" - Unsubtle Plug
67 | "I've embedded a virus in this code that will cause your computer to explode in thirty seconds. Run." -Dirk Strider
68 |
69 |
70 | ---
71 |
72 |
73 | disclaimer: i made all of these quotes up because i thought it would be mildly funny except dirk's that one is real
74 | - by ash taylor -
75 |
--------------------------------------------------------------------------------
/images/discord_colored_header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/estroBiologist/pluralchum/70e36fc2babc4cf04b3b35db2ee9e804d5ca75c7/images/discord_colored_header.png
--------------------------------------------------------------------------------
/images/discord_colored_text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/estroBiologist/pluralchum/70e36fc2babc4cf04b3b35db2ee9e804d5ca75c7/images/discord_colored_text.png
--------------------------------------------------------------------------------
/images/discord_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/estroBiologist/pluralchum/70e36fc2babc4cf04b3b35db2ee9e804d5ca75c7/images/discord_default.png
--------------------------------------------------------------------------------
/images/introduction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/estroBiologist/pluralchum/70e36fc2babc4cf04b3b35db2ee9e804d5ca75c7/images/introduction.png
--------------------------------------------------------------------------------
/images/limitations.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/estroBiologist/pluralchum/70e36fc2babc4cf04b3b35db2ee9e804d5ca75c7/images/limitations.png
--------------------------------------------------------------------------------
/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/estroBiologist/pluralchum/70e36fc2babc4cf04b3b35db2ee9e804d5ca75c7/images/logo.png
--------------------------------------------------------------------------------
/images/reviewns.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/estroBiologist/pluralchum/70e36fc2babc4cf04b3b35db2ee9e804d5ca75c7/images/reviewns.png
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "pluralchum",
3 | "version": "2.6.0",
4 | "lockfileVersion": 3,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "pluralchum",
9 | "version": "2.6.0",
10 | "license": "MIT",
11 | "dependencies": {
12 | "@ariagivens/discord-unicode-fix-js": "file:../discord-unicode-fix/discord-unicode-fix-js",
13 | "svg-loaders-react": "^2.2.1"
14 | },
15 | "devDependencies": {
16 | "@babel/core": "^7.22.5",
17 | "@babel/preset-react": "^7.22.5",
18 | "@rollup/plugin-babel": "^6.0.3",
19 | "@rollup/plugin-commonjs": "^25.0.1",
20 | "@rollup/plugin-image": "^3.0.3",
21 | "@rollup/plugin-node-resolve": "^15.2.1",
22 | "@rollup/plugin-replace": "^5.0.2",
23 | "eslint": "^8.43.0",
24 | "eslint-plugin-react": "^7.32.2",
25 | "prettier": "2.8.8",
26 | "rollup": ">=3.29.5",
27 | "rollup-plugin-import-css": "3.3.4"
28 | }
29 | },
30 | "../discord-unicode-fix-js": {
31 | "extraneous": true
32 | },
33 | "../discord-unicode-fix/discord-unicode-fix-js": {
34 | "name": "@ariagivens/discord-unicode-fix-js",
35 | "version": "1.1.0",
36 | "dependencies": {
37 | "grapheme-splitter": "^1.0.4"
38 | },
39 | "devDependencies": {
40 | "@rollup/plugin-commonjs": "^25.0.4",
41 | "@rollup/plugin-dsv": "^3.0.2",
42 | "@rollup/plugin-node-resolve": "^15.2.1",
43 | "ava": "^5.3.1",
44 | "rollup": "^3.25.0"
45 | }
46 | },
47 | "node_modules/@ampproject/remapping": {
48 | "version": "2.2.1",
49 | "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
50 | "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
51 | "dev": true,
52 | "dependencies": {
53 | "@jridgewell/gen-mapping": "^0.3.0",
54 | "@jridgewell/trace-mapping": "^0.3.9"
55 | },
56 | "engines": {
57 | "node": ">=6.0.0"
58 | }
59 | },
60 | "node_modules/@ariagivens/discord-unicode-fix-js": {
61 | "resolved": "../discord-unicode-fix/discord-unicode-fix-js",
62 | "link": true
63 | },
64 | "node_modules/@babel/code-frame": {
65 | "version": "7.24.7",
66 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz",
67 | "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==",
68 | "dev": true,
69 | "dependencies": {
70 | "@babel/highlight": "^7.24.7",
71 | "picocolors": "^1.0.0"
72 | },
73 | "engines": {
74 | "node": ">=6.9.0"
75 | }
76 | },
77 | "node_modules/@babel/compat-data": {
78 | "version": "7.22.9",
79 | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.9.tgz",
80 | "integrity": "sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ==",
81 | "dev": true,
82 | "engines": {
83 | "node": ">=6.9.0"
84 | }
85 | },
86 | "node_modules/@babel/core": {
87 | "version": "7.22.11",
88 | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.11.tgz",
89 | "integrity": "sha512-lh7RJrtPdhibbxndr6/xx0w8+CVlY5FJZiaSz908Fpy+G0xkBFTvwLcKJFF4PJxVfGhVWNebikpWGnOoC71juQ==",
90 | "dev": true,
91 | "dependencies": {
92 | "@ampproject/remapping": "^2.2.0",
93 | "@babel/code-frame": "^7.22.10",
94 | "@babel/generator": "^7.22.10",
95 | "@babel/helper-compilation-targets": "^7.22.10",
96 | "@babel/helper-module-transforms": "^7.22.9",
97 | "@babel/helpers": "^7.22.11",
98 | "@babel/parser": "^7.22.11",
99 | "@babel/template": "^7.22.5",
100 | "@babel/traverse": "^7.22.11",
101 | "@babel/types": "^7.22.11",
102 | "convert-source-map": "^1.7.0",
103 | "debug": "^4.1.0",
104 | "gensync": "^1.0.0-beta.2",
105 | "json5": "^2.2.3",
106 | "semver": "^6.3.1"
107 | },
108 | "engines": {
109 | "node": ">=6.9.0"
110 | },
111 | "funding": {
112 | "type": "opencollective",
113 | "url": "https://opencollective.com/babel"
114 | }
115 | },
116 | "node_modules/@babel/core/node_modules/semver": {
117 | "version": "6.3.1",
118 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
119 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
120 | "dev": true,
121 | "bin": {
122 | "semver": "bin/semver.js"
123 | }
124 | },
125 | "node_modules/@babel/generator": {
126 | "version": "7.25.6",
127 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz",
128 | "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==",
129 | "dev": true,
130 | "dependencies": {
131 | "@babel/types": "^7.25.6",
132 | "@jridgewell/gen-mapping": "^0.3.5",
133 | "@jridgewell/trace-mapping": "^0.3.25",
134 | "jsesc": "^2.5.1"
135 | },
136 | "engines": {
137 | "node": ">=6.9.0"
138 | }
139 | },
140 | "node_modules/@babel/helper-annotate-as-pure": {
141 | "version": "7.22.5",
142 | "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz",
143 | "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==",
144 | "dev": true,
145 | "dependencies": {
146 | "@babel/types": "^7.22.5"
147 | },
148 | "engines": {
149 | "node": ">=6.9.0"
150 | }
151 | },
152 | "node_modules/@babel/helper-compilation-targets": {
153 | "version": "7.22.10",
154 | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.10.tgz",
155 | "integrity": "sha512-JMSwHD4J7SLod0idLq5PKgI+6g/hLD/iuWBq08ZX49xE14VpVEojJ5rHWptpirV2j020MvypRLAXAO50igCJ5Q==",
156 | "dev": true,
157 | "dependencies": {
158 | "@babel/compat-data": "^7.22.9",
159 | "@babel/helper-validator-option": "^7.22.5",
160 | "browserslist": "^4.21.9",
161 | "lru-cache": "^5.1.1",
162 | "semver": "^6.3.1"
163 | },
164 | "engines": {
165 | "node": ">=6.9.0"
166 | }
167 | },
168 | "node_modules/@babel/helper-compilation-targets/node_modules/semver": {
169 | "version": "6.3.1",
170 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
171 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
172 | "dev": true,
173 | "bin": {
174 | "semver": "bin/semver.js"
175 | }
176 | },
177 | "node_modules/@babel/helper-environment-visitor": {
178 | "version": "7.22.5",
179 | "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz",
180 | "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==",
181 | "dev": true,
182 | "engines": {
183 | "node": ">=6.9.0"
184 | }
185 | },
186 | "node_modules/@babel/helper-module-imports": {
187 | "version": "7.22.5",
188 | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz",
189 | "integrity": "sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==",
190 | "dev": true,
191 | "dependencies": {
192 | "@babel/types": "^7.22.5"
193 | },
194 | "engines": {
195 | "node": ">=6.9.0"
196 | }
197 | },
198 | "node_modules/@babel/helper-module-transforms": {
199 | "version": "7.22.9",
200 | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz",
201 | "integrity": "sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ==",
202 | "dev": true,
203 | "dependencies": {
204 | "@babel/helper-environment-visitor": "^7.22.5",
205 | "@babel/helper-module-imports": "^7.22.5",
206 | "@babel/helper-simple-access": "^7.22.5",
207 | "@babel/helper-split-export-declaration": "^7.22.6",
208 | "@babel/helper-validator-identifier": "^7.22.5"
209 | },
210 | "engines": {
211 | "node": ">=6.9.0"
212 | },
213 | "peerDependencies": {
214 | "@babel/core": "^7.0.0"
215 | }
216 | },
217 | "node_modules/@babel/helper-plugin-utils": {
218 | "version": "7.22.5",
219 | "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz",
220 | "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==",
221 | "dev": true,
222 | "engines": {
223 | "node": ">=6.9.0"
224 | }
225 | },
226 | "node_modules/@babel/helper-simple-access": {
227 | "version": "7.22.5",
228 | "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz",
229 | "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==",
230 | "dev": true,
231 | "dependencies": {
232 | "@babel/types": "^7.22.5"
233 | },
234 | "engines": {
235 | "node": ">=6.9.0"
236 | }
237 | },
238 | "node_modules/@babel/helper-split-export-declaration": {
239 | "version": "7.22.6",
240 | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
241 | "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
242 | "dev": true,
243 | "dependencies": {
244 | "@babel/types": "^7.22.5"
245 | },
246 | "engines": {
247 | "node": ">=6.9.0"
248 | }
249 | },
250 | "node_modules/@babel/helper-string-parser": {
251 | "version": "7.24.8",
252 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz",
253 | "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==",
254 | "dev": true,
255 | "engines": {
256 | "node": ">=6.9.0"
257 | }
258 | },
259 | "node_modules/@babel/helper-validator-identifier": {
260 | "version": "7.24.7",
261 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz",
262 | "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==",
263 | "dev": true,
264 | "engines": {
265 | "node": ">=6.9.0"
266 | }
267 | },
268 | "node_modules/@babel/helper-validator-option": {
269 | "version": "7.22.5",
270 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz",
271 | "integrity": "sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==",
272 | "dev": true,
273 | "engines": {
274 | "node": ">=6.9.0"
275 | }
276 | },
277 | "node_modules/@babel/helpers": {
278 | "version": "7.22.11",
279 | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.11.tgz",
280 | "integrity": "sha512-vyOXC8PBWaGc5h7GMsNx68OH33cypkEDJCHvYVVgVbbxJDROYVtexSk0gK5iCF1xNjRIN2s8ai7hwkWDq5szWg==",
281 | "dev": true,
282 | "dependencies": {
283 | "@babel/template": "^7.22.5",
284 | "@babel/traverse": "^7.22.11",
285 | "@babel/types": "^7.22.11"
286 | },
287 | "engines": {
288 | "node": ">=6.9.0"
289 | }
290 | },
291 | "node_modules/@babel/highlight": {
292 | "version": "7.24.7",
293 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz",
294 | "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==",
295 | "dev": true,
296 | "dependencies": {
297 | "@babel/helper-validator-identifier": "^7.24.7",
298 | "chalk": "^2.4.2",
299 | "js-tokens": "^4.0.0",
300 | "picocolors": "^1.0.0"
301 | },
302 | "engines": {
303 | "node": ">=6.9.0"
304 | }
305 | },
306 | "node_modules/@babel/parser": {
307 | "version": "7.25.6",
308 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz",
309 | "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==",
310 | "dev": true,
311 | "dependencies": {
312 | "@babel/types": "^7.25.6"
313 | },
314 | "bin": {
315 | "parser": "bin/babel-parser.js"
316 | },
317 | "engines": {
318 | "node": ">=6.0.0"
319 | }
320 | },
321 | "node_modules/@babel/plugin-syntax-jsx": {
322 | "version": "7.22.5",
323 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz",
324 | "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==",
325 | "dev": true,
326 | "dependencies": {
327 | "@babel/helper-plugin-utils": "^7.22.5"
328 | },
329 | "engines": {
330 | "node": ">=6.9.0"
331 | },
332 | "peerDependencies": {
333 | "@babel/core": "^7.0.0-0"
334 | }
335 | },
336 | "node_modules/@babel/plugin-transform-react-display-name": {
337 | "version": "7.22.5",
338 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.22.5.tgz",
339 | "integrity": "sha512-PVk3WPYudRF5z4GKMEYUrLjPl38fJSKNaEOkFuoprioowGuWN6w2RKznuFNSlJx7pzzXXStPUnNSOEO0jL5EVw==",
340 | "dev": true,
341 | "dependencies": {
342 | "@babel/helper-plugin-utils": "^7.22.5"
343 | },
344 | "engines": {
345 | "node": ">=6.9.0"
346 | },
347 | "peerDependencies": {
348 | "@babel/core": "^7.0.0-0"
349 | }
350 | },
351 | "node_modules/@babel/plugin-transform-react-jsx": {
352 | "version": "7.22.5",
353 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.22.5.tgz",
354 | "integrity": "sha512-rog5gZaVbUip5iWDMTYbVM15XQq+RkUKhET/IHR6oizR+JEoN6CAfTTuHcK4vwUyzca30qqHqEpzBOnaRMWYMA==",
355 | "dev": true,
356 | "dependencies": {
357 | "@babel/helper-annotate-as-pure": "^7.22.5",
358 | "@babel/helper-module-imports": "^7.22.5",
359 | "@babel/helper-plugin-utils": "^7.22.5",
360 | "@babel/plugin-syntax-jsx": "^7.22.5",
361 | "@babel/types": "^7.22.5"
362 | },
363 | "engines": {
364 | "node": ">=6.9.0"
365 | },
366 | "peerDependencies": {
367 | "@babel/core": "^7.0.0-0"
368 | }
369 | },
370 | "node_modules/@babel/plugin-transform-react-jsx-development": {
371 | "version": "7.22.5",
372 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.22.5.tgz",
373 | "integrity": "sha512-bDhuzwWMuInwCYeDeMzyi7TaBgRQei6DqxhbyniL7/VG4RSS7HtSL2QbY4eESy1KJqlWt8g3xeEBGPuo+XqC8A==",
374 | "dev": true,
375 | "dependencies": {
376 | "@babel/plugin-transform-react-jsx": "^7.22.5"
377 | },
378 | "engines": {
379 | "node": ">=6.9.0"
380 | },
381 | "peerDependencies": {
382 | "@babel/core": "^7.0.0-0"
383 | }
384 | },
385 | "node_modules/@babel/plugin-transform-react-pure-annotations": {
386 | "version": "7.22.5",
387 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.22.5.tgz",
388 | "integrity": "sha512-gP4k85wx09q+brArVinTXhWiyzLl9UpmGva0+mWyKxk6JZequ05x3eUcIUE+FyttPKJFRRVtAvQaJ6YF9h1ZpA==",
389 | "dev": true,
390 | "dependencies": {
391 | "@babel/helper-annotate-as-pure": "^7.22.5",
392 | "@babel/helper-plugin-utils": "^7.22.5"
393 | },
394 | "engines": {
395 | "node": ">=6.9.0"
396 | },
397 | "peerDependencies": {
398 | "@babel/core": "^7.0.0-0"
399 | }
400 | },
401 | "node_modules/@babel/preset-react": {
402 | "version": "7.22.5",
403 | "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.22.5.tgz",
404 | "integrity": "sha512-M+Is3WikOpEJHgR385HbuCITPTaPRaNkibTEa9oiofmJvIsrceb4yp9RL9Kb+TE8LznmeyZqpP+Lopwcx59xPQ==",
405 | "dev": true,
406 | "dependencies": {
407 | "@babel/helper-plugin-utils": "^7.22.5",
408 | "@babel/helper-validator-option": "^7.22.5",
409 | "@babel/plugin-transform-react-display-name": "^7.22.5",
410 | "@babel/plugin-transform-react-jsx": "^7.22.5",
411 | "@babel/plugin-transform-react-jsx-development": "^7.22.5",
412 | "@babel/plugin-transform-react-pure-annotations": "^7.22.5"
413 | },
414 | "engines": {
415 | "node": ">=6.9.0"
416 | },
417 | "peerDependencies": {
418 | "@babel/core": "^7.0.0-0"
419 | }
420 | },
421 | "node_modules/@babel/template": {
422 | "version": "7.25.0",
423 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz",
424 | "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==",
425 | "dev": true,
426 | "dependencies": {
427 | "@babel/code-frame": "^7.24.7",
428 | "@babel/parser": "^7.25.0",
429 | "@babel/types": "^7.25.0"
430 | },
431 | "engines": {
432 | "node": ">=6.9.0"
433 | }
434 | },
435 | "node_modules/@babel/traverse": {
436 | "version": "7.25.6",
437 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz",
438 | "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==",
439 | "dev": true,
440 | "dependencies": {
441 | "@babel/code-frame": "^7.24.7",
442 | "@babel/generator": "^7.25.6",
443 | "@babel/parser": "^7.25.6",
444 | "@babel/template": "^7.25.0",
445 | "@babel/types": "^7.25.6",
446 | "debug": "^4.3.1",
447 | "globals": "^11.1.0"
448 | },
449 | "engines": {
450 | "node": ">=6.9.0"
451 | }
452 | },
453 | "node_modules/@babel/types": {
454 | "version": "7.25.6",
455 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz",
456 | "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==",
457 | "dev": true,
458 | "dependencies": {
459 | "@babel/helper-string-parser": "^7.24.8",
460 | "@babel/helper-validator-identifier": "^7.24.7",
461 | "to-fast-properties": "^2.0.0"
462 | },
463 | "engines": {
464 | "node": ">=6.9.0"
465 | }
466 | },
467 | "node_modules/@eslint-community/eslint-utils": {
468 | "version": "4.4.0",
469 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
470 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
471 | "dev": true,
472 | "dependencies": {
473 | "eslint-visitor-keys": "^3.3.0"
474 | },
475 | "engines": {
476 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
477 | },
478 | "peerDependencies": {
479 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
480 | }
481 | },
482 | "node_modules/@eslint-community/regexpp": {
483 | "version": "4.5.1",
484 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz",
485 | "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==",
486 | "dev": true,
487 | "engines": {
488 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
489 | }
490 | },
491 | "node_modules/@eslint/eslintrc": {
492 | "version": "2.0.3",
493 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz",
494 | "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==",
495 | "dev": true,
496 | "dependencies": {
497 | "ajv": "^6.12.4",
498 | "debug": "^4.3.2",
499 | "espree": "^9.5.2",
500 | "globals": "^13.19.0",
501 | "ignore": "^5.2.0",
502 | "import-fresh": "^3.2.1",
503 | "js-yaml": "^4.1.0",
504 | "minimatch": "^3.1.2",
505 | "strip-json-comments": "^3.1.1"
506 | },
507 | "engines": {
508 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
509 | },
510 | "funding": {
511 | "url": "https://opencollective.com/eslint"
512 | }
513 | },
514 | "node_modules/@eslint/eslintrc/node_modules/globals": {
515 | "version": "13.20.0",
516 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
517 | "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
518 | "dev": true,
519 | "dependencies": {
520 | "type-fest": "^0.20.2"
521 | },
522 | "engines": {
523 | "node": ">=8"
524 | },
525 | "funding": {
526 | "url": "https://github.com/sponsors/sindresorhus"
527 | }
528 | },
529 | "node_modules/@eslint/js": {
530 | "version": "8.43.0",
531 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz",
532 | "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==",
533 | "dev": true,
534 | "engines": {
535 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
536 | }
537 | },
538 | "node_modules/@humanwhocodes/config-array": {
539 | "version": "0.11.10",
540 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz",
541 | "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==",
542 | "dev": true,
543 | "dependencies": {
544 | "@humanwhocodes/object-schema": "^1.2.1",
545 | "debug": "^4.1.1",
546 | "minimatch": "^3.0.5"
547 | },
548 | "engines": {
549 | "node": ">=10.10.0"
550 | }
551 | },
552 | "node_modules/@humanwhocodes/module-importer": {
553 | "version": "1.0.1",
554 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
555 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
556 | "dev": true,
557 | "engines": {
558 | "node": ">=12.22"
559 | },
560 | "funding": {
561 | "type": "github",
562 | "url": "https://github.com/sponsors/nzakas"
563 | }
564 | },
565 | "node_modules/@humanwhocodes/object-schema": {
566 | "version": "1.2.1",
567 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz",
568 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
569 | "dev": true
570 | },
571 | "node_modules/@jridgewell/gen-mapping": {
572 | "version": "0.3.5",
573 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
574 | "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
575 | "dev": true,
576 | "dependencies": {
577 | "@jridgewell/set-array": "^1.2.1",
578 | "@jridgewell/sourcemap-codec": "^1.4.10",
579 | "@jridgewell/trace-mapping": "^0.3.24"
580 | },
581 | "engines": {
582 | "node": ">=6.0.0"
583 | }
584 | },
585 | "node_modules/@jridgewell/resolve-uri": {
586 | "version": "3.1.1",
587 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
588 | "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
589 | "dev": true,
590 | "engines": {
591 | "node": ">=6.0.0"
592 | }
593 | },
594 | "node_modules/@jridgewell/set-array": {
595 | "version": "1.2.1",
596 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
597 | "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
598 | "dev": true,
599 | "engines": {
600 | "node": ">=6.0.0"
601 | }
602 | },
603 | "node_modules/@jridgewell/sourcemap-codec": {
604 | "version": "1.4.14",
605 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
606 | "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==",
607 | "dev": true
608 | },
609 | "node_modules/@jridgewell/trace-mapping": {
610 | "version": "0.3.25",
611 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
612 | "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
613 | "dev": true,
614 | "dependencies": {
615 | "@jridgewell/resolve-uri": "^3.1.0",
616 | "@jridgewell/sourcemap-codec": "^1.4.14"
617 | }
618 | },
619 | "node_modules/@nodelib/fs.scandir": {
620 | "version": "2.1.5",
621 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
622 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
623 | "dev": true,
624 | "dependencies": {
625 | "@nodelib/fs.stat": "2.0.5",
626 | "run-parallel": "^1.1.9"
627 | },
628 | "engines": {
629 | "node": ">= 8"
630 | }
631 | },
632 | "node_modules/@nodelib/fs.stat": {
633 | "version": "2.0.5",
634 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
635 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
636 | "dev": true,
637 | "engines": {
638 | "node": ">= 8"
639 | }
640 | },
641 | "node_modules/@nodelib/fs.walk": {
642 | "version": "1.2.8",
643 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
644 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
645 | "dev": true,
646 | "dependencies": {
647 | "@nodelib/fs.scandir": "2.1.5",
648 | "fastq": "^1.6.0"
649 | },
650 | "engines": {
651 | "node": ">= 8"
652 | }
653 | },
654 | "node_modules/@rollup/plugin-babel": {
655 | "version": "6.0.3",
656 | "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-6.0.3.tgz",
657 | "integrity": "sha512-fKImZKppa1A/gX73eg4JGo+8kQr/q1HBQaCGKECZ0v4YBBv3lFqi14+7xyApECzvkLTHCifx+7ntcrvtBIRcpg==",
658 | "dev": true,
659 | "dependencies": {
660 | "@babel/helper-module-imports": "^7.18.6",
661 | "@rollup/pluginutils": "^5.0.1"
662 | },
663 | "engines": {
664 | "node": ">=14.0.0"
665 | },
666 | "peerDependencies": {
667 | "@babel/core": "^7.0.0",
668 | "@types/babel__core": "^7.1.9",
669 | "rollup": "^1.20.0||^2.0.0||^3.0.0"
670 | },
671 | "peerDependenciesMeta": {
672 | "@types/babel__core": {
673 | "optional": true
674 | },
675 | "rollup": {
676 | "optional": true
677 | }
678 | }
679 | },
680 | "node_modules/@rollup/plugin-commonjs": {
681 | "version": "25.0.1",
682 | "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.1.tgz",
683 | "integrity": "sha512-2DJ4kv4b1xfTJopWhu61ANdNRHvzQZ2fpaIrlgaP2jOfUv1wDJ0Ucqy8AZlbFmn/iUjiwKoqki9j55Y6L8kyNQ==",
684 | "dev": true,
685 | "dependencies": {
686 | "@rollup/pluginutils": "^5.0.1",
687 | "commondir": "^1.0.1",
688 | "estree-walker": "^2.0.2",
689 | "glob": "^8.0.3",
690 | "is-reference": "1.2.1",
691 | "magic-string": "^0.27.0"
692 | },
693 | "engines": {
694 | "node": ">=14.0.0"
695 | },
696 | "peerDependencies": {
697 | "rollup": "^2.68.0||^3.0.0"
698 | },
699 | "peerDependenciesMeta": {
700 | "rollup": {
701 | "optional": true
702 | }
703 | }
704 | },
705 | "node_modules/@rollup/plugin-commonjs/node_modules/brace-expansion": {
706 | "version": "2.0.1",
707 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
708 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
709 | "dev": true,
710 | "dependencies": {
711 | "balanced-match": "^1.0.0"
712 | }
713 | },
714 | "node_modules/@rollup/plugin-commonjs/node_modules/glob": {
715 | "version": "8.1.0",
716 | "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
717 | "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
718 | "dev": true,
719 | "dependencies": {
720 | "fs.realpath": "^1.0.0",
721 | "inflight": "^1.0.4",
722 | "inherits": "2",
723 | "minimatch": "^5.0.1",
724 | "once": "^1.3.0"
725 | },
726 | "engines": {
727 | "node": ">=12"
728 | },
729 | "funding": {
730 | "url": "https://github.com/sponsors/isaacs"
731 | }
732 | },
733 | "node_modules/@rollup/plugin-commonjs/node_modules/minimatch": {
734 | "version": "5.1.6",
735 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
736 | "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
737 | "dev": true,
738 | "dependencies": {
739 | "brace-expansion": "^2.0.1"
740 | },
741 | "engines": {
742 | "node": ">=10"
743 | }
744 | },
745 | "node_modules/@rollup/plugin-image": {
746 | "version": "3.0.3",
747 | "resolved": "https://registry.npmjs.org/@rollup/plugin-image/-/plugin-image-3.0.3.tgz",
748 | "integrity": "sha512-qXWQwsXpvD4trSb8PeFPFajp8JLpRtqqOeNYRUKnEQNHm7e5UP7fuSRcbjQAJ7wDZBbnJvSdY5ujNBQd9B1iFg==",
749 | "dev": true,
750 | "license": "MIT",
751 | "dependencies": {
752 | "@rollup/pluginutils": "^5.0.1",
753 | "mini-svg-data-uri": "^1.4.4"
754 | },
755 | "engines": {
756 | "node": ">=14.0.0"
757 | },
758 | "peerDependencies": {
759 | "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
760 | },
761 | "peerDependenciesMeta": {
762 | "rollup": {
763 | "optional": true
764 | }
765 | }
766 | },
767 | "node_modules/@rollup/plugin-node-resolve": {
768 | "version": "15.2.1",
769 | "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.1.tgz",
770 | "integrity": "sha512-nsbUg588+GDSu8/NS8T4UAshO6xeaOfINNuXeVHcKV02LJtoRaM1SiOacClw4kws1SFiNhdLGxlbMY9ga/zs/w==",
771 | "dev": true,
772 | "dependencies": {
773 | "@rollup/pluginutils": "^5.0.1",
774 | "@types/resolve": "1.20.2",
775 | "deepmerge": "^4.2.2",
776 | "is-builtin-module": "^3.2.1",
777 | "is-module": "^1.0.0",
778 | "resolve": "^1.22.1"
779 | },
780 | "engines": {
781 | "node": ">=14.0.0"
782 | },
783 | "peerDependencies": {
784 | "rollup": "^2.78.0||^3.0.0"
785 | },
786 | "peerDependenciesMeta": {
787 | "rollup": {
788 | "optional": true
789 | }
790 | }
791 | },
792 | "node_modules/@rollup/plugin-node-resolve/node_modules/resolve": {
793 | "version": "1.22.4",
794 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
795 | "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
796 | "dev": true,
797 | "dependencies": {
798 | "is-core-module": "^2.13.0",
799 | "path-parse": "^1.0.7",
800 | "supports-preserve-symlinks-flag": "^1.0.0"
801 | },
802 | "bin": {
803 | "resolve": "bin/resolve"
804 | },
805 | "funding": {
806 | "url": "https://github.com/sponsors/ljharb"
807 | }
808 | },
809 | "node_modules/@rollup/plugin-replace": {
810 | "version": "5.0.2",
811 | "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-5.0.2.tgz",
812 | "integrity": "sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==",
813 | "dev": true,
814 | "dependencies": {
815 | "@rollup/pluginutils": "^5.0.1",
816 | "magic-string": "^0.27.0"
817 | },
818 | "engines": {
819 | "node": ">=14.0.0"
820 | },
821 | "peerDependencies": {
822 | "rollup": "^1.20.0||^2.0.0||^3.0.0"
823 | },
824 | "peerDependenciesMeta": {
825 | "rollup": {
826 | "optional": true
827 | }
828 | }
829 | },
830 | "node_modules/@rollup/pluginutils": {
831 | "version": "5.1.2",
832 | "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.2.tgz",
833 | "integrity": "sha512-/FIdS3PyZ39bjZlwqFnWqCOVnW7o963LtKMwQOD0NhQqw22gSr2YY1afu3FxRip4ZCZNsD5jq6Aaz6QV3D/Njw==",
834 | "dev": true,
835 | "dependencies": {
836 | "@types/estree": "^1.0.0",
837 | "estree-walker": "^2.0.2",
838 | "picomatch": "^2.3.1"
839 | },
840 | "engines": {
841 | "node": ">=14.0.0"
842 | },
843 | "peerDependencies": {
844 | "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
845 | },
846 | "peerDependenciesMeta": {
847 | "rollup": {
848 | "optional": true
849 | }
850 | }
851 | },
852 | "node_modules/@types/estree": {
853 | "version": "1.0.6",
854 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
855 | "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
856 | "dev": true
857 | },
858 | "node_modules/@types/resolve": {
859 | "version": "1.20.2",
860 | "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz",
861 | "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==",
862 | "dev": true
863 | },
864 | "node_modules/acorn": {
865 | "version": "8.9.0",
866 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz",
867 | "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==",
868 | "dev": true,
869 | "bin": {
870 | "acorn": "bin/acorn"
871 | },
872 | "engines": {
873 | "node": ">=0.4.0"
874 | }
875 | },
876 | "node_modules/acorn-jsx": {
877 | "version": "5.3.2",
878 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
879 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
880 | "dev": true,
881 | "peerDependencies": {
882 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
883 | }
884 | },
885 | "node_modules/ajv": {
886 | "version": "6.12.6",
887 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
888 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
889 | "dev": true,
890 | "dependencies": {
891 | "fast-deep-equal": "^3.1.1",
892 | "fast-json-stable-stringify": "^2.0.0",
893 | "json-schema-traverse": "^0.4.1",
894 | "uri-js": "^4.2.2"
895 | },
896 | "funding": {
897 | "type": "github",
898 | "url": "https://github.com/sponsors/epoberezkin"
899 | }
900 | },
901 | "node_modules/ansi-regex": {
902 | "version": "5.0.1",
903 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
904 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
905 | "dev": true,
906 | "engines": {
907 | "node": ">=8"
908 | }
909 | },
910 | "node_modules/ansi-styles": {
911 | "version": "3.2.1",
912 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
913 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
914 | "dev": true,
915 | "dependencies": {
916 | "color-convert": "^1.9.0"
917 | },
918 | "engines": {
919 | "node": ">=4"
920 | }
921 | },
922 | "node_modules/argparse": {
923 | "version": "2.0.1",
924 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
925 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
926 | "dev": true
927 | },
928 | "node_modules/array-buffer-byte-length": {
929 | "version": "1.0.0",
930 | "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",
931 | "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",
932 | "dev": true,
933 | "dependencies": {
934 | "call-bind": "^1.0.2",
935 | "is-array-buffer": "^3.0.1"
936 | },
937 | "funding": {
938 | "url": "https://github.com/sponsors/ljharb"
939 | }
940 | },
941 | "node_modules/array-includes": {
942 | "version": "3.1.6",
943 | "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz",
944 | "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==",
945 | "dev": true,
946 | "dependencies": {
947 | "call-bind": "^1.0.2",
948 | "define-properties": "^1.1.4",
949 | "es-abstract": "^1.20.4",
950 | "get-intrinsic": "^1.1.3",
951 | "is-string": "^1.0.7"
952 | },
953 | "engines": {
954 | "node": ">= 0.4"
955 | },
956 | "funding": {
957 | "url": "https://github.com/sponsors/ljharb"
958 | }
959 | },
960 | "node_modules/array.prototype.flatmap": {
961 | "version": "1.3.1",
962 | "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz",
963 | "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==",
964 | "dev": true,
965 | "dependencies": {
966 | "call-bind": "^1.0.2",
967 | "define-properties": "^1.1.4",
968 | "es-abstract": "^1.20.4",
969 | "es-shim-unscopables": "^1.0.0"
970 | },
971 | "engines": {
972 | "node": ">= 0.4"
973 | },
974 | "funding": {
975 | "url": "https://github.com/sponsors/ljharb"
976 | }
977 | },
978 | "node_modules/array.prototype.tosorted": {
979 | "version": "1.1.1",
980 | "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz",
981 | "integrity": "sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==",
982 | "dev": true,
983 | "dependencies": {
984 | "call-bind": "^1.0.2",
985 | "define-properties": "^1.1.4",
986 | "es-abstract": "^1.20.4",
987 | "es-shim-unscopables": "^1.0.0",
988 | "get-intrinsic": "^1.1.3"
989 | }
990 | },
991 | "node_modules/available-typed-arrays": {
992 | "version": "1.0.5",
993 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
994 | "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==",
995 | "dev": true,
996 | "engines": {
997 | "node": ">= 0.4"
998 | },
999 | "funding": {
1000 | "url": "https://github.com/sponsors/ljharb"
1001 | }
1002 | },
1003 | "node_modules/balanced-match": {
1004 | "version": "1.0.2",
1005 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1006 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1007 | "dev": true
1008 | },
1009 | "node_modules/brace-expansion": {
1010 | "version": "1.1.11",
1011 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
1012 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
1013 | "dev": true,
1014 | "dependencies": {
1015 | "balanced-match": "^1.0.0",
1016 | "concat-map": "0.0.1"
1017 | }
1018 | },
1019 | "node_modules/browserslist": {
1020 | "version": "4.21.10",
1021 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz",
1022 | "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==",
1023 | "dev": true,
1024 | "funding": [
1025 | {
1026 | "type": "opencollective",
1027 | "url": "https://opencollective.com/browserslist"
1028 | },
1029 | {
1030 | "type": "tidelift",
1031 | "url": "https://tidelift.com/funding/github/npm/browserslist"
1032 | },
1033 | {
1034 | "type": "github",
1035 | "url": "https://github.com/sponsors/ai"
1036 | }
1037 | ],
1038 | "dependencies": {
1039 | "caniuse-lite": "^1.0.30001517",
1040 | "electron-to-chromium": "^1.4.477",
1041 | "node-releases": "^2.0.13",
1042 | "update-browserslist-db": "^1.0.11"
1043 | },
1044 | "bin": {
1045 | "browserslist": "cli.js"
1046 | },
1047 | "engines": {
1048 | "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1049 | }
1050 | },
1051 | "node_modules/builtin-modules": {
1052 | "version": "3.3.0",
1053 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz",
1054 | "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==",
1055 | "dev": true,
1056 | "engines": {
1057 | "node": ">=6"
1058 | },
1059 | "funding": {
1060 | "url": "https://github.com/sponsors/sindresorhus"
1061 | }
1062 | },
1063 | "node_modules/call-bind": {
1064 | "version": "1.0.2",
1065 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
1066 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
1067 | "dev": true,
1068 | "dependencies": {
1069 | "function-bind": "^1.1.1",
1070 | "get-intrinsic": "^1.0.2"
1071 | },
1072 | "funding": {
1073 | "url": "https://github.com/sponsors/ljharb"
1074 | }
1075 | },
1076 | "node_modules/callsites": {
1077 | "version": "3.1.0",
1078 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
1079 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
1080 | "dev": true,
1081 | "engines": {
1082 | "node": ">=6"
1083 | }
1084 | },
1085 | "node_modules/caniuse-lite": {
1086 | "version": "1.0.30001524",
1087 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz",
1088 | "integrity": "sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA==",
1089 | "dev": true,
1090 | "funding": [
1091 | {
1092 | "type": "opencollective",
1093 | "url": "https://opencollective.com/browserslist"
1094 | },
1095 | {
1096 | "type": "tidelift",
1097 | "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
1098 | },
1099 | {
1100 | "type": "github",
1101 | "url": "https://github.com/sponsors/ai"
1102 | }
1103 | ]
1104 | },
1105 | "node_modules/chalk": {
1106 | "version": "2.4.2",
1107 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
1108 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
1109 | "dev": true,
1110 | "dependencies": {
1111 | "ansi-styles": "^3.2.1",
1112 | "escape-string-regexp": "^1.0.5",
1113 | "supports-color": "^5.3.0"
1114 | },
1115 | "engines": {
1116 | "node": ">=4"
1117 | }
1118 | },
1119 | "node_modules/chalk/node_modules/has-flag": {
1120 | "version": "3.0.0",
1121 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
1122 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
1123 | "dev": true,
1124 | "engines": {
1125 | "node": ">=4"
1126 | }
1127 | },
1128 | "node_modules/chalk/node_modules/supports-color": {
1129 | "version": "5.5.0",
1130 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1131 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1132 | "dev": true,
1133 | "dependencies": {
1134 | "has-flag": "^3.0.0"
1135 | },
1136 | "engines": {
1137 | "node": ">=4"
1138 | }
1139 | },
1140 | "node_modules/color-convert": {
1141 | "version": "1.9.3",
1142 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
1143 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
1144 | "dev": true,
1145 | "dependencies": {
1146 | "color-name": "1.1.3"
1147 | }
1148 | },
1149 | "node_modules/color-name": {
1150 | "version": "1.1.3",
1151 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
1152 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
1153 | "dev": true
1154 | },
1155 | "node_modules/commondir": {
1156 | "version": "1.0.1",
1157 | "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
1158 | "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
1159 | "dev": true
1160 | },
1161 | "node_modules/concat-map": {
1162 | "version": "0.0.1",
1163 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
1164 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
1165 | "dev": true
1166 | },
1167 | "node_modules/convert-source-map": {
1168 | "version": "1.9.0",
1169 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
1170 | "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
1171 | "dev": true
1172 | },
1173 | "node_modules/cross-spawn": {
1174 | "version": "7.0.3",
1175 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
1176 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
1177 | "dev": true,
1178 | "dependencies": {
1179 | "path-key": "^3.1.0",
1180 | "shebang-command": "^2.0.0",
1181 | "which": "^2.0.1"
1182 | },
1183 | "engines": {
1184 | "node": ">= 8"
1185 | }
1186 | },
1187 | "node_modules/debug": {
1188 | "version": "4.3.4",
1189 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
1190 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
1191 | "dev": true,
1192 | "dependencies": {
1193 | "ms": "2.1.2"
1194 | },
1195 | "engines": {
1196 | "node": ">=6.0"
1197 | },
1198 | "peerDependenciesMeta": {
1199 | "supports-color": {
1200 | "optional": true
1201 | }
1202 | }
1203 | },
1204 | "node_modules/deep-is": {
1205 | "version": "0.1.4",
1206 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
1207 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
1208 | "dev": true
1209 | },
1210 | "node_modules/deepmerge": {
1211 | "version": "4.3.1",
1212 | "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
1213 | "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
1214 | "dev": true,
1215 | "engines": {
1216 | "node": ">=0.10.0"
1217 | }
1218 | },
1219 | "node_modules/define-properties": {
1220 | "version": "1.2.0",
1221 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz",
1222 | "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==",
1223 | "dev": true,
1224 | "dependencies": {
1225 | "has-property-descriptors": "^1.0.0",
1226 | "object-keys": "^1.1.1"
1227 | },
1228 | "engines": {
1229 | "node": ">= 0.4"
1230 | },
1231 | "funding": {
1232 | "url": "https://github.com/sponsors/ljharb"
1233 | }
1234 | },
1235 | "node_modules/doctrine": {
1236 | "version": "3.0.0",
1237 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
1238 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
1239 | "dev": true,
1240 | "dependencies": {
1241 | "esutils": "^2.0.2"
1242 | },
1243 | "engines": {
1244 | "node": ">=6.0.0"
1245 | }
1246 | },
1247 | "node_modules/electron-to-chromium": {
1248 | "version": "1.4.506",
1249 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.506.tgz",
1250 | "integrity": "sha512-xxGct4GPAKSRlrLBtJxJFYy74W11zX6PO9GyHgl/U+2s3Dp0ZEwAklDfNHXOWcvH7zWMpsmgbR0ggEuaYAVvHA==",
1251 | "dev": true
1252 | },
1253 | "node_modules/es-abstract": {
1254 | "version": "1.21.2",
1255 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz",
1256 | "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==",
1257 | "dev": true,
1258 | "dependencies": {
1259 | "array-buffer-byte-length": "^1.0.0",
1260 | "available-typed-arrays": "^1.0.5",
1261 | "call-bind": "^1.0.2",
1262 | "es-set-tostringtag": "^2.0.1",
1263 | "es-to-primitive": "^1.2.1",
1264 | "function.prototype.name": "^1.1.5",
1265 | "get-intrinsic": "^1.2.0",
1266 | "get-symbol-description": "^1.0.0",
1267 | "globalthis": "^1.0.3",
1268 | "gopd": "^1.0.1",
1269 | "has": "^1.0.3",
1270 | "has-property-descriptors": "^1.0.0",
1271 | "has-proto": "^1.0.1",
1272 | "has-symbols": "^1.0.3",
1273 | "internal-slot": "^1.0.5",
1274 | "is-array-buffer": "^3.0.2",
1275 | "is-callable": "^1.2.7",
1276 | "is-negative-zero": "^2.0.2",
1277 | "is-regex": "^1.1.4",
1278 | "is-shared-array-buffer": "^1.0.2",
1279 | "is-string": "^1.0.7",
1280 | "is-typed-array": "^1.1.10",
1281 | "is-weakref": "^1.0.2",
1282 | "object-inspect": "^1.12.3",
1283 | "object-keys": "^1.1.1",
1284 | "object.assign": "^4.1.4",
1285 | "regexp.prototype.flags": "^1.4.3",
1286 | "safe-regex-test": "^1.0.0",
1287 | "string.prototype.trim": "^1.2.7",
1288 | "string.prototype.trimend": "^1.0.6",
1289 | "string.prototype.trimstart": "^1.0.6",
1290 | "typed-array-length": "^1.0.4",
1291 | "unbox-primitive": "^1.0.2",
1292 | "which-typed-array": "^1.1.9"
1293 | },
1294 | "engines": {
1295 | "node": ">= 0.4"
1296 | },
1297 | "funding": {
1298 | "url": "https://github.com/sponsors/ljharb"
1299 | }
1300 | },
1301 | "node_modules/es-set-tostringtag": {
1302 | "version": "2.0.1",
1303 | "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz",
1304 | "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==",
1305 | "dev": true,
1306 | "dependencies": {
1307 | "get-intrinsic": "^1.1.3",
1308 | "has": "^1.0.3",
1309 | "has-tostringtag": "^1.0.0"
1310 | },
1311 | "engines": {
1312 | "node": ">= 0.4"
1313 | }
1314 | },
1315 | "node_modules/es-shim-unscopables": {
1316 | "version": "1.0.0",
1317 | "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz",
1318 | "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==",
1319 | "dev": true,
1320 | "dependencies": {
1321 | "has": "^1.0.3"
1322 | }
1323 | },
1324 | "node_modules/es-to-primitive": {
1325 | "version": "1.2.1",
1326 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
1327 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
1328 | "dev": true,
1329 | "dependencies": {
1330 | "is-callable": "^1.1.4",
1331 | "is-date-object": "^1.0.1",
1332 | "is-symbol": "^1.0.2"
1333 | },
1334 | "engines": {
1335 | "node": ">= 0.4"
1336 | },
1337 | "funding": {
1338 | "url": "https://github.com/sponsors/ljharb"
1339 | }
1340 | },
1341 | "node_modules/escalade": {
1342 | "version": "3.1.1",
1343 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
1344 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
1345 | "dev": true,
1346 | "engines": {
1347 | "node": ">=6"
1348 | }
1349 | },
1350 | "node_modules/escape-string-regexp": {
1351 | "version": "1.0.5",
1352 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
1353 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
1354 | "dev": true,
1355 | "engines": {
1356 | "node": ">=0.8.0"
1357 | }
1358 | },
1359 | "node_modules/eslint": {
1360 | "version": "8.43.0",
1361 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz",
1362 | "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==",
1363 | "dev": true,
1364 | "dependencies": {
1365 | "@eslint-community/eslint-utils": "^4.2.0",
1366 | "@eslint-community/regexpp": "^4.4.0",
1367 | "@eslint/eslintrc": "^2.0.3",
1368 | "@eslint/js": "8.43.0",
1369 | "@humanwhocodes/config-array": "^0.11.10",
1370 | "@humanwhocodes/module-importer": "^1.0.1",
1371 | "@nodelib/fs.walk": "^1.2.8",
1372 | "ajv": "^6.10.0",
1373 | "chalk": "^4.0.0",
1374 | "cross-spawn": "^7.0.2",
1375 | "debug": "^4.3.2",
1376 | "doctrine": "^3.0.0",
1377 | "escape-string-regexp": "^4.0.0",
1378 | "eslint-scope": "^7.2.0",
1379 | "eslint-visitor-keys": "^3.4.1",
1380 | "espree": "^9.5.2",
1381 | "esquery": "^1.4.2",
1382 | "esutils": "^2.0.2",
1383 | "fast-deep-equal": "^3.1.3",
1384 | "file-entry-cache": "^6.0.1",
1385 | "find-up": "^5.0.0",
1386 | "glob-parent": "^6.0.2",
1387 | "globals": "^13.19.0",
1388 | "graphemer": "^1.4.0",
1389 | "ignore": "^5.2.0",
1390 | "import-fresh": "^3.0.0",
1391 | "imurmurhash": "^0.1.4",
1392 | "is-glob": "^4.0.0",
1393 | "is-path-inside": "^3.0.3",
1394 | "js-yaml": "^4.1.0",
1395 | "json-stable-stringify-without-jsonify": "^1.0.1",
1396 | "levn": "^0.4.1",
1397 | "lodash.merge": "^4.6.2",
1398 | "minimatch": "^3.1.2",
1399 | "natural-compare": "^1.4.0",
1400 | "optionator": "^0.9.1",
1401 | "strip-ansi": "^6.0.1",
1402 | "strip-json-comments": "^3.1.0",
1403 | "text-table": "^0.2.0"
1404 | },
1405 | "bin": {
1406 | "eslint": "bin/eslint.js"
1407 | },
1408 | "engines": {
1409 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1410 | },
1411 | "funding": {
1412 | "url": "https://opencollective.com/eslint"
1413 | }
1414 | },
1415 | "node_modules/eslint-plugin-react": {
1416 | "version": "7.32.2",
1417 | "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz",
1418 | "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==",
1419 | "dev": true,
1420 | "dependencies": {
1421 | "array-includes": "^3.1.6",
1422 | "array.prototype.flatmap": "^1.3.1",
1423 | "array.prototype.tosorted": "^1.1.1",
1424 | "doctrine": "^2.1.0",
1425 | "estraverse": "^5.3.0",
1426 | "jsx-ast-utils": "^2.4.1 || ^3.0.0",
1427 | "minimatch": "^3.1.2",
1428 | "object.entries": "^1.1.6",
1429 | "object.fromentries": "^2.0.6",
1430 | "object.hasown": "^1.1.2",
1431 | "object.values": "^1.1.6",
1432 | "prop-types": "^15.8.1",
1433 | "resolve": "^2.0.0-next.4",
1434 | "semver": "^6.3.0",
1435 | "string.prototype.matchall": "^4.0.8"
1436 | },
1437 | "engines": {
1438 | "node": ">=4"
1439 | },
1440 | "peerDependencies": {
1441 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
1442 | }
1443 | },
1444 | "node_modules/eslint-plugin-react/node_modules/doctrine": {
1445 | "version": "2.1.0",
1446 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
1447 | "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
1448 | "dev": true,
1449 | "dependencies": {
1450 | "esutils": "^2.0.2"
1451 | },
1452 | "engines": {
1453 | "node": ">=0.10.0"
1454 | }
1455 | },
1456 | "node_modules/eslint-plugin-react/node_modules/semver": {
1457 | "version": "6.3.1",
1458 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
1459 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
1460 | "dev": true,
1461 | "bin": {
1462 | "semver": "bin/semver.js"
1463 | }
1464 | },
1465 | "node_modules/eslint-scope": {
1466 | "version": "7.2.0",
1467 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz",
1468 | "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==",
1469 | "dev": true,
1470 | "dependencies": {
1471 | "esrecurse": "^4.3.0",
1472 | "estraverse": "^5.2.0"
1473 | },
1474 | "engines": {
1475 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1476 | },
1477 | "funding": {
1478 | "url": "https://opencollective.com/eslint"
1479 | }
1480 | },
1481 | "node_modules/eslint-visitor-keys": {
1482 | "version": "3.4.1",
1483 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
1484 | "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
1485 | "dev": true,
1486 | "engines": {
1487 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1488 | },
1489 | "funding": {
1490 | "url": "https://opencollective.com/eslint"
1491 | }
1492 | },
1493 | "node_modules/eslint/node_modules/ansi-styles": {
1494 | "version": "4.3.0",
1495 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
1496 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
1497 | "dev": true,
1498 | "dependencies": {
1499 | "color-convert": "^2.0.1"
1500 | },
1501 | "engines": {
1502 | "node": ">=8"
1503 | },
1504 | "funding": {
1505 | "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1506 | }
1507 | },
1508 | "node_modules/eslint/node_modules/chalk": {
1509 | "version": "4.1.2",
1510 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
1511 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
1512 | "dev": true,
1513 | "dependencies": {
1514 | "ansi-styles": "^4.1.0",
1515 | "supports-color": "^7.1.0"
1516 | },
1517 | "engines": {
1518 | "node": ">=10"
1519 | },
1520 | "funding": {
1521 | "url": "https://github.com/chalk/chalk?sponsor=1"
1522 | }
1523 | },
1524 | "node_modules/eslint/node_modules/color-convert": {
1525 | "version": "2.0.1",
1526 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1527 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1528 | "dev": true,
1529 | "dependencies": {
1530 | "color-name": "~1.1.4"
1531 | },
1532 | "engines": {
1533 | "node": ">=7.0.0"
1534 | }
1535 | },
1536 | "node_modules/eslint/node_modules/color-name": {
1537 | "version": "1.1.4",
1538 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1539 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1540 | "dev": true
1541 | },
1542 | "node_modules/eslint/node_modules/escape-string-regexp": {
1543 | "version": "4.0.0",
1544 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
1545 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
1546 | "dev": true,
1547 | "engines": {
1548 | "node": ">=10"
1549 | },
1550 | "funding": {
1551 | "url": "https://github.com/sponsors/sindresorhus"
1552 | }
1553 | },
1554 | "node_modules/eslint/node_modules/globals": {
1555 | "version": "13.20.0",
1556 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
1557 | "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
1558 | "dev": true,
1559 | "dependencies": {
1560 | "type-fest": "^0.20.2"
1561 | },
1562 | "engines": {
1563 | "node": ">=8"
1564 | },
1565 | "funding": {
1566 | "url": "https://github.com/sponsors/sindresorhus"
1567 | }
1568 | },
1569 | "node_modules/espree": {
1570 | "version": "9.5.2",
1571 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz",
1572 | "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==",
1573 | "dev": true,
1574 | "dependencies": {
1575 | "acorn": "^8.8.0",
1576 | "acorn-jsx": "^5.3.2",
1577 | "eslint-visitor-keys": "^3.4.1"
1578 | },
1579 | "engines": {
1580 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1581 | },
1582 | "funding": {
1583 | "url": "https://opencollective.com/eslint"
1584 | }
1585 | },
1586 | "node_modules/esquery": {
1587 | "version": "1.5.0",
1588 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
1589 | "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
1590 | "dev": true,
1591 | "dependencies": {
1592 | "estraverse": "^5.1.0"
1593 | },
1594 | "engines": {
1595 | "node": ">=0.10"
1596 | }
1597 | },
1598 | "node_modules/esrecurse": {
1599 | "version": "4.3.0",
1600 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
1601 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
1602 | "dev": true,
1603 | "dependencies": {
1604 | "estraverse": "^5.2.0"
1605 | },
1606 | "engines": {
1607 | "node": ">=4.0"
1608 | }
1609 | },
1610 | "node_modules/estraverse": {
1611 | "version": "5.3.0",
1612 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
1613 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
1614 | "dev": true,
1615 | "engines": {
1616 | "node": ">=4.0"
1617 | }
1618 | },
1619 | "node_modules/estree-walker": {
1620 | "version": "2.0.2",
1621 | "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
1622 | "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
1623 | "dev": true
1624 | },
1625 | "node_modules/esutils": {
1626 | "version": "2.0.3",
1627 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
1628 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
1629 | "dev": true,
1630 | "engines": {
1631 | "node": ">=0.10.0"
1632 | }
1633 | },
1634 | "node_modules/fast-deep-equal": {
1635 | "version": "3.1.3",
1636 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
1637 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
1638 | "dev": true
1639 | },
1640 | "node_modules/fast-json-stable-stringify": {
1641 | "version": "2.1.0",
1642 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1643 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
1644 | "dev": true
1645 | },
1646 | "node_modules/fast-levenshtein": {
1647 | "version": "2.0.6",
1648 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
1649 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
1650 | "dev": true
1651 | },
1652 | "node_modules/fastq": {
1653 | "version": "1.15.0",
1654 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
1655 | "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",
1656 | "dev": true,
1657 | "dependencies": {
1658 | "reusify": "^1.0.4"
1659 | }
1660 | },
1661 | "node_modules/file-entry-cache": {
1662 | "version": "6.0.1",
1663 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
1664 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
1665 | "dev": true,
1666 | "dependencies": {
1667 | "flat-cache": "^3.0.4"
1668 | },
1669 | "engines": {
1670 | "node": "^10.12.0 || >=12.0.0"
1671 | }
1672 | },
1673 | "node_modules/find-up": {
1674 | "version": "5.0.0",
1675 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
1676 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
1677 | "dev": true,
1678 | "dependencies": {
1679 | "locate-path": "^6.0.0",
1680 | "path-exists": "^4.0.0"
1681 | },
1682 | "engines": {
1683 | "node": ">=10"
1684 | },
1685 | "funding": {
1686 | "url": "https://github.com/sponsors/sindresorhus"
1687 | }
1688 | },
1689 | "node_modules/flat-cache": {
1690 | "version": "3.0.4",
1691 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
1692 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
1693 | "dev": true,
1694 | "dependencies": {
1695 | "flatted": "^3.1.0",
1696 | "rimraf": "^3.0.2"
1697 | },
1698 | "engines": {
1699 | "node": "^10.12.0 || >=12.0.0"
1700 | }
1701 | },
1702 | "node_modules/flatted": {
1703 | "version": "3.2.7",
1704 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz",
1705 | "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==",
1706 | "dev": true
1707 | },
1708 | "node_modules/for-each": {
1709 | "version": "0.3.3",
1710 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
1711 | "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
1712 | "dev": true,
1713 | "dependencies": {
1714 | "is-callable": "^1.1.3"
1715 | }
1716 | },
1717 | "node_modules/fs.realpath": {
1718 | "version": "1.0.0",
1719 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
1720 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
1721 | "dev": true
1722 | },
1723 | "node_modules/fsevents": {
1724 | "version": "2.3.2",
1725 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
1726 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
1727 | "dev": true,
1728 | "hasInstallScript": true,
1729 | "optional": true,
1730 | "os": [
1731 | "darwin"
1732 | ],
1733 | "engines": {
1734 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1735 | }
1736 | },
1737 | "node_modules/function-bind": {
1738 | "version": "1.1.1",
1739 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
1740 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
1741 | "dev": true
1742 | },
1743 | "node_modules/function.prototype.name": {
1744 | "version": "1.1.5",
1745 | "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz",
1746 | "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==",
1747 | "dev": true,
1748 | "dependencies": {
1749 | "call-bind": "^1.0.2",
1750 | "define-properties": "^1.1.3",
1751 | "es-abstract": "^1.19.0",
1752 | "functions-have-names": "^1.2.2"
1753 | },
1754 | "engines": {
1755 | "node": ">= 0.4"
1756 | },
1757 | "funding": {
1758 | "url": "https://github.com/sponsors/ljharb"
1759 | }
1760 | },
1761 | "node_modules/functions-have-names": {
1762 | "version": "1.2.3",
1763 | "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
1764 | "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
1765 | "dev": true,
1766 | "funding": {
1767 | "url": "https://github.com/sponsors/ljharb"
1768 | }
1769 | },
1770 | "node_modules/gensync": {
1771 | "version": "1.0.0-beta.2",
1772 | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
1773 | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
1774 | "dev": true,
1775 | "engines": {
1776 | "node": ">=6.9.0"
1777 | }
1778 | },
1779 | "node_modules/get-intrinsic": {
1780 | "version": "1.2.1",
1781 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz",
1782 | "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==",
1783 | "dev": true,
1784 | "dependencies": {
1785 | "function-bind": "^1.1.1",
1786 | "has": "^1.0.3",
1787 | "has-proto": "^1.0.1",
1788 | "has-symbols": "^1.0.3"
1789 | },
1790 | "funding": {
1791 | "url": "https://github.com/sponsors/ljharb"
1792 | }
1793 | },
1794 | "node_modules/get-symbol-description": {
1795 | "version": "1.0.0",
1796 | "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",
1797 | "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",
1798 | "dev": true,
1799 | "dependencies": {
1800 | "call-bind": "^1.0.2",
1801 | "get-intrinsic": "^1.1.1"
1802 | },
1803 | "engines": {
1804 | "node": ">= 0.4"
1805 | },
1806 | "funding": {
1807 | "url": "https://github.com/sponsors/ljharb"
1808 | }
1809 | },
1810 | "node_modules/glob": {
1811 | "version": "7.2.3",
1812 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
1813 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
1814 | "dev": true,
1815 | "dependencies": {
1816 | "fs.realpath": "^1.0.0",
1817 | "inflight": "^1.0.4",
1818 | "inherits": "2",
1819 | "minimatch": "^3.1.1",
1820 | "once": "^1.3.0",
1821 | "path-is-absolute": "^1.0.0"
1822 | },
1823 | "engines": {
1824 | "node": "*"
1825 | },
1826 | "funding": {
1827 | "url": "https://github.com/sponsors/isaacs"
1828 | }
1829 | },
1830 | "node_modules/glob-parent": {
1831 | "version": "6.0.2",
1832 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
1833 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
1834 | "dev": true,
1835 | "dependencies": {
1836 | "is-glob": "^4.0.3"
1837 | },
1838 | "engines": {
1839 | "node": ">=10.13.0"
1840 | }
1841 | },
1842 | "node_modules/globals": {
1843 | "version": "11.12.0",
1844 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
1845 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
1846 | "dev": true,
1847 | "engines": {
1848 | "node": ">=4"
1849 | }
1850 | },
1851 | "node_modules/globalthis": {
1852 | "version": "1.0.3",
1853 | "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz",
1854 | "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==",
1855 | "dev": true,
1856 | "dependencies": {
1857 | "define-properties": "^1.1.3"
1858 | },
1859 | "engines": {
1860 | "node": ">= 0.4"
1861 | },
1862 | "funding": {
1863 | "url": "https://github.com/sponsors/ljharb"
1864 | }
1865 | },
1866 | "node_modules/gopd": {
1867 | "version": "1.0.1",
1868 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
1869 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
1870 | "dev": true,
1871 | "dependencies": {
1872 | "get-intrinsic": "^1.1.3"
1873 | },
1874 | "funding": {
1875 | "url": "https://github.com/sponsors/ljharb"
1876 | }
1877 | },
1878 | "node_modules/graphemer": {
1879 | "version": "1.4.0",
1880 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
1881 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
1882 | "dev": true
1883 | },
1884 | "node_modules/has": {
1885 | "version": "1.0.3",
1886 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
1887 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
1888 | "dev": true,
1889 | "dependencies": {
1890 | "function-bind": "^1.1.1"
1891 | },
1892 | "engines": {
1893 | "node": ">= 0.4.0"
1894 | }
1895 | },
1896 | "node_modules/has-bigints": {
1897 | "version": "1.0.2",
1898 | "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
1899 | "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
1900 | "dev": true,
1901 | "funding": {
1902 | "url": "https://github.com/sponsors/ljharb"
1903 | }
1904 | },
1905 | "node_modules/has-flag": {
1906 | "version": "4.0.0",
1907 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
1908 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
1909 | "dev": true,
1910 | "engines": {
1911 | "node": ">=8"
1912 | }
1913 | },
1914 | "node_modules/has-property-descriptors": {
1915 | "version": "1.0.0",
1916 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
1917 | "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
1918 | "dev": true,
1919 | "dependencies": {
1920 | "get-intrinsic": "^1.1.1"
1921 | },
1922 | "funding": {
1923 | "url": "https://github.com/sponsors/ljharb"
1924 | }
1925 | },
1926 | "node_modules/has-proto": {
1927 | "version": "1.0.1",
1928 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
1929 | "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
1930 | "dev": true,
1931 | "engines": {
1932 | "node": ">= 0.4"
1933 | },
1934 | "funding": {
1935 | "url": "https://github.com/sponsors/ljharb"
1936 | }
1937 | },
1938 | "node_modules/has-symbols": {
1939 | "version": "1.0.3",
1940 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
1941 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
1942 | "dev": true,
1943 | "engines": {
1944 | "node": ">= 0.4"
1945 | },
1946 | "funding": {
1947 | "url": "https://github.com/sponsors/ljharb"
1948 | }
1949 | },
1950 | "node_modules/has-tostringtag": {
1951 | "version": "1.0.0",
1952 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
1953 | "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
1954 | "dev": true,
1955 | "dependencies": {
1956 | "has-symbols": "^1.0.2"
1957 | },
1958 | "engines": {
1959 | "node": ">= 0.4"
1960 | },
1961 | "funding": {
1962 | "url": "https://github.com/sponsors/ljharb"
1963 | }
1964 | },
1965 | "node_modules/ignore": {
1966 | "version": "5.2.4",
1967 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
1968 | "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==",
1969 | "dev": true,
1970 | "engines": {
1971 | "node": ">= 4"
1972 | }
1973 | },
1974 | "node_modules/import-fresh": {
1975 | "version": "3.3.0",
1976 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
1977 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
1978 | "dev": true,
1979 | "dependencies": {
1980 | "parent-module": "^1.0.0",
1981 | "resolve-from": "^4.0.0"
1982 | },
1983 | "engines": {
1984 | "node": ">=6"
1985 | },
1986 | "funding": {
1987 | "url": "https://github.com/sponsors/sindresorhus"
1988 | }
1989 | },
1990 | "node_modules/imurmurhash": {
1991 | "version": "0.1.4",
1992 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
1993 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
1994 | "dev": true,
1995 | "engines": {
1996 | "node": ">=0.8.19"
1997 | }
1998 | },
1999 | "node_modules/inflight": {
2000 | "version": "1.0.6",
2001 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
2002 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
2003 | "dev": true,
2004 | "dependencies": {
2005 | "once": "^1.3.0",
2006 | "wrappy": "1"
2007 | }
2008 | },
2009 | "node_modules/inherits": {
2010 | "version": "2.0.4",
2011 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
2012 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
2013 | "dev": true
2014 | },
2015 | "node_modules/internal-slot": {
2016 | "version": "1.0.5",
2017 | "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz",
2018 | "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==",
2019 | "dev": true,
2020 | "dependencies": {
2021 | "get-intrinsic": "^1.2.0",
2022 | "has": "^1.0.3",
2023 | "side-channel": "^1.0.4"
2024 | },
2025 | "engines": {
2026 | "node": ">= 0.4"
2027 | }
2028 | },
2029 | "node_modules/is-array-buffer": {
2030 | "version": "3.0.2",
2031 | "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
2032 | "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==",
2033 | "dev": true,
2034 | "dependencies": {
2035 | "call-bind": "^1.0.2",
2036 | "get-intrinsic": "^1.2.0",
2037 | "is-typed-array": "^1.1.10"
2038 | },
2039 | "funding": {
2040 | "url": "https://github.com/sponsors/ljharb"
2041 | }
2042 | },
2043 | "node_modules/is-bigint": {
2044 | "version": "1.0.4",
2045 | "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
2046 | "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
2047 | "dev": true,
2048 | "dependencies": {
2049 | "has-bigints": "^1.0.1"
2050 | },
2051 | "funding": {
2052 | "url": "https://github.com/sponsors/ljharb"
2053 | }
2054 | },
2055 | "node_modules/is-boolean-object": {
2056 | "version": "1.1.2",
2057 | "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
2058 | "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
2059 | "dev": true,
2060 | "dependencies": {
2061 | "call-bind": "^1.0.2",
2062 | "has-tostringtag": "^1.0.0"
2063 | },
2064 | "engines": {
2065 | "node": ">= 0.4"
2066 | },
2067 | "funding": {
2068 | "url": "https://github.com/sponsors/ljharb"
2069 | }
2070 | },
2071 | "node_modules/is-builtin-module": {
2072 | "version": "3.2.1",
2073 | "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz",
2074 | "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==",
2075 | "dev": true,
2076 | "dependencies": {
2077 | "builtin-modules": "^3.3.0"
2078 | },
2079 | "engines": {
2080 | "node": ">=6"
2081 | },
2082 | "funding": {
2083 | "url": "https://github.com/sponsors/sindresorhus"
2084 | }
2085 | },
2086 | "node_modules/is-callable": {
2087 | "version": "1.2.7",
2088 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
2089 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
2090 | "dev": true,
2091 | "engines": {
2092 | "node": ">= 0.4"
2093 | },
2094 | "funding": {
2095 | "url": "https://github.com/sponsors/ljharb"
2096 | }
2097 | },
2098 | "node_modules/is-core-module": {
2099 | "version": "2.13.0",
2100 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
2101 | "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
2102 | "dev": true,
2103 | "dependencies": {
2104 | "has": "^1.0.3"
2105 | },
2106 | "funding": {
2107 | "url": "https://github.com/sponsors/ljharb"
2108 | }
2109 | },
2110 | "node_modules/is-date-object": {
2111 | "version": "1.0.5",
2112 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
2113 | "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
2114 | "dev": true,
2115 | "dependencies": {
2116 | "has-tostringtag": "^1.0.0"
2117 | },
2118 | "engines": {
2119 | "node": ">= 0.4"
2120 | },
2121 | "funding": {
2122 | "url": "https://github.com/sponsors/ljharb"
2123 | }
2124 | },
2125 | "node_modules/is-extglob": {
2126 | "version": "2.1.1",
2127 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
2128 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
2129 | "dev": true,
2130 | "engines": {
2131 | "node": ">=0.10.0"
2132 | }
2133 | },
2134 | "node_modules/is-glob": {
2135 | "version": "4.0.3",
2136 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
2137 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
2138 | "dev": true,
2139 | "dependencies": {
2140 | "is-extglob": "^2.1.1"
2141 | },
2142 | "engines": {
2143 | "node": ">=0.10.0"
2144 | }
2145 | },
2146 | "node_modules/is-module": {
2147 | "version": "1.0.0",
2148 | "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
2149 | "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==",
2150 | "dev": true
2151 | },
2152 | "node_modules/is-negative-zero": {
2153 | "version": "2.0.2",
2154 | "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz",
2155 | "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==",
2156 | "dev": true,
2157 | "engines": {
2158 | "node": ">= 0.4"
2159 | },
2160 | "funding": {
2161 | "url": "https://github.com/sponsors/ljharb"
2162 | }
2163 | },
2164 | "node_modules/is-number-object": {
2165 | "version": "1.0.7",
2166 | "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
2167 | "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
2168 | "dev": true,
2169 | "dependencies": {
2170 | "has-tostringtag": "^1.0.0"
2171 | },
2172 | "engines": {
2173 | "node": ">= 0.4"
2174 | },
2175 | "funding": {
2176 | "url": "https://github.com/sponsors/ljharb"
2177 | }
2178 | },
2179 | "node_modules/is-path-inside": {
2180 | "version": "3.0.3",
2181 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
2182 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
2183 | "dev": true,
2184 | "engines": {
2185 | "node": ">=8"
2186 | }
2187 | },
2188 | "node_modules/is-reference": {
2189 | "version": "1.2.1",
2190 | "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",
2191 | "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==",
2192 | "dev": true,
2193 | "dependencies": {
2194 | "@types/estree": "*"
2195 | }
2196 | },
2197 | "node_modules/is-regex": {
2198 | "version": "1.1.4",
2199 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
2200 | "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
2201 | "dev": true,
2202 | "dependencies": {
2203 | "call-bind": "^1.0.2",
2204 | "has-tostringtag": "^1.0.0"
2205 | },
2206 | "engines": {
2207 | "node": ">= 0.4"
2208 | },
2209 | "funding": {
2210 | "url": "https://github.com/sponsors/ljharb"
2211 | }
2212 | },
2213 | "node_modules/is-shared-array-buffer": {
2214 | "version": "1.0.2",
2215 | "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz",
2216 | "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==",
2217 | "dev": true,
2218 | "dependencies": {
2219 | "call-bind": "^1.0.2"
2220 | },
2221 | "funding": {
2222 | "url": "https://github.com/sponsors/ljharb"
2223 | }
2224 | },
2225 | "node_modules/is-string": {
2226 | "version": "1.0.7",
2227 | "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
2228 | "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
2229 | "dev": true,
2230 | "dependencies": {
2231 | "has-tostringtag": "^1.0.0"
2232 | },
2233 | "engines": {
2234 | "node": ">= 0.4"
2235 | },
2236 | "funding": {
2237 | "url": "https://github.com/sponsors/ljharb"
2238 | }
2239 | },
2240 | "node_modules/is-symbol": {
2241 | "version": "1.0.4",
2242 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
2243 | "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
2244 | "dev": true,
2245 | "dependencies": {
2246 | "has-symbols": "^1.0.2"
2247 | },
2248 | "engines": {
2249 | "node": ">= 0.4"
2250 | },
2251 | "funding": {
2252 | "url": "https://github.com/sponsors/ljharb"
2253 | }
2254 | },
2255 | "node_modules/is-typed-array": {
2256 | "version": "1.1.10",
2257 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz",
2258 | "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==",
2259 | "dev": true,
2260 | "dependencies": {
2261 | "available-typed-arrays": "^1.0.5",
2262 | "call-bind": "^1.0.2",
2263 | "for-each": "^0.3.3",
2264 | "gopd": "^1.0.1",
2265 | "has-tostringtag": "^1.0.0"
2266 | },
2267 | "engines": {
2268 | "node": ">= 0.4"
2269 | },
2270 | "funding": {
2271 | "url": "https://github.com/sponsors/ljharb"
2272 | }
2273 | },
2274 | "node_modules/is-weakref": {
2275 | "version": "1.0.2",
2276 | "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
2277 | "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",
2278 | "dev": true,
2279 | "dependencies": {
2280 | "call-bind": "^1.0.2"
2281 | },
2282 | "funding": {
2283 | "url": "https://github.com/sponsors/ljharb"
2284 | }
2285 | },
2286 | "node_modules/isexe": {
2287 | "version": "2.0.0",
2288 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
2289 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
2290 | "dev": true
2291 | },
2292 | "node_modules/js-tokens": {
2293 | "version": "4.0.0",
2294 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
2295 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
2296 | "dev": true
2297 | },
2298 | "node_modules/js-yaml": {
2299 | "version": "4.1.0",
2300 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
2301 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
2302 | "dev": true,
2303 | "dependencies": {
2304 | "argparse": "^2.0.1"
2305 | },
2306 | "bin": {
2307 | "js-yaml": "bin/js-yaml.js"
2308 | }
2309 | },
2310 | "node_modules/jsesc": {
2311 | "version": "2.5.2",
2312 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
2313 | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
2314 | "dev": true,
2315 | "bin": {
2316 | "jsesc": "bin/jsesc"
2317 | },
2318 | "engines": {
2319 | "node": ">=4"
2320 | }
2321 | },
2322 | "node_modules/json-schema-traverse": {
2323 | "version": "0.4.1",
2324 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
2325 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
2326 | "dev": true
2327 | },
2328 | "node_modules/json-stable-stringify-without-jsonify": {
2329 | "version": "1.0.1",
2330 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
2331 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
2332 | "dev": true
2333 | },
2334 | "node_modules/json5": {
2335 | "version": "2.2.3",
2336 | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
2337 | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
2338 | "dev": true,
2339 | "bin": {
2340 | "json5": "lib/cli.js"
2341 | },
2342 | "engines": {
2343 | "node": ">=6"
2344 | }
2345 | },
2346 | "node_modules/jsx-ast-utils": {
2347 | "version": "3.3.3",
2348 | "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz",
2349 | "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==",
2350 | "dev": true,
2351 | "dependencies": {
2352 | "array-includes": "^3.1.5",
2353 | "object.assign": "^4.1.3"
2354 | },
2355 | "engines": {
2356 | "node": ">=4.0"
2357 | }
2358 | },
2359 | "node_modules/levn": {
2360 | "version": "0.4.1",
2361 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
2362 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
2363 | "dev": true,
2364 | "dependencies": {
2365 | "prelude-ls": "^1.2.1",
2366 | "type-check": "~0.4.0"
2367 | },
2368 | "engines": {
2369 | "node": ">= 0.8.0"
2370 | }
2371 | },
2372 | "node_modules/locate-path": {
2373 | "version": "6.0.0",
2374 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
2375 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
2376 | "dev": true,
2377 | "dependencies": {
2378 | "p-locate": "^5.0.0"
2379 | },
2380 | "engines": {
2381 | "node": ">=10"
2382 | },
2383 | "funding": {
2384 | "url": "https://github.com/sponsors/sindresorhus"
2385 | }
2386 | },
2387 | "node_modules/lodash.merge": {
2388 | "version": "4.6.2",
2389 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
2390 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
2391 | "dev": true
2392 | },
2393 | "node_modules/loose-envify": {
2394 | "version": "1.4.0",
2395 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
2396 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
2397 | "dev": true,
2398 | "dependencies": {
2399 | "js-tokens": "^3.0.0 || ^4.0.0"
2400 | },
2401 | "bin": {
2402 | "loose-envify": "cli.js"
2403 | }
2404 | },
2405 | "node_modules/lru-cache": {
2406 | "version": "5.1.1",
2407 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
2408 | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
2409 | "dev": true,
2410 | "dependencies": {
2411 | "yallist": "^3.0.2"
2412 | }
2413 | },
2414 | "node_modules/magic-string": {
2415 | "version": "0.27.0",
2416 | "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz",
2417 | "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",
2418 | "dev": true,
2419 | "dependencies": {
2420 | "@jridgewell/sourcemap-codec": "^1.4.13"
2421 | },
2422 | "engines": {
2423 | "node": ">=12"
2424 | }
2425 | },
2426 | "node_modules/mini-svg-data-uri": {
2427 | "version": "1.4.4",
2428 | "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz",
2429 | "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==",
2430 | "dev": true,
2431 | "license": "MIT",
2432 | "bin": {
2433 | "mini-svg-data-uri": "cli.js"
2434 | }
2435 | },
2436 | "node_modules/minimatch": {
2437 | "version": "3.1.2",
2438 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
2439 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
2440 | "dev": true,
2441 | "dependencies": {
2442 | "brace-expansion": "^1.1.7"
2443 | },
2444 | "engines": {
2445 | "node": "*"
2446 | }
2447 | },
2448 | "node_modules/ms": {
2449 | "version": "2.1.2",
2450 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
2451 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
2452 | "dev": true
2453 | },
2454 | "node_modules/natural-compare": {
2455 | "version": "1.4.0",
2456 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
2457 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
2458 | "dev": true
2459 | },
2460 | "node_modules/node-releases": {
2461 | "version": "2.0.13",
2462 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz",
2463 | "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==",
2464 | "dev": true
2465 | },
2466 | "node_modules/object-assign": {
2467 | "version": "4.1.1",
2468 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
2469 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
2470 | "dev": true,
2471 | "engines": {
2472 | "node": ">=0.10.0"
2473 | }
2474 | },
2475 | "node_modules/object-inspect": {
2476 | "version": "1.12.3",
2477 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
2478 | "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==",
2479 | "dev": true,
2480 | "funding": {
2481 | "url": "https://github.com/sponsors/ljharb"
2482 | }
2483 | },
2484 | "node_modules/object-keys": {
2485 | "version": "1.1.1",
2486 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
2487 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
2488 | "dev": true,
2489 | "engines": {
2490 | "node": ">= 0.4"
2491 | }
2492 | },
2493 | "node_modules/object.assign": {
2494 | "version": "4.1.4",
2495 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz",
2496 | "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==",
2497 | "dev": true,
2498 | "dependencies": {
2499 | "call-bind": "^1.0.2",
2500 | "define-properties": "^1.1.4",
2501 | "has-symbols": "^1.0.3",
2502 | "object-keys": "^1.1.1"
2503 | },
2504 | "engines": {
2505 | "node": ">= 0.4"
2506 | },
2507 | "funding": {
2508 | "url": "https://github.com/sponsors/ljharb"
2509 | }
2510 | },
2511 | "node_modules/object.entries": {
2512 | "version": "1.1.6",
2513 | "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz",
2514 | "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==",
2515 | "dev": true,
2516 | "dependencies": {
2517 | "call-bind": "^1.0.2",
2518 | "define-properties": "^1.1.4",
2519 | "es-abstract": "^1.20.4"
2520 | },
2521 | "engines": {
2522 | "node": ">= 0.4"
2523 | }
2524 | },
2525 | "node_modules/object.fromentries": {
2526 | "version": "2.0.6",
2527 | "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz",
2528 | "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==",
2529 | "dev": true,
2530 | "dependencies": {
2531 | "call-bind": "^1.0.2",
2532 | "define-properties": "^1.1.4",
2533 | "es-abstract": "^1.20.4"
2534 | },
2535 | "engines": {
2536 | "node": ">= 0.4"
2537 | },
2538 | "funding": {
2539 | "url": "https://github.com/sponsors/ljharb"
2540 | }
2541 | },
2542 | "node_modules/object.hasown": {
2543 | "version": "1.1.2",
2544 | "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz",
2545 | "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==",
2546 | "dev": true,
2547 | "dependencies": {
2548 | "define-properties": "^1.1.4",
2549 | "es-abstract": "^1.20.4"
2550 | },
2551 | "funding": {
2552 | "url": "https://github.com/sponsors/ljharb"
2553 | }
2554 | },
2555 | "node_modules/object.values": {
2556 | "version": "1.1.6",
2557 | "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz",
2558 | "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==",
2559 | "dev": true,
2560 | "dependencies": {
2561 | "call-bind": "^1.0.2",
2562 | "define-properties": "^1.1.4",
2563 | "es-abstract": "^1.20.4"
2564 | },
2565 | "engines": {
2566 | "node": ">= 0.4"
2567 | },
2568 | "funding": {
2569 | "url": "https://github.com/sponsors/ljharb"
2570 | }
2571 | },
2572 | "node_modules/once": {
2573 | "version": "1.4.0",
2574 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
2575 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
2576 | "dev": true,
2577 | "dependencies": {
2578 | "wrappy": "1"
2579 | }
2580 | },
2581 | "node_modules/optionator": {
2582 | "version": "0.9.1",
2583 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
2584 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
2585 | "dev": true,
2586 | "dependencies": {
2587 | "deep-is": "^0.1.3",
2588 | "fast-levenshtein": "^2.0.6",
2589 | "levn": "^0.4.1",
2590 | "prelude-ls": "^1.2.1",
2591 | "type-check": "^0.4.0",
2592 | "word-wrap": "^1.2.3"
2593 | },
2594 | "engines": {
2595 | "node": ">= 0.8.0"
2596 | }
2597 | },
2598 | "node_modules/p-limit": {
2599 | "version": "3.1.0",
2600 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
2601 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
2602 | "dev": true,
2603 | "dependencies": {
2604 | "yocto-queue": "^0.1.0"
2605 | },
2606 | "engines": {
2607 | "node": ">=10"
2608 | },
2609 | "funding": {
2610 | "url": "https://github.com/sponsors/sindresorhus"
2611 | }
2612 | },
2613 | "node_modules/p-locate": {
2614 | "version": "5.0.0",
2615 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
2616 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
2617 | "dev": true,
2618 | "dependencies": {
2619 | "p-limit": "^3.0.2"
2620 | },
2621 | "engines": {
2622 | "node": ">=10"
2623 | },
2624 | "funding": {
2625 | "url": "https://github.com/sponsors/sindresorhus"
2626 | }
2627 | },
2628 | "node_modules/parent-module": {
2629 | "version": "1.0.1",
2630 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
2631 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
2632 | "dev": true,
2633 | "dependencies": {
2634 | "callsites": "^3.0.0"
2635 | },
2636 | "engines": {
2637 | "node": ">=6"
2638 | }
2639 | },
2640 | "node_modules/path-exists": {
2641 | "version": "4.0.0",
2642 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
2643 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
2644 | "dev": true,
2645 | "engines": {
2646 | "node": ">=8"
2647 | }
2648 | },
2649 | "node_modules/path-is-absolute": {
2650 | "version": "1.0.1",
2651 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
2652 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
2653 | "dev": true,
2654 | "engines": {
2655 | "node": ">=0.10.0"
2656 | }
2657 | },
2658 | "node_modules/path-key": {
2659 | "version": "3.1.1",
2660 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
2661 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
2662 | "dev": true,
2663 | "engines": {
2664 | "node": ">=8"
2665 | }
2666 | },
2667 | "node_modules/path-parse": {
2668 | "version": "1.0.7",
2669 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
2670 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
2671 | "dev": true
2672 | },
2673 | "node_modules/picocolors": {
2674 | "version": "1.0.0",
2675 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
2676 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
2677 | "dev": true
2678 | },
2679 | "node_modules/picomatch": {
2680 | "version": "2.3.1",
2681 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
2682 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
2683 | "dev": true,
2684 | "engines": {
2685 | "node": ">=8.6"
2686 | },
2687 | "funding": {
2688 | "url": "https://github.com/sponsors/jonschlinkert"
2689 | }
2690 | },
2691 | "node_modules/prelude-ls": {
2692 | "version": "1.2.1",
2693 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
2694 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
2695 | "dev": true,
2696 | "engines": {
2697 | "node": ">= 0.8.0"
2698 | }
2699 | },
2700 | "node_modules/prettier": {
2701 | "version": "2.8.8",
2702 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
2703 | "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
2704 | "dev": true,
2705 | "bin": {
2706 | "prettier": "bin-prettier.js"
2707 | },
2708 | "engines": {
2709 | "node": ">=10.13.0"
2710 | },
2711 | "funding": {
2712 | "url": "https://github.com/prettier/prettier?sponsor=1"
2713 | }
2714 | },
2715 | "node_modules/prop-types": {
2716 | "version": "15.8.1",
2717 | "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
2718 | "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
2719 | "dev": true,
2720 | "dependencies": {
2721 | "loose-envify": "^1.4.0",
2722 | "object-assign": "^4.1.1",
2723 | "react-is": "^16.13.1"
2724 | }
2725 | },
2726 | "node_modules/punycode": {
2727 | "version": "2.3.0",
2728 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
2729 | "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==",
2730 | "dev": true,
2731 | "engines": {
2732 | "node": ">=6"
2733 | }
2734 | },
2735 | "node_modules/queue-microtask": {
2736 | "version": "1.2.3",
2737 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
2738 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
2739 | "dev": true,
2740 | "funding": [
2741 | {
2742 | "type": "github",
2743 | "url": "https://github.com/sponsors/feross"
2744 | },
2745 | {
2746 | "type": "patreon",
2747 | "url": "https://www.patreon.com/feross"
2748 | },
2749 | {
2750 | "type": "consulting",
2751 | "url": "https://feross.org/support"
2752 | }
2753 | ]
2754 | },
2755 | "node_modules/react-is": {
2756 | "version": "16.13.1",
2757 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
2758 | "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
2759 | "dev": true
2760 | },
2761 | "node_modules/regexp.prototype.flags": {
2762 | "version": "1.5.0",
2763 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz",
2764 | "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==",
2765 | "dev": true,
2766 | "dependencies": {
2767 | "call-bind": "^1.0.2",
2768 | "define-properties": "^1.2.0",
2769 | "functions-have-names": "^1.2.3"
2770 | },
2771 | "engines": {
2772 | "node": ">= 0.4"
2773 | },
2774 | "funding": {
2775 | "url": "https://github.com/sponsors/ljharb"
2776 | }
2777 | },
2778 | "node_modules/resolve": {
2779 | "version": "2.0.0-next.4",
2780 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz",
2781 | "integrity": "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==",
2782 | "dev": true,
2783 | "dependencies": {
2784 | "is-core-module": "^2.9.0",
2785 | "path-parse": "^1.0.7",
2786 | "supports-preserve-symlinks-flag": "^1.0.0"
2787 | },
2788 | "bin": {
2789 | "resolve": "bin/resolve"
2790 | },
2791 | "funding": {
2792 | "url": "https://github.com/sponsors/ljharb"
2793 | }
2794 | },
2795 | "node_modules/resolve-from": {
2796 | "version": "4.0.0",
2797 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
2798 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
2799 | "dev": true,
2800 | "engines": {
2801 | "node": ">=4"
2802 | }
2803 | },
2804 | "node_modules/reusify": {
2805 | "version": "1.0.4",
2806 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
2807 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
2808 | "dev": true,
2809 | "engines": {
2810 | "iojs": ">=1.0.0",
2811 | "node": ">=0.10.0"
2812 | }
2813 | },
2814 | "node_modules/rimraf": {
2815 | "version": "3.0.2",
2816 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
2817 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
2818 | "dev": true,
2819 | "dependencies": {
2820 | "glob": "^7.1.3"
2821 | },
2822 | "bin": {
2823 | "rimraf": "bin.js"
2824 | },
2825 | "funding": {
2826 | "url": "https://github.com/sponsors/isaacs"
2827 | }
2828 | },
2829 | "node_modules/rollup": {
2830 | "version": "3.29.5",
2831 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.5.tgz",
2832 | "integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==",
2833 | "dev": true,
2834 | "bin": {
2835 | "rollup": "dist/bin/rollup"
2836 | },
2837 | "engines": {
2838 | "node": ">=14.18.0",
2839 | "npm": ">=8.0.0"
2840 | },
2841 | "optionalDependencies": {
2842 | "fsevents": "~2.3.2"
2843 | }
2844 | },
2845 | "node_modules/rollup-plugin-import-css": {
2846 | "version": "3.3.4",
2847 | "resolved": "https://registry.npmjs.org/rollup-plugin-import-css/-/rollup-plugin-import-css-3.3.4.tgz",
2848 | "integrity": "sha512-w5p1Dd1CavAht/P82zB3WX2RVy7O47MlJGSmgrWXTBPAkWHTbOBh/nUPz94IczCD0HLxpuT4AhF24cix7CpZWA==",
2849 | "dev": true,
2850 | "dependencies": {
2851 | "@rollup/pluginutils": "^5.0.4"
2852 | },
2853 | "engines": {
2854 | "node": ">=16"
2855 | },
2856 | "peerDependencies": {
2857 | "rollup": "^2.x.x || ^3.x.x"
2858 | }
2859 | },
2860 | "node_modules/run-parallel": {
2861 | "version": "1.2.0",
2862 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
2863 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
2864 | "dev": true,
2865 | "funding": [
2866 | {
2867 | "type": "github",
2868 | "url": "https://github.com/sponsors/feross"
2869 | },
2870 | {
2871 | "type": "patreon",
2872 | "url": "https://www.patreon.com/feross"
2873 | },
2874 | {
2875 | "type": "consulting",
2876 | "url": "https://feross.org/support"
2877 | }
2878 | ],
2879 | "dependencies": {
2880 | "queue-microtask": "^1.2.2"
2881 | }
2882 | },
2883 | "node_modules/safe-regex-test": {
2884 | "version": "1.0.0",
2885 | "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz",
2886 | "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==",
2887 | "dev": true,
2888 | "dependencies": {
2889 | "call-bind": "^1.0.2",
2890 | "get-intrinsic": "^1.1.3",
2891 | "is-regex": "^1.1.4"
2892 | },
2893 | "funding": {
2894 | "url": "https://github.com/sponsors/ljharb"
2895 | }
2896 | },
2897 | "node_modules/shebang-command": {
2898 | "version": "2.0.0",
2899 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
2900 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
2901 | "dev": true,
2902 | "dependencies": {
2903 | "shebang-regex": "^3.0.0"
2904 | },
2905 | "engines": {
2906 | "node": ">=8"
2907 | }
2908 | },
2909 | "node_modules/shebang-regex": {
2910 | "version": "3.0.0",
2911 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
2912 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
2913 | "dev": true,
2914 | "engines": {
2915 | "node": ">=8"
2916 | }
2917 | },
2918 | "node_modules/side-channel": {
2919 | "version": "1.0.4",
2920 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
2921 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
2922 | "dev": true,
2923 | "dependencies": {
2924 | "call-bind": "^1.0.0",
2925 | "get-intrinsic": "^1.0.2",
2926 | "object-inspect": "^1.9.0"
2927 | },
2928 | "funding": {
2929 | "url": "https://github.com/sponsors/ljharb"
2930 | }
2931 | },
2932 | "node_modules/string.prototype.matchall": {
2933 | "version": "4.0.8",
2934 | "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz",
2935 | "integrity": "sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==",
2936 | "dev": true,
2937 | "dependencies": {
2938 | "call-bind": "^1.0.2",
2939 | "define-properties": "^1.1.4",
2940 | "es-abstract": "^1.20.4",
2941 | "get-intrinsic": "^1.1.3",
2942 | "has-symbols": "^1.0.3",
2943 | "internal-slot": "^1.0.3",
2944 | "regexp.prototype.flags": "^1.4.3",
2945 | "side-channel": "^1.0.4"
2946 | },
2947 | "funding": {
2948 | "url": "https://github.com/sponsors/ljharb"
2949 | }
2950 | },
2951 | "node_modules/string.prototype.trim": {
2952 | "version": "1.2.7",
2953 | "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz",
2954 | "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==",
2955 | "dev": true,
2956 | "dependencies": {
2957 | "call-bind": "^1.0.2",
2958 | "define-properties": "^1.1.4",
2959 | "es-abstract": "^1.20.4"
2960 | },
2961 | "engines": {
2962 | "node": ">= 0.4"
2963 | },
2964 | "funding": {
2965 | "url": "https://github.com/sponsors/ljharb"
2966 | }
2967 | },
2968 | "node_modules/string.prototype.trimend": {
2969 | "version": "1.0.6",
2970 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",
2971 | "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==",
2972 | "dev": true,
2973 | "dependencies": {
2974 | "call-bind": "^1.0.2",
2975 | "define-properties": "^1.1.4",
2976 | "es-abstract": "^1.20.4"
2977 | },
2978 | "funding": {
2979 | "url": "https://github.com/sponsors/ljharb"
2980 | }
2981 | },
2982 | "node_modules/string.prototype.trimstart": {
2983 | "version": "1.0.6",
2984 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz",
2985 | "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==",
2986 | "dev": true,
2987 | "dependencies": {
2988 | "call-bind": "^1.0.2",
2989 | "define-properties": "^1.1.4",
2990 | "es-abstract": "^1.20.4"
2991 | },
2992 | "funding": {
2993 | "url": "https://github.com/sponsors/ljharb"
2994 | }
2995 | },
2996 | "node_modules/strip-ansi": {
2997 | "version": "6.0.1",
2998 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
2999 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3000 | "dev": true,
3001 | "dependencies": {
3002 | "ansi-regex": "^5.0.1"
3003 | },
3004 | "engines": {
3005 | "node": ">=8"
3006 | }
3007 | },
3008 | "node_modules/strip-json-comments": {
3009 | "version": "3.1.1",
3010 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
3011 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
3012 | "dev": true,
3013 | "engines": {
3014 | "node": ">=8"
3015 | },
3016 | "funding": {
3017 | "url": "https://github.com/sponsors/sindresorhus"
3018 | }
3019 | },
3020 | "node_modules/supports-color": {
3021 | "version": "7.2.0",
3022 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
3023 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
3024 | "dev": true,
3025 | "dependencies": {
3026 | "has-flag": "^4.0.0"
3027 | },
3028 | "engines": {
3029 | "node": ">=8"
3030 | }
3031 | },
3032 | "node_modules/supports-preserve-symlinks-flag": {
3033 | "version": "1.0.0",
3034 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
3035 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
3036 | "dev": true,
3037 | "engines": {
3038 | "node": ">= 0.4"
3039 | },
3040 | "funding": {
3041 | "url": "https://github.com/sponsors/ljharb"
3042 | }
3043 | },
3044 | "node_modules/svg-loaders-react": {
3045 | "version": "2.2.1",
3046 | "resolved": "https://registry.npmjs.org/svg-loaders-react/-/svg-loaders-react-2.2.1.tgz",
3047 | "integrity": "sha512-ATfg5pAMOla2GqPcwGRDrNTLlTQzl2fMvfW290j20qH7qpB61C3SQAnu+T9t8Z+V4IKKN2Bm1d/SaCv5IR1DDA=="
3048 | },
3049 | "node_modules/text-table": {
3050 | "version": "0.2.0",
3051 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
3052 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
3053 | "dev": true
3054 | },
3055 | "node_modules/to-fast-properties": {
3056 | "version": "2.0.0",
3057 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
3058 | "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
3059 | "dev": true,
3060 | "engines": {
3061 | "node": ">=4"
3062 | }
3063 | },
3064 | "node_modules/type-check": {
3065 | "version": "0.4.0",
3066 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
3067 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
3068 | "dev": true,
3069 | "dependencies": {
3070 | "prelude-ls": "^1.2.1"
3071 | },
3072 | "engines": {
3073 | "node": ">= 0.8.0"
3074 | }
3075 | },
3076 | "node_modules/type-fest": {
3077 | "version": "0.20.2",
3078 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
3079 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
3080 | "dev": true,
3081 | "engines": {
3082 | "node": ">=10"
3083 | },
3084 | "funding": {
3085 | "url": "https://github.com/sponsors/sindresorhus"
3086 | }
3087 | },
3088 | "node_modules/typed-array-length": {
3089 | "version": "1.0.4",
3090 | "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz",
3091 | "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==",
3092 | "dev": true,
3093 | "dependencies": {
3094 | "call-bind": "^1.0.2",
3095 | "for-each": "^0.3.3",
3096 | "is-typed-array": "^1.1.9"
3097 | },
3098 | "funding": {
3099 | "url": "https://github.com/sponsors/ljharb"
3100 | }
3101 | },
3102 | "node_modules/unbox-primitive": {
3103 | "version": "1.0.2",
3104 | "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",
3105 | "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==",
3106 | "dev": true,
3107 | "dependencies": {
3108 | "call-bind": "^1.0.2",
3109 | "has-bigints": "^1.0.2",
3110 | "has-symbols": "^1.0.3",
3111 | "which-boxed-primitive": "^1.0.2"
3112 | },
3113 | "funding": {
3114 | "url": "https://github.com/sponsors/ljharb"
3115 | }
3116 | },
3117 | "node_modules/update-browserslist-db": {
3118 | "version": "1.0.11",
3119 | "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz",
3120 | "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==",
3121 | "dev": true,
3122 | "funding": [
3123 | {
3124 | "type": "opencollective",
3125 | "url": "https://opencollective.com/browserslist"
3126 | },
3127 | {
3128 | "type": "tidelift",
3129 | "url": "https://tidelift.com/funding/github/npm/browserslist"
3130 | },
3131 | {
3132 | "type": "github",
3133 | "url": "https://github.com/sponsors/ai"
3134 | }
3135 | ],
3136 | "dependencies": {
3137 | "escalade": "^3.1.1",
3138 | "picocolors": "^1.0.0"
3139 | },
3140 | "bin": {
3141 | "update-browserslist-db": "cli.js"
3142 | },
3143 | "peerDependencies": {
3144 | "browserslist": ">= 4.21.0"
3145 | }
3146 | },
3147 | "node_modules/uri-js": {
3148 | "version": "4.4.1",
3149 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
3150 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
3151 | "dev": true,
3152 | "dependencies": {
3153 | "punycode": "^2.1.0"
3154 | }
3155 | },
3156 | "node_modules/which": {
3157 | "version": "2.0.2",
3158 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
3159 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
3160 | "dev": true,
3161 | "dependencies": {
3162 | "isexe": "^2.0.0"
3163 | },
3164 | "bin": {
3165 | "node-which": "bin/node-which"
3166 | },
3167 | "engines": {
3168 | "node": ">= 8"
3169 | }
3170 | },
3171 | "node_modules/which-boxed-primitive": {
3172 | "version": "1.0.2",
3173 | "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
3174 | "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
3175 | "dev": true,
3176 | "dependencies": {
3177 | "is-bigint": "^1.0.1",
3178 | "is-boolean-object": "^1.1.0",
3179 | "is-number-object": "^1.0.4",
3180 | "is-string": "^1.0.5",
3181 | "is-symbol": "^1.0.3"
3182 | },
3183 | "funding": {
3184 | "url": "https://github.com/sponsors/ljharb"
3185 | }
3186 | },
3187 | "node_modules/which-typed-array": {
3188 | "version": "1.1.9",
3189 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz",
3190 | "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==",
3191 | "dev": true,
3192 | "dependencies": {
3193 | "available-typed-arrays": "^1.0.5",
3194 | "call-bind": "^1.0.2",
3195 | "for-each": "^0.3.3",
3196 | "gopd": "^1.0.1",
3197 | "has-tostringtag": "^1.0.0",
3198 | "is-typed-array": "^1.1.10"
3199 | },
3200 | "engines": {
3201 | "node": ">= 0.4"
3202 | },
3203 | "funding": {
3204 | "url": "https://github.com/sponsors/ljharb"
3205 | }
3206 | },
3207 | "node_modules/word-wrap": {
3208 | "version": "1.2.5",
3209 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
3210 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
3211 | "dev": true,
3212 | "engines": {
3213 | "node": ">=0.10.0"
3214 | }
3215 | },
3216 | "node_modules/wrappy": {
3217 | "version": "1.0.2",
3218 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
3219 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
3220 | "dev": true
3221 | },
3222 | "node_modules/yallist": {
3223 | "version": "3.1.1",
3224 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
3225 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
3226 | "dev": true
3227 | },
3228 | "node_modules/yocto-queue": {
3229 | "version": "0.1.0",
3230 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
3231 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
3232 | "dev": true,
3233 | "engines": {
3234 | "node": ">=10"
3235 | },
3236 | "funding": {
3237 | "url": "https://github.com/sponsors/sindresorhus"
3238 | }
3239 | }
3240 | }
3241 | }
3242 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "pluralchum",
3 | "version": "2.7.0",
4 | "repository": "https://github.com/estroBiologist/pluralchum.git",
5 | "author": "Ash Taylor",
6 | "license": "MIT",
7 | "type": "module",
8 | "scripts": {
9 | "build": "rollup -c",
10 | "format": "prettier './**/*.js' --write",
11 | "lint": "eslint './**/*.js'"
12 | },
13 | "devDependencies": {
14 | "@babel/core": "^7.22.5",
15 | "@babel/preset-react": "^7.22.5",
16 | "@rollup/plugin-babel": "^6.0.3",
17 | "@rollup/plugin-commonjs": "^25.0.1",
18 | "@rollup/plugin-image": "^3.0.3",
19 | "@rollup/plugin-node-resolve": "^15.2.1",
20 | "@rollup/plugin-replace": "^5.0.2",
21 | "eslint": "^8.43.0",
22 | "eslint-plugin-react": "^7.32.2",
23 | "prettier": "2.8.8",
24 | "rollup": ">=3.29.5",
25 | "rollup-plugin-import-css": "3.3.4"
26 | },
27 | "dependencies": {
28 | "@ariagivens/discord-unicode-fix-js": "1.1.1",
29 | "svg-loaders-react": "^2.2.1"
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/rollup.config.js:
--------------------------------------------------------------------------------
1 | import babel from '@rollup/plugin-babel';
2 | import commonjs from '@rollup/plugin-commonjs';
3 | import nodeResolve from '@rollup/plugin-node-resolve';
4 | import css from 'rollup-plugin-import-css';
5 | import replace from '@rollup/plugin-replace';
6 | import fs from 'fs/promises';
7 | import image from '@rollup/plugin-image';
8 |
9 | export default {
10 | input: 'src/main.js',
11 | output: {
12 | file: 'dist/Pluralchum.plugin.js',
13 | format: 'cjs',
14 | banner: fs.readFile('src/header.js'),
15 | },
16 | external: ['react'],
17 | plugins: [
18 | nodeResolve(),
19 | babel({ babelHelpers: 'bundled' }),
20 | css(),
21 | image(),
22 | commonjs(),
23 | replace({ preventAssignment: false, delimiters: ['', ''], values: { "require('react')": 'BdApi.React' } }),
24 | ],
25 | };
26 |
--------------------------------------------------------------------------------
/src/components/Bio.js:
--------------------------------------------------------------------------------
1 | const parseBio = BdApi.Webpack.getByKeys('parseBioReact');
2 | export default function Bio({ content }) {
3 | try {
4 | const parserHelper = BdApi.Webpack.getByKeys('reactParserFor', 'createReactRules');
5 | let newRules = parserHelper.defaultRules;
6 |
7 | //modified regex matcher, and link match regex from simple-markdown, replaces link match function to override Discord's 'allowLinks' check
8 | // Creates a match function for an inline scoped element from a regex
9 | var inlineRegex = function (regex) {
10 | var match = function (source, state) {
11 | if (state.inline) {
12 | return regex.exec(source);
13 | } else {
14 | return null;
15 | }
16 | };
17 | match.regex = regex;
18 | return match;
19 | };
20 | var LINK_INSIDE = '(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*';
21 | var LINK_HREF_AND_TITLE = '\\s*((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+[\'"]([\\s\\S]*?)[\'"])?\\s*';
22 | newRules.link.match = inlineRegex(new RegExp('^\\[(' + LINK_INSIDE + ')\\]\\(' + LINK_HREF_AND_TITLE + '\\)'));
23 |
24 | let customParser = parserHelper.reactParserFor(newRules);
25 | const finalOutput = customParser(content);
26 | return finalOutput;
27 | } catch (error) {
28 | console.warn('[PLURALCHUM] error while generating bio, falling back to default function!');
29 | try {
30 | const defaultParse = parseBio.parseBioReact(content);
31 | return defaultParse;
32 | } catch (error) {
33 | console.error('[PLURALCHUM] error while generating bio!', error);
34 | return 'Error while generating bio!';
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/src/components/BlockedMessage.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | function getHeaderId(label) {
4 | return /message-username-(?\d+)/.exec(label)?.groups?.headerId;
5 | }
6 |
7 | export function hookupUnblocked(unblockedMap, author) {
8 | let header = getHeaderId(author);
9 | const [unblocked, setUnblocked] = React.useState(unblockedMap.get(header) ?? []);
10 |
11 | unblockedMap.addListener(function (key, value) {
12 | if (key === header) {
13 | setUnblocked(value);
14 | }
15 | });
16 |
17 | return [[...unblocked], setUnblocked];
18 | }
19 |
20 | function getUnblocked(unblockedMap, message, messageNode, label) {
21 | const [unblocked] = hookupUnblocked(unblockedMap, label);
22 |
23 | if (!unblocked.find(({ id }) => id === message.id)) {
24 | unblocked.push({ id: message.id, node: messageNode, timestamp: message.timestamp });
25 | unblocked.sort((a, b) => (a.timestamp < b.timestamp ? -1 : a.timestamp > b.timestamp ? 1 : 0));
26 | unblockedMap.set(getHeaderId(label), unblocked);
27 | }
28 |
29 | return unblocked.map(({ node }) => node);
30 | }
31 |
32 | function XIcon() {
33 | return (
34 |
42 | );
43 | }
44 |
45 | export default function BlockedMessage({ unblockedMap, message, messageNode, label, compact }) {
46 | const [expanded, setExpanded] = React.useState(false);
47 | const unblocked = getUnblocked(unblockedMap, message, messageNode, label);
48 |
49 | if (compact) {
50 | return null;
51 | }
52 |
53 | return (
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 | {unblocked.length} blocked {unblocked.length === 1 ? 'message' : 'messages'} —{' '}
62 | setExpanded(!expanded)}
67 | >
68 | {expanded ? 'Collapse' : 'Show'} {unblocked.length === 1 ? 'message' : 'messages'}
69 |
70 |
71 |
72 |
73 |
74 |
75 | {expanded ? unblocked : null}
76 |
77 | );
78 | }
79 |
--------------------------------------------------------------------------------
/src/components/ColorMessageContent.js:
--------------------------------------------------------------------------------
1 | // se: Each formatted element gets a separate entry in the array ret.props.children[0].
2 | // Some of the new elements (specifically headers) have a .markup-XXXXXX h class defined.
3 | // These classes have a set color, and this overrides the element style on the top level message content element.
4 | // So, we iterate over message elements that have their own props field, and add the color, item by item.
5 | // But also plain text in a message *doesn't* have props, so we still have to set ret.props.style for that.
6 | // Waugh.
7 | // Making a list of the specific markup types that don't format correctly,
8 | // Because if we just do this to all formatting, that overrides the URL color too.
9 | function colorMarkupElements(originalMessageElements, color) {
10 | let messageElements = [];
11 |
12 | const MarkupTypes = ['h1', 'h2', 'h3'];
13 | for (const element of originalMessageElements) {
14 | if (MarkupTypes.includes(element.type)) {
15 | messageElements.push({ ...element, props: { ...element.props, style: { color } } });
16 | } else {
17 | messageElements.push(element);
18 | }
19 | }
20 |
21 | return messageElements;
22 | }
23 |
24 | export default function ColorMessageContent({ messageContent, color }) {
25 | let elements = colorMarkupElements(messageContent.props.children[0], color);
26 | return { ...messageContent, props: { ...messageContent.props, style: { color }, children: [elements] } };
27 | }
28 |
--------------------------------------------------------------------------------
/src/components/ColorMessageHeader.js:
--------------------------------------------------------------------------------
1 | const Webpack = BdApi.Webpack;
2 | const GuildMemberStore = Webpack.getStore('GuildMemberStore');
3 | const React = BdApi.React;
4 |
5 | import { fix } from '@ariagivens/discord-unicode-fix-js';
6 | import { acceptableContrast } from '../contrast.js';
7 | import { ColourPreference } from '../data.js';
8 | import HeaderPKBadge from './HeaderPKBadge.js';
9 |
10 | function normalize(str) {
11 | return fix(str).normalize('NFD');
12 | }
13 |
14 | function getServername(username, tag) {
15 | if (!tag || tag.length === 0) {
16 | return null;
17 | }
18 |
19 | username = normalize(username);
20 | tag = normalize(tag);
21 |
22 | let username_len = username.length;
23 | let tag_len = tag.length + 1; // include the space as part of the tag
24 |
25 | if (username.endsWith(tag)) {
26 | return username.slice(0, username_len - tag_len);
27 | } else {
28 | return null;
29 | }
30 | }
31 |
32 | function getUsername(useServerNames, author, profile) {
33 | let username = normalize(author.username_real ?? author.username.slice());
34 | let tag = normalize(profile.tag ?? '');
35 | if (useServerNames) {
36 | let servername = getServername(username, tag);
37 | if (servername) {
38 | // we can seperate servername and tag
39 | return { username: servername, memberTag: tag };
40 | } else {
41 | // most likely using a servertag, treat the whole thing as the username
42 | return { username, memberTag: '' };
43 | }
44 | } else {
45 | return { username: normalize(profile.name), memberTag: tag };
46 | }
47 | }
48 |
49 | function NameSegment({ colour, name }) {
50 | return (
51 |
52 | {name}
53 |
54 | );
55 | }
56 |
57 | function getColour(colourPref, member, guildId, settings, defaultSystemColourToMemberColour) {
58 | let colour;
59 |
60 | switch (colourPref) {
61 | case ColourPreference.Member:
62 | colour = member.color ?? member.system_color;
63 | break;
64 | case ColourPreference.System:
65 | if (defaultSystemColourToMemberColour) {
66 | colour = member.system_color ?? member.color;
67 | } else {
68 | colour = member.system_color;
69 | }
70 | break;
71 | case ColourPreference.Role:
72 | colour = GuildMemberStore.getMember(guildId, member.sender)?.colorString;
73 | break;
74 | default:
75 | colour = null;
76 | break;
77 | }
78 |
79 | let { doContrastTest, contrastTestColour, contrastThreshold } = settings;
80 | if (colour && acceptableContrast(colour, doContrastTest, contrastTestColour, contrastThreshold)) {
81 | return colour;
82 | } else {
83 | return null;
84 | }
85 | }
86 |
87 | function createHeaderChildren(message, guildId, settings, profileMap, profile, userHash, onClickUsername) {
88 | let { memberColourPref, tagColourPref } = settings;
89 |
90 | let { username, memberTag } = getUsername(settings.useServerNames, message.author, profile);
91 |
92 | let memberColour = getColour(memberColourPref, profile, guildId, settings, true);
93 | let tagColour = getColour(tagColourPref, profile, guildId, settings, false);
94 |
95 | let doSysTag = memberTag && memberTag.length > 0;
96 |
97 | return [
98 |
99 |
100 | {doSysTag ? ' ' : null}
101 | {doSysTag ? : null}
102 | ,
103 | ,
104 | ];
105 | }
106 |
107 | export default function ColorMessageHeader({
108 | settings,
109 | profileMap,
110 | profile,
111 | userHash,
112 | messageHeader,
113 | message,
114 | guildId,
115 | onClickUsername,
116 | }) {
117 | return {
118 | ...messageHeader,
119 | props: {
120 | ...messageHeader.props,
121 | children: [
122 | createHeaderChildren(message, guildId, settings, profileMap, profile, userHash, onClickUsername),
123 | // Triggering the popout with correct position is hard, so we just leave the original
124 | // header here (but hide it using CSS) so the popout can take its position.
125 | {messageHeader.props.children}
,
126 | ],
127 | },
128 | };
129 | }
130 |
--------------------------------------------------------------------------------
/src/components/DataPanelBio.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | const markupClass = BdApi.Webpack.getByKeys('markup')?.markup;
4 | const textClass = BdApi.Webpack.getByKeys('text-sm/normal')['text-sm/normal'];
5 | const thinClass = BdApi.Webpack.getByKeys('scrollerBase', 'thin')?.thin;
6 |
7 | import Bio from './Bio';
8 |
9 | export default function DataPanelBio({ content }) {
10 | const scrollerClass = BdApi.Webpack.getByKeys('scroller', 'note')?.scroller;
11 |
12 | return (
13 |
20 | );
21 | }
22 |
--------------------------------------------------------------------------------
/src/components/HeaderPKBadge.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 | import { ThreeDots } from 'svg-loaders-react';
3 | import { ProfileStatus } from '../profiles.js';
4 |
5 | export default function PopoutPKBadge({ profileMap, userHash, profile }) {
6 | const status = profile.status;
7 |
8 | let onClick = function () {
9 | profileMap.update(userHash, function (profile) {
10 | profile.status = ProfileStatus.Stale;
11 | return profile;
12 | });
13 | };
14 |
15 | const linkStyle = {
16 | color: '#ffffff',
17 | };
18 | let content = 'PK';
19 | if ([ProfileStatus.Updating, ProfileStatus.Requesting, ProfileStatus.Stale].includes(status)) {
20 | let dotstyle = {
21 | height: '.4em',
22 | width: '100%',
23 | display: 'inline',
24 | 'vertical-align': 'top',
25 | 'padding-top': '0.55em',
26 | };
27 | content = ;
28 | }
29 |
30 | return (
31 |
32 |
37 |
38 | );
39 | }
40 |
--------------------------------------------------------------------------------
/src/components/LoadingMessageHeader.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | import HeaderPKBadge from './HeaderPKBadge.js';
4 |
5 | export default function LoadingMessageHeader({ messageHeader, profile, profileMap, userHash }) {
6 | return {
7 | ...messageHeader,
8 | props: {
9 | ...messageHeader.props,
10 | children: [
11 | messageHeader.props.children[4],
12 | ,
13 | ],
14 | },
15 | };
16 | }
17 |
--------------------------------------------------------------------------------
/src/components/MessageContentProxy.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | import { hookupValueCell, isProxiedMessage } from '../utility';
4 | import { ProfileStatus, updateProfile, hookupProfile } from '../profiles';
5 | import { acceptableContrast } from '../contrast';
6 | import ColorMessageContent from './ColorMessageContent';
7 |
8 | function shouldColor(settings, profile) {
9 | let { doContrastTest, contrastTestColour, contrastThreshold } = settings;
10 |
11 | return (
12 | settings.doColourText &&
13 | profile &&
14 | (profile.status === ProfileStatus.Done || profile.status === ProfileStatus.Updating) &&
15 | profile.color &&
16 | acceptableContrast(profile.color, doContrastTest, contrastTestColour, contrastThreshold)
17 | );
18 | }
19 |
20 | export default function MessageContentProxy({ settingsCell, profileMap, enabledCell, messageContent, message }) {
21 | let [settings] = hookupValueCell(settingsCell);
22 | let [profile] = hookupProfile(profileMap, message.author);
23 | let [enabled] = hookupValueCell(enabledCell);
24 |
25 | if (!enabled || !isProxiedMessage(message)) {
26 | return messageContent;
27 | }
28 |
29 | updateProfile(message, profileMap);
30 |
31 | if (shouldColor(settings, profile)) {
32 | return ;
33 | } else {
34 | return messageContent;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/components/MessageHeaderProxy.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | import { hookupValueCell, isProxiedMessage } from '../utility.js';
4 | import { hookupProfile, updateProfile, ProfileStatus, getUserHash } from '../profiles.js';
5 | import ColoredMessageHeader from './ColorMessageHeader.js';
6 | import LoadingMessageHeader from './LoadingMessageHeader.js';
7 |
8 | export default function MessageHeaderProxy({
9 | settingsCell,
10 | profileMap,
11 | enabledCell,
12 | messageHeader,
13 | message,
14 | guildId,
15 | onClickUsername,
16 | }) {
17 | let [settings] = hookupValueCell(settingsCell);
18 | let [profile] = hookupProfile(profileMap, message.author);
19 | let [enabled] = hookupValueCell(enabledCell);
20 |
21 | if (!enabled || !isProxiedMessage(message)) {
22 | return messageHeader;
23 | }
24 |
25 | updateProfile(message, profileMap);
26 |
27 | let userHash = getUserHash(message.author);
28 |
29 | if (profile && (profile.status === ProfileStatus.Done || profile.status === ProfileStatus.Updating)) {
30 | return (
31 |
41 | );
42 | } else if (!profile || profile.status === ProfileStatus.Requesting) {
43 | return (
44 |
50 | );
51 | } else {
52 | return messageHeader;
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/src/components/MessageProxy.js:
--------------------------------------------------------------------------------
1 | import { hookupProfile } from '../profiles';
2 | import { hookupValueCell } from '../utility';
3 | import BlockedMessage from './BlockedMessage';
4 | let isBlocked = BdApi.Webpack.getByKeys('isBlocked').isBlocked;
5 |
6 | const React = BdApi.React;
7 |
8 | function isBlockedProfile(profile) {
9 | return profile?.sender && isBlocked(profile.sender);
10 | }
11 |
12 | function MessageProxyInner({ profileMap, unblockedMap, messageNode, message, label, compact }) {
13 | let [profile] = hookupProfile(profileMap, message.author);
14 |
15 | if (isBlockedProfile(profile)) {
16 | return (
17 |
24 | );
25 | // return messageNode;
26 | } else {
27 | return messageNode;
28 | }
29 | }
30 |
31 | export default function MessageProxy({ profileMap, enabledCell, unblockedMap, messageNode, message, label, compact }) {
32 | let [enabled] = hookupValueCell(enabledCell);
33 |
34 | if (enabled && message) {
35 | return (
36 |
44 | );
45 | } else {
46 | return messageNode;
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/src/components/PopoutBio.js:
--------------------------------------------------------------------------------
1 | import Bio from './Bio';
2 |
3 | const React = BdApi.React;
4 | const markupClass = BdApi.Webpack.getByKeys('markup')?.markup;
5 | const textClass = BdApi.Webpack.getByKeys('text-sm/normal')['text-sm/normal'];
6 | const thinClass = BdApi.Webpack.getByKeys('scrollerBase', 'thin')?.thin;
7 |
8 | export default function PopoutBio({ content }) {
9 | return (
10 |
17 | );
18 | }
19 |
--------------------------------------------------------------------------------
/src/components/PopoutPKBadge.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | export default function PopoutPKBadge() {
4 | return (
5 |
6 | PK
7 |
8 | );
9 | }
10 |
--------------------------------------------------------------------------------
/src/contrast.js:
--------------------------------------------------------------------------------
1 | function luminance(r, g, b) {
2 | var a = [r, g, b].map(function (v) {
3 | v /= 255;
4 | return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
5 | });
6 | return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
7 | }
8 |
9 | function contrast(rgb1, rgb2) {
10 | var lum1 = luminance(rgb1.r, rgb1.g, rgb1.b);
11 | var lum2 = luminance(rgb2.r, rgb2.g, rgb2.b);
12 | var brightest = Math.max(lum1, lum2);
13 | var darkest = Math.min(lum1, lum2);
14 | return (brightest + 0.05) / (darkest + 0.05);
15 | }
16 |
17 | function hexToRgb(hex) {
18 | // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF" )
19 | var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
20 | hex = hex.replace(shorthandRegex, function (m, r, g, b) {
21 | return r + r + g + g + b + b;
22 | });
23 |
24 | var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
25 | return result
26 | ? {
27 | r: parseInt(result[1], 16),
28 | g: parseInt(result[2], 16),
29 | b: parseInt(result[3], 16),
30 | }
31 | : null;
32 | }
33 |
34 | export function acceptableContrast(colour, doContrastTest, contrastTestColour, contrastThreshold) {
35 | let textContrast = contrast(hexToRgb(colour), hexToRgb(contrastTestColour));
36 | return !doContrastTest || textContrast >= contrastThreshold;
37 | }
38 |
--------------------------------------------------------------------------------
/src/data.js:
--------------------------------------------------------------------------------
1 | import { ValueCell, MapCell, pluginName } from './utility.js';
2 | import { ProfileStatus } from './profiles.js';
3 |
4 | export const ColourPreference = {
5 | Member: 0,
6 | System: 1,
7 | Theme: 2, // (do nothing)
8 | Role: 3,
9 | };
10 |
11 | function defaultSettings() {
12 | return {
13 | eula: false,
14 | doColourText: true,
15 | contrastTestColour: '#000000',
16 | doContrastTest: true,
17 | contrastThreshold: 3,
18 | memberColourPref: ColourPreference.Member,
19 | tagColourPref: ColourPreference.System,
20 | useServerNames: true,
21 | version: null,
22 | doDisableBanners: false,
23 | };
24 | }
25 |
26 | function loadSettings() {
27 | let settings = Object.assign(defaultSettings(), BdApi.Data.load(pluginName, 'settings'));
28 | BdApi.Data.save(pluginName, 'settings', settings);
29 | return settings;
30 | }
31 |
32 | export function initializeSettings() {
33 | let settings = new ValueCell(loadSettings());
34 | settings.addListener(function (s) {
35 | BdApi.Data.save(pluginName, 'settings', s);
36 | });
37 | return settings;
38 | }
39 |
40 | function filterDoneProfiles(entries) {
41 | const filtered = entries.filter(([_, profile]) => profile.status === ProfileStatus.Done);
42 | return Object.fromEntries(filtered);
43 | }
44 |
45 | export function initializeProfileMap() {
46 | const key = 'profileMap';
47 | let map = new MapCell(BdApi.Data.load(pluginName, key) ?? {});
48 | map.addListener(function () {
49 | BdApi.Data.save(pluginName, key, filterDoneProfiles(map.entries()));
50 | });
51 | return map;
52 | }
53 |
54 | function tooOld(lastUsed) {
55 | const expirationTime = 1000 * 60 * 60 * 24 * 30;
56 | return Date.now() - lastUsed > expirationTime;
57 | }
58 |
59 | export function purgeOldProfiles(profileMap) {
60 | if (!profileMap) return;
61 |
62 | for (const [id, profile] of profileMap.entries()) {
63 | if (Object.hasOwn(profile, 'lastUsed')) {
64 | if (tooOld(profile.lastUsed)) {
65 | profileMap.delete(id);
66 | }
67 | } else {
68 | profileMap.update(id, function () {
69 | return { ...profile, lastUsed: Date.now() };
70 | });
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/src/edit.js:
--------------------------------------------------------------------------------
1 | const Webpack = BdApi.Webpack;
2 | const MessageActions = Webpack.getByKeys('jumpToMessage', '_sendMessage');
3 | const MessageStore = Webpack.getStore('MessageStore');
4 | const ChannelStore = Webpack.getStore('ChannelStore');
5 | import { isProxiedMessage, pluginName } from './utility.js';
6 |
7 | export function patchEditMenuItem() {
8 | // Add edit menu item to proxied messages.
9 | return BdApi.ContextMenu.patch('message', (res, props) => {
10 | const { message } = props;
11 | if (!message || !isProxiedMessage(message) || !Array.isArray(res?.props?.children)) {
12 | return res;
13 | }
14 | res.props.children[2].props.children.splice(
15 | 4,
16 | 0,
17 | BdApi.ContextMenu.buildMenuChildren([
18 | {
19 | id: 'pk-edit',
20 | label: 'Edit Proxied Message',
21 | action: () => {
22 | MessageActions.startEditMessage(message.channel_id, message.id, message.content);
23 | },
24 | },
25 | ]),
26 | );
27 | });
28 | }
29 |
30 | export function patchEditAction() {
31 | // Patch edit actions on proxied messages to send a pluralkit command.
32 | BdApi.Patcher.instead(
33 | pluginName,
34 | MessageActions,
35 | 'editMessage',
36 | BdApi.Utils.debounce(function (ctx, [channel_id, message_id, message], original) {
37 | if (isProxiedMessage(MessageStore.getMessage(channel_id, message_id))) {
38 | let { content } = message;
39 | let channel = ChannelStore.getChannel(channel_id);
40 | let guild_id = channel.guild_id;
41 | let str = 'pk;e https://discord.com/channels/' + guild_id + '/' + channel_id + '/' + message_id + ' ' + content;
42 | MessageActions.sendMessage(channel_id, {
43 | reaction: false,
44 | content: str,
45 | });
46 | } else {
47 | return original(channel_id, message_id, message);
48 | }
49 | }, 100),
50 | );
51 | }
52 |
--------------------------------------------------------------------------------
/src/eula.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 | import { pluginName } from './utility';
3 |
4 | function headsUp(onConfirm, onCancel) {
5 | BdApi.UI.showConfirmationModal(
6 | 'Heads up!',
7 |
8 | This plugin uses the PluralKit API to fetch system and member data.
9 |
10 | Because of technical limitations, this data is cached on your computer between sessions. None of this data is ever
11 | shared, collected or uploaded, but you still ought to know.
12 |
13 |
14 | You can clear this cache at any time in the plugin settings , and unused cache data is automatically deleted
15 | after 30 days.
16 |
,
17 | {
18 | confirmText: 'Gotcha',
19 | cancelText: 'No thanks',
20 | onConfirm,
21 | onCancel,
22 | },
23 | );
24 | }
25 |
26 | export function requireEula(settings) {
27 | if (!settings.get().eula) {
28 | let onConfirm = function () {
29 | settings.update(function (s) {
30 | return { ...s, eula: true };
31 | });
32 | };
33 |
34 | let onCancel = function () {
35 | BdApi.Plugins.disable(pluginName);
36 | };
37 |
38 | headsUp(onConfirm, onCancel);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/src/header.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @name Pluralchum
3 | * @version 2.7.0
4 | * @description PluralKit integration for BetterDiscord. Inexplicably Homestuck-themed.
5 | * @author Ash Taylor
6 | *
7 | */
8 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import './styles.js';
2 | import { initializeSettings, initializeProfileMap, purgeOldProfiles } from './data.js';
3 | import { requireEula } from './eula.js';
4 | import { patchMessageContent, patchMessageHeader, patchMessage } from './messages.js';
5 | import { patchEditMenuItem, patchEditAction } from './edit.js';
6 | import { settingsPanel } from './settingsPanel.js';
7 | import { ValueCell, pluginName } from './utility.js';
8 | import { checkForUpdates, upgradeCache } from './update.js';
9 | import { patchBotPopout } from './popout.js';
10 |
11 | const version = '2.7.0';
12 |
13 | export class Pluralchum {
14 | patches = [];
15 |
16 | start() {
17 | this.settings = initializeSettings();
18 |
19 | console.log('[PLURALCHUM] Loaded settings');
20 |
21 | this.profileMap = initializeProfileMap();
22 |
23 | console.log('[PLURALCHUM] Loaded PK data');
24 |
25 | upgradeCache(this.settings, this.profileMap, version);
26 |
27 | requireEula(this.settings);
28 |
29 | this.enabled = new ValueCell(true);
30 |
31 | patchMessageContent(this.settings, this.profileMap, this.enabled);
32 | patchMessageHeader(this.settings, this.profileMap, this.enabled);
33 | patchMessage(this.profileMap, this.enabled);
34 | this.patches.push(patchEditMenuItem());
35 | patchEditAction();
36 | patchBotPopout(this.settings, this.profileMap);
37 |
38 | checkForUpdates(version);
39 | }
40 |
41 | stop() {
42 | this.enabled.set(false);
43 |
44 | for (let i = this.patches.length - 1; i >= 0; i--) this.patches[i]();
45 |
46 | purgeOldProfiles(this.profileMap);
47 |
48 | BdApi.Patcher.unpatchAll(pluginName);
49 | }
50 |
51 | getSettingsPanel() {
52 | return settingsPanel(this.settings, this.profileMap);
53 | }
54 |
55 | getName() {
56 | return pluginName;
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/src/messages.js:
--------------------------------------------------------------------------------
1 | const MessageContent = BdApi.Webpack.getModule(m => {
2 | let s = m?.type?.toString();
3 | return s && s.includes('messageContent') && s.includes('SEND_FAILED');
4 | });
5 | const [MessageHeader, messageHeader] = BdApi.Webpack.getWithKey(BdApi.Webpack.Filters.byStrings('BaseUsername'));
6 | const [Message, blocker] = BdApi.Webpack.getWithKey(
7 | BdApi.Webpack.Filters.byStrings('.cozy', '.hasReply', '.hasThread', '.isSystemMessage'),
8 | );
9 | const React = BdApi.React;
10 |
11 | import { MapCell, pluginName } from './utility.js';
12 | import MessageContentProxy from './components/MessageContentProxy.js';
13 | import MessageHeaderProxy from './components/MessageHeaderProxy.js';
14 | import MessageProxy from './components/MessageProxy.js';
15 |
16 | export function patchMessageContent(settings, profileMap, enabled) {
17 | BdApi.Patcher.instead(pluginName, MessageContent, 'type', function (ctx, [props], f) {
18 | return (
19 |
26 | );
27 | });
28 | }
29 |
30 | export function patchMessageHeader(settings, profileMap, enabled) {
31 | BdApi.Patcher.instead(pluginName, MessageHeader, messageHeader, function (ctx, [props], f) {
32 | // Props can sometimes be undefined.
33 | if (!props) {
34 | return;
35 | }
36 | return (
37 |
46 | );
47 | });
48 | }
49 |
50 | export function patchMessage(profileMap, enabled) {
51 | let unblockedMap = new MapCell({});
52 |
53 | BdApi.Patcher.instead(pluginName, Message, blocker, function (ctx, [props], f) {
54 | return (
55 |
64 | );
65 | });
66 | }
67 |
--------------------------------------------------------------------------------
/src/popout.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | import { pluginName } from './utility.js';
4 |
5 | const [WebhookPopout, viewWebhookPopout] = BdApi.Webpack.getWithKey(
6 | BdApi.Webpack.Filters.byStrings('messageId', 'user', 'openUserProfileModal', 'setPopoutRef', 'isClyde'),
7 | );
8 |
9 | const viewBotPopout = BdApi.Webpack.getByStrings(
10 | 'messageId',
11 | 'user',
12 | 'openUserProfileModal',
13 | 'setPopoutRef',
14 | 'BotUserProfilePopout',
15 | );
16 |
17 | const [Avatar, avatar] = BdApi.Webpack.getWithKey(
18 | BdApi.Webpack.Filters.byStrings('avatarSrc', 'avatarDecorationSrc', 'eventHandlers', 'avatarOverride'),
19 | );
20 |
21 | const [Banner, banner] = BdApi.Webpack.getWithKey(BdApi.Webpack.Filters.byStrings('bannerSrc'));
22 |
23 | const [UsernameRow, usernameRow] = BdApi.Webpack.getWithKey(BdApi.Webpack.Filters.byStrings('_.clanTagContainer'));
24 |
25 | const UserProfileStore = BdApi.Webpack.getModule(BdApi.Webpack.Filters.byStoreName('UserProfileStore'));
26 | const UserStore = BdApi.Webpack.getModule(BdApi.Webpack.Filters.byStoreName('UserStore'));
27 | const User = BdApi.Webpack.getByPrototypeKeys('addGuildAvatarHash', 'isLocalBot');
28 | const MessageStore = BdApi.Webpack.getModule(BdApi.Webpack.Filters.byStoreName('MessageStore'));
29 | import { getUserHash, ProfileStatus } from './profiles.js';
30 | import PopoutPKBadge from './components/PopoutPKBadge.js';
31 | import DataPanelBio from './components/DataPanelBio.js';
32 | import PopoutBio from './components/PopoutBio.js';
33 |
34 | function isValidHttpUrl(string) {
35 | let url;
36 |
37 | try {
38 | url = new URL(string);
39 | } catch (_) {
40 | return false;
41 | }
42 |
43 | return url.protocol === 'http:' || url.protocol === 'https:';
44 | }
45 |
46 | export function patchBotPopout(settings, profileMap) {
47 | BdApi.Patcher.instead(pluginName, UserProfileStore, 'getGuildMemberProfile', function (ctx, [userId, guildId], f) {
48 | if (userId && typeof userId !== 'string' && userId.userProfile) {
49 | return userId.userProfile;
50 | } else {
51 | return f(userId, guildId);
52 | }
53 | });
54 |
55 | BdApi.Patcher.instead(pluginName, UserProfileStore, 'getUserProfile', function (ctx, [userId, guildId], f) {
56 | if (userId && typeof userId !== 'string' && userId.userProfile) {
57 | return userId.userProfile;
58 | } else {
59 | return f(userId, guildId);
60 | }
61 | });
62 |
63 | BdApi.Patcher.instead(pluginName, UserStore, 'getUser', function (ctx, [userId, guildId], f) {
64 | if (userId && typeof userId !== 'string' && userId.user) {
65 | return userId.user;
66 | } else {
67 | return f(userId, guildId);
68 | }
69 | });
70 |
71 | BdApi.Patcher.after(pluginName, Avatar, avatar, function (_, [{ user }], ret) {
72 | if (user && isValidHttpUrl(user.avatar)) {
73 | ret.avatarSrc = user.avatar;
74 | ret.avatarPlaceholder = user.avatar;
75 | }
76 | return ret;
77 | });
78 |
79 | BdApi.Patcher.after(pluginName, Banner, banner, function (_, [{ displayProfile }], ret) {
80 | if (displayProfile && isValidHttpUrl(displayProfile.banner)) {
81 | if (settings.get()?.doDisableBanners) {
82 | ret.bannerSrc = undefined;
83 | ret.status = 'COMPLETE';
84 | } else {
85 | ret.bannerSrc = displayProfile.banner;
86 | }
87 | }
88 | return ret;
89 | });
90 |
91 | BdApi.Patcher.instead(pluginName, WebhookPopout, viewWebhookPopout, function (_, [args], f) {
92 | let message = MessageStore.getMessage(args.channelId, args.messageId);
93 |
94 | if (!message) {
95 | return f(args);
96 | }
97 |
98 | let userHash = getUserHash(message.author);
99 | let profile = profileMap.get(userHash);
100 |
101 | if (!profile || profile?.status === ProfileStatus.NotPK) {
102 | return f(args);
103 | }
104 |
105 | let userProfile = {
106 | bio: profile.description ?? '',
107 | system_bio: profile.system_description ?? '',
108 | userId: args.user.id,
109 | guildId: args.guildId,
110 | pronouns: profile.pronouns,
111 | };
112 |
113 | if (profile.color) {
114 | userProfile.accentColor = Number('0x' + profile.color.substring(1));
115 | } else {
116 | userProfile.accentColor = Number('0x5b63f4');
117 | }
118 |
119 | if (profile.banner) {
120 | userProfile.banner = profile.banner;
121 | }
122 |
123 | let user = new User({
124 | username: profile.system_name ?? profile.system,
125 | globalName: profile.name,
126 | bot: true,
127 | discriminator: profile.system,
128 | });
129 |
130 | user.id = { userProfile, user, isPK: true };
131 |
132 | if (args.user.avatar) {
133 | user.avatar = 'https://cdn.discordapp.com/avatars/' + args.user.id + '/' + args.user.avatar + '.webp';
134 | } else {
135 | //fallback to default avatar
136 | user.avatar = 'https://cdn.discordapp.com/embed/avatars/0.png';
137 | }
138 |
139 | if (viewBotPopout) return viewBotPopout({ ...args, user });
140 | else {
141 | console.error('[PLURALCHUM] Error, bot popout function is undefined! Falling back to webhook function...');
142 | return f({ ...args, user });
143 | }
144 | });
145 |
146 | BdApi.Patcher.after(pluginName, UsernameRow, usernameRow, function (ctx, [args], ret) {
147 | if (args.user?.id?.isPK) {
148 | ret.props.children[0].props.children[1] = ;
149 | }
150 |
151 | return ret;
152 | });
153 |
154 | BdApi.Webpack.waitForModule(BdApi.Webpack.Filters.byKeys('openUserProfileModal')).then(function (userProfile) {
155 | if (userProfile === undefined) {
156 | console.error('[PLURALCHUM] Error while patching the user profile modal!');
157 | return;
158 | }
159 | const Dispatcher = BdApi.Webpack.getByKeys('dispatch', 'subscribe');
160 | BdApi.Patcher.instead(pluginName, userProfile, 'openUserProfileModal', (ctx, [args], f) => {
161 | if (typeof args.userId !== 'string' && args.userId?.isPK) {
162 | Dispatcher.dispatch({
163 | type: 'USER_PROFILE_MODAL_OPEN',
164 | userId: args.userId,
165 | appContext: args.appContext,
166 | });
167 |
168 | return;
169 | }
170 | return f(args);
171 | });
172 | });
173 |
174 | BdApi.Webpack.waitForModule(BdApi.Webpack.Filters.byStrings('user-bot-profile-overflow-menu', 'BLOCK'), {
175 | defaultExport: false,
176 | }).then(function (OverflowMenu) {
177 | if (OverflowMenu === undefined) {
178 | console.error('[PLURALCHUM] Error while patching OverflowMenu!');
179 | return;
180 | }
181 | BdApi.Patcher.instead(pluginName, OverflowMenu, 'Z', (ctx, [args], f) => {
182 | if (args.user?.id?.isPK) return;
183 | return f(args);
184 | });
185 | });
186 |
187 | //this could potentially be changed to message the system user?
188 | const MessageButton = BdApi.Webpack.getByKeys('openPrivateChannel');
189 | BdApi.Patcher.instead(pluginName, MessageButton, 'openPrivateChannel', function (ctx, args, f) {
190 | if (args[0]?.isPK) {
191 | return;
192 | }
193 | return f(...args);
194 | });
195 |
196 | BdApi.Webpack.waitForModule(BdApi.Webpack.Filters.byStrings('BOT_INFO', 'MUTUAL_GUILDS', 'BOT_DATA_ACCESS'), {
197 | defaultExport: false,
198 | }).then(function (ModalTabBar) {
199 | if (ModalTabBar === undefined) {
200 | console.error('[PLURALCHUM] Error while patching ModalTabBar!');
201 | return;
202 | }
203 | BdApi.Patcher.instead(pluginName, ModalTabBar, 'Z', (ctx, [args], f) => {
204 | if (!args?.id?.isPK) return f(args);
205 | const newHeaders = [
206 | { section: 'BOT_INFO', text: 'Member Info' },
207 | { section: 'BOT_DATA_ACCESS', text: 'System Info' },
208 | ];
209 | return newHeaders;
210 | });
211 | console.debug('[PLURALCHUM] patched ModalTabBar');
212 | });
213 |
214 | BdApi.Webpack.waitForModule(BdApi.Webpack.Filters.byStrings('getUserProfile', 'SET_NOTE'), {
215 | defaultExport: false,
216 | }).then(function (UserProfilePanel) {
217 | if (UserProfilePanel === undefined) {
218 | console.error('[PLURALCHUM] Error while patching UserProfilePanel!');
219 | return;
220 | }
221 | BdApi.Patcher.instead(pluginName, UserProfilePanel, 'Z', (ctx, [args], f) => {
222 | if (!args?.user?.id?.isPK) return f(args);
223 |
224 | return ;
225 | });
226 | });
227 |
228 | //this will also probably eventually break -- is there a better way to grab this module?
229 | BdApi.Webpack.waitForModule(BdApi.Webpack.Filters.byStrings('getUserProfile', 'application', 'helpCenterUrl'), {
230 | defaultExport: false,
231 | }).then(function (BotDataPanel) {
232 | if (BotDataPanel === undefined) {
233 | console.error('[PLURALCHUM] Error while patching BotDataPanel!');
234 | return;
235 | }
236 | BdApi.Patcher.instead(pluginName, BotDataPanel, 'Z', (ctx, [args], f) => {
237 | if (!args?.user?.id?.isPK) return f(args);
238 |
239 | return ;
240 | });
241 | });
242 |
243 | const [PopoutBioPatch, popoutBioPatch] = BdApi.Webpack.getWithKey(
244 | BdApi.Webpack.Filters.byStrings('viewFullBioDisabled', 'hidePersonalInformation'),
245 | );
246 | BdApi.Patcher.instead(pluginName, PopoutBioPatch, popoutBioPatch, function (_, [args], f) {
247 | if (!args?.user?.id?.isPK) {
248 | return f(args);
249 | }
250 | return ;
251 | });
252 | }
253 |
--------------------------------------------------------------------------------
/src/profiles.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | import { sleep, isProxiedMessage } from './utility';
4 |
5 | export const ProfileStatus = {
6 | Done: 'DONE',
7 | Updating: 'UPDATING',
8 | Requesting: 'REQUESTING',
9 | NotPK: 'NOT_PK',
10 | Stale: 'STALE',
11 | };
12 |
13 | const baseEndpoint = 'https://api.pluralkit.me/v2';
14 | const userAgent = 'PLURALCHUM (github.com/estroBiologist/pluralchum)';
15 | const delayPerRequest = 600;
16 |
17 | let currentRequests = -1;
18 | async function httpGetAsync(url) {
19 | currentRequests += 1;
20 | await sleep(currentRequests * delayPerRequest);
21 | let headers = new Headers({ 'User-Agent': userAgent });
22 | let response = await fetch(url, { headers });
23 | currentRequests -= 1;
24 | return response;
25 | }
26 |
27 | function pkDataToProfile(data) {
28 | let profile = {
29 | name: data.member.name,
30 | color: '#' + data.member.color,
31 | tag: data.system.tag,
32 | id: data.member.id,
33 | system: data.system.id,
34 | status: ProfileStatus.Done,
35 | system_color: '#' + data.system.color,
36 | sender: data.sender,
37 | description: data.member.description ?? '',
38 | system_description: data.system.description ?? '',
39 | avatar: data.member.avatar_url ?? data.system.avatar_url,
40 | banner: data.member.banner,
41 | system_name: data.system.name,
42 | pronouns: data.member.pronouns,
43 | };
44 |
45 | if (data.member.color === null) profile.color = '';
46 |
47 | if (data.system.color === null) profile.system_color = '';
48 |
49 | if (data.member.display_name) {
50 | profile.name = data.member.display_name;
51 | }
52 |
53 | if (data.member.pronouns === null) profile.pronouns = '';
54 |
55 | return profile;
56 | }
57 |
58 | async function pkResponseToProfile(response) {
59 | if (response.status == 200) {
60 | console.log('RESPONSE');
61 | let data = await response.json();
62 | console.log(data);
63 | if (data.system == null && data.member == null) return { status: ProfileStatus.NotPK };
64 | return pkDataToProfile(data);
65 | } else if (response.status == 404) {
66 | return { status: ProfileStatus.NotPK };
67 | }
68 | }
69 |
70 | async function getFreshProfile(message) {
71 | let profileResponse = await httpGetAsync(`${baseEndpoint}/messages/${message.id}`);
72 | return await pkResponseToProfile(profileResponse);
73 | }
74 |
75 | async function updateFreshProfile(message, hash, profileMap) {
76 | profileMap.update(hash, function (profile) {
77 | if (profile !== null) {
78 | profile.status = ProfileStatus.Updating;
79 | return profile;
80 | } else {
81 | return { status: ProfileStatus.Requesting };
82 | }
83 | });
84 |
85 | let profile = await getFreshProfile(message);
86 |
87 | profileMap.set(hash, profile);
88 | }
89 |
90 | function hashCode(text) {
91 | var hash = 0;
92 | for (var i = 0; i < text.length; i++) {
93 | var char = text.charCodeAt(i);
94 | hash = (hash << 5) - hash + char;
95 | hash = hash & hash; // Convert to 32bit integer
96 | }
97 | return hash;
98 | }
99 |
100 | export function getUserHash(author) {
101 | let username = author.username;
102 | if (Object.hasOwn(author, 'username_real')) username = author.username_real;
103 |
104 | return hashCode(username + author.avatar);
105 | }
106 |
107 | function shouldUpdate(profile) {
108 | return !profile || profile.status === ProfileStatus.Stale;
109 | }
110 |
111 | export async function updateProfile(message, profileMap) {
112 | if (!isProxiedMessage(message)) return null;
113 |
114 | let username = message.author.username;
115 | if (Object.hasOwn(message.author, 'username_real')) username = message.author.username_real;
116 |
117 | let userHash = getUserHash(message.author);
118 |
119 | let profile = profileMap.get(userHash);
120 |
121 | if (shouldUpdate(profile)) {
122 | console.log(`[PLURALCHUM] Requesting data for ${username} (${userHash})`);
123 | try {
124 | await updateFreshProfile(message, userHash, profileMap);
125 | } catch (e) {
126 | console.log(`[PLURALCHUM] Error while requesting data for ${username} (${userHash}): ${e}`);
127 | }
128 | }
129 | }
130 |
131 | export function hookupProfile(profileMap, author) {
132 | let userHash = getUserHash(author);
133 | const [profile, setProfile] = React.useState(profileMap.get(userHash));
134 | React.useEffect(function () {
135 | return profileMap.addListener(function (key, value) {
136 | if (key === userHash) {
137 | setProfile(value);
138 | }
139 | });
140 | });
141 |
142 | return [profile, setProfile];
143 | }
144 |
--------------------------------------------------------------------------------
/src/settingsPanel.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 | import { ColourPreference } from './data.js';
3 | import logo_png from '../images/logo.png';
4 |
5 | function title() {
6 | let logo = ;
7 |
8 | let subtitle = (
9 |
10 | PluralKit integration for BetterDiscord
11 | - by{' '}
12 |
13 | ash taylor
14 | {' '}
15 | -
16 |
17 | );
18 |
19 | return {
20 | type: 'custom',
21 | id: 'logo',
22 | name: '',
23 | note: '',
24 | value: null,
25 | children: (
26 |
27 | {logo}
28 | {subtitle}
29 |
30 | ),
31 | };
32 | }
33 |
34 | function doColourText(settings) {
35 | return {
36 | type: 'switch',
37 | id: 'doColourText',
38 | name: 'Colored proxy text',
39 | note: '',
40 | value: settings.get().doColourText,
41 | };
42 | }
43 |
44 | function memberColourPref(settings) {
45 | return {
46 | type: 'dropdown',
47 | id: 'memberColourPref',
48 | name: 'Default member name color',
49 | note: '',
50 | value: settings.get().memberColourPref,
51 | options: [
52 | { label: 'Member', value: ColourPreference.Member },
53 | { label: 'System', value: ColourPreference.System },
54 | { label: 'Role', value: ColourPreference.Role },
55 | { label: 'Theme', value: ColourPreference.Theme },
56 | ],
57 | };
58 | }
59 |
60 | function tagColourPref(settings) {
61 | return {
62 | type: 'dropdown',
63 | id: 'tagColourPref',
64 | name: 'Default system tag color',
65 | note: '',
66 | value: settings.get().tagColourPref,
67 | options: [
68 | { label: 'Member', value: ColourPreference.Member },
69 | { label: 'System', value: ColourPreference.System },
70 | { label: 'Role', value: ColourPreference.Role },
71 | { label: 'Theme', value: ColourPreference.Theme },
72 | ],
73 | };
74 | }
75 |
76 | function useServerNames(settings) {
77 | return {
78 | type: 'switch',
79 | id: 'useServerNames',
80 | name: 'Use servernames',
81 | note: '',
82 | value: settings.get().useServerNames,
83 | };
84 | }
85 |
86 | function preferencesPanel(settings) {
87 | return {
88 | type: 'category',
89 | id: 'preferencesPanel',
90 | name: 'Preferences',
91 | collapsible: true,
92 | shown: false,
93 | settings: [doColourText(settings), useServerNames(settings), memberColourPref(settings), tagColourPref(settings)],
94 | };
95 | }
96 |
97 | function doDisableBanners(settings) {
98 | return {
99 | type: 'switch',
100 | id: 'doDisableBanners',
101 | name: 'Disable banners',
102 | note: '',
103 | value: settings.get().doDisableBanners,
104 | };
105 | }
106 |
107 | function doContrastTest(settings) {
108 | return {
109 | type: 'switch',
110 | id: 'doContrastTest',
111 | name: 'Enable text constrast test',
112 | note: "Uses the theme's default color if the proxy's contrast is too low",
113 | value: settings.get().doContrastTest,
114 | };
115 | }
116 |
117 | function contrastTestColour(settings) {
118 | return {
119 | type: 'color',
120 | id: 'contrastTestColour',
121 | name: 'Contrast test color',
122 | note: 'The background color that proxy text will be tested against (black for dark themes, white for light themes)',
123 | value: settings.get().contrastTestColour,
124 | };
125 | }
126 |
127 | function contrastThreshold(settings) {
128 | return {
129 | type: 'slider',
130 | id: 'contrastThreshold',
131 | name: 'Contrast ratio threshold',
132 | note: 'Minimum contrast ratio for proxy colors (default: 3)',
133 | value: settings.get().contrastThreshold,
134 | min: 1,
135 | max: 21,
136 | markers: [1, 2, 3, 4.5, 7, 14, 21],
137 | };
138 | }
139 |
140 | function accessibilityPanel(settings) {
141 | return {
142 | type: 'category',
143 | id: 'accessibilityPanel',
144 | name: 'Accessibility',
145 | collapsible: true,
146 | shown: false,
147 | settings: [
148 | doDisableBanners(settings),
149 | doContrastTest(settings),
150 | contrastTestColour(settings),
151 | contrastThreshold(settings),
152 | ],
153 | };
154 | }
155 |
156 | function cachePanel(profileMap) {
157 | let resetCacheBtn = (
158 | profileMap.clear()}
162 | >
163 | Delete Cache
164 |
165 | );
166 |
167 | return {
168 | type: 'category',
169 | id: 'cachePanel',
170 | name: 'Cache',
171 | collapsible: true,
172 | shown: false,
173 | settings: [
174 | {
175 | type: 'custom',
176 | id: 'logo',
177 | name: '',
178 | note: '',
179 | value: null,
180 | children: resetCacheBtn,
181 | },
182 | ],
183 | };
184 | }
185 |
186 | export function settingsPanel(settings, profileMap) {
187 | return BdApi.UI.buildSettingsPanel({
188 | settings: [title(), preferencesPanel(settings), accessibilityPanel(settings), cachePanel(profileMap)],
189 | onChange: (_category, id, value) => settings.update(s => Object.assign({}, s, { [id]: value })),
190 | });
191 | }
192 |
--------------------------------------------------------------------------------
/src/styles.css:
--------------------------------------------------------------------------------
1 | .plugin-inputs.collapsible {
2 | overflow: visible;
3 | }
4 |
5 | .plugin-inputs.collapsible.collapsed {
6 | overflow: hidden;
7 | }
8 |
9 | .pk-name:hover .pk-name-segment {
10 | cursor: pointer;
11 | text-decoration: underline;
12 | }
13 |
14 | .pk-hidden {
15 | visibility: hidden;
16 | display: inline;
17 | position: absolute;
18 | width: 0px;
19 | }
20 |
21 | .pk-hidden * {
22 | display: inline-block;
23 | width: 0px;
24 | }
25 |
--------------------------------------------------------------------------------
/src/styles.js:
--------------------------------------------------------------------------------
1 | import styles from './styles.css';
2 |
3 | let css = document.createElement('style');
4 | css.id = 'PluralchumCSS';
5 | css.innerHTML = styles;
6 | document.head.append(css);
7 |
--------------------------------------------------------------------------------
/src/update.js:
--------------------------------------------------------------------------------
1 | const { semverCompare } = BdApi.Utils;
2 | import { ProfileStatus } from './profiles';
3 |
4 | export async function showUpdateNotice(url) {
5 | let button = document.createElement('button');
6 | button.label = 'Check it out!';
7 | button.onClick = function () {
8 | require('electron').shell.openExternal(url);
9 | };
10 | BdApi.UI.showNotice('Pluralchum has a new update!', { type: 'info', buttons: [button] });
11 | }
12 |
13 | export async function checkForUpdates(currentVersion) {
14 | let data = await fetch('https://api.github.com/repos/estroBiologist/pluralchum/releases/latest');
15 | if (data.ok) {
16 | let latestRelease = await data.json();
17 | let latestVersion = latestRelease.tag_name;
18 |
19 | if (semverCompare(currentVersion, latestVersion) > 0) {
20 | showUpdateNotice(latestRelease.html_url);
21 | }
22 | }
23 | }
24 |
25 | export function upgradeCache(settings, profileMap, currentVersion) {
26 | let cacheVersion = settings.get().version;
27 | if (!cacheVersion || semverCompare(cacheVersion, currentVersion) > 0) {
28 | settings.update(function (s) {
29 | return { ...s, version: currentVersion };
30 | });
31 |
32 | for (const [key, value] of profileMap.entries()) {
33 | profileMap.set(key, { ...value, status: ProfileStatus.Stale });
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/utility.js:
--------------------------------------------------------------------------------
1 | const React = BdApi.React;
2 |
3 | export class ValueCell {
4 | #val;
5 | #listeners = [];
6 |
7 | constructor(val) {
8 | this.#val = val;
9 | }
10 |
11 | get() {
12 | return this.#val;
13 | }
14 |
15 | set(x) {
16 | this.update(function () {
17 | return x;
18 | });
19 | }
20 |
21 | update(f) {
22 | let old = this.#val;
23 | let current = f(old);
24 | this.#val = current;
25 | if (old !== current) {
26 | this.#listeners.forEach(function (listener) {
27 | listener(current);
28 | });
29 | }
30 | }
31 |
32 | addListener(f) {
33 | this.#listeners.push(f);
34 |
35 | // removeListener function
36 | return function () {
37 | let index = this.#listeners.indexOf(f);
38 | this.#listeners.splice(index, 1);
39 | }.bind(this);
40 | }
41 | }
42 |
43 | export class MapCell {
44 | #map;
45 | #listeners = [];
46 |
47 | constructor(map) {
48 | this.#map = map;
49 | }
50 |
51 | get(key) {
52 | if (Object.hasOwn(this.#map, key)) {
53 | return this.#map[key];
54 | } else {
55 | return null;
56 | }
57 | }
58 |
59 | set(key, value) {
60 | this.update(key, function () {
61 | return value;
62 | });
63 | }
64 |
65 | entries() {
66 | return Object.entries(this.#map);
67 | }
68 |
69 | update(key, f) {
70 | let old = this.get(key);
71 | let current = f(old);
72 | this.#map[key] = current;
73 | if (old !== current) {
74 | this.#listeners.forEach(function (listener) {
75 | listener(key, current);
76 | });
77 | }
78 | }
79 |
80 | addListener(f) {
81 | this.#listeners.push(f);
82 |
83 | // removeListener function
84 | return function () {
85 | let index = this.#listeners.indexOf(f);
86 | this.#listeners.splice(index, 1);
87 | }.bind(this);
88 | }
89 |
90 | delete(key) {
91 | delete this.#map[key];
92 | this.#listeners.forEach(function (listener) {
93 | listener(key, null);
94 | });
95 | }
96 |
97 | clear() {
98 | this.#map = {};
99 | this.#listeners.forEach(function (listener) {
100 | listener(null, null);
101 | });
102 | }
103 | }
104 |
105 | export function hookupValueCell(cell) {
106 | const [value, setValue] = React.useState(cell.get());
107 | React.useEffect(function () {
108 | return cell.addListener(setValue);
109 | });
110 |
111 | return [value, setValue];
112 | }
113 |
114 | export function isProxiedMessage(message) {
115 | return message.webhookId !== null;
116 | }
117 |
118 | export async function sleep(timeout) {
119 | return new Promise(resolve => setTimeout(resolve, timeout));
120 | }
121 |
122 | export const pluginName = 'Pluralchum';
123 |
--------------------------------------------------------------------------------