diff --git a/assets/index-f7c28708.js b/assets/index-afced5d4.js similarity index 90% rename from assets/index-f7c28708.js rename to assets/index-afced5d4.js index 14aca0a..daf3555 100644 --- a/assets/index-f7c28708.js +++ b/assets/index-afced5d4.js @@ -1,4 +1,4 @@ -(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const A of e.addedNodes)A.tagName==="LINK"&&A.rel==="modulepreload"&&r(A)}).observe(document,{childList:!0,subtree:!0});function t(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function r(o){if(o.ep)return;o.ep=!0;const e=t(o);fetch(o.href,e)}})();const he="data:audio/mpeg;base64,SUQzAwAAAAAAFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjAAAAAAlwAAAAAtASxAAAfQAAAOP//////////////////////////////////////////////////////////////////4xjAMQAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjAbAAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjApwAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA4geAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA/////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",ve="data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4Ljc2LjEwMAAAAAAAAAAAAAAA/+M4wAAAAAAAAAAAAEluZm8AAAAPAAAAVQAAGUAACw4RExYZGRwfIiUnKiotMDM2OT09QEJFSEtLTlFTVllcXF9iZWdqbm5xdHd6fX2AgoWIi46OkZOWmZygoKOmqayurrG0t7q9wMDCxcjLztLS1dja3eDg4+bp7O7x8fT3+v3/AAAAAExhdmYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlARXpeHQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwAAAAAJcAAAAALQEsQAAH0AAADj//////////////////////////////////////////////////////////////////+MYwDEAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwGwAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwKcAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwOIHgAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP////////////////////////////////////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASUQzAwAAAAAAFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjAAAAAAlwAAAAAtASxAAAfQAAAOP//////////////////////////////////////////////////////////////////4xjAMQAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjAbAAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjApwAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA4geAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA/////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJRDMDAAAAAAAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMAAAAACXAAAAAC0BLEAAB9AAAA4///////////////////////////////////////////////////////////////////jGMAxAAACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMBsAAACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMCnAAACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMDiB4ACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD/////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElEMwMAAAAAABYAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwAAAAAJcAAAAALQEsQAAH0AAADj//////////////////////////////////////////////////////////////////+MYwDEAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwGwAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwKcAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwOIHgAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP////////////////////////////////////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASUQzAwAAAAAAFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjAAAAAAlwAAAAAtASxAAAfQAAAOP//////////////////////////////////////////////////////////////////4xjAMQAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjAbAAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjApwAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA4geAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA/////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",se={高速:{移动测速:"https://speedtest2.gd.chinamobile.com.prod.hosts.ooklaserver.net:8080/download",联通测速:"https://cesubao.chinaunicom.cn/1000.bin",电信测速:"https://vipspeedtest8.wuhan.net.cn:8080/download?size=2147483648",清华大学:"https://iptv.tsinghua.edu.cn/st_new_HB33/garbage.php?ckSize=1024",上海交大:"https://mirrors.sjtug.sjtu.edu.cn/speedtest/garbage?ckSize=1024",微软Azure:"https://cdn.microsoftstore.com.cn/media/product_long_description/3781-00000/2_dupn50xr/4h0yzz2_360.jpg",并夕夕:"https://cd.pddpic.com/android_dev/2023-07-28/5c04772968aee57ca690fbe1e7f29467.apk",华为:"https://consumer.huawei.com/content/dam/huawei-cbg-site/cn/mkt/harmonyos-3/video/privacy/privacy-safe-center.webm",淘宝网:"https://cloud.video.taobao.com/play/u/null/p/1/e/6/t/1/d/ud/329682839911.mp4",京东:"https://storage.jd.com/jdmobile/JDMALL-PC2.apk",网易:"https://ma75.gdl.netease.com/Sky_Gold_0.11.4_228509_obt_netease_unisec_minify_b16066d78995a9048c08e5552198a642.apk",小米:"https://f100.g.mi.com/download/AppStore/09b005af75fff45bd88ff8f37d7910ba550d32a07",爱奇艺:"https://mesh.if.iqiyi.com/player/upgrade/file/last/IQIYIsetup_app.exe",字节跳动:"https://www.douyin.com/download/pc/obj/douyin-pc-client/7044145585217083655/releases/10715336/2.6.0/win32-ia32/douyin-v2.6.0-win32-ia32-douyinDownload1.exe"},运营商:{联通电视:"https://listen.10155.com/listener/womusic-bucket/90115000/mv_vod/volte_mp4/20230215/1625752132487675906.mp4",咪咕音乐:"https://d.musicapp.migu.cn/upload/fbpt_rsync_apps/local/signed/MobileMusic7350/MobileMusic7350_014000D.apk",咪咕视频:"https://img.cmvideo.cn/publish/noms/2022/10/14/1O3VIGPVP6HTS.jpg",咪咕快游:"https://h5cdn.migufun.com/middleh5/_nuxt/643447d.js",和彩云:"https://img.mcloud.139.com/material_prod/material_media/20221128/1669626861087.png",天翼云:"https://vod-origin-rjzy.gdoss.xstore.ctyun.cn/07da9eb52ad948c7b58b760003c0006b.mp4",天翼云桌面:"https://desk.ctyun.cn:8999/desktop-prod/software/windows_tob_client/15/64/202000005/CtyunClouddeskUniversal_2.0.0_202000005_x86_20230421161227_Setup_Signed.exe","21CN直播":"https://review.21cn.com/img/20220926/1/1664177550543.mp4"},常用:{腾讯:"https://game.gtimg.cn/images/nz/web202106/index/bc_part1.gif?0.3190485611376561",喜马拉雅:"https://s1.xmcdn.com/yx/xmly-live-release/last/dist/Ximalaya-Live-Setup-4.18.550.exe",小红书:"https://dc.xiaohongshu.com/file/pkgs/base/xiaohongshu.apk",vivo:"https://wwwstatic.vivo.com.cn/vivoportal/files/resource/funtouch/1651200648928/images/os2-jude-video.mp4",七牛云:"https://devtools.qiniu.com/linux/amd64/qrsctl",百度CDN:"https://issuecdn.baidupcs.com/issue/netdisk/yunguanjia/BaiduNetdisk_7.30.5.2.exe",百度PCDN:"https://issuepcdn.baidupcs.com/issue/netdisk/yunguanjia/BaiduNetdisk_7.30.5.2.exe"},"全球[Global]":{Cachefly:"https://web1.cachefly.net/speedtest/downloading",Cloudflare:"https://speed.cloudflare.com/__down?bytes=1073741824",Akamai:"https://akamtrans-a.akamaihd.net/delivery/2023/08/30/brand-protector-2500k-00004.ts","Cloudflare Workers":"https://gh.con.sh/https://github.com/AaronFeng753/Waifu2x-Extension-GUI/releases/download/v2.21.12/Waifu2x-Extension-GUI-v2.21.12-Portable.7z","Steam Akamai":"https://cdn.akamai.steamstatic.com/steam/apps/1063730/extras/NW_Sword_Sorcery_2.gif","Steam Cloudflare":"https://cdn.cloudflare.steamstatic.com/steam/apps/1063730/extras/NW_Sword_Sorcery_2.gif","Microsoft Akamai":"https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RW16Ptm"}};/*! Element Plus Icons Vue v2.1.0 */var O=(m,l)=>{let t=m.__vccOpts||m;for(let[r,o]of l)t[r]=o;return t},ge={name:"Calendar"},_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},we=Vue.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),ye=[we];function xe(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",_e,ye)}var be=O(ge,[["render",xe],["__file","calendar.vue"]]),ke={name:"CircleCheck"},Ce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ne=Vue.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Ee=Vue.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),Te=[Ne,Ee];function Me(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Ce,Te)}var Se=O(ke,[["render",Me],["__file","circle-check.vue"]]),Be={name:"CopyDocument"},Pe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},De=Vue.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64h64z"},null,-1),Ie=Vue.createElementVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64H384zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64z"},null,-1),Le=[De,Ie];function je(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Pe,Le)}var Ue=O(Be,[["render",je],["__file","copy-document.vue"]]),Oe={name:"Delete"},$e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ge=Vue.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),ze=[Ge];function He(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",$e,ze)}var Re=O(Oe,[["render",He],["__file","delete.vue"]]),Ye={name:"Edit"},Je={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fe=Vue.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z"},null,-1),Ke=Vue.createElementVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"},null,-1),Ze=[Fe,Ke];function We(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Je,Ze)}var re=O(Ye,[["render",We],["__file","edit.vue"]]),Qe={name:"Hide"},Xe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qe=Vue.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),et=Vue.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),tt=[qe,et];function At(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Xe,tt)}var ot=O(Qe,[["render",At],["__file","hide.vue"]]),nt={name:"Histogram"},lt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},at=Vue.createElementVNode("path",{fill:"currentColor",d:"M416 896V128h192v768H416zm-288 0V448h192v448H128zm576 0V320h192v576H704z"},null,-1),st=[at];function rt(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",lt,st)}var ct=O(nt,[["render",rt],["__file","histogram.vue"]]),it={name:"Link"},ut={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dt=Vue.createElementVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496 45.248 45.248zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152 625.152 353.6z"},null,-1),pt=[dt];function ft(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",ut,pt)}var Vt=O(it,[["render",ft],["__file","link.vue"]]),mt={name:"Loading"},ht={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},vt=Vue.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),gt=[vt];function _t(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",ht,gt)}var ce=O(mt,[["render",_t],["__file","loading.vue"]]),wt={name:"TrendCharts"},yt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xt=Vue.createElementVNode("path",{fill:"currentColor",d:"M128 896V128h768v768H128zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0z"},null,-1),bt=[xt];function kt(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",yt,bt)}var Ct=O(wt,[["render",kt],["__file","trend-charts.vue"]]);/*! +(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const A of e.addedNodes)A.tagName==="LINK"&&A.rel==="modulepreload"&&r(A)}).observe(document,{childList:!0,subtree:!0});function t(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function r(o){if(o.ep)return;o.ep=!0;const e=t(o);fetch(o.href,e)}})();const he="data:audio/mpeg;base64,SUQzAwAAAAAAFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjAAAAAAlwAAAAAtASxAAAfQAAAOP//////////////////////////////////////////////////////////////////4xjAMQAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjAbAAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjApwAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA4geAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA/////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",ve="data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4Ljc2LjEwMAAAAAAAAAAAAAAA/+M4wAAAAAAAAAAAAEluZm8AAAAPAAAAVQAAGUAACw4RExYZGRwfIiUnKiotMDM2OT09QEJFSEtLTlFTVllcXF9iZWdqbm5xdHd6fX2AgoWIi46OkZOWmZygoKOmqayurrG0t7q9wMDCxcjLztLS1dja3eDg4+bp7O7x8fT3+v3/AAAAAExhdmYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlARXpeHQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwAAAAAJcAAAAALQEsQAAH0AAADj//////////////////////////////////////////////////////////////////+MYwDEAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwGwAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwKcAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwOIHgAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP////////////////////////////////////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASUQzAwAAAAAAFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjAAAAAAlwAAAAAtASxAAAfQAAAOP//////////////////////////////////////////////////////////////////4xjAMQAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjAbAAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjApwAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA4geAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA/////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJRDMDAAAAAAAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMAAAAACXAAAAAC0BLEAAB9AAAA4///////////////////////////////////////////////////////////////////jGMAxAAACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMBsAAACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMCnAAACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMDiB4ACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD////////////////////////////////////////////////////////////////////////////////jGMD/DsACXAAAAAD/////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jGMD/DsACXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElEMwMAAAAAABYAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwAAAAAJcAAAAALQEsQAAH0AAADj//////////////////////////////////////////////////////////////////+MYwDEAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwGwAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwKcAAAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwOIHgAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP///////////////////////////////////////////////////////////////////////////////+MYwP8OwAJcAAAAAP////////////////////////////////////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYwP8OwAJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASUQzAwAAAAAAFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjAAAAAAlwAAAAAtASxAAAfQAAAOP//////////////////////////////////////////////////////////////////4xjAMQAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjAbAAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjApwAAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA4geAAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA////////////////////////////////////////////////////////////////////////////////4xjA/w7AAlwAAAAA/////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjA/w7AAlwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",se={高速:{微软Azure:"https://cdn.microsoftstore.com.cn/media/product_long_description/3781-00000/2_dupn50xr/4h0yzz2_360.jpg",移动测速:"https://speedtest2.gd.chinamobile.com.prod.hosts.ooklaserver.net:8080/download",联通测速:"https://cesubao.chinaunicom.cn/1000.bin",电信测速:"https://vipspeedtest8.wuhan.net.cn:8080/download?size=2147483648",清华大学:"https://iptv.tsinghua.edu.cn/st_new_HB33/garbage.php?ckSize=1024",上海交大:"https://mirrors.sjtug.sjtu.edu.cn/speedtest/garbage?ckSize=1024",并夕夕:"https://cd.pddpic.com/android_dev/2023-07-28/5c04772968aee57ca690fbe1e7f29467.apk",华为:"https://consumer.huawei.com/content/dam/huawei-cbg-site/cn/mkt/harmonyos-3/video/privacy/privacy-safe-center.webm",淘宝网:"https://cloud.video.taobao.com/play/u/null/p/1/e/6/t/1/d/ud/329682839911.mp4",京东:"https://storage.jd.com/jdmobile/JDMALL-PC2.apk",网易:"https://ma75.gdl.netease.com/Sky_Gold_0.11.4_228509_obt_netease_unisec_minify_b16066d78995a9048c08e5552198a642.apk",小米:"https://f100.g.mi.com/download/AppStore/09b005af75fff45bd88ff8f37d7910ba550d32a07",爱奇艺:"https://mesh.if.iqiyi.com/player/upgrade/file/last/IQIYIsetup_app.exe",字节跳动:"https://www.douyin.com/download/pc/obj/douyin-pc-client/7044145585217083655/releases/10715336/2.6.0/win32-ia32/douyin-v2.6.0-win32-ia32-douyinDownload1.exe"},运营商:{联通电视:"https://listen.10155.com/listener/womusic-bucket/90115000/mv_vod/volte_mp4/20230215/1625752132487675906.mp4",咪咕音乐:"https://d.musicapp.migu.cn/upload/fbpt_rsync_apps/local/signed/MobileMusic7350/MobileMusic7350_014000D.apk",咪咕视频:"https://img.cmvideo.cn/publish/noms/2022/10/14/1O3VIGPVP6HTS.jpg",咪咕快游:"https://h5cdn.migufun.com/middleh5/_nuxt/643447d.js",和彩云:"https://img.mcloud.139.com/material_prod/material_media/20221128/1669626861087.png",天翼云:"https://vod-origin-rjzy.gdoss.xstore.ctyun.cn/07da9eb52ad948c7b58b760003c0006b.mp4",天翼云桌面:"https://desk.ctyun.cn:8999/desktop-prod/software/windows_tob_client/15/64/202000005/CtyunClouddeskUniversal_2.0.0_202000005_x86_20230421161227_Setup_Signed.exe","21CN直播":"https://review.21cn.com/img/20220926/1/1664177550543.mp4"},常用:{腾讯:"https://game.gtimg.cn/images/nz/web202106/index/bc_part1.gif?0.3190485611376561",喜马拉雅:"https://s1.xmcdn.com/yx/xmly-live-release/last/dist/Ximalaya-Live-Setup-4.18.550.exe",小红书:"https://dc.xiaohongshu.com/file/pkgs/base/xiaohongshu.apk",vivo:"https://wwwstatic.vivo.com.cn/vivoportal/files/resource/funtouch/1651200648928/images/os2-jude-video.mp4",七牛云:"https://devtools.qiniu.com/linux/amd64/qrsctl",百度CDN:"https://issuecdn.baidupcs.com/issue/netdisk/yunguanjia/BaiduNetdisk_7.30.5.2.exe",百度PCDN:"https://issuepcdn.baidupcs.com/issue/netdisk/yunguanjia/BaiduNetdisk_7.30.5.2.exe"},"全球[Global]":{Cachefly:"https://web1.cachefly.net/speedtest/downloading",Cloudflare:"https://speed.cloudflare.com/__down?bytes=1073741824",Akamai:"https://akamtrans-a.akamaihd.net/delivery/2023/08/30/brand-protector-2500k-00004.ts","Cloudflare Workers":"https://gh.con.sh/https://github.com/AaronFeng753/Waifu2x-Extension-GUI/releases/download/v2.21.12/Waifu2x-Extension-GUI-v2.21.12-Portable.7z","Steam Akamai":"https://cdn.akamai.steamstatic.com/steam/apps/1063730/extras/NW_Sword_Sorcery_2.gif","Steam Cloudflare":"https://cdn.cloudflare.steamstatic.com/steam/apps/1063730/extras/NW_Sword_Sorcery_2.gif","Microsoft Akamai":"https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RW16Ptm"}};/*! Element Plus Icons Vue v2.1.0 */var O=(m,l)=>{let t=m.__vccOpts||m;for(let[r,o]of l)t[r]=o;return t},ge={name:"Calendar"},_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},we=Vue.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),ye=[we];function xe(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",_e,ye)}var be=O(ge,[["render",xe],["__file","calendar.vue"]]),ke={name:"CircleCheck"},Ce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ne=Vue.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Ee=Vue.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),Te=[Ne,Ee];function Me(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Ce,Te)}var Se=O(ke,[["render",Me],["__file","circle-check.vue"]]),Be={name:"CopyDocument"},Pe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},De=Vue.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64h64z"},null,-1),Ie=Vue.createElementVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64H384zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64z"},null,-1),Le=[De,Ie];function je(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Pe,Le)}var Ue=O(Be,[["render",je],["__file","copy-document.vue"]]),Oe={name:"Delete"},$e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ze=Vue.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),Ge=[ze];function He(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",$e,Ge)}var Re=O(Oe,[["render",He],["__file","delete.vue"]]),Ye={name:"Edit"},Je={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fe=Vue.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z"},null,-1),Ke=Vue.createElementVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"},null,-1),Ze=[Fe,Ke];function We(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Je,Ze)}var re=O(Ye,[["render",We],["__file","edit.vue"]]),Qe={name:"Hide"},Xe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qe=Vue.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),et=Vue.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),tt=[qe,et];function At(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",Xe,tt)}var ot=O(Qe,[["render",At],["__file","hide.vue"]]),nt={name:"Histogram"},lt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},at=Vue.createElementVNode("path",{fill:"currentColor",d:"M416 896V128h192v768H416zm-288 0V448h192v448H128zm576 0V320h192v576H704z"},null,-1),st=[at];function rt(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",lt,st)}var ct=O(nt,[["render",rt],["__file","histogram.vue"]]),it={name:"Link"},ut={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dt=Vue.createElementVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496 45.248 45.248zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152 625.152 353.6z"},null,-1),pt=[dt];function ft(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",ut,pt)}var Vt=O(it,[["render",ft],["__file","link.vue"]]),mt={name:"Loading"},ht={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},vt=Vue.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),gt=[vt];function _t(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",ht,gt)}var ce=O(mt,[["render",_t],["__file","loading.vue"]]),wt={name:"TrendCharts"},yt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xt=Vue.createElementVNode("path",{fill:"currentColor",d:"M128 896V128h768v768H128zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0z"},null,-1),bt=[xt];function kt(m,l,t,r,o,e){return Vue.openBlock(),Vue.createElementBlock("svg",yt,bt)}var Ct=O(wt,[["render",kt],["__file","trend-charts.vue"]]);/*! * @soerenmartius/vue3-clipboard v0.1.2 * (c) 2021 Soeren Martius * @license MIT @@ -7,5 +7,5 @@ * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha - */(function(r,o){m.exports=o()})(Nt,function(){return function(t){var r={};function o(e){if(r[e])return r[e].exports;var A=r[e]={i:e,l:!1,exports:{}};return t[e].call(A.exports,A,A.exports,o),A.l=!0,A.exports}return o.m=t,o.c=r,o.d=function(e,A,s){o.o(e,A)||Object.defineProperty(e,A,{enumerable:!0,get:s})},o.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,A){if(A&1&&(e=o(e)),A&8||A&4&&typeof e=="object"&&e&&e.__esModule)return e;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),A&2&&typeof e!="string")for(var f in e)o.d(s,f,(function(i){return e[i]}).bind(null,f));return s},o.n=function(e){var A=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(A,"a",A),A},o.o=function(e,A){return Object.prototype.hasOwnProperty.call(e,A)},o.p="",o(o.s=6)}([function(t,r){function o(e){var A;if(e.nodeName==="SELECT")e.focus(),A=e.value;else if(e.nodeName==="INPUT"||e.nodeName==="TEXTAREA"){var s=e.hasAttribute("readonly");s||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),s||e.removeAttribute("readonly"),A=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var f=window.getSelection(),i=document.createRange();i.selectNodeContents(e),f.removeAllRanges(),f.addRange(i),A=f.toString()}return A}t.exports=o},function(t,r){function o(){}o.prototype={on:function(e,A,s){var f=this.e||(this.e={});return(f[e]||(f[e]=[])).push({fn:A,ctx:s}),this},once:function(e,A,s){var f=this;function i(){f.off(e,i),A.apply(s,arguments)}return i._=A,this.on(e,i,s)},emit:function(e){var A=[].slice.call(arguments,1),s=((this.e||(this.e={}))[e]||[]).slice(),f=0,i=s.length;for(f;f0&&arguments[0]!==void 0?arguments[0]:{};this.action=p.action,this.container=p.container,this.emitter=p.emitter,this.target=p.target,this.text=p.text,this.trigger=p.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var p=this,V=document.documentElement.getAttribute("dir")=="rtl";this.removeFake(),this.fakeHandlerCallback=function(){return p.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[V?"right":"left"]="-9999px";var g=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=g+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=A()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=A()(this.target),this.copyText()}},{key:"copyText",value:function(){var p=void 0;try{p=document.execCommand(this.action)}catch{p=!1}this.handleResult(p)}},{key:"handleResult",value:function(p){this.emitter.emit(p?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=p,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(p){if(p!==void 0)if(p&&(typeof p>"u"?"undefined":s(p))==="object"&&p.nodeType===1){if(this.action==="copy"&&p.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(p.hasAttribute("readonly")||p.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=p}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),d}(),c=h,_=o(1),w=o.n(_),B=o(2),L=o.n(B),$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},C=function(){function d(u,p){for(var V=0;V0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof V.action=="function"?V.action:this.defaultAction,this.target=typeof V.target=="function"?V.target:this.defaultTarget,this.text=typeof V.text=="function"?V.text:this.defaultText,this.container=$(V.container)==="object"?V.container:document.body}},{key:"listenClick",value:function(V){var g=this;this.listener=L()(V,"click",function(N){return g.onClick(N)})}},{key:"onClick",value:function(V){var g=V.delegateTarget||V.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c({action:this.action(g),target:this.target(g),text:this.text(g),container:this.container,trigger:g,emitter:this})}},{key:"defaultAction",value:function(V){return G("action",V)}},{key:"defaultTarget",value:function(V){var g=G("target",V);if(g)return document.querySelector(g)}},{key:"defaultText",value:function(V){return G("text",V)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],g=typeof V=="string"?[V]:V,N=!!document.queryCommandSupported;return g.forEach(function(z){N=N&&!!document.queryCommandSupported(z)}),N}}]),u}(w.a);function G(d,u){var p="data-clipboard-"+d;if(u.hasAttribute(p))return u.getAttribute(p)}r.default=j}]).default})}),ie=Et(St);const J={autoSetContainer:!1,appendToBody:!0},Bt={config:m=>{const{autoSetContainer:l,appendToBody:t}=m;J.autoSetContainer=l||!1,J.appendToBody=t||!0},install:m=>{m.config.globalProperties.$vclipboard=F,m.directive("clipboard",{beforeMount(l,t){if(t.arg==="success")l._vClipboard_success=t.value;else if(t.arg==="error")l._vClipboard_error=t.value;else{const r=new ie(l,{text:()=>t.value,action:()=>t.arg==="cut"?"cut":"copy",container:J.autoSetContainer?l:void 0});r.on("success",o=>{const e=l._vClipboard_success;e&&e(o)}),r.on("error",o=>{const e=l._vClipboard_error;e&&e(o)}),l._vClipboard=r}},updated(l,t){t.arg==="success"?l._vClipboard_success=t.value:t.arg==="error"?l._vClipboard_error=t.value:(l._vClipboard.text=()=>t.value,l._vClipboard.action=()=>t.arg==="cut"?"cut":"copy")},unmounted(l,t){t.arg==="success"?delete l._vClipboard_success:t.arg==="error"?delete l._vClipboard_error:(l._vClipboard.destroy(),delete l._vClipboard)}})},toClipboard:(m,l)=>F(m,l)},F=(m,l="copy")=>new Promise((t,r)=>{const o=document.createElement("button"),e=new ie(o,{text:()=>m,action:()=>l});e.on("success",A=>{e.destroy(),t(A)}),e.on("error",A=>{e.destroy(),r(A)}),J.appendToBody&&document.body.appendChild(o),o.click(),J.appendToBody&&document.body.removeChild(o)}),q=m=>(Vue.pushScopeId("data-v-bf477141"),m=m(),Vue.popScopeId(),m),Pt={class:"block"},Dt={class:"card"},It={key:0},Lt={style:{width:"150px",height:"150px","margin-left":"auto","margin-right":"auto"}},jt=["src"],Ut=q(()=>Vue.createElementVNode("br",null,null,-1)),Ot={key:0,style:{"font-size":"15px"}},$t=q(()=>Vue.createElementVNode("br",null,null,-1)),Gt={key:1,style:{"font-size":"15px"}},zt={key:2,style:{"font-size":"15px"}},Ht={key:1},Rt=q(()=>Vue.createElementVNode("br",null,null,-1)),Yt={style:{"font-size":"20px"}},Jt=Vue.defineComponent({__name:"My",props:{loginInfo:{type:Object,required:!0}},setup(m){const l=m,t=Vue.ref(0),r=Vue.ref("");Vue.watch(t,(c,_)=>{c<=0&&(l.loginInfo.AccessToken="")});const o=async c=>await(await fetch("https://api.netart.cn/user/",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(c)})).json();let e=0;const A=async()=>{r.value="";let c=await o({action:"login",AccessToken:l.loginInfo.AccessToken});t.value=-1,c.status==0&&(r.value=c.img,sessionStorage.setItem("pt_login_sig",c.pt_login_sig),sessionStorage.setItem("qrsig",c.qrsig),e=setInterval(i,1e3))},s=async()=>{ElementPlus.ElMessageBox.confirm("确定要强制下线登录该账号的其他设备吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(async()=>{(await o({action:"kick_old",AccessToken:l.loginInfo.AccessToken})).status==0&&ElementPlus.ElMessage({type:"info",message:"已经下线其他设备"})}).catch(()=>{})},f=async()=>{ElementPlus.ElMessageBox.confirm("确定从此设备退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{A()}).catch(()=>{})},i=async()=>{let c=await o({action:"qr_check",pt_login_sig:sessionStorage.getItem("pt_login_sig"),qrsig:sessionStorage.getItem("qrsig")});c.status==0?(t.value=c.uin,l.loginInfo.AccessToken=c.AccessToken,clearInterval(e)):c.status==-2?t.value=-2:c.status==-1?t.value=-1:c.status==-10&&(clearInterval(e),ElementPlus.ElMessageBox.alert(`登录失败,${c.msg}请重新拉取二维码`,"提示",{confirmButtonText:"确定",callback:()=>{A()}}))},h=async()=>{let c=await o({action:"getStatus",AccessToken:l.loginInfo.AccessToken});c.status==0?t.value=c.uin:c.status==-1&&(t.value=-1,A())};return Vue.onMounted(()=>{h()}),Vue.onUnmounted(()=>{e&&clearInterval(e)}),(c,_)=>{const w=Vue.resolveComponent("el-avatar"),B=Vue.resolveComponent("el-divider"),L=Vue.resolveComponent("el-button"),$=Vue.resolveDirective("loading");return Vue.openBlock(),Vue.createElementBlock("div",Pt,[Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Dt,[t.value==-1||t.value==-2?(Vue.openBlock(),Vue.createElementBlock("div",It,[Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Lt,[r.value?(Vue.openBlock(),Vue.createElementBlock("img",{key:0,style:{width:"100%"},src:r.value},null,8,jt)):Vue.createCommentVNode("",!0)])),[[$,!r.value]]),Ut,t.value!=-2?(Vue.openBlock(),Vue.createElementBlock("span",Ot,"请使用QQ扫码登录")):Vue.createCommentVNode("",!0),$t,t.value!=-2?(Vue.openBlock(),Vue.createElementBlock("span",Gt,"TIM可以从相册扫码")):Vue.createCommentVNode("",!0),t.value==-2?(Vue.openBlock(),Vue.createElementBlock("span",zt,"请确认登录")):Vue.createCommentVNode("",!0)])):Vue.createCommentVNode("",!0),t.value>0?(Vue.openBlock(),Vue.createElementBlock("div",Ht,[Vue.createVNode(w,{size:100,src:"https://q.qlogo.cn/headimg_dl?dst_uin="+t.value+"&spec=640"},null,8,["src"]),Rt,Vue.createElementVNode("span",Yt,Vue.toDisplayString(t.value),1),Vue.createVNode(B),Vue.createVNode(L,{class:"action",type:"warning",onClick:s},{default:Vue.withCtx(()=>[Vue.createTextVNode("下线其他设备")]),_:1}),Vue.createVNode(L,{class:"action",type:"danger",onClick:f},{default:Vue.withCtx(()=>[Vue.createTextVNode("退出登录")]),_:1})])):Vue.createCommentVNode("",!0)])),[[$,!t.value]])])}}});const Ft=(m,l)=>{const t=m.__vccOpts||m;for(const[r,o]of l)t[r]=o;return t},Kt=Ft(Jt,[["__scopeId","data-v-bf477141"]]),Zt={style:{"overflow-y":"auto","max-height":"calc(85vh - 100px)","margin-top":"-30px"}},Wt={class:"mb-2 flex items-center text-sm"},Qt={class:"mb-2 flex items-center text-sm"},Xt={class:"block"},qt={style:{"margin-left":"10px","vertical-align":"6px"}},eA={class:"block"},tA={class:"block"},AA={class:"block"},oA={style:{"margin-left":"10px"}},nA=Vue.defineComponent({__name:"Mark",props:{show:Object,loginInfo:{type:Object,required:!0}},setup(m){const l=m,t=Vue.ref("allUsed"),r=Vue.ref(!1),o=Vue.ref(!1),e=Vue.ref(!0);window.onresize=()=>{window.outerWidth>500?e.value=!1:e.value=!0},window.outerWidth>500?e.value=!1:e.value=!0;const A=Vue.ref(!1),s=Vue.ref("3"),f=Vue.ref("总流量"),i=()=>{let C={allUsed:"总流量",averageSpeed:"平均速度",onlineTime:"在线时长"}[t.value];return C||""},h=Vue.ref(!1);l.show&&Vue.watch(l.show,(C,x)=>{h.value=C.show}),Vue.watch(h,(C,x)=>{l.show&&(l.show.show=C),C&&B()});const c=Vue.ref([]),_=async C=>await(await fetch("https://api.netart.cn/app/network-panel/",{method:"POST",mode:"cors",credentials:"include",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(C)})).json(),w=C=>{const x=["移动","联通","电信","广电"],M=["","success","warning","danger"];for(let I in x)if(C.includes(x[I]))return M[I];return"info"},B=async()=>{f.value=i(),r.value=!0,c.value=[];try{(await _({action:"get",grade:Number(s.value),sortedBy:t.value,past:A.value})).data.forEach(x=>{let M;t.value=="allUsed"?M=L(x.data,["B","KB","MB","GB","TB","PB"],[0,0,0,0,1,1]):t.value=="averageSpeed"?M=L(x.data*8,["Bps","Kbps","Mbps","Gbps","Tbps","Pbps"],[0,0,0,1,1,1]):t.value=="onlineTime"&&(M=$(x.data)),x.data=M,x.type=w(x.isp),c.value.push(x)})}catch{ElementPlus.ElMessageBox.alert("无法获取榜单信息,可能是后端服务器异常","错误",{confirmButtonText:"确定"})}r.value=!1};function L(C,x,M){for(var I=C,j=0;I>=1024&&j!=x.length-1;)I=I/1024,j++;return I.toFixed(M[j])+x[j]}const $=C=>C<60?C.toFixed(0)+"秒":(C/=60,C<60?C.toFixed(0)+"分钟":(C/=60,C<24?C.toFixed(0)+"小时":(C/=24,C.toFixed(0)+"天")));return(C,x)=>{const M=Vue.resolveComponent("el-radio"),I=Vue.resolveComponent("el-radio-group"),j=Vue.resolveComponent("el-checkbox"),G=Vue.resolveComponent("el-empty"),d=Vue.resolveComponent("el-table-column"),u=Vue.resolveComponent("el-avatar"),p=Vue.resolveComponent("el-tag"),V=Vue.resolveComponent("el-table"),g=Vue.resolveComponent("el-button"),N=Vue.resolveComponent("el-dialog"),z=Vue.resolveDirective("loading");return Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,[Vue.createVNode(N,{"align-center":"",style:{width:"95vw","max-width":"600px","max-height":"85vh"},modelValue:h.value,"onUpdate:modelValue":x[4]||(x[4]=T=>h.value=T),title:"排行榜"},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",Zt,[Vue.createElementVNode("div",Wt,[Vue.createVNode(I,{modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=T=>t.value=T),onChange:B,class:"ml-4"},{default:Vue.withCtx(()=>[Vue.createVNode(M,{label:"allUsed",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("总流量")]),_:1}),Vue.createVNode(M,{label:"averageSpeed",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("平均速度")]),_:1}),Vue.createVNode(M,{label:"onlineTime",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("在线时长")]),_:1})]),_:1},8,["modelValue"])]),Vue.createElementVNode("div",Qt,[Vue.createVNode(I,{modelValue:s.value,"onUpdate:modelValue":x[2]||(x[2]=T=>s.value=T),onChange:B,class:"ml-4"},{default:Vue.withCtx(()=>[Vue.createVNode(M,{label:"3",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("小时")]),_:1}),Vue.createVNode(M,{label:"2",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("天")]),_:1}),Vue.createVNode(M,{label:"1",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("月")]),_:1}),Vue.createVNode(M,{label:"0",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("年")]),_:1}),Vue.createVNode(j,{modelValue:A.value,"onUpdate:modelValue":x[1]||(x[1]=T=>A.value=T),label:"上个统计周期",size:"small",onChange:B},null,8,["modelValue"])]),_:1},8,["modelValue"])]),Vue.withDirectives((Vue.openBlock(),Vue.createBlock(V,{style:{"min-height":"500px"},"table-layout":"auto",data:c.value,size:"small"},{empty:Vue.withCtx(()=>[Vue.withDirectives(Vue.createVNode(G,{description:"没有数据"},null,512),[[Vue.vShow,!r.value]])]),default:Vue.withCtx(()=>[Vue.createVNode(d,{type:"index",label:"",width:"40"}),Vue.createVNode(d,{prop:"user",label:"用户"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",Xt,[Vue.createVNode(u,{size:30,src:T.row.headimg},null,8,["src"]),Vue.createElementVNode("span",qt,Vue.toDisplayString(T.row.user),1)])]),_:1}),Vue.createVNode(d,{prop:"data",label:f.value},null,8,["label"]),e.value?(Vue.openBlock(),Vue.createBlock(d,{key:0,prop:"user",label:"属地"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",eA,[Vue.createVNode(p,{size:"small",type:T.row.type,round:""},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(T.row.short),1)]),_:2},1032,["type"])])]),_:1})):Vue.createCommentVNode("",!0),e.value?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createBlock(d,{key:1,prop:"user",label:"运营商"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",tA,[Vue.createVNode(p,{size:"small",type:T.row.type,round:""},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(T.row.isp),1)]),_:2},1032,["type"])])]),_:1})),e.value?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createBlock(d,{key:2,prop:"user",label:"属地"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",AA,[Vue.createElementVNode("span",oA,Vue.toDisplayString(T.row.addr),1)])]),_:1}))]),_:1},8,["data"])),[[z,r.value]])]),Vue.createVNode(g,{style:{width:"100%"},onClick:x[3]||(x[3]=T=>o.value=!0)},{default:Vue.withCtx(()=>[Vue.createTextVNode("用户中心")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(N,{style:{width:"99vw","max-width":"500px"},modelValue:o.value,"onUpdate:modelValue":x[5]||(x[5]=T=>o.value=T),title:"用户中心"},{default:Vue.withCtx(()=>[o.value?(Vue.openBlock(),Vue.createBlock(Kt,{key:0,loginInfo:l.loginInfo},null,8,["loginInfo"])):Vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])],64)}}}),lA={style:{"margin-top":"10px","margin-left":"10px","margin-right":"10px"}},aA={class:"slider-demo-block"},sA=Vue.createElementVNode("span",{class:"font-background"},"测速地址:",-1),rA=Vue.createElementVNode("br",null,null,-1),cA={class:"slider-demo-block",style:{"margin-top":"20px"}},iA={class:"font-background"},uA=Vue.createElementVNode("br",null,null,-1),dA={class:"ItemContainer"},pA={class:"showItem"},fA=Vue.createElementVNode("span",{class:"font-background",style:{"font-size":"larger"}},"总流量",-1),VA=Vue.createElementVNode("div",{class:"state-icon"},[Vue.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"h-15 w-15 float-right pt-3"},[Vue.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z"})])],-1),mA={class:"showItem"},hA={class:"font-background",style:{"font-size":"larger"}},vA=Vue.createElementVNode("br",null,null,-1),gA=Vue.createElementVNode("br",null,null,-1),_A=Vue.createElementVNode("br",null,null,-1),wA=Vue.createElementVNode("div",{class:"state-icon",style:{color:"rgb(9,194,222)"}},[Vue.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"h-15 w-15 float-right pt-3"},[Vue.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1",d:"M16.469,8.924l-2.414,2.413c-0.156,0.156-0.408,0.156-0.564,0c-0.156-0.155-0.156-0.408,0-0.563l2.414-2.414c1.175-1.175,1.175-3.087,0-4.262c-0.57-0.569-1.326-0.883-2.132-0.883s-1.562,0.313-2.132,0.883L9.227,6.511c-1.175,1.175-1.175,3.087,0,4.263c0.288,0.288,0.624,0.511,0.997,0.662c0.204,0.083,0.303,0.315,0.22,0.52c-0.171,0.422-0.643,0.17-0.52,0.22c-0.473-0.191-0.898-0.474-1.262-0.838c-1.487-1.485-1.487-3.904,0-5.391l2.414-2.413c0.72-0.72,1.678-1.117,2.696-1.117s1.976,0.396,2.696,1.117C17.955,5.02,17.955,7.438,16.469,8.924 M10.076,7.825c-0.205-0.083-0.437,0.016-0.52,0.22c-0.083,0.205,0.016,0.437,0.22,0.52c0.374,0.151,0.709,0.374,0.997,0.662c1.176,1.176,1.176,3.088,0,4.263l-2.414,2.413c-0.569,0.569-1.326,0.883-2.131,0.883s-1.562-0.313-2.132-0.883c-1.175-1.175-1.175-3.087,0-4.262L6.51,9.227c0.156-0.155,0.156-0.408,0-0.564c-0.156-0.156-0.408-0.156-0.564,0l-2.414,2.414c-1.487,1.485-1.487,3.904,0,5.391c0.72,0.72,1.678,1.116,2.696,1.116s1.976-0.396,2.696-1.116l2.414-2.413c1.487-1.486,1.487-3.905,0-5.392C10.974,8.298,10.55,8.017,10.076,7.825"})])],-1),yA={class:"showItem"},xA=Vue.createElementVNode("span",{class:"font-background",style:{"font-size":"larger"}},"带宽",-1),bA=Vue.createElementVNode("div",{class:"state-icon"},[Vue.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"h-15 w-15 float-right pt-3"},[Vue.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})])],-1),kA={style:{width:"fit-content",display:"block","margin-top":"2ch","margin-left":"auto","margin-right":"auto"}},CA={t:"1694957757562",fill:"white",style:{width:"50px","margin-left":"10px","margin-top":"-30px"},viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4036",width:"200",height:"200"},NA=Vue.createElementVNode("path",{d:"M823.8 603.5l-501.2 336c-50.7 34-119.3 20.4-153.2-30.2-12.2-18.2-18.7-39.6-18.7-61.5v-672c0-61 49.5-110.4 110.4-110.4 21.9 0 43.3 6.5 61.5 18.7l501.1 336c50.7 34 64.2 102.6 30.2 153.2-7.8 11.9-18.1 22.2-30.1 30.2z m0 0","p-id":"4037"},null,-1),EA=[NA],TA={key:1,class:"button"},MA={t:"1694958268344",fill:"white",style:{width:"80px","margin-top":"-30px"},viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7667",width:"200",height:"200"},SA=Vue.createElementVNode("path",{d:"M352 768c-17.664 0-32-14.304-32-32V288c0-17.664 14.336-32 32-32s32 14.336 32 32v448c0 17.696-14.336 32-32 32zM672 768c-17.696 0-32-14.304-32-32V288c0-17.664 14.304-32 32-32s32 14.336 32 32v448c0 17.696-14.304 32-32 32z","p-id":"7668"},null,-1),BA=[SA],PA=Vue.createElementVNode("br",null,null,-1),DA=Vue.createElementVNode("br",null,null,-1),IA=Vue.createElementVNode("br",null,null,-1),LA=Vue.createElementVNode("br",null,null,-1),jA={class:"dialog-footer"},UA={class:"mt-4"},OA={class:"dialog-footer"},$A=["src"],GA=["src"],zA=Vue.defineComponent({__name:"Main",props:{isVisible:Boolean,IPinfo:Object},setup(m){const l=m,t=Vue.ref({show:!1}),r=Vue.reactive(localStorage.customNodes?JSON.parse(localStorage.customNodes):[]),o=[];for(let a in se){const n=se[a],v={label:a,options:[]};for(let b in n)v.options.push({value:n[b],label:b});o.push(v)}const e=Vue.ref(o);r.length&&(e.value=[{label:"自定义",options:r}].concat(o)),Vue.watch(r,async(a,n)=>{r.length?e.value=[{label:"自定义",options:r}].concat(o):e.value=o,localStorage.customNodes=JSON.stringify(a)},{deep:!0});const A=Vue.reactive({show:{allUsed:"-",speed:"-",speedBit:"-"},predict:{min:"-",hour:"-",day:"-",mon:"-"},isChecking:!1,bytesUsed:0,logged:0,lastLogTime:0,recordUse:0,recordTime:0,startUse:0,startTime:0,maxUse:localStorage.maxUse?Number(localStorage.maxUse):0}),s=Vue.ref(!1),f=Vue.reactive({AccessToken:localStorage.AccessToken?localStorage.AccessToken:""}),i=Vue.ref(localStorage.chartShow?localStorage.chartShow==="true":!1),h=Vue.ref(localStorage.threadNum?Number(localStorage.threadNum):8),c=Vue.ref(localStorage.runBackground?localStorage.runBackground==="true":!1),_=Vue.ref(localStorage.url?localStorage.url:e.value[0].options[0].value);var w=[];const B=async()=>{A.isChecking=!0;const a=await L(_.value);A.isChecking=!1,a.status?s.value=!0:ElementPlus.ElMessage.error({dangerouslyUseHTMLString:!0,message:a.info})},L=async a=>{var n=!0;let v="";try{let b=new URL(a);if(b.host.indexOf("ljxnet.cn")+b.host.indexOf("netart.cn")!=-2)throw"你不对劲,我要拿小本本把你记下来然后交给警察蜀黍!";const E=await fetch(a,{cache:"no-store",mode:"cors",referrerPolicy:"no-referrer"});if(E.status==404)throw"资源响应异常"+E.status;if(!E.body)throw"资源响应异常 Nobody";const k=E.body.getReader(),{value:S,done:P}=await k.read();if(!S||S.length<=0)throw"资源响应异常 Nobody";k.cancel()}catch(b){n=!1,b instanceof Error?v=b.message:v=String(b)}return{status:n,info:v}};Vue.watch(s,async(a,n)=>{var b,E;if(oe(),a){A.maxUse&&A.bytesUsed>=A.maxUse&&(A.bytesUsed=0,A.logged=0),A.lastLogTime=new Date().getTime()/1e3,A.startUse=A.bytesUsed,A.startTime=new Date().getTime()/1e3,A.recordUse=A.bytesUsed,A.recordTime=new Date().getTime()/1e3;for(let k=0;kclearInterval(k)),$(),(E=Y.value)==null||E.pause();var v=(A.bytesUsed-A.startUse)/(new Date().getTime()/1e3-A.startTime);I(v),M(),l.isVisible||x()}});async function $(){let a=new Date().getTime()/1e3,n=A.bytesUsed-A.logged,v=a-A.lastLogTime;if(A.logged=A.bytesUsed,A.lastLogTime=a,f.AccessToken){let b=await fetch("https://api.netart.cn/app/network-panel/",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify({action:"log",AccessToken:f.AccessToken,url:_.value,threadNum:h.value,used:n,time:v,IPinfo:l.IPinfo})});b=await b.json(),b.status==-1&&(f.AccessToken="")}}Vue.watch(l,async(a,n)=>{!a.isVisible&&c.value&&s.value&&G(),!a.isVisible&&!c.value&&s.value&&(s.value=!1),a.isVisible&&x()}),Vue.watch(h,async(a,n)=>{if(localStorage.threadNum=a,s.value&&a>n)for(let v=n;v{localStorage.runBackground=a}),Vue.watch(i,async(a,n)=>{localStorage.chartShow=a,a&&setTimeout(()=>R.resize(),100)}),Vue.watch(_,async(a,n)=>{localStorage.url=a}),Vue.watch(f,async(a,n)=>{localStorage.AccessToken=a.AccessToken});const C=()=>{F(_.value).then(()=>{ElementPlus.ElMessage.success({dangerouslyUseHTMLString:!0,message:"已复制当前链接"})})};window.addEventListener("paste",function(a){var E;if(a.clipboardData&&a.clipboardData.items&&((E=document.activeElement)==null?void 0:E.nodeName)!="INPUT")for(var n=0,v=a.clipboardData.items.length;n{l.isVisible?document.title="网络面板":s.value?document.title=d(A.bytesUsed,0,[0,0,0,0,0,0])+" "+d(a,1,[0,0,0,0,0,0]):A.maxUse&&A.bytesUsed>=A.maxUse?document.title="已完成":document.title="已暂停"},M=()=>{A.bytesUsed||(A.show.allUsed="-"),A.show.allUsed=d(A.bytesUsed,0,[0,0,1,2,2,2])},I=a=>{A.show.speed=d(a,1,[0,0,1,2,2,2]),A.show.speedBit=d(a*8,2,[0,0,0,2,2,2]),A.predict.min=d(a*60,0,[0,0,0,1,1,1]),A.predict.hour=d(a*60*60,0,[0,0,0,1,1,1]),A.predict.day=d(a*60*60*24,0,[0,0,0,1,1,1]),A.predict.mon=d(a*60*60*24*30,0,[0,0,0,1,1,1])},j=()=>{l.isVisible&&M(),A.maxUse&&A.bytesUsed>=A.maxUse&&(s.value=!1)},G=()=>{var a=(A.bytesUsed-A.recordUse)/(new Date().getTime()/1e3-A.recordTime);isNaN(a)?Z(0):Z(a),a<=0||isNaN(a)?(A.show.speed="-",A.show.speedBit="-"):l.isVisible?I(a):c.value&&x(a),A.recordUse=A.bytesUsed,A.recordTime=new Date().getTime()/1e3};function d(a,n,v){const E=[["B","KB","MB","GB","TB","PB"],["B/s","KB/s","MB/s","GB/s","TB/s","PB/s"],["Bps","Kbps","Mbps","Gbps","Tbps","Pbps"]][n];for(var k=a,S=0;k>=1024&&S!=E.length-1;)k=k/1024,S++;return k.toFixed(v[S])+E[S]}async function u(a){try{var n=_.value;const v=await fetch(n,{cache:"no-store",mode:"cors",referrerPolicy:"no-referrer"});if(!v.body)throw"Nobody";let b=v.headers.get("content-length"),E=1/0;b&&(E=parseInt(b));const k=v.body.getReader();let S=0;for(;;){const{value:P}=await k.read();let U=P==null?void 0:P.length;if(!U||n!=_.value){u(a);break}let D=U;if(S>=E?D=0:S+U>E&&(D=E-S),A.bytesUsed+=D,a>=h.value||!s.value)break;S+=U}k.cancel()}catch(v){console.log(v),s.value&&u(a)}}const p=Vue.ref(!1),V=Vue.ref(!1),g=Vue.ref(!1),N=Vue.ref({label:"",value:"",checking:!1}),z=a=>{var n=a.match(/https?:\/\/([\w-]+\.)+[\w-]+(:[0-9]+)?(\/\S*)?/);return n?n[0]:""},T=async()=>{N.value.value=z(N.value.value),N.value.checking=!0;const a=await L(N.value.value);if(!a.status){N.value.checking=!1,ElementPlus.ElMessage.error({dangerouslyUseHTMLString:!0,message:a.info});return}N.value.checking=!1,r.push({label:N.value.label,value:N.value.value}),N.value.label="",N.value.value="",V.value=!1},H=Vue.ref({num:null,type:"GB"}),ue=()=>{var a={MB:1048576,GB:1073741824,TB:1099511627776},n=0;H.value.num&&(n=Math.floor(H.value.num*a[H.value.type])),A.maxUse=n,localStorage.maxUse=n,H.value.num=null,g.value=!1};var de=/Mobi|Android|iPhone/i.test(navigator.userAgent),pe=/MiuiBrowser/i.test(navigator.userAgent),te=/iPhone/i.test(navigator.userAgent);const Y=Vue.ref(null),Ae=Vue.ref(null);let R,Z=a=>{},oe=()=>{};return Vue.onMounted(()=>{R=echarts.init(Ae.value);const a={tooltip:{trigger:"axis",formatter:function(E){let k=d(E[0].data[1],1,[0,0,1,2,2,2]);return`${new Date(E[0].data[0]*1e3).toLocaleString()}
- ${k}`}},toolbox:{feature:{saveAsImage:{}}},title:{left:"left",text:"速度图表"},xAxis:{type:"time",boundaryGap:!1,axisLabel:{show:!1},axisTick:{show:!1}},yAxis:{type:"value",axisLabel:{formatter:E=>{let k=d(E,1,[0,0,0,0,0,0]);return k=="-"?0:k}}},series:[{name:"速度",type:"line",smooth:!1,symbol:"none",areaStyle:{},data:[[new Date().getTime()/1e3,0]]}],grid:{x:50,y:40,x2:8,y2:10}};R.setOption(a);let n=[],v=[],b=1;oe=()=>{v=[],n.push([new Date().getTime()/1e3,0])},Z=E=>{let k=!1;for(v.push(E);v.length>=b;){k=!0;var S=v.splice(0,b);let P;S.includes(0)?P=0:P=S.reduce((U,D)=>U+D,0)/b,n.push([new Date().getTime()/1e3,P])}for(;n.length>=200;){k=!0;const P=[],U=n.length%2===0?n.length:n.length-1;for(let D=0;D{R.resize()})}),Vue.onUnmounted(()=>{R&&R.dispose()}),(a,n)=>{const v=Vue.resolveComponent("el-button"),b=Vue.resolveComponent("el-option"),E=Vue.resolveComponent("el-option-group"),k=Vue.resolveComponent("el-icon"),S=Vue.resolveComponent("el-select"),P=Vue.resolveComponent("el-slider"),U=Vue.resolveComponent("el-switch"),D=Vue.resolveComponent("el-text"),fe=Vue.resolveComponent("el-popover"),W=Vue.resolveComponent("el-table-column"),Ve=Vue.resolveComponent("el-table"),me=Vue.resolveComponent("el-empty"),Q=Vue.resolveComponent("el-dialog"),X=Vue.resolveComponent("el-input"),ne=Vue.resolveComponent("el-form-item"),le=Vue.resolveComponent("el-form"),ae=Vue.resolveComponent("el-alert");return Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,[Vue.createElementVNode("div",{class:"radius",style:Vue.normalizeStyle([{borderRadius:"var(--el-border-radius-round)"},{"max-width":"800px",height:"fit-content",display:"block",margin:"0 auto","background-color":"#ffffff",padding:"2%"}])},[Vue.createElementVNode("div",lA,[Vue.createElementVNode("div",aA,[sA,Vue.createVNode(v,{type:"primary",icon:Vue.unref(Ue),link:"",onClick:C},null,8,["icon"]),Vue.createVNode(v,{type:"primary",icon:Vue.unref(re),link:"",onClick:n[0]||(n[0]=y=>p.value=!0)},null,8,["icon"]),rA,Vue.createVNode(S,{style:{width:"100%"},modelValue:_.value,"onUpdate:modelValue":n[1]||(n[1]=y=>_.value=y)},{prefix:Vue.withCtx(()=>[Vue.createVNode(k,null,{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(Vt))]),_:1})]),default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(e.value,y=>(Vue.openBlock(),Vue.createBlock(E,{key:y.label,label:y.label},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(y.options,K=>(Vue.openBlock(),Vue.createBlock(b,{key:K.value,label:K.label,value:K.value},null,8,["label","value"]))),128))]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),Vue.createElementVNode("div",cA,[Vue.createElementVNode("span",iA,"线程数:"+Vue.toDisplayString(h.value),1),Vue.createVNode(P,{"show-tooltip":!1,min:1,max:64,modelValue:h.value,"onUpdate:modelValue":n[2]||(n[2]=y=>h.value=y)},null,8,["modelValue"])]),Vue.createVNode(U,{modelValue:c.value,"onUpdate:modelValue":n[3]||(n[3]=y=>c.value=y),"active-text":"保持后台运行"},null,8,["modelValue"]),uA,Vue.createElementVNode("div",dA,[Vue.createElementVNode("div",pA,[fA,Vue.createVNode(D,{size:"small",class:"mx-1"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.maxUse?"/"+d(A.maxUse,0,[0,0,0,0,0,0]):""),1)]),_:1}),Vue.createVNode(v,{type:"primary",style:{height:"15px"},icon:Vue.unref(re),link:"",onClick:n[4]||(n[4]=y=>g.value=!0)},null,8,["icon"]),VA,Vue.createVNode(D,{class:"font-data"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.show.allUsed),1)]),_:1})]),Vue.createElementVNode("div",mA,[Vue.createElementVNode("span",hA,Vue.toDisplayString(s.value?"实时速度":"平均速度"),1),Vue.createVNode(fe,{placement:"top-start",title:"用量预测",width:150,trigger:"click"},{reference:Vue.withCtx(()=>[Vue.createVNode(v,{type:"primary",style:{height:"15px","vertical-align":"-2px"},icon:Vue.unref(be),link:""},null,8,["icon"])]),default:Vue.withCtx(()=>[Vue.createTextVNode(" 每分钟  "+Vue.toDisplayString(A.predict.min)+" ",1),vA,Vue.createTextVNode(" 每小时  "+Vue.toDisplayString(A.predict.hour)+" ",1),gA,Vue.createTextVNode(" 每天     "+Vue.toDisplayString(A.predict.day)+" ",1),_A,Vue.createTextVNode(" 每月     "+Vue.toDisplayString(A.predict.mon),1)]),_:1}),wA,Vue.createVNode(D,{class:"font-data",style:{color:"rgb(9,194,222)"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.show.speed),1)]),_:1})]),Vue.createElementVNode("div",yA,[xA,bA,Vue.createVNode(D,{class:"font-data"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.show.speedBit),1)]),_:1})])]),Vue.createElementVNode("div",kA,[!s.value&&!A.isChecking?(Vue.openBlock(),Vue.createElementBlock("a",{key:0,class:"button",onClick:B},[(Vue.openBlock(),Vue.createElementBlock("svg",CA,EA))])):Vue.createCommentVNode("",!0),A.isChecking?(Vue.openBlock(),Vue.createElementBlock("a",TA,[Vue.createVNode(k,{style:{"margin-top":"40px"},size:60,class:"is-loading"},{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(ce))]),_:1})])):Vue.createCommentVNode("",!0),s.value?(Vue.openBlock(),Vue.createElementBlock("a",{key:2,class:"button",onClick:n[5]||(n[5]=y=>s.value=!1)},[(Vue.openBlock(),Vue.createElementBlock("svg",MA,BA))])):Vue.createCommentVNode("",!0)]),Vue.createVNode(v,{style:{float:"left","margin-top":"-20px","margin-right":"3px"},type:"primary",icon:Vue.unref(ct),link:"",onClick:n[6]||(n[6]=y=>t.value.show=!0)},null,8,["icon"]),i.value?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createBlock(v,{key:0,style:{float:"right","margin-top":"-20px","margin-right":"3px"},type:"primary",icon:Vue.unref(Ct),link:"",onClick:n[7]||(n[7]=y=>i.value=!0)},null,8,["icon"])),i.value?(Vue.openBlock(),Vue.createBlock(v,{key:1,style:{float:"right","margin-top":"-20px","margin-right":"3px"},type:"primary",icon:Vue.unref(ot),link:"",onClick:n[8]||(n[8]=y=>i.value=!1)},null,8,["icon"])):Vue.createCommentVNode("",!0),Vue.withDirectives(Vue.createElementVNode("div",{ref_key:"chartContainer",ref:Ae,style:{width:"100%",height:"400px"}},null,512),[[Vue.vShow,i.value]])])],4),Vue.createVNode(Q,{style:{width:"90%","max-width":"700px"},modelValue:p.value,"onUpdate:modelValue":n[10]||(n[10]=y=>p.value=y),title:"自定义地址"},{default:Vue.withCtx(()=>[r.length?(Vue.openBlock(),Vue.createBlock(Ve,{key:0,data:r,style:{width:"100%"},"max-height":"300"},{default:Vue.withCtx(()=>[Vue.createVNode(W,{prop:"label",label:"名称",width:"100"}),Vue.createVNode(W,{prop:"value",label:"URL"}),Vue.createVNode(W,{fixed:"right",label:"",width:"50"},{default:Vue.withCtx(y=>[Vue.createVNode(v,{type:"danger",link:"",icon:Vue.unref(Re),onClick:Vue.withModifiers(K=>r.splice(y.$index,1),["prevent"])},null,8,["icon","onClick"])]),_:1})]),_:1},8,["data"])):(Vue.openBlock(),Vue.createBlock(me,{key:1,description:"没有自定义地址"})),Vue.createVNode(v,{class:"mt-4",style:{width:"100%"},onClick:n[9]||(n[9]=y=>{V.value=!0})},{default:Vue.withCtx(()=>[Vue.createTextVNode("添加地址")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(Q,{style:{width:"90%","max-width":"700px"},modelValue:V.value,"onUpdate:modelValue":n[15]||(n[15]=y=>V.value=y),title:"添加链接"},{footer:Vue.withCtx(()=>[Vue.createElementVNode("span",jA,[Vue.createVNode(v,{onClick:n[13]||(n[13]=y=>V.value=!1)},{default:Vue.withCtx(()=>[Vue.createTextVNode("取消")]),_:1}),Vue.createVNode(v,{type:"primary",disabled:!z(N.value.value)||!N.value.label||N.value.checking,onClick:n[14]||(n[14]=y=>T())},{default:Vue.withCtx(()=>[Vue.createTextVNode("确认 "),N.value.checking?(Vue.openBlock(),Vue.createBlock(k,{key:0,class:"is-loading"},{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(ce))]),_:1})):Vue.createCommentVNode("",!0)]),_:1},8,["disabled"])])]),default:Vue.withCtx(()=>[Vue.createVNode(le,{model:N.value},{default:Vue.withCtx(()=>[Vue.createVNode(ne,{label:"名称:","label-width":"50px"},{default:Vue.withCtx(()=>[Vue.createVNode(X,{modelValue:N.value.label,"onUpdate:modelValue":n[11]||(n[11]=y=>N.value.label=y),autocomplete:"off"},null,8,["modelValue"])]),_:1}),Vue.createVNode(ne,{label:"url:","label-width":"50px"},{default:Vue.withCtx(()=>[Vue.createVNode(X,{modelValue:N.value.value,"onUpdate:modelValue":n[12]||(n[12]=y=>N.value.value=y),autocomplete:"off"},{suffix:Vue.withCtx(()=>[z(N.value.value)?(Vue.openBlock(),Vue.createBlock(k,{key:0},{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(Se))]),_:1})):Vue.createCommentVNode("",!0)]),default:Vue.withCtx(()=>[Vue.createTextVNode("> ")]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"]),Vue.createVNode(ae,{title:"注意:",type:"warning"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 在浏览器工作的程序受到浏览器安全策略的限制 "),PA,Vue.createTextVNode(" 以下情况你将无法正常使用链接 "),DA,Vue.createTextVNode(" 1.你使用https协议打开的本站,但是url是http协议 "),IA,Vue.createTextVNode(" 2.目标服务器返回的Access-Control-Allow-Origin响应头没有允许本站 "),LA,Vue.createTextVNode(" 具体细节请在报错后查看控制台 ")]),_:1}),Vue.createVNode(ae,{title:"免责声明:",type:"error"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 请勿用于非法用途,使用本功能造成的一切后果由用户承担 ")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(Q,{style:{width:"90%","max-width":"300px"},modelValue:g.value,"onUpdate:modelValue":n[20]||(n[20]=y=>g.value=y),title:"设置上限自动停止"},{footer:Vue.withCtx(()=>[Vue.createElementVNode("span",OA,[Vue.createVNode(v,{onClick:n[18]||(n[18]=y=>g.value=!1)},{default:Vue.withCtx(()=>[Vue.createTextVNode("取消")]),_:1}),Vue.createVNode(v,{type:"primary",onClick:n[19]||(n[19]=y=>ue())},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 确定 ")]),_:1})])]),default:Vue.withCtx(()=>[Vue.createVNode(le,null,{default:Vue.withCtx(()=>[Vue.createElementVNode("div",UA,[Vue.createVNode(X,{type:"number",min:"1",modelValue:H.value.num,"onUpdate:modelValue":n[17]||(n[17]=y=>H.value.num=y),autocomplete:"off",placeholder:"留空则无上限",class:"input-with-select"},{append:Vue.withCtx(()=>[Vue.createVNode(S,{modelValue:H.value.type,"onUpdate:modelValue":n[16]||(n[16]=y=>H.value.type=y),placeholder:"Select",style:{width:"65px"}},{default:Vue.withCtx(()=>[Vue.createVNode(b,{label:"MB",value:"MB"}),Vue.createVNode(b,{label:"GB",value:"GB"}),Vue.createVNode(b,{label:"TB",value:"TB"})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(nA,{show:t.value,loginInfo:f},null,8,["show","loginInfo"]),Vue.unref(de)&&!Vue.unref(te)&&!Vue.unref(pe)&&c.value?(Vue.openBlock(),Vue.createElementBlock("audio",{key:0,onCanplay:n[21]||(n[21]=()=>{s.value&&Y.value.play()}),onPause:n[22]||(n[22]=()=>{c.value&&(s.value=!1)}),onPlay:n[23]||(n[23]=y=>s.value=!0),controls:"",loop:"",ref_key:"audioDom",ref:Y,style:{display:"none"}},[Vue.createElementVNode("source",{src:Vue.unref(ve),type:"audio/mpeg"},null,8,$A)],544)):Vue.createCommentVNode("",!0),Vue.unref(te)&&c.value?(Vue.openBlock(),Vue.createElementBlock("audio",{key:1,onCanplay:n[24]||(n[24]=()=>{s.value&&Y.value.play()}),onPause:n[25]||(n[25]=()=>{c.value&&(s.value=!1)}),onPlay:n[26]||(n[26]=y=>s.value=!0),controls:"",loop:"",ref_key:"audioDom",ref:Y,style:{display:"none"}},[Vue.createElementVNode("source",{src:Vue.unref(he),type:"audio/mpeg"},null,8,GA)],544)):Vue.createCommentVNode("",!0)],64)}}});const HA="美国",RA="加拿大",YA="中国香港",JA="中国台湾",FA="新加坡",KA="日本",ZA="韩国",WA="澳大利亚",QA="新西兰",XA="阿富汗",qA="阿尔巴尼亚",eo="阿尔及利亚",to="美属萨摩亚(美国)",Ao="安道尔",oo="安哥拉",no="安圭拉",lo="安提瓜和巴布达",ao="阿根廷",so="亚美尼亚",ro="阿鲁巴",co="奥地利",io="阿塞拜疆",uo="巴哈马",po="巴林",fo="孟加拉国",Vo="巴巴多斯",mo="白俄罗斯",ho="比利时",vo="伯利兹",go="贝宁",_o="百慕大",wo="不丹",yo="玻利维亚",xo="波黑",bo="博茨瓦纳",ko="巴西",Co="英属维京群岛(英国)",No="文莱",Eo="保加利亚",To="布基纳法索",Mo="布隆迪",So="柬埔寨",Bo="喀麦隆",Po="佛得角",Do="开曼群岛(英国)",Io="中非共和国",Lo="乍得",jo="智利",Uo="哥伦比亚",Oo="科摩罗",$o="刚果(金)",Go="库克群岛(新西兰)",zo="哥斯达黎加",Ho="科特迪瓦",Ro="克罗地亚",Yo="古巴",Jo="塞浦路斯",Fo="捷克",Ko="丹麦",Zo="吉布提",Wo="多米尼克",Qo="多米尼加共和国",Xo="厄瓜多尔",qo="埃及",en="萨尔瓦多",tn="赤道几内亚",An="厄立特里亚",on="爱沙尼亚",nn="埃塞俄比亚",ln="法罗群岛(丹麦)",an="斐济",sn="芬兰",rn="法国",cn="法属圭亚那(法国)",un="法属玻利尼西亚",dn="加蓬",pn="冈比亚",fn="格鲁吉亚",Vn="德国",mn="加纳",hn="直布罗陀(英国)",vn="希腊",gn="格陵兰",_n="格林纳达",wn="瓜德罗普",yn="关岛(美国)",xn="危地马拉",bn="几内亚",kn="几内亚比绍",Cn="圭亚那",Nn="海地",En="洪都拉斯",Tn="匈牙利",Mn="冰岛",Sn="印度",Bn="印度尼西亚",Pn="伊朗",Dn="伊拉克",In="爱尔兰共和国",Ln="以色列",jn="意大利",Un="牙买加",On="约旦",$n="哈萨克斯坦",Gn="肯尼亚",zn="基里巴斯",Hn="北朝鲜",Rn="科威特",Yn="吉尔吉斯斯坦",Jn="老挝",Fn="拉脱维亚",Kn="黎巴嫩",Zn="莱索托",Wn="利比里亚",Qn="利比亚",Xn="列支敦士登",qn="立陶宛",el="卢森堡",tl="中国澳门",Al="马其顿",ol="马达加斯加",nl="马拉维",ll="马来西亚",al="马尔代夫",sl="马里共和国",rl="马耳他",cl="马绍尔群岛",il="马提尼克(法国)",ul="毛里塔尼亚",dl="毛里求斯",pl="马约特",fl="墨西哥",Vl="密克罗尼西亚联邦",ml="摩尔多瓦",hl="摩纳哥",vl="蒙古国",gl="黑山共和国",_l="蒙塞拉特岛(英国)",wl="摩洛哥",yl="莫桑比克",xl="缅甸",bl="纳米比亚",kl="瑙鲁",Cl="尼泊尔",Nl="荷兰",El="新喀里多尼亚(法国)",Tl="尼加拉瓜",Ml="尼日尔",Sl="尼日利亚",Bl="纽埃",Pl="北马里亚纳群岛(美国)",Dl="挪威",Il="阿曼",Ll="巴基斯坦",jl="帕劳",Ul="巴勒斯坦",Ol="巴拿马",$l="巴布亚新几内亚",Gl="巴拉圭",zl="中国",Hl="秘鲁",Rl="菲律宾",Yl="波兰",Jl="葡萄牙",Fl="波多黎各(美国)",Kl="卡塔尔",Zl="刚果共和国",Wl="津巴布韦",Ql="留尼汪(法国)",Xl="罗马尼亚",ql="俄罗斯",ea="卢旺达",ta="圣赫勒拿",Aa="圣基茨和尼维斯",oa="圣卢西亚",na="圣皮埃尔和密克隆岛(法国)",la="圣文森特和格林纳丁斯",aa="萨摩亚",sa="圣马力诺",ra="圣多美和普林西比",ca="沙特阿拉伯",ia="塞内加尔",ua="塞尔维亚共和国",da="塞舌尔",pa="塞拉利昂",fa="斯洛伐克",Va="斯洛文尼亚",ma="所罗门群岛",ha="索马里",va="南非",ga="南苏丹",_a="西班牙",wa="斯里兰卡",ya="苏丹",xa="苏里南",ba="斯威士兰",ka="瑞典",Ca="瑞士",Na="叙利亚",Ea="塔吉克斯坦",Ta="坦桑尼亚",Ma="泰国",Sa="东帝汶",Ba="多哥",Pa="托克劳",Da="汤加",Ia="特立尼达和多巴哥",La="突尼斯",ja="土耳其",Ua="土库曼斯坦",Oa="特克斯和凯科斯群岛(英国)",$a="图瓦卢",Ga="乌干达",za="乌克兰",Ha="阿拉伯联合酋长国",Ra="英国",Ya="乌拉圭",Ja="乌兹别克斯坦",Fa="瓦努阿图",Ka="委内瑞拉",Za="越南",Wa="瓦利斯和富图纳群岛(法国)",Qa="也门",Xa="赞比亚",qa={599:"荷属安的列斯",US:HA,CA:RA,HK:YA,TW:JA,SG:FA,JP:KA,KR:ZA,AU:WA,NZ:QA,AF:XA,AL:qA,DZ:eo,AS:to,AD:Ao,AO:oo,AI:no,AG:lo,AR:ao,AM:so,AW:ro,AT:co,AZ:io,BS:uo,BH:po,BD:fo,BB:Vo,BY:mo,BE:ho,BZ:vo,BJ:go,BM:_o,BT:wo,BO:yo,BA:xo,BW:bo,BR:ko,VG:Co,BN:No,BG:Eo,BF:To,BI:Mo,KH:So,CM:Bo,CV:Po,KY:Do,CF:Io,TD:Lo,CL:jo,CO:Uo,KM:Oo,CD:$o,CK:Go,CR:zo,CI:Ho,HR:Ro,CU:Yo,CY:Jo,CZ:Fo,DK:Ko,DJ:Zo,DM:Wo,DO:Qo,EC:Xo,EG:qo,SV:en,GQ:tn,ER:An,EE:on,ET:nn,FO:ln,FJ:an,FI:sn,FR:rn,GF:cn,PF:un,GA:dn,GM:pn,GE:fn,DE:Vn,GH:mn,GI:hn,GR:vn,GL:gn,GD:_n,GP:wn,GU:yn,GT:xn,GN:bn,GW:kn,GY:Cn,HT:Nn,HN:En,HU:Tn,IS:Mn,IN:Sn,ID:Bn,IR:Pn,IQ:Dn,IE:In,IL:Ln,IT:jn,JM:Un,JO:On,KZ:$n,KE:Gn,KI:zn,KP:Hn,KW:Rn,KG:Yn,LA:Jn,LV:Fn,LB:Kn,LS:Zn,LR:Wn,LY:Qn,LI:Xn,LT:qn,LU:el,MO:tl,MK:Al,MG:ol,MW:nl,MY:ll,MV:al,ML:sl,MT:rl,MH:cl,MQ:il,MR:ul,MU:dl,YT:pl,MX:fl,FM:Vl,MD:ml,MC:hl,MN:vl,ME:gl,MS:_l,MA:wl,MZ:yl,MM:xl,NA:bl,NR:kl,NP:Cl,NL:Nl,NC:El,NI:Tl,NE:Ml,NG:Sl,NU:Bl,MP:Pl,NO:Dl,OM:Il,PK:Ll,PW:jl,PS:Ul,PA:Ol,PG:$l,PY:Gl,CN:zl,PE:Hl,PH:Rl,PL:Yl,PT:Jl,PR:Fl,QA:Kl,CG:Zl,ZW:Wl,RE:Ql,RO:Xl,RU:ql,RW:ea,SH:ta,KN:Aa,LC:oa,PM:na,VC:la,WS:aa,SM:sa,ST:ra,SA:ca,SN:ia,RS:ua,SC:da,SL:pa,SK:fa,SI:Va,SB:ma,SO:ha,ZA:va,SS:ga,ES:_a,LK:wa,SD:ya,SR:xa,SZ:ba,SE:ka,CH:Ca,SY:Na,TJ:Ea,TZ:Ta,TH:Ma,TL:Sa,TG:Ba,TK:Pa,TO:Da,TT:Ia,TN:La,TR:ja,TM:Ua,TC:Oa,TV:$a,UG:Ga,UA:za,AE:Ha,GB:Ra,UY:Ya,UZ:Ja,VU:Fa,VE:Ka,VN:Za,WF:Wa,YE:Qa,ZM:Xa},es={style:{"text-align":"center"}},ts={key:0},As={key:0},os=Vue.defineComponent({__name:"IPinfo",props:{isVisible:Boolean,IPinfo:Object},setup(m){const l=m,t=Vue.reactive({localInfo:null,globalInfo:null,localLay:0,globalLay:0}),r=f=>{F(f),ElementPlus.ElMessage.success({dangerouslyUseHTMLString:!0,message:`已经复制IP地址:
${f}`})},o=f=>{const i=["内蒙古","黑龙江","河北","山西","吉林","辽宁","江苏","浙江","安徽","福建","江西","山东","河南","湖北","湖南","广东","海南","四川","贵州","云南","陕西","甘肃","青海","广西","西藏","宁夏","新疆","北京","天津","上海","重庆"];for(let h in i)if(f.includes(i[h]))return i[h];return null};async function e(){if(l.isVisible)try{let i=await(await fetch("https://ip.useragentinfo.com/json",{referrerPolicy:"no-referrer"})).json(),h={ip:i.ip,isp:i.isp,isChinaMainland:!!o(i.province),province:o(i.province),city:i.city.replace(/市$/,""),area:i.area};t.localInfo=h,l.IPinfo&&(l.IPinfo.localInfo=h)}catch{t.localInfo=null}setTimeout(e,t.localInfo?5e3:1e3)}async function A(){if(l.isVisible)try{let i=await(await fetch("https://api-ipv4.ip.sb/geoip",{referrerPolicy:"no-referrer"})).json(),h={ip:i.ip,isp:i.isp,country:qa[i.country_code]};t.globalInfo=h,l.IPinfo&&(l.IPinfo.globalInfo=h)}catch{t.globalInfo=null}setTimeout(A,t.globalInfo?5e3:1e3)}e(),A();async function s(f,i){if(l.isVisible)try{var h=new Date().getTime();await fetch(f,{method:"HEAD",cache:"no-store",mode:"no-cors",referrerPolicy:"no-referrer"}),t[i]=new Date().getTime()-h}catch{t[i]=0}setTimeout(s,1e3,f,i)}return s("https://connectivitycheck.platform.hicloud.com/generate_204","localLay"),s("https://cp.cloudflare.com/","globalLay"),(f,i)=>{const h=Vue.resolveComponent("el-tag"),c=Vue.resolveComponent("el-text"),_=Vue.resolveComponent("el-tooltip"),w=Vue.resolveDirective("loading");return Vue.openBlock(),Vue.createElementBlock("div",{class:"radius",style:Vue.normalizeStyle([{borderRadius:"var(--el-border-radius-round)"},{"max-width":"800px",height:"fit-content",display:"block",margin:"0 auto","background-color":"#ffffff",padding:"2%"}])},[Vue.createElementVNode("div",es,[Vue.createVNode(Vue.Transition,{name:"el-fade-in"},{default:Vue.withCtx(()=>[!t.localInfo||t.localInfo.isChinaMainland?Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",ts,[Vue.createVNode(_,{class:"item",effect:"dark",content:t.localInfo?t.localInfo.ip:"Loading...",placement:"top"},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",{onClick:i[0]||(i[0]=B=>r(t.localInfo?t.localInfo.ip:""))},[Vue.createVNode(h,{style:{width:"50px"},class:"ml-2",type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.localLay?t.localLay+"ms":"-ms"),1)]),_:1}),Vue.createVNode(c,{style:{cursor:"pointer","margin-left":"5px","white-space":"nowrap","vertical-align":"-1px"},class:"font-background"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.localInfo?t.localInfo.province+" "+t.localInfo.city+" "+t.localInfo.area+" "+t.localInfo.isp:"Loading..."),1)]),_:1})])]),_:1},8,["content"])])),[[w,!t.localInfo]]):Vue.createCommentVNode("",!0)]),_:1}),Vue.createVNode(Vue.Transition,{name:"el-fade-in"},{default:Vue.withCtx(()=>[t.localInfo&&t.localInfo.province&&!t.globalInfo||t.globalInfo&&t.globalInfo.country!="中国"?Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",As,[Vue.createVNode(_,{class:"item",effect:"dark",content:t.globalInfo?t.globalInfo.ip:"Loading...",placement:"top"},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",{onClick:i[1]||(i[1]=B=>r(t.globalInfo?t.globalInfo.ip:""))},[Vue.createVNode(h,{style:{width:"50px"},class:"ml-2",type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.globalLay?t.globalLay+"ms":"-ms"),1)]),_:1}),Vue.createVNode(c,{style:{cursor:"pointer","margin-left":"5px","white-space":"nowrap","vertical-align":"-3px"},class:"font-background"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.globalInfo?t.globalInfo.country:""),1)]),_:1}),Vue.createVNode(c,{style:{cursor:"pointer","margin-left":"5px","white-space":"nowrap","vertical-align":"-3px"},class:"font-background"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.globalInfo?t.globalInfo.isp:""),1)]),_:1})])]),_:1},8,["content"])])),[[w,!t.globalInfo]]):Vue.createCommentVNode("",!0)]),_:1})])],4)}}});const ns=""+new URL("logo-0865f91b.svg",import.meta.url).href,ls={style:{"margin-top":"15px"}},as={style:{width:"fit-content",float:"left"}},ss=["src"],rs=Vue.createElementVNode("span",{style:{color:"#526484","font-size":"20px","font-weight":"bolder"}}," 网络面板 ",-1),cs={style:{float:"right"}},is=Vue.createElementVNode("br",null,null,-1),us={style:{height:"fit-content","padding-bottom":"10px"}},ds={style:{width:"fit-content","margin-left":"auto","margin-right":"auto"}},ps=Vue.defineComponent({__name:"App",setup(m){const l=Vue.ref(!0),t=Vue.reactive({globalInfo:null,localInfo:null});let r=()=>{F("463481772"),ElementPlus.ElMessage.info({dangerouslyUseHTMLString:!0,message:"
已经复制QQ群号:
463481772
"})};return document.addEventListener("visibilitychange",function(){var o=document.visibilityState;o==="hidden"?l.value=!1:l.value=!0}),(o,e)=>{const A=Vue.resolveComponent("el-button"),s=Vue.resolveComponent("el-header"),f=Vue.resolveComponent("el-main"),i=Vue.resolveComponent("el-link"),h=Vue.resolveComponent("el-container");return Vue.openBlock(),Vue.createBlock(h,null,{default:Vue.withCtx(()=>[Vue.createVNode(s,{style:{height:"fit-content","padding-bottom":"12px","background-color":"#ffffff"}},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",ls,[Vue.createElementVNode("div",as,[Vue.createElementVNode("img",{width:40,height:40,class:"mr-2",src:Vue.unref(ns),style:{display:"inline-block","vertical-align":"-12px"}},null,8,ss),rs]),Vue.createElementVNode("div",cs,[Vue.createVNode(A,{style:{color:"#526484","font-size":"12px"},onClick:Vue.unref(r),round:""},{default:Vue.withCtx(()=>[Vue.createTextVNode("Q群")]),_:1},8,["onClick"])])])]),_:1}),Vue.createVNode(f,null,{default:Vue.withCtx(()=>[Vue.createVNode(zA,{isVisible:l.value,IPinfo:t},null,8,["isVisible","IPinfo"]),is,Vue.createVNode(os,{isVisible:l.value,IPinfo:t},null,8,["isVisible","IPinfo"])]),_:1}),Vue.createElementVNode("div",us,[Vue.createElementVNode("div",ds,[Vue.createVNode(i,{type:"info",href:"https://netart.cn/",target:"_blank"},{default:Vue.withCtx(()=>[Vue.createTextVNode("Whoami")]),_:1}),Vue.createTextVNode("  "),Vue.createVNode(i,{type:"info",href:"https://github.com/ljxi/NetworkPanel",target:"_blank"},{default:Vue.withCtx(()=>[Vue.createTextVNode("源码")]),_:1})])])]),_:1})}}}),ee=Vue.createApp(ps);ee.use(Bt);ee.use(ElementPlus);ee.mount("#app"); + */(function(r,o){m.exports=o()})(Nt,function(){return function(t){var r={};function o(e){if(r[e])return r[e].exports;var A=r[e]={i:e,l:!1,exports:{}};return t[e].call(A.exports,A,A.exports,o),A.l=!0,A.exports}return o.m=t,o.c=r,o.d=function(e,A,s){o.o(e,A)||Object.defineProperty(e,A,{enumerable:!0,get:s})},o.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,A){if(A&1&&(e=o(e)),A&8||A&4&&typeof e=="object"&&e&&e.__esModule)return e;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),A&2&&typeof e!="string")for(var f in e)o.d(s,f,(function(i){return e[i]}).bind(null,f));return s},o.n=function(e){var A=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(A,"a",A),A},o.o=function(e,A){return Object.prototype.hasOwnProperty.call(e,A)},o.p="",o(o.s=6)}([function(t,r){function o(e){var A;if(e.nodeName==="SELECT")e.focus(),A=e.value;else if(e.nodeName==="INPUT"||e.nodeName==="TEXTAREA"){var s=e.hasAttribute("readonly");s||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),s||e.removeAttribute("readonly"),A=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var f=window.getSelection(),i=document.createRange();i.selectNodeContents(e),f.removeAllRanges(),f.addRange(i),A=f.toString()}return A}t.exports=o},function(t,r){function o(){}o.prototype={on:function(e,A,s){var f=this.e||(this.e={});return(f[e]||(f[e]=[])).push({fn:A,ctx:s}),this},once:function(e,A,s){var f=this;function i(){f.off(e,i),A.apply(s,arguments)}return i._=A,this.on(e,i,s)},emit:function(e){var A=[].slice.call(arguments,1),s=((this.e||(this.e={}))[e]||[]).slice(),f=0,i=s.length;for(f;f0&&arguments[0]!==void 0?arguments[0]:{};this.action=p.action,this.container=p.container,this.emitter=p.emitter,this.target=p.target,this.text=p.text,this.trigger=p.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var p=this,V=document.documentElement.getAttribute("dir")=="rtl";this.removeFake(),this.fakeHandlerCallback=function(){return p.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[V?"right":"left"]="-9999px";var g=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=g+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=A()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=A()(this.target),this.copyText()}},{key:"copyText",value:function(){var p=void 0;try{p=document.execCommand(this.action)}catch{p=!1}this.handleResult(p)}},{key:"handleResult",value:function(p){this.emitter.emit(p?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=p,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(p){if(p!==void 0)if(p&&(typeof p>"u"?"undefined":s(p))==="object"&&p.nodeType===1){if(this.action==="copy"&&p.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(p.hasAttribute("readonly")||p.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=p}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),d}(),c=h,_=o(1),w=o.n(_),B=o(2),L=o.n(B),$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},C=function(){function d(u,p){for(var V=0;V0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof V.action=="function"?V.action:this.defaultAction,this.target=typeof V.target=="function"?V.target:this.defaultTarget,this.text=typeof V.text=="function"?V.text:this.defaultText,this.container=$(V.container)==="object"?V.container:document.body}},{key:"listenClick",value:function(V){var g=this;this.listener=L()(V,"click",function(N){return g.onClick(N)})}},{key:"onClick",value:function(V){var g=V.delegateTarget||V.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c({action:this.action(g),target:this.target(g),text:this.text(g),container:this.container,trigger:g,emitter:this})}},{key:"defaultAction",value:function(V){return z("action",V)}},{key:"defaultTarget",value:function(V){var g=z("target",V);if(g)return document.querySelector(g)}},{key:"defaultText",value:function(V){return z("text",V)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],g=typeof V=="string"?[V]:V,N=!!document.queryCommandSupported;return g.forEach(function(G){N=N&&!!document.queryCommandSupported(G)}),N}}]),u}(w.a);function z(d,u){var p="data-clipboard-"+d;if(u.hasAttribute(p))return u.getAttribute(p)}r.default=j}]).default})}),ie=Et(St);const J={autoSetContainer:!1,appendToBody:!0},Bt={config:m=>{const{autoSetContainer:l,appendToBody:t}=m;J.autoSetContainer=l||!1,J.appendToBody=t||!0},install:m=>{m.config.globalProperties.$vclipboard=F,m.directive("clipboard",{beforeMount(l,t){if(t.arg==="success")l._vClipboard_success=t.value;else if(t.arg==="error")l._vClipboard_error=t.value;else{const r=new ie(l,{text:()=>t.value,action:()=>t.arg==="cut"?"cut":"copy",container:J.autoSetContainer?l:void 0});r.on("success",o=>{const e=l._vClipboard_success;e&&e(o)}),r.on("error",o=>{const e=l._vClipboard_error;e&&e(o)}),l._vClipboard=r}},updated(l,t){t.arg==="success"?l._vClipboard_success=t.value:t.arg==="error"?l._vClipboard_error=t.value:(l._vClipboard.text=()=>t.value,l._vClipboard.action=()=>t.arg==="cut"?"cut":"copy")},unmounted(l,t){t.arg==="success"?delete l._vClipboard_success:t.arg==="error"?delete l._vClipboard_error:(l._vClipboard.destroy(),delete l._vClipboard)}})},toClipboard:(m,l)=>F(m,l)},F=(m,l="copy")=>new Promise((t,r)=>{const o=document.createElement("button"),e=new ie(o,{text:()=>m,action:()=>l});e.on("success",A=>{e.destroy(),t(A)}),e.on("error",A=>{e.destroy(),r(A)}),J.appendToBody&&document.body.appendChild(o),o.click(),J.appendToBody&&document.body.removeChild(o)}),q=m=>(Vue.pushScopeId("data-v-bf477141"),m=m(),Vue.popScopeId(),m),Pt={class:"block"},Dt={class:"card"},It={key:0},Lt={style:{width:"150px",height:"150px","margin-left":"auto","margin-right":"auto"}},jt=["src"],Ut=q(()=>Vue.createElementVNode("br",null,null,-1)),Ot={key:0,style:{"font-size":"15px"}},$t=q(()=>Vue.createElementVNode("br",null,null,-1)),zt={key:1,style:{"font-size":"15px"}},Gt={key:2,style:{"font-size":"15px"}},Ht={key:1},Rt=q(()=>Vue.createElementVNode("br",null,null,-1)),Yt={style:{"font-size":"20px"}},Jt=Vue.defineComponent({__name:"My",props:{loginInfo:{type:Object,required:!0}},setup(m){const l=m,t=Vue.ref(0),r=Vue.ref("");Vue.watch(t,(c,_)=>{c<=0&&(l.loginInfo.AccessToken="")});const o=async c=>await(await fetch("https://api.netart.cn/user/",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(c)})).json();let e=0;const A=async()=>{r.value="";let c=await o({action:"login",AccessToken:l.loginInfo.AccessToken});t.value=-1,c.status==0&&(r.value=c.img,sessionStorage.setItem("pt_login_sig",c.pt_login_sig),sessionStorage.setItem("qrsig",c.qrsig),e=setInterval(i,1e3))},s=async()=>{ElementPlus.ElMessageBox.confirm("确定要强制下线登录该账号的其他设备吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(async()=>{(await o({action:"kick_old",AccessToken:l.loginInfo.AccessToken})).status==0&&ElementPlus.ElMessage({type:"info",message:"已经下线其他设备"})}).catch(()=>{})},f=async()=>{ElementPlus.ElMessageBox.confirm("确定从此设备退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{A()}).catch(()=>{})},i=async()=>{let c=await o({action:"qr_check",pt_login_sig:sessionStorage.getItem("pt_login_sig"),qrsig:sessionStorage.getItem("qrsig")});c.status==0?(t.value=c.uin,l.loginInfo.AccessToken=c.AccessToken,clearInterval(e)):c.status==-2?t.value=-2:c.status==-1?t.value=-1:c.status==-10&&(clearInterval(e),ElementPlus.ElMessageBox.alert(`登录失败,${c.msg}请重新拉取二维码`,"提示",{confirmButtonText:"确定",callback:()=>{A()}}))},h=async()=>{let c=await o({action:"getStatus",AccessToken:l.loginInfo.AccessToken});c.status==0?t.value=c.uin:c.status==-1&&(t.value=-1,A())};return Vue.onMounted(()=>{h()}),Vue.onUnmounted(()=>{e&&clearInterval(e)}),(c,_)=>{const w=Vue.resolveComponent("el-avatar"),B=Vue.resolveComponent("el-divider"),L=Vue.resolveComponent("el-button"),$=Vue.resolveDirective("loading");return Vue.openBlock(),Vue.createElementBlock("div",Pt,[Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Dt,[t.value==-1||t.value==-2?(Vue.openBlock(),Vue.createElementBlock("div",It,[Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Lt,[r.value?(Vue.openBlock(),Vue.createElementBlock("img",{key:0,style:{width:"100%"},src:r.value},null,8,jt)):Vue.createCommentVNode("",!0)])),[[$,!r.value]]),Ut,t.value!=-2?(Vue.openBlock(),Vue.createElementBlock("span",Ot,"请使用QQ扫码登录")):Vue.createCommentVNode("",!0),$t,t.value!=-2?(Vue.openBlock(),Vue.createElementBlock("span",zt,"TIM可以从相册扫码")):Vue.createCommentVNode("",!0),t.value==-2?(Vue.openBlock(),Vue.createElementBlock("span",Gt,"请确认登录")):Vue.createCommentVNode("",!0)])):Vue.createCommentVNode("",!0),t.value>0?(Vue.openBlock(),Vue.createElementBlock("div",Ht,[Vue.createVNode(w,{size:100,src:"https://q.qlogo.cn/headimg_dl?dst_uin="+t.value+"&spec=640"},null,8,["src"]),Rt,Vue.createElementVNode("span",Yt,Vue.toDisplayString(t.value),1),Vue.createVNode(B),Vue.createVNode(L,{class:"action",type:"warning",onClick:s},{default:Vue.withCtx(()=>[Vue.createTextVNode("下线其他设备")]),_:1}),Vue.createVNode(L,{class:"action",type:"danger",onClick:f},{default:Vue.withCtx(()=>[Vue.createTextVNode("退出登录")]),_:1})])):Vue.createCommentVNode("",!0)])),[[$,!t.value]])])}}});const Ft=(m,l)=>{const t=m.__vccOpts||m;for(const[r,o]of l)t[r]=o;return t},Kt=Ft(Jt,[["__scopeId","data-v-bf477141"]]),Zt={style:{"overflow-y":"auto","max-height":"calc(85vh - 100px)","margin-top":"-30px"}},Wt={class:"mb-2 flex items-center text-sm"},Qt={class:"mb-2 flex items-center text-sm"},Xt={class:"block"},qt={style:{"margin-left":"10px","vertical-align":"6px"}},eA={class:"block"},tA={class:"block"},AA={class:"block"},oA={style:{"margin-left":"10px"}},nA=Vue.defineComponent({__name:"Mark",props:{show:Object,loginInfo:{type:Object,required:!0}},setup(m){const l=m,t=Vue.ref("allUsed"),r=Vue.ref(!1),o=Vue.ref(!1),e=Vue.ref(!0);window.onresize=()=>{window.outerWidth>500?e.value=!1:e.value=!0},window.outerWidth>500?e.value=!1:e.value=!0;const A=Vue.ref(!1),s=Vue.ref("3"),f=Vue.ref("总流量"),i=()=>{let C={allUsed:"总流量",averageSpeed:"平均速度",onlineTime:"在线时长"}[t.value];return C||""},h=Vue.ref(!1);l.show&&Vue.watch(l.show,(C,x)=>{h.value=C.show}),Vue.watch(h,(C,x)=>{l.show&&(l.show.show=C),C&&B()});const c=Vue.ref([]),_=async C=>await(await fetch("https://api.netart.cn/app/network-panel/",{method:"POST",mode:"cors",credentials:"include",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(C)})).json(),w=C=>{const x=["移动","联通","电信","广电"],M=["","success","warning","danger"];for(let I in x)if(C.includes(x[I]))return M[I];return"info"},B=async()=>{f.value=i(),r.value=!0,c.value=[];try{(await _({action:"get",grade:Number(s.value),sortedBy:t.value,past:A.value})).data.forEach(x=>{let M;t.value=="allUsed"?M=L(x.data,["B","KB","MB","GB","TB","PB"],[0,0,0,0,1,1]):t.value=="averageSpeed"?M=L(x.data*8,["Bps","Kbps","Mbps","Gbps","Tbps","Pbps"],[0,0,0,1,1,1]):t.value=="onlineTime"&&(M=$(x.data)),x.data=M,x.type=w(x.isp),c.value.push(x)})}catch{ElementPlus.ElMessageBox.alert("无法获取榜单信息,可能是后端服务器异常","错误",{confirmButtonText:"确定"})}r.value=!1};function L(C,x,M){for(var I=C,j=0;I>=1024&&j!=x.length-1;)I=I/1024,j++;return I.toFixed(M[j])+x[j]}const $=C=>C<60?C.toFixed(0)+"秒":(C/=60,C<60?C.toFixed(0)+"分钟":(C/=60,C<24?C.toFixed(0)+"小时":(C/=24,C.toFixed(0)+"天")));return(C,x)=>{const M=Vue.resolveComponent("el-radio"),I=Vue.resolveComponent("el-radio-group"),j=Vue.resolveComponent("el-checkbox"),z=Vue.resolveComponent("el-empty"),d=Vue.resolveComponent("el-table-column"),u=Vue.resolveComponent("el-avatar"),p=Vue.resolveComponent("el-tag"),V=Vue.resolveComponent("el-table"),g=Vue.resolveComponent("el-button"),N=Vue.resolveComponent("el-dialog"),G=Vue.resolveDirective("loading");return Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,[Vue.createVNode(N,{"align-center":"",style:{width:"95vw","max-width":"600px","max-height":"85vh"},modelValue:h.value,"onUpdate:modelValue":x[4]||(x[4]=T=>h.value=T),title:"排行榜"},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",Zt,[Vue.createElementVNode("div",Wt,[Vue.createVNode(I,{modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=T=>t.value=T),onChange:B,class:"ml-4"},{default:Vue.withCtx(()=>[Vue.createVNode(M,{label:"allUsed",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("总流量")]),_:1}),Vue.createVNode(M,{label:"averageSpeed",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("平均速度")]),_:1}),Vue.createVNode(M,{label:"onlineTime",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("在线时长")]),_:1})]),_:1},8,["modelValue"])]),Vue.createElementVNode("div",Qt,[Vue.createVNode(I,{modelValue:s.value,"onUpdate:modelValue":x[2]||(x[2]=T=>s.value=T),onChange:B,class:"ml-4"},{default:Vue.withCtx(()=>[Vue.createVNode(M,{label:"3",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("小时")]),_:1}),Vue.createVNode(M,{label:"2",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("天")]),_:1}),Vue.createVNode(M,{label:"1",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("月")]),_:1}),Vue.createVNode(M,{label:"0",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("年")]),_:1}),Vue.createVNode(j,{modelValue:A.value,"onUpdate:modelValue":x[1]||(x[1]=T=>A.value=T),label:"上个统计周期",size:"small",onChange:B},null,8,["modelValue"])]),_:1},8,["modelValue"])]),Vue.withDirectives((Vue.openBlock(),Vue.createBlock(V,{style:{"min-height":"500px"},"table-layout":"auto",data:c.value,size:"small"},{empty:Vue.withCtx(()=>[Vue.withDirectives(Vue.createVNode(z,{description:"没有数据"},null,512),[[Vue.vShow,!r.value]])]),default:Vue.withCtx(()=>[Vue.createVNode(d,{type:"index",label:"",width:"40"}),Vue.createVNode(d,{prop:"user",label:"用户"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",Xt,[Vue.createVNode(u,{size:30,src:T.row.headimg},null,8,["src"]),Vue.createElementVNode("span",qt,Vue.toDisplayString(T.row.user),1)])]),_:1}),Vue.createVNode(d,{prop:"data",label:f.value},null,8,["label"]),e.value?(Vue.openBlock(),Vue.createBlock(d,{key:0,prop:"user",label:"属地"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",eA,[Vue.createVNode(p,{size:"small",type:T.row.type,round:""},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(T.row.short),1)]),_:2},1032,["type"])])]),_:1})):Vue.createCommentVNode("",!0),e.value?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createBlock(d,{key:1,prop:"user",label:"运营商"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",tA,[Vue.createVNode(p,{size:"small",type:T.row.type,round:""},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(T.row.isp),1)]),_:2},1032,["type"])])]),_:1})),e.value?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createBlock(d,{key:2,prop:"user",label:"属地"},{default:Vue.withCtx(T=>[Vue.createElementVNode("div",AA,[Vue.createElementVNode("span",oA,Vue.toDisplayString(T.row.addr),1)])]),_:1}))]),_:1},8,["data"])),[[G,r.value]])]),Vue.createVNode(g,{style:{width:"100%"},onClick:x[3]||(x[3]=T=>o.value=!0)},{default:Vue.withCtx(()=>[Vue.createTextVNode("用户中心")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(N,{style:{width:"99vw","max-width":"500px"},modelValue:o.value,"onUpdate:modelValue":x[5]||(x[5]=T=>o.value=T),title:"用户中心"},{default:Vue.withCtx(()=>[o.value?(Vue.openBlock(),Vue.createBlock(Kt,{key:0,loginInfo:l.loginInfo},null,8,["loginInfo"])):Vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])],64)}}}),lA={style:{"margin-top":"10px","margin-left":"10px","margin-right":"10px"}},aA={class:"slider-demo-block"},sA=Vue.createElementVNode("span",{class:"font-background"},"测速地址:",-1),rA=Vue.createElementVNode("br",null,null,-1),cA={class:"slider-demo-block",style:{"margin-top":"20px"}},iA={class:"font-background"},uA=Vue.createElementVNode("br",null,null,-1),dA={class:"ItemContainer"},pA={class:"showItem"},fA=Vue.createElementVNode("span",{class:"font-background",style:{"font-size":"larger"}},"总流量",-1),VA=Vue.createElementVNode("div",{class:"state-icon"},[Vue.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"h-15 w-15 float-right pt-3"},[Vue.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z"})])],-1),mA={class:"showItem"},hA={class:"font-background",style:{"font-size":"larger"}},vA=Vue.createElementVNode("br",null,null,-1),gA=Vue.createElementVNode("br",null,null,-1),_A=Vue.createElementVNode("br",null,null,-1),wA=Vue.createElementVNode("div",{class:"state-icon",style:{color:"rgb(9,194,222)"}},[Vue.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"h-15 w-15 float-right pt-3"},[Vue.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1",d:"M16.469,8.924l-2.414,2.413c-0.156,0.156-0.408,0.156-0.564,0c-0.156-0.155-0.156-0.408,0-0.563l2.414-2.414c1.175-1.175,1.175-3.087,0-4.262c-0.57-0.569-1.326-0.883-2.132-0.883s-1.562,0.313-2.132,0.883L9.227,6.511c-1.175,1.175-1.175,3.087,0,4.263c0.288,0.288,0.624,0.511,0.997,0.662c0.204,0.083,0.303,0.315,0.22,0.52c-0.171,0.422-0.643,0.17-0.52,0.22c-0.473-0.191-0.898-0.474-1.262-0.838c-1.487-1.485-1.487-3.904,0-5.391l2.414-2.413c0.72-0.72,1.678-1.117,2.696-1.117s1.976,0.396,2.696,1.117C17.955,5.02,17.955,7.438,16.469,8.924 M10.076,7.825c-0.205-0.083-0.437,0.016-0.52,0.22c-0.083,0.205,0.016,0.437,0.22,0.52c0.374,0.151,0.709,0.374,0.997,0.662c1.176,1.176,1.176,3.088,0,4.263l-2.414,2.413c-0.569,0.569-1.326,0.883-2.131,0.883s-1.562-0.313-2.132-0.883c-1.175-1.175-1.175-3.087,0-4.262L6.51,9.227c0.156-0.155,0.156-0.408,0-0.564c-0.156-0.156-0.408-0.156-0.564,0l-2.414,2.414c-1.487,1.485-1.487,3.904,0,5.391c0.72,0.72,1.678,1.116,2.696,1.116s1.976-0.396,2.696-1.116l2.414-2.413c1.487-1.486,1.487-3.905,0-5.392C10.974,8.298,10.55,8.017,10.076,7.825"})])],-1),yA={class:"showItem"},xA=Vue.createElementVNode("span",{class:"font-background",style:{"font-size":"larger"}},"带宽",-1),bA=Vue.createElementVNode("div",{class:"state-icon"},[Vue.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"h-15 w-15 float-right pt-3"},[Vue.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})])],-1),kA={style:{width:"fit-content",display:"block","margin-top":"2ch","margin-left":"auto","margin-right":"auto"}},CA={t:"1694957757562",fill:"white",style:{width:"50px","margin-left":"10px","margin-top":"-30px"},viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4036",width:"200",height:"200"},NA=Vue.createElementVNode("path",{d:"M823.8 603.5l-501.2 336c-50.7 34-119.3 20.4-153.2-30.2-12.2-18.2-18.7-39.6-18.7-61.5v-672c0-61 49.5-110.4 110.4-110.4 21.9 0 43.3 6.5 61.5 18.7l501.1 336c50.7 34 64.2 102.6 30.2 153.2-7.8 11.9-18.1 22.2-30.1 30.2z m0 0","p-id":"4037"},null,-1),EA=[NA],TA={key:1,class:"button"},MA={t:"1694958268344",fill:"white",style:{width:"80px","margin-top":"-30px"},viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7667",width:"200",height:"200"},SA=Vue.createElementVNode("path",{d:"M352 768c-17.664 0-32-14.304-32-32V288c0-17.664 14.336-32 32-32s32 14.336 32 32v448c0 17.696-14.336 32-32 32zM672 768c-17.696 0-32-14.304-32-32V288c0-17.664 14.304-32 32-32s32 14.336 32 32v448c0 17.696-14.304 32-32 32z","p-id":"7668"},null,-1),BA=[SA],PA=Vue.createElementVNode("br",null,null,-1),DA=Vue.createElementVNode("br",null,null,-1),IA=Vue.createElementVNode("br",null,null,-1),LA=Vue.createElementVNode("br",null,null,-1),jA={class:"dialog-footer"},UA={class:"mt-4"},OA={class:"dialog-footer"},$A=["src"],zA=["src"],GA=Vue.defineComponent({__name:"Main",props:{isVisible:Boolean,IPinfo:Object},setup(m){const l=m,t=Vue.ref({show:!1}),r=Vue.reactive(localStorage.customNodes?JSON.parse(localStorage.customNodes):[]),o=[];for(let a in se){const n=se[a],v={label:a,options:[]};for(let b in n)v.options.push({value:n[b],label:b});o.push(v)}const e=Vue.ref(o);r.length&&(e.value=[{label:"自定义",options:r}].concat(o)),Vue.watch(r,async(a,n)=>{r.length?e.value=[{label:"自定义",options:r}].concat(o):e.value=o,localStorage.customNodes=JSON.stringify(a)},{deep:!0});const A=Vue.reactive({show:{allUsed:"-",speed:"-",speedBit:"-"},predict:{min:"-",hour:"-",day:"-",mon:"-"},isChecking:!1,bytesUsed:0,logged:0,lastLogTime:0,recordUse:0,recordTime:0,startUse:0,startTime:0,maxUse:localStorage.maxUse?Number(localStorage.maxUse):0}),s=Vue.ref(!1),f=Vue.reactive({AccessToken:localStorage.AccessToken?localStorage.AccessToken:""}),i=Vue.ref(localStorage.chartShow?localStorage.chartShow==="true":!1),h=Vue.ref(localStorage.threadNum?Number(localStorage.threadNum):8),c=Vue.ref(localStorage.runBackground?localStorage.runBackground==="true":!1),_=Vue.ref(localStorage.url?localStorage.url:e.value[0].options[0].value);var w=[];const B=async()=>{A.isChecking=!0;const a=await L(_.value);A.isChecking=!1,a.status?s.value=!0:ElementPlus.ElMessage.error({dangerouslyUseHTMLString:!0,message:a.info})},L=async a=>{var n=!0;let v="";try{let b=new URL(a);if(b.host.indexOf("ljxnet.cn")+b.host.indexOf("netart.cn")!=-2)throw"你不对劲,我要拿小本本把你记下来然后交给警察蜀黍!";const E=await fetch(a,{cache:"no-store",mode:"cors",referrerPolicy:"no-referrer"});if(E.status==404)throw"资源响应异常"+E.status;if(!E.body)throw"资源响应异常 Nobody";const k=E.body.getReader(),{value:S,done:P}=await k.read();if(!S||S.length<=0)throw"资源响应异常 Nobody";k.cancel()}catch(b){n=!1,b instanceof Error?v=b.message:v=String(b)}return{status:n,info:v}};Vue.watch(s,async(a,n)=>{var b,E;if(oe(),a){A.maxUse&&A.bytesUsed>=A.maxUse&&(A.bytesUsed=0,A.logged=0),A.lastLogTime=new Date().getTime()/1e3,A.startUse=A.bytesUsed,A.startTime=new Date().getTime()/1e3,A.recordUse=A.bytesUsed,A.recordTime=new Date().getTime()/1e3;for(let k=0;kclearInterval(k)),$(),(E=Y.value)==null||E.pause();var v=(A.bytesUsed-A.startUse)/(new Date().getTime()/1e3-A.startTime);I(v),M(),l.isVisible||x()}});async function $(){let a=new Date().getTime()/1e3,n=A.bytesUsed-A.logged,v=a-A.lastLogTime;if(A.logged=A.bytesUsed,A.lastLogTime=a,f.AccessToken){let b=await fetch("https://api.netart.cn/app/network-panel/",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify({action:"log",AccessToken:f.AccessToken,url:_.value,threadNum:h.value,used:n,time:v,IPinfo:l.IPinfo})});b=await b.json(),b.status==-1&&(f.AccessToken="")}}Vue.watch(l,async(a,n)=>{!a.isVisible&&c.value&&s.value&&z(),!a.isVisible&&!c.value&&s.value&&(s.value=!1),a.isVisible&&x()}),Vue.watch(h,async(a,n)=>{if(localStorage.threadNum=a,s.value&&a>n)for(let v=n;v{localStorage.runBackground=a}),Vue.watch(i,async(a,n)=>{localStorage.chartShow=a,a&&setTimeout(()=>R.resize(),100)}),Vue.watch(_,async(a,n)=>{localStorage.url=a}),Vue.watch(f,async(a,n)=>{localStorage.AccessToken=a.AccessToken});const C=()=>{F(_.value).then(()=>{ElementPlus.ElMessage.success({dangerouslyUseHTMLString:!0,message:"已复制当前链接"})})};window.addEventListener("paste",function(a){var E;if(a.clipboardData&&a.clipboardData.items&&((E=document.activeElement)==null?void 0:E.nodeName)!="INPUT")for(var n=0,v=a.clipboardData.items.length;n{l.isVisible?document.title="网络面板":s.value?document.title=d(A.bytesUsed,0,[0,0,0,0,0,0])+" "+d(a,1,[0,0,0,0,0,0]):A.maxUse&&A.bytesUsed>=A.maxUse?document.title="已完成":document.title="已暂停"},M=()=>{A.bytesUsed||(A.show.allUsed="-"),A.show.allUsed=d(A.bytesUsed,0,[0,0,1,2,2,2])},I=a=>{A.show.speed=d(a,1,[0,0,1,2,2,2]),A.show.speedBit=d(a*8,2,[0,0,0,2,2,2]),A.predict.min=d(a*60,0,[0,0,0,1,1,1]),A.predict.hour=d(a*60*60,0,[0,0,0,1,1,1]),A.predict.day=d(a*60*60*24,0,[0,0,0,1,1,1]),A.predict.mon=d(a*60*60*24*30,0,[0,0,0,1,1,1])},j=()=>{l.isVisible&&M(),A.maxUse&&A.bytesUsed>=A.maxUse&&(s.value=!1)},z=()=>{var a=(A.bytesUsed-A.recordUse)/(new Date().getTime()/1e3-A.recordTime);isNaN(a)?Z(0):Z(a),a<=0||isNaN(a)?(A.show.speed="-",A.show.speedBit="-"):l.isVisible?I(a):c.value&&x(a),A.recordUse=A.bytesUsed,A.recordTime=new Date().getTime()/1e3};function d(a,n,v){const E=[["B","KB","MB","GB","TB","PB"],["B/s","KB/s","MB/s","GB/s","TB/s","PB/s"],["Bps","Kbps","Mbps","Gbps","Tbps","Pbps"]][n];for(var k=a,S=0;k>=1024&&S!=E.length-1;)k=k/1024,S++;return k.toFixed(v[S])+E[S]}async function u(a){try{var n=_.value;const v=await fetch(n,{cache:"no-store",mode:"cors",referrerPolicy:"no-referrer"});if(!v.body)throw"Nobody";let b=v.headers.get("content-length"),E=1/0;b&&(E=parseInt(b));const k=v.body.getReader();let S=0;for(;;){const{value:P}=await k.read();let U=P==null?void 0:P.length;if(!U||n!=_.value){u(a);break}let D=U;if(S>=E?D=0:S+U>E&&(D=E-S),A.bytesUsed+=D,a>=h.value||!s.value)break;S+=U}k.cancel()}catch(v){console.log(v),s.value&&u(a)}}const p=Vue.ref(!1),V=Vue.ref(!1),g=Vue.ref(!1),N=Vue.ref({label:"",value:"",checking:!1}),G=a=>{var n=a.match(/https?:\/\/([\w-]+\.)+[\w-]+(:[0-9]+)?(\/\S*)?/);return n?n[0]:""},T=async()=>{N.value.value=G(N.value.value),N.value.checking=!0;const a=await L(N.value.value);if(!a.status){N.value.checking=!1,ElementPlus.ElMessage.error({dangerouslyUseHTMLString:!0,message:a.info});return}N.value.checking=!1,r.push({label:N.value.label,value:N.value.value}),N.value.label="",N.value.value="",V.value=!1},H=Vue.ref({num:null,type:"GB"}),ue=()=>{var a={MB:1048576,GB:1073741824,TB:1099511627776},n=0;H.value.num&&(n=Math.floor(H.value.num*a[H.value.type])),A.maxUse=n,localStorage.maxUse=n,H.value.num=null,g.value=!1};var de=/Mobi|Android|iPhone/i.test(navigator.userAgent),pe=/MiuiBrowser/i.test(navigator.userAgent),te=/iPhone/i.test(navigator.userAgent);const Y=Vue.ref(null),Ae=Vue.ref(null);let R,Z=a=>{},oe=()=>{};return Vue.onMounted(()=>{R=echarts.init(Ae.value);const a={tooltip:{trigger:"axis",formatter:function(E){let k=d(E[0].data[1],1,[0,0,1,2,2,2]);return`${new Date(E[0].data[0]*1e3).toLocaleString()}
+ ${k}`}},toolbox:{feature:{saveAsImage:{}}},title:{left:"left",text:"速度图表"},xAxis:{type:"time",boundaryGap:!1,axisLabel:{show:!1},axisTick:{show:!1}},yAxis:{type:"value",axisLabel:{formatter:E=>{let k=d(E,1,[0,0,0,0,0,0]);return k=="-"?0:k}}},series:[{name:"速度",type:"line",smooth:!1,symbol:"none",areaStyle:{},data:[[new Date().getTime()/1e3,0]]}],grid:{x:50,y:40,x2:8,y2:10}};R.setOption(a);let n=[],v=[],b=1;oe=()=>{v=[],n.push([new Date().getTime()/1e3,0])},Z=E=>{let k=!1;for(v.push(E);v.length>=b;){k=!0;var S=v.splice(0,b);let P;S.includes(0)?P=0:P=S.reduce((U,D)=>U+D,0)/b,n.push([new Date().getTime()/1e3,P])}for(;n.length>=200;){k=!0;const P=[],U=n.length%2===0?n.length:n.length-1;for(let D=0;D{R.resize()})}),Vue.onUnmounted(()=>{R&&R.dispose()}),(a,n)=>{const v=Vue.resolveComponent("el-button"),b=Vue.resolveComponent("el-option"),E=Vue.resolveComponent("el-option-group"),k=Vue.resolveComponent("el-icon"),S=Vue.resolveComponent("el-select"),P=Vue.resolveComponent("el-slider"),U=Vue.resolveComponent("el-switch"),D=Vue.resolveComponent("el-text"),fe=Vue.resolveComponent("el-popover"),W=Vue.resolveComponent("el-table-column"),Ve=Vue.resolveComponent("el-table"),me=Vue.resolveComponent("el-empty"),Q=Vue.resolveComponent("el-dialog"),X=Vue.resolveComponent("el-input"),ne=Vue.resolveComponent("el-form-item"),le=Vue.resolveComponent("el-form"),ae=Vue.resolveComponent("el-alert");return Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,[Vue.createElementVNode("div",{class:"radius",style:Vue.normalizeStyle([{borderRadius:"var(--el-border-radius-round)"},{"max-width":"800px",height:"fit-content",display:"block",margin:"0 auto","background-color":"#ffffff",padding:"2%"}])},[Vue.createElementVNode("div",lA,[Vue.createElementVNode("div",aA,[sA,Vue.createVNode(v,{type:"primary",icon:Vue.unref(Ue),link:"",onClick:C},null,8,["icon"]),Vue.createVNode(v,{type:"primary",icon:Vue.unref(re),link:"",onClick:n[0]||(n[0]=y=>p.value=!0)},null,8,["icon"]),rA,Vue.createVNode(S,{style:{width:"100%"},modelValue:_.value,"onUpdate:modelValue":n[1]||(n[1]=y=>_.value=y)},{prefix:Vue.withCtx(()=>[Vue.createVNode(k,null,{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(Vt))]),_:1})]),default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(e.value,y=>(Vue.openBlock(),Vue.createBlock(E,{key:y.label,label:y.label},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(y.options,K=>(Vue.openBlock(),Vue.createBlock(b,{key:K.value,label:K.label,value:K.value},null,8,["label","value"]))),128))]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),Vue.createElementVNode("div",cA,[Vue.createElementVNode("span",iA,"线程数:"+Vue.toDisplayString(h.value),1),Vue.createVNode(P,{"show-tooltip":!1,min:1,max:64,modelValue:h.value,"onUpdate:modelValue":n[2]||(n[2]=y=>h.value=y)},null,8,["modelValue"])]),Vue.createVNode(U,{modelValue:c.value,"onUpdate:modelValue":n[3]||(n[3]=y=>c.value=y),"active-text":"保持后台运行"},null,8,["modelValue"]),uA,Vue.createElementVNode("div",dA,[Vue.createElementVNode("div",pA,[fA,Vue.createVNode(D,{size:"small",class:"mx-1"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.maxUse?"/"+d(A.maxUse,0,[0,0,0,0,0,0]):""),1)]),_:1}),Vue.createVNode(v,{type:"primary",style:{height:"15px"},icon:Vue.unref(re),link:"",onClick:n[4]||(n[4]=y=>g.value=!0)},null,8,["icon"]),VA,Vue.createVNode(D,{class:"font-data"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.show.allUsed),1)]),_:1})]),Vue.createElementVNode("div",mA,[Vue.createElementVNode("span",hA,Vue.toDisplayString(s.value?"实时速度":"平均速度"),1),Vue.createVNode(fe,{placement:"top-start",title:"用量预测",width:150,trigger:"click"},{reference:Vue.withCtx(()=>[Vue.createVNode(v,{type:"primary",style:{height:"15px","vertical-align":"-2px"},icon:Vue.unref(be),link:""},null,8,["icon"])]),default:Vue.withCtx(()=>[Vue.createTextVNode(" 每分钟  "+Vue.toDisplayString(A.predict.min)+" ",1),vA,Vue.createTextVNode(" 每小时  "+Vue.toDisplayString(A.predict.hour)+" ",1),gA,Vue.createTextVNode(" 每天     "+Vue.toDisplayString(A.predict.day)+" ",1),_A,Vue.createTextVNode(" 每月     "+Vue.toDisplayString(A.predict.mon),1)]),_:1}),wA,Vue.createVNode(D,{class:"font-data",style:{color:"rgb(9,194,222)"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.show.speed),1)]),_:1})]),Vue.createElementVNode("div",yA,[xA,bA,Vue.createVNode(D,{class:"font-data"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(A.show.speedBit),1)]),_:1})])]),Vue.createElementVNode("div",kA,[!s.value&&!A.isChecking?(Vue.openBlock(),Vue.createElementBlock("a",{key:0,class:"button",onClick:B},[(Vue.openBlock(),Vue.createElementBlock("svg",CA,EA))])):Vue.createCommentVNode("",!0),A.isChecking?(Vue.openBlock(),Vue.createElementBlock("a",TA,[Vue.createVNode(k,{style:{"margin-top":"40px"},size:60,class:"is-loading"},{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(ce))]),_:1})])):Vue.createCommentVNode("",!0),s.value?(Vue.openBlock(),Vue.createElementBlock("a",{key:2,class:"button",onClick:n[5]||(n[5]=y=>s.value=!1)},[(Vue.openBlock(),Vue.createElementBlock("svg",MA,BA))])):Vue.createCommentVNode("",!0)]),Vue.createVNode(v,{style:{float:"left","margin-top":"-20px","margin-right":"3px"},type:"primary",icon:Vue.unref(ct),link:"",onClick:n[6]||(n[6]=y=>t.value.show=!0)},null,8,["icon"]),i.value?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createBlock(v,{key:0,style:{float:"right","margin-top":"-20px","margin-right":"3px"},type:"primary",icon:Vue.unref(Ct),link:"",onClick:n[7]||(n[7]=y=>i.value=!0)},null,8,["icon"])),i.value?(Vue.openBlock(),Vue.createBlock(v,{key:1,style:{float:"right","margin-top":"-20px","margin-right":"3px"},type:"primary",icon:Vue.unref(ot),link:"",onClick:n[8]||(n[8]=y=>i.value=!1)},null,8,["icon"])):Vue.createCommentVNode("",!0),Vue.withDirectives(Vue.createElementVNode("div",{ref_key:"chartContainer",ref:Ae,style:{width:"100%",height:"400px"}},null,512),[[Vue.vShow,i.value]])])],4),Vue.createVNode(Q,{style:{width:"90%","max-width":"700px"},modelValue:p.value,"onUpdate:modelValue":n[10]||(n[10]=y=>p.value=y),title:"自定义地址"},{default:Vue.withCtx(()=>[r.length?(Vue.openBlock(),Vue.createBlock(Ve,{key:0,data:r,style:{width:"100%"},"max-height":"300"},{default:Vue.withCtx(()=>[Vue.createVNode(W,{prop:"label",label:"名称",width:"100"}),Vue.createVNode(W,{prop:"value",label:"URL"}),Vue.createVNode(W,{fixed:"right",label:"",width:"50"},{default:Vue.withCtx(y=>[Vue.createVNode(v,{type:"danger",link:"",icon:Vue.unref(Re),onClick:Vue.withModifiers(K=>r.splice(y.$index,1),["prevent"])},null,8,["icon","onClick"])]),_:1})]),_:1},8,["data"])):(Vue.openBlock(),Vue.createBlock(me,{key:1,description:"没有自定义地址"})),Vue.createVNode(v,{class:"mt-4",style:{width:"100%"},onClick:n[9]||(n[9]=y=>{V.value=!0})},{default:Vue.withCtx(()=>[Vue.createTextVNode("添加地址")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(Q,{style:{width:"90%","max-width":"700px"},modelValue:V.value,"onUpdate:modelValue":n[15]||(n[15]=y=>V.value=y),title:"添加链接"},{footer:Vue.withCtx(()=>[Vue.createElementVNode("span",jA,[Vue.createVNode(v,{onClick:n[13]||(n[13]=y=>V.value=!1)},{default:Vue.withCtx(()=>[Vue.createTextVNode("取消")]),_:1}),Vue.createVNode(v,{type:"primary",disabled:!G(N.value.value)||!N.value.label||N.value.checking,onClick:n[14]||(n[14]=y=>T())},{default:Vue.withCtx(()=>[Vue.createTextVNode("确认 "),N.value.checking?(Vue.openBlock(),Vue.createBlock(k,{key:0,class:"is-loading"},{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(ce))]),_:1})):Vue.createCommentVNode("",!0)]),_:1},8,["disabled"])])]),default:Vue.withCtx(()=>[Vue.createVNode(le,{model:N.value},{default:Vue.withCtx(()=>[Vue.createVNode(ne,{label:"名称:","label-width":"50px"},{default:Vue.withCtx(()=>[Vue.createVNode(X,{modelValue:N.value.label,"onUpdate:modelValue":n[11]||(n[11]=y=>N.value.label=y),autocomplete:"off"},null,8,["modelValue"])]),_:1}),Vue.createVNode(ne,{label:"url:","label-width":"50px"},{default:Vue.withCtx(()=>[Vue.createVNode(X,{modelValue:N.value.value,"onUpdate:modelValue":n[12]||(n[12]=y=>N.value.value=y),autocomplete:"off"},{suffix:Vue.withCtx(()=>[G(N.value.value)?(Vue.openBlock(),Vue.createBlock(k,{key:0},{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(Se))]),_:1})):Vue.createCommentVNode("",!0)]),default:Vue.withCtx(()=>[Vue.createTextVNode("> ")]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"]),Vue.createVNode(ae,{title:"注意:",type:"warning"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 在浏览器工作的程序受到浏览器安全策略的限制 "),PA,Vue.createTextVNode(" 以下情况你将无法正常使用链接 "),DA,Vue.createTextVNode(" 1.你使用https协议打开的本站,但是url是http协议 "),IA,Vue.createTextVNode(" 2.目标服务器返回的Access-Control-Allow-Origin响应头没有允许本站 "),LA,Vue.createTextVNode(" 具体细节请在报错后查看控制台 ")]),_:1}),Vue.createVNode(ae,{title:"免责声明:",type:"error"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 请勿用于非法用途,使用本功能造成的一切后果由用户承担 ")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(Q,{style:{width:"90%","max-width":"300px"},modelValue:g.value,"onUpdate:modelValue":n[20]||(n[20]=y=>g.value=y),title:"设置上限自动停止"},{footer:Vue.withCtx(()=>[Vue.createElementVNode("span",OA,[Vue.createVNode(v,{onClick:n[18]||(n[18]=y=>g.value=!1)},{default:Vue.withCtx(()=>[Vue.createTextVNode("取消")]),_:1}),Vue.createVNode(v,{type:"primary",onClick:n[19]||(n[19]=y=>ue())},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 确定 ")]),_:1})])]),default:Vue.withCtx(()=>[Vue.createVNode(le,null,{default:Vue.withCtx(()=>[Vue.createElementVNode("div",UA,[Vue.createVNode(X,{type:"number",min:"1",modelValue:H.value.num,"onUpdate:modelValue":n[17]||(n[17]=y=>H.value.num=y),autocomplete:"off",placeholder:"留空则无上限",class:"input-with-select"},{append:Vue.withCtx(()=>[Vue.createVNode(S,{modelValue:H.value.type,"onUpdate:modelValue":n[16]||(n[16]=y=>H.value.type=y),placeholder:"Select",style:{width:"65px"}},{default:Vue.withCtx(()=>[Vue.createVNode(b,{label:"MB",value:"MB"}),Vue.createVNode(b,{label:"GB",value:"GB"}),Vue.createVNode(b,{label:"TB",value:"TB"})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(nA,{show:t.value,loginInfo:f},null,8,["show","loginInfo"]),Vue.unref(de)&&!Vue.unref(te)&&!Vue.unref(pe)&&c.value?(Vue.openBlock(),Vue.createElementBlock("audio",{key:0,onCanplay:n[21]||(n[21]=()=>{s.value&&Y.value.play()}),onPause:n[22]||(n[22]=()=>{c.value&&(s.value=!1)}),onPlay:n[23]||(n[23]=y=>s.value=!0),controls:"",loop:"",ref_key:"audioDom",ref:Y,style:{display:"none"}},[Vue.createElementVNode("source",{src:Vue.unref(ve),type:"audio/mpeg"},null,8,$A)],544)):Vue.createCommentVNode("",!0),Vue.unref(te)&&c.value?(Vue.openBlock(),Vue.createElementBlock("audio",{key:1,onCanplay:n[24]||(n[24]=()=>{s.value&&Y.value.play()}),onPause:n[25]||(n[25]=()=>{c.value&&(s.value=!1)}),onPlay:n[26]||(n[26]=y=>s.value=!0),controls:"",loop:"",ref_key:"audioDom",ref:Y,style:{display:"none"}},[Vue.createElementVNode("source",{src:Vue.unref(he),type:"audio/mpeg"},null,8,zA)],544)):Vue.createCommentVNode("",!0)],64)}}});const HA="美国",RA="加拿大",YA="中国香港",JA="中国台湾",FA="新加坡",KA="日本",ZA="韩国",WA="澳大利亚",QA="新西兰",XA="阿富汗",qA="阿尔巴尼亚",eo="阿尔及利亚",to="美属萨摩亚(美国)",Ao="安道尔",oo="安哥拉",no="安圭拉",lo="安提瓜和巴布达",ao="阿根廷",so="亚美尼亚",ro="阿鲁巴",co="奥地利",io="阿塞拜疆",uo="巴哈马",po="巴林",fo="孟加拉国",Vo="巴巴多斯",mo="白俄罗斯",ho="比利时",vo="伯利兹",go="贝宁",_o="百慕大",wo="不丹",yo="玻利维亚",xo="波黑",bo="博茨瓦纳",ko="巴西",Co="英属维京群岛(英国)",No="文莱",Eo="保加利亚",To="布基纳法索",Mo="布隆迪",So="柬埔寨",Bo="喀麦隆",Po="佛得角",Do="开曼群岛(英国)",Io="中非共和国",Lo="乍得",jo="智利",Uo="哥伦比亚",Oo="科摩罗",$o="刚果(金)",zo="库克群岛(新西兰)",Go="哥斯达黎加",Ho="科特迪瓦",Ro="克罗地亚",Yo="古巴",Jo="塞浦路斯",Fo="捷克",Ko="丹麦",Zo="吉布提",Wo="多米尼克",Qo="多米尼加共和国",Xo="厄瓜多尔",qo="埃及",en="萨尔瓦多",tn="赤道几内亚",An="厄立特里亚",on="爱沙尼亚",nn="埃塞俄比亚",ln="法罗群岛(丹麦)",an="斐济",sn="芬兰",rn="法国",cn="法属圭亚那(法国)",un="法属玻利尼西亚",dn="加蓬",pn="冈比亚",fn="格鲁吉亚",Vn="德国",mn="加纳",hn="直布罗陀(英国)",vn="希腊",gn="格陵兰",_n="格林纳达",wn="瓜德罗普",yn="关岛(美国)",xn="危地马拉",bn="几内亚",kn="几内亚比绍",Cn="圭亚那",Nn="海地",En="洪都拉斯",Tn="匈牙利",Mn="冰岛",Sn="印度",Bn="印度尼西亚",Pn="伊朗",Dn="伊拉克",In="爱尔兰共和国",Ln="以色列",jn="意大利",Un="牙买加",On="约旦",$n="哈萨克斯坦",zn="肯尼亚",Gn="基里巴斯",Hn="北朝鲜",Rn="科威特",Yn="吉尔吉斯斯坦",Jn="老挝",Fn="拉脱维亚",Kn="黎巴嫩",Zn="莱索托",Wn="利比里亚",Qn="利比亚",Xn="列支敦士登",qn="立陶宛",el="卢森堡",tl="中国澳门",Al="马其顿",ol="马达加斯加",nl="马拉维",ll="马来西亚",al="马尔代夫",sl="马里共和国",rl="马耳他",cl="马绍尔群岛",il="马提尼克(法国)",ul="毛里塔尼亚",dl="毛里求斯",pl="马约特",fl="墨西哥",Vl="密克罗尼西亚联邦",ml="摩尔多瓦",hl="摩纳哥",vl="蒙古国",gl="黑山共和国",_l="蒙塞拉特岛(英国)",wl="摩洛哥",yl="莫桑比克",xl="缅甸",bl="纳米比亚",kl="瑙鲁",Cl="尼泊尔",Nl="荷兰",El="新喀里多尼亚(法国)",Tl="尼加拉瓜",Ml="尼日尔",Sl="尼日利亚",Bl="纽埃",Pl="北马里亚纳群岛(美国)",Dl="挪威",Il="阿曼",Ll="巴基斯坦",jl="帕劳",Ul="巴勒斯坦",Ol="巴拿马",$l="巴布亚新几内亚",zl="巴拉圭",Gl="中国",Hl="秘鲁",Rl="菲律宾",Yl="波兰",Jl="葡萄牙",Fl="波多黎各(美国)",Kl="卡塔尔",Zl="刚果共和国",Wl="津巴布韦",Ql="留尼汪(法国)",Xl="罗马尼亚",ql="俄罗斯",ea="卢旺达",ta="圣赫勒拿",Aa="圣基茨和尼维斯",oa="圣卢西亚",na="圣皮埃尔和密克隆岛(法国)",la="圣文森特和格林纳丁斯",aa="萨摩亚",sa="圣马力诺",ra="圣多美和普林西比",ca="沙特阿拉伯",ia="塞内加尔",ua="塞尔维亚共和国",da="塞舌尔",pa="塞拉利昂",fa="斯洛伐克",Va="斯洛文尼亚",ma="所罗门群岛",ha="索马里",va="南非",ga="南苏丹",_a="西班牙",wa="斯里兰卡",ya="苏丹",xa="苏里南",ba="斯威士兰",ka="瑞典",Ca="瑞士",Na="叙利亚",Ea="塔吉克斯坦",Ta="坦桑尼亚",Ma="泰国",Sa="东帝汶",Ba="多哥",Pa="托克劳",Da="汤加",Ia="特立尼达和多巴哥",La="突尼斯",ja="土耳其",Ua="土库曼斯坦",Oa="特克斯和凯科斯群岛(英国)",$a="图瓦卢",za="乌干达",Ga="乌克兰",Ha="阿拉伯联合酋长国",Ra="英国",Ya="乌拉圭",Ja="乌兹别克斯坦",Fa="瓦努阿图",Ka="委内瑞拉",Za="越南",Wa="瓦利斯和富图纳群岛(法国)",Qa="也门",Xa="赞比亚",qa={599:"荷属安的列斯",US:HA,CA:RA,HK:YA,TW:JA,SG:FA,JP:KA,KR:ZA,AU:WA,NZ:QA,AF:XA,AL:qA,DZ:eo,AS:to,AD:Ao,AO:oo,AI:no,AG:lo,AR:ao,AM:so,AW:ro,AT:co,AZ:io,BS:uo,BH:po,BD:fo,BB:Vo,BY:mo,BE:ho,BZ:vo,BJ:go,BM:_o,BT:wo,BO:yo,BA:xo,BW:bo,BR:ko,VG:Co,BN:No,BG:Eo,BF:To,BI:Mo,KH:So,CM:Bo,CV:Po,KY:Do,CF:Io,TD:Lo,CL:jo,CO:Uo,KM:Oo,CD:$o,CK:zo,CR:Go,CI:Ho,HR:Ro,CU:Yo,CY:Jo,CZ:Fo,DK:Ko,DJ:Zo,DM:Wo,DO:Qo,EC:Xo,EG:qo,SV:en,GQ:tn,ER:An,EE:on,ET:nn,FO:ln,FJ:an,FI:sn,FR:rn,GF:cn,PF:un,GA:dn,GM:pn,GE:fn,DE:Vn,GH:mn,GI:hn,GR:vn,GL:gn,GD:_n,GP:wn,GU:yn,GT:xn,GN:bn,GW:kn,GY:Cn,HT:Nn,HN:En,HU:Tn,IS:Mn,IN:Sn,ID:Bn,IR:Pn,IQ:Dn,IE:In,IL:Ln,IT:jn,JM:Un,JO:On,KZ:$n,KE:zn,KI:Gn,KP:Hn,KW:Rn,KG:Yn,LA:Jn,LV:Fn,LB:Kn,LS:Zn,LR:Wn,LY:Qn,LI:Xn,LT:qn,LU:el,MO:tl,MK:Al,MG:ol,MW:nl,MY:ll,MV:al,ML:sl,MT:rl,MH:cl,MQ:il,MR:ul,MU:dl,YT:pl,MX:fl,FM:Vl,MD:ml,MC:hl,MN:vl,ME:gl,MS:_l,MA:wl,MZ:yl,MM:xl,NA:bl,NR:kl,NP:Cl,NL:Nl,NC:El,NI:Tl,NE:Ml,NG:Sl,NU:Bl,MP:Pl,NO:Dl,OM:Il,PK:Ll,PW:jl,PS:Ul,PA:Ol,PG:$l,PY:zl,CN:Gl,PE:Hl,PH:Rl,PL:Yl,PT:Jl,PR:Fl,QA:Kl,CG:Zl,ZW:Wl,RE:Ql,RO:Xl,RU:ql,RW:ea,SH:ta,KN:Aa,LC:oa,PM:na,VC:la,WS:aa,SM:sa,ST:ra,SA:ca,SN:ia,RS:ua,SC:da,SL:pa,SK:fa,SI:Va,SB:ma,SO:ha,ZA:va,SS:ga,ES:_a,LK:wa,SD:ya,SR:xa,SZ:ba,SE:ka,CH:Ca,SY:Na,TJ:Ea,TZ:Ta,TH:Ma,TL:Sa,TG:Ba,TK:Pa,TO:Da,TT:Ia,TN:La,TR:ja,TM:Ua,TC:Oa,TV:$a,UG:za,UA:Ga,AE:Ha,GB:Ra,UY:Ya,UZ:Ja,VU:Fa,VE:Ka,VN:Za,WF:Wa,YE:Qa,ZM:Xa},es={style:{"text-align":"center"}},ts={key:0},As={key:0},os=Vue.defineComponent({__name:"IPinfo",props:{isVisible:Boolean,IPinfo:Object},setup(m){const l=m,t=Vue.reactive({localInfo:null,globalInfo:null,localLay:0,globalLay:0}),r=f=>{F(f),ElementPlus.ElMessage.success({dangerouslyUseHTMLString:!0,message:`已经复制IP地址:
${f}`})},o=f=>{const i=["内蒙古","黑龙江","河北","山西","吉林","辽宁","江苏","浙江","安徽","福建","江西","山东","河南","湖北","湖南","广东","海南","四川","贵州","云南","陕西","甘肃","青海","广西","西藏","宁夏","新疆","北京","天津","上海","重庆"];for(let h in i)if(f.includes(i[h]))return i[h];return null};async function e(){if(l.isVisible)try{let i=await(await fetch("https://ip.useragentinfo.com/json",{referrerPolicy:"no-referrer"})).json(),h={ip:i.ip,isp:i.isp,isChinaMainland:!!o(i.province),province:o(i.province),city:i.city.replace(/市$/,""),area:i.area};t.localInfo=h,l.IPinfo&&(l.IPinfo.localInfo=h)}catch{t.localInfo=null}setTimeout(e,t.localInfo?5e3:1e3)}async function A(){if(l.isVisible)try{let i=await(await fetch("https://api-ipv4.ip.sb/geoip",{referrerPolicy:"no-referrer"})).json(),h={ip:i.ip,isp:i.isp,country:qa[i.country_code]};t.globalInfo=h,l.IPinfo&&(l.IPinfo.globalInfo=h)}catch{t.globalInfo=null}setTimeout(A,t.globalInfo?5e3:1e3)}e(),A();async function s(f,i){if(l.isVisible)try{var h=new Date().getTime();await fetch(f,{method:"HEAD",cache:"no-store",mode:"no-cors",referrerPolicy:"no-referrer"}),t[i]=new Date().getTime()-h}catch{t[i]=0}setTimeout(s,1e3,f,i)}return s("https://connectivitycheck.platform.hicloud.com/generate_204","localLay"),s("https://cp.cloudflare.com/","globalLay"),(f,i)=>{const h=Vue.resolveComponent("el-tag"),c=Vue.resolveComponent("el-text"),_=Vue.resolveComponent("el-tooltip"),w=Vue.resolveDirective("loading");return Vue.openBlock(),Vue.createElementBlock("div",{class:"radius",style:Vue.normalizeStyle([{borderRadius:"var(--el-border-radius-round)"},{"max-width":"800px",height:"fit-content",display:"block",margin:"0 auto","background-color":"#ffffff",padding:"2%"}])},[Vue.createElementVNode("div",es,[Vue.createVNode(Vue.Transition,{name:"el-fade-in"},{default:Vue.withCtx(()=>[!t.localInfo||t.localInfo.isChinaMainland?Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",ts,[Vue.createVNode(_,{class:"item",effect:"dark",content:t.localInfo?t.localInfo.ip:"Loading...",placement:"top"},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",{onClick:i[0]||(i[0]=B=>r(t.localInfo?t.localInfo.ip:""))},[Vue.createVNode(h,{style:{width:"50px"},class:"ml-2",type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.localLay?t.localLay+"ms":"-ms"),1)]),_:1}),Vue.createVNode(c,{style:{cursor:"pointer","margin-left":"5px","white-space":"nowrap","vertical-align":"-1px"},class:"font-background"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.localInfo?t.localInfo.province+" "+t.localInfo.city+" "+t.localInfo.area+" "+t.localInfo.isp:"Loading..."),1)]),_:1})])]),_:1},8,["content"])])),[[w,!t.localInfo]]):Vue.createCommentVNode("",!0)]),_:1}),Vue.createVNode(Vue.Transition,{name:"el-fade-in"},{default:Vue.withCtx(()=>[t.localInfo&&t.localInfo.province&&!t.globalInfo||t.globalInfo&&t.globalInfo.country!="中国"?Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",As,[Vue.createVNode(_,{class:"item",effect:"dark",content:t.globalInfo?t.globalInfo.ip:"Loading...",placement:"top"},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",{onClick:i[1]||(i[1]=B=>r(t.globalInfo?t.globalInfo.ip:""))},[Vue.createVNode(h,{style:{width:"50px"},class:"ml-2",type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.globalLay?t.globalLay+"ms":"-ms"),1)]),_:1}),Vue.createVNode(c,{style:{cursor:"pointer","margin-left":"5px","white-space":"nowrap","vertical-align":"-3px"},class:"font-background"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.globalInfo?t.globalInfo.country:""),1)]),_:1}),Vue.createVNode(c,{style:{cursor:"pointer","margin-left":"5px","white-space":"nowrap","vertical-align":"-3px"},class:"font-background"},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.globalInfo?t.globalInfo.isp:""),1)]),_:1})])]),_:1},8,["content"])])),[[w,!t.globalInfo]]):Vue.createCommentVNode("",!0)]),_:1})])],4)}}});const ns='',ls={style:{"margin-top":"15px"}},as={style:{width:"fit-content",float:"left"}},ss=["src"],rs=Vue.createElementVNode("span",{style:{color:"#526484","font-size":"20px","font-weight":"bolder"}}," 网络面板 ",-1),cs={style:{float:"right"}},is=Vue.createElementVNode("br",null,null,-1),us={style:{height:"fit-content","padding-bottom":"10px"}},ds={style:{width:"fit-content","margin-left":"auto","margin-right":"auto"}},ps=Vue.defineComponent({__name:"App",setup(m){const l=Vue.ref(!0),t=Vue.reactive({globalInfo:null,localInfo:null});let r=()=>{F("463481772"),ElementPlus.ElMessage.info({dangerouslyUseHTMLString:!0,message:"
已经复制QQ群号:
463481772
"})};return document.addEventListener("visibilitychange",function(){var o=document.visibilityState;o==="hidden"?l.value=!1:l.value=!0}),(o,e)=>{const A=Vue.resolveComponent("el-button"),s=Vue.resolveComponent("el-header"),f=Vue.resolveComponent("el-main"),i=Vue.resolveComponent("el-link"),h=Vue.resolveComponent("el-container");return Vue.openBlock(),Vue.createBlock(h,null,{default:Vue.withCtx(()=>[Vue.createVNode(s,{style:{height:"fit-content","padding-bottom":"12px","background-color":"#ffffff"}},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",ls,[Vue.createElementVNode("div",as,[Vue.createElementVNode("img",{width:40,height:40,class:"mr-2",src:Vue.unref(ns),style:{display:"inline-block","vertical-align":"-12px"}},null,8,ss),rs]),Vue.createElementVNode("div",cs,[Vue.createVNode(A,{style:{color:"#526484","font-size":"12px"},onClick:Vue.unref(r),round:""},{default:Vue.withCtx(()=>[Vue.createTextVNode("Q群")]),_:1},8,["onClick"])])])]),_:1}),Vue.createVNode(f,null,{default:Vue.withCtx(()=>[Vue.createVNode(GA,{isVisible:l.value,IPinfo:t},null,8,["isVisible","IPinfo"]),is,Vue.createVNode(os,{isVisible:l.value,IPinfo:t},null,8,["isVisible","IPinfo"])]),_:1}),Vue.createElementVNode("div",us,[Vue.createElementVNode("div",ds,[Vue.createVNode(i,{type:"info",href:"https://netart.cn/",target:"_blank"},{default:Vue.withCtx(()=>[Vue.createTextVNode("Whoami")]),_:1}),Vue.createTextVNode("  "),Vue.createVNode(i,{type:"info",href:"https://github.com/ljxi/NetworkPanel",target:"_blank"},{default:Vue.withCtx(()=>[Vue.createTextVNode("源码")]),_:1})])])]),_:1})}}}),ee=Vue.createApp(ps);ee.use(Bt);ee.use(ElementPlus);ee.mount("#app"); diff --git a/assets/logo-0865f91b.svg b/assets/logo-0865f91b.svg deleted file mode 100644 index 4bc972b..0000000 --- a/assets/logo-0865f91b.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/index.html b/index.html index 1d1567a..16e6985 100644 --- a/index.html +++ b/index.html @@ -42,7 +42,7 @@ - +