├── .gitignore ├── README.md ├── abi.json ├── bots.json ├── constants ├── actionToColor.js ├── index.js ├── oauth.js └── strategy.js ├── guest-tokens.json ├── holdings1.json ├── image.png ├── index.js ├── package-lock.json ├── package.json ├── strategy ├── buy.js ├── index.js └── sell.js ├── utils ├── chalk.js ├── date.js ├── decrypt.js ├── encrypt.js ├── getDir.js ├── getProp.js ├── index.js ├── log.js ├── rand.js ├── sleep.js └── twitter-count.js └── wallet.example.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .env 3 | wallet.json 4 | holdings.json 5 | refresh-holdings.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # post-tech-bot 2 | 3 | 在 `wallet.example.json` 中填入需要的信息,`authorization` 获取见下图,找到 get-recent-action 请求,`authorization` 在右侧下拉 4 | ![](https://i.ibb.co/MG6b8R6/20230921190549.png) 5 | 6 | 推特信息获取服务已开源,国内用户推荐在海外服务器上跑 7 | `useTwitterAPI` 默认使用开启,在编辑器下运行需要你全局代理(如果你的电脑需要VPN才能访问推特的话),可以使用 Clash 的 TUN 模式,海外用户不需要代理。 8 | `useTwitterAPI` 设置为 `false` 也能跑,使用的是本地 puppeteer 环境,会很慢并且卡,慎用 9 | 10 | 在填好了 `wallet.example.json` 需要的信息之后,将 `wallet.example.json` 改名 `wallet.json` 11 | 将 `holdings1.json` 改名 `holdings.json` 12 | 13 | ## 自定义配置 14 | 15 | 策略关系到你的盈亏,所以请认真配置,所有的策略都可以在 `strategy/buy` `strategy/sell` 自由组合,策略不是越多越好,策略越多越严检查越费时,会影响买入效率,策略太宽松,会导致频繁买入一些低质量的 key 16 | 17 | ### 买入策略配置 `strategy/buy` 18 | 19 | ```js 20 | /** 21 | * 购买策略 22 | * 涉及价格,金额的单位统一为 ETH 23 | */ 24 | const BuyStrategy = { 25 | operator: STRATEGY_OPERATORS.OR, 26 | conditions: [ 27 | { 28 | operator: STRATEGY_OPERATORS.AND, 29 | conditions: [ 30 | // 价格 31 | { type: STRATEGY_TYPES.KEY_PRICE, value: 0.00008 }, 32 | // 推特关注数 33 | { type: STRATEGY_TYPES.TWITTER_FOLLOWERS, value: 500 }, 34 | // 推特文章数 35 | { type: STRATEGY_TYPES.TWITTER_POSTS, value: 20 }, 36 | ], 37 | }, 38 | { 39 | operator: STRATEGY_OPERATORS.AND, 40 | conditions: [ 41 | // 价格 42 | { type: STRATEGY_TYPES.KEY_PRICE, value: 0.0002 }, 43 | // 推特关注数 44 | { type: STRATEGY_TYPES.TWITTER_FOLLOWERS, value: 1000 }, 45 | // 推特文章数 46 | { type: STRATEGY_TYPES.TWITTER_POSTS, value: 100 }, 47 | ], 48 | }, 49 | { 50 | // 白名单 51 | type: STRATEGY_TYPES.WHITELIST, 52 | whitelist: [ 53 | { username: "zmzimpl", maxPrice: 0.0005, buyAmount: 1 }, 54 | { username: "elonmusk", maxPrice: 0.05, buyAmount: 2 }, 55 | ], 56 | }, 57 | ], 58 | }; 59 | /** 不自动购买的地址, 可以把一些假号或者买过了知道会亏的放这里面 */ 60 | const notBuyList = []; 61 | ``` 62 | 63 | ### 卖出配置 `strategy/sell` 64 | 65 | ```js 66 | /** 67 | * 卖出策略 68 | * 利润单位为 USD 69 | */ 70 | const sellStrategy = { 71 | /** 72 | * 策略解释: 73 | * 1: 利润 > 100 USD 74 | * 75 | * specifies:当地址 0x07698b9f3db898672fcfd97267f900df10c82706 利润超过 200 USD 才会卖出 0x07698b9f3db898672fcfd97267f900df10c82706 76 | */ 77 | operator: STRATEGY_OPERATORS.OR, 78 | conditions: [ 79 | // 利润大于 10 USD 才卖出 80 | { type: STRATEGY_TYPES.BENEFIT, value: 100 }, 81 | ], 82 | specifies: [ 83 | { 84 | addresses: ["0x07698b9f3db898672fcfd97267f900df10c82706"], 85 | strategy: { 86 | operator: STRATEGY_OPERATORS.AND, 87 | // 指定某些地址利润大于 100USD 并且持有时长超过 24 小时才卖出 88 | conditions: [ 89 | { type: STRATEGY_TYPES.BENEFIT, value: 200 }, 90 | ], 91 | }, 92 | }, 93 | ], 94 | }; 95 | 96 | /** 不自动出售的名单 */ 97 | const notSellList = []; 98 | 99 | ``` 100 | 101 | ## 脚本启动 102 | 103 | 1. 安装 [Nodejs](https://nodejs.org/en/download) 104 | 2. 使用 cmd,将路径导航到代码文件夹下,执行 `npm install` 105 | 106 | 3. 执行 `npm run start` 107 | 108 | ## FAQ 109 | 110 | 1. 一直在刷新 Nonce, 是什么问题? 111 | 因为现在使用的是 friendtech 的 rpc, 如果出现这个问题长时间没改善,建议自己注册一个 rpc 使用,修改代码: 112 | 113 | ```js 114 | const publicClient = createPublicClient({ 115 | chain: base, 116 | transport: http("你的 rpc"), 117 | }); 118 | ``` 119 | 120 | 如果使用了自定义的 rpc 依然一直在刷新 Nonce,可能和你本地 node 环境有关,尝试在刷新 Nonce 的函数中打印错误,如果是 fetch 找不到,则在 /node_modules/viem/_esm/utils/rpc.js 找到 rpc.js 文件,在顶部增加代码 121 | `import fetch from 'node-fetch';` 122 | -------------------------------------------------------------------------------- /abi.json: -------------------------------------------------------------------------------- 1 | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"trader","type":"address"},{"indexed":false,"internalType":"address","name":"subject","type":"address"},{"indexed":false,"internalType":"bool","name":"isBuy","type":"bool"},{"indexed":false,"internalType":"uint256","name":"shareAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"protocolEthAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"subjectEthAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"holderEthAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"referralEthAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"Trade","type":"event"},{"inputs":[{"internalType":"address","name":"sharesSubject","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyShares","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"sharesSubject","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getBuyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sharesSubject","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getBuyPriceAfterFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"sharesSubject","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSellPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sharesSubject","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSellPriceAfterFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holderAndReferralFeeDestination","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holderFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeeDestination","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sharesSubject","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sellShares","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDestination","type":"address"}],"name":"setFeeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDestination","type":"address"}],"name":"setHolderFeeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feePercent","type":"uint256"}],"name":"setProtocolFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feePercent","type":"uint256"}],"name":"setSubjectFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feePercent","type":"uint256"}],"name":"sethHolderFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feePercent","type":"uint256"}],"name":"sethReferralFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"sharesBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sharesSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"subjectFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}] -------------------------------------------------------------------------------- /bots.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /constants/actionToColor.js: -------------------------------------------------------------------------------- 1 | import { chalk } from "../utils/index.js"; 2 | 3 | export const actionToColor = { 4 | buy: chalk.hex("#FC1E1E"), 5 | sell: chalk.hex("#F1B90C"), 6 | message: chalk.hex("#8247E5"), 7 | }; 8 | -------------------------------------------------------------------------------- /constants/index.js: -------------------------------------------------------------------------------- 1 | export const LOADER_FRAMES = ["-", "\\", "|", "/"]; 2 | 3 | export { actionToColor } from "./actionToColor.js"; 4 | export { STRATEGY_TYPES, STRATEGY_OPERATORS } from "./strategy.js"; 5 | -------------------------------------------------------------------------------- /constants/oauth.js: -------------------------------------------------------------------------------- 1 | export const authorization = "Bearer AAAAAAAAAAAAAAAAAAAAAFXzAwAAAAAAMHCxpeSDG1gLNLghVe8d74hl6k4%3DRUMF4xAQLsbeBhTSRrCiQpJtxoGWeyHrDb5te2jpGskWDFW82F" 2 | -------------------------------------------------------------------------------- /constants/strategy.js: -------------------------------------------------------------------------------- 1 | export const STRATEGY_TYPES = { 2 | // 购买策略 3 | ACCOUNT_BRIDGED_AMOUNT: "ACCOUNT_BRIDGED_AMOUNT", 4 | TWITTER_FOLLOWERS: "TWITTER_FOLLOWERS", 5 | TWITTER_POSTS: "TWITTER_POSTS", 6 | // 平均阅读量 7 | TWITTER_VIEWS: "TWITTER_VIEWS", 8 | // 平均 Like 量 9 | TWITTER_FAVS: "TWITTER_FAVS", 10 | ACCOUNT_NONCE: "ACCOUNT_NONCE", 11 | KEY_PRICE: "KEY_PRICE", 12 | WHITELIST: "WHITELIST", 13 | 14 | // 出售策略 15 | BENEFIT: "BENEFIT", 16 | HOLDING_DURATION: "HOLDING_DURATION", 17 | SPECIFY_LIST: "SPECIFY_LIST" 18 | }; 19 | 20 | export const STRATEGY_OPERATORS = { 21 | AND: "AND", 22 | OR: "OR", 23 | }; 24 | -------------------------------------------------------------------------------- /guest-tokens.json: -------------------------------------------------------------------------------- 1 | { 2 | "1705783196712161454": 61, 3 | "1705784356487438721": 4 4 | } -------------------------------------------------------------------------------- /holdings1.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zmzimpl/post-tech-bot/9b51ced9f5aafad2efbe49298872bae5d3cd770b/image.png -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { readFileSync, promises, existsSync, writeFileSync } from "fs"; 2 | import { 3 | getUserInfo, 4 | getDir, 5 | logIntro, 6 | sleep, 7 | logWork, 8 | decrypt, 9 | } from "./utils/index.js"; 10 | import consoleStamp from "console-stamp"; 11 | import { 12 | createPublicClient, 13 | http, 14 | getContract, 15 | createWalletClient, 16 | encodeFunctionData, 17 | parseGwei, 18 | decodeFunctionData, 19 | formatEther, 20 | } from "viem"; 21 | import { arbitrum } from "viem/chains"; 22 | import { privateKeyToAccount } from "viem/accounts"; 23 | import axios from "axios"; 24 | import chalk from "chalk"; 25 | import pkg from "lodash"; 26 | import readlineSync from "readline-sync"; 27 | import { couldBeSold, getMaxPrice } from "./strategy/index.js"; 28 | import { 29 | BOT_JUDGED_NONCE, 30 | BuyStrategy, 31 | couldBeBought, 32 | isWhitelisted, 33 | shouldBuy, 34 | shouldFetchPrice, 35 | } from "./strategy/buy.js"; 36 | import { shouldSell } from "./strategy/index.js"; 37 | 38 | const wallet = JSON.parse(readFileSync(getDir("wallet.json"), "utf8")); 39 | const bots = JSON.parse(readFileSync(getDir("bots.json"), "utf8")); 40 | const abi = JSON.parse(readFileSync(getDir("abi.json"), "utf-8")); 41 | const contractAddress = "0x87da6930626Fe0c7dB8bc15587ec0e410937e5DC"; 42 | const publicClient = createPublicClient({ 43 | chain: arbitrum, 44 | transport: http(), 45 | }); 46 | const contract = getContract({ 47 | address: contractAddress, 48 | abi: abi, 49 | // @ts-ignore 50 | publicClient: publicClient, 51 | }); 52 | let recentActions = []; 53 | 54 | let lastAction; 55 | 56 | let bridgedAmountMap = {}; 57 | 58 | const main = async (wallet) => { 59 | const client = createWalletClient({ 60 | account: privateKeyToAccount(wallet.pk), 61 | chain: arbitrum, 62 | transport: http(), 63 | }); 64 | 65 | const gasLimit = "400000"; 66 | const maxBuyPrice = getMaxPrice(); 67 | 68 | let nonce = 56; 69 | let ETH_USCT_Rate = 1600; 70 | let unwatch; 71 | let buying = false; 72 | let lastActivity; 73 | let buyIntervalId; 74 | let sellIntervalId; 75 | let selling = false; 76 | let twitterInfoMap = {}; 77 | 78 | const buyShare = async ( 79 | value, 80 | subjectAddress, 81 | username, 82 | ethPrice, 83 | amount = 1 84 | ) => { 85 | if (buying) return; 86 | await refreshNonce(); 87 | buying = true; 88 | const data = encodeFunctionData({ 89 | abi: abi, 90 | functionName: "buyShares", 91 | args: [subjectAddress, amount], 92 | }); 93 | const txParams = { 94 | value: value, 95 | data: data, 96 | to: contractAddress, 97 | nonce: nonce++, 98 | }; 99 | try { 100 | const hash = await client.sendTransaction(txParams); 101 | console.log(`Sent tx > ${hash}`); 102 | const transaction = await publicClient.waitForTransactionReceipt({ 103 | confirmations: 2, 104 | hash, 105 | }); 106 | 107 | console.log( 108 | chalk[transaction.status === "success" ? "green" : "red"]( 109 | `Buy ${subjectAddress} ${transaction.status}` 110 | ) 111 | ); 112 | buying = false; 113 | if (transaction.status === "success") { 114 | updateHoldings(subjectAddress, ethPrice, username); 115 | console.log(chalk.green(`https://twitter.com/${username}`)); 116 | } 117 | } catch (error) { 118 | buying = false; 119 | console.log("error", error.shortMessage); 120 | } 121 | }; 122 | 123 | const updateHoldings = (subjectAddress, ethPrice, username) => { 124 | // 读取holdings.json内容 125 | let holdings = []; 126 | if (existsSync(getDir("holdings.json"))) { 127 | const rawData = readFileSync(getDir("holdings.json"), "utf-8"); 128 | holdings = JSON.parse(rawData); 129 | } 130 | 131 | // 查找是否有对应的share 132 | const existingShare = holdings.find((h) => h.share === subjectAddress); 133 | 134 | if (existingShare) { 135 | // 如果存在,更新balance和price 136 | existingShare.balance += 1; 137 | existingShare.price += ethPrice; 138 | } else { 139 | // 如果不存在,添加新的记录 140 | const newShare = { 141 | share: subjectAddress, 142 | balance: 1, 143 | price: ethPrice, 144 | username: username, 145 | twitterUrl: `https://twitter.com/${username}`, 146 | }; 147 | holdings.push(newShare); 148 | } 149 | 150 | // 保存回holdings.json 151 | writeFileSync( 152 | getDir("holdings.json"), 153 | JSON.stringify(holdings, null, 2), 154 | "utf-8" 155 | ); 156 | }; 157 | 158 | const refreshNonce = async () => { 159 | twitterInfoMap = {}; 160 | try { 161 | console.log("refresh nonce..."); 162 | const transactionCount = await publicClient.getTransactionCount({ 163 | address: wallet.address, 164 | }); 165 | nonce = transactionCount; 166 | } catch (error) { 167 | await sleep(2); 168 | await refreshNonce(); 169 | } 170 | }; 171 | 172 | const getRecentActions = async () => { 173 | try { 174 | const res = await axios({ 175 | method: "get", 176 | url: "https://api.post.tech/wallet-post/wallet/get-recent-action", 177 | headers: { 178 | accept: "application/json", 179 | "accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7", 180 | authorization: wallet.authorization, 181 | "if-none-match": 'W/"qb4d593gen1u0o"', 182 | "sec-ch-ua": 183 | '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"', 184 | "sec-ch-ua-mobile": "?0", 185 | "sec-ch-ua-platform": '"Windows"', 186 | "sec-fetch-dest": "empty", 187 | "sec-fetch-mode": "cors", 188 | "sec-fetch-site": "same-origin", 189 | }, 190 | withCredentials: true, 191 | timeout: 3000, 192 | }); 193 | const { data } = res.data; 194 | const sliceData = data.slice(0, 10); 195 | if (!lastAction) { 196 | lastAction = sliceData[0]; 197 | recentActions = sliceData; 198 | } else { 199 | const previousTopActionIndex = sliceData.findIndex( 200 | (f) => f.txHash === lastAction.txHash 201 | ); 202 | if (previousTopActionIndex > -1) { 203 | recentActions = sliceData.slice(0, previousTopActionIndex); 204 | } else { 205 | recentActions = sliceData; 206 | } 207 | } 208 | } catch (error) { 209 | await sleep(3); 210 | await getRecentActions(); 211 | } 212 | }; 213 | 214 | const getBuyPrice = async (subjectAddress, amount = 1) => { 215 | console.log(chalk.gray("get buy price...", subjectAddress)); 216 | try { 217 | const price = await contract.read.getBuyPriceAfterFee({ 218 | args: [subjectAddress, amount], 219 | }); 220 | return price > 0 ? price : await getBuyPrice(subjectAddress, amount); 221 | } catch (error) { 222 | console.log("get buy price failed", error.message); 223 | return await getBuyPrice(subjectAddress, amount); 224 | } 225 | }; 226 | 227 | const checkIfBuy = async () => { 228 | for (let index = 0; index < recentActions.length; index++) { 229 | const start = Date.now(); 230 | const action = recentActions[index]; 231 | if (!action.txHash) { 232 | return; 233 | } 234 | const username = action.subject.user_name || action.subject.userName; 235 | const price = action.value; 236 | const whitelistedUser = isWhitelisted({ 237 | username: username, 238 | }); 239 | const twitterInfo = {}; 240 | const shareInfo = {}; 241 | shareInfo.username = username; 242 | shareInfo.price = price; 243 | 244 | if (!whitelistedUser) { 245 | const userInfo = await getUserInfo(username); 246 | if (BuyStrategy.onlyBuyBlueVerified && !userInfo?.isBlueVerified) { 247 | continue; 248 | } 249 | twitterInfo.viewAvg = userInfo.viewAvg; 250 | twitterInfo.favoriteAvg = userInfo.favoriteAvg; 251 | twitterInfo.followers = userInfo.followers_count; 252 | twitterInfo.posts = userInfo.statuses_count; 253 | } 254 | const transaction = await publicClient.getTransaction({ 255 | hash: action.txHash, 256 | }); 257 | const { args } = decodeFunctionData({ 258 | abi: abi, 259 | data: transaction.input, 260 | }); 261 | shareInfo.subject = args[0].toString(); 262 | console.log( 263 | chalk.cyan( 264 | "current transaction info (not actual purchase price): ", 265 | JSON.stringify({ 266 | ...twitterInfo, 267 | ...shareInfo, 268 | duration: `${(Date.now() - start) / 1000}s`, 269 | }) 270 | ) 271 | ); 272 | const checkFetchPrice = shouldFetchPrice(twitterInfo, shareInfo); 273 | if (checkFetchPrice) { 274 | const lastPrice = await getBuyPrice( 275 | shareInfo.subject, 276 | whitelistedUser && whitelistedUser?.buyAmount 277 | ? whitelistedUser?.buyAmount 278 | : 1 279 | ); 280 | const lastEthPrice = parseFloat(formatEther(lastPrice)); 281 | shareInfo.price = lastEthPrice; 282 | console.log(chalk.cyan("actual purchase price: ", lastEthPrice)); 283 | if ( 284 | couldBeBought( 285 | { 286 | subject: shareInfo.subject, 287 | trader: transaction.from, 288 | isBuy: action.action === "buy", 289 | }, 290 | bots 291 | ) && 292 | shouldBuy(twitterInfo, shareInfo) 293 | ) { 294 | logWork({ 295 | walletAddress: wallet.address, 296 | actionName: "buy", 297 | subject: `${shareInfo.subject} - ${shareInfo.username}`, 298 | price: lastEthPrice.toString(), 299 | }); 300 | await buyShare( 301 | lastPrice, 302 | shareInfo.subject, 303 | shareInfo.username, 304 | lastEthPrice, 305 | whitelistedUser && whitelistedUser?.buyAmount 306 | ? whitelistedUser?.buyAmount 307 | : 1 308 | ); 309 | } 310 | } 311 | } 312 | }; 313 | 314 | const getSellPrice = async (subjectAddress, amount = 1) => { 315 | const price = await contract.read.getSellPriceAfterFee({ 316 | args: [subjectAddress, amount], 317 | }); 318 | return price; 319 | }; 320 | 321 | const checkIfOwn = async (subjectAddress) => { 322 | try { 323 | const balance = await contract.read.sharesBalance({ 324 | args: [subjectAddress, wallet.address], 325 | }); 326 | if (balance > 0n) { 327 | return balance; 328 | } else { 329 | console.log("not own"); 330 | return false; 331 | } 332 | } catch (error) { 333 | await sleep(3); 334 | return await checkIfOwn(subjectAddress); 335 | } 336 | }; 337 | 338 | const sellShare = async (subjectAddress, own = 1) => { 339 | try { 340 | await refreshNonce(); 341 | const data = encodeFunctionData({ 342 | abi: abi, 343 | functionName: "sellShares", 344 | args: [subjectAddress, own], 345 | }); 346 | const txParams = { 347 | value: 0, 348 | data: data, 349 | to: contractAddress, 350 | // gasPrice: parseGwei("0.15"), 351 | // gasLimit, 352 | nonce: nonce++, 353 | }; 354 | const hash = await client.sendTransaction(txParams); 355 | console.log(`Sent tx > ${hash}`); 356 | const transaction = await publicClient.waitForTransactionReceipt({ 357 | hash, 358 | }); 359 | console.log( 360 | chalk[transaction.status === "success" ? "green" : "red"]( 361 | `Sell ${subjectAddress} ${transaction.status}` 362 | ) 363 | ); 364 | if (transaction.status === "success") { 365 | return true; 366 | } else { 367 | return false; 368 | } 369 | } catch (error) { 370 | console.log(error); 371 | return false; 372 | } 373 | }; 374 | 375 | const trySell = async (shareObj, calculator) => { 376 | try { 377 | const price = await getSellPrice(shareObj.share, shareObj.balance); 378 | console.log(JSON.stringify(shareObj)); 379 | const ethPrice = parseFloat(formatEther(price).substring(0, 8)) * 0.9; 380 | const costEthPrice = shareObj.price; 381 | const profit = 382 | parseFloat(((ethPrice - costEthPrice) * ETH_USCT_Rate).toFixed(2)) - 383 | 0.12; 384 | // 0.12 is gas fee, about 0.12 USD 385 | console.log( 386 | chalk[profit > 0 ? "green" : "yellow"](`profit: ${profit} USDT`) 387 | ); 388 | const own = await checkIfOwn(shareObj.share); 389 | calculator.sum += profit; 390 | calculator.total += ethPrice; 391 | if (profit > 0) { 392 | calculator.positive += profit; 393 | } else { 394 | calculator.negative += profit; 395 | } 396 | if (!own) { 397 | return false; 398 | } 399 | if ( 400 | ethPrice > 0 && 401 | couldBeSold(wallet.address, shareObj.share) && 402 | shouldSell(shareObj.share, profit) 403 | ) { 404 | clearBuyInternal(); 405 | console.log("selling", shareObj.share, "price", ethPrice); 406 | const isSold = await sellShare(shareObj.share, own); 407 | return isSold; 408 | } else { 409 | return false; 410 | } 411 | } catch (error) { 412 | console.log( 413 | chalk.red(`sell ${shareObj.balance} share failed: ${shareObj.share}`) 414 | ); 415 | } 416 | }; 417 | 418 | const checkIfSell = async () => { 419 | // 读取holdings.json内容 420 | let holdings = []; 421 | if (existsSync(getDir("holdings.json"))) { 422 | const rawData = readFileSync(getDir("holdings.json"), "utf-8"); 423 | holdings = JSON.parse(rawData); 424 | } 425 | let calculator = { sum: 0, positive: 0, negative: 0, total: 0 }; 426 | for (let index = 0; index < holdings.length; index++) { 427 | selling = true; 428 | const shareObj = holdings[index]; 429 | // const sellPrice = await getSellPrice(shareObj.share, shareObj.balance); 430 | 431 | const isSold = await trySell(shareObj, calculator); 432 | if (isSold) { 433 | holdings = holdings.filter((item) => item.share !== shareObj.share); 434 | index = index - 1; 435 | writeFileSync( 436 | getDir("holdings.json"), 437 | JSON.stringify(holdings, null, 2), 438 | "utf-8" 439 | ); 440 | } 441 | } 442 | console.log(chalk.cyan(JSON.stringify(calculator))); 443 | if (!buyIntervalId) { 444 | await getRecentActions(); 445 | await checkIfBuy(); 446 | intervalBuy(); 447 | } 448 | }; 449 | 450 | const clearBuyInternal = () => { 451 | if (buyIntervalId) { 452 | clearInterval(buyIntervalId); 453 | buyIntervalId = null; 454 | } 455 | }; 456 | 457 | const clearSellInterval = () => { 458 | if (sellIntervalId) { 459 | clearInterval(sellIntervalId); 460 | sellIntervalId = null; 461 | } 462 | }; 463 | 464 | const intervalBuy = () => { 465 | buyIntervalId = setInterval( 466 | async () => { 467 | if (buying) { 468 | return; 469 | } 470 | await getRecentActions(); 471 | await checkIfBuy(); 472 | }, 473 | process.env.useTwitterAPI ? 5000 : 25000 474 | ); 475 | }; 476 | 477 | const intervalSell = () => { 478 | sellIntervalId = setInterval(() => { 479 | checkIfSell(); 480 | }, 60 * 1000); 481 | }; 482 | const execute = async () => { 483 | clearBuyInternal(); 484 | clearSellInterval(); 485 | await refreshNonce(); 486 | await checkIfSell(); 487 | 488 | await getRecentActions(); 489 | await checkIfBuy(); 490 | 491 | intervalBuy(); 492 | intervalSell(); 493 | 494 | setInterval(() => { 495 | twitterInfoMap = {}; 496 | }, 10 * 60 * 1000); 497 | }; 498 | 499 | execute(); 500 | }; 501 | 502 | logIntro(); 503 | consoleStamp(console, { 504 | format: ":date(yyyy/mm/dd HH:MM:ss)", 505 | }); 506 | // const password1 = readlineSync.question("Password1: ", { 507 | // hideEchoBack: true, // The typed text on screen is hidden by `*` (default). 508 | // }); 509 | // const password2 = readlineSync.question("Password2: ", { 510 | // hideEchoBack: true, // The typed text on screen is hidden by `*` (default). 511 | // }); 512 | // process.env.pw1 = password1; 513 | // process.env.pw2 = password2; 514 | process.env.useTwitterAPI = wallet.useTwitterAPI; 515 | main({ 516 | ...wallet, 517 | }); 518 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "post-tech-bot", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "post-tech-bot", 9 | "version": "1.0.0", 10 | "license": "AGPL-version-3.0", 11 | "dependencies": { 12 | "axios": "^1.5.0", 13 | "bignumber.js": "^9.1.2", 14 | "chalk": "^5.3.0", 15 | "console-stamp": "^3.1.2", 16 | "ethers": "^6.7.1", 17 | "express": "^4.18.2", 18 | "figlet": "^1.6.0", 19 | "lodash": "^4.17.21", 20 | "log-update": "^5.0.1", 21 | "puppeteer": "^21.2.0", 22 | "puppeteer-core": "^21.2.0", 23 | "readline-sync": "^1.4.10", 24 | "socks-proxy-agent": "^8.0.2", 25 | "viem": "latest", 26 | "ws": "^8.14.1" 27 | }, 28 | "devDependencies": { 29 | "mocha": "^10.2.0" 30 | }, 31 | "engines": { 32 | "node": ">= 14.0.0", 33 | "npm": ">= 6.0.0" 34 | } 35 | }, 36 | "node_modules/@adraffy/ens-normalize": { 37 | "version": "1.9.2", 38 | "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.9.2.tgz", 39 | "integrity": "sha512-0h+FrQDqe2Wn+IIGFkTCd4aAwTJ+7834Ek1COohCyV26AXhwQ7WQaz+4F/nLOeVl/3BtWHOHLPsq46V8YB46Eg==" 40 | }, 41 | "node_modules/@babel/code-frame": { 42 | "version": "7.22.13", 43 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", 44 | "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", 45 | "dependencies": { 46 | "@babel/highlight": "^7.22.13", 47 | "chalk": "^2.4.2" 48 | }, 49 | "engines": { 50 | "node": ">=6.9.0" 51 | } 52 | }, 53 | "node_modules/@babel/code-frame/node_modules/ansi-styles": { 54 | "version": "3.2.1", 55 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 56 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 57 | "dependencies": { 58 | "color-convert": "^1.9.0" 59 | }, 60 | "engines": { 61 | "node": ">=4" 62 | } 63 | }, 64 | "node_modules/@babel/code-frame/node_modules/chalk": { 65 | "version": "2.4.2", 66 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 67 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 68 | "dependencies": { 69 | "ansi-styles": "^3.2.1", 70 | "escape-string-regexp": "^1.0.5", 71 | "supports-color": "^5.3.0" 72 | }, 73 | "engines": { 74 | "node": ">=4" 75 | } 76 | }, 77 | "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { 78 | "version": "1.0.5", 79 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 80 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 81 | "engines": { 82 | "node": ">=0.8.0" 83 | } 84 | }, 85 | "node_modules/@babel/code-frame/node_modules/has-flag": { 86 | "version": "3.0.0", 87 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 88 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 89 | "engines": { 90 | "node": ">=4" 91 | } 92 | }, 93 | "node_modules/@babel/code-frame/node_modules/supports-color": { 94 | "version": "5.5.0", 95 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 96 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 97 | "dependencies": { 98 | "has-flag": "^3.0.0" 99 | }, 100 | "engines": { 101 | "node": ">=4" 102 | } 103 | }, 104 | "node_modules/@babel/helper-validator-identifier": { 105 | "version": "7.22.20", 106 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", 107 | "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", 108 | "engines": { 109 | "node": ">=6.9.0" 110 | } 111 | }, 112 | "node_modules/@babel/highlight": { 113 | "version": "7.22.20", 114 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", 115 | "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", 116 | "dependencies": { 117 | "@babel/helper-validator-identifier": "^7.22.20", 118 | "chalk": "^2.4.2", 119 | "js-tokens": "^4.0.0" 120 | }, 121 | "engines": { 122 | "node": ">=6.9.0" 123 | } 124 | }, 125 | "node_modules/@babel/highlight/node_modules/ansi-styles": { 126 | "version": "3.2.1", 127 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 128 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 129 | "dependencies": { 130 | "color-convert": "^1.9.0" 131 | }, 132 | "engines": { 133 | "node": ">=4" 134 | } 135 | }, 136 | "node_modules/@babel/highlight/node_modules/chalk": { 137 | "version": "2.4.2", 138 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 139 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 140 | "dependencies": { 141 | "ansi-styles": "^3.2.1", 142 | "escape-string-regexp": "^1.0.5", 143 | "supports-color": "^5.3.0" 144 | }, 145 | "engines": { 146 | "node": ">=4" 147 | } 148 | }, 149 | "node_modules/@babel/highlight/node_modules/escape-string-regexp": { 150 | "version": "1.0.5", 151 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 152 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 153 | "engines": { 154 | "node": ">=0.8.0" 155 | } 156 | }, 157 | "node_modules/@babel/highlight/node_modules/has-flag": { 158 | "version": "3.0.0", 159 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 160 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 161 | "engines": { 162 | "node": ">=4" 163 | } 164 | }, 165 | "node_modules/@babel/highlight/node_modules/supports-color": { 166 | "version": "5.5.0", 167 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 168 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 169 | "dependencies": { 170 | "has-flag": "^3.0.0" 171 | }, 172 | "engines": { 173 | "node": ">=4" 174 | } 175 | }, 176 | "node_modules/@noble/curves": { 177 | "version": "1.2.0", 178 | "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", 179 | "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", 180 | "dependencies": { 181 | "@noble/hashes": "1.3.2" 182 | }, 183 | "funding": { 184 | "url": "https://paulmillr.com/funding/" 185 | } 186 | }, 187 | "node_modules/@noble/curves/node_modules/@noble/hashes": { 188 | "version": "1.3.2", 189 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", 190 | "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", 191 | "engines": { 192 | "node": ">= 16" 193 | }, 194 | "funding": { 195 | "url": "https://paulmillr.com/funding/" 196 | } 197 | }, 198 | "node_modules/@noble/hashes": { 199 | "version": "1.1.2", 200 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", 201 | "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==", 202 | "funding": [ 203 | { 204 | "type": "individual", 205 | "url": "https://paulmillr.com/funding/" 206 | } 207 | ] 208 | }, 209 | "node_modules/@noble/secp256k1": { 210 | "version": "1.7.1", 211 | "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", 212 | "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", 213 | "funding": [ 214 | { 215 | "type": "individual", 216 | "url": "https://paulmillr.com/funding/" 217 | } 218 | ] 219 | }, 220 | "node_modules/@puppeteer/browsers": { 221 | "version": "1.7.1", 222 | "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.7.1.tgz", 223 | "integrity": "sha512-nIb8SOBgDEMFY2iS2MdnUZOg2ikcYchRrBoF+wtdjieRFKR2uGRipHY/oFLo+2N6anDualyClPzGywTHRGrLfw==", 224 | "dependencies": { 225 | "debug": "4.3.4", 226 | "extract-zip": "2.0.1", 227 | "progress": "2.0.3", 228 | "proxy-agent": "6.3.1", 229 | "tar-fs": "3.0.4", 230 | "unbzip2-stream": "1.4.3", 231 | "yargs": "17.7.1" 232 | }, 233 | "bin": { 234 | "browsers": "lib/cjs/main-cli.js" 235 | }, 236 | "engines": { 237 | "node": ">=16.3.0" 238 | } 239 | }, 240 | "node_modules/@puppeteer/browsers/node_modules/ansi-regex": { 241 | "version": "5.0.1", 242 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 243 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 244 | "engines": { 245 | "node": ">=8" 246 | } 247 | }, 248 | "node_modules/@puppeteer/browsers/node_modules/ansi-styles": { 249 | "version": "4.3.0", 250 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 251 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 252 | "dependencies": { 253 | "color-convert": "^2.0.1" 254 | }, 255 | "engines": { 256 | "node": ">=8" 257 | }, 258 | "funding": { 259 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 260 | } 261 | }, 262 | "node_modules/@puppeteer/browsers/node_modules/cliui": { 263 | "version": "8.0.1", 264 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", 265 | "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", 266 | "dependencies": { 267 | "string-width": "^4.2.0", 268 | "strip-ansi": "^6.0.1", 269 | "wrap-ansi": "^7.0.0" 270 | }, 271 | "engines": { 272 | "node": ">=12" 273 | } 274 | }, 275 | "node_modules/@puppeteer/browsers/node_modules/color-convert": { 276 | "version": "2.0.1", 277 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 278 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 279 | "dependencies": { 280 | "color-name": "~1.1.4" 281 | }, 282 | "engines": { 283 | "node": ">=7.0.0" 284 | } 285 | }, 286 | "node_modules/@puppeteer/browsers/node_modules/color-name": { 287 | "version": "1.1.4", 288 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 289 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 290 | }, 291 | "node_modules/@puppeteer/browsers/node_modules/debug": { 292 | "version": "4.3.4", 293 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 294 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 295 | "dependencies": { 296 | "ms": "2.1.2" 297 | }, 298 | "engines": { 299 | "node": ">=6.0" 300 | }, 301 | "peerDependenciesMeta": { 302 | "supports-color": { 303 | "optional": true 304 | } 305 | } 306 | }, 307 | "node_modules/@puppeteer/browsers/node_modules/emoji-regex": { 308 | "version": "8.0.0", 309 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 310 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 311 | }, 312 | "node_modules/@puppeteer/browsers/node_modules/is-fullwidth-code-point": { 313 | "version": "3.0.0", 314 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 315 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 316 | "engines": { 317 | "node": ">=8" 318 | } 319 | }, 320 | "node_modules/@puppeteer/browsers/node_modules/ms": { 321 | "version": "2.1.2", 322 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 323 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 324 | }, 325 | "node_modules/@puppeteer/browsers/node_modules/string-width": { 326 | "version": "4.2.3", 327 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 328 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 329 | "dependencies": { 330 | "emoji-regex": "^8.0.0", 331 | "is-fullwidth-code-point": "^3.0.0", 332 | "strip-ansi": "^6.0.1" 333 | }, 334 | "engines": { 335 | "node": ">=8" 336 | } 337 | }, 338 | "node_modules/@puppeteer/browsers/node_modules/strip-ansi": { 339 | "version": "6.0.1", 340 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 341 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 342 | "dependencies": { 343 | "ansi-regex": "^5.0.1" 344 | }, 345 | "engines": { 346 | "node": ">=8" 347 | } 348 | }, 349 | "node_modules/@puppeteer/browsers/node_modules/wrap-ansi": { 350 | "version": "7.0.0", 351 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 352 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 353 | "dependencies": { 354 | "ansi-styles": "^4.0.0", 355 | "string-width": "^4.1.0", 356 | "strip-ansi": "^6.0.0" 357 | }, 358 | "engines": { 359 | "node": ">=10" 360 | }, 361 | "funding": { 362 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 363 | } 364 | }, 365 | "node_modules/@puppeteer/browsers/node_modules/yargs": { 366 | "version": "17.7.1", 367 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", 368 | "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", 369 | "dependencies": { 370 | "cliui": "^8.0.1", 371 | "escalade": "^3.1.1", 372 | "get-caller-file": "^2.0.5", 373 | "require-directory": "^2.1.1", 374 | "string-width": "^4.2.3", 375 | "y18n": "^5.0.5", 376 | "yargs-parser": "^21.1.1" 377 | }, 378 | "engines": { 379 | "node": ">=12" 380 | } 381 | }, 382 | "node_modules/@puppeteer/browsers/node_modules/yargs-parser": { 383 | "version": "21.1.1", 384 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", 385 | "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", 386 | "engines": { 387 | "node": ">=12" 388 | } 389 | }, 390 | "node_modules/@scure/base": { 391 | "version": "1.1.3", 392 | "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.3.tgz", 393 | "integrity": "sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q==", 394 | "funding": { 395 | "url": "https://paulmillr.com/funding/" 396 | } 397 | }, 398 | "node_modules/@scure/bip32": { 399 | "version": "1.3.2", 400 | "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.3.2.tgz", 401 | "integrity": "sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==", 402 | "dependencies": { 403 | "@noble/curves": "~1.2.0", 404 | "@noble/hashes": "~1.3.2", 405 | "@scure/base": "~1.1.2" 406 | }, 407 | "funding": { 408 | "url": "https://paulmillr.com/funding/" 409 | } 410 | }, 411 | "node_modules/@scure/bip32/node_modules/@noble/hashes": { 412 | "version": "1.3.2", 413 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", 414 | "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", 415 | "engines": { 416 | "node": ">= 16" 417 | }, 418 | "funding": { 419 | "url": "https://paulmillr.com/funding/" 420 | } 421 | }, 422 | "node_modules/@scure/bip39": { 423 | "version": "1.2.1", 424 | "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.2.1.tgz", 425 | "integrity": "sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==", 426 | "dependencies": { 427 | "@noble/hashes": "~1.3.0", 428 | "@scure/base": "~1.1.0" 429 | }, 430 | "funding": { 431 | "url": "https://paulmillr.com/funding/" 432 | } 433 | }, 434 | "node_modules/@scure/bip39/node_modules/@noble/hashes": { 435 | "version": "1.3.2", 436 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", 437 | "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", 438 | "engines": { 439 | "node": ">= 16" 440 | }, 441 | "funding": { 442 | "url": "https://paulmillr.com/funding/" 443 | } 444 | }, 445 | "node_modules/@tootallnate/quickjs-emscripten": { 446 | "version": "0.23.0", 447 | "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", 448 | "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" 449 | }, 450 | "node_modules/@types/node": { 451 | "version": "18.15.13", 452 | "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", 453 | "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" 454 | }, 455 | "node_modules/@types/ws": { 456 | "version": "8.5.5", 457 | "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.5.tgz", 458 | "integrity": "sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==", 459 | "dependencies": { 460 | "@types/node": "*" 461 | } 462 | }, 463 | "node_modules/@types/yauzl": { 464 | "version": "2.10.0", 465 | "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", 466 | "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", 467 | "optional": true, 468 | "dependencies": { 469 | "@types/node": "*" 470 | } 471 | }, 472 | "node_modules/abitype": { 473 | "version": "0.9.8", 474 | "resolved": "https://registry.npmjs.org/abitype/-/abitype-0.9.8.tgz", 475 | "integrity": "sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ==", 476 | "funding": [ 477 | { 478 | "type": "github", 479 | "url": "https://github.com/sponsors/wagmi-dev" 480 | } 481 | ], 482 | "peerDependencies": { 483 | "typescript": ">=5.0.4", 484 | "zod": "^3 >=3.19.1" 485 | }, 486 | "peerDependenciesMeta": { 487 | "typescript": { 488 | "optional": true 489 | }, 490 | "zod": { 491 | "optional": true 492 | } 493 | } 494 | }, 495 | "node_modules/accepts": { 496 | "version": "1.3.8", 497 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 498 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 499 | "dependencies": { 500 | "mime-types": "~2.1.34", 501 | "negotiator": "0.6.3" 502 | }, 503 | "engines": { 504 | "node": ">= 0.6" 505 | } 506 | }, 507 | "node_modules/aes-js": { 508 | "version": "4.0.0-beta.5", 509 | "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", 510 | "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" 511 | }, 512 | "node_modules/agent-base": { 513 | "version": "7.1.0", 514 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", 515 | "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", 516 | "dependencies": { 517 | "debug": "^4.3.4" 518 | }, 519 | "engines": { 520 | "node": ">= 14" 521 | } 522 | }, 523 | "node_modules/agent-base/node_modules/debug": { 524 | "version": "4.3.4", 525 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 526 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 527 | "dependencies": { 528 | "ms": "2.1.2" 529 | }, 530 | "engines": { 531 | "node": ">=6.0" 532 | }, 533 | "peerDependenciesMeta": { 534 | "supports-color": { 535 | "optional": true 536 | } 537 | } 538 | }, 539 | "node_modules/agent-base/node_modules/ms": { 540 | "version": "2.1.2", 541 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 542 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 543 | }, 544 | "node_modules/ansi-colors": { 545 | "version": "4.1.1", 546 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 547 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 548 | "dev": true, 549 | "engines": { 550 | "node": ">=6" 551 | } 552 | }, 553 | "node_modules/ansi-escapes": { 554 | "version": "5.0.0", 555 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-5.0.0.tgz", 556 | "integrity": "sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==", 557 | "dependencies": { 558 | "type-fest": "^1.0.2" 559 | }, 560 | "engines": { 561 | "node": ">=12" 562 | }, 563 | "funding": { 564 | "url": "https://github.com/sponsors/sindresorhus" 565 | } 566 | }, 567 | "node_modules/ansi-regex": { 568 | "version": "6.0.1", 569 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", 570 | "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", 571 | "engines": { 572 | "node": ">=12" 573 | }, 574 | "funding": { 575 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 576 | } 577 | }, 578 | "node_modules/ansi-styles": { 579 | "version": "6.2.1", 580 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 581 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 582 | "engines": { 583 | "node": ">=12" 584 | }, 585 | "funding": { 586 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 587 | } 588 | }, 589 | "node_modules/anymatch": { 590 | "version": "3.1.3", 591 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 592 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 593 | "dev": true, 594 | "dependencies": { 595 | "normalize-path": "^3.0.0", 596 | "picomatch": "^2.0.4" 597 | }, 598 | "engines": { 599 | "node": ">= 8" 600 | } 601 | }, 602 | "node_modules/argparse": { 603 | "version": "2.0.1", 604 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 605 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" 606 | }, 607 | "node_modules/array-flatten": { 608 | "version": "1.1.1", 609 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 610 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 611 | }, 612 | "node_modules/ast-types": { 613 | "version": "0.13.4", 614 | "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", 615 | "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", 616 | "dependencies": { 617 | "tslib": "^2.0.1" 618 | }, 619 | "engines": { 620 | "node": ">=4" 621 | } 622 | }, 623 | "node_modules/asynckit": { 624 | "version": "0.4.0", 625 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 626 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" 627 | }, 628 | "node_modules/axios": { 629 | "version": "1.5.0", 630 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz", 631 | "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==", 632 | "dependencies": { 633 | "follow-redirects": "^1.15.0", 634 | "form-data": "^4.0.0", 635 | "proxy-from-env": "^1.1.0" 636 | } 637 | }, 638 | "node_modules/b4a": { 639 | "version": "1.6.4", 640 | "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz", 641 | "integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==" 642 | }, 643 | "node_modules/balanced-match": { 644 | "version": "1.0.2", 645 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 646 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 647 | "dev": true 648 | }, 649 | "node_modules/base64-js": { 650 | "version": "1.5.1", 651 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 652 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", 653 | "funding": [ 654 | { 655 | "type": "github", 656 | "url": "https://github.com/sponsors/feross" 657 | }, 658 | { 659 | "type": "patreon", 660 | "url": "https://www.patreon.com/feross" 661 | }, 662 | { 663 | "type": "consulting", 664 | "url": "https://feross.org/support" 665 | } 666 | ] 667 | }, 668 | "node_modules/basic-ftp": { 669 | "version": "5.0.3", 670 | "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.3.tgz", 671 | "integrity": "sha512-QHX8HLlncOLpy54mh+k/sWIFd0ThmRqwe9ZjELybGZK+tZ8rUb9VO0saKJUROTbE+KhzDUT7xziGpGrW8Kmd+g==", 672 | "engines": { 673 | "node": ">=10.0.0" 674 | } 675 | }, 676 | "node_modules/bignumber.js": { 677 | "version": "9.1.2", 678 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", 679 | "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", 680 | "engines": { 681 | "node": "*" 682 | } 683 | }, 684 | "node_modules/binary-extensions": { 685 | "version": "2.2.0", 686 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 687 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 688 | "dev": true, 689 | "engines": { 690 | "node": ">=8" 691 | } 692 | }, 693 | "node_modules/body-parser": { 694 | "version": "1.20.1", 695 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", 696 | "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", 697 | "dependencies": { 698 | "bytes": "3.1.2", 699 | "content-type": "~1.0.4", 700 | "debug": "2.6.9", 701 | "depd": "2.0.0", 702 | "destroy": "1.2.0", 703 | "http-errors": "2.0.0", 704 | "iconv-lite": "0.4.24", 705 | "on-finished": "2.4.1", 706 | "qs": "6.11.0", 707 | "raw-body": "2.5.1", 708 | "type-is": "~1.6.18", 709 | "unpipe": "1.0.0" 710 | }, 711 | "engines": { 712 | "node": ">= 0.8", 713 | "npm": "1.2.8000 || >= 1.4.16" 714 | } 715 | }, 716 | "node_modules/brace-expansion": { 717 | "version": "2.0.1", 718 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 719 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 720 | "dev": true, 721 | "dependencies": { 722 | "balanced-match": "^1.0.0" 723 | } 724 | }, 725 | "node_modules/braces": { 726 | "version": "3.0.2", 727 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 728 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 729 | "dev": true, 730 | "dependencies": { 731 | "fill-range": "^7.0.1" 732 | }, 733 | "engines": { 734 | "node": ">=8" 735 | } 736 | }, 737 | "node_modules/browser-stdout": { 738 | "version": "1.3.1", 739 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 740 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 741 | "dev": true 742 | }, 743 | "node_modules/buffer": { 744 | "version": "5.7.1", 745 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 746 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 747 | "funding": [ 748 | { 749 | "type": "github", 750 | "url": "https://github.com/sponsors/feross" 751 | }, 752 | { 753 | "type": "patreon", 754 | "url": "https://www.patreon.com/feross" 755 | }, 756 | { 757 | "type": "consulting", 758 | "url": "https://feross.org/support" 759 | } 760 | ], 761 | "dependencies": { 762 | "base64-js": "^1.3.1", 763 | "ieee754": "^1.1.13" 764 | } 765 | }, 766 | "node_modules/buffer-crc32": { 767 | "version": "0.2.13", 768 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", 769 | "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", 770 | "engines": { 771 | "node": "*" 772 | } 773 | }, 774 | "node_modules/bytes": { 775 | "version": "3.1.2", 776 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 777 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 778 | "engines": { 779 | "node": ">= 0.8" 780 | } 781 | }, 782 | "node_modules/call-bind": { 783 | "version": "1.0.2", 784 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 785 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 786 | "dependencies": { 787 | "function-bind": "^1.1.1", 788 | "get-intrinsic": "^1.0.2" 789 | }, 790 | "funding": { 791 | "url": "https://github.com/sponsors/ljharb" 792 | } 793 | }, 794 | "node_modules/callsites": { 795 | "version": "3.1.0", 796 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 797 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 798 | "engines": { 799 | "node": ">=6" 800 | } 801 | }, 802 | "node_modules/camelcase": { 803 | "version": "6.3.0", 804 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 805 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 806 | "dev": true, 807 | "engines": { 808 | "node": ">=10" 809 | }, 810 | "funding": { 811 | "url": "https://github.com/sponsors/sindresorhus" 812 | } 813 | }, 814 | "node_modules/chalk": { 815 | "version": "5.3.0", 816 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", 817 | "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", 818 | "engines": { 819 | "node": "^12.17.0 || ^14.13 || >=16.0.0" 820 | }, 821 | "funding": { 822 | "url": "https://github.com/chalk/chalk?sponsor=1" 823 | } 824 | }, 825 | "node_modules/chokidar": { 826 | "version": "3.5.3", 827 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 828 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 829 | "dev": true, 830 | "funding": [ 831 | { 832 | "type": "individual", 833 | "url": "https://paulmillr.com/funding/" 834 | } 835 | ], 836 | "dependencies": { 837 | "anymatch": "~3.1.2", 838 | "braces": "~3.0.2", 839 | "glob-parent": "~5.1.2", 840 | "is-binary-path": "~2.1.0", 841 | "is-glob": "~4.0.1", 842 | "normalize-path": "~3.0.0", 843 | "readdirp": "~3.6.0" 844 | }, 845 | "engines": { 846 | "node": ">= 8.10.0" 847 | }, 848 | "optionalDependencies": { 849 | "fsevents": "~2.3.2" 850 | } 851 | }, 852 | "node_modules/chromium-bidi": { 853 | "version": "0.4.27", 854 | "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.27.tgz", 855 | "integrity": "sha512-8Irq0FbKYN8Xmj8M62kta6wk5MyDKeYIFtNavxQ2M3xf2v5MCC4ntf+FxitQu1iHaQvGU6t5O+Nrep0RNNS0EQ==", 856 | "dependencies": { 857 | "mitt": "3.0.1", 858 | "urlpattern-polyfill": "9.0.0" 859 | }, 860 | "peerDependencies": { 861 | "devtools-protocol": "*" 862 | } 863 | }, 864 | "node_modules/cli-cursor": { 865 | "version": "4.0.0", 866 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", 867 | "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", 868 | "dependencies": { 869 | "restore-cursor": "^4.0.0" 870 | }, 871 | "engines": { 872 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 873 | }, 874 | "funding": { 875 | "url": "https://github.com/sponsors/sindresorhus" 876 | } 877 | }, 878 | "node_modules/cliui": { 879 | "version": "7.0.4", 880 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 881 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 882 | "dev": true, 883 | "dependencies": { 884 | "string-width": "^4.2.0", 885 | "strip-ansi": "^6.0.0", 886 | "wrap-ansi": "^7.0.0" 887 | } 888 | }, 889 | "node_modules/cliui/node_modules/ansi-regex": { 890 | "version": "5.0.1", 891 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 892 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 893 | "dev": true, 894 | "engines": { 895 | "node": ">=8" 896 | } 897 | }, 898 | "node_modules/cliui/node_modules/ansi-styles": { 899 | "version": "4.3.0", 900 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 901 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 902 | "dev": true, 903 | "dependencies": { 904 | "color-convert": "^2.0.1" 905 | }, 906 | "engines": { 907 | "node": ">=8" 908 | }, 909 | "funding": { 910 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 911 | } 912 | }, 913 | "node_modules/cliui/node_modules/color-convert": { 914 | "version": "2.0.1", 915 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 916 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 917 | "dev": true, 918 | "dependencies": { 919 | "color-name": "~1.1.4" 920 | }, 921 | "engines": { 922 | "node": ">=7.0.0" 923 | } 924 | }, 925 | "node_modules/cliui/node_modules/color-name": { 926 | "version": "1.1.4", 927 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 928 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 929 | "dev": true 930 | }, 931 | "node_modules/cliui/node_modules/emoji-regex": { 932 | "version": "8.0.0", 933 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 934 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 935 | "dev": true 936 | }, 937 | "node_modules/cliui/node_modules/is-fullwidth-code-point": { 938 | "version": "3.0.0", 939 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 940 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 941 | "dev": true, 942 | "engines": { 943 | "node": ">=8" 944 | } 945 | }, 946 | "node_modules/cliui/node_modules/string-width": { 947 | "version": "4.2.3", 948 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 949 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 950 | "dev": true, 951 | "dependencies": { 952 | "emoji-regex": "^8.0.0", 953 | "is-fullwidth-code-point": "^3.0.0", 954 | "strip-ansi": "^6.0.1" 955 | }, 956 | "engines": { 957 | "node": ">=8" 958 | } 959 | }, 960 | "node_modules/cliui/node_modules/strip-ansi": { 961 | "version": "6.0.1", 962 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 963 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 964 | "dev": true, 965 | "dependencies": { 966 | "ansi-regex": "^5.0.1" 967 | }, 968 | "engines": { 969 | "node": ">=8" 970 | } 971 | }, 972 | "node_modules/cliui/node_modules/wrap-ansi": { 973 | "version": "7.0.0", 974 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 975 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 976 | "dev": true, 977 | "dependencies": { 978 | "ansi-styles": "^4.0.0", 979 | "string-width": "^4.1.0", 980 | "strip-ansi": "^6.0.0" 981 | }, 982 | "engines": { 983 | "node": ">=10" 984 | }, 985 | "funding": { 986 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 987 | } 988 | }, 989 | "node_modules/color-convert": { 990 | "version": "1.9.3", 991 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 992 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 993 | "dependencies": { 994 | "color-name": "1.1.3" 995 | } 996 | }, 997 | "node_modules/color-name": { 998 | "version": "1.1.3", 999 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1000 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" 1001 | }, 1002 | "node_modules/combined-stream": { 1003 | "version": "1.0.8", 1004 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 1005 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 1006 | "dependencies": { 1007 | "delayed-stream": "~1.0.0" 1008 | }, 1009 | "engines": { 1010 | "node": ">= 0.8" 1011 | } 1012 | }, 1013 | "node_modules/concat-map": { 1014 | "version": "0.0.1", 1015 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1016 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 1017 | "dev": true 1018 | }, 1019 | "node_modules/console-stamp": { 1020 | "version": "3.1.2", 1021 | "resolved": "https://registry.npmjs.org/console-stamp/-/console-stamp-3.1.2.tgz", 1022 | "integrity": "sha512-ab66x3NxOTxPuq71dI6gXEiw2X6ql4Le5gZz0bm7FW3FSCB00eztra/oQUuCoCGlsyKOxtULnHwphzMrRtzMBg==", 1023 | "dependencies": { 1024 | "chalk": "^4.1.2", 1025 | "dateformat": "^4.6.3" 1026 | }, 1027 | "engines": { 1028 | "node": ">=12" 1029 | } 1030 | }, 1031 | "node_modules/console-stamp/node_modules/ansi-styles": { 1032 | "version": "4.3.0", 1033 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1034 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1035 | "dependencies": { 1036 | "color-convert": "^2.0.1" 1037 | }, 1038 | "engines": { 1039 | "node": ">=8" 1040 | }, 1041 | "funding": { 1042 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 1043 | } 1044 | }, 1045 | "node_modules/console-stamp/node_modules/chalk": { 1046 | "version": "4.1.2", 1047 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 1048 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 1049 | "dependencies": { 1050 | "ansi-styles": "^4.1.0", 1051 | "supports-color": "^7.1.0" 1052 | }, 1053 | "engines": { 1054 | "node": ">=10" 1055 | }, 1056 | "funding": { 1057 | "url": "https://github.com/chalk/chalk?sponsor=1" 1058 | } 1059 | }, 1060 | "node_modules/console-stamp/node_modules/color-convert": { 1061 | "version": "2.0.1", 1062 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1063 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1064 | "dependencies": { 1065 | "color-name": "~1.1.4" 1066 | }, 1067 | "engines": { 1068 | "node": ">=7.0.0" 1069 | } 1070 | }, 1071 | "node_modules/console-stamp/node_modules/color-name": { 1072 | "version": "1.1.4", 1073 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1074 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 1075 | }, 1076 | "node_modules/console-stamp/node_modules/supports-color": { 1077 | "version": "7.2.0", 1078 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1079 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1080 | "dependencies": { 1081 | "has-flag": "^4.0.0" 1082 | }, 1083 | "engines": { 1084 | "node": ">=8" 1085 | } 1086 | }, 1087 | "node_modules/content-disposition": { 1088 | "version": "0.5.4", 1089 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 1090 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 1091 | "dependencies": { 1092 | "safe-buffer": "5.2.1" 1093 | }, 1094 | "engines": { 1095 | "node": ">= 0.6" 1096 | } 1097 | }, 1098 | "node_modules/content-type": { 1099 | "version": "1.0.5", 1100 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 1101 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", 1102 | "engines": { 1103 | "node": ">= 0.6" 1104 | } 1105 | }, 1106 | "node_modules/cookie": { 1107 | "version": "0.5.0", 1108 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 1109 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", 1110 | "engines": { 1111 | "node": ">= 0.6" 1112 | } 1113 | }, 1114 | "node_modules/cookie-signature": { 1115 | "version": "1.0.6", 1116 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 1117 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 1118 | }, 1119 | "node_modules/cosmiconfig": { 1120 | "version": "8.3.6", 1121 | "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", 1122 | "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", 1123 | "dependencies": { 1124 | "import-fresh": "^3.3.0", 1125 | "js-yaml": "^4.1.0", 1126 | "parse-json": "^5.2.0", 1127 | "path-type": "^4.0.0" 1128 | }, 1129 | "engines": { 1130 | "node": ">=14" 1131 | }, 1132 | "funding": { 1133 | "url": "https://github.com/sponsors/d-fischer" 1134 | }, 1135 | "peerDependencies": { 1136 | "typescript": ">=4.9.5" 1137 | }, 1138 | "peerDependenciesMeta": { 1139 | "typescript": { 1140 | "optional": true 1141 | } 1142 | } 1143 | }, 1144 | "node_modules/cross-fetch": { 1145 | "version": "4.0.0", 1146 | "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", 1147 | "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", 1148 | "dependencies": { 1149 | "node-fetch": "^2.6.12" 1150 | } 1151 | }, 1152 | "node_modules/data-uri-to-buffer": { 1153 | "version": "5.0.1", 1154 | "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-5.0.1.tgz", 1155 | "integrity": "sha512-a9l6T1qqDogvvnw0nKlfZzqsyikEBZBClF39V3TFoKhDtGBqHu2HkuomJc02j5zft8zrUaXEuoicLeW54RkzPg==", 1156 | "engines": { 1157 | "node": ">= 14" 1158 | } 1159 | }, 1160 | "node_modules/dateformat": { 1161 | "version": "4.6.3", 1162 | "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.6.3.tgz", 1163 | "integrity": "sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==", 1164 | "engines": { 1165 | "node": "*" 1166 | } 1167 | }, 1168 | "node_modules/debug": { 1169 | "version": "2.6.9", 1170 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1171 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1172 | "dependencies": { 1173 | "ms": "2.0.0" 1174 | } 1175 | }, 1176 | "node_modules/decamelize": { 1177 | "version": "4.0.0", 1178 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 1179 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 1180 | "dev": true, 1181 | "engines": { 1182 | "node": ">=10" 1183 | }, 1184 | "funding": { 1185 | "url": "https://github.com/sponsors/sindresorhus" 1186 | } 1187 | }, 1188 | "node_modules/degenerator": { 1189 | "version": "5.0.1", 1190 | "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", 1191 | "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", 1192 | "dependencies": { 1193 | "ast-types": "^0.13.4", 1194 | "escodegen": "^2.1.0", 1195 | "esprima": "^4.0.1" 1196 | }, 1197 | "engines": { 1198 | "node": ">= 14" 1199 | } 1200 | }, 1201 | "node_modules/delayed-stream": { 1202 | "version": "1.0.0", 1203 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 1204 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 1205 | "engines": { 1206 | "node": ">=0.4.0" 1207 | } 1208 | }, 1209 | "node_modules/depd": { 1210 | "version": "2.0.0", 1211 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 1212 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 1213 | "engines": { 1214 | "node": ">= 0.8" 1215 | } 1216 | }, 1217 | "node_modules/destroy": { 1218 | "version": "1.2.0", 1219 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 1220 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 1221 | "engines": { 1222 | "node": ">= 0.8", 1223 | "npm": "1.2.8000 || >= 1.4.16" 1224 | } 1225 | }, 1226 | "node_modules/devtools-protocol": { 1227 | "version": "0.0.1179426", 1228 | "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1179426.tgz", 1229 | "integrity": "sha512-KKC7IGwdOr7u9kTGgjUvGTov/z1s2H7oHi3zKCdR9eSDyCPia5CBi4aRhtp7d8uR7l0GS5UTDw3TjKGu5CqINg==" 1230 | }, 1231 | "node_modules/diff": { 1232 | "version": "5.0.0", 1233 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 1234 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 1235 | "dev": true, 1236 | "engines": { 1237 | "node": ">=0.3.1" 1238 | } 1239 | }, 1240 | "node_modules/eastasianwidth": { 1241 | "version": "0.2.0", 1242 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 1243 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" 1244 | }, 1245 | "node_modules/ee-first": { 1246 | "version": "1.1.1", 1247 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 1248 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 1249 | }, 1250 | "node_modules/emoji-regex": { 1251 | "version": "9.2.2", 1252 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 1253 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" 1254 | }, 1255 | "node_modules/encodeurl": { 1256 | "version": "1.0.2", 1257 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 1258 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", 1259 | "engines": { 1260 | "node": ">= 0.8" 1261 | } 1262 | }, 1263 | "node_modules/end-of-stream": { 1264 | "version": "1.4.4", 1265 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 1266 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 1267 | "dependencies": { 1268 | "once": "^1.4.0" 1269 | } 1270 | }, 1271 | "node_modules/error-ex": { 1272 | "version": "1.3.2", 1273 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 1274 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 1275 | "dependencies": { 1276 | "is-arrayish": "^0.2.1" 1277 | } 1278 | }, 1279 | "node_modules/escalade": { 1280 | "version": "3.1.1", 1281 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 1282 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 1283 | "engines": { 1284 | "node": ">=6" 1285 | } 1286 | }, 1287 | "node_modules/escape-html": { 1288 | "version": "1.0.3", 1289 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 1290 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 1291 | }, 1292 | "node_modules/escape-string-regexp": { 1293 | "version": "4.0.0", 1294 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 1295 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 1296 | "dev": true, 1297 | "engines": { 1298 | "node": ">=10" 1299 | }, 1300 | "funding": { 1301 | "url": "https://github.com/sponsors/sindresorhus" 1302 | } 1303 | }, 1304 | "node_modules/escodegen": { 1305 | "version": "2.1.0", 1306 | "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", 1307 | "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", 1308 | "dependencies": { 1309 | "esprima": "^4.0.1", 1310 | "estraverse": "^5.2.0", 1311 | "esutils": "^2.0.2" 1312 | }, 1313 | "bin": { 1314 | "escodegen": "bin/escodegen.js", 1315 | "esgenerate": "bin/esgenerate.js" 1316 | }, 1317 | "engines": { 1318 | "node": ">=6.0" 1319 | }, 1320 | "optionalDependencies": { 1321 | "source-map": "~0.6.1" 1322 | } 1323 | }, 1324 | "node_modules/esprima": { 1325 | "version": "4.0.1", 1326 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 1327 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 1328 | "bin": { 1329 | "esparse": "bin/esparse.js", 1330 | "esvalidate": "bin/esvalidate.js" 1331 | }, 1332 | "engines": { 1333 | "node": ">=4" 1334 | } 1335 | }, 1336 | "node_modules/estraverse": { 1337 | "version": "5.3.0", 1338 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1339 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1340 | "engines": { 1341 | "node": ">=4.0" 1342 | } 1343 | }, 1344 | "node_modules/esutils": { 1345 | "version": "2.0.3", 1346 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1347 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1348 | "engines": { 1349 | "node": ">=0.10.0" 1350 | } 1351 | }, 1352 | "node_modules/etag": { 1353 | "version": "1.8.1", 1354 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 1355 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", 1356 | "engines": { 1357 | "node": ">= 0.6" 1358 | } 1359 | }, 1360 | "node_modules/ethers": { 1361 | "version": "6.7.1", 1362 | "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.7.1.tgz", 1363 | "integrity": "sha512-qX5kxIFMfg1i+epfgb0xF4WM7IqapIIu50pOJ17aebkxxa4BacW5jFrQRmCJpDEg2ZK2oNtR5QjrQ1WDBF29dA==", 1364 | "funding": [ 1365 | { 1366 | "type": "individual", 1367 | "url": "https://github.com/sponsors/ethers-io/" 1368 | }, 1369 | { 1370 | "type": "individual", 1371 | "url": "https://www.buymeacoffee.com/ricmoo" 1372 | } 1373 | ], 1374 | "dependencies": { 1375 | "@adraffy/ens-normalize": "1.9.2", 1376 | "@noble/hashes": "1.1.2", 1377 | "@noble/secp256k1": "1.7.1", 1378 | "@types/node": "18.15.13", 1379 | "aes-js": "4.0.0-beta.5", 1380 | "tslib": "2.4.0", 1381 | "ws": "8.5.0" 1382 | }, 1383 | "engines": { 1384 | "node": ">=14.0.0" 1385 | } 1386 | }, 1387 | "node_modules/ethers/node_modules/ws": { 1388 | "version": "8.5.0", 1389 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", 1390 | "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", 1391 | "engines": { 1392 | "node": ">=10.0.0" 1393 | }, 1394 | "peerDependencies": { 1395 | "bufferutil": "^4.0.1", 1396 | "utf-8-validate": "^5.0.2" 1397 | }, 1398 | "peerDependenciesMeta": { 1399 | "bufferutil": { 1400 | "optional": true 1401 | }, 1402 | "utf-8-validate": { 1403 | "optional": true 1404 | } 1405 | } 1406 | }, 1407 | "node_modules/express": { 1408 | "version": "4.18.2", 1409 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", 1410 | "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", 1411 | "dependencies": { 1412 | "accepts": "~1.3.8", 1413 | "array-flatten": "1.1.1", 1414 | "body-parser": "1.20.1", 1415 | "content-disposition": "0.5.4", 1416 | "content-type": "~1.0.4", 1417 | "cookie": "0.5.0", 1418 | "cookie-signature": "1.0.6", 1419 | "debug": "2.6.9", 1420 | "depd": "2.0.0", 1421 | "encodeurl": "~1.0.2", 1422 | "escape-html": "~1.0.3", 1423 | "etag": "~1.8.1", 1424 | "finalhandler": "1.2.0", 1425 | "fresh": "0.5.2", 1426 | "http-errors": "2.0.0", 1427 | "merge-descriptors": "1.0.1", 1428 | "methods": "~1.1.2", 1429 | "on-finished": "2.4.1", 1430 | "parseurl": "~1.3.3", 1431 | "path-to-regexp": "0.1.7", 1432 | "proxy-addr": "~2.0.7", 1433 | "qs": "6.11.0", 1434 | "range-parser": "~1.2.1", 1435 | "safe-buffer": "5.2.1", 1436 | "send": "0.18.0", 1437 | "serve-static": "1.15.0", 1438 | "setprototypeof": "1.2.0", 1439 | "statuses": "2.0.1", 1440 | "type-is": "~1.6.18", 1441 | "utils-merge": "1.0.1", 1442 | "vary": "~1.1.2" 1443 | }, 1444 | "engines": { 1445 | "node": ">= 0.10.0" 1446 | } 1447 | }, 1448 | "node_modules/extract-zip": { 1449 | "version": "2.0.1", 1450 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", 1451 | "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", 1452 | "dependencies": { 1453 | "debug": "^4.1.1", 1454 | "get-stream": "^5.1.0", 1455 | "yauzl": "^2.10.0" 1456 | }, 1457 | "bin": { 1458 | "extract-zip": "cli.js" 1459 | }, 1460 | "engines": { 1461 | "node": ">= 10.17.0" 1462 | }, 1463 | "optionalDependencies": { 1464 | "@types/yauzl": "^2.9.1" 1465 | } 1466 | }, 1467 | "node_modules/extract-zip/node_modules/debug": { 1468 | "version": "4.3.4", 1469 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1470 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1471 | "dependencies": { 1472 | "ms": "2.1.2" 1473 | }, 1474 | "engines": { 1475 | "node": ">=6.0" 1476 | }, 1477 | "peerDependenciesMeta": { 1478 | "supports-color": { 1479 | "optional": true 1480 | } 1481 | } 1482 | }, 1483 | "node_modules/extract-zip/node_modules/ms": { 1484 | "version": "2.1.2", 1485 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1486 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 1487 | }, 1488 | "node_modules/fast-fifo": { 1489 | "version": "1.3.2", 1490 | "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", 1491 | "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==" 1492 | }, 1493 | "node_modules/fd-slicer": { 1494 | "version": "1.1.0", 1495 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", 1496 | "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", 1497 | "dependencies": { 1498 | "pend": "~1.2.0" 1499 | } 1500 | }, 1501 | "node_modules/figlet": { 1502 | "version": "1.6.0", 1503 | "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.6.0.tgz", 1504 | "integrity": "sha512-31EQGhCEITv6+hi2ORRPyn3bulaV9Fl4xOdR169cBzH/n1UqcxsiSB/noo6SJdD7Kfb1Ljit+IgR1USvF/XbdA==", 1505 | "bin": { 1506 | "figlet": "bin/index.js" 1507 | }, 1508 | "engines": { 1509 | "node": ">= 0.4.0" 1510 | } 1511 | }, 1512 | "node_modules/fill-range": { 1513 | "version": "7.0.1", 1514 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1515 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1516 | "dev": true, 1517 | "dependencies": { 1518 | "to-regex-range": "^5.0.1" 1519 | }, 1520 | "engines": { 1521 | "node": ">=8" 1522 | } 1523 | }, 1524 | "node_modules/finalhandler": { 1525 | "version": "1.2.0", 1526 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 1527 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 1528 | "dependencies": { 1529 | "debug": "2.6.9", 1530 | "encodeurl": "~1.0.2", 1531 | "escape-html": "~1.0.3", 1532 | "on-finished": "2.4.1", 1533 | "parseurl": "~1.3.3", 1534 | "statuses": "2.0.1", 1535 | "unpipe": "~1.0.0" 1536 | }, 1537 | "engines": { 1538 | "node": ">= 0.8" 1539 | } 1540 | }, 1541 | "node_modules/find-up": { 1542 | "version": "5.0.0", 1543 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1544 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1545 | "dev": true, 1546 | "dependencies": { 1547 | "locate-path": "^6.0.0", 1548 | "path-exists": "^4.0.0" 1549 | }, 1550 | "engines": { 1551 | "node": ">=10" 1552 | }, 1553 | "funding": { 1554 | "url": "https://github.com/sponsors/sindresorhus" 1555 | } 1556 | }, 1557 | "node_modules/flat": { 1558 | "version": "5.0.2", 1559 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 1560 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 1561 | "dev": true, 1562 | "bin": { 1563 | "flat": "cli.js" 1564 | } 1565 | }, 1566 | "node_modules/follow-redirects": { 1567 | "version": "1.15.3", 1568 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", 1569 | "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", 1570 | "funding": [ 1571 | { 1572 | "type": "individual", 1573 | "url": "https://github.com/sponsors/RubenVerborgh" 1574 | } 1575 | ], 1576 | "engines": { 1577 | "node": ">=4.0" 1578 | }, 1579 | "peerDependenciesMeta": { 1580 | "debug": { 1581 | "optional": true 1582 | } 1583 | } 1584 | }, 1585 | "node_modules/form-data": { 1586 | "version": "4.0.0", 1587 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", 1588 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", 1589 | "dependencies": { 1590 | "asynckit": "^0.4.0", 1591 | "combined-stream": "^1.0.8", 1592 | "mime-types": "^2.1.12" 1593 | }, 1594 | "engines": { 1595 | "node": ">= 6" 1596 | } 1597 | }, 1598 | "node_modules/forwarded": { 1599 | "version": "0.2.0", 1600 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 1601 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 1602 | "engines": { 1603 | "node": ">= 0.6" 1604 | } 1605 | }, 1606 | "node_modules/fresh": { 1607 | "version": "0.5.2", 1608 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 1609 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", 1610 | "engines": { 1611 | "node": ">= 0.6" 1612 | } 1613 | }, 1614 | "node_modules/fs-extra": { 1615 | "version": "8.1.0", 1616 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", 1617 | "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", 1618 | "dependencies": { 1619 | "graceful-fs": "^4.2.0", 1620 | "jsonfile": "^4.0.0", 1621 | "universalify": "^0.1.0" 1622 | }, 1623 | "engines": { 1624 | "node": ">=6 <7 || >=8" 1625 | } 1626 | }, 1627 | "node_modules/fs.realpath": { 1628 | "version": "1.0.0", 1629 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1630 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 1631 | "dev": true 1632 | }, 1633 | "node_modules/fsevents": { 1634 | "version": "2.3.3", 1635 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 1636 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 1637 | "dev": true, 1638 | "hasInstallScript": true, 1639 | "optional": true, 1640 | "os": [ 1641 | "darwin" 1642 | ], 1643 | "engines": { 1644 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 1645 | } 1646 | }, 1647 | "node_modules/function-bind": { 1648 | "version": "1.1.1", 1649 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1650 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 1651 | }, 1652 | "node_modules/get-caller-file": { 1653 | "version": "2.0.5", 1654 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 1655 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 1656 | "engines": { 1657 | "node": "6.* || 8.* || >= 10.*" 1658 | } 1659 | }, 1660 | "node_modules/get-intrinsic": { 1661 | "version": "1.2.1", 1662 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", 1663 | "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", 1664 | "dependencies": { 1665 | "function-bind": "^1.1.1", 1666 | "has": "^1.0.3", 1667 | "has-proto": "^1.0.1", 1668 | "has-symbols": "^1.0.3" 1669 | }, 1670 | "funding": { 1671 | "url": "https://github.com/sponsors/ljharb" 1672 | } 1673 | }, 1674 | "node_modules/get-stream": { 1675 | "version": "5.2.0", 1676 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", 1677 | "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", 1678 | "dependencies": { 1679 | "pump": "^3.0.0" 1680 | }, 1681 | "engines": { 1682 | "node": ">=8" 1683 | }, 1684 | "funding": { 1685 | "url": "https://github.com/sponsors/sindresorhus" 1686 | } 1687 | }, 1688 | "node_modules/get-uri": { 1689 | "version": "6.0.1", 1690 | "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.1.tgz", 1691 | "integrity": "sha512-7ZqONUVqaabogsYNWlYj0t3YZaL6dhuEueZXGF+/YVmf6dHmaFg8/6psJKqhx9QykIDKzpGcy2cn4oV4YC7V/Q==", 1692 | "dependencies": { 1693 | "basic-ftp": "^5.0.2", 1694 | "data-uri-to-buffer": "^5.0.1", 1695 | "debug": "^4.3.4", 1696 | "fs-extra": "^8.1.0" 1697 | }, 1698 | "engines": { 1699 | "node": ">= 14" 1700 | } 1701 | }, 1702 | "node_modules/get-uri/node_modules/debug": { 1703 | "version": "4.3.4", 1704 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1705 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1706 | "dependencies": { 1707 | "ms": "2.1.2" 1708 | }, 1709 | "engines": { 1710 | "node": ">=6.0" 1711 | }, 1712 | "peerDependenciesMeta": { 1713 | "supports-color": { 1714 | "optional": true 1715 | } 1716 | } 1717 | }, 1718 | "node_modules/get-uri/node_modules/ms": { 1719 | "version": "2.1.2", 1720 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1721 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 1722 | }, 1723 | "node_modules/glob": { 1724 | "version": "7.2.0", 1725 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 1726 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 1727 | "dev": true, 1728 | "dependencies": { 1729 | "fs.realpath": "^1.0.0", 1730 | "inflight": "^1.0.4", 1731 | "inherits": "2", 1732 | "minimatch": "^3.0.4", 1733 | "once": "^1.3.0", 1734 | "path-is-absolute": "^1.0.0" 1735 | }, 1736 | "engines": { 1737 | "node": "*" 1738 | }, 1739 | "funding": { 1740 | "url": "https://github.com/sponsors/isaacs" 1741 | } 1742 | }, 1743 | "node_modules/glob-parent": { 1744 | "version": "5.1.2", 1745 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1746 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1747 | "dev": true, 1748 | "dependencies": { 1749 | "is-glob": "^4.0.1" 1750 | }, 1751 | "engines": { 1752 | "node": ">= 6" 1753 | } 1754 | }, 1755 | "node_modules/glob/node_modules/brace-expansion": { 1756 | "version": "1.1.11", 1757 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1758 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1759 | "dev": true, 1760 | "dependencies": { 1761 | "balanced-match": "^1.0.0", 1762 | "concat-map": "0.0.1" 1763 | } 1764 | }, 1765 | "node_modules/glob/node_modules/minimatch": { 1766 | "version": "3.1.2", 1767 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1768 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1769 | "dev": true, 1770 | "dependencies": { 1771 | "brace-expansion": "^1.1.7" 1772 | }, 1773 | "engines": { 1774 | "node": "*" 1775 | } 1776 | }, 1777 | "node_modules/graceful-fs": { 1778 | "version": "4.2.11", 1779 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", 1780 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" 1781 | }, 1782 | "node_modules/has": { 1783 | "version": "1.0.3", 1784 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1785 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1786 | "dependencies": { 1787 | "function-bind": "^1.1.1" 1788 | }, 1789 | "engines": { 1790 | "node": ">= 0.4.0" 1791 | } 1792 | }, 1793 | "node_modules/has-flag": { 1794 | "version": "4.0.0", 1795 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1796 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1797 | "engines": { 1798 | "node": ">=8" 1799 | } 1800 | }, 1801 | "node_modules/has-proto": { 1802 | "version": "1.0.1", 1803 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", 1804 | "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", 1805 | "engines": { 1806 | "node": ">= 0.4" 1807 | }, 1808 | "funding": { 1809 | "url": "https://github.com/sponsors/ljharb" 1810 | } 1811 | }, 1812 | "node_modules/has-symbols": { 1813 | "version": "1.0.3", 1814 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 1815 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 1816 | "engines": { 1817 | "node": ">= 0.4" 1818 | }, 1819 | "funding": { 1820 | "url": "https://github.com/sponsors/ljharb" 1821 | } 1822 | }, 1823 | "node_modules/he": { 1824 | "version": "1.2.0", 1825 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 1826 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 1827 | "dev": true, 1828 | "bin": { 1829 | "he": "bin/he" 1830 | } 1831 | }, 1832 | "node_modules/http-errors": { 1833 | "version": "2.0.0", 1834 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 1835 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 1836 | "dependencies": { 1837 | "depd": "2.0.0", 1838 | "inherits": "2.0.4", 1839 | "setprototypeof": "1.2.0", 1840 | "statuses": "2.0.1", 1841 | "toidentifier": "1.0.1" 1842 | }, 1843 | "engines": { 1844 | "node": ">= 0.8" 1845 | } 1846 | }, 1847 | "node_modules/http-proxy-agent": { 1848 | "version": "7.0.0", 1849 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", 1850 | "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==", 1851 | "dependencies": { 1852 | "agent-base": "^7.1.0", 1853 | "debug": "^4.3.4" 1854 | }, 1855 | "engines": { 1856 | "node": ">= 14" 1857 | } 1858 | }, 1859 | "node_modules/http-proxy-agent/node_modules/debug": { 1860 | "version": "4.3.4", 1861 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1862 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1863 | "dependencies": { 1864 | "ms": "2.1.2" 1865 | }, 1866 | "engines": { 1867 | "node": ">=6.0" 1868 | }, 1869 | "peerDependenciesMeta": { 1870 | "supports-color": { 1871 | "optional": true 1872 | } 1873 | } 1874 | }, 1875 | "node_modules/http-proxy-agent/node_modules/ms": { 1876 | "version": "2.1.2", 1877 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1878 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 1879 | }, 1880 | "node_modules/https-proxy-agent": { 1881 | "version": "7.0.2", 1882 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", 1883 | "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", 1884 | "dependencies": { 1885 | "agent-base": "^7.0.2", 1886 | "debug": "4" 1887 | }, 1888 | "engines": { 1889 | "node": ">= 14" 1890 | } 1891 | }, 1892 | "node_modules/https-proxy-agent/node_modules/debug": { 1893 | "version": "4.3.4", 1894 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1895 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1896 | "dependencies": { 1897 | "ms": "2.1.2" 1898 | }, 1899 | "engines": { 1900 | "node": ">=6.0" 1901 | }, 1902 | "peerDependenciesMeta": { 1903 | "supports-color": { 1904 | "optional": true 1905 | } 1906 | } 1907 | }, 1908 | "node_modules/https-proxy-agent/node_modules/ms": { 1909 | "version": "2.1.2", 1910 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1911 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 1912 | }, 1913 | "node_modules/iconv-lite": { 1914 | "version": "0.4.24", 1915 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1916 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1917 | "dependencies": { 1918 | "safer-buffer": ">= 2.1.2 < 3" 1919 | }, 1920 | "engines": { 1921 | "node": ">=0.10.0" 1922 | } 1923 | }, 1924 | "node_modules/ieee754": { 1925 | "version": "1.2.1", 1926 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 1927 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 1928 | "funding": [ 1929 | { 1930 | "type": "github", 1931 | "url": "https://github.com/sponsors/feross" 1932 | }, 1933 | { 1934 | "type": "patreon", 1935 | "url": "https://www.patreon.com/feross" 1936 | }, 1937 | { 1938 | "type": "consulting", 1939 | "url": "https://feross.org/support" 1940 | } 1941 | ] 1942 | }, 1943 | "node_modules/import-fresh": { 1944 | "version": "3.3.0", 1945 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1946 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1947 | "dependencies": { 1948 | "parent-module": "^1.0.0", 1949 | "resolve-from": "^4.0.0" 1950 | }, 1951 | "engines": { 1952 | "node": ">=6" 1953 | }, 1954 | "funding": { 1955 | "url": "https://github.com/sponsors/sindresorhus" 1956 | } 1957 | }, 1958 | "node_modules/inflight": { 1959 | "version": "1.0.6", 1960 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1961 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1962 | "dev": true, 1963 | "dependencies": { 1964 | "once": "^1.3.0", 1965 | "wrappy": "1" 1966 | } 1967 | }, 1968 | "node_modules/inherits": { 1969 | "version": "2.0.4", 1970 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1971 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1972 | }, 1973 | "node_modules/ip": { 1974 | "version": "1.1.8", 1975 | "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", 1976 | "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==" 1977 | }, 1978 | "node_modules/ipaddr.js": { 1979 | "version": "1.9.1", 1980 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 1981 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 1982 | "engines": { 1983 | "node": ">= 0.10" 1984 | } 1985 | }, 1986 | "node_modules/is-arrayish": { 1987 | "version": "0.2.1", 1988 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 1989 | "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" 1990 | }, 1991 | "node_modules/is-binary-path": { 1992 | "version": "2.1.0", 1993 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1994 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1995 | "dev": true, 1996 | "dependencies": { 1997 | "binary-extensions": "^2.0.0" 1998 | }, 1999 | "engines": { 2000 | "node": ">=8" 2001 | } 2002 | }, 2003 | "node_modules/is-extglob": { 2004 | "version": "2.1.1", 2005 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 2006 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 2007 | "dev": true, 2008 | "engines": { 2009 | "node": ">=0.10.0" 2010 | } 2011 | }, 2012 | "node_modules/is-fullwidth-code-point": { 2013 | "version": "4.0.0", 2014 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", 2015 | "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", 2016 | "engines": { 2017 | "node": ">=12" 2018 | }, 2019 | "funding": { 2020 | "url": "https://github.com/sponsors/sindresorhus" 2021 | } 2022 | }, 2023 | "node_modules/is-glob": { 2024 | "version": "4.0.3", 2025 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 2026 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 2027 | "dev": true, 2028 | "dependencies": { 2029 | "is-extglob": "^2.1.1" 2030 | }, 2031 | "engines": { 2032 | "node": ">=0.10.0" 2033 | } 2034 | }, 2035 | "node_modules/is-number": { 2036 | "version": "7.0.0", 2037 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2038 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 2039 | "dev": true, 2040 | "engines": { 2041 | "node": ">=0.12.0" 2042 | } 2043 | }, 2044 | "node_modules/is-plain-obj": { 2045 | "version": "2.1.0", 2046 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 2047 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 2048 | "dev": true, 2049 | "engines": { 2050 | "node": ">=8" 2051 | } 2052 | }, 2053 | "node_modules/is-unicode-supported": { 2054 | "version": "0.1.0", 2055 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 2056 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 2057 | "dev": true, 2058 | "engines": { 2059 | "node": ">=10" 2060 | }, 2061 | "funding": { 2062 | "url": "https://github.com/sponsors/sindresorhus" 2063 | } 2064 | }, 2065 | "node_modules/isomorphic-ws": { 2066 | "version": "5.0.0", 2067 | "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz", 2068 | "integrity": "sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==", 2069 | "peerDependencies": { 2070 | "ws": "*" 2071 | } 2072 | }, 2073 | "node_modules/js-tokens": { 2074 | "version": "4.0.0", 2075 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 2076 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" 2077 | }, 2078 | "node_modules/js-yaml": { 2079 | "version": "4.1.0", 2080 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 2081 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 2082 | "dependencies": { 2083 | "argparse": "^2.0.1" 2084 | }, 2085 | "bin": { 2086 | "js-yaml": "bin/js-yaml.js" 2087 | } 2088 | }, 2089 | "node_modules/json-parse-even-better-errors": { 2090 | "version": "2.3.1", 2091 | "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", 2092 | "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" 2093 | }, 2094 | "node_modules/jsonfile": { 2095 | "version": "4.0.0", 2096 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", 2097 | "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", 2098 | "optionalDependencies": { 2099 | "graceful-fs": "^4.1.6" 2100 | } 2101 | }, 2102 | "node_modules/lines-and-columns": { 2103 | "version": "1.2.4", 2104 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", 2105 | "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" 2106 | }, 2107 | "node_modules/locate-path": { 2108 | "version": "6.0.0", 2109 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 2110 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 2111 | "dev": true, 2112 | "dependencies": { 2113 | "p-locate": "^5.0.0" 2114 | }, 2115 | "engines": { 2116 | "node": ">=10" 2117 | }, 2118 | "funding": { 2119 | "url": "https://github.com/sponsors/sindresorhus" 2120 | } 2121 | }, 2122 | "node_modules/lodash": { 2123 | "version": "4.17.21", 2124 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 2125 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" 2126 | }, 2127 | "node_modules/log-symbols": { 2128 | "version": "4.1.0", 2129 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 2130 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 2131 | "dev": true, 2132 | "dependencies": { 2133 | "chalk": "^4.1.0", 2134 | "is-unicode-supported": "^0.1.0" 2135 | }, 2136 | "engines": { 2137 | "node": ">=10" 2138 | }, 2139 | "funding": { 2140 | "url": "https://github.com/sponsors/sindresorhus" 2141 | } 2142 | }, 2143 | "node_modules/log-symbols/node_modules/ansi-styles": { 2144 | "version": "4.3.0", 2145 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2146 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2147 | "dev": true, 2148 | "dependencies": { 2149 | "color-convert": "^2.0.1" 2150 | }, 2151 | "engines": { 2152 | "node": ">=8" 2153 | }, 2154 | "funding": { 2155 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 2156 | } 2157 | }, 2158 | "node_modules/log-symbols/node_modules/chalk": { 2159 | "version": "4.1.2", 2160 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 2161 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 2162 | "dev": true, 2163 | "dependencies": { 2164 | "ansi-styles": "^4.1.0", 2165 | "supports-color": "^7.1.0" 2166 | }, 2167 | "engines": { 2168 | "node": ">=10" 2169 | }, 2170 | "funding": { 2171 | "url": "https://github.com/chalk/chalk?sponsor=1" 2172 | } 2173 | }, 2174 | "node_modules/log-symbols/node_modules/color-convert": { 2175 | "version": "2.0.1", 2176 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 2177 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 2178 | "dev": true, 2179 | "dependencies": { 2180 | "color-name": "~1.1.4" 2181 | }, 2182 | "engines": { 2183 | "node": ">=7.0.0" 2184 | } 2185 | }, 2186 | "node_modules/log-symbols/node_modules/color-name": { 2187 | "version": "1.1.4", 2188 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 2189 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 2190 | "dev": true 2191 | }, 2192 | "node_modules/log-symbols/node_modules/supports-color": { 2193 | "version": "7.2.0", 2194 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2195 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2196 | "dev": true, 2197 | "dependencies": { 2198 | "has-flag": "^4.0.0" 2199 | }, 2200 | "engines": { 2201 | "node": ">=8" 2202 | } 2203 | }, 2204 | "node_modules/log-update": { 2205 | "version": "5.0.1", 2206 | "resolved": "https://registry.npmjs.org/log-update/-/log-update-5.0.1.tgz", 2207 | "integrity": "sha512-5UtUDQ/6edw4ofyljDNcOVJQ4c7OjDro4h3y8e1GQL5iYElYclVHJ3zeWchylvMaKnDbDilC8irOVyexnA/Slw==", 2208 | "dependencies": { 2209 | "ansi-escapes": "^5.0.0", 2210 | "cli-cursor": "^4.0.0", 2211 | "slice-ansi": "^5.0.0", 2212 | "strip-ansi": "^7.0.1", 2213 | "wrap-ansi": "^8.0.1" 2214 | }, 2215 | "engines": { 2216 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 2217 | }, 2218 | "funding": { 2219 | "url": "https://github.com/sponsors/sindresorhus" 2220 | } 2221 | }, 2222 | "node_modules/lru-cache": { 2223 | "version": "7.18.3", 2224 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", 2225 | "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", 2226 | "engines": { 2227 | "node": ">=12" 2228 | } 2229 | }, 2230 | "node_modules/media-typer": { 2231 | "version": "0.3.0", 2232 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 2233 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", 2234 | "engines": { 2235 | "node": ">= 0.6" 2236 | } 2237 | }, 2238 | "node_modules/merge-descriptors": { 2239 | "version": "1.0.1", 2240 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 2241 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 2242 | }, 2243 | "node_modules/methods": { 2244 | "version": "1.1.2", 2245 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 2246 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", 2247 | "engines": { 2248 | "node": ">= 0.6" 2249 | } 2250 | }, 2251 | "node_modules/mime": { 2252 | "version": "1.6.0", 2253 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 2254 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 2255 | "bin": { 2256 | "mime": "cli.js" 2257 | }, 2258 | "engines": { 2259 | "node": ">=4" 2260 | } 2261 | }, 2262 | "node_modules/mime-db": { 2263 | "version": "1.52.0", 2264 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 2265 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 2266 | "engines": { 2267 | "node": ">= 0.6" 2268 | } 2269 | }, 2270 | "node_modules/mime-types": { 2271 | "version": "2.1.35", 2272 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 2273 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 2274 | "dependencies": { 2275 | "mime-db": "1.52.0" 2276 | }, 2277 | "engines": { 2278 | "node": ">= 0.6" 2279 | } 2280 | }, 2281 | "node_modules/mimic-fn": { 2282 | "version": "2.1.0", 2283 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 2284 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 2285 | "engines": { 2286 | "node": ">=6" 2287 | } 2288 | }, 2289 | "node_modules/minimatch": { 2290 | "version": "5.0.1", 2291 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", 2292 | "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", 2293 | "dev": true, 2294 | "dependencies": { 2295 | "brace-expansion": "^2.0.1" 2296 | }, 2297 | "engines": { 2298 | "node": ">=10" 2299 | } 2300 | }, 2301 | "node_modules/mitt": { 2302 | "version": "3.0.1", 2303 | "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", 2304 | "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==" 2305 | }, 2306 | "node_modules/mkdirp-classic": { 2307 | "version": "0.5.3", 2308 | "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", 2309 | "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" 2310 | }, 2311 | "node_modules/mocha": { 2312 | "version": "10.2.0", 2313 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", 2314 | "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", 2315 | "dev": true, 2316 | "dependencies": { 2317 | "ansi-colors": "4.1.1", 2318 | "browser-stdout": "1.3.1", 2319 | "chokidar": "3.5.3", 2320 | "debug": "4.3.4", 2321 | "diff": "5.0.0", 2322 | "escape-string-regexp": "4.0.0", 2323 | "find-up": "5.0.0", 2324 | "glob": "7.2.0", 2325 | "he": "1.2.0", 2326 | "js-yaml": "4.1.0", 2327 | "log-symbols": "4.1.0", 2328 | "minimatch": "5.0.1", 2329 | "ms": "2.1.3", 2330 | "nanoid": "3.3.3", 2331 | "serialize-javascript": "6.0.0", 2332 | "strip-json-comments": "3.1.1", 2333 | "supports-color": "8.1.1", 2334 | "workerpool": "6.2.1", 2335 | "yargs": "16.2.0", 2336 | "yargs-parser": "20.2.4", 2337 | "yargs-unparser": "2.0.0" 2338 | }, 2339 | "bin": { 2340 | "_mocha": "bin/_mocha", 2341 | "mocha": "bin/mocha.js" 2342 | }, 2343 | "engines": { 2344 | "node": ">= 14.0.0" 2345 | }, 2346 | "funding": { 2347 | "type": "opencollective", 2348 | "url": "https://opencollective.com/mochajs" 2349 | } 2350 | }, 2351 | "node_modules/mocha/node_modules/debug": { 2352 | "version": "4.3.4", 2353 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 2354 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 2355 | "dev": true, 2356 | "dependencies": { 2357 | "ms": "2.1.2" 2358 | }, 2359 | "engines": { 2360 | "node": ">=6.0" 2361 | }, 2362 | "peerDependenciesMeta": { 2363 | "supports-color": { 2364 | "optional": true 2365 | } 2366 | } 2367 | }, 2368 | "node_modules/mocha/node_modules/debug/node_modules/ms": { 2369 | "version": "2.1.2", 2370 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2371 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 2372 | "dev": true 2373 | }, 2374 | "node_modules/mocha/node_modules/ms": { 2375 | "version": "2.1.3", 2376 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2377 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 2378 | "dev": true 2379 | }, 2380 | "node_modules/ms": { 2381 | "version": "2.0.0", 2382 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 2383 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 2384 | }, 2385 | "node_modules/nanoid": { 2386 | "version": "3.3.3", 2387 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", 2388 | "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", 2389 | "dev": true, 2390 | "bin": { 2391 | "nanoid": "bin/nanoid.cjs" 2392 | }, 2393 | "engines": { 2394 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 2395 | } 2396 | }, 2397 | "node_modules/negotiator": { 2398 | "version": "0.6.3", 2399 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 2400 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 2401 | "engines": { 2402 | "node": ">= 0.6" 2403 | } 2404 | }, 2405 | "node_modules/netmask": { 2406 | "version": "2.0.2", 2407 | "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", 2408 | "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", 2409 | "engines": { 2410 | "node": ">= 0.4.0" 2411 | } 2412 | }, 2413 | "node_modules/node-fetch": { 2414 | "version": "2.7.0", 2415 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", 2416 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", 2417 | "dependencies": { 2418 | "whatwg-url": "^5.0.0" 2419 | }, 2420 | "engines": { 2421 | "node": "4.x || >=6.0.0" 2422 | }, 2423 | "peerDependencies": { 2424 | "encoding": "^0.1.0" 2425 | }, 2426 | "peerDependenciesMeta": { 2427 | "encoding": { 2428 | "optional": true 2429 | } 2430 | } 2431 | }, 2432 | "node_modules/normalize-path": { 2433 | "version": "3.0.0", 2434 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2435 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2436 | "dev": true, 2437 | "engines": { 2438 | "node": ">=0.10.0" 2439 | } 2440 | }, 2441 | "node_modules/object-inspect": { 2442 | "version": "1.12.3", 2443 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", 2444 | "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", 2445 | "funding": { 2446 | "url": "https://github.com/sponsors/ljharb" 2447 | } 2448 | }, 2449 | "node_modules/on-finished": { 2450 | "version": "2.4.1", 2451 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 2452 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 2453 | "dependencies": { 2454 | "ee-first": "1.1.1" 2455 | }, 2456 | "engines": { 2457 | "node": ">= 0.8" 2458 | } 2459 | }, 2460 | "node_modules/once": { 2461 | "version": "1.4.0", 2462 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2463 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2464 | "dependencies": { 2465 | "wrappy": "1" 2466 | } 2467 | }, 2468 | "node_modules/onetime": { 2469 | "version": "5.1.2", 2470 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", 2471 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", 2472 | "dependencies": { 2473 | "mimic-fn": "^2.1.0" 2474 | }, 2475 | "engines": { 2476 | "node": ">=6" 2477 | }, 2478 | "funding": { 2479 | "url": "https://github.com/sponsors/sindresorhus" 2480 | } 2481 | }, 2482 | "node_modules/p-limit": { 2483 | "version": "3.1.0", 2484 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 2485 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 2486 | "dev": true, 2487 | "dependencies": { 2488 | "yocto-queue": "^0.1.0" 2489 | }, 2490 | "engines": { 2491 | "node": ">=10" 2492 | }, 2493 | "funding": { 2494 | "url": "https://github.com/sponsors/sindresorhus" 2495 | } 2496 | }, 2497 | "node_modules/p-locate": { 2498 | "version": "5.0.0", 2499 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 2500 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 2501 | "dev": true, 2502 | "dependencies": { 2503 | "p-limit": "^3.0.2" 2504 | }, 2505 | "engines": { 2506 | "node": ">=10" 2507 | }, 2508 | "funding": { 2509 | "url": "https://github.com/sponsors/sindresorhus" 2510 | } 2511 | }, 2512 | "node_modules/pac-proxy-agent": { 2513 | "version": "7.0.1", 2514 | "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.1.tgz", 2515 | "integrity": "sha512-ASV8yU4LLKBAjqIPMbrgtaKIvxQri/yh2OpI+S6hVa9JRkUI3Y3NPFbfngDtY7oFtSMD3w31Xns89mDa3Feo5A==", 2516 | "dependencies": { 2517 | "@tootallnate/quickjs-emscripten": "^0.23.0", 2518 | "agent-base": "^7.0.2", 2519 | "debug": "^4.3.4", 2520 | "get-uri": "^6.0.1", 2521 | "http-proxy-agent": "^7.0.0", 2522 | "https-proxy-agent": "^7.0.2", 2523 | "pac-resolver": "^7.0.0", 2524 | "socks-proxy-agent": "^8.0.2" 2525 | }, 2526 | "engines": { 2527 | "node": ">= 14" 2528 | } 2529 | }, 2530 | "node_modules/pac-proxy-agent/node_modules/debug": { 2531 | "version": "4.3.4", 2532 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 2533 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 2534 | "dependencies": { 2535 | "ms": "2.1.2" 2536 | }, 2537 | "engines": { 2538 | "node": ">=6.0" 2539 | }, 2540 | "peerDependenciesMeta": { 2541 | "supports-color": { 2542 | "optional": true 2543 | } 2544 | } 2545 | }, 2546 | "node_modules/pac-proxy-agent/node_modules/ms": { 2547 | "version": "2.1.2", 2548 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2549 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2550 | }, 2551 | "node_modules/pac-resolver": { 2552 | "version": "7.0.0", 2553 | "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.0.tgz", 2554 | "integrity": "sha512-Fd9lT9vJbHYRACT8OhCbZBbxr6KRSawSovFpy8nDGshaK99S/EBhVIHp9+crhxrsZOuvLpgL1n23iyPg6Rl2hg==", 2555 | "dependencies": { 2556 | "degenerator": "^5.0.0", 2557 | "ip": "^1.1.8", 2558 | "netmask": "^2.0.2" 2559 | }, 2560 | "engines": { 2561 | "node": ">= 14" 2562 | } 2563 | }, 2564 | "node_modules/parent-module": { 2565 | "version": "1.0.1", 2566 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 2567 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 2568 | "dependencies": { 2569 | "callsites": "^3.0.0" 2570 | }, 2571 | "engines": { 2572 | "node": ">=6" 2573 | } 2574 | }, 2575 | "node_modules/parse-json": { 2576 | "version": "5.2.0", 2577 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", 2578 | "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", 2579 | "dependencies": { 2580 | "@babel/code-frame": "^7.0.0", 2581 | "error-ex": "^1.3.1", 2582 | "json-parse-even-better-errors": "^2.3.0", 2583 | "lines-and-columns": "^1.1.6" 2584 | }, 2585 | "engines": { 2586 | "node": ">=8" 2587 | }, 2588 | "funding": { 2589 | "url": "https://github.com/sponsors/sindresorhus" 2590 | } 2591 | }, 2592 | "node_modules/parseurl": { 2593 | "version": "1.3.3", 2594 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 2595 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 2596 | "engines": { 2597 | "node": ">= 0.8" 2598 | } 2599 | }, 2600 | "node_modules/path-exists": { 2601 | "version": "4.0.0", 2602 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 2603 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 2604 | "dev": true, 2605 | "engines": { 2606 | "node": ">=8" 2607 | } 2608 | }, 2609 | "node_modules/path-is-absolute": { 2610 | "version": "1.0.1", 2611 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2612 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 2613 | "dev": true, 2614 | "engines": { 2615 | "node": ">=0.10.0" 2616 | } 2617 | }, 2618 | "node_modules/path-to-regexp": { 2619 | "version": "0.1.7", 2620 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 2621 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 2622 | }, 2623 | "node_modules/path-type": { 2624 | "version": "4.0.0", 2625 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 2626 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 2627 | "engines": { 2628 | "node": ">=8" 2629 | } 2630 | }, 2631 | "node_modules/pend": { 2632 | "version": "1.2.0", 2633 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", 2634 | "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" 2635 | }, 2636 | "node_modules/picomatch": { 2637 | "version": "2.3.1", 2638 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2639 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 2640 | "dev": true, 2641 | "engines": { 2642 | "node": ">=8.6" 2643 | }, 2644 | "funding": { 2645 | "url": "https://github.com/sponsors/jonschlinkert" 2646 | } 2647 | }, 2648 | "node_modules/progress": { 2649 | "version": "2.0.3", 2650 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 2651 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", 2652 | "engines": { 2653 | "node": ">=0.4.0" 2654 | } 2655 | }, 2656 | "node_modules/proxy-addr": { 2657 | "version": "2.0.7", 2658 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 2659 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 2660 | "dependencies": { 2661 | "forwarded": "0.2.0", 2662 | "ipaddr.js": "1.9.1" 2663 | }, 2664 | "engines": { 2665 | "node": ">= 0.10" 2666 | } 2667 | }, 2668 | "node_modules/proxy-agent": { 2669 | "version": "6.3.1", 2670 | "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.1.tgz", 2671 | "integrity": "sha512-Rb5RVBy1iyqOtNl15Cw/llpeLH8bsb37gM1FUfKQ+Wck6xHlbAhWGUFiTRHtkjqGTA5pSHz6+0hrPW/oECihPQ==", 2672 | "dependencies": { 2673 | "agent-base": "^7.0.2", 2674 | "debug": "^4.3.4", 2675 | "http-proxy-agent": "^7.0.0", 2676 | "https-proxy-agent": "^7.0.2", 2677 | "lru-cache": "^7.14.1", 2678 | "pac-proxy-agent": "^7.0.1", 2679 | "proxy-from-env": "^1.1.0", 2680 | "socks-proxy-agent": "^8.0.2" 2681 | }, 2682 | "engines": { 2683 | "node": ">= 14" 2684 | } 2685 | }, 2686 | "node_modules/proxy-agent/node_modules/debug": { 2687 | "version": "4.3.4", 2688 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 2689 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 2690 | "dependencies": { 2691 | "ms": "2.1.2" 2692 | }, 2693 | "engines": { 2694 | "node": ">=6.0" 2695 | }, 2696 | "peerDependenciesMeta": { 2697 | "supports-color": { 2698 | "optional": true 2699 | } 2700 | } 2701 | }, 2702 | "node_modules/proxy-agent/node_modules/ms": { 2703 | "version": "2.1.2", 2704 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2705 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2706 | }, 2707 | "node_modules/proxy-from-env": { 2708 | "version": "1.1.0", 2709 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 2710 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" 2711 | }, 2712 | "node_modules/pump": { 2713 | "version": "3.0.0", 2714 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 2715 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 2716 | "dependencies": { 2717 | "end-of-stream": "^1.1.0", 2718 | "once": "^1.3.1" 2719 | } 2720 | }, 2721 | "node_modules/puppeteer": { 2722 | "version": "21.3.1", 2723 | "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.3.1.tgz", 2724 | "integrity": "sha512-MhDvA+BYmzx+9vHJ/ZtknhlPbSPjTlHQnW1QYfkGpBcGW2Yy6eMahjkNuhAzN29H9tb47IcT0QsVcUy3Txx+SA==", 2725 | "hasInstallScript": true, 2726 | "dependencies": { 2727 | "@puppeteer/browsers": "1.7.1", 2728 | "cosmiconfig": "8.3.6", 2729 | "puppeteer-core": "21.3.1" 2730 | }, 2731 | "engines": { 2732 | "node": ">=16.3.0" 2733 | } 2734 | }, 2735 | "node_modules/puppeteer-core": { 2736 | "version": "21.3.1", 2737 | "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.3.1.tgz", 2738 | "integrity": "sha512-3VrCDEAHk0hPvE8qtfKgsT8CzRuaQrDQGXdCOuMFJM7Ap+ghpQzhPa9H3DE3gZgwDvC5Jt7SxUkAWLCeNbD0xw==", 2739 | "dependencies": { 2740 | "@puppeteer/browsers": "1.7.1", 2741 | "chromium-bidi": "0.4.27", 2742 | "cross-fetch": "4.0.0", 2743 | "debug": "4.3.4", 2744 | "devtools-protocol": "0.0.1179426", 2745 | "ws": "8.14.1" 2746 | }, 2747 | "engines": { 2748 | "node": ">=16.3.0" 2749 | } 2750 | }, 2751 | "node_modules/puppeteer-core/node_modules/debug": { 2752 | "version": "4.3.4", 2753 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 2754 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 2755 | "dependencies": { 2756 | "ms": "2.1.2" 2757 | }, 2758 | "engines": { 2759 | "node": ">=6.0" 2760 | }, 2761 | "peerDependenciesMeta": { 2762 | "supports-color": { 2763 | "optional": true 2764 | } 2765 | } 2766 | }, 2767 | "node_modules/puppeteer-core/node_modules/ms": { 2768 | "version": "2.1.2", 2769 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2770 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2771 | }, 2772 | "node_modules/puppeteer-core/node_modules/ws": { 2773 | "version": "8.14.1", 2774 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.1.tgz", 2775 | "integrity": "sha512-4OOseMUq8AzRBI/7SLMUwO+FEDnguetSk7KMb1sHwvF2w2Wv5Hoj0nlifx8vtGsftE/jWHojPy8sMMzYLJ2G/A==", 2776 | "engines": { 2777 | "node": ">=10.0.0" 2778 | }, 2779 | "peerDependencies": { 2780 | "bufferutil": "^4.0.1", 2781 | "utf-8-validate": ">=5.0.2" 2782 | }, 2783 | "peerDependenciesMeta": { 2784 | "bufferutil": { 2785 | "optional": true 2786 | }, 2787 | "utf-8-validate": { 2788 | "optional": true 2789 | } 2790 | } 2791 | }, 2792 | "node_modules/qs": { 2793 | "version": "6.11.0", 2794 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 2795 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 2796 | "dependencies": { 2797 | "side-channel": "^1.0.4" 2798 | }, 2799 | "engines": { 2800 | "node": ">=0.6" 2801 | }, 2802 | "funding": { 2803 | "url": "https://github.com/sponsors/ljharb" 2804 | } 2805 | }, 2806 | "node_modules/queue-tick": { 2807 | "version": "1.0.1", 2808 | "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", 2809 | "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==" 2810 | }, 2811 | "node_modules/randombytes": { 2812 | "version": "2.1.0", 2813 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 2814 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 2815 | "dev": true, 2816 | "dependencies": { 2817 | "safe-buffer": "^5.1.0" 2818 | } 2819 | }, 2820 | "node_modules/range-parser": { 2821 | "version": "1.2.1", 2822 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 2823 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 2824 | "engines": { 2825 | "node": ">= 0.6" 2826 | } 2827 | }, 2828 | "node_modules/raw-body": { 2829 | "version": "2.5.1", 2830 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 2831 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 2832 | "dependencies": { 2833 | "bytes": "3.1.2", 2834 | "http-errors": "2.0.0", 2835 | "iconv-lite": "0.4.24", 2836 | "unpipe": "1.0.0" 2837 | }, 2838 | "engines": { 2839 | "node": ">= 0.8" 2840 | } 2841 | }, 2842 | "node_modules/readdirp": { 2843 | "version": "3.6.0", 2844 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2845 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2846 | "dev": true, 2847 | "dependencies": { 2848 | "picomatch": "^2.2.1" 2849 | }, 2850 | "engines": { 2851 | "node": ">=8.10.0" 2852 | } 2853 | }, 2854 | "node_modules/readline-sync": { 2855 | "version": "1.4.10", 2856 | "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.10.tgz", 2857 | "integrity": "sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==", 2858 | "engines": { 2859 | "node": ">= 0.8.0" 2860 | } 2861 | }, 2862 | "node_modules/require-directory": { 2863 | "version": "2.1.1", 2864 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 2865 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 2866 | "engines": { 2867 | "node": ">=0.10.0" 2868 | } 2869 | }, 2870 | "node_modules/resolve-from": { 2871 | "version": "4.0.0", 2872 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 2873 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 2874 | "engines": { 2875 | "node": ">=4" 2876 | } 2877 | }, 2878 | "node_modules/restore-cursor": { 2879 | "version": "4.0.0", 2880 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", 2881 | "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", 2882 | "dependencies": { 2883 | "onetime": "^5.1.0", 2884 | "signal-exit": "^3.0.2" 2885 | }, 2886 | "engines": { 2887 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 2888 | }, 2889 | "funding": { 2890 | "url": "https://github.com/sponsors/sindresorhus" 2891 | } 2892 | }, 2893 | "node_modules/safe-buffer": { 2894 | "version": "5.2.1", 2895 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2896 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 2897 | "funding": [ 2898 | { 2899 | "type": "github", 2900 | "url": "https://github.com/sponsors/feross" 2901 | }, 2902 | { 2903 | "type": "patreon", 2904 | "url": "https://www.patreon.com/feross" 2905 | }, 2906 | { 2907 | "type": "consulting", 2908 | "url": "https://feross.org/support" 2909 | } 2910 | ] 2911 | }, 2912 | "node_modules/safer-buffer": { 2913 | "version": "2.1.2", 2914 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 2915 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 2916 | }, 2917 | "node_modules/send": { 2918 | "version": "0.18.0", 2919 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 2920 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 2921 | "dependencies": { 2922 | "debug": "2.6.9", 2923 | "depd": "2.0.0", 2924 | "destroy": "1.2.0", 2925 | "encodeurl": "~1.0.2", 2926 | "escape-html": "~1.0.3", 2927 | "etag": "~1.8.1", 2928 | "fresh": "0.5.2", 2929 | "http-errors": "2.0.0", 2930 | "mime": "1.6.0", 2931 | "ms": "2.1.3", 2932 | "on-finished": "2.4.1", 2933 | "range-parser": "~1.2.1", 2934 | "statuses": "2.0.1" 2935 | }, 2936 | "engines": { 2937 | "node": ">= 0.8.0" 2938 | } 2939 | }, 2940 | "node_modules/send/node_modules/ms": { 2941 | "version": "2.1.3", 2942 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2943 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 2944 | }, 2945 | "node_modules/serialize-javascript": { 2946 | "version": "6.0.0", 2947 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 2948 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 2949 | "dev": true, 2950 | "dependencies": { 2951 | "randombytes": "^2.1.0" 2952 | } 2953 | }, 2954 | "node_modules/serve-static": { 2955 | "version": "1.15.0", 2956 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 2957 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 2958 | "dependencies": { 2959 | "encodeurl": "~1.0.2", 2960 | "escape-html": "~1.0.3", 2961 | "parseurl": "~1.3.3", 2962 | "send": "0.18.0" 2963 | }, 2964 | "engines": { 2965 | "node": ">= 0.8.0" 2966 | } 2967 | }, 2968 | "node_modules/setprototypeof": { 2969 | "version": "1.2.0", 2970 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 2971 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 2972 | }, 2973 | "node_modules/side-channel": { 2974 | "version": "1.0.4", 2975 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 2976 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 2977 | "dependencies": { 2978 | "call-bind": "^1.0.0", 2979 | "get-intrinsic": "^1.0.2", 2980 | "object-inspect": "^1.9.0" 2981 | }, 2982 | "funding": { 2983 | "url": "https://github.com/sponsors/ljharb" 2984 | } 2985 | }, 2986 | "node_modules/signal-exit": { 2987 | "version": "3.0.7", 2988 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", 2989 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" 2990 | }, 2991 | "node_modules/slice-ansi": { 2992 | "version": "5.0.0", 2993 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", 2994 | "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", 2995 | "dependencies": { 2996 | "ansi-styles": "^6.0.0", 2997 | "is-fullwidth-code-point": "^4.0.0" 2998 | }, 2999 | "engines": { 3000 | "node": ">=12" 3001 | }, 3002 | "funding": { 3003 | "url": "https://github.com/chalk/slice-ansi?sponsor=1" 3004 | } 3005 | }, 3006 | "node_modules/smart-buffer": { 3007 | "version": "4.2.0", 3008 | "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", 3009 | "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", 3010 | "engines": { 3011 | "node": ">= 6.0.0", 3012 | "npm": ">= 3.0.0" 3013 | } 3014 | }, 3015 | "node_modules/socks": { 3016 | "version": "2.7.1", 3017 | "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", 3018 | "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", 3019 | "dependencies": { 3020 | "ip": "^2.0.0", 3021 | "smart-buffer": "^4.2.0" 3022 | }, 3023 | "engines": { 3024 | "node": ">= 10.13.0", 3025 | "npm": ">= 3.0.0" 3026 | } 3027 | }, 3028 | "node_modules/socks-proxy-agent": { 3029 | "version": "8.0.2", 3030 | "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", 3031 | "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", 3032 | "dependencies": { 3033 | "agent-base": "^7.0.2", 3034 | "debug": "^4.3.4", 3035 | "socks": "^2.7.1" 3036 | }, 3037 | "engines": { 3038 | "node": ">= 14" 3039 | } 3040 | }, 3041 | "node_modules/socks-proxy-agent/node_modules/debug": { 3042 | "version": "4.3.4", 3043 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 3044 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 3045 | "dependencies": { 3046 | "ms": "2.1.2" 3047 | }, 3048 | "engines": { 3049 | "node": ">=6.0" 3050 | }, 3051 | "peerDependenciesMeta": { 3052 | "supports-color": { 3053 | "optional": true 3054 | } 3055 | } 3056 | }, 3057 | "node_modules/socks-proxy-agent/node_modules/ms": { 3058 | "version": "2.1.2", 3059 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 3060 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 3061 | }, 3062 | "node_modules/socks/node_modules/ip": { 3063 | "version": "2.0.0", 3064 | "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", 3065 | "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" 3066 | }, 3067 | "node_modules/source-map": { 3068 | "version": "0.6.1", 3069 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 3070 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 3071 | "optional": true, 3072 | "engines": { 3073 | "node": ">=0.10.0" 3074 | } 3075 | }, 3076 | "node_modules/statuses": { 3077 | "version": "2.0.1", 3078 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 3079 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 3080 | "engines": { 3081 | "node": ">= 0.8" 3082 | } 3083 | }, 3084 | "node_modules/streamx": { 3085 | "version": "2.15.1", 3086 | "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.1.tgz", 3087 | "integrity": "sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==", 3088 | "dependencies": { 3089 | "fast-fifo": "^1.1.0", 3090 | "queue-tick": "^1.0.1" 3091 | } 3092 | }, 3093 | "node_modules/string-width": { 3094 | "version": "5.1.2", 3095 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 3096 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 3097 | "dependencies": { 3098 | "eastasianwidth": "^0.2.0", 3099 | "emoji-regex": "^9.2.2", 3100 | "strip-ansi": "^7.0.1" 3101 | }, 3102 | "engines": { 3103 | "node": ">=12" 3104 | }, 3105 | "funding": { 3106 | "url": "https://github.com/sponsors/sindresorhus" 3107 | } 3108 | }, 3109 | "node_modules/strip-ansi": { 3110 | "version": "7.1.0", 3111 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 3112 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 3113 | "dependencies": { 3114 | "ansi-regex": "^6.0.1" 3115 | }, 3116 | "engines": { 3117 | "node": ">=12" 3118 | }, 3119 | "funding": { 3120 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 3121 | } 3122 | }, 3123 | "node_modules/strip-json-comments": { 3124 | "version": "3.1.1", 3125 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 3126 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 3127 | "dev": true, 3128 | "engines": { 3129 | "node": ">=8" 3130 | }, 3131 | "funding": { 3132 | "url": "https://github.com/sponsors/sindresorhus" 3133 | } 3134 | }, 3135 | "node_modules/supports-color": { 3136 | "version": "8.1.1", 3137 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 3138 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 3139 | "dev": true, 3140 | "dependencies": { 3141 | "has-flag": "^4.0.0" 3142 | }, 3143 | "engines": { 3144 | "node": ">=10" 3145 | }, 3146 | "funding": { 3147 | "url": "https://github.com/chalk/supports-color?sponsor=1" 3148 | } 3149 | }, 3150 | "node_modules/tar-fs": { 3151 | "version": "3.0.4", 3152 | "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", 3153 | "integrity": "sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==", 3154 | "dependencies": { 3155 | "mkdirp-classic": "^0.5.2", 3156 | "pump": "^3.0.0", 3157 | "tar-stream": "^3.1.5" 3158 | } 3159 | }, 3160 | "node_modules/tar-stream": { 3161 | "version": "3.1.6", 3162 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz", 3163 | "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==", 3164 | "dependencies": { 3165 | "b4a": "^1.6.4", 3166 | "fast-fifo": "^1.2.0", 3167 | "streamx": "^2.15.0" 3168 | } 3169 | }, 3170 | "node_modules/through": { 3171 | "version": "2.3.8", 3172 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 3173 | "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" 3174 | }, 3175 | "node_modules/to-regex-range": { 3176 | "version": "5.0.1", 3177 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 3178 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 3179 | "dev": true, 3180 | "dependencies": { 3181 | "is-number": "^7.0.0" 3182 | }, 3183 | "engines": { 3184 | "node": ">=8.0" 3185 | } 3186 | }, 3187 | "node_modules/toidentifier": { 3188 | "version": "1.0.1", 3189 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 3190 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 3191 | "engines": { 3192 | "node": ">=0.6" 3193 | } 3194 | }, 3195 | "node_modules/tr46": { 3196 | "version": "0.0.3", 3197 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 3198 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" 3199 | }, 3200 | "node_modules/tslib": { 3201 | "version": "2.4.0", 3202 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", 3203 | "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" 3204 | }, 3205 | "node_modules/type-fest": { 3206 | "version": "1.4.0", 3207 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", 3208 | "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", 3209 | "engines": { 3210 | "node": ">=10" 3211 | }, 3212 | "funding": { 3213 | "url": "https://github.com/sponsors/sindresorhus" 3214 | } 3215 | }, 3216 | "node_modules/type-is": { 3217 | "version": "1.6.18", 3218 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 3219 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 3220 | "dependencies": { 3221 | "media-typer": "0.3.0", 3222 | "mime-types": "~2.1.24" 3223 | }, 3224 | "engines": { 3225 | "node": ">= 0.6" 3226 | } 3227 | }, 3228 | "node_modules/unbzip2-stream": { 3229 | "version": "1.4.3", 3230 | "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", 3231 | "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", 3232 | "dependencies": { 3233 | "buffer": "^5.2.1", 3234 | "through": "^2.3.8" 3235 | } 3236 | }, 3237 | "node_modules/universalify": { 3238 | "version": "0.1.2", 3239 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", 3240 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", 3241 | "engines": { 3242 | "node": ">= 4.0.0" 3243 | } 3244 | }, 3245 | "node_modules/unpipe": { 3246 | "version": "1.0.0", 3247 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 3248 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", 3249 | "engines": { 3250 | "node": ">= 0.8" 3251 | } 3252 | }, 3253 | "node_modules/urlpattern-polyfill": { 3254 | "version": "9.0.0", 3255 | "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-9.0.0.tgz", 3256 | "integrity": "sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g==" 3257 | }, 3258 | "node_modules/utils-merge": { 3259 | "version": "1.0.1", 3260 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 3261 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", 3262 | "engines": { 3263 | "node": ">= 0.4.0" 3264 | } 3265 | }, 3266 | "node_modules/vary": { 3267 | "version": "1.1.2", 3268 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 3269 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 3270 | "engines": { 3271 | "node": ">= 0.8" 3272 | } 3273 | }, 3274 | "node_modules/viem": { 3275 | "version": "1.11.0", 3276 | "resolved": "https://registry.npmjs.org/viem/-/viem-1.11.0.tgz", 3277 | "integrity": "sha512-k53ewCObCHMc5zex/lXB4+HeRW1NIlezqkR/S4OXKV5MZvltMYqsgKABuWVgiMdfIL/NvDjtIgwbaA24AAn31g==", 3278 | "funding": [ 3279 | { 3280 | "type": "github", 3281 | "url": "https://github.com/sponsors/wagmi-dev" 3282 | } 3283 | ], 3284 | "dependencies": { 3285 | "@adraffy/ens-normalize": "1.9.4", 3286 | "@noble/curves": "1.2.0", 3287 | "@noble/hashes": "1.3.2", 3288 | "@scure/bip32": "1.3.2", 3289 | "@scure/bip39": "1.2.1", 3290 | "@types/ws": "^8.5.5", 3291 | "abitype": "0.9.8", 3292 | "isomorphic-ws": "5.0.0", 3293 | "ws": "8.13.0" 3294 | }, 3295 | "peerDependencies": { 3296 | "typescript": ">=5.0.4" 3297 | }, 3298 | "peerDependenciesMeta": { 3299 | "typescript": { 3300 | "optional": true 3301 | } 3302 | } 3303 | }, 3304 | "node_modules/viem/node_modules/@adraffy/ens-normalize": { 3305 | "version": "1.9.4", 3306 | "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.9.4.tgz", 3307 | "integrity": "sha512-UK0bHA7hh9cR39V+4gl2/NnBBjoXIxkuWAPCaY4X7fbH4L/azIi7ilWOCjMUYfpJgraLUAqkRi2BqrjME8Rynw==" 3308 | }, 3309 | "node_modules/viem/node_modules/@noble/hashes": { 3310 | "version": "1.3.2", 3311 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", 3312 | "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", 3313 | "engines": { 3314 | "node": ">= 16" 3315 | }, 3316 | "funding": { 3317 | "url": "https://paulmillr.com/funding/" 3318 | } 3319 | }, 3320 | "node_modules/viem/node_modules/ws": { 3321 | "version": "8.13.0", 3322 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", 3323 | "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", 3324 | "engines": { 3325 | "node": ">=10.0.0" 3326 | }, 3327 | "peerDependencies": { 3328 | "bufferutil": "^4.0.1", 3329 | "utf-8-validate": ">=5.0.2" 3330 | }, 3331 | "peerDependenciesMeta": { 3332 | "bufferutil": { 3333 | "optional": true 3334 | }, 3335 | "utf-8-validate": { 3336 | "optional": true 3337 | } 3338 | } 3339 | }, 3340 | "node_modules/webidl-conversions": { 3341 | "version": "3.0.1", 3342 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 3343 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" 3344 | }, 3345 | "node_modules/whatwg-url": { 3346 | "version": "5.0.0", 3347 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", 3348 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", 3349 | "dependencies": { 3350 | "tr46": "~0.0.3", 3351 | "webidl-conversions": "^3.0.0" 3352 | } 3353 | }, 3354 | "node_modules/workerpool": { 3355 | "version": "6.2.1", 3356 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", 3357 | "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", 3358 | "dev": true 3359 | }, 3360 | "node_modules/wrap-ansi": { 3361 | "version": "8.1.0", 3362 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 3363 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 3364 | "dependencies": { 3365 | "ansi-styles": "^6.1.0", 3366 | "string-width": "^5.0.1", 3367 | "strip-ansi": "^7.0.1" 3368 | }, 3369 | "engines": { 3370 | "node": ">=12" 3371 | }, 3372 | "funding": { 3373 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 3374 | } 3375 | }, 3376 | "node_modules/wrappy": { 3377 | "version": "1.0.2", 3378 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3379 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" 3380 | }, 3381 | "node_modules/ws": { 3382 | "version": "8.14.2", 3383 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", 3384 | "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", 3385 | "engines": { 3386 | "node": ">=10.0.0" 3387 | }, 3388 | "peerDependencies": { 3389 | "bufferutil": "^4.0.1", 3390 | "utf-8-validate": ">=5.0.2" 3391 | }, 3392 | "peerDependenciesMeta": { 3393 | "bufferutil": { 3394 | "optional": true 3395 | }, 3396 | "utf-8-validate": { 3397 | "optional": true 3398 | } 3399 | } 3400 | }, 3401 | "node_modules/y18n": { 3402 | "version": "5.0.8", 3403 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 3404 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 3405 | "engines": { 3406 | "node": ">=10" 3407 | } 3408 | }, 3409 | "node_modules/yargs": { 3410 | "version": "16.2.0", 3411 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 3412 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 3413 | "dev": true, 3414 | "dependencies": { 3415 | "cliui": "^7.0.2", 3416 | "escalade": "^3.1.1", 3417 | "get-caller-file": "^2.0.5", 3418 | "require-directory": "^2.1.1", 3419 | "string-width": "^4.2.0", 3420 | "y18n": "^5.0.5", 3421 | "yargs-parser": "^20.2.2" 3422 | }, 3423 | "engines": { 3424 | "node": ">=10" 3425 | } 3426 | }, 3427 | "node_modules/yargs-parser": { 3428 | "version": "20.2.4", 3429 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 3430 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 3431 | "dev": true, 3432 | "engines": { 3433 | "node": ">=10" 3434 | } 3435 | }, 3436 | "node_modules/yargs-unparser": { 3437 | "version": "2.0.0", 3438 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 3439 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 3440 | "dev": true, 3441 | "dependencies": { 3442 | "camelcase": "^6.0.0", 3443 | "decamelize": "^4.0.0", 3444 | "flat": "^5.0.2", 3445 | "is-plain-obj": "^2.1.0" 3446 | }, 3447 | "engines": { 3448 | "node": ">=10" 3449 | } 3450 | }, 3451 | "node_modules/yargs/node_modules/ansi-regex": { 3452 | "version": "5.0.1", 3453 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 3454 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 3455 | "dev": true, 3456 | "engines": { 3457 | "node": ">=8" 3458 | } 3459 | }, 3460 | "node_modules/yargs/node_modules/emoji-regex": { 3461 | "version": "8.0.0", 3462 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 3463 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 3464 | "dev": true 3465 | }, 3466 | "node_modules/yargs/node_modules/is-fullwidth-code-point": { 3467 | "version": "3.0.0", 3468 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 3469 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 3470 | "dev": true, 3471 | "engines": { 3472 | "node": ">=8" 3473 | } 3474 | }, 3475 | "node_modules/yargs/node_modules/string-width": { 3476 | "version": "4.2.3", 3477 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 3478 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 3479 | "dev": true, 3480 | "dependencies": { 3481 | "emoji-regex": "^8.0.0", 3482 | "is-fullwidth-code-point": "^3.0.0", 3483 | "strip-ansi": "^6.0.1" 3484 | }, 3485 | "engines": { 3486 | "node": ">=8" 3487 | } 3488 | }, 3489 | "node_modules/yargs/node_modules/strip-ansi": { 3490 | "version": "6.0.1", 3491 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 3492 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 3493 | "dev": true, 3494 | "dependencies": { 3495 | "ansi-regex": "^5.0.1" 3496 | }, 3497 | "engines": { 3498 | "node": ">=8" 3499 | } 3500 | }, 3501 | "node_modules/yauzl": { 3502 | "version": "2.10.0", 3503 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", 3504 | "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", 3505 | "dependencies": { 3506 | "buffer-crc32": "~0.2.3", 3507 | "fd-slicer": "~1.1.0" 3508 | } 3509 | }, 3510 | "node_modules/yocto-queue": { 3511 | "version": "0.1.0", 3512 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 3513 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 3514 | "dev": true, 3515 | "engines": { 3516 | "node": ">=10" 3517 | }, 3518 | "funding": { 3519 | "url": "https://github.com/sponsors/sindresorhus" 3520 | } 3521 | } 3522 | } 3523 | } 3524 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "post-tech-bot", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "type": "module", 7 | "license": "AGPL-version-3.0", 8 | "private": false, 9 | "engines": { 10 | "node": ">= 14.0.0", 11 | "npm": ">= 6.0.0" 12 | }, 13 | "homepage": "", 14 | "repository": { 15 | "type": "git", 16 | "url": "" 17 | }, 18 | "bugs": "", 19 | "keywords": [], 20 | "author": { 21 | "name": "miles", 22 | "email": "zmzimpl@gmail.com", 23 | "url": "https://twitter.com/zmzimpl" 24 | }, 25 | "contributors": [], 26 | "scripts": { 27 | "test": "mocha --no-warnings --experimental-specifier-resolution=node", 28 | "start": "node --no-warnings --experimental-specifier-resolution=node index.js" 29 | }, 30 | "dependencies": { 31 | "axios": "^1.5.0", 32 | "bignumber.js": "^9.1.2", 33 | "chalk": "^5.3.0", 34 | "console-stamp": "^3.1.2", 35 | "ethers": "^6.7.1", 36 | "express": "^4.18.2", 37 | "figlet": "^1.6.0", 38 | "lodash": "^4.17.21", 39 | "log-update": "^5.0.1", 40 | "puppeteer": "^21.2.0", 41 | "puppeteer-core": "^21.2.0", 42 | "readline-sync": "^1.4.10", 43 | "socks-proxy-agent": "^8.0.2", 44 | "viem": "1.11.0", 45 | "ws": "^8.14.1" 46 | }, 47 | "devDependencies": { 48 | "mocha": "^10.2.0" 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /strategy/buy.js: -------------------------------------------------------------------------------- 1 | import { STRATEGY_OPERATORS, STRATEGY_TYPES } from "../constants/index.js"; 2 | import chalk from "chalk"; 3 | import { readFileSync, promises, existsSync, writeFileSync } from "fs"; 4 | import { getDir } from "../utils/getDir.js"; 5 | 6 | /** 7 | * 购买策略 8 | * 涉及价格,金额的单位统一为 ETH 9 | */ 10 | export const BuyStrategy = { 11 | operator: STRATEGY_OPERATORS.OR, 12 | conditions: [ 13 | { 14 | operator: STRATEGY_OPERATORS.AND, 15 | conditions: [ 16 | // 价格 17 | { type: STRATEGY_TYPES.KEY_PRICE, value: 0.00008 }, 18 | // 推特关注数 19 | { type: STRATEGY_TYPES.TWITTER_FOLLOWERS, value: 500 }, 20 | // 推特文章数 21 | { type: STRATEGY_TYPES.TWITTER_POSTS, value: 20 }, 22 | // 推特平均阅读量(如果关注数设置得比较小,阅读量和 like 量建议设置为 0,因为这类蓝V可能获取不到阅读数) 23 | { type: STRATEGY_TYPES.TWITTER_VIEWS, value: 0 }, 24 | // 推特推特平均 Like 量 25 | { type: STRATEGY_TYPES.TWITTER_FAVS, value: 0 }, 26 | ], 27 | }, 28 | { 29 | operator: STRATEGY_OPERATORS.AND, 30 | conditions: [ 31 | // 价格 32 | { type: STRATEGY_TYPES.KEY_PRICE, value: 0.0002 }, 33 | // 推特关注数 34 | { type: STRATEGY_TYPES.TWITTER_FOLLOWERS, value: 1000 }, 35 | // 推特文章数 36 | { type: STRATEGY_TYPES.TWITTER_POSTS, value: 100 }, 37 | // 推特平均阅读量 38 | { type: STRATEGY_TYPES.TWITTER_VIEWS, value: 500 }, 39 | // 推特推特平均 Like 量 40 | { type: STRATEGY_TYPES.TWITTER_FAVS, value: 30 }, 41 | ], 42 | }, 43 | { 44 | // 白名单 45 | type: STRATEGY_TYPES.WHITELIST, 46 | whitelist: [ 47 | // { username: "zmzimpl", maxPrice: 0.0005, buyAmount: 1 }, 48 | // { username: "elonmusk", maxPrice: 0.05, buyAmount: 2 }, 49 | ], 50 | }, 51 | ], 52 | onlyBuyBlueVerified: true, 53 | // 如果一个 key 是由 bots 列表内的地址出售的,不考虑买入 54 | skipSoldByBot: true, 55 | // 禁止多次买入同一个 share 56 | disabledMultiBuy: true, 57 | }; 58 | /** 不自动购买的地址, 可以把一些假号或者买过了知道会亏的放这里面 */ 59 | const notBuyList = []; 60 | 61 | export const BOT_JUDGED_NONCE = 300; 62 | 63 | export const couldBeBought = ({ subject, trader, isBuy }, bots) => { 64 | const blockList = notBuyList.concat(bots); 65 | const isInBlockList = blockList.some((address) => { 66 | const isBlock = address.toLowerCase() === subject.toLowerCase(); 67 | const isSoldByBot = 68 | BuyStrategy.skipSoldByBot && 69 | !isBuy && 70 | trader && 71 | trader.toLowerCase() === address.toLowerCase(); 72 | if (isBlock) { 73 | console.log(chalk.yellow(`${subject} in block list, skip...`)); 74 | } 75 | if (isSoldByBot) { 76 | console.log(chalk.yellow(`bot ${subject} sold, skip...`)); 77 | } 78 | return isBlock || isSoldByBot; 79 | }); 80 | 81 | let holdings = []; 82 | if (existsSync(getDir("holdings.json"))) { 83 | const rawData = readFileSync(getDir("holdings.json"), "utf-8"); 84 | holdings = JSON.parse(rawData); 85 | } 86 | const alreadyBuy = 87 | BuyStrategy.disabledMultiBuy && holdings.find((f) => f.share === subject); 88 | 89 | console.log("isAlreadyBuy", alreadyBuy ? true : false); 90 | return !isInBlockList && !alreadyBuy; 91 | }; 92 | 93 | const evaluateCondition = (condition, twitterInfo, shareInfo) => { 94 | switch (condition.type) { 95 | case STRATEGY_TYPES.TWITTER_VIEWS: 96 | return twitterInfo.viewAvg >= condition.value; 97 | case STRATEGY_TYPES.TWITTER_FAVS: 98 | return twitterInfo.favoriteAvg >= condition.value; 99 | case STRATEGY_TYPES.TWITTER_FOLLOWERS: 100 | return twitterInfo.followers >= condition.value; 101 | case STRATEGY_TYPES.TWITTER_POSTS: 102 | return twitterInfo.posts >= condition.value; 103 | case STRATEGY_TYPES.KEY_PRICE: 104 | return shareInfo.price < condition.value; 105 | case STRATEGY_TYPES.WHITELIST: 106 | const user = condition.whitelist.find( 107 | (u) => u.username === shareInfo.username 108 | ); 109 | return user && shareInfo.price <= user.maxPrice; 110 | default: 111 | throw new Error("Unknown condition type"); 112 | } 113 | }; 114 | 115 | const evaluateStrategy = (strategy, twitterInfo, shareInfo) => { 116 | if (strategy.operator) { 117 | if (strategy.operator === STRATEGY_OPERATORS.AND) { 118 | return strategy.conditions.every((condition) => 119 | evaluateStrategy(condition, twitterInfo, shareInfo) 120 | ); 121 | } else if (strategy.operator === STRATEGY_OPERATORS.OR) { 122 | return strategy.conditions.some((condition) => 123 | evaluateStrategy(condition, twitterInfo, shareInfo) 124 | ); 125 | } else { 126 | throw new Error("Unknown operator"); 127 | } 128 | } else { 129 | return evaluateCondition(strategy, twitterInfo, shareInfo); 130 | } 131 | }; 132 | 133 | const extractPricesFromStrategy = (strategy) => { 134 | let prices = []; 135 | 136 | if (strategy.conditions) { 137 | for (let condition of strategy.conditions) { 138 | if (condition.type === STRATEGY_TYPES.KEY_PRICE) { 139 | prices.push(condition.value); 140 | } else if (condition.type === STRATEGY_TYPES.WHITELIST) { 141 | for (let user of condition.whitelist) { 142 | prices.push(user.maxPrice); 143 | } 144 | } else if (condition.operator) { 145 | // AND or OR conditions 146 | prices = prices.concat(extractPricesFromStrategy(condition)); 147 | } 148 | } 149 | } 150 | 151 | return prices; 152 | }; 153 | 154 | export const isWhitelisted = (shareInfo) => { 155 | const whitelistedUser = BuyStrategy.conditions.find( 156 | (condition) => condition.type === STRATEGY_TYPES.WHITELIST 157 | ); 158 | if (!whitelistedUser) return false; 159 | 160 | const user = whitelistedUser.whitelist.find( 161 | (u) => u.username === shareInfo.username 162 | ); 163 | 164 | return user; 165 | }; 166 | 167 | export const shouldFetchPrice = (twitterInfo, shareInfo) => { 168 | return evaluateStrategy(BuyStrategy, twitterInfo, shareInfo); 169 | }; 170 | 171 | export const shouldBuy = (twitterInfo, shareInfo) => { 172 | return evaluateStrategy(BuyStrategy, twitterInfo, shareInfo); 173 | }; 174 | 175 | export const getMaxPrice = () => { 176 | const prices = extractPricesFromStrategy(BuyStrategy); 177 | return Math.max(...prices); 178 | }; 179 | 180 | const containsTwitterConditions = (strategy) => { 181 | if (strategy.conditions) { 182 | for (let condition of strategy.conditions) { 183 | if ( 184 | condition.type === STRATEGY_TYPES.TWITTER_FOLLOWERS || 185 | condition.type === STRATEGY_TYPES.TWITTER_POSTS 186 | ) { 187 | return true; 188 | } 189 | if (condition.operator && containsTwitterConditions(condition)) { 190 | // 如果是 AND 或 OR 条件 191 | return true; 192 | } 193 | } 194 | } 195 | return false; 196 | }; 197 | const containsTwitterViewConditions = (strategy) => { 198 | if (strategy.conditions) { 199 | for (let condition of strategy.conditions) { 200 | if ( 201 | condition.type === STRATEGY_TYPES.TWITTER_VIEWS || 202 | condition.type === STRATEGY_TYPES.TWITTER_FAVS 203 | ) { 204 | return true; 205 | } 206 | if (condition.operator && containsTwitterConditions(condition)) { 207 | // 如果是 AND 或 OR 条件 208 | return true; 209 | } 210 | } 211 | } 212 | return false; 213 | }; 214 | 215 | export const shouldFetchTwitterInfo = (accountInfo, shareInfo) => { 216 | return containsTwitterConditions(BuyStrategy); 217 | }; 218 | 219 | export const shouldFetchTwitterViewInfo = () => { 220 | return containsTwitterViewConditions(BuyStrategy); 221 | }; 222 | -------------------------------------------------------------------------------- /strategy/index.js: -------------------------------------------------------------------------------- 1 | export { 2 | isWhitelisted, 3 | shouldFetchPrice, 4 | shouldBuy, 5 | getMaxPrice, 6 | couldBeBought, 7 | BuyStrategy, 8 | BOT_JUDGED_NONCE, 9 | shouldFetchTwitterViewInfo, 10 | } from "./buy.js"; 11 | export { couldBeSold, shouldSell } from "./sell.js"; 12 | -------------------------------------------------------------------------------- /strategy/sell.js: -------------------------------------------------------------------------------- 1 | import { STRATEGY_OPERATORS, STRATEGY_TYPES } from "../constants/index.js"; 2 | 3 | /** 4 | * 卖出策略 5 | * 利润单位为 USD 6 | */ 7 | const sellStrategy = { 8 | operator: STRATEGY_OPERATORS.OR, 9 | conditions: [ 10 | // 利润大于 10 USD 才卖出 11 | { type: STRATEGY_TYPES.BENEFIT, value: 100 }, 12 | // 持有时间超过多少小时后不管盈亏直接卖出(暂不支持) 13 | // { type: STRATEGY_TYPES.HOLDING_DURATION, value: 240 }, 14 | ], 15 | specifies: [ 16 | { 17 | addresses: ["0x634b5B0D940f6A4C48d5E6180a47EBb543a23F46"], 18 | strategy: { 19 | operator: STRATEGY_OPERATORS.AND, 20 | // 指定某些地址利润大于 100USD 并且持有时长超过 24 小时才卖出 21 | conditions: [ 22 | { type: STRATEGY_TYPES.BENEFIT, value: 100 }, 23 | { type: STRATEGY_TYPES.HOLDING_DURATION, value: 24 }, 24 | ], 25 | }, 26 | }, 27 | ], 28 | }; 29 | 30 | /** 不自动出售的名单 */ 31 | const notSellList = []; 32 | 33 | /** 传递钱包地址过来,默认不卖出自己的 */ 34 | export const couldBeSold = (walletAddress, subject) => { 35 | const isIn = notSellList.some( 36 | (address) => address.toLowerCase() === subject.toLowerCase() 37 | ); 38 | if (walletAddress.toLowerCase() === subject.toLowerCase() || isIn) { 39 | return false; 40 | } else { 41 | return true; 42 | } 43 | }; 44 | 45 | const evaluateStrategy = (strategy, profit) => { 46 | if (strategy.type) { 47 | switch (strategy.type) { 48 | case STRATEGY_TYPES.BENEFIT: 49 | return profit > strategy.value; 50 | // case STRATEGY_TYPES.HOLDING_DURATION: 51 | // return holdingDuration > strategy.value; 52 | // ... 其他策略类型判断 53 | default: 54 | return false; 55 | } 56 | } 57 | 58 | if (strategy.operator === STRATEGY_OPERATORS.OR) { 59 | for (let condition of strategy.conditions) { 60 | if (evaluateStrategy(condition, profit)) { 61 | return true; 62 | } 63 | } 64 | } else if (strategy.operator === STRATEGY_OPERATORS.AND) { 65 | for (let condition of strategy.conditions) { 66 | if (!evaluateStrategy(condition, profit)) { 67 | return false; 68 | } 69 | } 70 | return true; 71 | } 72 | 73 | return false; 74 | }; 75 | 76 | export const shouldSell = (subject, profit) => { 77 | // 检查是否地址在 specifies 中 78 | for (let specify of sellStrategy.specifies) { 79 | if ( 80 | specify.addresses.some( 81 | (address) => address.toLowerCase() === subject.toLowerCase() 82 | ) 83 | ) { 84 | return evaluateStrategy(specify.strategy, profit); 85 | } 86 | } 87 | 88 | // 如果地址不在 specifies 中, 使用默认策略 89 | return evaluateStrategy(sellStrategy, profit); 90 | }; 91 | -------------------------------------------------------------------------------- /utils/chalk.js: -------------------------------------------------------------------------------- 1 | import { Chalk } from "chalk"; 2 | 3 | export const chalk = new Chalk({ level: 2 }); 4 | -------------------------------------------------------------------------------- /utils/date.js: -------------------------------------------------------------------------------- 1 | // Format date like console-stamp 2 | export const formatDate = (date) => { 3 | const year = date.getFullYear(); 4 | const month = (date.getMonth() + 1).toString().padStart(2, "0"); // Add 1 because months are zero-indexed 5 | const day = date.getDate().toString().padStart(2, "0"); 6 | const hours = date.getHours().toString().padStart(2, "0"); 7 | const minutes = date.getMinutes().toString().padStart(2, "0"); 8 | const seconds = date.getSeconds().toString().padStart(2, "0"); 9 | 10 | return `${year}/${month}/${day} ${hours}:${minutes}:${seconds}`; 11 | }; 12 | -------------------------------------------------------------------------------- /utils/decrypt.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | export const decrypt = (text, password1, password2) => { 3 | let iv = password2; 4 | if (iv.length < 16) { 5 | iv = iv.padEnd(16, "0"); 6 | } 7 | let key = password1 + password2; 8 | if (key.length < 32) { 9 | key = key.padEnd(32, "0"); 10 | } 11 | const decipher = crypto.createDecipheriv( 12 | "aes-256-cbc", 13 | Buffer.from(key), 14 | Buffer.from(iv) 15 | ); 16 | let decrypted = decipher.update(Buffer.from(text, "hex")); 17 | decrypted = Buffer.concat([decrypted, decipher.final()]); 18 | return decrypted.toString(); 19 | } 20 | 21 | // console.log(decrypt('your key', 'password1', 'password2')); -------------------------------------------------------------------------------- /utils/encrypt.js: -------------------------------------------------------------------------------- 1 | import crypto from "crypto"; 2 | 3 | // 加密 4 | export const encrypt = (text, password1, password2) => { 5 | let iv = password2; 6 | if (iv.length < 16) { 7 | iv = iv.padEnd(16, "0"); 8 | } 9 | let key = password1 + password2; 10 | if (key.length < 32) { 11 | key = key.padEnd(32, "0"); 12 | } 13 | const cipher = crypto.createCipheriv( 14 | "aes-256-cbc", 15 | Buffer.from(key), 16 | Buffer.from(iv) 17 | ); 18 | let encrypted = cipher.update(text); 19 | encrypted = Buffer.concat([encrypted, cipher.final()]); 20 | return encrypted.toString("hex"); 21 | }; 22 | 23 | // console.log(encrypt('your key', 'password1', 'password2')); 24 | -------------------------------------------------------------------------------- /utils/getDir.js: -------------------------------------------------------------------------------- 1 | import path from "path"; 2 | import { fileURLToPath } from "url"; 3 | 4 | export const getDir = (file) => 5 | path.resolve(fileURLToPath(import.meta.url), "../..", file); 6 | -------------------------------------------------------------------------------- /utils/getProp.js: -------------------------------------------------------------------------------- 1 | export const getPropByStringPath = (obj, path) => { 2 | const parts = path.split("."); 3 | let current = obj; 4 | 5 | for (let i = 0; i < parts.length; i++) { 6 | if (current === null || typeof current !== "object") { 7 | return undefined; 8 | } 9 | 10 | // Check if the current part is an array index 11 | const arrayMatch = parts[i].match(/(\w+)\[(\d+)\]/); 12 | if (arrayMatch) { 13 | const arrayName = arrayMatch[1]; 14 | const index = parseInt(arrayMatch[2], 10); 15 | if ( 16 | Array.isArray(current[arrayName]) && 17 | index < current[arrayName].length 18 | ) { 19 | current = current[arrayName][index]; 20 | } else { 21 | return undefined; 22 | } 23 | } else { 24 | current = current[parts[i]]; 25 | } 26 | } 27 | 28 | return current; 29 | }; 30 | -------------------------------------------------------------------------------- /utils/index.js: -------------------------------------------------------------------------------- 1 | export { chalk } from "./chalk.js"; 2 | 3 | export { formatDate } from "./date.js"; 4 | export { randfloat, randint } from "./rand.js"; 5 | export { sleep } from "./sleep.js"; 6 | 7 | export { getDir } from "./getDir.js"; 8 | export { getPropByStringPath } from "./getProp.js"; 9 | 10 | export { logIntro, logWork, logLoader } from "./log.js"; 11 | 12 | export { getUserInfo } from "./twitter-count.js"; 13 | export { decrypt } from "./decrypt.js"; 14 | export { encrypt } from "./encrypt.js"; 15 | -------------------------------------------------------------------------------- /utils/log.js: -------------------------------------------------------------------------------- 1 | import figlet from "figlet"; 2 | import logUpdate from "log-update"; 3 | 4 | import { chalk } from "./chalk.js"; 5 | import { formatDate } from "./date.js"; 6 | import { sleep } from "./sleep.js"; 7 | import { actionToColor } from "../constants/actionToColor.js"; 8 | import { LOADER_FRAMES } from "../constants/index.js"; 9 | 10 | export const logIntro = () => { 11 | console.log( 12 | `\n${chalk.cyanBright( 13 | figlet.textSync("MILES", { 14 | font: "Alligator", 15 | horizontalLayout: "default", 16 | verticalLayout: "default", 17 | width: 150, 18 | whitespaceBreak: true, 19 | }) 20 | )}\n` 21 | ); 22 | console.log( 23 | chalk.cyanBright.bold( 24 | `👽 Supports: Twitter followers check, Pending tx watching, Auto sell if profitable. 25 | ❤️ Follow me on Twitter if you find it helpful: @zmzimpl ` 26 | ) 27 | ); 28 | }; 29 | export const logWork = ({ walletAddress, actionName, subject, price }) => { 30 | console.log( 31 | `${chalk.cyanBright( 32 | `[LOG ${walletAddress.slice(0, 6)}..${walletAddress.slice(-3)}]` 33 | )} ${actionToColor[actionName]( 34 | actionName.toUpperCase() 35 | )} > ${subject} - ${price}` 36 | ); 37 | }; 38 | 39 | export const logLoader = async ({ loadingText, successText }, fn) => { 40 | let i = 0; 41 | const interval = setInterval(() => { 42 | logUpdate( 43 | `[${formatDate(new Date())}] ` + 44 | chalk.gray( 45 | `${loadingText} ${LOADER_FRAMES[(i = ++i % LOADER_FRAMES.length)]}` 46 | ) 47 | ); 48 | }, 100); 49 | await fn(); 50 | clearInterval(interval); 51 | if (successText) { 52 | logUpdate(`[${formatDate(new Date())}] ` + chalk.green(successText)); 53 | } 54 | }; 55 | 56 | export const logClock = async ({ waitingText, endText, timeout }, fn) => { 57 | let i = 0; 58 | 59 | const interval = setInterval(() => { 60 | timeout = timeout - 1; 61 | logUpdate( 62 | `[${formatDate(new Date())}] ` + 63 | chalk.gray( 64 | `${waitingText}, after ${timeout} seconds ${ 65 | LOADER_FRAMES[(i = ++i % LOADER_FRAMES.length)] 66 | }` 67 | ) 68 | ); 69 | }, 1000); 70 | await sleep(timeout); 71 | clearInterval(interval); 72 | await fn(); 73 | logUpdate(`[${formatDate(new Date())}] ` + chalk.green(endText)); 74 | }; 75 | -------------------------------------------------------------------------------- /utils/rand.js: -------------------------------------------------------------------------------- 1 | export const randfloat = (min, max) => { 2 | if (min > max) { 3 | [min, max] = [max, min]; 4 | } 5 | 6 | return Math.random() * (max - min) + min; 7 | }; 8 | export const randint = (min, max) => { 9 | if (min > max) { 10 | [min, max] = [max, min]; 11 | } 12 | 13 | return Math.floor(Math.random() * (max - min + 1)) + min; 14 | }; 15 | -------------------------------------------------------------------------------- /utils/sleep.js: -------------------------------------------------------------------------------- 1 | export const sleep = async (seconds) => 2 | new Promise((resolve) => 3 | setTimeout(() => { 4 | // @ts-ignore 5 | resolve(); 6 | }, seconds * 1000) 7 | ); 8 | -------------------------------------------------------------------------------- /utils/twitter-count.js: -------------------------------------------------------------------------------- 1 | import puppeteer from "puppeteer"; 2 | import { sleep, getPropByStringPath, getDir } from "./index.js"; 3 | import axios from "axios"; 4 | import fs from "fs"; 5 | import { authorization } from "../constants/oauth.js"; 6 | import { BuyStrategy, shouldFetchTwitterViewInfo } from "../strategy/buy.js"; 7 | 8 | let guestToken; 9 | const guestTokenMap = JSON.parse(fs.readFileSync("guest-tokens.json", "utf-8")); 10 | let userCacheMap = {}; 11 | setInterval(() => { 12 | userCacheMap = {}; 13 | }, 1000 * 60 * 30); 14 | 15 | export async function fetchEntriesInfo(userId, guestToken) { 16 | const url = `https://twitter.com/i/api/graphql/S1oSH7OJKAdzafiVzZqz1Q/UserTweets?variables=%7B%22userId%22%3A%22${userId}%22%2C%22count%22%3A20%2C%22includePromotedContent%22%3Atrue%2C%22withQuickPromoteEligibilityTweetFields%22%3Atrue%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D&features=%7B%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Atrue%2C%22responsive_web_twitter_article_tweet_consumption_enabled%22%3Afalse%2C%22tweet_awards_web_tipping_enabled%22%3Afalse%2C%22freedom_of_speech_not_reach_fetch_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Atrue%2C%22longform_notetweets_rich_text_read_enabled%22%3Atrue%2C%22longform_notetweets_inline_media_enabled%22%3Atrue%2C%22responsive_web_media_download_video_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D`; 17 | 18 | const res = await axios.get(url, { 19 | headers: { 20 | accept: "*/*", 21 | "accept-language": "zh-CN,zh;q=0.9", 22 | authorization: authorization, 23 | "content-type": "application/json", 24 | "sec-ch-ua": 25 | '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"', 26 | "sec-ch-ua-mobile": "?0", 27 | "sec-ch-ua-platform": '"Windows"', 28 | "sec-fetch-dest": "empty", 29 | "sec-fetch-mode": "cors", 30 | "sec-fetch-site": "same-origin", 31 | "x-guest-token": `${guestToken}`, 32 | "x-twitter-active-user": "yes", 33 | "x-twitter-client-language": "zh-cn", 34 | }, 35 | withCredentials: true, 36 | timeout: 6000, 37 | }); 38 | 39 | const instructions = getPropByStringPath( 40 | res.data, 41 | "data.user.result.timeline_v2.timeline.instructions" 42 | ); 43 | const entries = 44 | instructions.find((f) => f.type === "TimelineAddEntries")?.entries || []; 45 | const views = []; 46 | const favorites = []; 47 | 48 | for (let index = 0; index < entries.length; index++) { 49 | const entry = entries[index]; 50 | const isTweet = 51 | entry.entryId?.includes("tweet-") && 52 | entry.content.entryType === "TimelineTimelineItem"; 53 | 54 | if (isTweet) { 55 | const isAuthor = 56 | getPropByStringPath( 57 | entry, 58 | "content.itemContent.tweet_results.result.legacy.user_id_str" 59 | ) == userId; 60 | if (isAuthor) { 61 | const viewCount = getPropByStringPath( 62 | entry, 63 | "content.itemContent.tweet_results.result.views.count" 64 | ); 65 | const legacy = getPropByStringPath( 66 | entry, 67 | "content.itemContent.tweet_results.result.legacy" 68 | ); 69 | const favoriteCount = legacy.favorite_count; 70 | if (viewCount) { 71 | views.push(+viewCount); 72 | } 73 | if (favoriteCount) { 74 | favorites.push(favoriteCount); 75 | } 76 | } 77 | } 78 | } 79 | console.log( 80 | "views data: ", 81 | JSON.stringify(views), 82 | `from ${views.length} posts` 83 | ); 84 | console.log( 85 | "favorites data: ", 86 | JSON.stringify(favorites), 87 | `from ${favorites.length} posts` 88 | ); 89 | return { 90 | viewAvg: views.length 91 | ? Math.floor(views.reduce((a, b) => a + b) / views.length) 92 | : 0, 93 | favoriteAvg: favorites.length 94 | ? Math.floor(favorites.reduce((a, b) => a + b) / favorites.length) 95 | : 0, 96 | }; 97 | } 98 | 99 | export async function callTwitterApi(username, guestToken) { 100 | const url = `https://twitter.com/i/api/graphql/G3KGOASz96M-Qu0nwmGXNg/UserByScreenName?variables=%7B%22screen_name%22%3A%22${username}%22%2C%22withSafetyModeUserFields%22%3Atrue%7D&features=%7B%22hidden_profile_likes_enabled%22%3Atrue%2C%22hidden_profile_subscriptions_enabled%22%3Atrue%2C%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22subscriptions_verification_info_is_identity_verified_enabled%22%3Atrue%2C%22subscriptions_verification_info_verified_since_enabled%22%3Atrue%2C%22highlights_tweets_tab_ui_enabled%22%3Atrue%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%7D&fieldToggles=%7B%22withAuxiliaryUserLabels%22%3Afalse%7D`; 101 | 102 | const res = await axios.get(url, { 103 | headers: { 104 | accept: "*/*", 105 | "accept-language": "zh-CN,zh;q=0.9", 106 | authorization: authorization, 107 | "content-type": "application/json", 108 | "sec-ch-ua": 109 | '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"', 110 | "sec-ch-ua-mobile": "?0", 111 | "sec-ch-ua-platform": '"Windows"', 112 | "sec-fetch-dest": "empty", 113 | "sec-fetch-mode": "cors", 114 | "sec-fetch-site": "same-origin", 115 | "x-guest-token": `${guestToken}`, 116 | "x-twitter-active-user": "yes", 117 | "x-twitter-client-language": "zh-cn", 118 | }, 119 | withCredentials: true, 120 | timeout: 5000, 121 | }); 122 | const isBlueVerified = getPropByStringPath( 123 | res.data, 124 | "data.user.result.is_blue_verified" 125 | ); 126 | const userId = getPropByStringPath(res.data, "data.user.result.rest_id"); 127 | const userInfo = getPropByStringPath(res.data, "data.user.result.legacy"); 128 | if (userInfo) { 129 | if ( 130 | isBlueVerified && 131 | BuyStrategy.onlyBuyBlueVerified && 132 | shouldFetchTwitterViewInfo() 133 | ) { 134 | const entriesInfo = await fetchEntriesInfo(userId, guestToken); 135 | Object.assign(userInfo, { ...entriesInfo }); 136 | } 137 | userInfo.isBlueVerified = isBlueVerified; 138 | return userInfo; 139 | } else { 140 | return {}; 141 | } 142 | } 143 | 144 | export async function getGuestToken() { 145 | const headers = { 146 | Authorization: authorization, 147 | }; 148 | try { 149 | const response = await axios.post( 150 | "https://api.twitter.com/1.1/guest/activate.json", 151 | {}, 152 | { headers: headers } 153 | ); 154 | 155 | if (response.data && response.data.guest_token) { 156 | return response.data.guest_token; 157 | } else { 158 | console.error("Failed to get guest token:", response.data); 159 | return null; 160 | } 161 | } catch (error) { 162 | console.error("Error fetching guest token:", error.message); 163 | return null; 164 | } 165 | } 166 | 167 | async function getTwitterUserInfoUseApi(username) { 168 | if (!guestToken || (guestToken && guestTokenMap[guestToken] > 60)) { 169 | guestToken = await getGuestToken(); 170 | } 171 | let retry = 0; 172 | const fn = async () => { 173 | if (guestToken) { 174 | try { 175 | if (userCacheMap[username]) { 176 | return userCacheMap[username]; 177 | } else { 178 | const user = await callTwitterApi(username, guestToken); 179 | if (user) { 180 | userCacheMap[username] = user; 181 | } 182 | 183 | if (guestTokenMap[guestToken] !== undefined) { 184 | guestTokenMap[guestToken] += 1; 185 | } else { 186 | guestTokenMap[guestToken] = 1; 187 | } 188 | fs.writeFileSync( 189 | getDir("guest-tokens.json"), 190 | JSON.stringify(guestTokenMap, null, 2) 191 | ); 192 | return user; 193 | } 194 | } catch (error) { 195 | console.log("error", error.code); 196 | if (retry < 3) { 197 | await sleep(5); 198 | guestToken = await getGuestToken(); 199 | retry++; 200 | return await fn(); 201 | } else { 202 | // 如果所有尝试都失败,返回一个空响应 203 | return {}; 204 | } 205 | } 206 | } 207 | }; 208 | return await fn(); 209 | } 210 | 211 | async function getTwitterUserInfoUsePuppeteer(username) { 212 | const browser = await puppeteer.launch({ 213 | headless: "new", 214 | args: ["--no-sandbox"], 215 | }); 216 | const browserProcess = browser.process(); 217 | try { 218 | const page = await browser.newPage(); 219 | let userInfo; 220 | 221 | let fetching = true; 222 | page.setDefaultTimeout(30000); 223 | page.setDefaultNavigationTimeout(30000); 224 | await page.setRequestInterception(true); 225 | 226 | page.on("request", (request) => { 227 | if (["image", "media"].includes(request.resourceType())) { 228 | // 如果是图像或媒体请求,就拦截 229 | request.abort(); 230 | } else { 231 | request.continue(); 232 | } 233 | }); 234 | // 监听网络响应 235 | page.on("response", async (response) => { 236 | if (response.url().includes("UserByScreenName")) { 237 | try { 238 | const data = await response.json(); 239 | userInfo = getPropByStringPath(data, "data.user.result.legacy"); 240 | fetching = false; 241 | } catch (error) { 242 | fetching = false; 243 | } 244 | } 245 | }); 246 | await page.goto(`https://mobile.twitter.com/${username}`); 247 | let sleepTime = 0; 248 | while (fetching && sleepTime < 20) { 249 | sleepTime += 0.1; 250 | await sleep(0.1); 251 | } 252 | 253 | await browser.close(); 254 | // if (browserProcess?.pid) { 255 | // process.kill(browserProcess.pid); 256 | // } 257 | if (userInfo) { 258 | return userInfo; 259 | } 260 | return {}; 261 | } catch (error) { 262 | console.log("getTwitterUserInfo failed", error.message); 263 | if (browserProcess?.pid) { 264 | process.kill(browserProcess.pid); 265 | } 266 | if (browser) { 267 | await browser.close(); 268 | return {}; 269 | } 270 | } 271 | } 272 | 273 | export const getUserInfo = async (username) => { 274 | try { 275 | let data; 276 | if (process.env.useTwitterAPI) { 277 | data = await getTwitterUserInfoUseApi(username); 278 | } else { 279 | data = await getTwitterUserInfoUsePuppeteer(username); 280 | } 281 | return data; 282 | } catch (error) { 283 | console.log("getUserInfo failed", error); 284 | await sleep(3); 285 | return {}; 286 | } 287 | }; 288 | -------------------------------------------------------------------------------- /wallet.example.json: -------------------------------------------------------------------------------- 1 | { 2 | "address": "", 3 | "pk": "", 4 | "authorization": "", 5 | "useTwitterAPI": true 6 | } 7 | --------------------------------------------------------------------------------