├── .eslintrc.json ├── .gitignore ├── README.md ├── assets ├── basico.jpeg ├── biblioteca.jpeg ├── canvas.jpg ├── coffeehouse.png ├── faculdade.jpeg ├── lago.jpeg ├── money.png ├── piggy-bank.png ├── pomodoro.png ├── quarto.jpeg ├── yooDescanso.m4a └── yooFoco.m4a ├── commands ├── alterarAmbiente.js ├── badges.js ├── cargos.js ├── codar.js ├── comandos.js ├── comprarAmbiente.js ├── desafioDiario.js ├── docs.js ├── fazerCafe.js ├── git.js ├── perfil.js ├── ping.js ├── playlist.js ├── pomodoro.js ├── servidor.js └── techguide.js ├── deploy-commands.js ├── functions ├── acumulado │ ├── aumentarValor.js │ └── diminuirValor.js ├── adicionaPlanoFundo.js ├── alteraPlanoFundo.js ├── buscaBadges.js ├── buscaDesafio.js ├── buscaDocs.js ├── buscaGuide.js ├── buscaPlanoFundo.js ├── buscaTempoDescanso.js ├── buscaTempoFoco.js ├── conectaPomodoro.js ├── criarNovoPomodoro.js ├── hackerRank.js ├── salario │ ├── atualizaSalario.js │ ├── aumentarValor.js │ ├── diminuirValor.js │ └── verificaCargo.js ├── techguideBasics.js └── verificaBadges.js ├── index.js ├── license ├── package-lock.json ├── package.json └── src ├── app.js ├── config └── dbConnect.js ├── models ├── Guild.js └── Personagem.js └── routes ├── index.js └── personagensRoutes.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "eslint:recommended", 3 | "env": { 4 | "node": true, 5 | "es6": true 6 | }, 7 | "parserOptions": { 8 | "sourceType": "module", 9 | }, 10 | "rules": { 11 | "arrow-spacing": ["warn", { "before": true, "after": true }], 12 | "brace-style": ["error", "stroustrup", { "allowSingleLine": true }], 13 | "comma-dangle": ["error", "always-multiline"], 14 | "comma-spacing": "error", 15 | "comma-style": "error", 16 | "curly": ["error", "multi-line", "consistent"], 17 | "dot-location": ["error", "property"], 18 | "handle-callback-err": "off", 19 | "indent": ["error", "tab"], 20 | "keyword-spacing": "error", 21 | "max-nested-callbacks": ["error", { "max": 4 }], 22 | "max-statements-per-line": ["error", { "max": 2 }], 23 | "no-console": "off", 24 | "no-empty-function": "error", 25 | "no-floating-decimal": "error", 26 | "no-inline-comments": "error", 27 | "no-lonely-if": "error", 28 | "no-multi-spaces": "error", 29 | "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], 30 | "no-shadow": ["error", { "allow": ["err", "resolve", "reject"] }], 31 | "no-trailing-spaces": ["error"], 32 | "no-var": "error", 33 | "object-curly-spacing": ["error", "always"], 34 | "prefer-const": "error", 35 | "quotes": ["error", "single"], 36 | "semi": ["error", "always"], 37 | "space-before-blocks": "error", 38 | "space-before-function-paren": ["error", { 39 | "anonymous": "never", 40 | "named": "never", 41 | "asyncArrow": "always" 42 | }], 43 | "space-in-parens": "error", 44 | "space-infix-ops": "error", 45 | "space-unary-ops": "error", 46 | "spaced-comment": "error", 47 | "yoda": "error" 48 | } 49 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .env -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![Studify banner](https://i.pinimg.com/originals/16/89/5b/16895b231b6da505e2e4acef02a3c1fe.gif) 2 | # Studify: Seu Parceiro de Estudos de Programação! 3 | 4 | ## Features para estudos: 5 | Você criará um personagem para diariamente trabalhar na área de tecnologias e recolher moedas, que futuramente poderão ser trocados para personalização do perfil e melhorias no ambiente de trabalho, para cada vez receber mais: 6 | * 💼 **Crie seu próprio personagem e seu cargo com respectivo salário lúdicos:** /codar (apenas 1 vez) 7 | * 📊 **Informações do seu personagem e estatísticas:** /perfil 8 | * ⚔️ **Desafio de lógica diário:** /desafio 9 | * 🍅 **Técnica pomodoro para estudos:** /pomodoro 10 | * 🛤️ **Guia para saber o que estudar dependendo da área que você quer seguir:** /techguide 11 | * 📚 **Documentações de linguagens:** /docs 12 | * 🔖 **Colinha de comandos Git:** /git 13 | * 🎨 **Opções de compra para personalizar seu perfil:** /comprar ambiente /alterar ambiente 14 | * 🏆 **Badges de conquistas para exibir no perfil**: /badges 15 | * 🎖️ **Cargos para alcançar:** /cargos 16 | * 🎧 **Escolha sua playlist para ouvir durante estudos Pomodoro:** /playlist 17 | 18 | ## Tecnologias Utilizadas: 19 | * [Node.js:](https://nodejs.org) um ambiente de execução Javascript server-side 20 | * [npm:](https://www.npmjs.com) gerenciador de pacotes 21 | * [Discord Developer Portal:](https://discord.com/developers/docs/intro) onde é preciso fazer o cadastro para usar a API do Discord e encontrar todas as documentações 22 | * [Discord.js:](https://discord.js.org) uma biblioteca Javascript para interagir com a API do Discord 23 | * [dotenv:](https://www.npmjs.com/package/dotenv) um pacote leve do npm que carrega automaticamente as variáveis ambiente por meio de um arquivo .env 24 | * [@napi-rs/canvas:](https://www.npmjs.com/package/@napi-rs/canvas) uma ferramenta de manipulação de imagem por código 25 | * [play-dl:](https://play-dl.github.io) biblioteca para streaming de músicas do Youtube 26 | * [Git:](https://git-scm.com) ferramenta para versionamento do código do projeto 27 | * [Github:](https://github.com) hospedagem do repositório do projeto 28 | * [MongoDB:](https://www.mongodb.com) banco de dados 29 | 30 | ## Como utilizar o Studify? 31 | 1. Caso não possua, crie uma conta no [Discord](https://discord.com) 32 | 2. Caso não possua, crie um servidor para estudos no Discord, seguindo [passo a passo](https://www.youtube.com/watch?v=zKOf1NGGStE&t=14m09s) 33 | 3. [Adicione o bot](https://discord.com/api/oauth2/authorize?client_id=1066762270933266503&permissions=8&scope=applications.commands%20bot), dando todas as permissões solicitadas para o bot no seu servidor de estudos criado 34 | 4. Pronto! Agora você pode interagir com o bot utilizando `/codar` para criar seu personagem e `/comandos` para descobrir tudo o que pode fazer com o Studify 35 | 36 | ## Como contribuir no projeto? 37 | Nesse caso você deverá criar um bot pela sua conta do Discord e com ele utilizar o código disponível nesse repositório, adicionando a sua ideia de contribuição. Ao final você poderá fazer um `pull request`: 38 | 1. Instale as ferramentas descritas em `Tecnologias Utilizadas` 39 | 2. Clone esse repositório na sua máquina, utilizando `git clone https://github.com/rafaballerini/TCC-bot-discord.git` 40 | 3. Instale todas as dependências do projeto utilizando `npm install` 41 | 4. Crie um arquivo chamado `.env` 42 | 5. Crie uma conta no [Discord Developer Portal](https://discord.com/developers/docs/intro), criando também uma aplicação e bot. Para isso você pode seguir o [passo a passo](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwiN5-fr9Jr-AhXXqJUCHXJdBAQQqJcEKAN6BAgLEBc&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzKOf1NGGStE%26t%3D640&usg=AOvVaw1SJCgJhuMIz-xHfOzQYaH4) 43 | 6. Coloque no arquivo `.env` os seguintes códigos disponíveis no seu Discord Developer Portal: `TOKEN` e `CLIENT_ID`. Para isso você pode seguir o [passo a passo](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwiN5-fr9Jr-AhXXqJUCHXJdBAQQqJcEKAR6BAgLEBo&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzKOf1NGGStE%26t%3D1087&usg=AOvVaw0m7-tesBpy_1pZcTTwADOw), sem necessidade de buscar o `GUILD_ID` 44 | 7. Desenvolva sua ideia e, ao final, faça um pull request aqui nesse repositório para ser analisada e, posteriormente, aprovada! 45 | 46 | ## Sobre mim 47 | 48 | Sou a Rafaella Ballerini, trabalho como criadora de conteúdo de programação e sou instrutora externa na [Alura](https://alura.com.br/promocao/rafaballerini), formada em ADS e finalizando meu TCC em Engenharia de Software, além de estar cursando pós graduação em Software Architecture 49 | 50 | Recentemente recebi o título de [Github Star](https://github.com/rafaballerini) 🎖️ pelo trabalho que venho desenvolvendo na comunidade de tecnologia brasileira e espero cada vez mais impactar a vida de pessoas desenvolvedoras! 51 | 52 | Você pode acompanhar meu conteúdo no [canal do Youtube](https://youtube.com/rafaellaballerini) e também fazer parte da [nossa comunidade do Discord](https://discord.com/servers/ballerini-789888698673922078 53 | ) 54 | 55 | O Studify foi criado com o intuito de auxiliar jovens pessoas desenvolvedoras a estudarem de uma forma gamificada e motivadora, utilizando o próprio Discord como ferramenta. Será o projeto base para apresentação do meu TCC em Engenharia de Software e posteriormetne estará aberto para contribuições open-source! 56 | -------------------------------------------------------------------------------- /assets/basico.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/basico.jpeg -------------------------------------------------------------------------------- /assets/biblioteca.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/biblioteca.jpeg -------------------------------------------------------------------------------- /assets/canvas.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/canvas.jpg -------------------------------------------------------------------------------- /assets/coffeehouse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/coffeehouse.png -------------------------------------------------------------------------------- /assets/faculdade.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/faculdade.jpeg -------------------------------------------------------------------------------- /assets/lago.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/lago.jpeg -------------------------------------------------------------------------------- /assets/money.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/money.png -------------------------------------------------------------------------------- /assets/piggy-bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/piggy-bank.png -------------------------------------------------------------------------------- /assets/pomodoro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/pomodoro.png -------------------------------------------------------------------------------- /assets/quarto.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/quarto.jpeg -------------------------------------------------------------------------------- /assets/yooDescanso.m4a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/yooDescanso.m4a -------------------------------------------------------------------------------- /assets/yooFoco.m4a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaballerini/Studify-TCC/3e19aaced1d9c1abc83c9d43f10dc13b7835bd15/assets/yooFoco.m4a -------------------------------------------------------------------------------- /commands/alterarAmbiente.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } = require('discord.js'); 2 | const Personagem = require('../src/models/Personagem.js') 3 | 4 | const row = new ActionRowBuilder() 5 | 6 | module.exports = { 7 | data: new SlashCommandBuilder() 8 | .setName('alterar') 9 | .setDescription('Altere algo no seu perfil') 10 | .addSubcommand(subcommand => 11 | subcommand 12 | .setName('ambiente') 13 | .setDescription('Altere seu ambiente de trabalho para aparecer no fundo do seu perfil!')), 14 | async execute(interaction) { 15 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 16 | if (row.components.length !== 0){ 17 | row.components = [] 18 | } 19 | personagemProfile.personagemPlanosFundoComprados.forEach(adicionarBotao) 20 | await interaction.reply({ content: 'Em qual desses lugares você gostaria de trabalhar?', components: [row] }); 21 | }, 22 | }; 23 | 24 | function adicionarBotao(ambiente) { 25 | if (ambiente !== 'basico'){ 26 | row.addComponents( 27 | new ButtonBuilder() 28 | .setCustomId(ambiente) 29 | .setLabel(ambiente) 30 | .setStyle(ButtonStyle.Primary) 31 | ); 32 | } 33 | } -------------------------------------------------------------------------------- /commands/badges.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); 2 | 3 | const exampleEmbed = new EmbedBuilder() 4 | .setColor('Orange') 5 | .setTitle('Badges disponíveis') 6 | .addFields( 7 | { name: '\u200B', value: '\u200B' }, 8 | { name: '💼 Primeiro emprego', value: 'Inicie um novo emprego!', inline: true }, 9 | { name: '👩🏻‍🏫 Estudante dedicado(a)', value: 'Estude por 10.000 minutos', inline: true }, 10 | { name: '💰 Poupador(a)', value: 'Acumule 100.000 ballecoins', inline: true }, 11 | { name: '\u200B', value: '\u200B' }, 12 | { name: '🗡️ Desbravador(a)', value: 'Faça 100 desafios diários', inline: true }, 13 | { name: '💸 Esbanjador(a)', value: 'Gaste 58.000 ballecoins', inline: true }, 14 | { name: '🗺️ Viajante', value: 'Compre todos os ambientes de trabalho', inline: true }, 15 | { name: '\u200B', value: '\u200B' }, 16 | { name: '☕️ Barista', value: 'Faça 50 cafés impecáveis', inline: true }, 17 | { name: '🍅 Mestre Yoo', value: 'Finalize 500 ciclos de foco Pomodoro', inline: true }, 18 | { name: '🏆 MVP', value: 'Conquiste todas as outras badges disponíveis', inline: true }, 19 | ); 20 | 21 | module.exports = { 22 | data: new SlashCommandBuilder() 23 | .setName('badges') 24 | .setDescription('Visualize todas as badges disponíveis'), 25 | 26 | async execute(interaction) { 27 | await interaction.reply({ embeds: [exampleEmbed] }); 28 | }, 29 | }; -------------------------------------------------------------------------------- /commands/cargos.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); 2 | 3 | const embedCargos = new EmbedBuilder() 4 | .setColor('Orange') 5 | .setTitle('Cargos disponíveis') 6 | .addFields( 7 | { name: '\u200B', value: '\u200B' }, 8 | { name: 'Estagiário(a): 10 ballecoins/hora', value: 'Primeiro emprego ao iniciar o jogo', inline: true }, 9 | { name: 'Dev Júnior: 20 ballecoins/hora', value: 'Estude por 1.000 minutos', inline: true }, 10 | { name: 'Dev Pleno: 40 ballecoins/hora', value: 'Estude por 10.000 minutos', inline: true }, 11 | { name: '\u200B', value: '\u200B' }, 12 | { name: 'Dev Sênior: 60 ballecoins/hora', value: 'Estude por 20.000 minutos', inline: true }, 13 | { name: 'Diretor(a): 100 ballecoins/hora', value: 'Estude por 50.000 minutos', inline: true }, 14 | { name: 'CEO: 200 ballecoins/hora', value: 'Estude por 100.000 minutos', inline: true }, 15 | ); 16 | 17 | module.exports = { 18 | data: new SlashCommandBuilder() 19 | .setName('cargos') 20 | .setDescription('Visualize todos cargos disponíveis'), 21 | 22 | async execute(interaction) { 23 | await interaction.reply({ embeds: [embedCargos] }); 24 | }, 25 | }; -------------------------------------------------------------------------------- /commands/codar.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder } = require('discord.js'); 2 | const Personagem = require('../src/models/Personagem.js') 3 | const mongoose = require('mongoose'); 4 | 5 | module.exports = { 6 | data: new SlashCommandBuilder() 7 | .setName('codar') 8 | .setDescription('Inicie no seu primeiro emprego!'), 9 | async execute(interaction) { 10 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}); 11 | if (!personagemProfile) { 12 | personagemProfile = await new Personagem ({ 13 | _id: new mongoose.Types.ObjectId(), 14 | personagemId: interaction.user.id, 15 | personagemUsername: interaction.user.username, 16 | personagemCargo: "Estagiário(a)", 17 | personagemPlanoFundo: "basico", 18 | personagemPlanosFundoComprados: ["basico"], 19 | personagemSistemaOperacional: 0, 20 | personagemCafeina: 0, 21 | personagemCafeImpecavel: 0, 22 | personagemCafeData: Date.now(), 23 | personagemPerifericos: [], 24 | personagemFerramentas: [], 25 | personagemSalario: 10, 26 | personagemSalarioData: Date.now(), 27 | personagemAcumulado: 0, 28 | personagemMinutosEstudados: 0, 29 | personagemCiclosPomodoro: 0, 30 | personagemDesafioDiario: false, 31 | personagemPremioDiario: false, 32 | personagemPlaylist: "https://www.youtube.com/watch?v=z22tv0jjr94", 33 | personagemDesafioNumero: 1, 34 | personagemDesafioDiario: false, 35 | personagemDesafioData: "", 36 | personagemBadges: [1], 37 | }) 38 | 39 | try { 40 | await personagemProfile.save() 41 | await interaction.reply({ 42 | content: `✅ Olá ${personagemProfile.personagemUsername}, **seu primeiro emprego foi iniciado!** 43 | Aprenda já a fazer café, pois você entrou como **${personagemProfile.personagemCargo}** 44 | Utilize o comando **/comandos** para descobrir tudo o que pode fazer a partir de agora para aumentar o seu **cargo** e **salário**` 45 | }) 46 | } catch (err) { 47 | console.error(err); 48 | } 49 | } else { 50 | await interaction.reply({ 51 | content: `❗️ **${personagemProfile.personagemUsername}, você já iniciou seu primeiro emprego e hoje está trabalhando como ${personagemProfile.personagemCargo}!** 52 | Utilize o comando **/comandos** para descobrir tudo o que pode fazer para aumentar o seu **cargo** e **salário**` 53 | }) 54 | } 55 | }, 56 | }; -------------------------------------------------------------------------------- /commands/comandos.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); 2 | 3 | const exampleEmbed = new EmbedBuilder() 4 | .setColor('Orange') 5 | .setTitle('Comandos do Studify') 6 | .addFields( 7 | { name: '\u200B', value: '\u200B' }, 8 | { name: '🎨 /perfil', value: 'Visualize seu perfil com todas as informações do seu personagem', inline: true }, 9 | { name: '⚔️ /desafio', value: 'Receba seu desafio de lógica do dia', inline: true }, 10 | { name: '🍅 /pomodoro', value: 'Estude utilizando a técnica Pomodoro', inline: true }, 11 | { name: '\u200B', value: '\u200B' }, 12 | { name: '🎧 /playlist', value: 'Altere a playlist do Youtube para o Pomodoro', inline: true }, 13 | { name: '☕️ /fazer cafe', value: 'Faça café para seus colegas e receba (ou não) ballecoins', inline: true }, 14 | { name: '🛤️ /techguide', value: 'Não sabe o que estudar? Acesse o guia de estudos de programação!', inline: true }, 15 | { name: '\u200B', value: '\u200B' }, 16 | { name: '💼 /cargos', value: 'Visualize todos os cargos disponíveis para conquista', inline: true }, 17 | { name: '🏅 /badges', value: 'Visualize todas as badges disponíveis para conquista', inline: true }, 18 | { name: '💵 /comprar ambiente', value: 'Compre um novo ambiente de trabalho para mostrar no perfil', inline: true }, 19 | { name: '\u200B', value: '\u200B' }, 20 | { name: '🏢 /alterar ambiente', value: 'Altere o ambiente de trabalho do seu perfil', inline: true }, 21 | { name: '💻 /upgrade [objeto]', value: 'Aumente sua produtividade com novas ferramentas **(ainda em desenvolvimento)**', inline: true }, 22 | { name: '📔 /docs', value: 'Visualize a documentação de tecnologias', inline: true }, 23 | { name: '\u200B', value: '\u200B' }, 24 | { name: '🐙 /git', value: 'Relembre os principais comandos do Git', inline: true }, 25 | { name: '❗️ /ping', value: 'Verifique se o Studify está online', inline: true }, 26 | { name: '👾 /servidor', value: 'Informações sobre o servidor', inline: true }, 27 | ); 28 | 29 | module.exports = { 30 | data: new SlashCommandBuilder() 31 | .setName('comandos') 32 | .setDescription('Veja todos os comandos do Studify!'), 33 | async execute(interaction) { 34 | await interaction.reply({ embeds: [exampleEmbed] }); 35 | }, 36 | }; -------------------------------------------------------------------------------- /commands/comprarAmbiente.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } = require('discord.js'); 2 | 3 | module.exports = { 4 | data: new SlashCommandBuilder() 5 | .setName('comprar') 6 | .setDescription('Compre algo para seu perfil') 7 | .addSubcommand(subcommand => 8 | subcommand 9 | .setName('ambiente') 10 | .setDescription('Compre mais opções de ambiente de trabalho para aparecerem no fundo do seu perfil!')), 11 | async execute(interaction) { 12 | await interaction.reply({ content: 'Em qual desses lugares você gostaria de trabalhar?', components: [row] }); 13 | }, 14 | }; 15 | 16 | const row = new ActionRowBuilder() 17 | .addComponents( 18 | new ButtonBuilder() 19 | .setCustomId('faculdade') 20 | .setLabel('Faculdade - 5.000 ballecoins') 21 | .setStyle(ButtonStyle.Primary) 22 | .setEmoji('📚'), 23 | new ButtonBuilder() 24 | .setCustomId('biblioteca') 25 | .setLabel('Biblioteca - 8.000 ballecoins') 26 | .setStyle(ButtonStyle.Primary) 27 | .setEmoji('🏛️'), 28 | new ButtonBuilder() 29 | .setCustomId('lago') 30 | .setLabel('Lago - 10.000 ballecoins') 31 | .setStyle(ButtonStyle.Primary) 32 | .setEmoji('🪷'), 33 | new ButtonBuilder() 34 | .setCustomId('quarto') 35 | .setLabel('Quarto - 15.000 ballecoins') 36 | .setStyle(ButtonStyle.Primary) 37 | .setEmoji('🖥️'), 38 | new ButtonBuilder() 39 | .setCustomId('cafeteria') 40 | .setLabel('Cafeteria - 20.000 ballecoins') 41 | .setStyle(ButtonStyle.Primary) 42 | .setEmoji('☕'), 43 | 44 | ); -------------------------------------------------------------------------------- /commands/desafioDiario.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder } = require('discord.js'); 2 | const desafioDiario = require('../functions/buscaDesafio.js') 3 | const Personagem = require('../src/models/Personagem.js') 4 | 5 | module.exports = { 6 | data: new SlashCommandBuilder() 7 | .setName('desafio') 8 | .setDescription('Realize um desafio por dia para ganhar moedas!'), 9 | async execute(interaction) { 10 | let novaData = new Date(); 11 | novaData = novaData.toLocaleDateString() 12 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 13 | if (personagemProfile.personagemDesafioData != novaData){ 14 | let desafio = await desafioDiario.buscaDesafio(personagemProfile.personagemDesafioNumero) 15 | 16 | const embed = { 17 | title: '⚔️ Seu desafio do dia', 18 | description: `${desafio}`, 19 | }; 20 | 21 | await interaction.reply({ embeds: [embed] }) 22 | personagemProfile.personagemDesafioNumero += 1 23 | let data = new Date() 24 | personagemProfile.personagemDesafioData = data.toLocaleDateString(); 25 | personagemProfile.save() 26 | } else { 27 | await interaction.reply(`❌ Você já obteve seu desafio do dia! 28 | Volte novamente amanhã para receber um novo **/desafio**`) 29 | } 30 | } 31 | 32 | }; 33 | 34 | 35 | -------------------------------------------------------------------------------- /commands/docs.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, ActionRowBuilder, StringSelectMenuBuilder } = require('discord.js'); 2 | 3 | const row = new ActionRowBuilder() 4 | .addComponents( 5 | new StringSelectMenuBuilder() 6 | .setCustomId('docs') 7 | .setPlaceholder('Nenhuma linguagem selecionada') 8 | .addOptions({ 9 | label: 'Javascript', 10 | description: 'Veja a documentação de Javascript', 11 | value: 'javascript', 12 | }, 13 | { 14 | label: 'Python', 15 | description: 'Veja a documentação de Python', 16 | value: 'python', 17 | }, 18 | { 19 | label: 'C#', 20 | description: 'Veja a documentação de C#', 21 | value: 'csharp', 22 | }, 23 | { 24 | label: 'Discord.js', 25 | description: 'Veja a documentação de Discord.js', 26 | value: 'discordjs', 27 | }, 28 | { 29 | label: 'Java', 30 | description: 'Veja a documentação de Java', 31 | value: 'java', 32 | }, 33 | ), 34 | ); 35 | 36 | module.exports = { 37 | data: new SlashCommandBuilder() 38 | .setName('docs') 39 | .setDescription('Acesse a documentação da tecnologia que quiser'), 40 | 41 | async execute(interaction) { 42 | await interaction.reply({ content: 'Selecione uma das tecnologias abaixo:', components: [row] }); 43 | }, 44 | }; 45 | 46 | // .set('docs') 47 | // .setPlaceholder('Nenhuma linguagem selecionada') 48 | // .addOptions({ 49 | // label: 'Javascript', 50 | // description: 'Veja a documentação de Javascript', 51 | // value: 'javascript', 52 | // }, 53 | // { 54 | // label: 'Python', 55 | // description: 'Veja a documentação de Python', 56 | // value: 'python', 57 | // }, 58 | // { 59 | // label: 'C#', 60 | // description: 'Veja a documentação de C#', 61 | // value: 'csharp', 62 | // }, 63 | // { 64 | // label: 'Discord.js', 65 | // description: 'Veja a documentação de Discord.js', 66 | // value: 'discordjs', 67 | // }, 68 | // { 69 | // label: 'Java', 70 | // description: 'Veja a documentação de Java', 71 | // value: 'java', 72 | // }, 73 | // ), -------------------------------------------------------------------------------- /commands/fazerCafe.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder } = require('discord.js'); 2 | const fazerCafeAumentar = require('../functions/acumulado/aumentarValor') 3 | const fazerCafeDiminuir = require('../functions/acumulado/diminuirValor') 4 | const Personagem = require('../src/models/Personagem.js') 5 | 6 | module.exports = { 7 | data: new SlashCommandBuilder() 8 | .setName('fazer') 9 | .setDescription('Faça algo para ganhar moedas') 10 | .addSubcommand(subcommand => 11 | subcommand 12 | .setName('cafe') 13 | .setDescription('Faça café para seus colegas de equipe e ganhe até 10k!')), 14 | 15 | async execute(interaction) { 16 | try { 17 | let novaData = new Date(); 18 | novoMinuto = novaData.getTime() 19 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 20 | let personagemMinuto = personagemProfile.personagemCafeData.getTime() 21 | let diferenca = Math.abs(personagemMinuto - novoMinuto) / (60000); 22 | if (diferenca >= 5 || !personagemProfile.personagemCafeData){ 23 | let numeroSorteado = Math.floor(Math.random() * 11) 24 | if (numeroSorteado == 0){ 25 | fazerCafeDiminuir.diminuirValor(2, interaction); 26 | await interaction.reply({ 27 | content: `☕️ Seu café ficou **INTOMÁVEL**! Seus colegas pediram reembolso de **2k**` 28 | }) 29 | } else if (numeroSorteado >= 1 && numeroSorteado < 4){ 30 | fazerCafeAumentar.aumentarValor(numeroSorteado, interaction); 31 | await interaction.reply({ 32 | content: `☕️ Seu café ficou **ruim**! Seus colegas acreditam que como barista você é um(a) ótimo dev, mas doaram **${numeroSorteado}k** porque ficaram com pena` 33 | }) 34 | } else if (numeroSorteado >= 4 && numeroSorteado < 7){ 35 | fazerCafeAumentar.aumentarValor(numeroSorteado, interaction); 36 | await interaction.reply({ 37 | content: `☕️ Seu café ficou **satisfatório**! Seus colegas acreditam no seu potencial e decidiram se juntar e te dar **${numeroSorteado}k** para você aprender a fazer um café melhor na próxima!` 38 | }) 39 | } else if (numeroSorteado >= 7 && numeroSorteado < 10) { 40 | fazerCafeAumentar.aumentarValor(numeroSorteado, interaction); 41 | await interaction.reply({ 42 | content: `☕️ Seu café ficou **bom**! Seus colegas o acharam bem gostoso e decidiram se juntar e te dar **${numeroSorteado}k** como agradecimento!` 43 | }) 44 | } else if (numeroSorteado == 10) { 45 | fazerCafeAumentar.aumentarValor(numeroSorteado, interaction); 46 | personagemProfile.personagemCafeImpecavel += 1 47 | await interaction.reply({ 48 | content: `☕️ Que café **IMPECÁVEL**! Seus colegas o acharam uma obra de arte e investiram em você **${numeroSorteado}k** para caso decida abrir uma cafeteria!` 49 | }) 50 | } 51 | personagemProfile.personagemCafeData = Date.now() 52 | personagemProfile.save() 53 | } else { 54 | await interaction.reply({ 55 | content: `❌ Você precisa esperar ao menos **5 minutos** para fazer outro café!` 56 | }) 57 | } 58 | } catch (err) { 59 | console.error(err); 60 | } 61 | }, 62 | }; -------------------------------------------------------------------------------- /commands/git.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); 2 | 3 | const exampleEmbed = new EmbedBuilder() 4 | .setColor('Orange') 5 | .setTitle('Comandos do Git') 6 | .addFields( 7 | { name: '\u200B', value: '\u200B' }, 8 | { name: '$ git init [nome-do-projeto]', value: 'Cria um novo repositório local com um nome especificado', inline: true }, 9 | { name: '$ git clone [url]', value: 'Baixa um projeto e seu histórico de versão inteiro', inline: true }, 10 | { name: '$ git stash', value: 'Armazena temporariamente todos os arquivos monitorados modificados', inline: true }, 11 | { name: '\u200B', value: '\u200B' }, 12 | { name: '$ git status', value: 'Revise edições e crie uma transação de commit', inline: true }, 13 | { name: '$ git add [arquivo]', value: 'Faz o snapshot de um arquivo na preparação para versionamento', inline: true }, 14 | { name: '$ git commit -m "[mensagem]"', value: 'Grava o snapshot permanentemente do arquivo no histórico de versão', inline: true }, 15 | { name: '\u200B', value: '\u200B' }, 16 | { name: '$ git branch', value: 'Lista todos os branches locais no repositório atual', inline: true }, 17 | { name: '$ git branch [nome-branch]', value: 'Cria uma nova branch', inline: true }, 18 | { name: '$ git switch -c [nome-branch]', value: 'Muda para a branch especificada e atualiza o diretório de trabalho', inline: true }, 19 | { name: '\u200B', value: '\u200B' }, 20 | { name: '$ git merge [nome-branch]', value: 'Combina o histórico da branch especificada a branch atual', inline: true }, 21 | { name: '$ git push [alias] [branch]', value: 'Envia todos os commits do branch local para o GitHub', inline: true }, 22 | { name: '$ git pull', value: 'Baixa o histórico e incorpora as mudanças', inline: true }, 23 | ); 24 | 25 | module.exports = { 26 | data: new SlashCommandBuilder() 27 | .setName('git') 28 | .setDescription('Relembrar comandos do Git'), 29 | 30 | async execute(interaction) { 31 | await interaction.reply({ embeds: [exampleEmbed] }); 32 | }, 33 | }; -------------------------------------------------------------------------------- /commands/perfil.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, AttachmentBuilder } = require('discord.js'); 2 | const Canvas = require('@napi-rs/canvas'); 3 | const { request } = require('undici'); 4 | const Personagem = require('../src/models/Personagem.js') 5 | const planoFundo = require('../functions/buscaPlanoFundo.js'); 6 | const atualizaSalario = require('../functions/salario/atualizaSalario.js') 7 | 8 | module.exports = { 9 | data: new SlashCommandBuilder() 10 | .setName('perfil') 11 | .setDescription('Visualize as estatísticas do seu perfil'), 12 | 13 | async execute(interaction) { 14 | atualizaSalario.atualizaSalario(interaction); 15 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 16 | 17 | // cria a imagem e o fundo 18 | const canvas = Canvas.createCanvas(1576, 700); 19 | const context = canvas.getContext('2d'); 20 | const enderecoBackground = await planoFundo.buscaBackground(personagemProfile.personagemPlanoFundo); 21 | const background = await Canvas.loadImage(`${enderecoBackground}`); 22 | context.drawImage(background, 0, 0, canvas.width, canvas.height); 23 | 24 | // escrever nome do usuário 25 | context.font = '20px sans-serif'; 26 | context.fillStyle = '#ffffff'; 27 | context.font = applyText(canvas, `${personagemProfile.personagemUsername}!`); 28 | context.fillText(`${personagemProfile.personagemUsername}`, 1100, 80); 29 | 30 | // escrever cargo do usuário 31 | context.font = '36px sans-serif'; 32 | context.fillStyle = '#ffffff'; 33 | context.fillText(`${personagemProfile.personagemCargo}`, 1100, 140); 34 | 35 | // escrever salário do usuário 36 | const salario = await Canvas.loadImage('./assets/money.png'); 37 | context.drawImage(salario, 1100, 310, 50, 50); 38 | context.font = '28px sans-serif'; 39 | context.fillText(`Salário: ${personagemProfile.personagemSalario} ballecoins/hora`, 1100, 400); 40 | 41 | // escrever acumulado do usuário 42 | const acumulado = await Canvas.loadImage('./assets/piggy-bank.png'); 43 | context.drawImage(acumulado, 1100, 440, 50, 50); 44 | context.font = '28px sans-serif'; 45 | context.fillText(`Acumulado: ${personagemProfile.personagemAcumulado} ballecoins`, 1100, 530); 46 | 47 | // escrever minutos estudados do usuário 48 | const minutos = await Canvas.loadImage('./assets/pomodoro.png'); 49 | context.drawImage(minutos, 1100, 570, 50, 50); 50 | context.font = '28px sans-serif'; 51 | context.fillText(`Minutos estudados: ${personagemProfile.personagemMinutosEstudados}`, 1100, 660); 52 | 53 | //Badges 54 | context.font = '40px sans-serif'; 55 | if (personagemProfile.personagemBadges.includes(1)){ 56 | context.fillText(`💼`, 1100, 210); 57 | } 58 | if (personagemProfile.personagemBadges.includes(2)){ 59 | context.fillText(`👩🏻‍🏫`, 1200, 210); 60 | } 61 | if (personagemProfile.personagemBadges.includes(3)){ 62 | context.fillText(`💰`, 1300, 210); 63 | } 64 | if (personagemProfile.personagemBadges.includes(4)){ 65 | context.fillText(`🗡️`, 1400, 210); 66 | } 67 | if (personagemProfile.personagemBadges.includes(5)){ 68 | context.fillText(`💸`, 1500, 210); 69 | } 70 | if (personagemProfile.personagemBadges.includes(6)){ 71 | context.fillText(`🗺️`, 1150, 290); 72 | } 73 | if (personagemProfile.personagemBadges.includes(7)){ 74 | context.fillText(`☕️`, 1250, 290); 75 | } 76 | if (personagemProfile.personagemBadges.includes(8)){ 77 | context.fillText(`🍅`, 1350, 290); 78 | } 79 | if (personagemProfile.personagemBadges.includes(9)){ 80 | context.fillText(`🏆`, 1450, 290); 81 | } 82 | 83 | // cria o arquivo da imagem final 84 | const attachment = new AttachmentBuilder(await canvas.encode('png'), { name: 'perfil.png' }); 85 | await interaction.reply({ files: [attachment] }); 86 | 87 | }, 88 | }; 89 | 90 | // fazer o nome do usuário caber na imagem 91 | const applyText = (canvas, text) => { 92 | const context = canvas.getContext('2d'); 93 | let fontSize = 70; 94 | do { 95 | context.font = `${fontSize -= 10}px sans-serif`; 96 | } while (context.measureText(text).width > canvas.width - 300); 97 | return context.font; 98 | }; -------------------------------------------------------------------------------- /commands/ping.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder } = require('discord.js'); 2 | 3 | module.exports = { 4 | data: new SlashCommandBuilder() 5 | .setName('ping') 6 | .setDescription('Responde com "Pong!"'), 7 | async execute(interaction) { 8 | await interaction.reply('Pong!'); 9 | }, 10 | }; -------------------------------------------------------------------------------- /commands/playlist.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder } = require('discord.js'); 2 | const Personagem = require('../src/models/Personagem.js') 3 | 4 | module.exports = { 5 | data: new SlashCommandBuilder() 6 | .setName('playlist') 7 | .setDescription('Defina a playlist do Youtube para tocar no seus estudos pomodoro!') 8 | .addStringOption(option => 9 | option.setName('url') 10 | .setDescription('Cole a URL da playlist do Youtube para tocar no seus estudos pomodoro!') 11 | .setRequired(true)), 12 | async execute(interaction) { 13 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 14 | const url = interaction.options.getString("url"); 15 | personagemProfile.personagemPlaylist = url 16 | personagemProfile.save() 17 | await interaction.reply(`✅ Pronto! Agora quando você for estudar utilizando **/pomodoro** ouvirá a playlist adicionada 18 | Caso queira alterar a playlist, basta utilizar novamente o comando **/playlist**`); 19 | }, 20 | }; -------------------------------------------------------------------------------- /commands/pomodoro.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, ActionRowBuilder, StringSelectMenuBuilder} = require('discord.js'); 2 | 3 | const rowFoco = new ActionRowBuilder() 4 | .addComponents( 5 | new StringSelectMenuBuilder() 6 | .setCustomId('pomodoroFoco') 7 | .setPlaceholder('Selecione uma das opções') 8 | .addOptions({ 9 | label: '25/5', 10 | description: '25min de foco e 5min de descanso (clássico)', 11 | value: 'vinteCincoCinco', 12 | }, 13 | { 14 | label: '30/10', 15 | description: '30min de foco e 10min de descanso', 16 | value: 'trintaDez', 17 | }, 18 | { 19 | label: '45/20', 20 | description: '45min de foco e 15min de descanso', 21 | value: 'quarentaCincoVinte', 22 | }, 23 | { 24 | label: '50/30', 25 | description: '50min de foco e 30min de descanso', 26 | value: 'cinquentaTrinta', 27 | },), 28 | ) 29 | 30 | module.exports = { 31 | data: new SlashCommandBuilder() 32 | .setName('pomodoro') 33 | .setDescription('Utilize a técnica Pomodoro para estudar!'), 34 | 35 | async execute(interaction) { 36 | await interaction.reply({ 37 | content: '🍅 Você deseja utilizar quantos minutos de **foco/descanso**?', 38 | components: [rowFoco] }); 39 | }, 40 | }; -------------------------------------------------------------------------------- /commands/servidor.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder } = require('discord.js'); 2 | const Guild = require('../src/models/Guild.js') 3 | const mongoose = require('mongoose'); 4 | 5 | module.exports = { 6 | data: new SlashCommandBuilder() 7 | .setName('servidor') 8 | .setDescription('Retorna informações desse servidor'), 9 | async execute(interaction) { 10 | let guildProfile = await Guild.findOne({ guildId: interaction.guild.id}); 11 | if (!guildProfile) { 12 | guildProfile = await new Guild ({ 13 | _id: new mongoose.Types.ObjectId(), 14 | guildId: interaction.guild.id, 15 | guildName: interaction.guild.name, 16 | guildIcon: interaction.guild.iconURL() ? interaction.guild.iconURL() : "None." 17 | }) 18 | 19 | try { 20 | await guildProfile.save() 21 | await interaction.reply({ 22 | content: `**Nome do servidor:** ${guildProfile.guildName} 23 | **ID do servidor:** ${guildProfile.guildId} 24 | *Servidor registrado na base de dados*` 25 | }) 26 | } catch (err) { 27 | console.error(err); 28 | } 29 | } else { 30 | await interaction.reply({ 31 | content: `**Nome do servidor:** ${guildProfile.guildName} 32 | **ID do servidor:** ${guildProfile.guildId} 33 | *Servidor já presente na base de dados*` 34 | }) 35 | } 36 | }, 37 | }; -------------------------------------------------------------------------------- /commands/techguide.js: -------------------------------------------------------------------------------- 1 | const { SlashCommandBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } = require('discord.js'); 2 | 3 | const row = new ActionRowBuilder() 4 | .addComponents( 5 | new ButtonBuilder() 6 | .setCustomId('frontend') 7 | .setLabel('Front-end') 8 | .setStyle(ButtonStyle.Primary) 9 | .setEmoji('1068623892236746893'), 10 | new ButtonBuilder() 11 | .setCustomId('backend') 12 | .setLabel('Back-end') 13 | .setStyle(ButtonStyle.Primary) 14 | .setEmoji('1068623892236746893'), 15 | new ButtonBuilder() 16 | .setCustomId('mobile') 17 | .setLabel('Mobile') 18 | .setStyle(ButtonStyle.Primary) 19 | .setEmoji('1068623892236746893'), 20 | new ButtonBuilder() 21 | .setCustomId('data') 22 | .setLabel('Dados') 23 | .setStyle(ButtonStyle.Primary) 24 | .setEmoji('1068623892236746893'), 25 | new ButtonBuilder() 26 | .setCustomId('cybersecurity') 27 | .setLabel('Cybersegurança') 28 | .setStyle(ButtonStyle.Primary) 29 | .setEmoji('1068623892236746893'), 30 | ); 31 | 32 | module.exports = { 33 | data: new SlashCommandBuilder() 34 | .setName('techguide') 35 | .setDescription('Em dúvida do que estudar? Descubra com o Tech Guide!'), 36 | 37 | async execute(interaction) { 38 | await interaction.reply({ content: 'Com qual dessas áreas você mais se identifica?', components: [row] }); 39 | }, 40 | }; -------------------------------------------------------------------------------- /deploy-commands.js: -------------------------------------------------------------------------------- 1 | const { REST, Routes } = require('discord.js'); 2 | 3 | // dotenv 4 | const dotenv = require('dotenv'); 5 | dotenv.config(); 6 | const { TOKEN, CLIENT_ID, GUILD_ID } = process.env; 7 | 8 | // importação dos comandos 9 | const fs = require('node:fs'); 10 | const path = require('node:path'); 11 | const commandsPath = path.join(__dirname, 'commands'); 12 | const commandFiles = fs.readdirSync(commandsPath).filter(file => file.endsWith('.js')); 13 | 14 | const commands = []; 15 | 16 | for (const file of commandFiles) { 17 | const command = require(`./commands/${file}`); 18 | commands.push(command.data.toJSON()); 19 | } 20 | 21 | // instância REST 22 | const rest = new REST({ version: '10' }).setToken(TOKEN); 23 | 24 | // deploy 25 | (async () => { 26 | try { 27 | console.log(`Resentando ${commands.length} comandos...`); 28 | 29 | // PUT 30 | await rest.put( 31 | Routes.applicationGuildCommands(CLIENT_ID, GUILD_ID), 32 | { body: commands }, 33 | ); 34 | console.log('Comandos registrados com sucesso!'); 35 | } 36 | catch (error) { 37 | console.error(error); 38 | } 39 | })(); 40 | 41 | // delete commands 42 | // rest.put(Routes.applicationGuildCommands(CLIENT_ID, GUILD_ID), { body: [] }) 43 | // .then(() => console.log('Comandos deletador com sucesso!')) 44 | // .catch(console.error); -------------------------------------------------------------------------------- /functions/acumulado/aumentarValor.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async aumentarValor(quantidade, interaction) { 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | personagemProfile.personagemAcumulado += quantidade 7 | await personagemProfile.save() 8 | }, 9 | }; -------------------------------------------------------------------------------- /functions/acumulado/diminuirValor.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async diminuirValor(quantidade, interaction) { 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | if (personagemProfile.personagemAcumulado - quantidade > 0){ 7 | personagemProfile.personagemAcumulado -= quantidade 8 | await personagemProfile.save() 9 | } else { 10 | personagemProfile.personagemAcumulado = 0 11 | await personagemProfile.save() 12 | await interaction.reply({ 13 | content: `💸 **Infelizmente você gastou tudo o que tinha, e agora possui ${personagemProfile.personagemAcumulado}k acumulado** 14 | Mas não desista, use o comando **/comandos** para descobrir outras formas de aumentar seu **salário**` 15 | }) 16 | } 17 | }, 18 | }; -------------------------------------------------------------------------------- /functions/adicionaPlanoFundo.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async adicionaPlanoFundo(ambienteSelecionado, interaction) { 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | if (personagemProfile.personagemPlanosFundoComprados.includes(ambienteSelecionado)){ 7 | await interaction.reply(`❗️ Você já comprou esse ambiente! 8 | Se deseja alterar o ambiente que está utilizando no momento, use o comando **/alterar ambiente**`); 9 | } else { 10 | if (ambienteSelecionado == "cafeteria" && personagemProfile.personagemAcumulado >= 20000) { 11 | personagemProfile.personagemPlanosFundoComprados.push(`${ambienteSelecionado}`); 12 | personagemProfile.personagemAcumulado -= 20000 13 | await personagemProfile.save() 14 | await interaction.reply(`✅ Parabéns pela compra! Com certeza seu foco aumentará trabalhando nesse ambiente novo 15 | Para alterar o ambiente que está utilizando no momento, para o que acabou de comprar, use o comando **/alterar ambiente**`); 16 | } else if (ambienteSelecionado == "quarto" && personagemProfile.personagemAcumulado >= 15000) { 17 | personagemProfile.personagemPlanosFundoComprados.push(`${ambienteSelecionado}`); 18 | personagemProfile.personagemAcumulado -= 15000 19 | await personagemProfile.save() 20 | await interaction.reply(`✅ Parabéns pela compra! Com certeza seu foco aumentará trabalhando nesse ambiente novo 21 | Para alterar o ambiente que está utilizando no momento, para o que acabou de comprar, use o comando **/alterar ambiente**`); 22 | } else if (ambienteSelecionado == "lago" && personagemProfile.personagemAcumulado >= 10000){ 23 | personagemProfile.personagemPlanosFundoComprados.push(`${ambienteSelecionado}`); 24 | personagemProfile.personagemAcumulado -= 10000 25 | await personagemProfile.save() 26 | await interaction.reply(`✅ Parabéns pela compra! Com certeza seu foco aumentará trabalhando nesse ambiente novo 27 | Para alterar o ambiente que está utilizando no momento, para o que acabou de comprar, use o comando **/alterar ambiente**`); 28 | } else if (ambienteSelecionado == "biblioteca" && personagemProfile.personagemAcumulado >= 8000) { 29 | personagemProfile.personagemPlanosFundoComprados.push(`${ambienteSelecionado}`); 30 | personagemProfile.personagemAcumulado -= 8000 31 | await personagemProfile.save() 32 | await interaction.reply(`✅ Parabéns pela compra! Com certeza seu foco aumentará trabalhando nesse ambiente novo 33 | Para alterar o ambiente que está utilizando no momento, para o que acabou de comprar, use o comando **/alterar ambiente**`); 34 | } else if (ambienteSelecionado == "faculdade" && personagemProfile.personagemAcumulado >= 5000){ 35 | personagemProfile.personagemPlanosFundoComprados.push(`${ambienteSelecionado}`); 36 | personagemProfile.personagemAcumulado -= 5000 37 | await personagemProfile.save() 38 | await interaction.reply(`✅ Parabéns pela compra! Com certeza seu foco aumentará trabalhando nesse ambiente novo 39 | Para alterar o ambiente que está utilizando no momento, para o que acabou de comprar, use o comando **/alterar ambiente**`); 40 | } else { 41 | await interaction.reply(`❌ Você não tem ballecoins suficientes para comprar esse ambiente de trabalho!`); 42 | } 43 | } 44 | }, 45 | }; -------------------------------------------------------------------------------- /functions/alteraPlanoFundo.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async alteraPlanoFundo(ambienteSelecionado, interaction) { 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | if (personagemProfile.personagemPlanoFundo == ambienteSelecionado){ 7 | await interaction.reply(`❗️ Você já está utilizando esse ambiente de trabalho! 8 | Utilize o comando **/perfil** para visualizar ou **/comprar ambiente** para comprar um novo!`); 9 | } else { 10 | personagemProfile.personagemPlanoFundo = ambienteSelecionado; 11 | await personagemProfile.save() 12 | await interaction.reply(`✅ Ambiente alterado! Com certeza seu foco aumentará trabalhando nesse ambiente novo 13 | Para visualizar o ambiente que está utilizando no momento use o comando **/perfil**`); 14 | } 15 | }, 16 | }; -------------------------------------------------------------------------------- /functions/buscaBadges.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | async buscaBadges(badge) { 3 | const emojis = { 4 | 1: '💼', 5 | 2: '👩🏻‍🏫', 6 | 3: '💰', 7 | 4: '⚔️', 8 | 5: '💸', 9 | 6: '✈️', 10 | 7: '☕️', 11 | 8: '🍅', 12 | 9: '🏆', 13 | }; 14 | return emojis[badge]; 15 | }, 16 | }; -------------------------------------------------------------------------------- /functions/buscaDesafio.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | async buscaDesafio(numero) { 3 | const desafios = { 4 | 1: "Encontre o número mais frequente em uma lista de números inteiros", 5 | 2: "Calcule a soma de todos os números primos em uma lista de números", 6 | 3: "Verifique se uma palavra é um palíndromo (pode ser lida da mesma forma de trás para frente)", 7 | 4: "Conte o número de palavras em uma frase", 8 | 5: "Verifique se uma lista está ordenada em ordem crescente", 9 | 6: "Inverta uma string", 10 | 7: "Calcule a média dos valores em uma lista numérica", 11 | 8: "Encontre o maior número em uma matriz bidimensional", 12 | 9: "Verifique se uma string contém apenas caracteres alfabéticos", 13 | 10: "Calcule o fatorial de um número", 14 | 11: "Verifique se uma lista contém números duplicados", 15 | 12: "Classifique uma lista de palavras em ordem alfabética", 16 | 13: "Determine se um número é um quadrado perfeito", 17 | 14: "Verifique se uma string é um número válido", 18 | 15: "Remova elementos duplicados de uma lista", 19 | 16: "Verifique se dois strings são anagramas (possuem as mesmas letras, mas em ordem diferente)", 20 | 17: "Verifique se uma matriz é uma matriz mágica (a soma de cada linha, coluna e diagonal é a mesma)", 21 | 18: "Verifique se um número é primo", 22 | 19: "Calcule a soma dos dígitos de um número", 23 | 20: "Encontre o segundo maior número em uma lista", 24 | 21: "Calcule o produto dos elementos em uma lista", 25 | 22: "Verifique se uma matriz é simétrica (igual quando transposta)", 26 | 23: "Determine se uma lista contém apenas números pares", 27 | 24: "Encontre o número que falta em uma sequência de números", 28 | 25: "Remova todos os espaços em branco de uma string", 29 | 26: "Verifique se uma lista é um subconjunto de outra lista", 30 | 27: "Encontre o menor número com a mesma quantidade de dígitos em uma lista", 31 | 28: "Inverta a ordem dos elementos em uma lista", 32 | 29: "Verifique se uma lista contém um valor específico", 33 | 30: "Concatene duas strings", 34 | 31: "Verifique se uma palavra é um anagrama palindrômico", 35 | 32: "Encontre o número mais próximo de zero em uma lista", 36 | 33: "Determine se uma matriz é uma matriz diagonal (possui zeros em todas as posições fora da diagonal principal)", 37 | 34: "Verifique se uma string é uma sequência numérica válida", 38 | 35: "Substitua todas as ocorrências de um caractere em uma string por outro caractere", 39 | 36: "Verifique se uma lista de palavras contém apenas palavras com a mesma quantidade de caracteres", 40 | 37: "Verifique se um número é um número de Armstrong (a soma dos cubos de seus dígitos é igual ao próprio número)", 41 | 38: "Inverta a ordem das palavras em uma frase", 42 | 39: "Verifique se uma lista de palavras forma um pangrama (contém todas as letras do alfabeto)", 43 | 40: "Verifique se uma lista está ordenada em ordem decrescente", 44 | 41: "Encontre a diferença simétrica entre duas listas (elementos que estão em uma lista ou outra, mas não em ambas)", 45 | 42: "Verifique se uma string é um palíndromo de palavras (as palavras são palíndromos quando lidas de trás para frente)", 46 | 43: "Determine o maior divisor comum (MDC) de dois números", 47 | 44: "Verifique se um número é um número perfeito (a soma de seus divisores é igual ao próprio número)", 48 | 45: "Calcule o valor absoluto de um número sem usar a função abs()", 49 | 46: "Determine se uma string contém apenas vogais", 50 | 47: "Encontre o menor múltiplo comum (MMC) de dois números", 51 | 48: "Verifique se uma lista está ordenada de forma alternada (exemplo: 1, 3, 2, 4, 3, 5)", 52 | 49: "Verifique se uma lista é um palíndromo", 53 | 50: "Determine se um número é um número triangular (pode ser representado por um triângulo equilátero de pontos)", 54 | 51: "Verifique se uma string é um anagrama de outra string", 55 | 52: "Encontre o maior número primo em uma lista de números", 56 | 53: "Conte o número de vezes que um determinado caractere aparece em uma string", 57 | 54: "Verifique se uma matriz é uma matriz identidade (possui uns na diagonal principal e zeros nas outras posições)", 58 | 55: "Determine se um número é um quadrado mágico (a soma de cada linha, coluna e diagonal é a mesma)", 59 | 56: "Verifique se um número é um número de Fibonacci", 60 | 57: "Encontre o número mais frequente em uma string", 61 | 58: "Determine se uma lista contém apenas números ímpares", 62 | 59: "Calcule a soma dos dígitos ao quadrado de um número", 63 | 60: "Verifique se uma string é um palíndromo numérico (os dígitos são palíndromos quando lidos de trás para frente)", 64 | 61: "Encontre o elemento que aparece uma única vez em uma lista, onde todos os outros elementos aparecem duas vezes", 65 | 62: "Verifique se uma lista é uma lista cíclica (o último elemento aponta para o primeiro)", 66 | 63: "Determine se uma palavra é um isograma (não possui letras repetidas)", 67 | 64: "Verifique se uma matriz é uma matriz antissimétrica (os elementos fora da diagonal principal são negativos da transposta)", 68 | 65: "Encontre o número que ocorre o maior número de vezes em uma lista", 69 | 66: "Verifique se uma string é uma sequência de caracteres consecutivos", 70 | 67: "Determine se uma lista é uma permutação de outra lista", 71 | 68: "Encontre o elemento de maior valor em uma matriz", 72 | 69: "Verifique se uma lista é uma lista de repetições consecutivas (todos os elementos são iguais ou há uma única repetição)", 73 | 70: "Calcule a soma dos números presentes em uma string", 74 | 71: "Verifique se uma palavra é um pangrama perfeito (contém todas as letras do alfabeto exatamente uma vez)", 75 | 72: "Determine se um número é um número de Harshad (é divisível pela soma de seus dígitos)", 76 | 73: "Verifique se uma lista está ordenada de forma estritamente crescente (sem elementos iguais)", 77 | 74: "Determine se uma palavra é um isograma perfeito (não possui letras repetidas, nem mesmo em diferentes casos)", 78 | 75: "Verifique se um número é um número abundante (a soma de seus divisores é maior que o próprio número)", 79 | 76: "Calcule o produto escalar de duas listas numéricas", 80 | 77: "Verifique se uma string é uma sequência alfanumérica válida (contém apenas letras e números)", 81 | 78: "Determine se um número é um número harmônico (a soma dos inversos dos seus divisores é um número inteiro)", 82 | 79: "Verifique se uma matriz é uma matriz de Vandermonde (os elementos de cada linha são potências de uma sequência)", 83 | 80: "Encontre o segundo menor número em uma lista", 84 | 81: "Determine se uma lista é uma lista de repetições alternadas (os elementos se repetem em um padrão ABABAB)", 85 | 82: "Verifique se uma palavra é um heterograma (não possui letras repetidas)", 86 | 83: "Calcule o máximo divisor comum (MDC) de uma lista de números", 87 | 84: "Verifique se uma matriz é uma matriz de Toeplitz (os elementos em cada diagonal são iguais)", 88 | 85: "Determine se uma palavra é um lipograma (não contém uma determinada letra ou conjunto de letras)", 89 | 86: "Encontre o número de combinações possíveis em um jogo de cartas", 90 | 87: "Verifique se uma lista de palavras forma uma sequência de anagramas (cada palavra é um anagrama da anterior)", 91 | 88: "Calcule a soma dos números primos em um intervalo específico", 92 | 89: "Verifique se uma matriz é uma matriz diagonalmente dominante (a magnitude do elemento diagonal é estritamente maior que a soma dos outros elementos da mesma linha)", 93 | 90: "Determine se uma lista é uma lista de números perfeitos (a soma de seus divisores é igual ao próprio número)", 94 | 91: "Verifique se uma palavra é uma tautograma (todas as palavras começam com a mesma letra)", 95 | 92: "Encontre o elemento de menor valor em uma matriz", 96 | 93: "Determine se uma palavra é um tautograma aliterativo (todas as palavras começam com a mesma letra e têm a mesma aliteração)", 97 | 94: "Verifique se uma matriz é uma matriz escada (todos os elementos abaixo da diagonal principal são iguais a zero)", 98 | 95: "Encontre o número de maneiras diferentes de pagar uma determinada quantia com moedas de diferentes valores", 99 | 96: "Determine se uma palavra é um lipograma pangramático (não contém uma determinada letra ou conjunto de letras, mas ainda contém todas as letras do alfabeto)", 100 | 97: "Verifique se uma matriz é uma matriz positiva definida (todos os seus autovalores são positivos)", 101 | 98: "Encontre o k-ésimo menor número em uma lista", 102 | 99: "Determine se uma lista é uma lista de números abundantes (a soma de seus divisores é maior que o próprio número)", 103 | 100: "Verifique se uma palavra é um tautograma pangramático (todas as palavras começam com a mesma letra e contém todas as letras do alfabeto)", 104 | 101: "Calcule o produto cruzado de dois vetores tridimensionais", 105 | 102: "Determine se uma matriz é uma matriz de Cauchy (os elementos são o inverso do produto das coordenadas)", 106 | 103: "Verifique se uma lista é uma lista de números quadrados perfeitos", 107 | 104: "Encontre o número de palavras palindrômicas em uma lista de palavras", 108 | 105: "Determine se uma palavra é um palíndromo de palavras (as palavras são palíndromos quando lidas de trás para frente)", 109 | 106: "Verifique se uma matriz é uma matriz esparsa (a maioria de seus elementos são zeros)", 110 | 107: "Verifique se uma palavra é um heterograma isogramático (não possui letras repetidas e não contém uma determinada letra ou conjunto de letras)", 111 | 108: "Calcule a soma dos elementos em uma matriz triangular superior", 112 | 109: "Determine se uma lista é uma lista de números cúbicos", 113 | 110: "Verifique se uma palavra é um palíndromo anagramático (as letras podem ser rearranjadas para formar um palíndromo)", 114 | 111: "Encontre a média dos elementos em uma matriz de números reais", 115 | 112: "Verifique se uma palavra é uma sequência de letras consecutivas", 116 | 113: "Determine se uma lista é uma lista de números primos", 117 | 114: "Encontre o elemento de menor valor em uma matriz de números reais", 118 | 115: "Verifique se uma palavra é uma isograma de palavra (não possui letras repetidas, nem mesmo em diferentes casos, e não contém uma determinada letra ou conjunto de letras)", 119 | 116: "Calcule a soma dos elementos nas diagonais secundárias de uma matriz", 120 | 117: "Verifique se uma palavra é um pangrama heterogramático (contém todas as letras do alfabeto, não possui letras repetidas e não contém uma determinada letra ou conjunto de letras)", 121 | 118: "Determine se uma lista é uma lista de números fibonacci", 122 | 119: "Verifique se uma palavra é um anagrama isogramático (as letras podem ser rearranjadas para formar uma palavra sem letras repetidas)", 123 | 120: "Encontre o elemento que ocorre com mais frequência em uma matriz", 124 | 121: "Determine se uma matriz é uma matriz escalar (todos os elementos fora da diagonal principal são iguais a zero)", 125 | 122: "Verifique se uma palavra é um palíndromo heterogramático (pode ser lida de trás para frente, não possui letras repetidas e não contém uma determinada letra ou conjunto de letras)", 126 | 123: "Calcule o produto interno de dois vetores", 127 | 124: "Determine se uma lista é uma lista de números triangulares", 128 | 125: "Verifique se uma palavra é um tautograma isogramático (todas as palavras começam com a mesma letra, não possui letras repetidas e não contém uma determinada letra ou conjunto de letras)", 129 | 126: "Encontre o número de vezes que um determinado caractere aparece em uma matriz de strings", 130 | 127: "Determine se uma matriz é uma matriz involutória (quando multiplicada por ela mesma, resulta na matriz identidade)", 131 | 128: "Verifique se uma palavra é uma sequência de caracteres alfanuméricos consecutivos", 132 | 129: "Calcule a soma dos dígitos fatoriais de um número", 133 | 130: "Determine se uma lista é uma lista de números quadrados mágicos (a soma de cada linha, coluna e diagonal é a mesma e todos os elementos são quadrados perfeitos)", 134 | 131: "Verifique se uma palavra é uma isograma de palavra aliterativa (não possui letras repetidas, nem mesmo em diferentes casos, e todas as palavras começam com a mesma letra)", 135 | 132: "Encontre o maior prefixo comum entre duas strings", 136 | 133: "Determine se uma matriz é uma matriz escalonada (todos os elementos abaixo da diagonal principal são iguais a zero e o primeiro elemento não nulo de cada linha está à direita do primeiro elemento não nulo da linha anterior)", 137 | 134: "Verifique se uma palavra é uma sequência de caracteres alfanuméricos consecutivos sem repetição", 138 | 135: "Verifique se uma palavra é um pangrama heterogramático isogramático (contém todas as letras do alfabeto, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras e todas as palavras começam com a mesma letra)", 139 | 136: "Calcule a soma dos elementos em uma matriz triangular inferior", 140 | 137: "Determine se uma lista é uma lista de números permutação", 141 | 138: "Verifique se uma palavra é um palíndromo heterogramático isogramático (pode ser lida de trás para frente, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras e todas as palavras começam com a mesma letra)", 142 | 139: "Encontre a média dos elementos em uma matriz triangular superior", 143 | 140: "Verifique se uma palavra é uma sequência de caracteres consecutivos não repetidos", 144 | 141: "Determine se uma lista é uma lista de números palindrômicos", 145 | 142: "Encontre o elemento de maior valor em uma matriz de números inteiros", 146 | 143: "Verifique se uma palavra é um isograma de palavra heterogramático (não possui letras repetidas, nem mesmo em diferentes casos, não contém uma determinada letra ou conjunto de letras e todas as palavras começam com a mesma letra)", 147 | 144: "Calcule a soma dos elementos nas diagonais secundárias de uma matriz de números inteiros", 148 | 145: "Verifique se uma palavra é um palíndromo heterogramático isogramático (pode ser lida de trás para frente, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras e todas as palavras começam com a mesma letra)", 149 | 146: "Determine se uma matriz é uma matriz de Jordan (possui blocos diagonais de Jordan)", 150 | 147: "Verifique se uma palavra é um anagrama heterogramático (as letras podem ser rearranjadas para formar uma palavra sem letras repetidas, não contém uma determinada letra ou conjunto de letras)", 151 | 148: "Encontre o elemento que ocorre com menos frequência em uma matriz de números inteiros", 152 | 149: "Determine se uma matriz é uma matriz escalar ou uma matriz identidade", 153 | 150: "Verifique se uma palavra é um palíndromo heterogramático isogramático aliterativo (pode ser lida de trás para frente, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra e têm a mesma aliteração)", 154 | 151: "Calcule o produto cartesiano de duas listas", 155 | 152: "Determine se uma lista é uma lista de números quadrados mágicos perfeitos (a soma de cada linha, coluna e diagonal é a mesma, todos os elementos são quadrados perfeitos e a lista é um número perfeito)", 156 | 153: "Verifique se uma palavra é uma sequência de caracteres alfanuméricos consecutivos não repetidos", 157 | 154: "Encontre o maior sufixo comum entre duas strings", 158 | 155: "Determine se uma matriz é uma matriz estocástica (todos os elementos são não negativos e a soma de cada coluna é igual a 1)", 159 | 156: "Verifique se uma palavra é uma sequência de caracteres alfanuméricos consecutivos não repetidos com a mesma aliteração", 160 | 157: "Calcule a soma dos dígitos fatoriais de um número inteiro", 161 | 158: "Determine se uma lista é uma lista de números quadrados mágicos perfeitos ordinais (a soma de cada linha, coluna e diagonal é a mesma, todos os elementos são quadrados perfeitos e a lista é um número perfeito e está em ordem ordinal)", 162 | 159: "Verifique se uma palavra é um palíndromo heterogramático isogramático aliterativo palíndromo (pode ser lida de trás para frente, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra, têm a mesma aliteração e são palíndromos)", 163 | 160: "Encontre o menor sufixo comum entre duas strings", 164 | 161: "Determine se uma matriz é uma matriz de Hess (os elementos abaixo da segunda subdiagonal são iguais a zero)", 165 | 162: "Verifique se uma palavra é um pangrama heterogramático isogramático aliterativo (contém todas as letras do alfabeto, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra e têm a mesma aliteração)", 166 | 163: "Calcule o produto vetorial de dois vetores tridimensionais", 167 | 164: "Determine se uma lista é uma lista de números repdigit (todos os números possuem dígitos repetidos)", 168 | 165: "Verifique se uma palavra é uma sequência de caracteres alfanuméricos consecutivos não repetidos com a mesma aliteração palindrômica", 169 | 166: "Encontre o elemento que ocorre apenas uma vez em uma matriz de números inteiros, onde todos os outros elementos ocorrem duas vezes", 170 | 167: "Determine se uma matriz é uma matriz escalar ou uma matriz antissimétrica", 171 | 168: "Verifique se uma palavra é um tautograma isogramático aliterativo (todas as palavras começam com a mesma letra, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras e têm a mesma aliteração)", 172 | 169: "Calcule a soma dos elementos em uma matriz tridiagonal", 173 | 170: "Determine se uma lista é uma lista de números felizes (a soma dos quadrados dos dígitos converge para 1)", 174 | 171: "Verifique se uma palavra é um palíndromo heterogramático isogramático aliterativo palindrômico (pode ser lida de trás para frente, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra, têm a mesma aliteração e são palíndromos)", 175 | 172: "Encontre o segundo maior elemento em uma matriz de números inteiros", 176 | 173: "Determine se uma matriz é uma matriz de Moler (possui a forma A = I + uv^T, onde I é a matriz identidade, u e v são vetores não nulos)", 177 | 174: "Verifique se uma palavra é uma sequência de caracteres alfanuméricos consecutivos não repetidos com a mesma aliteração palindrômica", 178 | 175: "Calcule o produto escalar de dois vetores de matrizes", 179 | 176: "Determine se uma lista é uma lista de números primos cônicos (os elementos formam um padrão cônico)", 180 | 177: "Verifique se uma palavra é um tautograma isogramático aliterativo pangramático (todas as palavras começam com a mesma letra, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras, têm a mesma aliteração e contém todas as letras do alfabeto)", 181 | 178: "Verifique se uma palavra é um isograma de palavra heterogramático isogramático (não possui letras repetidas, nem mesmo em diferentes casos, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra e não contém letras repetidas)", 182 | 179: "Calcule a soma dos elementos em uma matriz esparsa (matriz com a maioria dos elementos iguais a zero)", 183 | 180: "Determine se uma lista é uma lista de números não decrescente (cada elemento é maior ou igual ao elemento anterior)", 184 | 181: "Verifique se uma palavra é um palíndromo heterogramático isogramático aliterativo (pode ser lida de trás para frente, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra e têm a mesma aliteração)", 185 | 182: "Encontre o elemento de maior valor em uma matriz de números reais", 186 | 183: "Verifique se uma palavra é uma sequência de caracteres consecutivos não repetidos com a mesma aliteração pangramática", 187 | 184: "Determine se uma lista é uma lista de números perfeitos (a soma de seus divisores próprios é igual ao próprio número)", 188 | 185: "Encontre o elemento de menor valor em uma matriz de números inteiros", 189 | 186: "Verifique se uma palavra é um anagrama heterogramático isogramático aliterativo (as letras podem ser rearranjadas para formar uma palavra sem letras repetidas, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra e têm a mesma aliteração)", 190 | 187: "Calcule a soma dos elementos nas diagonais secundárias de uma matriz de números reais", 191 | 188: "Verifique se uma palavra é um palíndromo heterogramático isogramático aliterativo pangramático (pode ser lida de trás para frente, não possui letras repetidas, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra, têm a mesma aliteração e contém todas as letras do alfabeto)", 192 | 189: "Determine se uma matriz é uma matriz de Pascal (cada elemento é a soma dos elementos acima e à esquerda)", 193 | 190: "Verifique se uma palavra é um isograma de palavra heterogramático aliterativo (não possui letras repetidas, nem mesmo em diferentes casos, não contém uma determinada letra ou conjunto de letras, todas as palavras começam com a mesma letra e têm a mesma aliteração)", 194 | 191: "Encontre o elemento que ocorre com menos frequência em uma matriz de números inteiros não negativos", 195 | 192: "Determine se uma matriz é uma matriz antissimétrica (a matriz transposta é igual à matriz negativa)", 196 | 193: "Verifique se uma palavra é uma sequência de caracteres consecutivos não repetidos com a mesma aliteração pangramática palindrômica", 197 | 194: "Calcule o produto escalar de dois vetores de matrizes de números inteiros", 198 | 195: "Determine se uma lista é uma lista de números quadrados perfeitos cúbicos (os elementos são quadrados perfeitos e cúbicos perfeitos)", 199 | }; 200 | 201 | return desafios[numero] 202 | }, 203 | }; 204 | 205 | 206 | 207 | -------------------------------------------------------------------------------- /functions/buscaDocs.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | async buscaDocs(selected, interaction) { 3 | const docs = { 4 | 'javascript': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript', 5 | 'python': 'https://www.python.org', 6 | 'csharp': 'https://learn.microsoft.com/en-us/dotnet/csharp/', 7 | 'discordjs': 'https://discordjs.guide/', 8 | 'java': 'https://docs.oracle.com/en/java/', 9 | }; 10 | await interaction.reply(`Aqui está a documentação de ${selected}: ${docs[selected]}`); 11 | }, 12 | }; -------------------------------------------------------------------------------- /functions/buscaGuide.js: -------------------------------------------------------------------------------- 1 | const { ActionRowBuilder, StringSelectMenuBuilder } = require('discord.js'); 2 | module.exports = { 3 | async buscaGuide(pressed, interaction) { 4 | const guides = { 5 | 'frontend': 'https://techguide.sh/pt-BR/path/front-end/', 6 | 'data': 'https://techguide.sh/pt-BR/path/data-science/', 7 | 'cybersecurity': 'https://techguide.sh/pt-BR/path/cybersecurity/', 8 | }; 9 | if (pressed == 'backend') { 10 | const row = new ActionRowBuilder() 11 | .addComponents( 12 | new StringSelectMenuBuilder() 13 | .setCustomId('backendGuides') 14 | .setPlaceholder('Nenhuma tecnologia selecionada') 15 | .addOptions({ 16 | label: 'C#', 17 | description: 'Veja o guia de estudos de C# ', 18 | value: 'csharp', 19 | }, 20 | { 21 | label: 'Python', 22 | description: 'Veja o guia de estudos de Python', 23 | value: 'python', 24 | }, 25 | { 26 | label: 'PHP', 27 | description: 'Veja o guia de estudos de PHP', 28 | value: 'php', 29 | }, 30 | { 31 | label: 'Node.js', 32 | description: 'Veja o guia de estudos de Node.js', 33 | value: 'nodejs', 34 | }, 35 | { 36 | label: 'Java', 37 | description: 'Veja a documentação de Java', 38 | value: 'java', 39 | }, 40 | ), 41 | ); 42 | await interaction.reply({ content: 'Selecione uma das tecnologias abaixo para visualizar seu guia de estudos:', components: [row] }); 43 | return 44 | } else if (pressed == 'mobile') { 45 | const row = new ActionRowBuilder() 46 | .addComponents( 47 | new StringSelectMenuBuilder() 48 | .setCustomId('mobileGuides') 49 | .setPlaceholder('Nenhuma tecnologia selecionada') 50 | .addOptions({ 51 | label: 'Android', 52 | description: 'Veja o guia de estudos de Android ', 53 | value: 'android', 54 | }, 55 | { 56 | label: 'Flutter', 57 | description: 'Veja o guia de estudos de Flutter', 58 | value: 'flutter', 59 | }, 60 | ), 61 | ); 62 | await interaction.reply({ content: 'Selecione uma das tecnologias abaixo para visualizar seu guia de estudos:', components: [row] }); 63 | return 64 | } 65 | await interaction.reply(`Guia de ${pressed} para você seguir com seus estudos: ${guides[pressed]}`); 66 | }, 67 | }; -------------------------------------------------------------------------------- /functions/buscaPlanoFundo.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | async buscaBackground(numeroPlanoFundo) { 3 | const backgrounds = { 4 | 'basico': './assets/basico.jpeg', 5 | 'cafeteria': './assets/coffeehouse.png', 6 | 'quarto': './assets/quarto.jpeg', 7 | 'lago': './assets/lago.jpeg', 8 | 'biblioteca': './assets/biblioteca.jpeg', 9 | 'faculdade': './assets/faculdade.jpeg', 10 | }; 11 | return backgrounds[numeroPlanoFundo]; 12 | }, 13 | }; -------------------------------------------------------------------------------- /functions/buscaTempoDescanso.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | async buscaTempoDescanso(tempo) { 3 | const tempos = { 4 | 'vinteCincoCinco': 5, 5 | 'trintaDez': 10, 6 | 'quarentaCincoVinte': 20, 7 | 'cinquentaTrinta': 30, 8 | }; 9 | return tempos[tempo] 10 | }, 11 | }; -------------------------------------------------------------------------------- /functions/buscaTempoFoco.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | async buscaTempoFoco(tempo) { 3 | const tempos = { 4 | 'vinteCincoCinco': 25, 5 | 'trintaDez': 30, 6 | 'quarentaCincoVinte': 40, 7 | 'cinquentaTrinta': 50, 8 | }; 9 | return tempos[tempo] 10 | }, 11 | }; -------------------------------------------------------------------------------- /functions/conectaPomodoro.js: -------------------------------------------------------------------------------- 1 | const { joinVoiceChannel, createAudioPlayer, createAudioResource, getVoiceConnection, NoSubscriberBehavior} = require('@discordjs/voice'); 2 | const play = require('play-dl'); 3 | const path = require('path'); 4 | const Personagem = require('../src/models/Personagem.js') 5 | const buscaTempoDescanso = require('./buscaTempoDescanso.js') 6 | const buscaTempoFoco = require('./buscaTempoFoco.js') 7 | 8 | let estudoAtual = 0 9 | let ciclos = 0 10 | let vC = "" 11 | 12 | module.exports = { 13 | async conectaPomodoro(tempo, interaction, client){ 14 | if(client){ 15 | vC = await client.channels.cache.get(interaction.member.voice.channelId); 16 | } 17 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 18 | let url= personagemProfile.personagemPlaylist 19 | const filePathDescanso = path.join(__dirname, '../assets/yooDescanso.m4a'); 20 | const filePathFoco = path.join(__dirname, '../assets/yooFoco.m4a'); 21 | let tempoPomodoroDescanso = await buscaTempoDescanso.buscaTempoDescanso(tempo) 22 | let tempoPomodoroFoco = await buscaTempoFoco.buscaTempoFoco(tempo) 23 | 24 | let connection = joinVoiceChannel( 25 | { 26 | channelId: interaction.member.voice.channelId, 27 | guildId: interaction.guild.id, 28 | adapterCreator: interaction.guild.voiceAdapterCreator 29 | }); 30 | 31 | const player = createAudioPlayer({ 32 | behaviors: { 33 | noSubscriber: NoSubscriberBehavior.Stop, 34 | }, 35 | }); 36 | 37 | const stream = await play.stream(url); 38 | const resourceYt = createAudioResource(stream.stream, { 39 | inputType: stream.type 40 | }); 41 | const resourceYooDescanso = createAudioResource(filePathDescanso); 42 | const resourceYooFoco = createAudioResource(filePathFoco); 43 | 44 | player.play(resourceYt); 45 | connection.subscribe(player); 46 | 47 | setTimeout(() => { 48 | if (vC.members.size > 1){ 49 | player.play(resourceYooDescanso); 50 | estudoAtual += tempoPomodoroFoco 51 | ciclos += 1 52 | personagemProfile.personagemMinutosEstudados += tempoPomodoroFoco 53 | personagemProfile.personagemCiclosPomodoro += 1 54 | personagemProfile.save() 55 | interaction.channel.send(`📚 Boa! ${ciclos}° ciclo concluído, bora continuar!`) 56 | 57 | setTimeout(() => { 58 | player.play(resourceYooFoco); 59 | setTimeout(() => { 60 | this.conectaPomodoro(tempo, interaction) 61 | }, 0.04 * 60 * 1000); 62 | }, tempoPomodoroDescanso * 60 * 1000); 63 | } else { 64 | interaction.channel.send(`💔 Infelizmente você **não concluiu esse ciclo pomodoro**! 65 | Até hoje você já estudou **${personagemProfile.personagemMinutosEstudados} minutos**! Continue com o bom trabalho para subir de cargo e aumentar seu salário`) 66 | connection.disconnect() 67 | } 68 | }, tempoPomodoroFoco * 60 * 1000); 69 | } 70 | } -------------------------------------------------------------------------------- /functions/criarNovoPomodoro.js: -------------------------------------------------------------------------------- 1 | const conectaPomodoro = require('../functions/conectaPomodoro.js'); 2 | 3 | module.exports = { 4 | async criarNovoPomodoro(tempo, interaction, client) { 5 | 6 | if (!interaction.member.voice.channel) { 7 | await interaction.reply('❌ Você precisa estar em um canal de voz para iniciar o Pomodoro!'); 8 | return; 9 | } 10 | await interaction.reply(`✅ Seus estudos começaram! 11 | **Você precisa continuar conectado(a) no canal de voz até fim do tempo de foco**, senão não serão contados os minutos que você estudar 12 | Caso queria ouvir uma playlist diferente, desconecte, use **/playlist**, envie a URL de uma nova playlist do Youtube e recomece seu Pomodoro!`); 13 | 14 | conectaPomodoro.conectaPomodoro(tempo, interaction, client) 15 | 16 | }} -------------------------------------------------------------------------------- /functions/hackerRank.js: -------------------------------------------------------------------------------- 1 | const axios = require('axios'); 2 | 3 | const API_KEY = 'f6ec5142b01b00908c36e78f95178b95ba754a8208b24f5227a992bf8eebd782'; 4 | 5 | async function buscarDesafios() { 6 | try { 7 | const response = await axios.get('https://www.hackerrank.com/api/rest/contests/master/challenges', { 8 | headers: { 9 | 'Content-Type': 'application/json', 10 | 'Authorization': `Bearer ${API_KEY}` 11 | } 12 | }); 13 | 14 | // Processar a resposta e exibir os desafios 15 | const desafios = response.data.models; 16 | desafios.forEach(desafio => { 17 | console.log(`Título: ${desafio.name}`); 18 | console.log(`Slug: ${desafio.slug}`); 19 | console.log('-------------------'); 20 | }); 21 | } catch (error) { 22 | console.error(error); 23 | } 24 | } 25 | 26 | // Chamada da função para buscar desafios 27 | buscarDesafios(); 28 | -------------------------------------------------------------------------------- /functions/salario/atualizaSalario.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async atualizaSalario(interaction){ 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | dataFinal = Date.now() 7 | 8 | const diff = Math.abs(dataFinal - personagemProfile.personagemSalarioData); 9 | const horasCompletas = Math.floor(diff / 3600000); 10 | if (horasCompletas > 0) { 11 | personagemProfile.personagemAcumulado += horasCompletas * personagemProfile.personagemSalario 12 | personagemProfile.personagemSalarioData = Date.now() 13 | personagemProfile.save() 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /functions/salario/aumentarValor.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async aumentarValor(quantidade, interaction) { 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | personagemProfile.personagemSalario += quantidade 7 | await personagemProfile.save() 8 | }, 9 | }; -------------------------------------------------------------------------------- /functions/salario/diminuirValor.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async diminuirValor(quantidade, interaction) { 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | personagemProfile.personagemSalario -= quantidade 7 | await personagemProfile.save() 8 | } 9 | } -------------------------------------------------------------------------------- /functions/salario/verificaCargo.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async verificaCargo(interaction){ 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | if (personagemProfile.personagemMinutosEstudados >= 1000 && personagemProfile.personagemMinutosEstudados < 10000) { 7 | personagemProfile.personagemCargo = "Dev Júnior" 8 | personagemProfile.personagemSalario = 20 9 | personagemProfile.save() 10 | } else if (personagemProfile.personagemMinutosEstudados >= 10000 && personagemProfile.personagemMinutosEstudados < 20000){ 11 | personagemProfile.personagemCargo = "Dev Pleno" 12 | personagemProfile.personagemSalario = 40 13 | personagemProfile.save() 14 | } else if (personagemProfile.personagemMinutosEstudados >= 20000 && personagemProfile.personagemMinutosEstudados < 50000){ 15 | personagemProfile.personagemCargo = "Dev Sênior" 16 | personagemProfile.personagemSalario = 60 17 | personagemProfile.save() 18 | } else if (personagemProfile.personagemMinutosEstudados >= 50000 && personagemProfile.personagemMinutosEstudados < 100000){ 19 | personagemProfile.personagemCargo = "Diretor(a)" 20 | personagemProfile.personagemSalario = 100 21 | personagemProfile.save() 22 | } else if (personagemProfile.personagemMinutosEstudados >= 100000){ 23 | personagemProfile.personagemCargo = "CEO" 24 | personagemProfile.personagemSalario = 200 25 | personagemProfile.save() 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /functions/techguideBasics.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | async buscaTechSelecionada(techSelecionada, interaction) { 3 | await interaction.reply(`Guia de ${techSelecionada} para você seguir com seus estudos: https://techguide.sh/pt-BR/path/${techSelecionada}`); 4 | }, 5 | }; -------------------------------------------------------------------------------- /functions/verificaBadges.js: -------------------------------------------------------------------------------- 1 | const Personagem = require('../src/models/Personagem.js') 2 | 3 | module.exports = { 4 | async verificaBadges(interaction){ 5 | let personagemProfile = await Personagem.findOne({ personagemId: interaction.user.id}) 6 | if (personagemProfile.personagemMinutosEstudados >= 10000 ) { 7 | personagemProfile.personagemBadges.push(2) 8 | } 9 | if (personagemProfile.personagemAcumulado >= 100000) { 10 | personagemProfile.personagemBadges.push(3) 11 | } 12 | if (personagemProfile.personagemDesafioNumero >= 100) { 13 | personagemProfile.personagemBadges.push(4) 14 | } 15 | if (personagemProfile.personagemPlanosFundoComprados.includes("quarto") && personagemProfile.personagemPlanosFundoComprados.includes("biblioteca") && personagemProfile.personagemPlanosFundoComprados.includes("faculdade") && personagemProfile.personagemPlanosFundoComprados.includes("cafeteria") && personagemProfile.personagemPlanosFundoComprados.includes("lago")) { 16 | personagemProfile.personagemBadges.push(5) 17 | personagemProfile.personagemBadges.push(6) 18 | } 19 | if (personagemProfile.personagemCafeImpecavel >= 50) { 20 | personagemProfile.personagemBadges.push(7) 21 | } 22 | if (personagemProfile.personagemCiclosPomodoro >= 500) { 23 | personagemProfile.personagemBadges.push(8) 24 | } 25 | if (personagemProfile.personagemBadges.includes(1) && personagemProfile.personagemBadges.includes(2) && personagemProfile.personagemBadges.includes(3) && personagemProfile.personagemBadges.includes(4) && personagemProfile.personagemBadges.includes(5) && personagemProfile.personagemBadges.includes(6) && personagemProfile.personagemBadges.includes(7) && personagemProfile.personagemBadges.includes(8)) { 26 | personagemProfile.personagemBadges.push(9) 27 | } 28 | personagemProfile.save() 29 | } 30 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const documentacao = require('./functions/buscaDocs'); 2 | const techguide = require('./functions/techguideBasics') 3 | const guide = require('./functions/buscaGuide') 4 | const adicionaPlanoFundo = require('./functions/adicionaPlanoFundo.js') 5 | const alteraPlanoFundo = require('./functions/alteraPlanoFundo.js') 6 | const criaPomodoro = require('./functions/criarNovoPomodoro.js') 7 | const atualizaSalario = require('./functions/salario/atualizaSalario') 8 | const verificaCargo = require('./functions/salario/verificaCargo.js') 9 | const verificaBadges = require('./functions/verificaBadges.js') 10 | const { Client, ActivityType, Events, GatewayIntentBits, Collection } = require('discord.js'); 11 | const dotenv = require('dotenv'); 12 | dotenv.config(); 13 | const { TOKEN } = process.env; 14 | const fs = require('node:fs'); 15 | const path = require('node:path'); 16 | const commandsPath = path.join(__dirname, 'commands'); 17 | const commandFiles = fs.readdirSync(commandsPath).filter(file => file.endsWith('.js')); 18 | const app = require('./src/app.js'); 19 | const port = process.env.PORT || 3000; 20 | const Personagem = require('./src/models/Personagem.js') 21 | 22 | app.listen(port, () => { 23 | console.log(`Servidor escutando em http://localhost:${port}`) 24 | }) 25 | 26 | const client = new Client({ intents: [GatewayIntentBits.Guilds, 27 | GatewayIntentBits.GuildVoiceStates] }); 28 | client.commands = new Collection(); 29 | for (const file of commandFiles) { 30 | const filePath = path.join(commandsPath, file); 31 | const command = require(filePath); 32 | if ('data' in command && 'execute' in command) { 33 | client.commands.set(command.data.name, command); 34 | } 35 | else { 36 | console.log(`[AVISO] O comando em ${filePath} está com "data" ou "execute" ausente`); 37 | } 38 | } 39 | 40 | client.once(Events.ClientReady, c => { 41 | console.log(`${c.user.tag} está online!`); 42 | client.user.setActivity("🍅 Bora estudar?", { type: ActivityType.Listening }); 43 | }); 44 | 45 | client.login(TOKEN); 46 | client.on(Events.InteractionCreate, async interaction => { 47 | if (await Personagem.findOne({ personagemId: interaction.user.id}) || interaction.commandName == 'codar'){ 48 | if (interaction.isButton()) { 49 | if (interaction.message.interaction.commandName == 'techguide'){ 50 | const pressed = interaction.customId; 51 | guide.buscaGuide(pressed, interaction); 52 | } else if (interaction.message.interaction.commandName == 'comprar ambiente'){ 53 | const ambienteSelecionadoCompra = interaction.customId; 54 | adicionaPlanoFundo.adicionaPlanoFundo(ambienteSelecionadoCompra, interaction); 55 | } else if (interaction.message.interaction.commandName == 'alterar ambiente'){ 56 | const ambienteSelecionadoAlterar = interaction.customId; 57 | alteraPlanoFundo.alteraPlanoFundo(ambienteSelecionadoAlterar, interaction); 58 | } 59 | } 60 | 61 | if (interaction.isStringSelectMenu()) { 62 | if (interaction.customId == 'backendGuides' || interaction.customId == 'mobileGuides') { 63 | const techSelecionada = interaction.values[0]; 64 | techguide.buscaTechSelecionada(techSelecionada, interaction); 65 | } 66 | else if (interaction.customId == 'docs') { 67 | const selected = interaction.values[0]; 68 | documentacao.buscaDocs(selected, interaction); 69 | } else if (interaction.customId == 'pomodoroFoco'){ 70 | const tempo = interaction.values[0]; 71 | criaPomodoro.criarNovoPomodoro(tempo, interaction, client); 72 | } 73 | } 74 | 75 | if (interaction.isModalSubmit()) { 76 | await interaction.reply({ content: 'Lembrete adicionado com sucesso!' }); 77 | const lembreteTitulo = interaction.fields.getTextInputValue('tituloLembrete'); 78 | const lembreteConteudo = interaction.fields.getTextInputValue('conteudoLembrete'); 79 | console.log({ lembreteTitulo, lembreteConteudo }); 80 | } 81 | 82 | if (!interaction.isChatInputCommand()) return; 83 | const command = interaction.client.commands.get(interaction.commandName); 84 | if (!command) { 85 | console.error('Comando não encontrado'); 86 | return; 87 | } 88 | 89 | try { 90 | await command.execute(interaction); 91 | atualizaSalario.atualizaSalario(interaction); 92 | verificaCargo.verificaCargo(interaction); 93 | verificaBadges.verificaBadges(interaction); 94 | } 95 | catch (error) { 96 | console.error(error); 97 | await interaction.reply('Houve um erro ao executar esse comando!'); 98 | } 99 | } else { 100 | await interaction.reply(`❌ Você ainda não iniciou o seu primeiro emprego! 101 | Para isso, utilize o comando **/codar** primeiro`); 102 | } 103 | }) -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Rafaella Ballerini 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. -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "studify", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "studify", 9 | "version": "1.0.0", 10 | "license": "MIT", 11 | "dependencies": { 12 | "@discordjs/voice": "^0.16.0", 13 | "@napi-rs/canvas": "^0.1.34", 14 | "axios": "^1.4.0", 15 | "discord-embedbuilder": "^4.0.0", 16 | "discord.js": "^14.8.0", 17 | "dotenv": "^16.0.3", 18 | "express": "^4.18.2", 19 | "ffmpeg-static": "^5.1.0", 20 | "libsodium-wrappers": "^0.7.11", 21 | "mongodb": "^5.6.0", 22 | "mongoose": "^7.2.2", 23 | "play-dl": "^1.9.6", 24 | "ytdl-core": "^4.11.4" 25 | }, 26 | "devDependencies": { 27 | "eslint": "^8.32.0", 28 | "nodemon": "^2.0.22" 29 | } 30 | }, 31 | "node_modules/@derhuerst/http-basic": { 32 | "version": "8.2.4", 33 | "resolved": "https://registry.npmjs.org/@derhuerst/http-basic/-/http-basic-8.2.4.tgz", 34 | "integrity": "sha512-F9rL9k9Xjf5blCz8HsJRO4diy111cayL2vkY2XE4r4t3n0yPXVYy3KD3nJ1qbrSn9743UWSXH4IwuCa/HWlGFw==", 35 | "dependencies": { 36 | "caseless": "^0.12.0", 37 | "concat-stream": "^2.0.0", 38 | "http-response-object": "^3.0.1", 39 | "parse-cache-control": "^1.0.1" 40 | }, 41 | "engines": { 42 | "node": ">=6.0.0" 43 | } 44 | }, 45 | "node_modules/@discordjs/builders": { 46 | "version": "1.6.1", 47 | "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.6.1.tgz", 48 | "integrity": "sha512-CCcLwn/8ANhlAbhlE18fcaN0hfXTen53/JiwZs1t9oE/Cqa9maA8ZRarkCIsXF4J7J/MYnd0J6IsxeKsq+f6mw==", 49 | "dependencies": { 50 | "@discordjs/formatters": "^0.3.0", 51 | "@discordjs/util": "^0.2.0", 52 | "@sapphire/shapeshift": "^3.8.1", 53 | "discord-api-types": "^0.37.37", 54 | "fast-deep-equal": "^3.1.3", 55 | "ts-mixer": "^6.0.3", 56 | "tslib": "^2.5.0" 57 | }, 58 | "engines": { 59 | "node": ">=16.9.0" 60 | } 61 | }, 62 | "node_modules/@discordjs/collection": { 63 | "version": "1.5.0", 64 | "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.5.0.tgz", 65 | "integrity": "sha512-suyVndkEAAWrGxyw/CPGdtXoRRU6AUNkibtnbJevQzpelkJh3Q1gQqWDpqf5i39CnAn5+LrN0YS+cULeEjq2Yw==", 66 | "engines": { 67 | "node": ">=16.9.0" 68 | } 69 | }, 70 | "node_modules/@discordjs/formatters": { 71 | "version": "0.3.0", 72 | "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.0.tgz", 73 | "integrity": "sha512-Fc4MomalbP8HMKEMor3qUiboAKDtR7PSBoPjwm7WYghVRwgJlj5WYvUsriLsxeKk8+Qq2oy+HJlGTUkGvX0YnA==", 74 | "dependencies": { 75 | "discord-api-types": "^0.37.37" 76 | }, 77 | "engines": { 78 | "node": ">=16.9.0" 79 | } 80 | }, 81 | "node_modules/@discordjs/rest": { 82 | "version": "1.7.0", 83 | "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.7.0.tgz", 84 | "integrity": "sha512-r2HzmznRIo8IDGYBWqQfkEaGN1LrFfWQd3dSyC4tOpMU8nuVvFUEw6V/lwnG44jyOq+vgyDny2fxeUDMt9I4aQ==", 85 | "dependencies": { 86 | "@discordjs/collection": "^1.5.0", 87 | "@discordjs/util": "^0.2.0", 88 | "@sapphire/async-queue": "^1.5.0", 89 | "@sapphire/snowflake": "^3.4.0", 90 | "discord-api-types": "^0.37.37", 91 | "file-type": "^18.2.1", 92 | "tslib": "^2.5.0", 93 | "undici": "^5.21.0" 94 | }, 95 | "engines": { 96 | "node": ">=16.9.0" 97 | } 98 | }, 99 | "node_modules/@discordjs/util": { 100 | "version": "0.2.0", 101 | "resolved": "https://registry.npmjs.org/@discordjs/util/-/util-0.2.0.tgz", 102 | "integrity": "sha512-/8qNbebFzLWKOOg+UV+RB8itp4SmU5jw0tBUD3ifElW6rYNOj1Ku5JaSW7lLl/WgjjxF01l/1uQPCzkwr110vg==", 103 | "engines": { 104 | "node": ">=16.9.0" 105 | } 106 | }, 107 | "node_modules/@discordjs/voice": { 108 | "version": "0.16.0", 109 | "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.16.0.tgz", 110 | "integrity": "sha512-ToGCvHD1cBscuW3p+C7zOF5+L7MJmU4GjdOARfNk9mkHyFFZq4grK+Sxr3QXKbp27DtfDBc9uqD4GUOYgxngfA==", 111 | "dependencies": { 112 | "@types/ws": "^8.5.4", 113 | "discord-api-types": "^0.37.37", 114 | "prism-media": "^1.3.5", 115 | "tslib": "^2.5.0", 116 | "ws": "^8.13.0" 117 | }, 118 | "engines": { 119 | "node": ">=16.9.0" 120 | } 121 | }, 122 | "node_modules/@eslint/eslintrc": { 123 | "version": "1.4.1", 124 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", 125 | "integrity": "sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==", 126 | "dev": true, 127 | "dependencies": { 128 | "ajv": "^6.12.4", 129 | "debug": "^4.3.2", 130 | "espree": "^9.4.0", 131 | "globals": "^13.19.0", 132 | "ignore": "^5.2.0", 133 | "import-fresh": "^3.2.1", 134 | "js-yaml": "^4.1.0", 135 | "minimatch": "^3.1.2", 136 | "strip-json-comments": "^3.1.1" 137 | }, 138 | "engines": { 139 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 140 | }, 141 | "funding": { 142 | "url": "https://opencollective.com/eslint" 143 | } 144 | }, 145 | "node_modules/@humanwhocodes/config-array": { 146 | "version": "0.11.8", 147 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", 148 | "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", 149 | "dev": true, 150 | "dependencies": { 151 | "@humanwhocodes/object-schema": "^1.2.1", 152 | "debug": "^4.1.1", 153 | "minimatch": "^3.0.5" 154 | }, 155 | "engines": { 156 | "node": ">=10.10.0" 157 | } 158 | }, 159 | "node_modules/@humanwhocodes/module-importer": { 160 | "version": "1.0.1", 161 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 162 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 163 | "dev": true, 164 | "engines": { 165 | "node": ">=12.22" 166 | }, 167 | "funding": { 168 | "type": "github", 169 | "url": "https://github.com/sponsors/nzakas" 170 | } 171 | }, 172 | "node_modules/@humanwhocodes/object-schema": { 173 | "version": "1.2.1", 174 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 175 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 176 | "dev": true 177 | }, 178 | "node_modules/@napi-rs/canvas": { 179 | "version": "0.1.34", 180 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas/-/canvas-0.1.34.tgz", 181 | "integrity": "sha512-Nw719Ne/523nRIsM3ZHRfZFHKLE7Hy8K0ChQZNvOP4GebLBmeoySzEIaxxG4xja+jDGwhkbh43raMK7No9kx7A==", 182 | "engines": { 183 | "node": ">= 10" 184 | }, 185 | "optionalDependencies": { 186 | "@napi-rs/canvas-android-arm64": "0.1.34", 187 | "@napi-rs/canvas-darwin-arm64": "0.1.34", 188 | "@napi-rs/canvas-darwin-x64": "0.1.34", 189 | "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.34", 190 | "@napi-rs/canvas-linux-arm64-gnu": "0.1.34", 191 | "@napi-rs/canvas-linux-arm64-musl": "0.1.34", 192 | "@napi-rs/canvas-linux-x64-gnu": "0.1.34", 193 | "@napi-rs/canvas-linux-x64-musl": "0.1.34", 194 | "@napi-rs/canvas-win32-x64-msvc": "0.1.34" 195 | } 196 | }, 197 | "node_modules/@napi-rs/canvas-android-arm64": { 198 | "version": "0.1.34", 199 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.34.tgz", 200 | "integrity": "sha512-oj6zoaLG3Re3EpKSaXy6rkYpw+dCiqFSpl2JL/uWZ5F2oB3A9KKL3wydQljgg8D40I6wEFAyUpbYgTU4q14quQ==", 201 | "cpu": [ 202 | "arm64" 203 | ], 204 | "optional": true, 205 | "os": [ 206 | "android" 207 | ], 208 | "engines": { 209 | "node": ">= 10" 210 | } 211 | }, 212 | "node_modules/@napi-rs/canvas-darwin-arm64": { 213 | "version": "0.1.34", 214 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.34.tgz", 215 | "integrity": "sha512-P8oEeRHJ5z2TYg+rHtEk5lxdODtvYKwfs3v8Uy5EuQJ7PIoEFjUfQnnntuZ1LwbDz0TfuaJz0aRH9TjMNnBKBw==", 216 | "cpu": [ 217 | "arm64" 218 | ], 219 | "optional": true, 220 | "os": [ 221 | "darwin" 222 | ], 223 | "engines": { 224 | "node": ">= 10" 225 | } 226 | }, 227 | "node_modules/@napi-rs/canvas-darwin-x64": { 228 | "version": "0.1.34", 229 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.34.tgz", 230 | "integrity": "sha512-TptzmEvPbQtZQfpdVqXzvvyy0gRIxFSeaavUJEA0wstuXmMEEL3Ge6rk/lX38ixrwC6rTB3V6e2hziRd1UZ9Pg==", 231 | "cpu": [ 232 | "x64" 233 | ], 234 | "optional": true, 235 | "os": [ 236 | "darwin" 237 | ], 238 | "engines": { 239 | "node": ">= 10" 240 | } 241 | }, 242 | "node_modules/@napi-rs/canvas-linux-arm-gnueabihf": { 243 | "version": "0.1.34", 244 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.34.tgz", 245 | "integrity": "sha512-w54DIqvdxc+cIP3y0esC26G5BKICE4nvo6J0u/q9zZruvnLkInKariAOMTN0gmDjZjHY3a5lTro4CTg0Odoteg==", 246 | "cpu": [ 247 | "arm" 248 | ], 249 | "optional": true, 250 | "os": [ 251 | "linux" 252 | ], 253 | "engines": { 254 | "node": ">= 10" 255 | } 256 | }, 257 | "node_modules/@napi-rs/canvas-linux-arm64-gnu": { 258 | "version": "0.1.34", 259 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.34.tgz", 260 | "integrity": "sha512-N008ta7zer8v3cky4YLT9IcOmVmL7PyJ2P7L65GeICfOkczOD9THdgcbPWa6NNbHiDSHPSsXVRRrb5uAIDNbZQ==", 261 | "cpu": [ 262 | "arm64" 263 | ], 264 | "hasInstallScript": true, 265 | "optional": true, 266 | "os": [ 267 | "linux" 268 | ], 269 | "engines": { 270 | "node": ">= 10" 271 | } 272 | }, 273 | "node_modules/@napi-rs/canvas-linux-arm64-musl": { 274 | "version": "0.1.34", 275 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.34.tgz", 276 | "integrity": "sha512-/axLA9UrNri93JqlbQaZ4Md2zUMwWxSHnTnlOnGBpDrAvFHrZ8VgYvQU6SbaiAuC7NvqADFgZ+lINo2JCMl1tw==", 277 | "cpu": [ 278 | "arm64" 279 | ], 280 | "hasInstallScript": true, 281 | "optional": true, 282 | "os": [ 283 | "linux" 284 | ], 285 | "engines": { 286 | "node": ">= 10" 287 | } 288 | }, 289 | "node_modules/@napi-rs/canvas-linux-x64-gnu": { 290 | "version": "0.1.34", 291 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.34.tgz", 292 | "integrity": "sha512-YEYdWWmAdZt/02t22DFlqFxANmmEI6/Vyqoz+7+Y6s/6nAohQ/S9qRjeYtMYW4J6qxSpoVhOm8NkZ7niv4OFJA==", 293 | "cpu": [ 294 | "x64" 295 | ], 296 | "hasInstallScript": true, 297 | "optional": true, 298 | "os": [ 299 | "linux" 300 | ], 301 | "engines": { 302 | "node": ">= 10" 303 | } 304 | }, 305 | "node_modules/@napi-rs/canvas-linux-x64-musl": { 306 | "version": "0.1.34", 307 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.34.tgz", 308 | "integrity": "sha512-K4Nk/BL6TiLkMU8QAH45j/YAn7B4//cp6FvivGJBr7/unEm+nv8nSFX/ueBV9G6/lyOBKcWdiMWoclJxVP9q4A==", 309 | "cpu": [ 310 | "x64" 311 | ], 312 | "hasInstallScript": true, 313 | "optional": true, 314 | "os": [ 315 | "linux" 316 | ], 317 | "engines": { 318 | "node": ">= 10" 319 | } 320 | }, 321 | "node_modules/@napi-rs/canvas-win32-x64-msvc": { 322 | "version": "0.1.34", 323 | "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-0.1.34.tgz", 324 | "integrity": "sha512-k8tPRVbB0svxC3sZ1qxMJbJYjnFN1oyi344DwbbOeUTUQNyGPwrpsHjtnPbNogl0/i/jFtRXH6fI5fCngmolCA==", 325 | "cpu": [ 326 | "x64" 327 | ], 328 | "optional": true, 329 | "os": [ 330 | "win32" 331 | ], 332 | "engines": { 333 | "node": ">= 10" 334 | } 335 | }, 336 | "node_modules/@nodelib/fs.scandir": { 337 | "version": "2.1.5", 338 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 339 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 340 | "dev": true, 341 | "dependencies": { 342 | "@nodelib/fs.stat": "2.0.5", 343 | "run-parallel": "^1.1.9" 344 | }, 345 | "engines": { 346 | "node": ">= 8" 347 | } 348 | }, 349 | "node_modules/@nodelib/fs.stat": { 350 | "version": "2.0.5", 351 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 352 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 353 | "dev": true, 354 | "engines": { 355 | "node": ">= 8" 356 | } 357 | }, 358 | "node_modules/@nodelib/fs.walk": { 359 | "version": "1.2.8", 360 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 361 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 362 | "dev": true, 363 | "dependencies": { 364 | "@nodelib/fs.scandir": "2.1.5", 365 | "fastq": "^1.6.0" 366 | }, 367 | "engines": { 368 | "node": ">= 8" 369 | } 370 | }, 371 | "node_modules/@sapphire/async-queue": { 372 | "version": "1.5.0", 373 | "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.0.tgz", 374 | "integrity": "sha512-JkLdIsP8fPAdh9ZZjrbHWR/+mZj0wvKS5ICibcLrRI1j84UmLMshx5n9QmL8b95d4onJ2xxiyugTgSAX7AalmA==", 375 | "engines": { 376 | "node": ">=v14.0.0", 377 | "npm": ">=7.0.0" 378 | } 379 | }, 380 | "node_modules/@sapphire/shapeshift": { 381 | "version": "3.8.2", 382 | "resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.8.2.tgz", 383 | "integrity": "sha512-NXpnJAsxN3/h9TqQPntOeVWZrpIuucqXI3IWF6tj2fWCoRLCuVK5wx7Dtg7pRrtkYfsMUbDqgKoX26vrC5iYfA==", 384 | "dependencies": { 385 | "fast-deep-equal": "^3.1.3", 386 | "lodash": "^4.17.21" 387 | }, 388 | "engines": { 389 | "node": ">=v14.0.0", 390 | "npm": ">=7.0.0" 391 | } 392 | }, 393 | "node_modules/@sapphire/snowflake": { 394 | "version": "3.4.2", 395 | "resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.4.2.tgz", 396 | "integrity": "sha512-KJwlv5gkGjs1uFV7/xx81n3tqgBwBJvH94n1xDyH3q+JSmtsMeSleJffarEBfG2yAFeJiFA4BnGOK6FFPHc19g==", 397 | "engines": { 398 | "node": ">=v14.0.0", 399 | "npm": ">=7.0.0" 400 | } 401 | }, 402 | "node_modules/@tokenizer/token": { 403 | "version": "0.3.0", 404 | "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", 405 | "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" 406 | }, 407 | "node_modules/@types/node": { 408 | "version": "18.11.18", 409 | "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", 410 | "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==" 411 | }, 412 | "node_modules/@types/webidl-conversions": { 413 | "version": "7.0.0", 414 | "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz", 415 | "integrity": "sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog==" 416 | }, 417 | "node_modules/@types/whatwg-url": { 418 | "version": "8.2.2", 419 | "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.2.tgz", 420 | "integrity": "sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==", 421 | "dependencies": { 422 | "@types/node": "*", 423 | "@types/webidl-conversions": "*" 424 | } 425 | }, 426 | "node_modules/@types/ws": { 427 | "version": "8.5.4", 428 | "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz", 429 | "integrity": "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==", 430 | "dependencies": { 431 | "@types/node": "*" 432 | } 433 | }, 434 | "node_modules/abbrev": { 435 | "version": "1.1.1", 436 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 437 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", 438 | "dev": true 439 | }, 440 | "node_modules/accepts": { 441 | "version": "1.3.8", 442 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 443 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 444 | "dependencies": { 445 | "mime-types": "~2.1.34", 446 | "negotiator": "0.6.3" 447 | }, 448 | "engines": { 449 | "node": ">= 0.6" 450 | } 451 | }, 452 | "node_modules/acorn": { 453 | "version": "8.8.1", 454 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", 455 | "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", 456 | "dev": true, 457 | "bin": { 458 | "acorn": "bin/acorn" 459 | }, 460 | "engines": { 461 | "node": ">=0.4.0" 462 | } 463 | }, 464 | "node_modules/acorn-jsx": { 465 | "version": "5.3.2", 466 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 467 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 468 | "dev": true, 469 | "peerDependencies": { 470 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 471 | } 472 | }, 473 | "node_modules/agent-base": { 474 | "version": "6.0.2", 475 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", 476 | "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", 477 | "dependencies": { 478 | "debug": "4" 479 | }, 480 | "engines": { 481 | "node": ">= 6.0.0" 482 | } 483 | }, 484 | "node_modules/ajv": { 485 | "version": "6.12.6", 486 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 487 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 488 | "dev": true, 489 | "dependencies": { 490 | "fast-deep-equal": "^3.1.1", 491 | "fast-json-stable-stringify": "^2.0.0", 492 | "json-schema-traverse": "^0.4.1", 493 | "uri-js": "^4.2.2" 494 | }, 495 | "funding": { 496 | "type": "github", 497 | "url": "https://github.com/sponsors/epoberezkin" 498 | } 499 | }, 500 | "node_modules/ansi-regex": { 501 | "version": "5.0.1", 502 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 503 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 504 | "dev": true, 505 | "engines": { 506 | "node": ">=8" 507 | } 508 | }, 509 | "node_modules/ansi-styles": { 510 | "version": "4.3.0", 511 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 512 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 513 | "dev": true, 514 | "dependencies": { 515 | "color-convert": "^2.0.1" 516 | }, 517 | "engines": { 518 | "node": ">=8" 519 | }, 520 | "funding": { 521 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 522 | } 523 | }, 524 | "node_modules/anymatch": { 525 | "version": "3.1.3", 526 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 527 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 528 | "dev": true, 529 | "dependencies": { 530 | "normalize-path": "^3.0.0", 531 | "picomatch": "^2.0.4" 532 | }, 533 | "engines": { 534 | "node": ">= 8" 535 | } 536 | }, 537 | "node_modules/argparse": { 538 | "version": "2.0.1", 539 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 540 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 541 | "dev": true 542 | }, 543 | "node_modules/array-flatten": { 544 | "version": "1.1.1", 545 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 546 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 547 | }, 548 | "node_modules/asynckit": { 549 | "version": "0.4.0", 550 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 551 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" 552 | }, 553 | "node_modules/axios": { 554 | "version": "1.4.0", 555 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", 556 | "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", 557 | "dependencies": { 558 | "follow-redirects": "^1.15.0", 559 | "form-data": "^4.0.0", 560 | "proxy-from-env": "^1.1.0" 561 | } 562 | }, 563 | "node_modules/balanced-match": { 564 | "version": "1.0.2", 565 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 566 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 567 | "dev": true 568 | }, 569 | "node_modules/binary-extensions": { 570 | "version": "2.2.0", 571 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 572 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 573 | "dev": true, 574 | "engines": { 575 | "node": ">=8" 576 | } 577 | }, 578 | "node_modules/body-parser": { 579 | "version": "1.20.1", 580 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", 581 | "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", 582 | "dependencies": { 583 | "bytes": "3.1.2", 584 | "content-type": "~1.0.4", 585 | "debug": "2.6.9", 586 | "depd": "2.0.0", 587 | "destroy": "1.2.0", 588 | "http-errors": "2.0.0", 589 | "iconv-lite": "0.4.24", 590 | "on-finished": "2.4.1", 591 | "qs": "6.11.0", 592 | "raw-body": "2.5.1", 593 | "type-is": "~1.6.18", 594 | "unpipe": "1.0.0" 595 | }, 596 | "engines": { 597 | "node": ">= 0.8", 598 | "npm": "1.2.8000 || >= 1.4.16" 599 | } 600 | }, 601 | "node_modules/body-parser/node_modules/debug": { 602 | "version": "2.6.9", 603 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 604 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 605 | "dependencies": { 606 | "ms": "2.0.0" 607 | } 608 | }, 609 | "node_modules/body-parser/node_modules/ms": { 610 | "version": "2.0.0", 611 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 612 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 613 | }, 614 | "node_modules/brace-expansion": { 615 | "version": "1.1.11", 616 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 617 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 618 | "dev": true, 619 | "dependencies": { 620 | "balanced-match": "^1.0.0", 621 | "concat-map": "0.0.1" 622 | } 623 | }, 624 | "node_modules/braces": { 625 | "version": "3.0.2", 626 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 627 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 628 | "dev": true, 629 | "dependencies": { 630 | "fill-range": "^7.0.1" 631 | }, 632 | "engines": { 633 | "node": ">=8" 634 | } 635 | }, 636 | "node_modules/bson": { 637 | "version": "5.3.0", 638 | "resolved": "https://registry.npmjs.org/bson/-/bson-5.3.0.tgz", 639 | "integrity": "sha512-ukmCZMneMlaC5ebPHXIkP8YJzNl5DC41N5MAIvKDqLggdao342t4McltoJBQfQya/nHBWAcSsYRqlXPoQkTJag==", 640 | "engines": { 641 | "node": ">=14.20.1" 642 | } 643 | }, 644 | "node_modules/buffer-from": { 645 | "version": "1.1.2", 646 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 647 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" 648 | }, 649 | "node_modules/busboy": { 650 | "version": "1.6.0", 651 | "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", 652 | "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", 653 | "dependencies": { 654 | "streamsearch": "^1.1.0" 655 | }, 656 | "engines": { 657 | "node": ">=10.16.0" 658 | } 659 | }, 660 | "node_modules/bytes": { 661 | "version": "3.1.2", 662 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 663 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 664 | "engines": { 665 | "node": ">= 0.8" 666 | } 667 | }, 668 | "node_modules/call-bind": { 669 | "version": "1.0.2", 670 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 671 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 672 | "dependencies": { 673 | "function-bind": "^1.1.1", 674 | "get-intrinsic": "^1.0.2" 675 | }, 676 | "funding": { 677 | "url": "https://github.com/sponsors/ljharb" 678 | } 679 | }, 680 | "node_modules/callsites": { 681 | "version": "3.1.0", 682 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 683 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 684 | "dev": true, 685 | "engines": { 686 | "node": ">=6" 687 | } 688 | }, 689 | "node_modules/caseless": { 690 | "version": "0.12.0", 691 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", 692 | "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" 693 | }, 694 | "node_modules/chalk": { 695 | "version": "4.1.2", 696 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 697 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 698 | "dev": true, 699 | "dependencies": { 700 | "ansi-styles": "^4.1.0", 701 | "supports-color": "^7.1.0" 702 | }, 703 | "engines": { 704 | "node": ">=10" 705 | }, 706 | "funding": { 707 | "url": "https://github.com/chalk/chalk?sponsor=1" 708 | } 709 | }, 710 | "node_modules/chokidar": { 711 | "version": "3.5.3", 712 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 713 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 714 | "dev": true, 715 | "funding": [ 716 | { 717 | "type": "individual", 718 | "url": "https://paulmillr.com/funding/" 719 | } 720 | ], 721 | "dependencies": { 722 | "anymatch": "~3.1.2", 723 | "braces": "~3.0.2", 724 | "glob-parent": "~5.1.2", 725 | "is-binary-path": "~2.1.0", 726 | "is-glob": "~4.0.1", 727 | "normalize-path": "~3.0.0", 728 | "readdirp": "~3.6.0" 729 | }, 730 | "engines": { 731 | "node": ">= 8.10.0" 732 | }, 733 | "optionalDependencies": { 734 | "fsevents": "~2.3.2" 735 | } 736 | }, 737 | "node_modules/chokidar/node_modules/glob-parent": { 738 | "version": "5.1.2", 739 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 740 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 741 | "dev": true, 742 | "dependencies": { 743 | "is-glob": "^4.0.1" 744 | }, 745 | "engines": { 746 | "node": ">= 6" 747 | } 748 | }, 749 | "node_modules/color-convert": { 750 | "version": "2.0.1", 751 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 752 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 753 | "dev": true, 754 | "dependencies": { 755 | "color-name": "~1.1.4" 756 | }, 757 | "engines": { 758 | "node": ">=7.0.0" 759 | } 760 | }, 761 | "node_modules/color-name": { 762 | "version": "1.1.4", 763 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 764 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 765 | "dev": true 766 | }, 767 | "node_modules/combined-stream": { 768 | "version": "1.0.8", 769 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 770 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 771 | "dependencies": { 772 | "delayed-stream": "~1.0.0" 773 | }, 774 | "engines": { 775 | "node": ">= 0.8" 776 | } 777 | }, 778 | "node_modules/concat-map": { 779 | "version": "0.0.1", 780 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 781 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 782 | "dev": true 783 | }, 784 | "node_modules/concat-stream": { 785 | "version": "2.0.0", 786 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", 787 | "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", 788 | "engines": [ 789 | "node >= 6.0" 790 | ], 791 | "dependencies": { 792 | "buffer-from": "^1.0.0", 793 | "inherits": "^2.0.3", 794 | "readable-stream": "^3.0.2", 795 | "typedarray": "^0.0.6" 796 | } 797 | }, 798 | "node_modules/content-disposition": { 799 | "version": "0.5.4", 800 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 801 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 802 | "dependencies": { 803 | "safe-buffer": "5.2.1" 804 | }, 805 | "engines": { 806 | "node": ">= 0.6" 807 | } 808 | }, 809 | "node_modules/content-type": { 810 | "version": "1.0.5", 811 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 812 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", 813 | "engines": { 814 | "node": ">= 0.6" 815 | } 816 | }, 817 | "node_modules/cookie": { 818 | "version": "0.5.0", 819 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 820 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", 821 | "engines": { 822 | "node": ">= 0.6" 823 | } 824 | }, 825 | "node_modules/cookie-signature": { 826 | "version": "1.0.6", 827 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 828 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 829 | }, 830 | "node_modules/cross-spawn": { 831 | "version": "7.0.3", 832 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 833 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 834 | "dev": true, 835 | "dependencies": { 836 | "path-key": "^3.1.0", 837 | "shebang-command": "^2.0.0", 838 | "which": "^2.0.1" 839 | }, 840 | "engines": { 841 | "node": ">= 8" 842 | } 843 | }, 844 | "node_modules/debug": { 845 | "version": "4.3.4", 846 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 847 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 848 | "dependencies": { 849 | "ms": "2.1.2" 850 | }, 851 | "engines": { 852 | "node": ">=6.0" 853 | }, 854 | "peerDependenciesMeta": { 855 | "supports-color": { 856 | "optional": true 857 | } 858 | } 859 | }, 860 | "node_modules/deep-is": { 861 | "version": "0.1.4", 862 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 863 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 864 | "dev": true 865 | }, 866 | "node_modules/delayed-stream": { 867 | "version": "1.0.0", 868 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 869 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 870 | "engines": { 871 | "node": ">=0.4.0" 872 | } 873 | }, 874 | "node_modules/depd": { 875 | "version": "2.0.0", 876 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 877 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 878 | "engines": { 879 | "node": ">= 0.8" 880 | } 881 | }, 882 | "node_modules/destroy": { 883 | "version": "1.2.0", 884 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 885 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 886 | "engines": { 887 | "node": ">= 0.8", 888 | "npm": "1.2.8000 || >= 1.4.16" 889 | } 890 | }, 891 | "node_modules/discord-api-types": { 892 | "version": "0.37.38", 893 | "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.38.tgz", 894 | "integrity": "sha512-p9dibYycLXY1FUM9bIuohYeHHwa/634394QE90n6Tlb6ID5HtCtXBPYY68oaOlFnlFLBJAOYATMwX5oiV+VqiA==" 895 | }, 896 | "node_modules/discord-embedbuilder": { 897 | "version": "4.0.0", 898 | "resolved": "https://registry.npmjs.org/discord-embedbuilder/-/discord-embedbuilder-4.0.0.tgz", 899 | "integrity": "sha512-ZOiEEFUO7AJglSdAvVB6A61A14wx87vf63d7K/jBzR/bJAUdYS5RwqZZ7JW9UHkH/insSSczQTzE68Ej2HmCrQ==", 900 | "dependencies": { 901 | "discord.js": "^14.6.0" 902 | } 903 | }, 904 | "node_modules/discord.js": { 905 | "version": "14.9.0", 906 | "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.9.0.tgz", 907 | "integrity": "sha512-ygGms5xP4hG+QrrY9k7d/OYCzMltSMtdl/2Snzq/nLCiZo+Sna91Ulv9l0+B5Jd/Czcq37B7wJAnmja7GOa+bg==", 908 | "dependencies": { 909 | "@discordjs/builders": "^1.6.0", 910 | "@discordjs/collection": "^1.5.0", 911 | "@discordjs/formatters": "^0.3.0", 912 | "@discordjs/rest": "^1.7.0", 913 | "@discordjs/util": "^0.2.0", 914 | "@sapphire/snowflake": "^3.4.0", 915 | "@types/ws": "^8.5.4", 916 | "discord-api-types": "^0.37.37", 917 | "fast-deep-equal": "^3.1.3", 918 | "lodash.snakecase": "^4.1.1", 919 | "tslib": "^2.5.0", 920 | "undici": "^5.21.0", 921 | "ws": "^8.13.0" 922 | }, 923 | "engines": { 924 | "node": ">=16.9.0" 925 | } 926 | }, 927 | "node_modules/doctrine": { 928 | "version": "3.0.0", 929 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 930 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 931 | "dev": true, 932 | "dependencies": { 933 | "esutils": "^2.0.2" 934 | }, 935 | "engines": { 936 | "node": ">=6.0.0" 937 | } 938 | }, 939 | "node_modules/dotenv": { 940 | "version": "16.0.3", 941 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", 942 | "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==", 943 | "engines": { 944 | "node": ">=12" 945 | } 946 | }, 947 | "node_modules/ee-first": { 948 | "version": "1.1.1", 949 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 950 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 951 | }, 952 | "node_modules/encodeurl": { 953 | "version": "1.0.2", 954 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 955 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", 956 | "engines": { 957 | "node": ">= 0.8" 958 | } 959 | }, 960 | "node_modules/env-paths": { 961 | "version": "2.2.1", 962 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", 963 | "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", 964 | "engines": { 965 | "node": ">=6" 966 | } 967 | }, 968 | "node_modules/escape-html": { 969 | "version": "1.0.3", 970 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 971 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 972 | }, 973 | "node_modules/escape-string-regexp": { 974 | "version": "4.0.0", 975 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 976 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 977 | "dev": true, 978 | "engines": { 979 | "node": ">=10" 980 | }, 981 | "funding": { 982 | "url": "https://github.com/sponsors/sindresorhus" 983 | } 984 | }, 985 | "node_modules/eslint": { 986 | "version": "8.32.0", 987 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.32.0.tgz", 988 | "integrity": "sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ==", 989 | "dev": true, 990 | "dependencies": { 991 | "@eslint/eslintrc": "^1.4.1", 992 | "@humanwhocodes/config-array": "^0.11.8", 993 | "@humanwhocodes/module-importer": "^1.0.1", 994 | "@nodelib/fs.walk": "^1.2.8", 995 | "ajv": "^6.10.0", 996 | "chalk": "^4.0.0", 997 | "cross-spawn": "^7.0.2", 998 | "debug": "^4.3.2", 999 | "doctrine": "^3.0.0", 1000 | "escape-string-regexp": "^4.0.0", 1001 | "eslint-scope": "^7.1.1", 1002 | "eslint-utils": "^3.0.0", 1003 | "eslint-visitor-keys": "^3.3.0", 1004 | "espree": "^9.4.0", 1005 | "esquery": "^1.4.0", 1006 | "esutils": "^2.0.2", 1007 | "fast-deep-equal": "^3.1.3", 1008 | "file-entry-cache": "^6.0.1", 1009 | "find-up": "^5.0.0", 1010 | "glob-parent": "^6.0.2", 1011 | "globals": "^13.19.0", 1012 | "grapheme-splitter": "^1.0.4", 1013 | "ignore": "^5.2.0", 1014 | "import-fresh": "^3.0.0", 1015 | "imurmurhash": "^0.1.4", 1016 | "is-glob": "^4.0.0", 1017 | "is-path-inside": "^3.0.3", 1018 | "js-sdsl": "^4.1.4", 1019 | "js-yaml": "^4.1.0", 1020 | "json-stable-stringify-without-jsonify": "^1.0.1", 1021 | "levn": "^0.4.1", 1022 | "lodash.merge": "^4.6.2", 1023 | "minimatch": "^3.1.2", 1024 | "natural-compare": "^1.4.0", 1025 | "optionator": "^0.9.1", 1026 | "regexpp": "^3.2.0", 1027 | "strip-ansi": "^6.0.1", 1028 | "strip-json-comments": "^3.1.0", 1029 | "text-table": "^0.2.0" 1030 | }, 1031 | "bin": { 1032 | "eslint": "bin/eslint.js" 1033 | }, 1034 | "engines": { 1035 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1036 | }, 1037 | "funding": { 1038 | "url": "https://opencollective.com/eslint" 1039 | } 1040 | }, 1041 | "node_modules/eslint-scope": { 1042 | "version": "7.1.1", 1043 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", 1044 | "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", 1045 | "dev": true, 1046 | "dependencies": { 1047 | "esrecurse": "^4.3.0", 1048 | "estraverse": "^5.2.0" 1049 | }, 1050 | "engines": { 1051 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1052 | } 1053 | }, 1054 | "node_modules/eslint-utils": { 1055 | "version": "3.0.0", 1056 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", 1057 | "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", 1058 | "dev": true, 1059 | "dependencies": { 1060 | "eslint-visitor-keys": "^2.0.0" 1061 | }, 1062 | "engines": { 1063 | "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" 1064 | }, 1065 | "funding": { 1066 | "url": "https://github.com/sponsors/mysticatea" 1067 | }, 1068 | "peerDependencies": { 1069 | "eslint": ">=5" 1070 | } 1071 | }, 1072 | "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { 1073 | "version": "2.1.0", 1074 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 1075 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 1076 | "dev": true, 1077 | "engines": { 1078 | "node": ">=10" 1079 | } 1080 | }, 1081 | "node_modules/eslint-visitor-keys": { 1082 | "version": "3.3.0", 1083 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", 1084 | "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", 1085 | "dev": true, 1086 | "engines": { 1087 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1088 | } 1089 | }, 1090 | "node_modules/espree": { 1091 | "version": "9.4.1", 1092 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", 1093 | "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", 1094 | "dev": true, 1095 | "dependencies": { 1096 | "acorn": "^8.8.0", 1097 | "acorn-jsx": "^5.3.2", 1098 | "eslint-visitor-keys": "^3.3.0" 1099 | }, 1100 | "engines": { 1101 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1102 | }, 1103 | "funding": { 1104 | "url": "https://opencollective.com/eslint" 1105 | } 1106 | }, 1107 | "node_modules/esquery": { 1108 | "version": "1.4.0", 1109 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", 1110 | "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", 1111 | "dev": true, 1112 | "dependencies": { 1113 | "estraverse": "^5.1.0" 1114 | }, 1115 | "engines": { 1116 | "node": ">=0.10" 1117 | } 1118 | }, 1119 | "node_modules/esrecurse": { 1120 | "version": "4.3.0", 1121 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 1122 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 1123 | "dev": true, 1124 | "dependencies": { 1125 | "estraverse": "^5.2.0" 1126 | }, 1127 | "engines": { 1128 | "node": ">=4.0" 1129 | } 1130 | }, 1131 | "node_modules/estraverse": { 1132 | "version": "5.3.0", 1133 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1134 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1135 | "dev": true, 1136 | "engines": { 1137 | "node": ">=4.0" 1138 | } 1139 | }, 1140 | "node_modules/esutils": { 1141 | "version": "2.0.3", 1142 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1143 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1144 | "dev": true, 1145 | "engines": { 1146 | "node": ">=0.10.0" 1147 | } 1148 | }, 1149 | "node_modules/etag": { 1150 | "version": "1.8.1", 1151 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 1152 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", 1153 | "engines": { 1154 | "node": ">= 0.6" 1155 | } 1156 | }, 1157 | "node_modules/express": { 1158 | "version": "4.18.2", 1159 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", 1160 | "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", 1161 | "dependencies": { 1162 | "accepts": "~1.3.8", 1163 | "array-flatten": "1.1.1", 1164 | "body-parser": "1.20.1", 1165 | "content-disposition": "0.5.4", 1166 | "content-type": "~1.0.4", 1167 | "cookie": "0.5.0", 1168 | "cookie-signature": "1.0.6", 1169 | "debug": "2.6.9", 1170 | "depd": "2.0.0", 1171 | "encodeurl": "~1.0.2", 1172 | "escape-html": "~1.0.3", 1173 | "etag": "~1.8.1", 1174 | "finalhandler": "1.2.0", 1175 | "fresh": "0.5.2", 1176 | "http-errors": "2.0.0", 1177 | "merge-descriptors": "1.0.1", 1178 | "methods": "~1.1.2", 1179 | "on-finished": "2.4.1", 1180 | "parseurl": "~1.3.3", 1181 | "path-to-regexp": "0.1.7", 1182 | "proxy-addr": "~2.0.7", 1183 | "qs": "6.11.0", 1184 | "range-parser": "~1.2.1", 1185 | "safe-buffer": "5.2.1", 1186 | "send": "0.18.0", 1187 | "serve-static": "1.15.0", 1188 | "setprototypeof": "1.2.0", 1189 | "statuses": "2.0.1", 1190 | "type-is": "~1.6.18", 1191 | "utils-merge": "1.0.1", 1192 | "vary": "~1.1.2" 1193 | }, 1194 | "engines": { 1195 | "node": ">= 0.10.0" 1196 | } 1197 | }, 1198 | "node_modules/express/node_modules/debug": { 1199 | "version": "2.6.9", 1200 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1201 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1202 | "dependencies": { 1203 | "ms": "2.0.0" 1204 | } 1205 | }, 1206 | "node_modules/express/node_modules/ms": { 1207 | "version": "2.0.0", 1208 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1209 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 1210 | }, 1211 | "node_modules/fast-deep-equal": { 1212 | "version": "3.1.3", 1213 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1214 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" 1215 | }, 1216 | "node_modules/fast-json-stable-stringify": { 1217 | "version": "2.1.0", 1218 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1219 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1220 | "dev": true 1221 | }, 1222 | "node_modules/fast-levenshtein": { 1223 | "version": "2.0.6", 1224 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1225 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 1226 | "dev": true 1227 | }, 1228 | "node_modules/fastq": { 1229 | "version": "1.15.0", 1230 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", 1231 | "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", 1232 | "dev": true, 1233 | "dependencies": { 1234 | "reusify": "^1.0.4" 1235 | } 1236 | }, 1237 | "node_modules/ffmpeg-static": { 1238 | "version": "5.1.0", 1239 | "resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-5.1.0.tgz", 1240 | "integrity": "sha512-eEWOiGdbf7HKPeJI5PoJ0oCwkL0hckL2JdS4JOuB/gUETppwkEpq8nF0+e6VEQnDCo/iuoipbTUsn9QJmtpNkg==", 1241 | "hasInstallScript": true, 1242 | "dependencies": { 1243 | "@derhuerst/http-basic": "^8.2.0", 1244 | "env-paths": "^2.2.0", 1245 | "https-proxy-agent": "^5.0.0", 1246 | "progress": "^2.0.3" 1247 | }, 1248 | "engines": { 1249 | "node": ">=16" 1250 | } 1251 | }, 1252 | "node_modules/file-entry-cache": { 1253 | "version": "6.0.1", 1254 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1255 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1256 | "dev": true, 1257 | "dependencies": { 1258 | "flat-cache": "^3.0.4" 1259 | }, 1260 | "engines": { 1261 | "node": "^10.12.0 || >=12.0.0" 1262 | } 1263 | }, 1264 | "node_modules/file-type": { 1265 | "version": "18.2.1", 1266 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-18.2.1.tgz", 1267 | "integrity": "sha512-Yw5MtnMv7vgD2/6Bjmmuegc8bQEVA9GmAyaR18bMYWKqsWDG9wgYZ1j4I6gNMF5Y5JBDcUcjRQqNQx7Y8uotcg==", 1268 | "dependencies": { 1269 | "readable-web-to-node-stream": "^3.0.2", 1270 | "strtok3": "^7.0.0", 1271 | "token-types": "^5.0.1" 1272 | }, 1273 | "engines": { 1274 | "node": ">=14.16" 1275 | }, 1276 | "funding": { 1277 | "url": "https://github.com/sindresorhus/file-type?sponsor=1" 1278 | } 1279 | }, 1280 | "node_modules/fill-range": { 1281 | "version": "7.0.1", 1282 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1283 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1284 | "dev": true, 1285 | "dependencies": { 1286 | "to-regex-range": "^5.0.1" 1287 | }, 1288 | "engines": { 1289 | "node": ">=8" 1290 | } 1291 | }, 1292 | "node_modules/finalhandler": { 1293 | "version": "1.2.0", 1294 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 1295 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 1296 | "dependencies": { 1297 | "debug": "2.6.9", 1298 | "encodeurl": "~1.0.2", 1299 | "escape-html": "~1.0.3", 1300 | "on-finished": "2.4.1", 1301 | "parseurl": "~1.3.3", 1302 | "statuses": "2.0.1", 1303 | "unpipe": "~1.0.0" 1304 | }, 1305 | "engines": { 1306 | "node": ">= 0.8" 1307 | } 1308 | }, 1309 | "node_modules/finalhandler/node_modules/debug": { 1310 | "version": "2.6.9", 1311 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1312 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1313 | "dependencies": { 1314 | "ms": "2.0.0" 1315 | } 1316 | }, 1317 | "node_modules/finalhandler/node_modules/ms": { 1318 | "version": "2.0.0", 1319 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1320 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 1321 | }, 1322 | "node_modules/find-up": { 1323 | "version": "5.0.0", 1324 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1325 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1326 | "dev": true, 1327 | "dependencies": { 1328 | "locate-path": "^6.0.0", 1329 | "path-exists": "^4.0.0" 1330 | }, 1331 | "engines": { 1332 | "node": ">=10" 1333 | }, 1334 | "funding": { 1335 | "url": "https://github.com/sponsors/sindresorhus" 1336 | } 1337 | }, 1338 | "node_modules/flat-cache": { 1339 | "version": "3.0.4", 1340 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 1341 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 1342 | "dev": true, 1343 | "dependencies": { 1344 | "flatted": "^3.1.0", 1345 | "rimraf": "^3.0.2" 1346 | }, 1347 | "engines": { 1348 | "node": "^10.12.0 || >=12.0.0" 1349 | } 1350 | }, 1351 | "node_modules/flatted": { 1352 | "version": "3.2.7", 1353 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", 1354 | "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", 1355 | "dev": true 1356 | }, 1357 | "node_modules/follow-redirects": { 1358 | "version": "1.15.2", 1359 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", 1360 | "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", 1361 | "funding": [ 1362 | { 1363 | "type": "individual", 1364 | "url": "https://github.com/sponsors/RubenVerborgh" 1365 | } 1366 | ], 1367 | "engines": { 1368 | "node": ">=4.0" 1369 | }, 1370 | "peerDependenciesMeta": { 1371 | "debug": { 1372 | "optional": true 1373 | } 1374 | } 1375 | }, 1376 | "node_modules/form-data": { 1377 | "version": "4.0.0", 1378 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", 1379 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", 1380 | "dependencies": { 1381 | "asynckit": "^0.4.0", 1382 | "combined-stream": "^1.0.8", 1383 | "mime-types": "^2.1.12" 1384 | }, 1385 | "engines": { 1386 | "node": ">= 6" 1387 | } 1388 | }, 1389 | "node_modules/forwarded": { 1390 | "version": "0.2.0", 1391 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 1392 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 1393 | "engines": { 1394 | "node": ">= 0.6" 1395 | } 1396 | }, 1397 | "node_modules/fresh": { 1398 | "version": "0.5.2", 1399 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 1400 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", 1401 | "engines": { 1402 | "node": ">= 0.6" 1403 | } 1404 | }, 1405 | "node_modules/fs.realpath": { 1406 | "version": "1.0.0", 1407 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1408 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 1409 | "dev": true 1410 | }, 1411 | "node_modules/fsevents": { 1412 | "version": "2.3.2", 1413 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 1414 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 1415 | "dev": true, 1416 | "hasInstallScript": true, 1417 | "optional": true, 1418 | "os": [ 1419 | "darwin" 1420 | ], 1421 | "engines": { 1422 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 1423 | } 1424 | }, 1425 | "node_modules/function-bind": { 1426 | "version": "1.1.1", 1427 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1428 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 1429 | }, 1430 | "node_modules/get-intrinsic": { 1431 | "version": "1.2.1", 1432 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", 1433 | "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", 1434 | "dependencies": { 1435 | "function-bind": "^1.1.1", 1436 | "has": "^1.0.3", 1437 | "has-proto": "^1.0.1", 1438 | "has-symbols": "^1.0.3" 1439 | }, 1440 | "funding": { 1441 | "url": "https://github.com/sponsors/ljharb" 1442 | } 1443 | }, 1444 | "node_modules/glob": { 1445 | "version": "7.2.3", 1446 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 1447 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 1448 | "dev": true, 1449 | "dependencies": { 1450 | "fs.realpath": "^1.0.0", 1451 | "inflight": "^1.0.4", 1452 | "inherits": "2", 1453 | "minimatch": "^3.1.1", 1454 | "once": "^1.3.0", 1455 | "path-is-absolute": "^1.0.0" 1456 | }, 1457 | "engines": { 1458 | "node": "*" 1459 | }, 1460 | "funding": { 1461 | "url": "https://github.com/sponsors/isaacs" 1462 | } 1463 | }, 1464 | "node_modules/glob-parent": { 1465 | "version": "6.0.2", 1466 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1467 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1468 | "dev": true, 1469 | "dependencies": { 1470 | "is-glob": "^4.0.3" 1471 | }, 1472 | "engines": { 1473 | "node": ">=10.13.0" 1474 | } 1475 | }, 1476 | "node_modules/globals": { 1477 | "version": "13.19.0", 1478 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.19.0.tgz", 1479 | "integrity": "sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==", 1480 | "dev": true, 1481 | "dependencies": { 1482 | "type-fest": "^0.20.2" 1483 | }, 1484 | "engines": { 1485 | "node": ">=8" 1486 | }, 1487 | "funding": { 1488 | "url": "https://github.com/sponsors/sindresorhus" 1489 | } 1490 | }, 1491 | "node_modules/grapheme-splitter": { 1492 | "version": "1.0.4", 1493 | "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", 1494 | "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", 1495 | "dev": true 1496 | }, 1497 | "node_modules/has": { 1498 | "version": "1.0.3", 1499 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1500 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1501 | "dependencies": { 1502 | "function-bind": "^1.1.1" 1503 | }, 1504 | "engines": { 1505 | "node": ">= 0.4.0" 1506 | } 1507 | }, 1508 | "node_modules/has-flag": { 1509 | "version": "4.0.0", 1510 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1511 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1512 | "dev": true, 1513 | "engines": { 1514 | "node": ">=8" 1515 | } 1516 | }, 1517 | "node_modules/has-proto": { 1518 | "version": "1.0.1", 1519 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", 1520 | "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", 1521 | "engines": { 1522 | "node": ">= 0.4" 1523 | }, 1524 | "funding": { 1525 | "url": "https://github.com/sponsors/ljharb" 1526 | } 1527 | }, 1528 | "node_modules/has-symbols": { 1529 | "version": "1.0.3", 1530 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 1531 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 1532 | "engines": { 1533 | "node": ">= 0.4" 1534 | }, 1535 | "funding": { 1536 | "url": "https://github.com/sponsors/ljharb" 1537 | } 1538 | }, 1539 | "node_modules/http-errors": { 1540 | "version": "2.0.0", 1541 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 1542 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 1543 | "dependencies": { 1544 | "depd": "2.0.0", 1545 | "inherits": "2.0.4", 1546 | "setprototypeof": "1.2.0", 1547 | "statuses": "2.0.1", 1548 | "toidentifier": "1.0.1" 1549 | }, 1550 | "engines": { 1551 | "node": ">= 0.8" 1552 | } 1553 | }, 1554 | "node_modules/http-response-object": { 1555 | "version": "3.0.2", 1556 | "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", 1557 | "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", 1558 | "dependencies": { 1559 | "@types/node": "^10.0.3" 1560 | } 1561 | }, 1562 | "node_modules/http-response-object/node_modules/@types/node": { 1563 | "version": "10.17.60", 1564 | "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", 1565 | "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" 1566 | }, 1567 | "node_modules/https-proxy-agent": { 1568 | "version": "5.0.1", 1569 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", 1570 | "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", 1571 | "dependencies": { 1572 | "agent-base": "6", 1573 | "debug": "4" 1574 | }, 1575 | "engines": { 1576 | "node": ">= 6" 1577 | } 1578 | }, 1579 | "node_modules/iconv-lite": { 1580 | "version": "0.4.24", 1581 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1582 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1583 | "dependencies": { 1584 | "safer-buffer": ">= 2.1.2 < 3" 1585 | }, 1586 | "engines": { 1587 | "node": ">=0.10.0" 1588 | } 1589 | }, 1590 | "node_modules/ieee754": { 1591 | "version": "1.2.1", 1592 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 1593 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 1594 | "funding": [ 1595 | { 1596 | "type": "github", 1597 | "url": "https://github.com/sponsors/feross" 1598 | }, 1599 | { 1600 | "type": "patreon", 1601 | "url": "https://www.patreon.com/feross" 1602 | }, 1603 | { 1604 | "type": "consulting", 1605 | "url": "https://feross.org/support" 1606 | } 1607 | ] 1608 | }, 1609 | "node_modules/ignore": { 1610 | "version": "5.2.4", 1611 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", 1612 | "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", 1613 | "dev": true, 1614 | "engines": { 1615 | "node": ">= 4" 1616 | } 1617 | }, 1618 | "node_modules/ignore-by-default": { 1619 | "version": "1.0.1", 1620 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 1621 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", 1622 | "dev": true 1623 | }, 1624 | "node_modules/import-fresh": { 1625 | "version": "3.3.0", 1626 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1627 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1628 | "dev": true, 1629 | "dependencies": { 1630 | "parent-module": "^1.0.0", 1631 | "resolve-from": "^4.0.0" 1632 | }, 1633 | "engines": { 1634 | "node": ">=6" 1635 | }, 1636 | "funding": { 1637 | "url": "https://github.com/sponsors/sindresorhus" 1638 | } 1639 | }, 1640 | "node_modules/imurmurhash": { 1641 | "version": "0.1.4", 1642 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1643 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 1644 | "dev": true, 1645 | "engines": { 1646 | "node": ">=0.8.19" 1647 | } 1648 | }, 1649 | "node_modules/inflight": { 1650 | "version": "1.0.6", 1651 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1652 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1653 | "dev": true, 1654 | "dependencies": { 1655 | "once": "^1.3.0", 1656 | "wrappy": "1" 1657 | } 1658 | }, 1659 | "node_modules/inherits": { 1660 | "version": "2.0.4", 1661 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1662 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1663 | }, 1664 | "node_modules/ip": { 1665 | "version": "2.0.0", 1666 | "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", 1667 | "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" 1668 | }, 1669 | "node_modules/ipaddr.js": { 1670 | "version": "1.9.1", 1671 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 1672 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 1673 | "engines": { 1674 | "node": ">= 0.10" 1675 | } 1676 | }, 1677 | "node_modules/is-binary-path": { 1678 | "version": "2.1.0", 1679 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1680 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1681 | "dev": true, 1682 | "dependencies": { 1683 | "binary-extensions": "^2.0.0" 1684 | }, 1685 | "engines": { 1686 | "node": ">=8" 1687 | } 1688 | }, 1689 | "node_modules/is-extglob": { 1690 | "version": "2.1.1", 1691 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1692 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1693 | "dev": true, 1694 | "engines": { 1695 | "node": ">=0.10.0" 1696 | } 1697 | }, 1698 | "node_modules/is-glob": { 1699 | "version": "4.0.3", 1700 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1701 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1702 | "dev": true, 1703 | "dependencies": { 1704 | "is-extglob": "^2.1.1" 1705 | }, 1706 | "engines": { 1707 | "node": ">=0.10.0" 1708 | } 1709 | }, 1710 | "node_modules/is-number": { 1711 | "version": "7.0.0", 1712 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1713 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1714 | "dev": true, 1715 | "engines": { 1716 | "node": ">=0.12.0" 1717 | } 1718 | }, 1719 | "node_modules/is-path-inside": { 1720 | "version": "3.0.3", 1721 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 1722 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 1723 | "dev": true, 1724 | "engines": { 1725 | "node": ">=8" 1726 | } 1727 | }, 1728 | "node_modules/isexe": { 1729 | "version": "2.0.0", 1730 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1731 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 1732 | "dev": true 1733 | }, 1734 | "node_modules/js-sdsl": { 1735 | "version": "4.3.0", 1736 | "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz", 1737 | "integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==", 1738 | "dev": true, 1739 | "funding": { 1740 | "type": "opencollective", 1741 | "url": "https://opencollective.com/js-sdsl" 1742 | } 1743 | }, 1744 | "node_modules/js-yaml": { 1745 | "version": "4.1.0", 1746 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1747 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1748 | "dev": true, 1749 | "dependencies": { 1750 | "argparse": "^2.0.1" 1751 | }, 1752 | "bin": { 1753 | "js-yaml": "bin/js-yaml.js" 1754 | } 1755 | }, 1756 | "node_modules/json-schema-traverse": { 1757 | "version": "0.4.1", 1758 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1759 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1760 | "dev": true 1761 | }, 1762 | "node_modules/json-stable-stringify-without-jsonify": { 1763 | "version": "1.0.1", 1764 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1765 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 1766 | "dev": true 1767 | }, 1768 | "node_modules/kareem": { 1769 | "version": "2.5.1", 1770 | "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.5.1.tgz", 1771 | "integrity": "sha512-7jFxRVm+jD+rkq3kY0iZDJfsO2/t4BBPeEb2qKn2lR/9KhuksYk5hxzfRYWMPV8P/x2d0kHD306YyWLzjjH+uA==", 1772 | "engines": { 1773 | "node": ">=12.0.0" 1774 | } 1775 | }, 1776 | "node_modules/levn": { 1777 | "version": "0.4.1", 1778 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1779 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1780 | "dev": true, 1781 | "dependencies": { 1782 | "prelude-ls": "^1.2.1", 1783 | "type-check": "~0.4.0" 1784 | }, 1785 | "engines": { 1786 | "node": ">= 0.8.0" 1787 | } 1788 | }, 1789 | "node_modules/libsodium": { 1790 | "version": "0.7.11", 1791 | "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.11.tgz", 1792 | "integrity": "sha512-WPfJ7sS53I2s4iM58QxY3Inb83/6mjlYgcmZs7DJsvDlnmVUwNinBCi5vBT43P6bHRy01O4zsMU2CoVR6xJ40A==" 1793 | }, 1794 | "node_modules/libsodium-wrappers": { 1795 | "version": "0.7.11", 1796 | "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.11.tgz", 1797 | "integrity": "sha512-SrcLtXj7BM19vUKtQuyQKiQCRJPgbpauzl3s0rSwD+60wtHqSUuqcoawlMDheCJga85nKOQwxNYQxf/CKAvs6Q==", 1798 | "dependencies": { 1799 | "libsodium": "^0.7.11" 1800 | } 1801 | }, 1802 | "node_modules/locate-path": { 1803 | "version": "6.0.0", 1804 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1805 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1806 | "dev": true, 1807 | "dependencies": { 1808 | "p-locate": "^5.0.0" 1809 | }, 1810 | "engines": { 1811 | "node": ">=10" 1812 | }, 1813 | "funding": { 1814 | "url": "https://github.com/sponsors/sindresorhus" 1815 | } 1816 | }, 1817 | "node_modules/lodash": { 1818 | "version": "4.17.21", 1819 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 1820 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" 1821 | }, 1822 | "node_modules/lodash.merge": { 1823 | "version": "4.6.2", 1824 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1825 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1826 | "dev": true 1827 | }, 1828 | "node_modules/lodash.snakecase": { 1829 | "version": "4.1.1", 1830 | "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", 1831 | "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==" 1832 | }, 1833 | "node_modules/m3u8stream": { 1834 | "version": "0.8.6", 1835 | "resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.6.tgz", 1836 | "integrity": "sha512-LZj8kIVf9KCphiHmH7sbFQTVe4tOemb202fWwvJwR9W5ENW/1hxJN6ksAWGhQgSBSa3jyWhnjKU1Fw1GaOdbyA==", 1837 | "dependencies": { 1838 | "miniget": "^4.2.2", 1839 | "sax": "^1.2.4" 1840 | }, 1841 | "engines": { 1842 | "node": ">=12" 1843 | } 1844 | }, 1845 | "node_modules/media-typer": { 1846 | "version": "0.3.0", 1847 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 1848 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", 1849 | "engines": { 1850 | "node": ">= 0.6" 1851 | } 1852 | }, 1853 | "node_modules/memory-pager": { 1854 | "version": "1.5.0", 1855 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", 1856 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", 1857 | "optional": true 1858 | }, 1859 | "node_modules/merge-descriptors": { 1860 | "version": "1.0.1", 1861 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 1862 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 1863 | }, 1864 | "node_modules/methods": { 1865 | "version": "1.1.2", 1866 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 1867 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", 1868 | "engines": { 1869 | "node": ">= 0.6" 1870 | } 1871 | }, 1872 | "node_modules/mime": { 1873 | "version": "1.6.0", 1874 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 1875 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 1876 | "bin": { 1877 | "mime": "cli.js" 1878 | }, 1879 | "engines": { 1880 | "node": ">=4" 1881 | } 1882 | }, 1883 | "node_modules/mime-db": { 1884 | "version": "1.52.0", 1885 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1886 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 1887 | "engines": { 1888 | "node": ">= 0.6" 1889 | } 1890 | }, 1891 | "node_modules/mime-types": { 1892 | "version": "2.1.35", 1893 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1894 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1895 | "dependencies": { 1896 | "mime-db": "1.52.0" 1897 | }, 1898 | "engines": { 1899 | "node": ">= 0.6" 1900 | } 1901 | }, 1902 | "node_modules/miniget": { 1903 | "version": "4.2.2", 1904 | "resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.2.tgz", 1905 | "integrity": "sha512-a7voNL1N5lDMxvTMExOkg+Fq89jM2vY8pAi9ZEWzZtfNmdfP6RXkvUtFnCAXoCv2T9k1v/fUJVaAEuepGcvLYA==", 1906 | "engines": { 1907 | "node": ">=12" 1908 | } 1909 | }, 1910 | "node_modules/minimatch": { 1911 | "version": "3.1.2", 1912 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1913 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1914 | "dev": true, 1915 | "dependencies": { 1916 | "brace-expansion": "^1.1.7" 1917 | }, 1918 | "engines": { 1919 | "node": "*" 1920 | } 1921 | }, 1922 | "node_modules/mongodb": { 1923 | "version": "5.6.0", 1924 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.6.0.tgz", 1925 | "integrity": "sha512-z8qVs9NfobHJm6uzK56XBZF8XwM9H294iRnB7wNjF0SnY93si5HPziIJn+qqvUR5QOff/4L0gCD6SShdR/GtVQ==", 1926 | "dependencies": { 1927 | "bson": "^5.3.0", 1928 | "mongodb-connection-string-url": "^2.6.0", 1929 | "socks": "^2.7.1" 1930 | }, 1931 | "engines": { 1932 | "node": ">=14.20.1" 1933 | }, 1934 | "optionalDependencies": { 1935 | "saslprep": "^1.0.3" 1936 | }, 1937 | "peerDependencies": { 1938 | "@aws-sdk/credential-providers": "^3.201.0", 1939 | "mongodb-client-encryption": ">=2.3.0 <3", 1940 | "snappy": "^7.2.2" 1941 | }, 1942 | "peerDependenciesMeta": { 1943 | "@aws-sdk/credential-providers": { 1944 | "optional": true 1945 | }, 1946 | "mongodb-client-encryption": { 1947 | "optional": true 1948 | }, 1949 | "snappy": { 1950 | "optional": true 1951 | } 1952 | } 1953 | }, 1954 | "node_modules/mongodb-connection-string-url": { 1955 | "version": "2.6.0", 1956 | "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.6.0.tgz", 1957 | "integrity": "sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ==", 1958 | "dependencies": { 1959 | "@types/whatwg-url": "^8.2.1", 1960 | "whatwg-url": "^11.0.0" 1961 | } 1962 | }, 1963 | "node_modules/mongoose": { 1964 | "version": "7.2.2", 1965 | "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-7.2.2.tgz", 1966 | "integrity": "sha512-JPBMTF+oYfLGVFWbHSZ/H+f1GajNanGLYH6c/P0nE3bNJfwGhX573vieGR0kNlNhj3cZk8WCPrnVsTNeUmFUag==", 1967 | "dependencies": { 1968 | "bson": "^5.3.0", 1969 | "kareem": "2.5.1", 1970 | "mongodb": "5.5.0", 1971 | "mpath": "0.9.0", 1972 | "mquery": "5.0.0", 1973 | "ms": "2.1.3", 1974 | "sift": "16.0.1" 1975 | }, 1976 | "engines": { 1977 | "node": ">=14.20.1" 1978 | }, 1979 | "funding": { 1980 | "type": "opencollective", 1981 | "url": "https://opencollective.com/mongoose" 1982 | } 1983 | }, 1984 | "node_modules/mongoose/node_modules/mongodb": { 1985 | "version": "5.5.0", 1986 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.5.0.tgz", 1987 | "integrity": "sha512-XgrkUgAAdfnZKQfk5AsYL8j7O99WHd4YXPxYxnh8dZxD+ekYWFRA3JktUsBnfg+455Smf75/+asoU/YLwNGoQQ==", 1988 | "dependencies": { 1989 | "bson": "^5.3.0", 1990 | "mongodb-connection-string-url": "^2.6.0", 1991 | "socks": "^2.7.1" 1992 | }, 1993 | "engines": { 1994 | "node": ">=14.20.1" 1995 | }, 1996 | "optionalDependencies": { 1997 | "saslprep": "^1.0.3" 1998 | }, 1999 | "peerDependencies": { 2000 | "@aws-sdk/credential-providers": "^3.201.0", 2001 | "mongodb-client-encryption": ">=2.3.0 <3", 2002 | "snappy": "^7.2.2" 2003 | }, 2004 | "peerDependenciesMeta": { 2005 | "@aws-sdk/credential-providers": { 2006 | "optional": true 2007 | }, 2008 | "mongodb-client-encryption": { 2009 | "optional": true 2010 | }, 2011 | "snappy": { 2012 | "optional": true 2013 | } 2014 | } 2015 | }, 2016 | "node_modules/mongoose/node_modules/ms": { 2017 | "version": "2.1.3", 2018 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2019 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 2020 | }, 2021 | "node_modules/mpath": { 2022 | "version": "0.9.0", 2023 | "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz", 2024 | "integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==", 2025 | "engines": { 2026 | "node": ">=4.0.0" 2027 | } 2028 | }, 2029 | "node_modules/mquery": { 2030 | "version": "5.0.0", 2031 | "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz", 2032 | "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==", 2033 | "dependencies": { 2034 | "debug": "4.x" 2035 | }, 2036 | "engines": { 2037 | "node": ">=14.0.0" 2038 | } 2039 | }, 2040 | "node_modules/ms": { 2041 | "version": "2.1.2", 2042 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2043 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2044 | }, 2045 | "node_modules/natural-compare": { 2046 | "version": "1.4.0", 2047 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 2048 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 2049 | "dev": true 2050 | }, 2051 | "node_modules/negotiator": { 2052 | "version": "0.6.3", 2053 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 2054 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 2055 | "engines": { 2056 | "node": ">= 0.6" 2057 | } 2058 | }, 2059 | "node_modules/nodemon": { 2060 | "version": "2.0.22", 2061 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.22.tgz", 2062 | "integrity": "sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==", 2063 | "dev": true, 2064 | "dependencies": { 2065 | "chokidar": "^3.5.2", 2066 | "debug": "^3.2.7", 2067 | "ignore-by-default": "^1.0.1", 2068 | "minimatch": "^3.1.2", 2069 | "pstree.remy": "^1.1.8", 2070 | "semver": "^5.7.1", 2071 | "simple-update-notifier": "^1.0.7", 2072 | "supports-color": "^5.5.0", 2073 | "touch": "^3.1.0", 2074 | "undefsafe": "^2.0.5" 2075 | }, 2076 | "bin": { 2077 | "nodemon": "bin/nodemon.js" 2078 | }, 2079 | "engines": { 2080 | "node": ">=8.10.0" 2081 | }, 2082 | "funding": { 2083 | "type": "opencollective", 2084 | "url": "https://opencollective.com/nodemon" 2085 | } 2086 | }, 2087 | "node_modules/nodemon/node_modules/debug": { 2088 | "version": "3.2.7", 2089 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 2090 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 2091 | "dev": true, 2092 | "dependencies": { 2093 | "ms": "^2.1.1" 2094 | } 2095 | }, 2096 | "node_modules/nodemon/node_modules/has-flag": { 2097 | "version": "3.0.0", 2098 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 2099 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 2100 | "dev": true, 2101 | "engines": { 2102 | "node": ">=4" 2103 | } 2104 | }, 2105 | "node_modules/nodemon/node_modules/supports-color": { 2106 | "version": "5.5.0", 2107 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 2108 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 2109 | "dev": true, 2110 | "dependencies": { 2111 | "has-flag": "^3.0.0" 2112 | }, 2113 | "engines": { 2114 | "node": ">=4" 2115 | } 2116 | }, 2117 | "node_modules/nopt": { 2118 | "version": "1.0.10", 2119 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 2120 | "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", 2121 | "dev": true, 2122 | "dependencies": { 2123 | "abbrev": "1" 2124 | }, 2125 | "bin": { 2126 | "nopt": "bin/nopt.js" 2127 | }, 2128 | "engines": { 2129 | "node": "*" 2130 | } 2131 | }, 2132 | "node_modules/normalize-path": { 2133 | "version": "3.0.0", 2134 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2135 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2136 | "dev": true, 2137 | "engines": { 2138 | "node": ">=0.10.0" 2139 | } 2140 | }, 2141 | "node_modules/object-inspect": { 2142 | "version": "1.12.3", 2143 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", 2144 | "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", 2145 | "funding": { 2146 | "url": "https://github.com/sponsors/ljharb" 2147 | } 2148 | }, 2149 | "node_modules/on-finished": { 2150 | "version": "2.4.1", 2151 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 2152 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 2153 | "dependencies": { 2154 | "ee-first": "1.1.1" 2155 | }, 2156 | "engines": { 2157 | "node": ">= 0.8" 2158 | } 2159 | }, 2160 | "node_modules/once": { 2161 | "version": "1.4.0", 2162 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2163 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2164 | "dev": true, 2165 | "dependencies": { 2166 | "wrappy": "1" 2167 | } 2168 | }, 2169 | "node_modules/optionator": { 2170 | "version": "0.9.1", 2171 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 2172 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 2173 | "dev": true, 2174 | "dependencies": { 2175 | "deep-is": "^0.1.3", 2176 | "fast-levenshtein": "^2.0.6", 2177 | "levn": "^0.4.1", 2178 | "prelude-ls": "^1.2.1", 2179 | "type-check": "^0.4.0", 2180 | "word-wrap": "^1.2.3" 2181 | }, 2182 | "engines": { 2183 | "node": ">= 0.8.0" 2184 | } 2185 | }, 2186 | "node_modules/p-limit": { 2187 | "version": "3.1.0", 2188 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 2189 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 2190 | "dev": true, 2191 | "dependencies": { 2192 | "yocto-queue": "^0.1.0" 2193 | }, 2194 | "engines": { 2195 | "node": ">=10" 2196 | }, 2197 | "funding": { 2198 | "url": "https://github.com/sponsors/sindresorhus" 2199 | } 2200 | }, 2201 | "node_modules/p-locate": { 2202 | "version": "5.0.0", 2203 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 2204 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 2205 | "dev": true, 2206 | "dependencies": { 2207 | "p-limit": "^3.0.2" 2208 | }, 2209 | "engines": { 2210 | "node": ">=10" 2211 | }, 2212 | "funding": { 2213 | "url": "https://github.com/sponsors/sindresorhus" 2214 | } 2215 | }, 2216 | "node_modules/parent-module": { 2217 | "version": "1.0.1", 2218 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 2219 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 2220 | "dev": true, 2221 | "dependencies": { 2222 | "callsites": "^3.0.0" 2223 | }, 2224 | "engines": { 2225 | "node": ">=6" 2226 | } 2227 | }, 2228 | "node_modules/parse-cache-control": { 2229 | "version": "1.0.1", 2230 | "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", 2231 | "integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==" 2232 | }, 2233 | "node_modules/parseurl": { 2234 | "version": "1.3.3", 2235 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 2236 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 2237 | "engines": { 2238 | "node": ">= 0.8" 2239 | } 2240 | }, 2241 | "node_modules/path-exists": { 2242 | "version": "4.0.0", 2243 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 2244 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 2245 | "dev": true, 2246 | "engines": { 2247 | "node": ">=8" 2248 | } 2249 | }, 2250 | "node_modules/path-is-absolute": { 2251 | "version": "1.0.1", 2252 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2253 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 2254 | "dev": true, 2255 | "engines": { 2256 | "node": ">=0.10.0" 2257 | } 2258 | }, 2259 | "node_modules/path-key": { 2260 | "version": "3.1.1", 2261 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 2262 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 2263 | "dev": true, 2264 | "engines": { 2265 | "node": ">=8" 2266 | } 2267 | }, 2268 | "node_modules/path-to-regexp": { 2269 | "version": "0.1.7", 2270 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 2271 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 2272 | }, 2273 | "node_modules/peek-readable": { 2274 | "version": "5.0.0", 2275 | "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0.tgz", 2276 | "integrity": "sha512-YtCKvLUOvwtMGmrniQPdO7MwPjgkFBtFIrmfSbYmYuq3tKDV/mcfAhBth1+C3ru7uXIZasc/pHnb+YDYNkkj4A==", 2277 | "engines": { 2278 | "node": ">=14.16" 2279 | }, 2280 | "funding": { 2281 | "type": "github", 2282 | "url": "https://github.com/sponsors/Borewit" 2283 | } 2284 | }, 2285 | "node_modules/picomatch": { 2286 | "version": "2.3.1", 2287 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2288 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 2289 | "dev": true, 2290 | "engines": { 2291 | "node": ">=8.6" 2292 | }, 2293 | "funding": { 2294 | "url": "https://github.com/sponsors/jonschlinkert" 2295 | } 2296 | }, 2297 | "node_modules/play-audio": { 2298 | "version": "0.5.2", 2299 | "resolved": "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz", 2300 | "integrity": "sha512-ZAqHUKkQLix2Iga7pPbsf1LpUoBjcpwU93F1l3qBIfxYddQLhxS6GKmS0d3jV8kSVaUbr6NnOEcEMFvuX93SWQ==" 2301 | }, 2302 | "node_modules/play-dl": { 2303 | "version": "1.9.6", 2304 | "resolved": "https://registry.npmjs.org/play-dl/-/play-dl-1.9.6.tgz", 2305 | "integrity": "sha512-JW44bQbME9fNfGhGXQ/rdcsHr4BfgJabVlSgpS9QY/NscfprFH1asv+q9atrZThP3+hHIpgtFNABccg9rFWlwg==", 2306 | "dependencies": { 2307 | "play-audio": "^0.5.2" 2308 | }, 2309 | "engines": { 2310 | "node": ">=16.0.0" 2311 | } 2312 | }, 2313 | "node_modules/prelude-ls": { 2314 | "version": "1.2.1", 2315 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 2316 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 2317 | "dev": true, 2318 | "engines": { 2319 | "node": ">= 0.8.0" 2320 | } 2321 | }, 2322 | "node_modules/prism-media": { 2323 | "version": "1.3.5", 2324 | "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.3.5.tgz", 2325 | "integrity": "sha512-IQdl0Q01m4LrkN1EGIE9lphov5Hy7WWlH6ulf5QdGePLlPas9p2mhgddTEHrlaXYjjFToM1/rWuwF37VF4taaA==", 2326 | "peerDependencies": { 2327 | "@discordjs/opus": ">=0.8.0 <1.0.0", 2328 | "ffmpeg-static": "^5.0.2 || ^4.2.7 || ^3.0.0 || ^2.4.0", 2329 | "node-opus": "^0.3.3", 2330 | "opusscript": "^0.0.8" 2331 | }, 2332 | "peerDependenciesMeta": { 2333 | "@discordjs/opus": { 2334 | "optional": true 2335 | }, 2336 | "ffmpeg-static": { 2337 | "optional": true 2338 | }, 2339 | "node-opus": { 2340 | "optional": true 2341 | }, 2342 | "opusscript": { 2343 | "optional": true 2344 | } 2345 | } 2346 | }, 2347 | "node_modules/progress": { 2348 | "version": "2.0.3", 2349 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 2350 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", 2351 | "engines": { 2352 | "node": ">=0.4.0" 2353 | } 2354 | }, 2355 | "node_modules/proxy-addr": { 2356 | "version": "2.0.7", 2357 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 2358 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 2359 | "dependencies": { 2360 | "forwarded": "0.2.0", 2361 | "ipaddr.js": "1.9.1" 2362 | }, 2363 | "engines": { 2364 | "node": ">= 0.10" 2365 | } 2366 | }, 2367 | "node_modules/proxy-from-env": { 2368 | "version": "1.1.0", 2369 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 2370 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" 2371 | }, 2372 | "node_modules/pstree.remy": { 2373 | "version": "1.1.8", 2374 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 2375 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", 2376 | "dev": true 2377 | }, 2378 | "node_modules/punycode": { 2379 | "version": "2.3.0", 2380 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", 2381 | "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", 2382 | "engines": { 2383 | "node": ">=6" 2384 | } 2385 | }, 2386 | "node_modules/qs": { 2387 | "version": "6.11.0", 2388 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 2389 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 2390 | "dependencies": { 2391 | "side-channel": "^1.0.4" 2392 | }, 2393 | "engines": { 2394 | "node": ">=0.6" 2395 | }, 2396 | "funding": { 2397 | "url": "https://github.com/sponsors/ljharb" 2398 | } 2399 | }, 2400 | "node_modules/queue-microtask": { 2401 | "version": "1.2.3", 2402 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 2403 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 2404 | "dev": true, 2405 | "funding": [ 2406 | { 2407 | "type": "github", 2408 | "url": "https://github.com/sponsors/feross" 2409 | }, 2410 | { 2411 | "type": "patreon", 2412 | "url": "https://www.patreon.com/feross" 2413 | }, 2414 | { 2415 | "type": "consulting", 2416 | "url": "https://feross.org/support" 2417 | } 2418 | ] 2419 | }, 2420 | "node_modules/range-parser": { 2421 | "version": "1.2.1", 2422 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 2423 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 2424 | "engines": { 2425 | "node": ">= 0.6" 2426 | } 2427 | }, 2428 | "node_modules/raw-body": { 2429 | "version": "2.5.1", 2430 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 2431 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 2432 | "dependencies": { 2433 | "bytes": "3.1.2", 2434 | "http-errors": "2.0.0", 2435 | "iconv-lite": "0.4.24", 2436 | "unpipe": "1.0.0" 2437 | }, 2438 | "engines": { 2439 | "node": ">= 0.8" 2440 | } 2441 | }, 2442 | "node_modules/readable-stream": { 2443 | "version": "3.6.2", 2444 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", 2445 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", 2446 | "dependencies": { 2447 | "inherits": "^2.0.3", 2448 | "string_decoder": "^1.1.1", 2449 | "util-deprecate": "^1.0.1" 2450 | }, 2451 | "engines": { 2452 | "node": ">= 6" 2453 | } 2454 | }, 2455 | "node_modules/readable-web-to-node-stream": { 2456 | "version": "3.0.2", 2457 | "resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz", 2458 | "integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==", 2459 | "dependencies": { 2460 | "readable-stream": "^3.6.0" 2461 | }, 2462 | "engines": { 2463 | "node": ">=8" 2464 | }, 2465 | "funding": { 2466 | "type": "github", 2467 | "url": "https://github.com/sponsors/Borewit" 2468 | } 2469 | }, 2470 | "node_modules/readdirp": { 2471 | "version": "3.6.0", 2472 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2473 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2474 | "dev": true, 2475 | "dependencies": { 2476 | "picomatch": "^2.2.1" 2477 | }, 2478 | "engines": { 2479 | "node": ">=8.10.0" 2480 | } 2481 | }, 2482 | "node_modules/regexpp": { 2483 | "version": "3.2.0", 2484 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", 2485 | "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", 2486 | "dev": true, 2487 | "engines": { 2488 | "node": ">=8" 2489 | }, 2490 | "funding": { 2491 | "url": "https://github.com/sponsors/mysticatea" 2492 | } 2493 | }, 2494 | "node_modules/resolve-from": { 2495 | "version": "4.0.0", 2496 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 2497 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 2498 | "dev": true, 2499 | "engines": { 2500 | "node": ">=4" 2501 | } 2502 | }, 2503 | "node_modules/reusify": { 2504 | "version": "1.0.4", 2505 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 2506 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 2507 | "dev": true, 2508 | "engines": { 2509 | "iojs": ">=1.0.0", 2510 | "node": ">=0.10.0" 2511 | } 2512 | }, 2513 | "node_modules/rimraf": { 2514 | "version": "3.0.2", 2515 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 2516 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 2517 | "dev": true, 2518 | "dependencies": { 2519 | "glob": "^7.1.3" 2520 | }, 2521 | "bin": { 2522 | "rimraf": "bin.js" 2523 | }, 2524 | "funding": { 2525 | "url": "https://github.com/sponsors/isaacs" 2526 | } 2527 | }, 2528 | "node_modules/run-parallel": { 2529 | "version": "1.2.0", 2530 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 2531 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 2532 | "dev": true, 2533 | "funding": [ 2534 | { 2535 | "type": "github", 2536 | "url": "https://github.com/sponsors/feross" 2537 | }, 2538 | { 2539 | "type": "patreon", 2540 | "url": "https://www.patreon.com/feross" 2541 | }, 2542 | { 2543 | "type": "consulting", 2544 | "url": "https://feross.org/support" 2545 | } 2546 | ], 2547 | "dependencies": { 2548 | "queue-microtask": "^1.2.2" 2549 | } 2550 | }, 2551 | "node_modules/safe-buffer": { 2552 | "version": "5.2.1", 2553 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2554 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 2555 | "funding": [ 2556 | { 2557 | "type": "github", 2558 | "url": "https://github.com/sponsors/feross" 2559 | }, 2560 | { 2561 | "type": "patreon", 2562 | "url": "https://www.patreon.com/feross" 2563 | }, 2564 | { 2565 | "type": "consulting", 2566 | "url": "https://feross.org/support" 2567 | } 2568 | ] 2569 | }, 2570 | "node_modules/safer-buffer": { 2571 | "version": "2.1.2", 2572 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 2573 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 2574 | }, 2575 | "node_modules/saslprep": { 2576 | "version": "1.0.3", 2577 | "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", 2578 | "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", 2579 | "optional": true, 2580 | "dependencies": { 2581 | "sparse-bitfield": "^3.0.3" 2582 | }, 2583 | "engines": { 2584 | "node": ">=6" 2585 | } 2586 | }, 2587 | "node_modules/sax": { 2588 | "version": "1.2.4", 2589 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", 2590 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" 2591 | }, 2592 | "node_modules/semver": { 2593 | "version": "5.7.1", 2594 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 2595 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 2596 | "dev": true, 2597 | "bin": { 2598 | "semver": "bin/semver" 2599 | } 2600 | }, 2601 | "node_modules/send": { 2602 | "version": "0.18.0", 2603 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 2604 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 2605 | "dependencies": { 2606 | "debug": "2.6.9", 2607 | "depd": "2.0.0", 2608 | "destroy": "1.2.0", 2609 | "encodeurl": "~1.0.2", 2610 | "escape-html": "~1.0.3", 2611 | "etag": "~1.8.1", 2612 | "fresh": "0.5.2", 2613 | "http-errors": "2.0.0", 2614 | "mime": "1.6.0", 2615 | "ms": "2.1.3", 2616 | "on-finished": "2.4.1", 2617 | "range-parser": "~1.2.1", 2618 | "statuses": "2.0.1" 2619 | }, 2620 | "engines": { 2621 | "node": ">= 0.8.0" 2622 | } 2623 | }, 2624 | "node_modules/send/node_modules/debug": { 2625 | "version": "2.6.9", 2626 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 2627 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 2628 | "dependencies": { 2629 | "ms": "2.0.0" 2630 | } 2631 | }, 2632 | "node_modules/send/node_modules/debug/node_modules/ms": { 2633 | "version": "2.0.0", 2634 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 2635 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 2636 | }, 2637 | "node_modules/send/node_modules/ms": { 2638 | "version": "2.1.3", 2639 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2640 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 2641 | }, 2642 | "node_modules/serve-static": { 2643 | "version": "1.15.0", 2644 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 2645 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 2646 | "dependencies": { 2647 | "encodeurl": "~1.0.2", 2648 | "escape-html": "~1.0.3", 2649 | "parseurl": "~1.3.3", 2650 | "send": "0.18.0" 2651 | }, 2652 | "engines": { 2653 | "node": ">= 0.8.0" 2654 | } 2655 | }, 2656 | "node_modules/setprototypeof": { 2657 | "version": "1.2.0", 2658 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 2659 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 2660 | }, 2661 | "node_modules/shebang-command": { 2662 | "version": "2.0.0", 2663 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2664 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2665 | "dev": true, 2666 | "dependencies": { 2667 | "shebang-regex": "^3.0.0" 2668 | }, 2669 | "engines": { 2670 | "node": ">=8" 2671 | } 2672 | }, 2673 | "node_modules/shebang-regex": { 2674 | "version": "3.0.0", 2675 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2676 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2677 | "dev": true, 2678 | "engines": { 2679 | "node": ">=8" 2680 | } 2681 | }, 2682 | "node_modules/side-channel": { 2683 | "version": "1.0.4", 2684 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 2685 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 2686 | "dependencies": { 2687 | "call-bind": "^1.0.0", 2688 | "get-intrinsic": "^1.0.2", 2689 | "object-inspect": "^1.9.0" 2690 | }, 2691 | "funding": { 2692 | "url": "https://github.com/sponsors/ljharb" 2693 | } 2694 | }, 2695 | "node_modules/sift": { 2696 | "version": "16.0.1", 2697 | "resolved": "https://registry.npmjs.org/sift/-/sift-16.0.1.tgz", 2698 | "integrity": "sha512-Wv6BjQ5zbhW7VFefWusVP33T/EM0vYikCaQ2qR8yULbsilAT8/wQaXvuQ3ptGLpoKx+lihJE3y2UTgKDyyNHZQ==" 2699 | }, 2700 | "node_modules/simple-update-notifier": { 2701 | "version": "1.1.0", 2702 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz", 2703 | "integrity": "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==", 2704 | "dev": true, 2705 | "dependencies": { 2706 | "semver": "~7.0.0" 2707 | }, 2708 | "engines": { 2709 | "node": ">=8.10.0" 2710 | } 2711 | }, 2712 | "node_modules/simple-update-notifier/node_modules/semver": { 2713 | "version": "7.0.0", 2714 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", 2715 | "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", 2716 | "dev": true, 2717 | "bin": { 2718 | "semver": "bin/semver.js" 2719 | } 2720 | }, 2721 | "node_modules/smart-buffer": { 2722 | "version": "4.2.0", 2723 | "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", 2724 | "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", 2725 | "engines": { 2726 | "node": ">= 6.0.0", 2727 | "npm": ">= 3.0.0" 2728 | } 2729 | }, 2730 | "node_modules/socks": { 2731 | "version": "2.7.1", 2732 | "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", 2733 | "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", 2734 | "dependencies": { 2735 | "ip": "^2.0.0", 2736 | "smart-buffer": "^4.2.0" 2737 | }, 2738 | "engines": { 2739 | "node": ">= 10.13.0", 2740 | "npm": ">= 3.0.0" 2741 | } 2742 | }, 2743 | "node_modules/sparse-bitfield": { 2744 | "version": "3.0.3", 2745 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", 2746 | "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", 2747 | "optional": true, 2748 | "dependencies": { 2749 | "memory-pager": "^1.0.2" 2750 | } 2751 | }, 2752 | "node_modules/statuses": { 2753 | "version": "2.0.1", 2754 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 2755 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 2756 | "engines": { 2757 | "node": ">= 0.8" 2758 | } 2759 | }, 2760 | "node_modules/streamsearch": { 2761 | "version": "1.1.0", 2762 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", 2763 | "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", 2764 | "engines": { 2765 | "node": ">=10.0.0" 2766 | } 2767 | }, 2768 | "node_modules/string_decoder": { 2769 | "version": "1.3.0", 2770 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 2771 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 2772 | "dependencies": { 2773 | "safe-buffer": "~5.2.0" 2774 | } 2775 | }, 2776 | "node_modules/strip-ansi": { 2777 | "version": "6.0.1", 2778 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2779 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2780 | "dev": true, 2781 | "dependencies": { 2782 | "ansi-regex": "^5.0.1" 2783 | }, 2784 | "engines": { 2785 | "node": ">=8" 2786 | } 2787 | }, 2788 | "node_modules/strip-json-comments": { 2789 | "version": "3.1.1", 2790 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2791 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2792 | "dev": true, 2793 | "engines": { 2794 | "node": ">=8" 2795 | }, 2796 | "funding": { 2797 | "url": "https://github.com/sponsors/sindresorhus" 2798 | } 2799 | }, 2800 | "node_modules/strtok3": { 2801 | "version": "7.0.0", 2802 | "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-7.0.0.tgz", 2803 | "integrity": "sha512-pQ+V+nYQdC5H3Q7qBZAz/MO6lwGhoC2gOAjuouGf/VO0m7vQRh8QNMl2Uf6SwAtzZ9bOw3UIeBukEGNJl5dtXQ==", 2804 | "dependencies": { 2805 | "@tokenizer/token": "^0.3.0", 2806 | "peek-readable": "^5.0.0" 2807 | }, 2808 | "engines": { 2809 | "node": ">=14.16" 2810 | }, 2811 | "funding": { 2812 | "type": "github", 2813 | "url": "https://github.com/sponsors/Borewit" 2814 | } 2815 | }, 2816 | "node_modules/supports-color": { 2817 | "version": "7.2.0", 2818 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2819 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2820 | "dev": true, 2821 | "dependencies": { 2822 | "has-flag": "^4.0.0" 2823 | }, 2824 | "engines": { 2825 | "node": ">=8" 2826 | } 2827 | }, 2828 | "node_modules/text-table": { 2829 | "version": "0.2.0", 2830 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 2831 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 2832 | "dev": true 2833 | }, 2834 | "node_modules/to-regex-range": { 2835 | "version": "5.0.1", 2836 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2837 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2838 | "dev": true, 2839 | "dependencies": { 2840 | "is-number": "^7.0.0" 2841 | }, 2842 | "engines": { 2843 | "node": ">=8.0" 2844 | } 2845 | }, 2846 | "node_modules/toidentifier": { 2847 | "version": "1.0.1", 2848 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 2849 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 2850 | "engines": { 2851 | "node": ">=0.6" 2852 | } 2853 | }, 2854 | "node_modules/token-types": { 2855 | "version": "5.0.1", 2856 | "resolved": "https://registry.npmjs.org/token-types/-/token-types-5.0.1.tgz", 2857 | "integrity": "sha512-Y2fmSnZjQdDb9W4w4r1tswlMHylzWIeOKpx0aZH9BgGtACHhrk3OkT52AzwcuqTRBZtvvnTjDBh8eynMulu8Vg==", 2858 | "dependencies": { 2859 | "@tokenizer/token": "^0.3.0", 2860 | "ieee754": "^1.2.1" 2861 | }, 2862 | "engines": { 2863 | "node": ">=14.16" 2864 | }, 2865 | "funding": { 2866 | "type": "github", 2867 | "url": "https://github.com/sponsors/Borewit" 2868 | } 2869 | }, 2870 | "node_modules/touch": { 2871 | "version": "3.1.0", 2872 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 2873 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 2874 | "dev": true, 2875 | "dependencies": { 2876 | "nopt": "~1.0.10" 2877 | }, 2878 | "bin": { 2879 | "nodetouch": "bin/nodetouch.js" 2880 | } 2881 | }, 2882 | "node_modules/tr46": { 2883 | "version": "3.0.0", 2884 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", 2885 | "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", 2886 | "dependencies": { 2887 | "punycode": "^2.1.1" 2888 | }, 2889 | "engines": { 2890 | "node": ">=12" 2891 | } 2892 | }, 2893 | "node_modules/ts-mixer": { 2894 | "version": "6.0.3", 2895 | "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.3.tgz", 2896 | "integrity": "sha512-k43M7uCG1AkTyxgnmI5MPwKoUvS/bRvLvUb7+Pgpdlmok8AoqmUaZxUUw8zKM5B1lqZrt41GjYgnvAi0fppqgQ==" 2897 | }, 2898 | "node_modules/tslib": { 2899 | "version": "2.5.0", 2900 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", 2901 | "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" 2902 | }, 2903 | "node_modules/type-check": { 2904 | "version": "0.4.0", 2905 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 2906 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 2907 | "dev": true, 2908 | "dependencies": { 2909 | "prelude-ls": "^1.2.1" 2910 | }, 2911 | "engines": { 2912 | "node": ">= 0.8.0" 2913 | } 2914 | }, 2915 | "node_modules/type-fest": { 2916 | "version": "0.20.2", 2917 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 2918 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 2919 | "dev": true, 2920 | "engines": { 2921 | "node": ">=10" 2922 | }, 2923 | "funding": { 2924 | "url": "https://github.com/sponsors/sindresorhus" 2925 | } 2926 | }, 2927 | "node_modules/type-is": { 2928 | "version": "1.6.18", 2929 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 2930 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 2931 | "dependencies": { 2932 | "media-typer": "0.3.0", 2933 | "mime-types": "~2.1.24" 2934 | }, 2935 | "engines": { 2936 | "node": ">= 0.6" 2937 | } 2938 | }, 2939 | "node_modules/typedarray": { 2940 | "version": "0.0.6", 2941 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 2942 | "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" 2943 | }, 2944 | "node_modules/undefsafe": { 2945 | "version": "2.0.5", 2946 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 2947 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", 2948 | "dev": true 2949 | }, 2950 | "node_modules/undici": { 2951 | "version": "5.21.2", 2952 | "resolved": "https://registry.npmjs.org/undici/-/undici-5.21.2.tgz", 2953 | "integrity": "sha512-f6pTQ9RF4DQtwoWSaC42P/NKlUjvezVvd9r155ohqkwFNRyBKM3f3pcty3ouusefNRyM25XhIQEbeQ46sZDJfQ==", 2954 | "dependencies": { 2955 | "busboy": "^1.6.0" 2956 | }, 2957 | "engines": { 2958 | "node": ">=12.18" 2959 | } 2960 | }, 2961 | "node_modules/unpipe": { 2962 | "version": "1.0.0", 2963 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 2964 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", 2965 | "engines": { 2966 | "node": ">= 0.8" 2967 | } 2968 | }, 2969 | "node_modules/uri-js": { 2970 | "version": "4.4.1", 2971 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 2972 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 2973 | "dev": true, 2974 | "dependencies": { 2975 | "punycode": "^2.1.0" 2976 | } 2977 | }, 2978 | "node_modules/util-deprecate": { 2979 | "version": "1.0.2", 2980 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2981 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" 2982 | }, 2983 | "node_modules/utils-merge": { 2984 | "version": "1.0.1", 2985 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 2986 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", 2987 | "engines": { 2988 | "node": ">= 0.4.0" 2989 | } 2990 | }, 2991 | "node_modules/vary": { 2992 | "version": "1.1.2", 2993 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 2994 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 2995 | "engines": { 2996 | "node": ">= 0.8" 2997 | } 2998 | }, 2999 | "node_modules/webidl-conversions": { 3000 | "version": "7.0.0", 3001 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", 3002 | "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", 3003 | "engines": { 3004 | "node": ">=12" 3005 | } 3006 | }, 3007 | "node_modules/whatwg-url": { 3008 | "version": "11.0.0", 3009 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", 3010 | "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", 3011 | "dependencies": { 3012 | "tr46": "^3.0.0", 3013 | "webidl-conversions": "^7.0.0" 3014 | }, 3015 | "engines": { 3016 | "node": ">=12" 3017 | } 3018 | }, 3019 | "node_modules/which": { 3020 | "version": "2.0.2", 3021 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 3022 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 3023 | "dev": true, 3024 | "dependencies": { 3025 | "isexe": "^2.0.0" 3026 | }, 3027 | "bin": { 3028 | "node-which": "bin/node-which" 3029 | }, 3030 | "engines": { 3031 | "node": ">= 8" 3032 | } 3033 | }, 3034 | "node_modules/word-wrap": { 3035 | "version": "1.2.3", 3036 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 3037 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 3038 | "dev": true, 3039 | "engines": { 3040 | "node": ">=0.10.0" 3041 | } 3042 | }, 3043 | "node_modules/wrappy": { 3044 | "version": "1.0.2", 3045 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3046 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 3047 | "dev": true 3048 | }, 3049 | "node_modules/ws": { 3050 | "version": "8.13.0", 3051 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", 3052 | "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", 3053 | "engines": { 3054 | "node": ">=10.0.0" 3055 | }, 3056 | "peerDependencies": { 3057 | "bufferutil": "^4.0.1", 3058 | "utf-8-validate": ">=5.0.2" 3059 | }, 3060 | "peerDependenciesMeta": { 3061 | "bufferutil": { 3062 | "optional": true 3063 | }, 3064 | "utf-8-validate": { 3065 | "optional": true 3066 | } 3067 | } 3068 | }, 3069 | "node_modules/yocto-queue": { 3070 | "version": "0.1.0", 3071 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 3072 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 3073 | "dev": true, 3074 | "engines": { 3075 | "node": ">=10" 3076 | }, 3077 | "funding": { 3078 | "url": "https://github.com/sponsors/sindresorhus" 3079 | } 3080 | }, 3081 | "node_modules/ytdl-core": { 3082 | "version": "4.11.4", 3083 | "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.11.4.tgz", 3084 | "integrity": "sha512-tsVvqt++B5LSTMnCKQb4H/PFBewKj7gGPJ6KIM5gOFGMKNZj4qglGAl4QGFG8cNPP6wY54P80FDID5eN2di0GQ==", 3085 | "dependencies": { 3086 | "m3u8stream": "^0.8.6", 3087 | "miniget": "^4.2.2", 3088 | "sax": "^1.1.3" 3089 | }, 3090 | "engines": { 3091 | "node": ">=12" 3092 | } 3093 | } 3094 | } 3095 | } 3096 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "studify", 3 | "version": "1.0.0", 4 | "description": "Discord bot for programming study", 5 | "main": "index.js", 6 | "scripts": { 7 | "dev": "nodemon index.js", 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git+https://github.com/rafaballerini/studify-bot.git" 13 | }, 14 | "keywords": [ 15 | "discord-bot", 16 | "studify", 17 | "study", 18 | "bot", 19 | "js-bot", 20 | "discord", 21 | "discordjs", 22 | "study-bot" 23 | ], 24 | "author": "Rafaella Ballerini", 25 | "license": "MIT", 26 | "bugs": { 27 | "url": "https://github.com/rafaballerini/studify-bot/issues" 28 | }, 29 | "homepage": "https://github.com/rafaballerini/studify-bot#readme", 30 | "dependencies": { 31 | "@discordjs/voice": "^0.16.0", 32 | "@napi-rs/canvas": "^0.1.34", 33 | "axios": "^1.4.0", 34 | "discord-embedbuilder": "^4.0.0", 35 | "discord.js": "^14.8.0", 36 | "dotenv": "^16.0.3", 37 | "express": "^4.18.2", 38 | "ffmpeg-static": "^5.1.0", 39 | "libsodium-wrappers": "^0.7.11", 40 | "mongodb": "^5.6.0", 41 | "mongoose": "^7.2.2", 42 | "play-dl": "^1.9.6", 43 | "ytdl-core": "^4.11.4" 44 | }, 45 | "devDependencies": { 46 | "eslint": "^8.32.0", 47 | "nodemon": "^2.0.22" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/app.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const db = require('./config/dbConnect.js'); 3 | const routes = require('./routes/index.js'); 4 | 5 | db.on("error", console.log.bind(console, "Erro de conexão")); 6 | db.once("open", () => { 7 | console.log("Conexão com o banco feito com sucesso"); 8 | }) 9 | 10 | const app = express(); 11 | app.use(express.json()); 12 | 13 | routes(app); 14 | 15 | module.exports = app; -------------------------------------------------------------------------------- /src/config/dbConnect.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose');const dotenv = require('dotenv'); 2 | dotenv.config(); 3 | const { DB_TOKEN } = process.env; 4 | 5 | mongoose.connect(`mongodb+srv://rafaballerini:${DB_TOKEN}@clusterstudify.id76x0j.mongodb.net/Studify?`); 6 | 7 | let db = mongoose.connection; 8 | 9 | module.exports = db; -------------------------------------------------------------------------------- /src/models/Guild.js: -------------------------------------------------------------------------------- 1 | const mongoose = require("mongoose"); 2 | 3 | const guildSchema = new mongoose.Schema( 4 | { 5 | _id: {type: mongoose.Schema.Types.ObjectId}, 6 | guildId: {type: String, required: true}, 7 | guildName: {type: String, required: true}, 8 | guildIcon: {type: String, required: false} 9 | } 10 | ); 11 | 12 | const guilds = mongoose.model("guilds", guildSchema); 13 | 14 | module.exports = guilds; -------------------------------------------------------------------------------- /src/models/Personagem.js: -------------------------------------------------------------------------------- 1 | const mongoose = require("mongoose"); 2 | 3 | const personagemSchema = new mongoose.Schema( 4 | { 5 | _id: {type: mongoose.Schema.Types.ObjectId}, 6 | personagemId: {type: String, required: true}, 7 | personagemUsername: {type: String, required: true}, 8 | personagemCargo: {type: String, required: true}, 9 | personagemPlanoFundo: {type: String, required: true}, 10 | personagemPlanosFundoComprados: {type: [String], required: true}, 11 | personagemSistemaOperacional: {type: Number, required: true}, 12 | personagemCafeina: {type: Number, required: true}, 13 | personagemPerifericos: {type: [Number], required: true}, 14 | personagemFerramentas: {type: [Number], required: true}, 15 | personagemSalario: {type: Number, required: true}, 16 | personagemSalarioData: {type: Date, required: true}, 17 | personagemAcumulado: {type: Number, required: true}, 18 | personagemMinutosEstudados: {type: Number, required: true}, 19 | personagemCiclosPomodoro: {type: Number}, 20 | personagemDesafioDiario: {type: Boolean, required: true}, 21 | personagemPremioDiario: {type: Boolean, required: true}, 22 | personagemPlaylist: {type: String, required: true}, 23 | personagemDesafioNumero: {type: Number, required: true}, 24 | personagemDesafioDiario: {type: Boolean, required: true}, 25 | personagemDesafioData: {type: String}, 26 | personagemBadges: {type: [Number], required: true}, 27 | personagemCafeData: {type: Date}, 28 | personagemCafeImpecavel: {type: Number} 29 | } 30 | ); 31 | 32 | const personagens = mongoose.model("personagens", personagemSchema); 33 | 34 | module.exports = personagens; -------------------------------------------------------------------------------- /src/routes/index.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | // const routerLivros = require('./personagensRoutes.js') 3 | 4 | const routes = (app) => { 5 | app.route("/").get((req, res) => { 6 | res.status(200).send({titulo: "Curso de Node.js"}) 7 | }) 8 | 9 | app.use( 10 | express.json(), 11 | // routerLivros 12 | ) 13 | } 14 | 15 | module.exports = routes; -------------------------------------------------------------------------------- /src/routes/personagensRoutes.js: -------------------------------------------------------------------------------- 1 | // const express = require('express'); 2 | // const LivroController = require('../controllers/PersonagensController.js'); 3 | 4 | // const routerLivros = express.Router(); 5 | 6 | // routerLivros 7 | // .get("/livros", LivroController.listarLivros) 8 | // .get("/livros/:id", LivroController.listarLivroId) 9 | // .post("/livros", LivroController.cadastrarLivros) 10 | // .put("/livros/:id", LivroController.atualizarLivros) 11 | // .delete("/livros/:id", LivroController.excluirLivro) 12 | 13 | // module.exports = routerLivros; --------------------------------------------------------------------------------