diff --git a/.eslintrc.js b/.eslintrc.js index ee9f14aae3f..0cf35e266ee 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -36,5 +36,6 @@ module.exports = { }, ], 'jsdoc/valid-types': 'off', + curly: ['error', 'all'], }, }; diff --git a/README.md b/README.md index 21aaa573da3..e8a45ff21b8 100644 --- a/README.md +++ b/README.md @@ -153,12 +153,27 @@ The `services.json` file combines information about services received from separ - It is also forbidden to change service `id` inside the `.yml` file. -Service metadata includes `id`, `name`, `rules`, `icon_svg`: +Service metadata includes `id`, `name`, `rules`, `icon_svg`, `group`: - `id` — unique human-readable service identifier (string, as `snake_case`) - `name` — service name (string) - `rules` — list of domain rules in Adblock syntax (list of strings) - `icon_svg` — svg icon (string) +- `group` - semantic group for service. Possible values: + +| Full Name | Key | Definition | +|-----------------------------|-----------|-----------------------------------------------------------------------------------------| +| Content Delivery Network | `cdn` | Optimizes content delivery for websites through caching and strategic distribution. | +| Dating Services | `dating` | Connects individuals seeking romantic relationships based on shared interests and preferences. | +| Gambling Platforms | `gambling`| Provides online gaming experiences with the chance to win prizes through casino games and | +| Gaming Platforms | `gaming` | Offers a diverse range of video and online games for entertainment purposes. | +| Web Hosting | `hosting` | Offers server space and resources for hosting websites, applications, and digital content. | +| Messaging Services | `messenger` | Facilitates instant communication through text, voice, and video. | +| Privacy Tools | `privacy` | Prioritizes user data protection and privacy through encryption and strict measures. | +| Online Shopping | `shopping`| Enables online commerce with features like secure payment options and order tracking. | +| Social Networking | `social_network` | Connects individuals for interactions, community-building, and sharing personal and professional information | +| Software Development Tools | `software`| Provides tools and platforms for software development, coding, and project management. | +| Streaming Platforms | `streaming`| Delivers real-time audio, video, or other content for immediate access and enjoyment. |
@@ -171,7 +186,8 @@ services.json - wechat object "id": "wechat", "name": "WeChat", "rules": ["||wechat.com^", "||weixin.qq.com^", "||wx.qq.com^"], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" } ``` @@ -179,14 +195,15 @@ wechat.yml ```yml id: wechat -name: WeChat -rules: - - '||wechat.com^' - - '||weixin.qq.com^' - - '||weixin.qq.com.cn^' - - '||weixinbridge.com^' - - '||wx.qq.com^' -icon_svg: + name: WeChat + rules: + - '||wechat.com^' + - '||weixin.qq.com^' + - '||weixin.qq.com.cn^' + - '||weixinbridge.com^' + - '||wx.qq.com^' + icon_svg: + group: social_network ```
diff --git a/assets/services.json b/assets/services.json index f09843ee4df..ac3c3464794 100644 --- a/assets/services.json +++ b/assets/services.json @@ -8,7 +8,8 @@ "||4channel.org^", "||4cdn.org^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "500px", @@ -17,7 +18,8 @@ "||500px.com^", "||500px.org^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "9gag", @@ -26,7 +28,8 @@ "||9cache.com^", "||9gag.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "activision_blizzard", @@ -39,7 +42,8 @@ "||callofdutyleague.com^", "||codmwest.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "aliexpress", @@ -50,7 +54,8 @@ "||aliexpress.com^", "||aliexpress.ru^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "amazon", @@ -258,7 +263,8 @@ "||awsdns-cn-*.cn^", "||awsdns-cn-*.top^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "amazon_streaming", @@ -294,7 +300,8 @@ "||av-na.amazon.com^", "||video.a2z.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "amino", @@ -302,7 +309,8 @@ "rules": [ "||aminoapps.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "apple_streaming", @@ -327,7 +335,8 @@ "||tv.g.apple.com^", "||tv.v.aaplimg.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "battle_net", @@ -338,7 +347,8 @@ "||bnet.163.com^", "||bnet.cn^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "betano", @@ -352,7 +362,8 @@ "||betano.bg^", "||betano.ca^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gambling" }, { "id": "betfair", @@ -365,7 +376,8 @@ "||betfair.it^", "||betfair.com.au^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gambling" }, { "id": "betway", @@ -388,7 +400,8 @@ "||betway.pl^", "||betway.fr^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gambling" }, { "id": "bigo_live", @@ -399,7 +412,8 @@ "||bigovideo.tv^", "||bigo.sg^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "bilibili", @@ -452,7 +466,8 @@ "||yo9.com^", "|upos-hz-mirrorakam.akamaized.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "blaze", @@ -463,7 +478,8 @@ "||blazecareers.com^", "||blaze.com.br^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gambling" }, { "id": "blizzard_entertainment", @@ -479,7 +495,8 @@ "||bnet.163.com^", "||bnet.cn^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "canais_globo", @@ -489,7 +506,8 @@ "||globosat.globo.com^", "||gsatmulti.globo.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "claro", @@ -518,7 +536,8 @@ "||claromusica.com^", "||clarovideo.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "cloudflare", @@ -555,7 +574,8 @@ "||warp.plus^", "||workers.dev^" ], - "icon_svg": "" + "icon_svg": "", + "group": "cdn" }, { "id": "clubhouse", @@ -564,7 +584,8 @@ "||clubhouse.com^", "||clubhouseapi.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "coolapk", @@ -574,7 +595,8 @@ "||coolapkmarket.com^", "||coolapkmarket.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "crunchyroll", @@ -583,7 +605,8 @@ "||gccrunchyroll.com^", "||crunchyroll.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "dailymotion", @@ -593,7 +616,8 @@ "||dm-event.net^", "||dmcdn.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "deezer", @@ -602,7 +626,8 @@ "||deezer.com^", "||dzcdn.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "directvgo", @@ -610,7 +635,8 @@ "rules": [ "||directvgo.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "discord", @@ -644,7 +670,8 @@ "||discordcdn.com^", "|hammerandchisel.ssl.zendesk.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "discoveryplus", @@ -653,7 +680,8 @@ "||discoveryplus.com^", "||disco-api.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "disneyplus", @@ -668,7 +696,8 @@ "||star.playback.edge.bamgrid.com^", "||starplus.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "douban", @@ -678,7 +707,8 @@ "||douban.fm^", "||doubanio.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "ebay", @@ -1005,7 +1035,8 @@ "||yibei.org^", "|ebay-*.s3-us-west-1.amazonaws.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "electronic_arts", @@ -1018,7 +1049,8 @@ "||swtor.com^", "||tnt-ea.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "epic_games", @@ -1032,7 +1064,8 @@ "|epicgames-download*-*.file.myqcloud.com^", "|epicgames-download*.akamaized.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "espn", @@ -1056,7 +1089,8 @@ "||espn.co.uk^", "||espn.com.uy^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "facebook", @@ -1506,7 +1540,8 @@ "||zuckerberg.net^", "|fbcdn-a.akamaihd.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "fifa", @@ -1515,7 +1550,8 @@ "||fifa.com^", "||fifaplus.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "flickr", @@ -1528,7 +1564,8 @@ "||flickrpro.com^", "||staticflickr.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "hosting" }, { "id": "globoplay", @@ -1539,7 +1576,8 @@ "||globoplay.com.br^", "||cloud-jarvis.globo.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "gog", @@ -1550,7 +1588,8 @@ "||gog-statics.com^", "||gogalaxy.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "hbomax", @@ -1570,7 +1609,8 @@ "||maxgo.com^", "||max.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "hulu", @@ -1578,7 +1618,8 @@ "rules": [ "||hulu.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "icloud_private_relay", @@ -1588,7 +1629,8 @@ "||mask-h2.icloud.com^$dnsrewrite=NXDOMAIN;;", "||mask-canary.icloud.com^$dnsrewrite=NXDOMAIN;;" ], - "icon_svg": "" + "icon_svg": "", + "group": "privacy" }, { "id": "iheartradio", @@ -1606,7 +1648,8 @@ "||ihrint.com^", "||ihrstage.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "imgur", @@ -1614,7 +1657,8 @@ "rules": [ "||imgur.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "hosting" }, { "id": "instagram", @@ -1693,7 +1737,8 @@ "||web-instagram.net^", "||wwwinstagram.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "iqiyi", @@ -1708,7 +1753,8 @@ "||qiyipic.com^", "||qy.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "kakaotalk", @@ -1717,7 +1763,8 @@ "||kakao.com^", "||kgslb.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "kik", @@ -1725,7 +1772,8 @@ "rules": [ "||kik.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "lazada", @@ -1741,7 +1789,8 @@ "||lazada.vn^", "||slatic.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "leagueoflegends", @@ -1753,7 +1802,8 @@ "||lolstatic.com^", "||lolusercontent.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "line", @@ -1778,7 +1828,8 @@ "||lineshoppingseller.com^", "||linetv.tw^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "linkedin", @@ -1801,7 +1852,8 @@ "||linkedin.qtlcdn.com^", "||lnkd.in^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "lionsgateplus", @@ -1810,7 +1862,8 @@ "||lionsgateplus.com^", "||starz.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "looke", @@ -1819,7 +1872,8 @@ "||looke.com.br^", "||ottvs.com.br^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "mail_ru", @@ -1829,7 +1883,8 @@ "||mail.ru^", "||mycdn.me^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "mastodon", @@ -1935,7 +1990,8 @@ "||mastodon.zaclys.com^", "||cupoftea.social^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "mercado_libre", @@ -1962,7 +2018,8 @@ "||mercadolibre.com.uy^", "||mercadolibre.com.ve^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "minecraft", @@ -1972,7 +2029,8 @@ "||minecraftservices.com^", "||mojang.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "netflix", @@ -2004,7 +2062,8 @@ "||nflxso.net^", "||nflxvideo.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "nintendo", @@ -2028,7 +2087,8 @@ "||nintendoswitch.cn^", "||nintendowifi.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "nvidia", @@ -2045,7 +2105,8 @@ "||nvidia.partners^", "||tegrazone.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "software" }, { "id": "ok", @@ -2053,7 +2114,8 @@ "rules": [ "||ok.ru^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "olvid", @@ -2062,7 +2124,8 @@ "||olvid.io^", "||olvid-attachment-chunks.s3.eu-west-3.amazonaws.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "onlyfans", @@ -2070,7 +2133,8 @@ "rules": [ "||onlyfans.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "origin", @@ -2088,7 +2152,8 @@ "||origin.tv^", "||signin.ea.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "paramountplus", @@ -2097,7 +2162,8 @@ "||paramountplus.com^", "||pplusstatic.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "pinterest", @@ -2153,7 +2219,8 @@ "||pinterest.vn^", "||pinterestmail.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "playstation", @@ -2168,7 +2235,8 @@ "||sonyentertainmentnetwork.com", "||station.sony.com" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "plenty_of_fish", @@ -2176,7 +2244,8 @@ "rules": [ "||pof.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "dating" }, { "id": "plex", @@ -2187,7 +2256,8 @@ "||plex.direct^", "||plex.tv^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "pluto_tv", @@ -2195,7 +2265,8 @@ "rules": [ "||pluto.tv^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "privacy", @@ -2203,7 +2274,8 @@ "rules": [ "||privacy.com.br^" ], - "icon_svg": "" + "icon_svg": "", + "group": "privacy" }, { "id": "qq", @@ -2213,7 +2285,8 @@ "||qq-video.cdn-go.cn^", "||url.cn^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "rakuten_viki", @@ -2223,7 +2296,8 @@ "||viki.io^", "||m-content-viki.s.llnwi.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "reddit", @@ -2235,7 +2309,8 @@ "||redditmedia.com^", "||redd.it^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "riot_games", @@ -2248,7 +2323,8 @@ "||riotcdn.net^", "||riotgames.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "roblox", @@ -2268,7 +2344,8 @@ "||robloxdev.cn^", "||rbxadder.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "rockstar_games", @@ -2277,7 +2354,8 @@ "||rockstargames.com^", "||rsg.sc^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "samsung_tv_plus", @@ -2288,7 +2366,8 @@ "||internetat.tv^", "||samsungcloud.tv^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "shein", @@ -2299,7 +2378,8 @@ "||shein.se^", "||sheinsz.ltwebstatic.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "shopee", @@ -2326,7 +2406,8 @@ "||shopeemobile.com^", "||shp.ee^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "signal", @@ -2335,7 +2416,8 @@ "||signal.org^", "||whispersystems.org^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "skype", @@ -2350,7 +2432,8 @@ "||skype-edf.akadns.net^", "||skypedata.akadns.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "snapchat", @@ -2363,7 +2446,8 @@ "||snapads.com^", "||impala-media-production.s3.amazonaws.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "soundcloud", @@ -2372,7 +2456,8 @@ "||soundcloud.com^", "||sndcdn.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "spotify", @@ -2400,7 +2485,8 @@ "||spotifyforbrands.com^", "||spotifyjobs.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "steam", @@ -2441,7 +2527,8 @@ "||valvesoftware.com^", "||wmsjsteam.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "telegram", @@ -2465,7 +2552,8 @@ "||tx.me^", "||usercontent.dev^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "temu", @@ -2474,7 +2562,8 @@ "||temu.com^", "||kwcdn.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "tidal", @@ -2482,7 +2571,8 @@ "rules": [ "||tidal.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "tiktok", @@ -2518,7 +2608,8 @@ "||p16-tiktok-*.ibyteimg.com^", "||v*.tiktokcdn-eu.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "tinder", @@ -2528,7 +2619,8 @@ "||tinder.com^", "||tindersparks.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "dating" }, { "id": "tumblr", @@ -2536,7 +2628,8 @@ "rules": [ "||tumblr.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "twitch", @@ -2549,7 +2642,8 @@ "||twitchcdn.net^", "||twitchsvc.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "twitter", @@ -2579,7 +2673,8 @@ "||vine.co^", "||x.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "ubisoft", @@ -2590,7 +2685,8 @@ "||ubisoftconnect.com^", "||ubisoft.org^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "valorant", @@ -2600,7 +2696,8 @@ "||valorant.scd.riotcdn.net", "||valorant.secure.dyn.riotcdn.net" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "viber", @@ -2608,7 +2705,8 @@ "rules": [ "||viber.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "vimeo", @@ -2632,7 +2730,8 @@ "||vimeostatus.com^", "||livestream.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "vk", @@ -2659,7 +2758,8 @@ "||vkuservideo.com^", "||vkuservideo.net^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" }, { "id": "voot", @@ -2667,7 +2767,8 @@ "rules": [ "||voot.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "wargaming", @@ -2682,7 +2783,8 @@ "||wotblitz.com^", "||wgcdn.co^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "wechat", @@ -2694,7 +2796,8 @@ "||weixinbridge.com^", "||wx.qq.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "weibo", @@ -2708,7 +2811,8 @@ "||weibo.com.cn^", "||weibocdn.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "whatsapp", @@ -2726,7 +2830,8 @@ "||whatsapp.tv^", "||whatsappbrand.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "messenger" }, { "id": "wizz", @@ -2736,7 +2841,8 @@ "||getwizz.io^", "||wizz.chat^" ], - "icon_svg": "" + "icon_svg": "", + "group": "dating" }, { "id": "xboxlive", @@ -2751,17 +2857,18 @@ "||xboxlive.com^", "||xboxservices.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "gaming" }, { "id": "xiaohongshu", "name": "Xiaohongshu", "rules": [ "||xiaohongshu.com^", - "||xhscdn.com^", - "||xhscdn.net^" + "||xhscdn.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "shopping" }, { "id": "youtube", @@ -2944,7 +3051,8 @@ "||yt.be^", "||ytimg.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "streaming" }, { "id": "zhihu", @@ -2953,7 +3061,43 @@ "||zhihu.com^", "||zhimg.com^" ], - "icon_svg": "" + "icon_svg": "", + "group": "social_network" + } + ], + "groups": [ + { + "id": "cdn" + }, + { + "id": "dating" + }, + { + "id": "gambling" + }, + { + "id": "gaming" + }, + { + "id": "hosting" + }, + { + "id": "messenger" + }, + { + "id": "privacy" + }, + { + "id": "shopping" + }, + { + "id": "social_network" + }, + { + "id": "software" + }, + { + "id": "streaming" } ] -} \ No newline at end of file +} diff --git a/assets/services_i18n.json b/assets/services_i18n.json new file mode 100644 index 00000000000..ba821e4a89f --- /dev/null +++ b/assets/services_i18n.json @@ -0,0 +1,59 @@ +{ + "groups": { + "cdn": { + "en": { + "name": "Content Delivery Network" + } + }, + "dating": { + "en": { + "name": "Dating Services" + } + }, + "gambling": { + "en": { + "name": "Gambling Platforms" + } + }, + "gaming": { + "en": { + "name": "Gaming Platforms" + } + }, + "hosting": { + "en": { + "name": "Web Hosting" + } + }, + "messenger": { + "en": { + "name": "Messaging Services" + } + }, + "privacy": { + "en": { + "name": "Privacy Tools" + } + }, + "shopping": { + "en": { + "name": "Online Shopping" + } + }, + "social_network": { + "en": { + "name": "Social Networking" + } + }, + "software": { + "en": { + "name": "Software Development Tools" + } + }, + "streaming": { + "en": { + "name": "Streaming Services" + } + } + } +} diff --git a/index.js b/index.js index 0aa559dbfc6..ce44497ae37 100644 --- a/index.js +++ b/index.js @@ -2,10 +2,13 @@ const path = require('path'); const builder = require('adguard-hostlists-builder'); const fs = require('fs/promises'); -const { getYmlSourcesBlockedServices, getJsonBlockedServices } = require('./scripts/services/get-services-content'); +const { getJsonBlockedData, getYmlSourcesBlockedServices } = require('./scripts/services/get-services-content'); const { mergeServicesData, groupServicesData } = require('./scripts/services/merge-services-data'); -const { getDifferences, restoreRemovedSourceFiles } = require('./scripts/services/restore-removed-services'); +const { getDifferences } = require('./scripts/helpers/helpers'); +const { restoreRemovedSourceFiles } = require('./scripts/services/restore-removed-services'); const { validateSvgIcons } = require('./scripts/services/validate-svg-icons'); +const { addServiceLocalizations } = require('./scripts/services/add-localizations'); +const { groupedServicesSchema } = require('./scripts/services/zod-schemas'); const { logger } = require('./scripts/helpers/logger'); @@ -15,6 +18,7 @@ const tagsDir = path.join(__dirname, './tags'); const localesDir = path.join(__dirname, './locales'); const inputServicesDir = path.join(__dirname, './services'); const outputServicesFile = path.join(assetsDir, 'services.json'); +const servicesI18nFile = path.join(assetsDir, 'services_i18n.json'); /** * Build services data by reading and processing content from a destination JSON file @@ -30,14 +34,14 @@ const outputServicesFile = path.join(assetsDir, 'services.json'); const buildServices = async (sourceDirPath, distFilePath) => { try { // Read content from the JSON file - const distBlockedServices = await getJsonBlockedServices(distFilePath); + const [distBlockedServices, distBlockedGroups] = await getJsonBlockedData(distFilePath); // Read content from the source YML files const sourceBlockedServices = await getYmlSourcesBlockedServices(sourceDirPath); // Get the differences between the destination and source data - const differences = getDifferences(distBlockedServices, sourceBlockedServices); + const servicesDifferences = getDifferences(distBlockedServices, sourceBlockedServices); // If there are differences, restore removed source files - if (differences) { - await restoreRemovedSourceFiles(differences, sourceDirPath); + if (servicesDifferences) { + await restoreRemovedSourceFiles(servicesDifferences, sourceDirPath); } // Merge data from the destination and source files const mergedServicesData = mergeServicesData(distBlockedServices, sourceBlockedServices); @@ -45,14 +49,20 @@ const buildServices = async (sourceDirPath, distFilePath) => { validateSvgIcons(mergedServicesData); // Groups data by keys const groupedServicesData = groupServicesData(mergedServicesData); + // Get the differences between the destination groups data and source groups data + const groupsDifferences = getDifferences(distBlockedGroups, groupedServicesData.groups); + // If there are differences, throw warning and add them to the services.json file + if (groupsDifferences) { + // Get groups name for warning + const absentGroups = groupsDifferences.map((group) => group.id); + logger.error(`These groups have no services: ${absentGroups.join(', ')}`); + } + groupedServicesSchema.parse(groupedServicesData); // Write the grouped service data to the destination JSON file - await fs.writeFile(distFilePath, JSON.stringify(groupedServicesData, null, 2)); - // Add localizations for service groups + await fs.writeFile(distFilePath, `${JSON.stringify(groupedServicesData, null, 2)}\n`); logger.success(`Successfully finished building ${distFilePath}`); - process.exit(0); } catch (error) { - logger.error(`Error occurred while building ${distFilePath}`, error.message); - process.exit(1); + logger.error(`Error occurred while building ${distFilePath}`); } }; @@ -60,7 +70,11 @@ const buildServices = async (sourceDirPath, distFilePath) => { (async () => { try { await builder.build(filtersDir, tagsDir, localesDir, assetsDir); + // build services.json file await buildServices(inputServicesDir, outputServicesFile); + // add localizations for services groups + await addServiceLocalizations(outputServicesFile, localesDir, servicesI18nFile); + process.exit(0); } catch (error) { logger.error('Failed to compile hostlists'); process.exit(1); diff --git a/locales/en/services.json b/locales/en/services.json new file mode 100644 index 00000000000..eeee19505c4 --- /dev/null +++ b/locales/en/services.json @@ -0,0 +1,35 @@ +[ + { + "servicesgroup.cdn.name": "Content Delivery Network" + }, + { + "servicesgroup.dating.name": "Dating Services" + }, + { + "servicesgroup.gambling.name": "Gambling Platforms" + }, + { + "servicesgroup.gaming.name": "Gaming Platforms" + }, + { + "servicesgroup.hosting.name": "Web Hosting" + }, + { + "servicesgroup.messenger.name": "Messaging Services" + }, + { + "servicesgroup.privacy.name": "Privacy Tools" + }, + { + "servicesgroup.shopping.name": "Online Shopping" + }, + { + "servicesgroup.social_network.name": "Social Networking" + }, + { + "servicesgroup.software.name": "Software Development Tools" + }, + { + "servicesgroup.streaming.name": "Streaming Services" + } +] diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000000..1dc629c55b7 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3028 @@ +{ + "name": "adguard-hostlists-registry", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "adguard-hostlists-registry", + "version": "1.0.0", + "dependencies": { + "adguard-hostlists-builder": "./hostlists-builder/", + "chalk": "^4.0.0", + "js-yaml": "^4.1.0", + "xmldom": "^0.6.0", + "zod": "^3.22.4" + }, + "devDependencies": { + "eslint": "^8.49.0", + "eslint-config-airbnb-base": "^15.0.0", + "eslint-plugin-import": "^2.28.1", + "eslint-plugin-jsdoc": "^46.8.2" + } + }, + "hostlists-builder": { + "version": "1.0.1", + "license": "GPL-3.0", + "dependencies": { + "@adguard/hostlist-compiler": "^1.0.23", + "md5": "^2.3.0" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@adguard/hostlist-compiler": { + "version": "1.0.23", + "resolved": "https://registry.npmjs.org/@adguard/hostlist-compiler/-/hostlist-compiler-1.0.23.tgz", + "integrity": "sha512-9j4RW2rQqbVy1Ga2HhzeQNdxnD94d7VPRFIFGemK8/CAz6xMpJ6swRCBnDtVNzy2xW40YEgspUg4Xfn5KIHTpg==", + "dependencies": { + "ajv": "^6.12.0", + "ajv-errors": "^1.0.1", + "axios": "^0.19.2", + "better-ajv-errors": "^0.6.7", + "consola": "^2.11.3", + "lodash": "^4.17.15", + "tldts": "^5.6.10", + "yargs": "^15.3.0" + }, + "bin": { + "hostlist-compiler": "src/cli.js" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", + "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "dependencies": { + "@babel/highlight": "^7.12.13" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", + "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" + }, + "node_modules/@babel/highlight": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", + "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "dependencies": { + "@babel/helper-validator-identifier": "^7.14.0", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/@babel/highlight/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "node_modules/@babel/highlight/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@babel/highlight/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/runtime": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.0.tgz", + "integrity": "sha512-JELkvo/DlpNdJ7dlyw/eY7E0suy5i5GQH+Vlxaq1nsNJ+H7f4Vtv3jMeCEgRhZZQFXTjldYfQgv2qmM6M1v5wA==", + "dependencies": { + "regenerator-runtime": "^0.13.4" + } + }, + "node_modules/@es-joy/jsdoccomment": { + "version": "0.40.1", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.40.1.tgz", + "integrity": "sha512-YORCdZSusAlBrFpZ77pJjc5r1bQs5caPWtAu+WWmiSo+8XaUzseapVrfAtiRFbQWnrBxxLLEwF6f6ZG/UgCQCg==", + "dev": true, + "dependencies": { + "comment-parser": "1.4.0", + "esquery": "^1.5.0", + "jsdoc-type-pratt-parser": "~4.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.1.tgz", + "integrity": "sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", + "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", + "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.11", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", + "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, + "node_modules/acorn": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/adguard-hostlists-builder": { + "resolved": "hostlists-builder", + "link": true + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-errors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", + "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", + "peerDependencies": { + "ajv": ">=5.0.0" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/are-docs-informative": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz", + "integrity": "sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==", + "dev": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-includes": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz", + "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz", + "integrity": "sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0", + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", + "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axios": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", + "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==", + "deprecated": "Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410", + "dependencies": { + "follow-redirects": "1.5.10" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/better-ajv-errors": { + "version": "0.6.7", + "resolved": "https://registry.npmjs.org/better-ajv-errors/-/better-ajv-errors-0.6.7.tgz", + "integrity": "sha512-PYgt/sCzR4aGpyNy5+ViSQ77ognMnWq7745zM+/flYO4/Yisdtp9wDQW2IKCyVYPUxQt3E/b5GBSwfhd1LPdlg==", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "@babel/runtime": "^7.0.0", + "chalk": "^2.4.1", + "core-js": "^3.2.1", + "json-to-ast": "^2.0.3", + "jsonpointer": "^4.0.1", + "leven": "^3.1.0" + }, + "peerDependencies": { + "ajv": "4.11.8 - 6" + } + }, + "node_modules/better-ajv-errors/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/better-ajv-errors/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/better-ajv-errors/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/better-ajv-errors/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "node_modules/better-ajv-errors/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/better-ajv-errors/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/better-ajv-errors/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", + "engines": { + "node": "*" + } + }, + "node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/code-error-fragment": { + "version": "0.0.230", + "resolved": "https://registry.npmjs.org/code-error-fragment/-/code-error-fragment-0.0.230.tgz", + "integrity": "sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/comment-parser": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.0.tgz", + "integrity": "sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==", + "dev": true, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/confusing-browser-globals": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", + "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==", + "dev": true + }, + "node_modules/consola": { + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", + "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" + }, + "node_modules/core-js": { + "version": "3.12.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.1.tgz", + "integrity": "sha512-Ne9DKPHTObRuB09Dru5AjwKjY4cJHVGu+y5f7coGn1E9Grkc3p2iBwE9AI/nJzsE29mQF7oq+mhYYRqOMFN1Bw==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==", + "engines": { + "node": "*" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-data-property": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz", + "integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/es-abstract": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.2.tgz", + "integrity": "sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.2", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.1", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.12", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.1", + "safe-array-concat": "^1.0.1", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.11" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", + "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", + "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.2", + "@eslint/js": "8.49.0", + "@humanwhocodes/config-array": "^0.11.11", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-airbnb-base": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz", + "integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==", + "dev": true, + "dependencies": { + "confusing-browser-globals": "^1.0.10", + "object.assign": "^4.1.2", + "object.entries": "^1.1.5", + "semver": "^6.3.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "peerDependencies": { + "eslint": "^7.32.0 || ^8.2.0", + "eslint-plugin-import": "^2.25.2" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", + "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", + "dev": true, + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.28.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz", + "integrity": "sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.findlastindex": "^1.2.2", + "array.prototype.flat": "^1.3.1", + "array.prototype.flatmap": "^1.3.1", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.7", + "eslint-module-utils": "^2.8.0", + "has": "^1.0.3", + "is-core-module": "^2.13.0", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.6", + "object.groupby": "^1.0.0", + "object.values": "^1.1.6", + "semver": "^6.3.1", + "tsconfig-paths": "^3.14.2" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-jsdoc": { + "version": "46.8.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.8.2.tgz", + "integrity": "sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==", + "dev": true, + "dependencies": { + "@es-joy/jsdoccomment": "~0.40.1", + "are-docs-informative": "^0.0.2", + "comment-parser": "1.4.0", + "debug": "^4.3.4", + "escape-string-regexp": "^4.0.0", + "esquery": "^1.5.0", + "is-builtin-module": "^3.2.1", + "semver": "^7.5.4", + "spdx-expression-parse": "^3.0.1" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-jsdoc/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.0.tgz", + "integrity": "sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==", + "dev": true, + "dependencies": { + "flatted": "^3.2.7", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "dependencies": { + "debug": "=3.1.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/follow-redirects/node_modules/debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/follow-redirects/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "13.22.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.22.0.tgz", + "integrity": "sha512-H1Ddc/PbZHTDVJSnj8kWptIRSD6AM3pK+mKytuIVF4uoBV7rshFlhhvA58ceJ5wp3Er58w6zj7bykMpYXt3ETw==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + }, + "node_modules/is-builtin-module": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", + "dev": true, + "dependencies": { + "builtin-modules": "^3.3.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "dev": true, + "dependencies": { + "which-typed-array": "^1.1.11" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsdoc-type-pratt-parser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz", + "integrity": "sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json-to-ast": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/json-to-ast/-/json-to-ast-2.1.0.tgz", + "integrity": "sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==", + "dependencies": { + "code-error-fragment": "0.0.230", + "grapheme-splitter": "^1.0.4" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/jsonpointer": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.1.0.tgz", + "integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/keyv": { + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz", + "integrity": "sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/md5": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "dependencies": { + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.entries": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.7.tgz", + "integrity": "sha512-jCBs/0plmPsOnrKAfFQXRG2NFjlhZgjjcBLSmTnEhU8U6vVTsVe8ANeQJCHTl3gSsI4J+0emOoCgoKlmQPMgmA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz", + "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz", + "integrity": "sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1" + } + }, + "node_modules/object.values": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz", + "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/regenerator-runtime": { + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", + "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "set-function-name": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + }, + "node_modules/resolve": { + "version": "1.22.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.5.tgz", + "integrity": "sha512-qWhv7PF1V95QPvRoUGHxOtnAlEvlXBylMZcjUR9pAumMmveFtcHJRXGIr+TkjfNJVQypqv2qcDiiars2y1PsSg==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-array-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz", + "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" + }, + "node_modules/set-function-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", + "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "dev": true, + "dependencies": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.15.tgz", + "integrity": "sha512-lpT8hSQp9jAKp9mhtBU4Xjon8LPGBvLIuBiSVhMEtmLecTh2mO0tlqrAMp47tBXzMr13NJMQ2lf7RpQGLJ3HsQ==", + "dev": true + }, + "node_modules/string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", + "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", + "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", + "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/tldts": { + "version": "5.7.35", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-5.7.35.tgz", + "integrity": "sha512-fD9b1G87Hic7Vci53D7UyjrGpyfySQ/4C3kk9STeYZlbWh+v9uPI+PsIKriX5qVbqwFus8tedjkXwiEIqPrAqQ==", + "dependencies": { + "tldts-core": "^5.7.35" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "5.7.35", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-5.7.35.tgz", + "integrity": "sha512-QBLLDnGzTOTDpbyEm6z7rnWljYPy5Q5ksSEpJpdFGixZK58aXwqTYSjH0d0WOGuNH+Od6H4gKK16D3BltpxMJw==" + }, + "node_modules/tsconfig-paths": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", + "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", + "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", + "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", + "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==" + }, + "node_modules/which-typed-array": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", + "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "node_modules/xmldom": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.6.0.tgz", + "integrity": "sha512-iAcin401y58LckRZ0TkI4k0VSM1Qg0KGSc3i8rU+xrxe19A/BN1zHyVSJY7uoutVlaTSzYyk/v5AmkewAP7jtg==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "3.22.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", + "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/package.json b/package.json index 6aff65379be..8e6876c3b27 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "adguard-hostlists-builder": "./hostlists-builder/", "chalk": "^4.0.0", "js-yaml": "^4.1.0", - "xmldom": "^0.6.0" + "xmldom": "^0.6.0", + "zod": "^3.22.4" }, "scripts": { "compose": "node index.js", diff --git a/scripts/helpers/helpers.js b/scripts/helpers/helpers.js new file mode 100644 index 00000000000..b3671d5150a --- /dev/null +++ b/scripts/helpers/helpers.js @@ -0,0 +1,96 @@ +/** + * @typedef {object} ObjectWithID + * @property {string} id - The identifier of the object. + */ + +/** + * Get the differences between two array of objects based on their 'id' property. + * + * @param {ObjectWithID[]} targetCollection - An array of target objects. + * @param {ObjectWithID[]} sourceCollection - An array of source objects. + * @returns {ObjectWithID[] | null} - An array containing objects representing the differences, + * or null if no differences exist. + */ +const getDifferences = (targetCollection, sourceCollection) => { + const differences = targetCollection.filter( + (distObject) => !sourceCollection.find((sourceObject) => sourceObject.id === distObject.id), + ); + return differences.length > 0 ? differences : null; +}; + +/** + * Sorts an array of objects by the value of a given key. + * If the values are numbers, they will be sorted numerically. + * If the values are strings, they will be sorted alphabetically. + * If the values are neither numbers nor strings, they will not be sorted. + * + * @param {object[]} arr - The array of objects to sort. + * @param {string} key - The key to sort by. + * @returns {object[]} - The sorted array of objects. + */ +const sortByKey = (arr, key) => { + if (arr.length < 2) { + return arr; + } + // Sort the array using the provided key + return arr.sort(({ [key]: a }, { [key]: b }) => { + // Check if both values are numbers + if (typeof a === 'number' && typeof b === 'number') { + return a - b; + } + // Check if both values are strings + if (typeof a === 'string' && typeof b === 'string') { + return a.localeCompare(b); + } + // If the values are not numbers or strings, maintain the order + return 0; + }); +}; + +/** + * Gets the name of the first key in the provided object. + * + * @param {object} obj - The input object. + * @returns {string} - The name of the first key in the object, or an empty string if the object is not valid. + */ +const getFirstKeyName = (obj) => { + // check if obj is an object + if (typeof obj !== 'object' || obj === null) { + return ''; + } + // Return the name of the first key in the object, or an empty string if no keys are present + return Object.keys(obj)[0] || ''; +}; + +/** + * Sorts an array of objects based on the name of their first key in lexicographical order. + * This is necessary to sort an array of objects by item id, which is specified in the key + * + * @param {Array} arr - The array of objects to be sorted. + * @returns {Array} - The sorted array of objects. + * + * @example + * const arr = + * [{{cdn.name: 'Cdn'},{cdn.description: 'Content Delivery Network'}}, + * {{gambling.name: 'Gambling'},{gambling.description: 'Gambling'}}, + * {{dating.name: 'Dating Services'},{dating.description: 'Dating Services'}}] + * + * sortByFirstKeyName(array) => + * [{{cdn.name: 'Cdn'},{cdn.description: 'Content Delivery Network'}}, + * {{dating.name: 'Dating Services'},{dating.description: 'Dating Services'}}, + * {{gambling.name: 'Gambling'},{gambling.description: 'Gambling'}}] + */ +const sortByFirstKeyName = (arr) => { + // Trivial case + if (arr.length < 2) { + return arr; + } + // Sort objects by their first key name in lexicographical order + return arr.sort((a, b) => getFirstKeyName(a).localeCompare(getFirstKeyName(b))); +}; + +module.exports = { + sortByKey, + sortByFirstKeyName, + getDifferences, +}; diff --git a/scripts/services/add-localizations.js b/scripts/services/add-localizations.js new file mode 100644 index 00000000000..da5faf42356 --- /dev/null +++ b/scripts/services/add-localizations.js @@ -0,0 +1,294 @@ +const { promises: fs, existsSync, readFileSync } = require('fs'); +const path = require('path'); +const { logger } = require('../helpers/logger'); +const { sortByFirstKeyName } = require('../helpers/helpers'); +const { translationsCollectionSchema, servicesI18Schema, translationSchema } = require('./zod-schemas'); + +const SERVICES_TRANSLATION_FILE = 'services.json'; +const BASE_LOCALE_DIR = 'locales/en'; +const SERVICES_BASE_TRANSLATION_FILEPATH = path.join(BASE_LOCALE_DIR, SERVICES_TRANSLATION_FILE); + +/** + * Returns only directories names from folder + * + * @param {string} folderPath folder path + * @returns {Array} only directories names in folder + */ +const getDirNames = async (folderPath) => { + try { + return (await fs.readdir(folderPath, { withFileTypes: true })) + .filter((dirent) => dirent.isDirectory()) + .map((dirent) => dirent.name); + } catch (error) { + logger.error('Error getting directories names'); + throw new Error(error); + } +}; + +/** + * @typedef {object} GroupID + * @property {string} id - The identifier of the group. + */ + +/** + * @typedef {object} GroupLocale + * @property {string} locale - The locale of the group. + */ + +/** + * @typedef {object} GroupTranslation + * @property {string} name - The name translation. + */ + +/** + * @typedef {{ + * GroupID: { + * GroupLocale: { + * GroupTranslation + * } + * } + * }} GroupTranslationByLocale + * + * where + * - `id` is a group id, used in yml files + * - `locale` is a locale code, e.g. `en`, `es`, etc. + * - `name` is a group name from a specific locale + * + * Example: + * + * { + * 'id1': { + * 'en': { name: 'en-value1' }, + * 'es': { name: 'es-value1' } + * }, + * 'id2': { + * 'en': { name: 'en-value2' }, + * 'fr': { name: 'fr-value2' } + * }, + * } + */ + +/** + * @typedef {{ key: string}} Translation + * @example { "servicesgroup.cdn.name": "Content Delivery Network" } + */ + +/** + * @typedef {Translation[]} TranslationsCollection + * + * @example + * [ + * { + * "servicesgroup.cdn.name": "Content Delivery Network" + * }, + * { + * "servicesgroup.dating.name": "Dating Services" + * }, + * ] + */ + +/** + * Groups file content by translations for a specific locale. + * + * @param {TranslationsCollection} fileObjects - An array of objects representing file content. + * @param {string} locale - The locale for which to group the file objects. + * Locale corresponds to the name of the directory from which the information is taken + * @returns {GroupTranslationByLocale} An object containing grouped translations by component id, + * sign (name, description etc.) and locale. + * @throws {Error} If there is an issue. + */ +const groupFileContentByTranslations = (fileObjects, locale) => { + // fileObjects - schema validation + translationsCollectionSchema.parse(fileObjects); + // Initialize an empty object to store grouped translations + const groupedFileObjects = {}; + const invalidKeys = []; + fileObjects.forEach((fileObject) => { + // Initialize empty objects for translation, locales, and component locales (groups id) + const translate = {}; + const localesTranslate = {}; + const componentLocalesTranslate = {}; + // { "servicesgroup.cdn.name": "Cdn" } + Object.entries(fileObject).forEach(([key, value]) => { + // Skip TODO comments + if (value.includes('TODO:')) { + return; + } + // Destructure the key into category, id, and sign (name, description, etc.) + // servicesgroup.cdn.name --> id - cdn , sign - name + const [prefix, id, sign] = key.split('.'); + // Check if id and sign are present + if (prefix !== 'servicesgroup' || !id || sign !== 'name') { + invalidKeys.push(key); + } + // { name: "Cdn" } + translate[sign] = value; + // locale - directory name + // {en: { name: "Cdn" } } + localesTranslate[locale] = translate; + // {cdn : {en: { name: "Cdn" } } } + componentLocalesTranslate[id] = localesTranslate; + }); + // Merge component locales into the groupedFileObjects + Object.assign(groupedFileObjects, componentLocalesTranslate); + }); + return (invalidKeys.length > 0) + ? logger.error(`Invalid key format: ${invalidKeys.join(', ')}. Expected format: 'servicesgroup.id.name'`) + : groupedFileObjects; +}; +/** + * @typedef {{ name: string }} TranslationName + */ + +/** + * @typedef {{ [key: string]: TranslationName }} TranslationLocale + */ + +/** + * @typedef {{ [key: string]: { [key: string]: TranslationLocale } }} TranslationId + */ + +/** + * @typedef {{ [key: string]: TranslationId }} groupedTranslations + */ + +/** + * Asynchronously reads file content from specified directories, groups the content by translations, + * and returns an object representing the grouped translations. + * + * @param {string} localesFolder - The base path to the folder containing the directories. + * @returns {groupedTranslations} A promise that resolves to an object representing grouped translations. + * + * @throws {Error} If there is an issue reading the file or parsing its content. + */ +const getGroupedTranslations = async (localesFolder) => { + try { + // Get an array of locale directories in the base folder + const localesDirectories = await getDirNames(localesFolder); + const existingTranslations = []; + // Collect translations from each directory + localesDirectories.forEach((directory) => { + // File path to the translation file + const translationFilePath = path.join(localesFolder, directory, SERVICES_TRANSLATION_FILE); + // Check if the translation file exists + if (existsSync(translationFilePath)) { + // Read and parse the translation content + const translationContent = JSON.parse(readFileSync(translationFilePath)); + // Group translations by id, locale and use (name, description etc.) + const groupedTranslations = groupFileContentByTranslations(translationContent, directory); + existingTranslations.push(groupedTranslations); + } + }); + // Reduce the array of translations into a single grouped object + return existingTranslations.reduce((acc, obj) => { + // Merge translations for each component and locale + Object.entries(obj).forEach(([key, value]) => { + acc[key] = { ...acc[key], ...value }; + }); + return acc; + }, {}); + } catch (error) { + logger.error(`Error getting grouped translations: ${error}`); + throw new Error(error); + } +}; + +/** + * @typedef {{groups: GroupTranslationByLocale}} categoryLocalesTranslate + * @property {GroupTranslationByLocale} - An object containing grouped translations + * for a specific group within a category and locale. + */ + +/** + * Asynchronously retrieves grouped translations for different locales based on specified directories. + * + * @param {string} localesFolder - The base path to the folder containing locale directories. + * @returns {categoryLocalesTranslate} A promise that resolves to an object representing grouped translations + * for different locales. + * + * @throws {Error} If there is an issue finding directories or retrieving grouped translations. + */ +const getLocales = async (localesFolder) => { + try { + // Initialize an object to store grouped translations + const categoryLocalesTranslate = {}; + // Get grouped translations for all locale directories + categoryLocalesTranslate.groups = await getGroupedTranslations(localesFolder); + return categoryLocalesTranslate; + } catch (error) { + logger.error(`Error getting locales: ${error}`); + throw new Error(error); + } +}; + +/** + * Checks if translations exist for groups from the services file in the base locale. + * + * @param {string} servicesFile - Path to the file containing service data. + * @param {string} translationsFile - Path to the file containing base locale translations. + * @returns {Promise} - A promise that resolves once the operation is complete. + */ +const checkBaseTranslations = async (servicesFile, translationsFile) => { + try { + // Read service data and translations from files + const servicesData = JSON.parse(await fs.readFile(servicesFile)); + const { groups } = servicesData; + const translations = JSON.parse(await fs.readFile(translationsFile)); + // Create a set of translation IDs + const translationsIds = new Set(translations.map((translation) => Object.keys(translation)[0])); + const missingLocales = []; + // Check each group for missing translations + groups.forEach((group) => { + const groupString = `servicesgroup.${group.id}.name`; + if (!translationsIds.has(groupString)) { + missingLocales.push({ [groupString]: `TODO: name for group ${group.id}` }); + } + }); + // If there are no translations for some groups - TODO comment is added + if (missingLocales.length > 0) { + // Sort existing translations and missing translations + const sortedTranslations = sortByFirstKeyName([...translations, ...missingLocales]); + // Write sorted translations back to the translations file + translationSchema.parse(sortedTranslations); + await fs.writeFile(translationsFile, `${JSON.stringify(sortedTranslations, null, 4)}\n`); + logger.warning( + 'Please do not forget to add missing translations to the base locale', + ); + } + } catch (error) { + // Handle any errors that occurred during the operation + logger.error('Error when checking for translations in base locale:', error.message); + } +}; + +/** + * Asynchronously retrieves grouped translations for different locales based on specified directories + * and writes the localizations to a specified file path. + * + * @param {string} outputServicesFile - The file path to the services file. + * @param {string} localesFolder - The base path to the folder containing locale directories. + * @param {string} i18nFilePath - The file path where the localizations will be written. + * @returns {Promise} A promise that resolves when the localizations are successfully written to the file. + * + * @throws {Error} If there is an issue finding directories, retrieving grouped translations, + * or writing the localizations to the file. + */ +const addServiceLocalizations = async (outputServicesFile, localesFolder, i18nFilePath) => { + try { + // Check if translations are present for all groups in the base locale + await checkBaseTranslations(outputServicesFile, SERVICES_BASE_TRANSLATION_FILEPATH); + // Get grouped translations from different locales for service groups + const localizations = await getLocales(localesFolder); + servicesI18Schema.parse(localizations); + // Write translations to combined translations file + await fs.writeFile(i18nFilePath, `${JSON.stringify(localizations, null, 4)}\n`); + logger.success('Successfully added localizations'); + } catch (error) { + logger.error(`Error adding localizations: ${error}`); + throw new Error(error); + } +}; + +module.exports = { + addServiceLocalizations, +}; diff --git a/scripts/services/get-services-content.js b/scripts/services/get-services-content.js index 3fdd620bf14..ef9b7613a6f 100644 --- a/scripts/services/get-services-content.js +++ b/scripts/services/get-services-content.js @@ -7,37 +7,52 @@ const YML_FILE_EXTENSION = '.yml'; const { logger } = require('../helpers/logger'); /** - * @typedef {require('./type-defs').Service} Service + * @typedef {import('./type-defs').Service} Service + * @typedef {import('./type-defs').Group} Group */ /** - * Returns the blocked services data from a JSON file. + * Reads and retrieves blocked services and groups data from a JSON file. * - * @param {string} distFilePath - The path to the json file. - * @returns {Service[]} - Array of blocked services objects. - * @throws {Error} - If the file cannot be read or parsed, - * if the blocked services data is undefined or not an array. + * @param {string} distFilePath - The path to the JSON file containing blocked services and groups data. + * @returns {[Service[], Group[]]} - An array containing two elements: + * - An array of objects representing blocked services. + * - An array of objects representing blocked groups. + * + * @throws {Error} Throws an error if there is an issue reading the file, if blocked services data is undefined, + * if blocked services data is not an array, or if blocked groups data is not an array. */ -const getJsonBlockedServices = async (distFilePath) => { +const getJsonBlockedData = async (distFilePath) => { let blockedServices; + let blockedGroups; + try { const fileContent = await fs.readFile(distFilePath); const serviceObjects = JSON.parse(fileContent); + // Extract blocked services and groups from the parsed JSON blockedServices = serviceObjects.blocked_services; + blockedGroups = serviceObjects.groups; } catch (error) { logger.error(`Error while reading file ${distFilePath}`); throw new Error(error); } + // Validate blocked services data if (typeof blockedServices === 'undefined') { throw new Error('Blocked services data is undefined'); } - if (!Array.isArray(blockedServices)) { throw new Error('Blocked services data is not an array'); } + if (!Array.isArray(blockedGroups)) { + throw new Error('Blocked groups data is not an array'); + } + if (typeof blockedGroups === 'undefined') { + throw new Error('Blocked groups data data is undefined'); + } - return blockedServices; + // Return an array with blocked services and groups + return [blockedServices, blockedGroups]; }; /** @@ -46,7 +61,7 @@ const getJsonBlockedServices = async (distFilePath) => { * @param {string} folderPath - The path to the folder. * @returns {Promise>} - An array of file names. */ -const getDirFileNames = async (folderPath) => { +const getFilesInDirectory = async (folderPath) => { // get all dir names from services folder const fileNames = await fs.readdir(folderPath); // get the file names without its extension @@ -63,7 +78,7 @@ const getDirFileNames = async (folderPath) => { * @throws {Error} If there is an error while reading or parsing any of the YAML files, an error is thrown. */ const getYmlSourcesBlockedServices = async (folderPath) => { - const sourceFileNames = await getDirFileNames(folderPath); + const sourceFileNames = await getFilesInDirectory(folderPath); const invalidYmlFiles = []; // Reads data from a yml file and writes it to an object const sourceFileContent = await Promise.all( @@ -92,5 +107,5 @@ const getYmlSourcesBlockedServices = async (folderPath) => { module.exports = { getYmlSourcesBlockedServices, - getJsonBlockedServices, + getJsonBlockedData, }; diff --git a/scripts/services/merge-services-data.js b/scripts/services/merge-services-data.js index 0e061288b7d..07b8c9b0fc3 100644 --- a/scripts/services/merge-services-data.js +++ b/scripts/services/merge-services-data.js @@ -1,7 +1,9 @@ const { logger } = require('../helpers/logger'); +const { sortByKey } = require('../helpers/helpers'); /** - * @typedef {require('./type-defs').Service} Service + * @typedef {import('./type-defs').Service} Service + * @typedef {import('./type-defs').Group} Group */ /** @@ -20,27 +22,50 @@ const mergeServicesData = (distServices, sourceServices) => { return Object.values(mergedMap); }; +/** + * @typedef {object} GroupedServices + * @property {Service[]} blocked_services - An array of Service objects. + * @property {Group[]} groups - An array of Group objects. + */ + /** * Combines service data into a structured format with grouped services and sorted groups. * * @param {Service[]} combinedServiceContent - An array of objects representing combined service data. - * @returns {object} - Object containing structured service data. + * @returns {GroupedServices} - Object containing structured service data. * - * @throws {Error} - Throws an error if the input data is not in the expected format or group is empty + * @throws {Error} - Throws an error if the input data is not in the expected format or group is empty. */ const groupServicesData = (combinedServiceContent) => { try { + // Object to store the service groups during iteration + const servicesGroupsMap = {}; + // Array to store the final combined service groups + const combinedGroups = []; + // Array to store services with empty groups + const invalidGroupNames = []; + // Iterate through the combined service content to build service groups + combinedServiceContent.forEach((service) => { + if (!service.group) { + invalidGroupNames.push(service.id); + } + if (!servicesGroupsMap[service.group]) { + servicesGroupsMap[service.group] = true; + combinedGroups.push({ id: service.group }); + } + return combinedGroups; + }); + if (invalidGroupNames.length > 0) { + logger.error(`Services with id: ${invalidGroupNames.join(', ')} has an empty or missing 'group' key.`); + } + // Sort the combined groups array lexicographically by 'id' + const sortedGroups = sortByKey(combinedGroups, 'id'); // Object to store the final service data structure const servicesData = {}; // Write the sorted combined service content array into the 'blocked_services' key - servicesData.blocked_services = combinedServiceContent.sort((a, b) => { - if (a.id < b.id) { - return -1; - } if (a.id > b.id) { - return 1; - } - return 0; - }); + servicesData.blocked_services = sortByKey(combinedServiceContent, 'id'); + // Write the sorted combined groups array into the 'groups' key + servicesData.groups = sortedGroups; // Return the structured service data return servicesData; } catch (error) { diff --git a/scripts/services/restore-removed-services.js b/scripts/services/restore-removed-services.js index f9cfc3e6a60..905dd406259 100644 --- a/scripts/services/restore-removed-services.js +++ b/scripts/services/restore-removed-services.js @@ -2,6 +2,7 @@ const { promises: fs } = require('fs'); const path = require('path'); const yaml = require('js-yaml'); const { logger } = require('../helpers/logger'); +const { serviceSchema } = require('./zod-schemas'); const YML_FILE_EXTENSION = '.yml'; @@ -9,21 +10,6 @@ const YML_FILE_EXTENSION = '.yml'; * @typedef {require('./type-defs').Service} Service */ -/** - * Get the differences between blocked services and source service files based on their 'id' property. - * - * @param {Service[]} distServices - An array of objects representing service data from the destination. - * @param {Service[]} sourceServices - An array of objects representing service files from the source. - * @returns {Service[] | null} - An array containing objects representing the differences, - * or null if no differences exist. - */ -const getDifferences = (distServices, sourceServices) => { - const differences = distServices.filter( - (distObject) => !sourceServices.find((sourceObject) => sourceObject.id === distObject.id), - ); - return differences.length > 0 ? differences : null; -}; - // TODO: rewrite the function to avoid using recursion /** * Write removed services objects into files. @@ -36,9 +22,11 @@ const restoreRemovedSourceFiles = async (differences, sourceDirPath) => { return; } const [removedObject, ...restObjects] = differences; + serviceSchema.parse(removedObject); + await fs.writeFile( path.join(`${sourceDirPath}/${removedObject.id}${YML_FILE_EXTENSION}`), - yaml.dump(removedObject, { lineWidth: -1 }), + yaml.dump(removedObject, `${{ lineWidth: -1 }}\n`), ); if (sourceDirPath.length > 1) { await restoreRemovedSourceFiles(restObjects); @@ -48,6 +36,5 @@ const restoreRemovedSourceFiles = async (differences, sourceDirPath) => { }; module.exports = { - getDifferences, restoreRemovedSourceFiles, }; diff --git a/scripts/services/type-defs.js b/scripts/services/type-defs.js index 14a78a25137..b870a3ba894 100644 --- a/scripts/services/type-defs.js +++ b/scripts/services/type-defs.js @@ -6,4 +6,12 @@ * @property {string} name The name of the service. * @property {string[]} rules List of domain rules in adblocking syntax. * @property {string} icon_svg The icon of the service in SVG format. + * @property {string} group The group of the service. + */ + +/** + * Represents an individual group object from services combined file. + * + * @typedef {object} Group + * @property {string} id - The identifier of the group. */ diff --git a/scripts/services/zod-schemas.js b/scripts/services/zod-schemas.js new file mode 100644 index 00000000000..290f9eaf4f7 --- /dev/null +++ b/scripts/services/zod-schemas.js @@ -0,0 +1,87 @@ +const { z } = require('zod'); + +/** + * Zod schema for translating a specific service group. + * The key should start with 'servicesgroup.' and end with '.name' and the value should be a string. + * Should be only one property in the object. + * + * @example { 'servicesgroup.cdn.name': 'Content Delivery Network' } + */ +const translationSchema = z.record( + z.string().regex(/^servicesgroup\.[a-z_]+\.name$/), + z.string(), +).refine((obj) => Object.keys(obj).length === 1, { + message: 'Object must have exactly 1 property', +}); + +/** + * Zod schema for an array of translation objects. + * + * @example [{ 'servicesgroup.cdn.name': 'Content Delivery Network' }] + */ +const translationsCollectionSchema = z.array(translationSchema); + +/** + * Zod schema for translation of a specific name in a locale. + * + * @example {'name': 'Content Delivery Network'} + */ +const translationNameSchema = z.object({ name: z.string() }).strict(); + +/** + * Zod schema for translating a specific service group in different locales. + * + * @example {'en': {'name': 'Content Delivery Network'}} + */ +const translationLocaleSchema = z.record( + z.string().regex(/^[a-zA-Z_]+$/), + translationNameSchema, +); + +/** + * Zod schema for translating a specific service group in different locales. + * + * @example {'cdn':{'en': {'name': 'Content Delivery Network'}}} + */ +const translationIdSchema = z.record( + z.string().regex(/^[a-z_]+$/), + translationLocaleSchema, +); + +/** + * Zod schema for a set of translation data for service groups. + * + * @example {'groups': {'cdn':{'en': {'name': 'Content Delivery Network'}}}} + */ +const servicesI18Schema = z.object({ groups: translationIdSchema }); + +/** + * Zod schema for a service. + * + * @example { id: 'cdn', name: 'Content Delivery Network', rules: [], icon_svg: '', group: 'cdn' } + */ +const serviceSchema = z.object({ + id: z.string(), + name: z.string(), + rules: z.array(z.string()), + icon_svg: z.string(), + group: z.string(), +}).strict(); + +/** + * Zod schema for services grouped by blocked_services and groups. + * + * @example { blocked_services: [], groups: [{ id: 'cdn' }] } + */ +const groupedServicesSchema = z.object({ + blocked_services: z.array(serviceSchema), + groups: z.array(z.object({ id: z.string() }).strict()), +}); + +module.exports = { + translationSchema, + translationsCollectionSchema, + servicesI18Schema, + serviceSchema, + groupedServicesSchema, +}; diff --git a/services/4chan.yml b/services/4chan.yml index b4235e7ec0f..bcb847985fa 100644 --- a/services/4chan.yml +++ b/services/4chan.yml @@ -5,3 +5,4 @@ rules: - '||4channel.org^' - '||4cdn.org^' icon_svg: +group: social_network \ No newline at end of file diff --git a/services/500px.yml b/services/500px.yml index 340beafa78a..28dc9413e63 100644 --- a/services/500px.yml +++ b/services/500px.yml @@ -4,3 +4,4 @@ rules: - '||500px.com^' - '||500px.org^' icon_svg: +group: social_network diff --git a/services/9gag.yml b/services/9gag.yml index fdc8e0c96d2..21f0d230043 100644 --- a/services/9gag.yml +++ b/services/9gag.yml @@ -4,3 +4,4 @@ rules: - '||9cache.com^' - '||9gag.com^' icon_svg: +group: social_network diff --git a/services/activision_blizzard.yml b/services/activision_blizzard.yml index 5b96b71c6bc..3336eedefba 100644 --- a/services/activision_blizzard.yml +++ b/services/activision_blizzard.yml @@ -8,3 +8,4 @@ rules: - '||callofdutyleague.com^' - '||codmwest.com^' icon_svg: +group: gaming diff --git a/services/aliexpress.yml b/services/aliexpress.yml index d58c3c6f48a..810a0428dc7 100644 --- a/services/aliexpress.yml +++ b/services/aliexpress.yml @@ -6,3 +6,4 @@ rules: - '||aliexpress.com^' - '||aliexpress.ru^' icon_svg: +group: shopping diff --git a/services/amazon.yml b/services/amazon.yml index 9fbdcca1364..3aeac2702b3 100644 --- a/services/amazon.yml +++ b/services/amazon.yml @@ -203,3 +203,4 @@ rules: - '||awsdns-cn-*.cn^' - '||awsdns-cn-*.top^' icon_svg: +group: shopping diff --git a/services/amazon_streaming.yml b/services/amazon_streaming.yml index b667615c88f..076662eb9a9 100644 --- a/services/amazon_streaming.yml +++ b/services/amazon_streaming.yml @@ -31,3 +31,4 @@ rules: - '||av-na.amazon.com^' - '||video.a2z.com^' icon_svg: +group: streaming \ No newline at end of file diff --git a/services/amino.yml b/services/amino.yml index b4ba54c01e1..d3f19e5c250 100644 --- a/services/amino.yml +++ b/services/amino.yml @@ -2,4 +2,5 @@ id: amino name: Amino rules: - '||aminoapps.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: social_network diff --git a/services/apple_streaming.yml b/services/apple_streaming.yml index 6e724ff9623..666b9b2e5bb 100644 --- a/services/apple_streaming.yml +++ b/services/apple_streaming.yml @@ -20,3 +20,4 @@ rules: - '||tv.g.apple.com^' - '||tv.v.aaplimg.com^' icon_svg: +group: streaming diff --git a/services/battle_net.yml b/services/battle_net.yml index 2bf047d91f9..ce52ca5abb1 100644 --- a/services/battle_net.yml +++ b/services/battle_net.yml @@ -6,3 +6,4 @@ rules: - '||bnet.163.com^' - '||bnet.cn^' icon_svg: +group: gaming diff --git a/services/betano.yml b/services/betano.yml index 6da0f7c6e09..fc47170378f 100644 --- a/services/betano.yml +++ b/services/betano.yml @@ -9,3 +9,4 @@ rules: - '||betano.bg^' - '||betano.ca^' icon_svg: +group: gambling diff --git a/services/betfair.yml b/services/betfair.yml index 49a85de078c..d98584d36d8 100644 --- a/services/betfair.yml +++ b/services/betfair.yml @@ -8,3 +8,4 @@ rules: - '||betfair.it^' - '||betfair.com.au^' icon_svg: +group: gambling diff --git a/services/betway.yml b/services/betway.yml index 9b367e31c2e..6bc98250a7d 100644 --- a/services/betway.yml +++ b/services/betway.yml @@ -18,3 +18,4 @@ rules: - '||betway.pl^' - '||betway.fr^' icon_svg: +group: gambling diff --git a/services/bigo_live.yml b/services/bigo_live.yml index d3e2c8d4dd8..c21a6716902 100644 --- a/services/bigo_live.yml +++ b/services/bigo_live.yml @@ -5,4 +5,5 @@ rules: - '||bigo.tv^' - '||bigovideo.tv^' - '||bigo.sg^' -icon_svg: \ No newline at end of file +icon_svg: +group: streaming diff --git a/services/bilibili.yml b/services/bilibili.yml index f7f8693a1de..82159c5dbe2 100644 --- a/services/bilibili.yml +++ b/services/bilibili.yml @@ -48,3 +48,4 @@ rules: - '||yo9.com^' - '|upos-hz-mirrorakam.akamaized.net^' icon_svg: +group: streaming diff --git a/services/blaze.yml b/services/blaze.yml index 9afb1bef3aa..c7706be72d4 100644 --- a/services/blaze.yml +++ b/services/blaze.yml @@ -6,3 +6,4 @@ rules: - '||blazecareers.com^' - '||blaze.com.br^' icon_svg: +group: gambling diff --git a/services/blizzard_entertainment.yml b/services/blizzard_entertainment.yml index c9ddb43d8bb..112d38e1427 100644 --- a/services/blizzard_entertainment.yml +++ b/services/blizzard_entertainment.yml @@ -11,3 +11,4 @@ rules: - '||bnet.163.com^' - '||bnet.cn^' icon_svg: +group: gaming diff --git a/services/canaisglobo.yml b/services/canais_globo.yml similarity index 93% rename from services/canaisglobo.yml rename to services/canais_globo.yml index a41bf4fe07c..ab9802fb29c 100644 --- a/services/canaisglobo.yml +++ b/services/canais_globo.yml @@ -4,4 +4,5 @@ rules: - '||canaisglobo.globo.com^' - '||globosat.globo.com^' - '||gsatmulti.globo.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: streaming diff --git a/services/claro.yml b/services/claro.yml index 277536b4f7c..93a1a6058e0 100644 --- a/services/claro.yml +++ b/services/claro.yml @@ -24,3 +24,4 @@ rules: - '||claromusica.com^' - '||clarovideo.com^' icon_svg: +group: streaming diff --git a/services/cloudflare.yml b/services/cloudflare.yml index 3329dec1a73..090d5cc25b6 100644 --- a/services/cloudflare.yml +++ b/services/cloudflare.yml @@ -32,3 +32,4 @@ rules: - '||warp.plus^' - '||workers.dev^' icon_svg: +group: cdn diff --git a/services/clubhouse.yml b/services/clubhouse.yml index 4d602cdc7e3..db07e42e6c9 100644 --- a/services/clubhouse.yml +++ b/services/clubhouse.yml @@ -4,3 +4,4 @@ rules: - '||clubhouse.com^' - '||clubhouseapi.com^' icon_svg: +group: social_network diff --git a/services/coolapk.yml b/services/coolapk.yml index ae1540b649e..713e37c6c1f 100644 --- a/services/coolapk.yml +++ b/services/coolapk.yml @@ -5,3 +5,4 @@ rules: - '||coolapkmarket.com^' - '||coolapkmarket.net^' icon_svg: +group: shopping diff --git a/services/crunchyroll.yml b/services/crunchyroll.yml index 80ac39fd841..4548ffc367c 100644 --- a/services/crunchyroll.yml +++ b/services/crunchyroll.yml @@ -4,3 +4,4 @@ rules: - '||gccrunchyroll.com^' - '||crunchyroll.com^' icon_svg: +group: streaming diff --git a/services/dailymotion.yml b/services/dailymotion.yml index c6ea0ad664a..51aaf50c67e 100644 --- a/services/dailymotion.yml +++ b/services/dailymotion.yml @@ -5,3 +5,4 @@ rules: - '||dm-event.net^' - '||dmcdn.net^' icon_svg: +group: streaming diff --git a/services/deezer.yml b/services/deezer.yml index f6d6924d9c9..d29a1d79d5a 100644 --- a/services/deezer.yml +++ b/services/deezer.yml @@ -4,3 +4,4 @@ rules: - '||deezer.com^' - '||dzcdn.net^' icon_svg: +group: streaming diff --git a/services/directvgo.yml b/services/directvgo.yml index bdee23a114c..4100bc7a845 100644 --- a/services/directvgo.yml +++ b/services/directvgo.yml @@ -2,4 +2,5 @@ id: directvgo name: DirecTV Go rules: - '||directvgo.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: streaming diff --git a/services/discord.yml b/services/discord.yml index 1dc83c2d308..ae1fd108904 100644 --- a/services/discord.yml +++ b/services/discord.yml @@ -29,3 +29,4 @@ rules: - '||discordcdn.com^' - '|hammerandchisel.ssl.zendesk.com^' icon_svg: +group: social_network diff --git a/services/discoveryplus.yml b/services/discoveryplus.yml index 18da0833d33..78a4014d159 100644 --- a/services/discoveryplus.yml +++ b/services/discoveryplus.yml @@ -4,3 +4,4 @@ rules: - '||discoveryplus.com^' - '||disco-api.com^' icon_svg: +group: streaming \ No newline at end of file diff --git a/services/disneyplus.yml b/services/disneyplus.yml index 088d5002d92..c52af5498d1 100644 --- a/services/disneyplus.yml +++ b/services/disneyplus.yml @@ -10,3 +10,4 @@ rules: - '||star.playback.edge.bamgrid.com^' - '||starplus.com^' icon_svg: +group: streaming diff --git a/services/douban.yml b/services/douban.yml index 30ffff7772e..252bb74f6d0 100644 --- a/services/douban.yml +++ b/services/douban.yml @@ -5,3 +5,4 @@ rules: - '||douban.fm^' - '||doubanio.com^' icon_svg: +group: social_network diff --git a/services/ebay.yml b/services/ebay.yml index 5ca83b21838..a6d4724cef2 100644 --- a/services/ebay.yml +++ b/services/ebay.yml @@ -322,3 +322,4 @@ rules: - '||yibei.org^' - '|ebay-*.s3-us-west-1.amazonaws.com^' icon_svg: +group: shopping diff --git a/services/electronic_arts.yml b/services/electronic_arts.yml index 4b3b760392a..e18c8cd0039 100644 --- a/services/electronic_arts.yml +++ b/services/electronic_arts.yml @@ -8,3 +8,4 @@ rules: - '||swtor.com^' - '||tnt-ea.com^' icon_svg: +group: gaming diff --git a/services/epic_games.yml b/services/epic_games.yml index a2b9e6bb227..0bc41a4fa66 100644 --- a/services/epic_games.yml +++ b/services/epic_games.yml @@ -9,3 +9,4 @@ rules: - '|epicgames-download*-*.file.myqcloud.com^' - '|epicgames-download*.akamaized.net^' icon_svg: +group: gaming diff --git a/services/espn.yml b/services/espn.yml index d56f36afd98..b1e7eb1ba6e 100644 --- a/services/espn.yml +++ b/services/espn.yml @@ -19,3 +19,4 @@ rules: - '||espn.co.uk^' - '||espn.com.uy^' icon_svg: +group: streaming diff --git a/services/facebook.yml b/services/facebook.yml index 39e30b0d46e..3f908496f2b 100644 --- a/services/facebook.yml +++ b/services/facebook.yml @@ -445,3 +445,4 @@ rules: - '||zuckerberg.net^' - '|fbcdn-a.akamaihd.net^' icon_svg: +group: social_network diff --git a/services/fifa.yml b/services/fifa.yml index 27140726434..034f89eefdd 100644 --- a/services/fifa.yml +++ b/services/fifa.yml @@ -4,3 +4,4 @@ rules: - '||fifa.com^' - '||fifaplus.com^' icon_svg: +group: streaming diff --git a/services/flickr.yml b/services/flickr.yml index f65b6129c15..5374c7c7054 100644 --- a/services/flickr.yml +++ b/services/flickr.yml @@ -8,3 +8,4 @@ rules: - '||flickrpro.com^' - '||staticflickr.com^' icon_svg: +group: hosting diff --git a/services/globoplay.yml b/services/globoplay.yml index 7d5a1cea59d..067b146a01b 100644 --- a/services/globoplay.yml +++ b/services/globoplay.yml @@ -5,4 +5,5 @@ rules: - '||globoplay.com^' - '||globoplay.com.br^' - '||cloud-jarvis.globo.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: streaming diff --git a/services/gog.yml b/services/gog.yml index a21a91c56b7..fc74e908ca3 100644 --- a/services/gog.yml +++ b/services/gog.yml @@ -6,3 +6,4 @@ rules: - '||gog-statics.com^' - '||gogalaxy.com^' icon_svg: +group: gaming diff --git a/services/hbomax.yml b/services/hbomax.yml index c2d3746e0b1..44e14ddee5b 100644 --- a/services/hbomax.yml +++ b/services/hbomax.yml @@ -15,3 +15,4 @@ rules: - '||maxgo.com^' - '||max.com^' icon_svg: +group: streaming diff --git a/services/hulu.yml b/services/hulu.yml index 5148feb480e..40db63c4e06 100644 --- a/services/hulu.yml +++ b/services/hulu.yml @@ -3,3 +3,4 @@ name: Hulu rules: - '||hulu.com^' icon_svg: +group: streaming diff --git a/services/icloud_private_relay.yml b/services/icloud_private_relay.yml index 6659ab3dce5..8832ee6bca8 100644 --- a/services/icloud_private_relay.yml +++ b/services/icloud_private_relay.yml @@ -5,3 +5,4 @@ rules: - '||mask-h2.icloud.com^$dnsrewrite=NXDOMAIN;;' - '||mask-canary.icloud.com^$dnsrewrite=NXDOMAIN;;' icon_svg: +group: privacy diff --git a/services/iheartradio.yml b/services/iheartradio.yml index 74fe0ecbe8e..7d73772f2cf 100644 --- a/services/iheartradio.yml +++ b/services/iheartradio.yml @@ -13,3 +13,4 @@ rules: - '||ihrint.com^' - '||ihrstage.com^' icon_svg: +group: streaming diff --git a/services/imgur.yml b/services/imgur.yml index 3bae2f53e08..44e8e724e20 100644 --- a/services/imgur.yml +++ b/services/imgur.yml @@ -3,3 +3,4 @@ name: Imgur rules: - '||imgur.com^' icon_svg: +group: hosting diff --git a/services/instagram.yml b/services/instagram.yml index a217a939e90..39a2a21d449 100644 --- a/services/instagram.yml +++ b/services/instagram.yml @@ -74,3 +74,4 @@ rules: - '||web-instagram.net^' - '||wwwinstagram.com^' icon_svg: +group: social_network diff --git a/services/iqiyi.yml b/services/iqiyi.yml index 9b061804a0b..acb6a9ef12b 100644 --- a/services/iqiyi.yml +++ b/services/iqiyi.yml @@ -10,3 +10,4 @@ rules: - '||qiyipic.com^' - '||qy.net^' icon_svg: +group: streaming diff --git a/services/kakaotalk.yml b/services/kakaotalk.yml index 1f5f5adae20..18b5e3e30e4 100644 --- a/services/kakaotalk.yml +++ b/services/kakaotalk.yml @@ -4,3 +4,4 @@ rules: - '||kakao.com^' - '||kgslb.com^' icon_svg: +group: messenger diff --git a/services/kik.yml b/services/kik.yml index f5913cc2de0..bf9cfd27b0b 100644 --- a/services/kik.yml +++ b/services/kik.yml @@ -3,3 +3,4 @@ name: Kik rules: - '||kik.com^' icon_svg: +group: messenger diff --git a/services/lazada.yml b/services/lazada.yml index cd728a1a24e..dab91d4b1b7 100644 --- a/services/lazada.yml +++ b/services/lazada.yml @@ -11,3 +11,4 @@ rules: - '||lazada.vn^' - '||slatic.net^' icon_svg: +group: shopping diff --git a/services/leagueoflegends.yml b/services/leagueoflegends.yml index d59077bd639..80498974998 100644 --- a/services/leagueoflegends.yml +++ b/services/leagueoflegends.yml @@ -7,3 +7,4 @@ rules: - '||lolstatic.com^' - '||lolusercontent.com^' icon_svg: +group: gaming diff --git a/services/line.yml b/services/line.yml index c47d4826c2a..d500ab9209c 100644 --- a/services/line.yml +++ b/services/line.yml @@ -20,3 +20,4 @@ rules: - '||lineshoppingseller.com^' - '||linetv.tw^' icon_svg: +group: social_network diff --git a/services/linkedin.yml b/services/linkedin.yml index 406ca2fef61..3ead9023e87 100644 --- a/services/linkedin.yml +++ b/services/linkedin.yml @@ -18,3 +18,4 @@ rules: - '||linkedin.qtlcdn.com^' - '||lnkd.in^' icon_svg: +group: social_network diff --git a/services/lionsgateplus.yml b/services/lionsgateplus.yml index dbba6983a6d..ea5ec9e0508 100644 --- a/services/lionsgateplus.yml +++ b/services/lionsgateplus.yml @@ -3,4 +3,5 @@ name: Lionsgate+ rules: - '||lionsgateplus.com^' - '||starz.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: streaming diff --git a/services/looke.yml b/services/looke.yml index 0cbdd5aac92..976fcf83f4f 100644 --- a/services/looke.yml +++ b/services/looke.yml @@ -3,4 +3,5 @@ name: Looke rules: - '||looke.com.br^' - '||ottvs.com.br^' -icon_svg: \ No newline at end of file +icon_svg: +group: streaming diff --git a/services/mail_ru.yml b/services/mail_ru.yml index 9e9f9124b9b..9bafa4cd380 100644 --- a/services/mail_ru.yml +++ b/services/mail_ru.yml @@ -5,3 +5,4 @@ rules: - '||mail.ru^' - '||mycdn.me^' icon_svg: +group: social_network diff --git a/services/mastodon.yml b/services/mastodon.yml index 34e4086e98b..093c94e0648 100644 --- a/services/mastodon.yml +++ b/services/mastodon.yml @@ -101,3 +101,4 @@ rules: - '||mastodon.zaclys.com^' - '||cupoftea.social^' icon_svg: +group: social_network diff --git a/services/mercado_libre.yml b/services/mercado_libre.yml index 89e0da57b05..92e92309e35 100644 --- a/services/mercado_libre.yml +++ b/services/mercado_libre.yml @@ -22,3 +22,4 @@ rules: - '||mercadolibre.com.uy^' - '||mercadolibre.com.ve^' icon_svg: +group: shopping diff --git a/services/minecraft.yml b/services/minecraft.yml index e0892813d6f..f2c6f125fad 100644 --- a/services/minecraft.yml +++ b/services/minecraft.yml @@ -5,3 +5,4 @@ rules: - '||minecraftservices.com^' - '||mojang.com^' icon_svg: +group: gaming diff --git a/services/netflix.yml b/services/netflix.yml index 02a8789ad36..3f8aaab4aa9 100644 --- a/services/netflix.yml +++ b/services/netflix.yml @@ -27,3 +27,4 @@ rules: - '||nflxso.net^' - '||nflxvideo.net^' icon_svg: +group: streaming diff --git a/services/nintendo.yml b/services/nintendo.yml index d19978ad5dc..5672373f10f 100644 --- a/services/nintendo.yml +++ b/services/nintendo.yml @@ -19,3 +19,4 @@ rules: - '||nintendoswitch.cn^' - '||nintendowifi.net^' icon_svg: +group: gaming diff --git a/services/nvidia.yml b/services/nvidia.yml index a080a705176..a1e09b10cbf 100644 --- a/services/nvidia.yml +++ b/services/nvidia.yml @@ -12,3 +12,4 @@ rules: - '||nvidia.partners^' - '||tegrazone.com^' icon_svg: +group: software diff --git a/services/ok.yml b/services/ok.yml index 2c06c1359db..7a7ae03c894 100644 --- a/services/ok.yml +++ b/services/ok.yml @@ -3,3 +3,4 @@ name: OK.ru rules: - '||ok.ru^' icon_svg: +group: social_network diff --git a/services/olvid.yml b/services/olvid.yml index 85e28c06577..445d91eb55c 100644 --- a/services/olvid.yml +++ b/services/olvid.yml @@ -4,3 +4,4 @@ rules: - '||olvid.io^' - '||olvid-attachment-chunks.s3.eu-west-3.amazonaws.com^' icon_svg: +group: messenger diff --git a/services/onlyfans.yml b/services/onlyfans.yml index c948c30442a..bcff10f6bed 100644 --- a/services/onlyfans.yml +++ b/services/onlyfans.yml @@ -3,3 +3,4 @@ name: OnlyFans rules: - '||onlyfans.com^' icon_svg: +group: social_network diff --git a/services/origin.yml b/services/origin.yml index ee24c2ae1df..b6ffe3d1f2a 100644 --- a/services/origin.yml +++ b/services/origin.yml @@ -13,3 +13,4 @@ rules: - '||origin.tv^' - '||signin.ea.com^' icon_svg: +group: gaming diff --git a/services/paramountplus.yml b/services/paramountplus.yml index 4399a54789f..c6b08b183f1 100644 --- a/services/paramountplus.yml +++ b/services/paramountplus.yml @@ -4,3 +4,4 @@ rules: - '||paramountplus.com^' - '||pplusstatic.com^' icon_svg: +group: streaming diff --git a/services/pinterest.yml b/services/pinterest.yml index b80116e85cc..cbffe0a2565 100644 --- a/services/pinterest.yml +++ b/services/pinterest.yml @@ -51,3 +51,4 @@ rules: - '||pinterest.vn^' - '||pinterestmail.com^' icon_svg: +group: social_network diff --git a/services/playstation.yml b/services/playstation.yml index b3972d978bd..5184e1353c3 100644 --- a/services/playstation.yml +++ b/services/playstation.yml @@ -10,3 +10,4 @@ rules: - '||sonyentertainmentnetwork.com' - '||station.sony.com' icon_svg: +group: gaming diff --git a/services/plenty_of_fish.yml b/services/plenty_of_fish.yml index 2d39c00b8eb..180a97a8f8a 100644 --- a/services/plenty_of_fish.yml +++ b/services/plenty_of_fish.yml @@ -2,4 +2,5 @@ id: plenty_of_fish name: Plenty of Fish rules: - '||pof.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: dating diff --git a/services/plex.yml b/services/plex.yml index 762fd9d77f4..26d536858fe 100644 --- a/services/plex.yml +++ b/services/plex.yml @@ -5,4 +5,5 @@ rules: - '||plex.bz^' - '||plex.direct^' - '||plex.tv^' -icon_svg: \ No newline at end of file +icon_svg: +group: streaming diff --git a/services/pluto_tv.yml b/services/pluto_tv.yml index a9566aea206..f5fc0faee30 100644 --- a/services/pluto_tv.yml +++ b/services/pluto_tv.yml @@ -3,3 +3,4 @@ name: Pluto TV rules: - '||pluto.tv^' icon_svg: +group: streaming diff --git a/services/privacy.yml b/services/privacy.yml index 4b53a8e525a..fb58bacc2e5 100644 --- a/services/privacy.yml +++ b/services/privacy.yml @@ -2,4 +2,5 @@ id: privacy name: Privacy rules: - '||privacy.com.br^' -icon_svg: \ No newline at end of file +icon_svg: +group: privacy diff --git a/services/qq.yml b/services/qq.yml index 7b206e29b60..4a9fada1aa2 100644 --- a/services/qq.yml +++ b/services/qq.yml @@ -5,3 +5,4 @@ rules: - '||qq-video.cdn-go.cn^' - '||url.cn^' icon_svg: +group: streaming diff --git a/services/rakuten_viki.yml b/services/rakuten_viki.yml index 7c7f966a2fb..ad996c624a4 100644 --- a/services/rakuten_viki.yml +++ b/services/rakuten_viki.yml @@ -5,3 +5,4 @@ rules: - '||viki.io^' - '||m-content-viki.s.llnwi.net^' icon_svg: +group: streaming diff --git a/services/reddit.yml b/services/reddit.yml index 64bdabf893c..465be603902 100644 --- a/services/reddit.yml +++ b/services/reddit.yml @@ -7,3 +7,4 @@ rules: - '||redditmedia.com^' - '||redd.it^' icon_svg: +group: social_network diff --git a/services/riot_games.yml b/services/riot_games.yml index 6d5bb75e291..48bd9da66f9 100644 --- a/services/riot_games.yml +++ b/services/riot_games.yml @@ -8,3 +8,4 @@ rules: - '||riotcdn.net^' - '||riotgames.com^' icon_svg: +group: gaming diff --git a/services/roblox.yml b/services/roblox.yml index 80647796314..6d12c75b241 100644 --- a/services/roblox.yml +++ b/services/roblox.yml @@ -15,3 +15,4 @@ rules: - '||robloxdev.cn^' - '||rbxadder.com^' icon_svg: +group: gaming diff --git a/services/rockstar_games.yml b/services/rockstar_games.yml index 5ca28f5f7d6..4c1b6c467aa 100644 --- a/services/rockstar_games.yml +++ b/services/rockstar_games.yml @@ -4,3 +4,4 @@ rules: - '||rockstargames.com^' - '||rsg.sc^' icon_svg: +group: gaming diff --git a/services/samsung_tv_plus.yml b/services/samsung_tv_plus.yml index 31c43fe357c..d2731cfbc8c 100644 --- a/services/samsung_tv_plus.yml +++ b/services/samsung_tv_plus.yml @@ -6,3 +6,4 @@ rules: - '||internetat.tv^' - '||samsungcloud.tv^' icon_svg: +group: streaming \ No newline at end of file diff --git a/services/shein.yml b/services/shein.yml index 68b2e596693..eeba972a64e 100644 --- a/services/shein.yml +++ b/services/shein.yml @@ -6,3 +6,4 @@ rules: - '||shein.se^' - '||sheinsz.ltwebstatic.com^' icon_svg: +group: shopping diff --git a/services/shopee.yml b/services/shopee.yml index 36cfe83d58d..115937da6d7 100644 --- a/services/shopee.yml +++ b/services/shopee.yml @@ -22,3 +22,4 @@ rules: - '||shopeemobile.com^' - '||shp.ee^' icon_svg: +group: shopping diff --git a/services/signal.yml b/services/signal.yml index 83ba3cac7df..b4edf5096c4 100644 --- a/services/signal.yml +++ b/services/signal.yml @@ -3,4 +3,5 @@ name: Signal rules: - '||signal.org^' - '||whispersystems.org^' -icon_svg: \ No newline at end of file +icon_svg: +group: messenger diff --git a/services/skype.yml b/services/skype.yml index 40c1a174f72..fc579177fe3 100644 --- a/services/skype.yml +++ b/services/skype.yml @@ -10,3 +10,4 @@ rules: - '||skype-edf.akadns.net^' - '||skypedata.akadns.net^' icon_svg: +group: messenger diff --git a/services/snapchat.yml b/services/snapchat.yml index 6cd20c7cabb..a10530a25e4 100644 --- a/services/snapchat.yml +++ b/services/snapchat.yml @@ -8,3 +8,4 @@ rules: - '||snapads.com^' - '||impala-media-production.s3.amazonaws.com^' icon_svg: +group: social_network diff --git a/services/soundcloud.yml b/services/soundcloud.yml index afbab2b2b7e..09abc8101c7 100644 --- a/services/soundcloud.yml +++ b/services/soundcloud.yml @@ -4,3 +4,4 @@ rules: - '||soundcloud.com^' - '||sndcdn.com^' icon_svg: +group: streaming diff --git a/services/spotify.yml b/services/spotify.yml index 61220bb0b9c..237aaca06b2 100644 --- a/services/spotify.yml +++ b/services/spotify.yml @@ -23,3 +23,4 @@ rules: - '||spotifyforbrands.com^' - '||spotifyjobs.com^' icon_svg: +group: streaming diff --git a/services/steam.yml b/services/steam.yml index 02bea749786..864a871cd73 100644 --- a/services/steam.yml +++ b/services/steam.yml @@ -36,3 +36,4 @@ rules: - '||valvesoftware.com^' - '||wmsjsteam.com^' icon_svg: +group: gaming diff --git a/services/telegram.yml b/services/telegram.yml index fa26fb6b2fe..ee5149eef2c 100644 --- a/services/telegram.yml +++ b/services/telegram.yml @@ -19,3 +19,4 @@ rules: - '||tx.me^' - '||usercontent.dev^' icon_svg: +group: messenger diff --git a/services/temu.yml b/services/temu.yml index 90036d5ce50..d5c12172a79 100644 --- a/services/temu.yml +++ b/services/temu.yml @@ -3,4 +3,5 @@ name: Temu rules: - '||temu.com^' - '||kwcdn.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: shopping diff --git a/services/tidal.yml b/services/tidal.yml index 2ebd0c21c4c..286e18b7bbe 100644 --- a/services/tidal.yml +++ b/services/tidal.yml @@ -3,3 +3,4 @@ name: Tidal rules: - '||tidal.com^' icon_svg: +group: streaming diff --git a/services/tiktok.yml b/services/tiktok.yml index 39edc133f66..bea3ff0b098 100644 --- a/services/tiktok.yml +++ b/services/tiktok.yml @@ -31,3 +31,4 @@ rules: - '||p16-tiktok-*.ibyteimg.com^' - '||v*.tiktokcdn-eu.com^' icon_svg: +group: social_network diff --git a/services/tinder.yml b/services/tinder.yml index d0f2e701b63..2f27d35bc06 100644 --- a/services/tinder.yml +++ b/services/tinder.yml @@ -5,3 +5,4 @@ rules: - '||tinder.com^' - '||tindersparks.com^' icon_svg: +group: dating diff --git a/services/tumblr.yml b/services/tumblr.yml index 0cec6357da5..a2e9d533b58 100644 --- a/services/tumblr.yml +++ b/services/tumblr.yml @@ -2,4 +2,5 @@ id: tumblr name: Tumblr rules: - '||tumblr.com^' -icon_svg: \ No newline at end of file +icon_svg: +group: social_network diff --git a/services/twitch.yml b/services/twitch.yml index 9a68b9263d1..199f93ca589 100644 --- a/services/twitch.yml +++ b/services/twitch.yml @@ -8,3 +8,4 @@ rules: - '||twitchcdn.net^' - '||twitchsvc.net^' icon_svg: +group: streaming diff --git a/services/twitter.yml b/services/twitter.yml index 848d5bc8e76..8311be14fd0 100644 --- a/services/twitter.yml +++ b/services/twitter.yml @@ -25,3 +25,4 @@ rules: - '||vine.co^' - '||x.com^' icon_svg: +group: social_network diff --git a/services/ubisoft.yml b/services/ubisoft.yml index c2c8bde164a..86537cddfed 100644 --- a/services/ubisoft.yml +++ b/services/ubisoft.yml @@ -6,3 +6,4 @@ rules: - '||ubisoftconnect.com^' - '||ubisoft.org^' icon_svg: +group: gaming diff --git a/services/valorant.yml b/services/valorant.yml index b02305a3569..9f591a9eaa5 100644 --- a/services/valorant.yml +++ b/services/valorant.yml @@ -5,3 +5,4 @@ rules: - '||valorant.scd.riotcdn.net' - '||valorant.secure.dyn.riotcdn.net' icon_svg: +group: gaming diff --git a/services/viber.yml b/services/viber.yml index 4744e21e9e0..112acb65897 100644 --- a/services/viber.yml +++ b/services/viber.yml @@ -3,3 +3,4 @@ name: Viber rules: - '||viber.com^' icon_svg: +group: messenger diff --git a/services/vimeo.yml b/services/vimeo.yml index 427a9f5902f..67d09007ff7 100644 --- a/services/vimeo.yml +++ b/services/vimeo.yml @@ -19,3 +19,4 @@ rules: - '||vimeostatus.com^' - '||livestream.com^' icon_svg: +group: streaming diff --git a/services/vk.yml b/services/vk.yml index 242a75435b0..821ce1980b9 100644 --- a/services/vk.yml +++ b/services/vk.yml @@ -22,3 +22,4 @@ rules: - '||vkuservideo.com^' - '||vkuservideo.net^' icon_svg: +group: social_network diff --git a/services/voot.yml b/services/voot.yml index c35748b8db5..1559733b273 100644 --- a/services/voot.yml +++ b/services/voot.yml @@ -3,3 +3,4 @@ name: Voot rules: - '||voot.com^' icon_svg: +group: streaming diff --git a/services/wargaming.yml b/services/wargaming.yml index 5c9c16f9e8c..34770072e18 100644 --- a/services/wargaming.yml +++ b/services/wargaming.yml @@ -10,3 +10,4 @@ rules: - '||wotblitz.com^' - '||wgcdn.co^' icon_svg: +group: gaming diff --git a/services/wechat.yml b/services/wechat.yml index 7e1f553e076..58e8a87bfd4 100644 --- a/services/wechat.yml +++ b/services/wechat.yml @@ -7,3 +7,4 @@ rules: - '||weixinbridge.com^' - '||wx.qq.com^' icon_svg: +group: messenger diff --git a/services/weibo.yml b/services/weibo.yml index 99183a64c72..cd59cce484e 100644 --- a/services/weibo.yml +++ b/services/weibo.yml @@ -9,3 +9,4 @@ rules: - '||weibo.com.cn^' - '||weibocdn.com^' icon_svg: +group: streaming diff --git a/services/whatsapp.yml b/services/whatsapp.yml index b6a497cbb5a..3f6258b2797 100644 --- a/services/whatsapp.yml +++ b/services/whatsapp.yml @@ -13,3 +13,4 @@ rules: - '||whatsapp.tv^' - '||whatsappbrand.com^' icon_svg: +group: messenger diff --git a/services/wizz.yml b/services/wizz.yml index f74c34d9b2a..9d86830150c 100644 --- a/services/wizz.yml +++ b/services/wizz.yml @@ -4,4 +4,5 @@ rules: - '||wizzapp.com^' - '||getwizz.io^' - '||wizz.chat^' -icon_svg: \ No newline at end of file +icon_svg: +group: dating diff --git a/services/xboxlive.yml b/services/xboxlive.yml index 4004e686ee2..5d5c8122bae 100644 --- a/services/xboxlive.yml +++ b/services/xboxlive.yml @@ -10,3 +10,4 @@ rules: - '||xboxlive.com^' - '||xboxservices.com^' icon_svg: +group: gaming diff --git a/services/xiaohongshu.yml b/services/xiaohongshu.yml index 385e08bd6ab..dbc02bd2bec 100644 --- a/services/xiaohongshu.yml +++ b/services/xiaohongshu.yml @@ -3,5 +3,5 @@ name: Xiaohongshu rules: - '||xiaohongshu.com^' - '||xhscdn.com^' - - '||xhscdn.net^' -icon_svg: \ No newline at end of file +icon_svg: +group: shopping diff --git a/services/youtube.yml b/services/youtube.yml index 7dca5b471ed..ce4f348ca58 100644 --- a/services/youtube.yml +++ b/services/youtube.yml @@ -178,3 +178,4 @@ rules: - '||yt.be^' - '||ytimg.com^' icon_svg: +group: streaming diff --git a/services/zhihu.yml b/services/zhihu.yml index 0f321eb5f78..6a918ee0059 100644 --- a/services/zhihu.yml +++ b/services/zhihu.yml @@ -4,3 +4,4 @@ rules: - '||zhihu.com^' - '||zhimg.com^' icon_svg: +group: social_network