From 57fecfdd0bb0e88b4a0f44d88e9ddcfc3700c93a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 21 Apr 2026 20:24:56 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=9E=20Sync=202026-04-21=2020:24:56?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-passwall/Makefile | 2 +- .../model/cbi/passwall/client/type/ray.lua | 2 +- .../view/passwall/node_config/header.htm | 9 +- luci-app-quickstart/Makefile | 2 +- .../htdocs/luci-static/quickstart/index.js | 4 +- .../htdocs/luci-static/quickstart/style.css | 2 +- luci-app-ssr-plus/Makefile | 2 +- .../model/cbi/shadowsocksr/client-config.lua | 59 ++ .../luasrc/model/cbi/shadowsocksr/servers.lua | 42 + luci-app-ssr-plus/po/templates/ssr-plus.pot | 152 ++- luci-app-ssr-plus/po/zh_Hans/ssr-plus.po | 152 ++- .../usr/share/shadowsocksr/gen_config.lua | 896 +++++++++++------- .../root/usr/share/shadowsocksr/subscribe.lua | 42 +- luci-theme-design/Makefile | 2 +- .../htdocs/luci-static/design/js/style.js | 28 +- .../luci-static/resources/menu-design.js | 52 +- mihomo-alpha/Makefile | 6 +- mihomo-meta/Makefile | 8 +- quickstart/Makefile | 4 +- 19 files changed, 990 insertions(+), 476 deletions(-) diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 8fa03a35..4764f7b3 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=26.4.15 -PKG_RELEASE:=86 +PKG_RELEASE:=87 PKG_PO_VERSION:=$(PKG_VERSION) PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua index cbab0958..be39263d 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua @@ -380,7 +380,7 @@ if api.compare_versions(xray_version, ">=", "26.1.31") then o:depends({ [_n("tls")] = true, [_n("reality")] = false }) o:depends({ [_n("protocol")] = "hysteria2" }) o.description = translate("Once set, connects only when the server’s chain fingerprint matches.") .. - string.format("%s", "[ " .. translate("Fetch Manually") .. " ]") + string.format("%s", "→ " .. translate("Fetch Manually")) o = s:option(Value, _n("tls_CertByName"), translate("TLS Certificate Name (CertName)"), translate("TLS is used to verify the leaf certificate name.")) o:depends({ [_n("tls")] = true, [_n("reality")] = false }) diff --git a/luci-app-passwall/luasrc/view/passwall/node_config/header.htm b/luci-app-passwall/luasrc/view/passwall/node_config/header.htm index 108ad838..1291996d 100644 --- a/luci-app-passwall/luasrc/view/passwall/node_config/header.htm +++ b/luci-app-passwall/luasrc/view/passwall/node_config/header.htm @@ -53,8 +53,15 @@ local api = self.api }); } - function fetchCertSha256() { + function fetchCertSha256(el) { + if (el.getAttribute("data-loading") === "1") return; + el.setAttribute("data-loading", "1"); + el.style.pointerEvents = "none"; + el.style.color = "red"; XHR.get('<%=api.url("fetch_certsha256")%>', { id: node_id }, function(x, res) { + el.setAttribute("data-loading", "0"); + el.style.pointerEvents = ""; + el.style.color = ""; if (!x || x.status !== 200) { alert("<%:Error%>"); return; diff --git a/luci-app-quickstart/Makefile b/luci-app-quickstart/Makefile index 962b4750..c247c897 100644 --- a/luci-app-quickstart/Makefile +++ b/luci-app-quickstart/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart LUCI_DEPENDS:=+quickstart +luci-app-ttyd +luci-i18n-ttyd-zh-cn LUCI_PKGARCH:=all -PKG_VERSION:=0.12.6-r1 +PKG_VERSION:=0.12.7-r1 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/index.js b/luci-app-quickstart/htdocs/luci-static/quickstart/index.js index 3b5f6725..142ec25e 100644 --- a/luci-app-quickstart/htdocs/luci-static/quickstart/index.js +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/index.js @@ -1,3 +1,3 @@ -var go=Object.defineProperty,vo=Object.defineProperties;var bo=Object.getOwnPropertyDescriptors;var xa=Object.getOwnPropertySymbols;var ho=Object.prototype.hasOwnProperty,_o=Object.prototype.propertyIsEnumerable;var We=(o,n,a)=>n in o?go(o,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[n]=a,st=(o,n)=>{for(var a in n||(n={}))ho.call(n,a)&&We(o,a,n[a]);if(xa)for(var a of xa(n))_o.call(n,a)&&We(o,a,n[a]);return o},vt=(o,n)=>vo(o,bo(n));var xo=(o,n)=>()=>(n||o((n={exports:{}}).exports,n),n.exports);var ve=(o,n,a)=>(We(o,typeof n!="symbol"?n+"":n,a),a);var L=(o,n,a)=>new Promise((l,c)=>{var d=g=>{try{k(a.next(g))}catch(p){c(p)}},u=g=>{try{k(a.throw(g))}catch(p){c(p)}},k=g=>g.done?l(g.value):Promise.resolve(g.value).then(d,u);k((a=a.apply(o,n)).next())});import{a as wo,c as ko,d as we,b as I,e as Q,u as e,o as r,f as s,g as t,t as i,n as ht,h as D,i as Y,r as _t,j as lt,k as Yt,w as O,v as Rt,l as Ia,m as Z,p as V,q as E,s as $t,x as Pt,y as pt,F as U,z as tt,A as at,B as jt,C as ct,D as ut,E as ke,G as ee,T as St,H as Nt,I as ft,J as xt,K as dt,L as gt,M as Bt,N as Xe,O as Ma,P as La,Q as Oa,R as ta,S as ea,U as Na,V as aa,W as Pe,X as yo,Y as oa,Z as ye,_ as Fo,$ as Eo,a0 as na,a1 as $o,a2 as Te,a3 as Co,a4 as Ie,a5 as Do,a6 as Bo,a7 as Yo,a8 as Ao,a9 as So,aa as zo,ab as Po,ac as To}from"./vendor.js?v=4c8355cf";var sT=xo(ae=>{const Io=function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))l(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const u of d.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&l(u)}).observe(document,{childList:!0,subtree:!0});function a(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerpolicy&&(d.referrerPolicy=c.referrerpolicy),c.crossorigin==="use-credentials"?d.credentials="include":c.crossorigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(c){if(c.ep)return;c.ep=!0;const d=a(c);fetch(c.href,d)}};Io();const Gt={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},Mo=o=>L(ae,null,function*(){const n=window.vue_lang;new Date().getTime();let a={};try{const d=yield wo({url:window.vue_lang_data,method:"GET"});d.data&&(a=d.data)}catch(d){console.log(d)}const l=ko({defaultLanguage:n,mutedLanguages:["zh-cn"],translations:a,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(l),Gt.language=l;const{$gettext:c}=l;window.$i18n=c;try{Gt.numberFormat=new Intl.NumberFormat(n,{notation:"compact"})}catch(d){console.error("Intl.NumberFormat unsupported lang",n,d)}}),J=()=>{if(Gt.language)return Gt.language;throw new Error("I18N Uninitialized!")},Me=()=>({$gettext:(o,n,a)=>{if(Gt.language)return Gt.language.$gettext(o,n,a);throw new Error("I18N Uninitialized!")},$ngettext:(o,n,a,l,c)=>{if(Gt.language)return Gt.language.$ngettext(o,n,a,l,c);throw new Error("I18N Uninitialized!")}}),De=o=>typeof o=="number"?Gt.numberFormat.format(o):"?",{$gettext:Lo,$ngettext:cT}=Me(),Va=(o,n)=>L(ae,null,function*(){return new Promise((a,l)=>L(ae,null,function*(){try{const c=yield fetch(o,n);if(Math.floor(c.status/100)!=2)throw c.status+" "+c.statusText;const d=st({},c);d.data=yield c.json(),a(d)}catch(c){const d=c;l(Lo("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((d==null?void 0:d.message)||c))}}))});class ia{constructor(n){ve(this,"config",{baseURL:"",headers:{}});ve(this,"useRequest",n=>n);ve(this,"useResponse",n=>n);ve(this,"useError",n=>n);n.baseURL&&(this.config.baseURL=n.baseURL),n.headers&&(this.config.headers=n.headers)}static create(n){return new ia(n)}Do(n,a){return L(this,null,function*(){return new Promise((l,c)=>L(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${d.baseURL||""}${n}`,a.headers==null&&(a.headers={}),d.headers&&(a.headers=st({},d.headers));const k=yield fetch(n,a),g=st({},k);g.data=yield k.json(),l(this.useResponse(g))}catch(d){this.useError(d),c(d)}}))})}TEXT(n,a){return L(this,null,function*(){return new Promise((l,c)=>L(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${d.baseURL||""}${n}`,a.headers==null&&(a.headers={}),d.headers&&(a.headers=st({},d.headers));const k=yield fetch(n,a),g=st({},k);g.data=yield k.text(),l(g)}catch(d){this.useError(d),c(d)}}))})}interceptors(){const n=this;return{requset:{use(a){n.useRequest=a}},response:{use(a,l){n.useResponse=a,l&&(n.useError=l)}}}}}const Ga=ia.create({});Ga.interceptors().requset.use(o=>o);Ga.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:ja,$ngettext:uT}=Me(),Oo="/cgi-bin/luci/istore",No="/cgi-bin/luci/admin";let Ae=!1;const W=(o,n)=>(o.indexOf("//")==-1&&(o=`${Oo}${o}`),Va(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(ja("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Vo=(o,n)=>(o.indexOf("//")==-1&&(o=`${No}${o}`),Va(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(ja("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Go={Statistics:{GET(){return W("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return W("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return W("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return W("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(o){return W("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetInterfaceConfig:{GET(){return W("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(o){return W("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},PortList:{GET(){return W("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},jo={Version:{GET(){return W("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return W("/system/check-update/",{method:"GET"})}},AutoCheckUpdate:{POST(o){return W("/system/auto-check-update/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Reboot:{POST(o){return W("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return W("/system/status/",{method:"GET"})}}},Uo={Disk:{Status:{GET(){return W("/nas/disk/status/",{method:"GET"})}},Erase:{POST(o){return W("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Init:{POST:o=>W("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},InitRest:{POST:o=>W("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Partition:{Format:{POST:o=>W("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Mount:{POST:o=>W("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Service:{Status:{GET(){return W("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(o){return W("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Webdav:{Create:{POST(o){return W("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return W("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return W("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(o){return W("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSandbox:{GET(){return W("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return W("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return W("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return W("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return W("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},qo={Check:{POST(o){return W("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Install:{POST(o){return W("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Ro={Pppoe:{GET(){return W("/guide/pppoe/",{method:"GET"})},POST(o){return W("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DnsConfig:{GET(){return W("/guide/dns-config/",{method:"GET"})},POST(o){return W("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DhcpClient:{POST(o){return W("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},ClientModel:{GET(){return W("/guide/client-mode/",{method:"GET"})},POST(o){return W("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GatewayRouter:{POST(o){return W("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerStatus:{GET(){return W("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return W("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(o){return W("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerSwitch:{POST(o){return W("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DownloadService:{Status:{GET(){return W("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return W("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(o){return W("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},qbitorrentInit:{POST(o){return W("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},transmissionInit:{POST(o){return W("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetLan:{GET(){return W("/guide/lan/",{method:"GET"})}},LanIp:{POST(o){return W("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},SoftSource:{POST(o){return W("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSoftSource:{GET(){return W("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return W("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(o){return W("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetDdns:{GET(){return W("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(o){return W("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DdntoConfig:{GET(){return W("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(o){return W("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Wo={Create:{POST(o){return W("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Delete:{POST(o){return W("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Add:{POST(o){return W("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Remove:{POST(o){return W("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Recover:{POST(o){return W("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Detail:{POST(o){return W("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},List:{GET(){return W("/raid/list/",{method:"GET"})}},CreateList:{GET(){return W("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return W("/raid/autofix/",{method:"GET"})}}},Ho={Log:{GET(){return W("/smart/log/",{method:"GET"})}},List:{GET(){return W("/u/smart/list/",{method:"GET"})}},Config:{GET(){return W("/smart/config/",{method:"GET"})},POST(o){return W("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Test:{POST(o){return W("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Result:{POST(o){return W("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Attribute:{Result:{POST(o){return W("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Extend:{Result:{POST(o){return W("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}}},Jo={List:{GET(){return W("/wireless/list-iface/",{method:"GET"})}},Switch:{POST(o){return W("/wireless/enable-iface/",{body:JSON.stringify(o),method:"POST"})}},Power:{POST(o){return W("/wireless/set-device-power/",{body:JSON.stringify(o),method:"POST"})}},Edit:{POST(o){return W("/wireless/edit-iface/",{body:JSON.stringify(o),method:"POST"})}},Setup:{POST(o){return W("/wireless/setup/",{body:JSON.stringify(o),method:"POST"})}}},Zo={getInstalled:{GET(){return Vo("/store/installed/",{method:"GET"})}},needSetup:{GET(){return W("/guide/need/setup/",{method:"GET"})}},setPassword:{POST(o){return W("/system/setPassword/",{body:JSON.stringify(o),method:"POST"})}},completeGuide:{POST(){return W("/guide/finish/setup/",{method:"POST"})}}},Ko={listDevices:{GET(){return W("/lanctrl/listDevices/",{method:"GET"})}},staticDeviceConfig:{POST(o){return W("/lanctrl/staticDeviceConfig/",{body:JSON.stringify(o),method:"POST"})}},globalConfigs:{GET(){return W("/lanctrl/globalConfigs/",{method:"GET"})}},speedLimitConfig:{POST(o){return W("/lanctrl/speedLimitConfig/",{body:JSON.stringify(o),method:"POST"})}},listStaticDevices:{GET(){return W("/lanctrl/listStaticDevices/",{method:"GET"})}},listSpeedLimitedDevices:{GET(){return W("/lanctrl/listSpeedLimitedDevices/",{method:"GET"})}},dhcpGatewayConfig:{POST(o){return W("/lanctrl/dhcpGatewayConfig/",{body:JSON.stringify(o),method:"POST"})}},dhcpTagsConfig:{POST(o){return W("/lanctrl/dhcpTagsConfig/",{body:JSON.stringify(o),method:"POST"})}},enableSpeedLimit:{POST(o){return W("/lanctrl/enableSpeedLimit/",{body:JSON.stringify(o),method:"POST"})}},enableFloatGateway:{POST(o){return W("/lanctrl/enableFloatGateway/",{body:JSON.stringify(o),method:"POST"})}},speedsForDevices:{GET(){return W("/lanctrl/speedsForDevices/",{method:"GET"})}},speedsForOneDevice:{POST(o){return W("/lanctrl/speedsForOneDevice/",{body:JSON.stringify(o),method:"POST"})}}},Qo={GET(){return W("/system/module-settings/",{method:"GET"})},POST(o){return W("/system/module-settings/",{body:JSON.stringify(o),method:"POST"})}};var Xo=Object.freeze(Object.defineProperty({__proto__:null,Network:Go,System:jo,Nas:Uo,App:qo,Guide:Ro,Raid:Wo,Smart:Ho,Quickwifi:Jo,GuidePage:Zo,DeviceMangement:Ko,ModuleSettings:Qo},Symbol.toStringTag,{value:"Module"})),G=st({},Xo);const ra=we("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});we("guide",{});const tn=we("nas",{state:()=>({webdav:{}})}),Fe=we("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){G.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:n}=o==null?void 0:o.data;n&&(this.deviceList=n)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Le=we("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){G.System.Version.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,G.System.CheckUpdate.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let wa=!1;const en=()=>{if(wa)return;wa=!0;let o=!0,n=!0;const a=Fe(),l=Le(),c=function(){return(!o&&document.hidden?Promise.resolve():G.System.Status.GET().then(u=>{u!=null&&u.data.result&&l.updateSystemStatus(u.data.result)})).finally(()=>{setTimeout(c,5e3),o&&(setInterval(()=>{l.incrTime()},1e3),o=!1)})},d=function(){return(!n&&document.hidden?Promise.resolve():G.Network.Status.GET().then(u=>{if(u!=null&&u.data){const{result:k}=u==null?void 0:u.data;k&&a.updateNetworkStatus(k)}})).finally(()=>{setTimeout(d,5e3),n&&(setInterval(()=>{a.incrTime()},1e3),n=!1)})};d(),a.requestDeviceList(),setTimeout(()=>{l.requestVersion(),c()},1100)};var N=(o,n)=>{const a=o.__vccOpts||o;for(const[l,c]of n)a[l]=c;return a};const an=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=ra(),c=Q(()=>l.portitemStyle.portitem),d=Q(()=>l.portitemStyle.show),u=Q(()=>({bottom:`calc(100% - ${l.portitemStyle.top}px)`,left:`${l.portitemStyle.left}px`})),k=m=>{switch(m){case"full":return n("\u5168\u53CC\u5DE5");case"half":return n("\u534A\u53CC\u5DE5")}},g=m=>{l.portitemStyle.show=!0},p=m=>{l.portitemStyle.show=!1};return(m,v)=>e(d)?(r(),s("div",{key:0,class:"disk-item-tooltip",style:ht(e(u)),onMouseenter:g,onMouseleave:p},[t("div",null,i(k(e(c).duplex)),1),t("div",null,i(e(n)("\u540D\u79F0\uFF1A"))+i(e(c).name||"--"),1),t("div",null,i(e(n)("MAC\uFF1A"))+i(e(c).macAddress||"--"),1),t("div",null,i(e(n)("\u63A5\u6536\uFF1A"))+i(e(c).rx_packets||"--"),1),t("div",null,i(e(n)("\u53D1\u9001\uFF1A"))+i(e(c).tx_packets||"--"),1)],36)):D("",!0)}});var on=N(an,[["__scopeId","data-v-41cbce66"]]);const nn={id:"main"},rn=I({setup(o){return(n,a)=>{const l=_t("router-view");return r(),s("div",nn,[Y(l),Y(on)])}}});var sn=N(rn,[["__scopeId","data-v-2d97dedc"]]);const dn={},ln={t:"1640593669834",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"54870",width:"128",height:"128"},cn=t("path",{d:"M148.7872 57.4464h177.152c64.9216 0 118.0672 53.1456 118.0672 118.0672v295.2192H148.7872C83.8656 470.7328 30.72 417.5872 30.72 352.5632v-177.152C30.72 110.592 83.8656 57.4464 148.7872 57.4464z m0 531.3536h295.2192v295.2192c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152C83.8656 1001.984 30.72 948.9408 30.72 883.9168v-177.152C30.72 641.9456 83.8656 588.8 148.7872 588.8z m0 0M768.7168 559.2064L562.0736 346.7264c-23.6544-17.7152-35.4304-53.1456-35.4304-82.6368s11.776-59.0848 35.4304-82.6368L686.08 57.4464C733.2864 10.24 810.0864 10.24 851.3536 57.4464l124.0064 124.0064c23.6544 23.6544 35.4304 53.1456 35.4304 82.6368s-11.776 59.0848-35.4304 82.6368L768.7168 559.2064z m0-478.208c-17.7152 0-29.4912 5.9392-41.3696 17.7152l-123.904 124.0064c-11.776 11.776-17.7152 23.6544-17.7152 41.3696s5.9392 29.4912 17.7152 41.3696l165.2736 165.2736 165.2736-165.2736c11.776-11.776 17.7152-23.6544 17.7152-41.3696s-5.9392-29.4912-17.7152-41.3696L809.984 98.7136c-11.776-11.776-23.552-17.7152-41.2672-17.7152z m0 0","p-id":"54871"},null,-1),un=t("path",{d:"M562.0736 588.8h295.2192c64.9216 0 118.0672 53.1456 118.0672 118.0672v177.152c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152c-64.9216 0-118.0672-53.1456-118.0672-118.0672V588.8z m0 0","p-id":"54872"},null,-1),pn=[cn,un];function fn(o,n){return r(),s("svg",ln,pn)}var mn=N(dn,[["render",fn]]);const gn={},vn={t:"1640598743438",class:"icon",viewBox:"0 0 1036 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"65341",width:"128",height:"128"},bn=t("path",{d:"M984.177778 432.355556l-45.511111 0c-22.755556 0-45.511111-17.066667-51.2-39.822222l-28.444444-68.266667C847.644444 312.888889 853.333333 284.444444 870.4 267.377778l34.133333-34.133333c17.066667-17.066667 17.066667-39.822222 0-56.888889l-56.888889-56.888889c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-34.133333 34.133333C739.555556 170.666667 711.111111 176.355556 694.044444 164.977778L625.777778 136.533333c-22.755556-5.688889-39.822222-28.444444-39.822222-51.2L585.955556 39.822222c0-22.755556-17.066667-39.822222-39.822222-39.822222L472.177778 0C449.422222 0 432.355556 17.066667 432.355556 39.822222l0 45.511111c0 22.755556-17.066667 45.511111-39.822222 51.2L329.955556 164.977778C312.888889 176.355556 284.444444 170.666667 267.377778 153.6L233.244444 119.466667c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-56.888889 56.888889c-17.066667 17.066667-17.066667 39.822222 0 56.888889l34.133333 34.133333C170.666667 284.444444 176.355556 312.888889 164.977778 329.955556L136.533333 398.222222C130.844444 415.288889 108.088889 432.355556 85.333333 432.355556l-45.511111 0C17.066667 432.355556 0 449.422222 0 472.177778l0 79.644444c0 22.755556 17.066667 39.822222 39.822222 39.822222l45.511111 0c22.755556 0 45.511111 17.066667 51.2 39.822222l28.444444 68.266667C176.355556 711.111111 170.666667 739.555556 153.6 756.622222l-34.133333 34.133333c-17.066667 17.066667-17.066667 39.822222 0 56.888889l56.888889 56.888889c17.066667 17.066667 39.822222 17.066667 56.888889 0l34.133333-34.133333C284.444444 853.333333 312.888889 847.644444 329.955556 859.022222L398.222222 887.466667c22.755556 5.688889 39.822222 28.444444 39.822222 51.2l0 45.511111c0 22.755556 17.066667 39.822222 39.822222 39.822222l79.644444 0c22.755556 0 39.822222-17.066667 39.822222-39.822222l0-45.511111c0-22.755556 17.066667-45.511111 39.822222-51.2l68.266667-28.444444c17.066667-11.377778 45.511111-5.688889 62.577778 11.377778l34.133333 34.133333c17.066667 17.066667 39.822222 17.066667 56.888889 0l56.888889-56.888889c17.066667-17.066667 17.066667-39.822222 0-56.888889l-34.133333-34.133333c-17.066667-17.066667-17.066667-45.511111-11.377778-62.577778l28.444444-68.266667c5.688889-22.755556 28.444444-39.822222 51.2-39.822222l45.511111 0c22.755556 0 39.822222-17.066667 39.822222-39.822222L1035.377778 472.177778C1024 449.422222 1006.933333 432.355556 984.177778 432.355556L984.177778 432.355556zM711.111111 512c0 108.088889-91.022222 199.111111-199.111111 199.111111-108.088889 0-199.111111-85.333333-199.111111-199.111111 0-108.088889 85.333333-199.111111 199.111111-199.111111C620.088889 312.888889 711.111111 403.911111 711.111111 512L711.111111 512zM711.111111 512","p-id":"65342"},null,-1),hn=[bn];function _n(o,n){return r(),s("svg",vn,hn)}var xn=N(gn,[["render",_n]]);const wn={},kn={t:"1640599890701",class:"icon",viewBox:"0 0 1565 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"76947",width:"128",height:"128"},yn=t("path",{d:"M1206.477959 299.331595c-27.357038 0-53.867311 3.354494-79.465683 9.151581C1078.518669 130.792698 916.428217 0 723.365689 0 492.068443 0 304.575027 187.493416 304.575027 418.790662c0 16.055976 1.074741 31.786273 2.865975 47.386299-9.184149-0.911901-18.400865-1.40042-27.812989-1.40042C125.191018 464.743973 0 589.934991 0 744.371987c0 154.469563 125.191018 279.628013 279.595446 279.628013 59.990077 0 221.233764 0 394.527575 0l0-302.295274L496.986197 721.704726l285.457668-339.031868 285.457668 339.031868-177.136823 0 0 302.295274c139.748871 0 262.204185 0 315.71325 0 197.947713 0 358.40977-168.34349 358.40977-366.291203S1404.425673 299.331595 1206.477959 299.331595z","p-id":"76948"},null,-1),Fn=[yn];function En(o,n){return r(),s("svg",kn,Fn)}var $n=N(wn,[["render",En]]);const Cn={},Dn={t:"1640599792937",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"68605",width:"128",height:"128"},Bn=t("path",{d:"M512 825.6c-211.2 0-377.6-57.6-377.6-128l0 0L134.4 896l0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0 0-204.8 0 0C889.6 768 723.2 825.6 512 825.6L512 825.6z","p-id":"68606"},null,-1),Yn=t("path",{d:"M512 544c-211.2 0-377.6-57.6-377.6-128l0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 416l0 0C889.6 486.4 723.2 544 512 544L512 544z","p-id":"68607"},null,-1),An=t("path",{d:"M889.6 128 889.6 128c0-70.4-166.4-128-377.6-128C300.8 0 134.4 57.6 134.4 128l0 0 0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 128 889.6 128 889.6 128zM512 217.6c-153.6 0-281.6-44.8-281.6-96 0-51.2 128-96 281.6-96 153.6 0 281.6 44.8 281.6 96C793.6 179.2 665.6 217.6 512 217.6L512 217.6z","p-id":"68608"},null,-1),Sn=[Bn,Yn,An];function zn(o,n){return r(),s("svg",Dn,Sn)}var Pn=N(Cn,[["render",zn]]);const Tn={},In={t:"1640575557247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4211",width:"128",height:"128"},Mn=t("path",{d:"M560 800l-10.464-416h-75.072L464 800h96z m-14.144-493.984c9.44-9.312 14.144-20.672 14.144-34.016 0-13.6-4.704-24.992-14.144-34.208A46.784 46.784 0 0 0 512 224c-13.12 0-24.448 4.608-33.856 13.792A45.856 45.856 0 0 0 464 272c0 13.344 4.704 24.704 14.144 34.016 9.408 9.312 20.704 13.984 33.856 13.984 13.12 0 24.448-4.672 33.856-13.984zM512 32C246.912 32 32 246.912 32 512c0 265.088 214.912 480 480 480 265.088 0 480-214.912 480-480 0-265.088-214.912-480-480-480z m0 64c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z","p-id":"4212"},null,-1),Ln=[Mn];function On(o,n){return r(),s("svg",In,Ln)}var Nn=N(Tn,[["render",On]]);const Vn={},Gn={t:"1640681742480",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"80687",width:"128",height:"128"},jn=t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"80688"},null,-1),Un=t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"80689"},null,-1),qn=t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"80690"},null,-1),Rn=t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"80691"},null,-1),Wn=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Hn=t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"80693"},null,-1),Jn=t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"80694"},null,-1),Zn=t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"80695"},null,-1),Kn=t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"80696"},null,-1),Qn=t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"80697"},null,-1),Xn=t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80698"},null,-1),ti=t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80699"},null,-1),ei=t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80700"},null,-1),ai=t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80701"},null,-1),oi=t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80702"},null,-1),ni=t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"80703"},null,-1),ii=t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"80704"},null,-1),ri=t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"80705"},null,-1),si=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),di=[jn,Un,qn,Rn,Wn,Hn,Jn,Zn,Kn,Qn,Xn,ti,ei,ai,oi,ni,ii,ri,si];function li(o,n){return r(),s("svg",Gn,di)}var ci=N(Vn,[["render",li]]);const ui={},pi={t:"1640775712185",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2996",width:"128",height:"128"},fi=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),mi=[fi];function gi(o,n){return r(),s("svg",pi,mi)}var vi=N(ui,[["render",gi]]);const bi={class:"progress"},hi=I({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const n=o,a=Q(()=>n.value>=80?"#e45e5e":n.value>=70?"#ff9800":n.value>=60?"#297ff3":n.value>0?"#53c31b":"");return(l,c)=>(r(),s("div",bi,[t("div",{class:lt(["progress-value",`${o.value>50}`]),style:ht({width:`${o.value}%`,backgroundColor:e(a)})},[t("span",null,i(o.text),1)],6),Yt(l.$slots,"default",{},void 0,!0)]))}});var Ua=N(hi,[["__scopeId","data-v-3ee635ef"]]);const _i={},xi={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},wi=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),ki=[wi];function yi(o,n){return r(),s("svg",xi,ki)}var Fi=N(_i,[["render",yi]]);const Ei={},$i={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},Ci=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),Di=[Ci];function Bi(o,n){return r(),s("svg",$i,Di)}var Yi=N(Ei,[["render",Bi]]);const Ai={class:"checkbox_switch"},Si={class:"checkbox_switch_on"},zi={class:"checkbox_switch_off"},Pi=I({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,l=Q({get:()=>a.modelValue.valueOf(),set:c=>n("update:modelValue",c)});return(c,d)=>(r(),s("label",Ai,[O(t("input",{type:"checkbox","onUpdate:modelValue":d[0]||(d[0]=u=>Ia(l)?l.value=u:null)},null,512),[[Rt,e(l)]]),t("span",Si,[Y(Fi)]),t("span",zi,[Y(Yi)]),Yt(c.$slots,"default",{},void 0,!0)]))}});var qa=N(Pi,[["__scopeId","data-v-54af3568"]]);const Ti={},Ii={t:"1641369474206",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7685",width:"128",height:"128"},Mi=t("path",{d:"M757.76 637.44l-218.88 245.76c-14.72 16.64-40.32 16.64-54.4 0L265.6 637.44C244.48 613.76 261.12 576 293.12 576l437.76 0C762.24 576 779.52 613.76 757.76 637.44z","p-id":"7686"},null,-1),Li=[Mi];function Oi(o,n){return r(),s("svg",Ii,Li)}var Ni=N(Ti,[["render",Oi]]);const Vi={},Gi={t:"1641369492518",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7831",width:"128",height:"128"},ji=t("path",{d:"M758.4 385.92 539.52 140.16c-14.72-16.64-40.32-16.64-54.4 0L266.24 385.92C244.48 409.6 261.76 448 293.12 448l437.76 0C762.88 448 779.52 409.6 758.4 385.92z","p-id":"7832"},null,-1),Ui=[ji];function qi(o,n){return r(),s("svg",Gi,Ui)}var Ri=N(Vi,[["render",qi]]);const Wi={};function Hi(o,n){return r(),s("article",null,[Yt(o.$slots,"default",{},void 0,!0)])}var Ji=N(Wi,[["render",Hi],["__scopeId","data-v-995510fc"]]);const Zi={class:"cover"},Ki={class:"thumbnail"},Qi=I({emits:["click"],setup(o,{emit:n}){const a=()=>{n("click")};return(l,c)=>(r(),Z(Ji,null,{default:V(()=>[t("a",{onClick:a},[t("div",Zi,[t("div",Ki,[Yt(l.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Xi=N(Qi,[["__scopeId","data-v-782f97c0"]]);const tr={class:"select-editable"},er={selected:"",value:""},ar=["value"],or={value:"useInput"},nr=["placeholder"],ir=I({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:c}=J(),d=E(""),u=E(""),k=Q({get:()=>a.modelValue.valueOf(),set:v=>n("update:modelValue",v)}),g=v=>{v===d.value||d.value==="useInput"&&v===u.value||(v===""||a.options.some(b=>b.key===v)?d.value=v:(u.value=v,d.value="useInput"))};$t(()=>a.modelValue,v=>{g(v)}),Pt(()=>{const v=k.value;g(v)});const p=v=>{d.value==="useInput"?k.value=u.value:k.value=d.value},m=v=>{k.value=u.value};return(v,b)=>(r(),s("label",null,[t("div",tr,[O(t("select",{"onUpdate:modelValue":b[0]||(b[0]=y=>d.value=y),autocomplete:"off",onChange:p},[t("option",er,i(e(l)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(r(!0),s(U,null,tt(o.options,(y,f)=>(r(),s("option",{value:y.key,key:f},i(y.value||y.key),9,ar))),128)),t("option",or,i(e(l)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[pt,d.value,void 0,{trim:!0}]]),d.value=="useInput"?O((r(),s("input",{key:0,type:"text","onUpdate:modelValue":b[1]||(b[1]=y=>u.value=y),required:"",placeholder:e(l)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:m},null,40,nr)),[[at,u.value,void 0,{trim:!0}]]):D("",!0)])]))}});var Zt=N(ir,[["__scopeId","data-v-c446588c"]]);const rr={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},sr=I({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const n=a=>{if(a==null)return;if(typeof a=="number")return a+"px";const l=a.toString();return parseInt(l)+""==l?l+"px":l};return(a,l)=>(r(),s("div",{class:"quick-loading",style:ht({width:n(o.size),height:n(o.size)})},[(r(),s("svg",rr,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:ht({fill:o.color})},null,4)]))],4))}});var dr=N(sr,[["__scopeId","data-v-47c6049a"]]);const lr={},cr={t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},ur=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),pr=[ur];function fr(o,n){return r(),s("svg",cr,pr)}var mr=N(lr,[["render",fr]]);const gr={},vr={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},br=jt('',1),hr=[br];function _r(o,n){return r(),s("svg",vr,hr)}var xr=N(gr,[["render",_r]]);const wr=o=>(ct("data-v-0cc5bf50"),o=o(),ut(),o),kr=["href","title"],yr=wr(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),Fr=[yr],Er=I({props:{type:null},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>{switch(n.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(d,u)=>(r(),s("a",{href:e(c),target:"_blank",title:e(a)("\u8DF3\u8F6C\u6559\u7A0B")},Fr,8,kr))}});var $r=N(Er,[["__scopeId","data-v-0cc5bf50"]]),Ra={install:o=>{o.component("icon-loading",dr),o.component("icon-success",mr),o.component("icon-error",xr),o.component("GlHelp",$r)}};const Cr={class:"reusable-card",role:"group"},Dr={class:"card-header"},Br={class:"left"},Yr={class:"title"},Ar={class:"settings-wrapper"},Sr={key:0,class:"settings-btn"},zr={class:"dropdown-menu"},Pr={class:"card-body"},Tr={props:{title:{type:String,required:!0},showSettings:{type:Boolean,default:!0},isSettingsMenuOpen:{type:Boolean,default:!1}},emits:["settings","update:isSettingsMenuOpen"],setup(o,{emit:n}){const a=o;J(),Pt(()=>document.addEventListener("click",c)),ke(()=>document.removeEventListener("click",c));const l=Q({get:()=>a.isSettingsMenuOpen,set:d=>n("update:isSettingsMenuOpen",d)}),c=d=>{d.target.closest(".settings-wrapper")||(l.value=!1)};return(d,u)=>(r(),s("div",Cr,[t("div",Dr,[t("div",Br,[Yt(d.$slots,"icon",{},void 0,!0),t("div",Yr,i(o.title),1)]),t("div",Ar,[o.showSettings?(r(),s("div",Sr,[Yt(d.$slots,"settings",{},void 0,!0)])):D("",!0),Y(St,{name:"fade"},{default:V(()=>[O(t("div",zr,[Yt(d.$slots,"settings-menu",{},void 0,!0)],512),[[ee,e(l)]])]),_:3})])]),t("div",Pr,[Yt(d.$slots,"default",{},void 0,!0)])]))}};var Wt=N(Tr,[["__scopeId","data-v-7af4a3d5"]]);const Ir={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Mr=["fill"],Lr=["fill"],Or=["fill"],Kt=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Ir,[t("path",{d:"M665.6 911.36H358.4c-76.8 0-117.76 0-153.6-20.48-30.72-15.36-56.32-40.96-71.68-71.68-20.48-35.84-20.48-76.8-20.48-153.6v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 61.44 0 97.28 10.24 117.76 10.24 15.36 20.48 30.72 40.96 40.96 20.48 10.24 56.32 10.24 117.76 10.24h307.2c61.44 0 97.28 0 117.76-10.24 15.36-10.24 30.72-20.48 40.96-40.96 10.24-20.48 10.24-56.32 10.24-117.76v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 76.8 0 117.76-20.48 153.6-15.36 30.72-40.96 56.32-71.68 71.68-35.84 20.48-76.8 20.48-153.6 20.48z","p-id":"4906",fill:o.color},null,8,Mr),t("path",{d:"M512 645.12c-10.24 0-15.36 0-20.48-10.24l-204.8-204.8c-10.24-10.24-10.24-30.72 0-46.08s30.72-10.24 46.08 0l184.32 184.32 184.32-184.32c10.24-10.24 30.72-10.24 46.08 0 10.24 10.24 10.24 30.72 0 46.08l-204.8 204.8c-5.12 5.12-15.36 10.24-20.48 10.24z","p-id":"4907",fill:o.color},null,8,Lr),t("path",{d:"M512 645.12c-15.36 0-30.72-15.36-30.72-30.72V153.6c0-15.36 15.36-30.72 30.72-30.72s30.72 15.36 30.72 30.72v460.8c0 15.36-15.36 30.72-30.72 30.72z","p-id":"4908",fill:o.color},null,8,Or)]))}}),Nr={},Vr={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},Gr=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),jr=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),Ur=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),qr=[Gr,jr,Ur];function Rr(o,n){return r(),s("svg",Vr,qr)}var Ee=N(Nr,[["render",Rr]]);const Wr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none",width:"128",height:"128"},Hr=["fill"],Jr=I({props:{color:{type:String,default:"#000000"}},setup(o){return(n,a)=>(r(),s("svg",Wr,[t("path",{d:"M511.232 438.8352L112.9984 40.6016A51.2 51.2 0 0 0 40.6016 112.9984L438.784 511.232 40.6016 909.4656a51.2 51.2 0 1 0 72.3968 72.448l398.2336-398.2848 398.2336 398.2848a51.2 51.2 0 1 0 72.448-72.448l-398.2848-398.2336 398.2848-398.2336A51.2 51.2 0 0 0 909.4656 40.6016L511.232 438.784z","p-id":"1217",fill:o.color},null,8,Hr)]))}}),Zr=o=>(ct("data-v-a96d68d4"),o=o(),ut(),o),Kr={id:"actioner"},Qr={key:0,class:"action-container"},Xr={class:"action-container_header"},ts=Zr(()=>t("div",null,null,-1)),es={class:"title"},as=["title"],os={class:"action-container_body"},ns=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!1);Pt(()=>{c.value=!0,document.body.setAttribute("lock-scroll","true")}),Nt(()=>{document.body.removeAttribute("lock-scroll")});const d=()=>{n.Close&&(c.value=!1,setTimeout(()=>{n.Close&&n.Close()},300))};return(u,k)=>(r(),s("div",Kr,[t("div",{class:"bg",onClick:d}),o.type!=null?Yt(u.$slots,"default",{key:0},void 0,!0):(r(),s(U,{key:1},[c.value?(r(),s("div",Qr,[t("div",Xr,[ts,t("div",es,i(o.title),1),t("button",{class:"close",title:e(a)("\u5173\u95ED"),onClick:d},[Y(Jr)],8,as)]),t("div",os,[Yt(u.$slots,"default",{},void 0,!0)])])):D("",!0)],64))]))}});var is=N(ns,[["__scopeId","data-v-a96d68d4"]]);const wt=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(n,a)=>(r(),Z(is,{Close:o.Close,type:o.type,title:o.title},{default:V(()=>[Yt(n.$slots,"default")]),_:3},8,["Close","type","title"]))}}),sa=o=>(ct("data-v-0bd83418"),o=o(),ut(),o),rs={class:"disk-item"},ss=sa(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563338465",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2216",width:"128",height:"128"},[t("path",{d:"M998.4 711.68l-119.467-512c-6.826-42.667-42.666-75.093-87.04-76.8H232.107c-44.374 1.707-80.214 35.84-87.04 78.507L25.6 711.68c-5.12 13.653-6.827 29.013-6.827 42.667 0 76.8 63.147 139.946 141.654 139.946H865.28c78.507 0 141.653-63.146 141.653-139.946 0-13.654-3.413-29.014-8.533-42.667zM394.24 366.933c1.707-51.2 56.32-92.16 124.587-92.16S640 315.733 640 365.227c44.373-1.707 81.92 23.893 83.627 58.026s-34.134 63.147-78.507 64.854h-6.827l-245.76 1.706c-44.373 0-80.213-27.306-80.213-59.733 0-35.84 37.547-63.147 81.92-63.147z m471.04 459.094H160.427c-39.254 0-69.974-30.72-69.974-69.974s32.427-69.973 69.974-69.973H865.28c39.253 0 69.973 30.72 69.973 69.973 1.707 37.547-30.72 69.974-69.973 69.974z m-35.84-92.16c-11.947 0-22.187 8.533-23.893 20.48 0 11.946 8.533 22.186 20.48 23.893h3.413c11.947 0 22.187-10.24 22.187-22.187 0-13.653-8.534-22.186-22.187-22.186z m-46.08 22.186c0-25.6 20.48-46.08 46.08-46.08s46.08 20.48 46.08 46.08-20.48 46.08-46.08 46.08-46.08-20.48-46.08-46.08z","p-id":"2217"})])],-1)),ds={class:"disk-item_f"},ls={class:"disk-item_venderModel"},cs={class:"disk-item_used"},us=sa(()=>t("div",{class:"auto"},null,-1)),ps={class:"disk-item-r"},fs={class:"disk-children"},ms=["onClick"],gs=sa(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563581459",class:"icon",viewBox:"0 0 1228 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7132",width:"128",height:"128"},[t("path",{d:"M525.2096 145.3568c1.9968-45.568-35.6864-99.1232-57.4976-99.1232H57.4976C15.872 79.9232 17.8176 145.408 17.8176 145.408h507.392z",fill:"#ECC049","p-id":"7133"}),t("path",{d:"M21.8112 143.36L19.8144 825.1392c0 75.3152 75.3152 152.576 150.6304 152.576h887.9104c75.264 0 150.6304-75.264 150.6304-152.576V297.984c0-75.264-75.3152-152.576-150.6304-152.576h-434.0224L21.8112 143.36z",fill:"#FFD658","p-id":"7134"})])],-1)),vs={key:0},bs={key:1},hs=I({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var u,k;const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!1);n.currDisk!=null&&((u=n.currDisk)==null?void 0:u.venderModel)==((k=n.disk)==null?void 0:k.venderModel)&&(c.value=!0);const d=g=>{c.value=!c.value,n.onDisk(g,null)};return(g,p)=>{var m;return r(),s("ul",rs,[t("li",{class:lt(["disk-info",{on:o.disk.venderModel==((m=o.currDisk)==null?void 0:m.venderModel),nopoint:o.disk.childrens==null||o.disk.childrens.length==0}]),onClick:p[0]||(p[0]=v=>d(o.disk))},[ss,t("div",ds,[t("div",ls,i(o.disk.venderModel),1),t("div",cs,i(o.disk.used)+"/"+i(o.disk.size),1)]),us,t("div",ps,i(o.disk.path),1)],2),O(t("div",fs,[(r(!0),s(U,null,tt(o.disk.childrens,v=>{var b,y;return r(),s("li",{class:lt(["disk-children_item",{on:v.uuid==((b=o.currMountPoint)==null?void 0:b.uuid)&&v.path==((y=o.currMountPoint)==null?void 0:y.path)}]),onClick:f=>o.onDisk(o.disk,v)},[gs,v.mountPoint?(r(),s("span",vs," \u3010"+i(v.filesystem)+"\u3011 "+i(v.mountPoint)+" \uFF08"+i(v.used)+"/"+i(v.total)+"\uFF09 ["+i(v.uuid)+"] ",1)):(r(),s("span",bs," \u3010"+i(v.filesystem)+"\u3011 "+i(v.mountPoint||v.path||e(a)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+i(v.uuid)+"] ",1))],10,ms)}),256))],512),[[ee,c.value]])])}}});var ka=N(hs,[["__scopeId","data-v-0bd83418"]]);let Be=0;const _s={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,Be=window.setTimeout(o,1e3))};Be=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,Be!=0&&clearTimeout(Be),this.Close())}}},Oe=o=>(ct("data-v-48bf84c6"),o=o(),ut(),o),xs={key:0,class:"loading icon"},ws=Oe(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),ks=[ws],ys={key:1,class:"success icon"},Fs=Oe(()=>t("svg",{t:"1632451272305",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M1001.305115 275.874141 431.461709 845.718571c-28.221762 28.221762-73.977875 28.221762-102.20066 0L22.661116 539.116591c-28.222785-28.221762-28.222785-73.979922 0-102.20066 28.221762-28.221762 73.977875-28.221762 102.20066 0l255.500115 255.502162 518.743588-518.743588c28.221762-28.221762 73.977875-28.221762 102.199637 0C1029.5279 201.89422 1029.5279 247.65238 1001.305115 275.874141z","p-id":"2205"})],-1)),Es=[Fs],$s={key:2,class:"error icon"},Cs=Oe(()=>t("svg",{t:"1632451325789",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M823.04 840.32 524.16 540.16l296.32-294.4c12.8-12.8 12.8-33.28 0-45.44-12.8-12.8-33.28-12.8-46.08 0L478.08 494.08 184.96 200.32c-12.8-12.8-33.28-12.8-45.44 0s-12.8 33.28 0 45.44l292.48 293.76-302.72 300.8c-12.8 12.8-12.8 33.28 0 45.44 12.8 12.8 33.28 12.8 46.08 0l302.72-300.16 299.52 300.16c12.8 12.8 33.28 12.8 45.44 0C835.2 873.6 835.2 853.12 823.04 840.32z","p-id":"2205"})],-1)),Ds=[Cs],Bs={key:3,class:"warning icon"},Ys=Oe(()=>t("svg",{t:"1632451401172",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1638",width:"128",height:"128"},[t("path",{d:"M512 1021.45211835a60.32985613 60.32985613 0 1 1 60.32985613-60.32985611 60.32985613 60.32985613 0 0 1-60.32985613 60.32985611z m86.85823451-924.97400238L572.32985613 719.80283775a60.32985613 60.32985613 0 0 1-120.65971226 0l-26.52837838-623.32472178c-0.16758294-2.22885301-0.28489098-4.49122263-0.284891-6.78710881a87.14312551 87.14312551 0 0 1 174.28625102 0c0 2.2958862-0.11730806 4.5582558-0.284891 6.78710881z","p-id":"1639"})],-1)),As=[Ys];function Ss(o,n,a,l,c,d){return r(),Z(St,{name:"el-fade-in-linear"},{default:V(()=>[c.show?(r(),s("div",{key:0,class:"toast",onClick:n[1]||(n[1]=u=>d.Stop())},[a.type=="loading"?(r(),s("div",xs,ks)):a.type=="success"?(r(),s("div",ys,Es)):a.type=="error"?(r(),s("div",$s,Ds)):a.type=="warning"?(r(),s("div",Bs,As)):D("",!0),t("div",{class:"message",onClick:n[0]||(n[0]=ft(()=>{},["stop"]))},i(d.Message),1)])):D("",!0)]),_:1})}var zs=N(_s,[["render",Ss],["__scopeId","data-v-48bf84c6"]]);const _e=new Map,oe=o=>{const n=xt(zs,vt(st({},o),{Close:()=>{l()}})),a=document.createElement("div");document.body.append(a),n.mount(a);const l=()=>{a.remove(),_e.get(n._uid)&&_e.delete(n._uid)};return o.type=="loading"&&_e.set(n._uid,{Close:l}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{l()},o==null?void 0:o.duration):setTimeout(()=>{l()},3e3)),{Close:l}},$=o=>oe(o);$.Loading=(o,n)=>oe({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:n||0});$.Success=o=>oe({type:"success",message:o});$.Error=o=>oe({type:"error",message:o,duration:0});$.Warning=o=>oe({type:"warning",message:o});$.Message=o=>oe({message:o});$.Clear=()=>{_e.forEach((o,n)=>{o.Close(),_e.delete(n)})};const da=o=>(ct("data-v-3dae3be2"),o=o(),ut(),o),Ps=["onSubmit"],Ts={class:"action-header"},Is={class:"action-header_title"},Ms={class:"action-body"},Ls={class:"disk-info"},Os=da(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),Ns={key:0,class:"disk-info_mount-name"},Vs={key:1,class:"disk-info_mount-name"},Gs={key:0,class:"label-item"},js={class:"label-item_key"},Us={class:"label-item_path"},qs={class:"label-item"},Rs={class:"label-item_key"},Ws={class:"label-item_value"},Hs=["disabled"],Js={key:0,value:""},Zs={value:"format"},Ks={key:1,value:"default"},Qs={class:"label-item_value"},Xs={key:0,class:"msg"},td={key:1,class:"msg"},ed={class:"action-footer"},ad=da(()=>t("div",{class:"auto"},null,-1)),od=["disabled"],nd=["disabled"],id={key:1,class:"action result"},rd={class:"action-body"},sd=da(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),dd={class:"action-body_msg"},ld={key:0,class:"action-body_info"},cd={key:1,class:"action-body_info"},ud={class:"btns"},pd=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.Close&&n.Close()},d=x=>{x.preventDefault(),n.Cancel&&n.Cancel(),c()},u=x=>{n.Next&&n.Next(x),c()},k=E(!1),g=E(0),p=x=>{g.value=x},m=E(n.action=="nas"?"":"format"),v=E(),b=E(),y=()=>{switch(m.value){case"format":F();return;case"default":f();return;default:$.Warning(a("\u8BF7\u9009\u62E9\u9009\u9879"));return}},f=()=>{let x="";const C=n.mount;if(C!=null&&C.mountPoint!=null&&(x=C.mountPoint),x!=""){u(x);return}$.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},F=()=>{const x=n.disk,C=n.mount;if(C){const S=C.mountPoint||C.path;if(!confirm(a("\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A %{partname} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{partname:S||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:S||""})))return;h(C);return}if(x){if(!confirm(a("\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 %{model} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{model:x.venderModel||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;w(x);return}$.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},w=x=>L(this,null,function*(){if(x.name==null||x.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(x.path==null||x.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}k.value=!0;const C=$.Loading(a("\u521D\u59CB\u5316\u4E2D..."));try{const S=yield G.Nas.Disk.Init.POST({name:x.name,path:x.path});if(S!=null&&S.data){const{result:A,error:z}=S==null?void 0:S.data;z&&$.Warning(z),A&&(A.errorInfo?$.Warning(A.errorInfo):($.Success(a("\u521D\u59CB\u5316\u6210\u529F")),A.childrens&&A.childrens.length>0&&(b.value=A.childrens[0]),v.value=A,p(1)))}}catch(S){$.Error(S)}C.Close(),k.value=!1}),h=x=>L(this,null,function*(){if(x.path==null||x.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}k.value=!0;const C=$.Loading(a("\u683C\u5F0F\u5316\u4E2D..."));try{const S=yield G.Nas.Disk.Partition.Format.POST({path:x.path,uuid:x.uuid,mountPoint:x.mountPoint});if(S!=null&&S.data){const{result:A,error:z}=S==null?void 0:S.data;z&&$.Warning(z),A&&($.Success(a("\u683C\u5F0F\u5316\u6210\u529F")),b.value=A,p(1))}}catch(S){$.Error(S)}C.Close(),k.value=!1}),_=()=>{if(b.value&&b.value.mountPoint){u(b.value.mountPoint);return}$.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(x,C)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>{var S;return[g.value==0?(r(),s("form",{key:0,class:"action format",onSubmit:ft(y,["prevent"])},[t("div",Ts,[t("div",Is,i(e(a)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",Ms,[t("div",Ls,[Os,o.mount?(r(),s("div",Ns,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint||o.mount.path),1)])):o.disk?(r(),s("div",Vs,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),s("div",Gs,[t("div",js,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Us,i(o.mount.mountPoint||o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF09",1)])):D("",!0),t("div",qs,[t("div",Rs,[t("span",null,i(e(a)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",Ws,[O(t("select",{"onUpdate:modelValue":C[0]||(C[0]=A=>m.value=A),required:"",disabled:o.action=="disk"},[o.mount!=null?(r(),s("option",Js,i(e(a)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):D("",!0),t("option",Zs,i(e(a)("\u683C\u5F0F\u5316")),1),o.mount!=null?(r(),s("option",Ks,i(e(a)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):D("",!0)],8,Hs),[[pt,m.value]])]),t("div",Qs,[m.value=="format"?(r(),s("p",Xs,i(e(a)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):m.value=="default"?(r(),s("p",td)):D("",!0)])])]),t("div",ed,[ad,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d,type:"button",disabled:k.value},i(e(a)("\u8FD4\u56DE")),9,od),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:k.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,nd)])],40,Ps)):g.value==1?(r(),s("div",id,[t("div",rd,[sd,t("div",dd,i(e(a)("\u683C\u5F0F\u5316\u6210\u529F")),1),v.value?(r(),s("div",ld,[dt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+i(v.value.venderModel)+" "+i(e(a)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,i((S=b.value)==null?void 0:S.mountPoint),1)])):D("",!0),b.value?(r(),s("div",cd,[dt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,i(b.value.mountPoint),1)])):D("",!0),t("div",ud,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:_},i(o.action=="nas"?e(a)("\u4E0B\u4E00\u6B65"):e(a)("\u5B8C\u6210")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var fd=N(pd,[["__scopeId","data-v-3dae3be2"]]),la=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(fd,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const md=o=>(ct("data-v-b222ef5e"),o=o(),ut(),o),gd={class:"action list"},vd={class:"action-header"},bd={class:"action-header_title"},hd={class:"action-body"},_d={class:"disk-list"},xd={class:"action-msg"},wd={href:"/cgi-bin/luci/admin/system/diskman"},kd={class:"action-footer"},yd=md(()=>t("div",{class:"auto"},null,-1)),Fd=I({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!0),d=gt({disks:[],raids:[]});(()=>L(this,null,function*(){const f=yield Promise.all([G.Nas.Disk.Status.GET(),G.Raid.List.GET()]);try{if(f[0]){const F=f[0];F!=null&&F.data.result&&(d.disks=(F==null?void 0:F.data.result.disks)||[])}if(f[1]){const F=f[1];F.data.result&&(d.raids=F.data.result.disks||[])}}catch(F){$.Warning(F)}}))();const k=E(),g=E(),p=(f,F)=>{k.value=f,g.value=F},m=()=>{n.Close&&n.Close()},v=()=>{n.Cancel&&n.Cancel(),m()},b=f=>{n.Next&&n.Next(f),m()},y=()=>{if(k.value==null){$.Warning(a("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(k.value.childrens!=null&&k.value.childrens.length>0&&g.value==null){$.Warning(a("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(g.value!=null&&(g.value.mountPoint==null||g.value.mountPoint=="")){$.Warning(a("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}c.value=!1,la({action:"nas",disk:k.value,mount:g.value,Cancel:()=>{c.value=!0},Next:f=>{b(f)}})};return(f,F)=>c.value?(r(),Z(wt,{key:0,type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",gd,[t("div",vd,[t("div",bd,i(e(a)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",hd,[t("div",_d,[(r(!0),s(U,null,tt(e(d).disks,w=>(r(),Z(ka,{disk:w,onDisk:p,currDisk:k.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(r(!0),s(U,null,tt(e(d).raids,w=>(r(),Z(ka,{disk:w,onDisk:p,currDisk:k.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",xd,[t("span",null,[dt(i(e(a)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",wd,i(e(a)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",kd,[yd,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v,type:"button"},i(e(a)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y,type:"button"},i(e(a)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):D("",!0)}});var Ed=N(Fd,[["__scopeId","data-v-b222ef5e"]]),$d=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Ed,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const Cd=o=>(ct("data-v-45926ac6"),o=o(),ut(),o),Dd={class:"action"},Bd={class:"action-body"},Yd=Cd(()=>t("div",{class:"icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),Ad={class:"title"},Sd={class:"info"},zd=["href"],Pd={class:"btns"},Td=I({props:{Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(""),d=Q(()=>`http://${location.hostname}:${c.value}`);(()=>{G.Nas.Linkease.Enable.POST().then(g=>{var p,m;(p=g==null?void 0:g.data)!=null&&p.result&&(c.value=((m=g.data.result)==null?void 0:m.port)||"")})})();const k=()=>{n.Close&&n.Close(),location.reload()};return(g,p)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",Dd,[t("div",Bd,[Yd,t("h2",Ad,i(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Sd,[t("span",null,i(e(a)("\u524D\u5F80")),1),t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,zd),t("span",null,i(e(a)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",Pd,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:k},i(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var Id=N(Td,[["__scopeId","data-v-45926ac6"]]),Md=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Id,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const Ld=o=>(ct("data-v-2b3974a4"),o=o(),ut(),o),Od=["onSubmit"],Nd={class:"action-header"},Vd={class:"action-header_title"},Gd={class:"action-body"},jd={class:"label-item"},Ud={class:"label-item_key"},qd={class:"label-item_value"},Rd=["value"],Wd={class:"label-item"},Hd={class:"label-item_key"},Jd={class:"label-item_value"},Zd=["placeholder"],Kd={class:"label-item"},Qd={class:"label-item_key"},Xd={class:"label-item_value"},t0={class:"action-footer"},e0=Ld(()=>t("div",{class:"auto"},null,-1)),a0=["disabled"],o0=["disabled"],n0=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=m=>{m.preventDefault(),n.Close&&n.Close()},d=E(!1),u=E({username:"root",password:"",rootPath:n.rootPath});(()=>L(this,null,function*(){const m=$.Loading(a("\u52A0\u8F7D\u4E2D..."));d.value=!0;try{const v=yield G.Nas.Webdav.Status.GET();if(v!=null&&v.data){const{result:b,error:y}=v.data;if(y){$.Warning(y);return}b&&(b.username&&(u.value.username=b.username),b.password&&(u.value.password=b.password))}}catch(v){$.Error(v)}d.value=!1,m.Close()}))();const g=()=>{const m=u.value;if(m.rootPath==""){$.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(m.username==""){$.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(m.password==""){$.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}p(m)},p=m=>L(this,null,function*(){d.value=!0;const v=$.Loading(a("\u521B\u5EFA\u4E2D..."));try{const b=yield G.Nas.Webdav.Create.POST(m);if(b!=null&&b.data){const{error:y,result:f}=b.data;y&&$.Warning(y),f&&($.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(b){$.Error(b)}v.Close(),d.value=!1});return(m,v)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:ft(g,["prevent"])},[t("div",Nd,[t("div",Vd,i(e(a)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",Gd,[t("div",jd,[t("div",Ud,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",qd,[t("input",{type:"text",value:u.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Rd)])]),t("div",Wd,[t("div",Hd,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",Jd,[O(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":v[0]||(v[0]=b=>u.value.username=b)},null,8,Zd),[[at,u.value.username,void 0,{trim:!0}]])])]),t("div",Kd,[t("div",Qd,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",Xd,[O(t("input",{type:"password","onUpdate:modelValue":v[1]||(v[1]=b=>u.value.password=b)},null,512),[[at,u.value.password,void 0,{trim:!0}]])])])]),t("div",t0,[e0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:c,disabled:d.value},i(e(a)("\u5173\u95ED")),9,a0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},i(e(a)("\u521B\u5EFA")),9,o0)])],40,Od)]),_:1})]),_:1}))}});var i0=N(n0,[["__scopeId","data-v-2b3974a4"]]),r0=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(i0,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const s0={},d0={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},l0=t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),c0=[l0];function u0(o,n){return r(),s("svg",d0,c0)}var It=N(s0,[["render",u0]]);const{$gettext:be,$ngettext:Ye}=Me(),p0=o=>{},f0=()=>new Date().getTime(),m0=o=>{if(o<1e3)return`${o} B`;let a=1e3,l=0;for(let u=o/1e3;u>=1e3;u/=1e3)a*=1e3,l++;let c=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(a/100)).toFixed(1)+c[l]},g0=o=>{if(o==null)return 0;if(o<1e4)return o;let a=parseInt(`${o/1e4}`),l=o%1e4;return`${a}\u4E07${l}`},v0=o=>{if(o)try{var n=new Date(o),a=n.getHours(),l=n.getMinutes(),c=n.getSeconds();return a<10&&(a=`0${a}`),l<10&&(l=`0${l}`),c<10&&(c=`0${c}`),`${a}:${l}:${c}`}catch(d){}return""},b0=o=>{if(o){let n=Math.floor(o/86400),a=Math.floor(o/3600)%24,l=Math.floor(o/60)%60,c=o%60;return(n>0?Ye("%{ days }\u5929","%{ days }\u5929",n,{days:De(n)}):"")+Ye("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",a,{hours:De(a)})+Ye("%{ minutes }\u5206","%{ minutes }\u5206",l,{minutes:De(l)})+Ye("%{ seconds }\u79D2","%{ seconds }\u79D2",c,{seconds:De(c)})}},h0=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),_0=o=>o.length<3?be("\u7528\u6237\u540D\u592A\u77ED"):o.toLowerCase()!=o?be("\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199"):new RegExp("^\\d").exec(o)?be("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):new RegExp("^_").exec(o)?be("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934"):new RegExp("^[a-z0-9_]+$").exec(o)?!0:be("\u975E\u6CD5\u7684\u7528\u6237\u540D"),x0=(o,n)=>{let a=!0,l=null;const c=()=>{l=null,a&&o().finally(()=>{a&&(l=setTimeout(c,n))})};return l=setTimeout(c,0),()=>{a=!1,l!=null&&clearTimeout(l)}};var w0=Object.freeze(Object.defineProperty({__proto__:null,formatDate:p0,UnixDate:f0,byteToSize:m0,numberToSum:g0,dateForm:v0,stampForm:b0,checkIsIP:h0,checkSmabaUserName:_0,easyInterval:x0},Symbol.toStringTag,{value:"Module"})),Mt=st({},w0);const k0=o=>(ct("data-v-88275da0"),o=o(),ut(),o),y0=["onSubmit"],F0={class:"action-header"},E0={class:"action-header_title"},$0={class:"action-body"},C0={class:"label-item"},D0={class:"label-item_key"},B0={class:"label-item_value"},Y0=["value"],A0={class:"label-item"},S0={class:"label-item_key"},z0={class:"label-item_value"},P0=["placeholder"],T0={class:"label-item"},I0={class:"label-item_key"},M0={class:"label-item_value"},L0=["placeholder"],O0={class:"label-item"},N0={class:"label-item_key"},V0={class:"label-item_value"},G0={class:"samba-item"},j0={class:"samba-item_allow"},U0={for:"allow",class:"samba-allow"},q0={class:"samba-item_tips"},R0={class:"tooltip-trigger"},W0={class:"samba_tip"},H0={class:"samba_dir_tip"},J0={class:"action-footer"},Z0=k0(()=>t("div",{class:"auto"},null,-1)),K0=["disabled"],Q0=["disabled"],X0=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=p=>{p.preventDefault(),n.Close&&n.Close()},d=E(!1),u=E({shareName:"",username:"",password:"",rootPath:n.rootPath,allowLegacy:!1}),k=()=>{const p=u.value;if(p.rootPath==""){$.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.shareName==""){$.Warning(a("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.username==""){$.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.password==""){$.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const m=Mt.checkSmabaUserName(p.username);if(m!==!0){$.Warning(`${m}`);return}g(p)},g=p=>L(this,null,function*(){d.value=!0;const m=$.Loading(a("\u521B\u5EFA\u4E2D..."));try{const v=yield G.Nas.Samba.Create.POST(p);if(v!=null&&v.data){const{error:b,result:y}=v.data;b&&$.Warning(b),y&&($.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(v){$.Error(v)}m.Close(),d.value=!1});return(p,m)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:ft(k,["prevent"])},[t("div",F0,[t("div",E0,i(e(a)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",$0,[t("div",C0,[t("div",D0,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",B0,[t("input",{type:"text",value:u.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Y0)])]),t("div",A0,[t("div",S0,[t("span",null,i(e(a)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",z0,[O(t("input",{type:"text","onUpdate:modelValue":m[0]||(m[0]=v=>u.value.shareName=v),required:"",placeholder:e(a)("\u5171\u4EAB\u540D\u79F0")},null,8,P0),[[at,u.value.shareName,void 0,{trim:!0}]])])]),t("div",T0,[t("div",I0,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",M0,[O(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":m[1]||(m[1]=v=>u.value.username=v)},null,8,L0),[[at,u.value.username,void 0,{trim:!0}]])])]),t("div",O0,[t("div",N0,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",V0,[O(t("input",{type:"password","onUpdate:modelValue":m[2]||(m[2]=v=>u.value.password=v)},null,512),[[at,u.value.password,void 0,{trim:!0}]])])]),t("div",G0,[t("div",j0,[O(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":m[3]||(m[3]=v=>u.value.allowLegacy=v)},null,512),[[Rt,u.value.allowLegacy]]),t("label",U0,i(e(a)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",q0,[t("span",R0,[t("span",W0,[Y(It)]),t("span",H0,i(e(a)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",J0,[Z0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:c,disabled:d.value},i(e(a)("\u5173\u95ED")),9,K0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},i(e(a)("\u521B\u5EFA")),9,Q0)])],40,y0)]),_:1})]),_:1}))}});var tl=N(X0,[["__scopeId","data-v-88275da0"]]),el=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(tl,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const{$gettext:te,$ngettext:pT}=Me(),zt={installApp:(o,n)=>new Promise((a,l)=>{let c=0;G.App.Install.POST({name:o}).then(()=>{const d=setTimeout(()=>{c==0&&(c=1,a(!1))},(n||60)*1e3),u=()=>{c==0&&G.App.Check.POST({name:o}).then(k=>{if(c==0&&k!=null&&k.data){const{result:g}=k.data;if((g==null?void 0:g.status)=="installed"){clearTimeout(d),c=1,a(!0);return}}}).catch(k=>{}).finally(()=>{c==0&&setTimeout(u,3e3)})};setTimeout(u,3e3)}).catch(d=>{c==0&&(c=1,l(te("\u5B89\u88C5\u5931\u8D25\uFF0C")+d))})}),checkAndInstallApp:(o,n,a)=>L(ae,null,function*(){let l=$.Loading(te("\u68C0\u67E5\u4E2D..."));try{const c=yield G.App.Check.POST({name:o});if(l.Close(),c!=null&&c.data){const{result:d,error:u}=c.data;if(u)$.Warning(u);else if(d){if(d.status=="installed")return!0;if(confirm(te("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:n}))){l=$.Loading(te("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const k=yield zt.installApp(a||o);if(l.Close(),k)return!0;$.Error(te("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else $.Warning(te("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(c){return l.Close(),$.Warning(c),!1}}),installAndGo:(o,n,a,l)=>L(ae,null,function*(){(yield zt.checkAndInstallApp(o,n,l))&&(location.href=a)})},Qt=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,al={key:0,class:"action"},ol={class:"title"},nl={class:"desc"},il={value:"linkease"},rl={value:"samba"},sl={value:"webdav"},dl=["innerHTML"],ll={class:"btns"},cl=["disabled"],ul=I({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!0),d=E("linkease"),u=E(!1),k=E(n.setup||0),g=()=>{n.Close&&n.Close()},p=()=>L(this,null,function*(){switch(d.value){case"webdav":yield m();break;case"samba":yield b();break;case"linkease":yield v();break}}),m=()=>L(this,null,function*(){u.value=!0,(yield zt.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&y(),u.value=!1}),v=()=>L(this,null,function*(){u.value=!0,(yield zt.checkAndInstallApp("linkease",a("\u6613\u6709\u4E91"),"app-meta-linkease"))&&f(),u.value=!1}),b=()=>L(this,null,function*(){u.value=!0;const h=$.Loading(a("\u914D\u7F6E\u4E2D..."));y(),h.Close(),u.value=!1}),y=()=>{u.value=!1,c.value=!1,$d({Cancel:()=>{c.value=!0},Next:h=>{switch(d.value){case"webdav":F(h);break;case"samba":w(h);break}}})},f=()=>{Md({}),g()},F=h=>{r0({rootPath:h}),g()},w=h=>{el({rootPath:h}),g()};return(h,_)=>c.value?(r(),Z(wt,{key:0,Close:o.Close,type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[k.value==0?(r(),s("div",al,[t("h2",ol,i(e(a)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",nl,i(e(a)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[O(t("select",{"onUpdate:modelValue":_[0]||(_[0]=x=>d.value=x)},[t("option",il,i(e(a)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",rl,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",sl,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[pt,d.value]])])]),e(Qt)("unishare")?(r(),s("div",{key:0,class:"tips",innerHTML:e(a)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(a)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,dl)):D("",!0),t("div",ll,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p,type:"button",disabled:u.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,cl),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g,type:"button"},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"])):D("",!0)}});var pl=N(ul,[["__scopeId","data-v-3f686017"]]),Wa=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(pl,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const fl={class:"app-container_aria2"},ml={class:"aria2-item"},gl={class:"aria2-item_name"},vl={class:"aria2-item_value"},bl={key:0,class:"configure"},hl={key:1,class:"configure enabel"},_l={class:"aria2-item"},xl={class:"aria2-item_name"},wl={class:"aria2-item_value"},kl=["href"],yl={class:"aria2-item"},Fl={class:"aria2-item_name"},El={class:"aria2-item_value"},$l=["href"],Cl={class:"aria2-item"},Dl={class:"aria2-item_name right"},Bl={class:"aria2-item_value"},Yl=["href"],Al={class:"use-url_app"},Sl={href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},zl=I({props:{aria2:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>{var u;return`${location.origin}${(u=n.aria2)==null?void 0:u.webPath}`}),d=Q(()=>{var g,p,m;let u=(g=n.aria2)==null?void 0:g.rpcToken;u?u=encodeURIComponent(btoa(u)):u="";const k=encodeURIComponent(location.hostname);return`${location.origin}${(p=n.aria2)==null?void 0:p.webPath}/#!/settings/rpc/set/http/${k}/${(m=n.aria2)==null?void 0:m.rpcPort}/jsonrpc/${u}`});return(u,k)=>{var g,p,m,v;return r(),s("ul",fl,[t("li",ml,[t("div",gl,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",vl,[((g=o.aria2)==null?void 0:g.status)=="running"?(r(),s("span",bl,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",hl,i(e(a)("\u672A\u542F\u52A8")),1))])]),((p=o.aria2)==null?void 0:p.status)=="running"?(r(),s(U,{key:0},[t("li",_l,[t("div",xl,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",wl,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((m=o.aria2)==null?void 0:m.downloadPath)},i((v=o.aria2)==null?void 0:v.downloadPath),9,kl)])]),t("li",yl,[t("div",Fl,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",El,[t("a",{href:e(c),target:"_blank",rel:"noopener noreferrer"},i(e(c)),9,$l)])]),t("li",Cl,[t("div",Dl,[t("span",null,i(e(a)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",Bl,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(a)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,Yl)])])],64)):D("",!0),t("div",Al,[t("a",Sl,i(e(a)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var Pl=N(zl,[["__scopeId","data-v-376759fb"]]);const Tl={class:"app-container_qbittorrent"},Il={class:"qbittorrent-item"},Ml={class:"qbittorrent-item_name"},Ll={class:"qbittorrent-item_value"},Ol={key:0,class:"configure"},Nl={key:1,class:"configure enabel"},Vl={class:"qbittorrent-item"},Gl={class:"qbittorrent-item_name"},jl={class:"qbittorrent-item_value"},Ul=["href"],ql={class:"qbittorrent-item"},Rl={class:"qbittorrent-item_name"},Wl={class:"qbittorrent-item_value"},Hl=["href"],Jl={class:"qbittorrent-item"},Zl={class:"qbittorrent-item_name right"},Kl={class:"qbittorrent-item_value"},Ql=I({props:{qbittorrent:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>{var d;return`http://${location.hostname}${(d=n.qbittorrent)==null?void 0:d.webPath}`});return(d,u)=>{var k,g,p,m;return r(),s("ul",Tl,[t("li",Il,[t("div",Ml,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Ll,[((k=o.qbittorrent)==null?void 0:k.status)=="running"?(r(),s("span",Ol,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",Nl,i(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.qbittorrent)==null?void 0:g.status)=="running"?(r(),s(U,{key:0},[t("li",Vl,[t("div",Gl,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",jl,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.qbittorrent)==null?void 0:p.downloadPath)},i((m=o.qbittorrent)==null?void 0:m.downloadPath),9,Ul)])]),t("li",ql,[t("div",Rl,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Wl,[t("a",{href:e(c),target:"_blank",rel:"noopener noreferrer"},i(e(c)),9,Hl)])]),t("li",Jl,[t("div",Zl,[t("span",null,i(e(a)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",Kl,[t("span",null,i(e(a)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):D("",!0)])}}});var Xl=N(Ql,[["__scopeId","data-v-086db06c"]]);const tc={class:"app-container_transmission"},ec={class:"transmission-item"},ac={class:"transmission-item_name"},oc={class:"transmission-item_value"},nc={key:0,class:"configure"},ic={key:1,class:"configure enabel"},rc={class:"transmission-item"},sc={class:"transmission-item_name"},dc={class:"transmission-item_value"},lc=["href"],cc={class:"transmission-item"},uc={class:"transmission-item_name"},pc={class:"transmission-item_value"},fc=["href"],mc=I({props:{transmission:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>{var d;return`http://${location.hostname}${(d=n.transmission)==null?void 0:d.webPath}`});return(d,u)=>{var k,g,p,m;return r(),s("ul",tc,[t("li",ec,[t("div",ac,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",oc,[((k=o.transmission)==null?void 0:k.status)=="running"?(r(),s("span",nc,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",ic,i(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.transmission)==null?void 0:g.status)=="running"?(r(),s(U,{key:0},[t("li",rc,[t("div",sc,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",dc,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.transmission)==null?void 0:p.downloadPath)},i((m=o.transmission)==null?void 0:m.downloadPath),9,lc)])]),t("li",cc,[t("div",uc,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",pc,[t("a",{href:e(c),target:"_blank",rel:"noopener noreferrer"},i(e(c)),9,fc)])])],64)):D("",!0)])}}});var gc=N(mc,[["__scopeId","data-v-3232162a"]]);const vc={},bc={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},hc=t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6","fill-opacity":"0.65"},null,-1),_c=[hc];function xc(o,n){return r(),s("svg",bc,_c)}var Jt=N(vc,[["render",xc]]);const wc={},kc={width:"82px",height:"82px",viewBox:"0 0 82 82",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},yc=jt('',1),Fc=[yc];function Ec(o,n){return r(),s("svg",kc,Fc)}var ca=N(wc,[["render",Ec]]);const Ne=o=>(ct("data-v-395b81d2"),o=o(),ut(),o),$c={key:0,class:"action"},Cc={class:"title"},Dc={class:"load_service input_row"},Bc={class:"left"},Yc={class:"radios"},Ac=Ne(()=>t("label",{for:"Aria2"},"Aria2",-1)),Sc={class:"radios"},zc=Ne(()=>t("label",{for:"qB"},"qBittorrent",-1)),Pc={class:"radios"},Tc=Ne(()=>t("label",{for:"Tr"},"Transmission",-1)),Ic=["onSubmit"],Mc={class:"input_row"},Lc={class:"left"},Oc={class:"tooltip-trigger"},Nc={class:"tooltip-text tooltip-top"},Vc={class:"dowload_dir_tip"},Gc={class:"myinput_wrap"},jc={class:"input_row"},Uc={class:"left"},qc={class:"tooltip-trigger"},Rc={class:"tooltip-text tooltip-top"},Wc={class:"dowload_dir_tip"},Hc={class:"myinput_wrap"},Jc={class:"input_row"},Zc={class:"left"},Kc={class:"tooltip-trigger"},Qc={class:"tooltip-text tooltip-bottom"},Xc={class:"dowload_rpc_tip"},tu=["placeholder"],eu={class:"input_row"},au={class:""},ou={class:"radios"},nu={for:"default"},iu={class:"radios"},ru={for:"add"},su={class:"input_row"},du=Ne(()=>t("div",{class:"left"},null,-1)),lu={class:"myinput_wrap Tracker_input"},cu=["placeholder"],uu=["onSubmit"],pu={class:"input_row"},fu={class:"left"},mu={class:"tooltip-trigger"},gu={class:"tooltip-text tooltip-top"},vu={class:"dowload_dir_tip"},bu={class:"myinput_wrap"},hu={class:"input_row"},_u={class:"left"},xu={class:"tooltip-trigger"},wu={class:"tooltip-text tooltip-top"},ku={class:"dowload_dir_tip"},yu={class:"myinput_wrap"},Fu=["onSubmit"],Eu={class:"input_row"},$u={class:"left"},Cu={class:"tooltip-trigger"},Du={class:"tooltip-text tooltip-top"},Bu={class:"dowload_dir_tip"},Yu={class:"myinput_wrap"},Au={class:"input_row"},Su={class:"left"},zu={class:"tooltip-trigger"},Pu={class:"tooltip-text tooltip-top"},Tu={class:"dowload_dir_tip"},Iu={class:"myinput_wrap"},Mu={class:"btns"},Lu={key:1,class:"action"},Ou={class:"title"},Nu={class:"finished"},Vu={class:"successed"},Gu={class:"btns"},ju=I({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(""),d=E(""),u=E(""),k=E(""),g=E("default"),p=E("Aria2"),m=E(""),v=E(""),b=E(""),y=E(""),f=E([]),F=E([]),w=E(0);Pt(()=>{var M,q,T,j,R,it,ot,bt,Dt,yt;switch(n.defaultTab){case"aria2":p.value="Aria2";break;case"qbittorrent":p.value="qBittorrent";break;case"transmission":p.value="Transmission";break}f.value=n.partitionList.map(Vt=>({key:Vt})),F.value=n.partitionList.filter(Vt=>Vt.startsWith("/mnt/")).map(Vt=>Vt.replace(/(\/mnt\/[^/]+).*/,"$1")),u.value=((M=n.services.aria2)==null?void 0:M.configPath)||"";const A=((q=n.services.aria2)==null?void 0:q.downloadPath)||((T=n.services.qbittorrent)==null?void 0:T.downloadPath)||((j=n.services.transmission)==null?void 0:j.downloadPath);A&&(k.value=A);const z=(R=n.services.aria2)==null?void 0:R.rpcToken;z&&(c.value=z),m.value=((it=n.services.qbittorrent)==null?void 0:it.configPath)||"";const B=((ot=n.services.qbittorrent)==null?void 0:ot.downloadPath)||A||((bt=n.services.transmission)==null?void 0:bt.downloadPath);B&&(v.value=B),b.value=((Dt=n.services.transmission)==null?void 0:Dt.configPath)||"";const H=((yt=n.services.transmission)==null?void 0:yt.downloadPath)||A||B;H&&(y.value=H)});const h=()=>{let A=u.value,z=k.value;A==null||A==""||z==null||z==""||L(this,null,function*(){if(yield zt.checkAndInstallApp("app-meta-aria2","Aria2")){const H=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.Aria2Init.POST({configPath:A,downloadPath:z,rpcToken:c.value,btTracker:g.value=="add"?d.value:""}).then(M=>{var q;if(M!=null&&M.data){if((M.data.success||0)==0){w.value=1;return}else if((q=M.data)!=null&&q.error)throw M.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(M=>$.Error(M)).finally(()=>H.Close())}})},_=()=>{let A=m.value,z=v.value;A==null||A==""||z==null||z==""||L(this,null,function*(){if(yield zt.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const H=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.qbitorrentInit.POST({configPath:A,downloadPath:z}).then(M=>{var q;if(M!=null&&M.data){if((M.data.success||0)==0){w.value=1;return}else if((q=M.data)!=null&&q.error)throw M.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(M=>$.Error(M)).finally(()=>H.Close())}})},x=()=>{let A=b.value,z=y.value;A==null||A==""||z==null||z==""||L(this,null,function*(){if(yield zt.checkAndInstallApp("app-meta-transmission","Transmission")){const H=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.transmissionInit.POST({configPath:A,downloadPath:z}).then(M=>{var q;if(M!=null&&M.data){if((M.data.success||0)==0){w.value=1;return}else if((q=M.data)!=null&&q.error)throw M.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(M=>$.Error(M)).finally(()=>H.Close())}})},C=A=>{A.preventDefault(),n.Close&&n.Close()},S=A=>{A.preventDefault(),location.reload()};return(A,z)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[w.value==0?(r(),s("div",$c,[t("h2",Cc,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",Dc,[t("div",Bc,[t("span",null,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",Yc,[O(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":z[0]||(z[0]=B=>p.value=B),name:"download",id:"Aria2"},null,512),[[Bt,p.value]]),Ac]),t("div",Sc,[O(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":z[1]||(z[1]=B=>p.value=B),name:"download",id:"qB"},null,512),[[Bt,p.value]]),zc]),t("div",Pc,[O(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":z[2]||(z[2]=B=>p.value=B),name:"download",id:"Tr"},null,512),[[Bt,p.value]]),Tc])])])]),p.value=="Aria2"?(r(),s("form",{key:0,onSubmit:ft(h,["prevent"])},[t("ul",null,[t("li",null,[t("div",Mc,[t("div",Lc,[t("span",Oc,[Y(Jt),t("div",null,[t("div",Nc,[t("span",Vc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",Gc,[Y(Zt,{modelValue:u.value,"onUpdate:modelValue":z[3]||(z[3]=B=>u.value=B),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:F.value.concat("/root").map(B=>({key:B+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",jc,[t("div",Uc,[t("span",qc,[Y(Jt),t("div",null,[t("div",Rc,[t("span",Wc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",Hc,[Y(Zt,{modelValue:k.value,"onUpdate:modelValue":z[4]||(z[4]=B=>k.value=B),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:f.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Jc,[t("div",Zc,[t("span",Kc,[Y(Jt),t("div",null,[t("div",Qc,[t("span",Xc,i(e(a)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,i(e(a)("RPC \u4EE4\u724C\uFF1A")),1)]),O(t("input",{type:"text",class:"RPC_input",placeholder:e(a)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":z[5]||(z[5]=B=>c.value=B)},null,8,tu),[[at,c.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",eu,[t("div",au,[t("span",null,i(e(a)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",ou,[O(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":z[6]||(z[6]=B=>g.value=B)},null,512),[[Bt,g.value]]),t("label",nu,i(e(a)("\u9ED8\u8BA4")),1)]),t("div",iu,[O(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":z[7]||(z[7]=B=>g.value=B)},null,512),[[Bt,g.value]]),t("label",ru,i(e(a)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",su,[du,t("div",lu,[g.value=="add"?O((r(),s("textarea",{key:0,"onUpdate:modelValue":z[8]||(z[8]=B=>d.value=B),rows:"4",placeholder:e(a)("\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694")},null,8,cu)),[[at,d.value,void 0,{trim:!0}]]):D("",!0)])])])])],40,Ic)):D("",!0),p.value=="qBittorrent"?(r(),s("form",{key:1,onSubmit:ft(_,["prevent"])},[t("ul",null,[t("li",null,[t("div",pu,[t("div",fu,[t("span",mu,[Y(Jt),t("div",null,[t("div",gu,[t("span",vu,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",bu,[Y(Zt,{modelValue:m.value,"onUpdate:modelValue":z[9]||(z[9]=B=>m.value=B),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:F.value.concat("/root").map(B=>({key:B+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",hu,[t("div",_u,[t("span",xu,[Y(Jt),t("div",null,[t("div",wu,[t("span",ku,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",yu,[Y(Zt,{modelValue:v.value,"onUpdate:modelValue":z[10]||(z[10]=B=>v.value=B),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:f.value},null,8,["modelValue","title","options"])])])])])],40,uu)):D("",!0),p.value=="Transmission"?(r(),s("form",{key:2,onSubmit:ft(x,["prevent"])},[t("ul",null,[t("li",null,[t("div",Eu,[t("div",$u,[t("span",Cu,[Y(Jt),t("div",null,[t("div",Du,[t("span",Bu,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",Yu,[Y(Zt,{modelValue:b.value,"onUpdate:modelValue":z[11]||(z[11]=B=>b.value=B),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:F.value.concat("/root").map(B=>({key:B+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Au,[t("div",Su,[t("span",zu,[Y(Jt),t("div",null,[t("div",Pu,[t("span",Tu,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",Iu,[Y(Zt,{modelValue:y.value,"onUpdate:modelValue":z[12]||(z[12]=B=>y.value=B),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:f.value},null,8,["modelValue","title","options"])])])])])],40,Fu)):D("",!0),t("div",Mu,[p.value=="Aria2"?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:h},i(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="qBittorrent"?(r(),s("button",{key:1,class:"cbi-button cbi-button-apply",onClick:_},i(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="Transmission"?(r(),s("button",{key:2,class:"cbi-button cbi-button-apply",onClick:x},i(e(a)("\u542F\u7528")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:C},i(e(a)("\u53D6\u6D88")),1)])])):w.value==1?(r(),s("div",Lu,[t("h2",Ou,i(e(a)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:p.value})),1),t("div",Nu,[Y(ca)]),t("p",Vu,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Gu,[t("button",{class:"cbi-button cbi-button-apply",onClick:S},i(e(a)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var Uu=N(ju,[["__scopeId","data-v-395b81d2"]]);const qu=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Uu,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},ua=o=>(ct("data-v-5db0f73b"),o=o(),ut(),o),Ru={class:"content"},Wu={class:"tab"},Hu=ua(()=>t("div",{class:"title"},"Aria2",-1)),Ju={key:0},Zu={key:1},Ku=ua(()=>t("div",{class:"title"},"qBittorrent",-1)),Qu={key:0},Xu={key:1},t1=ua(()=>t("div",{class:"title"},"Transmission",-1)),e1={key:0},a1={key:1},o1=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=E("aria2"),c=E(!1),d=w=>{l.value=w,c.value=!0},u=E(),k=()=>{if(c.value)return;const h=["aria2","qbittorrent","transmission"].find(_=>{var x,C;return((C=(x=u.value)==null?void 0:x[_])==null?void 0:C.status)==="running"});l.value=h||"aria2"};setTimeout(()=>{G.Guide.DownloadService.Status.GET().then(w=>{var h;if((h=w==null?void 0:w.data)!=null&&h.result){const _=w.data.result;u.value=_,k()}})},800),E(!1);const p=E(!1),m=()=>{p.value=!p.value},v=()=>{G.Guide.DownloadPartition.List.GET().then(w=>{var _,x;let h=[];(x=(_=w==null?void 0:w.data)==null?void 0:_.result)!=null&&x.partitionList&&(h=w.data.result.partitionList),qu({services:u.value,partitionList:h,defaultTab:l.value})})},b=(w,h,_)=>L(this,null,function*(){m(),zt.installAndGo(w,h,_)}),y=()=>{b("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},f=()=>{b("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},F=()=>{b("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(w,h)=>(r(),Z(Wt,{title:e(n)("\u4E0B\u8F7D\u670D\u52A1"),showSettings:!0,onFooterClick:v,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":h[4]||(h[4]=_=>a.value=_)},{icon:V(()=>[Y(Kt,{color:"#00a63e",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:v},[Y(Kt,{color:"#0a0a0a",class:"icon1 downloadIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u4E0B\u8F7D\u7BA1\u7406")),1),Boolean(u.value)?(r(),s("div",{key:0,class:"rotation",onClick:h[0]||(h[0]=ft(_=>a.value=!a.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])):D("",!0)])]),"settings-menu":V(()=>[t("div",null,[t("a",{onClick:y},i(e(n)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:f},i(e(n)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:F},i(e(n)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:V(()=>{var _,x,C,S,A,z,B,H,M;return[t("div",Ru,[t("div",Wu,[t("div",{class:lt(["item cloud",{active:l.value=="aria2"}]),onClick:h[1]||(h[1]=q=>d("aria2"))},[Y(Kt,{color:"#f54900",class:"icon2"}),Hu,((x=(_=u.value)==null?void 0:_.aria2)==null?void 0:x.status)=="running"?(r(),s("span",Ju,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",Zu,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:lt(["item memory",{active:l.value=="qbittorrent"}]),onClick:h[2]||(h[2]=q=>d("qbittorrent"))},[Y(Kt,{color:"#4a5565",class:"icon2"}),Ku,((S=(C=u.value)==null?void 0:C.qbittorrent)==null?void 0:S.status)=="running"?(r(),s("span",Qu,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",Xu,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:lt(["item network",{active:l.value=="transmission"}]),onClick:h[3]||(h[3]=q=>d("transmission"))},[Y(Kt,{color:"#009689",class:"icon2"}),t1,((z=(A=u.value)==null?void 0:A.transmission)==null?void 0:z.status)=="running"?(r(),s("span",e1,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",a1,i(e(n)("\u672A\u542F\u7528")),1))],2)]),l.value=="aria2"?(r(),Z(Pl,{key:0,aria2:(B=u.value)==null?void 0:B.aria2},null,8,["aria2"])):l.value=="qbittorrent"?(r(),Z(Xl,{key:1,qbittorrent:(H=u.value)==null?void 0:H.qbittorrent},null,8,["qbittorrent"])):l.value=="transmission"?(r(),Z(gc,{key:2,transmission:(M=u.value)==null?void 0:M.transmission},null,8,["transmission"])):D("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var n1=N(o1,[["__scopeId","data-v-5db0f73b"]]);const i1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},r1=["fill"],He=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",i1,[t("path",{d:"M584.675 134.868C561.143 130.36 536.847 128 512 128a392 392 0 0 0-3.783 0.018l-24.19 169.685A32 32 0 0 1 466.68 321.8l-99.807 49.992-50.81 127.247a32 32 0 0 1-24.45 19.697l-162.145 27.069c8.105 92.926 49.308 176.368 111.754 238.473L223.089 657.52c-2.323-16.238 8.01-31.603 23.924-35.578l226.491-56.558a32 32 0 0 1 30.368 8.407l96.768 96.662a8 8 0 0 0 8.728 1.726l150.425-62.602 31.42-0.772c17.669-0.434 32.343 13.536 32.777 31.204 0.007 0.262 0.01 0.524 0.01 0.786v95.11c45.314-63.03 72-140.351 72-223.906 0-40.5-6.27-79.535-17.891-116.188l-103.215 27.656a32 32 0 0 1-23.36-2.684l-127.842-68.287a32 32 0 0 1-16.712-24.553l-22.305-193.076z m58.509 16.124l18.31 159.176 109.262 56.623 86.458-23.166c-43.44-88.897-120.207-158.532-214.03-192.633z m-336.132 685.8C366.357 874.295 436.644 896 512 896c94.536 0 181.093-34.162 248-90.814V683.96a8 8 0 0 0-11.074-7.386l-138.21 57.53a32 32 0 0 1-34.913-6.903l-99.24-99.132a8 8 0 0 0-7.592-2.102l-178.437 44.563a8 8 0 0 0-5.981 8.894l22.499 157.37zM128.65 489.473l140.726-23.504 49.219-123.244a32 32 0 0 1 15.386-16.744l96.748-48.46 20.65-144.762C275.347 160.675 139.137 308.212 128.65 489.47zM512 960C264.576 960 64 759.424 64 512S264.576 64 512 64s448 200.576 448 448-200.576 448-448 448z",fill:o.color,"p-id":"8679"},null,8,r1)]))}}),s1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},d1=["fill"],l1=["fill"],c1=["fill"],pa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",s1,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,d1),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,l1),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,c1)]))}}),u1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},p1=["fill"],f1=["fill"],m1=["fill"],g1=I({props:{color:{type:String,default:"#4a5565"}},setup(o){return(n,a)=>(r(),s("svg",u1,[t("path",{d:"M909.1 499.1h-797c-27.5 0-50 22.5-50 50v351.5c0 27.5 22.5 50 50 50h797c27.5 0 50-22.5 50-50V549.1c0-27.5-22.5-50-50-50z m-14 387.5h-769V563.1h769v323.5z",fill:o.color,"p-id":"19594"},null,8,p1),t("path",{d:"M191.932 734.691a63 63 0 1 0 124.375-20.173 63 63 0 1 0-124.375 20.173zM395.56 774.136a63 63 0 1 0 89.093-89.097 63 63 0 1 0-89.094 89.097zM702.8 296.6c-19.4 0-35.2 8.4-35.2 18.7v198c0 10.3 15.9 18.7 35.2 18.7 19.4 0 35.2-8.4 35.2-18.7v-198c0.1-10.3-15.8-18.7-35.2-18.7z",fill:o.color,"p-id":"19595"},null,8,f1),t("path",{d:"M701.8 218.6c-49.7 0-93.2 31.8-117.7 79.5h41.5c19.3-24.3 46.3-39.5 76.2-39.5 29.9 0 56.9 15.2 76.2 39.5h41.5c-24.4-47.7-68-79.5-117.7-79.5z m5.3-45.5c41.1 0 78.3 15.2 104.8 39.5H869c-33.7-47.7-93.7-79.5-162-79.5s-128.3 31.8-162 79.5h57.1c26.6-24.3 63.8-39.5 105-39.5z",fill:o.color,"p-id":"19596"},null,8,m1)]))}}),v1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},b1=["fill"],ya=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",v1,[t("path",{d:"M526.41 117.029v58.514a7.314 7.314 0 0 1-7.315 7.314H219.429a36.571 36.571 0 0 0-35.987 29.989l-0.585 6.583V804.57a36.571 36.571 0 0 0 29.989 35.987l6.583 0.585H804.57a36.571 36.571 0 0 0 35.987-29.989l0.585-6.583v-317.44a7.314 7.314 0 0 1 7.314-7.314h58.514a7.314 7.314 0 0 1 7.315 7.314v317.44a109.714 109.714 0 0 1-99.182 109.203l-10.533 0.512H219.43a109.714 109.714 0 0 1-109.203-99.182l-0.512-10.533V219.43a109.714 109.714 0 0 1 99.182-109.203l10.533-0.512h299.666a7.314 7.314 0 0 1 7.314 7.315z m307.345 31.817l41.4 41.399a7.314 7.314 0 0 1 0 10.313L419.985 655.726a7.314 7.314 0 0 1-10.313 0l-41.399-41.4a7.314 7.314 0 0 1 0-10.312l455.168-455.168a7.314 7.314 0 0 1 10.313 0z","p-id":"4497",fill:o.color},null,8,b1)]))}}),h1={class:"actioner-container"},_1={class:"actioner-container_header"},x1={class:"actioner-container_body"},w1={class:"label-item"},k1={class:"label_info"},y1={class:"label-item"},F1={class:"label_info"},E1={class:"label-item"},$1={class:"label_info"},C1={class:"label-item"},D1={class:"label_info"},B1={class:"actioner-container_footer"},Y1=I({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:c}=J(),d=()=>{a.onSetup()},u=E(a.active),k=()=>{switch(n("update:active",u.value),u.value){case"ddnsto":a.onSetup("ddnsto");break;case"ali":a.onSetup("ddns-ali");break;case"dnspod":a.onSetup("ddns-dnspod");break;case"oray":a.onSetup("ddns-oray");break}};return(g,p)=>(r(),s("div",h1,[t("div",_1,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",x1,[t("div",w1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[0]||(p[0]=m=>u.value=m),value:"ddnsto"},null,512),[[Bt,u.value]]),t("span",null,i(e(l)("DDNSTO")),1)]),t("p",k1,i(e(l)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",y1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[1]||(p[1]=m=>u.value=m),value:"ali"},null,512),[[Bt,u.value]]),t("span",null,i(e(l)("\u963F\u91CC\u4E91")),1)]),t("p",F1,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",E1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[2]||(p[2]=m=>u.value=m),value:"dnspod"},null,512),[[Bt,u.value]]),t("span",null,i(e(l)("Dnspod")),1)]),t("p",$1,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",C1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[3]||(p[3]=m=>u.value=m),value:"oray"},null,512),[[Bt,u.value]]),t("span",null,i(e(l)("\u82B1\u751F\u58F3")),1)]),t("p",D1,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",B1,[t("div",{class:"close",onClick:d},i(e(l)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:k},i(e(l)("\u4E0B\u4E00\u6B65")),1)])]))}});var A1=N(Y1,[["__scopeId","data-v-73552138"]]);const S1=o=>(ct("data-v-b9ee57da"),o=o(),ut(),o),z1={class:"actioner-container"},P1={class:"actioner-container_body"},T1=S1(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),I1={class:"body-title"},M1={class:"body-tips"},L1={class:"body-info"},O1=["href"],N1={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},V1={class:"actioner-container_footer"},G1=I({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=J(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(c,d)=>(r(),s("div",z1,[t("div",P1,[T1,t("div",I1,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",M1,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",L1,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,O1)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",N1,i(e(n)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",V1,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var j1=N(G1,[["__scopeId","data-v-b9ee57da"]]);const U1=o=>(ct("data-v-aefb6fdc"),o=o(),ut(),o),q1={class:"actioner-container"},R1={class:"actioner-container_header"},W1=U1(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),H1={class:"actioner-container_footer"},J1=I({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.onSetup()},d=u=>{if(u.data.auth=="ddnsto"){const k=u.data.sign,g=u.data.token;k&&g&&(removeEventListener("message",d),n.onDdnstoConfig(k,g),n.onSetup("ddnsto-run"))}};return Pt(()=>{window.addEventListener("message",d)}),Nt(()=>{removeEventListener("message",d)}),(u,k)=>(r(),s("div",q1,[t("div",R1,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),W1,t("div",H1,[t("div",{class:"close",onClick:c},i(e(a)("\u53D6\u6D88")),1)])]))}});var Z1=N(J1,[["__scopeId","data-v-aefb6fdc"]]);const K1={class:"actioner-container"},Q1={class:"actioner-container_header"},X1={class:"actioner-container_body ddnsto-bind"},t2=["src"],e2=I({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:c}=J(),d=Q(()=>{const{domain:g,token:p,sign:m,routerId:v,netaddr:b}=a.config,y=encodeURIComponent(g),f=encodeURIComponent(b);return`https://www.kooldns.cn/bind/#/domain?domain=${y}&sign=${m}&token=${p}&routerId=${v}&netaddr=${f}`}),u=g=>{if(g.data){const{auth:p,url:m}=g.data;p==="ddnsto"&&m&&k(m)}},k=g=>L(this,null,function*(){var p;try{const m=yield G.Guide.DdnstoAddress.POST({address:g});m!=null&&m.data&&(((p=m==null?void 0:m.data)==null?void 0:p.success)||0)==0&&(n("update:domain",g),a.onSetup("ddnsto-save"))}catch(m){}});return Pt(()=>{window.addEventListener("message",u)}),Nt(()=>{removeEventListener("message",u)}),(g,p)=>(r(),s("div",K1,[t("div",Q1,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",X1,[t("iframe",{src:e(d)},null,8,t2)])]))}});var a2=N(e2,[["__scopeId","data-v-0e2b47e6"]]);const o2=o=>(ct("data-v-29e2aec8"),o=o(),ut(),o),n2={class:"actioner-container"},i2={class:"actioner-container_body"},r2=o2(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),s2={class:"body-title"},d2={class:"body-tips"},l2={class:"body-info"},c2=["href"],u2={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},p2={class:"actioner-container_footer"},f2=I({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=J(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(c,d)=>(r(),s("div",n2,[t("div",i2,[r2,t("div",s2,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",d2,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",l2,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,c2)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",u2,i(e(n)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",p2,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var m2=N(f2,[["__scopeId","data-v-29e2aec8"]]);const g2={class:"actioner-container"},v2={class:"actioner-container_header"},b2={class:"actioner-container_body"},h2={class:"actioner-container_footer"},_2=I({props:{onSetup:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.onSetup()},d=()=>L(this,null,function*(){if(g.value)return;g.value=!0;const m=$.Loading(a("\u5B89\u88C5\u4E2D..."));try{if(yield zt.installApp("app-meta-ddnsto",30)){n.onSetup("ddnsto-login");return}else u.value=a("\u5B89\u88C5\u5931\u8D25")}catch(v){u.value=v}finally{m.Close()}g.value=!1}),u=E(a("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),k=E(!1),g=E(!1);return(()=>L(this,null,function*(){try{const m=yield G.App.Check.POST({name:"ddnsto"});if(m!=null&&m.data){const{result:v,error:b}=m.data;if(b){u.value=b;return}if(v){if(v.status=="installed"){n.onSetup("ddnsto-login");return}v.status=="uninstalled"&&(u.value=a("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(m){u.value=m}k.value=!0}))(),(m,v)=>(r(),s("div",g2,[t("div",v2,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",b2,[t("span",null,i(u.value),1)]),t("div",h2,[k.value?(r(),s(U,{key:0},[t("div",{class:"close",onClick:c},i(e(a)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:d},i(e(a)("\u786E\u5B9A")),1)],64)):D("",!0)])]))}});var x2=N(_2,[["__scopeId","data-v-169b4450"]]);const w2={class:"actioner-container"},k2={class:"actioner-container_header"},y2={class:"actioner-container_body"},F2=I({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(a("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(m=>L(this,null,function*(){var v;try{const b=yield G.Guide.Ddnsto.POST({token:n.token});b!=null&&b.data&&(b.data.error&&(c.value=b.data.error),(((v=b==null?void 0:b.data)==null?void 0:v.success)||0)==0&&k())}catch(b){c.value=b}}))(n.token);const u=E(),k=()=>{const m=()=>L(this,null,function*(){if((yield g())===!0){p();return}u.value=window.setTimeout(m,2e3)});m()},g=()=>L(this,null,function*(){try{const m=yield G.App.Check.POST({name:"ddnsto",checkRunning:!0});if(m!=null&&m.data){m.data.error&&(c.value=m.data.error);const v=m.data.result;if((v==null?void 0:v.status)=="running")return!0}}catch(m){c.value=m}return!1});Nt(()=>{u.value&&clearInterval(u.value)});const p=()=>L(this,null,function*(){var m;try{const v=yield G.Guide.DdntoConfig.GET();if(v!=null&&v.data&&(v.data.error&&(c.value=v.data.error),(((m=v==null?void 0:v.data)==null?void 0:m.success)||0)==0&&v.data.result)){const b=v.data.result;n.onDdnstoLocalConfig(b.netAddr,b.deviceId),n.onSetup("ddnsto-bind")}}catch(v){c.value=v}});return(m,v)=>(r(),s("div",w2,[t("div",k2,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",y2,i(c.value),1)]))}});var E2=N(F2,[["__scopeId","data-v-6590a3fa"]]);const $2={class:"action-main"},C2=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=E("ddnsto-install"),l=g=>{g!=null?a.value=g:c()},c=()=>{n.Close&&n.Close()},d=gt({sign:"",token:"",domain:n.url,netaddr:"",routerId:""}),u=(g,p)=>{d.sign=g,d.token=p},k=(g,p)=>{d.netaddr=g,d.routerId=p};return(g,p)=>(r(),Z(wt,{type:1},{default:V(()=>[t("div",$2,[a.value=="ddnsto-install"?(r(),Z(x2,{key:0,onSetup:l})):a.value=="ddnsto-login"?(r(),Z(Z1,{key:1,onSetup:l,onDdnstoConfig:u})):a.value=="ddnsto-run"?(r(),Z(E2,{key:2,onSetup:l,token:e(d).token,onDdnstoLocalConfig:k},null,8,["token"])):a.value=="ddnsto-bind"?(r(),Z(a2,{key:3,onSetup:l,config:{token:e(d).token,sign:e(d).sign,domain:e(d).domain,netaddr:e(d).netaddr,routerId:e(d).routerId},domain:e(d).domain,"onUpdate:domain":p[0]||(p[0]=m=>e(d).domain=m)},null,8,["config","domain"])):a.value=="ddnsto-save"?(r(),Z(m2,{key:4,onSetup:l,target:e(d).domain},null,8,["target"])):D("",!0)])]),_:1}))}});var D2=N(C2,[["__scopeId","data-v-3b80943c"]]);const B2=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(D2,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},Y2={class:"action"},A2={class:"action-header"},S2=["innerHTML"],z2={class:"action-footer"},P2=I({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.next&&n.next(),n.Close&&n.Close()},d=()=>{n.clear&&n.clear(),n.Close&&n.Close()},u=()=>{n.continuer&&n.continuer(),n.Close&&n.Close()};return(k,g)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[t("div",Y2,[t("div",A2,i(o.title||e(a)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,S2),t("div",z2,[o.clear?(r(),s("div",{key:0,class:"clear",onClick:d},i(o.clearTitle||e(a)("\u8FD4\u56DE")),1)):D("",!0),t("div",{class:"next",onClick:c},i(o.nextTitle||e(a)("\u786E\u5B9A")),1),o.continuer?(r(),s("div",{key:1,class:"next",onClick:u},i(o.continuerTitle||e(a)("\u7EE7\u7EED\u4FDD\u5B58")),1)):D("",!0)])])]),_:1},8,["Close"]))}});var T2=N(P2,[["__scopeId","data-v-145a3c50"]]);const Se=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(T2,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},I2=o=>(ct("data-v-2c659599"),o=o(),ut(),o),M2={class:"actioner-container"},L2=["onSubmit"],O2={class:"actioner-container_header"},N2={key:0,class:"title_info"},V2={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},G2={key:1,class:"title_info"},j2={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},U2={key:2,class:"title_info"},q2={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},R2={class:"label-item"},W2={class:"label-item_key"},H2={class:"label-item_value"},J2={value:"ipv4"},Z2={value:"ipv6"},K2={class:"label_tips"},Q2=I2(()=>t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])],-1)),X2={class:"info"},t6={class:"label-item"},e6={class:"label-item_key"},a6={class:"label-item_value"},o6={class:"label-item"},n6={class:"label-item_key"},i6={class:"label-item_value"},r6=["placeholder"],s6={class:"label-item"},d6={class:"label-item_key"},l6={class:"label-item_value"},c6=["placeholder"],u6={class:"actioner-container_footer"},p6=["disabled"],f6=I({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:c}=J(),d=E("ipv4"),u=E(a.name),k=E(""),g=E(""),p=E(""),m=E(!1),v=()=>{a.onSetup("index")},b=()=>{m.value=!0;const w=$.Loading(l("\u68C0\u6D4B\u4E2D..."));G.Network.CheckPublickNet.POST({ipVersion:d.value}).then(h=>{var _,x;if(h!=null&&h.data){if((_=h==null?void 0:h.data)!=null&&_.error){$.Warning(h==null?void 0:h.data.error);return}if((((x=h==null?void 0:h.data)==null?void 0:x.success)||0)==0){const C=h.data.result;C&&C.address?F():y();return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(h=>{$.Error(h)}).finally(()=>{w.Close(),m.value=!1})},y=()=>{Se({title:l("\u6E29\u99A8\u63D0\u793A"),nextTitle:l("\u4F7F\u7528DDNSTO"),continuerTitle:l("\u7EE7\u7EED\u4FDD\u5B58"),content:l("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){f()},continuer(){F()},clear(){}})},f=()=>{a.onSetup("ddnsto")},F=()=>{m.value=!0;const w=$.Loading(l("\u914D\u7F6E\u4E2D..."));G.Guide.PostDdns.POST({ipVersion:d.value,serviceName:u.value,domain:k.value,userName:g.value,password:p.value}).then(h=>{if(h!=null&&h.data){const{error:_,scope:x,success:C}=h.data;if(_=="-100"&&x=="guide.ddns"){Se({title:l("\u6E29\u99A8\u63D0\u793A"),content:l("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(_){$.Warning(_);return}if((C||0)==0){n("update:target",k.value),a.onSetup("ddns-success");return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(h=>{$.Error(h)}).finally(()=>{w.Close(),m.value=!1})};return(w,h)=>(r(),s("div",M2,[t("form",{class:"actioner-dns",onSubmit:ft(b,["prevent"])},[t("div",O2,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:lt(["actioner-container_body",o.name])},[o.name=="ali"?(r(),s("div",N2,[t("p",null,i(e(l)("\u963F\u91CC\u4E91")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",V2,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(r(),s("div",G2,[t("p",null,i(e(l)("dnspod")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",j2,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(r(),s("div",U2,[t("p",null,i(e(l)("\u82B1\u751F\u58F3")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",q2,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):D("",!0),t("div",R2,[t("div",W2,[t("span",null,i(e(l)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",H2,[O(t("select",{name:"",id:"","onUpdate:modelValue":h[0]||(h[0]=_=>d.value=_)},[t("option",J2,i(e(l)("IPv4\u5730\u5740")),1),t("option",Z2,i(e(l)("IPv6\u5730\u5740")),1)],512),[[pt,d.value]])]),t("div",K2,[Q2,t("span",X2,i(e(l)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",t6,[t("div",e6,[t("span",null,i(e(l)("\u57DF\u540D\uFF1A")),1)]),t("div",a6,[O(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":h[1]||(h[1]=_=>k.value=_),required:""},null,512),[[at,k.value,void 0,{trim:!0}]])])]),t("div",o6,[t("div",n6,[t("span",null,i(e(l)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",i6,[O(t("input",{type:"text","onUpdate:modelValue":h[2]||(h[2]=_=>g.value=_),placeholder:e(l)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,r6),[[at,g.value,void 0,{trim:!0}]])])]),t("div",s6,[t("div",d6,[t("span",null,i(e(l)("\u5BC6\u7801\uFF1A")),1)]),t("div",l6,[O(t("input",{type:"password","onUpdate:modelValue":h[3]||(h[3]=_=>p.value=_),placeholder:e(l)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,c6),[[at,p.value,void 0,{trim:!0}]])])])],2),t("div",u6,[t("div",{class:"close",onClick:v,type:"button"},i(e(l)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:m.value},i(e(l)("\u4FDD\u5B58")),9,p6)])],40,L2)]))}});var Je=N(f6,[["__scopeId","data-v-2c659599"]]);const m6={class:"action-main"},g6=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=E(""),l=E("index"),c=g=>{if(g!=null){if(g=="ddnsto"){d();return}l.value=g}else u()},d=()=>{u(),B2({url:n.url})},u=()=>{n.Close&&n.Close()},k=E("ddnsto");return(g,p)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[t("div",m6,[l.value=="index"?(r(),Z(A1,{key:0,onSetup:c,active:k.value,"onUpdate:active":p[0]||(p[0]=m=>k.value=m)},null,8,["active"])):l.value=="ddns-ali"?(r(),Z(Je,{key:1,onSetup:c,target:a.value,"onUpdate:target":p[1]||(p[1]=m=>a.value=m),name:"ali"},null,8,["target"])):l.value=="ddns-dnspod"?(r(),Z(Je,{key:2,onSetup:c,target:a.value,"onUpdate:target":p[2]||(p[2]=m=>a.value=m),name:"dnspod"},null,8,["target"])):l.value=="ddns-oray"?(r(),Z(Je,{key:3,onSetup:c,target:a.value,"onUpdate:target":p[3]||(p[3]=m=>a.value=m),name:"oray"},null,8,["target"])):l.value=="ddns-success"?(r(),Z(j1,{key:4,onSetup:c,target:a.value},null,8,["target"])):D("",!0)])]),_:1},8,["Close"]))}});var v6=N(g6,[["__scopeId","data-v-8a1e6470"]]);const b6=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(v6,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},Ve=o=>(ct("data-v-80af9852"),o=o(),ut(),o),h6={class:"content"},_6={class:"tab"},x6=Ve(()=>t("div",{class:"title"},"DDNSTO",-1)),w6={key:0},k6={key:1},y6=Ve(()=>t("div",{class:"title"},"IPv4",-1)),F6={key:0},E6={key:1},$6=Ve(()=>t("div",{class:"title"},"IPv6",-1)),C6={key:0},D6={key:1},B6={key:0,class:"info"},Y6={class:"status"},A6=Ve(()=>t("div",null,"DDNSTO",-1)),S6={key:0},z6={key:1,class:"offline"},P6={class:"title_box"},T6={class:"title"},I6={class:"path"},M6=["href","title"],L6={key:1},O6={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},N6={key:1,class:"info"},V6={class:"status"},G6={key:0,class:"offline"},j6={key:1},U6={class:"title_box"},q6={class:"title"},R6={class:"path"},W6={key:0},H6=["href"],J6={key:2,href:"/cgi-bin/luci/admin/services/ddns"},Z6={key:2,class:"info"},K6={class:"status"},Q6={key:0,class:"offline"},X6={key:1},t5={class:"title_box"},e5={class:"title"},a5={class:"path"},o5={key:0},n5=["href"],i5={key:2,href:"/cgi-bin/luci/admin/services/ddns"},r5=I({setup(o){const{$gettext:n}=J(),a=E(0),l=E(!1),c=f=>{a.value=f,l.value=!0},d=f=>Boolean(f&&f!=="Stopped"&&f!=="Disabled"),u=()=>{if(l.value)return;const F=[{index:0,active:Boolean(p.value.ddnstoDomain)},{index:1,active:d(p.value.ipv4Domain)},{index:2,active:d(p.value.ipv6Domain)}].find(w=>w.active);a.value=F?F.index:0};let k=!1,g;const p=E({}),m=function(){!k||(document.hidden?Promise.resolve():G.Guide.GetDdns.GET().then(f=>{var F;f!=null&&f.data&&(((F=f==null?void 0:f.data)==null?void 0:F.success)||0)==0&&f.data.result&&(p.value=f.data.result,u())})).then(()=>{!k||(g=window.setTimeout(m,3e3))})};Pt(()=>{k=!0,g=window.setTimeout(m,1100)}),Nt(()=>{g!==void 0&&window.clearTimeout(g),k=!1});const v=()=>{b6({url:p.value.ddnstoDomain})},b=Q(()=>{const f=p.value.ipv4Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`}),y=Q(()=>{const f=p.value.ipv6Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`});return(f,F)=>(r(),Z(Wt,{title:e(n)("\u8FDC\u7A0B\u57DF\u540D"),showSettings:!0,style:{width:"100%",height:"100%",display:"block"}},{icon:V(()=>[Y(He,{color:"#00a63e",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:v},[Y(He,{color:"#0a0a0a",class:"icon1 earthIcon",style:{"margin-right":"6px"}}),dt(" "+i(e(n)("\u57DF\u540D\u914D\u7F6E")),1)])]),default:V(()=>{var w,h,_,x,C,S;return[t("div",h6,[t("div",_6,[t("div",{class:lt(["item cloud",{active:a.value==0}]),onClick:F[0]||(F[0]=A=>c(0))},[Y(He,{color:"#155dfc",class:"icon2"}),x6,(w=p.value)!=null&&w.ddnstoDomain?(r(),s("span",w6,i(e(n)("\u6B63\u5E38")),1)):(r(),s("span",k6,i(e(n)("\u672A\u542F\u52A8")),1))],2),e(b)?(r(),s("div",{key:0,class:lt(["item memory",{active:a.value==1}]),onClick:F[1]||(F[1]=A=>c(1))},[Y(pa,{color:"#00a63e",class:"icon2"}),y6,e(b)=="Stopped"||e(b)=="Disabled"?(r(),s("span",F6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",E6,i(e(n)("\u6B63\u5E38")),1))],2)):D("",!0),e(y)?(r(),s("div",{key:1,class:lt(["item network",{active:a.value==2}]),onClick:F[2]||(F[2]=A=>c(2))},[Y(g1,{class:"icon2"}),$6,e(y)=="Stopped"||e(y)=="Disabled"?(r(),s("span",C6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",D6,i(e(n)("\u6B63\u5E38")),1))],2)):D("",!0)]),a.value==0?(r(),s("div",B6,[t("div",Y6,[A6,(h=p.value)!=null&&h.ddnstoDomain?(r(),s("span",S6,i(e(n)("\u6B63\u5E38")),1)):(r(),s("span",z6,i(e(n)("\u672A\u542F\u52A8")),1))]),t("div",P6,[t("div",T6,i(e(n)("\u667A\u80FD\u5185\u7F51\u7A7F\u900F\u670D\u52A1")),1),t("div",I6,[(_=p.value)!=null&&_.ddnstoDomain?(r(),s("a",{key:0,class:"configure",href:(x=p.value)==null?void 0:x.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(C=p.value)==null?void 0:C.ddnstoDomain},i((S=p.value)==null?void 0:S.ddnstoDomain),9,M6)):(r(),s("div",L6,i(e(n)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("span",null,[t("a",O6,i(e(n)("\u63A7\u5236\u53F0")),1)])])])])):D("",!0),a.value==1?(r(),s("div",N6,[t("div",V6,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(b)=="Stopped"||e(b)=="Disabled"?(r(),s("span",G6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",j6,i(e(n)("\u6B63\u5E38")),1))]),t("div",U6,[t("div",q6,"IPv4 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",R6,[e(b)=="Stopped"||e(b)=="Disabled"?(r(),s("div",W6,i(e(b)),1)):(r(),s("a",{key:1,class:"configure",href:e(b),target:"_blank",rel:"noopener noreferrer"},i(e(b)),9,H6)),e(b)?(r(),s("a",J6,[Y(ya,{class:"icon3"})])):D("",!0)])])])):D("",!0),a.value==2?(r(),s("div",Z6,[t("div",K6,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(y)=="Stopped"||e(y)=="Disabled"?(r(),s("span",Q6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",X6,i(e(n)("\u6B63\u5E38")),1))]),t("div",t5,[t("div",e5,"IPv6 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",a5,[e(y)=="Stopped"||e(y)=="Disabled"?(r(),s("div",o5,i(e(y)),1)):(r(),s("a",{key:1,class:"configure",href:e(y),target:"_blank",rel:"noopener noreferrer"},i(e(y)),9,n5)),e(y)?(r(),s("a",i5,[Y(ya,{class:"icon3"})])):D("",!0)])])])):D("",!0)])]}),_:1},8,["title"]))}});var s5=N(r5,[["__scopeId","data-v-80af9852"]]);const d5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},l5=["fill"],c5=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",d5,[t("path",{d:"M879.674 544.51l-158.254-0.221c-8.534 2.287-17.305-2.776-19.588-11.307l-23.862-75.877-74.742 350.891c0 0-1.523 18.507-11.518 18.507s-26.9 0.281-26.9 0.281c-8.259 2.213-16.748-2.687-18.961-10.949l-92.741-457.648-70.305 330.634c-2.261 8.291-11.94 15.206-20.385 12.986l-24.876 0.339c-8.723 2.293-17.685-2.789-20.023-11.349L270.629 544.51 143.993 544.51c-8.831 0-15.993-7.159-15.993-15.993l0-31.986c0-8.831 7.162-15.993 15.993-15.993l157.429-0.516c9.565-0.304 17.685 0.788 20.023 9.351l24.386 76.092 68.642-358.907c0 0 3.4-10.894 14.397-10.894 10.994 0 34.107-0.448 34.107-0.448 8.262-2.213 16.751 2.687 18.965 10.949l91.912 454.126 67.948-326.182c2.213-8.262 8.707-15.161 16.965-12.948l27.316-0.333c8.531-2.287 17.301 2.776 19.588 11.31l46.665 148.4 127.337 0c8.835 0 15.993 7.162 15.993 15.993l0 31.986C895.667 537.352 888.508 544.51 879.674 544.51z","p-id":"5314",fill:o.color},null,8,l5)]))}}),u5=()=>{var n;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(n=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&n.matches?"dark":"light"},Ha=()=>u5()=="dark",Ja=o=>(ct("data-v-243be5d3"),o=o(),ut(),o),p5={class:"title_box"},f5={class:"display_flex"},m5={class:"network_tag"},g5={class:"tag_item"},v5=Ja(()=>t("div",{class:"tag_dn"},null,-1)),b5={class:"tag_item"},h5=Ja(()=>t("div",{class:"tag_up"},null,-1)),_5={class:"speed"},x5={class:"speed_item"},w5={style:{color:"#1596fd"}},k5={class:"speed_item"},y5={style:{color:"#00a63e"}},F5=I({setup(o){const{$gettext:n}=J();Xe([Ma,La,Oa,ta,ea,Na]);const a=E(),l=_=>{var C;const x=(C=a.value)==null?void 0:C[_];return!x||x.startTime==0?"":p(x.startTime*1e3)+"-"+p(x.endTime*1e3)},c=Q(()=>{var x;let _=[];return(x=a.value)==null||x.forEach(C=>{_.push({value:C.uploadSpeed})}),_}),d=Q(()=>{var x;let _=[];return(x=a.value)==null||x.forEach(C=>{_.push({value:C.downloadSpeed})}),_}),u=Q(()=>{var x;let _="";if(a.value){let C=((x=a.value)==null?void 0:x.length)||0;if(C>0){let S=a.value[C-1];_=m(S.uploadSpeed)+"/s"}}return _}),k=Q(()=>{var x;let _="";if(a.value){let C=((x=a.value)==null?void 0:x.length)||0;if(C>0){let S=a.value[C-1];_=m(S.downloadSpeed)+"/s"}}return _});Q(()=>{var x;let _=[];return(x=a.value)==null||x.forEach(C=>{_.push({value:C.downloadSpeed+C.uploadSpeed})}),_});const g=()=>L(this,null,function*(){var _;try{const x=yield G.Network.Statistics.GET();if(x.data&&(_=x.data.result)!=null&&_.items){const C=x.data.result.slots||10;if(x.data.result.items.lengthC?a.value=x.data.result.items.slice(C-x.data.result.items.length):a.value=x.data.result.items}}catch(x){console.log(x)}}),p=Mt.dateForm,m=Mt.byteToSize,v=E(),b=E();let y=null,f=null,F=null;const w=_=>{const x=Ha();return y=aa(_,x?"dark":"light"),y.setOption({animation:!1,backgroundColor:x?"#2c2c2c":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:C=>{if(Array.isArray(C)){let S="";C.length>0&&(S=l(C[0].axisValue));for(let A=0;A${C[A].seriesName}: ${m(C[A].value)}/s`;return S.toString()}else{const S=C;return`${l(S.axisValue)}
${S.seriesName}: ${m(S.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:"",textStyle:{fontSize:12,color:x?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(C,S){return`${m(C)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:n("\u4E0B\u8F7D"),data:d.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:n("\u4E0A\u4F20"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),y},h=()=>{if(!y||!v.value)return;const _=Math.max(v.value.clientWidth,50),x=Math.max(v.value.clientHeight,50);y.resize({width:_,height:x})};return Pt(()=>{setTimeout(()=>L(this,null,function*(){if(v.value){yield g();const _=w(v.value),x=v.value;h(),F=()=>{h()},window.addEventListener("resize",F),"ResizeObserver"in window&&(f=new ResizeObserver(()=>{h()}),b.value&&f.observe(b.value),f.observe(x));const C=()=>L(this,null,function*(){if(y!=null){if(!document.hidden){if(yield g(),y==null)return;_.setOption({series:[{name:n("\u4E0B\u8F7D"),data:d.value,type:"line",areaStyle:{},smooth:!0},{name:n("\u4E0A\u4F20"),data:c.value,type:"line",areaStyle:{},smooth:!0}]}),h()}setTimeout(C,5e3)}});setTimeout(C,5e3)}}),900)}),Nt(()=>{y!=null&&(y.dispose(),y=null),F&&(window.removeEventListener("resize",F),F=null),f&&(f.disconnect(),f=null)}),(_,x)=>(r(),s("div",{class:"network_container",ref_key:"containerRef",ref:b},[t("div",p5,[t("div",f5,[Y(c5,{color:"#20c7f7",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u6D41\u91CF")),1)]),t("div",null,[t("div",m5,[t("div",g5,[v5,t("span",null,i(e(n)("\u4E0B\u8F7D")),1)]),t("div",b5,[h5,t("span",null,i(e(n)("\u4E0A\u4F20")),1)])])])]),t("div",_5,[t("div",x5,[t("span",null,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1),t("div",w5,i(e(k)),1)]),t("div",k5,[t("span",null,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1),t("div",y5,i(e(u)),1)])]),t("div",{ref_key:"el",ref:v,class:"echart"},null,512)],512))}});var Fa=N(F5,[["__scopeId","data-v-243be5d3"]]);const E5={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},$5=["fill"],Ea=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",E5,[t("path",{d:"M512 298.666667c-162.133333 0-285.866667 68.266667-375.466667 213.333333 89.6 145.066667 213.333333 213.333333 375.466667 213.333333s285.866667-68.266667 375.466667-213.333333c-89.6-145.066667-213.333333-213.333333-375.466667-213.333333z m0 469.333333c-183.466667 0-328.533333-85.333333-426.666667-256 98.133333-170.666667 243.2-256 426.666667-256s328.533333 85.333333 426.666667 256c-98.133333 170.666667-243.2 256-426.666667 256z m0-170.666667c46.933333 0 85.333333-38.4 85.333333-85.333333s-38.4-85.333333-85.333333-85.333333-85.333333 38.4-85.333333 85.333333 38.4 85.333333 85.333333 85.333333z m0 42.666667c-72.533333 0-128-55.466667-128-128s55.466667-128 128-128 128 55.466667 128 128-55.466667 128-128 128z",fill:o.color,"p-id":"5225"},null,8,$5)]))}}),C5={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},D5=["fill"],$a=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",C5,[t("path",{d:"M332.8 729.6l34.133333-34.133333c42.666667 12.8 93.866667 21.333333 145.066667 21.333333 162.133333 0 285.866667-68.266667 375.466667-213.333333-46.933333-72.533333-102.4-128-166.4-162.133334l29.866666-29.866666c72.533333 42.666667 132.266667 106.666667 183.466667 192-98.133333 170.666667-243.2 256-426.666667 256-59.733333 4.266667-119.466667-8.533333-174.933333-29.866667z m-115.2-64c-51.2-38.4-93.866667-93.866667-132.266667-157.866667 98.133333-170.666667 243.2-256 426.666667-256 38.4 0 76.8 4.266667 110.933333 12.8l-34.133333 34.133334c-25.6-4.266667-46.933333-4.266667-76.8-4.266667-162.133333 0-285.866667 68.266667-375.466667 213.333333 34.133333 51.2 72.533333 93.866667 115.2 128l-34.133333 29.866667z m230.4-46.933333l29.866667-29.866667c8.533333 4.266667 21.333333 4.266667 29.866666 4.266667 46.933333 0 85.333333-38.4 85.333334-85.333334 0-12.8 0-21.333333-4.266667-29.866666l29.866667-29.866667c12.8 17.066667 17.066667 38.4 17.066666 64 0 72.533333-55.466667 128-128 128-17.066667-4.266667-38.4-12.8-59.733333-21.333333zM384 499.2c4.266667-68.266667 55.466667-119.466667 123.733333-123.733333 0 4.266667-123.733333 123.733333-123.733333 123.733333zM733.866667 213.333333l29.866666 29.866667-512 512-34.133333-29.866667L733.866667 213.333333z",fill:o.color,"p-id":"5534"},null,8,D5)]))}}),B5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y5=["fill"],xe=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",B5,[t("path",{d:"M512 96c229.76 0 416 186.24 416 416S741.76 928 512 928 96 741.76 96 512 282.24 96 512 96z m-32 448l-127.317333 0.021333c0.896 20.48 2.624 40.405333 5.12 59.669334l1.984 14.293333 2.474666 15.253333c19.754667 112.896 65.728 197.738667 117.76 222.997334L480 544z m191.317333 0.021333L544 544v312.234667c50.858667-24.725333 95.936-106.368 116.373333-215.509334l1.365334-7.488 2.474666-15.232a701.013333 701.013333 0 0 0 7.104-73.984z m-382.698666 0H161.429333c11.648 129.066667 92.992 238.08 206.101334 289.066667-22.122667-34.282667-40.362667-76.416-53.76-124.032l-3.029334-11.093333-3.52-14.165334-3.242666-14.464a744.490667 744.490667 0 0 1-15.36-125.312z m573.952 0H735.36a752.661333 752.661333 0 0 1-12.672 112.128l-2.688 13.184-3.242667 14.464-3.52 14.186667c-13.653333 52.138667-32.96 98.197333-56.789333 135.104 113.109333-50.986667 194.453333-160 206.08-289.066667zM367.530667 190.890667l-2.858667 1.301333C253.013333 243.733333 172.970667 352 161.429333 480h127.189334c1.536-39.04 5.866667-76.693333 12.672-112.149333l2.688-13.184 3.242666-14.464 3.52-14.186667c13.653333-52.138667 32.96-98.197333 56.789334-135.104zM480 167.765333c-50.709333 24.618667-95.68 105.898667-116.202667 214.592l-1.536 8.405334-2.474666 15.232a701.034667 701.034667 0 0 0-7.104 74.005333H480V167.765333z m176.469333 23.146667l2.56 4.053333c20.906667 33.429333 38.229333 73.984 51.093334 119.552l3.136 11.52 3.52 14.165334 3.242666 14.464c8.362667 39.253333 13.632 81.408 15.36 125.333333h127.189334c-11.626667-129.088-92.970667-238.101333-206.101334-289.066667zM544 167.765333L544 480h127.317333a707.136 707.136 0 0 0-5.333333-61.376l-1.770667-12.629333-2.474666-15.232c-19.754667-112.874667-65.706667-197.717333-117.717334-222.997334z","p-id":"4600",fill:o.color},null,8,Y5)]))}}),A5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},S5=["fill"],z5=["fill"],P5=I({props:{color:{type:String,default:"#00a63e"}},setup(o){return(n,a)=>(r(),s("svg",A5,[t("path",{d:"M986.112 179.2c-12.288-12.288-31.744-12.288-44.032 0l-472.064 471.04-180.224-180.224c-12.288-12.288-31.744-12.288-44.032 0-12.288 12.288-12.288 31.744 0 44.032l202.752 201.728c6.144 6.144 12.288 9.216 22.528 9.216 9.216 0 15.36-3.072 22.528-9.216l494.592-492.544c10.24-12.288 10.24-31.744-2.048-44.032z",fill:o.color,"p-id":"11312"},null,8,S5),t("path",{d:"M1024 548.864c0-17.408-14.336-31.744-31.744-31.744-17.408 0-31.744 14.336-31.744 31.744C941.056 779.264 747.52 959.488 513.024 959.488 265.216 959.488 64.512 759.808 64.512 512c0-247.808 200.704-447.488 448.512-447.488 69.632 0 135.168 15.36 194.56 44.032h1.024c4.096 1.024 7.168 2.048 11.264 2.048 17.408 0 31.744-14.336 31.744-31.744 0-12.288-7.168-23.552-17.408-28.672C665.6 17.408 590.848 0 513.024 0 229.376 0 0 229.376 0 512s229.376 512 513.024 512c270.336 0 491.52-208.896 510.976-475.136z",fill:o.color,"p-id":"11313"},null,8,z5)]))}}),T5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},I5=["fill"],M5=I({props:{color:{type:String,default:"#e7000b"}},setup(o){return(n,a)=>(r(),s("svg",T5,[t("path",{d:"M511.9744 706.6624a57.2672 57.2672 0 0 1 56.96 57.5488c0 20.5568-10.8544 39.552-28.4672 49.8432a56.4736 56.4736 0 0 1-56.9856 0 57.6512 57.6512 0 0 1-28.4928-49.8432c0-31.7696 25.4976-57.5488 56.9856-57.5488zM190.1824 147.3024l2.4832 2.2272 614.4 614.4a30.72 30.72 0 0 1-40.96 45.696l-2.4832-2.2528-229.4528-229.504a189.6704 189.6704 0 0 0-180.864 83.8912 29.3376 29.3376 0 0 1-40.9344 7.3728 30.976 30.976 0 0 1-8.32-41.6768 248.8576 248.8576 0 0 1 170.624-109.056l-78.7968-78.7968a346.8288 346.8288 0 0 0-156.7744 112.128 29.4144 29.4144 0 0 1-50.944-8.4224 31.0784 31.0784 0 0 1 4.736-30.0544 406.9888 406.9888 0 0 1 156.1088-120.4736l-71.9872-72.0128a504.7808 504.7808 0 0 0-150.6816 120.32 29.2864 29.2864 0 0 1-41.9328 2.7904 31.0016 31.0016 0 0 1-2.9184-42.88 564.608 564.608 0 0 1 150.8608-124.928L149.2224 192.9472a30.72 30.72 0 0 1 40.96-45.6704z m321.792 211.6352a404.992 404.992 0 0 1 319.0528 154.368 30.976 30.976 0 0 1-4.3008 42.8288 29.184 29.184 0 0 1-41.9072-4.4032 345.984 345.984 0 0 0-229.7088-129.2032l-63.1552-63.104c6.656-0.3328 13.312-0.4864 20.0192-0.4864z m0-156.6976c166.1184 0 322.9952 72.448 430.4896 198.8608 10.752 12.672 9.472 31.872-2.8416 42.9312a29.184 29.184 0 0 1-42.0352-2.9184 505.344 505.344 0 0 0-385.6128-177.92 509.184 509.184 0 0 0-105.2672 11.008l-50.2272-50.2784A566.656 566.656 0 0 1 512 202.24z","p-id":"5359",fill:o.color},null,8,I5)]))}}),L5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},O5=["fill"],N5=["fill"],V5=["fill"],G5=I({props:{color:{type:String,default:"#f54900"}},setup(o){return(n,a)=>(r(),s("svg",L5,[t("path",{d:"M512 179.2l390.4 627.2H128l384-627.2m0-64c-19.2 0-44.8 12.8-51.2 32l-390.4 627.2c-25.6 44.8 6.4 96 51.2 96H896c51.2 0 83.2-57.6 51.2-96l-384-627.2c-6.4-19.2-32-32-51.2-32z",fill:o.color,"p-id":"4490"},null,8,O5),t("path",{d:"M512 640c-19.2 0-32-12.8-32-32v-192c0-19.2 12.8-32 32-32s32 12.8 32 32v192c0 19.2-12.8 32-32 32z",fill:o.color,"p-id":"4491"},null,8,N5),t("path",{d:"M512 723.2m-32 0a32 32 0 1 0 64 0 32 32 0 1 0-64 0Z",fill:o.color,"p-id":"4492"},null,8,V5)]))}}),j5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},U5=["fill"],Za=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",j5,[t("path",{d:"M511.3 116.7l339.1 193.8v387.6L511.3 891.9 172.2 698.1V310.5l339.1-193.8zM802 345.6L535.5 516.7v305.5L802 670V345.6z m-581.4 0.3V670l266.5 152.3V516.7L220.6 345.9z m434.1-87.3L401.1 405l110.3 71.4 248.9-161.5L658 256.4c-1.1 0.7-2.2 1.5-3.3 2.2z m-143.4-86L262.2 314.9l93.4 60.5c0.5-0.4 1.1-0.7 1.6-1l252.3-145.7-98.2-56.1z m0 0",fill:o.color,"p-id":"14790"},null,8,U5)]))}}),q5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},R5=["fill"],W5=["fill"],H5=["fill"],ze=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",q5,[t("path",{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6c-3.2 2.8-3.6 7.8-0.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4 0.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-0.9l36-42.9c2.8-3.3 2.4-8.3-0.9-11.2zM840.4 480.4C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4c-3.4 2.8-3.8 7.9-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3z","p-id":"5126",fill:o.color},null,8,R5),t("path",{d:"M957.1 341.4C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4-3.5 2.8-4 7.9-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3z","p-id":"5127",fill:o.color},null,8,W5),t("path",{d:"M512 778m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"5128",fill:o.color},null,8,H5)]))}}),J5=["onSubmit"],Z5={class:"actioner-dns_header"},K5={class:"actioner-dns_body"},Q5={class:"label-item"},X5={class:"label-item_key"},t3={class:"label-item_value"},e3=["disabled"],a3={value:"manual"},o3={class:"label-item"},n3={class:"label-item_key"},i3={class:"label-item_value"},r3=["placeholder","onUpdate:modelValue"],s3={class:"label-item_key"},d3={class:"label-item_value"},l3=["placeholder","onUpdate:modelValue"],c3={key:1,class:"label-message"},u3={class:"actioner-dns_footer"},p3=["disabled"],f3={key:1,class:"actioner-dns"},m3={class:"actioner-dns_header"},g3={class:"actioner-dns_body"},v3={class:"config-message"},b3={class:"actioner-dns_footer"},h3=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(0),d=Fe(),u=d.status,k=Q(()=>d.status.proto!="static"),g=()=>{let F=u.dnsList||[];for(F=F.filter(w=>w);F.length<2;)F.push("");return F},p=E({interfaceName:u.defaultInterface||"",dnsProto:u.dnsProto||"manual",manualDnsIp:g()}),m=E(""),v=E(!1),b=()=>L(this,null,function*(){m.value="";let F={};switch(p.value.dnsProto){case"auto":break;case"manual":if(F.manualDnsIp=[],!p.value.manualDnsIp[0]){$.Error(a("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}F.manualDnsIp=p.value.manualDnsIp.filter(h=>h);break}F.dnsProto=p.value.dnsProto,F.interfaceName=p.value.interfaceName;const w=$.Loading(a("\u914D\u7F6E\u4E2D..."));try{const h=yield G.Guide.DnsConfig.POST(F);if(h!=null&&h.data){const{success:_,error:x}=h==null?void 0:h.data;x&&(m.value=x),(_==null||_==0)&&($.Success(a("\u914D\u7F6E\u6210\u529F")),c.value=1)}}catch(h){m.value=h}w.Close()}),y=F=>{F.preventDefault(),n.Close&&n.Close()},f=F=>{location.reload()};return(F,w)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[c.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ft(b,["prevent"])},[t("div",Z5,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",K5,[t("div",Q5,[t("div",X5,[t("span",null,i(e(a)("DNS\u9009\u9879")),1)]),t("div",t3,[O(t("select",{"onUpdate:modelValue":w[0]||(w[0]=h=>p.value.dnsProto=h)},[t("option",{value:"auto",disabled:!e(k)},i(e(a)("\u81EA\u52A8\u83B7\u53D6DNS")),9,e3),t("option",a3,i(e(a)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[pt,p.value.dnsProto]])])]),p.value.dnsProto=="manual"?(r(!0),s(U,{key:0},tt(p.value.manualDnsIp,(h,_)=>(r(),s("div",o3,[_==0?(r(),s(U,{key:0},[t("div",n3,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",i3,[O(t("input",{type:"text",placeholder:e(a)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":x=>p.value.manualDnsIp[_]=x},null,8,r3),[[at,p.value.manualDnsIp[_],void 0,{trim:!0}]])])],64)):(r(),s(U,{key:1},[t("div",s3,i(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",d3,[O(t("input",{type:"text",placeholder:e(a)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":x=>p.value.manualDnsIp[_]=x},null,8,l3),[[at,p.value.manualDnsIp[_],void 0,{trim:!0}]])])],64))]))),256)):D("",!0),m.value?(r(),s("div",c3,i(m.value),1)):D("",!0)]),t("div",u3,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:v.value},i(e(a)("\u786E\u8BA4")),9,p3),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u53D6\u6D88")),1)])],40,J5)):c.value==1?(r(),s("div",f3,[t("div",m3,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",g3,[t("div",v3,i(e(a)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",b3,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},i(e(a)("\u5B8C\u6210")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var _3=N(h3,[["__scopeId","data-v-2ac87be2"]]);const Ka=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(_3,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},x3=["onSubmit"],w3={class:"actioner-dns_header"},k3={class:"actioner-dns_body"},y3={class:"label-item"},F3={class:"label-item_key"},E3={class:"label-item_value"},$3={class:"item_info"},C3={class:"label-item"},D3={class:"label-item_key"},B3={class:"label-item_value"},Y3={selected:"true",value:""},A3=["value"],S3={class:"actioner-dns_footer"},z3=["disabled"],P3={key:1,class:"actioner-dns"},T3={class:"actioner-dns_header"},I3={class:"softsource_tit"},M3={class:"actioner-dns_body"},L3={class:"finished"},O3={class:"successed"},N3={class:"btns"},V3=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(0),d=E(""),u=E(),k=E();(()=>{G.Guide.SoftSourceList.GET().then(b=>{var y,f;if((y=b==null?void 0:b.data)!=null&&y.result){const F=(f=b==null?void 0:b.data)==null?void 0:f.result;k.value=F}}).then(()=>G.Guide.GetSoftSource.GET()).then(b=>{var y,f;if((y=b==null?void 0:b.data)!=null&&y.result){const F=b.data.result;u.value=F.softSource,(f=k.value)!=null&&f.softSourceList.find(w=>w.identity==F.softSource.identity)&&(d.value=F.softSource.identity)}})})();const p=b=>{b.preventDefault(),n.Close&&n.Close()},m=b=>{const y=$.Loading(a("\u6B63\u5728\u5207\u6362\u4E2D..."));G.Guide.SoftSource.POST({softSourceIdentity:d.value}).then(f=>{if(f!=null&&f.data){if((f.data.success||0)==0){c.value=1;return}else if(f.data.error)throw f.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(f=>{$.Error(f)}).finally(()=>y.Close())},v=b=>{b.preventDefault(),location.reload()};return(b,y)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>{var f,F;return[c.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ft(m,["prevent"])},[t("div",w3,[t("span",null,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",k3,[t("div",y3,[t("div",F3,[t("span",null,i(e(a)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",E3,[t("p",$3,i((f=u.value)==null?void 0:f.name),1)])]),t("div",C3,[t("div",D3,[t("span",null,i(e(a)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",B3,[O(t("select",{name:"",id:"","onUpdate:modelValue":y[0]||(y[0]=w=>d.value=w)},[t("option",Y3,i(e(a)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(r(!0),s(U,null,tt((F=k.value)==null?void 0:F.softSourceList,(w,h)=>(r(),s("option",{value:w.identity,key:h},i(w.name),9,A3))),128))],512),[[pt,d.value,void 0,{trim:!0}]])])])]),t("div",S3,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:d.value==""},i(e(a)("\u786E\u8BA4")),9,z3),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},i(e(a)("\u53D6\u6D88")),1)])],40,x3)):D("",!0),c.value==1?(r(),s("form",P3,[t("div",T3,[t("span",I3,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",M3,[t("div",L3,[Y(ca)]),t("p",O3,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",N3,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:v},i(e(a)("\u786E\u5B9A")),1)])])])):D("",!0)]}),_:1},8,["Close"]))}});var G3=N(V3,[["__scopeId","data-v-2deed63d"]]);const Qa=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(G3,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},j3=o=>(ct("data-v-372519da"),o=o(),ut(),o),U3={class:"info_content"},q3={key:0,class:"status_box"},R3={class:"status_name"},W3={class:"status_time"},H3={key:1,class:"status_box"},J3={class:"flex"},Z3={class:"status_name"},K3={class:"dns-btn"},Q3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},X3={key:2,class:"status_box"},t8={class:"flex"},e8={class:"status_name"},a8={class:"dns-btn"},o8={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},n8={key:3,class:"status_box"},i8={class:"status_name"},r8={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},s8={key:4,class:"status_box"},d8={class:"status_name"},l8={class:"ip_info"},c8={class:"ip_item"},u8={class:"ip_action"},p8={class:"ip_tag"},f8={key:0,class:"ip_address"},m8={key:1,class:"ip_address"},g8={class:"ip_info"},v8={class:"ip_item"},b8=j3(()=>t("div",null,"IPv6",-1)),h8={key:0,class:"ip_action"},_8={key:1,class:"ip_tag"},x8={key:0,class:"ip_address"},w8={key:1,class:"ip_address"},k8={class:"ip_info",style:{"margin-bottom":"0"}},y8={class:"ip_item"},F8={class:"ip_address"},E8=I({setup(o){const{$gettext:n}=J(),a=Fe(),l=Pe(),c="***************************************",d=()=>{const x=E(!1),C=E(60);let S=null;const A=()=>{S!==null&&(clearInterval(S),S=null)},z=()=>{C.value>0?C.value--:A()},B=()=>{A(),S=setInterval(z,1e3)};$t(C,M=>{M===0&&(x.value=!1)});const H=()=>{x.value=!x.value,x.value?(C.value=60,B()):(C.value=60,A())};return Nt(A),{isShow:x,toggle:H}},{isShow:u,toggle:k}=d(),{isShow:g,toggle:p}=d(),m=Q(()=>a.status),v=()=>{Ka()},b=()=>{Qa()};Q(()=>a.deviceList);const y=gt({portList:[],load:!1}),f=x=>{switch(x){case"pppoe":return n("\u62E8\u53F7\u4E0A\u7F51");case"static":return n("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return x&&x.toUpperCase()},F=x=>{switch(x){case"manual":return n("\u624B\u52A8\u914D\u7F6E");case"auto":return n("\u81EA\u52A8\u83B7\u53D6");default:return""}},w=()=>{(y.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(x=>{if(x!=null&&x.data){const{result:C}=x==null?void 0:x.data;C&&(y.portList=C.ports||[])}})).finally(()=>{y.load=!0,setTimeout(w,1e4)})};w();const h=Mt.stampForm,_=()=>{l.push("/devicemanagement")};return(x,C)=>(r(),s("div",null,[Y(Wt,{title:e(n)("\u7F51\u7EDC\u8FDE\u63A5\u548CIP\u5730\u5740"),showSettings:!0},{settings:V(()=>[t("div",{class:"device-manage-btn",onClick:_},[Y(pa,{color:"#3a3a3a",class:"device-manage-icon"}),dt(" "+i(e(n)("\u8BBE\u5907\u7BA1\u7406")),1)])]),icon:V(()=>[Y(xe,{color:"#0a0a0a",class:"icon networkIcon"})]),default:V(()=>[t("div",U3,[e(m)!=null?(r(),s(U,{key:0},[e(m).networkInfo=="netSuccess"?(r(),s("div",q3,[t("div",R3,[Y(P5,{color:"#00a63e",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u8FDE\u63A5\u6B63\u5E38")),1)]),t("div",W3,i(e(h)(e(m).uptimeStamp)),1)])):e(m).networkInfo=="dnsFailed"?(r(),s("div",H3,[t("div",J3,[t("div",Z3,[Y(G5,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("DNS\u9519\u8BEF")),1)]),t("div",K3,[t("button",{class:"btn-primary",onClick:v},i(e(n)("DNS\u914D\u7F6E")),1)])]),t("div",Q3,i(e(h)(e(m).uptimeStamp)),1)])):e(m).networkInfo=="softSourceFailed"?(r(),s("div",X3,[t("div",t8,[t("div",e8,[Y(Za,{color:"#9810fa",style:{width:"1.5rem",height:"1.5rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1)]),t("div",a8,[t("button",{class:"btn-pink",onClick:b},i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])]),t("div",o8,i(e(h)(e(m).uptimeStamp)),1)])):e(m).networkInfo=="netFailed"?(r(),s("div",n8,[t("div",i8,[Y(M5,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u672A\u8054\u7F51")),1)]),t("div",r8,i(e(h)(e(m).uptimeStamp)),1)])):(r(),s("div",s8,[t("div",d8,[Y(ze,{color:"#d08700",class:"icon"}),t("span",null,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):D("",!0),t("div",l8,[t("div",c8,[t("div",null,"IPv4 \uFF08"+i(e(m).defaultInterface)+"\uFF09",1),t("div",u8,[t("div",p8,i(f(e(m).proto||"")),1),e(m).ipv4addr?(r(),s("div",{key:0,class:"ip_tag",style:{cursor:"pointer"},onClick:C[0]||(C[0]=(...S)=>e(k)&&e(k)(...S))},[e(u)?(r(),Z($a,{key:0})):(r(),Z(Ea,{key:1})),dt(" "+i(e(n)("\u5DF2\u542F\u7528")),1)])):D("",!0)])]),e(m).ipv4addr?(r(),s("div",f8,i(e(u)?e(m).ipv4addr:c),1)):(r(),s("div",m8,"-"))]),t("div",g8,[t("div",v8,[b8,e(m).ipv6addr?(r(),s("div",h8,[t("div",{class:"ip_tag",style:{cursor:"pointer"},onClick:C[1]||(C[1]=(...S)=>e(p)&&e(p)(...S))},[e(g)?(r(),Z($a,{key:0})):(r(),Z(Ea,{key:1})),dt(" "+i(e(n)("\u5DF2\u542F\u7528")),1)])])):(r(),s("div",_8,i(e(n)("\u672A\u542F\u7528")),1))]),e(m).ipv6addr?(r(),s("div",x8,i(e(g)?e(m).ipv6addr:c),1)):(r(),s("div",w8,"-"))]),t("div",k8,[t("div",y8,[t("div",null,"DNS\uFF08"+i(F(e(m).dnsProto))+"\uFF09",1)]),(r(!0),s(U,null,tt(e(m).dnsList,S=>(r(),s("div",F8,i(S),1))),256))])])]),_:1},8,["title"])]))}});var $8=N(E8,[["__scopeId","data-v-372519da"]]);const C8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},D8=["fill"],Ca=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",C8,[t("path",{d:"M170.666667 647.253333a128.042667 128.042667 0 1 0 85.333333 0V256c0-71.850667 49.109333-128 106.666667-128S469.333333 184.149333 469.333333 256v512c0 116.650667 84.608 213.333333 192 213.333333s192-96.682667 192-213.333333V376.746667a128.042667 128.042667 0 1 0-85.333333 0V768c0 71.850667-49.109333 128-106.666667 128S554.666667 839.850667 554.666667 768V256c0-116.650667-84.608-213.333333-192-213.333333S170.666667 139.349333 170.666667 256v391.253333zM768 256a42.666667 42.666667 0 1 1 85.333333 0 42.666667 42.666667 0 0 1-85.333333 0zM213.333333 810.666667a42.666667 42.666667 0 1 1 0-85.333334 42.666667 42.666667 0 0 1 0 85.333334z",fill:o.color,"p-id":"39967"},null,8,D8)]))}}),B8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y8=["fill"],fa=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",B8,[t("path",{d:"M680.64 960a61.184 61.184 0 0 1-44.864-19.072c-14.72-16.192-61.568-58.24-99.84-58.24-38.016 0-85.504 42.24-99.2 57.088a61.184 61.184 0 0 1-67.328 14.08l-1.28-0.448-116.352-65.088-1.152-0.832a55.872 55.872 0 0 1-18.752-67.456c0.064-0.192 10.752-24.768 10.752-47.232a123.52 123.52 0 0 0-123.392-123.328h-4.864c-19.52 0-35.392-17.28-40.448-44.096C73.6 603.2 64 552.384 64 512.384c0-40.064 9.536-90.88 9.92-92.992 5.12-27.136 21.376-44.544 41.152-44.096h4.16A123.52 123.52 0 0 0 242.56 251.904c0-22.4-10.688-46.976-10.816-47.232a55.68 55.68 0 0 1 18.944-67.392l1.216-0.832L374.72 68.992l1.28-0.576a62.336 62.336 0 0 1 67.2 13.888c14.528 15.296 60.48 54.848 97.664 54.848 36.8 0 82.496-38.784 96.96-53.76a62.336 62.336 0 0 1 67.264-13.44l1.28 0.64 118.592 65.92 1.152 0.768a55.808 55.808 0 0 1 18.816 67.456c-0.064 0.192-10.752 24.768-10.752 47.168a123.52 123.52 0 0 0 123.392 123.392h4.096c19.84-0.448 36.096 16.96 41.216 44.096 0.384 2.112 9.92 52.928 9.92 92.992 0 40-9.536 90.88-9.92 92.992-5.12 27.136-21.376 44.48-41.216 44.096h-4.096A123.52 123.52 0 0 0 834.176 772.8c0 22.4 10.688 47.04 10.752 47.232a55.808 55.808 0 0 1-18.816 67.456l-1.216 0.832-120.64 66.624-1.28 0.576a56.32 56.32 0 0 1-22.4 4.48z m-3.648-56.832a7.68 7.68 0 0 0 3.84 0.96l112.704-62.336c-2.688-6.272-15.168-36.992-15.168-68.928a179.456 179.456 0 0 1 169.856-179.008c1.344-7.552 8.768-49.792 8.768-81.472 0-31.68-7.424-73.92-8.768-81.472a179.456 179.456 0 0 1-169.856-179.008c0-32 12.48-62.72 15.168-68.992L682.688 121.28h-0.448c-1.92 0-3.648 0.64-4.288 1.088-1.856 1.92-17.92 18.24-40.96 34.432-34.24 24.064-66.56 36.224-96.064 36.224-29.888 0-62.464-12.416-96.832-36.928a313.792 313.792 0 0 1-41.216-35.072 8.832 8.832 0 0 0-4.736-1.152l-114.816 63.104c2.752 6.4 15.168 36.992 15.168 68.928A179.456 179.456 0 0 1 128.64 430.912c-1.344 7.552-8.768 49.792-8.768 81.472 0 31.68 7.424 73.92 8.768 81.408A179.456 179.456 0 0 1 298.496 772.8c0 32.128-12.544 62.912-15.232 69.12L392 902.72a7.68 7.68 0 0 0 3.84-0.896c2.048-2.24 18.304-19.456 41.6-36.608 34.944-25.536 68.032-38.464 98.56-38.464 30.72 0 64.064 13.184 99.2 39.232 23.488 17.472 39.744 34.944 41.792 37.184zM536.32 676.032a164.48 164.48 0 0 1-164.288-164.288A164.48 164.48 0 0 1 536.32 347.52a164.48 164.48 0 0 1 164.352 164.288A164.48 164.48 0 0 1 536.32 676.096z m0-272.64c-59.776 0-108.352 48.64-108.352 108.352 0 59.776 48.64 108.416 108.352 108.416 59.84 0 108.416-48.64 108.416-108.416 0-59.776-48.64-108.416-108.416-108.416z",fill:o.color,"p-id":"4508"},null,8,Y8)]))}}),A8=["value","checked","onChange"],S8={class:"content"},z8=["onMouseenter"],P8={class:"name"},T8={key:0,class:"speed",style:{background:"#f3f4f6",color:"#4a5565"}},I8={style:{display:"flex","align-items":"center"}},M8={key:0,class:"status"},L8={key:1,class:"status"},O8={key:2,class:"speed",style:{"margin-left":"6px"}},N8=I({setup(o){const{$gettext:n}=J(),a=Pe(),l=E(!1),c=ra(),d=gt({portList:[],load:!1}),u=()=>{a.push("/interfaceconfig")},k=(h,_)=>{localStorage.setItem(h,JSON.stringify(_))},g=h=>{const _=localStorage.getItem(h);try{return _?JSON.parse(_):[]}catch(x){return[]}},p="checkedPorts",m=E(g(p)),v=E([]),b=()=>{(d.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(h=>{if(h!=null&&h.data){const{result:_}=h==null?void 0:h.data;_&&(d.portList=_.ports||[],v.value=_.ports||[])}})).finally(()=>{d.load=!0,setTimeout(b,1e4)})};b(),$t(m,h=>{v.value=d.portList.filter(_=>h.includes(_.name)),console.log(h,"newVal"),k(p,h)});const y=(h,_)=>{_.target.checked?m.value.includes(h)||(m.value=[...m.value,h]):m.value.length>1?m.value=m.value.filter(x=>x!==h):($.Warning(n("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A\u7F51\u7EDC\u63A5\u53E3\uFF01")),_.target.checked=!0)},f=E(null),F=(h,_)=>{c.portitemStyle.show=!0;const x=_==null?void 0:_.target;if(x){const{left:C,top:S}=x.getBoundingClientRect();c.portitemStyle.left=C,c.portitemStyle.top=S}c.portitemStyle.portitem=h},w=()=>{c.portitemStyle.show=!1};return(h,_)=>(r(),Z(Wt,{title:e(n)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001"),showSettings:!0,"is-settings-menu-open":l.value,"onUpdate:isSettingsMenuOpen":_[0]||(_[0]=x=>l.value=x)},{icon:V(()=>[Y(Ca,{color:"#0a0a0a",class:"icon interfaceIcon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:u},[Y(fa,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u7F51\u7EDC\u63A5\u53E3")),1)])]),"settings-menu":V(()=>[t("div",null,[(r(!0),s(U,null,tt(e(d).portList,x=>(r(),s("div",{key:x.name,class:"row"},[t("input",{type:"checkbox",value:x.name,checked:m.value.includes(x.name),onChange:C=>y(x.name,C)},null,40,A8),t("span",null,i(x.name),1)]))),128))])]),default:V(()=>[t("div",S8,[e(d).load?(r(!0),s(U,{key:0},tt(e(d).portList,x=>(r(),s("div",{class:"item",ref_for:!0,ref_key:"el",ref:f,onMouseenter:C=>F(x,C),onMouseleave:w},[t("div",{class:"icon_box",style:ht({backgroundColor:x.linkState=="DOWN"?"#f3f4f6":"#dbfce7"})},[Y(Ca,{color:x.linkState=="DOWN"?"#99a1af":"#00a63e",class:"icon2"},null,8,["color"])],4),t("div",null,[t("div",P8,[dt(i(x.name)+" "+i(x.interfaceNames?`(${x.interfaceNames.join(",").toLocaleUpperCase()})`:""),1),x.linkState=="DOWN"?(r(),s("div",T8,i(e(n)("\u5DF2\u65AD\u5F00")),1)):D("",!0)]),t("div",I8,[x.linkState=="DOWN"?(r(),s("div",M8,i(e(n)("\u672A\u8FDE\u63A5")),1)):(r(),s("div",L8,i(e(n)("\u5DF2\u8FDE\u63A5")),1)),x.linkSpeed?(r(),s("div",O8,i(x.linkSpeed),1)):D("",!0)])])],40,z8))),256)):D("",!0)])]),_:1},8,["title","is-settings-menu-open"]))}});var Da=N(N8,[["__scopeId","data-v-2988896b"]]);const V8={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none",width:"32",height:"32"},G8=["fill"],j8=["fill"],U8=["fill"],q8=["fill"],R8=I({props:{color:{type:String,default:"#ffffff"}},setup(o){return(n,a)=>(r(),s("svg",V8,[t("path",{d:"M384 480 96 480C44.8 480 0 435.2 0 384L0 96C0 44.8 44.8 0 96 0L384 0c51.2 0 96 44.8 96 96L480 384C480 435.2 435.2 480 384 480z",fill:o.color,"p-id":"6495"},null,8,G8),t("path",{d:"M384 1024 96 1024C44.8 1024 0 979.2 0 928L0 640c0-51.2 44.8-96 96-96L384 544c51.2 0 96 44.8 96 96l0 281.6C480 979.2 435.2 1024 384 1024z",fill:o.color,"p-id":"6496"},null,8,j8),t("path",{d:"M787.2 1024 787.2 1024c-134.4 0-243.2-108.8-243.2-236.8l0 0c0-134.4 108.8-236.8 236.8-236.8l0 0c134.4 0 236.8 108.8 236.8 236.8l0 0C1024 915.2 915.2 1024 787.2 1024z",fill:o.color,"p-id":"6497"},null,8,U8),t("path",{d:"M928 480 640 480C588.8 480 544 435.2 544 384L544 96C544 44.8 588.8 0 640 0l281.6 0C979.2 0 1024 44.8 1024 96L1024 384C1024 435.2 979.2 480 928 480z",fill:o.color,"p-id":"6498"},null,8,q8)]))}}),W8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},H8=["fill"],J8=["fill"],Z8=["fill"],K8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",W8,[t("path",{d:"M123.92 555.9a32 32 0 0 1-14.82-60.38l719.19-374.9a32 32 0 0 1 29.59 56.76l-719.2 374.89a31.87 31.87 0 0 1-14.76 3.63z",fill:o.color,"p-id":"5084"},null,8,H8),t("path",{d:"M608.6 957.7a32 32 0 0 1-30.6-41.27l234.64-776.34a32 32 0 0 1 61.26 18.52L639.22 935a32 32 0 0 1-30.62 22.7zM505.92 580.44c-0.68 0-1.36 0-2.05-0.07l-381.46-24.12a32 32 0 1 1 4-63.88l381.5 24.13a32 32 0 0 1-2 63.94z",fill:o.color,"p-id":"5085"},null,8,J8),t("path",{d:"M608.14 957.32a32 32 0 0 1-30.87-23.63L475 556.82a32 32 0 1 1 61.77-16.76L639 916.93a32 32 0 0 1-22.51 39.26 31.61 31.61 0 0 1-8.35 1.13z",fill:o.color,"p-id":"5086"},null,8,Z8)]))}}),Q8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},X8=["fill"],t4=["fill"],e4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Q8,[t("path",{d:"M748 469.97l-283.81 248.1c-3.96 1.98-5.94 5.94-9.9 9.9-17.82 29.71-9.9 67.34 19.8 85.16 29.71 15.84 65.35 5.94 83.18-21.79L757.9 477.89c1.98-5.95-3.96-11.88-9.9-7.92z","p-id":"9627",fill:o.color},null,8,X8),t("path",{d:"M512 181.96c-247.23 0-448.35 201.13-448.35 448.34 0 63.85 13.31 125.74 39.59 183.94 10.72 23.74 38.61 34.37 62.41 23.59 23.74-10.72 34.31-38.67 23.59-62.41C168.5 729.5 158 680.67 158 630.3c0-195.18 158.8-353.99 354-353.99 195.18 0 354 158.8 354 353.99 0 50.37-10.5 99.2-31.24 145.12-10.72 23.74-0.15 51.69 23.59 62.41 6.3 2.86 12.9 4.18 19.38 4.18 17.97 0 35.17-10.32 43.03-27.76 26.26-58.2 39.59-120.09 39.59-183.94 0-247.23-201.14-448.35-448.35-448.35z","p-id":"9628",fill:o.color},null,8,t4)]))}}),a4={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},o4=["fill"],n4=["fill"],i4=["fill"],r4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",a4,[t("path",{d:"M880.213333 395.093333a31.786667 31.786667 0 0 1-26.88-15.573333 385.706667 385.706667 0 0 0-91.52-104.32 32.426667 32.426667 0 0 1-5.12-45.013333 32 32 0 0 1 45.013334-5.12 449.92 449.92 0 0 1 106.666666 121.6A31.786667 31.786667 0 0 1 896 390.4a30.293333 30.293333 0 0 1-15.786667 4.693333zM165.12 395.093333A30.293333 30.293333 0 0 1 149.333333 390.4a31.786667 31.786667 0 0 1-11.093333-43.733333A450.56 450.56 0 0 1 522.666667 128a32 32 0 0 1 0 64A386.56 386.56 0 0 0 192 379.52a31.786667 31.786667 0 0 1-26.88 15.573333z","p-id":"17913",fill:o.color},null,8,o4),t("path",{d:"M565.333333 341.333333a32 32 0 0 1 0-64A101.76 101.76 0 0 0 661.333333 170.666667a101.76 101.76 0 0 0-96-106.666667 32 32 0 0 1 0-64A165.76 165.76 0 0 1 725.333333 170.666667a165.76 165.76 0 0 1-160 170.666666zM522.666667 1024C362.666667 1024 220.8 936.106667 139.946667 787.84 61.013333 776.746667 0 700.373333 0 608 0 507.946667 71.68 426.666667 160 426.666667a32 32 0 0 1 0 64C106.666667 490.666667 64 543.36 64 608S106.666667 725.333333 160 725.333333a31.786667 31.786667 0 0 1 28.586667 17.706667C256 878.933333 381.653333 960 522.666667 960a384 384 0 0 0 354.56-236.373333 31.146667 31.146667 0 0 1 14.506666-16 106.666667 106.666667 0 0 0 57.6-99.626667c0-64-42.666667-117.333333-96-117.333333a32 32 0 0 1 0-64c88.32 0 160 81.28 160 181.333333a170.666667 170.666667 0 0 1-81.706666 150.613333A448 448 0 0 1 522.666667 1024z","p-id":"17914",fill:o.color},null,8,n4),t("path",{d:"M394.666667 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM629.333333 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM512 822.186667A131.2 131.2 0 0 1 391.466667 746.666667a32 32 0 1 1 58.24-26.453334 70.186667 70.186667 0 0 0 124.586666 0A32 32 0 1 1 632.533333 746.666667 131.2 131.2 0 0 1 512 822.186667z","p-id":"17915",fill:o.color},null,8,i4)]))}}),s4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},d4=["fill"],l4=["fill"],c4=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",s4,[t("path",{d:"M771.328 320.896H258.986667a64 64 0 0 0-63.701334 57.856l-41.386666 427.178667a64 64 0 0 0 57.472 69.888l5.12 0.256h590.592a64 64 0 0 0 64-64l-0.170667-4.394667-35.797333-428.117333a64 64 0 0 0-63.786667-58.666667z m-512.341333 42.666667h512.341333a21.333333 21.333333 0 0 1 21.290667 19.584l35.712 427.178666 0.085333 2.688c0 10.88-9.557333 20.437333-21.333333 20.437334H217.557333l-3.072-0.170667a21.162667 21.162667 0 0 1-18.176-23.210667l41.472-427.221333a21.333333 21.333333 0 0 1 21.205334-19.285333z",fill:o.color,"p-id":"8134"},null,8,d4),t("path",{d:"M685.013333 429.312a21.333333 21.333333 0 0 1 21.333334 21.333333 194.346667 194.346667 0 1 1-388.693334 0 21.333333 21.333333 0 1 1 42.666667 0 151.68 151.68 0 0 0 303.36 0 21.333333 21.333333 0 0 1 21.333333-21.333333zM512 147.882667a194.346667 194.346667 0 0 1 194.346667 194.346666 21.333333 21.333333 0 1 1-42.666667 0 151.68 151.68 0 1 0-303.36 0 21.333333 21.333333 0 1 1-42.666667 0A194.346667 194.346667 0 0 1 512 147.882667z",fill:o.color,"p-id":"8135"},null,8,l4)]))}}),u4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},p4=["fill"],f4=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),s("svg",u4,[t("path",{d:"M353.323071 246.407016L620.37222 510.637979l-265.320785 268.146133c-11.776208 11.775184-11.73425201 30.908964 0.091074 42.73429l0.001023 0c11.825326 11.82635 30.958082 11.867282 42.72815-2.930749L680.899758 535.559579c3.817955-4.273327 8.205892-9.321296 8.933463-12.045337 4.470825-11.112082 2.232854-24.76503301-6.710842-35.987632l-286.98213-286.98213c-11.875468-8.847505-31.096229-8.893554-42.922578 2.932796C341.393367 215.303624 341.439416 234.523361 353.323071 246.407016z","p-id":"5051",fill:o.color},null,8,p4)]))}}),m4={class:"header"},g4={class:"icon-wrapper"},v4={class:"content"},b4={class:"title"},h4={class:"subtitle"},_4={class:"footer"},x4={key:1,class:"extra"},w4={key:2,class:"extra badge"},k4={class:"extra_num"},y4={key:3,class:"badge"},F4=I({props:{card:{type:Object,required:!0}},setup(o){const{$gettext:n}=J(),a={navigation:{component:K8,props:{color:"#ffffff"}},wifi:{component:ze,props:{color:"#ffffff"}},topology:{component:pa,props:{color:"#ffffff"}},speed:{component:e4,props:{color:"#ffffff"}},baby:{component:r4,props:{color:"#ffffff"}},appStore:{component:c4,props:{color:"#ffffff"}}};return(l,c)=>(r(),s("div",{class:lt(["feature-card",o.card.color]),onClick:c[0]||(c[0]=d=>l.$emit("click",o.card))},[t("div",null,[t("div",m4,[t("div",g4,[Yt(l.$slots,"icon",{},()=>{var d;return[o.card.icon&&a[o.card.icon]?(r(),Z(oa((d=a[o.card.icon])==null?void 0:d.component),yo({key:0},a[o.card.icon].props,{class:"icon-svg"}),null,16)):D("",!0)]},!0)])]),t("div",v4,[t("div",b4,i(o.card.title),1),t("div",h4,i(o.card.subtitle),1)]),t("div",_4,[o.card.status?(r(),s("span",{key:0,class:lt(["status",{active:o.card.isActive}])},i(o.card.status),3)):D("",!0),o.card.extra?(r(),s("div",x4,i(o.card.extra),1)):D("",!0),o.card.num?(r(),s("div",w4,[t("span",k4,i(o.card.num),1),dt(" "+i(e(n)("\u53F0\u8BBE\u5907\u5728\u7EBF")),1)])):D("",!0),o.card.tag?(r(),s("span",y4,i(o.card.tag),1)):D("",!0)])]),Y(f4,{class:"right-arrow",color:"#99a1af"})],2))}});var E4=N(F4,[["__scopeId","data-v-5c684447"]]);const $4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},C4=["fill"],D4=["fill"],B4=["fill"],Y4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",$4,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,C4),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,D4),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,B4)]))}}),A4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},S4=["fill"],z4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",A4,[t("path",{d:"M853.333333 768a42.666667 42.666667 0 0 1 0 85.333333h-341.333333a42.666667 42.666667 0 0 1 0-85.333333h341.333333zM200.832 183.168L426.666667 409.002667l30.165333 30.165333a42.666667 42.666667 0 0 1 0 60.330667l-14.634667 14.634666-241.365333 241.365334a42.666667 42.666667 0 1 1-60.330667-60.330667l225.792-225.877333-225.792-225.792a42.666667 42.666667 0 0 1 60.330667-60.330667z",fill:o.color,"p-id":"5439"},null,8,S4)]))}}),P4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},T4=["fill"],I4=["fill"],Ze=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",P4,[t("path",{d:"M531.216667 77.336366c0 0-8.147564-10.313903-16.938788-10.709923-8.791224-0.396019-18.070564 9.133008-18.070564 9.133008-96.577592 77.010955-246.112304 97.021707-345.075223 110.281709 0 0-14.838963 2.062985-22.257933 3.094478-11.189853 1.555425-21.184485 3.125177-27.569916 8.241708-6.385431 5.117554-5.999644 18.659989-5.999644 18.659989 0 476.176097 84.005252 627.530246 410.888138 736.639247 0 0 4.438079 1.619894 8.085142 1.373277 3.647063-0.042979 7.195889-1.980097 7.195889-1.980097 324.821947-108.462271 408.826176-259.857353 408.826176-736.033449 0 0-1.264806-13.920034-6.709819-18.659989-5.445012-4.739954-13.812587-6.433526-24.073278-7.864108-8.308223-1.157359-24.923646-3.473101-24.923646-3.473101C775.550465 172.782182 626.055662 152.771429 531.216667 77.336366zM486.388692 884.038318c-260.550131-96.030124-328.494593-228.237191-332.62875-628.806309-0.045025-4.400217 0.357134-6.599302 1.663896-8.667404 1.306762-2.068102 3.713578-2.836605 3.713578-2.836605 91.436502-12.233626 223.901443-29.972639 328.759629-91.828428 8.445346-4.982478 17.749246-11.634991 25.087375-11.634991 7.338129 0 15.890922 6.689353 24.289196 11.686157 103.57496 61.632709 234.845703 79.437214 327.058894 91.777263 0 0 4.41659 0.768503 5.910617 2.836605 1.494027 2.068102 2.324952 4.094248 2.309602 6.16542-2.819209 380.861264-55.186903 527.575744-329.520969 630.016881-9.733689 3.634784-19.105127 8.231475-27.533077 8.231475C507.070734 890.978381 495.039723 887.22694 486.388692 884.038318z",fill:o.color,"p-id":"5082"},null,8,T4),t("path",{d:"M763.882728 456.981942c-32.383548 146.597823-101.757568 233.810117-243.305375 299.834856-14.22191 1.440815-25.321712 13.450337-25.321712 28.051893 0 15.572674 12.624529 28.197202 28.197202 28.197202 4.321422 0 8.41567-0.972141 12.076036-2.709715l0.143263 0.393973c158.820192-71.15048 242.084571-167.561273 280.661168-345.308537 0.969071-2.781346 1.496074-5.7694 1.496074-8.881274 0-14.898315-12.07706-26.975375-26.975375-26.975375-14.898315 0-26.975375 12.07706-26.975375 26.975375C763.878634 456.701556 763.879658 456.841749 763.882728 456.981942z",fill:o.color,"p-id":"5083"},null,8,I4)]))}}),M4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},L4=["fill"],O4=["fill"],Xa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",M4,[t("path",{d:"M762 942H262c-71.68 0-130-58.32-130-130V212c0-71.68 58.32-130 130-130h350c16.56 0 30 13.43 30 30v151.56c0 38.59 31.41 70 70 70h150c16.56 0 30 13.43 30 30V812c0 71.68-58.32 130-130 130zM262 142c-38.59 0-70 31.41-70 70v600c0 38.59 31.41 70 70 70h500c38.59 0 70-31.41 70-70V393.57H712c-71.68 0-130-58.32-130-130V142H262z","p-id":"13142",fill:o.color},null,8,L4),t("path",{d:"M862 393.57H712c-71.68 0-130-58.32-130-130V112c0-12.15 7.32-23.11 18.55-27.73a29.938 29.938 0 0 1 32.71 6.59l250 251.56c8.55 8.59 11.07 21.47 6.43 32.67s-15.58 18.48-27.69 18.48zM642 184.75v78.82c0 38.59 31.41 70 70 70h77.89L642 184.75zM487 379.5H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h175c16.57 0 30 13.43 30 30s-13.43 30-30 30zM712 542H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h400c16.56 0 30 13.43 30 30s-13.44 30-30 30zM712 704.5H312c-16.57 0-30-13.44-30-30s13.43-30 30-30h400c16.56 0 30 13.44 30 30s-13.44 30-30 30z","p-id":"13143",fill:o.color},null,8,O4)]))}}),to=/\d+\.\d+\.\d+\.\d+/,N4=o=>to.test(o)&&ye.IPv4.isValid(o),qt=o=>{const n=ye.IPv4.parse(o).toByteArray();return n[0]<<24|n[1]<<16|n[2]<<8|n[3]},Ba=o=>ye.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),V4=o=>{if(!to.test(o)||!ye.IPv4.isIPv4(o))return!1;let n=0,a=qt(o);for(let l=31;l>=0&&(a&1<{let c=qt(o)&qt(n),d=qt(a),u=qt(l),g=~qt(n);return dc+1&&u{let a=qt(n),l=qt(o)&a,c=~a,d;return c>=105?(d=l|c-5,l=l|100):c>=3?(d=l|c-1,l=l|2):(l=l|1,d=l),[Ba(l),Ba(d)]},U4=o=>ye.IPv4.subnetMaskFromPrefixLength(o).toString();var Lt={isValidMask:V4,isValidIPv4:N4,isValidMaskRange:G4,calcMaskRange:j4,prefixToMask:U4};const ma=o=>(ct("data-v-0d919a1e"),o=o(),ut(),o),q4=["onSubmit"],R4={class:"actioner-dns_header"},W4={class:"actioner-dns_body"},H4={class:"label-item"},J4={class:"label-item_key"},Z4={class:"label-item_value"},K4={class:"label-item"},Q4={class:"label-item_key"},X4={class:"label-item_value"},tp={key:0,class:"chose_dhcp"},ep={key:0,class:"dhcp_info"},ap={key:1,class:"dhcp_info"},op={class:"label-item"},np={class:"label-item_key"},ip={class:"label-item_value"},rp={class:"label-item"},sp={class:"label-item_key"},dp={class:"label-item_value"},lp={class:"actioner-dns_footer"},cp=["disabled"],up={key:1,class:"actioner-dns"},pp={class:"actioner-dns_header"},fp={class:"actioner-dns_body"},mp={key:0,class:"setting_status"},gp=ma(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),vp={class:"config-message"},bp=["href"],hp={key:1,class:"setting_status"},_p=ma(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),xp={class:"config-message"},wp={key:2,class:"setting_status"},kp=ma(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),yp={class:"config-message"},Fp=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(0),d=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const u=E(!1);E(!0),E(!1);const k=E(""),g=E(2),p=E(!1),m=E("timeout");let v=!0;(()=>{G.Guide.GetLan.GET().then(h=>{h.data.result&&(p.value=h.data.result.enableDhcp||!1,h.data.result.enableDhcp=!1,d.value=h.data.result,h.data.result.lanIp!==location.hostname&&(v=!1))})})();const y=()=>{const h=d.value;if(!Lt.isValidIPv4(h.lanIp)){$.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Lt.isValidMask(h.netMask)){$.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const _=Lt.calcMaskRange(h.lanIp,h.netMask);h.dhcpStart=_[0],h.dhcpEnd=_[1],d.value=h},f=()=>{const h=d.value;if(!Lt.isValidIPv4(h.lanIp)){$.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Lt.isValidMask(h.netMask)){$.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(h.enableDhcp&&!(Lt.isValidIPv4(h.dhcpStart)&&Lt.isValidIPv4(h.dhcpEnd)&&Lt.isValidMaskRange(h.lanIp,h.netMask,h.dhcpStart,h.dhcpEnd))){$.Warning(a("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const _=$.Loading(a("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let x=0;const C=A=>{m.value=A,c.value=1,x=1,_.Close()},S=()=>{const A=new Date().getTime()+3e4,z=v?location.protocol+"//"+h.lanIp+(location.port?":"+location.port:""):location.origin,B=z+"/luci-static/resources/icons/loading.gif",H=()=>{x==0&&(new Date().getTime()>A?C("timeout"):window.setTimeout(q,2e3))},M=()=>{x==0&&(k.value=z+location.pathname,C("success"),window.setTimeout(()=>{g.value=1},1e3),window.setTimeout(()=>{location.href=k.value},2e3))},q=()=>{if(x!=0)return;console.log("check online ",B);const T=new Image;T.onload=M,T.onerror=H,T.src=B};window.setTimeout(q,5e3)};G.Guide.LanIp.POST(h).then(A=>{var z;if(A!=null&&A.data){if((A.data.success||0)==0)return;if((z=A.data)!=null&&z.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{x==0&&(C("fail"),$.Error(A))}),S(),window.setTimeout(()=>{x==0&&C("timeout")},3e4)},F=h=>{h.preventDefault(),n.Close&&n.Close()},w=h=>{location.reload()};return(h,_)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[c.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ft(f,["prevent"])},[t("div",R4,[t("span",null,i(e(a)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",W4,[t("div",H4,[t("div",J4,[t("span",null,i(e(a)("IPv4\u5730\u5740")),1)]),t("div",Z4,[O(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":_[0]||(_[0]=x=>d.value.lanIp=x),onChange:y},null,544),[[at,d.value.lanIp,void 0,{trim:!0}]])])]),t("div",K4,[t("div",Q4,[t("span",null,i(e(a)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",X4,[O(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":_[1]||(_[1]=x=>d.value.netMask=x),onChange:y},null,544),[[at,d.value.netMask,void 0,{trim:!0}]])])]),p.value?(r(),s("div",tp,[Y(qa,{modelValue:d.value.enableDhcp,"onUpdate:modelValue":_[2]||(_[2]=x=>d.value.enableDhcp=x)},{default:V(()=>[d.value.enableDhcp?(r(),s("span",ep,i(e(a)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(r(),s("span",ap,i(e(a)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):D("",!0),d.value.enableDhcp?(r(),s(U,{key:1},[t("div",op,[t("div",np,[t("span",null,i(e(a)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",ip,[O(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":_[3]||(_[3]=x=>d.value.dhcpStart=x)},null,512),[[at,d.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",rp,[t("div",sp,[t("span",null,i(e(a)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",dp,[O(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":_[4]||(_[4]=x=>d.value.dhcpEnd=x)},null,512),[[at,d.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):D("",!0)]),t("div",lp,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},i(e(a)("\u786E\u8BA4")),9,cp),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:F},i(e(a)("\u53D6\u6D88")),1)])],40,q4)):c.value==1?(r(),s("div",up,[t("div",pp,[t("span",null,i(e(a)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",fp,[m.value=="success"?(r(),s("div",mp,[gp,t("div",vp,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:k.value,class:"NewAdress"},i(e(a)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+g.value})),9,bp)])):m.value=="fail"?(r(),s("div",hp,[_p,t("div",xp,i(e(a)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,i(e(a)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w},i(e(a)("\u6211\u77E5\u9053\u4E86")),1)])):m.value=="timeout"?(r(),s("div",wp,[kp,t("div",yp,i(e(a)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,i(e(a)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w},i(e(a)("\u5237\u65B0\u9875\u9762")),1)])):D("",!0)])])):D("",!0)]),_:1},8,["Close"]))}});var Ep=N(Fp,[["__scopeId","data-v-0d919a1e"]]);const $p=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(Ep,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},Cp={key:0,class:"actioner-dns"},Dp={class:"actioner-dns_header"},Bp={class:"actioner-dns_body"},Yp={class:"sandbox_info"},Ap={key:0,class:"disk_loading_icon"},Sp={class:"disk_loading_info"},zp={key:1,class:"disk_tips"},Pp={class:"label-item"},Tp={class:"label-item_key"},Ip={class:"label-item_value"},Mp={value:""},Lp=["value"],Op={class:"label-item"},Np={class:"label-item_key"},Vp={class:"label-item_value"},Gp={selected:"true",value:""},jp=["value","disabled"],Up={class:"sandbox_tips"},qp={class:"sandbox_info timeout"},Rp={class:"sandbox_roboot_tips"},Wp={class:"sandbox_roboot_refresh"},Hp={key:0,class:"actioner-dns_footer"},Jp=["disabled"],Zp={key:1,class:"actioner-tips"},Kp={class:"actioner-tips_header"},Qp={class:"actioner-tips_body"},Xp={class:"sandbox_info"},t7={class:"actioner-tips_footer"},e7={key:2,class:"actioner-tips"},a7={class:"actioner-tips_header"},o7={class:"actioner-tips_body"},n7={class:"sandbox_info"},i7={class:"actioner-tips_footer"},r7=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(0);E("disk");const d=E(""),u=E(3),k=E(""),g=E([]),p=E(""),m=E(null);(()=>{G.Nas.SandboxDisks.GET().then(x=>{var C;if(x!=null&&x.data&&(C=x.data)!=null&&C.result){m.value=x.data.result;return}throw a("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch(x=>{d.value=x,c.value=3})})();const b=()=>G.System.Reboot.POST({name:k.value,path:p.value}).then(x=>{var C;if(!(x!=null&&x.data&&(((C=x==null?void 0:x.data)==null?void 0:C.success)||0)==0))throw a("\u672A\u77E5\u9519\u8BEF")}),y=x=>{var C,S;p.value="",g.value=k.value&&((S=(C=m.value)==null?void 0:C.disks.find(A=>A.path==k.value))==null?void 0:S.childrens)||[]},f=()=>{u.value>0&&(u.value-=1,window.setTimeout(f,1e3))},F=x=>{x.preventDefault(),n.Close&&n.Close()},w=()=>{new Promise((x,C)=>{const S="/luci-static/resources/icons/loading.gif",A=()=>{window.setTimeout(z,2e3)},z=()=>{const B=new Image;B.onload=x,B.onerror=A,B.src=S};window.setTimeout(z,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},h=x=>{const C=$.Loading(a("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));G.Nas.Sandbox.POST({path:p.value}).then(S=>{var A;if(S!=null&&S.data){if((S.data.success||0)==0)return c.value=2,window.setTimeout(f,1e3),b();if((A=S.data)!=null&&A.error)throw S.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).then(w).catch(S=>$.Warning(S)).finally(()=>C.Close())},_=()=>{c.value=0};return(x,C)=>{const S=_t("icon-loading");return r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[c.value==0||c.value==2?(r(),s("div",Cp,[t("div",Dp,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Bp,[t("p",Yp,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),c.value==0?(r(),s(U,{key:0},[m.value?D("",!0):(r(),s("div",Ap,[Y(S,{size:38,color:"currentColor"}),t("span",Sp,i(e(a)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),m.value&&m.value.disks.length==0?(r(),s("div",zp,[Y(It),t("span",null,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):D("",!0),m.value&&m.value.disks.length>0?(r(),s(U,{key:2},[t("div",Pp,[t("div",Tp,[t("span",null,i(e(a)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",Ip,[O(t("select",{name:"",id:"",onChange:y,"onUpdate:modelValue":C[0]||(C[0]=A=>k.value=A)},[t("option",Mp,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(r(!0),s(U,null,tt(m.value.disks,(A,z)=>(r(),s("option",{value:A.path,key:z},i(A.venderModel)+"\uFF08"+i(A.size)+"\uFF09 ",9,Lp))),128))],544),[[pt,k.value]])])]),t("div",Op,[t("div",Np,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",Vp,[O(t("select",{name:"",id:"","onUpdate:modelValue":C[1]||(C[1]=A=>p.value=A)},[t("option",Gp,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(r(!0),s(U,null,tt(g.value,(A,z)=>(r(),s("option",{value:A.path,key:z,disabled:A.sizeInt<(1<<30)*1||A.isSystemRoot},i(A.name)+"\uFF08"+i(A.filesystem||e(a)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+i(A.total),9,jp))),128))],512),[[pt,p.value]])])]),t("div",Up,[Y(It),t("span",null,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):D("",!0)],64)):D("",!0),c.value==2?(r(),s(U,{key:1},[t("p",qp,[dt(i(e(a)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+i(u.value)+"s\uFF09",1)]),t("p",Rp,[dt(i(e(a)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",Wp,i(e(a)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):D("",!0)]),c.value==0?(r(),s("div",Hp,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!p.value,onClick:C[2]||(C[2]=A=>c.value=1)},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),9,Jp),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:F},i(e(a)("\u53D6\u6D88")),1)])):D("",!0)])):D("",!0),c.value==1?(r(),s("div",Zp,[t("div",Kp,[t("span",null,i(e(a)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",Qp,[t("p",Xp,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",t7,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:h},i(e(a)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0),c.value==3?(r(),s("div",e7,[t("div",a7,[t("span",null,i(e(a)("\u9519\u8BEF")),1)]),t("div",o7,[t("p",n7,i(d.value),1)]),t("div",i7,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"])}}});var s7=N(r7,[["__scopeId","data-v-59ad49e6"]]);const d7=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(s7,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},l7={key:0,class:"actioner-dns"},c7={class:"actioner-dns_header"},u7={class:"actioner-dns_body"},p7={class:"sandbox_info"},f7={class:"sandbox_environment"},m7={class:"sandbox_environment_info"},g7={class:"sandbox_environment_reboot"},v7=["innerHTML"],b7={class:"actioner-dns_footer"},h7=["disabled"],_7=["disabled"],x7=["disabled"],w7=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(0),d=E(!1),u=()=>{new Promise((v,b)=>{const y="/luci-static/resources/icons/loading.gif",f=()=>{window.setTimeout(F,2e3)},F=()=>{const w=new Image;w.onload=v,w.onerror=f,w.src=y};window.setTimeout(F,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},k=()=>{d.value=!0;const v=$.Loading(a("\u63D0\u4EA4\u4E2D..."));G.Nas.SandboxCommit.POST().then(b=>{var y,f;if(b!=null&&b.data)if((((y=b==null?void 0:b.data)==null?void 0:y.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(f=b==null?void 0:b.data)!=null&&f.error&&alert(b.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(u).catch(b=>{$.Error(b),d.value=!1}).finally(()=>v.Close())},g=()=>{d.value=!0;const v=$.Loading(a("\u91CD\u7F6E\u4E2D..."));G.Nas.SandboxReset.POST().then(b=>{var y,f;if(b!=null&&b.data)if((((y=b==null?void 0:b.data)==null?void 0:y.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(f=b==null?void 0:b.data)!=null&&f.error&&alert(b.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(u).catch(b=>{$.Error(b),d.value=!1}).finally(()=>v.Close())},p=()=>{if(!confirm(a("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;d.value=!0;const v=$.Loading(a("\u6267\u884C\u4E2D..."));G.Nas.SandboxExit.POST().then(b=>{var y,f;if(b!=null&&b.data)if((((y=b==null?void 0:b.data)==null?void 0:y.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(f=b==null?void 0:b.data)!=null&&f.error&&alert(b.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(u).catch(b=>{$.Error(b),d.value=!1}).finally(()=>v.Close())},m=v=>{v.preventDefault(),n.Close&&n.Close()};return(v,b)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[c.value==0?(r(),s("div",l7,[t("div",c7,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",u7,[t("p",p7,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",f7,[t("p",null,i(e(a)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,i(e(a)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,i(e(a)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,i(e(a)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",m7,[dt(i(e(a)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",g7,i(e(a)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(a)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,v7)])]),t("div",b7,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:k,disabled:d.value},i(e(a)("\u63D0\u4EA4")),9,h7),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:g,disabled:d.value},i(e(a)("\u91CD\u7F6E")),9,_7),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:d.value},i(e(a)("\u9000\u51FA")),9,x7),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var k7=N(w7,[["__scopeId","data-v-3e084f0f"]]);const y7=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(k7,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},F7={class:"item_container"},E7=["onClick","title"],$7={class:"renew"},C7={key:0},D7={key:1,style:{display:"inline-block","margin-left":"4px"}},B7={class:"app-update-button-menu"},Y7=["onClick"],A7={class:"app-update-menu-item"},S7={key:0,class:"app-update-menu-item-loading"},z7={class:"dns_txt"},P7={key:0,style:{display:"inline-block","margin-left":"4px"}},T7=I({setup(o){var S,A;const{$gettext:n}=J(),a=E(!0);(A=(S=window.quickstart_configs)==null?void 0:S.update)!=null&&A.disable&&(a.value=!1);const l=E(!1),c=E(a.value),d=E(!1),u=Le(),k=Fe(),g=Q(()=>k.status),p=E(),m=()=>{Ka()};$t(c,z=>{d.value=!0,G.System.AutoCheckUpdate.POST({enable:z}).catch(B=>{$.Warning(B)}).finally(()=>{d.value=!1})});const v=()=>{window.location.href="/cgi-bin/luci/admin/system/ota"},b=()=>{window.location.href="/cgi-bin/luci/admin/status/logs"},y=()=>{window.location.href="/cgi-bin/luci/admin/store/pages/maintance"},f=()=>{d7()},F=()=>{y7()},w=()=>{alert(n("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},h=()=>{$p()},_=()=>{Qa()},x=()=>{var z,B,H,M;window.open(`${(B=(z=window.quickstart_configs)==null?void 0:z.ttyd)!=null&&B.ssl?"https":"http"}://${window.location.hostname}:${((M=(H=window.quickstart_configs)==null?void 0:H.ttyd)==null?void 0:M.port)||7681}/`,"_blank")},C=()=>{l.value=!l.value};return a.value&&setTimeout(()=>{u.requestCheckUpdate()},1100),Qt("sandbox")&&G.Nas.GetSandbox.GET().then(B=>{var H,M,q;B!=null&&B.data&&((((H=B==null?void 0:B.data)==null?void 0:H.success)||0)==0?(M=B==null?void 0:B.data)!=null&&M.result&&(p.value=B.data.result):(q=B==null?void 0:B.data)!=null&&q.error&&alert(B.data.error))}).catch(B=>$.Warning(B)),(z,B)=>{var q,T,j,R,it,ot;const H=_t("icon-loading"),M=_t("switch-box");return r(),s("div",F7,[t("div",{class:"item",style:{backgroundColor:"#f3f7fd"},onClick:h},[Y(Y4,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u914D\u7F6E")),1)]),e(Qt)("ttyd")?(r(),s("div",{key:0,class:"item",style:{backgroundColor:"#f4fbf7"},onClick:x},[Y(z4,{color:"#00c850",class:"icon"}),t("span",null,i(e(n)("\u7EC8\u7AEF")),1)])):D("",!0),e(Qt)("ota")?(r(),s("div",{key:1,class:"item",style:{backgroundColor:"#f9f7fd"},onClick:v},[t("span",{class:"app-update-button-more",onClick:ft(C,["stop","prevent"]),title:e(n)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[Y(Ee)],8,E7),Y(Kt,{color:"#ad46ff",class:"icon"}),t("span",$7,[(q=e(u).checkUpdate)!=null&&q.needUpdate?(r(),s("i",C7)):D("",!0),dt(" "+i(e(n)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),a.value&&e(u).checkUpdate==null?(r(),s("span",D7,[Y(H,{size:"1em",color:"currentColor"})])):D("",!0)]),O(t("div",B7,[t("div",{class:"menu_background",onClick:ft(C,["stop","prevent"])},null,8,Y7),t("ul",{onClick:B[1]||(B[1]=ft(()=>{},["stop"]))},[t("li",null,[Y(M,{modelValue:c.value,"onUpdate:modelValue":B[0]||(B[0]=bt=>c.value=bt)},{default:V(()=>[t("span",A7,i(e(n)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),d.value?(r(),s("span",S7,[Y(H,{size:"1em",color:"currentColor"})])):D("",!0)])])],512),[[ee,l.value]])])):D("",!0),t("div",{class:lt(["item",{"disabled-style":!((T=e(g))!=null&&T.proto)}]),style:{backgroundColor:"#f1fbfd"},onClick:m},[Y(xe,{color:"#00b8db",class:"icon"}),t("span",z7,[dt(i(e(n)("DNS\u914D\u7F6E"))+" ",1),(j=e(g))!=null&&j.proto?D("",!0):(r(),s("span",P7,[Y(H,{size:"1em",color:"currentColor"})]))])],2),t("div",{class:"item",style:{backgroundColor:"#fbf5fa"},onClick:_},[Y(Za,{color:"#f6339a",class:"icon"}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),e(Qt)("sandbox")?(r(),s(U,{key:2},[((R=p.value)==null?void 0:R.status)=="unsupport"?(r(),s("div",{key:0,class:"item",style:{backgroundColor:"#f9fafb"},onClick:w},[Y(Ze,{color:"#cac9cd",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((it=p.value)==null?void 0:it.status)=="stopped"?(r(),s("div",{key:1,class:"item",style:{backgroundColor:"#fbf4f5"},onClick:f},[Y(Ze,{color:"#fb2c36",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((ot=p.value)==null?void 0:ot.status)=="running"?(r(),s("div",{key:2,class:"item",style:{backgroundColor:"#dae8fd"},onClick:F},[Y(Ze,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)])):D("",!0)],64)):D("",!0),t("div",{class:"item",style:{backgroundColor:"#fcf7f2"},onClick:b},[Y(Xa,{color:"#ff6900",class:"icon"}),t("span",null,i(e(n)("\u65E5\u5FD7\u67E5\u770B")),1)]),t("div",{class:"item",style:{backgroundColor:"#eff5ff"},onClick:y},[Y(fa,{color:"#553afe",class:"icon"}),t("span",null,i(e(n)("\u7CFB\u7EDF\u7EF4\u62A4")),1)])])}}});var I7=N(T7,[["__scopeId","data-v-00934cf4"]]);const M7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},L7=["fill"],O7=["fill"],N7=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),s("svg",M7,[t("path",{d:"M746 112c82.84 0 150 67.16 150 150S828.84 412 746 412 596 344.84 596 262 663.16 112 746 112z m0 48C689.668 160 644 205.668 644 262S689.668 364 746 364 848 318.332 848 262 802.332 160 746 160zM746 612c82.84 0 150 67.16 150 150S828.84 912 746 912 596 844.84 596 762s67.16-150 150-150z m0 48c-56.332 0-102 45.668-102 102s45.668 102 102 102 102-45.668 102-102-45.668-102-102-102zM262 364c82.84 0 150 67.16 150 150S344.84 664 262 664 112 596.84 112 514 179.16 364 262 364z m0 48C205.668 412 160 457.668 160 514S205.668 616 262 616 364 570.332 364 514 318.332 412 262 412z",fill:o.color,"p-id":"5059"},null,8,L7),t("path",{d:"M337.7 442.744l293.488-169.62 40.464 70.16-293.484 169.62zM387.708 526.728l277.02 160.12-40.468 70.156-277.02-160.12z",fill:o.color,"p-id":"5060"},null,8,O7)]))}}),V7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},G7=["fill"],eo=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",V7,[t("path",{d:"M827.84 886.4H187.9184375c-32.2659375 0-53.76-21.51375-53.76-53.784375V714.28625a53.889375 53.889375 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.35375a53.8940625 53.8940625 0 0 1-53.76 53.76z m-5.375625-172.11375H187.9184375v118.35375h634.5309375V714.28625z m-570 32.664375a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.865-26.88z m78.3403125 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875z m78.6 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875zM827.215625 624.9490625H187.2846875c-32.2603125 0-53.76-21.51375-53.76-53.784375V452.8353125a53.8940625 53.8940625 0 0 1 53.76-53.784375H827.196875a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.784375z m-5.38125-172.11375H187.285625v118.329375H821.815625V452.8353125z m-569.994375 31.9921875a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m77.889375 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8565625-26.88z m76.963125-0.403125a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.163125z m419.7890625-120.744375H186.56c-32.2509375 0-53.76-21.5278125-53.76-53.7984375V191.5521875a53.8940625 53.8940625 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.7984375z m-5.3615625-172.1278125H186.56v118.329375h634.56V191.5521875z m-570.0140625 32.2753125a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8753125-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8846875-26.88z",fill:o.color,"p-id":"19012"},null,8,G7)]))}}),j7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},U7=["fill"],q7=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),s("svg",j7,[t("path",{d:"M716.8 750.933333c47.786667 0 95.573333-27.306667 119.466667-68.266666 23.893333-40.96 23.893333-95.573333 0-136.533334-23.893333-40.96-68.266667-68.266667-119.466667-68.266666-10.24 0-17.066667-3.413333-23.893333-10.24-6.826667-6.826667-10.24-13.653333-10.24-23.893334 0-95.573333-75.093333-170.666667-170.666667-170.666666s-170.666667 75.093333-170.666667 170.666666v6.826667c81.92 23.893333 136.533333 95.573333 136.533334 180.906667 0 13.653333-6.826667 23.893333-17.066667 30.72-10.24 6.826667-23.893333 6.826667-34.133333 0-10.24-6.826667-17.066667-17.066667-17.066667-30.72 0-64.853333-54.613333-119.466667-119.466667-119.466667S170.666667 566.613333 170.666667 631.466667 225.28 750.933333 290.133333 750.933333H716.8zM296.96 819.2c-102.4 3.413333-187.733333-75.093333-194.56-177.493333-3.413333-102.4 75.093333-191.146667 177.493333-194.56 0-126.293333 95.573333-228.693333 221.866667-238.933334 122.88-6.826667 232.106667 81.92 249.173333 208.213334 105.813333 17.066667 180.906667 112.64 170.666667 218.453333-10.24 102.4-98.986667 184.32-204.8 184.32H296.96z",fill:o.color,"p-id":"8044"},null,8,U7)]))}}),R7={class:"app-container_samba"},W7={key:0,class:"sambas-item"},H7={class:"sambas-item_name"},J7={class:"sambas-item_value"},Z7={class:"sambas-item"},K7={class:"sambas-item_name tit"},Q7={class:"sambas-item_value tit"},X7={class:"samba-item"},tf={class:"samba-item_name"},ef=["title"],af=["href"],of=I({props:{sambas:{type:Array}},setup(o){const{$gettext:n,$ngettext:a}=J(),l=window.location.hostname;return(c,d)=>{var u;return r(),s("ul",R7,[o.sambas?(r(),s("li",W7,[t("div",H7,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",J7,[t("span",null,i((u=o.sambas)!=null&&u.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)])])):D("",!0),t("li",Z7,[t("div",K7,[t("span",null,i(e(n)("\u5730\u5740")),1)]),t("div",Q7,[t("span",null,i(e(n)("\u76EE\u5F55")),1)])]),(r(!0),s(U,null,tt(o.sambas,k=>(r(),s("li",X7,[t("div",tf,[t("span",null,"smb://"+i(e(l))+"/"+i(k.shareName),1)]),t("div",{class:"samba-item_value",title:k.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+k.path},i(k.path),9,af)],8,ef)]))),256))])}}});var nf=N(of,[["__scopeId","data-v-6c80f0b7"]]);const rf={class:"webdav-item"},sf={class:"webdav-item_name"},df={class:"webdav-item_value"},lf={key:0,class:"webdav-item"},cf={class:"webdav-item_name"},uf={class:"webdav-item_value"},pf=["href"],ff={key:1,class:"webdav-item"},mf={class:"webdav-item_name"},gf={class:"webdav-item_value"},vf=["href"],bf={key:2,class:"webdav-item"},hf={class:"webdav-item_name"},_f={class:"webdav-item_value"},xf=I({props:{webdav:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>{var d;return`http://${location.hostname}:${(d=n.webdav)==null?void 0:d.port}`});return(d,u)=>{var k,g,p,m,v,b,y;return r(),s(U,null,[t("li",rf,[t("div",sf,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",df,[t("span",null,i((k=o.webdav)!=null&&k.path?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])]),(g=o.webdav)!=null&&g.path?(r(),s("li",lf,[t("div",cf,[t("span",null,i(e(a)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",uf,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.webdav)==null?void 0:p.path)},i((m=o.webdav)==null?void 0:m.path),9,pf)])])):D("",!0),(v=o.webdav)!=null&&v.port?(r(),s("li",ff,[t("div",mf,[t("span",null,i(e(a)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",gf,[t("a",{href:e(c),target:"_blank",rel:"noopener noreferrer"},i(e(c)),9,vf)])])):D("",!0),(b=o.webdav)!=null&&b.username?(r(),s("li",bf,[t("div",hf,[t("span",null,i(e(a)("\u8D26\u53F7:")),1)]),t("div",_f,[t("span",null,i((y=o.webdav)==null?void 0:y.username),1)])])):D("",!0)],64)}}});var wf=N(xf,[["__scopeId","data-v-9e39e9b2"]]);const kf={class:"app-container_linkease"},yf={class:"linkease-item"},Ff={class:"linkease-item_name"},Ef={class:"linkease-item_value"},$f={key:0,class:"configure"},Cf={key:0,class:"linkease-item"},Df={class:"linkease-item_name"},Bf={class:"linkease-item_value"},Yf=["href"],Af={href:"https://www.linkease.com",target:"_blank"},Sf=I({props:{linkease:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>{var u;return`http://${location.hostname}:${(u=n.linkease)==null?void 0:u.port}`}),d=()=>{Wa({setup:0})};return(u,k)=>{var g,p,m;return r(),s("ul",kf,[t("li",yf,[t("div",Ff,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Ef,[(g=o.linkease)!=null&&g.enabel?(r(),s("span",$f,i(e(a)("\u5DF2\u914D\u7F6E")),1)):(r(),s("span",{key:1,class:"configure enabel",onClick:k[0]||(k[0]=v=>d())},i(e(a)("\u672A\u914D\u7F6E")),1))])]),(p=o.linkease)!=null&&p.enabel?(r(),s(U,{key:0},[(m=o.linkease)!=null&&m.port?(r(),s("li",Cf,[t("div",Df,[t("span",null,i(e(a)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",Bf,[t("a",{href:e(c),target:"_blank",rel:"noopener noreferrer"},i(e(c)),9,Yf)])])):D("",!0)],64)):D("",!0),t("div",null,[t("a",Af,i(e(a)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var zf=N(Sf,[["__scopeId","data-v-16392cdd"]]);const ao=o=>(ct("data-v-e9c9221c"),o=o(),ut(),o),Pf={href:"/cgi-bin/luci/admin/services/samba4"},Tf={class:"content"},If={class:"tab"},Mf={class:"title"},Lf={key:0},Of={key:1},Nf=ao(()=>t("div",{class:"title"},"SAMBA",-1)),Vf=ao(()=>t("div",{class:"title"},"WEBDAV",-1)),Gf=I({setup(o){const{$gettext:n}=J(),a=E(!1);E("linkease");const l=E(),c=tn(),d=E(!1);(()=>{G.Nas.Service.Status.GET().then(f=>{var F;if((F=f==null?void 0:f.data)!=null&&F.result){const w=f.data.result;l.value=w,b(),w.webdav&&(c.webdav=w.webdav)}})})();const k=()=>{Wa({setup:0})},g=()=>{a.value=!a.value},p=()=>{g(),zt.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")},m=E(0),v=E(!1),b=()=>{var w,h,_,x,C,S;if(v.value)return;const F=[Boolean((h=(w=l.value)==null?void 0:w.linkease)==null?void 0:h.enabel),Boolean((x=(_=l.value)==null?void 0:_.sambas)==null?void 0:x.length),Boolean((S=(C=l.value)==null?void 0:C.webdav)==null?void 0:S.path)].findIndex(Boolean);m.value=F===-1?0:F},y=f=>{m.value=f,v.value=!0};return(f,F)=>(r(),Z(Wt,{title:e(n)("\u5B58\u50A8\u670D\u52A1"),style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":d.value,"onUpdate:isSettingsMenuOpen":F[4]||(F[4]=w=>d.value=w)},{icon:V(()=>[Y(N7,{color:"#4f39f6",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:k},[Y(fa,{color:"#0a0a0a",class:"icon1 settings-icon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u5B58\u50A8\u670D\u52A1")),1),t("div",{class:"rotation",onClick:F[0]||(F[0]=ft(w=>d.value=!d.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])])]),"settings-menu":V(()=>[t("div",null,[t("a",Pf,i(e(n)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:p},i(e(n)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:V(()=>{var w,h,_,x,C,S,A,z,B;return[t("div",Tf,[t("div",If,[t("div",{class:lt(["item cloud",{active:m.value==0}]),onClick:F[1]||(F[1]=H=>y(0))},[Y(q7,{color:"#155dfc",class:"icon2"}),t("div",Mf,i(e(n)("\u6613\u6709\u4E91")),1),(h=(w=l.value)==null?void 0:w.linkease)!=null&&h.enabel?(r(),s("span",Lf,i(e(n)("\u5DF2\u914D\u7F6E")),1)):(r(),s("span",Of,i(e(n)("\u672A\u914D\u7F6E")),1))],2),t("div",{class:lt(["item memory",{active:m.value==1}]),onClick:F[2]||(F[2]=H=>y(1))},[Y(eo,{color:"#0bab47",class:"icon2"}),Nf,t("span",null,i((x=(_=l.value)==null?void 0:_.sambas)!=null&&x.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2),t("div",{class:lt(["item network",{active:m.value==2}]),onClick:F[3]||(F[3]=H=>y(2))},[Y(xe,{color:"#9810fa",class:"icon2"}),Vf,t("span",null,i((S=(C=l.value)==null?void 0:C.webdav)!=null&&S.path?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2)]),m.value==0?(r(),Z(zf,{key:0,linkease:(A=l.value)==null?void 0:A.linkease},null,8,["linkease"])):m.value==1?(r(),Z(nf,{key:1,sambas:(z=l.value)==null?void 0:z.sambas},null,8,["sambas"])):m.value==2?(r(),Z(wf,{key:2,webdav:(B=l.value)==null?void 0:B.webdav},null,8,["webdav"])):D("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var jf=N(Gf,[["__scopeId","data-v-e9c9221c"]]);const Uf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},qf=["fill"],Rf=["fill"],Ya=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Uf,[t("path",{d:"M554.688 682.624a42.688 42.688 0 0 0 0 85.376h0.448a42.688 42.688 0 1 0 0-85.376h-0.448zM767.488 682.624a42.688 42.688 0 0 0 0 85.376H768a42.688 42.688 0 1 0 0-85.376h-0.512z",fill:o.color,"p-id":"5230"},null,8,qf),t("path",{d:"M465.28 96h93.44c59.456 0 106.88 0 144.96 4.48 39.36 4.48 72.128 14.08 100.992 35.584 28.8 21.44 47.424 50.112 63.104 86.464 15.232 35.2 28.8 80.64 45.952 137.6l52.48 174.848c1.28 4.48 2.752 9.28 3.584 14.336v0.32l0.192 1.216c0.64 5.12 0.64 10.048 0.64 14.72v3.392c0 72.704 0 130.304-5.632 175.68-5.824 46.592-18.112 84.736-45.952 115.84-4.992 5.568-10.304 10.88-15.936 15.872-31.104 27.84-69.184 40.128-115.84 45.952-45.312 5.696-102.912 5.696-175.616 5.696H412.352c-72.704 0-130.304 0-175.68-5.696-46.592-5.824-84.672-18.112-115.84-45.888a202.944 202.944 0 0 1-15.872-16c-27.84-31.04-40.128-69.12-45.952-115.84-5.696-45.312-5.696-102.912-5.696-175.616v-3.328c0-4.672 0-9.664 0.704-14.784v-0.32l0.192-1.216c0.832-5.056 2.24-9.856 3.584-14.272l52.48-174.912c17.088-56.96 30.72-102.4 45.952-137.6 15.68-36.352 34.304-65.024 63.104-86.4 28.8-21.504 61.632-31.104 100.992-35.712C358.4 96 405.76 96 465.28 96zM327.68 164.032c-33.152 3.84-53.632 11.072-70.144 23.36-16.512 12.288-29.376 29.824-42.56 60.48-13.568 31.424-26.176 73.28-43.968 132.544l-42.688 142.272h767.36l-42.688-142.272c-17.792-59.264-30.4-101.12-43.968-132.48-13.184-30.72-26.048-48.256-42.56-60.544-16.512-12.288-36.992-19.52-70.144-23.36C662.336 160 618.624 160 556.736 160H467.328c-61.952 0-105.6 0-139.648 4.032zM122.496 736.64c5.056 40.128 14.528 63.616 30.144 81.088 3.456 3.84 7.04 7.488 10.88 10.88 17.536 15.68 40.96 25.088 81.152 30.144 40.96 5.12 94.464 5.184 169.92 5.184h194.816c75.456 0 129.024 0 169.92-5.184 40.128-5.056 63.616-14.464 81.152-30.08 3.84-3.456 7.424-7.104 10.88-10.944 15.616-17.536 25.088-40.96 30.08-81.088 4.672-37.248 5.12-84.928 5.248-150.016H117.312c0.064 65.088 0.512 112.768 5.184 150.016z",fill:o.color,"p-id":"5231"},null,8,Rf)]))}}),Wf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Hf=["fill"],Jf=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",Wf,[t("path",{d:"M912 208H427.872l-50.368-94.176A63.936 63.936 0 0 0 321.056 80H112c-35.296 0-64 28.704-64 64v736c0 35.296 28.704 64 64 64h800c35.296 0 64-28.704 64-64v-608c0-35.296-28.704-64-64-64z m-800-64h209.056l68.448 128H912v97.984c-0.416 0-0.8-0.128-1.216-0.128H113.248c-0.416 0-0.8 0.128-1.248 0.128V144z m0 736v-96l1.248-350.144 798.752 1.216V784h0.064v96H112z",fill:o.color,"p-id":"5094"},null,8,Hf)]))}}),Zf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Kf=["fill"],Qf=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Zf,[t("path",{d:"M136.12 251.958a83.054 83.054 0 0 1-0.12-4.458c0-32.903 19.447-58.344 41.115-75.981 21.984-17.893 51.365-32.231 84.13-43.511C327.163 105.315 415.641 92 511.5 92c95.859 0 184.337 13.315 250.255 36.008 32.765 11.28 62.146 25.618 84.13 43.511 20.221 16.458 38.506 39.713 40.86 69.485l0.255 0.002v532.88c0 32.888-19.031 58.62-40.776 76.719-21.978 18.294-51.385 32.976-84.207 44.53C696.011 918.373 607.438 932 511.5 932c-95.938 0-184.511-13.627-250.517-36.865-32.822-11.554-62.229-26.236-84.207-44.53C155.031 832.506 136 806.774 136 773.886V251.96l0.12-0.002z m79.88-4.459v0.002c0 0.016-0.003 0.151 0.098 0.491 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.49 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 310.459 422.067 323 511.5 323c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.606 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-0.014-0.012c-0.001-0.042-0.01-0.182-0.098-0.479-0.112-0.379-0.397-1.16-1.103-2.347-1.479-2.49-4.55-6.323-10.415-11.096-11.97-9.743-31.722-20.293-59.67-29.914C680.204 184.541 600.933 172 511.5 172c-89.433 0-168.704 12.541-224.214 31.651-27.948 9.621-47.7 20.171-59.67 29.914-5.865 4.773-8.936 8.606-10.415 11.096-0.706 1.187-0.991 1.968-1.103 2.347-0.101 0.34-0.098 0.475-0.098 0.491z m591 100.656c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 389.685 607.359 403 511.5 403c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v85.359c0.001 0.042 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 496.459 422.067 509 511.5 509c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-85.358z m-45.245 204.837C695.837 575.685 607.359 589 511.5 589c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v70.359c0.001 0.041 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 667.459 422.067 680 511.5 680c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-70.358c-13.955 7.052-29.194 13.311-45.245 18.837zM807 705.155c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 746.685 607.359 760 511.5 760c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837V773.894c0 0.181-0.003 1.283 1.399 3.695 1.555 2.675 4.69 6.646 10.556 11.529 11.976 9.968 31.701 20.738 59.594 30.557C342.97 839.186 422.146 852 511.5 852c89.354 0 168.53-12.814 223.951-32.325 27.893-9.819 47.618-20.589 59.594-30.557 5.866-4.883 9.001-8.854 10.556-11.529 1.402-2.412 1.399-3.514 1.399-3.695v-68.739z",fill:o.color,"p-id":"9960"},null,8,Kf)]))}}),Xf={},t9={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},e9=jt('',1),a9=[e9];function o9(o,n){return r(),s("svg",t9,a9)}var Aa=N(Xf,[["render",o9]]);const n9={},i9={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},r9=jt('',1),s9=[r9];function d9(o,n){return r(),s("svg",i9,s9)}var l9=N(n9,[["render",d9]]);const Ge=o=>(ct("data-v-5f5fb500"),o=o(),ut(),o),c9=["onSubmit"],u9=Ge(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),p9={class:"action-body"},f9={class:"disk-info"},m9=Ge(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),g9={key:0,class:"disk-info_mount-name"},v9={key:1,class:"disk-info_mount-name"},b9={key:0,class:"label-item"},h9={class:"label-item_key"},_9={class:"label-item_path"},x9={class:"label-item"},w9={class:"label-item_key"},k9={class:"label-item_value"},y9={class:"action-footer"},F9=Ge(()=>t("div",{class:"auto"},null,-1)),E9=["disabled"],$9=["disabled"],C9={key:1,class:"action result"},D9={class:"action-body"},B9=Ge(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),Y9={class:"action-body_msg"},A9=["innerHTML"],S9={class:"btns"},z9=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var F;const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.Close&&n.Close()},d=w=>{w.preventDefault(),n.Cancel&&n.Cancel(),c()},u=w=>{n.Next&&n.Next(w),c()},k=E(!1),g=E(0),p=E("/mnt/data_"+((F=n==null?void 0:n.mount)==null?void 0:F.name)),m=w=>{g.value=w};E(n.mount?"":"format"),E();const v=E(),b=()=>L(this,null,function*(){const w=n.mount;if(w==null){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(w.path==null||w.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(w.uuid==null||w.uuid==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}k.value=!0;const h=$.Loading(a("\u6302\u8F7D\u4E2D..."));try{const _=yield G.Nas.Disk.Partition.Mount.POST({path:w.path,uuid:w.uuid,mountPoint:p.value});if(_!=null&&_.data){const{result:x,error:C}=_==null?void 0:_.data;C&&$.Warning(C),x&&($.Success(a("\u6302\u8F7D\u6210\u529F")),v.value=x,m(1))}}catch(_){$.Error(_)}h.Close(),k.value=!1}),y=()=>{if(v.value&&v.value.mountPoint){u(v.value.mountPoint);return}$.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},f=()=>{};return(w,h)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>{var _,x;return[g.value==0?(r(),s("form",{key:0,class:"action format",onSubmit:ft(f,["prevent"])},[u9,t("div",p9,[t("div",f9,[m9,o.mount?(r(),s("div",g9,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint),1)])):o.disk?(r(),s("div",v9,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),s("div",b9,[t("div",h9,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",_9,i(o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF0C"+i((x=(_=o.mount)==null?void 0:_.filesystem)==null?void 0:x.toUpperCase())+"\uFF09",1)])):D("",!0),t("div",x9,[t("div",w9,[t("span",null,i(e(a)("\u6302\u8F7D\u70B9")),1)]),t("div",k9,[O(t("input",{type:"text","onUpdate:modelValue":h[0]||(h[0]=C=>p.value=C)},null,512),[[at,p.value,void 0,{trim:!0}]])])])]),t("div",y9,[F9,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:k.value,onClick:b},i(e(a)("\u786E\u5B9A")),9,E9),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d,type:"button",disabled:k.value},i(e(a)("\u8FD4\u56DE")),9,$9)])],40,c9)):g.value==1?(r(),s("div",C9,[t("div",D9,[B9,t("div",Y9,i(e(a)("\u6302\u8F7D\u6210\u529F")),1),v.value?(r(),s("div",{key:0,class:"action-body_info",innerHTML:e(a)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:v.value.path||"",mount:v.value.mountPoint||""},!0)},null,8,A9)):D("",!0),t("div",S9,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},i(o.action=="nas"?e(a)("\u5B8C\u6210"):e(a)("\u4E0B\u4E00\u6B65")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var P9=N(z9,[["__scopeId","data-v-5f5fb500"]]),oo=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(P9,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const T9={class:"disk-content"},I9={class:"disk-item"},M9={class:"disk-item_name"},L9={key:0},O9={key:1},N9={key:2},V9={class:"disk_value"},G9={class:"disk-item_value"},j9={class:"value-data"},U9={key:0,class:"disk-item"},q9={class:"disk-item_name"},R9={key:0},W9=["href"],H9={key:0},J9={class:"disk_status"},Z9={key:0,class:"disk_status_item"},K9={key:0,class:"tooltip-trigger disk_tip"},Q9={class:"tooltip-text tooltip-top"},X9={class:"disk_dir_tip"},tm={class:"disk_status_item"},em={key:0,class:"tooltip-trigger disk_tip"},am={class:"tooltip-text tooltip-top"},om={class:"disk_dir_tip"},nm=I({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>n.part.filesystem=="No FileSystem"),d=Q(()=>n.part.filesystem&&["ntfs","vfat","exfat"].indexOf(n.part.filesystem)>=0),u=Q(()=>n.part.mountPoint&&n.part.isReadOnly&&n.part.filesystem!="swap"),k=Q(()=>c.value||!n.part.isSystemRoot&&(u.value||d.value||!n.part.mountPoint&&n.part.filesystem=="swap")),g=function(){la({action:"disk",disk:n.disk,mount:n.part,Cancel:()=>{},Next:y=>{location.reload()}})},p=()=>{oo({action:"nas",disk:n.disk,mount:n.part,Cancel:()=>{},Next:()=>{location.reload()}})},m=()=>L(this,null,function*(){const y=$.Loading(a("\u5904\u7406\u4E2D..."));try{const f=yield G.Nas.Disk.InitRest.POST({name:n.disk.name,path:n.disk.path});if(f!=null&&f.data){const{result:F,error:w}=f==null?void 0:f.data;w&&$.Warning(w),F&&($.Success(a("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(f){$.Error(f)}y.Close()}),v=Q(()=>n.part.filesystem=="Free Space"),b=Q(()=>{const y=n.part.mountPoint?n.part.mountPoint:"";return y.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+y.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+y});return(y,f)=>{var w;const F=_t("progress-item");return r(),s("div",T9,[t("li",I9,[t("div",M9,[e(v)?(r(),s("span",L9,i(e(a)("\u672A\u5206\u533A")),1)):(r(),s("span",O9,i(o.part.name)+i(o.part.mountPoint?"":e(c)?e(a)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(a)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(r(),s("span",N9,i(e(a)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):D("",!0)]),t("div",V9,[t("div",G9,[t("div",j9,[Y(F,{value:e(v)||!o.part.usage?0:o.part.usage,text:e(v)?e(a)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(a)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(v)?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:m},i(e(a)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(k)?(r(),s("button",{key:1,class:"cbi-button cbi-button-apply",onClick:g},i(e(a)("\u683C\u5F0F\u5316\u5206\u533A")),1)):D("",!0)])]),!e(v)&&!e(c)?(r(),s("li",U9,[t("span",q9,[o.part.mountPoint?(r(),s(U,{key:0},[o.part.filesystem=="swap"?(r(),s("span",R9,i(e(a)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(r(),s("a",{key:1,href:e(b),target:"_blank"},i(o.part.mountPoint),9,W9))],64)):(r(),s(U,{key:1},[o.part.filesystem=="swap"?(r(),s("span",H9,i(e(a)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(r(),s("span",{key:1,class:"value-data buttondiv",onClick:p},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",J9,[o.part.mountPoint&&o.part.filesystem!="swap"?(r(),s("div",Z9,[t("div",null,i(e(a)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+i(o.part.isReadOnly?e(a)("\u53EA\u8BFB"):e(a)("\u8BFB\u5199")),1),e(u)?(r(),s("div",K9,[Y(It),t("div",Q9,[t("div",X9,i(e(a)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):D("",!0)])):D("",!0),t("div",tm,[t("div",null,i(e(a)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+i((w=o.part.filesystem)==null?void 0:w.toUpperCase()),1),!o.part.isSystemRoot&&e(d)?(r(),s("div",em,[Y(It),t("div",am,[t("span",om,i(e(a)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):D("",!0)])])])):D("",!0)])}}});var im=N(nm,[["__scopeId","data-v-4e7285ca"]]);const rm=o=>(ct("data-v-56d0d562"),o=o(),ut(),o),sm={key:0,class:"action"},dm={class:"title"},lm={class:"app-container_info"},cm={class:"app-container_body"},um={class:"action-footer"},pm=rm(()=>t("div",{class:"auto"},null,-1)),fm=I({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(0),d=()=>{n.Close&&n.Close()},u=k=>{k.preventDefault(),n.Cancel&&n.Cancel(),d()};return(k,g)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[c.value==0?(r(),s("div",sm,[t("h2",dm,i(e(a)("\u5206\u533A\u4FE1\u606F"))+" - "+i((o.disk.name||"?")+(o.disk.isSystemRoot?e(a)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",lm,[t("span",null,i(e(a)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,i(e(a)("\u5BB9\u91CF")),1)]),t("div",cm,[(r(!0),s(U,null,tt(o.disk.childrens,(p,m)=>(r(),Z(im,{key:m,part:p,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",um,[pm,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:u,type:"button"},i(e(a)("\u8FD4\u56DE")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"]))}});var mm=N(fm,[["__scopeId","data-v-56d0d562"]]),gm=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(mm,vt(st({},o),{Close:()=>{l()}}));a.component("progress-item",Ua),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const vm={class:"progress-bar-wrapper"},bm={key:0,class:"percentage-text"},hm={props:{percentage:{type:Number,default:0,validator:o=>o>=0&&o<=100},color:{type:String,default:"#4CAF50"},backgroundColor:{type:String,default:"#e0e0e0"},height:{type:[String,Number],default:"20px"},borderRadius:{type:[String,Number],default:"4px"},showPercentage:{type:Boolean,default:!0},gradient:{type:Boolean,default:!1},gradientColors:{type:String,default:"linear-gradient(90deg, #4CAF50, #45a049)"},duration:{type:Number,default:1e3}},setup(o){const n=o,a=Q(()=>({height:typeof n.height=="number"?`${n.height}px`:n.height,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,backgroundColor:n.backgroundColor,overflow:"hidden"})),l=Q(()=>{const c={height:"100%",width:`${n.percentage}%`,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,transition:`width ${n.duration}ms cubic-bezier(0.4, 0, 0.2, 1)`,position:"relative",overflow:"hidden"};return n.gradient?vt(st({},c),{background:n.gradientColors}):vt(st({},c),{background:n.color})});return(c,d)=>(r(),s("div",vm,[t("div",{class:"progress-bar",style:ht(e(a))},[t("div",{class:"progress-fill",style:ht(e(l))},[o.showPercentage?(r(),s("span",bm,i(Math.round(o.percentage))+"% ",1)):D("",!0)],4)],4)]))}};var no=N(hm,[["__scopeId","data-v-2691c876"]]);const _m={key:0,class:"disk-item error"},xm=["title"],wm={class:"disk-item_value"},km={class:"value-data"},ym={class:"error"},Fm={key:1,class:"disk-item"},Em=["title"],$m={key:0,class:"disk_value"},Cm={class:"value-data"},Dm={href:"/cgi-bin/luci/admin/nas/smart"},Bm={class:"error"},Ym={key:1,class:"disk_value"},Am={class:"disk-item_value"},Sm={class:"value-data"},zm={class:"disk-item-tooltip"},Pm={class:"disk_icon"},Tm={key:0,class:"tooltip-trigger"},Im={class:"disk_tip"},Mm={class:"tooltip-text tooltip-top"},Lm={class:"disk_dir_tip"},Om={key:1,class:"tooltip-trigger"},Nm={class:"disk_tip"},Vm={class:"tooltip-text tooltip-top"},Gm={class:"disk_dir_tip"},jm={key:2,class:"disk-item load"},Um=["title"],qm={class:"disk_value"},Rm={class:"disk-item_value"},Wm={class:"value-data"},Hm={key:3,class:"disk-item load"},Jm=["title"],Zm={class:"disk_value"},Km={key:0,class:"disk-item_value"},Qm={class:"value-data"},Xm={class:"disk_icon"},tg=I({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const n=o,{$gettext:a}=J(),l=Q(()=>n.disk.errorInfo?"error":n.disk.isSystemRoot?"success":n.disk.childrens==null||n.disk.childrens.length==0||n.disk.childrens.length==1&&n.disk.childrens[0].filesystem=="No FileSystem"?"load":n.disk.childrens.filter(m=>m.mountPoint).length==0?"unmounted":"success"),c=Q(()=>{const m=n.disk;let v=m.name;return m.size&&(v+=`\u3010${m.size}\u3011`),m.venderModel&&(v+=`(${m.venderModel})`),v}),d=Q(()=>{var v;const m=n.disk;return!m.isSystemRoot&&(((v=m.childrens)==null?void 0:v.filter(b=>b.isReadOnly&&b.filesystem!="swap").length)||0)>0}),u=()=>{la({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},k=()=>{gm({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},g=()=>{const m=n.disk,v=m.childrens||[];oo({action:"nas",disk:m,mount:v[0],Cancel:()=>{},Next:()=>{location.reload()}})},p=m=>m<50?"#2fc867":m>50&&m<=75?"#f97316":"#dc2626";return(m,v)=>{var b,y,f,F,w,h;return e(l)=="error"?(r(),s("li",_m,[t("div",{class:"disk-item_name",title:e(c)},[t("span",null,i(e(c)),1)],8,xm),t("div",wm,[t("div",km,[t("span",ym,i(o.disk.errorInfo),1)])])])):e(l)=="success"?(r(),s("li",Fm,[t("div",{class:"disk-item_name",title:e(c)},[t("span",null,i(e(c)),1)],8,Em),o.disk.smartWarning&&o.smartWarning?(r(),s("div",$m,[t("div",Cm,[t("a",Dm,[t("span",Bm,i(e(a)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(r(),s("div",Ym,[t("div",Am,[t("div",Sm,[Y(no,{percentage:o.disk.usage||0,showPercentage:!1,height:"10px",borderRadius:"10px",color:p(o.disk.usage||0),backgroundColor:"#f4f5f7"},null,8,["percentage","color"]),t("div",null,[t("span",null,i(e(a)("\u4F7F\u7528\u7387"))+"\uFF1A"+i(o.disk.usage||0)+"%",1),t("span",null,i(e(a)("\u5DF2\u4F7F\u7528"))+"\uFF1A"+i(o.disk.used),1)])]),t("div",zm,[t("span",null,i(e(a)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",Pm,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(r(),s("span",Tm,[t("span",Im,[Y(It)]),t("div",null,[t("div",Mm,[t("span",Lm,i(e(a)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):D("",!0),e(d)?(r(),s("span",Om,[t("span",Nm,[Y(It)]),t("div",null,[t("div",Vm,[t("span",Gm,i(e(a)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):D("",!0),e(d)&&(((b=o.disk.childrens)==null?void 0:b.length)||0)==1?(r(),s("span",{key:2,class:"disk_infoicon",onClick:v[0]||(v[0]=_=>u())},[Y(l9)])):D("",!0),(((y=o.disk.childrens)==null?void 0:y.length)||0)>0?(r(),s("span",{key:3,class:"disk_infoicon",onClick:v[1]||(v[1]=_=>k())},[Y(Aa,{style:{color:"var(--app-container_title-color)"}})])):D("",!0)])]))])):e(l)=="load"?(r(),s("li",jm,[t("div",{class:"disk-item_name",title:e(c)},[t("span",null,i(e(c)),1)],8,Um),t("div",qm,[t("div",Rm,[t("div",Wm,[t("button",{onClick:v[2]||(v[2]=_=>u())},i(e(a)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(l)=="unmounted"?(r(),s("li",Hm,[t("div",{class:"disk-item_name",title:e(c)},[t("span",null,i(e(c)),1)],8,Jm),t("div",Zm,[(((f=o.disk.childrens)==null?void 0:f.length)||0)==1?(r(),s("div",Km,[t("div",Qm,[((w=(F=o.disk.childrens)==null?void 0:F[0])==null?void 0:w.filesystem)=="swap"?(r(),s("button",{key:0,onClick:v[3]||(v[3]=_=>k())},i(e(a)("\u67E5\u770B\u8BE6\u60C5")),1)):(r(),s("button",{key:1,onClick:v[4]||(v[4]=_=>g())},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))])])):D("",!0),t("div",Xm,[(((h=o.disk.childrens)==null?void 0:h.length)||0)>1?(r(),s("span",{key:0,class:"disk_infoicon",onClick:v[5]||(v[5]=_=>k())},[Y(Aa,{style:{color:"var(--app-container_title-color)"}})])):D("",!0)])])])):D("",!0)}}});var Ke=N(tg,[["__scopeId","data-v-61895837"]]);const eg=o=>(ct("data-v-1e31ad3a"),o=o(),ut(),o),ag={href:"/cgi-bin/luci/admin/nas/raid"},og=eg(()=>t("div",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),ng={href:"/cgi-bin/luci/admin/system/diskman"},ig={href:"/cgi-bin/luci/admin/system/mounts"},rg={class:"content"},sg={key:0,class:"disk_loading_icon"},dg={class:"disk_loading_info"},lg={class:"item",style:{"margin-top":"4px","padding-bottom":"0"}},cg={class:"icon_box"},ug={class:"info"},pg={class:"name"},fg={class:"schedule"},mg={key:0,class:"line"},gg={key:1,class:"item"},vg={class:"icon_box",style:{background:"#f3e8ff"}},bg={class:"info"},hg={class:"name"},_g={class:"schedule"},xg={key:2,class:"item"},wg={class:"icon_box",style:{background:"#dbfce7"}},kg={class:"info"},yg={class:"name"},Fg={class:"schedule"},Eg=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=gt({disks:null,raidList:null}),c=()=>{G.Nas.Disk.Status.GET().then(k=>{var g;if((g=k==null?void 0:k.data)!=null&&g.result){const p=k.data.result;l.disks=p.disks||[]}})};(()=>L(this,null,function*(){try{const k=yield G.Raid.List.GET();if(k!=null&&k.data){const{success:g,error:p,result:m}=k.data;if(m&&(l.raidList=m.disks||[]),p)throw p}}catch(k){console.log(k)}}))(),c();const u=()=>{zt.installAndGo("luci-app-linkease",n("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(k,g)=>{const p=_t("icon-loading");return r(),Z(Wt,{title:e(n)("\u78C1\u76D8\u4FE1\u606F"),style:{width:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":g[1]||(g[1]=m=>a.value=m)},{icon:V(()=>[Y(Ya,{color:"#45556c",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:u},[Y(Jf,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u6587\u4EF6\u7BA1\u7406")),1),t("div",{class:"rotation",onClick:g[0]||(g[0]=ft(m=>a.value=!a.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])])]),"settings-menu":V(()=>[t("div",null,[t("a",ag,i(e(n)("RAID\u7BA1\u7406")),1)]),og,t("div",null,[t("a",ng,i(e(n)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("div",null,[t("a",ig,i(e(n)("\u6302\u8F7D\u70B9")),1)])]),default:V(()=>{var m,v,b,y;return[t("div",rg,[!e(l).disks&&!e(l).raidList?(r(),s("div",sg,[Y(p,{size:38,color:"#888888"}),t("span",dg,i(e(n)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])):D("",!0),e(l).disks?(r(),s(U,{key:1},[t("div",lg,[t("div",cg,[Y(Ya,{color:"#2b6cfc",class:"icon"})]),t("div",ug,[t("div",pg,[t("div",null,i(e(n)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",fg,[(r(!0),s(U,null,tt((m=e(l).disks)==null?void 0:m.filter(f=>f.isSystemRoot),(f,F)=>(r(),Z(Ke,{key:F,disk:f},null,8,["disk"]))),128))])])]),((v=e(l).disks)==null?void 0:v.filter(f=>!f.isSystemRoot).length)>0?(r(),s("div",mg)):D("",!0),((b=e(l).disks)==null?void 0:b.filter(f=>!f.isSystemRoot).length)>0?(r(),s("div",gg,[t("div",vg,[Y(Qf,{class:"icon"})]),t("div",bg,[t("div",hg,[t("div",null,i(e(n)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",_g,[(r(!0),s(U,null,tt((y=e(l).disks)==null?void 0:y.filter(f=>!f.isSystemRoot),(f,F)=>(r(),Z(Ke,{key:F,disk:f,smartWarning:!0},null,8,["disk"]))),128))])])])):D("",!0)],64)):D("",!0),e(l).raidList&&e(l).raidList.length>0?(r(),s("div",xg,[t("div",wg,[Y(eo,{color:"#0bab47",class:"icon"})]),t("div",kg,[t("div",yg,[t("div",null,i(e(n)("RAID\u8BBE\u5907")),1)]),t("div",Fg,[(r(!0),s(U,null,tt(e(l).raidList,(f,F)=>(r(),Z(Ke,{key:F,disk:f},null,8,["disk"]))),128))])])])):D("",!0)])]}),_:1},8,["title","is-settings-menu-open"])}}});var $g=N(Eg,[["__scopeId","data-v-1e31ad3a"]]);const Cg={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Dg=["fill"],Sa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Cg,[t("path",{d:"M473.950316 63.164632l488.070737 234.226526v414.234947l-337.92 200.111158-502.837895-295.019789V223.447579l352.687158-160.282947zM200.434526 306.661053V571.284211l383.892211 225.28V510.113684L200.434526 306.661053z m682.253474 82.728421l-219.082105 120.400842v286.396631l219.082105-129.670736V389.335579z m-409.761684-238.753685L258.910316 247.915789l364.759579 193.374316 212.075789-116.520421-362.819368-174.08z",fill:o.color,"p-id":"6174"},null,8,Dg)]))}}),Bg=o=>(ct("data-v-5d803f28"),o=o(),ut(),o),Yg={class:"app-container_docker"},Ag={class:"docker-item"},Sg={class:"docker-item_name"},zg={key:0,class:"docker-item_value"},Pg={class:"configure"},Tg={key:1,class:"docker-item_value"},Ig={class:"input-switch"},Mg=["value","disabled"],Lg=Bg(()=>t("em",null,null,-1)),Og=[Lg],Ng={key:0,class:"status-icon"},Vg={key:1,class:"status-icon",style:{background:"#e9ebef",color:"#4a5565"}},Gg={key:0,class:"content"},jg={class:"docker-item_name"},Ug={class:"docker_box"},qg={class:"path"},Rg={key:0},Wg={class:"tooltip-trigger"},Hg={class:"docker_tip"},Jg={class:"tooltip-text tooltip-top"},Zg={class:"docker_dir_tip"},Kg=I({props:{docker:{type:Object}},setup(o){var k;const n=o,{$gettext:a,$ngettext:l}=J(),c=Q(()=>{var g;return((g=n.docker)==null?void 0:g.status)!="not installed"}),d=gt({enable:((k=n.docker)==null?void 0:k.status)=="running",disabled:!1}),u=()=>L(this,null,function*(){d.disabled=!0;try{const g=yield G.Guide.DockerSwitch.POST({enable:d.enable});if(g!=null&&g.data){const{success:p,error:m}=g.data;if(m)throw d.enable=!d.enable,m;(p||0)==0}}catch(g){$.Warning(`${g}`)}finally{d.disabled=!1}});return(g,p)=>{var m,v,b,y;return r(),s("ul",Yg,[t("li",Ag,[t("div",Sg,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),(m=n.docker)!=null&&m.status?(r(),s(U,{key:0},[e(c)?(r(),s("div",Tg,[t("label",Ig,[O(t("input",{type:"checkbox",hidden:"",value:!e(d).enable,"onUpdate:modelValue":p[0]||(p[0]=f=>e(d).enable=f),disabled:e(d).disabled,onChange:u},null,40,Mg),[[Rt,e(d).enable]]),t("span",{class:lt(e(d).enable?"enable":"close")},Og,2)]),e(d).enable?(r(),s("span",Ng,i(e(a)("\u8FD0\u884C\u4E2D")),1)):D("",!0),e(d).enable?D("",!0):(r(),s("span",Vg,i(e(a)("\u672A\u542F\u7528")),1))])):(r(),s("div",zg,[t("span",Pg,i(e(a)("\u672A\u5B89\u88C5")),1)]))],64)):D("",!0)]),((v=o.docker)==null?void 0:v.status)=="running"?(r(),s("li",Gg,[t("div",jg,[t("span",{style:ht({color:"var(--app-container_title-color)"})},i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),5)]),t("div",Ug,[t("div",qg,i((b=o.docker)==null?void 0:b.path),1),(y=o.docker)!=null&&y.errorInfo?(r(),s("span",Rg,[t("span",Wg,[t("span",Hg,[Y(It)]),t("div",null,[t("div",Jg,[t("span",Zg,i(o.docker.errorInfo),1)])])])])):D("",!0)])])):D("",!0)])}}});var Qg=N(Kg,[["__scopeId","data-v-5d803f28"]]);const Xg={},tv={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},ev=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),av=[ev];function ov(o,n){return r(),s("svg",tv,av)}var nv=N(Xg,[["render",ov]]);const iv={key:0,class:"action"},rv={class:"title"},sv={class:"desc"},dv={class:"roots"},lv={class:"roots_tit"},cv={class:"root"},uv={class:"move"},pv={class:"roots_tit"},fv={key:0},mv=["onSubmit"],gv={class:"select-editable"},vv={selected:"",value:null},bv=["value"],hv={value:"useInput"},_v=["placeholder"],xv={key:1,class:"tips"},wv={class:"tips_content"},kv={class:"tip"},yv={key:0,class:"btns"},Fv={key:1,class:"btns"},Ev={key:1,class:"action docker_success"},$v={class:"title"},Cv={class:"finished"},Dv={class:"successed"},Bv={class:"btns"},Yv={key:2,class:"action docker_download"},Av={class:"title"},Sv={class:"finished"},zv={class:"successed"},Pv={class:"docker_moves"},Tv={class:"moves change"},Iv={for:"move"},Mv={class:"moves"},Lv={for:"cover"},Ov={class:"btns"},Nv=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(),d=E(),u=E(0),k=E("null"),g=E(""),p=E(),m=E(!1),v=E("");(()=>{G.Nas.Disk.Status.GET().then(x=>{x!=null&&x.data.result&&(p.value=x==null?void 0:x.data.result)}),G.Guide.DockerStatus.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const S=x.data.result;c.value=S}}),G.Guide.DockerPartitionList.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const S=x.data.result;d.value=S}})})();const y=x=>{let C=k.value;if(C=="useInput"&&(C=g.value),C==null||C=="null"||C=="")return;const S=$.Loading(a("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));G.Guide.DockerTransfer.POST({path:C,force:x,overwriteDir:!!v.value}).then(A=>{var z;if(A!=null&&A.data){if((A.data.success||0)==0){if((z=A.data.result)!=null&&z.emptyPathWarning){m.value=!0,u.value=2;return}u.value=1;return}else if(A.data.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{$.Error(A)}).finally(()=>S.Close())},f=()=>{m.value=!1,y(!1)},F=x=>{x.preventDefault(),n.Close&&n.Close()},w=x=>{x.preventDefault(),location.reload()},h=x=>{x.preventDefault(),u.value=0},_=x=>{x.preventDefault(),y(!0)};return(x,C)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>{var S,A,z,B,H,M;return[u.value==0?(r(),s("div",iv,[t("h2",rv,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",sv,i(e(a)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",dv,[t("span",lv,i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",cv,i((S=c.value)==null?void 0:S.path),1)]),t("div",uv,[t("span",pv,i(e(a)("\u8FC1\u79FB\u5230\uFF1A")),1),(z=(A=d.value)==null?void 0:A.partitionList)!=null&&z.length?(r(),s("div",fv,[t("form",{onSubmit:ft(f,["prevent"])},[t("label",null,[t("div",gv,[O(t("select",{"onUpdate:modelValue":C[0]||(C[0]=q=>k.value=q)},[t("option",vv,i(e(a)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(r(!0),s(U,null,tt((B=d.value)==null?void 0:B.partitionList,(q,T)=>(r(),s("option",{value:q,key:T},i(q),9,bv))),128)),t("option",hv,i(e(a)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[pt,k.value,void 0,{trim:!0}]]),k.value=="useInput"?O((r(),s("input",{key:0,type:"text","onUpdate:modelValue":C[1]||(C[1]=q=>g.value=q),required:"",placeholder:e(a)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,_v)),[[at,g.value,void 0,{trim:!0}]]):D("",!0)])])],40,mv)])):d.value?(r(),s("div",xv,[t("div",wv,[Y(It),t("span",kv,i(e(a)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):D("",!0)]),(M=(H=d.value)==null?void 0:H.partitionList)!=null&&M.length?(r(),s("div",yv,[t("button",{class:"cbi-button cbi-button-apply",onClick:f},i(e(a)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:F},i(e(a)("\u53D6\u6D88")),1)])):(r(),s("div",Fv,[t("button",{class:"cbi-button cbi-button-apply",onClick:F},i(e(a)("\u786E\u5B9A")),1)]))])):u.value==1?(r(),s("div",Ev,[t("h2",$v,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",Cv,[Y(ca)]),t("p",Dv,i(e(a)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",Bv,[t("button",{class:"cbi-button cbi-button-apply",onClick:w},i(e(a)("\u786E\u5B9A")),1)])])):u.value==2?(r(),s("div",Yv,[t("h2",Av,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",Sv,[Y(nv)]),t("p",zv,i(e(a)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",Pv,[t("div",Tv,[O(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":C[2]||(C[2]=q=>v.value=q),value:""},null,512),[[Bt,v.value]]),t("label",Iv,i(e(a)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",Mv,[O(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":C[3]||(C[3]=q=>v.value=q),value:"true"},null,512),[[Bt,v.value]]),t("label",Lv,i(e(a)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",Ov,[m.value?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:_},i(e(a)("\u786E\u5B9A")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:h},i(e(a)("\u8FD4\u56DE")),1),m.value?D("",!0):(r(),s("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},i(e(a)("\u53D6\u6D88")),1))])])):D("",!0)]}),_:1},8,["Close"]))}});var Vv=N(Nv,[["__scopeId","data-v-29784fe8"]]);const Gv=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(Vv,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},jv={href:"/cgi-bin/luci/admin/docker/overview"},Uv={key:0,class:"content"},qv={key:1,class:"content",style:{display:"flex","justify-content":"center"}},Rv=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=E(),c=E(!1),d=()=>{Gv()};return setTimeout(()=>{G.Guide.DockerStatus.GET().then(k=>{var g;if((g=k==null?void 0:k.data)!=null&&g.result){const p=k.data.result;l.value=p}}).finally(()=>{a.value=!0})},1100),(k,g)=>{var m;const p=_t("icon-loading");return r(),Z(Wt,{title:"Docker",showSettings:!0,onFooterClick:d,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":c.value,"onUpdate:isSettingsMenuOpen":g[1]||(g[1]=v=>c.value=v)},Fo({icon:V(()=>[Y(Sa,{color:"#155dfc",class:"icon"})]),settings:V(()=>{var v;return[t("div",{class:"btn_settings",onClick:d},[Y(Sa,{color:"#0a0a0a",class:"icon1 dockerIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("Docker\u8FC1\u79FB")),1),((v=l.value)==null?void 0:v.status)==="running"?(r(),s("div",{key:0,class:"rotation",onClick:g[0]||(g[0]=ft(b=>c.value=!c.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])):D("",!0)])]}),default:V(()=>[a.value?(r(),s("div",Uv,[Y(Qg,{docker:l.value},null,8,["docker"])])):(r(),s("div",qv,[Y(p,{size:40,color:"currentColor"})]))]),_:2},[((m=l.value)==null?void 0:m.status)==="running"?{name:"settings-menu",fn:V(()=>[t("div",null,[t("a",jv,i(e(n)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])}:void 0]),1032,["is-settings-menu-open"])}}});var Wv=N(Rv,[["__scopeId","data-v-7dcbc620"]]);const Hv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Jv=["fill"],Zv=["fill"],io=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Hv,[t("path",{d:"M577.78 355.55H449.62c-52.93 0-96 43.07-96 96V579.7c0 52.93 43.07 96 96 96h128.15c52.93 0 96-43.07 96-96V451.55c0.01-52.93-43.06-96-95.99-96z m32 224.15c0 17.64-14.36 32-32 32H449.62c-17.65 0-32-14.36-32-32V451.55c0-17.65 14.35-32 32-32h128.15c17.64 0 32 14.35 32 32V579.7z",fill:o.color,"p-id":"5378"},null,8,Jv),t("path",{d:"M927.33 547.13c17.67 0 32-14.33 32-32s-14.33-32-32-32h-62.44V355.2h62.44c17.67 0 32-14.33 32-32s-14.33-32-32-32h-64.37c-10.34-64.43-61.3-115.45-125.69-125.87v-64.19c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H545.34v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H353.2v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v64.16c-64.46 10.37-115.49 61.42-125.83 125.9H99.14c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v127.93h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v128.14h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h64.28c10.45 64.34 61.42 115.25 125.79 125.61v64.46c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h128.14v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h127.93v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-64.48c64.3-10.41 115.2-61.29 125.64-125.58h64.42c17.67 0 32-14.33 32-32s-14.33-32-32-32H864.9V547.13h62.43zM800.89 714.82c0 48.52-39.48 88-88 88H313.44c-48.52 0-88-39.48-88-88V315.36c0-48.52 39.48-88 88-88H712.9c48.52 0 88 39.48 88 88v399.46z",fill:o.color,"p-id":"5379"},null,8,Zv)]))}}),Kv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Qv=["fill"],Xv=I({props:{color:{type:String,default:"#ef4444"}},setup(o){return(n,a)=>(r(),s("svg",Kv,[t("path",{d:"M520 75c72.899 0 132.133 58.543 133.31 131.209l0.018 2.206v399.237C700.759 646.978 729 705.514 729 768.714c0 84.846-50.493 157.892-123.051 190.69C579.509 971.959 549.966 979 518.85 979c-57.133 0-108.962-23.737-146.008-61.784C334.65 879.324 311 826.783 311 768.714c0-63.27 28.313-121.806 75.67-161.065l0.002-399.234C386.672 134.732 446.365 75 520 75z m0 59.807c-40.22 0-72.9 32.3-73.55 72.39l-0.01 1.218v403.457c4.008 12.048-0.02 25.747-10.721 33.573l-0.619 0.441c-40.008 27.753-64.332 73.214-64.332 122.828 0 82.472 66.813 149.33 149.232 149.33s149.232-66.858 149.232-149.33c0-47.591-22.367-91.397-59.645-119.44l-1.134-0.846a29.773 29.773 0 0 1-10.972-15.751 29.763 29.763 0 0 1-3.913-14.111l-0.008-0.706V208.415c0-40.653-32.934-73.608-73.56-73.608z m-2.299 236.926c4.41 0 8.66 0.69 12.647 1.968 16.826 4.965 29.19 20.52 29.19 38.81l0.002 240.184c47.972 17.182 82.294 63.07 82.294 116.982 0 6.94-0.568 13.747-1.662 20.376-6.746 60.536-58.728 108.02-121.321 108.02-47.223 0-88.407-27.027-108.683-66.296-10.557-18.27-16.6-39.479-16.6-62.1 0-54.083 34.542-100.093 82.754-117.145l0.002-239.422c0-22.852 18.525-41.377 41.377-41.377z",fill:o.color,"p-id":"4599"},null,8,Qv)]))}}),tb={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},eb=["fill"],ro=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),s("svg",tb,[t("path",{d:"M760.1 64l-150 262.7-41 71.8c-6.1 10.7 1.6 23.9 13.9 23.9h104.7c13.9 0 21.2 16.6 11.8 26.9L410.8 761.9l59.5-178.5 21.1-63.2c3.5-10.4-4.3-21.1-15.2-21.1H277.8c-11.6 0-19.4-12-14.6-22.6l179-393.8c5.2-11.4 16.6-18.8 29.1-18.8h288.8M450.8 0c-25.1 0-47.9 14.7-58.3 37.5L194.7 472.7c-19.3 42.4 11.7 90.5 58.3 90.5h145.5c5.5 0 9.3 5.3 7.6 10.5L256 1024l515.3-558.2c37.8-41 8.8-107.4-47-107.4h-44.8c-6.1 0-10-6.6-6.9-12L870.4 0H450.8z","p-id":"4712",fill:o.color},null,8,eb)]))}}),ab={key:0,class:"center-content"},ob=I({props:{value:null,color:null,icon:null,label:null,width:null,height:null},setup(o){const n=o;Xe([Eo,ta,ea]);const a=E(null);let l=null;function c(k,g){return{tooltip:{show:!1},series:[{type:"pie",radius:["75%","90%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},z:1,zlevel:0,data:[{value:k,itemStyle:{color:g||"#409EFF"}},{value:Math.max(0,100-k),itemStyle:{color:"#f0f0f0"}}]}]}}const d=()=>{!a.value||(l=l!=null?l:aa(a.value),l.setOption(c(n.value,n.color)))};Pt(()=>L(this,null,function*(){yield na(),d(),window.addEventListener("resize",u)}));function u(){l==null||l.resize()}return $t(()=>[n.value,n.color],()=>{l?l.setOption({series:[{z:1,zlevel:0,data:[{value:n.value,itemStyle:{color:n.color||"#409EFF"}},{value:Math.max(0,100-n.value),itemStyle:{color:"#f0f0f0"}}]}]}):d()},{immediate:!0}),ke(()=>{window.removeEventListener("resize",u),l==null||l.dispose(),l=null}),(k,g)=>(r(),s("div",{class:"pie-chart-wrapper",style:ht({width:o.width||"120px",height:o.height||"120px"})},[t("div",{ref_key:"chartDom",ref:a,class:"chart-dom"},null,512),o.icon||o.label?(r(),s("div",ab,[o.icon==="chip"?(r(),Z(io,{key:0,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="temperature"?(r(),Z(Xv,{key:1,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="lightning"?(r(),Z(ro,{key:2,color:o.color,class:"center-icon"},null,8,["color"])):D("",!0),o.label?(r(),s("div",{key:3,class:"center-label",style:ht({color:o.color})},i(o.label),5)):D("",!0)])):D("",!0)],4))}});var Qe=N(ob,[["__scopeId","data-v-a9cd39ac"]]);const nb={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},ib=["fill"],za=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",nb,[t("path",{d:"M868.95177918 215.34678468H274.11312994c-10.26749627 0-19.00277466 3.6151618-26.30943653 10.88910739-7.22487113 7.23032433-10.89456058 15.97650768-10.89456059 26.20583515v370.75858453c0 10.24023245 3.66968946 18.95370022 10.89456059 26.22764579 7.30666259 7.22487113 16.04194099 10.86184429 26.30943653 10.86184429h594.83864924c10.28385442 0 19.04094415-3.63697315 26.28217344-10.86184429 7.30120941-7.27394558 10.9218244-15.98741334 10.92182439-26.22764579V252.44172722c0-10.2293275-3.62061501-18.97551083-10.92727686-26.20583516-7.23577681-7.27394558-15.99286582-10.8891081-26.27672097-10.88910738M274.09131931 141.21142578h594.83864924c30.77522572 0 57.07375657 10.86729676 78.86287773 32.59643853 21.78912116 21.74004671 32.66187112 47.91861806 32.66187114 78.62841045v370.76403699c0 30.68798176-10.87274996 56.91562756-32.66187114 78.63386293-21.78912116 21.72914105-48.08765274 32.59643853-78.86287773 32.59643851H608.68737796v74.15716953h111.5465602c10.26204379 0 19.03003849 3.6151618 26.28217344 10.8891081 7.29030445 7.22487113 10.91091874 15.97650768 10.91091872 26.20583518 0 10.24023245-3.62061501 18.98641651-10.91637192 26.20038195-7.25213496 7.28485125-16.01467717 10.90001305-26.27672024 10.90001379H422.80370787c-10.27840195 0-19.0191328-3.6151618-26.30943728-10.90001379-7.25213496-7.21396618-10.89456058-15.96014952-10.89456056-26.20038195 0-10.23477998 3.6478781-18.97551083 10.89456056-26.20583518 7.29030445-7.27394558 16.03103531-10.8891081 26.30943728-10.8891081h111.53565452v-74.15716953H274.09131931c-30.79703633 0-57.09011544-10.86729676-78.86287845-32.59643851C173.43931968 680.11593931 162.54475911 653.88829351 162.54475911 623.20031175V252.44172722C162.54475911 221.72648236 173.43931968 195.54791102 195.22844086 173.80786431 217.00665706 152.07872254 243.29428298 141.21142578 274.09131931 141.21142578","p-id":"6454",fill:o.color},null,8,ib)]))}}),rb={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},sb=["fill"],db=["fill"],lb=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),s("svg",rb,[t("path",{d:"M512 458.67c-8.66 0-15.69 7.02-15.69 15.69v125.49c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-125.5c0-8.66-7.03-15.68-15.69-15.68z m-31.37-26.98h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v103.53h-15.69c-8.66 0-15.69 7.02-15.69 15.69 0.01 8.66 7.03 15.69 15.7 15.69z m219.61 53.33c-8.66 0-15.69 7.02-15.69 15.69V601.1c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-99.76c0.35-8.66-6.39-15.95-15.05-16.3-0.22-0.02-0.43-0.02-0.64-0.02z m-31.38-27.61h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-14.43V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v125.49h-16.94c-8.66 0-15.69 7.02-15.69 15.69 0 8.66 7.02 15.69 15.69 15.69v3.76z m-376.47 32.63h62.75c8.66 0 15.69-7.02 15.69-15.69s-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69-8.66 0-15.69 7.02-15.69 15.69v161.88h-15.69c-8.66 0-15.69 7.02-15.69 15.69s7.04 15.69 15.7 15.69z m31.37 32c-8.66 0-15.69 7.02-15.69 15.69v62.75c0 8.66 7.02 15.69 15.69 15.69 8.66 0 15.69-7.02 15.69-15.69v-62.75c0-8.67-7.02-15.69-15.69-15.69z",fill:o.color,"p-id":"15217"},null,8,sb),t("path",{d:"M870 116.39H154c-49.71 0-90 40.29-90 90v485.1c0 49.71 40.29 90 90 90h716c49.71 0 90-40.29 90-90v-485.1c0-49.7-40.29-90-90-90z m50 565.1c0 33.14-26.86 60-60 60H164c-33.14 0-60-26.86-60-60v-465.1c0-33.14 26.86-60 60-60h696c33.14 0 60 26.86 60 60v465.1zM680.24 907.61H343.76c-11.05 0-20-8.95-20-20s8.95-20 20-20h336.48c11.05 0 20 8.95 20 20 0 11.04-8.96 20-20 20z",fill:o.color,"p-id":"15218"},null,8,db)]))}}),cb={href:"/cgi-bin/luci/admin/system/flash"},ub={href:"/cgi-bin/luci/admin/store/pages/maintance"},pb={class:"content"},fb={class:"chart_box"},mb={class:"chart"},gb={class:"chart"},vb={class:"chart"},bb={class:"info"},hb={class:"item1 bgcolor1"},_b={style:{"font-weight":"bold","margin-top":"2px"}},xb={class:"item1 bgcolor2"},wb={style:{"font-weight":"bold","margin-top":"2px"}},kb={class:"item"},yb={class:"item"},Fb=I({setup(o){const{$gettext:n}=J(),a=Le(),l=Q(()=>a.version),c=Q(()=>a.systemStatus),d=E(!1),u=Q(()=>{var w;return((w=c.value)==null?void 0:w.cpuUsage)||0}),k=Q(()=>{var w;return((w=c.value)==null?void 0:w.cpuTemperature)||0}),g=Q(()=>{var h;const w=((h=c.value)==null?void 0:h.memAvailablePercentage)||100;return 100-w}),p=Q(()=>{const w=u.value;return w<76?"#3b82f6":w>=76&&w<96?"#f59e0b":"#ef4444"}),m=Q(()=>k.value<=115?"#22c55e":"#f97316"),v=Q(()=>{const w=g.value;return w<76?"#8b5cf6":w>=76&&w<96?"#fb923c":"#b91c1c"}),b=()=>{location.href="/cgi-bin/luci/admin/status/overview"},y=Mt.stampForm;Pt(()=>{});const f=()=>{d.value=!d.value},F=()=>{f(),zt.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(w,h)=>(r(),Z(Wt,{title:e(n)("\u7CFB\u7EDF\u4FE1\u606F"),showFooter:!1,style:{width:"100%",height:"100%",display:"block"}},{icon:V(()=>[Y(za,{class:"icon computerIcon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:b},[Y(za,{color:"#0a0a0a",class:"icon2 computerIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u4FE1\u606F\u6982\u89C8")),1)])]),"settings-menu":V(()=>[t("div",null,[t("a",{onClick:F},i(e(n)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("div",null,[t("a",cb,i(e(n)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("div",null,[t("a",ub,i(e(n)("\u63D2\u4EF6\u5907\u4EFD")),1)])]),default:V(()=>{var _,x,C,S,A;return[t("div",pb,[t("div",fb,[t("div",mb,[Y(Qe,{value:e(u),color:e(p),icon:"chip",label:`${e(u)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u4F7F\u7528\u7387")),1)]),t("div",gb,[Y(Qe,{value:e(k)/1.5,color:e(m),icon:"temperature",label:`${e(k)}\u2103`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u6E29\u5EA6")),1)]),t("div",vb,[Y(Qe,{value:e(g),color:e(v),icon:"lightning",label:`${e(g)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("\u5185\u5B58\u4F7F\u7528\u7387")),1)])]),t("div",bb,[t("div",hb,[t("div",null,[Y(io,{color:"#155dfc",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u8BBE\u5907\u578B\u53F7")),1)]),t("span",_b,i((_=e(l))==null?void 0:_.model),1)]),t("div",xb,[t("div",null,[Y(lb,{color:"#00a63e",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u56FA\u4EF6\u7248\u672C")),1)]),t("span",wb,i((x=e(l))==null?void 0:x.firmwareVersion)+"\uFF08"+i(e(n)("\u5185\u6838"))+"\uFF1A"+i((C=e(l))==null?void 0:C.kernelVersion)+"\uFF09",1)]),t("div",kb,[t("div",null,i(e(n)("\u7CFB\u7EDF\u65F6\u95F4"))+"\uFF1A",1),t("span",null,i((S=e(c))==null?void 0:S.localtime),1)]),t("div",yb,[t("div",null,i(e(n)("\u5DF2\u542F\u52A8"))+"\uFF1A",1),t("span",null,i(e(y)((A=e(c))==null?void 0:A.uptime)),1)])])])]}),_:1},8,["title"]))}});var Eb=N(Fb,[["__scopeId","data-v-17decdbc"]]);const $b=["onClick"],Cb={class:"modal-header"},Db={class:"modal-title"},Bb={class:"modal-content"},Yb={key:0,class:"modal-footer"},Xt=I({props:{modelValue:{type:Boolean},title:{default:"\u63D0\u793A"},showClose:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1},footerShow:{type:Boolean,default:!0},width:{default:"500px"}},emits:["update:modelValue","confirm","cancel","close"],setup(o,{expose:n,emit:a}){const l=o;$o(v=>({"1df87c10":e(d)}));const{$gettext:c}=J(),d=Q(()=>typeof l.width=="number"?`${l.width}px`:l.width),u=E(l.modelValue);$t(()=>l.modelValue,v=>{u.value=v}),$t(u,v=>{a("update:modelValue",v),v||a("close")}),Q(()=>typeof l.width=="number"?`${l.width}px`:l.width);const k=()=>{u.value=!1},g=()=>{l.closeOnClickOverlay&&m()},p=()=>{a("confirm")},m=()=>{a("cancel"),k()};return n({show:()=>u.value=!0,hide:()=>u.value=!1}),(v,b)=>(r(),Z(St,{name:"fade"},{default:V(()=>[u.value?(r(),s("div",{key:0,class:"modal-overlay",onClick:ft(g,["self"])},[Y(St,{name:"slide"},{default:V(()=>[t("div",{class:"modal-container",style:ht({maxWidth:e(d)})},[t("div",Cb,[t("h3",Db,i(e(c)(o.title)),1),o.showClose?(r(),s("button",{key:0,class:"modal-close",onClick:m,"aria-label":"Close"}," \xD7 ")):D("",!0)]),t("div",Bb,[Yt(v.$slots,"default")]),o.footerShow?(r(),s("div",Yb,[Yt(v.$slots,"footer",{},()=>[t("button",{class:"modal-button cancel",onClick:m},i(e(c)("\u53D6\u6D88")),1),t("button",{class:"modal-button confirm",onClick:p},i(e(c)("\u4FDD\u5B58")),1)])])):D("",!0)],4)]),_:3})],8,$b)):D("",!0)]),_:3}))}}),Ab=o=>(ct("data-v-9ce78472"),o=o(),ut(),o),Sb=Ab(()=>t("span",{class:"switch__button"},null,-1)),zb=[Sb],Pb=["checked","disabled"],Tb=I({props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},activeColor:{default:"#409EFF"},inactiveColor:{default:"#DCDFE6"}},emits:["update:modelValue","change","beforeChange"],setup(o,{emit:n}){const a=o,l=()=>{if(n("beforeChange",!a.modelValue),a.disabled)return;const c=!a.modelValue;n("update:modelValue",c),n("change",c)};return Q(()=>a.modelValue),(c,d)=>(r(),s("div",{class:lt(["switch",{"is-checked":o.modelValue,"is-disabled":o.disabled}]),onClick:l},[t("span",{class:"switch__core",style:ht({backgroundColor:o.modelValue?o.activeColor:o.inactiveColor,borderColor:o.modelValue?o.activeColor:o.inactiveColor})},zb,4),t("input",{type:"checkbox",class:"switch__input",checked:o.modelValue,disabled:o.disabled},null,8,Pb)],2))}});var Ot=N(Tb,[["__scopeId","data-v-9ce78472"]]);const Ib={class:"module-settings"},Mb={class:"module-settings__header"},Lb={class:"module-settings__summary"},Ob={class:"module-settings__badge"},Nb={class:"module-settings__texts"},Vb={class:"module-settings__title"},Gb={class:"module-settings__sub"},jb={class:"module-settings__list"},Ub={class:"module-settings__info"},qb={class:"module-settings__name"},Rb={class:"module-settings__desc"},Wb={class:"module-settings__footer"},Hb=I({props:{visible:{type:Boolean},modules:null,states:null},emits:["update:visible","update:states","cancel","save"],setup(o,{emit:n}){const a=o,{$gettext:l}=J(),c=Q({get:()=>a.visible,set:b=>n("update:visible",b)}),d=()=>{const b={};return a.modules.forEach(y=>{var f,F;b[y.key]=(F=(f=a.states)==null?void 0:f[y.key])!=null?F:!0}),b},u=gt(d());$t(()=>a.visible,b=>{b&&Object.assign(u,d())}),$t(()=>a.states,()=>{Object.assign(u,d())},{deep:!0}),$t(()=>a.modules,()=>{Object.assign(u,d())},{deep:!0});const k=Q(()=>a.modules.reduce((b,y)=>u[y.key]?b+1:b,0)),g=(b,y)=>{const f=a.modules.find(F=>F.key===b);if(!!f&&!f.disabled){if(y===!1&&a.modules.reduce((w,h)=>u[h.key]?w+1:w,0)<=1)return $.Warning(l("\u8BF7\u81F3\u5C11\u4FDD\u7559\u4E00\u9879\uFF01"));u[b]=y}},p=()=>{n("cancel"),c.value=!1},m=()=>{const b=st({},a.states||{});a.modules.forEach(y=>{b[y.key]=!!u[y.key]}),n("save",b)},v=()=>{a.modules.forEach(b=>{b.disabled||(u[b.key]=!0)})};return(b,y)=>(r(),Z(Xt,{modelValue:e(c),"onUpdate:modelValue":y[0]||(y[0]=f=>Ia(c)?c.value=f:null),title:e(l)("\u6A21\u5757\u663E\u793A\u8BBE\u7F6E"),width:"640px","show-close":!0,onCancel:p,onConfirm:m},{footer:V(()=>[t("div",Wb,[t("button",{class:"module-settings__btn module-settings__btn--secondary",type:"button",onClick:p},i(e(l)("\u53D6\u6D88")),1),t("button",{class:"module-settings__btn module-settings__btn--primary",type:"button",onClick:m},i(e(l)("\u4FDD\u5B58\u8BBE\u7F6E")),1)])]),default:V(()=>[t("span",null,i(e(l)("\u9009\u62E9\u8981\u5728\u9996\u9875\u663E\u793A\u7684\u529F\u80FD\u6A21\u5757\uFF0C\u9690\u85CF\u4E0D\u5E38\u7528\u7684\u6A21\u5757\u53EF\u4EE5\u8BA9\u754C\u9762\u66F4\u7B80\u6D01")),1),t("div",Ib,[t("div",Mb,[t("div",Lb,[t("div",Ob,i(e(k)),1),t("div",Nb,[t("span",Vb,i(e(l)("\u5DF2\u663E\u793A\u6A21\u5757")),1),t("span",Gb,i(e(l)("\u5171"))+i(o.modules.length)+i(e(l)("\u4E2A\u6A21\u5757")),1)])]),t("button",{class:"module-settings__toggle-all",type:"button",onClick:v},i(e(l)("\u5168\u90E8\u663E\u793A")),1)]),t("div",jb,[(r(!0),s(U,null,tt(o.modules,f=>(r(),s("div",{key:f.key,class:lt(["module-settings__item",{"module-settings__item--disabled":f.disabled}])},[t("div",Ub,[t("div",qb,[t("span",{class:lt(["module-settings__dot",{"is-active":e(u)[f.key]}])},null,2),t("span",null,i(f.title),1)]),t("p",Rb,i(f.description),1)]),Y(Ot,{"model-value":e(u)[f.key],disabled:f.disabled,"active-color":"#553AFE","inactive-color":"#E5E6EB",onChange:F=>g(f.key,F)},null,8,["model-value","disabled","onChange"])],2))),128))])])]),_:1},8,["modelValue","title"]))}});var Jb=N(Hb,[["__scopeId","data-v-4d62ccd2"]]);const Zb={class:"page-container"},Kb={style:{height:"48px","text-align":"right",display:"flex","justify-content":"flex-end","align-items":"start"}},Qb={style:{display:"flex","align-items":"center"}},Xb={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},th=["title"],eh={key:0,class:"card-container"},ah={key:1,style:{"margin-top":"10px"}},oh={key:0,class:"network-stack"},nh={class:"stack-item"},ih={class:"stack-item",style:{"margin-top":"10px"}},rh={key:1,class:"network-container"},sh={key:2,class:"network-container align-c"},dh={class:"left-box"},lh={key:3,class:"other-container"},ch={class:"grid-container"},uh={key:4,class:"system"},ph=I({setup(o){var T,j;const{$gettext:n}=J(),a=Pe();en();const l=Le(),c=E(!0);(j=(T=window.quickstart_configs)==null?void 0:T.update)!=null&&j.disable&&(c.value=!1),c.value&&setTimeout(()=>{l.requestCheckUpdate()},1100);const d=Fe(),u=Q(()=>d.deviceList),k=Q(()=>{var R,it;return[{icon:"navigation",title:n("\u7F51\u7EDC\u5411\u5BFC"),subtitle:n("\u7F51\u7EDC\u914D\u7F6E\u5F15\u5BFC"),tag:n("\u667A\u80FD\u914D\u7F6E"),status:"",extra:"",color:"purple",link:"/network"},{icon:"topology",title:n("\u5C40\u57DF\u7F51\u8BBE\u5907\u7BA1\u7406"),subtitle:n("\u7BA1\u7406\u7F51\u7EDC\u4E2D\u7684\u6240\u6709\u8BBE\u5907"),badge:n("\u63A8\u8350"),status:"",num:((it=(R=u.value)==null?void 0:R.devices)==null?void 0:it.length)||0,color:"blue",link:"/devicemanagement"},{icon:"speed",title:n("\u7F51\u7EDC\u6D4B\u901F"),subtitle:n("\u68C0\u6D4B\u7F51\u7EDC\u901F\u5EA6"),status:"",color:"skyblue",link:"/networkSpeedTest"},{icon:"baby",title:n("\u5BB6\u957F\u63A7\u5236"),subtitle:n("\u513F\u7AE5\u4E0A\u7F51\u4FDD\u62A4"),badge:n("\u4FDD\u62A4"),status:"",extra:"",color:"pink",isActive:!0,alink:"/cgi-bin/luci/admin/services/appfilter"},{icon:"appStore",title:n("\u5E94\u7528\u5546\u5E97"),subtitle:n("\u767E\u6B3E\u5E94\u7528\uFF0C\u81EA\u7531\u9009\u62E9"),status:"",color:"orange",alink:"/cgi-bin/luci/admin/store/pages/store"}]}),g=R=>{if(!!R.title){if(R.icon=="speed")return m();if(R.icon=="baby")return p();R.link?a.push(R.link):R.alink&&(window.location.href=R.alink)}},p=()=>L(this,null,function*(){(yield zt.checkAndInstallApp("luci-app-oaf","\u5E94\u7528\u8FC7\u6EE4"))&&(window.location.href="/cgi-bin/luci/admin/services/appfilter")}),m=()=>L(this,null,function*(){const R="app-meta-fastnet";(yield zt.checkAndInstallApp(R,n("FastNet")))&&(window.location.href="/cgi-bin/luci/admin/services/fastnet")}),v=E(!1);(()=>L(this,null,function*(){try{const R=yield G.App.Check.POST({name:"luci-app-oaf"});if(R!=null&&R.data){const{result:it,error:ot}=R.data;ot?v.value=!1:it&&it.status=="installed"?v.value=!0:v.value=!1}}catch(R){v.value=!1}}))();const y={quickActions:!0,networkFlow:!0,networkConnection:!0,networkInterface:!0,configModule:!0,diskInfo:!0,storage:!0,docker:!0,downloadService:!0,remoteDomain:!0,systemInfo:!0},f=E({quickActions:!1,networkFlow:!1,networkConnection:!1,networkInterface:!1,configModule:!1,diskInfo:!1,storage:!1,docker:!1,downloadService:!1,remoteDomain:!1,systemInfo:!1}),F=E(!1),w=Q(()=>{const R=[{key:"quickActions",title:n("\u5FEB\u6377\u5165\u53E3"),description:n("\u9876\u90E8\u5FEB\u6377\u6377\u5F84\u6309\u94AE\u7EC4")},{key:"networkFlow",title:n("\u7F51\u7EDC\u6D41\u91CF"),description:n("\u5B9E\u65F6\u6D41\u91CF\u7EDF\u8BA1\u56FE\u8868")},{key:"networkConnection",title:n("\u7F51\u7EDC\u8FDE\u63A5\u548CIP\u5730\u5740"),description:n("\u8054\u7F51\u65F6\u95F4\u548C\u8BBE\u5907\u4FE1\u606F")},{key:"networkInterface",title:n("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001"),description:n("\u7F51\u7EDC\u63A5\u53E3\u8BE6\u7EC6\u4FE1\u606F")},{key:"configModule",title:n("\u914D\u7F6E\u6A21\u5757"),description:n("\u5185\u7F51\u914D\u7F6E\u3001DNS\u914D\u7F6E\u7B49\u5DE5\u5177")},{key:"diskInfo",title:n("\u78C1\u76D8\u4FE1\u606F"),description:n("\u78C1\u76D8\u4F7F\u7528\u60C5\u51B5\u4E0E\u5BB9\u91CF\u6982\u89C8")},{key:"storage",title:n("\u5B58\u50A8\u670D\u52A1"),description:n("\u5171\u4EAB\u4E0E\u5B58\u50A8\u670D\u52A1\u6982\u89C8")},{key:"downloadService",title:n("\u4E0B\u8F7D\u670D\u52A1"),description:n("\u4E0B\u8F7D\u4EFB\u52A1\u4E0E\u670D\u52A1\u72B6\u6001")},{key:"remoteDomain",title:n("\u8FDC\u7A0B\u57DF\u540D"),description:n("\u8FDC\u7A0B\u8BBF\u95EE\u57DF\u540D\u7BA1\u7406")},{key:"systemInfo",title:n("\u7CFB\u7EDF\u4FE1\u606F"),description:n("\u8BBE\u5907\u7CFB\u7EDF\u4FE1\u606F\u6982\u89C8")}];return Qt("dockerd")&&R.splice(7,0,{key:"docker",title:n("Docker\u6A21\u5757"),description:n("\u5BB9\u5668\u8FD0\u884C\u72B6\u6001\u4E0E\u7BA1\u7406")}),R}),h=Q(()=>f.value.networkFlow||f.value.networkConnection||f.value.networkInterface),_=Q(()=>f.value.networkConnection||f.value.networkInterface),x=Q(()=>f.value.networkFlow&&!f.value.networkConnection&&f.value.networkInterface),C=Q(()=>f.value.networkFlow&&!f.value.networkConnection&&!f.value.networkInterface),S=Q(()=>f.value.networkConnection&&!f.value.networkInterface);typeof window!="undefined"&&$t(()=>[f.value.networkConnection,f.value.networkInterface],()=>{requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})});const A=Q(()=>{const R=[];return f.value.diskInfo&&R.push({key:"diskInfo",component:$g}),f.value.storage&&R.push({key:"storage",component:jf}),Qt("dockerd")&&f.value.docker&&R.push({key:"docker",component:Wv}),f.value.downloadService&&R.push({key:"downloadService",component:n1}),f.value.remoteDomain&&R.push({key:"remoteDomain",component:s5}),R}),z=(R,it)=>{if(it<=0)return"100%";if(it<=2)return`calc((100% - ${(it-1)*24}px) / ${it})`;const ot=Math.min(2,it);if(RL(this,null,function*(){if(!(B.value&&Object.keys(R).some(Dt=>{var yt;return R[Dt]!==((yt=B.value)==null?void 0:yt[Dt])}))){F.value=!1;return}const ot=st(st({},f.value),R);(yield q(ot))&&(f.value=ot,F.value=!1)}),M=()=>L(this,null,function*(){var R,it;try{const ot=yield G.ModuleSettings.GET(),bt=(it=(R=ot==null?void 0:ot.data)==null?void 0:R.result)==null?void 0:it.diableDisplay;if(!bt||bt.length===0||bt.length===1&&bt[0]===""){const Dt=st({},y);f.value=Dt,B.value=st({},Dt)}else{const Dt=st({},y);bt.forEach(yt=>{yt&&yt.trim()&&yt in Dt&&(Dt[yt]=!1)}),f.value=Dt,B.value=st({},Dt)}}catch(ot){console.warn("[ModuleSettings] fetch failed",ot),f.value=st({},y),B.value=st({},y)}}),q=R=>L(this,null,function*(){try{const it=[];return Object.keys(R).forEach(ot=>{R[ot]||it.push(ot)}),yield G.ModuleSettings.POST({diableDisplay:it}),B.value=st({},R),$.Success(n("\u4FDD\u5B58\u6210\u529F")),!0}catch(it){return console.error("[ModuleSettings] save failed",it),$.Warning(n("\u4FDD\u5B58\u5931\u8D25\uFF01")),!1}});return $t(F,R=>{R&&(B.value=st({},f.value))}),M(),(R,it)=>(r(),s("div",Zb,[t("div",Kb,[t("div",Qb,[t("a",Xb,i(e(n)("iStoreOS\u5B98\u7F51")),1),t("span",{title:e(n)("\u6A21\u5757\u8BBE\u7F6E"),class:"model_btn",onClick:it[0]||(it[0]=ot=>F.value=!0)},[Y(R8,{style:{width:"16px",height:"16px"}})],8,th)])]),f.value.quickActions?(r(),s("div",eh,[(r(!0),s(U,null,tt(e(k),(ot,bt)=>(r(),s(U,{key:bt},[ot.icon!==""||v.value?(r(),Z(E4,{key:0,card:ot,onClick:g},null,8,["card"])):D("",!0)],64))),128))])):D("",!0),e(h)?(r(),s("div",ah,[e(x)?(r(),s("div",oh,[t("div",nh,[Y(Fa,{style:{"min-height":"600px"}})]),t("div",ih,[Y(Da)])])):(r(),s("div",rh,[f.value.networkFlow?(r(),s("div",{key:0,class:lt(["left-box",{"full-row":e(C)}])},[Y(Fa,{style:ht(e(C)?{minHeight:"600px"}:void 0)},null,8,["style"])],2)):D("",!0),e(_)?(r(),s("div",{key:1,class:lt(["right-box",{"single-card":e(S)}]),style:{overflow:"visible"}},[f.value.networkConnection?(r(),Z($8,{key:0,class:lt({"fill-card":e(S)})},null,8,["class"])):D("",!0),f.value.networkInterface?(r(),Z(Da,{key:1,style:ht({marginTop:f.value.networkConnection?"10px":"0px"})},null,8,["style"])):D("",!0)],2)):D("",!0)]))])):D("",!0),f.value.configModule?(r(),s("div",sh,[t("div",dh,[Y(I7)])])):D("",!0),e(A).length?(r(),s("div",lh,[t("div",ch,[(r(!0),s(U,null,tt(e(A),(ot,bt)=>(r(),s("div",{class:"grid-item",key:ot.key,style:ht({flexBasis:z(bt,e(A).length)})},[(r(),Z(oa(ot.component)))],4))),128))])])):D("",!0),f.value.systemInfo?(r(),s("div",uh,[Y(Eb)])):D("",!0),Y(Jb,{visible:F.value,"onUpdate:visible":it[1]||(it[1]=ot=>F.value=ot),modules:e(w),states:f.value,onSave:H},null,8,["visible","modules","states"])]))}});var fh=N(ph,[["__scopeId","data-v-ba5c5490"]]);const mh={};function gh(o,n){const a=_t("router-view");return r(),Z(a)}var vh=N(mh,[["render",gh]]);const bh={},hh={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_h=jt('',2),xh=[_h];function wh(o,n){return r(),s("svg",hh,xh)}var kh=N(bh,[["render",wh]]);const yh={},Fh={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Eh=jt('',2),$h=[Eh];function Ch(o,n){return r(),s("svg",Fh,$h)}var Dh=N(yh,[["render",Ch]]);const Bh={},Yh={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Ah=jt('',2),Sh=[Ah];function zh(o,n){return r(),s("svg",Yh,Sh)}var Ph=N(Bh,[["render",zh]]);const Th={id:"page"},Ih={class:"title"},Mh={class:"desc"},Lh={class:"network-containers"},Oh={class:"network-container_item"},Nh={class:"cover"},Vh={class:"thumbnail"},Gh={class:"network-container_item"},jh={class:"cover"},Uh={class:"thumbnail"},qh={class:"network-container_item"},Rh={class:"cover"},Wh={class:"thumbnail"},Hh=["innerHTML"],Jh=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=n("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+n("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(c,d)=>{const u=_t("router-link");return r(),s("div",Th,[t("div",Ih,i(e(n)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",Mh,i(e(n)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",Lh,[t("div",Oh,[Y(u,{to:"/network/pppoe"},{default:V(()=>[t("div",Nh,[t("div",Vh,[Y(Dh),t("span",null,i(e(n)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",Gh,[Y(u,{to:"/network/dhcp"},{default:V(()=>[t("div",jh,[t("div",Uh,[Y(kh),t("span",null,i(e(n)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",qh,[Y(u,{to:"/network/gateway"},{default:V(()=>[t("div",Rh,[t("div",Wh,[Y(Ph),t("span",null,i(e(n)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(l)},null,8,Hh)])}}});var Zh=N(Jh,[["__scopeId","data-v-0b149a51"]]);const Kh={key:0,id:"page"},Qh={class:"title"},Xh={class:"desc"},t_={class:"network-message"},e_=["innerHTML"],a_=["onSubmit"],o_={class:"label-key"},n_=["placeholder","disabled"],i_={class:"label-key"},r_=["placeholder","disabled"],s_={key:0,class:"chose_dhcp"},d_={class:"dhcp_info"},l_={key:1,class:"msg"},c_={class:"btns"},u_=["disabled"],p_=["onClick"],f_={key:1,id:"page"},m_={class:"title"},g_={class:"btns"},v_=["onClick"],b_=["onClick"],h_=I({setup(o){const{$gettext:n,$ngettext:a}=J(),c=Te().query.type,d=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),u=E(0),k=E({}),g=E(""),p=E(!1),m=E(0),v=E(!1);(()=>L(this,null,function*(){var f,F;p.value=!0;try{const w=yield Promise.all([G.Guide.Pppoe.GET(),G.Guide.GetLan.GET()]);if(w[0].data){const{success:h,error:_,result:x}=w[0].data;x&&(x.enableLanDhcp=!1,k.value=x),h==-1011&&(p.value=!0,m.value=h)}(f=w[1].data)!=null&&f.result&&(((F=w[1].data)==null?void 0:F.result).enableDhcp||(v.value=!0,k.value.enableLanDhcp=!0))}catch(w){g.value=w}m.value==0&&(p.value=!1)}))();const y=()=>L(this,null,function*(){const f=k.value.account||"",F=k.value.password||"";if(f==""){g.value=n("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(F==""){g.value=n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}p.value=!0;const w=$.Loading(n("\u914D\u7F6E\u4E2D..."));try{const h=yield G.Guide.Pppoe.POST({account:f,password:F});if(h!=null&&h.data){const{error:_,success:x}=h.data;_&&(g.value=_),(x==null||x==0)&&($.Success(n("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(h){g.value=h}p.value=!1,w.Close()});return(f,F)=>{const w=_t("switch-box"),h=_t("router-link");return u.value==0?(r(),s("div",Kh,[t("h2",Qh,i(e(n)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",Xh,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",t_,[m.value==-1011?(r(),s("li",{key:0,innerHTML:e(d)},null,8,e_)):D("",!0)]),t("form",{onSubmit:ft(y,["prevent"])},[t("label",null,[t("div",o_,[t("span",null,i(e(n)("\u5BBD\u5E26\u8D26\u53F7")),1)]),O(t("input",{type:"text","onUpdate:modelValue":F[0]||(F[0]=_=>k.value.account=_),placeholder:e(n)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:p.value},null,8,n_),[[at,k.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",i_,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),O(t("input",{type:"password","onUpdate:modelValue":F[1]||(F[1]=_=>k.value.password=_),placeholder:e(n)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:p.value},null,8,r_),[[at,k.value.password,void 0,{trim:!0}]])]),v.value?(r(),s("div",s_,[Y(w,{modelValue:k.value.enableLanDhcp,"onUpdate:modelValue":F[2]||(F[2]=_=>k.value.enableLanDhcp=_)},{default:V(()=>[t("span",d_,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),g.value?(r(),s("div",l_,i(g.value),1)):D("",!0),t("div",c_,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,u_),Y(h,{to:e(c)=="index"?"/":"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u8FD4\u56DE")),9,p_)]),_:1},8,["to"])])],40,a_)])):u.value==1?(r(),s("div",f_,[t("h2",m_,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",g_,[Y(h,{to:"/",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:_},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,v_)]),_:1}),Y(h,{to:e(c)=="index"?"/":"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u8FD4\u56DE")),9,b_)]),_:1},8,["to"])])])):D("",!0)}}});var __=N(h_,[["__scopeId","data-v-f442676c"]]);const x_={key:0,id:"page"},w_={class:"title"},k_={class:"desc"},y_={class:"network-message"},F_=["innerHTML"],E_=["onSubmit"],$_={class:"label-key"},C_={value:"dhcp"},D_={value:"static"},B_={class:"label-key"},Y_=["placeholder","disabled"],A_={key:0,class:"msg"},S_={class:"label-key"},z_=["placeholder","disabled"],P_={key:1,class:"msg"},T_={class:"label-key"},I_=["placeholder","disabled"],M_={class:"label-key"},L_=["disabled"],O_={value:"manual"},N_={class:"label-key"},V_=["onUpdate:modelValue","placeholder","disabled"],G_={class:"label-key"},j_=["placeholder","disabled"],U_={class:"label-key"},q_=["placeholder","disabled"],R_={key:2,class:"chose_dhcp"},W_={class:"dhcp_info"},H_={key:3,class:"msgs"},J_={class:"btns"},Z_=["disabled"],K_=["onClick"],Q_={key:1,id:"page"},X_={class:"title"},tx={class:"btns"},ex=["onClick"],ax=["onClick"],ox=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),c=E(0),d=E({}),u=E(""),k=E(""),g=E(""),p=E(!1),m=E(""),v=E(""),b=E(0),y=Mt.checkIsIP,f=E(!1),w=Te().query.type;(()=>L(this,null,function*(){var A,z;p.value=!0;try{const B=yield Promise.all([G.Guide.ClientModel.GET(),G.Guide.GetLan.GET()]);if(B[0]){const H=B[0];if(H.data){const{success:M,error:q,result:T}=H.data;T&&(T.wanProto!="dhcp"&&T.wanProto!="static"&&(T.wanProto="dhcp",T.dnsProto="auto"),T.enableLanDhcp=!1,d.value=T),M==-1011&&(b.value=M,p.value=!0)}}(A=B[1].data)!=null&&A.result&&(((z=B[1].data)==null?void 0:z.result).enableDhcp||(f.value=!0,d.value.enableLanDhcp=!0))}catch(B){u.value=B}b.value==0&&(p.value=!1)}))();const _=A=>{A.target.value=="static"?((d.value.staticIp==null||d.value.staticIp=="")&&(d.value.staticIp="192.168.1.100"),(d.value.subnetMask==null||d.value.subnetMask=="")&&(d.value.subnetMask="255.255.255.0"),d.value.dnsProto=="auto"&&setTimeout(()=>d.value.dnsProto="manual",0)):d.value.dnsProto=="manual"&&setTimeout(()=>d.value.dnsProto="auto",0)},x=A=>{const z=A.target;if(z.value==""){m.value="";return}y(z.value)?m.value="":m.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},C=A=>{const z=A.target;if(z.value==""){v.value="";return}y(z.value)?v.value="":v.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},S=()=>L(this,null,function*(){const A={};switch(d.value.wanProto){case"dhcp":break;case"static":A.staticIp=d.value.staticIp,A.subnetMask=d.value.subnetMask,A.gateway=d.value.gateway||"";break}switch(d.value.dnsProto){case"auto":break;case"manual":A.manualDnsIp=[],d.value.manualDnsIp!=null&&d.value.manualDnsIp.length>0?A.manualDnsIp=d.value.manualDnsIp:(A.manualDnsIp.push(k.value),g.value&&A.manualDnsIp.push(g.value));break}A.dnsProto=d.value.dnsProto,A.wanProto=d.value.wanProto,A.enableLanDhcp=d.value.enableLanDhcp;const z=$.Loading(n("\u914D\u7F6E\u4E2D...."));p.value=!0;try{const B=yield G.Guide.ClientModel.POST(A);if(B!=null&&B.data){const{success:H,error:M}=B==null?void 0:B.data;M&&(u.value=M),(H==null||H==0)&&($.Success(n("\u914D\u7F6E\u6210\u529F")),c.value=1)}}catch(B){u.value=B}p.value=!1,z.Close()});return(A,z)=>{const B=_t("switch-box"),H=_t("router-link");return c.value==0?(r(),s("div",x_,[t("h2",w_,i(e(n)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",k_,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",y_,[b.value==-1011?(r(),s("li",{key:0,innerHTML:e(l)},null,8,F_)):D("",!0)]),t("form",{onSubmit:ft(S,["prevent"])},[t("label",null,[t("div",$_,[t("span",null,i(e(n)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),O(t("select",{"onUpdate:modelValue":z[0]||(z[0]=M=>d.value.wanProto=M),onInput:_},[t("option",C_,i(e(n)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",D_,i(e(n)("\u9759\u6001IP\u5730\u5740")),1)],544),[[pt,d.value.wanProto]])]),d.value.wanProto=="static"?(r(),s(U,{key:0},[t("label",null,[t("div",B_,[t("span",null,i(e(n)("IP\u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[1]||(z[1]=M=>d.value.staticIp=M),placeholder:e(n)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:p.value,onInput:x},null,40,Y_),[[at,d.value.staticIp,void 0,{trim:!0}]])]),m.value?(r(),s("p",A_,i(m.value),1)):D("",!0),t("label",null,[t("div",S_,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[2]||(z[2]=M=>d.value.subnetMask=M),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:p.value,onInput:C},null,40,z_),[[at,d.value.subnetMask,void 0,{trim:!0}]])]),v.value?(r(),s("p",P_,i(v.value),1)):D("",!0),t("label",null,[t("div",T_,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[3]||(z[3]=M=>d.value.gateway=M),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:"",disabled:p.value},null,8,I_),[[at,d.value.gateway,void 0,{trim:!0}]])])],64)):D("",!0),t("label",null,[t("div",M_,[t("span",null,i(e(n)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),O(t("select",{"onUpdate:modelValue":z[4]||(z[4]=M=>d.value.dnsProto=M)},[t("option",{value:"auto",disabled:d.value.wanProto=="static"},i(e(n)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,L_),t("option",O_,i(e(n)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[pt,d.value.dnsProto]])]),d.value.dnsProto=="manual"?(r(),s(U,{key:1},[d.value.manualDnsIp!=null&&d.value.manualDnsIp.length>0?(r(!0),s(U,{key:0},tt(d.value.manualDnsIp,(M,q)=>(r(),s("label",null,[t("div",N_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),O(t("input",{type:"text","onUpdate:modelValue":T=>d.value.manualDnsIp[q]=T,placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,V_),[[at,d.value.manualDnsIp[q],void 0,{trim:!0}]])]))),256)):(r(),s(U,{key:1},[t("label",null,[t("div",G_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[5]||(z[5]=M=>k.value=M),placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,j_),[[at,k.value,void 0,{trim:!0}]])]),t("label",null,[t("div",U_,i(e(n)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),O(t("input",{type:"text","onUpdate:modelValue":z[6]||(z[6]=M=>g.value=M),placeholder:e(n)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:p.value},null,8,q_),[[at,g.value,void 0,{trim:!0}]])])],64))],64)):D("",!0),f.value?(r(),s("div",R_,[Y(B,{modelValue:d.value.enableLanDhcp,"onUpdate:modelValue":z[7]||(z[7]=M=>d.value.enableLanDhcp=M)},{default:V(()=>[t("span",W_,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),u.value?(r(),s("div",H_,i(u.value),1)):D("",!0),t("div",J_,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,Z_),Y(H,{to:e(w)=="index"?"/":"/network",custom:""},{default:V(({navigate:M})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:M},i(e(n)("\u8FD4\u56DE")),9,K_)]),_:1},8,["to"])])],40,E_)])):c.value==1?(r(),s("div",Q_,[t("h2",X_,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",tx,[Y(H,{to:"/",custom:""},{default:V(({navigate:M})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:M},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,ex)]),_:1}),Y(H,{to:e(w)=="index"?"/":"/network",custom:""},{default:V(({navigate:M})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:M},i(e(n)("\u8FD4\u56DE")),9,ax)]),_:1},8,["to"])])])):D("",!0)}}});var nx=N(ox,[["__scopeId","data-v-162eca5f"]]);const ix=o=>(ct("data-v-2dee59a8"),o=o(),ut(),o),rx={key:0,id:"page"},sx={class:"title"},dx=ix(()=>t("br",null,null,-1)),lx={class:"btns"},cx=["onClick"],ux={key:1,id:"page"},px={class:"title"},fx={class:"desc"},mx=["onSubmit"],gx={class:"label-key"},vx={class:"label-value"},bx={class:"label-key"},hx=["placeholder"],_x={class:"label-key"},xx=["placeholder"],wx={class:"label-key"},kx=["placeholder"],yx={class:"label-key"},Fx=["placeholder"],Ex={key:0,class:"msgs"},$x={class:"switch_inline"},Cx={key:0,class:"switch_info"},Dx={key:1,class:"switch_info"},Bx={class:"switch_inline"},Yx={class:"switch_info"},Ax={class:"switch_inline"},Sx={class:"switch_info"},zx={class:"btns"},Px={class:"cbi-button cbi-button-apply app-btn app-next"},Tx=["onClick"],Ix={key:2,id:"page"},Mx={class:"title"},Lx={class:"desc"},Ox={class:"btns"},Nx={key:3,id:"page"},Vx={class:"title"},Gx=["disabled"],jx={style:{"text-align":"left"}},Ux={class:"btns"},qx=["disabled"],Rx=["onClick"],Wx=I({setup(o){const{$gettext:n,$ngettext:a}=J(),c=Te().query.type,d=E(0),u=E(""),k=E(!1),g=Q(()=>{var F,w,h;return!(((F=m.value)==null?void 0:F.ipv4addr)&&((w=m.value)==null?void 0:w.ipv4mask)&&((h=m.value)==null?void 0:h.gateway))}),p=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),m=E(),v=()=>{k.value=!0,G.Network.Status.GET().then(F=>{if(F!=null&&F.data){const{result:w}=F==null?void 0:F.data;w&&(m.value=w)}}).finally(()=>{k.value=!1})},b=F=>{var w,h,_,x,C;F&&(p.value.staticLanIp=((w=m.value)==null?void 0:w.ipv4addr)||"",p.value.subnetMask=((h=m.value)==null?void 0:h.ipv4mask)&&Lt.prefixToMask(m.value.ipv4mask)||"",p.value.gateway=((_=m.value)==null?void 0:_.gateway)||"",p.value.staticDnsIp=((x=m.value)==null?void 0:x.dnsList)&&((C=m.value)==null?void 0:C.dnsList[0])||"223.5.5.5"),d.value=1},y=F=>{window.location.href=location.protocol+"//"+p.value.staticLanIp+(location.port?":"+location.port:"")},f=()=>L(this,null,function*(){const F=p.value,w=$.Loading(n("\u914D\u7F6E\u4E2D..."));try{const h=yield G.Guide.GatewayRouter.POST(F);if(h!=null&&h.data){const{success:_,error:x}=h==null?void 0:h.data;if(x&&(u.value=x),_==null||_==0){setTimeout(()=>{d.value=2,w.Close()},5e3);return}}}catch(h){u.value=h}w.Close()});return(F,w)=>{var x,C,S,A;const h=_t("router-link"),_=_t("switch-box");return d.value==0?(r(),s("div",rx,[t("h2",sx,i(e(n)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[dt(i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,i(e(n)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),dx,t("p",null,i(e(n)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,i(e(n)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,i(e(n)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",lx,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:w[0]||(w[0]=z=>d.value=3)},i(e(n)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:w[1]||(w[1]=z=>b(!1))},i(e(n)("\u624B\u52A8\u914D\u7F6E...")),1),Y(h,{to:e(c)=="index"?"/":"/network",custom:""},{default:V(({navigate:z})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:z},i(e(n)("\u8FD4\u56DE")),9,cx)]),_:1},8,["to"])])])):d.value==1?(r(),s("div",ux,[t("h2",px,i(e(n)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",fx,i(e(n)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:ft(f,["prevent"])},[t("label",null,[t("div",gx,[t("span",null,i(e(n)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",vx,[t("select",{disabled:"",style:ht({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",bx,[t("span",null,i(e(n)("IP \u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[2]||(w[2]=z=>p.value.staticLanIp=z),placeholder:e(n)("IP\u5730\u5740"),required:""},null,8,hx),[[at,p.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",_x,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[3]||(w[3]=z=>p.value.subnetMask=z),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,xx),[[at,p.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",wx,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[4]||(w[4]=z=>p.value.gateway=z),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:""},null,8,kx),[[at,p.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",yx,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[5]||(w[5]=z=>p.value.staticDnsIp=z),placeholder:e(n)("223.5.5.5"),required:""},null,8,Fx),[[at,p.value.staticDnsIp,void 0,{trim:!0}]])]),u.value?(r(),s("div",Ex,i(u.value),1)):D("",!0),t("div",$x,[Y(_,{modelValue:p.value.enableDhcp,"onUpdate:modelValue":w[6]||(w[6]=z=>p.value.enableDhcp=z)},{default:V(()=>[p.value.enableDhcp?(r(),s("span",Cx,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(r(),s("span",Dx,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",Bx,[Y(_,{modelValue:p.value.dhcp6c,"onUpdate:modelValue":w[7]||(w[7]=z=>p.value.dhcp6c=z)},{default:V(()=>[t("span",Yx,i(e(n)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Ax,[Y(_,{modelValue:p.value.enableNat,"onUpdate:modelValue":w[8]||(w[8]=z=>p.value.enableNat=z)},{default:V(()=>[t("span",Sx,i(e(n)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",zx,[t("button",Px,i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),1),Y(h,{to:e(c)=="index"?"/":"/network",custom:""},{default:V(({navigate:z})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:z},i(e(n)("\u8FD4\u56DE")),9,Tx)]),_:1},8,["to"])])],40,mx)])):d.value==2?(r(),s("div",Ix,[t("h2",Mx,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("h3",Lx,i(e(n)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",Ox,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):d.value==3?(r(),s("div",Nx,[t("h2",Vx,i(e(n)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,i(e(n)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),dt(" "+i(e(n)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:lt(["cbi-button cbi-button-neutral",e(g)?"cbi-button-neutral":"cbi-button-success"]),disabled:k.value,onClick:v},[dt(i(e(n)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",jx,[t("ul",null,[t("li",null,i(e(n)("IP \u5730\u5740: "))+i((x=m.value)==null?void 0:x.ipv4addr),1),t("li",null,i(e(n)("\u5B50\u7F51\u63A9\u7801: "))+i(((C=m.value)==null?void 0:C.ipv4mask)&&e(Lt).prefixToMask(m.value.ipv4mask)),1),t("li",null,i(e(n)("\u7F51\u5173\u5730\u5740: "))+i((S=m.value)==null?void 0:S.gateway),1),t("li",null,i(e(n)("DNS\u670D\u52A1\u5668: "))+i(((A=m.value)==null?void 0:A.dnsList)&&m.value.dnsList[0]||(e(g)?"":e(n)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,Gx),dt(" "+i(e(n)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",Ux,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(g),onClick:w[9]||(w[9]=z=>b(!0))},i(e(n)("\u81EA\u52A8\u586B\u5199..."))+i(e(g)?e(n)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,qx),Y(h,{to:e(c)=="index"?"/":"/network",custom:""},{default:V(({navigate:z})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:z},i(e(n)("\u8FD4\u56DE")),9,Rx)]),_:1},8,["to"])])])):D("",!0)}}});var Hx=N(Wx,[["__scopeId","data-v-2dee59a8"]]);const Jx={class:"actioner-container"},Zx={class:"actioner-container_header"},Kx={class:"actioner-container_body"},Qx={class:"label-item"},Xx={class:"label-item_key"},tw={class:"label-item_value"},ew=["value"],aw={class:"label-item_tips"},ow={class:"label-item"},nw={class:"label-item_key"},iw={key:0,class:"label-item_value"},rw={class:"msg-warning"},sw={key:1,class:"label-item_value"},dw=["value"],lw={key:1,class:"msg-warning"},cw={class:"label-item_tips"},uw={class:"actioner-container_footer"},pw=["disabled"],fw=["disabled"],mw={key:1,class:"actioner-container_body setup-loading"},gw={class:"actioner-container_body setup-error"},vw={class:"actioner-container_footer"},bw=["disabled"],hw={class:"actioner-container_body setup-success"},_w={class:"body-title"},xw={class:"actioner-container_footer"},ww=I({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.Close()},d=()=>{n.success&&n.success()},u=E("init"),k=E(""),g=[{name:"jbod",title:a("JBOD (\u7EBF\u6027)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid0",title:a("RAID 0 (\u6761\u5E26)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid1",title:a("RAID 1 (\u955C\u50CF)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid5",title:"RAID 5 ",info:a("\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002"),select:3},{name:"raid6",title:"RAID 6 ",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002"),select:4},{name:"raid10",title:"RAID 10",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002"),select:4}],p=E("raid5"),m=E([]),v=h=>{let _="";return g.forEach(x=>{x.name===h&&(_=x.info)}),_},b=E(!1),y=gt({loading:!1,members:[]}),f=h=>{};(()=>L(this,null,function*(){y.loading=!0;try{const h=yield G.Raid.CreateList.GET();if(h!=null&&h.data){const{success:_,error:x,result:C}=h.data;if(C&&(y.members=C.members||[]),x)throw x}}catch(h){console.log(h)}finally{y.loading=!1}}))();const w=()=>L(this,null,function*(){const h=g.filter(x=>x.name===p.value)[0],_=m.value;if(!h){$.Warning(a("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(_.length==0){$.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(h.select>_.length){$.Warning(a("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+h.select}));return}if(!!confirm(a("\u662F\u5426\u7ACB\u5373\u521B\u5EFA %{name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",{name:h.name}))&&!!confirm(a("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:h.name}))){b.value=!0,u.value="loading";try{const x=yield G.Raid.Create.POST({level:h.name,devicePaths:_});if(x.data){const{success:C,error:S,result:A}=x.data;if(S)throw S;(C||0)==0&&(u.value="success",d())}}catch(x){k.value=x,u.value="error"}finally{b.value=!1}}});return(h,_)=>{const x=_t("icon-loading"),C=_t("icon-error"),S=_t("icon-success");return r(),s("div",Jx,[t("div",Zx,[t("span",null,i(e(a)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),u.value=="init"?(r(),s(U,{key:0},[t("div",Kx,[t("p",null,i(e(a)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",Qx,[t("div",Xx,[t("span",null,i(e(a)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",tw,[O(t("select",{"onUpdate:modelValue":_[0]||(_[0]=A=>p.value=A),onChange:f},[(r(),s(U,null,tt(g,A=>t("option",{value:A.name},i(A.title),9,ew)),64))],544),[[pt,p.value]])]),t("div",aw,[Y(It),dt(" "+i(v(p.value)),1)])]),t("div",ow,[t("div",nw,[t("span",null,i(e(a)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(y).loading?(r(),s("div",iw,[t("span",rw,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",sw,[e(y).members.length>0?(r(!0),s(U,{key:0},tt(e(y).members,A=>(r(),s("label",null,[O(t("input",{type:"checkbox","onUpdate:modelValue":_[1]||(_[1]=z=>m.value=z),value:A.path},null,8,dw),[[Rt,m.value]]),dt(" \u3010"+i(A.model)+"\u3011"+i(A.name)+" "+i(A.path)+" ["+i(A.sizeStr)+"] ",1)]))),256)):(r(),s("span",lw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",cw,[Y(It),dt(" "+i(e(a)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",uw,[t("div",{class:"close",onClick:c,disabled:b.value},i(e(a)("\u53D6\u6D88")),9,pw),t("div",{class:"next",onClick:w,disabled:b.value},i(e(a)("\u521B\u5EFA")),9,fw)])],64)):u.value=="loading"?(r(),s("div",mw,[Y(x,{size:60,color:"#666"}),t("span",null,i(e(a)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):u.value=="error"?(r(),s(U,{key:2},[t("div",gw,[Y(C),t("span",null,i(k.value),1)]),t("div",vw,[t("div",{class:"close",onClick:c},i(e(a)("\u5173\u95ED")),1),t("div",{class:"next",onClick:w,disabled:b.value},i(e(a)("\u91CD\u65B0\u521B\u5EFA")),9,bw)])],64)):u.value=="success"?(r(),s(U,{key:3},[t("div",hw,[Y(S),t("div",_w,i(e(a)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",xw,[t("div",{class:"close",onClick:c},i(e(a)("\u5173\u95ED")),1)])],64)):D("",!0)])}}});var kw=N(ww,[["__scopeId","data-v-77451104"]]);const yw={class:"actioner-container"},Fw={class:"actioner-container_body"},Ew=["value"],$w={class:"actioner-container_footer"},Cw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.Close()},d=E("");return(()=>{G.Raid.Detail.POST({path:n.raid.path}).then(k=>{if(k.data){const{result:g,error:p}=k.data;p?d.value=p:d.value=(g==null?void 0:g.detail)||""}}).catch(k=>{d.value=k.message})})(),(k,g)=>(r(),s("div",yw,[t("div",Fw,[t("textarea",{value:d.value},null,8,Ew)]),t("div",$w,[t("div",{class:"close",onClick:c},i(e(a)("\u5173\u95ED")),1)])]))}});var Dw=N(Cw,[["__scopeId","data-v-5ec616d8"]]);const Bw={class:"actioner-container"},Yw={class:"actioner-container_header"},Aw={class:"actioner-container_body"},Sw={class:"label-item"},zw={class:"label-item_key"},Pw={class:"label-item_value"},Tw={disabled:""},Iw={class:"label-item"},Mw={class:"label-item_key"},Lw={key:0,class:"label-item_value"},Ow={class:"msg-warning"},Nw={key:1,class:"label-item_value"},Vw=["value"],Gw={key:1,class:"msg-warning"},jw={class:"actioner-container_footer"},Uw=["disabled"],qw=["disabled"],Rw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.Close()},d=()=>{n.success&&n.success()},u=()=>L(this,null,function*(){const v=p.value;if(v==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const b=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const y=yield G.Raid.Add.POST({path:n.raid.path,memberPath:v});if(y.data){const{error:f,success:F}=y.data;if(f)throw f;(F||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),c())}}catch(y){$.Error(`${y}`)}finally{g.value=!1,b.Close()}}),k=gt({loading:!1,members:[]}),g=E(!1),p=E("");return(()=>L(this,null,function*(){k.loading=!0,g.value=!0;try{const v=yield G.Raid.CreateList.GET();if(v!=null&&v.data){const{success:b,error:y,result:f}=v.data;if(f&&(k.members=f.members||[]),y)throw y}}catch(v){console.log(v)}finally{g.value=!1,k.loading=!1}}))(),(v,b)=>(r(),s("div",Bw,[t("div",Yw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u4FEE\u6539")),1)]),t("div",Aw,[t("div",Sw,[t("div",zw,i(e(a)("\u8BBE\u5907")),1),t("div",Pw,[t("select",Tw,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Iw,[t("div",Mw,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(k).loading?(r(),s("div",Lw,[t("span",Ow,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",Nw,[e(k).members.length>0?(r(!0),s(U,{key:0},tt(e(k).members,y=>(r(),s("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=f=>p.value=f),value:y.path},null,8,Vw),[[Bt,p.value]]),dt(" \u3010"+i(y.model)+"\u3011"+i(y.name)+" "+i(y.path)+" ["+i(y.sizeStr)+"] ",1)]))),256)):(r(),s("span",Gw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",jw,[t("div",{class:"close",onClick:c,disabled:g.value},i(e(a)("\u53D6\u6D88")),9,Uw),t("div",{class:"next",onClick:u,disabled:g.value},i(e(a)("\u4FDD\u5B58")),9,qw)])]))}});var Ww=N(Rw,[["__scopeId","data-v-70cb932e"]]);const Hw={class:"actioner-container"},Jw={class:"actioner-container_header"},Zw={class:"actioner-container_body"},Kw={class:"label-item"},Qw={class:"label-item_key"},Xw={class:"label-item_value"},tk={disabled:""},ek={class:"label-item"},ak={class:"label-item_key"},ok={class:"label-item_value"},nk=["value"],ik={class:"actioner-container_footer"},rk=["disabled"],sk=["disabled"],dk=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.Close()},d=()=>{n.success&&n.success()},u=()=>L(this,null,function*(){const p=g.value;if(p==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}k.value=!0;const m=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const v=yield G.Raid.Remove.POST({path:n.raid.path,memberPath:p});if(v.data){const{error:b,success:y}=v.data;if(b)throw b;(y||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),c())}}catch(v){$.Error(`${v}`)}finally{k.value=!1,m.Close()}}),k=E(!1),g=E("");return(p,m)=>(r(),s("div",Hw,[t("div",Jw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u79FB\u9664")),1)]),t("div",Zw,[t("div",Kw,[t("div",Qw,i(e(a)("\u8BBE\u5907")),1),t("div",Xw,[t("select",tk,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",ek,[t("div",ak,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",ok,[(r(!0),s(U,null,tt(o.raid.members,v=>(r(),s("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":m[0]||(m[0]=b=>g.value=b),value:v},null,8,nk),[[Bt,g.value]]),dt(" "+i(v),1)]))),256))])])]),t("div",ik,[t("div",{class:"close",onClick:c,disabled:k.value},i(e(a)("\u53D6\u6D88")),9,rk),t("div",{class:"next",onClick:u,disabled:k.value},i(e(a)("\u4FDD\u5B58")),9,sk)])]))}});var lk=N(dk,[["__scopeId","data-v-56c0f6fb"]]);const ck={class:"actioner-container"},uk={class:"actioner-container_header"},pk={class:"actioner-container_body"},fk={class:"label-item"},mk={class:"label-item_key"},gk={class:"label-item_value"},vk={disabled:""},bk={class:"label-item"},hk={class:"label-item_key"},_k={key:0,class:"label-item_value"},xk={class:"msg-warning"},wk={key:1,class:"label-item_value"},kk=["value"],yk={key:1,class:"msg-warning"},Fk={class:"actioner-container_footer"},Ek=["disabled"],$k=["disabled"],Ck=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=()=>{n.Close()},d=()=>{n.success&&n.success()},u=()=>L(this,null,function*(){const v=p.value;if(v==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const b=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const y=yield G.Raid.Recover.POST({path:n.raid.path,memberPath:v});if(y.data){const{error:f,success:F}=y.data;if(f)throw f;(F||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),c())}}catch(y){$.Error(`${y}`)}finally{g.value=!1,b.Close()}}),k=gt({loading:!1,members:[]}),g=E(!1),p=E("");return(()=>L(this,null,function*(){k.loading=!0,g.value=!0;try{const v=yield G.Raid.CreateList.GET();if(v!=null&&v.data){const{success:b,error:y,result:f}=v.data;if(f&&(k.members=f.members||[]),y)throw y}}catch(v){console.log(v)}finally{g.value=!1,k.loading=!1}}))(),(v,b)=>(r(),s("div",ck,[t("div",uk,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u6062\u590D")),1)]),t("div",pk,[t("div",fk,[t("div",mk,i(e(a)("\u8BBE\u5907")),1),t("div",gk,[t("select",vk,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",bk,[t("div",hk,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(k).loading?(r(),s("div",_k,[t("span",xk,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",wk,[e(k).members.length>0?(r(!0),s(U,{key:0},tt(e(k).members,y=>(r(),s("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=f=>p.value=f),value:y.path},null,8,kk),[[Bt,p.value]]),dt(" \u3010"+i(y.model)+"\u3011"+i(y.name)+" "+i(y.path)+" ["+i(y.sizeStr)+"] ",1)]))),256)):(r(),s("span",yk,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",Fk,[t("div",{class:"close",onClick:c,disabled:g.value},i(e(a)("\u53D6\u6D88")),9,Ek),t("div",{class:"next",onClick:u,disabled:g.value},i(e(a)("\u4FDD\u5B58")),9,$k)])]))}});var Dk=N(Ck,[["__scopeId","data-v-0586260e"]]);const Bk={class:"action-main"},Yk=I({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(n,a)=>(r(),Z(wt,{type:2},{default:V(()=>[t("div",Bk,[o.setup=="create"?(r(),Z(kw,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(r(),Z(Dw,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(r(),Z(Ww,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(r(),Z(lk,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(r(),Z(Dk,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):D("",!0)])]),_:1}))}});var Ak=N(Yk,[["__scopeId","data-v-e20ba082"]]);const he=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Ak,vt(st({},o),{Close:()=>{l()}}));a.use(Ra),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},so=o=>(ct("data-v-f1411b40"),o=o(),ut(),o),Sk={id:"page"},zk={name:"content"},Pk={class:"cbi-map-descr"},Tk={style:{color:"#f5365b","margin-top":"10px"}},Ik={style:{color:"#f5365b","margin-top":"10px"}},Mk={class:"btns"},Lk=["disabled"],Ok={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Nk={class:"table cbi-section-table"},Vk={style:{}},Gk={class:"tr cbi-section-table-titles anonymous"},jk={class:"th cbi-section-table-cell","data-widget":"value"},Uk={class:"th cbi-section-table-cell","data-widget":"value"},qk={class:"th cbi-section-table-cell","data-widget":"value"},Rk={class:"th cbi-section-table-cell","data-widget":"value"},Wk={class:"th cbi-section-table-cell","data-widget":"value"},Hk={class:"th cbi-section-table-cell","data-widget":"value"},Jk={class:"th cbi-section-table-cell","data-widget":"value"},Zk={class:"th cbi-section-table-cell","data-widget":"value"},Kk={class:"tr cbi-section-table-row"},Qk={class:"td cbi-value-field"},Xk={class:"td cbi-value-field"},ty=["title"],ey={class:"item-status"},ay={key:0,class:"item-status item-status-detail"},oy={class:"td cbi-value-field"},ny={class:"td cbi-value-field"},iy={class:"td cbi-value-field"},ry=so(()=>t("br",null,null,-1)),sy={class:"td cbi-value-field"},dy=so(()=>t("br",null,null,-1)),ly={key:1,href:"/cgi-bin/luci/admin/quickstart/"},cy={class:"td cbi-section-table-cell nowrap cbi-section-actions"},uy=["title","disabled","onClick"],py=["title","disabled","onClick"],fy=["title","onClick"],my=["title","onClick"],gy=["title","onClick"],vy=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=gt({disksList:[]}),c=()=>L(this,null,function*(){try{const w=yield G.Raid.List.GET();if(w!=null&&w.data){const{success:h,error:_,result:x}=w.data;if(x&&(l.disksList=x.disks||[]),_)throw _}}catch(w){console.log(w)}}),d=Mt.easyInterval(c,5e3);ke(()=>{d()});const u=w=>{switch(w.level){case"raid0":case"jbod":return!0}return w.status.indexOf("degraded")!=-1||w.status.indexOf("resyncing(")!=-1},k=w=>{let h=[];return w.childrens&&w.childrens.forEach(_=>{_.mountPoint&&h.push(`${_.name}(${_.mountPoint})`)}),h},g=()=>L(this,null,function*(){he({setup:"create",success:()=>{c()}})}),p=w=>{he({setup:"info",raid:w})},m=w=>L(this,null,function*(){if(w.childrens&&w.childrens.length>0&&w.childrens.filter(x=>x.mountPoint).length>0){Se({content:n("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:n("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:n("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:w.name}))||!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:w.name})))return;const h=$.Loading(n("\u5220\u9664\u4E2D..."));try{const _=yield G.Raid.Delete.POST({path:w.path,members:w.members});if(_.data){const{success:x,error:C}=_.data;if(C)throw C;(x||0)==0&&($.Success(n("\u5220\u9664\u6210\u529F")),c())}}catch(_){$.Error(`${_}`)}finally{h.Close()}}),v=w=>{he({setup:"edit",raid:w,success:()=>{c()}})},b=w=>{he({setup:"remove",raid:w,success:()=>{c()}})},y=w=>{he({setup:"recover",raid:w,success:()=>{c()}})},f=E(!1),F=()=>{Se({content:n("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:n("\u786E\u5B9A"),next:()=>L(this,null,function*(){f.value=!0;const w=$.Loading(n("\u626B\u63CF\u4E2D..."));try{const h=yield G.Raid.Autofix.GET();if(h.data){const{error:_,success:x}=h.data;if(_)throw _;(x||0)==0&&($.Success(n("\u6062\u590D\u5B8C\u6210")),c())}}catch(h){$.Error(`${h}`)}finally{w.Close(),f.value=!1}}),clearTitle:n("\u53D6\u6D88"),clear:()=>{}})};return(w,h)=>(r(),s("div",Sk,[t("h2",zk,i(e(n)("RAID\u7BA1\u7406")),1),t("div",Pk,[t("p",null,i(e(n)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",Tk," * "+i(e(n)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",Ik," * "+i(e(n)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",Mk,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:h[0]||(h[0]=_=>g())},i(e(n)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:h[1]||(h[1]=_=>F()),disabled:f.value},i(e(n)("\u626B\u63CF\u6062\u590DRAID")),9,Lk)]),t("div",null,[t("div",Ok,[t("table",Nk,[t("tbody",Vk,[t("tr",Gk,[t("th",jk,i(e(n)("\u540D\u79F0")),1),t("th",Uk,i(e(n)("\u8BBE\u5907")),1),t("th",qk,i(e(n)("\u72B6\u6001")),1),t("th",Rk,i(e(n)("\u7EA7\u522B")),1),t("th",Wk,i(e(n)("\u5BB9\u91CF")),1),t("th",Hk,i(e(n)("\u6210\u5458")),1),t("th",Jk,i(e(n)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",Zk,i(e(n)("\u64CD\u4F5C")),1)]),(r(!0),s(U,null,tt(e(l).disksList,_=>(r(),s("tr",Kk,[t("td",Qk,[t("b",null,i(_.name),1)]),t("td",Xk,[t("b",null,i(_.path),1)]),t("td",{class:"td cbi-value-field",title:_.status+(_.rebuildStatus||"")},[t("b",ey,i(_.status),1),_.rebuildStatus?(r(),s("b",ay," \u2026 ")):D("",!0)],8,ty),t("td",oy,[t("b",null,i(_.level),1)]),t("td",ny,[t("b",null,i(_.size),1)]),t("td",iy,[(r(!0),s(U,null,tt(_.members,x=>(r(),s("b",null,[dt(i(x)+" ",1),ry]))),256))]),t("td",sy,[k(_).length>0?(r(!0),s(U,{key:0},tt(k(_),x=>(r(),s("b",null,[dt(i(x)+" ",1),dy]))),256)):(r(),s("a",ly,i(e(n)("\u53BB\u6302\u8F7D")),1))]),t("td",cy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6269\u5145"),disabled:u(_),onClick:x=>v(_)},i(e(n)("\u6269\u5145")),9,uy),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u79FB\u9664"),disabled:u(_),onClick:x=>b(_)},i(e(n)("\u79FB\u9664")),9,py),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6062\u590D"),onClick:x=>y(_)},i(e(n)("\u6062\u590D")),9,fy),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8BE6\u60C5"),onClick:x=>p(_)},i(e(n)("\u8BE6\u60C5")),9,my),t("button",{class:"cbi-button cbi-button-remove",title:e(n)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:x=>m(_)},i(e(n)("\u5220\u9664")),9,gy)])]))),256))])])])])]))}});var by=N(vy,[["__scopeId","data-v-f1411b40"]]);const hy=o=>(ct("data-v-2b6b4ef9"),o=o(),ut(),o),_y={id:"page"},xy=hy(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),wy={class:"cbi-map-descr"},ky={class:"tabs"},yy=["href","onClick"],Fy=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=[{to:"/smart",name:n("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:n("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:n("\u67E5\u770B\u65E5\u5FD7")}],c=E(!1),d=gt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),u=p=>{const{global:m,devices:v,tasks:b}=p;m&&(d.global.enable=m.enable||!1,d.global.powermode=m.powermode||"never"),d.devices=v||[],d.tasks=b||[]};(()=>L(this,null,function*(){try{const p=yield G.Smart.Config.GET();if(p.data){const{result:m}=p.data;m&&u(m)}}catch(p){}finally{c.value=!0}}))();const g=p=>L(this,null,function*(){const m=$.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const v=yield G.Smart.Config.POST(p);if(v.data){console.log(v.data);const{success:b,error:y,result:f}=v.data;if(y)throw y;(b||0)==0&&($.Success(n("\u4FDD\u5B58\u6210\u529F")),f&&u(f))}}catch(v){$.Error(`${v}`)}finally{m.Close()}});return(p,m)=>{const v=_t("router-link"),b=_t("router-view");return r(),s("div",_y,[xy,t("div",wy,[t("p",null,i(e(n)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,i(e(n)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,i(e(n)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,i(e(n)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",ky,[(r(),s(U,null,tt(l,y=>Y(v,{to:y.to,custom:"",key:y.to},{default:V(({route:f,href:F,navigate:w,isActive:h,isExactActive:_})=>[t("li",{class:lt({"active cbi-tab":h&&_})},[t("a",{href:F,onClick:w},i(y.name),9,yy)],2)]),_:2},1032,["to"])),64))]),c.value?(r(),Z(b,{key:0,name:"default"},{default:V(({Component:y,route:f})=>[(r(),Z(Co,null,{default:V(()=>[(r(),Z(oa(y),{key:f.path,config:e(d),saveData:g},null,8,["config"]))]),_:2},1024))]),_:1})):D("",!0)])}}});var Ey=N(Fy,[["__scopeId","data-v-2b6b4ef9"]]);const $y={class:"action-main"},Cy=I({setup(o){return(n,a)=>(r(),Z(wt,{type:2},{default:V(()=>[t("div",$y,[Yt(n.$slots,"default",{},void 0,!0)])]),_:3}))}});var je=N(Cy,[["__scopeId","data-v-f3b0d6f0"]]);const Dy={class:"actioner-container"},By={class:"actioner-container_header"},Yy={class:"actioner-container_body"},Ay={class:"cbi-value"},Sy={class:"cbi-value-title"},zy={class:"cbi-value-field"},Py={class:"cbi-value-description"},Ty={class:"cbi-value"},Iy={class:"cbi-value-title"},My={class:"cbi-value-field"},Ly={class:"cbi-checkbox"},Oy={value:-1},Ny={value:0},Vy=["value"],Gy={class:"cbi-value-description"},jy={class:"cbi-value"},Uy={class:"cbi-value-title"},qy={class:"cbi-value-field"},Ry={class:"cbi-checkbox"},Wy={value:-1},Hy={value:0},Jy=["value"],Zy={class:"cbi-value-description"},Ky={class:"actioner-container_footer"},Qy=["disabled"],Xy=["disabled"],tF=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var g,p,m;const n=o,{$gettext:a,$ngettext:l}=J();console.log(n.device);const c=E(!1),d=gt({tmpDiff:((g=n.device)==null?void 0:g.tmpDiff)||0,tmpMax:((p=n.device)==null?void 0:p.tmpMax)||0,devicePath:((m=n.device)==null?void 0:m.devicePath)||""}),u=()=>{c.value=!0,n.close()},k=()=>L(this,null,function*(){c.value=!0;try{yield n.next({tmpDiff:d.tmpDiff,tmpMax:d.tmpMax,devicePath:d.devicePath}),c.value=!1,u()}catch(v){}});return(v,b)=>(r(),Z(je,null,{default:V(()=>[t("div",Dy,[t("div",By,[t("span",null," S.M.A.R.T. \xBB "+i(e(a)("\u8BBE\u5907"))+" \xBB "+i(o.disk.path),1)]),t("div",Yy,[t("div",Ay,[t("label",Sy,i(e(a)("\u78C1\u76D8")),1),t("div",zy,[t("div",Py,i(o.disk.model)+" [ "+i(o.disk.path)+"\uFF0C"+i(o.disk.sizeStr)+" ] ",1)])]),t("div",Ty,[t("label",Iy,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",My,[t("div",Ly,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[0]||(b[0]=y=>e(d).tmpDiff=y)},[t("option",Oy,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Ny,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,y=>t("option",{value:y},i(y)+"\xB0C",9,Vy)),64))],512),[[pt,e(d).tmpDiff,void 0,{number:!0}]])]),t("div",Gy,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",jy,[t("label",Uy,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",qy,[t("div",Ry,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[1]||(b[1]=y=>e(d).tmpMax=y)},[t("option",Wy,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Hy,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,y=>t("option",{value:y*5},i(y*5)+"\xB0C",9,Jy)),64))],512),[[pt,e(d).tmpMax,void 0,{number:!0}]])]),t("div",Zy,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",Ky,[t("button",{class:"close",onClick:u,disabled:c.value},i(e(a)("\u53D6\u6D88")),9,Qy),t("button",{class:"next",onClick:k,disabled:c.value},i(e(a)("\u4FDD\u5B58")),9,Xy)])])]),_:1}))}}),eF={class:"actioner-container"},aF={class:"actioner-container_header"},oF={class:"actioner-container_body"},nF={class:"cbi-value"},iF={class:"cbi-value-title"},rF={class:"cbi-value-field"},sF={class:"cbi-checkbox"},dF={value:""},lF=["value"],cF={class:"cbi-value"},uF={class:"cbi-value-title"},pF={class:"cbi-value-field"},fF={class:"cbi-checkbox"},mF={value:"short"},gF={value:"long"},vF={value:"conveyance"},bF={value:"offline"},hF={class:"cbi-value"},_F={class:"cbi-value-title"},xF={class:"cbi-value-field"},wF={class:"cbi-checkbox"},kF=t("option",{value:"*"},"*",-1),yF=["value"],FF={class:"cbi-value-description"},EF={class:"cbi-value"},$F={class:"cbi-value-title"},CF={class:"cbi-value-field"},DF={class:"cbi-checkbox"},BF=t("option",{value:"*"},"*",-1),YF=["value"],AF={class:"cbi-value-description"},SF={class:"cbi-value"},zF={class:"cbi-value-title"},PF={class:"cbi-value-field"},TF={class:"cbi-checkbox"},IF=t("option",{value:"*"},"*",-1),MF=["value"],LF={class:"cbi-value-description"},OF={class:"actioner-container_footer"},NF=["disabled"],VF=["disabled"],GF=I({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!1),d=gt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),u=E([]);(()=>L(this,null,function*(){try{const m=yield G.Smart.List.GET();if(m.data){const{result:v,error:b}=m.data;v&&v.disks&&(u.value=v.disks)}}catch(m){}}))();const g=()=>{c.value=!0,n.close()},p=()=>L(this,null,function*(){if(d.devicePath==""){$.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}c.value=!0;try{yield n.next(d),g()}catch(m){}finally{c.value=!1}});return(m,v)=>(r(),Z(je,null,{default:V(()=>[t("div",eF,[t("div",aF,[t("span",null,i(e(a)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",oF,[t("div",nF,[t("label",iF,i(e(a)("\u78C1\u76D8")),1),t("div",rF,[t("div",sF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[0]||(v[0]=b=>e(d).devicePath=b)},[t("option",dF,i(e(a)("\u9009\u62E9\u78C1\u76D8")),1),(r(!0),s(U,null,tt(u.value,b=>(r(),s("option",{value:b.path},i(b.model)+" [ "+i(b.path)+"\uFF0C"+i(b.sizeStr)+" ] ",9,lF))),256))],512),[[pt,e(d).devicePath,void 0,{trim:!0}]])])])]),t("div",cF,[t("label",uF,i(e(a)("\u7C7B\u578B")),1),t("div",pF,[t("div",fF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[1]||(v[1]=b=>e(d).type=b)},[t("option",mF,i(e(a)("\u77ED\u6682\u81EA\u68C0")),1),t("option",gF,i(e(a)("\u957F\u65F6\u81EA\u68C0")),1),t("option",vF,i(e(a)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",bF,i(e(a)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[pt,e(d).type,void 0,{trim:!0}]])])])]),t("div",hF,[t("label",_F,i(e(a)("\u5C0F\u65F6")),1),t("div",xF,[t("div",wF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[2]||(v[2]=b=>e(d).hour=b)},[kF,(r(),s(U,null,tt(24,(b,y)=>t("option",{value:`${y}`},i(y),9,yF)),64))],512),[[pt,e(d).hour,void 0,{trim:!0}]])]),t("div",FF,i(e(a)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",EF,[t("label",$F,i(e(a)("\u5929")),1),t("div",CF,[t("div",DF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[3]||(v[3]=b=>e(d).dayPerMonth=b)},[BF,(r(),s(U,null,tt(31,b=>t("option",{value:`${b}`},i(b),9,YF)),64))],512),[[pt,e(d).dayPerMonth,void 0,{trim:!0}]])]),t("div",AF,i(e(a)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",SF,[t("label",zF,i(e(a)("\u6708")),1),t("div",PF,[t("div",TF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[4]||(v[4]=b=>e(d).month=b)},[IF,(r(),s(U,null,tt(12,(b,y)=>t("option",{value:`${b}`},i(b),9,MF)),64))],512),[[pt,e(d).month,void 0,{trim:!0}]])]),t("div",LF,i(e(a)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",OF,[t("button",{class:"close",onClick:g,disabled:c.value},i(e(a)("\u53D6\u6D88")),9,NF),t("button",{class:"next",onClick:p,disabled:c.value},i(e(a)("\u4FDD\u5B58")),9,VF)])])]),_:1}))}}),jF={class:"actioner-container"},UF={class:"actioner-container_header"},qF={class:"actioner-container_body"},RF=["value"],WF={class:"actioner-container_footer"},HF=["disabled"],JF=["disabled"],ZF=I({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!1),d=E(""),u=E(""),k=E(""),g=()=>L(this,null,function*(){d.value+=".";try{const b=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.task.devicePath||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(k.value=y.result),f&&(k.value=f)}}catch(b){b&&(k.value=b)}}),p=Mt.easyInterval(g,5e3);ke(()=>{p()});const m=()=>{c.value=!0,p(),n.close()},v=()=>L(this,null,function*(){c.value=!0;try{const b=yield G.Smart.Test.POST({type:n.task.type||"short",devicePath:n.task.devicePath||""});if(b.data){const{success:y,error:f,result:F}=b.data;f&&(u.value=f),F&&F.result&&(u.value=F.result)}}catch(b){u.value=b}finally{}});return(b,y)=>(r(),Z(je,null,{default:V(()=>[t("div",jF,[t("div",UF,[t("span",null,i(e(a)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",qF,[t("textarea",{value:u.value+` +var go=Object.defineProperty,vo=Object.defineProperties;var bo=Object.getOwnPropertyDescriptors;var xa=Object.getOwnPropertySymbols;var ho=Object.prototype.hasOwnProperty,_o=Object.prototype.propertyIsEnumerable;var We=(o,n,a)=>n in o?go(o,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[n]=a,st=(o,n)=>{for(var a in n||(n={}))ho.call(n,a)&&We(o,a,n[a]);if(xa)for(var a of xa(n))_o.call(n,a)&&We(o,a,n[a]);return o},vt=(o,n)=>vo(o,bo(n));var xo=(o,n)=>()=>(n||o((n={exports:{}}).exports,n),n.exports);var ve=(o,n,a)=>(We(o,typeof n!="symbol"?n+"":n,a),a);var L=(o,n,a)=>new Promise((l,u)=>{var d=g=>{try{k(a.next(g))}catch(p){u(p)}},c=g=>{try{k(a.throw(g))}catch(p){u(p)}},k=g=>g.done?l(g.value):Promise.resolve(g.value).then(d,c);k((a=a.apply(o,n)).next())});import{a as wo,c as ko,d as we,b as I,e as Q,u as e,o as r,f as s,g as t,t as i,n as ht,h as D,i as Y,r as _t,j as lt,k as Yt,w as O,v as Rt,l as Ia,m as Z,p as V,q as E,s as $t,x as Pt,y as pt,F as U,z as tt,A as at,B as jt,C as ut,D as ct,E as ke,G as ee,T as St,H as Nt,I as ft,J as xt,K as dt,L as gt,M as Bt,N as Xe,O as Ma,P as La,Q as Oa,R as ta,S as ea,U as Na,V as aa,W as Pe,X as yo,Y as oa,Z as ye,_ as Fo,$ as Eo,a0 as na,a1 as $o,a2 as Te,a3 as Co,a4 as Ie,a5 as Do,a6 as Bo,a7 as Yo,a8 as Ao,a9 as So,aa as zo,ab as Po,ac as To}from"./vendor.js?v=4c8355cf";var sT=xo(ae=>{const Io=function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))l(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const c of d.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&l(c)}).observe(document,{childList:!0,subtree:!0});function a(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerpolicy&&(d.referrerPolicy=u.referrerpolicy),u.crossorigin==="use-credentials"?d.credentials="include":u.crossorigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(u){if(u.ep)return;u.ep=!0;const d=a(u);fetch(u.href,d)}};Io();const Gt={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},Mo=o=>L(ae,null,function*(){const n=window.vue_lang;new Date().getTime();let a={};try{const d=yield wo({url:window.vue_lang_data,method:"GET"});d.data&&(a=d.data)}catch(d){console.log(d)}const l=ko({defaultLanguage:n,mutedLanguages:["zh-cn"],translations:a,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(l),Gt.language=l;const{$gettext:u}=l;window.$i18n=u;try{Gt.numberFormat=new Intl.NumberFormat(n,{notation:"compact"})}catch(d){console.error("Intl.NumberFormat unsupported lang",n,d)}}),J=()=>{if(Gt.language)return Gt.language;throw new Error("I18N Uninitialized!")},Me=()=>({$gettext:(o,n,a)=>{if(Gt.language)return Gt.language.$gettext(o,n,a);throw new Error("I18N Uninitialized!")},$ngettext:(o,n,a,l,u)=>{if(Gt.language)return Gt.language.$ngettext(o,n,a,l,u);throw new Error("I18N Uninitialized!")}}),De=o=>typeof o=="number"?Gt.numberFormat.format(o):"?",{$gettext:Lo,$ngettext:uT}=Me(),Va=(o,n)=>L(ae,null,function*(){return new Promise((a,l)=>L(ae,null,function*(){try{const u=yield fetch(o,n);if(Math.floor(u.status/100)!=2)throw u.status+" "+u.statusText;const d=st({},u);d.data=yield u.json(),a(d)}catch(u){const d=u;l(Lo("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((d==null?void 0:d.message)||u))}}))});class ia{constructor(n){ve(this,"config",{baseURL:"",headers:{}});ve(this,"useRequest",n=>n);ve(this,"useResponse",n=>n);ve(this,"useError",n=>n);n.baseURL&&(this.config.baseURL=n.baseURL),n.headers&&(this.config.headers=n.headers)}static create(n){return new ia(n)}Do(n,a){return L(this,null,function*(){return new Promise((l,u)=>L(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${d.baseURL||""}${n}`,a.headers==null&&(a.headers={}),d.headers&&(a.headers=st({},d.headers));const k=yield fetch(n,a),g=st({},k);g.data=yield k.json(),l(this.useResponse(g))}catch(d){this.useError(d),u(d)}}))})}TEXT(n,a){return L(this,null,function*(){return new Promise((l,u)=>L(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${d.baseURL||""}${n}`,a.headers==null&&(a.headers={}),d.headers&&(a.headers=st({},d.headers));const k=yield fetch(n,a),g=st({},k);g.data=yield k.text(),l(g)}catch(d){this.useError(d),u(d)}}))})}interceptors(){const n=this;return{requset:{use(a){n.useRequest=a}},response:{use(a,l){n.useResponse=a,l&&(n.useError=l)}}}}}const Ga=ia.create({});Ga.interceptors().requset.use(o=>o);Ga.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:ja,$ngettext:cT}=Me(),Oo="/cgi-bin/luci/istore",No="/cgi-bin/luci/admin";let Ae=!1;const W=(o,n)=>(o.indexOf("//")==-1&&(o=`${Oo}${o}`),Va(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(ja("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Vo=(o,n)=>(o.indexOf("//")==-1&&(o=`${No}${o}`),Va(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(ja("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Go={Statistics:{GET(){return W("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return W("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return W("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return W("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(o){return W("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetInterfaceConfig:{GET(){return W("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(o){return W("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},PortList:{GET(){return W("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},jo={Version:{GET(){return W("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return W("/system/check-update/",{method:"GET"})}},AutoCheckUpdate:{POST(o){return W("/system/auto-check-update/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Reboot:{POST(){return W("/system/reboot/",{method:"POST"})}},Status:{GET(){return W("/system/status/",{method:"GET"})}}},Uo={Disk:{Status:{GET(){return W("/nas/disk/status/",{method:"GET"})}},Erase:{POST(o){return W("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Init:{POST:o=>W("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},InitRest:{POST:o=>W("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Partition:{Format:{POST:o=>W("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Mount:{POST:o=>W("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Service:{Status:{GET(){return W("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(o){return W("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Webdav:{Create:{POST(o){return W("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return W("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return W("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(o){return W("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSandbox:{GET(){return W("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return W("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return W("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return W("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return W("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},qo={Check:{POST(o){return W("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Install:{POST(o){return W("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Ro={Pppoe:{GET(){return W("/guide/pppoe/",{method:"GET"})},POST(o){return W("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DnsConfig:{GET(){return W("/guide/dns-config/",{method:"GET"})},POST(o){return W("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DhcpClient:{POST(o){return W("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},ClientModel:{GET(){return W("/guide/client-mode/",{method:"GET"})},POST(o){return W("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GatewayRouter:{POST(o){return W("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerStatus:{GET(){return W("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return W("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(o){return W("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerSwitch:{POST(o){return W("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DownloadService:{Status:{GET(){return W("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return W("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(o){return W("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},qbitorrentInit:{POST(o){return W("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},transmissionInit:{POST(o){return W("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetLan:{GET(){return W("/guide/lan/",{method:"GET"})}},LanIp:{POST(o){return W("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},SoftSource:{POST(o){return W("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSoftSource:{GET(){return W("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return W("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(o){return W("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetDdns:{GET(){return W("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(o){return W("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DdntoConfig:{GET(){return W("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(o){return W("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Wo={Create:{POST(o){return W("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Delete:{POST(o){return W("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Add:{POST(o){return W("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Remove:{POST(o){return W("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Recover:{POST(o){return W("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Detail:{POST(o){return W("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},List:{GET(){return W("/raid/list/",{method:"GET"})}},CreateList:{GET(){return W("/raid/create/list/",{method:"GET"})}},Autofix:{POST(){return W("/raid/autofix/",{method:"POST"})}}},Ho={Log:{GET(){return W("/smart/log/",{method:"GET"})}},List:{GET(){return W("/u/smart/list/",{method:"GET"})}},Config:{GET(){return W("/smart/config/",{method:"GET"})},POST(o){return W("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Test:{POST(o){return W("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Result:{POST(o){return W("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Attribute:{Result:{POST(o){return W("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Extend:{Result:{POST(o){return W("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}}},Jo={List:{GET(){return W("/wireless/list-iface/",{method:"GET"})}},Switch:{POST(o){return W("/wireless/enable-iface/",{body:JSON.stringify(o),method:"POST"})}},Power:{POST(o){return W("/wireless/set-device-power/",{body:JSON.stringify(o),method:"POST"})}},Edit:{POST(o){return W("/wireless/edit-iface/",{body:JSON.stringify(o),method:"POST"})}},Setup:{POST(o){return W("/wireless/setup/",{body:JSON.stringify(o),method:"POST"})}}},Zo={getInstalled:{GET(){return Vo("/store/installed/",{method:"GET"})}},needSetup:{GET(){return W("/guide/need/setup/",{method:"GET"})}},setPassword:{POST(o){return W("/system/setPassword/",{body:JSON.stringify(o),method:"POST"})}},completeGuide:{POST(){return W("/guide/finish/setup/",{method:"POST"})}}},Ko={listDevices:{GET(){return W("/lanctrl/listDevices/",{method:"GET"})}},staticDeviceConfig:{POST(o){return W("/lanctrl/staticDeviceConfig/",{body:JSON.stringify(o),method:"POST"})}},globalConfigs:{GET(){return W("/lanctrl/globalConfigs/",{method:"GET"})}},speedLimitConfig:{POST(o){return W("/lanctrl/speedLimitConfig/",{body:JSON.stringify(o),method:"POST"})}},listStaticDevices:{GET(){return W("/lanctrl/listStaticDevices/",{method:"GET"})}},listSpeedLimitedDevices:{GET(){return W("/lanctrl/listSpeedLimitedDevices/",{method:"GET"})}},dhcpGatewayConfig:{POST(o){return W("/lanctrl/dhcpGatewayConfig/",{body:JSON.stringify(o),method:"POST"})}},dhcpTagsConfig:{POST(o){return W("/lanctrl/dhcpTagsConfig/",{body:JSON.stringify(o),method:"POST"})}},enableSpeedLimit:{POST(o){return W("/lanctrl/enableSpeedLimit/",{body:JSON.stringify(o),method:"POST"})}},enableFloatGateway:{POST(o){return W("/lanctrl/enableFloatGateway/",{body:JSON.stringify(o),method:"POST"})}},speedsForDevices:{GET(){return W("/lanctrl/speedsForDevices/",{method:"GET"})}},speedsForOneDevice:{POST(o){return W("/lanctrl/speedsForOneDevice/",{body:JSON.stringify(o),method:"POST"})}}},Qo={GET(){return W("/system/module-settings/",{method:"GET"})},POST(o){return W("/system/module-settings/",{body:JSON.stringify(o),method:"POST"})}};var Xo=Object.freeze(Object.defineProperty({__proto__:null,Network:Go,System:jo,Nas:Uo,App:qo,Guide:Ro,Raid:Wo,Smart:Ho,Quickwifi:Jo,GuidePage:Zo,DeviceMangement:Ko,ModuleSettings:Qo},Symbol.toStringTag,{value:"Module"})),G=st({},Xo);const ra=we("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});we("guide",{});const tn=we("nas",{state:()=>({webdav:{}})}),Fe=we("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){G.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:n}=o==null?void 0:o.data;n&&(this.deviceList=n)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Le=we("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){G.System.Version.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,G.System.CheckUpdate.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let wa=!1;const en=()=>{if(wa)return;wa=!0;let o=!0,n=!0;const a=Fe(),l=Le(),u=function(){return(!o&&document.hidden?Promise.resolve():G.System.Status.GET().then(c=>{c!=null&&c.data.result&&l.updateSystemStatus(c.data.result)})).finally(()=>{setTimeout(u,5e3),o&&(setInterval(()=>{l.incrTime()},1e3),o=!1)})},d=function(){return(!n&&document.hidden?Promise.resolve():G.Network.Status.GET().then(c=>{if(c!=null&&c.data){const{result:k}=c==null?void 0:c.data;k&&a.updateNetworkStatus(k)}})).finally(()=>{setTimeout(d,5e3),n&&(setInterval(()=>{a.incrTime()},1e3),n=!1)})};d(),a.requestDeviceList(),setTimeout(()=>{l.requestVersion(),u()},1100)};var N=(o,n)=>{const a=o.__vccOpts||o;for(const[l,u]of n)a[l]=u;return a};const an=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=ra(),u=Q(()=>l.portitemStyle.portitem),d=Q(()=>l.portitemStyle.show),c=Q(()=>({bottom:`calc(100% - ${l.portitemStyle.top}px)`,left:`${l.portitemStyle.left}px`})),k=m=>{switch(m){case"full":return n("\u5168\u53CC\u5DE5");case"half":return n("\u534A\u53CC\u5DE5")}},g=m=>{l.portitemStyle.show=!0},p=m=>{l.portitemStyle.show=!1};return(m,v)=>e(d)?(r(),s("div",{key:0,class:"disk-item-tooltip",style:ht(e(c)),onMouseenter:g,onMouseleave:p},[t("div",null,i(k(e(u).duplex)),1),t("div",null,i(e(n)("\u540D\u79F0\uFF1A"))+i(e(u).name||"--"),1),t("div",null,i(e(n)("MAC\uFF1A"))+i(e(u).macAddress||"--"),1),t("div",null,i(e(n)("\u63A5\u6536\uFF1A"))+i(e(u).rx_packets||"--"),1),t("div",null,i(e(n)("\u53D1\u9001\uFF1A"))+i(e(u).tx_packets||"--"),1)],36)):D("",!0)}});var on=N(an,[["__scopeId","data-v-0698ba82"]]);const nn={id:"main"},rn=I({setup(o){return(n,a)=>{const l=_t("router-view");return r(),s("div",nn,[Y(l),Y(on)])}}});var sn=N(rn,[["__scopeId","data-v-9bc295c2"]]);const dn={},ln={t:"1640593669834",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"54870",width:"128",height:"128"},un=t("path",{d:"M148.7872 57.4464h177.152c64.9216 0 118.0672 53.1456 118.0672 118.0672v295.2192H148.7872C83.8656 470.7328 30.72 417.5872 30.72 352.5632v-177.152C30.72 110.592 83.8656 57.4464 148.7872 57.4464z m0 531.3536h295.2192v295.2192c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152C83.8656 1001.984 30.72 948.9408 30.72 883.9168v-177.152C30.72 641.9456 83.8656 588.8 148.7872 588.8z m0 0M768.7168 559.2064L562.0736 346.7264c-23.6544-17.7152-35.4304-53.1456-35.4304-82.6368s11.776-59.0848 35.4304-82.6368L686.08 57.4464C733.2864 10.24 810.0864 10.24 851.3536 57.4464l124.0064 124.0064c23.6544 23.6544 35.4304 53.1456 35.4304 82.6368s-11.776 59.0848-35.4304 82.6368L768.7168 559.2064z m0-478.208c-17.7152 0-29.4912 5.9392-41.3696 17.7152l-123.904 124.0064c-11.776 11.776-17.7152 23.6544-17.7152 41.3696s5.9392 29.4912 17.7152 41.3696l165.2736 165.2736 165.2736-165.2736c11.776-11.776 17.7152-23.6544 17.7152-41.3696s-5.9392-29.4912-17.7152-41.3696L809.984 98.7136c-11.776-11.776-23.552-17.7152-41.2672-17.7152z m0 0","p-id":"54871"},null,-1),cn=t("path",{d:"M562.0736 588.8h295.2192c64.9216 0 118.0672 53.1456 118.0672 118.0672v177.152c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152c-64.9216 0-118.0672-53.1456-118.0672-118.0672V588.8z m0 0","p-id":"54872"},null,-1),pn=[un,cn];function fn(o,n){return r(),s("svg",ln,pn)}var mn=N(dn,[["render",fn]]);const gn={},vn={t:"1640598743438",class:"icon",viewBox:"0 0 1036 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"65341",width:"128",height:"128"},bn=t("path",{d:"M984.177778 432.355556l-45.511111 0c-22.755556 0-45.511111-17.066667-51.2-39.822222l-28.444444-68.266667C847.644444 312.888889 853.333333 284.444444 870.4 267.377778l34.133333-34.133333c17.066667-17.066667 17.066667-39.822222 0-56.888889l-56.888889-56.888889c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-34.133333 34.133333C739.555556 170.666667 711.111111 176.355556 694.044444 164.977778L625.777778 136.533333c-22.755556-5.688889-39.822222-28.444444-39.822222-51.2L585.955556 39.822222c0-22.755556-17.066667-39.822222-39.822222-39.822222L472.177778 0C449.422222 0 432.355556 17.066667 432.355556 39.822222l0 45.511111c0 22.755556-17.066667 45.511111-39.822222 51.2L329.955556 164.977778C312.888889 176.355556 284.444444 170.666667 267.377778 153.6L233.244444 119.466667c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-56.888889 56.888889c-17.066667 17.066667-17.066667 39.822222 0 56.888889l34.133333 34.133333C170.666667 284.444444 176.355556 312.888889 164.977778 329.955556L136.533333 398.222222C130.844444 415.288889 108.088889 432.355556 85.333333 432.355556l-45.511111 0C17.066667 432.355556 0 449.422222 0 472.177778l0 79.644444c0 22.755556 17.066667 39.822222 39.822222 39.822222l45.511111 0c22.755556 0 45.511111 17.066667 51.2 39.822222l28.444444 68.266667C176.355556 711.111111 170.666667 739.555556 153.6 756.622222l-34.133333 34.133333c-17.066667 17.066667-17.066667 39.822222 0 56.888889l56.888889 56.888889c17.066667 17.066667 39.822222 17.066667 56.888889 0l34.133333-34.133333C284.444444 853.333333 312.888889 847.644444 329.955556 859.022222L398.222222 887.466667c22.755556 5.688889 39.822222 28.444444 39.822222 51.2l0 45.511111c0 22.755556 17.066667 39.822222 39.822222 39.822222l79.644444 0c22.755556 0 39.822222-17.066667 39.822222-39.822222l0-45.511111c0-22.755556 17.066667-45.511111 39.822222-51.2l68.266667-28.444444c17.066667-11.377778 45.511111-5.688889 62.577778 11.377778l34.133333 34.133333c17.066667 17.066667 39.822222 17.066667 56.888889 0l56.888889-56.888889c17.066667-17.066667 17.066667-39.822222 0-56.888889l-34.133333-34.133333c-17.066667-17.066667-17.066667-45.511111-11.377778-62.577778l28.444444-68.266667c5.688889-22.755556 28.444444-39.822222 51.2-39.822222l45.511111 0c22.755556 0 39.822222-17.066667 39.822222-39.822222L1035.377778 472.177778C1024 449.422222 1006.933333 432.355556 984.177778 432.355556L984.177778 432.355556zM711.111111 512c0 108.088889-91.022222 199.111111-199.111111 199.111111-108.088889 0-199.111111-85.333333-199.111111-199.111111 0-108.088889 85.333333-199.111111 199.111111-199.111111C620.088889 312.888889 711.111111 403.911111 711.111111 512L711.111111 512zM711.111111 512","p-id":"65342"},null,-1),hn=[bn];function _n(o,n){return r(),s("svg",vn,hn)}var xn=N(gn,[["render",_n]]);const wn={},kn={t:"1640599890701",class:"icon",viewBox:"0 0 1565 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"76947",width:"128",height:"128"},yn=t("path",{d:"M1206.477959 299.331595c-27.357038 0-53.867311 3.354494-79.465683 9.151581C1078.518669 130.792698 916.428217 0 723.365689 0 492.068443 0 304.575027 187.493416 304.575027 418.790662c0 16.055976 1.074741 31.786273 2.865975 47.386299-9.184149-0.911901-18.400865-1.40042-27.812989-1.40042C125.191018 464.743973 0 589.934991 0 744.371987c0 154.469563 125.191018 279.628013 279.595446 279.628013 59.990077 0 221.233764 0 394.527575 0l0-302.295274L496.986197 721.704726l285.457668-339.031868 285.457668 339.031868-177.136823 0 0 302.295274c139.748871 0 262.204185 0 315.71325 0 197.947713 0 358.40977-168.34349 358.40977-366.291203S1404.425673 299.331595 1206.477959 299.331595z","p-id":"76948"},null,-1),Fn=[yn];function En(o,n){return r(),s("svg",kn,Fn)}var $n=N(wn,[["render",En]]);const Cn={},Dn={t:"1640599792937",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"68605",width:"128",height:"128"},Bn=t("path",{d:"M512 825.6c-211.2 0-377.6-57.6-377.6-128l0 0L134.4 896l0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0 0-204.8 0 0C889.6 768 723.2 825.6 512 825.6L512 825.6z","p-id":"68606"},null,-1),Yn=t("path",{d:"M512 544c-211.2 0-377.6-57.6-377.6-128l0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 416l0 0C889.6 486.4 723.2 544 512 544L512 544z","p-id":"68607"},null,-1),An=t("path",{d:"M889.6 128 889.6 128c0-70.4-166.4-128-377.6-128C300.8 0 134.4 57.6 134.4 128l0 0 0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 128 889.6 128 889.6 128zM512 217.6c-153.6 0-281.6-44.8-281.6-96 0-51.2 128-96 281.6-96 153.6 0 281.6 44.8 281.6 96C793.6 179.2 665.6 217.6 512 217.6L512 217.6z","p-id":"68608"},null,-1),Sn=[Bn,Yn,An];function zn(o,n){return r(),s("svg",Dn,Sn)}var Pn=N(Cn,[["render",zn]]);const Tn={},In={t:"1640575557247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4211",width:"128",height:"128"},Mn=t("path",{d:"M560 800l-10.464-416h-75.072L464 800h96z m-14.144-493.984c9.44-9.312 14.144-20.672 14.144-34.016 0-13.6-4.704-24.992-14.144-34.208A46.784 46.784 0 0 0 512 224c-13.12 0-24.448 4.608-33.856 13.792A45.856 45.856 0 0 0 464 272c0 13.344 4.704 24.704 14.144 34.016 9.408 9.312 20.704 13.984 33.856 13.984 13.12 0 24.448-4.672 33.856-13.984zM512 32C246.912 32 32 246.912 32 512c0 265.088 214.912 480 480 480 265.088 0 480-214.912 480-480 0-265.088-214.912-480-480-480z m0 64c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z","p-id":"4212"},null,-1),Ln=[Mn];function On(o,n){return r(),s("svg",In,Ln)}var Nn=N(Tn,[["render",On]]);const Vn={},Gn={t:"1640681742480",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"80687",width:"128",height:"128"},jn=t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"80688"},null,-1),Un=t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"80689"},null,-1),qn=t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"80690"},null,-1),Rn=t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"80691"},null,-1),Wn=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Hn=t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"80693"},null,-1),Jn=t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"80694"},null,-1),Zn=t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"80695"},null,-1),Kn=t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"80696"},null,-1),Qn=t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"80697"},null,-1),Xn=t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80698"},null,-1),ti=t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80699"},null,-1),ei=t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80700"},null,-1),ai=t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80701"},null,-1),oi=t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80702"},null,-1),ni=t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"80703"},null,-1),ii=t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"80704"},null,-1),ri=t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"80705"},null,-1),si=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),di=[jn,Un,qn,Rn,Wn,Hn,Jn,Zn,Kn,Qn,Xn,ti,ei,ai,oi,ni,ii,ri,si];function li(o,n){return r(),s("svg",Gn,di)}var ui=N(Vn,[["render",li]]);const ci={},pi={t:"1640775712185",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2996",width:"128",height:"128"},fi=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),mi=[fi];function gi(o,n){return r(),s("svg",pi,mi)}var vi=N(ci,[["render",gi]]);const bi={class:"progress"},hi=I({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const n=o,a=Q(()=>n.value>=80?"#e45e5e":n.value>=70?"#ff9800":n.value>=60?"#297ff3":n.value>0?"#53c31b":"");return(l,u)=>(r(),s("div",bi,[t("div",{class:lt(["progress-value",`${o.value>50}`]),style:ht({width:`${o.value}%`,backgroundColor:e(a)})},[t("span",null,i(o.text),1)],6),Yt(l.$slots,"default",{},void 0,!0)]))}});var Ua=N(hi,[["__scopeId","data-v-733828e1"]]);const _i={},xi={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},wi=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),ki=[wi];function yi(o,n){return r(),s("svg",xi,ki)}var Fi=N(_i,[["render",yi]]);const Ei={},$i={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},Ci=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),Di=[Ci];function Bi(o,n){return r(),s("svg",$i,Di)}var Yi=N(Ei,[["render",Bi]]);const Ai={class:"checkbox_switch"},Si={class:"checkbox_switch_on"},zi={class:"checkbox_switch_off"},Pi=I({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,l=Q({get:()=>a.modelValue.valueOf(),set:u=>n("update:modelValue",u)});return(u,d)=>(r(),s("label",Ai,[O(t("input",{type:"checkbox","onUpdate:modelValue":d[0]||(d[0]=c=>Ia(l)?l.value=c:null)},null,512),[[Rt,e(l)]]),t("span",Si,[Y(Fi)]),t("span",zi,[Y(Yi)]),Yt(u.$slots,"default",{},void 0,!0)]))}});var qa=N(Pi,[["__scopeId","data-v-76324716"]]);const Ti={},Ii={t:"1641369474206",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7685",width:"128",height:"128"},Mi=t("path",{d:"M757.76 637.44l-218.88 245.76c-14.72 16.64-40.32 16.64-54.4 0L265.6 637.44C244.48 613.76 261.12 576 293.12 576l437.76 0C762.24 576 779.52 613.76 757.76 637.44z","p-id":"7686"},null,-1),Li=[Mi];function Oi(o,n){return r(),s("svg",Ii,Li)}var Ni=N(Ti,[["render",Oi]]);const Vi={},Gi={t:"1641369492518",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7831",width:"128",height:"128"},ji=t("path",{d:"M758.4 385.92 539.52 140.16c-14.72-16.64-40.32-16.64-54.4 0L266.24 385.92C244.48 409.6 261.76 448 293.12 448l437.76 0C762.88 448 779.52 409.6 758.4 385.92z","p-id":"7832"},null,-1),Ui=[ji];function qi(o,n){return r(),s("svg",Gi,Ui)}var Ri=N(Vi,[["render",qi]]);const Wi={};function Hi(o,n){return r(),s("article",null,[Yt(o.$slots,"default",{},void 0,!0)])}var Ji=N(Wi,[["render",Hi],["__scopeId","data-v-bd286d4e"]]);const Zi={class:"cover"},Ki={class:"thumbnail"},Qi=I({emits:["click"],setup(o,{emit:n}){const a=()=>{n("click")};return(l,u)=>(r(),Z(Ji,null,{default:V(()=>[t("a",{onClick:a},[t("div",Zi,[t("div",Ki,[Yt(l.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Xi=N(Qi,[["__scopeId","data-v-123deb20"]]);const tr={class:"select-editable"},er={selected:"",value:""},ar=["value"],or={value:"useInput"},nr=["placeholder"],ir=I({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=J(),d=E(""),c=E(""),k=Q({get:()=>a.modelValue.valueOf(),set:v=>n("update:modelValue",v)}),g=v=>{v===d.value||d.value==="useInput"&&v===c.value||(v===""||a.options.some(b=>b.key===v)?d.value=v:(c.value=v,d.value="useInput"))};$t(()=>a.modelValue,v=>{g(v)}),Pt(()=>{const v=k.value;g(v)});const p=v=>{d.value==="useInput"?k.value=c.value:k.value=d.value},m=v=>{k.value=c.value};return(v,b)=>(r(),s("label",null,[t("div",tr,[O(t("select",{"onUpdate:modelValue":b[0]||(b[0]=y=>d.value=y),autocomplete:"off",onChange:p},[t("option",er,i(e(l)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(r(!0),s(U,null,tt(o.options,(y,f)=>(r(),s("option",{value:y.key,key:f},i(y.value||y.key),9,ar))),128)),t("option",or,i(e(l)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[pt,d.value,void 0,{trim:!0}]]),d.value=="useInput"?O((r(),s("input",{key:0,type:"text","onUpdate:modelValue":b[1]||(b[1]=y=>c.value=y),required:"",placeholder:e(l)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:m},null,40,nr)),[[at,c.value,void 0,{trim:!0}]]):D("",!0)])]))}});var Zt=N(ir,[["__scopeId","data-v-0b6f3a7d"]]);const rr={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},sr=I({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const n=a=>{if(a==null)return;if(typeof a=="number")return a+"px";const l=a.toString();return parseInt(l)+""==l?l+"px":l};return(a,l)=>(r(),s("div",{class:"quick-loading",style:ht({width:n(o.size),height:n(o.size)})},[(r(),s("svg",rr,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:ht({fill:o.color})},null,4)]))],4))}});var dr=N(sr,[["__scopeId","data-v-0ec4e762"]]);const lr={},ur={t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},cr=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),pr=[cr];function fr(o,n){return r(),s("svg",ur,pr)}var mr=N(lr,[["render",fr]]);const gr={},vr={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},br=jt('',1),hr=[br];function _r(o,n){return r(),s("svg",vr,hr)}var xr=N(gr,[["render",_r]]);const wr=o=>(ut("data-v-b934e2ce"),o=o(),ct(),o),kr=["href","title"],yr=wr(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),Fr=[yr],Er=I({props:{type:null},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>{switch(n.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(d,c)=>(r(),s("a",{href:e(u),target:"_blank",title:e(a)("\u8DF3\u8F6C\u6559\u7A0B")},Fr,8,kr))}});var $r=N(Er,[["__scopeId","data-v-b934e2ce"]]),Ra={install:o=>{o.component("icon-loading",dr),o.component("icon-success",mr),o.component("icon-error",xr),o.component("GlHelp",$r)}};const Cr={class:"reusable-card",role:"group"},Dr={class:"card-header"},Br={class:"left"},Yr={class:"title"},Ar={class:"settings-wrapper"},Sr={key:0,class:"settings-btn"},zr={class:"dropdown-menu"},Pr={class:"card-body"},Tr={props:{title:{type:String,required:!0},showSettings:{type:Boolean,default:!0},isSettingsMenuOpen:{type:Boolean,default:!1}},emits:["settings","update:isSettingsMenuOpen"],setup(o,{emit:n}){const a=o;J(),Pt(()=>document.addEventListener("click",u)),ke(()=>document.removeEventListener("click",u));const l=Q({get:()=>a.isSettingsMenuOpen,set:d=>n("update:isSettingsMenuOpen",d)}),u=d=>{d.target.closest(".settings-wrapper")||(l.value=!1)};return(d,c)=>(r(),s("div",Cr,[t("div",Dr,[t("div",Br,[Yt(d.$slots,"icon",{},void 0,!0),t("div",Yr,i(o.title),1)]),t("div",Ar,[o.showSettings?(r(),s("div",Sr,[Yt(d.$slots,"settings",{},void 0,!0)])):D("",!0),Y(St,{name:"fade"},{default:V(()=>[O(t("div",zr,[Yt(d.$slots,"settings-menu",{},void 0,!0)],512),[[ee,e(l)]])]),_:3})])]),t("div",Pr,[Yt(d.$slots,"default",{},void 0,!0)])]))}};var Wt=N(Tr,[["__scopeId","data-v-dbb174c6"]]);const Ir={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Mr=["fill"],Lr=["fill"],Or=["fill"],Kt=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Ir,[t("path",{d:"M665.6 911.36H358.4c-76.8 0-117.76 0-153.6-20.48-30.72-15.36-56.32-40.96-71.68-71.68-20.48-35.84-20.48-76.8-20.48-153.6v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 61.44 0 97.28 10.24 117.76 10.24 15.36 20.48 30.72 40.96 40.96 20.48 10.24 56.32 10.24 117.76 10.24h307.2c61.44 0 97.28 0 117.76-10.24 15.36-10.24 30.72-20.48 40.96-40.96 10.24-20.48 10.24-56.32 10.24-117.76v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 76.8 0 117.76-20.48 153.6-15.36 30.72-40.96 56.32-71.68 71.68-35.84 20.48-76.8 20.48-153.6 20.48z","p-id":"4906",fill:o.color},null,8,Mr),t("path",{d:"M512 645.12c-10.24 0-15.36 0-20.48-10.24l-204.8-204.8c-10.24-10.24-10.24-30.72 0-46.08s30.72-10.24 46.08 0l184.32 184.32 184.32-184.32c10.24-10.24 30.72-10.24 46.08 0 10.24 10.24 10.24 30.72 0 46.08l-204.8 204.8c-5.12 5.12-15.36 10.24-20.48 10.24z","p-id":"4907",fill:o.color},null,8,Lr),t("path",{d:"M512 645.12c-15.36 0-30.72-15.36-30.72-30.72V153.6c0-15.36 15.36-30.72 30.72-30.72s30.72 15.36 30.72 30.72v460.8c0 15.36-15.36 30.72-30.72 30.72z","p-id":"4908",fill:o.color},null,8,Or)]))}}),Nr={},Vr={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},Gr=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),jr=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),Ur=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),qr=[Gr,jr,Ur];function Rr(o,n){return r(),s("svg",Vr,qr)}var Ee=N(Nr,[["render",Rr]]);const Wr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none",width:"128",height:"128"},Hr=["fill"],Jr=I({props:{color:{type:String,default:"#000000"}},setup(o){return(n,a)=>(r(),s("svg",Wr,[t("path",{d:"M511.232 438.8352L112.9984 40.6016A51.2 51.2 0 0 0 40.6016 112.9984L438.784 511.232 40.6016 909.4656a51.2 51.2 0 1 0 72.3968 72.448l398.2336-398.2848 398.2336 398.2848a51.2 51.2 0 1 0 72.448-72.448l-398.2848-398.2336 398.2848-398.2336A51.2 51.2 0 0 0 909.4656 40.6016L511.232 438.784z","p-id":"1217",fill:o.color},null,8,Hr)]))}}),Zr=o=>(ut("data-v-75eeccd3"),o=o(),ct(),o),Kr={id:"actioner"},Qr={key:0,class:"action-container"},Xr={class:"action-container_header"},ts=Zr(()=>t("div",null,null,-1)),es={class:"title"},as=["title"],os={class:"action-container_body"},ns=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!1);Pt(()=>{u.value=!0,document.body.setAttribute("lock-scroll","true")}),Nt(()=>{document.body.removeAttribute("lock-scroll")});const d=()=>{n.Close&&(u.value=!1,setTimeout(()=>{n.Close&&n.Close()},300))};return(c,k)=>(r(),s("div",Kr,[t("div",{class:"bg",onClick:d}),o.type!=null?Yt(c.$slots,"default",{key:0},void 0,!0):(r(),s(U,{key:1},[u.value?(r(),s("div",Qr,[t("div",Xr,[ts,t("div",es,i(o.title),1),t("button",{class:"close",title:e(a)("\u5173\u95ED"),onClick:d},[Y(Jr)],8,as)]),t("div",os,[Yt(c.$slots,"default",{},void 0,!0)])])):D("",!0)],64))]))}});var is=N(ns,[["__scopeId","data-v-75eeccd3"]]);const wt=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(n,a)=>(r(),Z(is,{Close:o.Close,type:o.type,title:o.title},{default:V(()=>[Yt(n.$slots,"default")]),_:3},8,["Close","type","title"]))}}),sa=o=>(ut("data-v-7732abe2"),o=o(),ct(),o),rs={class:"disk-item"},ss=sa(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563338465",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2216",width:"128",height:"128"},[t("path",{d:"M998.4 711.68l-119.467-512c-6.826-42.667-42.666-75.093-87.04-76.8H232.107c-44.374 1.707-80.214 35.84-87.04 78.507L25.6 711.68c-5.12 13.653-6.827 29.013-6.827 42.667 0 76.8 63.147 139.946 141.654 139.946H865.28c78.507 0 141.653-63.146 141.653-139.946 0-13.654-3.413-29.014-8.533-42.667zM394.24 366.933c1.707-51.2 56.32-92.16 124.587-92.16S640 315.733 640 365.227c44.373-1.707 81.92 23.893 83.627 58.026s-34.134 63.147-78.507 64.854h-6.827l-245.76 1.706c-44.373 0-80.213-27.306-80.213-59.733 0-35.84 37.547-63.147 81.92-63.147z m471.04 459.094H160.427c-39.254 0-69.974-30.72-69.974-69.974s32.427-69.973 69.974-69.973H865.28c39.253 0 69.973 30.72 69.973 69.973 1.707 37.547-30.72 69.974-69.973 69.974z m-35.84-92.16c-11.947 0-22.187 8.533-23.893 20.48 0 11.946 8.533 22.186 20.48 23.893h3.413c11.947 0 22.187-10.24 22.187-22.187 0-13.653-8.534-22.186-22.187-22.186z m-46.08 22.186c0-25.6 20.48-46.08 46.08-46.08s46.08 20.48 46.08 46.08-20.48 46.08-46.08 46.08-46.08-20.48-46.08-46.08z","p-id":"2217"})])],-1)),ds={class:"disk-item_f"},ls={class:"disk-item_venderModel"},us={class:"disk-item_used"},cs=sa(()=>t("div",{class:"auto"},null,-1)),ps={class:"disk-item-r"},fs={class:"disk-children"},ms=["onClick"],gs=sa(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563581459",class:"icon",viewBox:"0 0 1228 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7132",width:"128",height:"128"},[t("path",{d:"M525.2096 145.3568c1.9968-45.568-35.6864-99.1232-57.4976-99.1232H57.4976C15.872 79.9232 17.8176 145.408 17.8176 145.408h507.392z",fill:"#ECC049","p-id":"7133"}),t("path",{d:"M21.8112 143.36L19.8144 825.1392c0 75.3152 75.3152 152.576 150.6304 152.576h887.9104c75.264 0 150.6304-75.264 150.6304-152.576V297.984c0-75.264-75.3152-152.576-150.6304-152.576h-434.0224L21.8112 143.36z",fill:"#FFD658","p-id":"7134"})])],-1)),vs={key:0},bs={key:1},hs=I({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var c,k;const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!1);n.currDisk!=null&&((c=n.currDisk)==null?void 0:c.venderModel)==((k=n.disk)==null?void 0:k.venderModel)&&(u.value=!0);const d=g=>{u.value=!u.value,n.onDisk(g,null)};return(g,p)=>{var m;return r(),s("ul",rs,[t("li",{class:lt(["disk-info",{on:o.disk.venderModel==((m=o.currDisk)==null?void 0:m.venderModel),nopoint:o.disk.childrens==null||o.disk.childrens.length==0}]),onClick:p[0]||(p[0]=v=>d(o.disk))},[ss,t("div",ds,[t("div",ls,i(o.disk.venderModel),1),t("div",us,i(o.disk.used)+"/"+i(o.disk.size),1)]),cs,t("div",ps,i(o.disk.path),1)],2),O(t("div",fs,[(r(!0),s(U,null,tt(o.disk.childrens,v=>{var b,y;return r(),s("li",{class:lt(["disk-children_item",{on:v.uuid==((b=o.currMountPoint)==null?void 0:b.uuid)&&v.path==((y=o.currMountPoint)==null?void 0:y.path)}]),onClick:f=>o.onDisk(o.disk,v)},[gs,v.mountPoint?(r(),s("span",vs," \u3010"+i(v.filesystem)+"\u3011 "+i(v.mountPoint)+" \uFF08"+i(v.used)+"/"+i(v.total)+"\uFF09 ["+i(v.uuid)+"] ",1)):(r(),s("span",bs," \u3010"+i(v.filesystem)+"\u3011 "+i(v.mountPoint||v.path||e(a)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+i(v.uuid)+"] ",1))],10,ms)}),256))],512),[[ee,u.value]])])}}});var ka=N(hs,[["__scopeId","data-v-7732abe2"]]);let Be=0;const _s={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,Be=window.setTimeout(o,1e3))};Be=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,Be!=0&&clearTimeout(Be),this.Close())}}},Oe=o=>(ut("data-v-6935a479"),o=o(),ct(),o),xs={key:0,class:"loading icon"},ws=Oe(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),ks=[ws],ys={key:1,class:"success icon"},Fs=Oe(()=>t("svg",{t:"1632451272305",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M1001.305115 275.874141 431.461709 845.718571c-28.221762 28.221762-73.977875 28.221762-102.20066 0L22.661116 539.116591c-28.222785-28.221762-28.222785-73.979922 0-102.20066 28.221762-28.221762 73.977875-28.221762 102.20066 0l255.500115 255.502162 518.743588-518.743588c28.221762-28.221762 73.977875-28.221762 102.199637 0C1029.5279 201.89422 1029.5279 247.65238 1001.305115 275.874141z","p-id":"2205"})],-1)),Es=[Fs],$s={key:2,class:"error icon"},Cs=Oe(()=>t("svg",{t:"1632451325789",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M823.04 840.32 524.16 540.16l296.32-294.4c12.8-12.8 12.8-33.28 0-45.44-12.8-12.8-33.28-12.8-46.08 0L478.08 494.08 184.96 200.32c-12.8-12.8-33.28-12.8-45.44 0s-12.8 33.28 0 45.44l292.48 293.76-302.72 300.8c-12.8 12.8-12.8 33.28 0 45.44 12.8 12.8 33.28 12.8 46.08 0l302.72-300.16 299.52 300.16c12.8 12.8 33.28 12.8 45.44 0C835.2 873.6 835.2 853.12 823.04 840.32z","p-id":"2205"})],-1)),Ds=[Cs],Bs={key:3,class:"warning icon"},Ys=Oe(()=>t("svg",{t:"1632451401172",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1638",width:"128",height:"128"},[t("path",{d:"M512 1021.45211835a60.32985613 60.32985613 0 1 1 60.32985613-60.32985611 60.32985613 60.32985613 0 0 1-60.32985613 60.32985611z m86.85823451-924.97400238L572.32985613 719.80283775a60.32985613 60.32985613 0 0 1-120.65971226 0l-26.52837838-623.32472178c-0.16758294-2.22885301-0.28489098-4.49122263-0.284891-6.78710881a87.14312551 87.14312551 0 0 1 174.28625102 0c0 2.2958862-0.11730806 4.5582558-0.284891 6.78710881z","p-id":"1639"})],-1)),As=[Ys];function Ss(o,n,a,l,u,d){return r(),Z(St,{name:"el-fade-in-linear"},{default:V(()=>[u.show?(r(),s("div",{key:0,class:"toast",onClick:n[1]||(n[1]=c=>d.Stop())},[a.type=="loading"?(r(),s("div",xs,ks)):a.type=="success"?(r(),s("div",ys,Es)):a.type=="error"?(r(),s("div",$s,Ds)):a.type=="warning"?(r(),s("div",Bs,As)):D("",!0),t("div",{class:"message",onClick:n[0]||(n[0]=ft(()=>{},["stop"]))},i(d.Message),1)])):D("",!0)]),_:1})}var zs=N(_s,[["render",Ss],["__scopeId","data-v-6935a479"]]);const _e=new Map,oe=o=>{const n=xt(zs,vt(st({},o),{Close:()=>{l()}})),a=document.createElement("div");document.body.append(a),n.mount(a);const l=()=>{a.remove(),_e.get(n._uid)&&_e.delete(n._uid)};return o.type=="loading"&&_e.set(n._uid,{Close:l}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{l()},o==null?void 0:o.duration):setTimeout(()=>{l()},3e3)),{Close:l}},$=o=>oe(o);$.Loading=(o,n)=>oe({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:n||0});$.Success=o=>oe({type:"success",message:o});$.Error=o=>oe({type:"error",message:o,duration:0});$.Warning=o=>oe({type:"warning",message:o});$.Message=o=>oe({message:o});$.Clear=()=>{_e.forEach((o,n)=>{o.Close(),_e.delete(n)})};const da=o=>(ut("data-v-d72e7026"),o=o(),ct(),o),Ps=["onSubmit"],Ts={class:"action-header"},Is={class:"action-header_title"},Ms={class:"action-body"},Ls={class:"disk-info"},Os=da(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),Ns={key:0,class:"disk-info_mount-name"},Vs={key:1,class:"disk-info_mount-name"},Gs={key:0,class:"label-item"},js={class:"label-item_key"},Us={class:"label-item_path"},qs={class:"label-item"},Rs={class:"label-item_key"},Ws={class:"label-item_value"},Hs=["disabled"],Js={key:0,value:""},Zs={value:"format"},Ks={key:1,value:"default"},Qs={class:"label-item_value"},Xs={key:0,class:"msg"},td={key:1,class:"msg"},ed={class:"action-footer"},ad=da(()=>t("div",{class:"auto"},null,-1)),od=["disabled"],nd=["disabled"],id={key:1,class:"action result"},rd={class:"action-body"},sd=da(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),dd={class:"action-body_msg"},ld={key:0,class:"action-body_info"},ud={key:1,class:"action-body_info"},cd={class:"btns"},pd=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.Close&&n.Close()},d=x=>{x.preventDefault(),n.Cancel&&n.Cancel(),u()},c=x=>{n.Next&&n.Next(x),u()},k=E(!1),g=E(0),p=x=>{g.value=x},m=E(n.action=="nas"?"":"format"),v=E(),b=E(),y=()=>{switch(m.value){case"format":F();return;case"default":f();return;default:$.Warning(a("\u8BF7\u9009\u62E9\u9009\u9879"));return}},f=()=>{let x="";const C=n.mount;if(C!=null&&C.mountPoint!=null&&(x=C.mountPoint),x!=""){c(x);return}$.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},F=()=>{const x=n.disk,C=n.mount;if(C){const S=C.mountPoint||C.path;if(!confirm(a("\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A %{partname} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{partname:S||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:S||""})))return;h(C);return}if(x){if(!confirm(a("\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 %{model} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{model:x.venderModel||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;w(x);return}$.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},w=x=>L(this,null,function*(){if(x.name==null||x.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(x.path==null||x.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}k.value=!0;const C=$.Loading(a("\u521D\u59CB\u5316\u4E2D..."));try{const S=yield G.Nas.Disk.Init.POST({name:x.name,path:x.path});if(S!=null&&S.data){const{result:A,error:z}=S==null?void 0:S.data;z&&$.Warning(z),A&&(A.errorInfo?$.Warning(A.errorInfo):($.Success(a("\u521D\u59CB\u5316\u6210\u529F")),A.childrens&&A.childrens.length>0&&(b.value=A.childrens[0]),v.value=A,p(1)))}}catch(S){$.Error(S)}C.Close(),k.value=!1}),h=x=>L(this,null,function*(){if(x.path==null||x.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}k.value=!0;const C=$.Loading(a("\u683C\u5F0F\u5316\u4E2D..."));try{const S=yield G.Nas.Disk.Partition.Format.POST({path:x.path,uuid:x.uuid,mountPoint:x.mountPoint});if(S!=null&&S.data){const{result:A,error:z}=S==null?void 0:S.data;z&&$.Warning(z),A&&($.Success(a("\u683C\u5F0F\u5316\u6210\u529F")),b.value=A,p(1))}}catch(S){$.Error(S)}C.Close(),k.value=!1}),_=()=>{if(b.value&&b.value.mountPoint){c(b.value.mountPoint);return}$.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(x,C)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>{var S;return[g.value==0?(r(),s("form",{key:0,class:"action format",onSubmit:ft(y,["prevent"])},[t("div",Ts,[t("div",Is,i(e(a)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",Ms,[t("div",Ls,[Os,o.mount?(r(),s("div",Ns,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint||o.mount.path),1)])):o.disk?(r(),s("div",Vs,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),s("div",Gs,[t("div",js,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Us,i(o.mount.mountPoint||o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF09",1)])):D("",!0),t("div",qs,[t("div",Rs,[t("span",null,i(e(a)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",Ws,[O(t("select",{"onUpdate:modelValue":C[0]||(C[0]=A=>m.value=A),required:"",disabled:o.action=="disk"},[o.mount!=null?(r(),s("option",Js,i(e(a)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):D("",!0),t("option",Zs,i(e(a)("\u683C\u5F0F\u5316")),1),o.mount!=null?(r(),s("option",Ks,i(e(a)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):D("",!0)],8,Hs),[[pt,m.value]])]),t("div",Qs,[m.value=="format"?(r(),s("p",Xs,i(e(a)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):m.value=="default"?(r(),s("p",td)):D("",!0)])])]),t("div",ed,[ad,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d,type:"button",disabled:k.value},i(e(a)("\u8FD4\u56DE")),9,od),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:k.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,nd)])],40,Ps)):g.value==1?(r(),s("div",id,[t("div",rd,[sd,t("div",dd,i(e(a)("\u683C\u5F0F\u5316\u6210\u529F")),1),v.value?(r(),s("div",ld,[dt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+i(v.value.venderModel)+" "+i(e(a)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,i((S=b.value)==null?void 0:S.mountPoint),1)])):D("",!0),b.value?(r(),s("div",ud,[dt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,i(b.value.mountPoint),1)])):D("",!0),t("div",cd,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:_},i(o.action=="nas"?e(a)("\u4E0B\u4E00\u6B65"):e(a)("\u5B8C\u6210")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var fd=N(pd,[["__scopeId","data-v-d72e7026"]]),la=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(fd,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const md=o=>(ut("data-v-0d1b6ac8"),o=o(),ct(),o),gd={class:"action list"},vd={class:"action-header"},bd={class:"action-header_title"},hd={class:"action-body"},_d={class:"disk-list"},xd={class:"action-msg"},wd={href:"/cgi-bin/luci/admin/system/diskman"},kd={class:"action-footer"},yd=md(()=>t("div",{class:"auto"},null,-1)),Fd=I({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!0),d=gt({disks:[],raids:[]});(()=>L(this,null,function*(){const f=yield Promise.all([G.Nas.Disk.Status.GET(),G.Raid.List.GET()]);try{if(f[0]){const F=f[0];F!=null&&F.data.result&&(d.disks=(F==null?void 0:F.data.result.disks)||[])}if(f[1]){const F=f[1];F.data.result&&(d.raids=F.data.result.disks||[])}}catch(F){$.Warning(F)}}))();const k=E(),g=E(),p=(f,F)=>{k.value=f,g.value=F},m=()=>{n.Close&&n.Close()},v=()=>{n.Cancel&&n.Cancel(),m()},b=f=>{n.Next&&n.Next(f),m()},y=()=>{if(k.value==null){$.Warning(a("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(k.value.childrens!=null&&k.value.childrens.length>0&&g.value==null){$.Warning(a("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(g.value!=null&&(g.value.mountPoint==null||g.value.mountPoint=="")){$.Warning(a("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}u.value=!1,la({action:"nas",disk:k.value,mount:g.value,Cancel:()=>{u.value=!0},Next:f=>{b(f)}})};return(f,F)=>u.value?(r(),Z(wt,{key:0,type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",gd,[t("div",vd,[t("div",bd,i(e(a)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",hd,[t("div",_d,[(r(!0),s(U,null,tt(e(d).disks,w=>(r(),Z(ka,{disk:w,onDisk:p,currDisk:k.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(r(!0),s(U,null,tt(e(d).raids,w=>(r(),Z(ka,{disk:w,onDisk:p,currDisk:k.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",xd,[t("span",null,[dt(i(e(a)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",wd,i(e(a)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",kd,[yd,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v,type:"button"},i(e(a)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y,type:"button"},i(e(a)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):D("",!0)}});var Ed=N(Fd,[["__scopeId","data-v-0d1b6ac8"]]),$d=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Ed,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const Cd=o=>(ut("data-v-5f6e53be"),o=o(),ct(),o),Dd={class:"action"},Bd={class:"action-body"},Yd=Cd(()=>t("div",{class:"icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),Ad={class:"title"},Sd={class:"info"},zd=["href"],Pd={class:"btns"},Td=I({props:{Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(""),d=Q(()=>`http://${location.hostname}:${u.value}`);(()=>{G.Nas.Linkease.Enable.POST().then(g=>{var p,m;(p=g==null?void 0:g.data)!=null&&p.result&&(u.value=((m=g.data.result)==null?void 0:m.port)||"")})})();const k=()=>{n.Close&&n.Close(),location.reload()};return(g,p)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",Dd,[t("div",Bd,[Yd,t("h2",Ad,i(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Sd,[t("span",null,i(e(a)("\u524D\u5F80")),1),t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,zd),t("span",null,i(e(a)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",Pd,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:k},i(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var Id=N(Td,[["__scopeId","data-v-5f6e53be"]]),Md=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Id,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const Ld=o=>(ut("data-v-2eafa10c"),o=o(),ct(),o),Od=["onSubmit"],Nd={class:"action-header"},Vd={class:"action-header_title"},Gd={class:"action-body"},jd={class:"label-item"},Ud={class:"label-item_key"},qd={class:"label-item_value"},Rd=["value"],Wd={class:"label-item"},Hd={class:"label-item_key"},Jd={class:"label-item_value"},Zd=["placeholder"],Kd={class:"label-item"},Qd={class:"label-item_key"},Xd={class:"label-item_value"},t0={class:"action-footer"},e0=Ld(()=>t("div",{class:"auto"},null,-1)),a0=["disabled"],o0=["disabled"],n0=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=m=>{m.preventDefault(),n.Close&&n.Close()},d=E(!1),c=E({username:"root",password:"",rootPath:n.rootPath});(()=>L(this,null,function*(){const m=$.Loading(a("\u52A0\u8F7D\u4E2D..."));d.value=!0;try{const v=yield G.Nas.Webdav.Status.GET();if(v!=null&&v.data){const{result:b,error:y}=v.data;if(y){$.Warning(y);return}b&&(b.username&&(c.value.username=b.username),b.password&&(c.value.password=b.password))}}catch(v){$.Error(v)}d.value=!1,m.Close()}))();const g=()=>{const m=c.value;if(m.rootPath==""){$.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(m.username==""){$.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(m.password==""){$.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}p(m)},p=m=>L(this,null,function*(){d.value=!0;const v=$.Loading(a("\u521B\u5EFA\u4E2D..."));try{const b=yield G.Nas.Webdav.Create.POST(m);if(b!=null&&b.data){const{error:y,result:f}=b.data;y&&$.Warning(y),f&&($.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(b){$.Error(b)}v.Close(),d.value=!1});return(m,v)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:ft(g,["prevent"])},[t("div",Nd,[t("div",Vd,i(e(a)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",Gd,[t("div",jd,[t("div",Ud,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",qd,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Rd)])]),t("div",Wd,[t("div",Hd,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",Jd,[O(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":v[0]||(v[0]=b=>c.value.username=b)},null,8,Zd),[[at,c.value.username,void 0,{trim:!0}]])])]),t("div",Kd,[t("div",Qd,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",Xd,[O(t("input",{type:"password","onUpdate:modelValue":v[1]||(v[1]=b=>c.value.password=b)},null,512),[[at,c.value.password,void 0,{trim:!0}]])])])]),t("div",t0,[e0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:d.value},i(e(a)("\u5173\u95ED")),9,a0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},i(e(a)("\u521B\u5EFA")),9,o0)])],40,Od)]),_:1})]),_:1}))}});var i0=N(n0,[["__scopeId","data-v-2eafa10c"]]),r0=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(i0,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const s0={},d0={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},l0=t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),u0=[l0];function c0(o,n){return r(),s("svg",d0,u0)}var It=N(s0,[["render",c0]]);const{$gettext:be,$ngettext:Ye}=Me(),p0=o=>{},f0=()=>new Date().getTime(),m0=o=>{if(o<1e3)return`${o} B`;let a=1e3,l=0;for(let c=o/1e3;c>=1e3;c/=1e3)a*=1e3,l++;let u=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(a/100)).toFixed(1)+u[l]},g0=o=>{if(o==null)return 0;if(o<1e4)return o;let a=parseInt(`${o/1e4}`),l=o%1e4;return`${a}\u4E07${l}`},v0=o=>{if(o)try{var n=new Date(o),a=n.getHours(),l=n.getMinutes(),u=n.getSeconds();return a<10&&(a=`0${a}`),l<10&&(l=`0${l}`),u<10&&(u=`0${u}`),`${a}:${l}:${u}`}catch(d){}return""},b0=o=>{if(o){let n=Math.floor(o/86400),a=Math.floor(o/3600)%24,l=Math.floor(o/60)%60,u=o%60;return(n>0?Ye("%{ days }\u5929","%{ days }\u5929",n,{days:De(n)}):"")+Ye("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",a,{hours:De(a)})+Ye("%{ minutes }\u5206","%{ minutes }\u5206",l,{minutes:De(l)})+Ye("%{ seconds }\u79D2","%{ seconds }\u79D2",u,{seconds:De(u)})}},h0=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),_0=o=>o.length<3?be("\u7528\u6237\u540D\u592A\u77ED"):o.toLowerCase()!=o?be("\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199"):new RegExp("^\\d").exec(o)?be("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):new RegExp("^_").exec(o)?be("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934"):new RegExp("^[a-z0-9_]+$").exec(o)?!0:be("\u975E\u6CD5\u7684\u7528\u6237\u540D"),x0=(o,n)=>{let a=!0,l=null;const u=()=>{l=null,a&&o().finally(()=>{a&&(l=setTimeout(u,n))})};return l=setTimeout(u,0),()=>{a=!1,l!=null&&clearTimeout(l)}};var w0=Object.freeze(Object.defineProperty({__proto__:null,formatDate:p0,UnixDate:f0,byteToSize:m0,numberToSum:g0,dateForm:v0,stampForm:b0,checkIsIP:h0,checkSmabaUserName:_0,easyInterval:x0},Symbol.toStringTag,{value:"Module"})),Mt=st({},w0);const k0=o=>(ut("data-v-58844394"),o=o(),ct(),o),y0=["onSubmit"],F0={class:"action-header"},E0={class:"action-header_title"},$0={class:"action-body"},C0={class:"label-item"},D0={class:"label-item_key"},B0={class:"label-item_value"},Y0=["value"],A0={class:"label-item"},S0={class:"label-item_key"},z0={class:"label-item_value"},P0=["placeholder"],T0={class:"label-item"},I0={class:"label-item_key"},M0={class:"label-item_value"},L0=["placeholder"],O0={class:"label-item"},N0={class:"label-item_key"},V0={class:"label-item_value"},G0={class:"samba-item"},j0={class:"samba-item_allow"},U0={for:"allow",class:"samba-allow"},q0={class:"samba-item_tips"},R0={class:"tooltip-trigger"},W0={class:"samba_tip"},H0={class:"samba_dir_tip"},J0={class:"action-footer"},Z0=k0(()=>t("div",{class:"auto"},null,-1)),K0=["disabled"],Q0=["disabled"],X0=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=p=>{p.preventDefault(),n.Close&&n.Close()},d=E(!1),c=E({shareName:"",username:"",password:"",rootPath:n.rootPath,allowLegacy:!1}),k=()=>{const p=c.value;if(p.rootPath==""){$.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.shareName==""){$.Warning(a("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.username==""){$.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.password==""){$.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const m=Mt.checkSmabaUserName(p.username);if(m!==!0){$.Warning(`${m}`);return}g(p)},g=p=>L(this,null,function*(){d.value=!0;const m=$.Loading(a("\u521B\u5EFA\u4E2D..."));try{const v=yield G.Nas.Samba.Create.POST(p);if(v!=null&&v.data){const{error:b,result:y}=v.data;b&&$.Warning(b),y&&($.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(v){$.Error(v)}m.Close(),d.value=!1});return(p,m)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:ft(k,["prevent"])},[t("div",F0,[t("div",E0,i(e(a)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",$0,[t("div",C0,[t("div",D0,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",B0,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Y0)])]),t("div",A0,[t("div",S0,[t("span",null,i(e(a)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",z0,[O(t("input",{type:"text","onUpdate:modelValue":m[0]||(m[0]=v=>c.value.shareName=v),required:"",placeholder:e(a)("\u5171\u4EAB\u540D\u79F0")},null,8,P0),[[at,c.value.shareName,void 0,{trim:!0}]])])]),t("div",T0,[t("div",I0,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",M0,[O(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":m[1]||(m[1]=v=>c.value.username=v)},null,8,L0),[[at,c.value.username,void 0,{trim:!0}]])])]),t("div",O0,[t("div",N0,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",V0,[O(t("input",{type:"password","onUpdate:modelValue":m[2]||(m[2]=v=>c.value.password=v)},null,512),[[at,c.value.password,void 0,{trim:!0}]])])]),t("div",G0,[t("div",j0,[O(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":m[3]||(m[3]=v=>c.value.allowLegacy=v)},null,512),[[Rt,c.value.allowLegacy]]),t("label",U0,i(e(a)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",q0,[t("span",R0,[t("span",W0,[Y(It)]),t("span",H0,i(e(a)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",J0,[Z0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:d.value},i(e(a)("\u5173\u95ED")),9,K0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},i(e(a)("\u521B\u5EFA")),9,Q0)])],40,y0)]),_:1})]),_:1}))}});var tl=N(X0,[["__scopeId","data-v-58844394"]]),el=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(tl,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const{$gettext:te,$ngettext:pT}=Me(),zt={installApp:(o,n)=>new Promise((a,l)=>{let u=0;G.App.Install.POST({name:o}).then(()=>{const d=setTimeout(()=>{u==0&&(u=1,a(!1))},(n||60)*1e3),c=()=>{u==0&&G.App.Check.POST({name:o}).then(k=>{if(u==0&&k!=null&&k.data){const{result:g}=k.data;if((g==null?void 0:g.status)=="installed"){clearTimeout(d),u=1,a(!0);return}}}).catch(k=>{}).finally(()=>{u==0&&setTimeout(c,3e3)})};setTimeout(c,3e3)}).catch(d=>{u==0&&(u=1,l(te("\u5B89\u88C5\u5931\u8D25\uFF0C")+d))})}),checkAndInstallApp:(o,n,a)=>L(ae,null,function*(){let l=$.Loading(te("\u68C0\u67E5\u4E2D..."));try{const u=yield G.App.Check.POST({name:o});if(l.Close(),u!=null&&u.data){const{result:d,error:c}=u.data;if(c)$.Warning(c);else if(d){if(d.status=="installed")return!0;if(confirm(te("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:n}))){l=$.Loading(te("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const k=yield zt.installApp(a||o);if(l.Close(),k)return!0;$.Error(te("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else $.Warning(te("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(u){return l.Close(),$.Warning(u),!1}}),installAndGo:(o,n,a,l)=>L(ae,null,function*(){(yield zt.checkAndInstallApp(o,n,l))&&(location.href=a)})},Qt=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,al={key:0,class:"action"},ol={class:"title"},nl={class:"desc"},il={value:"linkease"},rl={value:"samba"},sl={value:"webdav"},dl=["innerHTML"],ll={class:"btns"},ul=["disabled"],cl=I({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!0),d=E("linkease"),c=E(!1),k=E(n.setup||0),g=()=>{n.Close&&n.Close()},p=()=>L(this,null,function*(){switch(d.value){case"webdav":yield m();break;case"samba":yield b();break;case"linkease":yield v();break}}),m=()=>L(this,null,function*(){c.value=!0,(yield zt.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&y(),c.value=!1}),v=()=>L(this,null,function*(){c.value=!0,(yield zt.checkAndInstallApp("linkease",a("\u6613\u6709\u4E91"),"app-meta-linkease"))&&f(),c.value=!1}),b=()=>L(this,null,function*(){c.value=!0;const h=$.Loading(a("\u914D\u7F6E\u4E2D..."));y(),h.Close(),c.value=!1}),y=()=>{c.value=!1,u.value=!1,$d({Cancel:()=>{u.value=!0},Next:h=>{switch(d.value){case"webdav":F(h);break;case"samba":w(h);break}}})},f=()=>{Md({}),g()},F=h=>{r0({rootPath:h}),g()},w=h=>{el({rootPath:h}),g()};return(h,_)=>u.value?(r(),Z(wt,{key:0,Close:o.Close,type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[k.value==0?(r(),s("div",al,[t("h2",ol,i(e(a)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",nl,i(e(a)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[O(t("select",{"onUpdate:modelValue":_[0]||(_[0]=x=>d.value=x)},[t("option",il,i(e(a)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",rl,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",sl,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[pt,d.value]])])]),e(Qt)("unishare")?(r(),s("div",{key:0,class:"tips",innerHTML:e(a)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(a)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,dl)):D("",!0),t("div",ll,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p,type:"button",disabled:c.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,ul),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g,type:"button"},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"])):D("",!0)}});var pl=N(cl,[["__scopeId","data-v-1d64dea6"]]),Wa=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(pl,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const fl={class:"app-container_aria2"},ml={class:"aria2-item"},gl={class:"aria2-item_name"},vl={class:"aria2-item_value"},bl={key:0,class:"configure"},hl={key:1,class:"configure enabel"},_l={class:"aria2-item"},xl={class:"aria2-item_name"},wl={class:"aria2-item_value"},kl=["href"],yl={class:"aria2-item"},Fl={class:"aria2-item_name"},El={class:"aria2-item_value"},$l=["href"],Cl={class:"aria2-item"},Dl={class:"aria2-item_name right"},Bl={class:"aria2-item_value"},Yl=["href"],Al={class:"use-url_app"},Sl={href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},zl=I({props:{aria2:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>{var c;return`${location.origin}${(c=n.aria2)==null?void 0:c.webPath}`}),d=Q(()=>{var g,p,m;let c=(g=n.aria2)==null?void 0:g.rpcToken;c?c=encodeURIComponent(btoa(c)):c="";const k=encodeURIComponent(location.hostname);return`${location.origin}${(p=n.aria2)==null?void 0:p.webPath}/#!/settings/rpc/set/http/${k}/${(m=n.aria2)==null?void 0:m.rpcPort}/jsonrpc/${c}`});return(c,k)=>{var g,p,m,v;return r(),s("ul",fl,[t("li",ml,[t("div",gl,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",vl,[((g=o.aria2)==null?void 0:g.status)=="running"?(r(),s("span",bl,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",hl,i(e(a)("\u672A\u542F\u52A8")),1))])]),((p=o.aria2)==null?void 0:p.status)=="running"?(r(),s(U,{key:0},[t("li",_l,[t("div",xl,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",wl,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((m=o.aria2)==null?void 0:m.downloadPath)},i((v=o.aria2)==null?void 0:v.downloadPath),9,kl)])]),t("li",yl,[t("div",Fl,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",El,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,$l)])]),t("li",Cl,[t("div",Dl,[t("span",null,i(e(a)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",Bl,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(a)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,Yl)])])],64)):D("",!0),t("div",Al,[t("a",Sl,i(e(a)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var Pl=N(zl,[["__scopeId","data-v-27ba49f9"]]);const Tl={class:"app-container_qbittorrent"},Il={class:"qbittorrent-item"},Ml={class:"qbittorrent-item_name"},Ll={class:"qbittorrent-item_value"},Ol={key:0,class:"configure"},Nl={key:1,class:"configure enabel"},Vl={class:"qbittorrent-item"},Gl={class:"qbittorrent-item_name"},jl={class:"qbittorrent-item_value"},Ul=["href"],ql={class:"qbittorrent-item"},Rl={class:"qbittorrent-item_name"},Wl={class:"qbittorrent-item_value"},Hl=["href"],Jl={class:"qbittorrent-item"},Zl={class:"qbittorrent-item_name right"},Kl={class:"qbittorrent-item_value"},Ql=I({props:{qbittorrent:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>{var d;return`http://${location.hostname}${(d=n.qbittorrent)==null?void 0:d.webPath}`});return(d,c)=>{var k,g,p,m;return r(),s("ul",Tl,[t("li",Il,[t("div",Ml,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Ll,[((k=o.qbittorrent)==null?void 0:k.status)=="running"?(r(),s("span",Ol,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",Nl,i(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.qbittorrent)==null?void 0:g.status)=="running"?(r(),s(U,{key:0},[t("li",Vl,[t("div",Gl,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",jl,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.qbittorrent)==null?void 0:p.downloadPath)},i((m=o.qbittorrent)==null?void 0:m.downloadPath),9,Ul)])]),t("li",ql,[t("div",Rl,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Wl,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,Hl)])]),t("li",Jl,[t("div",Zl,[t("span",null,i(e(a)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",Kl,[t("span",null,i(e(a)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):D("",!0)])}}});var Xl=N(Ql,[["__scopeId","data-v-da46870e"]]);const tu={class:"app-container_transmission"},eu={class:"transmission-item"},au={class:"transmission-item_name"},ou={class:"transmission-item_value"},nu={key:0,class:"configure"},iu={key:1,class:"configure enabel"},ru={class:"transmission-item"},su={class:"transmission-item_name"},du={class:"transmission-item_value"},lu=["href"],uu={class:"transmission-item"},cu={class:"transmission-item_name"},pu={class:"transmission-item_value"},fu=["href"],mu=I({props:{transmission:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>{var d;return`http://${location.hostname}${(d=n.transmission)==null?void 0:d.webPath}`});return(d,c)=>{var k,g,p,m;return r(),s("ul",tu,[t("li",eu,[t("div",au,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",ou,[((k=o.transmission)==null?void 0:k.status)=="running"?(r(),s("span",nu,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",iu,i(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.transmission)==null?void 0:g.status)=="running"?(r(),s(U,{key:0},[t("li",ru,[t("div",su,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",du,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.transmission)==null?void 0:p.downloadPath)},i((m=o.transmission)==null?void 0:m.downloadPath),9,lu)])]),t("li",uu,[t("div",cu,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",pu,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,fu)])])],64)):D("",!0)])}}});var gu=N(mu,[["__scopeId","data-v-562f4f7e"]]);const vu={},bu={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},hu=t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6","fill-opacity":"0.65"},null,-1),_u=[hu];function xu(o,n){return r(),s("svg",bu,_u)}var Jt=N(vu,[["render",xu]]);const wu={},ku={width:"82px",height:"82px",viewBox:"0 0 82 82",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},yu=jt('',1),Fu=[yu];function Eu(o,n){return r(),s("svg",ku,Fu)}var ua=N(wu,[["render",Eu]]);const Ne=o=>(ut("data-v-7b328460"),o=o(),ct(),o),$u={key:0,class:"action"},Cu={class:"title"},Du={class:"load_service input_row"},Bu={class:"left"},Yu={class:"radios"},Au=Ne(()=>t("label",{for:"Aria2"},"Aria2",-1)),Su={class:"radios"},zu=Ne(()=>t("label",{for:"qB"},"qBittorrent",-1)),Pu={class:"radios"},Tu=Ne(()=>t("label",{for:"Tr"},"Transmission",-1)),Iu=["onSubmit"],Mu={class:"input_row"},Lu={class:"left"},Ou={class:"tooltip-trigger"},Nu={class:"tooltip-text tooltip-top"},Vu={class:"dowload_dir_tip"},Gu={class:"myinput_wrap"},ju={class:"input_row"},Uu={class:"left"},qu={class:"tooltip-trigger"},Ru={class:"tooltip-text tooltip-top"},Wu={class:"dowload_dir_tip"},Hu={class:"myinput_wrap"},Ju={class:"input_row"},Zu={class:"left"},Ku={class:"tooltip-trigger"},Qu={class:"tooltip-text tooltip-bottom"},Xu={class:"dowload_rpc_tip"},tc=["placeholder"],ec={class:"input_row"},ac={class:""},oc={class:"radios"},nc={for:"default"},ic={class:"radios"},rc={for:"add"},sc={class:"input_row"},dc=Ne(()=>t("div",{class:"left"},null,-1)),lc={class:"myinput_wrap Tracker_input"},uc=["placeholder"],cc=["onSubmit"],pc={class:"input_row"},fc={class:"left"},mc={class:"tooltip-trigger"},gc={class:"tooltip-text tooltip-top"},vc={class:"dowload_dir_tip"},bc={class:"myinput_wrap"},hc={class:"input_row"},_c={class:"left"},xc={class:"tooltip-trigger"},wc={class:"tooltip-text tooltip-top"},kc={class:"dowload_dir_tip"},yc={class:"myinput_wrap"},Fc=["onSubmit"],Ec={class:"input_row"},$c={class:"left"},Cc={class:"tooltip-trigger"},Dc={class:"tooltip-text tooltip-top"},Bc={class:"dowload_dir_tip"},Yc={class:"myinput_wrap"},Ac={class:"input_row"},Sc={class:"left"},zc={class:"tooltip-trigger"},Pc={class:"tooltip-text tooltip-top"},Tc={class:"dowload_dir_tip"},Ic={class:"myinput_wrap"},Mc={class:"btns"},Lc={key:1,class:"action"},Oc={class:"title"},Nc={class:"finished"},Vc={class:"successed"},Gc={class:"btns"},jc=I({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(""),d=E(""),c=E(""),k=E(""),g=E("default"),p=E("Aria2"),m=E(""),v=E(""),b=E(""),y=E(""),f=E([]),F=E([]),w=E(0);Pt(()=>{var M,q,T,j,R,it,ot,bt,Dt,yt;switch(n.defaultTab){case"aria2":p.value="Aria2";break;case"qbittorrent":p.value="qBittorrent";break;case"transmission":p.value="Transmission";break}f.value=n.partitionList.map(Vt=>({key:Vt})),F.value=n.partitionList.filter(Vt=>Vt.startsWith("/mnt/")).map(Vt=>Vt.replace(/(\/mnt\/[^/]+).*/,"$1")),c.value=((M=n.services.aria2)==null?void 0:M.configPath)||"";const A=((q=n.services.aria2)==null?void 0:q.downloadPath)||((T=n.services.qbittorrent)==null?void 0:T.downloadPath)||((j=n.services.transmission)==null?void 0:j.downloadPath);A&&(k.value=A);const z=(R=n.services.aria2)==null?void 0:R.rpcToken;z&&(u.value=z),m.value=((it=n.services.qbittorrent)==null?void 0:it.configPath)||"";const B=((ot=n.services.qbittorrent)==null?void 0:ot.downloadPath)||A||((bt=n.services.transmission)==null?void 0:bt.downloadPath);B&&(v.value=B),b.value=((Dt=n.services.transmission)==null?void 0:Dt.configPath)||"";const H=((yt=n.services.transmission)==null?void 0:yt.downloadPath)||A||B;H&&(y.value=H)});const h=()=>{let A=c.value,z=k.value;A==null||A==""||z==null||z==""||L(this,null,function*(){if(yield zt.checkAndInstallApp("app-meta-aria2","Aria2")){const H=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.Aria2Init.POST({configPath:A,downloadPath:z,rpcToken:u.value,btTracker:g.value=="add"?d.value:""}).then(M=>{var q;if(M!=null&&M.data){if((M.data.success||0)==0){w.value=1;return}else if((q=M.data)!=null&&q.error)throw M.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(M=>$.Error(M)).finally(()=>H.Close())}})},_=()=>{let A=m.value,z=v.value;A==null||A==""||z==null||z==""||L(this,null,function*(){if(yield zt.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const H=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.qbitorrentInit.POST({configPath:A,downloadPath:z}).then(M=>{var q;if(M!=null&&M.data){if((M.data.success||0)==0){w.value=1;return}else if((q=M.data)!=null&&q.error)throw M.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(M=>$.Error(M)).finally(()=>H.Close())}})},x=()=>{let A=b.value,z=y.value;A==null||A==""||z==null||z==""||L(this,null,function*(){if(yield zt.checkAndInstallApp("app-meta-transmission","Transmission")){const H=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.transmissionInit.POST({configPath:A,downloadPath:z}).then(M=>{var q;if(M!=null&&M.data){if((M.data.success||0)==0){w.value=1;return}else if((q=M.data)!=null&&q.error)throw M.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(M=>$.Error(M)).finally(()=>H.Close())}})},C=A=>{A.preventDefault(),n.Close&&n.Close()},S=A=>{A.preventDefault(),location.reload()};return(A,z)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[w.value==0?(r(),s("div",$u,[t("h2",Cu,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",Du,[t("div",Bu,[t("span",null,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",Yu,[O(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":z[0]||(z[0]=B=>p.value=B),name:"download",id:"Aria2"},null,512),[[Bt,p.value]]),Au]),t("div",Su,[O(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":z[1]||(z[1]=B=>p.value=B),name:"download",id:"qB"},null,512),[[Bt,p.value]]),zu]),t("div",Pu,[O(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":z[2]||(z[2]=B=>p.value=B),name:"download",id:"Tr"},null,512),[[Bt,p.value]]),Tu])])])]),p.value=="Aria2"?(r(),s("form",{key:0,onSubmit:ft(h,["prevent"])},[t("ul",null,[t("li",null,[t("div",Mu,[t("div",Lu,[t("span",Ou,[Y(Jt),t("div",null,[t("div",Nu,[t("span",Vu,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",Gu,[Y(Zt,{modelValue:c.value,"onUpdate:modelValue":z[3]||(z[3]=B=>c.value=B),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:F.value.concat("/root").map(B=>({key:B+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",ju,[t("div",Uu,[t("span",qu,[Y(Jt),t("div",null,[t("div",Ru,[t("span",Wu,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",Hu,[Y(Zt,{modelValue:k.value,"onUpdate:modelValue":z[4]||(z[4]=B=>k.value=B),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:f.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Ju,[t("div",Zu,[t("span",Ku,[Y(Jt),t("div",null,[t("div",Qu,[t("span",Xu,i(e(a)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,i(e(a)("RPC \u4EE4\u724C\uFF1A")),1)]),O(t("input",{type:"text",class:"RPC_input",placeholder:e(a)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":z[5]||(z[5]=B=>u.value=B)},null,8,tc),[[at,u.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",ec,[t("div",ac,[t("span",null,i(e(a)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",oc,[O(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":z[6]||(z[6]=B=>g.value=B)},null,512),[[Bt,g.value]]),t("label",nc,i(e(a)("\u9ED8\u8BA4")),1)]),t("div",ic,[O(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":z[7]||(z[7]=B=>g.value=B)},null,512),[[Bt,g.value]]),t("label",rc,i(e(a)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",sc,[dc,t("div",lc,[g.value=="add"?O((r(),s("textarea",{key:0,"onUpdate:modelValue":z[8]||(z[8]=B=>d.value=B),rows:"4",placeholder:e(a)("\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694")},null,8,uc)),[[at,d.value,void 0,{trim:!0}]]):D("",!0)])])])])],40,Iu)):D("",!0),p.value=="qBittorrent"?(r(),s("form",{key:1,onSubmit:ft(_,["prevent"])},[t("ul",null,[t("li",null,[t("div",pc,[t("div",fc,[t("span",mc,[Y(Jt),t("div",null,[t("div",gc,[t("span",vc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",bc,[Y(Zt,{modelValue:m.value,"onUpdate:modelValue":z[9]||(z[9]=B=>m.value=B),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:F.value.concat("/root").map(B=>({key:B+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",hc,[t("div",_c,[t("span",xc,[Y(Jt),t("div",null,[t("div",wc,[t("span",kc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",yc,[Y(Zt,{modelValue:v.value,"onUpdate:modelValue":z[10]||(z[10]=B=>v.value=B),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:f.value},null,8,["modelValue","title","options"])])])])])],40,cc)):D("",!0),p.value=="Transmission"?(r(),s("form",{key:2,onSubmit:ft(x,["prevent"])},[t("ul",null,[t("li",null,[t("div",Ec,[t("div",$c,[t("span",Cc,[Y(Jt),t("div",null,[t("div",Dc,[t("span",Bc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",Yc,[Y(Zt,{modelValue:b.value,"onUpdate:modelValue":z[11]||(z[11]=B=>b.value=B),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:F.value.concat("/root").map(B=>({key:B+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Ac,[t("div",Sc,[t("span",zc,[Y(Jt),t("div",null,[t("div",Pc,[t("span",Tc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",Ic,[Y(Zt,{modelValue:y.value,"onUpdate:modelValue":z[12]||(z[12]=B=>y.value=B),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:f.value},null,8,["modelValue","title","options"])])])])])],40,Fc)):D("",!0),t("div",Mc,[p.value=="Aria2"?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:h},i(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="qBittorrent"?(r(),s("button",{key:1,class:"cbi-button cbi-button-apply",onClick:_},i(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="Transmission"?(r(),s("button",{key:2,class:"cbi-button cbi-button-apply",onClick:x},i(e(a)("\u542F\u7528")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:C},i(e(a)("\u53D6\u6D88")),1)])])):w.value==1?(r(),s("div",Lc,[t("h2",Oc,i(e(a)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:p.value})),1),t("div",Nc,[Y(ua)]),t("p",Vc,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Gc,[t("button",{class:"cbi-button cbi-button-apply",onClick:S},i(e(a)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var Uc=N(jc,[["__scopeId","data-v-7b328460"]]);const qc=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Uc,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},ca=o=>(ut("data-v-5ebde5ac"),o=o(),ct(),o),Rc={class:"content"},Wc={class:"tab"},Hc=ca(()=>t("div",{class:"title"},"Aria2",-1)),Jc={key:0},Zc={key:1},Kc=ca(()=>t("div",{class:"title"},"qBittorrent",-1)),Qc={key:0},Xc={key:1},t1=ca(()=>t("div",{class:"title"},"Transmission",-1)),e1={key:0},a1={key:1},o1=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=E("aria2"),u=E(!1),d=w=>{l.value=w,u.value=!0},c=E(),k=()=>{if(u.value)return;const h=["aria2","qbittorrent","transmission"].find(_=>{var x,C;return((C=(x=c.value)==null?void 0:x[_])==null?void 0:C.status)==="running"});l.value=h||"aria2"};setTimeout(()=>{G.Guide.DownloadService.Status.GET().then(w=>{var h;if((h=w==null?void 0:w.data)!=null&&h.result){const _=w.data.result;c.value=_,k()}})},800),E(!1);const p=E(!1),m=()=>{p.value=!p.value},v=()=>{G.Guide.DownloadPartition.List.GET().then(w=>{var _,x;let h=[];(x=(_=w==null?void 0:w.data)==null?void 0:_.result)!=null&&x.partitionList&&(h=w.data.result.partitionList),qc({services:c.value,partitionList:h,defaultTab:l.value})})},b=(w,h,_)=>L(this,null,function*(){m(),zt.installAndGo(w,h,_)}),y=()=>{b("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},f=()=>{b("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},F=()=>{b("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(w,h)=>(r(),Z(Wt,{title:e(n)("\u4E0B\u8F7D\u670D\u52A1"),showSettings:!0,onFooterClick:v,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":h[4]||(h[4]=_=>a.value=_)},{icon:V(()=>[Y(Kt,{color:"#00a63e",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:v},[Y(Kt,{color:"#0a0a0a",class:"icon1 downloadIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u4E0B\u8F7D\u7BA1\u7406")),1),Boolean(c.value)?(r(),s("div",{key:0,class:"rotation",onClick:h[0]||(h[0]=ft(_=>a.value=!a.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])):D("",!0)])]),"settings-menu":V(()=>[t("div",null,[t("a",{onClick:y},i(e(n)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:f},i(e(n)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:F},i(e(n)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:V(()=>{var _,x,C,S,A,z,B,H,M;return[t("div",Rc,[t("div",Wc,[t("div",{class:lt(["item cloud",{active:l.value=="aria2"}]),onClick:h[1]||(h[1]=q=>d("aria2"))},[Y(Kt,{color:"#f54900",class:"icon2"}),Hc,((x=(_=c.value)==null?void 0:_.aria2)==null?void 0:x.status)=="running"?(r(),s("span",Jc,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",Zc,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:lt(["item memory",{active:l.value=="qbittorrent"}]),onClick:h[2]||(h[2]=q=>d("qbittorrent"))},[Y(Kt,{color:"#4a5565",class:"icon2"}),Kc,((S=(C=c.value)==null?void 0:C.qbittorrent)==null?void 0:S.status)=="running"?(r(),s("span",Qc,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",Xc,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:lt(["item network",{active:l.value=="transmission"}]),onClick:h[3]||(h[3]=q=>d("transmission"))},[Y(Kt,{color:"#009689",class:"icon2"}),t1,((z=(A=c.value)==null?void 0:A.transmission)==null?void 0:z.status)=="running"?(r(),s("span",e1,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",a1,i(e(n)("\u672A\u542F\u7528")),1))],2)]),l.value=="aria2"?(r(),Z(Pl,{key:0,aria2:(B=c.value)==null?void 0:B.aria2},null,8,["aria2"])):l.value=="qbittorrent"?(r(),Z(Xl,{key:1,qbittorrent:(H=c.value)==null?void 0:H.qbittorrent},null,8,["qbittorrent"])):l.value=="transmission"?(r(),Z(gu,{key:2,transmission:(M=c.value)==null?void 0:M.transmission},null,8,["transmission"])):D("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var n1=N(o1,[["__scopeId","data-v-5ebde5ac"]]);const i1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},r1=["fill"],He=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",i1,[t("path",{d:"M584.675 134.868C561.143 130.36 536.847 128 512 128a392 392 0 0 0-3.783 0.018l-24.19 169.685A32 32 0 0 1 466.68 321.8l-99.807 49.992-50.81 127.247a32 32 0 0 1-24.45 19.697l-162.145 27.069c8.105 92.926 49.308 176.368 111.754 238.473L223.089 657.52c-2.323-16.238 8.01-31.603 23.924-35.578l226.491-56.558a32 32 0 0 1 30.368 8.407l96.768 96.662a8 8 0 0 0 8.728 1.726l150.425-62.602 31.42-0.772c17.669-0.434 32.343 13.536 32.777 31.204 0.007 0.262 0.01 0.524 0.01 0.786v95.11c45.314-63.03 72-140.351 72-223.906 0-40.5-6.27-79.535-17.891-116.188l-103.215 27.656a32 32 0 0 1-23.36-2.684l-127.842-68.287a32 32 0 0 1-16.712-24.553l-22.305-193.076z m58.509 16.124l18.31 159.176 109.262 56.623 86.458-23.166c-43.44-88.897-120.207-158.532-214.03-192.633z m-336.132 685.8C366.357 874.295 436.644 896 512 896c94.536 0 181.093-34.162 248-90.814V683.96a8 8 0 0 0-11.074-7.386l-138.21 57.53a32 32 0 0 1-34.913-6.903l-99.24-99.132a8 8 0 0 0-7.592-2.102l-178.437 44.563a8 8 0 0 0-5.981 8.894l22.499 157.37zM128.65 489.473l140.726-23.504 49.219-123.244a32 32 0 0 1 15.386-16.744l96.748-48.46 20.65-144.762C275.347 160.675 139.137 308.212 128.65 489.47zM512 960C264.576 960 64 759.424 64 512S264.576 64 512 64s448 200.576 448 448-200.576 448-448 448z",fill:o.color,"p-id":"8679"},null,8,r1)]))}}),s1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},d1=["fill"],l1=["fill"],u1=["fill"],pa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",s1,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,d1),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,l1),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,u1)]))}}),c1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},p1=["fill"],f1=["fill"],m1=["fill"],g1=I({props:{color:{type:String,default:"#4a5565"}},setup(o){return(n,a)=>(r(),s("svg",c1,[t("path",{d:"M909.1 499.1h-797c-27.5 0-50 22.5-50 50v351.5c0 27.5 22.5 50 50 50h797c27.5 0 50-22.5 50-50V549.1c0-27.5-22.5-50-50-50z m-14 387.5h-769V563.1h769v323.5z",fill:o.color,"p-id":"19594"},null,8,p1),t("path",{d:"M191.932 734.691a63 63 0 1 0 124.375-20.173 63 63 0 1 0-124.375 20.173zM395.56 774.136a63 63 0 1 0 89.093-89.097 63 63 0 1 0-89.094 89.097zM702.8 296.6c-19.4 0-35.2 8.4-35.2 18.7v198c0 10.3 15.9 18.7 35.2 18.7 19.4 0 35.2-8.4 35.2-18.7v-198c0.1-10.3-15.8-18.7-35.2-18.7z",fill:o.color,"p-id":"19595"},null,8,f1),t("path",{d:"M701.8 218.6c-49.7 0-93.2 31.8-117.7 79.5h41.5c19.3-24.3 46.3-39.5 76.2-39.5 29.9 0 56.9 15.2 76.2 39.5h41.5c-24.4-47.7-68-79.5-117.7-79.5z m5.3-45.5c41.1 0 78.3 15.2 104.8 39.5H869c-33.7-47.7-93.7-79.5-162-79.5s-128.3 31.8-162 79.5h57.1c26.6-24.3 63.8-39.5 105-39.5z",fill:o.color,"p-id":"19596"},null,8,m1)]))}}),v1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},b1=["fill"],ya=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",v1,[t("path",{d:"M526.41 117.029v58.514a7.314 7.314 0 0 1-7.315 7.314H219.429a36.571 36.571 0 0 0-35.987 29.989l-0.585 6.583V804.57a36.571 36.571 0 0 0 29.989 35.987l6.583 0.585H804.57a36.571 36.571 0 0 0 35.987-29.989l0.585-6.583v-317.44a7.314 7.314 0 0 1 7.314-7.314h58.514a7.314 7.314 0 0 1 7.315 7.314v317.44a109.714 109.714 0 0 1-99.182 109.203l-10.533 0.512H219.43a109.714 109.714 0 0 1-109.203-99.182l-0.512-10.533V219.43a109.714 109.714 0 0 1 99.182-109.203l10.533-0.512h299.666a7.314 7.314 0 0 1 7.314 7.315z m307.345 31.817l41.4 41.399a7.314 7.314 0 0 1 0 10.313L419.985 655.726a7.314 7.314 0 0 1-10.313 0l-41.399-41.4a7.314 7.314 0 0 1 0-10.312l455.168-455.168a7.314 7.314 0 0 1 10.313 0z","p-id":"4497",fill:o.color},null,8,b1)]))}}),h1={class:"actioner-container"},_1={class:"actioner-container_header"},x1={class:"actioner-container_body"},w1={class:"label-item"},k1={class:"label_info"},y1={class:"label-item"},F1={class:"label_info"},E1={class:"label-item"},$1={class:"label_info"},C1={class:"label-item"},D1={class:"label_info"},B1={class:"actioner-container_footer"},Y1=I({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=J(),d=()=>{a.onSetup()},c=E(a.active),k=()=>{switch(n("update:active",c.value),c.value){case"ddnsto":a.onSetup("ddnsto");break;case"ali":a.onSetup("ddns-ali");break;case"dnspod":a.onSetup("ddns-dnspod");break;case"oray":a.onSetup("ddns-oray");break}};return(g,p)=>(r(),s("div",h1,[t("div",_1,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",x1,[t("div",w1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[0]||(p[0]=m=>c.value=m),value:"ddnsto"},null,512),[[Bt,c.value]]),t("span",null,i(e(l)("DDNSTO")),1)]),t("p",k1,i(e(l)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",y1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[1]||(p[1]=m=>c.value=m),value:"ali"},null,512),[[Bt,c.value]]),t("span",null,i(e(l)("\u963F\u91CC\u4E91")),1)]),t("p",F1,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",E1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[2]||(p[2]=m=>c.value=m),value:"dnspod"},null,512),[[Bt,c.value]]),t("span",null,i(e(l)("Dnspod")),1)]),t("p",$1,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",C1,[t("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":p[3]||(p[3]=m=>c.value=m),value:"oray"},null,512),[[Bt,c.value]]),t("span",null,i(e(l)("\u82B1\u751F\u58F3")),1)]),t("p",D1,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",B1,[t("div",{class:"close",onClick:d},i(e(l)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:k},i(e(l)("\u4E0B\u4E00\u6B65")),1)])]))}});var A1=N(Y1,[["__scopeId","data-v-46dd945e"]]);const S1=o=>(ut("data-v-b760733a"),o=o(),ct(),o),z1={class:"actioner-container"},P1={class:"actioner-container_body"},T1=S1(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),I1={class:"body-title"},M1={class:"body-tips"},L1={class:"body-info"},O1=["href"],N1={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},V1={class:"actioner-container_footer"},G1=I({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=J(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,d)=>(r(),s("div",z1,[t("div",P1,[T1,t("div",I1,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",M1,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",L1,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,O1)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",N1,i(e(n)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",V1,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var j1=N(G1,[["__scopeId","data-v-b760733a"]]);const U1=o=>(ut("data-v-064efd50"),o=o(),ct(),o),q1={class:"actioner-container"},R1={class:"actioner-container_header"},W1=U1(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),H1={class:"actioner-container_footer"},J1=I({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.onSetup()},d=c=>{if(c.data.auth=="ddnsto"){const k=c.data.sign,g=c.data.token;k&&g&&(removeEventListener("message",d),n.onDdnstoConfig(k,g),n.onSetup("ddnsto-run"))}};return Pt(()=>{window.addEventListener("message",d)}),Nt(()=>{removeEventListener("message",d)}),(c,k)=>(r(),s("div",q1,[t("div",R1,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),W1,t("div",H1,[t("div",{class:"close",onClick:u},i(e(a)("\u53D6\u6D88")),1)])]))}});var Z1=N(J1,[["__scopeId","data-v-064efd50"]]);const K1={class:"actioner-container"},Q1={class:"actioner-container_header"},X1={class:"actioner-container_body ddnsto-bind"},t2=["src"],e2=I({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=J(),d=Q(()=>{const{domain:g,token:p,sign:m,routerId:v,netaddr:b}=a.config,y=encodeURIComponent(g),f=encodeURIComponent(b);return`https://www.kooldns.cn/bind/#/domain?domain=${y}&sign=${m}&token=${p}&routerId=${v}&netaddr=${f}`}),c=g=>{if(g.data){const{auth:p,url:m}=g.data;p==="ddnsto"&&m&&k(m)}},k=g=>L(this,null,function*(){var p;try{const m=yield G.Guide.DdnstoAddress.POST({address:g});m!=null&&m.data&&(((p=m==null?void 0:m.data)==null?void 0:p.success)||0)==0&&(n("update:domain",g),a.onSetup("ddnsto-save"))}catch(m){}});return Pt(()=>{window.addEventListener("message",c)}),Nt(()=>{removeEventListener("message",c)}),(g,p)=>(r(),s("div",K1,[t("div",Q1,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",X1,[t("iframe",{src:e(d)},null,8,t2)])]))}});var a2=N(e2,[["__scopeId","data-v-49c43a08"]]);const o2=o=>(ut("data-v-27f65f12"),o=o(),ct(),o),n2={class:"actioner-container"},i2={class:"actioner-container_body"},r2=o2(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),s2={class:"body-title"},d2={class:"body-tips"},l2={class:"body-info"},u2=["href"],c2={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},p2={class:"actioner-container_footer"},f2=I({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=J(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,d)=>(r(),s("div",n2,[t("div",i2,[r2,t("div",s2,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",d2,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",l2,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,u2)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",c2,i(e(n)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",p2,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var m2=N(f2,[["__scopeId","data-v-27f65f12"]]);const g2={class:"actioner-container"},v2={class:"actioner-container_header"},b2={class:"actioner-container_body"},h2={class:"actioner-container_footer"},_2=I({props:{onSetup:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.onSetup()},d=()=>L(this,null,function*(){if(g.value)return;g.value=!0;const m=$.Loading(a("\u5B89\u88C5\u4E2D..."));try{if(yield zt.installApp("app-meta-ddnsto",30)){n.onSetup("ddnsto-login");return}else c.value=a("\u5B89\u88C5\u5931\u8D25")}catch(v){c.value=v}finally{m.Close()}g.value=!1}),c=E(a("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),k=E(!1),g=E(!1);return(()=>L(this,null,function*(){try{const m=yield G.App.Check.POST({name:"ddnsto"});if(m!=null&&m.data){const{result:v,error:b}=m.data;if(b){c.value=b;return}if(v){if(v.status=="installed"){n.onSetup("ddnsto-login");return}v.status=="uninstalled"&&(c.value=a("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(m){c.value=m}k.value=!0}))(),(m,v)=>(r(),s("div",g2,[t("div",v2,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",b2,[t("span",null,i(c.value),1)]),t("div",h2,[k.value?(r(),s(U,{key:0},[t("div",{class:"close",onClick:u},i(e(a)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:d},i(e(a)("\u786E\u5B9A")),1)],64)):D("",!0)])]))}});var x2=N(_2,[["__scopeId","data-v-210c03e8"]]);const w2={class:"actioner-container"},k2={class:"actioner-container_header"},y2={class:"actioner-container_body"},F2=I({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(a("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(m=>L(this,null,function*(){var v;try{const b=yield G.Guide.Ddnsto.POST({token:n.token});b!=null&&b.data&&(b.data.error&&(u.value=b.data.error),(((v=b==null?void 0:b.data)==null?void 0:v.success)||0)==0&&k())}catch(b){u.value=b}}))(n.token);const c=E(),k=()=>{const m=()=>L(this,null,function*(){if((yield g())===!0){p();return}c.value=window.setTimeout(m,2e3)});m()},g=()=>L(this,null,function*(){try{const m=yield G.App.Check.POST({name:"ddnsto",checkRunning:!0});if(m!=null&&m.data){m.data.error&&(u.value=m.data.error);const v=m.data.result;if((v==null?void 0:v.status)=="running")return!0}}catch(m){u.value=m}return!1});Nt(()=>{c.value&&clearInterval(c.value)});const p=()=>L(this,null,function*(){var m;try{const v=yield G.Guide.DdntoConfig.GET();if(v!=null&&v.data&&(v.data.error&&(u.value=v.data.error),(((m=v==null?void 0:v.data)==null?void 0:m.success)||0)==0&&v.data.result)){const b=v.data.result;n.onDdnstoLocalConfig(b.netAddr,b.deviceId),n.onSetup("ddnsto-bind")}}catch(v){u.value=v}});return(m,v)=>(r(),s("div",w2,[t("div",k2,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",y2,i(u.value),1)]))}});var E2=N(F2,[["__scopeId","data-v-1b21487b"]]);const $2={class:"action-main"},C2=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=E("ddnsto-install"),l=g=>{g!=null?a.value=g:u()},u=()=>{n.Close&&n.Close()},d=gt({sign:"",token:"",domain:n.url,netaddr:"",routerId:""}),c=(g,p)=>{d.sign=g,d.token=p},k=(g,p)=>{d.netaddr=g,d.routerId=p};return(g,p)=>(r(),Z(wt,{type:1},{default:V(()=>[t("div",$2,[a.value=="ddnsto-install"?(r(),Z(x2,{key:0,onSetup:l})):a.value=="ddnsto-login"?(r(),Z(Z1,{key:1,onSetup:l,onDdnstoConfig:c})):a.value=="ddnsto-run"?(r(),Z(E2,{key:2,onSetup:l,token:e(d).token,onDdnstoLocalConfig:k},null,8,["token"])):a.value=="ddnsto-bind"?(r(),Z(a2,{key:3,onSetup:l,config:{token:e(d).token,sign:e(d).sign,domain:e(d).domain,netaddr:e(d).netaddr,routerId:e(d).routerId},domain:e(d).domain,"onUpdate:domain":p[0]||(p[0]=m=>e(d).domain=m)},null,8,["config","domain"])):a.value=="ddnsto-save"?(r(),Z(m2,{key:4,onSetup:l,target:e(d).domain},null,8,["target"])):D("",!0)])]),_:1}))}});var D2=N(C2,[["__scopeId","data-v-7a6bd385"]]);const B2=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(D2,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},Y2={class:"action"},A2={class:"action-header"},S2=["innerHTML"],z2={class:"action-footer"},P2=I({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.next&&n.next(),n.Close&&n.Close()},d=()=>{n.clear&&n.clear(),n.Close&&n.Close()},c=()=>{n.continuer&&n.continuer(),n.Close&&n.Close()};return(k,g)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[t("div",Y2,[t("div",A2,i(o.title||e(a)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,S2),t("div",z2,[o.clear?(r(),s("div",{key:0,class:"clear",onClick:d},i(o.clearTitle||e(a)("\u8FD4\u56DE")),1)):D("",!0),t("div",{class:"next",onClick:u},i(o.nextTitle||e(a)("\u786E\u5B9A")),1),o.continuer?(r(),s("div",{key:1,class:"next",onClick:c},i(o.continuerTitle||e(a)("\u7EE7\u7EED\u4FDD\u5B58")),1)):D("",!0)])])]),_:1},8,["Close"]))}});var T2=N(P2,[["__scopeId","data-v-05611967"]]);const Se=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(T2,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},I2=o=>(ut("data-v-6e29e960"),o=o(),ct(),o),M2={class:"actioner-container"},L2=["onSubmit"],O2={class:"actioner-container_header"},N2={key:0,class:"title_info"},V2={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},G2={key:1,class:"title_info"},j2={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},U2={key:2,class:"title_info"},q2={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},R2={class:"label-item"},W2={class:"label-item_key"},H2={class:"label-item_value"},J2={value:"ipv4"},Z2={value:"ipv6"},K2={class:"label_tips"},Q2=I2(()=>t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])],-1)),X2={class:"info"},t6={class:"label-item"},e6={class:"label-item_key"},a6={class:"label-item_value"},o6={class:"label-item"},n6={class:"label-item_key"},i6={class:"label-item_value"},r6=["placeholder"],s6={class:"label-item"},d6={class:"label-item_key"},l6={class:"label-item_value"},u6=["placeholder"],c6={class:"actioner-container_footer"},p6=["disabled"],f6=I({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=J(),d=E("ipv4"),c=E(a.name),k=E(""),g=E(""),p=E(""),m=E(!1),v=()=>{a.onSetup("index")},b=()=>{m.value=!0;const w=$.Loading(l("\u68C0\u6D4B\u4E2D..."));G.Network.CheckPublickNet.POST({ipVersion:d.value}).then(h=>{var _,x;if(h!=null&&h.data){if((_=h==null?void 0:h.data)!=null&&_.error){$.Warning(h==null?void 0:h.data.error);return}if((((x=h==null?void 0:h.data)==null?void 0:x.success)||0)==0){const C=h.data.result;C&&C.address?F():y();return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(h=>{$.Error(h)}).finally(()=>{w.Close(),m.value=!1})},y=()=>{Se({title:l("\u6E29\u99A8\u63D0\u793A"),nextTitle:l("\u4F7F\u7528DDNSTO"),continuerTitle:l("\u7EE7\u7EED\u4FDD\u5B58"),content:l("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){f()},continuer(){F()},clear(){}})},f=()=>{a.onSetup("ddnsto")},F=()=>{m.value=!0;const w=$.Loading(l("\u914D\u7F6E\u4E2D..."));G.Guide.PostDdns.POST({ipVersion:d.value,serviceName:c.value,domain:k.value,userName:g.value,password:p.value}).then(h=>{if(h!=null&&h.data){const{error:_,scope:x,success:C}=h.data;if(_=="-100"&&x=="guide.ddns"){Se({title:l("\u6E29\u99A8\u63D0\u793A"),content:l("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(_){$.Warning(_);return}if((C||0)==0){n("update:target",k.value),a.onSetup("ddns-success");return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(h=>{$.Error(h)}).finally(()=>{w.Close(),m.value=!1})};return(w,h)=>(r(),s("div",M2,[t("form",{class:"actioner-dns",onSubmit:ft(b,["prevent"])},[t("div",O2,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:lt(["actioner-container_body",o.name])},[o.name=="ali"?(r(),s("div",N2,[t("p",null,i(e(l)("\u963F\u91CC\u4E91")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",V2,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(r(),s("div",G2,[t("p",null,i(e(l)("dnspod")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",j2,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(r(),s("div",U2,[t("p",null,i(e(l)("\u82B1\u751F\u58F3")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",q2,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):D("",!0),t("div",R2,[t("div",W2,[t("span",null,i(e(l)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",H2,[O(t("select",{name:"",id:"","onUpdate:modelValue":h[0]||(h[0]=_=>d.value=_)},[t("option",J2,i(e(l)("IPv4\u5730\u5740")),1),t("option",Z2,i(e(l)("IPv6\u5730\u5740")),1)],512),[[pt,d.value]])]),t("div",K2,[Q2,t("span",X2,i(e(l)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",t6,[t("div",e6,[t("span",null,i(e(l)("\u57DF\u540D\uFF1A")),1)]),t("div",a6,[O(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":h[1]||(h[1]=_=>k.value=_),required:""},null,512),[[at,k.value,void 0,{trim:!0}]])])]),t("div",o6,[t("div",n6,[t("span",null,i(e(l)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",i6,[O(t("input",{type:"text","onUpdate:modelValue":h[2]||(h[2]=_=>g.value=_),placeholder:e(l)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,r6),[[at,g.value,void 0,{trim:!0}]])])]),t("div",s6,[t("div",d6,[t("span",null,i(e(l)("\u5BC6\u7801\uFF1A")),1)]),t("div",l6,[O(t("input",{type:"password","onUpdate:modelValue":h[3]||(h[3]=_=>p.value=_),placeholder:e(l)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,u6),[[at,p.value,void 0,{trim:!0}]])])])],2),t("div",c6,[t("div",{class:"close",onClick:v,type:"button"},i(e(l)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:m.value},i(e(l)("\u4FDD\u5B58")),9,p6)])],40,L2)]))}});var Je=N(f6,[["__scopeId","data-v-6e29e960"]]);const m6={class:"action-main"},g6=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=E(""),l=E("index"),u=g=>{if(g!=null){if(g=="ddnsto"){d();return}l.value=g}else c()},d=()=>{c(),B2({url:n.url})},c=()=>{n.Close&&n.Close()},k=E("ddnsto");return(g,p)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[t("div",m6,[l.value=="index"?(r(),Z(A1,{key:0,onSetup:u,active:k.value,"onUpdate:active":p[0]||(p[0]=m=>k.value=m)},null,8,["active"])):l.value=="ddns-ali"?(r(),Z(Je,{key:1,onSetup:u,target:a.value,"onUpdate:target":p[1]||(p[1]=m=>a.value=m),name:"ali"},null,8,["target"])):l.value=="ddns-dnspod"?(r(),Z(Je,{key:2,onSetup:u,target:a.value,"onUpdate:target":p[2]||(p[2]=m=>a.value=m),name:"dnspod"},null,8,["target"])):l.value=="ddns-oray"?(r(),Z(Je,{key:3,onSetup:u,target:a.value,"onUpdate:target":p[3]||(p[3]=m=>a.value=m),name:"oray"},null,8,["target"])):l.value=="ddns-success"?(r(),Z(j1,{key:4,onSetup:u,target:a.value},null,8,["target"])):D("",!0)])]),_:1},8,["Close"]))}});var v6=N(g6,[["__scopeId","data-v-6f1d92d9"]]);const b6=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(v6,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},Ve=o=>(ut("data-v-134135a2"),o=o(),ct(),o),h6={class:"content"},_6={class:"tab"},x6=Ve(()=>t("div",{class:"title"},"DDNSTO",-1)),w6={key:0},k6={key:1},y6=Ve(()=>t("div",{class:"title"},"IPv4",-1)),F6={key:0},E6={key:1},$6=Ve(()=>t("div",{class:"title"},"IPv6",-1)),C6={key:0},D6={key:1},B6={key:0,class:"info"},Y6={class:"status"},A6=Ve(()=>t("div",null,"DDNSTO",-1)),S6={key:0},z6={key:1,class:"offline"},P6={class:"title_box"},T6={class:"title"},I6={class:"path"},M6=["href","title"],L6={key:1},O6={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},N6={key:1,class:"info"},V6={class:"status"},G6={key:0,class:"offline"},j6={key:1},U6={class:"title_box"},q6={class:"title"},R6={class:"path"},W6={key:0},H6=["href"],J6={key:2,href:"/cgi-bin/luci/admin/services/ddns"},Z6={key:2,class:"info"},K6={class:"status"},Q6={key:0,class:"offline"},X6={key:1},t5={class:"title_box"},e5={class:"title"},a5={class:"path"},o5={key:0},n5=["href"],i5={key:2,href:"/cgi-bin/luci/admin/services/ddns"},r5=I({setup(o){const{$gettext:n}=J(),a=E(0),l=E(!1),u=f=>{a.value=f,l.value=!0},d=f=>Boolean(f&&f!=="Stopped"&&f!=="Disabled"),c=()=>{if(l.value)return;const F=[{index:0,active:Boolean(p.value.ddnstoDomain)},{index:1,active:d(p.value.ipv4Domain)},{index:2,active:d(p.value.ipv6Domain)}].find(w=>w.active);a.value=F?F.index:0};let k=!1,g;const p=E({}),m=function(){!k||(document.hidden?Promise.resolve():G.Guide.GetDdns.GET().then(f=>{var F;f!=null&&f.data&&(((F=f==null?void 0:f.data)==null?void 0:F.success)||0)==0&&f.data.result&&(p.value=f.data.result,c())})).then(()=>{!k||(g=window.setTimeout(m,3e3))})};Pt(()=>{k=!0,g=window.setTimeout(m,1100)}),Nt(()=>{g!==void 0&&window.clearTimeout(g),k=!1});const v=()=>{b6({url:p.value.ddnstoDomain})},b=Q(()=>{const f=p.value.ipv4Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`}),y=Q(()=>{const f=p.value.ipv6Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`});return(f,F)=>(r(),Z(Wt,{title:e(n)("\u8FDC\u7A0B\u57DF\u540D"),showSettings:!0,style:{width:"100%",height:"100%",display:"block"}},{icon:V(()=>[Y(He,{color:"#00a63e",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:v},[Y(He,{color:"#0a0a0a",class:"icon1 earthIcon",style:{"margin-right":"6px"}}),dt(" "+i(e(n)("\u57DF\u540D\u914D\u7F6E")),1)])]),default:V(()=>{var w,h,_,x,C,S;return[t("div",h6,[t("div",_6,[t("div",{class:lt(["item cloud",{active:a.value==0}]),onClick:F[0]||(F[0]=A=>u(0))},[Y(He,{color:"#155dfc",class:"icon2"}),x6,(w=p.value)!=null&&w.ddnstoDomain?(r(),s("span",w6,i(e(n)("\u6B63\u5E38")),1)):(r(),s("span",k6,i(e(n)("\u672A\u542F\u52A8")),1))],2),e(b)?(r(),s("div",{key:0,class:lt(["item memory",{active:a.value==1}]),onClick:F[1]||(F[1]=A=>u(1))},[Y(pa,{color:"#00a63e",class:"icon2"}),y6,e(b)=="Stopped"||e(b)=="Disabled"?(r(),s("span",F6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",E6,i(e(n)("\u6B63\u5E38")),1))],2)):D("",!0),e(y)?(r(),s("div",{key:1,class:lt(["item network",{active:a.value==2}]),onClick:F[2]||(F[2]=A=>u(2))},[Y(g1,{class:"icon2"}),$6,e(y)=="Stopped"||e(y)=="Disabled"?(r(),s("span",C6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",D6,i(e(n)("\u6B63\u5E38")),1))],2)):D("",!0)]),a.value==0?(r(),s("div",B6,[t("div",Y6,[A6,(h=p.value)!=null&&h.ddnstoDomain?(r(),s("span",S6,i(e(n)("\u6B63\u5E38")),1)):(r(),s("span",z6,i(e(n)("\u672A\u542F\u52A8")),1))]),t("div",P6,[t("div",T6,i(e(n)("\u667A\u80FD\u5185\u7F51\u7A7F\u900F\u670D\u52A1")),1),t("div",I6,[(_=p.value)!=null&&_.ddnstoDomain?(r(),s("a",{key:0,class:"configure",href:(x=p.value)==null?void 0:x.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(C=p.value)==null?void 0:C.ddnstoDomain},i((S=p.value)==null?void 0:S.ddnstoDomain),9,M6)):(r(),s("div",L6,i(e(n)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("span",null,[t("a",O6,i(e(n)("\u63A7\u5236\u53F0")),1)])])])])):D("",!0),a.value==1?(r(),s("div",N6,[t("div",V6,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(b)=="Stopped"||e(b)=="Disabled"?(r(),s("span",G6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",j6,i(e(n)("\u6B63\u5E38")),1))]),t("div",U6,[t("div",q6,"IPv4 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",R6,[e(b)=="Stopped"||e(b)=="Disabled"?(r(),s("div",W6,i(e(b)),1)):(r(),s("a",{key:1,class:"configure",href:e(b),target:"_blank",rel:"noopener noreferrer"},i(e(b)),9,H6)),e(b)?(r(),s("a",J6,[Y(ya,{class:"icon3"})])):D("",!0)])])])):D("",!0),a.value==2?(r(),s("div",Z6,[t("div",K6,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(y)=="Stopped"||e(y)=="Disabled"?(r(),s("span",Q6,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",X6,i(e(n)("\u6B63\u5E38")),1))]),t("div",t5,[t("div",e5,"IPv6 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",a5,[e(y)=="Stopped"||e(y)=="Disabled"?(r(),s("div",o5,i(e(y)),1)):(r(),s("a",{key:1,class:"configure",href:e(y),target:"_blank",rel:"noopener noreferrer"},i(e(y)),9,n5)),e(y)?(r(),s("a",i5,[Y(ya,{class:"icon3"})])):D("",!0)])])])):D("",!0)])]}),_:1},8,["title"]))}});var s5=N(r5,[["__scopeId","data-v-134135a2"]]);const d5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},l5=["fill"],u5=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",d5,[t("path",{d:"M879.674 544.51l-158.254-0.221c-8.534 2.287-17.305-2.776-19.588-11.307l-23.862-75.877-74.742 350.891c0 0-1.523 18.507-11.518 18.507s-26.9 0.281-26.9 0.281c-8.259 2.213-16.748-2.687-18.961-10.949l-92.741-457.648-70.305 330.634c-2.261 8.291-11.94 15.206-20.385 12.986l-24.876 0.339c-8.723 2.293-17.685-2.789-20.023-11.349L270.629 544.51 143.993 544.51c-8.831 0-15.993-7.159-15.993-15.993l0-31.986c0-8.831 7.162-15.993 15.993-15.993l157.429-0.516c9.565-0.304 17.685 0.788 20.023 9.351l24.386 76.092 68.642-358.907c0 0 3.4-10.894 14.397-10.894 10.994 0 34.107-0.448 34.107-0.448 8.262-2.213 16.751 2.687 18.965 10.949l91.912 454.126 67.948-326.182c2.213-8.262 8.707-15.161 16.965-12.948l27.316-0.333c8.531-2.287 17.301 2.776 19.588 11.31l46.665 148.4 127.337 0c8.835 0 15.993 7.162 15.993 15.993l0 31.986C895.667 537.352 888.508 544.51 879.674 544.51z","p-id":"5314",fill:o.color},null,8,l5)]))}}),c5=()=>{var n;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(n=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&n.matches?"dark":"light"},Ha=()=>c5()=="dark",Ja=o=>(ut("data-v-47c7bd93"),o=o(),ct(),o),p5={class:"title_box"},f5={class:"display_flex"},m5={class:"network_tag"},g5={class:"tag_item"},v5=Ja(()=>t("div",{class:"tag_dn"},null,-1)),b5={class:"tag_item"},h5=Ja(()=>t("div",{class:"tag_up"},null,-1)),_5={class:"speed"},x5={class:"speed_item"},w5={style:{color:"#1596fd"}},k5={class:"speed_item"},y5={style:{color:"#00a63e"}},F5=I({setup(o){const{$gettext:n}=J();Xe([Ma,La,Oa,ta,ea,Na]);const a=E(),l=_=>{var C;const x=(C=a.value)==null?void 0:C[_];return!x||x.startTime==0?"":p(x.startTime*1e3)+"-"+p(x.endTime*1e3)},u=Q(()=>{var x;let _=[];return(x=a.value)==null||x.forEach(C=>{_.push({value:C.uploadSpeed})}),_}),d=Q(()=>{var x;let _=[];return(x=a.value)==null||x.forEach(C=>{_.push({value:C.downloadSpeed})}),_}),c=Q(()=>{var x;let _="";if(a.value){let C=((x=a.value)==null?void 0:x.length)||0;if(C>0){let S=a.value[C-1];_=m(S.uploadSpeed)+"/s"}}return _}),k=Q(()=>{var x;let _="";if(a.value){let C=((x=a.value)==null?void 0:x.length)||0;if(C>0){let S=a.value[C-1];_=m(S.downloadSpeed)+"/s"}}return _});Q(()=>{var x;let _=[];return(x=a.value)==null||x.forEach(C=>{_.push({value:C.downloadSpeed+C.uploadSpeed})}),_});const g=()=>L(this,null,function*(){var _;try{const x=yield G.Network.Statistics.GET();if(x.data&&(_=x.data.result)!=null&&_.items){const C=x.data.result.slots||10;if(x.data.result.items.lengthC?a.value=x.data.result.items.slice(C-x.data.result.items.length):a.value=x.data.result.items}}catch(x){console.log(x)}}),p=Mt.dateForm,m=Mt.byteToSize,v=E(),b=E();let y=null,f=null,F=null;const w=_=>{const x=Ha();return y=aa(_,x?"dark":"light"),y.setOption({animation:!1,backgroundColor:x?"#2c2c2c":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:C=>{if(Array.isArray(C)){let S="";C.length>0&&(S=l(C[0].axisValue));for(let A=0;A${C[A].seriesName}: ${m(C[A].value)}/s`;return S.toString()}else{const S=C;return`${l(S.axisValue)}
${S.seriesName}: ${m(S.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:"",textStyle:{fontSize:12,color:x?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(C,S){return`${m(C)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:n("\u4E0B\u8F7D"),data:d.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:n("\u4E0A\u4F20"),data:u.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),y},h=()=>{if(!y||!v.value)return;const _=Math.max(v.value.clientWidth,50),x=Math.max(v.value.clientHeight,50);y.resize({width:_,height:x})};return Pt(()=>{setTimeout(()=>L(this,null,function*(){if(v.value){yield g();const _=w(v.value),x=v.value;h(),F=()=>{h()},window.addEventListener("resize",F),"ResizeObserver"in window&&(f=new ResizeObserver(()=>{h()}),b.value&&f.observe(b.value),f.observe(x));const C=()=>L(this,null,function*(){if(y!=null){if(!document.hidden){if(yield g(),y==null)return;_.setOption({series:[{name:n("\u4E0B\u8F7D"),data:d.value,type:"line",areaStyle:{},smooth:!0},{name:n("\u4E0A\u4F20"),data:u.value,type:"line",areaStyle:{},smooth:!0}]}),h()}setTimeout(C,5e3)}});setTimeout(C,5e3)}}),900)}),Nt(()=>{y!=null&&(y.dispose(),y=null),F&&(window.removeEventListener("resize",F),F=null),f&&(f.disconnect(),f=null)}),(_,x)=>(r(),s("div",{class:"network_container",ref_key:"containerRef",ref:b},[t("div",p5,[t("div",f5,[Y(u5,{color:"#20c7f7",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u6D41\u91CF")),1)]),t("div",null,[t("div",m5,[t("div",g5,[v5,t("span",null,i(e(n)("\u4E0B\u8F7D")),1)]),t("div",b5,[h5,t("span",null,i(e(n)("\u4E0A\u4F20")),1)])])])]),t("div",_5,[t("div",x5,[t("span",null,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1),t("div",w5,i(e(k)),1)]),t("div",k5,[t("span",null,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1),t("div",y5,i(e(c)),1)])]),t("div",{ref_key:"el",ref:v,class:"echart"},null,512)],512))}});var Fa=N(F5,[["__scopeId","data-v-47c7bd93"]]);const E5={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},$5=["fill"],Ea=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",E5,[t("path",{d:"M512 298.666667c-162.133333 0-285.866667 68.266667-375.466667 213.333333 89.6 145.066667 213.333333 213.333333 375.466667 213.333333s285.866667-68.266667 375.466667-213.333333c-89.6-145.066667-213.333333-213.333333-375.466667-213.333333z m0 469.333333c-183.466667 0-328.533333-85.333333-426.666667-256 98.133333-170.666667 243.2-256 426.666667-256s328.533333 85.333333 426.666667 256c-98.133333 170.666667-243.2 256-426.666667 256z m0-170.666667c46.933333 0 85.333333-38.4 85.333333-85.333333s-38.4-85.333333-85.333333-85.333333-85.333333 38.4-85.333333 85.333333 38.4 85.333333 85.333333 85.333333z m0 42.666667c-72.533333 0-128-55.466667-128-128s55.466667-128 128-128 128 55.466667 128 128-55.466667 128-128 128z",fill:o.color,"p-id":"5225"},null,8,$5)]))}}),C5={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},D5=["fill"],$a=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",C5,[t("path",{d:"M332.8 729.6l34.133333-34.133333c42.666667 12.8 93.866667 21.333333 145.066667 21.333333 162.133333 0 285.866667-68.266667 375.466667-213.333333-46.933333-72.533333-102.4-128-166.4-162.133334l29.866666-29.866666c72.533333 42.666667 132.266667 106.666667 183.466667 192-98.133333 170.666667-243.2 256-426.666667 256-59.733333 4.266667-119.466667-8.533333-174.933333-29.866667z m-115.2-64c-51.2-38.4-93.866667-93.866667-132.266667-157.866667 98.133333-170.666667 243.2-256 426.666667-256 38.4 0 76.8 4.266667 110.933333 12.8l-34.133333 34.133334c-25.6-4.266667-46.933333-4.266667-76.8-4.266667-162.133333 0-285.866667 68.266667-375.466667 213.333333 34.133333 51.2 72.533333 93.866667 115.2 128l-34.133333 29.866667z m230.4-46.933333l29.866667-29.866667c8.533333 4.266667 21.333333 4.266667 29.866666 4.266667 46.933333 0 85.333333-38.4 85.333334-85.333334 0-12.8 0-21.333333-4.266667-29.866666l29.866667-29.866667c12.8 17.066667 17.066667 38.4 17.066666 64 0 72.533333-55.466667 128-128 128-17.066667-4.266667-38.4-12.8-59.733333-21.333333zM384 499.2c4.266667-68.266667 55.466667-119.466667 123.733333-123.733333 0 4.266667-123.733333 123.733333-123.733333 123.733333zM733.866667 213.333333l29.866666 29.866667-512 512-34.133333-29.866667L733.866667 213.333333z",fill:o.color,"p-id":"5534"},null,8,D5)]))}}),B5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y5=["fill"],xe=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",B5,[t("path",{d:"M512 96c229.76 0 416 186.24 416 416S741.76 928 512 928 96 741.76 96 512 282.24 96 512 96z m-32 448l-127.317333 0.021333c0.896 20.48 2.624 40.405333 5.12 59.669334l1.984 14.293333 2.474666 15.253333c19.754667 112.896 65.728 197.738667 117.76 222.997334L480 544z m191.317333 0.021333L544 544v312.234667c50.858667-24.725333 95.936-106.368 116.373333-215.509334l1.365334-7.488 2.474666-15.232a701.013333 701.013333 0 0 0 7.104-73.984z m-382.698666 0H161.429333c11.648 129.066667 92.992 238.08 206.101334 289.066667-22.122667-34.282667-40.362667-76.416-53.76-124.032l-3.029334-11.093333-3.52-14.165334-3.242666-14.464a744.490667 744.490667 0 0 1-15.36-125.312z m573.952 0H735.36a752.661333 752.661333 0 0 1-12.672 112.128l-2.688 13.184-3.242667 14.464-3.52 14.186667c-13.653333 52.138667-32.96 98.197333-56.789333 135.104 113.109333-50.986667 194.453333-160 206.08-289.066667zM367.530667 190.890667l-2.858667 1.301333C253.013333 243.733333 172.970667 352 161.429333 480h127.189334c1.536-39.04 5.866667-76.693333 12.672-112.149333l2.688-13.184 3.242666-14.464 3.52-14.186667c13.653333-52.138667 32.96-98.197333 56.789334-135.104zM480 167.765333c-50.709333 24.618667-95.68 105.898667-116.202667 214.592l-1.536 8.405334-2.474666 15.232a701.034667 701.034667 0 0 0-7.104 74.005333H480V167.765333z m176.469333 23.146667l2.56 4.053333c20.906667 33.429333 38.229333 73.984 51.093334 119.552l3.136 11.52 3.52 14.165334 3.242666 14.464c8.362667 39.253333 13.632 81.408 15.36 125.333333h127.189334c-11.626667-129.088-92.970667-238.101333-206.101334-289.066667zM544 167.765333L544 480h127.317333a707.136 707.136 0 0 0-5.333333-61.376l-1.770667-12.629333-2.474666-15.232c-19.754667-112.874667-65.706667-197.717333-117.717334-222.997334z","p-id":"4600",fill:o.color},null,8,Y5)]))}}),A5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},S5=["fill"],z5=["fill"],P5=I({props:{color:{type:String,default:"#00a63e"}},setup(o){return(n,a)=>(r(),s("svg",A5,[t("path",{d:"M986.112 179.2c-12.288-12.288-31.744-12.288-44.032 0l-472.064 471.04-180.224-180.224c-12.288-12.288-31.744-12.288-44.032 0-12.288 12.288-12.288 31.744 0 44.032l202.752 201.728c6.144 6.144 12.288 9.216 22.528 9.216 9.216 0 15.36-3.072 22.528-9.216l494.592-492.544c10.24-12.288 10.24-31.744-2.048-44.032z",fill:o.color,"p-id":"11312"},null,8,S5),t("path",{d:"M1024 548.864c0-17.408-14.336-31.744-31.744-31.744-17.408 0-31.744 14.336-31.744 31.744C941.056 779.264 747.52 959.488 513.024 959.488 265.216 959.488 64.512 759.808 64.512 512c0-247.808 200.704-447.488 448.512-447.488 69.632 0 135.168 15.36 194.56 44.032h1.024c4.096 1.024 7.168 2.048 11.264 2.048 17.408 0 31.744-14.336 31.744-31.744 0-12.288-7.168-23.552-17.408-28.672C665.6 17.408 590.848 0 513.024 0 229.376 0 0 229.376 0 512s229.376 512 513.024 512c270.336 0 491.52-208.896 510.976-475.136z",fill:o.color,"p-id":"11313"},null,8,z5)]))}}),T5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},I5=["fill"],M5=I({props:{color:{type:String,default:"#e7000b"}},setup(o){return(n,a)=>(r(),s("svg",T5,[t("path",{d:"M511.9744 706.6624a57.2672 57.2672 0 0 1 56.96 57.5488c0 20.5568-10.8544 39.552-28.4672 49.8432a56.4736 56.4736 0 0 1-56.9856 0 57.6512 57.6512 0 0 1-28.4928-49.8432c0-31.7696 25.4976-57.5488 56.9856-57.5488zM190.1824 147.3024l2.4832 2.2272 614.4 614.4a30.72 30.72 0 0 1-40.96 45.696l-2.4832-2.2528-229.4528-229.504a189.6704 189.6704 0 0 0-180.864 83.8912 29.3376 29.3376 0 0 1-40.9344 7.3728 30.976 30.976 0 0 1-8.32-41.6768 248.8576 248.8576 0 0 1 170.624-109.056l-78.7968-78.7968a346.8288 346.8288 0 0 0-156.7744 112.128 29.4144 29.4144 0 0 1-50.944-8.4224 31.0784 31.0784 0 0 1 4.736-30.0544 406.9888 406.9888 0 0 1 156.1088-120.4736l-71.9872-72.0128a504.7808 504.7808 0 0 0-150.6816 120.32 29.2864 29.2864 0 0 1-41.9328 2.7904 31.0016 31.0016 0 0 1-2.9184-42.88 564.608 564.608 0 0 1 150.8608-124.928L149.2224 192.9472a30.72 30.72 0 0 1 40.96-45.6704z m321.792 211.6352a404.992 404.992 0 0 1 319.0528 154.368 30.976 30.976 0 0 1-4.3008 42.8288 29.184 29.184 0 0 1-41.9072-4.4032 345.984 345.984 0 0 0-229.7088-129.2032l-63.1552-63.104c6.656-0.3328 13.312-0.4864 20.0192-0.4864z m0-156.6976c166.1184 0 322.9952 72.448 430.4896 198.8608 10.752 12.672 9.472 31.872-2.8416 42.9312a29.184 29.184 0 0 1-42.0352-2.9184 505.344 505.344 0 0 0-385.6128-177.92 509.184 509.184 0 0 0-105.2672 11.008l-50.2272-50.2784A566.656 566.656 0 0 1 512 202.24z","p-id":"5359",fill:o.color},null,8,I5)]))}}),L5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},O5=["fill"],N5=["fill"],V5=["fill"],G5=I({props:{color:{type:String,default:"#f54900"}},setup(o){return(n,a)=>(r(),s("svg",L5,[t("path",{d:"M512 179.2l390.4 627.2H128l384-627.2m0-64c-19.2 0-44.8 12.8-51.2 32l-390.4 627.2c-25.6 44.8 6.4 96 51.2 96H896c51.2 0 83.2-57.6 51.2-96l-384-627.2c-6.4-19.2-32-32-51.2-32z",fill:o.color,"p-id":"4490"},null,8,O5),t("path",{d:"M512 640c-19.2 0-32-12.8-32-32v-192c0-19.2 12.8-32 32-32s32 12.8 32 32v192c0 19.2-12.8 32-32 32z",fill:o.color,"p-id":"4491"},null,8,N5),t("path",{d:"M512 723.2m-32 0a32 32 0 1 0 64 0 32 32 0 1 0-64 0Z",fill:o.color,"p-id":"4492"},null,8,V5)]))}}),j5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},U5=["fill"],Za=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",j5,[t("path",{d:"M511.3 116.7l339.1 193.8v387.6L511.3 891.9 172.2 698.1V310.5l339.1-193.8zM802 345.6L535.5 516.7v305.5L802 670V345.6z m-581.4 0.3V670l266.5 152.3V516.7L220.6 345.9z m434.1-87.3L401.1 405l110.3 71.4 248.9-161.5L658 256.4c-1.1 0.7-2.2 1.5-3.3 2.2z m-143.4-86L262.2 314.9l93.4 60.5c0.5-0.4 1.1-0.7 1.6-1l252.3-145.7-98.2-56.1z m0 0",fill:o.color,"p-id":"14790"},null,8,U5)]))}}),q5={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},R5=["fill"],W5=["fill"],H5=["fill"],ze=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",q5,[t("path",{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6c-3.2 2.8-3.6 7.8-0.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4 0.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-0.9l36-42.9c2.8-3.3 2.4-8.3-0.9-11.2zM840.4 480.4C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4c-3.4 2.8-3.8 7.9-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3z","p-id":"5126",fill:o.color},null,8,R5),t("path",{d:"M957.1 341.4C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4-3.5 2.8-4 7.9-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3z","p-id":"5127",fill:o.color},null,8,W5),t("path",{d:"M512 778m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"5128",fill:o.color},null,8,H5)]))}}),J5=["onSubmit"],Z5={class:"actioner-dns_header"},K5={class:"actioner-dns_body"},Q5={class:"label-item"},X5={class:"label-item_key"},t3={class:"label-item_value"},e3=["disabled"],a3={value:"manual"},o3={class:"label-item"},n3={class:"label-item_key"},i3={class:"label-item_value"},r3=["placeholder","onUpdate:modelValue"],s3={class:"label-item_key"},d3={class:"label-item_value"},l3=["placeholder","onUpdate:modelValue"],u3={key:1,class:"label-message"},c3={class:"actioner-dns_footer"},p3=["disabled"],f3={key:1,class:"actioner-dns"},m3={class:"actioner-dns_header"},g3={class:"actioner-dns_body"},v3={class:"config-message"},b3={class:"actioner-dns_footer"},h3=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(0),d=Fe(),c=d.status,k=Q(()=>d.status.proto!="static"),g=()=>{let F=c.dnsList||[];for(F=F.filter(w=>w);F.length<2;)F.push("");return F},p=E({interfaceName:c.defaultInterface||"",dnsProto:c.dnsProto||"manual",manualDnsIp:g()}),m=E(""),v=E(!1),b=()=>L(this,null,function*(){m.value="";let F={};switch(p.value.dnsProto){case"auto":break;case"manual":if(F.manualDnsIp=[],!p.value.manualDnsIp[0]){$.Error(a("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}F.manualDnsIp=p.value.manualDnsIp.filter(h=>h);break}F.dnsProto=p.value.dnsProto,F.interfaceName=p.value.interfaceName;const w=$.Loading(a("\u914D\u7F6E\u4E2D..."));try{const h=yield G.Guide.DnsConfig.POST(F);if(h!=null&&h.data){const{success:_,error:x}=h==null?void 0:h.data;x&&(m.value=x),(_==null||_==0)&&($.Success(a("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(h){m.value=h}w.Close()}),y=F=>{F.preventDefault(),n.Close&&n.Close()},f=F=>{location.reload()};return(F,w)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[u.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ft(b,["prevent"])},[t("div",Z5,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",K5,[t("div",Q5,[t("div",X5,[t("span",null,i(e(a)("DNS\u9009\u9879")),1)]),t("div",t3,[O(t("select",{"onUpdate:modelValue":w[0]||(w[0]=h=>p.value.dnsProto=h)},[t("option",{value:"auto",disabled:!e(k)},i(e(a)("\u81EA\u52A8\u83B7\u53D6DNS")),9,e3),t("option",a3,i(e(a)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[pt,p.value.dnsProto]])])]),p.value.dnsProto=="manual"?(r(!0),s(U,{key:0},tt(p.value.manualDnsIp,(h,_)=>(r(),s("div",o3,[_==0?(r(),s(U,{key:0},[t("div",n3,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",i3,[O(t("input",{type:"text",placeholder:e(a)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":x=>p.value.manualDnsIp[_]=x},null,8,r3),[[at,p.value.manualDnsIp[_],void 0,{trim:!0}]])])],64)):(r(),s(U,{key:1},[t("div",s3,i(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",d3,[O(t("input",{type:"text",placeholder:e(a)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":x=>p.value.manualDnsIp[_]=x},null,8,l3),[[at,p.value.manualDnsIp[_],void 0,{trim:!0}]])])],64))]))),256)):D("",!0),m.value?(r(),s("div",u3,i(m.value),1)):D("",!0)]),t("div",c3,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:v.value},i(e(a)("\u786E\u8BA4")),9,p3),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u53D6\u6D88")),1)])],40,J5)):u.value==1?(r(),s("div",f3,[t("div",m3,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",g3,[t("div",v3,i(e(a)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",b3,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},i(e(a)("\u5B8C\u6210")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var _3=N(h3,[["__scopeId","data-v-5cff2770"]]);const Ka=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(_3,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},x3=["onSubmit"],w3={class:"actioner-dns_header"},k3={class:"actioner-dns_body"},y3={class:"label-item"},F3={class:"label-item_key"},E3={class:"label-item_value"},$3={class:"item_info"},C3={class:"label-item"},D3={class:"label-item_key"},B3={class:"label-item_value"},Y3={selected:"true",value:""},A3=["value"],S3={class:"actioner-dns_footer"},z3=["disabled"],P3={key:1,class:"actioner-dns"},T3={class:"actioner-dns_header"},I3={class:"softsource_tit"},M3={class:"actioner-dns_body"},L3={class:"finished"},O3={class:"successed"},N3={class:"btns"},V3=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(0),d=E(""),c=E(),k=E();(()=>{G.Guide.SoftSourceList.GET().then(b=>{var y,f;if((y=b==null?void 0:b.data)!=null&&y.result){const F=(f=b==null?void 0:b.data)==null?void 0:f.result;k.value=F}}).then(()=>G.Guide.GetSoftSource.GET()).then(b=>{var y,f;if((y=b==null?void 0:b.data)!=null&&y.result){const F=b.data.result;c.value=F.softSource,(f=k.value)!=null&&f.softSourceList.find(w=>w.identity==F.softSource.identity)&&(d.value=F.softSource.identity)}})})();const p=b=>{b.preventDefault(),n.Close&&n.Close()},m=b=>{const y=$.Loading(a("\u6B63\u5728\u5207\u6362\u4E2D..."));G.Guide.SoftSource.POST({softSourceIdentity:d.value}).then(f=>{if(f!=null&&f.data){if((f.data.success||0)==0){u.value=1;return}else if(f.data.error)throw f.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(f=>{$.Error(f)}).finally(()=>y.Close())},v=b=>{b.preventDefault(),location.reload()};return(b,y)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>{var f,F;return[u.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ft(m,["prevent"])},[t("div",w3,[t("span",null,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",k3,[t("div",y3,[t("div",F3,[t("span",null,i(e(a)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",E3,[t("p",$3,i((f=c.value)==null?void 0:f.name),1)])]),t("div",C3,[t("div",D3,[t("span",null,i(e(a)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",B3,[O(t("select",{name:"",id:"","onUpdate:modelValue":y[0]||(y[0]=w=>d.value=w)},[t("option",Y3,i(e(a)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(r(!0),s(U,null,tt((F=k.value)==null?void 0:F.softSourceList,(w,h)=>(r(),s("option",{value:w.identity,key:h},i(w.name),9,A3))),128))],512),[[pt,d.value,void 0,{trim:!0}]])])])]),t("div",S3,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:d.value==""},i(e(a)("\u786E\u8BA4")),9,z3),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},i(e(a)("\u53D6\u6D88")),1)])],40,x3)):D("",!0),u.value==1?(r(),s("form",P3,[t("div",T3,[t("span",I3,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",M3,[t("div",L3,[Y(ua)]),t("p",O3,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",N3,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:v},i(e(a)("\u786E\u5B9A")),1)])])])):D("",!0)]}),_:1},8,["Close"]))}});var G3=N(V3,[["__scopeId","data-v-3f8f9931"]]);const Qa=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(G3,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},j3=o=>(ut("data-v-24e35542"),o=o(),ct(),o),U3={class:"info_content"},q3={key:0,class:"status_box"},R3={class:"status_name"},W3={class:"status_time"},H3={key:1,class:"status_box"},J3={class:"flex"},Z3={class:"status_name"},K3={class:"dns-btn"},Q3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},X3={key:2,class:"status_box"},t8={class:"flex"},e8={class:"status_name"},a8={class:"dns-btn"},o8={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},n8={key:3,class:"status_box"},i8={class:"status_name"},r8={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},s8={key:4,class:"status_box"},d8={class:"status_name"},l8={class:"ip_info"},u8={class:"ip_item"},c8={class:"ip_action"},p8={class:"ip_tag"},f8={key:0,class:"ip_address"},m8={key:1,class:"ip_address"},g8={class:"ip_info"},v8={class:"ip_item"},b8=j3(()=>t("div",null,"IPv6",-1)),h8={key:0,class:"ip_action"},_8={key:1,class:"ip_tag"},x8={key:0,class:"ip_address"},w8={key:1,class:"ip_address"},k8={class:"ip_info",style:{"margin-bottom":"0"}},y8={class:"ip_item"},F8={class:"ip_address"},E8=I({setup(o){const{$gettext:n}=J(),a=Fe(),l=Pe(),u="***************************************",d=()=>{const x=E(!1),C=E(60);let S=null;const A=()=>{S!==null&&(clearInterval(S),S=null)},z=()=>{C.value>0?C.value--:A()},B=()=>{A(),S=setInterval(z,1e3)};$t(C,M=>{M===0&&(x.value=!1)});const H=()=>{x.value=!x.value,x.value?(C.value=60,B()):(C.value=60,A())};return Nt(A),{isShow:x,toggle:H}},{isShow:c,toggle:k}=d(),{isShow:g,toggle:p}=d(),m=Q(()=>a.status),v=()=>{Ka()},b=()=>{Qa()};Q(()=>a.deviceList);const y=gt({portList:[],load:!1}),f=x=>{switch(x){case"pppoe":return n("\u62E8\u53F7\u4E0A\u7F51");case"static":return n("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return x&&x.toUpperCase()},F=x=>{switch(x){case"manual":return n("\u624B\u52A8\u914D\u7F6E");case"auto":return n("\u81EA\u52A8\u83B7\u53D6");default:return""}},w=()=>{(y.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(x=>{if(x!=null&&x.data){const{result:C}=x==null?void 0:x.data;C&&(y.portList=C.ports||[])}})).finally(()=>{y.load=!0,setTimeout(w,1e4)})};w();const h=Mt.stampForm,_=()=>{l.push("/devicemanagement")};return(x,C)=>(r(),s("div",null,[Y(Wt,{title:e(n)("\u7F51\u7EDC\u8FDE\u63A5\u548CIP\u5730\u5740"),showSettings:!0},{settings:V(()=>[t("div",{class:"device-manage-btn",onClick:_},[Y(pa,{color:"#3a3a3a",class:"device-manage-icon"}),dt(" "+i(e(n)("\u8BBE\u5907\u7BA1\u7406")),1)])]),icon:V(()=>[Y(xe,{color:"#0a0a0a",class:"icon networkIcon"})]),default:V(()=>[t("div",U3,[e(m)!=null?(r(),s(U,{key:0},[e(m).networkInfo=="netSuccess"?(r(),s("div",q3,[t("div",R3,[Y(P5,{color:"#00a63e",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u8FDE\u63A5\u6B63\u5E38")),1)]),t("div",W3,i(e(h)(e(m).uptimeStamp)),1)])):e(m).networkInfo=="dnsFailed"?(r(),s("div",H3,[t("div",J3,[t("div",Z3,[Y(G5,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("DNS\u9519\u8BEF")),1)]),t("div",K3,[t("button",{class:"btn-primary",onClick:v},i(e(n)("DNS\u914D\u7F6E")),1)])]),t("div",Q3,i(e(h)(e(m).uptimeStamp)),1)])):e(m).networkInfo=="softSourceFailed"?(r(),s("div",X3,[t("div",t8,[t("div",e8,[Y(Za,{color:"#9810fa",style:{width:"1.5rem",height:"1.5rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1)]),t("div",a8,[t("button",{class:"btn-pink",onClick:b},i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])]),t("div",o8,i(e(h)(e(m).uptimeStamp)),1)])):e(m).networkInfo=="netFailed"?(r(),s("div",n8,[t("div",i8,[Y(M5,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u672A\u8054\u7F51")),1)]),t("div",r8,i(e(h)(e(m).uptimeStamp)),1)])):(r(),s("div",s8,[t("div",d8,[Y(ze,{color:"#d08700",class:"icon"}),t("span",null,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):D("",!0),t("div",l8,[t("div",u8,[t("div",null,"IPv4 \uFF08"+i(e(m).defaultInterface)+"\uFF09",1),t("div",c8,[t("div",p8,i(f(e(m).proto||"")),1),e(m).ipv4addr?(r(),s("div",{key:0,class:"ip_tag",style:{cursor:"pointer"},onClick:C[0]||(C[0]=(...S)=>e(k)&&e(k)(...S))},[e(c)?(r(),Z($a,{key:0})):(r(),Z(Ea,{key:1})),dt(" "+i(e(n)("\u5DF2\u542F\u7528")),1)])):D("",!0)])]),e(m).ipv4addr?(r(),s("div",f8,i(e(c)?e(m).ipv4addr:u),1)):(r(),s("div",m8,"-"))]),t("div",g8,[t("div",v8,[b8,e(m).ipv6addr?(r(),s("div",h8,[t("div",{class:"ip_tag",style:{cursor:"pointer"},onClick:C[1]||(C[1]=(...S)=>e(p)&&e(p)(...S))},[e(g)?(r(),Z($a,{key:0})):(r(),Z(Ea,{key:1})),dt(" "+i(e(n)("\u5DF2\u542F\u7528")),1)])])):(r(),s("div",_8,i(e(n)("\u672A\u542F\u7528")),1))]),e(m).ipv6addr?(r(),s("div",x8,i(e(g)?e(m).ipv6addr:u),1)):(r(),s("div",w8,"-"))]),t("div",k8,[t("div",y8,[t("div",null,"DNS\uFF08"+i(F(e(m).dnsProto))+"\uFF09",1)]),(r(!0),s(U,null,tt(e(m).dnsList,S=>(r(),s("div",F8,i(S),1))),256))])])]),_:1},8,["title"])]))}});var $8=N(E8,[["__scopeId","data-v-24e35542"]]);const C8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},D8=["fill"],Ca=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",C8,[t("path",{d:"M170.666667 647.253333a128.042667 128.042667 0 1 0 85.333333 0V256c0-71.850667 49.109333-128 106.666667-128S469.333333 184.149333 469.333333 256v512c0 116.650667 84.608 213.333333 192 213.333333s192-96.682667 192-213.333333V376.746667a128.042667 128.042667 0 1 0-85.333333 0V768c0 71.850667-49.109333 128-106.666667 128S554.666667 839.850667 554.666667 768V256c0-116.650667-84.608-213.333333-192-213.333333S170.666667 139.349333 170.666667 256v391.253333zM768 256a42.666667 42.666667 0 1 1 85.333333 0 42.666667 42.666667 0 0 1-85.333333 0zM213.333333 810.666667a42.666667 42.666667 0 1 1 0-85.333334 42.666667 42.666667 0 0 1 0 85.333334z",fill:o.color,"p-id":"39967"},null,8,D8)]))}}),B8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y8=["fill"],fa=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",B8,[t("path",{d:"M680.64 960a61.184 61.184 0 0 1-44.864-19.072c-14.72-16.192-61.568-58.24-99.84-58.24-38.016 0-85.504 42.24-99.2 57.088a61.184 61.184 0 0 1-67.328 14.08l-1.28-0.448-116.352-65.088-1.152-0.832a55.872 55.872 0 0 1-18.752-67.456c0.064-0.192 10.752-24.768 10.752-47.232a123.52 123.52 0 0 0-123.392-123.328h-4.864c-19.52 0-35.392-17.28-40.448-44.096C73.6 603.2 64 552.384 64 512.384c0-40.064 9.536-90.88 9.92-92.992 5.12-27.136 21.376-44.544 41.152-44.096h4.16A123.52 123.52 0 0 0 242.56 251.904c0-22.4-10.688-46.976-10.816-47.232a55.68 55.68 0 0 1 18.944-67.392l1.216-0.832L374.72 68.992l1.28-0.576a62.336 62.336 0 0 1 67.2 13.888c14.528 15.296 60.48 54.848 97.664 54.848 36.8 0 82.496-38.784 96.96-53.76a62.336 62.336 0 0 1 67.264-13.44l1.28 0.64 118.592 65.92 1.152 0.768a55.808 55.808 0 0 1 18.816 67.456c-0.064 0.192-10.752 24.768-10.752 47.168a123.52 123.52 0 0 0 123.392 123.392h4.096c19.84-0.448 36.096 16.96 41.216 44.096 0.384 2.112 9.92 52.928 9.92 92.992 0 40-9.536 90.88-9.92 92.992-5.12 27.136-21.376 44.48-41.216 44.096h-4.096A123.52 123.52 0 0 0 834.176 772.8c0 22.4 10.688 47.04 10.752 47.232a55.808 55.808 0 0 1-18.816 67.456l-1.216 0.832-120.64 66.624-1.28 0.576a56.32 56.32 0 0 1-22.4 4.48z m-3.648-56.832a7.68 7.68 0 0 0 3.84 0.96l112.704-62.336c-2.688-6.272-15.168-36.992-15.168-68.928a179.456 179.456 0 0 1 169.856-179.008c1.344-7.552 8.768-49.792 8.768-81.472 0-31.68-7.424-73.92-8.768-81.472a179.456 179.456 0 0 1-169.856-179.008c0-32 12.48-62.72 15.168-68.992L682.688 121.28h-0.448c-1.92 0-3.648 0.64-4.288 1.088-1.856 1.92-17.92 18.24-40.96 34.432-34.24 24.064-66.56 36.224-96.064 36.224-29.888 0-62.464-12.416-96.832-36.928a313.792 313.792 0 0 1-41.216-35.072 8.832 8.832 0 0 0-4.736-1.152l-114.816 63.104c2.752 6.4 15.168 36.992 15.168 68.928A179.456 179.456 0 0 1 128.64 430.912c-1.344 7.552-8.768 49.792-8.768 81.472 0 31.68 7.424 73.92 8.768 81.408A179.456 179.456 0 0 1 298.496 772.8c0 32.128-12.544 62.912-15.232 69.12L392 902.72a7.68 7.68 0 0 0 3.84-0.896c2.048-2.24 18.304-19.456 41.6-36.608 34.944-25.536 68.032-38.464 98.56-38.464 30.72 0 64.064 13.184 99.2 39.232 23.488 17.472 39.744 34.944 41.792 37.184zM536.32 676.032a164.48 164.48 0 0 1-164.288-164.288A164.48 164.48 0 0 1 536.32 347.52a164.48 164.48 0 0 1 164.352 164.288A164.48 164.48 0 0 1 536.32 676.096z m0-272.64c-59.776 0-108.352 48.64-108.352 108.352 0 59.776 48.64 108.416 108.352 108.416 59.84 0 108.416-48.64 108.416-108.416 0-59.776-48.64-108.416-108.416-108.416z",fill:o.color,"p-id":"4508"},null,8,Y8)]))}}),A8=["value","checked","onChange"],S8={class:"content"},z8=["onMouseenter"],P8={class:"name"},T8={key:0,class:"speed",style:{background:"#f3f4f6",color:"#4a5565"}},I8={style:{display:"flex","align-items":"center"}},M8={key:0,class:"status"},L8={key:1,class:"status"},O8={key:2,class:"speed",style:{"margin-left":"6px"}},N8=I({setup(o){const{$gettext:n}=J(),a=Pe(),l=E(!1),u=ra(),d=gt({portList:[],load:!1}),c=()=>{a.push("/interfaceconfig")},k=(h,_)=>{localStorage.setItem(h,JSON.stringify(_))},g=h=>{const _=localStorage.getItem(h);try{return _?JSON.parse(_):[]}catch(x){return[]}},p="checkedPorts",m=E(g(p)),v=E([]),b=()=>{(d.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(h=>{if(h!=null&&h.data){const{result:_}=h==null?void 0:h.data;_&&(d.portList=_.ports||[],v.value=_.ports||[])}})).finally(()=>{d.load=!0,setTimeout(b,1e4)})};b(),$t(m,h=>{v.value=d.portList.filter(_=>h.includes(_.name)),console.log(h,"newVal"),k(p,h)});const y=(h,_)=>{_.target.checked?m.value.includes(h)||(m.value=[...m.value,h]):m.value.length>1?m.value=m.value.filter(x=>x!==h):($.Warning(n("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A\u7F51\u7EDC\u63A5\u53E3\uFF01")),_.target.checked=!0)},f=E(null),F=(h,_)=>{u.portitemStyle.show=!0;const x=_==null?void 0:_.target;if(x){const{left:C,top:S}=x.getBoundingClientRect();u.portitemStyle.left=C,u.portitemStyle.top=S}u.portitemStyle.portitem=h},w=()=>{u.portitemStyle.show=!1};return(h,_)=>(r(),Z(Wt,{title:e(n)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001"),showSettings:!0,"is-settings-menu-open":l.value,"onUpdate:isSettingsMenuOpen":_[0]||(_[0]=x=>l.value=x)},{icon:V(()=>[Y(Ca,{color:"#0a0a0a",class:"icon interfaceIcon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:c},[Y(fa,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u7F51\u7EDC\u63A5\u53E3")),1)])]),"settings-menu":V(()=>[t("div",null,[(r(!0),s(U,null,tt(e(d).portList,x=>(r(),s("div",{key:x.name,class:"row"},[t("input",{type:"checkbox",value:x.name,checked:m.value.includes(x.name),onChange:C=>y(x.name,C)},null,40,A8),t("span",null,i(x.name),1)]))),128))])]),default:V(()=>[t("div",S8,[e(d).load?(r(!0),s(U,{key:0},tt(e(d).portList,x=>(r(),s("div",{class:"item",ref_for:!0,ref_key:"el",ref:f,onMouseenter:C=>F(x,C),onMouseleave:w},[t("div",{class:"icon_box",style:ht({backgroundColor:x.linkState=="DOWN"?"#f3f4f6":"#dbfce7"})},[Y(Ca,{color:x.linkState=="DOWN"?"#99a1af":"#00a63e",class:"icon2"},null,8,["color"])],4),t("div",null,[t("div",P8,[dt(i(x.name)+" "+i(x.interfaceNames?`(${x.interfaceNames.join(",").toLocaleUpperCase()})`:""),1),x.linkState=="DOWN"?(r(),s("div",T8,i(e(n)("\u5DF2\u65AD\u5F00")),1)):D("",!0)]),t("div",I8,[x.linkState=="DOWN"?(r(),s("div",M8,i(e(n)("\u672A\u8FDE\u63A5")),1)):(r(),s("div",L8,i(e(n)("\u5DF2\u8FDE\u63A5")),1)),x.linkSpeed?(r(),s("div",O8,i(x.linkSpeed),1)):D("",!0)])])],40,z8))),256)):D("",!0)])]),_:1},8,["title","is-settings-menu-open"]))}});var Da=N(N8,[["__scopeId","data-v-3ebe4ebd"]]);const V8={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none",width:"32",height:"32"},G8=["fill"],j8=["fill"],U8=["fill"],q8=["fill"],R8=I({props:{color:{type:String,default:"#ffffff"}},setup(o){return(n,a)=>(r(),s("svg",V8,[t("path",{d:"M384 480 96 480C44.8 480 0 435.2 0 384L0 96C0 44.8 44.8 0 96 0L384 0c51.2 0 96 44.8 96 96L480 384C480 435.2 435.2 480 384 480z",fill:o.color,"p-id":"6495"},null,8,G8),t("path",{d:"M384 1024 96 1024C44.8 1024 0 979.2 0 928L0 640c0-51.2 44.8-96 96-96L384 544c51.2 0 96 44.8 96 96l0 281.6C480 979.2 435.2 1024 384 1024z",fill:o.color,"p-id":"6496"},null,8,j8),t("path",{d:"M787.2 1024 787.2 1024c-134.4 0-243.2-108.8-243.2-236.8l0 0c0-134.4 108.8-236.8 236.8-236.8l0 0c134.4 0 236.8 108.8 236.8 236.8l0 0C1024 915.2 915.2 1024 787.2 1024z",fill:o.color,"p-id":"6497"},null,8,U8),t("path",{d:"M928 480 640 480C588.8 480 544 435.2 544 384L544 96C544 44.8 588.8 0 640 0l281.6 0C979.2 0 1024 44.8 1024 96L1024 384C1024 435.2 979.2 480 928 480z",fill:o.color,"p-id":"6498"},null,8,q8)]))}}),W8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},H8=["fill"],J8=["fill"],Z8=["fill"],K8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",W8,[t("path",{d:"M123.92 555.9a32 32 0 0 1-14.82-60.38l719.19-374.9a32 32 0 0 1 29.59 56.76l-719.2 374.89a31.87 31.87 0 0 1-14.76 3.63z",fill:o.color,"p-id":"5084"},null,8,H8),t("path",{d:"M608.6 957.7a32 32 0 0 1-30.6-41.27l234.64-776.34a32 32 0 0 1 61.26 18.52L639.22 935a32 32 0 0 1-30.62 22.7zM505.92 580.44c-0.68 0-1.36 0-2.05-0.07l-381.46-24.12a32 32 0 1 1 4-63.88l381.5 24.13a32 32 0 0 1-2 63.94z",fill:o.color,"p-id":"5085"},null,8,J8),t("path",{d:"M608.14 957.32a32 32 0 0 1-30.87-23.63L475 556.82a32 32 0 1 1 61.77-16.76L639 916.93a32 32 0 0 1-22.51 39.26 31.61 31.61 0 0 1-8.35 1.13z",fill:o.color,"p-id":"5086"},null,8,Z8)]))}}),Q8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},X8=["fill"],t4=["fill"],e4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Q8,[t("path",{d:"M748 469.97l-283.81 248.1c-3.96 1.98-5.94 5.94-9.9 9.9-17.82 29.71-9.9 67.34 19.8 85.16 29.71 15.84 65.35 5.94 83.18-21.79L757.9 477.89c1.98-5.95-3.96-11.88-9.9-7.92z","p-id":"9627",fill:o.color},null,8,X8),t("path",{d:"M512 181.96c-247.23 0-448.35 201.13-448.35 448.34 0 63.85 13.31 125.74 39.59 183.94 10.72 23.74 38.61 34.37 62.41 23.59 23.74-10.72 34.31-38.67 23.59-62.41C168.5 729.5 158 680.67 158 630.3c0-195.18 158.8-353.99 354-353.99 195.18 0 354 158.8 354 353.99 0 50.37-10.5 99.2-31.24 145.12-10.72 23.74-0.15 51.69 23.59 62.41 6.3 2.86 12.9 4.18 19.38 4.18 17.97 0 35.17-10.32 43.03-27.76 26.26-58.2 39.59-120.09 39.59-183.94 0-247.23-201.14-448.35-448.35-448.35z","p-id":"9628",fill:o.color},null,8,t4)]))}}),a4={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},o4=["fill"],n4=["fill"],i4=["fill"],r4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",a4,[t("path",{d:"M880.213333 395.093333a31.786667 31.786667 0 0 1-26.88-15.573333 385.706667 385.706667 0 0 0-91.52-104.32 32.426667 32.426667 0 0 1-5.12-45.013333 32 32 0 0 1 45.013334-5.12 449.92 449.92 0 0 1 106.666666 121.6A31.786667 31.786667 0 0 1 896 390.4a30.293333 30.293333 0 0 1-15.786667 4.693333zM165.12 395.093333A30.293333 30.293333 0 0 1 149.333333 390.4a31.786667 31.786667 0 0 1-11.093333-43.733333A450.56 450.56 0 0 1 522.666667 128a32 32 0 0 1 0 64A386.56 386.56 0 0 0 192 379.52a31.786667 31.786667 0 0 1-26.88 15.573333z","p-id":"17913",fill:o.color},null,8,o4),t("path",{d:"M565.333333 341.333333a32 32 0 0 1 0-64A101.76 101.76 0 0 0 661.333333 170.666667a101.76 101.76 0 0 0-96-106.666667 32 32 0 0 1 0-64A165.76 165.76 0 0 1 725.333333 170.666667a165.76 165.76 0 0 1-160 170.666666zM522.666667 1024C362.666667 1024 220.8 936.106667 139.946667 787.84 61.013333 776.746667 0 700.373333 0 608 0 507.946667 71.68 426.666667 160 426.666667a32 32 0 0 1 0 64C106.666667 490.666667 64 543.36 64 608S106.666667 725.333333 160 725.333333a31.786667 31.786667 0 0 1 28.586667 17.706667C256 878.933333 381.653333 960 522.666667 960a384 384 0 0 0 354.56-236.373333 31.146667 31.146667 0 0 1 14.506666-16 106.666667 106.666667 0 0 0 57.6-99.626667c0-64-42.666667-117.333333-96-117.333333a32 32 0 0 1 0-64c88.32 0 160 81.28 160 181.333333a170.666667 170.666667 0 0 1-81.706666 150.613333A448 448 0 0 1 522.666667 1024z","p-id":"17914",fill:o.color},null,8,n4),t("path",{d:"M394.666667 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM629.333333 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM512 822.186667A131.2 131.2 0 0 1 391.466667 746.666667a32 32 0 1 1 58.24-26.453334 70.186667 70.186667 0 0 0 124.586666 0A32 32 0 1 1 632.533333 746.666667 131.2 131.2 0 0 1 512 822.186667z","p-id":"17915",fill:o.color},null,8,i4)]))}}),s4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},d4=["fill"],l4=["fill"],u4=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",s4,[t("path",{d:"M771.328 320.896H258.986667a64 64 0 0 0-63.701334 57.856l-41.386666 427.178667a64 64 0 0 0 57.472 69.888l5.12 0.256h590.592a64 64 0 0 0 64-64l-0.170667-4.394667-35.797333-428.117333a64 64 0 0 0-63.786667-58.666667z m-512.341333 42.666667h512.341333a21.333333 21.333333 0 0 1 21.290667 19.584l35.712 427.178666 0.085333 2.688c0 10.88-9.557333 20.437333-21.333333 20.437334H217.557333l-3.072-0.170667a21.162667 21.162667 0 0 1-18.176-23.210667l41.472-427.221333a21.333333 21.333333 0 0 1 21.205334-19.285333z",fill:o.color,"p-id":"8134"},null,8,d4),t("path",{d:"M685.013333 429.312a21.333333 21.333333 0 0 1 21.333334 21.333333 194.346667 194.346667 0 1 1-388.693334 0 21.333333 21.333333 0 1 1 42.666667 0 151.68 151.68 0 0 0 303.36 0 21.333333 21.333333 0 0 1 21.333333-21.333333zM512 147.882667a194.346667 194.346667 0 0 1 194.346667 194.346666 21.333333 21.333333 0 1 1-42.666667 0 151.68 151.68 0 1 0-303.36 0 21.333333 21.333333 0 1 1-42.666667 0A194.346667 194.346667 0 0 1 512 147.882667z",fill:o.color,"p-id":"8135"},null,8,l4)]))}}),c4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},p4=["fill"],f4=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),s("svg",c4,[t("path",{d:"M353.323071 246.407016L620.37222 510.637979l-265.320785 268.146133c-11.776208 11.775184-11.73425201 30.908964 0.091074 42.73429l0.001023 0c11.825326 11.82635 30.958082 11.867282 42.72815-2.930749L680.899758 535.559579c3.817955-4.273327 8.205892-9.321296 8.933463-12.045337 4.470825-11.112082 2.232854-24.76503301-6.710842-35.987632l-286.98213-286.98213c-11.875468-8.847505-31.096229-8.893554-42.922578 2.932796C341.393367 215.303624 341.439416 234.523361 353.323071 246.407016z","p-id":"5051",fill:o.color},null,8,p4)]))}}),m4={class:"header"},g4={class:"icon-wrapper"},v4={class:"content"},b4={class:"title"},h4={class:"subtitle"},_4={class:"footer"},x4={key:1,class:"extra"},w4={key:2,class:"extra badge"},k4={class:"extra_num"},y4={key:3,class:"badge"},F4=I({props:{card:{type:Object,required:!0}},setup(o){const{$gettext:n}=J(),a={navigation:{component:K8,props:{color:"#ffffff"}},wifi:{component:ze,props:{color:"#ffffff"}},topology:{component:pa,props:{color:"#ffffff"}},speed:{component:e4,props:{color:"#ffffff"}},baby:{component:r4,props:{color:"#ffffff"}},appStore:{component:u4,props:{color:"#ffffff"}}};return(l,u)=>(r(),s("div",{class:lt(["feature-card",o.card.color]),onClick:u[0]||(u[0]=d=>l.$emit("click",o.card))},[t("div",null,[t("div",m4,[t("div",g4,[Yt(l.$slots,"icon",{},()=>{var d;return[o.card.icon&&a[o.card.icon]?(r(),Z(oa((d=a[o.card.icon])==null?void 0:d.component),yo({key:0},a[o.card.icon].props,{class:"icon-svg"}),null,16)):D("",!0)]},!0)])]),t("div",v4,[t("div",b4,i(o.card.title),1),t("div",h4,i(o.card.subtitle),1)]),t("div",_4,[o.card.status?(r(),s("span",{key:0,class:lt(["status",{active:o.card.isActive}])},i(o.card.status),3)):D("",!0),o.card.extra?(r(),s("div",x4,i(o.card.extra),1)):D("",!0),o.card.num?(r(),s("div",w4,[t("span",k4,i(o.card.num),1),dt(" "+i(e(n)("\u53F0\u8BBE\u5907\u5728\u7EBF")),1)])):D("",!0),o.card.tag?(r(),s("span",y4,i(o.card.tag),1)):D("",!0)])]),Y(f4,{class:"right-arrow",color:"#99a1af"})],2))}});var E4=N(F4,[["__scopeId","data-v-58f520f0"]]);const $4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},C4=["fill"],D4=["fill"],B4=["fill"],Y4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",$4,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,C4),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,D4),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,B4)]))}}),A4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},S4=["fill"],z4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",A4,[t("path",{d:"M853.333333 768a42.666667 42.666667 0 0 1 0 85.333333h-341.333333a42.666667 42.666667 0 0 1 0-85.333333h341.333333zM200.832 183.168L426.666667 409.002667l30.165333 30.165333a42.666667 42.666667 0 0 1 0 60.330667l-14.634667 14.634666-241.365333 241.365334a42.666667 42.666667 0 1 1-60.330667-60.330667l225.792-225.877333-225.792-225.792a42.666667 42.666667 0 0 1 60.330667-60.330667z",fill:o.color,"p-id":"5439"},null,8,S4)]))}}),P4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},T4=["fill"],I4=["fill"],Ze=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",P4,[t("path",{d:"M531.216667 77.336366c0 0-8.147564-10.313903-16.938788-10.709923-8.791224-0.396019-18.070564 9.133008-18.070564 9.133008-96.577592 77.010955-246.112304 97.021707-345.075223 110.281709 0 0-14.838963 2.062985-22.257933 3.094478-11.189853 1.555425-21.184485 3.125177-27.569916 8.241708-6.385431 5.117554-5.999644 18.659989-5.999644 18.659989 0 476.176097 84.005252 627.530246 410.888138 736.639247 0 0 4.438079 1.619894 8.085142 1.373277 3.647063-0.042979 7.195889-1.980097 7.195889-1.980097 324.821947-108.462271 408.826176-259.857353 408.826176-736.033449 0 0-1.264806-13.920034-6.709819-18.659989-5.445012-4.739954-13.812587-6.433526-24.073278-7.864108-8.308223-1.157359-24.923646-3.473101-24.923646-3.473101C775.550465 172.782182 626.055662 152.771429 531.216667 77.336366zM486.388692 884.038318c-260.550131-96.030124-328.494593-228.237191-332.62875-628.806309-0.045025-4.400217 0.357134-6.599302 1.663896-8.667404 1.306762-2.068102 3.713578-2.836605 3.713578-2.836605 91.436502-12.233626 223.901443-29.972639 328.759629-91.828428 8.445346-4.982478 17.749246-11.634991 25.087375-11.634991 7.338129 0 15.890922 6.689353 24.289196 11.686157 103.57496 61.632709 234.845703 79.437214 327.058894 91.777263 0 0 4.41659 0.768503 5.910617 2.836605 1.494027 2.068102 2.324952 4.094248 2.309602 6.16542-2.819209 380.861264-55.186903 527.575744-329.520969 630.016881-9.733689 3.634784-19.105127 8.231475-27.533077 8.231475C507.070734 890.978381 495.039723 887.22694 486.388692 884.038318z",fill:o.color,"p-id":"5082"},null,8,T4),t("path",{d:"M763.882728 456.981942c-32.383548 146.597823-101.757568 233.810117-243.305375 299.834856-14.22191 1.440815-25.321712 13.450337-25.321712 28.051893 0 15.572674 12.624529 28.197202 28.197202 28.197202 4.321422 0 8.41567-0.972141 12.076036-2.709715l0.143263 0.393973c158.820192-71.15048 242.084571-167.561273 280.661168-345.308537 0.969071-2.781346 1.496074-5.7694 1.496074-8.881274 0-14.898315-12.07706-26.975375-26.975375-26.975375-14.898315 0-26.975375 12.07706-26.975375 26.975375C763.878634 456.701556 763.879658 456.841749 763.882728 456.981942z",fill:o.color,"p-id":"5083"},null,8,I4)]))}}),M4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},L4=["fill"],O4=["fill"],Xa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",M4,[t("path",{d:"M762 942H262c-71.68 0-130-58.32-130-130V212c0-71.68 58.32-130 130-130h350c16.56 0 30 13.43 30 30v151.56c0 38.59 31.41 70 70 70h150c16.56 0 30 13.43 30 30V812c0 71.68-58.32 130-130 130zM262 142c-38.59 0-70 31.41-70 70v600c0 38.59 31.41 70 70 70h500c38.59 0 70-31.41 70-70V393.57H712c-71.68 0-130-58.32-130-130V142H262z","p-id":"13142",fill:o.color},null,8,L4),t("path",{d:"M862 393.57H712c-71.68 0-130-58.32-130-130V112c0-12.15 7.32-23.11 18.55-27.73a29.938 29.938 0 0 1 32.71 6.59l250 251.56c8.55 8.59 11.07 21.47 6.43 32.67s-15.58 18.48-27.69 18.48zM642 184.75v78.82c0 38.59 31.41 70 70 70h77.89L642 184.75zM487 379.5H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h175c16.57 0 30 13.43 30 30s-13.43 30-30 30zM712 542H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h400c16.56 0 30 13.43 30 30s-13.44 30-30 30zM712 704.5H312c-16.57 0-30-13.44-30-30s13.43-30 30-30h400c16.56 0 30 13.44 30 30s-13.44 30-30 30z","p-id":"13143",fill:o.color},null,8,O4)]))}}),to=/\d+\.\d+\.\d+\.\d+/,N4=o=>to.test(o)&&ye.IPv4.isValid(o),qt=o=>{const n=ye.IPv4.parse(o).toByteArray();return n[0]<<24|n[1]<<16|n[2]<<8|n[3]},Ba=o=>ye.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),V4=o=>{if(!to.test(o)||!ye.IPv4.isIPv4(o))return!1;let n=0,a=qt(o);for(let l=31;l>=0&&(a&1<{let u=qt(o)&qt(n),d=qt(a),c=qt(l),g=~qt(n);return du+1&&c{let a=qt(n),l=qt(o)&a,u=~a,d;return u>=105?(d=l|u-5,l=l|100):u>=3?(d=l|u-1,l=l|2):(l=l|1,d=l),[Ba(l),Ba(d)]},U4=o=>ye.IPv4.subnetMaskFromPrefixLength(o).toString();var Lt={isValidMask:V4,isValidIPv4:N4,isValidMaskRange:G4,calcMaskRange:j4,prefixToMask:U4};const ma=o=>(ut("data-v-22104807"),o=o(),ct(),o),q4=["onSubmit"],R4={class:"actioner-dns_header"},W4={class:"actioner-dns_body"},H4={class:"label-item"},J4={class:"label-item_key"},Z4={class:"label-item_value"},K4={class:"label-item"},Q4={class:"label-item_key"},X4={class:"label-item_value"},t7={key:0,class:"chose_dhcp"},e7={key:0,class:"dhcp_info"},a7={key:1,class:"dhcp_info"},o7={class:"label-item"},n7={class:"label-item_key"},i7={class:"label-item_value"},r7={class:"label-item"},s7={class:"label-item_key"},d7={class:"label-item_value"},l7={class:"actioner-dns_footer"},u7=["disabled"],c7={key:1,class:"actioner-dns"},p7={class:"actioner-dns_header"},f7={class:"actioner-dns_body"},m7={key:0,class:"setting_status"},g7=ma(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),v7={class:"config-message"},b7=["href"],h7={key:1,class:"setting_status"},_7=ma(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),x7={class:"config-message"},w7={key:2,class:"setting_status"},k7=ma(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),y7={class:"config-message"},F7=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(0),d=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const c=E(!1);E(!0),E(!1);const k=E(""),g=E(2),p=E(!1),m=E("timeout");let v=!0;(()=>{G.Guide.GetLan.GET().then(h=>{h.data.result&&(p.value=h.data.result.enableDhcp||!1,h.data.result.enableDhcp=!1,d.value=h.data.result,h.data.result.lanIp!==location.hostname&&(v=!1))})})();const y=()=>{const h=d.value;if(!Lt.isValidIPv4(h.lanIp)){$.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Lt.isValidMask(h.netMask)){$.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const _=Lt.calcMaskRange(h.lanIp,h.netMask);h.dhcpStart=_[0],h.dhcpEnd=_[1],d.value=h},f=()=>{const h=d.value;if(!Lt.isValidIPv4(h.lanIp)){$.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Lt.isValidMask(h.netMask)){$.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(h.enableDhcp&&!(Lt.isValidIPv4(h.dhcpStart)&&Lt.isValidIPv4(h.dhcpEnd)&&Lt.isValidMaskRange(h.lanIp,h.netMask,h.dhcpStart,h.dhcpEnd))){$.Warning(a("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const _=$.Loading(a("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let x=0;const C=A=>{m.value=A,u.value=1,x=1,_.Close()},S=()=>{const A=new Date().getTime()+3e4,z=v?location.protocol+"//"+h.lanIp+(location.port?":"+location.port:""):location.origin,B=z+"/luci-static/resources/icons/loading.gif",H=()=>{x==0&&(new Date().getTime()>A?C("timeout"):window.setTimeout(q,2e3))},M=()=>{x==0&&(k.value=z+location.pathname,C("success"),window.setTimeout(()=>{g.value=1},1e3),window.setTimeout(()=>{location.href=k.value},2e3))},q=()=>{if(x!=0)return;console.log("check online ",B);const T=new Image;T.onload=M,T.onerror=H,T.src=B};window.setTimeout(q,5e3)};G.Guide.LanIp.POST(h).then(A=>{var z;if(A!=null&&A.data){if((A.data.success||0)==0)return;if((z=A.data)!=null&&z.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{x==0&&(C("fail"),$.Error(A))}),S(),window.setTimeout(()=>{x==0&&C("timeout")},3e4)},F=h=>{h.preventDefault(),n.Close&&n.Close()},w=h=>{location.reload()};return(h,_)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[u.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ft(f,["prevent"])},[t("div",R4,[t("span",null,i(e(a)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",W4,[t("div",H4,[t("div",J4,[t("span",null,i(e(a)("IPv4\u5730\u5740")),1)]),t("div",Z4,[O(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":_[0]||(_[0]=x=>d.value.lanIp=x),onChange:y},null,544),[[at,d.value.lanIp,void 0,{trim:!0}]])])]),t("div",K4,[t("div",Q4,[t("span",null,i(e(a)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",X4,[O(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":_[1]||(_[1]=x=>d.value.netMask=x),onChange:y},null,544),[[at,d.value.netMask,void 0,{trim:!0}]])])]),p.value?(r(),s("div",t7,[Y(qa,{modelValue:d.value.enableDhcp,"onUpdate:modelValue":_[2]||(_[2]=x=>d.value.enableDhcp=x)},{default:V(()=>[d.value.enableDhcp?(r(),s("span",e7,i(e(a)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(r(),s("span",a7,i(e(a)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):D("",!0),d.value.enableDhcp?(r(),s(U,{key:1},[t("div",o7,[t("div",n7,[t("span",null,i(e(a)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",i7,[O(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":_[3]||(_[3]=x=>d.value.dhcpStart=x)},null,512),[[at,d.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",r7,[t("div",s7,[t("span",null,i(e(a)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",d7,[O(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":_[4]||(_[4]=x=>d.value.dhcpEnd=x)},null,512),[[at,d.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):D("",!0)]),t("div",l7,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:c.value},i(e(a)("\u786E\u8BA4")),9,u7),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:F},i(e(a)("\u53D6\u6D88")),1)])],40,q4)):u.value==1?(r(),s("div",c7,[t("div",p7,[t("span",null,i(e(a)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",f7,[m.value=="success"?(r(),s("div",m7,[g7,t("div",v7,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:k.value,class:"NewAdress"},i(e(a)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+g.value})),9,b7)])):m.value=="fail"?(r(),s("div",h7,[_7,t("div",x7,i(e(a)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,i(e(a)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w},i(e(a)("\u6211\u77E5\u9053\u4E86")),1)])):m.value=="timeout"?(r(),s("div",w7,[k7,t("div",y7,i(e(a)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,i(e(a)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w},i(e(a)("\u5237\u65B0\u9875\u9762")),1)])):D("",!0)])])):D("",!0)]),_:1},8,["Close"]))}});var E7=N(F7,[["__scopeId","data-v-22104807"]]);const $7=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(E7,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},C7={key:0,class:"actioner-dns"},D7={class:"actioner-dns_header"},B7={class:"actioner-dns_body"},Y7={class:"sandbox_info"},A7={key:0,class:"disk_loading_icon"},S7={class:"disk_loading_info"},z7={key:1,class:"disk_tips"},P7={class:"label-item"},T7={class:"label-item_key"},I7={class:"label-item_value"},M7={value:""},L7=["value"],O7={class:"label-item"},N7={class:"label-item_key"},V7={class:"label-item_value"},G7={selected:"true",value:""},j7=["value","disabled"],U7={class:"sandbox_tips"},q7={class:"sandbox_info timeout"},R7={class:"sandbox_roboot_tips"},W7={class:"sandbox_roboot_refresh"},H7={key:0,class:"actioner-dns_footer"},J7=["disabled"],Z7={key:1,class:"actioner-tips"},K7={class:"actioner-tips_header"},Q7={class:"actioner-tips_body"},X7={class:"sandbox_info"},tp={class:"actioner-tips_footer"},ep={key:2,class:"actioner-tips"},ap={class:"actioner-tips_header"},op={class:"actioner-tips_body"},np={class:"sandbox_info"},ip={class:"actioner-tips_footer"},rp=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(0);E("disk");const d=E(""),c=E(3),k=E(""),g=E([]),p=E(""),m=E(null);(()=>{G.Nas.SandboxDisks.GET().then(x=>{var C;if(x!=null&&x.data&&(C=x.data)!=null&&C.result){m.value=x.data.result;return}throw a("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch(x=>{d.value=x,u.value=3})})();const b=()=>G.System.Reboot.POST().then(x=>{var C;if(!(x!=null&&x.data&&(((C=x==null?void 0:x.data)==null?void 0:C.success)||0)==0))throw a("\u672A\u77E5\u9519\u8BEF")}),y=x=>{var C,S;p.value="",g.value=k.value&&((S=(C=m.value)==null?void 0:C.disks.find(A=>A.path==k.value))==null?void 0:S.childrens)||[]},f=()=>{c.value>0&&(c.value-=1,window.setTimeout(f,1e3))},F=x=>{x.preventDefault(),n.Close&&n.Close()},w=()=>{new Promise((x,C)=>{const S="/luci-static/resources/icons/loading.gif",A=()=>{window.setTimeout(z,2e3)},z=()=>{const B=new Image;B.onload=x,B.onerror=A,B.src=S};window.setTimeout(z,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},h=x=>{const C=$.Loading(a("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));G.Nas.Sandbox.POST({path:p.value}).then(S=>{var A;if(S!=null&&S.data){if((S.data.success||0)==0)return u.value=2,window.setTimeout(f,1e3),b();if((A=S.data)!=null&&A.error)throw S.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).then(w).catch(S=>$.Warning(S)).finally(()=>C.Close())},_=()=>{u.value=0};return(x,C)=>{const S=_t("icon-loading");return r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[u.value==0||u.value==2?(r(),s("div",C7,[t("div",D7,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",B7,[t("p",Y7,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),u.value==0?(r(),s(U,{key:0},[m.value?D("",!0):(r(),s("div",A7,[Y(S,{size:38,color:"currentColor"}),t("span",S7,i(e(a)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),m.value&&m.value.disks.length==0?(r(),s("div",z7,[Y(It),t("span",null,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):D("",!0),m.value&&m.value.disks.length>0?(r(),s(U,{key:2},[t("div",P7,[t("div",T7,[t("span",null,i(e(a)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",I7,[O(t("select",{name:"",id:"",onChange:y,"onUpdate:modelValue":C[0]||(C[0]=A=>k.value=A)},[t("option",M7,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(r(!0),s(U,null,tt(m.value.disks,(A,z)=>(r(),s("option",{value:A.path,key:z},i(A.venderModel)+"\uFF08"+i(A.size)+"\uFF09 ",9,L7))),128))],544),[[pt,k.value]])])]),t("div",O7,[t("div",N7,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",V7,[O(t("select",{name:"",id:"","onUpdate:modelValue":C[1]||(C[1]=A=>p.value=A)},[t("option",G7,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(r(!0),s(U,null,tt(g.value,(A,z)=>(r(),s("option",{value:A.path,key:z,disabled:A.sizeInt<(1<<30)*1||A.isSystemRoot},i(A.name)+"\uFF08"+i(A.filesystem||e(a)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+i(A.total),9,j7))),128))],512),[[pt,p.value]])])]),t("div",U7,[Y(It),t("span",null,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):D("",!0)],64)):D("",!0),u.value==2?(r(),s(U,{key:1},[t("p",q7,[dt(i(e(a)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+i(c.value)+"s\uFF09",1)]),t("p",R7,[dt(i(e(a)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",W7,i(e(a)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):D("",!0)]),u.value==0?(r(),s("div",H7,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!p.value,onClick:C[2]||(C[2]=A=>u.value=1)},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),9,J7),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:F},i(e(a)("\u53D6\u6D88")),1)])):D("",!0)])):D("",!0),u.value==1?(r(),s("div",Z7,[t("div",K7,[t("span",null,i(e(a)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",Q7,[t("p",X7,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",tp,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:h},i(e(a)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0),u.value==3?(r(),s("div",ep,[t("div",ap,[t("span",null,i(e(a)("\u9519\u8BEF")),1)]),t("div",op,[t("p",np,i(d.value),1)]),t("div",ip,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"])}}});var sp=N(rp,[["__scopeId","data-v-58c55341"]]);const dp=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(sp,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},lp={key:0,class:"actioner-dns"},up={class:"actioner-dns_header"},cp={class:"actioner-dns_body"},pp={class:"sandbox_info"},fp={class:"sandbox_environment"},mp={class:"sandbox_environment_info"},gp={class:"sandbox_environment_reboot"},vp=["innerHTML"],bp={class:"actioner-dns_footer"},hp=["disabled"],_p=["disabled"],xp=["disabled"],wp=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(0),d=E(!1),c=()=>{new Promise((v,b)=>{const y="/luci-static/resources/icons/loading.gif",f=()=>{window.setTimeout(F,2e3)},F=()=>{const w=new Image;w.onload=v,w.onerror=f,w.src=y};window.setTimeout(F,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},k=()=>{d.value=!0;const v=$.Loading(a("\u63D0\u4EA4\u4E2D..."));G.Nas.SandboxCommit.POST().then(b=>{var y,f;if(b!=null&&b.data)if((((y=b==null?void 0:b.data)==null?void 0:y.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(f=b==null?void 0:b.data)!=null&&f.error&&alert(b.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{$.Error(b),d.value=!1}).finally(()=>v.Close())},g=()=>{d.value=!0;const v=$.Loading(a("\u91CD\u7F6E\u4E2D..."));G.Nas.SandboxReset.POST().then(b=>{var y,f;if(b!=null&&b.data)if((((y=b==null?void 0:b.data)==null?void 0:y.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(f=b==null?void 0:b.data)!=null&&f.error&&alert(b.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{$.Error(b),d.value=!1}).finally(()=>v.Close())},p=()=>{if(!confirm(a("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;d.value=!0;const v=$.Loading(a("\u6267\u884C\u4E2D..."));G.Nas.SandboxExit.POST().then(b=>{var y,f;if(b!=null&&b.data)if((((y=b==null?void 0:b.data)==null?void 0:y.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(f=b==null?void 0:b.data)!=null&&f.error&&alert(b.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{$.Error(b),d.value=!1}).finally(()=>v.Close())},m=v=>{v.preventDefault(),n.Close&&n.Close()};return(v,b)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[u.value==0?(r(),s("div",lp,[t("div",up,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",cp,[t("p",pp,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",fp,[t("p",null,i(e(a)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,i(e(a)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,i(e(a)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,i(e(a)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",mp,[dt(i(e(a)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",gp,i(e(a)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(a)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,vp)])]),t("div",bp,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:k,disabled:d.value},i(e(a)("\u63D0\u4EA4")),9,hp),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:g,disabled:d.value},i(e(a)("\u91CD\u7F6E")),9,_p),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:d.value},i(e(a)("\u9000\u51FA")),9,xp),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m},i(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var kp=N(wp,[["__scopeId","data-v-9573dc70"]]);const yp=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(kp,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},Fp={class:"item_container"},Ep=["onClick","title"],$p={class:"renew"},Cp={key:0},Dp={key:1,style:{display:"inline-block","margin-left":"4px"}},Bp={class:"app-update-button-menu"},Yp=["onClick"],Ap={class:"app-update-menu-item"},Sp={key:0,class:"app-update-menu-item-loading"},zp={class:"dns_txt"},Pp={key:0,style:{display:"inline-block","margin-left":"4px"}},Tp=I({setup(o){var S,A;const{$gettext:n}=J(),a=E(!0);(A=(S=window.quickstart_configs)==null?void 0:S.update)!=null&&A.disable&&(a.value=!1);const l=E(!1),u=E(a.value),d=E(!1),c=Le(),k=Fe(),g=Q(()=>k.status),p=E(),m=()=>{Ka()};$t(u,z=>{d.value=!0,G.System.AutoCheckUpdate.POST({enable:z}).catch(B=>{$.Warning(B)}).finally(()=>{d.value=!1})});const v=()=>{window.location.href="/cgi-bin/luci/admin/system/ota"},b=()=>{window.location.href="/cgi-bin/luci/admin/status/logs"},y=()=>{window.location.href="/cgi-bin/luci/admin/store/pages/maintance"},f=()=>{dp()},F=()=>{yp()},w=()=>{alert(n("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},h=()=>{$7()},_=()=>{Qa()},x=()=>{var z,B,H,M;window.open(`${(B=(z=window.quickstart_configs)==null?void 0:z.ttyd)!=null&&B.ssl?"https":"http"}://${window.location.hostname}:${((M=(H=window.quickstart_configs)==null?void 0:H.ttyd)==null?void 0:M.port)||7681}/`,"_blank")},C=()=>{l.value=!l.value};return a.value&&setTimeout(()=>{c.requestCheckUpdate()},1100),Qt("sandbox")&&G.Nas.GetSandbox.GET().then(B=>{var H,M,q;B!=null&&B.data&&((((H=B==null?void 0:B.data)==null?void 0:H.success)||0)==0?(M=B==null?void 0:B.data)!=null&&M.result&&(p.value=B.data.result):(q=B==null?void 0:B.data)!=null&&q.error&&alert(B.data.error))}).catch(B=>$.Warning(B)),(z,B)=>{var q,T,j,R,it,ot;const H=_t("icon-loading"),M=_t("switch-box");return r(),s("div",Fp,[t("div",{class:"item",style:{backgroundColor:"#f3f7fd"},onClick:h},[Y(Y4,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u914D\u7F6E")),1)]),e(Qt)("ttyd")?(r(),s("div",{key:0,class:"item",style:{backgroundColor:"#f4fbf7"},onClick:x},[Y(z4,{color:"#00c850",class:"icon"}),t("span",null,i(e(n)("\u7EC8\u7AEF")),1)])):D("",!0),e(Qt)("ota")?(r(),s("div",{key:1,class:"item",style:{backgroundColor:"#f9f7fd"},onClick:v},[t("span",{class:"app-update-button-more",onClick:ft(C,["stop","prevent"]),title:e(n)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[Y(Ee)],8,Ep),Y(Kt,{color:"#ad46ff",class:"icon"}),t("span",$p,[(q=e(c).checkUpdate)!=null&&q.needUpdate?(r(),s("i",Cp)):D("",!0),dt(" "+i(e(n)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),a.value&&e(c).checkUpdate==null?(r(),s("span",Dp,[Y(H,{size:"1em",color:"currentColor"})])):D("",!0)]),O(t("div",Bp,[t("div",{class:"menu_background",onClick:ft(C,["stop","prevent"])},null,8,Yp),t("ul",{onClick:B[1]||(B[1]=ft(()=>{},["stop"]))},[t("li",null,[Y(M,{modelValue:u.value,"onUpdate:modelValue":B[0]||(B[0]=bt=>u.value=bt)},{default:V(()=>[t("span",Ap,i(e(n)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),d.value?(r(),s("span",Sp,[Y(H,{size:"1em",color:"currentColor"})])):D("",!0)])])],512),[[ee,l.value]])])):D("",!0),t("div",{class:lt(["item",{"disabled-style":!((T=e(g))!=null&&T.proto)}]),style:{backgroundColor:"#f1fbfd"},onClick:m},[Y(xe,{color:"#00b8db",class:"icon"}),t("span",zp,[dt(i(e(n)("DNS\u914D\u7F6E"))+" ",1),(j=e(g))!=null&&j.proto?D("",!0):(r(),s("span",Pp,[Y(H,{size:"1em",color:"currentColor"})]))])],2),t("div",{class:"item",style:{backgroundColor:"#fbf5fa"},onClick:_},[Y(Za,{color:"#f6339a",class:"icon"}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),e(Qt)("sandbox")?(r(),s(U,{key:2},[((R=p.value)==null?void 0:R.status)=="unsupport"?(r(),s("div",{key:0,class:"item",style:{backgroundColor:"#f9fafb"},onClick:w},[Y(Ze,{color:"#cac9cd",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((it=p.value)==null?void 0:it.status)=="stopped"?(r(),s("div",{key:1,class:"item",style:{backgroundColor:"#fbf4f5"},onClick:f},[Y(Ze,{color:"#fb2c36",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((ot=p.value)==null?void 0:ot.status)=="running"?(r(),s("div",{key:2,class:"item",style:{backgroundColor:"#dae8fd"},onClick:F},[Y(Ze,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)])):D("",!0)],64)):D("",!0),t("div",{class:"item",style:{backgroundColor:"#fcf7f2"},onClick:b},[Y(Xa,{color:"#ff6900",class:"icon"}),t("span",null,i(e(n)("\u65E5\u5FD7\u67E5\u770B")),1)]),t("div",{class:"item",style:{backgroundColor:"#eff5ff"},onClick:y},[Y(fa,{color:"#553afe",class:"icon"}),t("span",null,i(e(n)("\u7CFB\u7EDF\u7EF4\u62A4")),1)])])}}});var Ip=N(Tp,[["__scopeId","data-v-6ac226af"]]);const Mp={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Lp=["fill"],Op=["fill"],Np=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),s("svg",Mp,[t("path",{d:"M746 112c82.84 0 150 67.16 150 150S828.84 412 746 412 596 344.84 596 262 663.16 112 746 112z m0 48C689.668 160 644 205.668 644 262S689.668 364 746 364 848 318.332 848 262 802.332 160 746 160zM746 612c82.84 0 150 67.16 150 150S828.84 912 746 912 596 844.84 596 762s67.16-150 150-150z m0 48c-56.332 0-102 45.668-102 102s45.668 102 102 102 102-45.668 102-102-45.668-102-102-102zM262 364c82.84 0 150 67.16 150 150S344.84 664 262 664 112 596.84 112 514 179.16 364 262 364z m0 48C205.668 412 160 457.668 160 514S205.668 616 262 616 364 570.332 364 514 318.332 412 262 412z",fill:o.color,"p-id":"5059"},null,8,Lp),t("path",{d:"M337.7 442.744l293.488-169.62 40.464 70.16-293.484 169.62zM387.708 526.728l277.02 160.12-40.468 70.156-277.02-160.12z",fill:o.color,"p-id":"5060"},null,8,Op)]))}}),Vp={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Gp=["fill"],eo=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Vp,[t("path",{d:"M827.84 886.4H187.9184375c-32.2659375 0-53.76-21.51375-53.76-53.784375V714.28625a53.889375 53.889375 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.35375a53.8940625 53.8940625 0 0 1-53.76 53.76z m-5.375625-172.11375H187.9184375v118.35375h634.5309375V714.28625z m-570 32.664375a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.865-26.88z m78.3403125 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875z m78.6 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875zM827.215625 624.9490625H187.2846875c-32.2603125 0-53.76-21.51375-53.76-53.784375V452.8353125a53.8940625 53.8940625 0 0 1 53.76-53.784375H827.196875a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.784375z m-5.38125-172.11375H187.285625v118.329375H821.815625V452.8353125z m-569.994375 31.9921875a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m77.889375 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8565625-26.88z m76.963125-0.403125a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.163125z m419.7890625-120.744375H186.56c-32.2509375 0-53.76-21.5278125-53.76-53.7984375V191.5521875a53.8940625 53.8940625 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.7984375z m-5.3615625-172.1278125H186.56v118.329375h634.56V191.5521875z m-570.0140625 32.2753125a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8753125-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8846875-26.88z",fill:o.color,"p-id":"19012"},null,8,Gp)]))}}),jp={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Up=["fill"],qp=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),s("svg",jp,[t("path",{d:"M716.8 750.933333c47.786667 0 95.573333-27.306667 119.466667-68.266666 23.893333-40.96 23.893333-95.573333 0-136.533334-23.893333-40.96-68.266667-68.266667-119.466667-68.266666-10.24 0-17.066667-3.413333-23.893333-10.24-6.826667-6.826667-10.24-13.653333-10.24-23.893334 0-95.573333-75.093333-170.666667-170.666667-170.666666s-170.666667 75.093333-170.666667 170.666666v6.826667c81.92 23.893333 136.533333 95.573333 136.533334 180.906667 0 13.653333-6.826667 23.893333-17.066667 30.72-10.24 6.826667-23.893333 6.826667-34.133333 0-10.24-6.826667-17.066667-17.066667-17.066667-30.72 0-64.853333-54.613333-119.466667-119.466667-119.466667S170.666667 566.613333 170.666667 631.466667 225.28 750.933333 290.133333 750.933333H716.8zM296.96 819.2c-102.4 3.413333-187.733333-75.093333-194.56-177.493333-3.413333-102.4 75.093333-191.146667 177.493333-194.56 0-126.293333 95.573333-228.693333 221.866667-238.933334 122.88-6.826667 232.106667 81.92 249.173333 208.213334 105.813333 17.066667 180.906667 112.64 170.666667 218.453333-10.24 102.4-98.986667 184.32-204.8 184.32H296.96z",fill:o.color,"p-id":"8044"},null,8,Up)]))}}),Rp={class:"app-container_samba"},Wp={key:0,class:"sambas-item"},Hp={class:"sambas-item_name"},Jp={class:"sambas-item_value"},Zp={class:"sambas-item"},Kp={class:"sambas-item_name tit"},Qp={class:"sambas-item_value tit"},Xp={class:"samba-item"},tf={class:"samba-item_name"},ef=["title"],af=["href"],of=I({props:{sambas:{type:Array}},setup(o){const{$gettext:n,$ngettext:a}=J(),l=window.location.hostname;return(u,d)=>{var c;return r(),s("ul",Rp,[o.sambas?(r(),s("li",Wp,[t("div",Hp,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Jp,[t("span",null,i((c=o.sambas)!=null&&c.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)])])):D("",!0),t("li",Zp,[t("div",Kp,[t("span",null,i(e(n)("\u5730\u5740")),1)]),t("div",Qp,[t("span",null,i(e(n)("\u76EE\u5F55")),1)])]),(r(!0),s(U,null,tt(o.sambas,k=>(r(),s("li",Xp,[t("div",tf,[t("span",null,"smb://"+i(e(l))+"/"+i(k.shareName),1)]),t("div",{class:"samba-item_value",title:k.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+k.path},i(k.path),9,af)],8,ef)]))),256))])}}});var nf=N(of,[["__scopeId","data-v-d0b06580"]]);const rf={class:"webdav-item"},sf={class:"webdav-item_name"},df={class:"webdav-item_value"},lf={key:0,class:"webdav-item"},uf={class:"webdav-item_name"},cf={class:"webdav-item_value"},pf=["href"],ff={key:1,class:"webdav-item"},mf={class:"webdav-item_name"},gf={class:"webdav-item_value"},vf=["href"],bf={key:2,class:"webdav-item"},hf={class:"webdav-item_name"},_f={class:"webdav-item_value"},xf=I({props:{webdav:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>{var d;return`http://${location.hostname}:${(d=n.webdav)==null?void 0:d.port}`});return(d,c)=>{var k,g,p,m,v,b,y;return r(),s(U,null,[t("li",rf,[t("div",sf,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",df,[t("span",null,i((k=o.webdav)!=null&&k.path?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])]),(g=o.webdav)!=null&&g.path?(r(),s("li",lf,[t("div",uf,[t("span",null,i(e(a)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",cf,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.webdav)==null?void 0:p.path)},i((m=o.webdav)==null?void 0:m.path),9,pf)])])):D("",!0),(v=o.webdav)!=null&&v.port?(r(),s("li",ff,[t("div",mf,[t("span",null,i(e(a)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",gf,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,vf)])])):D("",!0),(b=o.webdav)!=null&&b.username?(r(),s("li",bf,[t("div",hf,[t("span",null,i(e(a)("\u8D26\u53F7:")),1)]),t("div",_f,[t("span",null,i((y=o.webdav)==null?void 0:y.username),1)])])):D("",!0)],64)}}});var wf=N(xf,[["__scopeId","data-v-31dcf6eb"]]);const kf={class:"app-container_linkease"},yf={class:"linkease-item"},Ff={class:"linkease-item_name"},Ef={class:"linkease-item_value"},$f={key:0,class:"configure"},Cf={key:0,class:"linkease-item"},Df={class:"linkease-item_name"},Bf={class:"linkease-item_value"},Yf=["href"],Af={href:"https://www.linkease.com",target:"_blank"},Sf=I({props:{linkease:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>{var c;return`http://${location.hostname}:${(c=n.linkease)==null?void 0:c.port}`}),d=()=>{Wa({setup:0})};return(c,k)=>{var g,p,m;return r(),s("ul",kf,[t("li",yf,[t("div",Ff,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Ef,[(g=o.linkease)!=null&&g.enabel?(r(),s("span",$f,i(e(a)("\u5DF2\u914D\u7F6E")),1)):(r(),s("span",{key:1,class:"configure enabel",onClick:k[0]||(k[0]=v=>d())},i(e(a)("\u672A\u914D\u7F6E")),1))])]),(p=o.linkease)!=null&&p.enabel?(r(),s(U,{key:0},[(m=o.linkease)!=null&&m.port?(r(),s("li",Cf,[t("div",Df,[t("span",null,i(e(a)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",Bf,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,Yf)])])):D("",!0)],64)):D("",!0),t("div",null,[t("a",Af,i(e(a)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var zf=N(Sf,[["__scopeId","data-v-132ef714"]]);const ao=o=>(ut("data-v-e1182f0e"),o=o(),ct(),o),Pf={href:"/cgi-bin/luci/admin/services/samba4"},Tf={class:"content"},If={class:"tab"},Mf={class:"title"},Lf={key:0},Of={key:1},Nf=ao(()=>t("div",{class:"title"},"SAMBA",-1)),Vf=ao(()=>t("div",{class:"title"},"WEBDAV",-1)),Gf=I({setup(o){const{$gettext:n}=J(),a=E(!1);E("linkease");const l=E(),u=tn(),d=E(!1);(()=>{G.Nas.Service.Status.GET().then(f=>{var F;if((F=f==null?void 0:f.data)!=null&&F.result){const w=f.data.result;l.value=w,b(),w.webdav&&(u.webdav=w.webdav)}})})();const k=()=>{Wa({setup:0})},g=()=>{a.value=!a.value},p=()=>{g(),zt.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")},m=E(0),v=E(!1),b=()=>{var w,h,_,x,C,S;if(v.value)return;const F=[Boolean((h=(w=l.value)==null?void 0:w.linkease)==null?void 0:h.enabel),Boolean((x=(_=l.value)==null?void 0:_.sambas)==null?void 0:x.length),Boolean((S=(C=l.value)==null?void 0:C.webdav)==null?void 0:S.path)].findIndex(Boolean);m.value=F===-1?0:F},y=f=>{m.value=f,v.value=!0};return(f,F)=>(r(),Z(Wt,{title:e(n)("\u5B58\u50A8\u670D\u52A1"),style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":d.value,"onUpdate:isSettingsMenuOpen":F[4]||(F[4]=w=>d.value=w)},{icon:V(()=>[Y(Np,{color:"#4f39f6",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:k},[Y(fa,{color:"#0a0a0a",class:"icon1 settings-icon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u5B58\u50A8\u670D\u52A1")),1),t("div",{class:"rotation",onClick:F[0]||(F[0]=ft(w=>d.value=!d.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])])]),"settings-menu":V(()=>[t("div",null,[t("a",Pf,i(e(n)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:p},i(e(n)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:V(()=>{var w,h,_,x,C,S,A,z,B;return[t("div",Tf,[t("div",If,[t("div",{class:lt(["item cloud",{active:m.value==0}]),onClick:F[1]||(F[1]=H=>y(0))},[Y(qp,{color:"#155dfc",class:"icon2"}),t("div",Mf,i(e(n)("\u6613\u6709\u4E91")),1),(h=(w=l.value)==null?void 0:w.linkease)!=null&&h.enabel?(r(),s("span",Lf,i(e(n)("\u5DF2\u914D\u7F6E")),1)):(r(),s("span",Of,i(e(n)("\u672A\u914D\u7F6E")),1))],2),t("div",{class:lt(["item memory",{active:m.value==1}]),onClick:F[2]||(F[2]=H=>y(1))},[Y(eo,{color:"#0bab47",class:"icon2"}),Nf,t("span",null,i((x=(_=l.value)==null?void 0:_.sambas)!=null&&x.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2),t("div",{class:lt(["item network",{active:m.value==2}]),onClick:F[3]||(F[3]=H=>y(2))},[Y(xe,{color:"#9810fa",class:"icon2"}),Vf,t("span",null,i((S=(C=l.value)==null?void 0:C.webdav)!=null&&S.path?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2)]),m.value==0?(r(),Z(zf,{key:0,linkease:(A=l.value)==null?void 0:A.linkease},null,8,["linkease"])):m.value==1?(r(),Z(nf,{key:1,sambas:(z=l.value)==null?void 0:z.sambas},null,8,["sambas"])):m.value==2?(r(),Z(wf,{key:2,webdav:(B=l.value)==null?void 0:B.webdav},null,8,["webdav"])):D("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var jf=N(Gf,[["__scopeId","data-v-e1182f0e"]]);const Uf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},qf=["fill"],Rf=["fill"],Ya=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Uf,[t("path",{d:"M554.688 682.624a42.688 42.688 0 0 0 0 85.376h0.448a42.688 42.688 0 1 0 0-85.376h-0.448zM767.488 682.624a42.688 42.688 0 0 0 0 85.376H768a42.688 42.688 0 1 0 0-85.376h-0.512z",fill:o.color,"p-id":"5230"},null,8,qf),t("path",{d:"M465.28 96h93.44c59.456 0 106.88 0 144.96 4.48 39.36 4.48 72.128 14.08 100.992 35.584 28.8 21.44 47.424 50.112 63.104 86.464 15.232 35.2 28.8 80.64 45.952 137.6l52.48 174.848c1.28 4.48 2.752 9.28 3.584 14.336v0.32l0.192 1.216c0.64 5.12 0.64 10.048 0.64 14.72v3.392c0 72.704 0 130.304-5.632 175.68-5.824 46.592-18.112 84.736-45.952 115.84-4.992 5.568-10.304 10.88-15.936 15.872-31.104 27.84-69.184 40.128-115.84 45.952-45.312 5.696-102.912 5.696-175.616 5.696H412.352c-72.704 0-130.304 0-175.68-5.696-46.592-5.824-84.672-18.112-115.84-45.888a202.944 202.944 0 0 1-15.872-16c-27.84-31.04-40.128-69.12-45.952-115.84-5.696-45.312-5.696-102.912-5.696-175.616v-3.328c0-4.672 0-9.664 0.704-14.784v-0.32l0.192-1.216c0.832-5.056 2.24-9.856 3.584-14.272l52.48-174.912c17.088-56.96 30.72-102.4 45.952-137.6 15.68-36.352 34.304-65.024 63.104-86.4 28.8-21.504 61.632-31.104 100.992-35.712C358.4 96 405.76 96 465.28 96zM327.68 164.032c-33.152 3.84-53.632 11.072-70.144 23.36-16.512 12.288-29.376 29.824-42.56 60.48-13.568 31.424-26.176 73.28-43.968 132.544l-42.688 142.272h767.36l-42.688-142.272c-17.792-59.264-30.4-101.12-43.968-132.48-13.184-30.72-26.048-48.256-42.56-60.544-16.512-12.288-36.992-19.52-70.144-23.36C662.336 160 618.624 160 556.736 160H467.328c-61.952 0-105.6 0-139.648 4.032zM122.496 736.64c5.056 40.128 14.528 63.616 30.144 81.088 3.456 3.84 7.04 7.488 10.88 10.88 17.536 15.68 40.96 25.088 81.152 30.144 40.96 5.12 94.464 5.184 169.92 5.184h194.816c75.456 0 129.024 0 169.92-5.184 40.128-5.056 63.616-14.464 81.152-30.08 3.84-3.456 7.424-7.104 10.88-10.944 15.616-17.536 25.088-40.96 30.08-81.088 4.672-37.248 5.12-84.928 5.248-150.016H117.312c0.064 65.088 0.512 112.768 5.184 150.016z",fill:o.color,"p-id":"5231"},null,8,Rf)]))}}),Wf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Hf=["fill"],Jf=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",Wf,[t("path",{d:"M912 208H427.872l-50.368-94.176A63.936 63.936 0 0 0 321.056 80H112c-35.296 0-64 28.704-64 64v736c0 35.296 28.704 64 64 64h800c35.296 0 64-28.704 64-64v-608c0-35.296-28.704-64-64-64z m-800-64h209.056l68.448 128H912v97.984c-0.416 0-0.8-0.128-1.216-0.128H113.248c-0.416 0-0.8 0.128-1.248 0.128V144z m0 736v-96l1.248-350.144 798.752 1.216V784h0.064v96H112z",fill:o.color,"p-id":"5094"},null,8,Hf)]))}}),Zf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Kf=["fill"],Qf=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Zf,[t("path",{d:"M136.12 251.958a83.054 83.054 0 0 1-0.12-4.458c0-32.903 19.447-58.344 41.115-75.981 21.984-17.893 51.365-32.231 84.13-43.511C327.163 105.315 415.641 92 511.5 92c95.859 0 184.337 13.315 250.255 36.008 32.765 11.28 62.146 25.618 84.13 43.511 20.221 16.458 38.506 39.713 40.86 69.485l0.255 0.002v532.88c0 32.888-19.031 58.62-40.776 76.719-21.978 18.294-51.385 32.976-84.207 44.53C696.011 918.373 607.438 932 511.5 932c-95.938 0-184.511-13.627-250.517-36.865-32.822-11.554-62.229-26.236-84.207-44.53C155.031 832.506 136 806.774 136 773.886V251.96l0.12-0.002z m79.88-4.459v0.002c0 0.016-0.003 0.151 0.098 0.491 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.49 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 310.459 422.067 323 511.5 323c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.606 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-0.014-0.012c-0.001-0.042-0.01-0.182-0.098-0.479-0.112-0.379-0.397-1.16-1.103-2.347-1.479-2.49-4.55-6.323-10.415-11.096-11.97-9.743-31.722-20.293-59.67-29.914C680.204 184.541 600.933 172 511.5 172c-89.433 0-168.704 12.541-224.214 31.651-27.948 9.621-47.7 20.171-59.67 29.914-5.865 4.773-8.936 8.606-10.415 11.096-0.706 1.187-0.991 1.968-1.103 2.347-0.101 0.34-0.098 0.475-0.098 0.491z m591 100.656c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 389.685 607.359 403 511.5 403c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v85.359c0.001 0.042 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 496.459 422.067 509 511.5 509c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-85.358z m-45.245 204.837C695.837 575.685 607.359 589 511.5 589c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v70.359c0.001 0.041 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 667.459 422.067 680 511.5 680c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-70.358c-13.955 7.052-29.194 13.311-45.245 18.837zM807 705.155c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 746.685 607.359 760 511.5 760c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837V773.894c0 0.181-0.003 1.283 1.399 3.695 1.555 2.675 4.69 6.646 10.556 11.529 11.976 9.968 31.701 20.738 59.594 30.557C342.97 839.186 422.146 852 511.5 852c89.354 0 168.53-12.814 223.951-32.325 27.893-9.819 47.618-20.589 59.594-30.557 5.866-4.883 9.001-8.854 10.556-11.529 1.402-2.412 1.399-3.514 1.399-3.695v-68.739z",fill:o.color,"p-id":"9960"},null,8,Kf)]))}}),Xf={},t9={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},e9=jt('',1),a9=[e9];function o9(o,n){return r(),s("svg",t9,a9)}var Aa=N(Xf,[["render",o9]]);const n9={},i9={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},r9=jt('',1),s9=[r9];function d9(o,n){return r(),s("svg",i9,s9)}var l9=N(n9,[["render",d9]]);const Ge=o=>(ut("data-v-b5895698"),o=o(),ct(),o),u9=["onSubmit"],c9=Ge(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),p9={class:"action-body"},f9={class:"disk-info"},m9=Ge(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),g9={key:0,class:"disk-info_mount-name"},v9={key:1,class:"disk-info_mount-name"},b9={key:0,class:"label-item"},h9={class:"label-item_key"},_9={class:"label-item_path"},x9={class:"label-item"},w9={class:"label-item_key"},k9={class:"label-item_value"},y9={class:"action-footer"},F9=Ge(()=>t("div",{class:"auto"},null,-1)),E9=["disabled"],$9=["disabled"],C9={key:1,class:"action result"},D9={class:"action-body"},B9=Ge(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),Y9={class:"action-body_msg"},A9=["innerHTML"],S9={class:"btns"},z9=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var F;const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.Close&&n.Close()},d=w=>{w.preventDefault(),n.Cancel&&n.Cancel(),u()},c=w=>{n.Next&&n.Next(w),u()},k=E(!1),g=E(0),p=E("/mnt/data_"+((F=n==null?void 0:n.mount)==null?void 0:F.name)),m=w=>{g.value=w};E(n.mount?"":"format"),E();const v=E(),b=()=>L(this,null,function*(){const w=n.mount;if(w==null){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(w.path==null||w.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(w.uuid==null||w.uuid==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}k.value=!0;const h=$.Loading(a("\u6302\u8F7D\u4E2D..."));try{const _=yield G.Nas.Disk.Partition.Mount.POST({path:w.path,uuid:w.uuid,mountPoint:p.value});if(_!=null&&_.data){const{result:x,error:C}=_==null?void 0:_.data;C&&$.Warning(C),x&&($.Success(a("\u6302\u8F7D\u6210\u529F")),v.value=x,m(1))}}catch(_){$.Error(_)}h.Close(),k.value=!1}),y=()=>{if(v.value&&v.value.mountPoint){c(v.value.mountPoint);return}$.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},f=()=>{};return(w,h)=>(r(),Z(wt,{type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>{var _,x;return[g.value==0?(r(),s("form",{key:0,class:"action format",onSubmit:ft(f,["prevent"])},[c9,t("div",p9,[t("div",f9,[m9,o.mount?(r(),s("div",g9,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint),1)])):o.disk?(r(),s("div",v9,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),s("div",b9,[t("div",h9,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",_9,i(o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF0C"+i((x=(_=o.mount)==null?void 0:_.filesystem)==null?void 0:x.toUpperCase())+"\uFF09",1)])):D("",!0),t("div",x9,[t("div",w9,[t("span",null,i(e(a)("\u6302\u8F7D\u70B9")),1)]),t("div",k9,[O(t("input",{type:"text","onUpdate:modelValue":h[0]||(h[0]=C=>p.value=C)},null,512),[[at,p.value,void 0,{trim:!0}]])])])]),t("div",y9,[F9,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:k.value,onClick:b},i(e(a)("\u786E\u5B9A")),9,E9),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d,type:"button",disabled:k.value},i(e(a)("\u8FD4\u56DE")),9,$9)])],40,u9)):g.value==1?(r(),s("div",C9,[t("div",D9,[B9,t("div",Y9,i(e(a)("\u6302\u8F7D\u6210\u529F")),1),v.value?(r(),s("div",{key:0,class:"action-body_info",innerHTML:e(a)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:v.value.path||"",mount:v.value.mountPoint||""},!0)},null,8,A9)):D("",!0),t("div",S9,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},i(o.action=="nas"?e(a)("\u5B8C\u6210"):e(a)("\u4E0B\u4E00\u6B65")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var P9=N(z9,[["__scopeId","data-v-b5895698"]]),oo=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(P9,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const T9={class:"disk-content"},I9={class:"disk-item"},M9={class:"disk-item_name"},L9={key:0},O9={key:1},N9={key:2},V9={class:"disk_value"},G9={class:"disk-item_value"},j9={class:"value-data"},U9={key:0,class:"disk-item"},q9={class:"disk-item_name"},R9={key:0},W9=["href"],H9={key:0},J9={class:"disk_status"},Z9={key:0,class:"disk_status_item"},K9={key:0,class:"tooltip-trigger disk_tip"},Q9={class:"tooltip-text tooltip-top"},X9={class:"disk_dir_tip"},tm={class:"disk_status_item"},em={key:0,class:"tooltip-trigger disk_tip"},am={class:"tooltip-text tooltip-top"},om={class:"disk_dir_tip"},nm=I({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>n.part.filesystem=="No FileSystem"),d=Q(()=>n.part.filesystem&&["ntfs","vfat","exfat"].indexOf(n.part.filesystem)>=0),c=Q(()=>n.part.mountPoint&&n.part.isReadOnly&&n.part.filesystem!="swap"),k=Q(()=>u.value||!n.part.isSystemRoot&&(c.value||d.value||!n.part.mountPoint&&n.part.filesystem=="swap")),g=function(){la({action:"disk",disk:n.disk,mount:n.part,Cancel:()=>{},Next:y=>{location.reload()}})},p=()=>{oo({action:"nas",disk:n.disk,mount:n.part,Cancel:()=>{},Next:()=>{location.reload()}})},m=()=>L(this,null,function*(){const y=$.Loading(a("\u5904\u7406\u4E2D..."));try{const f=yield G.Nas.Disk.InitRest.POST({name:n.disk.name,path:n.disk.path});if(f!=null&&f.data){const{result:F,error:w}=f==null?void 0:f.data;w&&$.Warning(w),F&&($.Success(a("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(f){$.Error(f)}y.Close()}),v=Q(()=>n.part.filesystem=="Free Space"),b=Q(()=>{const y=n.part.mountPoint?n.part.mountPoint:"";return y.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+y.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+y});return(y,f)=>{var w;const F=_t("progress-item");return r(),s("div",T9,[t("li",I9,[t("div",M9,[e(v)?(r(),s("span",L9,i(e(a)("\u672A\u5206\u533A")),1)):(r(),s("span",O9,i(o.part.name)+i(o.part.mountPoint?"":e(u)?e(a)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(a)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(r(),s("span",N9,i(e(a)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):D("",!0)]),t("div",V9,[t("div",G9,[t("div",j9,[Y(F,{value:e(v)||!o.part.usage?0:o.part.usage,text:e(v)?e(a)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(a)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(v)?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:m},i(e(a)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(k)?(r(),s("button",{key:1,class:"cbi-button cbi-button-apply",onClick:g},i(e(a)("\u683C\u5F0F\u5316\u5206\u533A")),1)):D("",!0)])]),!e(v)&&!e(u)?(r(),s("li",U9,[t("span",q9,[o.part.mountPoint?(r(),s(U,{key:0},[o.part.filesystem=="swap"?(r(),s("span",R9,i(e(a)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(r(),s("a",{key:1,href:e(b),target:"_blank"},i(o.part.mountPoint),9,W9))],64)):(r(),s(U,{key:1},[o.part.filesystem=="swap"?(r(),s("span",H9,i(e(a)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(r(),s("span",{key:1,class:"value-data buttondiv",onClick:p},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",J9,[o.part.mountPoint&&o.part.filesystem!="swap"?(r(),s("div",Z9,[t("div",null,i(e(a)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+i(o.part.isReadOnly?e(a)("\u53EA\u8BFB"):e(a)("\u8BFB\u5199")),1),e(c)?(r(),s("div",K9,[Y(It),t("div",Q9,[t("div",X9,i(e(a)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):D("",!0)])):D("",!0),t("div",tm,[t("div",null,i(e(a)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+i((w=o.part.filesystem)==null?void 0:w.toUpperCase()),1),!o.part.isSystemRoot&&e(d)?(r(),s("div",em,[Y(It),t("div",am,[t("span",om,i(e(a)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):D("",!0)])])])):D("",!0)])}}});var im=N(nm,[["__scopeId","data-v-10dd00b8"]]);const rm=o=>(ut("data-v-127a3100"),o=o(),ct(),o),sm={key:0,class:"action"},dm={class:"title"},lm={class:"app-container_info"},um={class:"app-container_body"},cm={class:"action-footer"},pm=rm(()=>t("div",{class:"auto"},null,-1)),fm=I({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(0),d=()=>{n.Close&&n.Close()},c=k=>{k.preventDefault(),n.Cancel&&n.Cancel(),d()};return(k,g)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[Y(St,{name:"rotate",mode:"out-in"},{default:V(()=>[u.value==0?(r(),s("div",sm,[t("h2",dm,i(e(a)("\u5206\u533A\u4FE1\u606F"))+" - "+i((o.disk.name||"?")+(o.disk.isSystemRoot?e(a)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",lm,[t("span",null,i(e(a)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,i(e(a)("\u5BB9\u91CF")),1)]),t("div",um,[(r(!0),s(U,null,tt(o.disk.childrens,(p,m)=>(r(),Z(im,{key:m,part:p,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",cm,[pm,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c,type:"button"},i(e(a)("\u8FD4\u56DE")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"]))}});var mm=N(fm,[["__scopeId","data-v-127a3100"]]),gm=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(mm,vt(st({},o),{Close:()=>{l()}}));a.component("progress-item",Ua),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const vm={class:"progress-bar-wrapper"},bm={key:0,class:"percentage-text"},hm={props:{percentage:{type:Number,default:0,validator:o=>o>=0&&o<=100},color:{type:String,default:"#4CAF50"},backgroundColor:{type:String,default:"#e0e0e0"},height:{type:[String,Number],default:"20px"},borderRadius:{type:[String,Number],default:"4px"},showPercentage:{type:Boolean,default:!0},gradient:{type:Boolean,default:!1},gradientColors:{type:String,default:"linear-gradient(90deg, #4CAF50, #45a049)"},duration:{type:Number,default:1e3}},setup(o){const n=o,a=Q(()=>({height:typeof n.height=="number"?`${n.height}px`:n.height,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,backgroundColor:n.backgroundColor,overflow:"hidden"})),l=Q(()=>{const u={height:"100%",width:`${n.percentage}%`,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,transition:`width ${n.duration}ms cubic-bezier(0.4, 0, 0.2, 1)`,position:"relative",overflow:"hidden"};return n.gradient?vt(st({},u),{background:n.gradientColors}):vt(st({},u),{background:n.color})});return(u,d)=>(r(),s("div",vm,[t("div",{class:"progress-bar",style:ht(e(a))},[t("div",{class:"progress-fill",style:ht(e(l))},[o.showPercentage?(r(),s("span",bm,i(Math.round(o.percentage))+"% ",1)):D("",!0)],4)],4)]))}};var no=N(hm,[["__scopeId","data-v-2e966a39"]]);const _m={key:0,class:"disk-item error"},xm=["title"],wm={class:"disk-item_value"},km={class:"value-data"},ym={class:"error"},Fm={key:1,class:"disk-item"},Em=["title"],$m={key:0,class:"disk_value"},Cm={class:"value-data"},Dm={href:"/cgi-bin/luci/admin/nas/smart"},Bm={class:"error"},Ym={key:1,class:"disk_value"},Am={class:"disk-item_value"},Sm={class:"value-data"},zm={class:"disk-item-tooltip"},Pm={class:"disk_icon"},Tm={key:0,class:"tooltip-trigger"},Im={class:"disk_tip"},Mm={class:"tooltip-text tooltip-top"},Lm={class:"disk_dir_tip"},Om={key:1,class:"tooltip-trigger"},Nm={class:"disk_tip"},Vm={class:"tooltip-text tooltip-top"},Gm={class:"disk_dir_tip"},jm={key:2,class:"disk-item load"},Um=["title"],qm={class:"disk_value"},Rm={class:"disk-item_value"},Wm={class:"value-data"},Hm={key:3,class:"disk-item load"},Jm=["title"],Zm={class:"disk_value"},Km={key:0,class:"disk-item_value"},Qm={class:"value-data"},Xm={class:"disk_icon"},tg=I({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const n=o,{$gettext:a}=J(),l=Q(()=>n.disk.errorInfo?"error":n.disk.isSystemRoot?"success":n.disk.childrens==null||n.disk.childrens.length==0||n.disk.childrens.length==1&&n.disk.childrens[0].filesystem=="No FileSystem"?"load":n.disk.childrens.filter(m=>m.mountPoint).length==0?"unmounted":"success"),u=Q(()=>{const m=n.disk;let v=m.name;return m.size&&(v+=`\u3010${m.size}\u3011`),m.venderModel&&(v+=`(${m.venderModel})`),v}),d=Q(()=>{var v;const m=n.disk;return!m.isSystemRoot&&(((v=m.childrens)==null?void 0:v.filter(b=>b.isReadOnly&&b.filesystem!="swap").length)||0)>0}),c=()=>{la({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},k=()=>{gm({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},g=()=>{const m=n.disk,v=m.childrens||[];oo({action:"nas",disk:m,mount:v[0],Cancel:()=>{},Next:()=>{location.reload()}})},p=m=>m<50?"#2fc867":m>50&&m<=75?"#f97316":"#dc2626";return(m,v)=>{var b,y,f,F,w,h;return e(l)=="error"?(r(),s("li",_m,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,xm),t("div",wm,[t("div",km,[t("span",ym,i(o.disk.errorInfo),1)])])])):e(l)=="success"?(r(),s("li",Fm,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,Em),o.disk.smartWarning&&o.smartWarning?(r(),s("div",$m,[t("div",Cm,[t("a",Dm,[t("span",Bm,i(e(a)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(r(),s("div",Ym,[t("div",Am,[t("div",Sm,[Y(no,{percentage:o.disk.usage||0,showPercentage:!1,height:"10px",borderRadius:"10px",color:p(o.disk.usage||0),backgroundColor:"#f4f5f7"},null,8,["percentage","color"]),t("div",null,[t("span",null,i(e(a)("\u4F7F\u7528\u7387"))+"\uFF1A"+i(o.disk.usage||0)+"%",1),t("span",null,i(e(a)("\u5DF2\u4F7F\u7528"))+"\uFF1A"+i(o.disk.used),1)])]),t("div",zm,[t("span",null,i(e(a)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",Pm,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(r(),s("span",Tm,[t("span",Im,[Y(It)]),t("div",null,[t("div",Mm,[t("span",Lm,i(e(a)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):D("",!0),e(d)?(r(),s("span",Om,[t("span",Nm,[Y(It)]),t("div",null,[t("div",Vm,[t("span",Gm,i(e(a)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):D("",!0),e(d)&&(((b=o.disk.childrens)==null?void 0:b.length)||0)==1?(r(),s("span",{key:2,class:"disk_infoicon",onClick:v[0]||(v[0]=_=>c())},[Y(l9)])):D("",!0),(((y=o.disk.childrens)==null?void 0:y.length)||0)>0?(r(),s("span",{key:3,class:"disk_infoicon",onClick:v[1]||(v[1]=_=>k())},[Y(Aa,{style:{color:"var(--app-container_title-color)"}})])):D("",!0)])]))])):e(l)=="load"?(r(),s("li",jm,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,Um),t("div",qm,[t("div",Rm,[t("div",Wm,[t("button",{onClick:v[2]||(v[2]=_=>c())},i(e(a)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(l)=="unmounted"?(r(),s("li",Hm,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,Jm),t("div",Zm,[(((f=o.disk.childrens)==null?void 0:f.length)||0)==1?(r(),s("div",Km,[t("div",Qm,[((w=(F=o.disk.childrens)==null?void 0:F[0])==null?void 0:w.filesystem)=="swap"?(r(),s("button",{key:0,onClick:v[3]||(v[3]=_=>k())},i(e(a)("\u67E5\u770B\u8BE6\u60C5")),1)):(r(),s("button",{key:1,onClick:v[4]||(v[4]=_=>g())},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))])])):D("",!0),t("div",Xm,[(((h=o.disk.childrens)==null?void 0:h.length)||0)>1?(r(),s("span",{key:0,class:"disk_infoicon",onClick:v[5]||(v[5]=_=>k())},[Y(Aa,{style:{color:"var(--app-container_title-color)"}})])):D("",!0)])])])):D("",!0)}}});var Ke=N(tg,[["__scopeId","data-v-c3855aca"]]);const eg=o=>(ut("data-v-6f7fe2ab"),o=o(),ct(),o),ag={href:"/cgi-bin/luci/admin/nas/raid"},og=eg(()=>t("div",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),ng={href:"/cgi-bin/luci/admin/system/diskman"},ig={href:"/cgi-bin/luci/admin/system/mounts"},rg={class:"content"},sg={key:0,class:"disk_loading_icon"},dg={class:"disk_loading_info"},lg={class:"item",style:{"margin-top":"4px","padding-bottom":"0"}},ug={class:"icon_box"},cg={class:"info"},pg={class:"name"},fg={class:"schedule"},mg={key:0,class:"line"},gg={key:1,class:"item"},vg={class:"icon_box",style:{background:"#f3e8ff"}},bg={class:"info"},hg={class:"name"},_g={class:"schedule"},xg={key:2,class:"item"},wg={class:"icon_box",style:{background:"#dbfce7"}},kg={class:"info"},yg={class:"name"},Fg={class:"schedule"},Eg=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=gt({disks:null,raidList:null}),u=()=>{G.Nas.Disk.Status.GET().then(k=>{var g;if((g=k==null?void 0:k.data)!=null&&g.result){const p=k.data.result;l.disks=p.disks||[]}})};(()=>L(this,null,function*(){try{const k=yield G.Raid.List.GET();if(k!=null&&k.data){const{success:g,error:p,result:m}=k.data;if(m&&(l.raidList=m.disks||[]),p)throw p}}catch(k){console.log(k)}}))(),u();const c=()=>{zt.installAndGo("luci-app-linkease",n("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(k,g)=>{const p=_t("icon-loading");return r(),Z(Wt,{title:e(n)("\u78C1\u76D8\u4FE1\u606F"),style:{width:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":g[1]||(g[1]=m=>a.value=m)},{icon:V(()=>[Y(Ya,{color:"#45556c",class:"icon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:c},[Y(Jf,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u6587\u4EF6\u7BA1\u7406")),1),t("div",{class:"rotation",onClick:g[0]||(g[0]=ft(m=>a.value=!a.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])])]),"settings-menu":V(()=>[t("div",null,[t("a",ag,i(e(n)("RAID\u7BA1\u7406")),1)]),og,t("div",null,[t("a",ng,i(e(n)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("div",null,[t("a",ig,i(e(n)("\u6302\u8F7D\u70B9")),1)])]),default:V(()=>{var m,v,b,y;return[t("div",rg,[!e(l).disks&&!e(l).raidList?(r(),s("div",sg,[Y(p,{size:38,color:"#888888"}),t("span",dg,i(e(n)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])):D("",!0),e(l).disks?(r(),s(U,{key:1},[t("div",lg,[t("div",ug,[Y(Ya,{color:"#2b6cfc",class:"icon"})]),t("div",cg,[t("div",pg,[t("div",null,i(e(n)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",fg,[(r(!0),s(U,null,tt((m=e(l).disks)==null?void 0:m.filter(f=>f.isSystemRoot),(f,F)=>(r(),Z(Ke,{key:F,disk:f},null,8,["disk"]))),128))])])]),((v=e(l).disks)==null?void 0:v.filter(f=>!f.isSystemRoot).length)>0?(r(),s("div",mg)):D("",!0),((b=e(l).disks)==null?void 0:b.filter(f=>!f.isSystemRoot).length)>0?(r(),s("div",gg,[t("div",vg,[Y(Qf,{class:"icon"})]),t("div",bg,[t("div",hg,[t("div",null,i(e(n)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",_g,[(r(!0),s(U,null,tt((y=e(l).disks)==null?void 0:y.filter(f=>!f.isSystemRoot),(f,F)=>(r(),Z(Ke,{key:F,disk:f,smartWarning:!0},null,8,["disk"]))),128))])])])):D("",!0)],64)):D("",!0),e(l).raidList&&e(l).raidList.length>0?(r(),s("div",xg,[t("div",wg,[Y(eo,{color:"#0bab47",class:"icon"})]),t("div",kg,[t("div",yg,[t("div",null,i(e(n)("RAID\u8BBE\u5907")),1)]),t("div",Fg,[(r(!0),s(U,null,tt(e(l).raidList,(f,F)=>(r(),Z(Ke,{key:F,disk:f},null,8,["disk"]))),128))])])])):D("",!0)])]}),_:1},8,["title","is-settings-menu-open"])}}});var $g=N(Eg,[["__scopeId","data-v-6f7fe2ab"]]);const Cg={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Dg=["fill"],Sa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Cg,[t("path",{d:"M473.950316 63.164632l488.070737 234.226526v414.234947l-337.92 200.111158-502.837895-295.019789V223.447579l352.687158-160.282947zM200.434526 306.661053V571.284211l383.892211 225.28V510.113684L200.434526 306.661053z m682.253474 82.728421l-219.082105 120.400842v286.396631l219.082105-129.670736V389.335579z m-409.761684-238.753685L258.910316 247.915789l364.759579 193.374316 212.075789-116.520421-362.819368-174.08z",fill:o.color,"p-id":"6174"},null,8,Dg)]))}}),Bg=o=>(ut("data-v-64cabc6e"),o=o(),ct(),o),Yg={class:"app-container_docker"},Ag={class:"docker-item"},Sg={class:"docker-item_name"},zg={key:0,class:"docker-item_value"},Pg={class:"configure"},Tg={key:1,class:"docker-item_value"},Ig={class:"input-switch"},Mg=["value","disabled"],Lg=Bg(()=>t("em",null,null,-1)),Og=[Lg],Ng={key:0,class:"status-icon"},Vg={key:1,class:"status-icon",style:{background:"#e9ebef",color:"#4a5565"}},Gg={key:0,class:"content"},jg={class:"docker-item_name"},Ug={class:"docker_box"},qg={class:"path"},Rg={key:0},Wg={class:"tooltip-trigger"},Hg={class:"docker_tip"},Jg={class:"tooltip-text tooltip-top"},Zg={class:"docker_dir_tip"},Kg=I({props:{docker:{type:Object}},setup(o){var k;const n=o,{$gettext:a,$ngettext:l}=J(),u=Q(()=>{var g;return((g=n.docker)==null?void 0:g.status)!="not installed"}),d=gt({enable:((k=n.docker)==null?void 0:k.status)=="running",disabled:!1}),c=()=>L(this,null,function*(){d.disabled=!0;try{const g=yield G.Guide.DockerSwitch.POST({enable:d.enable});if(g!=null&&g.data){const{success:p,error:m}=g.data;if(m)throw d.enable=!d.enable,m;(p||0)==0}}catch(g){$.Warning(`${g}`)}finally{d.disabled=!1}});return(g,p)=>{var m,v,b,y;return r(),s("ul",Yg,[t("li",Ag,[t("div",Sg,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),(m=n.docker)!=null&&m.status?(r(),s(U,{key:0},[e(u)?(r(),s("div",Tg,[t("label",Ig,[O(t("input",{type:"checkbox",hidden:"",value:!e(d).enable,"onUpdate:modelValue":p[0]||(p[0]=f=>e(d).enable=f),disabled:e(d).disabled,onChange:c},null,40,Mg),[[Rt,e(d).enable]]),t("span",{class:lt(e(d).enable?"enable":"close")},Og,2)]),e(d).enable?(r(),s("span",Ng,i(e(a)("\u8FD0\u884C\u4E2D")),1)):D("",!0),e(d).enable?D("",!0):(r(),s("span",Vg,i(e(a)("\u672A\u542F\u7528")),1))])):(r(),s("div",zg,[t("span",Pg,i(e(a)("\u672A\u5B89\u88C5")),1)]))],64)):D("",!0)]),((v=o.docker)==null?void 0:v.status)=="running"?(r(),s("li",Gg,[t("div",jg,[t("span",{style:ht({color:"var(--app-container_title-color)"})},i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),5)]),t("div",Ug,[t("div",qg,i((b=o.docker)==null?void 0:b.path),1),(y=o.docker)!=null&&y.errorInfo?(r(),s("span",Rg,[t("span",Wg,[t("span",Hg,[Y(It)]),t("div",null,[t("div",Jg,[t("span",Zg,i(o.docker.errorInfo),1)])])])])):D("",!0)])])):D("",!0)])}}});var Qg=N(Kg,[["__scopeId","data-v-64cabc6e"]]);const Xg={},tv={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},ev=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),av=[ev];function ov(o,n){return r(),s("svg",tv,av)}var nv=N(Xg,[["render",ov]]);const iv={key:0,class:"action"},rv={class:"title"},sv={class:"desc"},dv={class:"roots"},lv={class:"roots_tit"},uv={class:"root"},cv={class:"move"},pv={class:"roots_tit"},fv={key:0},mv=["onSubmit"],gv={class:"select-editable"},vv={selected:"",value:null},bv=["value"],hv={value:"useInput"},_v=["placeholder"],xv={key:1,class:"tips"},wv={class:"tips_content"},kv={class:"tip"},yv={key:0,class:"btns"},Fv={key:1,class:"btns"},Ev={key:1,class:"action docker_success"},$v={class:"title"},Cv={class:"finished"},Dv={class:"successed"},Bv={class:"btns"},Yv={key:2,class:"action docker_download"},Av={class:"title"},Sv={class:"finished"},zv={class:"successed"},Pv={class:"docker_moves"},Tv={class:"moves change"},Iv={for:"move"},Mv={class:"moves"},Lv={for:"cover"},Ov={class:"btns"},Nv=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(),d=E(),c=E(0),k=E("null"),g=E(""),p=E(),m=E(!1),v=E("");(()=>{G.Nas.Disk.Status.GET().then(x=>{x!=null&&x.data.result&&(p.value=x==null?void 0:x.data.result)}),G.Guide.DockerStatus.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const S=x.data.result;u.value=S}}),G.Guide.DockerPartitionList.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const S=x.data.result;d.value=S}})})();const y=x=>{let C=k.value;if(C=="useInput"&&(C=g.value),C==null||C=="null"||C=="")return;const S=$.Loading(a("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));G.Guide.DockerTransfer.POST({path:C,force:x,overwriteDir:!!v.value}).then(A=>{var z;if(A!=null&&A.data){if((A.data.success||0)==0){if((z=A.data.result)!=null&&z.emptyPathWarning){m.value=!0,c.value=2;return}c.value=1;return}else if(A.data.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{$.Error(A)}).finally(()=>S.Close())},f=()=>{m.value=!1,y(!1)},F=x=>{x.preventDefault(),n.Close&&n.Close()},w=x=>{x.preventDefault(),location.reload()},h=x=>{x.preventDefault(),c.value=0},_=x=>{x.preventDefault(),y(!0)};return(x,C)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>{var S,A,z,B,H,M;return[c.value==0?(r(),s("div",iv,[t("h2",rv,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",sv,i(e(a)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",dv,[t("span",lv,i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",uv,i((S=u.value)==null?void 0:S.path),1)]),t("div",cv,[t("span",pv,i(e(a)("\u8FC1\u79FB\u5230\uFF1A")),1),(z=(A=d.value)==null?void 0:A.partitionList)!=null&&z.length?(r(),s("div",fv,[t("form",{onSubmit:ft(f,["prevent"])},[t("label",null,[t("div",gv,[O(t("select",{"onUpdate:modelValue":C[0]||(C[0]=q=>k.value=q)},[t("option",vv,i(e(a)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(r(!0),s(U,null,tt((B=d.value)==null?void 0:B.partitionList,(q,T)=>(r(),s("option",{value:q,key:T},i(q),9,bv))),128)),t("option",hv,i(e(a)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[pt,k.value,void 0,{trim:!0}]]),k.value=="useInput"?O((r(),s("input",{key:0,type:"text","onUpdate:modelValue":C[1]||(C[1]=q=>g.value=q),required:"",placeholder:e(a)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,_v)),[[at,g.value,void 0,{trim:!0}]]):D("",!0)])])],40,mv)])):d.value?(r(),s("div",xv,[t("div",wv,[Y(It),t("span",kv,i(e(a)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):D("",!0)]),(M=(H=d.value)==null?void 0:H.partitionList)!=null&&M.length?(r(),s("div",yv,[t("button",{class:"cbi-button cbi-button-apply",onClick:f},i(e(a)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:F},i(e(a)("\u53D6\u6D88")),1)])):(r(),s("div",Fv,[t("button",{class:"cbi-button cbi-button-apply",onClick:F},i(e(a)("\u786E\u5B9A")),1)]))])):c.value==1?(r(),s("div",Ev,[t("h2",$v,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",Cv,[Y(ua)]),t("p",Dv,i(e(a)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",Bv,[t("button",{class:"cbi-button cbi-button-apply",onClick:w},i(e(a)("\u786E\u5B9A")),1)])])):c.value==2?(r(),s("div",Yv,[t("h2",Av,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",Sv,[Y(nv)]),t("p",zv,i(e(a)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",Pv,[t("div",Tv,[O(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":C[2]||(C[2]=q=>v.value=q),value:""},null,512),[[Bt,v.value]]),t("label",Iv,i(e(a)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",Mv,[O(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":C[3]||(C[3]=q=>v.value=q),value:"true"},null,512),[[Bt,v.value]]),t("label",Lv,i(e(a)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",Ov,[m.value?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:_},i(e(a)("\u786E\u5B9A")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:h},i(e(a)("\u8FD4\u56DE")),1),m.value?D("",!0):(r(),s("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},i(e(a)("\u53D6\u6D88")),1))])])):D("",!0)]}),_:1},8,["Close"]))}});var Vv=N(Nv,[["__scopeId","data-v-a5cf4814"]]);const Gv=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=xt(Vv,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},jv={href:"/cgi-bin/luci/admin/docker/overview"},Uv={key:0,class:"content"},qv={key:1,class:"content",style:{display:"flex","justify-content":"center"}},Rv=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=E(),u=E(!1),d=()=>{Gv()};return setTimeout(()=>{G.Guide.DockerStatus.GET().then(k=>{var g;if((g=k==null?void 0:k.data)!=null&&g.result){const p=k.data.result;l.value=p}}).finally(()=>{a.value=!0})},1100),(k,g)=>{var m;const p=_t("icon-loading");return r(),Z(Wt,{title:"Docker",showSettings:!0,onFooterClick:d,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":u.value,"onUpdate:isSettingsMenuOpen":g[1]||(g[1]=v=>u.value=v)},Fo({icon:V(()=>[Y(Sa,{color:"#155dfc",class:"icon"})]),settings:V(()=>{var v;return[t("div",{class:"btn_settings",onClick:d},[Y(Sa,{color:"#0a0a0a",class:"icon1 dockerIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("Docker\u8FC1\u79FB")),1),((v=l.value)==null?void 0:v.status)==="running"?(r(),s("div",{key:0,class:"rotation",onClick:g[0]||(g[0]=ft(b=>u.value=!u.value,["stop"]))},[Y(Ee,{class:"moreIcon"})])):D("",!0)])]}),default:V(()=>[a.value?(r(),s("div",Uv,[Y(Qg,{docker:l.value},null,8,["docker"])])):(r(),s("div",qv,[Y(p,{size:40,color:"currentColor"})]))]),_:2},[((m=l.value)==null?void 0:m.status)==="running"?{name:"settings-menu",fn:V(()=>[t("div",null,[t("a",jv,i(e(n)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])}:void 0]),1032,["is-settings-menu-open"])}}});var Wv=N(Rv,[["__scopeId","data-v-78ae3db3"]]);const Hv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Jv=["fill"],Zv=["fill"],io=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Hv,[t("path",{d:"M577.78 355.55H449.62c-52.93 0-96 43.07-96 96V579.7c0 52.93 43.07 96 96 96h128.15c52.93 0 96-43.07 96-96V451.55c0.01-52.93-43.06-96-95.99-96z m32 224.15c0 17.64-14.36 32-32 32H449.62c-17.65 0-32-14.36-32-32V451.55c0-17.65 14.35-32 32-32h128.15c17.64 0 32 14.35 32 32V579.7z",fill:o.color,"p-id":"5378"},null,8,Jv),t("path",{d:"M927.33 547.13c17.67 0 32-14.33 32-32s-14.33-32-32-32h-62.44V355.2h62.44c17.67 0 32-14.33 32-32s-14.33-32-32-32h-64.37c-10.34-64.43-61.3-115.45-125.69-125.87v-64.19c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H545.34v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H353.2v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v64.16c-64.46 10.37-115.49 61.42-125.83 125.9H99.14c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v127.93h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v128.14h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h64.28c10.45 64.34 61.42 115.25 125.79 125.61v64.46c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h128.14v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h127.93v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-64.48c64.3-10.41 115.2-61.29 125.64-125.58h64.42c17.67 0 32-14.33 32-32s-14.33-32-32-32H864.9V547.13h62.43zM800.89 714.82c0 48.52-39.48 88-88 88H313.44c-48.52 0-88-39.48-88-88V315.36c0-48.52 39.48-88 88-88H712.9c48.52 0 88 39.48 88 88v399.46z",fill:o.color,"p-id":"5379"},null,8,Zv)]))}}),Kv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Qv=["fill"],Xv=I({props:{color:{type:String,default:"#ef4444"}},setup(o){return(n,a)=>(r(),s("svg",Kv,[t("path",{d:"M520 75c72.899 0 132.133 58.543 133.31 131.209l0.018 2.206v399.237C700.759 646.978 729 705.514 729 768.714c0 84.846-50.493 157.892-123.051 190.69C579.509 971.959 549.966 979 518.85 979c-57.133 0-108.962-23.737-146.008-61.784C334.65 879.324 311 826.783 311 768.714c0-63.27 28.313-121.806 75.67-161.065l0.002-399.234C386.672 134.732 446.365 75 520 75z m0 59.807c-40.22 0-72.9 32.3-73.55 72.39l-0.01 1.218v403.457c4.008 12.048-0.02 25.747-10.721 33.573l-0.619 0.441c-40.008 27.753-64.332 73.214-64.332 122.828 0 82.472 66.813 149.33 149.232 149.33s149.232-66.858 149.232-149.33c0-47.591-22.367-91.397-59.645-119.44l-1.134-0.846a29.773 29.773 0 0 1-10.972-15.751 29.763 29.763 0 0 1-3.913-14.111l-0.008-0.706V208.415c0-40.653-32.934-73.608-73.56-73.608z m-2.299 236.926c4.41 0 8.66 0.69 12.647 1.968 16.826 4.965 29.19 20.52 29.19 38.81l0.002 240.184c47.972 17.182 82.294 63.07 82.294 116.982 0 6.94-0.568 13.747-1.662 20.376-6.746 60.536-58.728 108.02-121.321 108.02-47.223 0-88.407-27.027-108.683-66.296-10.557-18.27-16.6-39.479-16.6-62.1 0-54.083 34.542-100.093 82.754-117.145l0.002-239.422c0-22.852 18.525-41.377 41.377-41.377z",fill:o.color,"p-id":"4599"},null,8,Qv)]))}}),tb={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},eb=["fill"],ro=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),s("svg",tb,[t("path",{d:"M760.1 64l-150 262.7-41 71.8c-6.1 10.7 1.6 23.9 13.9 23.9h104.7c13.9 0 21.2 16.6 11.8 26.9L410.8 761.9l59.5-178.5 21.1-63.2c3.5-10.4-4.3-21.1-15.2-21.1H277.8c-11.6 0-19.4-12-14.6-22.6l179-393.8c5.2-11.4 16.6-18.8 29.1-18.8h288.8M450.8 0c-25.1 0-47.9 14.7-58.3 37.5L194.7 472.7c-19.3 42.4 11.7 90.5 58.3 90.5h145.5c5.5 0 9.3 5.3 7.6 10.5L256 1024l515.3-558.2c37.8-41 8.8-107.4-47-107.4h-44.8c-6.1 0-10-6.6-6.9-12L870.4 0H450.8z","p-id":"4712",fill:o.color},null,8,eb)]))}}),ab={key:0,class:"center-content"},ob=I({props:{value:null,color:null,icon:null,label:null,width:null,height:null},setup(o){const n=o;Xe([Eo,ta,ea]);const a=E(null);let l=null;function u(k,g){return{tooltip:{show:!1},series:[{type:"pie",radius:["75%","90%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},z:1,zlevel:0,data:[{value:k,itemStyle:{color:g||"#409EFF"}},{value:Math.max(0,100-k),itemStyle:{color:"#f0f0f0"}}]}]}}const d=()=>{!a.value||(l=l!=null?l:aa(a.value),l.setOption(u(n.value,n.color)))};Pt(()=>L(this,null,function*(){yield na(),d(),window.addEventListener("resize",c)}));function c(){l==null||l.resize()}return $t(()=>[n.value,n.color],()=>{l?l.setOption({series:[{z:1,zlevel:0,data:[{value:n.value,itemStyle:{color:n.color||"#409EFF"}},{value:Math.max(0,100-n.value),itemStyle:{color:"#f0f0f0"}}]}]}):d()},{immediate:!0}),ke(()=>{window.removeEventListener("resize",c),l==null||l.dispose(),l=null}),(k,g)=>(r(),s("div",{class:"pie-chart-wrapper",style:ht({width:o.width||"120px",height:o.height||"120px"})},[t("div",{ref_key:"chartDom",ref:a,class:"chart-dom"},null,512),o.icon||o.label?(r(),s("div",ab,[o.icon==="chip"?(r(),Z(io,{key:0,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="temperature"?(r(),Z(Xv,{key:1,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="lightning"?(r(),Z(ro,{key:2,color:o.color,class:"center-icon"},null,8,["color"])):D("",!0),o.label?(r(),s("div",{key:3,class:"center-label",style:ht({color:o.color})},i(o.label),5)):D("",!0)])):D("",!0)],4))}});var Qe=N(ob,[["__scopeId","data-v-1b4ddc16"]]);const nb={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},ib=["fill"],za=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",nb,[t("path",{d:"M868.95177918 215.34678468H274.11312994c-10.26749627 0-19.00277466 3.6151618-26.30943653 10.88910739-7.22487113 7.23032433-10.89456058 15.97650768-10.89456059 26.20583515v370.75858453c0 10.24023245 3.66968946 18.95370022 10.89456059 26.22764579 7.30666259 7.22487113 16.04194099 10.86184429 26.30943653 10.86184429h594.83864924c10.28385442 0 19.04094415-3.63697315 26.28217344-10.86184429 7.30120941-7.27394558 10.9218244-15.98741334 10.92182439-26.22764579V252.44172722c0-10.2293275-3.62061501-18.97551083-10.92727686-26.20583516-7.23577681-7.27394558-15.99286582-10.8891081-26.27672097-10.88910738M274.09131931 141.21142578h594.83864924c30.77522572 0 57.07375657 10.86729676 78.86287773 32.59643853 21.78912116 21.74004671 32.66187112 47.91861806 32.66187114 78.62841045v370.76403699c0 30.68798176-10.87274996 56.91562756-32.66187114 78.63386293-21.78912116 21.72914105-48.08765274 32.59643853-78.86287773 32.59643851H608.68737796v74.15716953h111.5465602c10.26204379 0 19.03003849 3.6151618 26.28217344 10.8891081 7.29030445 7.22487113 10.91091874 15.97650768 10.91091872 26.20583518 0 10.24023245-3.62061501 18.98641651-10.91637192 26.20038195-7.25213496 7.28485125-16.01467717 10.90001305-26.27672024 10.90001379H422.80370787c-10.27840195 0-19.0191328-3.6151618-26.30943728-10.90001379-7.25213496-7.21396618-10.89456058-15.96014952-10.89456056-26.20038195 0-10.23477998 3.6478781-18.97551083 10.89456056-26.20583518 7.29030445-7.27394558 16.03103531-10.8891081 26.30943728-10.8891081h111.53565452v-74.15716953H274.09131931c-30.79703633 0-57.09011544-10.86729676-78.86287845-32.59643851C173.43931968 680.11593931 162.54475911 653.88829351 162.54475911 623.20031175V252.44172722C162.54475911 221.72648236 173.43931968 195.54791102 195.22844086 173.80786431 217.00665706 152.07872254 243.29428298 141.21142578 274.09131931 141.21142578","p-id":"6454",fill:o.color},null,8,ib)]))}}),rb={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},sb=["fill"],db=["fill"],lb=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),s("svg",rb,[t("path",{d:"M512 458.67c-8.66 0-15.69 7.02-15.69 15.69v125.49c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-125.5c0-8.66-7.03-15.68-15.69-15.68z m-31.37-26.98h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v103.53h-15.69c-8.66 0-15.69 7.02-15.69 15.69 0.01 8.66 7.03 15.69 15.7 15.69z m219.61 53.33c-8.66 0-15.69 7.02-15.69 15.69V601.1c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-99.76c0.35-8.66-6.39-15.95-15.05-16.3-0.22-0.02-0.43-0.02-0.64-0.02z m-31.38-27.61h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-14.43V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v125.49h-16.94c-8.66 0-15.69 7.02-15.69 15.69 0 8.66 7.02 15.69 15.69 15.69v3.76z m-376.47 32.63h62.75c8.66 0 15.69-7.02 15.69-15.69s-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69-8.66 0-15.69 7.02-15.69 15.69v161.88h-15.69c-8.66 0-15.69 7.02-15.69 15.69s7.04 15.69 15.7 15.69z m31.37 32c-8.66 0-15.69 7.02-15.69 15.69v62.75c0 8.66 7.02 15.69 15.69 15.69 8.66 0 15.69-7.02 15.69-15.69v-62.75c0-8.67-7.02-15.69-15.69-15.69z",fill:o.color,"p-id":"15217"},null,8,sb),t("path",{d:"M870 116.39H154c-49.71 0-90 40.29-90 90v485.1c0 49.71 40.29 90 90 90h716c49.71 0 90-40.29 90-90v-485.1c0-49.7-40.29-90-90-90z m50 565.1c0 33.14-26.86 60-60 60H164c-33.14 0-60-26.86-60-60v-465.1c0-33.14 26.86-60 60-60h696c33.14 0 60 26.86 60 60v465.1zM680.24 907.61H343.76c-11.05 0-20-8.95-20-20s8.95-20 20-20h336.48c11.05 0 20 8.95 20 20 0 11.04-8.96 20-20 20z",fill:o.color,"p-id":"15218"},null,8,db)]))}}),ub={href:"/cgi-bin/luci/admin/system/flash"},cb={href:"/cgi-bin/luci/admin/store/pages/maintance"},pb={class:"content"},fb={class:"chart_box"},mb={class:"chart"},gb={class:"chart"},vb={class:"chart"},bb={class:"info"},hb={class:"item1 bgcolor1"},_b={style:{"font-weight":"bold","margin-top":"2px"}},xb={class:"item1 bgcolor2"},wb={style:{"font-weight":"bold","margin-top":"2px"}},kb={class:"item"},yb={class:"item"},Fb=I({setup(o){const{$gettext:n}=J(),a=Le(),l=Q(()=>a.version),u=Q(()=>a.systemStatus),d=E(!1),c=Q(()=>{var w;return((w=u.value)==null?void 0:w.cpuUsage)||0}),k=Q(()=>{var w;return((w=u.value)==null?void 0:w.cpuTemperature)||0}),g=Q(()=>{var h;const w=((h=u.value)==null?void 0:h.memAvailablePercentage)||100;return 100-w}),p=Q(()=>{const w=c.value;return w<76?"#3b82f6":w>=76&&w<96?"#f59e0b":"#ef4444"}),m=Q(()=>k.value<=115?"#22c55e":"#f97316"),v=Q(()=>{const w=g.value;return w<76?"#8b5cf6":w>=76&&w<96?"#fb923c":"#b91c1c"}),b=()=>{location.href="/cgi-bin/luci/admin/status/overview"},y=Mt.stampForm;Pt(()=>{});const f=()=>{d.value=!d.value},F=()=>{f(),zt.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(w,h)=>(r(),Z(Wt,{title:e(n)("\u7CFB\u7EDF\u4FE1\u606F"),showFooter:!1,style:{width:"100%",height:"100%",display:"block"}},{icon:V(()=>[Y(za,{class:"icon computerIcon"})]),settings:V(()=>[t("div",{class:"btn_settings",onClick:b},[Y(za,{color:"#0a0a0a",class:"icon2 computerIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u4FE1\u606F\u6982\u89C8")),1)])]),"settings-menu":V(()=>[t("div",null,[t("a",{onClick:F},i(e(n)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("div",null,[t("a",ub,i(e(n)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("div",null,[t("a",cb,i(e(n)("\u63D2\u4EF6\u5907\u4EFD")),1)])]),default:V(()=>{var _,x,C,S,A;return[t("div",pb,[t("div",fb,[t("div",mb,[Y(Qe,{value:e(c),color:e(p),icon:"chip",label:`${e(c)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u4F7F\u7528\u7387")),1)]),t("div",gb,[Y(Qe,{value:e(k)/1.5,color:e(m),icon:"temperature",label:`${e(k)}\u2103`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u6E29\u5EA6")),1)]),t("div",vb,[Y(Qe,{value:e(g),color:e(v),icon:"lightning",label:`${e(g)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("\u5185\u5B58\u4F7F\u7528\u7387")),1)])]),t("div",bb,[t("div",hb,[t("div",null,[Y(io,{color:"#155dfc",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u8BBE\u5907\u578B\u53F7")),1)]),t("span",_b,i((_=e(l))==null?void 0:_.model),1)]),t("div",xb,[t("div",null,[Y(lb,{color:"#00a63e",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u56FA\u4EF6\u7248\u672C")),1)]),t("span",wb,i((x=e(l))==null?void 0:x.firmwareVersion)+"\uFF08"+i(e(n)("\u5185\u6838"))+"\uFF1A"+i((C=e(l))==null?void 0:C.kernelVersion)+"\uFF09",1)]),t("div",kb,[t("div",null,i(e(n)("\u7CFB\u7EDF\u65F6\u95F4"))+"\uFF1A",1),t("span",null,i((S=e(u))==null?void 0:S.localtime),1)]),t("div",yb,[t("div",null,i(e(n)("\u5DF2\u542F\u52A8"))+"\uFF1A",1),t("span",null,i(e(y)((A=e(u))==null?void 0:A.uptime)),1)])])])]}),_:1},8,["title"]))}});var Eb=N(Fb,[["__scopeId","data-v-e005287c"]]);const $b=["onClick"],Cb={class:"modal-header"},Db={class:"modal-title"},Bb={class:"modal-content"},Yb={key:0,class:"modal-footer"},Xt=I({props:{modelValue:{type:Boolean},title:{default:"\u63D0\u793A"},showClose:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1},footerShow:{type:Boolean,default:!0},width:{default:"500px"}},emits:["update:modelValue","confirm","cancel","close"],setup(o,{expose:n,emit:a}){const l=o;$o(v=>({"3fcd09c7":e(d)}));const{$gettext:u}=J(),d=Q(()=>typeof l.width=="number"?`${l.width}px`:l.width),c=E(l.modelValue);$t(()=>l.modelValue,v=>{c.value=v}),$t(c,v=>{a("update:modelValue",v),v||a("close")}),Q(()=>typeof l.width=="number"?`${l.width}px`:l.width);const k=()=>{c.value=!1},g=()=>{l.closeOnClickOverlay&&m()},p=()=>{a("confirm")},m=()=>{a("cancel"),k()};return n({show:()=>c.value=!0,hide:()=>c.value=!1}),(v,b)=>(r(),Z(St,{name:"fade"},{default:V(()=>[c.value?(r(),s("div",{key:0,class:"modal-overlay",onClick:ft(g,["self"])},[Y(St,{name:"slide"},{default:V(()=>[t("div",{class:"modal-container",style:ht({maxWidth:e(d)})},[t("div",Cb,[t("h3",Db,i(e(u)(o.title)),1),o.showClose?(r(),s("button",{key:0,class:"modal-close",onClick:m,"aria-label":"Close"}," \xD7 ")):D("",!0)]),t("div",Bb,[Yt(v.$slots,"default")]),o.footerShow?(r(),s("div",Yb,[Yt(v.$slots,"footer",{},()=>[t("button",{class:"modal-button cancel",onClick:m},i(e(u)("\u53D6\u6D88")),1),t("button",{class:"modal-button confirm",onClick:p},i(e(u)("\u4FDD\u5B58")),1)])])):D("",!0)],4)]),_:3})],8,$b)):D("",!0)]),_:3}))}}),Ab=o=>(ut("data-v-ca434918"),o=o(),ct(),o),Sb=Ab(()=>t("span",{class:"switch__button"},null,-1)),zb=[Sb],Pb=["checked","disabled"],Tb=I({props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},activeColor:{default:"#409EFF"},inactiveColor:{default:"#DCDFE6"}},emits:["update:modelValue","change","beforeChange"],setup(o,{emit:n}){const a=o,l=()=>{if(n("beforeChange",!a.modelValue),a.disabled)return;const u=!a.modelValue;n("update:modelValue",u),n("change",u)};return Q(()=>a.modelValue),(u,d)=>(r(),s("div",{class:lt(["switch",{"is-checked":o.modelValue,"is-disabled":o.disabled}]),onClick:l},[t("span",{class:"switch__core",style:ht({backgroundColor:o.modelValue?o.activeColor:o.inactiveColor,borderColor:o.modelValue?o.activeColor:o.inactiveColor})},zb,4),t("input",{type:"checkbox",class:"switch__input",checked:o.modelValue,disabled:o.disabled},null,8,Pb)],2))}});var Ot=N(Tb,[["__scopeId","data-v-ca434918"]]);const Ib={class:"module-settings"},Mb={class:"module-settings__header"},Lb={class:"module-settings__summary"},Ob={class:"module-settings__badge"},Nb={class:"module-settings__texts"},Vb={class:"module-settings__title"},Gb={class:"module-settings__sub"},jb={class:"module-settings__list"},Ub={class:"module-settings__info"},qb={class:"module-settings__name"},Rb={class:"module-settings__desc"},Wb={class:"module-settings__footer"},Hb=I({props:{visible:{type:Boolean},modules:null,states:null},emits:["update:visible","update:states","cancel","save"],setup(o,{emit:n}){const a=o,{$gettext:l}=J(),u=Q({get:()=>a.visible,set:b=>n("update:visible",b)}),d=()=>{const b={};return a.modules.forEach(y=>{var f,F;b[y.key]=(F=(f=a.states)==null?void 0:f[y.key])!=null?F:!0}),b},c=gt(d());$t(()=>a.visible,b=>{b&&Object.assign(c,d())}),$t(()=>a.states,()=>{Object.assign(c,d())},{deep:!0}),$t(()=>a.modules,()=>{Object.assign(c,d())},{deep:!0});const k=Q(()=>a.modules.reduce((b,y)=>c[y.key]?b+1:b,0)),g=(b,y)=>{const f=a.modules.find(F=>F.key===b);if(!!f&&!f.disabled){if(y===!1&&a.modules.reduce((w,h)=>c[h.key]?w+1:w,0)<=1)return $.Warning(l("\u8BF7\u81F3\u5C11\u4FDD\u7559\u4E00\u9879\uFF01"));c[b]=y}},p=()=>{n("cancel"),u.value=!1},m=()=>{const b=st({},a.states||{});a.modules.forEach(y=>{b[y.key]=!!c[y.key]}),n("save",b)},v=()=>{a.modules.forEach(b=>{b.disabled||(c[b.key]=!0)})};return(b,y)=>(r(),Z(Xt,{modelValue:e(u),"onUpdate:modelValue":y[0]||(y[0]=f=>Ia(u)?u.value=f:null),title:e(l)("\u6A21\u5757\u663E\u793A\u8BBE\u7F6E"),width:"640px","show-close":!0,onCancel:p,onConfirm:m},{footer:V(()=>[t("div",Wb,[t("button",{class:"module-settings__btn module-settings__btn--secondary",type:"button",onClick:p},i(e(l)("\u53D6\u6D88")),1),t("button",{class:"module-settings__btn module-settings__btn--primary",type:"button",onClick:m},i(e(l)("\u4FDD\u5B58\u8BBE\u7F6E")),1)])]),default:V(()=>[t("span",null,i(e(l)("\u9009\u62E9\u8981\u5728\u9996\u9875\u663E\u793A\u7684\u529F\u80FD\u6A21\u5757\uFF0C\u9690\u85CF\u4E0D\u5E38\u7528\u7684\u6A21\u5757\u53EF\u4EE5\u8BA9\u754C\u9762\u66F4\u7B80\u6D01")),1),t("div",Ib,[t("div",Mb,[t("div",Lb,[t("div",Ob,i(e(k)),1),t("div",Nb,[t("span",Vb,i(e(l)("\u5DF2\u663E\u793A\u6A21\u5757")),1),t("span",Gb,i(e(l)("\u5171"))+i(o.modules.length)+i(e(l)("\u4E2A\u6A21\u5757")),1)])]),t("button",{class:"module-settings__toggle-all",type:"button",onClick:v},i(e(l)("\u5168\u90E8\u663E\u793A")),1)]),t("div",jb,[(r(!0),s(U,null,tt(o.modules,f=>(r(),s("div",{key:f.key,class:lt(["module-settings__item",{"module-settings__item--disabled":f.disabled}])},[t("div",Ub,[t("div",qb,[t("span",{class:lt(["module-settings__dot",{"is-active":e(c)[f.key]}])},null,2),t("span",null,i(f.title),1)]),t("p",Rb,i(f.description),1)]),Y(Ot,{"model-value":e(c)[f.key],disabled:f.disabled,"active-color":"#553AFE","inactive-color":"#E5E6EB",onChange:F=>g(f.key,F)},null,8,["model-value","disabled","onChange"])],2))),128))])])]),_:1},8,["modelValue","title"]))}});var Jb=N(Hb,[["__scopeId","data-v-79624e8f"]]);const Zb={class:"page-container"},Kb={style:{height:"48px","text-align":"right",display:"flex","justify-content":"flex-end","align-items":"start"}},Qb={style:{display:"flex","align-items":"center"}},Xb={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},th=["title"],eh={key:0,class:"card-container"},ah={key:1,style:{"margin-top":"10px"}},oh={key:0,class:"network-stack"},nh={class:"stack-item"},ih={class:"stack-item",style:{"margin-top":"10px"}},rh={key:1,class:"network-container"},sh={key:2,class:"network-container align-c"},dh={class:"left-box"},lh={key:3,class:"other-container"},uh={class:"grid-container"},ch={key:4,class:"system"},ph=I({setup(o){var T,j;const{$gettext:n}=J(),a=Pe();en();const l=Le(),u=E(!0);(j=(T=window.quickstart_configs)==null?void 0:T.update)!=null&&j.disable&&(u.value=!1),u.value&&setTimeout(()=>{l.requestCheckUpdate()},1100);const d=Fe(),c=Q(()=>d.deviceList),k=Q(()=>{var R,it;return[{icon:"navigation",title:n("\u7F51\u7EDC\u5411\u5BFC"),subtitle:n("\u7F51\u7EDC\u914D\u7F6E\u5F15\u5BFC"),tag:n("\u667A\u80FD\u914D\u7F6E"),status:"",extra:"",color:"purple",link:"/network"},{icon:"topology",title:n("\u5C40\u57DF\u7F51\u8BBE\u5907\u7BA1\u7406"),subtitle:n("\u7BA1\u7406\u7F51\u7EDC\u4E2D\u7684\u6240\u6709\u8BBE\u5907"),badge:n("\u63A8\u8350"),status:"",num:((it=(R=c.value)==null?void 0:R.devices)==null?void 0:it.length)||0,color:"blue",link:"/devicemanagement"},{icon:"speed",title:n("\u7F51\u7EDC\u6D4B\u901F"),subtitle:n("\u68C0\u6D4B\u7F51\u7EDC\u901F\u5EA6"),status:"",color:"skyblue",link:"/networkSpeedTest"},{icon:"baby",title:n("\u5BB6\u957F\u63A7\u5236"),subtitle:n("\u513F\u7AE5\u4E0A\u7F51\u4FDD\u62A4"),badge:n("\u4FDD\u62A4"),status:"",extra:"",color:"pink",isActive:!0,alink:"/cgi-bin/luci/admin/services/appfilter"},{icon:"appStore",title:n("\u5E94\u7528\u5546\u5E97"),subtitle:n("\u767E\u6B3E\u5E94\u7528\uFF0C\u81EA\u7531\u9009\u62E9"),status:"",color:"orange",alink:"/cgi-bin/luci/admin/store/pages/store"}]}),g=R=>{if(!!R.title){if(R.icon=="speed")return m();if(R.icon=="baby")return p();R.link?a.push(R.link):R.alink&&(window.location.href=R.alink)}},p=()=>L(this,null,function*(){(yield zt.checkAndInstallApp("luci-app-oaf","\u5E94\u7528\u8FC7\u6EE4"))&&(window.location.href="/cgi-bin/luci/admin/services/appfilter")}),m=()=>L(this,null,function*(){const R="app-meta-fastnet";(yield zt.checkAndInstallApp(R,n("FastNet")))&&(window.location.href="/cgi-bin/luci/admin/services/fastnet")}),v=E(!1);(()=>L(this,null,function*(){try{const R=yield G.App.Check.POST({name:"luci-app-oaf"});if(R!=null&&R.data){const{result:it,error:ot}=R.data;ot?v.value=!1:it&&it.status=="installed"?v.value=!0:v.value=!1}}catch(R){v.value=!1}}))();const y={quickActions:!0,networkFlow:!0,networkConnection:!0,networkInterface:!0,configModule:!0,diskInfo:!0,storage:!0,docker:!0,downloadService:!0,remoteDomain:!0,systemInfo:!0},f=E({quickActions:!1,networkFlow:!1,networkConnection:!1,networkInterface:!1,configModule:!1,diskInfo:!1,storage:!1,docker:!1,downloadService:!1,remoteDomain:!1,systemInfo:!1}),F=E(!1),w=Q(()=>{const R=[{key:"quickActions",title:n("\u5FEB\u6377\u5165\u53E3"),description:n("\u9876\u90E8\u5FEB\u6377\u6377\u5F84\u6309\u94AE\u7EC4")},{key:"networkFlow",title:n("\u7F51\u7EDC\u6D41\u91CF"),description:n("\u5B9E\u65F6\u6D41\u91CF\u7EDF\u8BA1\u56FE\u8868")},{key:"networkConnection",title:n("\u7F51\u7EDC\u8FDE\u63A5\u548CIP\u5730\u5740"),description:n("\u8054\u7F51\u65F6\u95F4\u548C\u8BBE\u5907\u4FE1\u606F")},{key:"networkInterface",title:n("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001"),description:n("\u7F51\u7EDC\u63A5\u53E3\u8BE6\u7EC6\u4FE1\u606F")},{key:"configModule",title:n("\u914D\u7F6E\u6A21\u5757"),description:n("\u5185\u7F51\u914D\u7F6E\u3001DNS\u914D\u7F6E\u7B49\u5DE5\u5177")},{key:"diskInfo",title:n("\u78C1\u76D8\u4FE1\u606F"),description:n("\u78C1\u76D8\u4F7F\u7528\u60C5\u51B5\u4E0E\u5BB9\u91CF\u6982\u89C8")},{key:"storage",title:n("\u5B58\u50A8\u670D\u52A1"),description:n("\u5171\u4EAB\u4E0E\u5B58\u50A8\u670D\u52A1\u6982\u89C8")},{key:"downloadService",title:n("\u4E0B\u8F7D\u670D\u52A1"),description:n("\u4E0B\u8F7D\u4EFB\u52A1\u4E0E\u670D\u52A1\u72B6\u6001")},{key:"remoteDomain",title:n("\u8FDC\u7A0B\u57DF\u540D"),description:n("\u8FDC\u7A0B\u8BBF\u95EE\u57DF\u540D\u7BA1\u7406")},{key:"systemInfo",title:n("\u7CFB\u7EDF\u4FE1\u606F"),description:n("\u8BBE\u5907\u7CFB\u7EDF\u4FE1\u606F\u6982\u89C8")}];return Qt("dockerd")&&R.splice(7,0,{key:"docker",title:n("Docker\u6A21\u5757"),description:n("\u5BB9\u5668\u8FD0\u884C\u72B6\u6001\u4E0E\u7BA1\u7406")}),R}),h=Q(()=>f.value.networkFlow||f.value.networkConnection||f.value.networkInterface),_=Q(()=>f.value.networkConnection||f.value.networkInterface),x=Q(()=>f.value.networkFlow&&!f.value.networkConnection&&f.value.networkInterface),C=Q(()=>f.value.networkFlow&&!f.value.networkConnection&&!f.value.networkInterface),S=Q(()=>f.value.networkConnection&&!f.value.networkInterface);typeof window!="undefined"&&$t(()=>[f.value.networkConnection,f.value.networkInterface],()=>{requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})});const A=Q(()=>{const R=[];return f.value.diskInfo&&R.push({key:"diskInfo",component:$g}),f.value.storage&&R.push({key:"storage",component:jf}),Qt("dockerd")&&f.value.docker&&R.push({key:"docker",component:Wv}),f.value.downloadService&&R.push({key:"downloadService",component:n1}),f.value.remoteDomain&&R.push({key:"remoteDomain",component:s5}),R}),z=(R,it)=>{if(it<=0)return"100%";if(it<=2)return`calc((100% - ${(it-1)*24}px) / ${it})`;const ot=Math.min(2,it);if(RL(this,null,function*(){if(!(B.value&&Object.keys(R).some(Dt=>{var yt;return R[Dt]!==((yt=B.value)==null?void 0:yt[Dt])}))){F.value=!1;return}const ot=st(st({},f.value),R);(yield q(ot))&&(f.value=ot,F.value=!1)}),M=()=>L(this,null,function*(){var R,it;try{const ot=yield G.ModuleSettings.GET(),bt=(it=(R=ot==null?void 0:ot.data)==null?void 0:R.result)==null?void 0:it.diableDisplay;if(!bt||bt.length===0||bt.length===1&&bt[0]===""){const Dt=st({},y);f.value=Dt,B.value=st({},Dt)}else{const Dt=st({},y);bt.forEach(yt=>{yt&&yt.trim()&&yt in Dt&&(Dt[yt]=!1)}),f.value=Dt,B.value=st({},Dt)}}catch(ot){console.warn("[ModuleSettings] fetch failed",ot),f.value=st({},y),B.value=st({},y)}}),q=R=>L(this,null,function*(){try{const it=[];return Object.keys(R).forEach(ot=>{R[ot]||it.push(ot)}),yield G.ModuleSettings.POST({diableDisplay:it}),B.value=st({},R),$.Success(n("\u4FDD\u5B58\u6210\u529F")),!0}catch(it){return console.error("[ModuleSettings] save failed",it),$.Warning(n("\u4FDD\u5B58\u5931\u8D25\uFF01")),!1}});return $t(F,R=>{R&&(B.value=st({},f.value))}),M(),(R,it)=>(r(),s("div",Zb,[t("div",Kb,[t("div",Qb,[t("a",Xb,i(e(n)("iStoreOS\u5B98\u7F51")),1),t("span",{title:e(n)("\u6A21\u5757\u8BBE\u7F6E"),class:"model_btn",onClick:it[0]||(it[0]=ot=>F.value=!0)},[Y(R8,{style:{width:"16px",height:"16px"}})],8,th)])]),f.value.quickActions?(r(),s("div",eh,[(r(!0),s(U,null,tt(e(k),(ot,bt)=>(r(),s(U,{key:bt},[ot.icon!==""||v.value?(r(),Z(E4,{key:0,card:ot,onClick:g},null,8,["card"])):D("",!0)],64))),128))])):D("",!0),e(h)?(r(),s("div",ah,[e(x)?(r(),s("div",oh,[t("div",nh,[Y(Fa,{style:{"min-height":"600px"}})]),t("div",ih,[Y(Da)])])):(r(),s("div",rh,[f.value.networkFlow?(r(),s("div",{key:0,class:lt(["left-box",{"full-row":e(C)}])},[Y(Fa,{style:ht(e(C)?{minHeight:"600px"}:void 0)},null,8,["style"])],2)):D("",!0),e(_)?(r(),s("div",{key:1,class:lt(["right-box",{"single-card":e(S)}]),style:{overflow:"visible"}},[f.value.networkConnection?(r(),Z($8,{key:0,class:lt({"fill-card":e(S)})},null,8,["class"])):D("",!0),f.value.networkInterface?(r(),Z(Da,{key:1,style:ht({marginTop:f.value.networkConnection?"10px":"0px"})},null,8,["style"])):D("",!0)],2)):D("",!0)]))])):D("",!0),f.value.configModule?(r(),s("div",sh,[t("div",dh,[Y(Ip)])])):D("",!0),e(A).length?(r(),s("div",lh,[t("div",uh,[(r(!0),s(U,null,tt(e(A),(ot,bt)=>(r(),s("div",{class:"grid-item",key:ot.key,style:ht({flexBasis:z(bt,e(A).length)})},[(r(),Z(oa(ot.component)))],4))),128))])])):D("",!0),f.value.systemInfo?(r(),s("div",ch,[Y(Eb)])):D("",!0),Y(Jb,{visible:F.value,"onUpdate:visible":it[1]||(it[1]=ot=>F.value=ot),modules:e(w),states:f.value,onSave:H},null,8,["visible","modules","states"])]))}});var fh=N(ph,[["__scopeId","data-v-1f2aa331"]]);const mh={};function gh(o,n){const a=_t("router-view");return r(),Z(a)}var vh=N(mh,[["render",gh]]);const bh={},hh={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_h=jt('',2),xh=[_h];function wh(o,n){return r(),s("svg",hh,xh)}var kh=N(bh,[["render",wh]]);const yh={},Fh={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Eh=jt('',2),$h=[Eh];function Ch(o,n){return r(),s("svg",Fh,$h)}var Dh=N(yh,[["render",Ch]]);const Bh={},Yh={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Ah=jt('',2),Sh=[Ah];function zh(o,n){return r(),s("svg",Yh,Sh)}var Ph=N(Bh,[["render",zh]]);const Th={id:"page"},Ih={class:"title"},Mh={class:"desc"},Lh={class:"network-containers"},Oh={class:"network-container_item"},Nh={class:"cover"},Vh={class:"thumbnail"},Gh={class:"network-container_item"},jh={class:"cover"},Uh={class:"thumbnail"},qh={class:"network-container_item"},Rh={class:"cover"},Wh={class:"thumbnail"},Hh=["innerHTML"],Jh=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=n("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+n("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(u,d)=>{const c=_t("router-link");return r(),s("div",Th,[t("div",Ih,i(e(n)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",Mh,i(e(n)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",Lh,[t("div",Oh,[Y(c,{to:"/network/pppoe"},{default:V(()=>[t("div",Nh,[t("div",Vh,[Y(Dh),t("span",null,i(e(n)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",Gh,[Y(c,{to:"/network/dhcp"},{default:V(()=>[t("div",jh,[t("div",Uh,[Y(kh),t("span",null,i(e(n)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",qh,[Y(c,{to:"/network/gateway"},{default:V(()=>[t("div",Rh,[t("div",Wh,[Y(Ph),t("span",null,i(e(n)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(l)},null,8,Hh)])}}});var Zh=N(Jh,[["__scopeId","data-v-52c03678"]]);const Kh={key:0,id:"page"},Qh={class:"title"},Xh={class:"desc"},t_={class:"network-message"},e_=["innerHTML"],a_=["onSubmit"],o_={class:"label-key"},n_=["placeholder","disabled"],i_={class:"label-key"},r_=["placeholder","disabled"],s_={key:0,class:"chose_dhcp"},d_={class:"dhcp_info"},l_={key:1,class:"msg"},u_={class:"btns"},c_=["disabled"],p_=["onClick"],f_={key:1,id:"page"},m_={class:"title"},g_={class:"btns"},v_=["onClick"],b_=["onClick"],h_=I({setup(o){const{$gettext:n,$ngettext:a}=J(),u=Te().query.type,d=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),c=E(0),k=E({}),g=E(""),p=E(!1),m=E(0),v=E(!1);(()=>L(this,null,function*(){var f,F;p.value=!0;try{const w=yield Promise.all([G.Guide.Pppoe.GET(),G.Guide.GetLan.GET()]);if(w[0].data){const{success:h,error:_,result:x}=w[0].data;x&&(x.enableLanDhcp=!1,k.value=x),h==-1011&&(p.value=!0,m.value=h)}(f=w[1].data)!=null&&f.result&&(((F=w[1].data)==null?void 0:F.result).enableDhcp||(v.value=!0,k.value.enableLanDhcp=!0))}catch(w){g.value=w}m.value==0&&(p.value=!1)}))();const y=()=>L(this,null,function*(){const f=k.value.account||"",F=k.value.password||"";if(f==""){g.value=n("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(F==""){g.value=n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}p.value=!0;const w=$.Loading(n("\u914D\u7F6E\u4E2D..."));try{const h=yield G.Guide.Pppoe.POST({account:f,password:F});if(h!=null&&h.data){const{error:_,success:x}=h.data;_&&(g.value=_),(x==null||x==0)&&($.Success(n("\u914D\u7F6E\u6210\u529F")),c.value=1)}}catch(h){g.value=h}p.value=!1,w.Close()});return(f,F)=>{const w=_t("switch-box"),h=_t("router-link");return c.value==0?(r(),s("div",Kh,[t("h2",Qh,i(e(n)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",Xh,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",t_,[m.value==-1011?(r(),s("li",{key:0,innerHTML:e(d)},null,8,e_)):D("",!0)]),t("form",{onSubmit:ft(y,["prevent"])},[t("label",null,[t("div",o_,[t("span",null,i(e(n)("\u5BBD\u5E26\u8D26\u53F7")),1)]),O(t("input",{type:"text","onUpdate:modelValue":F[0]||(F[0]=_=>k.value.account=_),placeholder:e(n)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:p.value},null,8,n_),[[at,k.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",i_,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),O(t("input",{type:"password","onUpdate:modelValue":F[1]||(F[1]=_=>k.value.password=_),placeholder:e(n)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:p.value},null,8,r_),[[at,k.value.password,void 0,{trim:!0}]])]),v.value?(r(),s("div",s_,[Y(w,{modelValue:k.value.enableLanDhcp,"onUpdate:modelValue":F[2]||(F[2]=_=>k.value.enableLanDhcp=_)},{default:V(()=>[t("span",d_,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),g.value?(r(),s("div",l_,i(g.value),1)):D("",!0),t("div",u_,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,c_),Y(h,{to:e(u)=="index"?"/":"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u8FD4\u56DE")),9,p_)]),_:1},8,["to"])])],40,a_)])):c.value==1?(r(),s("div",f_,[t("h2",m_,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",g_,[Y(h,{to:"/",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:_},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,v_)]),_:1}),Y(h,{to:e(u)=="index"?"/":"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u8FD4\u56DE")),9,b_)]),_:1},8,["to"])])])):D("",!0)}}});var __=N(h_,[["__scopeId","data-v-e187efe4"]]);const x_={key:0,id:"page"},w_={class:"title"},k_={class:"desc"},y_={class:"network-message"},F_=["innerHTML"],E_=["onSubmit"],$_={class:"label-key"},C_={value:"dhcp"},D_={value:"static"},B_={class:"label-key"},Y_=["placeholder","disabled"],A_={key:0,class:"msg"},S_={class:"label-key"},z_=["placeholder","disabled"],P_={key:1,class:"msg"},T_={class:"label-key"},I_=["placeholder","disabled"],M_={class:"label-key"},L_=["disabled"],O_={value:"manual"},N_={class:"label-key"},V_=["onUpdate:modelValue","placeholder","disabled"],G_={class:"label-key"},j_=["placeholder","disabled"],U_={class:"label-key"},q_=["placeholder","disabled"],R_={key:2,class:"chose_dhcp"},W_={class:"dhcp_info"},H_={key:3,class:"msgs"},J_={class:"btns"},Z_=["disabled"],K_=["onClick"],Q_={key:1,id:"page"},X_={class:"title"},tx={class:"btns"},ex=["onClick"],ax=["onClick"],ox=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),u=E(0),d=E({}),c=E(""),k=E(""),g=E(""),p=E(!1),m=E(""),v=E(""),b=E(0),y=Mt.checkIsIP,f=E(!1),w=Te().query.type;(()=>L(this,null,function*(){var A,z;p.value=!0;try{const B=yield Promise.all([G.Guide.ClientModel.GET(),G.Guide.GetLan.GET()]);if(B[0]){const H=B[0];if(H.data){const{success:M,error:q,result:T}=H.data;T&&(T.wanProto!="dhcp"&&T.wanProto!="static"&&(T.wanProto="dhcp",T.dnsProto="auto"),T.enableLanDhcp=!1,d.value=T),M==-1011&&(b.value=M,p.value=!0)}}(A=B[1].data)!=null&&A.result&&(((z=B[1].data)==null?void 0:z.result).enableDhcp||(f.value=!0,d.value.enableLanDhcp=!0))}catch(B){c.value=B}b.value==0&&(p.value=!1)}))();const _=A=>{A.target.value=="static"?((d.value.staticIp==null||d.value.staticIp=="")&&(d.value.staticIp="192.168.1.100"),(d.value.subnetMask==null||d.value.subnetMask=="")&&(d.value.subnetMask="255.255.255.0"),d.value.dnsProto=="auto"&&setTimeout(()=>d.value.dnsProto="manual",0)):d.value.dnsProto=="manual"&&setTimeout(()=>d.value.dnsProto="auto",0)},x=A=>{const z=A.target;if(z.value==""){m.value="";return}y(z.value)?m.value="":m.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},C=A=>{const z=A.target;if(z.value==""){v.value="";return}y(z.value)?v.value="":v.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},S=()=>L(this,null,function*(){const A={};switch(d.value.wanProto){case"dhcp":break;case"static":A.staticIp=d.value.staticIp,A.subnetMask=d.value.subnetMask,A.gateway=d.value.gateway||"";break}switch(d.value.dnsProto){case"auto":break;case"manual":A.manualDnsIp=[],d.value.manualDnsIp!=null&&d.value.manualDnsIp.length>0?A.manualDnsIp=d.value.manualDnsIp:(A.manualDnsIp.push(k.value),g.value&&A.manualDnsIp.push(g.value));break}A.dnsProto=d.value.dnsProto,A.wanProto=d.value.wanProto,A.enableLanDhcp=d.value.enableLanDhcp;const z=$.Loading(n("\u914D\u7F6E\u4E2D...."));p.value=!0;try{const B=yield G.Guide.ClientModel.POST(A);if(B!=null&&B.data){const{success:H,error:M}=B==null?void 0:B.data;M&&(c.value=M),(H==null||H==0)&&($.Success(n("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(B){c.value=B}p.value=!1,z.Close()});return(A,z)=>{const B=_t("switch-box"),H=_t("router-link");return u.value==0?(r(),s("div",x_,[t("h2",w_,i(e(n)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",k_,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",y_,[b.value==-1011?(r(),s("li",{key:0,innerHTML:e(l)},null,8,F_)):D("",!0)]),t("form",{onSubmit:ft(S,["prevent"])},[t("label",null,[t("div",$_,[t("span",null,i(e(n)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),O(t("select",{"onUpdate:modelValue":z[0]||(z[0]=M=>d.value.wanProto=M),onInput:_},[t("option",C_,i(e(n)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",D_,i(e(n)("\u9759\u6001IP\u5730\u5740")),1)],544),[[pt,d.value.wanProto]])]),d.value.wanProto=="static"?(r(),s(U,{key:0},[t("label",null,[t("div",B_,[t("span",null,i(e(n)("IP\u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[1]||(z[1]=M=>d.value.staticIp=M),placeholder:e(n)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:p.value,onInput:x},null,40,Y_),[[at,d.value.staticIp,void 0,{trim:!0}]])]),m.value?(r(),s("p",A_,i(m.value),1)):D("",!0),t("label",null,[t("div",S_,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[2]||(z[2]=M=>d.value.subnetMask=M),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:p.value,onInput:C},null,40,z_),[[at,d.value.subnetMask,void 0,{trim:!0}]])]),v.value?(r(),s("p",P_,i(v.value),1)):D("",!0),t("label",null,[t("div",T_,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[3]||(z[3]=M=>d.value.gateway=M),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:"",disabled:p.value},null,8,I_),[[at,d.value.gateway,void 0,{trim:!0}]])])],64)):D("",!0),t("label",null,[t("div",M_,[t("span",null,i(e(n)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),O(t("select",{"onUpdate:modelValue":z[4]||(z[4]=M=>d.value.dnsProto=M)},[t("option",{value:"auto",disabled:d.value.wanProto=="static"},i(e(n)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,L_),t("option",O_,i(e(n)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[pt,d.value.dnsProto]])]),d.value.dnsProto=="manual"?(r(),s(U,{key:1},[d.value.manualDnsIp!=null&&d.value.manualDnsIp.length>0?(r(!0),s(U,{key:0},tt(d.value.manualDnsIp,(M,q)=>(r(),s("label",null,[t("div",N_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),O(t("input",{type:"text","onUpdate:modelValue":T=>d.value.manualDnsIp[q]=T,placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,V_),[[at,d.value.manualDnsIp[q],void 0,{trim:!0}]])]))),256)):(r(),s(U,{key:1},[t("label",null,[t("div",G_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),O(t("input",{type:"text","onUpdate:modelValue":z[5]||(z[5]=M=>k.value=M),placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,j_),[[at,k.value,void 0,{trim:!0}]])]),t("label",null,[t("div",U_,i(e(n)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),O(t("input",{type:"text","onUpdate:modelValue":z[6]||(z[6]=M=>g.value=M),placeholder:e(n)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:p.value},null,8,q_),[[at,g.value,void 0,{trim:!0}]])])],64))],64)):D("",!0),f.value?(r(),s("div",R_,[Y(B,{modelValue:d.value.enableLanDhcp,"onUpdate:modelValue":z[7]||(z[7]=M=>d.value.enableLanDhcp=M)},{default:V(()=>[t("span",W_,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),c.value?(r(),s("div",H_,i(c.value),1)):D("",!0),t("div",J_,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,Z_),Y(H,{to:e(w)=="index"?"/":"/network",custom:""},{default:V(({navigate:M})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:M},i(e(n)("\u8FD4\u56DE")),9,K_)]),_:1},8,["to"])])],40,E_)])):u.value==1?(r(),s("div",Q_,[t("h2",X_,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",tx,[Y(H,{to:"/",custom:""},{default:V(({navigate:M})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:M},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,ex)]),_:1}),Y(H,{to:e(w)=="index"?"/":"/network",custom:""},{default:V(({navigate:M})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:M},i(e(n)("\u8FD4\u56DE")),9,ax)]),_:1},8,["to"])])])):D("",!0)}}});var nx=N(ox,[["__scopeId","data-v-5eefd6ee"]]);const ix=o=>(ut("data-v-3d6d1dea"),o=o(),ct(),o),rx={key:0,id:"page"},sx={class:"title"},dx=ix(()=>t("br",null,null,-1)),lx={class:"btns"},ux=["onClick"],cx={key:1,id:"page"},px={class:"title"},fx={class:"desc"},mx=["onSubmit"],gx={class:"label-key"},vx={class:"label-value"},bx={class:"label-key"},hx=["placeholder"],_x={class:"label-key"},xx=["placeholder"],wx={class:"label-key"},kx=["placeholder"],yx={class:"label-key"},Fx=["placeholder"],Ex={key:0,class:"msgs"},$x={class:"switch_inline"},Cx={key:0,class:"switch_info"},Dx={key:1,class:"switch_info"},Bx={class:"switch_inline"},Yx={class:"switch_info"},Ax={class:"switch_inline"},Sx={class:"switch_info"},zx={class:"btns"},Px={class:"cbi-button cbi-button-apply app-btn app-next"},Tx=["onClick"],Ix={key:2,id:"page"},Mx={class:"title"},Lx={class:"desc"},Ox={class:"btns"},Nx={key:3,id:"page"},Vx={class:"title"},Gx=["disabled"],jx={style:{"text-align":"left"}},Ux={class:"btns"},qx=["disabled"],Rx=["onClick"],Wx=I({setup(o){const{$gettext:n,$ngettext:a}=J(),u=Te().query.type,d=E(0),c=E(""),k=E(!1),g=Q(()=>{var F,w,h;return!(((F=m.value)==null?void 0:F.ipv4addr)&&((w=m.value)==null?void 0:w.ipv4mask)&&((h=m.value)==null?void 0:h.gateway))}),p=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),m=E(),v=()=>{k.value=!0,G.Network.Status.GET().then(F=>{if(F!=null&&F.data){const{result:w}=F==null?void 0:F.data;w&&(m.value=w)}}).finally(()=>{k.value=!1})},b=F=>{var w,h,_,x,C;F&&(p.value.staticLanIp=((w=m.value)==null?void 0:w.ipv4addr)||"",p.value.subnetMask=((h=m.value)==null?void 0:h.ipv4mask)&&Lt.prefixToMask(m.value.ipv4mask)||"",p.value.gateway=((_=m.value)==null?void 0:_.gateway)||"",p.value.staticDnsIp=((x=m.value)==null?void 0:x.dnsList)&&((C=m.value)==null?void 0:C.dnsList[0])||"223.5.5.5"),d.value=1},y=F=>{window.location.href=location.protocol+"//"+p.value.staticLanIp+(location.port?":"+location.port:"")},f=()=>L(this,null,function*(){const F=p.value,w=$.Loading(n("\u914D\u7F6E\u4E2D..."));try{const h=yield G.Guide.GatewayRouter.POST(F);if(h!=null&&h.data){const{success:_,error:x}=h==null?void 0:h.data;if(x&&(c.value=x),_==null||_==0){setTimeout(()=>{d.value=2,w.Close()},5e3);return}}}catch(h){c.value=h}w.Close()});return(F,w)=>{var x,C,S,A;const h=_t("router-link"),_=_t("switch-box");return d.value==0?(r(),s("div",rx,[t("h2",sx,i(e(n)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[dt(i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,i(e(n)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),dx,t("p",null,i(e(n)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,i(e(n)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,i(e(n)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",lx,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:w[0]||(w[0]=z=>d.value=3)},i(e(n)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:w[1]||(w[1]=z=>b(!1))},i(e(n)("\u624B\u52A8\u914D\u7F6E...")),1),Y(h,{to:e(u)=="index"?"/":"/network",custom:""},{default:V(({navigate:z})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:z},i(e(n)("\u8FD4\u56DE")),9,ux)]),_:1},8,["to"])])])):d.value==1?(r(),s("div",cx,[t("h2",px,i(e(n)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",fx,i(e(n)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:ft(f,["prevent"])},[t("label",null,[t("div",gx,[t("span",null,i(e(n)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",vx,[t("select",{disabled:"",style:ht({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",bx,[t("span",null,i(e(n)("IP \u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[2]||(w[2]=z=>p.value.staticLanIp=z),placeholder:e(n)("IP\u5730\u5740"),required:""},null,8,hx),[[at,p.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",_x,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[3]||(w[3]=z=>p.value.subnetMask=z),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,xx),[[at,p.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",wx,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[4]||(w[4]=z=>p.value.gateway=z),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:""},null,8,kx),[[at,p.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",yx,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),O(t("input",{type:"text","onUpdate:modelValue":w[5]||(w[5]=z=>p.value.staticDnsIp=z),placeholder:e(n)("223.5.5.5"),required:""},null,8,Fx),[[at,p.value.staticDnsIp,void 0,{trim:!0}]])]),c.value?(r(),s("div",Ex,i(c.value),1)):D("",!0),t("div",$x,[Y(_,{modelValue:p.value.enableDhcp,"onUpdate:modelValue":w[6]||(w[6]=z=>p.value.enableDhcp=z)},{default:V(()=>[p.value.enableDhcp?(r(),s("span",Cx,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(r(),s("span",Dx,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",Bx,[Y(_,{modelValue:p.value.dhcp6c,"onUpdate:modelValue":w[7]||(w[7]=z=>p.value.dhcp6c=z)},{default:V(()=>[t("span",Yx,i(e(n)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Ax,[Y(_,{modelValue:p.value.enableNat,"onUpdate:modelValue":w[8]||(w[8]=z=>p.value.enableNat=z)},{default:V(()=>[t("span",Sx,i(e(n)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",zx,[t("button",Px,i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),1),Y(h,{to:e(u)=="index"?"/":"/network",custom:""},{default:V(({navigate:z})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:z},i(e(n)("\u8FD4\u56DE")),9,Tx)]),_:1},8,["to"])])],40,mx)])):d.value==2?(r(),s("div",Ix,[t("h2",Mx,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("h3",Lx,i(e(n)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",Ox,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):d.value==3?(r(),s("div",Nx,[t("h2",Vx,i(e(n)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,i(e(n)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),dt(" "+i(e(n)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:lt(["cbi-button cbi-button-neutral",e(g)?"cbi-button-neutral":"cbi-button-success"]),disabled:k.value,onClick:v},[dt(i(e(n)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",jx,[t("ul",null,[t("li",null,i(e(n)("IP \u5730\u5740: "))+i((x=m.value)==null?void 0:x.ipv4addr),1),t("li",null,i(e(n)("\u5B50\u7F51\u63A9\u7801: "))+i(((C=m.value)==null?void 0:C.ipv4mask)&&e(Lt).prefixToMask(m.value.ipv4mask)),1),t("li",null,i(e(n)("\u7F51\u5173\u5730\u5740: "))+i((S=m.value)==null?void 0:S.gateway),1),t("li",null,i(e(n)("DNS\u670D\u52A1\u5668: "))+i(((A=m.value)==null?void 0:A.dnsList)&&m.value.dnsList[0]||(e(g)?"":e(n)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,Gx),dt(" "+i(e(n)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",Ux,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(g),onClick:w[9]||(w[9]=z=>b(!0))},i(e(n)("\u81EA\u52A8\u586B\u5199..."))+i(e(g)?e(n)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,qx),Y(h,{to:e(u)=="index"?"/":"/network",custom:""},{default:V(({navigate:z})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:z},i(e(n)("\u8FD4\u56DE")),9,Rx)]),_:1},8,["to"])])])):D("",!0)}}});var Hx=N(Wx,[["__scopeId","data-v-3d6d1dea"]]);const Jx={class:"actioner-container"},Zx={class:"actioner-container_header"},Kx={class:"actioner-container_body"},Qx={class:"label-item"},Xx={class:"label-item_key"},tw={class:"label-item_value"},ew=["value"],aw={class:"label-item_tips"},ow={class:"label-item"},nw={class:"label-item_key"},iw={key:0,class:"label-item_value"},rw={class:"msg-warning"},sw={key:1,class:"label-item_value"},dw=["value"],lw={key:1,class:"msg-warning"},uw={class:"label-item_tips"},cw={class:"actioner-container_footer"},pw=["disabled"],fw=["disabled"],mw={key:1,class:"actioner-container_body setup-loading"},gw={class:"actioner-container_body setup-error"},vw={class:"actioner-container_footer"},bw=["disabled"],hw={class:"actioner-container_body setup-success"},_w={class:"body-title"},xw={class:"actioner-container_footer"},ww=I({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},c=E("init"),k=E(""),g=[{name:"jbod",title:a("JBOD (\u7EBF\u6027)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid0",title:a("RAID 0 (\u6761\u5E26)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid1",title:a("RAID 1 (\u955C\u50CF)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid5",title:"RAID 5 ",info:a("\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002"),select:3},{name:"raid6",title:"RAID 6 ",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002"),select:4},{name:"raid10",title:"RAID 10",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002"),select:4}],p=E("raid5"),m=E([]),v=h=>{let _="";return g.forEach(x=>{x.name===h&&(_=x.info)}),_},b=E(!1),y=gt({loading:!1,members:[]}),f=h=>{};(()=>L(this,null,function*(){y.loading=!0;try{const h=yield G.Raid.CreateList.GET();if(h!=null&&h.data){const{success:_,error:x,result:C}=h.data;if(C&&(y.members=C.members||[]),x)throw x}}catch(h){console.log(h)}finally{y.loading=!1}}))();const w=()=>L(this,null,function*(){const h=g.filter(x=>x.name===p.value)[0],_=m.value;if(!h){$.Warning(a("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(_.length==0){$.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(h.select>_.length){$.Warning(a("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+h.select}));return}if(!!confirm(a("\u662F\u5426\u7ACB\u5373\u521B\u5EFA %{name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",{name:h.name}))&&!!confirm(a("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:h.name}))){b.value=!0,c.value="loading";try{const x=yield G.Raid.Create.POST({level:h.name,devicePaths:_});if(x.data){const{success:C,error:S,result:A}=x.data;if(S)throw S;(C||0)==0&&(c.value="success",d())}}catch(x){k.value=x,c.value="error"}finally{b.value=!1}}});return(h,_)=>{const x=_t("icon-loading"),C=_t("icon-error"),S=_t("icon-success");return r(),s("div",Jx,[t("div",Zx,[t("span",null,i(e(a)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),c.value=="init"?(r(),s(U,{key:0},[t("div",Kx,[t("p",null,i(e(a)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",Qx,[t("div",Xx,[t("span",null,i(e(a)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",tw,[O(t("select",{"onUpdate:modelValue":_[0]||(_[0]=A=>p.value=A),onChange:f},[(r(),s(U,null,tt(g,A=>t("option",{value:A.name},i(A.title),9,ew)),64))],544),[[pt,p.value]])]),t("div",aw,[Y(It),dt(" "+i(v(p.value)),1)])]),t("div",ow,[t("div",nw,[t("span",null,i(e(a)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(y).loading?(r(),s("div",iw,[t("span",rw,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",sw,[e(y).members.length>0?(r(!0),s(U,{key:0},tt(e(y).members,A=>(r(),s("label",null,[O(t("input",{type:"checkbox","onUpdate:modelValue":_[1]||(_[1]=z=>m.value=z),value:A.path},null,8,dw),[[Rt,m.value]]),dt(" \u3010"+i(A.model)+"\u3011"+i(A.name)+" "+i(A.path)+" ["+i(A.sizeStr)+"] ",1)]))),256)):(r(),s("span",lw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",uw,[Y(It),dt(" "+i(e(a)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",cw,[t("div",{class:"close",onClick:u,disabled:b.value},i(e(a)("\u53D6\u6D88")),9,pw),t("div",{class:"next",onClick:w,disabled:b.value},i(e(a)("\u521B\u5EFA")),9,fw)])],64)):c.value=="loading"?(r(),s("div",mw,[Y(x,{size:60,color:"#666"}),t("span",null,i(e(a)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):c.value=="error"?(r(),s(U,{key:2},[t("div",gw,[Y(C),t("span",null,i(k.value),1)]),t("div",vw,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1),t("div",{class:"next",onClick:w,disabled:b.value},i(e(a)("\u91CD\u65B0\u521B\u5EFA")),9,bw)])],64)):c.value=="success"?(r(),s(U,{key:3},[t("div",hw,[Y(S),t("div",_w,i(e(a)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",xw,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])],64)):D("",!0)])}}});var kw=N(ww,[["__scopeId","data-v-7cf2dd18"]]);const yw={class:"actioner-container"},Fw={class:"actioner-container_body"},Ew=["value"],$w={class:"actioner-container_footer"},Cw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.Close()},d=E("");return(()=>{G.Raid.Detail.POST({path:n.raid.path}).then(k=>{if(k.data){const{result:g,error:p}=k.data;p?d.value=p:d.value=(g==null?void 0:g.detail)||""}}).catch(k=>{d.value=k.message})})(),(k,g)=>(r(),s("div",yw,[t("div",Fw,[t("textarea",{value:d.value},null,8,Ew)]),t("div",$w,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])]))}});var Dw=N(Cw,[["__scopeId","data-v-0ef06e27"]]);const Bw={class:"actioner-container"},Yw={class:"actioner-container_header"},Aw={class:"actioner-container_body"},Sw={class:"label-item"},zw={class:"label-item_key"},Pw={class:"label-item_value"},Tw={disabled:""},Iw={class:"label-item"},Mw={class:"label-item_key"},Lw={key:0,class:"label-item_value"},Ow={class:"msg-warning"},Nw={key:1,class:"label-item_value"},Vw=["value"],Gw={key:1,class:"msg-warning"},jw={class:"actioner-container_footer"},Uw=["disabled"],qw=["disabled"],Rw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},c=()=>L(this,null,function*(){const v=p.value;if(v==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const b=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const y=yield G.Raid.Add.POST({path:n.raid.path,memberPath:v});if(y.data){const{error:f,success:F}=y.data;if(f)throw f;(F||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),u())}}catch(y){$.Error(`${y}`)}finally{g.value=!1,b.Close()}}),k=gt({loading:!1,members:[]}),g=E(!1),p=E("");return(()=>L(this,null,function*(){k.loading=!0,g.value=!0;try{const v=yield G.Raid.CreateList.GET();if(v!=null&&v.data){const{success:b,error:y,result:f}=v.data;if(f&&(k.members=f.members||[]),y)throw y}}catch(v){console.log(v)}finally{g.value=!1,k.loading=!1}}))(),(v,b)=>(r(),s("div",Bw,[t("div",Yw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u4FEE\u6539")),1)]),t("div",Aw,[t("div",Sw,[t("div",zw,i(e(a)("\u8BBE\u5907")),1),t("div",Pw,[t("select",Tw,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Iw,[t("div",Mw,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(k).loading?(r(),s("div",Lw,[t("span",Ow,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",Nw,[e(k).members.length>0?(r(!0),s(U,{key:0},tt(e(k).members,y=>(r(),s("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=f=>p.value=f),value:y.path},null,8,Vw),[[Bt,p.value]]),dt(" \u3010"+i(y.model)+"\u3011"+i(y.name)+" "+i(y.path)+" ["+i(y.sizeStr)+"] ",1)]))),256)):(r(),s("span",Gw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",jw,[t("div",{class:"close",onClick:u,disabled:g.value},i(e(a)("\u53D6\u6D88")),9,Uw),t("div",{class:"next",onClick:c,disabled:g.value},i(e(a)("\u4FDD\u5B58")),9,qw)])]))}});var Ww=N(Rw,[["__scopeId","data-v-593445fb"]]);const Hw={class:"actioner-container"},Jw={class:"actioner-container_header"},Zw={class:"actioner-container_body"},Kw={class:"label-item"},Qw={class:"label-item_key"},Xw={class:"label-item_value"},tk={disabled:""},ek={class:"label-item"},ak={class:"label-item_key"},ok={class:"label-item_value"},nk=["value"],ik={class:"actioner-container_footer"},rk=["disabled"],sk=["disabled"],dk=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},c=()=>L(this,null,function*(){const p=g.value;if(p==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}k.value=!0;const m=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const v=yield G.Raid.Remove.POST({path:n.raid.path,memberPath:p});if(v.data){const{error:b,success:y}=v.data;if(b)throw b;(y||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),u())}}catch(v){$.Error(`${v}`)}finally{k.value=!1,m.Close()}}),k=E(!1),g=E("");return(p,m)=>(r(),s("div",Hw,[t("div",Jw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u79FB\u9664")),1)]),t("div",Zw,[t("div",Kw,[t("div",Qw,i(e(a)("\u8BBE\u5907")),1),t("div",Xw,[t("select",tk,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",ek,[t("div",ak,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",ok,[(r(!0),s(U,null,tt(o.raid.members,v=>(r(),s("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":m[0]||(m[0]=b=>g.value=b),value:v},null,8,nk),[[Bt,g.value]]),dt(" "+i(v),1)]))),256))])])]),t("div",ik,[t("div",{class:"close",onClick:u,disabled:k.value},i(e(a)("\u53D6\u6D88")),9,rk),t("div",{class:"next",onClick:c,disabled:k.value},i(e(a)("\u4FDD\u5B58")),9,sk)])]))}});var lk=N(dk,[["__scopeId","data-v-77aa4121"]]);const uk={class:"actioner-container"},ck={class:"actioner-container_header"},pk={class:"actioner-container_body"},fk={class:"label-item"},mk={class:"label-item_key"},gk={class:"label-item_value"},vk={disabled:""},bk={class:"label-item"},hk={class:"label-item_key"},_k={key:0,class:"label-item_value"},xk={class:"msg-warning"},wk={key:1,class:"label-item_value"},kk=["value"],yk={key:1,class:"msg-warning"},Fk={class:"actioner-container_footer"},Ek=["disabled"],$k=["disabled"],Ck=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},c=()=>L(this,null,function*(){const v=p.value;if(v==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const b=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const y=yield G.Raid.Recover.POST({path:n.raid.path,memberPath:v});if(y.data){const{error:f,success:F}=y.data;if(f)throw f;(F||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),u())}}catch(y){$.Error(`${y}`)}finally{g.value=!1,b.Close()}}),k=gt({loading:!1,members:[]}),g=E(!1),p=E("");return(()=>L(this,null,function*(){k.loading=!0,g.value=!0;try{const v=yield G.Raid.CreateList.GET();if(v!=null&&v.data){const{success:b,error:y,result:f}=v.data;if(f&&(k.members=f.members||[]),y)throw y}}catch(v){console.log(v)}finally{g.value=!1,k.loading=!1}}))(),(v,b)=>(r(),s("div",uk,[t("div",ck,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u6062\u590D")),1)]),t("div",pk,[t("div",fk,[t("div",mk,i(e(a)("\u8BBE\u5907")),1),t("div",gk,[t("select",vk,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",bk,[t("div",hk,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(k).loading?(r(),s("div",_k,[t("span",xk,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",wk,[e(k).members.length>0?(r(!0),s(U,{key:0},tt(e(k).members,y=>(r(),s("label",null,[O(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=f=>p.value=f),value:y.path},null,8,kk),[[Bt,p.value]]),dt(" \u3010"+i(y.model)+"\u3011"+i(y.name)+" "+i(y.path)+" ["+i(y.sizeStr)+"] ",1)]))),256)):(r(),s("span",yk,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",Fk,[t("div",{class:"close",onClick:u,disabled:g.value},i(e(a)("\u53D6\u6D88")),9,Ek),t("div",{class:"next",onClick:c,disabled:g.value},i(e(a)("\u4FDD\u5B58")),9,$k)])]))}});var Dk=N(Ck,[["__scopeId","data-v-a924400c"]]);const Bk={class:"action-main"},Yk=I({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(n,a)=>(r(),Z(wt,{type:2},{default:V(()=>[t("div",Bk,[o.setup=="create"?(r(),Z(kw,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(r(),Z(Dw,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(r(),Z(Ww,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(r(),Z(lk,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(r(),Z(Dk,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):D("",!0)])]),_:1}))}});var Ak=N(Yk,[["__scopeId","data-v-6ef94d02"]]);const he=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(Ak,vt(st({},o),{Close:()=>{l()}}));a.use(Ra),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},so=o=>(ut("data-v-30707fb2"),o=o(),ct(),o),Sk={id:"page"},zk={name:"content"},Pk={class:"cbi-map-descr"},Tk={style:{color:"#f5365b","margin-top":"10px"}},Ik={style:{color:"#f5365b","margin-top":"10px"}},Mk={class:"btns"},Lk=["disabled"],Ok={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Nk={class:"table cbi-section-table"},Vk={style:{}},Gk={class:"tr cbi-section-table-titles anonymous"},jk={class:"th cbi-section-table-cell","data-widget":"value"},Uk={class:"th cbi-section-table-cell","data-widget":"value"},qk={class:"th cbi-section-table-cell","data-widget":"value"},Rk={class:"th cbi-section-table-cell","data-widget":"value"},Wk={class:"th cbi-section-table-cell","data-widget":"value"},Hk={class:"th cbi-section-table-cell","data-widget":"value"},Jk={class:"th cbi-section-table-cell","data-widget":"value"},Zk={class:"th cbi-section-table-cell","data-widget":"value"},Kk={class:"tr cbi-section-table-row"},Qk={class:"td cbi-value-field"},Xk={class:"td cbi-value-field"},ty=["title"],ey={class:"item-status"},ay={key:0,class:"item-status item-status-detail"},oy={class:"td cbi-value-field"},ny={class:"td cbi-value-field"},iy={class:"td cbi-value-field"},ry=so(()=>t("br",null,null,-1)),sy={class:"td cbi-value-field"},dy=so(()=>t("br",null,null,-1)),ly={key:1,href:"/cgi-bin/luci/admin/quickstart/"},uy={class:"td cbi-section-table-cell nowrap cbi-section-actions"},cy=["title","disabled","onClick"],py=["title","disabled","onClick"],fy=["title","onClick"],my=["title","onClick"],gy=["title","onClick"],vy=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=gt({disksList:[]}),u=()=>L(this,null,function*(){try{const w=yield G.Raid.List.GET();if(w!=null&&w.data){const{success:h,error:_,result:x}=w.data;if(x&&(l.disksList=x.disks||[]),_)throw _}}catch(w){console.log(w)}}),d=Mt.easyInterval(u,5e3);ke(()=>{d()});const c=w=>{switch(w.level){case"raid0":case"jbod":return!0}return w.status.indexOf("degraded")!=-1||w.status.indexOf("resyncing(")!=-1},k=w=>{let h=[];return w.childrens&&w.childrens.forEach(_=>{_.mountPoint&&h.push(`${_.name}(${_.mountPoint})`)}),h},g=()=>L(this,null,function*(){he({setup:"create",success:()=>{u()}})}),p=w=>{he({setup:"info",raid:w})},m=w=>L(this,null,function*(){if(w.childrens&&w.childrens.length>0&&w.childrens.filter(x=>x.mountPoint).length>0){Se({content:n("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:n("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:n("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:w.name}))||!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:w.name})))return;const h=$.Loading(n("\u5220\u9664\u4E2D..."));try{const _=yield G.Raid.Delete.POST({path:w.path,members:w.members});if(_.data){const{success:x,error:C}=_.data;if(C)throw C;(x||0)==0&&($.Success(n("\u5220\u9664\u6210\u529F")),u())}}catch(_){$.Error(`${_}`)}finally{h.Close()}}),v=w=>{he({setup:"edit",raid:w,success:()=>{u()}})},b=w=>{he({setup:"remove",raid:w,success:()=>{u()}})},y=w=>{he({setup:"recover",raid:w,success:()=>{u()}})},f=E(!1),F=()=>{Se({content:n("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:n("\u786E\u5B9A"),next:()=>L(this,null,function*(){f.value=!0;const w=$.Loading(n("\u626B\u63CF\u4E2D..."));try{const h=yield G.Raid.Autofix.POST();if(h.data){const{error:_,success:x}=h.data;if(_)throw _;(x||0)==0&&($.Success(n("\u6062\u590D\u5B8C\u6210")),u())}}catch(h){$.Error(`${h}`)}finally{w.Close(),f.value=!1}}),clearTitle:n("\u53D6\u6D88"),clear:()=>{}})};return(w,h)=>(r(),s("div",Sk,[t("h2",zk,i(e(n)("RAID\u7BA1\u7406")),1),t("div",Pk,[t("p",null,i(e(n)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",Tk," * "+i(e(n)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",Ik," * "+i(e(n)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",Mk,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:h[0]||(h[0]=_=>g())},i(e(n)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:h[1]||(h[1]=_=>F()),disabled:f.value},i(e(n)("\u626B\u63CF\u6062\u590DRAID")),9,Lk)]),t("div",null,[t("div",Ok,[t("table",Nk,[t("tbody",Vk,[t("tr",Gk,[t("th",jk,i(e(n)("\u540D\u79F0")),1),t("th",Uk,i(e(n)("\u8BBE\u5907")),1),t("th",qk,i(e(n)("\u72B6\u6001")),1),t("th",Rk,i(e(n)("\u7EA7\u522B")),1),t("th",Wk,i(e(n)("\u5BB9\u91CF")),1),t("th",Hk,i(e(n)("\u6210\u5458")),1),t("th",Jk,i(e(n)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",Zk,i(e(n)("\u64CD\u4F5C")),1)]),(r(!0),s(U,null,tt(e(l).disksList,_=>(r(),s("tr",Kk,[t("td",Qk,[t("b",null,i(_.name),1)]),t("td",Xk,[t("b",null,i(_.path),1)]),t("td",{class:"td cbi-value-field",title:_.status+(_.rebuildStatus||"")},[t("b",ey,i(_.status),1),_.rebuildStatus?(r(),s("b",ay," \u2026 ")):D("",!0)],8,ty),t("td",oy,[t("b",null,i(_.level),1)]),t("td",ny,[t("b",null,i(_.size),1)]),t("td",iy,[(r(!0),s(U,null,tt(_.members,x=>(r(),s("b",null,[dt(i(x)+" ",1),ry]))),256))]),t("td",sy,[k(_).length>0?(r(!0),s(U,{key:0},tt(k(_),x=>(r(),s("b",null,[dt(i(x)+" ",1),dy]))),256)):(r(),s("a",ly,i(e(n)("\u53BB\u6302\u8F7D")),1))]),t("td",uy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6269\u5145"),disabled:c(_),onClick:x=>v(_)},i(e(n)("\u6269\u5145")),9,cy),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u79FB\u9664"),disabled:c(_),onClick:x=>b(_)},i(e(n)("\u79FB\u9664")),9,py),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6062\u590D"),onClick:x=>y(_)},i(e(n)("\u6062\u590D")),9,fy),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8BE6\u60C5"),onClick:x=>p(_)},i(e(n)("\u8BE6\u60C5")),9,my),t("button",{class:"cbi-button cbi-button-remove",title:e(n)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:x=>m(_)},i(e(n)("\u5220\u9664")),9,gy)])]))),256))])])])])]))}});var by=N(vy,[["__scopeId","data-v-30707fb2"]]);const hy=o=>(ut("data-v-16dd0913"),o=o(),ct(),o),_y={id:"page"},xy=hy(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),wy={class:"cbi-map-descr"},ky={class:"tabs"},yy=["href","onClick"],Fy=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=[{to:"/smart",name:n("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:n("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:n("\u67E5\u770B\u65E5\u5FD7")}],u=E(!1),d=gt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),c=p=>{const{global:m,devices:v,tasks:b}=p;m&&(d.global.enable=m.enable||!1,d.global.powermode=m.powermode||"never"),d.devices=v||[],d.tasks=b||[]};(()=>L(this,null,function*(){try{const p=yield G.Smart.Config.GET();if(p.data){const{result:m}=p.data;m&&c(m)}}catch(p){}finally{u.value=!0}}))();const g=p=>L(this,null,function*(){const m=$.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const v=yield G.Smart.Config.POST(p);if(v.data){console.log(v.data);const{success:b,error:y,result:f}=v.data;if(y)throw y;(b||0)==0&&($.Success(n("\u4FDD\u5B58\u6210\u529F")),f&&c(f))}}catch(v){$.Error(`${v}`)}finally{m.Close()}});return(p,m)=>{const v=_t("router-link"),b=_t("router-view");return r(),s("div",_y,[xy,t("div",wy,[t("p",null,i(e(n)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,i(e(n)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,i(e(n)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,i(e(n)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",ky,[(r(),s(U,null,tt(l,y=>Y(v,{to:y.to,custom:"",key:y.to},{default:V(({route:f,href:F,navigate:w,isActive:h,isExactActive:_})=>[t("li",{class:lt({"active cbi-tab":h&&_})},[t("a",{href:F,onClick:w},i(y.name),9,yy)],2)]),_:2},1032,["to"])),64))]),u.value?(r(),Z(b,{key:0,name:"default"},{default:V(({Component:y,route:f})=>[(r(),Z(Co,null,{default:V(()=>[(r(),Z(oa(y),{key:f.path,config:e(d),saveData:g},null,8,["config"]))]),_:2},1024))]),_:1})):D("",!0)])}}});var Ey=N(Fy,[["__scopeId","data-v-16dd0913"]]);const $y={class:"action-main"},Cy=I({setup(o){return(n,a)=>(r(),Z(wt,{type:2},{default:V(()=>[t("div",$y,[Yt(n.$slots,"default",{},void 0,!0)])]),_:3}))}});var je=N(Cy,[["__scopeId","data-v-742230ae"]]);const Dy={class:"actioner-container"},By={class:"actioner-container_header"},Yy={class:"actioner-container_body"},Ay={class:"cbi-value"},Sy={class:"cbi-value-title"},zy={class:"cbi-value-field"},Py={class:"cbi-value-description"},Ty={class:"cbi-value"},Iy={class:"cbi-value-title"},My={class:"cbi-value-field"},Ly={class:"cbi-checkbox"},Oy={value:-1},Ny={value:0},Vy=["value"],Gy={class:"cbi-value-description"},jy={class:"cbi-value"},Uy={class:"cbi-value-title"},qy={class:"cbi-value-field"},Ry={class:"cbi-checkbox"},Wy={value:-1},Hy={value:0},Jy=["value"],Zy={class:"cbi-value-description"},Ky={class:"actioner-container_footer"},Qy=["disabled"],Xy=["disabled"],tF=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var g,p,m;const n=o,{$gettext:a,$ngettext:l}=J();console.log(n.device);const u=E(!1),d=gt({tmpDiff:((g=n.device)==null?void 0:g.tmpDiff)||0,tmpMax:((p=n.device)==null?void 0:p.tmpMax)||0,devicePath:((m=n.device)==null?void 0:m.devicePath)||""}),c=()=>{u.value=!0,n.close()},k=()=>L(this,null,function*(){u.value=!0;try{yield n.next({tmpDiff:d.tmpDiff,tmpMax:d.tmpMax,devicePath:d.devicePath}),u.value=!1,c()}catch(v){}});return(v,b)=>(r(),Z(je,null,{default:V(()=>[t("div",Dy,[t("div",By,[t("span",null," S.M.A.R.T. \xBB "+i(e(a)("\u8BBE\u5907"))+" \xBB "+i(o.disk.path),1)]),t("div",Yy,[t("div",Ay,[t("label",Sy,i(e(a)("\u78C1\u76D8")),1),t("div",zy,[t("div",Py,i(o.disk.model)+" [ "+i(o.disk.path)+"\uFF0C"+i(o.disk.sizeStr)+" ] ",1)])]),t("div",Ty,[t("label",Iy,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",My,[t("div",Ly,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[0]||(b[0]=y=>e(d).tmpDiff=y)},[t("option",Oy,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Ny,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,y=>t("option",{value:y},i(y)+"\xB0C",9,Vy)),64))],512),[[pt,e(d).tmpDiff,void 0,{number:!0}]])]),t("div",Gy,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",jy,[t("label",Uy,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",qy,[t("div",Ry,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[1]||(b[1]=y=>e(d).tmpMax=y)},[t("option",Wy,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Hy,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,y=>t("option",{value:y*5},i(y*5)+"\xB0C",9,Jy)),64))],512),[[pt,e(d).tmpMax,void 0,{number:!0}]])]),t("div",Zy,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",Ky,[t("button",{class:"close",onClick:c,disabled:u.value},i(e(a)("\u53D6\u6D88")),9,Qy),t("button",{class:"next",onClick:k,disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,Xy)])])]),_:1}))}}),eF={class:"actioner-container"},aF={class:"actioner-container_header"},oF={class:"actioner-container_body"},nF={class:"cbi-value"},iF={class:"cbi-value-title"},rF={class:"cbi-value-field"},sF={class:"cbi-checkbox"},dF={value:""},lF=["value"],uF={class:"cbi-value"},cF={class:"cbi-value-title"},pF={class:"cbi-value-field"},fF={class:"cbi-checkbox"},mF={value:"short"},gF={value:"long"},vF={value:"conveyance"},bF={value:"offline"},hF={class:"cbi-value"},_F={class:"cbi-value-title"},xF={class:"cbi-value-field"},wF={class:"cbi-checkbox"},kF=t("option",{value:"*"},"*",-1),yF=["value"],FF={class:"cbi-value-description"},EF={class:"cbi-value"},$F={class:"cbi-value-title"},CF={class:"cbi-value-field"},DF={class:"cbi-checkbox"},BF=t("option",{value:"*"},"*",-1),YF=["value"],AF={class:"cbi-value-description"},SF={class:"cbi-value"},zF={class:"cbi-value-title"},PF={class:"cbi-value-field"},TF={class:"cbi-checkbox"},IF=t("option",{value:"*"},"*",-1),MF=["value"],LF={class:"cbi-value-description"},OF={class:"actioner-container_footer"},NF=["disabled"],VF=["disabled"],GF=I({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!1),d=gt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),c=E([]);(()=>L(this,null,function*(){try{const m=yield G.Smart.List.GET();if(m.data){const{result:v,error:b}=m.data;v&&v.disks&&(c.value=v.disks)}}catch(m){}}))();const g=()=>{u.value=!0,n.close()},p=()=>L(this,null,function*(){if(d.devicePath==""){$.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}u.value=!0;try{yield n.next(d),g()}catch(m){}finally{u.value=!1}});return(m,v)=>(r(),Z(je,null,{default:V(()=>[t("div",eF,[t("div",aF,[t("span",null,i(e(a)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",oF,[t("div",nF,[t("label",iF,i(e(a)("\u78C1\u76D8")),1),t("div",rF,[t("div",sF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[0]||(v[0]=b=>e(d).devicePath=b)},[t("option",dF,i(e(a)("\u9009\u62E9\u78C1\u76D8")),1),(r(!0),s(U,null,tt(c.value,b=>(r(),s("option",{value:b.path},i(b.model)+" [ "+i(b.path)+"\uFF0C"+i(b.sizeStr)+" ] ",9,lF))),256))],512),[[pt,e(d).devicePath,void 0,{trim:!0}]])])])]),t("div",uF,[t("label",cF,i(e(a)("\u7C7B\u578B")),1),t("div",pF,[t("div",fF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[1]||(v[1]=b=>e(d).type=b)},[t("option",mF,i(e(a)("\u77ED\u6682\u81EA\u68C0")),1),t("option",gF,i(e(a)("\u957F\u65F6\u81EA\u68C0")),1),t("option",vF,i(e(a)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",bF,i(e(a)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[pt,e(d).type,void 0,{trim:!0}]])])])]),t("div",hF,[t("label",_F,i(e(a)("\u5C0F\u65F6")),1),t("div",xF,[t("div",wF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[2]||(v[2]=b=>e(d).hour=b)},[kF,(r(),s(U,null,tt(24,(b,y)=>t("option",{value:`${y}`},i(y),9,yF)),64))],512),[[pt,e(d).hour,void 0,{trim:!0}]])]),t("div",FF,i(e(a)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",EF,[t("label",$F,i(e(a)("\u5929")),1),t("div",CF,[t("div",DF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[3]||(v[3]=b=>e(d).dayPerMonth=b)},[BF,(r(),s(U,null,tt(31,b=>t("option",{value:`${b}`},i(b),9,YF)),64))],512),[[pt,e(d).dayPerMonth,void 0,{trim:!0}]])]),t("div",AF,i(e(a)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",SF,[t("label",zF,i(e(a)("\u6708")),1),t("div",PF,[t("div",TF,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[4]||(v[4]=b=>e(d).month=b)},[IF,(r(),s(U,null,tt(12,(b,y)=>t("option",{value:`${b}`},i(b),9,MF)),64))],512),[[pt,e(d).month,void 0,{trim:!0}]])]),t("div",LF,i(e(a)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",OF,[t("button",{class:"close",onClick:g,disabled:u.value},i(e(a)("\u53D6\u6D88")),9,NF),t("button",{class:"next",onClick:p,disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,VF)])])]),_:1}))}}),jF={class:"actioner-container"},UF={class:"actioner-container_header"},qF={class:"actioner-container_body"},RF=["value"],WF={class:"actioner-container_footer"},HF=["disabled"],JF=["disabled"],ZF=I({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!1),d=E(""),c=E(""),k=E(""),g=()=>L(this,null,function*(){d.value+=".";try{const b=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.task.devicePath||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(k.value=y.result),f&&(k.value=f)}}catch(b){b&&(k.value=b)}}),p=Mt.easyInterval(g,5e3);ke(()=>{p()});const m=()=>{u.value=!0,p(),n.close()},v=()=>L(this,null,function*(){u.value=!0;try{const b=yield G.Smart.Test.POST({type:n.task.type||"short",devicePath:n.task.devicePath||""});if(b.data){const{success:y,error:f,result:F}=b.data;f&&(c.value=f),F&&F.result&&(c.value=F.result)}}catch(b){c.value=b}finally{}});return(b,y)=>(r(),Z(je,null,{default:V(()=>[t("div",jF,[t("div",UF,[t("span",null,i(e(a)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",qF,[t("textarea",{value:c.value+` `+k.value+` -`+d.value,disabled:""},null,8,RF)]),t("div",WF,[t("div",{class:"close",onClick:m,disabled:c.value},i(e(a)("\u5173\u95ED")),9,HF),c.value?D("",!0):(r(),s("div",{key:0,class:"next",onClick:v,disabled:c.value},i(e(a)("\u8FD0\u884C")),9,JF))])])]),_:1}))}});var KF=N(ZF,[["__scopeId","data-v-abf07ee0"]]);const QF={class:"actioner-container"},XF={class:"actioner-container_header"},tE={class:"tabs"},eE={class:"actioner-container_body"},aE={key:0,class:"table"},oE={class:"tr"},nE={class:"td left"},iE={class:"td left"},rE={class:"tr"},sE={class:"td left"},dE={class:"td left"},lE={class:"tr"},cE={class:"td left"},uE={class:"td left"},pE=["value"],fE=["value"],mE=["value"],gE={class:"actioner-container_footer"},vE=["disabled"],bE=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!1),d=E("info"),u=b=>{switch(d.value=b,b){case"info":break;case"attribute":m();break;case"log":p();break;case"extend":v();break}},k=()=>{c.value=!0,n.close()},g=gt({log:"",attribute:"",extend:""}),p=()=>L(this,null,function*(){try{const b=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.disk.path||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(g.log=y.result),f&&(g.log=f)}}catch(b){g.log=b}}),m=()=>L(this,null,function*(){try{const b=yield G.Smart.Attribute.Result.POST({devicePath:n.disk.path||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(g.attribute=y.result),f&&(g.attribute=f)}}catch(b){g.attribute=b}}),v=()=>L(this,null,function*(){try{const b=yield G.Smart.Extend.Result.POST({devicePath:n.disk.path||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(g.extend=y.result),f&&(g.extend=f)}}catch(b){g.extend=b}});return(b,y)=>(r(),Z(je,null,{default:V(()=>[t("div",QF,[t("div",XF,[t("ul",tE,[t("li",{class:lt({"active cbi-tab":d.value=="info"}),onClick:y[0]||(y[0]=f=>u("info"))},[t("a",null,i(e(a)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:lt({"active cbi-tab":d.value=="attribute"}),onClick:y[1]||(y[1]=f=>u("attribute"))},[t("a",null,i(e(a)("\u5C5E\u6027")),1)],2),t("li",{class:lt({"active cbi-tab":d.value=="log"}),onClick:y[2]||(y[2]=f=>u("log"))},[t("a",null,i(e(a)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:lt({"active cbi-tab":d.value=="extend"}),onClick:y[3]||(y[3]=f=>u("extend"))},[t("a",null,i(e(a)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",eE,[d.value=="info"?(r(),s("table",aE,[t("tr",oE,[t("td",nE,i(e(a)("\u8BBE\u5907")),1),t("td",iE,i(o.disk.path),1)]),t("tr",rE,[t("td",sE,i(e(a)("\u578B\u53F7")),1),t("td",dE,i(o.disk.model),1)]),t("tr",lE,[t("td",cE,i(e(a)("\u5E8F\u53F7")),1),t("td",uE,i(o.disk.serial),1)])])):d.value=="attribute"?(r(),s("textarea",{key:1,disabled:"",value:e(g).attribute},null,8,pE)):d.value=="log"?(r(),s("textarea",{key:2,disabled:"",value:e(g).log},null,8,fE)):d.value=="extend"?(r(),s("textarea",{key:3,disabled:"",value:e(g).extend},null,8,mE)):D("",!0)]),t("div",gE,[t("div",{class:"close",onClick:k,disabled:c.value},i(e(a)("\u5173\u95ED")),9,vE)])])]),_:1}))}});var hE=N(bE,[["__scopeId","data-v-4a646cde"]]);const _E=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(tF,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},xE=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(GF,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},wE=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(KF,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},kE=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(hE,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},yE={class:"cbi-section"},FE={class:"cbi-value"},EE={class:"cbi-value-title"},$E={class:"cbi-value-field"},CE={class:"cbi-checkbox"},DE=["value"],BE={class:"cbi-value"},YE={class:"cbi-value-title"},AE={class:"cbi-value-field"},SE={class:"cbi-checkbox"},zE={value:"never"},PE={value:"sleep"},TE={value:"standby"},IE={value:"idle"},ME={class:"cbi-value-description"},LE=t("br",null,null,-1),OE=t("br",null,null,-1),NE=t("br",null,null,-1),VE=t("br",null,null,-1),GE={class:"cbi-value"},jE={class:"cbi-value-title"},UE={class:"cbi-value-field"},qE={class:"cbi-checkbox"},RE={value:0},WE=["value"],HE={class:"cbi-value-description"},JE={class:"cbi-value"},ZE={class:"cbi-value-title"},KE={class:"cbi-value-field"},QE={class:"cbi-checkbox"},XE={value:0},t$=["value"],e$={class:"cbi-value-description"},a$={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},o$={class:"table cbi-section-table"},n$={class:"tr cbi-section-table-titles anonymous"},i$={class:"th cbi-section-table-cell","data-widget":"value"},r$={class:"th cbi-section-table-cell","data-widget":"value"},s$={class:"th cbi-section-table-cell","data-widget":"value"},d$={class:"th cbi-section-table-cell","data-widget":"value"},l$={class:"th cbi-section-table-cell","data-widget":"value"},c$={class:"th cbi-section-table-cell","data-widget":"value"},u$={class:"th cbi-section-table-cell","data-widget":"value"},p$={class:"th cbi-section-table-cell","data-widget":"value"},f$={class:"tr cbi-section-table-row"},m$={class:"td cbi-value-field"},g$={class:"td cbi-value-field"},v$={class:"td cbi-value-field"},b$={class:"td cbi-value-field"},h$={class:"td cbi-value-field"},_$={class:"td cbi-value-field"},x$={class:"td cbi-value-field"},w$={class:"td cbi-value-field"},k$=["title","onClick"],y$=["title","onClick"],F$={class:"cbi-page-actions control-group"},E$=["value"],$$=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=gt(n.config),d=()=>{c.global.tmpDiff=n.config.global.tmpDiff||0,c.global.tmpMax=n.config.global.tmpMax||0,c.global.enable=n.config.global.enable||!1,c.global.powermode=n.config.global.powermode||"never",c.devices=n.config.devices||[],c.tasks=n.config.tasks||[]},u=E([]),k=()=>L(this,null,function*(){try{const b=yield G.Smart.List.GET();if(b.data){const{result:y,error:f}=b.data;y&&y.disks&&(u.value=y.disks||[])}}catch(b){}}),g=Mt.easyInterval(k,5e3);ke(()=>{g()});const p=()=>L(this,null,function*(){yield n.saveData({global:c.global,devices:n.config.devices,tasks:n.config.tasks}),d()}),m=b=>{kE({disk:b})},v=(b,y)=>L(this,null,function*(){let f=null,F=-1;if(c.devices){for(let w=0;wL(this,null,function*(){w.tmpDiff==-1&&(w.tmpDiff=c.global.tmpDiff),w.tmpMax==-1&&(w.tmpMax=c.global.tmpMax),w.devicePath==""&&(w.devicePath=b.path);let h=[...c.devices];F>=0&&(h[F]=w);const _=new Map;h.forEach(x=>{x.devicePath!=null&&_.set(x.devicePath,null)});for(let x=0;x(r(),s(U,null,[t("fieldset",yE,[t("div",FE,[t("label",EE,i(e(a)("\u542F\u7528")),1),t("div",$E,[t("div",CE,[O(t("input",{type:"checkbox","onUpdate:modelValue":y[0]||(y[0]=f=>e(c).global.enable=f),value:!e(c).global.enable},null,8,DE),[[Rt,e(c).global.enable]])])])]),t("div",BE,[t("label",YE,i(e(a)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",AE,[t("div",SE,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":y[1]||(y[1]=f=>e(c).global.powermode=f)},[t("option",zE,i(e(a)("\u603B\u662F")),1),t("option",PE,i(e(a)("\u7761\u7720")),1),t("option",TE,i(e(a)("\u5F85\u673A")),1),t("option",IE,i(e(a)("\u95F2\u7F6E")),1)],512),[[pt,e(c).global.powermode,void 0,{trim:!0}]])]),t("div",ME,[t("span",null,i(e(a)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),LE,t("span",null,"* "+i(e(a)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),OE,t("span",null,"* "+i(e(a)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),NE,t("span",null,"* "+i(e(a)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),VE,t("span",null,"* "+i(e(a)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",GE,[t("label",jE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",UE,[t("div",qE,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":y[2]||(y[2]=f=>e(c).global.tmpDiff=f)},[t("option",RE,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(15,f=>t("option",{value:f},i(f)+"\xB0C",9,WE)),64))],512),[[pt,e(c).global.tmpDiff,void 0,{number:!0}]])]),t("div",HE,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",JE,[t("label",ZE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",KE,[t("div",QE,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":y[3]||(y[3]=f=>e(c).global.tmpMax=f)},[t("option",XE,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,f=>t("option",{value:f*5},i(f*5)+"\xB0C",9,t$)),64))],512),[[pt,e(c).global.tmpMax,void 0,{number:!0}]])]),t("div",e$,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",a$,[t("table",o$,[t("thead",null,[t("tr",n$,[t("th",i$,i(e(a)("\u8BBE\u5907")),1),t("th",r$,i(e(a)("\u578B\u53F7")),1),t("th",s$,i(e(a)("\u5E8F\u53F7")),1),t("th",d$,i(e(a)("\u5BB9\u91CF")),1),t("th",l$,i(e(a)("\u6E29\u5EA6")),1),t("th",c$,i(e(a)("\u72B6\u6001")),1),t("th",u$,i(e(a)("\u5065\u5EB7")),1),t("th",p$,i(e(a)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(r(!0),s(U,null,tt(u.value,(f,F)=>(r(),s("tr",f$,[t("td",m$,[t("b",null,i(f.path),1)]),t("td",g$,[t("b",null,i(f.model),1)]),t("td",v$,[t("b",null,i(f.serial),1)]),t("td",b$,[t("b",null,i(f.sizeStr),1)]),t("td",h$,[t("b",null,i(f.temp),1)]),t("td",_$,[t("b",null,i(f.status),1)]),t("td",x$,[t("b",null,i(f.health),1)]),t("td",w$,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:w=>v(f)},i(e(a)("\u7F16\u8F91")),9,k$),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:w=>m(f)},i(e(a)("\u8BE6\u60C5")),9,y$)])]))),256))])])]),t("span",F$,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:p},null,8,E$)])],64))}}),C$={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},D$={class:"table cbi-section-table"},B$={class:"tr cbi-section-table-titles anonymous"},Y$={class:"th cbi-section-table-cell","data-widget":"value"},A$={class:"th cbi-section-table-cell","data-widget":"value"},S$={class:"th cbi-section-table-cell","data-widget":"value"},z$={class:"th cbi-section-table-cell","data-widget":"value"},P$={class:"tr cbi-section-table-row"},T$={class:"td cbi-value-field"},I$={class:"td cbi-value-field"},M$={class:"td cbi-value-field"},L$={class:"td cbi-value-field"},O$=["title","onClick"],N$=["title","onClick"],V$=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=gt(n.config),d=p=>{switch(p){case"short":return a("\u77ED\u6682\u81EA\u68C0");case"long":return a("\u957F\u65F6\u81EA\u68C0");case"conveyance":return a("\u4F20\u8F93\u65F6\u81EA\u68C0");case"offline":return a("\u79BB\u7EBF\u65F6\u81EA\u68C0");default:return a("\u672A\u77E5")}},u=()=>{xE({config:n.config,disks:[],next:p=>L(this,null,function*(){yield n.saveData({tasks:[...c.tasks,p],global:n.config.global,devices:n.config.devices}),c.tasks=n.config.tasks||[]})})},k=p=>L(this,null,function*(){const m=[...c.tasks];m.splice(p,1),yield n.saveData({tasks:m,global:n.config.global,devices:n.config.devices}),c.tasks=n.config.tasks||[]}),g=p=>{wE({task:p})};return(p,m)=>(r(),s(U,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:m[0]||(m[0]=v=>u())},i(e(a)("\u65B0\u5EFA")),1),t("div",C$,[t("table",D$,[t("thead",null,[t("tr",B$,[t("th",Y$,i(e(a)("\u8BBE\u5907")),1),t("th",A$,i(e(a)("\u7C7B\u578B")),1),t("th",S$,i(e(a)("\u8C03\u5EA6")),1),t("th",z$,i(e(a)("\u529F\u80FD")),1)])]),t("tbody",null,[(r(!0),s(U,null,tt(e(c).tasks,(v,b)=>(r(),s("tr",P$,[t("td",T$,[t("b",null,i(v.devicePath),1)]),t("td",I$,[t("b",null,i(d(v.type)),1)]),t("td",M$,[t("b",null,i(v.month)+"/"+i(v.dayPerMonth)+"/"+i(v.hour),1)]),t("td",L$,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8C03\u8BD5"),onClick:y=>g(v)},i(e(a)("\u9884\u89C8")),9,O$),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5220\u9664"),onClick:y=>k(b)},i(e(a)("\u5220\u9664")),9,N$)])]))),256))])])])],64))}}),G$={class:"cbi-section"},j$=["value"],U$=I({setup(o){return L(this,null,function*(){let n,a;const l=E(""),c=()=>L(this,null,function*(){try{const d=yield G.Smart.Log.GET();if(d.data){const{result:u,error:k}=d.data;u&&u.result&&(l.value=u.result),k&&(l.value=k)}}catch(d){l.value=d}});return[n,a]=Do(()=>c()),yield n,a(),(d,u)=>(r(),s("fieldset",G$,[t("textarea",{value:l.value,disabled:""},null,8,j$)]))})}});var q$=N(U$,[["__scopeId","data-v-997c3dee"]]);const lo=o=>(ct("data-v-17b89cb7"),o=o(),ut(),o),R$=lo(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),W$={class:"app-container_status-label_text"},H$={class:"text_status"},J$={class:"text_info"},Z$=lo(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),K$={class:"app-container_status-label_text"},Q$={class:"text_info"},X$=I({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=ra(),d=E(null),u=g=>{const p=g.target,{left:m,top:v}=p.getBoundingClientRect();c.portitemStyle.show=!0,c.portitemStyle.left=m,c.portitemStyle.top=v,c.portitemStyle.portitem=n.item},k=g=>{c.portitemStyle.show=!1};return(g,p)=>(r(),s("div",{class:"app-container_status-label_bg",style:ht(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:d,onMouseenter:u,onMouseleave:k},[o.item.linkState=="DOWN"?(r(),s(U,{key:0},[R$,t("div",W$,[t("div",H$,i(e(a)("\u5DF2\u65AD\u5F00")),1),t("div",J$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(r(),s(U,{key:1},[Z$,t("div",K$,[t("div",null,i(o.item.linkSpeed),1),t("div",Q$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var tC=N(X$,[["__scopeId","data-v-17b89cb7"]]);const eC={},aC={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},oC=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),nC=[oC];function iC(o,n){return r(),s("svg",aC,nC)}var Pa=N(eC,[["render",iC]]);const rC=["onSubmit"],sC={class:"actioner-dns_header"},dC={key:0},lC={key:1},cC={class:"actioner-dns_body"},uC={class:"label-item"},pC={class:"label-item_key"},fC={class:"label-item_value"},mC={class:"label-item"},gC={class:"label-item_key"},vC={class:"label-item_value"},bC={value:"dhcp"},hC={key:0,value:"pppoe"},_C={value:"static"},xC={class:"actioner-dns_footer"},wC=["disabled"],kC=I({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),c=E(!1),d=E(n.inface),u=()=>L(this,null,function*(){$.Loading(a("\u914D\u7F6E\u4E2D...")).Close(),n.next(d.value),k()}),k=()=>{n.Close&&n.Close()};return(g,p)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[t("form",{class:"actioner-dns",onSubmit:ft(u,["prevent"])},[t("div",sC,[o.name=="wan"?(r(),s("span",dC,i(o.e=="edit"?e(a)("\u7F16\u8F91WAN"):e(a)("\u6DFB\u52A0WAN")),1)):(r(),s("span",lC,i(o.e=="edit"?e(a)("\u7F16\u8F91LAN"):e(a)("\u6DFB\u52A0LAN")),1))]),t("div",cC,[t("div",uC,[t("div",pC,[t("span",null,i(e(a)("\u540D\u79F0")),1)]),t("div",fC,[t("span",null,i(d.value.name.toLocaleUpperCase()),1)])]),t("div",mC,[t("div",gC,[t("span",null,i(e(a)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",vC,[O(t("select",{"onUpdate:modelValue":p[0]||(p[0]=m=>d.value.proto=m)},[t("option",bC,i(e(a)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(r(),s("option",hC,"PPPoE")):D("",!0),t("option",_C,i(e(a)("\u9759\u6001\u5730\u5740")),1)],512),[[pt,d.value.proto]])])])]),t("div",xC,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:c.value},i(e(a)("\u4FDD\u5B58")),9,wC),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},i(e(a)("\u53D6\u6D88")),1)])],40,rC)]),_:1},8,["Close"]))}});var yC=N(kC,[["__scopeId","data-v-6f6071af"]]);const Ta=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(yC,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()}},Ut=o=>(ct("data-v-4ec945e0"),o=o(),ut(),o),FC={id:"page"},EC={name:"content"},$C={class:"container"},CC={class:"table-wrapper"},DC={class:"table-header"},BC={class:"interface-device-flex"},YC=Ut(()=>t("div",{class:"header-cell spacer-col"},null,-1)),AC=Ut(()=>t("div",{class:"header-cell"},null,-1)),SC=Ut(()=>t("div",{class:"header-cell action-col"},null,-1)),zC={class:"table-body"},PC=["name","value","onUpdate:modelValue","onInput"],TC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),IC={class:"table-cell name-col"},MC={class:"table-cell action-col"},LC=["title","onClick"],OC=["onClick"],NC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),VC=Ut(()=>t("div",{class:"table-cell name-col"},null,-1)),GC={class:"table-cell action-col"},jC=["name","value","onUpdate:modelValue","onInput"],UC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),qC={class:"table-cell name-col"},RC={class:"table-cell action-col"},WC=["title","onClick"],HC=["onClick"],JC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),ZC=Ut(()=>t("div",{class:"table-cell name-col"},null,-1)),KC={class:"table-cell action-col"},QC={class:"cbi-page-actions control-group"},XC=["value","disabled"],tD=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=gt({devices:[],interfaces:[]}),c=E(!1),d=gt({lan:[],wan:[]});(()=>{G.Network.GetInterfaceConfig.GET().then(y=>{if(y.data){const{result:f}=y.data;if(f){l.devices=f.devices||[],l.interfaces=f.interfaces||[];for(let F=0;F{y=="wan"?d.wan.splice(f,1):y=="lan"&&d.lan.splice(f,1)},g=(y,f)=>{if(f==null){let F=y=="wan"?d.wan.length:d.lan.length;F==6&&y=="wan"&&F++,Ta({e:"add",name:y,inface:{name:y+`${F}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:y},next:w=>{y=="wan"?d.wan.push(w):d.lan.push(w),$.Message(n("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else Ta({e:"edit",name:y,inface:y=="wan"?d.wan[f]:d.lan[f],next:F=>{y=="wan"?d.wan[f]=F:d.lan[f]=F}})},p=(y,f)=>y?y.indexOf(f):-1,m=(y,f)=>{const w=y.target.value;for(let _=0;_{const w=y.target.value;for(let h=0;hL(this,null,function*(){c.value=!0;const y=[];for(let F=0;F(r(),s("div",FC,[t("h2",EC,i(e(n)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",$C,[t("div",CC,[t("div",DC,[(r(!0),s(U,null,tt(e(l).devices,F=>(r(),s("div",{class:"header-cell device-col",key:F.name},[t("div",BC,[Y(tC,{item:F},null,8,["item"])])]))),128)),YC,AC,SC]),t("div",zC,[(r(!0),s(U,null,tt(e(d).lan,(F,w)=>(r(),s("div",{key:w,class:"table-row"},[(r(!0),s(U,null,tt(e(l).devices,h=>(r(),s("div",{class:"table-cell device-col",key:h.name},[O(t("input",{type:"checkbox",name:h.name,value:h.name,"onUpdate:modelValue":_=>F.deviceNames=_,onInput:_=>m(_,w)},null,40,PC),[[Rt,F.deviceNames]])]))),128)),TC,t("div",IC,[t("b",null,i(F.name),1)]),t("div",MC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:h=>g("lan",w)},i(e(n)("\u7F16\u8F91")),9,LC),w!==0?(r(),s("button",{key:0,class:"cbi-button cbi-button-remove",onClick:h=>k("lan",w)},i(e(n)("\u5220\u9664")),9,OC)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:f[0]||(f[0]=F=>g("lan"))},[(r(!0),s(U,null,tt(e(l).devices,F=>(r(),s("div",{class:"table-cell device-col",key:F.name}))),128)),NC,VC,t("div",GC,[Y(Pa,{class:"icon"})])]),(r(!0),s(U,null,tt(e(d).wan,(F,w)=>(r(),s("div",{key:w,class:"table-row"},[(r(!0),s(U,null,tt(e(l).devices,h=>(r(),s("div",{class:"table-cell device-col",key:h.name},[O(t("input",{type:"checkbox",name:h.name,value:h.name,"onUpdate:modelValue":_=>F.deviceNames=_,onInput:_=>v(_,w)},null,40,jC),[[Rt,F.deviceNames]])]))),128)),UC,t("div",qC,[t("b",null,i(F.name),1)]),t("div",RC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:h=>g("wan",w)},i(e(n)("\u7F16\u8F91")),9,WC),w!==0?(r(),s("button",{key:0,class:"cbi-button cbi-button-remove",onClick:h=>k("wan",w)},i(e(n)("\u5220\u9664")),9,HC)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:f[1]||(f[1]=F=>g("wan"))},[(r(!0),s(U,null,tt(e(l).devices,F=>(r(),s("div",{class:"table-cell device-col",key:F.name}))),128)),JC,ZC,t("div",KC,[Y(Pa,{class:"icon"})])])])])]),t("div",QC,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(n)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:b,disabled:c.value},null,8,XC)])]))}});var eD=N(tD,[["__scopeId","data-v-4ec945e0"]]);const aD={name:"CustomTable",props:{data:{type:Array,default:()=>[]},columns:{type:Array,required:!0,validator:o=>o.every(n=>n.label&&n.prop)},showSelection:{type:Boolean,default:!1},rowKey:{type:String,default:"id"},showPagination:{type:Boolean,default:!0},pageSize:{type:Number,default:10},currentPage:{type:Number,default:1},emptyText:{type:String,default:"\u6682\u65E0\u6570\u636E"},maxPagerCount:{type:Number,default:5},theadBgColor:{type:String,default:"#F8F8F8"}},emits:["selection-change","update:currentPage","page-change"],setup(o,{emit:n}){const{$gettext:a}=J(),l=E([]),c=E(!1),d=E(!1);E(null);const u=Q(()=>o.data.length),k=Q(()=>Math.ceil(u.value/o.pageSize)),g=Q(()=>{if(!o.showPagination)return o.data;const C=(o.currentPage-1)*o.pageSize,S=C+o.pageSize;return o.data.slice(C,S)}),p=Q(()=>(o.currentPage-1)*o.pageSize+1),m=Q(()=>{const C=o.currentPage*o.pageSize;return C>u.value?u.value:C}),v=Q(()=>({minWidth:`${o.columns.reduce((S,A)=>S+(parseInt(A.width)||50),o.showSelection?50:0)}px`})),b=Q(()=>{const C=[],S=Math.floor(o.maxPagerCount/2);let A=o.currentPage-S,z=o.currentPage+S;A<1&&(A=1,z=Math.min(o.maxPagerCount,k.value)),z>k.value&&(z=k.value,A=Math.max(1,z-o.maxPagerCount+1));for(let B=A;B<=z;B++)C.push(B);return C}),y=C=>({width:C.width?`${Math.max(50,parseInt(C.width))}px`:"auto",minWidth:"50px",textAlign:C.align||"center"}),f=()=>{c.value?l.value=[...g.value.map(C=>C[o.rowKey])]:l.value=[],h()},F=()=>{c.value=l.value.length===g.value.length&&g.value.length>0,h()},w=(C,S)=>{S?l.value.includes(C)||l.value.push(C):l.value=l.value.filter(A=>A!==C),F()},h=()=>{const C=o.data.filter(S=>l.value.includes(S[o.rowKey]));n("selection-change",C)},_=C=>{C<1||C>k.value||(n("update:currentPage",C),n("page-change",C))},x=()=>{d.value=window.innerWidth<=768};return $t(()=>o.data,()=>{l.value=[],c.value=!1},{deep:!0}),Pt(()=>{x(),window.addEventListener("resize",x)}),Nt(()=>{window.removeEventListener("resize",x)}),{selectedRows:l,allSelected:c,isMobile:d,total:u,totalPages:k,paginatedData:g,startItem:p,endItem:m,visiblePages:b,tableStyle:v,gettext:a,getColumnStyle:y,toggleAllSelection:f,handleSelectionChange:F,changePage:_,updateSelection:w}}},oD={class:"custom-table-container"},nD={key:0,class:"selection-header"},iD={key:0,class:"selection-cell"},rD=["checked","onChange"],sD={key:0,class:"empty-row"},dD=["colspan"],lD={key:0,class:"pagination-wrapper"},cD={class:"pagination-info"},uD={class:"pagination-controls"},pD=["disabled"],fD=["onClick"],mD=["disabled"];function gD(o,n,a,l,c,d){return r(),s("div",oD,[t("div",{class:"custom-table-wrapper",style:ht({overflowX:l.isMobile?"auto":"hidden"})},[t("table",{class:lt(["custom-table",{"has-selection":a.showSelection}]),style:ht(l.tableStyle)},[t("thead",{style:ht({background:a.theadBgColor})},[t("tr",null,[a.showSelection?(r(),s("th",nD,[O(t("input",{type:"checkbox","onUpdate:modelValue":n[0]||(n[0]=u=>l.allSelected=u),onChange:n[1]||(n[1]=(...u)=>l.toggleAllSelection&&l.toggleAllSelection(...u))},null,544),[[Rt,l.allSelected]])])):D("",!0),(r(!0),s(U,null,tt(a.columns,(u,k)=>(r(),s("th",{key:k,style:ht(l.getColumnStyle(u))},i(l.gettext(u.label)),5))),128))])],4),t("tbody",null,[(r(!0),s(U,null,tt(l.paginatedData,(u,k)=>(r(),s("tr",{key:k,class:lt({"last-row":k===l.paginatedData.length-1})},[a.showSelection?(r(),s("td",iD,[t("input",{type:"checkbox",checked:l.selectedRows.includes(u[a.rowKey]),onChange:g=>l.updateSelection(u[a.rowKey],g.target.checked)},null,40,rD)])):D("",!0),(r(!0),s(U,null,tt(a.columns,(g,p)=>(r(),s("td",{key:p,style:ht({textAlign:g.align||"center"})},[g.slot?Yt(o.$slots,g.slot,{key:0,row:u,index:k},void 0,!0):(r(),s(U,{key:1},[dt(i(u[g.prop]),1)],64))],4))),128))],2))),128)),l.paginatedData.length===0?(r(),s("tr",sD,[t("td",{colspan:a.showSelection?a.columns.length+1:a.columns.length},i(a.emptyText),9,dD)])):D("",!0)])],6)],4),a.showPagination?(r(),s("div",lD,[t("div",cD,i(l.gettext("\u663E\u793A"))+" "+i(l.startItem)+" "+i(l.gettext("\u5230"))+" "+i(l.endItem)+" "+i(l.gettext("\u6761"))+"\uFF0C"+i(l.gettext("\u5171"))+" "+i(l.total)+" "+i(l.gettext("\u6761")),1),t("div",uD,[t("button",{disabled:a.currentPage===1,onClick:n[2]||(n[2]=u=>l.changePage(a.currentPage-1))},i(l.gettext("\u4E0A\u4E00\u9875")),9,pD),(r(!0),s(U,null,tt(l.visiblePages,u=>(r(),s("button",{key:u,class:lt({active:u===a.currentPage}),onClick:k=>l.changePage(u)},i(u),11,fD))),128)),t("button",{disabled:a.currentPage===l.totalPages,onClick:n[3]||(n[3]=u=>l.changePage(a.currentPage+1))},i(l.gettext("\u4E0B\u4E00\u9875")),9,mD)])])):D("",!0)])}var Ue=N(aD,[["render",gD],["__scopeId","data-v-2c8ecf89"]]);const co=o=>(ct("data-v-d28f7d82"),o=o(),ut(),o),vD={style:{display:"flex","align-items":"center"}},bD={class:"search_box"},hD={class:"search_container"},_D={class:"search_input_wrapper"},xD=["onKeyup","placeholder"],wD=co(()=>t("path",{d:"M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},null,-1)),kD=[wD],yD=co(()=>t("svg",{class:"refresh_icon",viewBox:"0 0 24 24",width:"26",height:"26"},[t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})],-1)),FD=[yD],ED=I({props:{showBatchDelete:{type:Boolean,default:!0},showAdd:{type:Boolean,default:!0}},emits:["refresh","batch-delete","search","handleAdd"],setup(o,{emit:n}){const a=o,{$gettext:l}=J(),c=E(""),d=E(!1),u=E(a.showBatchDelete),k=E(a.showAdd),g=()=>{n("refresh",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},p=()=>{n("search",String(c.value))},m=()=>{n("batch-delete",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},v=()=>{n("handleAdd")};return(b,y)=>(r(),s("div",vD,[k.value?(r(),s("button",{key:0,class:"del-button add-button--danger",style:{},onClick:v},[t("span",null,i(e(l)("\u6DFB\u52A0")),1)])):D("",!0),u.value?(r(),s("button",{key:1,class:"del-button del-button--danger",onClick:m},[t("span",null,i(e(l)("\u6279\u91CF\u5220\u9664")),1)])):D("",!0),t("div",bD,[t("div",hD,[t("div",_D,[O(t("input",{type:"text",onKeyup:Bo(p,["enter"]),"onUpdate:modelValue":y[0]||(y[0]=f=>c.value=f),class:"search_input",placeholder:e(l)("\u8BF7\u8F93\u5165\u540D\u79F0/IP/MAC\u2026")},null,40,xD),[[at,c.value,void 0,{trim:!0}]]),t("svg",{class:"search_icon",viewBox:"0 0 24 24",width:"24",height:"24",onClick:p},kD)]),t("button",{class:lt(["refresh_button",{rotate:d.value}]),onClick:g},FD,2)])])]))}});var ga=N(ED,[["__scopeId","data-v-d28f7d82"]]);const $D={class:"flow"},CD={class:"flow-data"},DD={key:0},BD={key:1},YD=I({props:{ipParam:{type:String}},setup(o){const n=o,{$gettext:a}=J();Xe([Ma,La,Oa,ta,ea,Na]);const l=E(n.ipParam),c=E(),d=w=>{var _;const h=(_=c.value)==null?void 0:_[w];return!h||h.startTime==0?"":v(h.startTime*1e3)+"-"+v(h.endTime*1e3)},u=Q(()=>{var h;let w=[];return(h=c.value)==null||h.forEach(_=>{w.push({value:_.uploadSpeed})}),w}),k=Q(()=>{var h;let w=[];return(h=c.value)==null||h.forEach(_=>{w.push({value:_.downloadSpeed})}),w}),g=Q(()=>{var h;let w="";if(c.value){let _=((h=c.value)==null?void 0:h.length)||0;if(_>0){let x=c.value[_-1];w=b(x.uploadSpeed)+"/s"}}return w}),p=Q(()=>{var h;let w="";if(c.value){let _=((h=c.value)==null?void 0:h.length)||0;if(_>0){let x=c.value[_-1];w=b(x.downloadSpeed)+"/s"}}return w}),m=()=>L(this,null,function*(){var w;try{const h=yield G.DeviceMangement.speedsForOneDevice.POST({ip:l.value});if(h.data&&(w=h.data.result)!=null&&w.items){const _=h.data.result.slots||10;if(h.data.result.items.length<_){let x=h.data.result.items;for(;x.length<_;)x=[{downloadSpeed:0,endTime:0,startTime:0,uploadSpeed:0}].concat(x);c.value=x}else h.data.result.items.length>_?c.value=h.data.result.items.slice(_-h.data.result.items.length):c.value=h.data.result.items}}catch(h){console.log(h)}}),v=Mt.dateForm,b=Mt.byteToSize,y=E();let f=null;const F=w=>{const h=Ha();return f=aa(w,h?"dark":"light"),f.setOption({animation:!1,backgroundColor:h?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:_=>{if(Array.isArray(_)){let x="";_.length>0&&(x=d(_[0].axisValue));for(let C=0;C<_.length;C++)x=`${x}
${_[C].seriesName}: ${b(_[C].value)}/s`;return x.toString()}else{const x=_;return`${d(x.axisValue)}
${x.seriesName}: ${b(x.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:a("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(_,x){return`${b(_)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:k.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:a("\u4E0A\u4F20"),data:u.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:a("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:a("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),f};return Pt(()=>{setTimeout(()=>L(this,null,function*(){if(y.value){yield m();const w=F(y.value),h=y.value;w.resize({width:h.clientWidth,height:h.clientHeight}),window.addEventListener("resize",()=>{w.resize({width:h.clientWidth,height:h.clientHeight})});const _=()=>L(this,null,function*(){if(f!=null){if(!document.hidden){if(yield m(),f==null)return;w.setOption({series:[{name:a("\u4E0B\u8F7D"),data:k.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:u.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(_,5e3)}});setTimeout(_,5e3)}}),900)}),Nt(()=>{f!=null&&(f.dispose(),f=null)}),(w,h)=>(r(),s("div",$D,[t("div",{ref_key:"el",ref:y,class:"echart"},null,512),t("div",CD,[e(g)?(r(),s("span",DD,i(e(a)("\u4E0A\u4F20:"))+" "+i(e(g)),1)):D("",!0),e(p)?(r(),s("span",BD,i(e(a)("\u4E0B\u8F7D:"))+" "+i(e(p)),1)):D("",!0)])]))}});var AD=N(YD,[["__scopeId","data-v-529a02b0"]]);const $e=o=>(ct("data-v-53a97cb3"),o=o(),ut(),o),SD={class:"container"},zD={style:{display:"flex","justify-content":"end"}},PD=["onClick"],TD=["onClick"],ID=["onClick"],MD={class:"custom-content"},LD={class:"IP_address"},OD={class:"item_box"},ND={class:"item_left"},VD={key:0,class:"tip"},GD=["onClick"],jD={key:1},UD={class:"item_box"},qD={class:"item_left"},RD={class:"item_box"},WD={class:"item_left"},HD=["placeholder"],JD={class:"item_box"},ZD={class:"item_left"},KD=["placeholder"],QD={class:"item_box"},XD={class:"item_left"},tB=["placeholder"],eB={class:"custom-content"},aB=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),oB={class:"item_box"},nB={class:"item_left"},iB=["placeholder"],rB={class:"item_box"},sB=$e(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),dB=["placeholder"],lB={class:"item_box"},cB={class:"item_left"},uB={key:0,value:null,disabled:""},pB=["value"],fB={class:"item_box"},mB={class:"item_left"},gB={key:0,class:"item_box"},vB=$e(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),bB=["placeholder"],hB={class:"custom-content"},_B={class:"info-content"},xB=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),wB={style:{"margin-bottom":"16px",flex:"1"}},kB={class:"item_box"},yB={class:"item_left"},FB={class:"item_box"},EB={class:"item_left"},$B={class:"item_box"},CB=$e(()=>t("div",{class:"item_left"}," MAC\uFF1A",-1)),DB={class:"item_box"},BB={class:"item_left"},YB={class:"item_box"},AB={class:"item_left"},SB={class:"item_box"},zB={class:"item_left"},PB=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=J(),l=P=>{H.hostname=P.target.value.replace(/[\u4e00-\u9fa5\s]/g,"")},c=E(null),d=()=>{u(),A(),c.value=setInterval(A,3e3)},u=()=>{c.value&&(clearInterval(c.value),c.value=null)};Pt(()=>L(this,null,function*(){yield C(),p.value.length!==0&&d()})),Nt(()=>{u()});const k=E({});(()=>L(this,null,function*(){try{const{data:P}=yield G.DeviceMangement.globalConfigs.GET();P.result&&(k.value=P.result||{})}catch(P){}}))();const p=E([]),m=E([]),v=E(!1),b=E(!1),y=E(!1),f=Q(()=>!H.dhcpGateway),F=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u4E0A\u4F20\u901F\u5EA6",prop:"uploadSpeedStr"},{label:"\u4E0B\u8F7D\u901F\u5EA6",prop:"downloadSpeedStr"},{label:"\u6807\u7B7E",prop:"staticAssigned",slot:"staticAssigned"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),w=P=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[P]||P,h=()=>{v.value=!1,n("openGloba")},_=P=>{var X,et;if(P==!0&&!((et=(X=k.value)==null?void 0:X.speedLimit)!=null&&et.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},x=E([]),C=()=>L(this,null,function*(){var X,et,rt;let P=$.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:kt}=yield G.DeviceMangement.listDevices.GET();kt.result&&(p.value=((X=kt.result)==null?void 0:X.devices)||[],m.value=((et=kt.result)==null?void 0:et.devices)||[],x.value=((rt=kt.result)==null?void 0:rt.dhcpTags)||[])}catch(kt){}finally{P.Close()}}),S=(P,X)=>{const et={};return P.forEach(rt=>{rt.ip&&(et[rt.ip]={downloadSpeedStr:rt.downloadSpeedStr||"0 B",uploadSpeedStr:rt.uploadSpeedStr||"0 B"})}),X.map(rt=>rt.ip&&et[rt.ip]?vt(st({},rt),{downloadSpeedStr:et[rt.ip].downloadSpeedStr,uploadSpeedStr:et[rt.ip].uploadSpeedStr}):vt(st({},rt),{downloadSpeedStr:rt.downloadSpeedStr||"0 B",uploadSpeedStr:rt.uploadSpeedStr||"0 B"}))},A=()=>L(this,null,function*(){try{const{data:P}=yield G.DeviceMangement.speedsForDevices.GET();P.result&&(m.value=S(P.result,m.value))}catch(P){}}),z=P=>/^[a-zA-Z\s]+$/.test(P)?P.toUpperCase():P,B=gt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),H=gt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),M=E(""),q=E({}),T=(P,X)=>{var et,rt,kt,Tt,Ft,ne,ie,re,se,de,le,ce,ue,pe,fe,me;q.value=P,X===1?(B.ip=P.ip||"",B.mac=P.mac||"",B.uploadSpeed=((et=P==null?void 0:P.speedLimit)==null?void 0:et.uploadSpeed)||100,B.downloadSpeed=((rt=P==null?void 0:P.speedLimit)==null?void 0:rt.downloadSpeed)||1e3,B.networkAccess=!((kt=P==null?void 0:P.speedLimit)!=null&&kt.networkAccess)||!1,B.enabled=((Tt=P==null?void 0:P.speedLimit)==null?void 0:Tt.enabled)||!1,B.comment=((Ft=P==null?void 0:P.speedLimit)==null?void 0:Ft.comment)||"",B.action=((ne=P==null?void 0:P.speedLimit)==null?void 0:ne.action)||"add",v.value=!0):X===2?(H.hostname=((ie=P==null?void 0:P.staticAssigned)==null?void 0:ie.hostname)||"",H.assignedIP=((re=P==null?void 0:P.staticAssigned)==null?void 0:re.assignedIP)||"",H.assignedMac=((se=P==null?void 0:P.staticAssigned)==null?void 0:se.assignedMac)||"",H.bindIP=((de=P==null?void 0:P.staticAssigned)==null?void 0:de.bindIP)||!1,H.tagTitle=((le=P==null?void 0:P.staticAssigned)==null?void 0:le.tagTitle)||"",H.tagName=((ce=P==null?void 0:P.staticAssigned)==null?void 0:ce.tagName)||"",(ue=P==null?void 0:P.staticAssigned)!=null&&ue.dhcpGateway?(x.value.forEach(ge=>{var Et;ge.gateway===((Et=P==null?void 0:P.staticAssigned)==null?void 0:Et.dhcpGateway)&&(j.value=ge)}),H.dhcpGateway=((fe=P==null?void 0:P.staticAssigned)==null?void 0:fe.dhcpGateway)||x.value[0]||""):(j.value=x.value[0]||null,H.dhcpGateway=((pe=j.value)==null?void 0:pe.gateway)||""),H.action=((me=P==null?void 0:P.staticAssigned)==null?void 0:me.action)||"add",b.value=!0):X===3&&(M.value="",M.value=P.ip,y.value=!0)},j=E(x.value[0]||null),R=()=>{var P,X,et;j.value?(H.dhcpGateway=((P=j.value)==null?void 0:P.gateway)||"",H.tagName=((X=j.value)==null?void 0:X.tagName)||"",H.tagTitle=((et=j.value)==null?void 0:et.tagTitle)||""):(H.dhcpGateway="",H.tagName="",H.tagTitle="")},it=(P,X)=>X?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[P].test(X.trim()):!1,ot=P=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(P.toString()),bt=()=>L(this,null,function*(){if(!H.hostname)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u540D\u79F0")}`);if(!H.assignedMac)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!it("mac",H.assignedMac))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!H.dhcpGateway)return $.Warning(`${a("\u8BF7\u9009\u62E9")}${a("\u7F51\u5173")}`);if(H.bindIP){if(!H.assignedIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!it("ip",H.assignedIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else H.assignedIP="";let P=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:X}=yield G.DeviceMangement.staticDeviceConfig.POST(H);JSON.stringify(X)==="{}"?(b.value=!1,yt(),nt(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((X==null?void 0:X.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(X){$.Warning(`${X==null?void 0:X.error} || ${X==null?void 0:X.message}`)}finally{P.Close()}}),Dt=()=>L(this,null,function*(){var X,et;if(!((et=(X=k.value)==null?void 0:X.speedLimit)!=null&&et.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(B.networkAccess)B.downloadSpeed=0,B.uploadSpeed=0;else{if(!B.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!ot(B.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!B.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!ot(B.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);B.downloadSpeed=Number(B.downloadSpeed),B.uploadSpeed=Number(B.uploadSpeed)}let P=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{B.networkAccess=!B.networkAccess;const{data:rt}=yield G.DeviceMangement.speedLimitConfig.POST(B);JSON.stringify(rt)==="{}"?(v.value=!1,yt(),nt(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((rt==null?void 0:rt.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(rt){$.Warning(`${rt==null?void 0:rt.error} || ${rt==null?void 0:rt.message}`)}finally{B.downloadSpeed=1e3,B.uploadSpeed=100,P.Close()}}),yt=()=>{q.value={},j.value=x.value[0]||null,H.hostname="",H.assignedIP="",H.assignedMac="",H.bindIP=!1,H.dhcpGateway="",H.tagName="",H.tagTitle="",H.action="add",B.ip="",B.mac="",B.uploadSpeed=100,B.downloadSpeed=1e3,B.networkAccess=!1,B.comment="",B.action="add"},Vt=E([]),Re=E(null),nt=()=>L(this,null,function*(){p.value=[],yield C()}),K=P=>p.value.filter(X=>{const et=X.ip.includes(P),rt=X.mac.toLowerCase().includes(P.toLowerCase());return et||rt}),At=P=>{P===""&&(m.value=p.value),m.value=K(P)},mt=()=>{if(Vt.value.length===0)return $.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !")};return(P,X)=>(r(),s("div",SD,[t("div",zD,[Y(ga,{onRefresh:nt,showAdd:!1,showBatchDelete:!1,ref_key:"searchRef",ref:Re,onBatchDelete:mt,onSearch:At},null,512)]),t("div",null,[Y(Ue,{data:m.value,columns:F.value,showPagination:!1},{action:V(({row:et})=>[t("span",{style:{color:"#553AFE",cursor:"pointer"},onClick:rt=>T(et,2)},i(e(a)("\u9759\u6001\u5206\u914D")),9,PD),t("span",{style:{color:"#553AFE",cursor:"pointer",margin:"0 8px"},onClick:rt=>T(et,1)},i(e(a)("\u9650\u901F\u914D\u7F6E")),9,TD),t("span",{style:{color:"#553AFE",margin:"0 8px",cursor:"pointer"},onClick:rt=>T(et,3)},i(e(a)("\u8BE6\u60C5")),9,ID)]),staticAssigned:V(({row:et})=>{var rt,kt;return[t("span",null,i(w((rt=et==null?void 0:et.staticAssigned)==null?void 0:rt.tagTitle)||w((kt=et==null?void 0:et.staticAssigned)==null?void 0:kt.tagName)||"-"),1)]}),_:1},8,["data","columns"])]),Y(Xt,{modelValue:v.value,"onUpdate:modelValue":X[6]||(X[6]=et=>v.value=et),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:Dt,onCancel:yt},{default:V(()=>{var et,rt,kt,Tt;return[t("div",MD,[t("div",LD,"IP: "+i(q.value.ip),1),t("div",OD,[t("div",ND,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),Y(Ot,{modelValue:e(B).enabled,"onUpdate:modelValue":X[0]||(X[0]=Ft=>e(B).enabled=Ft),disabled:!((rt=(et=k.value)==null?void 0:et.speedLimit)!=null&&rt.enabled),onBeforeChange:_},null,8,["modelValue","disabled"])]),(Tt=(kt=k.value)==null?void 0:kt.speedLimit)!=null&&Tt.enabled?D("",!0):(r(),s("div",VD,[t("a",{href:"",onClick:ft(h,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,GD)])),e(B).enabled?(r(),s("div",jD,[t("div",UD,[t("div",qD,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),Y(Ot,{modelValue:e(B).networkAccess,"onUpdate:modelValue":X[1]||(X[1]=Ft=>e(B).networkAccess=Ft),onChange:X[2]||(X[2]=()=>{})},null,8,["modelValue"])]),e(B).networkAccess?D("",!0):(r(),s(U,{key:0},[t("div",RD,[t("div",WD,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[3]||(X[3]=Ft=>e(B).downloadSpeed=Ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,HD),[[at,e(B).downloadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",JD,[t("div",ZD,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[4]||(X[4]=Ft=>e(B).uploadSpeed=Ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,KD),[[at,e(B).uploadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",QD,[t("div",XD,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[5]||(X[5]=Ft=>e(B).comment=Ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,tB),[[at,e(B).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"]),Y(Xt,{modelValue:b.value,"onUpdate:modelValue":X[12]||(X[12]=et=>b.value=et),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:bt,onCancel:yt},{default:V(()=>[t("div",eB,[aB,t("div",oB,[t("div",nB,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text",onInput:l,"onUpdate:modelValue":X[7]||(X[7]=et=>e(H).hostname=et),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,iB),[[at,e(H).hostname,void 0,{trim:!0}]])]),t("div",rB,[sB,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[8]||(X[8]=et=>e(H).assignedMac=et),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,dB),[[at,e(H).assignedMac,void 0,{trim:!0}]])]),t("div",lB,[t("div",cB,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":X[9]||(X[9]=et=>j.value=et),onChange:R},[e(f)?(r(),s("option",uB,i(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),s(U,null,tt(x.value,et=>(r(),s("option",{value:et},i(et.gateway)+"("+i(et.tagTitle?w(et.tagTitle):et.tagName?et.tagName:"-")+") ",9,pB))),256))],544),[[pt,j.value]])]),t("div",fB,[t("div",mB,i(e(a)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),Y(Ot,{modelValue:e(H).bindIP,"onUpdate:modelValue":X[10]||(X[10]=et=>e(H).bindIP=et)},null,8,["modelValue"])]),e(H).bindIP?(r(),s("div",gB,[vB,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[11]||(X[11]=et=>e(H).assignedIP=et),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,bB),[[at,e(H).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"]),Y(Xt,{modelValue:y.value,"onUpdate:modelValue":X[13]||(X[13]=et=>y.value=et),title:"\u8BE6\u60C5",width:"550px",footerShow:!1,"show-close":!0,onCancel:yt},{default:V(()=>{var et,rt,kt,Tt,Ft;return[t("div",hB,[t("div",_B,[xB,t("div",wB,[t("div",kB,[t("div",yB,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),dt(" "+i(q.value.hostname||"-"),1)]),t("div",FB,[t("div",EB,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),dt(" "+i(q.value.ip),1)]),t("div",$B,[CB,dt(" "+i(q.value.mac),1)]),t("div",DB,[t("div",BB,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),dt(" "+i(((et=q.value)==null?void 0:et.staticAssigned.dhcpGateway)||"-"),1)]),t("div",YB,[t("div",AB,i(e(a)("\u63A5\u53E3"))+"\uFF1A",1),dt(" "+i(z(q.value.intr)||"-"),1)]),t("div",SB,[t("div",zB,i(e(a)("\u6807\u7B7E"))+"\uFF1A",1),dt(" "+i(((kt=(rt=q.value)==null?void 0:rt.staticAssigned)==null?void 0:kt.tagTitle)||((Ft=(Tt=q.value)==null?void 0:Tt.staticAssigned)==null?void 0:Ft.tagName)||"-"),1)])])]),M.value?(r(),Z(AD,{key:0,ipParam:M.value},null,8,["ipParam"])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var TB=N(PB,[["__scopeId","data-v-53a97cb3"]]);const va=o=>(ct("data-v-2c7840fc"),o=o(),ut(),o),IB={class:"container"},MB={style:{display:"flex","justify-content":"end"}},LB=["onClick"],OB=["onClick"],NB={class:"custom-content"},VB=va(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),GB={class:"item_box"},jB={class:"item_left"},UB=["placeholder"],qB={class:"item_box"},RB=va(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),WB=["placeholder"],HB={class:"item_box"},JB={class:"item_left"},ZB={key:0,value:null,disabled:""},KB=["value"],QB={class:"item_box"},XB={class:"item_left"},tY={key:0,class:"item_box"},eY=va(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),aY=["placeholder"],oY=I({setup(o){const{$gettext:n}=J(),a=E([]);(()=>L(this,null,function*(){var T;try{const{data:j}=yield G.DeviceMangement.globalConfigs.GET();j.result&&(a.value=((T=j.result)==null?void 0:T.dhcpTags)||[])}catch(j){}}))();const c=E([]),d=E([]),u=E(!1),k=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"assignedIP"},{label:"MAC\u5730\u5740",prop:"assignedMac"},{label:"\u9759\u6001IP\u7ED1\u5B9A",prop:"bindIP",slot:"bindIP"},{label:"\u6807\u7B7E",prop:"tagTitle",slot:"tagTitle"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),g=T=>({default:n("\u9ED8\u8BA4\u7F51\u5173"),parent:n("\u4E0A\u7EA7\u8DEF\u7531"),myself:n("\u672C\u8BBE\u5907"),bypass:n("\u65C1\u8DEF\u7531"),floatip:n("\u6D6E\u52A8\u7F51\u5173")})[T]||T,p=T=>{B.hostname=T.target.value.replace(/[\u4e00-\u9fa5\s]/g,"")},m=()=>L(this,null,function*(){let T=$.Loading(n("\u52A0\u8F7D\u4E2D..."));try{const{data:j}=yield G.DeviceMangement.listStaticDevices.GET();j.result&&(c.value=j.result||[],d.value=j.result||[])}catch(j){}finally{T.Close()}});m();const v=E(!0),b=E([]),y=T=>{b.value=T},f=()=>L(this,null,function*(){c.value=[];let T=$.Loading(n("\u52A0\u8F7D\u4E2D..."));yield m(),T.Close()}),F=T=>c.value.filter(j=>{const R=j.assignedIP.includes(T),it=j.assignedMac.toLowerCase().includes(T.toLowerCase());return R||it}),w=T=>{T===""&&(d.value=c.value),d.value=F(T)},h=T=>{var j;B.hostname=(T==null?void 0:T.hostname)||"",B.assignedIP=(T==null?void 0:T.assignedIP)||"",B.assignedMac=(T==null?void 0:T.assignedMac)||"",B.bindIP=(T==null?void 0:T.bindIP)||!1,B.tagTitle=(T==null?void 0:T.tagTitle)||"",B.tagName=(T==null?void 0:T.tagName)||"",T!=null&&T.dhcpGateway?(a.value.forEach(R=>{R.gateway===(T==null?void 0:T.dhcpGateway)&&(A.value=R)}),B.dhcpGateway=(T==null?void 0:T.dhcpGateway)||a.value[0]||""):(A.value=a.value[0]||null,B.dhcpGateway=((j=A.value)==null?void 0:j.gateway)||""),B.action=(T==null?void 0:T.action)||"add",u.value=!0},_=T=>L(this,null,function*(){if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let j={hostname:T.hostname||"",assignedIP:T.assignedIP||"",assignedMac:T.assignedMac||"",tagTitle:T.tagTitle||"",bindIP:T.bindIP||!1,tagName:T.tagName||"",dhcpGateway:T.dhcpGateway||"",action:"delete"};x(j,1)}}),x=(T,j)=>L(this,null,function*(){let R=$.Loading(n("\u5220\u9664\u4E2D..."));try{const{data:it}=yield G.DeviceMangement.staticDeviceConfig.POST(T);return j==1&&(JSON.stringify(it)==="{}"?$.Success("\u5220\u9664\u6210\u529F !"):$.Success((it==null?void 0:it.error)||"\u5220\u9664\u5931\u8D25\uFF01"),m()),it}catch(it){}finally{R.Close()}}),C=()=>L(this,null,function*(){if(b.value.length===0)return $.Warning(n("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const T=b.value.map(j=>{const R={hostname:j.hostname||"",assignedIP:j.assignedIP||"",assignedMac:j.assignedMac||"",tagTitle:j.tagTitle||"",bindIP:j.bindIP||!1,tagName:j.tagName||"",dhcpGateway:j.dhcpGateway||"",action:"delete"};return x(R)});yield Promise.all(T),$.Success(n("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),m()}catch(T){}}),S=Q(()=>!B.dhcpGateway),A=E(null),z=()=>{var T,j,R;A.value?(B.dhcpGateway=((T=A.value)==null?void 0:T.gateway)||"",B.tagName=((j=A.value)==null?void 0:j.tagName)||"",B.tagTitle=((R=A.value)==null?void 0:R.tagTitle)||""):(B.dhcpGateway="",B.tagName="",B.tagTitle="")},B=gt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),H=(T,j)=>j?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[T].test(j.trim()):!1,M=()=>L(this,null,function*(){if(!B.assignedMac)return $.Warning(`${n("\u8BF7\u8F93\u5165")}${n("MAC")}`);if(!H("mac",B.assignedMac))return $.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!B.dhcpGateway)return $.Warning(`${n("\u8BF7\u9009\u62E9")}${n("\u7F51\u5173")}`);if(B.bindIP){if(!B.assignedIP)return $.Warning(`${n("\u8BF7\u8F93\u5165")}${n("IP")}`);if(!H("ip",B.assignedIP))return $.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else B.assignedIP="";let T=$.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const{data:j}=yield G.DeviceMangement.staticDeviceConfig.POST(B);JSON.stringify(j)==="{}"?(u.value=!1,q(),f(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((j==null?void 0:j.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(j){$.Warning(`${j==null?void 0:j.error} || ${j==null?void 0:j.message}`)}finally{T.Close()}}),q=()=>{A.value=null,B.hostname="",B.assignedIP="",B.assignedMac="",B.bindIP=!1,B.dhcpGateway="",B.tagName="",B.tagTitle="",B.action="add"};return(T,j)=>(r(),s("div",IB,[t("div",MB,[Y(ga,{onHandleAdd:j[0]||(j[0]=R=>u.value=!0),onRefresh:f,onBatchDelete:C,onSearch:w})]),t("div",null,[Y(Ue,{data:d.value,columns:k.value,rowKey:"assignedMac",showSelection:v.value,showPagination:!1,onSelectionChange:y},{action:V(({row:R})=>[t("button",{class:"del-button edit-button",onClick:it=>h(R)},[t("span",null,i(e(n)("\u7F16\u8F91")),1)],8,LB),t("button",{class:"del-button del-button--danger",onClick:it=>_(R)},[t("span",null,i(e(n)("\u5220\u9664")),1)],8,OB)]),tagTitle:V(({row:R})=>[t("span",null,i(g(R==null?void 0:R.tagTitle)||g(R==null?void 0:R.tagName)||"-"),1)]),bindIP:V(({row:R})=>[t("span",null,i(R!=null&&R.bindIP?e(n)("\u662F"):e(n)("\u5426")),1)]),_:1},8,["data","columns","showSelection"])]),Y(Xt,{modelValue:u.value,"onUpdate:modelValue":j[6]||(j[6]=R=>u.value=R),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:M,onCancel:q},{default:V(()=>[t("div",NB,[VB,t("div",GB,[t("div",jB,i(e(n)("\u540D\u79F0"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text",onInput:p,"onUpdate:modelValue":j[1]||(j[1]=R=>e(B).hostname=R),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,UB),[[at,e(B).hostname,void 0,{trim:!0}]])]),t("div",qB,[RB,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":j[2]||(j[2]=R=>e(B).assignedMac=R),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,WB),[[at,e(B).assignedMac,void 0,{trim:!0}]])]),t("div",HB,[t("div",JB,i(e(n)("\u7F51\u5173"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":j[3]||(j[3]=R=>A.value=R),onChange:z},[e(S)?(r(),s("option",ZB,i(e(n)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),s(U,null,tt(a.value,R=>(r(),s("option",{value:R},i(R.gateway)+"("+i(R.tagTitle?g(R.tagTitle):R.tagName?R.tagName:"-")+") ",9,KB))),256))],544),[[pt,A.value]])]),t("div",QB,[t("div",XB,i(e(n)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),Y(Ot,{modelValue:e(B).bindIP,"onUpdate:modelValue":j[4]||(j[4]=R=>e(B).bindIP=R)},null,8,["modelValue"])]),e(B).bindIP?(r(),s("div",tY,[eY,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":j[5]||(j[5]=R=>e(B).assignedIP=R),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,aY),[[at,e(B).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"])]))}});var nY=N(oY,[["__scopeId","data-v-2c7840fc"]]);const iY={class:"container"},rY={style:{display:"flex","justify-content":"end"}},sY=["onClick"],dY={class:"custom-content"},lY={class:"item_box"},cY={class:"item_left"},uY={class:"item_box"},pY={class:"item_left"},fY=["placeholder"],mY={class:"item_box"},gY={class:"item_left"},vY=["placeholder"],bY={key:0,class:"tip"},hY=["onClick"],_Y={key:1},xY={class:"item_box"},wY={class:"item_left"},kY={class:"item_box"},yY={class:"item_left"},FY=["placeholder"],EY={class:"item_box"},$Y={class:"item_left"},CY=["placeholder"],DY={class:"item_box"},BY={class:"item_left"},YY=["placeholder"],AY=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=J(),l=E({});(()=>L(this,null,function*(){try{const{data:M}=yield G.DeviceMangement.globalConfigs.GET();M.result&&(l.value=M.result||{})}catch(M){}}))();const d=E([]),u=E([]),k=E(!1),g=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u7981\u6B62\u7F51\u7EDC\u8BBF\u95EE",prop:"enabled",slot:"enabled"},{label:"\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09",prop:"uploadSpeed",slot:"uploadSpeed"},{label:"\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09",prop:"downloadSpeed",slot:"downloadSpeed"},{label:"\u6CE8\u89E3",prop:"comment"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),p=()=>L(this,null,function*(){let M=$.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:q}=yield G.DeviceMangement.listSpeedLimitedDevices.GET();q.result&&(d.value=q.result||[],u.value=q.result||[])}catch(q){}finally{M.Close()}});p();const m=E(!0),v=E([]),b=M=>{v.value=M},y=()=>L(this,null,function*(){d.value=[];let M=$.Loading(a("\u52A0\u8F7D\u4E2D..."));yield p(),M.Close()}),f=M=>d.value.filter(q=>{const T=q.ip.includes(M),j=q.mac.toLowerCase().includes(M.toLowerCase());return T||j}),F=M=>{M===""&&(u.value=d.value),u.value=f(M)},w=M=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let q={ip:M.ip||"",mac:M.mac||"",uploadSpeed:M.uploadSpeed||0,downloadSpeed:M.downloadSpeed||0,networkAccess:M.networkAccess||!1,comment:"",action:"delete"};h(q,1)}}),h=(M,q)=>L(this,null,function*(){let T=$.Loading(a("\u5220\u9664\u4E2D..."));try{const{data:j}=yield G.DeviceMangement.speedLimitConfig.POST(M);return q==1&&(JSON.stringify(j)==="{}"?$.Success("\u5220\u9664\u6210\u529F !"):$.Success((j==null?void 0:j.error)||"\u5220\u9664\u5931\u8D25\uFF01"),p()),j}catch(j){}finally{T.Close()}}),_=()=>L(this,null,function*(){if(v.value.length===0)return $.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const M=v.value.map(q=>{const T={ip:q.ip||"",mac:q.mac||"",uploadSpeed:q.uploadSpeed||0,downloadSpeed:q.downloadSpeed||0,networkAccess:q.networkAccess||!1,comment:"",action:"delete"};return h(T)});yield Promise.all(M),$.Success(a("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),p()}catch(M){}}),x=()=>{k.value=!1,n("openGloba")},C=M=>{var q,T;if(M==!0&&!((T=(q=l.value)==null?void 0:q.speedLimit)!=null&&T.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},S=gt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),A=M=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(M.toString()),z=(M,q)=>q?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[M].test(q.trim()):!1,B=()=>L(this,null,function*(){var q,T;if(!((T=(q=l.value)==null?void 0:q.speedLimit)!=null&&T.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(!S.ip)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!z("ip",S.ip))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);if(!S.mac)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!z("mac",S.mac))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(S.networkAccess)S.downloadSpeed=0,S.uploadSpeed=0;else{if(!S.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!A(S.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!A(S.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);S.downloadSpeed=Number(S.downloadSpeed),S.uploadSpeed=Number(S.uploadSpeed)}let M=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{S.networkAccess=!S.networkAccess;const{data:j}=yield G.DeviceMangement.speedLimitConfig.POST(S);JSON.stringify(j)==="{}"?(y(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((j==null?void 0:j.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01"),k.value=!1,H()}catch(j){$.Warning(`${j==null?void 0:j.error} || ${j==null?void 0:j.message}`)}finally{S.downloadSpeed=1e3,S.uploadSpeed=100,M.Close()}}),H=()=>{S.ip="",S.mac="",S.uploadSpeed=100,S.downloadSpeed=1e3,S.networkAccess=!1,S.comment="",S.action="add"};return(M,q)=>(r(),s("div",iY,[t("div",rY,[Y(ga,{onHandleAdd:q[0]||(q[0]=T=>k.value=!0),onRefresh:y,onBatchDelete:_,onSearch:F})]),t("div",null,[Y(Ue,{data:u.value,columns:g.value,rowKey:"mac",showSelection:m.value,showPagination:!1,onSelectionChange:b},{action:V(({row:T})=>[t("button",{class:"del-button del-button--danger",onClick:j=>w(T)},[t("span",null,i(e(a)("\u5220\u9664")),1)],8,sY)]),enabled:V(({row:T})=>[t("span",null,i(T!=null&&T.enabled?e(a)("\u662F"):e(a)("\u5426")),1)]),uploadSpeed:V(({row:T})=>[t("span",null,i((T==null?void 0:T.uploadSpeed)||"-")+" "+i(T!=null&&T.uploadSpeed?"Mbit/s":""),1)]),downloadSpeed:V(({row:T})=>[t("span",null,i((T==null?void 0:T.downloadSpeed)||"-")+" "+i(T!=null&&T.downloadSpeed?"Mbit/s":""),1)]),_:1},8,["data","columns","showSelection"])]),Y(Xt,{modelValue:k.value,"onUpdate:modelValue":q[9]||(q[9]=T=>k.value=T),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:B,onCancel:H},{default:V(()=>{var T,j,R,it;return[t("div",dY,[t("div",lY,[t("div",cY,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),Y(Ot,{modelValue:e(S).enabled,"onUpdate:modelValue":q[1]||(q[1]=ot=>e(S).enabled=ot),disabled:!((j=(T=l.value)==null?void 0:T.speedLimit)!=null&&j.enabled),onBeforeChange:C},null,8,["modelValue","disabled"])]),t("div",uY,[t("div",pY,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[2]||(q[2]=ot=>e(S).ip=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,fY),[[at,e(S).ip,void 0,{trim:!0}]])]),t("div",mY,[t("div",gY,i(e(a)("MAC\u5730\u5740"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[3]||(q[3]=ot=>e(S).mac=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,vY),[[at,e(S).mac,void 0,{trim:!0}]])]),(it=(R=l.value)==null?void 0:R.speedLimit)!=null&&it.enabled?D("",!0):(r(),s("div",bY,[t("a",{href:"",onClick:ft(x,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,hY)])),e(S).enabled?(r(),s("div",_Y,[t("div",xY,[t("div",wY,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),Y(Ot,{modelValue:e(S).networkAccess,"onUpdate:modelValue":q[4]||(q[4]=ot=>e(S).networkAccess=ot),onChange:q[5]||(q[5]=()=>{})},null,8,["modelValue"])]),e(S).networkAccess?D("",!0):(r(),s(U,{key:0},[t("div",kY,[t("div",yY,i(e(a)("\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[6]||(q[6]=ot=>e(S).downloadSpeed=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,FY),[[at,e(S).downloadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",EY,[t("div",$Y,i(e(a)("\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[7]||(q[7]=ot=>e(S).uploadSpeed=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,CY),[[at,e(S).uploadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",DY,[t("div",BY,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[8]||(q[8]=ot=>e(S).comment=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,YY),[[at,e(S).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var SY=N(AY,[["__scopeId","data-v-1c110960"]]);const ba=o=>(ct("data-v-15068472"),o=o(),ut(),o),zY={key:0,class:"dialog-overlay"},PY={class:"dialog-container"},TY={class:"dialog-title"},IY=ba(()=>t("div",{class:"loading-animation"},[t("div",{class:"spinner"})],-1)),MY={class:"dialog-message"},LY={key:0,class:"dialog-overlay"},OY={class:"dialog-container"},NY={class:"dialog-title"},VY=ba(()=>t("div",{style:{display:"flex","justify-content":"center"}},[t("svg",{t:"1752661662572",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5921",width:"50",height:"50"},[t("path",{d:"M0 512C0 229.234759 229.234759 0 512 0s512 229.234759 512 512-229.234759 512-512 512S0 794.765241 0 512z m419.310345 194.630621a35.310345 35.310345 0 0 0 49.399172 1.271172l335.518897-311.931586a35.310345 35.310345 0 0 0-48.075035-51.729655l-309.124413 289.544827-145.125518-149.645241a35.310345 35.310345 0 1 0-50.688 49.169655l168.112552 173.320828z",fill:"#553afe","p-id":"5922"})])],-1)),GY={class:"dialog-message"},jY={key:0,class:"dialog-overlay"},UY={class:"dialog-container tag-dialog"},qY={class:"dialog-title"},RY={class:"warning-message"},WY=ba(()=>t("svg",{class:"warning-icon",viewBox:"0 0 24 24"},[t("path",{fill:"currentColor",d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"})],-1)),HY={class:"input-group"},JY={for:"tagTitle"},ZY=["placeholder"],KY={class:"input-group"},QY={for:"tagName"},XY=["disabled","placeholder"],tA={class:"input-group"},eA={for:"gateway"},aA=["placeholder"],oA={class:"button-group"},nA=I({props:{title:{type:String,required:!0}},emits:["confirm","update:modelValue"],setup(o,{expose:n,emit:a}){const{$gettext:l}=J(),c=E("install"),d=E(!1),u=E(!1),k=E(!1),g=E(""),p=E(""),m=E(""),v=()=>{c.value="install",d.value=!0},b=()=>{d.value=!1},y=()=>{d.value=!1,setTimeout(()=>{u.value=!0},300)},f=()=>{u.value=!1},F=E("1"),w=()=>{c.value="tag",F.value="1",p.value="",g.value="",m.value="",k.value=!0},h=()=>{c.value="tag",F.value="2",k.value=!0},_=()=>{k.value=!1},x=A=>{p.value=A.target.value.replace(/[\u4e00-\u9fa5]/g,"")},C=(A,z)=>z?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[A].test(z.trim()):!1,S=()=>{if(!C("ip",m.value.trim()))return $.Warning(`${l("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);g.value.trim()&&p.value.trim()&&m.value.trim()&&(a("confirm",{tagTitle:g.value.trim(),tagName:p.value.trim(),gateway:m.value.trim(),type:F.value}),_())};return $t(g,A=>{a("update:modelValue",A)}),$t(p,A=>{a("update:modelValue",A)}),$t(m,A=>{a("update:modelValue",A)}),n({tagTitle:g,tagName:p,gateway:m,openInstallDialog:v,showInstallResult:y,openTagDialog:w,closeTagDialog:_,cancelInstall:b,openEditTagDialog:h}),(A,z)=>(r(),s(U,null,[Y(St,{name:"fade"},{default:V(()=>[d.value&&c.value==="install"?(r(),s("div",zY,[t("div",PY,[t("div",TY,i(o.title),1),IY,t("p",MY,i(e(l)("\u6B63\u5728\u5B89\u88C5"))+"...",1),t("button",{class:"dialog-button",onClick:b},i(e(l)("\u5173\u95ED")),1)])])):D("",!0)]),_:1}),Y(St,{name:"fade"},{default:V(()=>[u.value&&c.value==="install"?(r(),s("div",LY,[t("div",OY,[t("div",NY,i(e(l)("\u7ED3\u679C")),1),VY,t("p",GY,i(e(l)("\u5B89\u88C5\u6210\u529F"))+"\uFF01",1),t("button",{class:"dialog-button",onClick:f},i(e(l)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1}),Y(St,{name:"fade"},{default:V(()=>[k.value&&c.value==="tag"?(r(),s("div",jY,[t("div",UY,[t("div",qY,i(F.value==="1"?e(l)("\u6DFB\u52A0\u6807\u7B7E"):e(l)("\u7F16\u8F91\u6807\u7B7E")),1),t("div",RY,[WY,t("span",null,i(e(l)("\u6CE8\u610F\uFF1A\u6DFB\u52A0ID\u65F6\uFF0C\u8BF7\u52FF\u5C06\u201Codhcpd\u201D\u6216\u7F51\u7EDC\u63A5\u53E3\uFF08\u4F8B\u5982\u201Clan\u201D,\u201Cwan\u201D,\u201Cwan6\u201D\u7B49\uFF09\u4F5C\u4E3AID\uFF0C\u6B64\u4E3E\u5C06\u4EA7\u751F\u51B2\u7A81\u3002\u5EFA\u8BAE\u5728ID\u524D\u9762\u52A0\u4E0A\u524D\u7F00\u201Ct_\u201D\u4EE5\u675C\u7EDD\u6B64\u7C7B\u51B2\u7A81\u3002")),1)]),t("div",HY,[t("label",JY,i(e(l)("\u6807\u9898"))+"\uFF1A",1),O(t("input",{id:"tagTitle","onUpdate:modelValue":z[0]||(z[0]=B=>g.value=B),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,ZY),[[at,g.value]])]),t("div",KY,[t("label",QY,i(e(l)("ID"))+"\uFF1A",1),O(t("input",{id:"tagName","onUpdate:modelValue":z[1]||(z[1]=B=>p.value=B),onInput:x,disabled:F.value=="2",type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,XY),[[at,p.value]])]),t("div",tA,[t("label",eA,i(e(l)("\u7F51\u5173"))+"\uFF1A",1),O(t("input",{id:"gateway","onUpdate:modelValue":z[2]||(z[2]=B=>m.value=B),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,aA),[[at,m.value]])]),t("div",oA,[t("button",{class:"cancel-button",onClick:_},i(e(l)("\u53D6\u6D88")),1),t("button",{class:"confirm-button",onClick:S},i(e(l)("\u786E\u5B9A")),1)])])])):D("",!0)]),_:1})],64))}});var iA=N(nA,[["__scopeId","data-v-15068472"]]);const uo=o=>(ct("data-v-66e54129"),o=o(),ut(),o),rA={class:"tab-container"},sA={class:"tab-header"},dA=["onClick"],lA={class:"tab-content_g"},cA={key:0,class:"not_installed"},uA=uo(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),pA={key:1},fA={class:"item_box"},mA={class:"item_left"},gA={class:"item_box"},vA={class:"item_left"},bA=["placeholder"],hA={class:"item_box"},_A={class:"item_left"},xA=["placeholder"],wA={class:"item_box"},kA={class:"item_left"},yA={key:0,class:"not_installed"},FA=uo(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),EA={key:1},$A={class:"item_box"},CA={class:"item_left"},DA={class:"item_box"},BA={class:"item_left"},YA={key:0,value:"",disabled:""},AA=["value"],SA={class:"item_box"},zA={class:"item_left"},PA=["placeholder"],TA={class:"item_box"},IA={class:"item_left"},MA=["placeholder"],LA={class:"item_box"},OA={class:"item_left"},NA={style:{"margin-bottom":"16px"}},VA={class:"item_box"},GA={class:"item_left"},jA={class:"item_box"},UA={class:"item_left"},qA=["value"],RA={class:"item_box"},WA={class:"item_left"},HA={style:{display:"flex","justify-content":"end","margin-bottom":"8px"}},JA=["onClick"],ZA=["onClick"],KA=I({setup(o,{expose:n}){const{$gettext:a}=J(),l=Q(()=>!p.role),c=E([]),d=E([{label:"\u6807\u9898",prop:"tagTitle",slot:"tagTitle"},{label:"ID",prop:"tagName",slot:"tagName"},{label:"\u7F51\u5173",prop:"gateway",slot:"gateway"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),u=E([{name:a("\u4E3B\u8DEF\u7531"),value:"fallback"},{name:a("\u65C1\u8DEF\u7531"),value:"main"}]),k=gt({dhcpEnabled:!1,dhcpGateway:""}),g=gt({enabled:!1,uploadSpeed:"",downloadSpeed:"",installed:!0}),p=gt({enabled:!1,role:"",setIP:"",checkIP:""}),m=E({}),v=()=>L(this,null,function*(){var nt,K,At,mt,P,X,et,rt,kt,Tt,Ft,ne,ie,re,se,de,le,ce,ue,pe,fe,me,ge;try{const{data:Et}=yield G.DeviceMangement.globalConfigs.GET();if(Et.result){if(m.value=Et.result||{},k.dhcpEnabled=((K=(nt=Et.result)==null?void 0:nt.dhcpGlobal)==null?void 0:K.dhcpEnabled)||!1,(mt=(At=Et.result)==null?void 0:At.dhcpGlobal)!=null&&mt.dhcpGateway)k.dhcpGateway=(X=(P=Et.result)==null?void 0:P.dhcpGlobal)==null?void 0:X.dhcpGateway;else{const _a=(rt=(et=Et.result)==null?void 0:et.dhcpGlobal)==null?void 0:rt.gatewaySels.find(mo=>mo.title==="myself");_a?k.dhcpGateway=_a.gateway:k.dhcpGateway=""}c.value=((kt=Et.result)==null?void 0:kt.dhcpTags)||[],g.enabled=((Ft=(Tt=Et.result)==null?void 0:Tt.speedLimit)==null?void 0:Ft.enabled)||!1,g.uploadSpeed=((ie=(ne=Et.result)==null?void 0:ne.speedLimit)==null?void 0:ie.uploadSpeed)||"",g.downloadSpeed=((se=(re=Et.result)==null?void 0:re.speedLimit)==null?void 0:se.downloadSpeed)||"",p.enabled=((le=(de=Et.result)==null?void 0:de.floatGateway)==null?void 0:le.enabled)||!1,p.role=((ue=(ce=Et.result)==null?void 0:ce.floatGateway)==null?void 0:ue.role)||"",p.setIP=((fe=(pe=Et.result)==null?void 0:pe.floatGateway)==null?void 0:fe.setIP)||"",p.checkIP=((ge=(me=Et.result)==null?void 0:me.floatGateway)==null?void 0:ge.checkIP)||""}}catch(Et){}});v();const b=()=>L(this,null,function*(){let nt=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.dhcpGatewayConfig.POST(k);JSON.stringify(K)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){$.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{nt.Close()}}),y=(nt,K)=>L(this,null,function*(){let At=$.Loading(a("\u68C0\u67E5\u4E2D..."));try{const mt=yield G.App.Check.POST({name:nt});if(At.Close(),mt!=null&&mt.data){const{result:P,error:X}=mt.data;if(X)$.Warning(X);else{if(P)return P.status=="installed";$.Warning(a("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}}return!1}catch(mt){return At.Close(),$.Warning(mt),!1}}),f=E(!1),F=E(!1),w=()=>L(this,null,function*(){(yield y("app-meta-floatip"))&&(F.value=!0)}),h=()=>L(this,null,function*(){(yield y("app-meta-eqos"))&&(f.value=!0)});w(),h();const _=[{id:"tag",label:a("DHCP")},{id:"gateway",label:a("\u6D6E\u52A8\u7F51\u5173")},{id:"ip",label:a("IP\u9650\u901F")}],x=E("tag");n({activeTab:x});const C=nt=>{x.value=nt},S=E(),A=nt=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[nt]||nt,z=E("app-meta-floatip"),B=Q(()=>z.value==="app-meta-floatip"?a("\u6D6E\u52A8\u7F51\u5173"):a("IP\u9650\u901F")),H=nt=>L(this,null,function*(){if(z.value=nt,S.value.openInstallDialog(),yield zt.installApp(nt))return nt=="app-meta-floatip"?w():h(),S.value.showInstallResult(),!0;S.value.cancelInstall(),$.Error(a("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}),M=nt=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(nt.toString()),q=()=>L(this,null,function*(){if(g.enabled){if(!g.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!M(g.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!g.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!M(g.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);g.downloadSpeed=Number(g.downloadSpeed),g.uploadSpeed=Number(g.uploadSpeed)}else g.downloadSpeed=0,g.uploadSpeed=0;let nt=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.enableSpeedLimit.POST(g);JSON.stringify(K)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){$.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{nt.Close()}}),T=(nt,K)=>K?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\/([0-9]|[1-2][0-9]|3[0-2]))?$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[nt].test(K.trim()):!1,j=()=>L(this,null,function*(){if(!p.role)return $.Warning(a("\u8BF7\u9009\u62E9\u8282\u70B9\u89D2\u8272"));if(!p.setIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u6D6E\u52A8\u7F51\u5173")}IP`);if(!T("ip",p.setIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6D6E\u52A8\u7F51\u5173IP\u5730\u5740")}`);if(!p.checkIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u65C1\u8DEF\u7531")}IP`);if(!T("ip",p.checkIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65C1\u8DEF\u7531IP\u5730\u5740")}`);let nt=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.enableFloatGateway.POST(p);JSON.stringify(K)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){$.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{nt.Close()}}),R=nt=>{nt||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95EDDHCP\u53EF\u80FD\u5F71\u54CD\u5C40\u57DF\u7F51\u5185\u8BBE\u5907\u7684IP\u5206\u914D\u548C\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(k.dhcpEnabled=!0)},it=nt=>{nt||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u6D6E\u52A8\u7F51\u5173\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6D6E\u52A8\u7F51\u5173\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(p.enabled=!0)},ot=nt=>{nt||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u9650\u901F\u4F1A\u8BA9\u5DF2\u914D\u7F6E\u9650\u901F\u7684\u8BBE\u5907\u7684\u5E26\u5BBD\u9650\u5236\u5168\u90E8\u5931\u6548\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(g.enabled=!0)},bt=nt=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u7F51\u5173\u6807\u7B7E\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6B64\u6807\u7B7E\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let K=$.Loading(a("\u5220\u9664\u4E2D...")),At={action:"delete",tagTitle:nt.tagTitle||"",tagName:nt.tagName||"",dhcpOption:(nt==null?void 0:nt.dhcpOption)||[]};try{const{data:mt}=yield G.DeviceMangement.dhcpTagsConfig.POST(At);JSON.stringify(mt)==="{}"?($.Success(a("\u5220\u9664\u6210\u529F")),v()):$.Success((mt==null?void 0:mt.error)||"\u5220\u9664\u5931\u8D25\uFF01")}catch(mt){$.Warning(`${mt==null?void 0:mt.error} || ${mt==null?void 0:mt.message}`)}finally{K.Close()}}}),Dt=()=>{S.value.openTagDialog()},yt=E([]),Vt=nt=>L(this,null,function*(){yt.value=nt.dhcpOption?nt.dhcpOption:[],S.value.tagTitle=nt.tagTitle||"",S.value.tagName=nt.tagName||"",S.value.gateway=nt.gateway||"",yield na(),S.value.openEditTagDialog()}),Re=nt=>L(this,null,function*(){let K=$.Loading(a("\u4FDD\u5B58\u4E2D..."));const At=[`3,${nt.gateway}`,`6,${nt.gateway}`];let mt={action:nt.type==1?"add":"modify",tagTitle:nt.tagTitle,tagName:nt.tagName,dhcpOption:At};try{const{data:P}=yield G.DeviceMangement.dhcpTagsConfig.POST(mt);JSON.stringify(P)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((P==null?void 0:P.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(P){$.Warning(`${P==null?void 0:P.error} || ${P==null?void 0:P.message}`)}finally{K.Close()}});return(nt,K)=>{var At,mt;return r(),s("div",rA,[t("div",sA,[(r(),s(U,null,tt(_,P=>t("button",{key:P.id,class:lt(["tab-button",{active:x.value===P.id}]),onClick:X=>C(P.id)},i(P.label),11,dA)),64))]),t("div",lA,[O(t("div",null,[f.value?(r(),s("div",pA,[t("div",fA,[t("div",mA,i(e(a)("IP\u9650\u901F"))+"\uFF1A",1),Y(Ot,{modelValue:e(g).enabled,"onUpdate:modelValue":K[1]||(K[1]=P=>e(g).enabled=P),onChange:ot},null,8,["modelValue"])]),e(g).enabled?(r(),s(U,{key:0},[t("div",gA,[t("div",vA,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[2]||(K[2]=P=>e(g).downloadSpeed=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,bA),[[at,e(g).downloadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",hA,[t("div",_A,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[3]||(K[3]=P=>e(g).uploadSpeed=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,xA),[[at,e(g).uploadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)])],64)):D("",!0),t("div",wA,[t("div",kA,[t("button",{class:"add-button add-button--danger",onClick:q},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),s("div",cA,[uA,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:K[0]||(K[0]=P=>H("app-meta-eqos"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[ee,x.value==="ip"]]),O(t("div",null,[F.value?(r(),s("div",EA,[t("div",$A,[t("div",CA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"\uFF1A",1),Y(Ot,{modelValue:e(p).enabled,"onUpdate:modelValue":K[5]||(K[5]=P=>e(p).enabled=P),onChange:it},null,8,["modelValue"])]),t("div",DA,[t("div",BA,i(e(a)("\u8282\u70B9\u89D2\u8272"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":K[6]||(K[6]=P=>e(p).role=P),onChange:K[7]||(K[7]=()=>{})},[e(l)?(r(),s("option",YA,i(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),s(U,null,tt(u.value,P=>(r(),s("option",{value:P.value},i(P.name),9,AA))),256))],544),[[pt,e(p).role]])]),t("div",SA,[t("div",zA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"IP\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[8]||(K[8]=P=>e(p).setIP=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,PA),[[at,e(p).setIP,void 0,{trim:!0}]])]),t("div",TA,[t("div",IA,i(e(a)("\u65C1\u8DEF\u7531IP"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[9]||(K[9]=P=>e(p).checkIP=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,MA),[[at,e(p).checkIP,void 0,{trim:!0}]])]),t("div",LA,[t("div",OA,[t("button",{class:"add-button add-button--danger",onClick:j},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),s("div",yA,[FA,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:K[4]||(K[4]=P=>H("app-meta-floatip"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[ee,x.value==="gateway"]]),O(t("div",null,[t("div",NA,[t("div",VA,[t("div",GA,i(e(a)("\u542F\u7528"))+"DHCP\uFF1A",1),Y(Ot,{modelValue:e(k).dhcpEnabled,"onUpdate:modelValue":K[10]||(K[10]=P=>e(k).dhcpEnabled=P),onChange:R},null,8,["modelValue"])]),t("div",jA,[t("div",UA,"DHCP"+i(e(a)("\u7F51\u5173"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":K[11]||(K[11]=P=>e(k).dhcpGateway=P),onChange:K[12]||(K[12]=()=>{})},[(r(!0),s(U,null,tt((mt=(At=m.value)==null?void 0:At.dhcpGlobal)==null?void 0:mt.gatewaySels,P=>(r(),s("option",{value:P.gateway},i(P.gateway)+" ("+i(P.title?A(P.title):"")+") ",9,qA))),256))],544),[[pt,e(k).dhcpGateway]])]),t("div",RA,[t("div",WA,[t("button",{class:"add-button add-button--danger",onClick:b},i(e(a)("\u4FDD\u5B58")),1)])])]),t("div",HA,[t("button",{class:"add-button add-button--danger",onClick:Dt},[t("span",null,i(e(a)("\u6DFB\u52A0")),1)])]),Y(Ue,{data:c.value,columns:d.value,showSelection:!1,showPagination:!1,theadBgColor:"#e8e6f9"},{action:V(({row:P})=>[P.autoCreated?D("",!0):(r(),s("span",{key:0,style:{color:"#553AFE",cursor:"pointer"},onClick:X=>Vt(P)},i(e(a)("\u7F16\u8F91")),9,JA)),P.autoCreated?D("",!0):(r(),s("span",{key:1,style:{color:"#F04134",cursor:"pointer","margin-left":"18px"},onClick:X=>bt(P)},i(e(a)("\u5220\u9664")),9,ZA))]),tagTitle:V(({row:P})=>[t("span",null,i(A(P.tagTitle)),1)]),tagName:V(({row:P})=>[t("span",null,i(P.tagName||"-"),1)]),gateway:V(({row:P})=>[t("span",null,i(P.gateway||"-"),1)]),_:1},8,["data","columns"])],512),[[ee,x.value==="tag"]])]),Y(iA,{ref_key:"tagDialogRef",ref:S,title:e(B),onConfirm:Re},null,8,["title"])])}}});var QA=N(KA,[["__scopeId","data-v-66e54129"]]);const po=o=>(ct("data-v-a5a78984"),o=o(),ut(),o),XA={id:"page"},tS={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},eS=po(()=>t("svg",{width:"20",height:"20",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M20 30 L50 50 L20 70",stroke:"#d6dbf8","stroke-width":"8","stroke-linecap":"round",fill:"none"})],-1)),aS={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},oS={class:"device_container",style:{color:"black"}},nS={class:"tab-container"},iS={class:"tabs_box_g"},rS=["onClick"],sS={class:"tab-content_g"},dS={key:0,class:"content-item"},lS={key:1,class:"content-item"},cS={key:2,class:"content-item"},uS={key:3,class:"content-item"},pS=po(()=>t("div",{style:{height:"30px"}},null,-1)),fS=I({setup(o){const{$gettext:n}=J(),a=E(["\u8BBE\u5907\u5217\u8868","\u9759\u6001\u5206\u914D\u5217\u8868","\u9650\u901F\u8BBE\u5907\u5217\u8868","\u5168\u5C40\u8BBE\u7F6E"]),l=E(0),c=E(null),d=()=>L(this,null,function*(){l.value=3,yield na(),c.value&&(c.value.activeTab="ip")});return(u,k)=>{const g=_t("router-link");return r(),s(U,null,[t("div",XA,[t("div",tS,[Y(g,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:V(()=>[dt(i(e(n)("\u9996\u9875")),1)]),_:1}),eS,t("a",aS,i(e(n)("\u8BBE\u5907\u7BA1\u7406")),1)])]),t("div",oS,[t("div",nS,[t("div",iS,[(r(!0),s(U,null,tt(a.value,(p,m)=>(r(),s("button",{key:m,onClick:v=>l.value=m,class:lt({active:l.value===m})},i(e(n)(p)),11,rS))),128))]),t("div",sS,[l.value===0?(r(),s("div",dS,[Y(TB,{onOpenGloba:d})])):D("",!0),l.value===1?(r(),s("div",lS,[Y(nY)])):D("",!0),l.value===2?(r(),s("div",cS,[Y(SY,{onOpenGloba:d})])):D("",!0),l.value===3?(r(),s("div",uS,[Y(QA,{ref_key:"configureRef",ref:c},null,512)])):D("",!0)]),pS])])],64)}}});var mS=N(fS,[["__scopeId","data-v-a5a78984"]]);const gS={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},vS=["fill"],bS=["fill"],hS=I({props:{color:{type:String,default:"#ffa847"}},setup(o){return(n,a)=>(r(),s("svg",gS,[t("path",{d:"M640.825806 900.129032c-18.167742 6.606452-37.987097 9.909677-57.806451 13.212903-26.425806 4.954839-44.593548 29.729032-41.290323 56.154839 4.954839 26.425806 29.729032 44.593548 56.154839 41.290323 24.774194-3.303226 47.896774-9.909677 71.019355-16.516129 26.425806-8.258065 41.290323-36.335484 33.032258-62.761291s-34.683871-39.63871-61.109678-31.380645zM974.451613 576.412903c-26.425806-6.606452-52.851613 9.909677-61.109678 36.335484-4.954839 19.819355-11.56129 37.987097-18.167741 56.154839-9.909677 24.774194 1.651613 54.503226 26.425806 64.412903 24.774194 9.909677 54.503226-1.651613 64.412903-26.425806 9.909677-23.122581 16.516129-46.245161 23.122581-69.367742 6.606452-28.077419-8.258065-54.503226-34.683871-61.109678zM814.245161 791.122581c-13.212903 14.864516-28.077419 28.077419-42.941935 39.638709-21.470968 16.516129-24.774194 47.896774-8.258065 69.367742 16.516129 21.470968 47.896774 24.774194 69.367742 8.258065 19.819355-14.864516 37.987097-31.380645 54.503226-49.548387 18.167742-19.819355 18.167742-51.2-1.651613-69.367742s-51.2-18.167742-71.019355 1.651613zM526.864516 341.883871c-28.077419 0-49.548387 21.470968-49.548387 49.548387v122.219355c0 14.864516 6.606452 28.077419 18.167742 37.987097l117.264516 97.445161c21.470968 18.167742 52.851613 14.864516 69.367742-6.606452s14.864516-52.851613-6.606452-69.367742l-99.096774-82.580645v-99.096774c0-26.425806-21.470968-49.548387-49.548387-49.548387z",fill:o.color,"p-id":"4722"},null,8,vS),t("path",{d:"M910.03871 327.019355c28.077419 1.651613 51.2-18.167742 52.851613-46.245161l9.909677-142.03871c1.651613-28.077419-18.167742-51.2-46.245161-52.851613-28.077419-1.651613-51.2 18.167742-52.851613 46.245161v16.516129c-1.651613-1.651613-3.303226-3.303226-4.954839-3.303226-1.651613-3.303226-4.954839-4.954839-6.606452-8.258064-18.167742-16.516129-36.335484-31.380645-57.806451-46.245161-1.651613-1.651613-4.954839-3.303226-6.606452-3.303226-46.245161-31.380645-99.096774-54.503226-155.251613-69.367742-1.651613 0-3.303226-1.651613-4.954838-1.651613-8.258065-1.651613-14.864516-3.303226-23.122581-4.954839h-1.651613c-6.606452-1.651613-13.212903-3.303226-21.470968-3.303225-4.954839-1.651613-11.56129-1.651613-16.516129-1.651613-3.303226 0-6.606452-1.651613-9.909677-1.651613h-1.651613C307.2-19.819355 69.367742 153.6 18.167742 412.903226c-52.851613 275.819355 125.522581 541.729032 401.341935 594.580645 26.425806 4.954839 52.851613-11.56129 57.806452-39.63871 4.954839-26.425806-11.56129-52.851613-39.63871-57.806451h-1.651613c-19.819355-3.303226-37.987097-9.909677-56.154838-16.516129h-3.303226c-44.593548-16.516129-84.232258-39.63871-118.916129-67.716129l-4.954839-4.954839c-14.864516-13.212903-29.729032-26.425806-41.290322-41.290323-1.651613-1.651613-3.303226-3.303226-6.606452-4.954838-28.077419-33.032258-51.2-71.019355-67.716129-112.309678 0-3.303226-1.651613-6.606452-1.651613-8.258064-6.606452-18.167742-13.212903-37.987097-16.516129-56.154839 0-3.303226-1.651613-6.606452-3.303226-9.909677-8.258065-41.290323-9.909677-82.580645-4.954838-125.522581 1.651613-3.303226 1.651613-6.606452 3.303225-9.909678 3.303226-19.819355 6.606452-37.987097 13.212904-57.806451 1.651613-3.303226 1.651613-6.606452 1.651612-9.909678 13.212903-41.290323 33.032258-80.929032 57.806452-115.612903 3.303226-1.651613 4.954839-4.954839 6.606452-6.606451 11.56129-14.864516 24.774194-29.729032 39.638709-44.593549 1.651613-1.651613 3.303226-4.954839 4.954839-6.606451 33.032258-31.380645 71.019355-56.154839 112.309677-74.322581 1.651613 0 3.303226 0 3.303226-1.651613 18.167742-8.258065 37.987097-14.864516 56.154839-19.819355 1.651613 0 1.651613-1.651613 3.303226-1.651613 47.896774-13.212903 100.748387-16.516129 153.6-9.909677 3.303226 0 6.606452 1.651613 9.909677 1.651613 6.606452 1.651613 11.56129 1.651613 18.167742 3.303226 80.929032 16.516129 153.6 54.503226 209.754839 112.309677l-29.729032-1.651613c-28.077419-1.651613-51.2 18.167742-52.851613 46.245161-1.651613 28.077419 18.167742 51.2 46.245161 52.851613l142.03871 8.258065z",fill:o.color,"p-id":"4723"},null,8,bS)]))}}),_S={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},xS=["fill"],wS=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",_S,[t("path",{d:"M914.285714 548.571429a36.571429 36.571429 0 0 1 36.571429 36.571428v219.428572a146.285714 146.285714 0 0 1-146.285714 146.285714H219.428571a146.285714 146.285714 0 0 1-146.285714-146.285714v-219.428572a36.571429 36.571429 0 1 1 73.142857 0v219.428572a73.142857 73.142857 0 0 0 67.657143 72.96L219.428571 877.714286h585.142858a73.142857 73.142857 0 0 0 72.96-67.657143L877.714286 804.571429v-219.428572a36.571429 36.571429 0 0 1 36.571428-36.571428zM537.307429 83.858286l258.596571 258.596571a36.571429 36.571429 0 1 1-51.712 51.712L548.571429 198.509714 548.571429 634.733714a36.571429 36.571429 0 1 1-73.142858 0V197.485714L278.674286 394.166857a36.571429 36.571429 0 1 1-51.712-51.712l258.596571-258.596571a36.571429 36.571429 0 0 1 51.712 0z",fill:o.color,"p-id":"9077"},null,8,xS)]))}}),Ht=o=>(ct("data-v-de94d0fe"),o=o(),ut(),o),kS={class:"item_container"},yS={class:"item"},FS={class:"item_title"},ES={class:"tip"},$S={class:"item"},CS={class:"item_title"},DS={class:"select_box"},BS={value:null,disabled:"",selected:""},YS=["value"],AS={class:"start_btn"},SS={key:0,class:"progress"},zS=Ht(()=>t("span",null,"25%",-1)),PS={class:"item"},TS={class:"item_title"},IS={class:"log_info"},MS={class:"item"},LS={class:"item_title"},OS={class:"result_box"},NS={class:"result"},VS={class:"result_item"},GS=Ht(()=>t("div",{class:"speed_value"},"105.5",-1)),jS=Ht(()=>t("span",{class:"unit"},"Mbps",-1)),US=Ht(()=>t("span",{class:"status status_bg1"},"\u4F18\u79C0",-1)),qS={class:"speed_title"},RS={class:"result_item"},WS=Ht(()=>t("div",{class:"speed_value"},"105.5",-1)),HS=Ht(()=>t("span",{class:"unit"},"Mbps",-1)),JS=Ht(()=>t("span",{class:"status status_bg2"},"\u826F\u597D",-1)),ZS={class:"speed_title"},KS=jt('
18 ms
\u826F\u597D\u5EF6\u8FDF
18 ms
\u5EF6\u8FDF
',2),QS=Ht(()=>t("div",{class:"custom-content"},[t("p",null,"\u4EE5\u4E0B\u662F\u68C0\u6D4B\u5230\u7684\u5185\u7F51\u5730\u5740\uFF0C\u8BF7\u70B9\u51FB\u8BBF\u95EE\u8FDB\u884C\u6D4B\u901F"),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")])],-1)),XS=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=E([{title:"SpeedTest.Net",describe:"\u5168\u7403\u6807\u51C6\u7F51\u901F\u6D4B\u8BD5\u670D\u52A1",value:"SpeedTest"},{title:"CDN\u8282\u70B9\u6D4B\u8BD5",describe:"\u6D4B\u8BD5\u5230\u4E3B\u8981CDN\u8282\u70B9\u7684\u8FDE\u63A5\u901F\u5EA6",value:"CDN"},{title:"UST\u9AD8\u6821\u8282\u70B9",describe:"\u4E2D\u79D1\u5927\u6559\u80B2\u7F51\u8282\u70B9\u6D4B\u8BD5",value:"UST"},{title:"NAT\u7C7B\u578B\u6D4B\u901F",describe:"\u68C0\u6D4B\u7F51\u7EDCNAT\u7C7B\u578B\u548C\u8FDE\u901A\u6027",value:"NAT"}]),c=E(null),d=E(!1),u=()=>{!c.value||(d.value=!0)};return(k,g)=>(r(),s(U,null,[t("div",kS,[t("div",yS,[t("div",FS,[Y(ze,{color:"#155dfc",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u68C0\u6D4B\u672C\u5730\u7F51\u7EDC\u73AF\u5883\uFF0C\u83B7\u53D6\u5185\u7F51\u8BBF\u95EE\u5730\u5740")),1),t("div",{class:"wifi_btn",onClick:g[0]||(g[0]=p=>a.value=!0)},[t("div",null,[Y(ze,{color:"#ffffff",class:"icon1"}),t("span",null,i(e(n)("\u5F00\u59CB\u5185\u7F51\u6D4B\u901F")),1)])]),t("p",ES,i(e(n)("\u70B9\u51FB\u6309\u94AE\u83B7\u53D6\u5185\u7F51\u6D4B\u901F\u5730\u5740\uFF0C\u901A\u8FC7\u8BBF\u95EE\u8FD9\u4E9B\u5730\u5740\u6765\u6D4B\u8BD5\u5185\u7F51\u8FDE\u63A5\u901F\u5EA6")),1)]),t("div",$S,[t("div",CS,[Y(xe,{color:"#2bb55e",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9\uFF0C\u8FDB\u884C\u7F51\u7EDC\u901F\u5EA6\u548C\u8FDE\u63A5\u8D28\u91CF\u6D4B\u8BD5")),1),t("div",DS,[t("div",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),O(t("select",{"onUpdate:modelValue":g[1]||(g[1]=p=>c.value=p),id:"node",required:"",class:lt({"is-placeholder":!c.value})},[t("option",BS,i(e(n)("\u8BF7\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),(r(!0),s(U,null,tt(l.value,p=>(r(),s("option",{value:p},i(p.title)+" - "+i(p.describe),9,YS))),256))],2),[[pt,c.value]])]),t("div",{class:lt(["wifi_btn m-20",{"is-bg":!c.value||d.value}]),onClick:u},[t("div",AS,[d.value?(r(),s("span",{key:0,class:lt(["icon3-wrap",{"is-rotating":d.value}])},[Y(hS,{color:"#ffffff",class:"icon3"})],2)):(r(),Z(xe,{key:1,color:"#ffffff",class:"icon2"})),t("span",null,i(e(n)("\u5F00\u59CB\u6D4B\u901F")),1)])],2),d.value?(r(),s("div",SS,[t("p",null,[dt(i(e(n)("\u6D4B\u901F\u8FDB\u5EA6"))+" ",1),zS]),Y(no,{percentage:25,showPercentage:!1,height:"10px",borderRadius:"10px",color:"#030213",backgroundColor:"#cdccd0"})])):D("",!0)]),t("div",PS,[t("div",TS,[Y(Xa,{color:"#ff6900",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u65E5\u5FD7")),1)]),t("p",null,i(e(n)("\u5B9E\u65F6\u6D4B\u901F\u8FC7\u7A0B\u8BB0\u5F55")),1),t("div",IS,[(r(),s(U,null,tt(20,p=>t("p",null,"[17:00:20] \u6B63\u5728\u8FDE\u63A5\u5230\u6D4B\u8BD5\u670D\u52A1\u5668...")),64))])]),t("div",MS,[t("div",LS,[Y(ro,{color:"#9865ff",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u7ED3\u679C")),1)]),t("p",null,i(e(n)("\u6D4B\u901F\u8282\u70B9"))+"\uFF1ACDN\u8282\u70B9 (\u5317\u4EAC)",1),t("div",OS,[t("div",NS,[t("div",VS,[Y(Kt,{color:"#155dfc",class:"icon_speed"}),GS,jS,US,t("div",qS,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1)]),t("div",RS,[Y(wS,{color:"#00a63e",class:"icon_speed1"}),WS,HS,JS,t("div",ZS,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1)])]),KS])])]),Y(Xt,{modelValue:a.value,"onUpdate:modelValue":g[2]||(g[2]=p=>a.value=p),title:"\u5185\u7F51\u8BBF\u95EE\u5730\u5740",width:"550px",footerShow:!1,"show-close":!0},{default:V(()=>[QS]),_:1},8,["modelValue"])],64))}});var tz=N(XS,[["__scopeId","data-v-de94d0fe"]]);const ez={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},az=["fill"],oz=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),s("svg",ez,[t("path",{d:"M0 855.04a64.896 64.896 0 0 1 129.792 0v55.637333a64.896 64.896 0 0 1-129.792 0V855.04zM213.248 669.610667a64.896 64.896 0 0 1 129.792 0v241.066666a64.896 64.896 0 0 1-129.792 0v-241.066666zM426.496 484.181333a64.896 64.896 0 0 1 129.792 0v426.496a64.896 64.896 0 1 1-129.792 0v-426.496zM639.701333 298.752a64.896 64.896 0 1 1 129.792 0v611.925333a64.896 64.896 0 0 1-129.792 0V298.752zM852.949333 113.322667a64.896 64.896 0 0 1 129.792 0v797.354666a64.896 64.896 0 0 1-129.792 0V113.322667z",fill:o.color,"p-id":"11967"},null,8,az)]))}}),ha=o=>(ct("data-v-63694ef8"),o=o(),ut(),o),nz={id:"page"},iz={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},rz=ha(()=>t("svg",{width:"20",height:"20",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M20 30 L50 50 L20 70",stroke:"#d6dbf8","stroke-width":"8","stroke-linecap":"round",fill:"none"})],-1)),sz={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},dz={class:"container",style:{color:"black"}},lz={class:"title"},cz=ha(()=>t("span",null,"\u7F51\u7EDC\u6D4B\u901F\u5DE5\u5177",-1)),uz=ha(()=>t("p",null,"\u4E13\u4E1A\u7684\u7F51\u7EDC\u8FDE\u63A5\u901F\u5EA6\u68C0\u6D4B\u5DE5\u5177\uFF0C\u652F\u6301\u5185\u7F51\u548C\u5916\u7F51\u6D4B\u901F",-1)),pz=I({setup(o){const{$gettext:n}=J();return(a,l)=>{const c=_t("router-link");return r(),s(U,null,[t("div",nz,[t("div",iz,[Y(c,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:V(()=>[dt(i(e(n)("\u9996\u9875")),1)]),_:1}),rz,t("a",sz,i(e(n)("\u7F51\u7EDC\u6D4B\u901F")),1)])]),t("div",dz,[t("div",lz,[t("div",null,[Y(oz,{class:"icon"}),cz]),uz]),Y(tz)])],64)}}});var fz=N(pz,[["__scopeId","data-v-63694ef8"]]);const Ce=o=>(ct("data-v-1f11eeec"),o=o(),ut(),o),mz=["onSubmit"],gz={class:"form-item"},vz={class:"label-name"},bz={class:"label-value switch_label"},hz={class:"label-flex pc-radio"},_z=["disabled"],xz=["disabled"],wz=Ce(()=>t("div",{class:"switch-button"},null,-1)),kz=[wz],yz={key:0,class:"form-item"},Fz={class:"label-name"},Ez={class:"label-value"},$z=["disabled"],Cz={value:100},Dz={value:70},Bz={value:50},Yz={value:30},Az={key:0,class:"select-arrow"},Sz={class:"form-item"},zz={class:"label-name"},Pz={class:"label-value"},Tz=["disabled","placeholder"],Iz={class:"form-item"},Mz={class:"label-name"},Lz={class:"label-value"},Oz=["disabled"],Nz=["value"],Vz={key:0,class:"select-arrow"},Gz={class:"form-item"},jz={class:"label-name"},Uz={class:"label-value"},qz=["type","disabled","placeholder"],Rz={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},Wz=Ce(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),Hz=[Wz],Jz={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},Zz=Ce(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),Kz=[Zz],Qz={class:"form-item"},Xz={class:"label-name"},tP={class:"label-value"},eP=["disabled"],aP={value:!1},oP={value:!0},nP={key:0,class:"select-arrow"},iP={key:1,class:"form-item"},rP={class:"label-name"},sP={class:"label-value"},dP=["disabled"],lP=["value"],cP={key:0,class:"select-arrow"},uP={key:2,class:"form-item"},pP={class:"label-name"},fP={class:"label-value"},mP=["disabled"],gP=Ce(()=>t("option",{value:"20"},"20 MHz",-1)),vP=Ce(()=>t("option",{value:"40"},"40 MHz",-1)),bP={key:0,value:"auto"},hP={key:1,value:"80"},_P={key:2,value:"160"},xP={key:0,class:"select-arrow"},wP={key:3,class:"form-item"},kP={class:"label-name"},yP={class:"label-value"},FP=["disabled"],EP={value:0},$P=["value"],CP=["disabled"],DP={value:0},BP=jt('',12),YP={key:2,class:"select-arrow"},AP={key:4,class:"form-item"},SP={class:"label-name"},zP={class:"label-value"},PP=["placeholder","disabled"],TP={class:"label-btns"},IP=["disabled"],MP=I({props:{data:null},emits:["getData"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:c}=J(),d=E(Object.assign({},a.data)),u=Yo("disabled"),k=E(!0),g=()=>{u.value||(d.value.disabled=!d.value.disabled)};$t(()=>d.value.disabled,y=>{m()});const p=()=>L(this,null,function*(){if(d.value.txpower===a.data.txpower)return;const y=$.Loading("\u914D\u7F6E\u4E2D...");try{const{data:f}=yield G.Quickwifi.Power.POST({device:d.value.device||"",txpower:d.value.txpower||0}),{error:F,success:w}=f;if(F)throw F;(w==null||w==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}catch(f){throw $.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),f}finally{y.Close()}}),m=()=>L(this,null,function*(){const y=$.Loading("\u914D\u7F6E\u4E2D...");try{const{data:f}=yield G.Quickwifi.Switch.POST({ifaceName:d.value.ifaceName||"",enable:!d.value.disabled}),{error:F,success:w}=f;if(F)throw F;(w==null||w==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}catch(f){throw console.error("\u8BF7\u6C42\u51FA\u9519:",f),$.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),f}finally{y.Close()}}),v=()=>L(this,null,function*(){const y=st({},d.value);delete y.encryptSelects,delete y.hwmodeSelects,delete y.disabled,delete y.txpower;const{data:f}=yield G.Quickwifi.Edit.POST(y),{error:F,success:w}=f;if(F)throw F;(w==null||w==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}),b=()=>L(this,null,function*(){if(u.value)return;u.value=!0;const y=$.Loading("\u914D\u7F6E\u4E2D...");try{yield v(),yield n("getData")}catch(f){const F=$.Error(`${f}`);setTimeout(()=>{F.Close()},2e3)}finally{y.Close(),u.value=!1}});return(y,f)=>(r(),s("form",{class:"form-container",onSubmit:ft(b,["prevent"])},[t("div",gz,[t("div",vz,[t("span",null,i(e(l)("\u542F\u7528Wi-Fi")),1)]),t("div",bz,[t("div",hz,[t("label",null,[O(t("input",{type:"radio",value:!1,"onUpdate:modelValue":f[0]||(f[0]=F=>d.value.disabled=F),disabled:e(u)},null,8,_z),[[Bt,d.value.disabled]]),dt(" "+i(e(l)("\u5F00\u542F")),1)]),t("label",null,[O(t("input",{type:"radio",value:!0,"onUpdate:modelValue":f[1]||(f[1]=F=>d.value.disabled=F),disabled:e(u)},null,8,xz),[[Bt,d.value.disabled]]),dt(" "+i(e(l)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:g},[t("div",{class:lt(["switch-core",{"is-checked":!d.value.disabled,"is-disabled":e(u)}])},kz,2)])])]),d.value.isGuest?D("",!0):(r(),s("div",yz,[t("div",Fz,[t("span",null,i(e(l)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",Ez,[O(t("select",{"onUpdate:modelValue":f[2]||(f[2]=F=>d.value.txpower=F),disabled:e(u),onChange:p},[t("option",Cz,i(e(l)("\u6700\u5927")),1),t("option",Dz,i(e(l)("\u9AD8")),1),t("option",Bz,i(e(l)("\u4E2D")),1),t("option",Yz,i(e(l)("\u4F4E")),1)],40,$z),[[pt,d.value.txpower]]),e(u)?D("",!0):(r(),s("div",Az))])])),t("div",Sz,[t("div",zz,[t("span",null,i(e(l)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",Pz,[O(t("input",{"onUpdate:modelValue":f[3]||(f[3]=F=>d.value.ssid=F),disabled:e(u),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,Tz),[[at,d.value.ssid]])])]),t("div",Iz,[t("div",Mz,[t("span",null,i(e(l)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",Lz,[O(t("select",{"onUpdate:modelValue":f[4]||(f[4]=F=>d.value.encryption=F),disabled:e(u)},[(r(!0),s(U,null,tt(d.value.encryptSelects,F=>(r(),s("option",{value:F},i(F),9,Nz))),256))],8,Oz),[[pt,d.value.encryption]]),e(u)?D("",!0):(r(),s("div",Vz))])]),t("div",Gz,[t("div",jz,[t("span",null,i(e(l)("Wi-Fi \u5BC6\u7801")),1)]),t("div",Uz,[O(t("input",{"onUpdate:modelValue":f[5]||(f[5]=F=>d.value.key=F),class:"password_input",type:k.value?"password":"",disabled:e(u),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,qz),[[Ao,d.value.key]]),e(u)?D("",!0):(r(),s("div",{key:0,onClick:f[6]||(f[6]=F=>k.value=!k.value)},[k.value?(r(),s("svg",Rz,Hz)):(r(),s("svg",Jz,Kz))]))])]),t("div",Qz,[t("div",Xz,[t("span",null,i(e(l)("SSID \u53EF\u89C1\u6027")),1)]),t("div",tP,[O(t("select",{"onUpdate:modelValue":f[7]||(f[7]=F=>d.value.hidden=F),disabled:e(u)},[t("option",aP,i(e(l)("\u663E\u793A")),1),t("option",oP,i(e(l)("\u9690\u85CF")),1)],8,eP),[[pt,d.value.hidden]]),e(u)?D("",!0):(r(),s("div",nP))])]),d.value.isGuest?D("",!0):(r(),s("div",iP,[t("div",rP,[t("span",null,i(e(l)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",sP,[O(t("select",{"onUpdate:modelValue":f[8]||(f[8]=F=>d.value.hwmode=F),disabled:e(u)},[(r(!0),s(U,null,tt(d.value.hwmodeSelects,F=>(r(),s("option",{value:F},i(F),9,lP))),256))],8,dP),[[pt,d.value.hwmode]]),e(u)?D("",!0):(r(),s("div",cP))])])),d.value.isGuest?D("",!0):(r(),s("div",uP,[t("div",pP,[t("span",null,i(e(l)("\u9891\u5BBD")),1)]),t("div",fP,[O(t("select",{"onUpdate:modelValue":f[9]||(f[9]=F=>d.value.htmode=F),disabled:e(u)},[gP,vP,d.value.band==="2g"?(r(),s("option",bP," 20/40 MHz ")):D("",!0),d.value.band==="5g"?(r(),s("option",hP," 80 MHz ")):D("",!0),d.value.band==="5g"?(r(),s("option",_P," 160 MHz ")):D("",!0)],8,mP),[[pt,d.value.htmode]]),e(u)?D("",!0):(r(),s("div",xP))])])),d.value.isGuest?D("",!0):(r(),s("div",wP,[t("div",kP,[t("span",null,i(e(l)("\u4FE1\u9053")),1)]),t("div",yP,[d.value.band==="2g"?O((r(),s("select",{key:0,"onUpdate:modelValue":f[10]||(f[10]=F=>d.value.channel=F),disabled:e(u)},[t("option",EP,i(e(l)("\u81EA\u52A8")),1),(r(),s(U,null,tt(13,F=>t("option",{value:F},i(F),9,$P)),64))],8,FP)),[[pt,d.value.channel,void 0,{number:!0}]]):D("",!0),d.value.band==="5g"?O((r(),s("select",{key:1,"onUpdate:modelValue":f[11]||(f[11]=F=>d.value.channel=F),disabled:e(u)},[t("option",DP,i(e(l)("\u81EA\u52A8")),1),BP],8,CP)),[[pt,d.value.channel,void 0,{number:!0}]]):D("",!0),e(u)?D("",!0):(r(),s("div",YP))])])),d.value.isGuest?D("",!0):(r(),s("div",AP,[t("div",SP,[t("span",null,i(e(l)("\u7F51\u7EDC")),1)]),t("div",zP,[O(t("input",{type:"text",placeholder:e(l)("\u8BF7\u914D\u7F6E\u7F51\u7EDC\u540D\u79F0"),required:"","onUpdate:modelValue":f[12]||(f[12]=F=>d.value.network=F),disabled:e(u)},null,8,PP),[[at,d.value.network]])])])),t("div",TP,[t("button",{class:"btn primary-btn",disabled:e(u),onClick:b},i(e(l)("\u4FDD\u5B58\u914D\u7F6E")),9,IP)])],40,mz))}});var LP=N(MP,[["__scopeId","data-v-1f11eeec"]]);const qe=o=>(ct("data-v-40cb5302"),o=o(),ut(),o),OP={id:"page",class:"page-container"},NP={class:"mobile-tags-container"},VP={class:"tags-wrapper"},GP={class:"tags-scroll"},jP=["onClick"],UP={class:"more-btn-wrapper"},qP=qe(()=>t("div",{class:"fade-overlay"},null,-1)),RP=qe(()=>t("div",{class:"line"},null,-1)),WP=qe(()=>t("div",{class:"line"},null,-1)),HP=qe(()=>t("div",{class:"line"},null,-1)),JP=[RP,WP,HP],ZP={class:"page-flex"},KP={class:"page-sidebar"},QP=["onClick"],XP={class:"page-main"},tT={class:"popup-content"},eT={class:"popup-tags"},aT=["onClick"],oT={class:"popup-footer"},nT=I({setup(o){var F;const{$gettext:n}=J(),a=E(!1);So("disabled",a);const l=E([]),c=Te(),d=Pe(),u=E(String((F=c==null?void 0:c.query)==null?void 0:F.tab)),k=E(!1),g=w=>{var h;return(h=w.band)==null?void 0:h.toUpperCase()},p=w=>w.isGuest?w.band+"_Guest":w.ssid,m=w=>{a.value||(u.value=p(w),k.value=!1,u.value!==c.query.tab&&d.push({query:{tab:u.value}}))},v=E(),b=w=>{a.value||(v.value=p(w))},y=()=>{k.value=!1,v.value!==c.query.tab&&d.push({query:{tab:v.value}})};$t(()=>k.value,w=>{w?v.value=u.value:u.value=v.value});const f=()=>L(this,null,function*(){try{const{data:w}=yield G.Quickwifi.List.GET(),{error:h,result:_}=w;if(h)throw h;_!=null&&_.ifaces&&(l.value=_.ifaces.map(C=>vt(st({},C),{hidden:C.hidden||!1,disabled:C.disabled||!1,isGuest:C.isGuest||!1,channel:C.channel||0,txpower:C.txpower||0,ifaceIndex:C.ifaceIndex||0})));let x=!1;for(let C=0;C0&&m(l.value[0])}catch(w){console.log(w)}});return f(),(w,h)=>(r(),s("div",OP,[t("div",NP,[t("div",VP,[t("div",GP,[(r(!0),s(U,null,tt(l.value,_=>(r(),s("div",{key:p(_),class:lt(u.value===p(_)?"tag-item active":"tag-item"),onClick:ft(x=>m(_),["stop"])},i(g(_))+" "+i(_.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(_.ifaceIndex?`[${_.ifaceIndex}]`:""),11,jP))),128))]),t("div",UP,[qP,t("div",{class:"more-btn",onClick:h[0]||(h[0]=_=>k.value=!0)},JP)])])]),t("div",ZP,[t("div",KP,[(r(!0),s(U,null,tt(l.value,_=>(r(),s("div",{key:p(_),class:lt(u.value===p(_)?"item activeItem":"item"),onClick:ft(x=>m(_),["stop"])},i(g(_))+" "+i(_.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(_.ifaceIndex?`[${_.ifaceIndex}]`:""),11,QP))),128))]),t("div",XP,[(r(!0),s(U,null,tt(l.value,_=>(r(),s(U,{key:p(_)},[u.value===p(_)?(r(),Z(LP,{key:0,data:_,onGetData:f},null,8,["data"])):D("",!0)],64))),128))])]),k.value?(r(),s("div",{key:0,class:"popup-overlay",onClick:h[2]||(h[2]=ft(_=>k.value=!1,["self"]))},[t("div",tT,[t("div",eT,[(r(!0),s(U,null,tt(l.value,_=>(r(),s("div",{key:p(_),class:lt(v.value===p(_)?"popup-tag-item active":"popup-tag-item"),onClick:ft(x=>b(_),["stop"])},i(g(_))+" "+i(_.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(_.ifaceIndex?`[${_.ifaceIndex}]`:""),11,aT))),128))]),t("div",oT,[t("button",{class:"cancel-btn",onClick:h[1]||(h[1]=_=>k.value=!1)},i(e(n)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:y},i(e(n)("\u786E\u5B9A")),1)])])])):D("",!0)]))}});var iT=N(nT,[["__scopeId","data-v-40cb5302"]]);const rT=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",fo=zo({history:Po(rT()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:fh},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:vh,children:[{path:"",component:Zh},{path:"pppoe",component:__},{path:"dhcp",component:nx},{path:"gateway",component:Hx}]},{path:"/quickwifi",component:iT},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:by},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:Ey,children:[{path:"",component:$$},{path:"task",component:V$},{path:"log",component:q$}]},{path:"/interfaceconfig",component:eD},{path:"/devicemanagement",component:mS},{path:"/networkSpeedTest",component:fz}]});fo.beforeEach((o,n)=>(o.meta.title,!0));const Ct=xt(sn);Ct.component("svg-menu",mn);Ct.component("svg-system",xn);Ct.component("svg-download",$n);Ct.component("svg-store",Pn);Ct.component("svg-info",Nn);Ct.component("svg-disk",ci);Ct.component("svg-nav",vi);Ct.component("progress-item",Ua);Ct.component("svg-view-show",Ni);Ct.component("svg-view-hidden",Ri);Ct.component("article-item",Xi);Ct.component("switch-box",qa);Ct.component("editable-select",Zt);Ct.use(Ra);Ct.use(fo);Ct.use(To());Mo(Ct).finally(()=>Ct.mount("#app"))});export default sT(); +`+d.value,disabled:""},null,8,RF)]),t("div",WF,[t("div",{class:"close",onClick:m,disabled:u.value},i(e(a)("\u5173\u95ED")),9,HF),u.value?D("",!0):(r(),s("div",{key:0,class:"next",onClick:v,disabled:u.value},i(e(a)("\u8FD0\u884C")),9,JF))])])]),_:1}))}});var KF=N(ZF,[["__scopeId","data-v-70c3aae0"]]);const QF={class:"actioner-container"},XF={class:"actioner-container_header"},tE={class:"tabs"},eE={class:"actioner-container_body"},aE={key:0,class:"table"},oE={class:"tr"},nE={class:"td left"},iE={class:"td left"},rE={class:"tr"},sE={class:"td left"},dE={class:"td left"},lE={class:"tr"},uE={class:"td left"},cE={class:"td left"},pE=["value"],fE=["value"],mE=["value"],gE={class:"actioner-container_footer"},vE=["disabled"],bE=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!1),d=E("info"),c=b=>{switch(d.value=b,b){case"info":break;case"attribute":m();break;case"log":p();break;case"extend":v();break}},k=()=>{u.value=!0,n.close()},g=gt({log:"",attribute:"",extend:""}),p=()=>L(this,null,function*(){try{const b=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.disk.path||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(g.log=y.result),f&&(g.log=f)}}catch(b){g.log=b}}),m=()=>L(this,null,function*(){try{const b=yield G.Smart.Attribute.Result.POST({devicePath:n.disk.path||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(g.attribute=y.result),f&&(g.attribute=f)}}catch(b){g.attribute=b}}),v=()=>L(this,null,function*(){try{const b=yield G.Smart.Extend.Result.POST({devicePath:n.disk.path||""});if(b.data){const{result:y,error:f}=b.data;y&&y.result&&(g.extend=y.result),f&&(g.extend=f)}}catch(b){g.extend=b}});return(b,y)=>(r(),Z(je,null,{default:V(()=>[t("div",QF,[t("div",XF,[t("ul",tE,[t("li",{class:lt({"active cbi-tab":d.value=="info"}),onClick:y[0]||(y[0]=f=>c("info"))},[t("a",null,i(e(a)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:lt({"active cbi-tab":d.value=="attribute"}),onClick:y[1]||(y[1]=f=>c("attribute"))},[t("a",null,i(e(a)("\u5C5E\u6027")),1)],2),t("li",{class:lt({"active cbi-tab":d.value=="log"}),onClick:y[2]||(y[2]=f=>c("log"))},[t("a",null,i(e(a)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:lt({"active cbi-tab":d.value=="extend"}),onClick:y[3]||(y[3]=f=>c("extend"))},[t("a",null,i(e(a)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",eE,[d.value=="info"?(r(),s("table",aE,[t("tr",oE,[t("td",nE,i(e(a)("\u8BBE\u5907")),1),t("td",iE,i(o.disk.path),1)]),t("tr",rE,[t("td",sE,i(e(a)("\u578B\u53F7")),1),t("td",dE,i(o.disk.model),1)]),t("tr",lE,[t("td",uE,i(e(a)("\u5E8F\u53F7")),1),t("td",cE,i(o.disk.serial),1)])])):d.value=="attribute"?(r(),s("textarea",{key:1,disabled:"",value:e(g).attribute},null,8,pE)):d.value=="log"?(r(),s("textarea",{key:2,disabled:"",value:e(g).log},null,8,fE)):d.value=="extend"?(r(),s("textarea",{key:3,disabled:"",value:e(g).extend},null,8,mE)):D("",!0)]),t("div",gE,[t("div",{class:"close",onClick:k,disabled:u.value},i(e(a)("\u5173\u95ED")),9,vE)])])]),_:1}))}});var hE=N(bE,[["__scopeId","data-v-313197ee"]]);const _E=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(tF,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},xE=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(GF,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},wE=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(KF,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},kE=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=Y(hE,vt(st({},o),{close:()=>{l()}})),l=()=>{n.remove()};Ie(a,n)},yE={class:"cbi-section"},FE={class:"cbi-value"},EE={class:"cbi-value-title"},$E={class:"cbi-value-field"},CE={class:"cbi-checkbox"},DE=["value"],BE={class:"cbi-value"},YE={class:"cbi-value-title"},AE={class:"cbi-value-field"},SE={class:"cbi-checkbox"},zE={value:"never"},PE={value:"sleep"},TE={value:"standby"},IE={value:"idle"},ME={class:"cbi-value-description"},LE=t("br",null,null,-1),OE=t("br",null,null,-1),NE=t("br",null,null,-1),VE=t("br",null,null,-1),GE={class:"cbi-value"},jE={class:"cbi-value-title"},UE={class:"cbi-value-field"},qE={class:"cbi-checkbox"},RE={value:0},WE=["value"],HE={class:"cbi-value-description"},JE={class:"cbi-value"},ZE={class:"cbi-value-title"},KE={class:"cbi-value-field"},QE={class:"cbi-checkbox"},XE={value:0},t$=["value"],e$={class:"cbi-value-description"},a$={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},o$={class:"table cbi-section-table"},n$={class:"tr cbi-section-table-titles anonymous"},i$={class:"th cbi-section-table-cell","data-widget":"value"},r$={class:"th cbi-section-table-cell","data-widget":"value"},s$={class:"th cbi-section-table-cell","data-widget":"value"},d$={class:"th cbi-section-table-cell","data-widget":"value"},l$={class:"th cbi-section-table-cell","data-widget":"value"},u$={class:"th cbi-section-table-cell","data-widget":"value"},c$={class:"th cbi-section-table-cell","data-widget":"value"},p$={class:"th cbi-section-table-cell","data-widget":"value"},f$={class:"tr cbi-section-table-row"},m$={class:"td cbi-value-field"},g$={class:"td cbi-value-field"},v$={class:"td cbi-value-field"},b$={class:"td cbi-value-field"},h$={class:"td cbi-value-field"},_$={class:"td cbi-value-field"},x$={class:"td cbi-value-field"},w$={class:"td cbi-value-field"},k$=["title","onClick"],y$=["title","onClick"],F$={class:"cbi-page-actions control-group"},E$=["value"],$$=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=gt(n.config),d=()=>{u.global.tmpDiff=n.config.global.tmpDiff||0,u.global.tmpMax=n.config.global.tmpMax||0,u.global.enable=n.config.global.enable||!1,u.global.powermode=n.config.global.powermode||"never",u.devices=n.config.devices||[],u.tasks=n.config.tasks||[]},c=E([]),k=()=>L(this,null,function*(){try{const b=yield G.Smart.List.GET();if(b.data){const{result:y,error:f}=b.data;y&&y.disks&&(c.value=y.disks||[])}}catch(b){}}),g=Mt.easyInterval(k,5e3);ke(()=>{g()});const p=()=>L(this,null,function*(){yield n.saveData({global:u.global,devices:n.config.devices,tasks:n.config.tasks}),d()}),m=b=>{kE({disk:b})},v=(b,y)=>L(this,null,function*(){let f=null,F=-1;if(u.devices){for(let w=0;wL(this,null,function*(){w.tmpDiff==-1&&(w.tmpDiff=u.global.tmpDiff),w.tmpMax==-1&&(w.tmpMax=u.global.tmpMax),w.devicePath==""&&(w.devicePath=b.path);let h=[...u.devices];F>=0&&(h[F]=w);const _=new Map;h.forEach(x=>{x.devicePath!=null&&_.set(x.devicePath,null)});for(let x=0;x(r(),s(U,null,[t("fieldset",yE,[t("div",FE,[t("label",EE,i(e(a)("\u542F\u7528")),1),t("div",$E,[t("div",CE,[O(t("input",{type:"checkbox","onUpdate:modelValue":y[0]||(y[0]=f=>e(u).global.enable=f),value:!e(u).global.enable},null,8,DE),[[Rt,e(u).global.enable]])])])]),t("div",BE,[t("label",YE,i(e(a)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",AE,[t("div",SE,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":y[1]||(y[1]=f=>e(u).global.powermode=f)},[t("option",zE,i(e(a)("\u603B\u662F")),1),t("option",PE,i(e(a)("\u7761\u7720")),1),t("option",TE,i(e(a)("\u5F85\u673A")),1),t("option",IE,i(e(a)("\u95F2\u7F6E")),1)],512),[[pt,e(u).global.powermode,void 0,{trim:!0}]])]),t("div",ME,[t("span",null,i(e(a)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),LE,t("span",null,"* "+i(e(a)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),OE,t("span",null,"* "+i(e(a)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),NE,t("span",null,"* "+i(e(a)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),VE,t("span",null,"* "+i(e(a)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",GE,[t("label",jE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",UE,[t("div",qE,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":y[2]||(y[2]=f=>e(u).global.tmpDiff=f)},[t("option",RE,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(15,f=>t("option",{value:f},i(f)+"\xB0C",9,WE)),64))],512),[[pt,e(u).global.tmpDiff,void 0,{number:!0}]])]),t("div",HE,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",JE,[t("label",ZE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",KE,[t("div",QE,[O(t("select",{class:"cbi-input-select","onUpdate:modelValue":y[3]||(y[3]=f=>e(u).global.tmpMax=f)},[t("option",XE,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,f=>t("option",{value:f*5},i(f*5)+"\xB0C",9,t$)),64))],512),[[pt,e(u).global.tmpMax,void 0,{number:!0}]])]),t("div",e$,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",a$,[t("table",o$,[t("thead",null,[t("tr",n$,[t("th",i$,i(e(a)("\u8BBE\u5907")),1),t("th",r$,i(e(a)("\u578B\u53F7")),1),t("th",s$,i(e(a)("\u5E8F\u53F7")),1),t("th",d$,i(e(a)("\u5BB9\u91CF")),1),t("th",l$,i(e(a)("\u6E29\u5EA6")),1),t("th",u$,i(e(a)("\u72B6\u6001")),1),t("th",c$,i(e(a)("\u5065\u5EB7")),1),t("th",p$,i(e(a)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(r(!0),s(U,null,tt(c.value,(f,F)=>(r(),s("tr",f$,[t("td",m$,[t("b",null,i(f.path),1)]),t("td",g$,[t("b",null,i(f.model),1)]),t("td",v$,[t("b",null,i(f.serial),1)]),t("td",b$,[t("b",null,i(f.sizeStr),1)]),t("td",h$,[t("b",null,i(f.temp),1)]),t("td",_$,[t("b",null,i(f.status),1)]),t("td",x$,[t("b",null,i(f.health),1)]),t("td",w$,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:w=>v(f)},i(e(a)("\u7F16\u8F91")),9,k$),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:w=>m(f)},i(e(a)("\u8BE6\u60C5")),9,y$)])]))),256))])])]),t("span",F$,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:p},null,8,E$)])],64))}}),C$={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},D$={class:"table cbi-section-table"},B$={class:"tr cbi-section-table-titles anonymous"},Y$={class:"th cbi-section-table-cell","data-widget":"value"},A$={class:"th cbi-section-table-cell","data-widget":"value"},S$={class:"th cbi-section-table-cell","data-widget":"value"},z$={class:"th cbi-section-table-cell","data-widget":"value"},P$={class:"tr cbi-section-table-row"},T$={class:"td cbi-value-field"},I$={class:"td cbi-value-field"},M$={class:"td cbi-value-field"},L$={class:"td cbi-value-field"},O$=["title","onClick"],N$=["title","onClick"],V$=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=gt(n.config),d=p=>{switch(p){case"short":return a("\u77ED\u6682\u81EA\u68C0");case"long":return a("\u957F\u65F6\u81EA\u68C0");case"conveyance":return a("\u4F20\u8F93\u65F6\u81EA\u68C0");case"offline":return a("\u79BB\u7EBF\u65F6\u81EA\u68C0");default:return a("\u672A\u77E5")}},c=()=>{xE({config:n.config,disks:[],next:p=>L(this,null,function*(){yield n.saveData({tasks:[...u.tasks,p],global:n.config.global,devices:n.config.devices}),u.tasks=n.config.tasks||[]})})},k=p=>L(this,null,function*(){const m=[...u.tasks];m.splice(p,1),yield n.saveData({tasks:m,global:n.config.global,devices:n.config.devices}),u.tasks=n.config.tasks||[]}),g=p=>{wE({task:p})};return(p,m)=>(r(),s(U,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:m[0]||(m[0]=v=>c())},i(e(a)("\u65B0\u5EFA")),1),t("div",C$,[t("table",D$,[t("thead",null,[t("tr",B$,[t("th",Y$,i(e(a)("\u8BBE\u5907")),1),t("th",A$,i(e(a)("\u7C7B\u578B")),1),t("th",S$,i(e(a)("\u8C03\u5EA6")),1),t("th",z$,i(e(a)("\u529F\u80FD")),1)])]),t("tbody",null,[(r(!0),s(U,null,tt(e(u).tasks,(v,b)=>(r(),s("tr",P$,[t("td",T$,[t("b",null,i(v.devicePath),1)]),t("td",I$,[t("b",null,i(d(v.type)),1)]),t("td",M$,[t("b",null,i(v.month)+"/"+i(v.dayPerMonth)+"/"+i(v.hour),1)]),t("td",L$,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8C03\u8BD5"),onClick:y=>g(v)},i(e(a)("\u9884\u89C8")),9,O$),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5220\u9664"),onClick:y=>k(b)},i(e(a)("\u5220\u9664")),9,N$)])]))),256))])])])],64))}}),G$={class:"cbi-section"},j$=["value"],U$=I({setup(o){return L(this,null,function*(){let n,a;const l=E(""),u=()=>L(this,null,function*(){try{const d=yield G.Smart.Log.GET();if(d.data){const{result:c,error:k}=d.data;c&&c.result&&(l.value=c.result),k&&(l.value=k)}}catch(d){l.value=d}});return[n,a]=Do(()=>u()),yield n,a(),(d,c)=>(r(),s("fieldset",G$,[t("textarea",{value:l.value,disabled:""},null,8,j$)]))})}});var q$=N(U$,[["__scopeId","data-v-76197cba"]]);const lo=o=>(ut("data-v-02f10ac5"),o=o(),ct(),o),R$=lo(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),W$={class:"app-container_status-label_text"},H$={class:"text_status"},J$={class:"text_info"},Z$=lo(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),K$={class:"app-container_status-label_text"},Q$={class:"text_info"},X$=I({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=ra(),d=E(null),c=g=>{const p=g.target,{left:m,top:v}=p.getBoundingClientRect();u.portitemStyle.show=!0,u.portitemStyle.left=m,u.portitemStyle.top=v,u.portitemStyle.portitem=n.item},k=g=>{u.portitemStyle.show=!1};return(g,p)=>(r(),s("div",{class:"app-container_status-label_bg",style:ht(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:d,onMouseenter:c,onMouseleave:k},[o.item.linkState=="DOWN"?(r(),s(U,{key:0},[R$,t("div",W$,[t("div",H$,i(e(a)("\u5DF2\u65AD\u5F00")),1),t("div",J$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(r(),s(U,{key:1},[Z$,t("div",K$,[t("div",null,i(o.item.linkSpeed),1),t("div",Q$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var tC=N(X$,[["__scopeId","data-v-02f10ac5"]]);const eC={},aC={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},oC=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),nC=[oC];function iC(o,n){return r(),s("svg",aC,nC)}var Pa=N(eC,[["render",iC]]);const rC=["onSubmit"],sC={class:"actioner-dns_header"},dC={key:0},lC={key:1},uC={class:"actioner-dns_body"},cC={class:"label-item"},pC={class:"label-item_key"},fC={class:"label-item_value"},mC={class:"label-item"},gC={class:"label-item_key"},vC={class:"label-item_value"},bC={value:"dhcp"},hC={key:0,value:"pppoe"},_C={value:"static"},xC={class:"actioner-dns_footer"},wC=["disabled"],kC=I({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=J(),u=E(!1),d=E(n.inface),c=()=>L(this,null,function*(){$.Loading(a("\u914D\u7F6E\u4E2D...")).Close(),n.next(d.value),k()}),k=()=>{n.Close&&n.Close()};return(g,p)=>(r(),Z(wt,{Close:o.Close,type:1},{default:V(()=>[t("form",{class:"actioner-dns",onSubmit:ft(c,["prevent"])},[t("div",sC,[o.name=="wan"?(r(),s("span",dC,i(o.e=="edit"?e(a)("\u7F16\u8F91WAN"):e(a)("\u6DFB\u52A0WAN")),1)):(r(),s("span",lC,i(o.e=="edit"?e(a)("\u7F16\u8F91LAN"):e(a)("\u6DFB\u52A0LAN")),1))]),t("div",uC,[t("div",cC,[t("div",pC,[t("span",null,i(e(a)("\u540D\u79F0")),1)]),t("div",fC,[t("span",null,i(d.value.name.toLocaleUpperCase()),1)])]),t("div",mC,[t("div",gC,[t("span",null,i(e(a)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",vC,[O(t("select",{"onUpdate:modelValue":p[0]||(p[0]=m=>d.value.proto=m)},[t("option",bC,i(e(a)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(r(),s("option",hC,"PPPoE")):D("",!0),t("option",_C,i(e(a)("\u9759\u6001\u5730\u5740")),1)],512),[[pt,d.value.proto]])])])]),t("div",xC,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,wC),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},i(e(a)("\u53D6\u6D88")),1)])],40,rC)]),_:1},8,["Close"]))}});var yC=N(kC,[["__scopeId","data-v-c88486ac"]]);const Ta=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=xt(yC,vt(st({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()}},Ut=o=>(ut("data-v-3dabb970"),o=o(),ct(),o),FC={id:"page"},EC={name:"content"},$C={class:"container"},CC={class:"table-wrapper"},DC={class:"table-header"},BC={class:"interface-device-flex"},YC=Ut(()=>t("div",{class:"header-cell spacer-col"},null,-1)),AC=Ut(()=>t("div",{class:"header-cell"},null,-1)),SC=Ut(()=>t("div",{class:"header-cell action-col"},null,-1)),zC={class:"table-body"},PC=["name","value","onUpdate:modelValue","onInput"],TC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),IC={class:"table-cell name-col"},MC={class:"table-cell action-col"},LC=["title","onClick"],OC=["onClick"],NC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),VC=Ut(()=>t("div",{class:"table-cell name-col"},null,-1)),GC={class:"table-cell action-col"},jC=["name","value","onUpdate:modelValue","onInput"],UC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),qC={class:"table-cell name-col"},RC={class:"table-cell action-col"},WC=["title","onClick"],HC=["onClick"],JC=Ut(()=>t("div",{class:"table-cell spacer-col"},null,-1)),ZC=Ut(()=>t("div",{class:"table-cell name-col"},null,-1)),KC={class:"table-cell action-col"},QC={class:"cbi-page-actions control-group"},XC=["value","disabled"],tD=I({setup(o){const{$gettext:n,$ngettext:a}=J(),l=gt({devices:[],interfaces:[]}),u=E(!1),d=gt({lan:[],wan:[]});(()=>{G.Network.GetInterfaceConfig.GET().then(y=>{if(y.data){const{result:f}=y.data;if(f){l.devices=f.devices||[],l.interfaces=f.interfaces||[];for(let F=0;F{y=="wan"?d.wan.splice(f,1):y=="lan"&&d.lan.splice(f,1)},g=(y,f)=>{if(f==null){let F=y=="wan"?d.wan.length:d.lan.length;F==6&&y=="wan"&&F++,Ta({e:"add",name:y,inface:{name:y+`${F}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:y},next:w=>{y=="wan"?d.wan.push(w):d.lan.push(w),$.Message(n("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else Ta({e:"edit",name:y,inface:y=="wan"?d.wan[f]:d.lan[f],next:F=>{y=="wan"?d.wan[f]=F:d.lan[f]=F}})},p=(y,f)=>y?y.indexOf(f):-1,m=(y,f)=>{const w=y.target.value;for(let _=0;_{const w=y.target.value;for(let h=0;hL(this,null,function*(){u.value=!0;const y=[];for(let F=0;F(r(),s("div",FC,[t("h2",EC,i(e(n)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",$C,[t("div",CC,[t("div",DC,[(r(!0),s(U,null,tt(e(l).devices,F=>(r(),s("div",{class:"header-cell device-col",key:F.name},[t("div",BC,[Y(tC,{item:F},null,8,["item"])])]))),128)),YC,AC,SC]),t("div",zC,[(r(!0),s(U,null,tt(e(d).lan,(F,w)=>(r(),s("div",{key:w,class:"table-row"},[(r(!0),s(U,null,tt(e(l).devices,h=>(r(),s("div",{class:"table-cell device-col",key:h.name},[O(t("input",{type:"checkbox",name:h.name,value:h.name,"onUpdate:modelValue":_=>F.deviceNames=_,onInput:_=>m(_,w)},null,40,PC),[[Rt,F.deviceNames]])]))),128)),TC,t("div",IC,[t("b",null,i(F.name),1)]),t("div",MC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:h=>g("lan",w)},i(e(n)("\u7F16\u8F91")),9,LC),w!==0?(r(),s("button",{key:0,class:"cbi-button cbi-button-remove",onClick:h=>k("lan",w)},i(e(n)("\u5220\u9664")),9,OC)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:f[0]||(f[0]=F=>g("lan"))},[(r(!0),s(U,null,tt(e(l).devices,F=>(r(),s("div",{class:"table-cell device-col",key:F.name}))),128)),NC,VC,t("div",GC,[Y(Pa,{class:"icon"})])]),(r(!0),s(U,null,tt(e(d).wan,(F,w)=>(r(),s("div",{key:w,class:"table-row"},[(r(!0),s(U,null,tt(e(l).devices,h=>(r(),s("div",{class:"table-cell device-col",key:h.name},[O(t("input",{type:"checkbox",name:h.name,value:h.name,"onUpdate:modelValue":_=>F.deviceNames=_,onInput:_=>v(_,w)},null,40,jC),[[Rt,F.deviceNames]])]))),128)),UC,t("div",qC,[t("b",null,i(F.name),1)]),t("div",RC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:h=>g("wan",w)},i(e(n)("\u7F16\u8F91")),9,WC),w!==0?(r(),s("button",{key:0,class:"cbi-button cbi-button-remove",onClick:h=>k("wan",w)},i(e(n)("\u5220\u9664")),9,HC)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:f[1]||(f[1]=F=>g("wan"))},[(r(!0),s(U,null,tt(e(l).devices,F=>(r(),s("div",{class:"table-cell device-col",key:F.name}))),128)),JC,ZC,t("div",KC,[Y(Pa,{class:"icon"})])])])])]),t("div",QC,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(n)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:b,disabled:u.value},null,8,XC)])]))}});var eD=N(tD,[["__scopeId","data-v-3dabb970"]]);const aD={name:"CustomTable",props:{data:{type:Array,default:()=>[]},columns:{type:Array,required:!0,validator:o=>o.every(n=>n.label&&n.prop)},showSelection:{type:Boolean,default:!1},rowKey:{type:String,default:"id"},showPagination:{type:Boolean,default:!0},pageSize:{type:Number,default:10},currentPage:{type:Number,default:1},emptyText:{type:String,default:"\u6682\u65E0\u6570\u636E"},maxPagerCount:{type:Number,default:5},theadBgColor:{type:String,default:"#F8F8F8"}},emits:["selection-change","update:currentPage","page-change"],setup(o,{emit:n}){const{$gettext:a}=J(),l=E([]),u=E(!1),d=E(!1);E(null);const c=Q(()=>o.data.length),k=Q(()=>Math.ceil(c.value/o.pageSize)),g=Q(()=>{if(!o.showPagination)return o.data;const C=(o.currentPage-1)*o.pageSize,S=C+o.pageSize;return o.data.slice(C,S)}),p=Q(()=>(o.currentPage-1)*o.pageSize+1),m=Q(()=>{const C=o.currentPage*o.pageSize;return C>c.value?c.value:C}),v=Q(()=>({minWidth:`${o.columns.reduce((S,A)=>S+(parseInt(A.width)||50),o.showSelection?50:0)}px`})),b=Q(()=>{const C=[],S=Math.floor(o.maxPagerCount/2);let A=o.currentPage-S,z=o.currentPage+S;A<1&&(A=1,z=Math.min(o.maxPagerCount,k.value)),z>k.value&&(z=k.value,A=Math.max(1,z-o.maxPagerCount+1));for(let B=A;B<=z;B++)C.push(B);return C}),y=C=>({width:C.width?`${Math.max(50,parseInt(C.width))}px`:"auto",minWidth:"50px",textAlign:C.align||"center"}),f=()=>{u.value?l.value=[...g.value.map(C=>C[o.rowKey])]:l.value=[],h()},F=()=>{u.value=l.value.length===g.value.length&&g.value.length>0,h()},w=(C,S)=>{S?l.value.includes(C)||l.value.push(C):l.value=l.value.filter(A=>A!==C),F()},h=()=>{const C=o.data.filter(S=>l.value.includes(S[o.rowKey]));n("selection-change",C)},_=C=>{C<1||C>k.value||(n("update:currentPage",C),n("page-change",C))},x=()=>{d.value=window.innerWidth<=768};return $t(()=>o.data,()=>{l.value=[],u.value=!1},{deep:!0}),Pt(()=>{x(),window.addEventListener("resize",x)}),Nt(()=>{window.removeEventListener("resize",x)}),{selectedRows:l,allSelected:u,isMobile:d,total:c,totalPages:k,paginatedData:g,startItem:p,endItem:m,visiblePages:b,tableStyle:v,gettext:a,getColumnStyle:y,toggleAllSelection:f,handleSelectionChange:F,changePage:_,updateSelection:w}}},oD={class:"custom-table-container"},nD={key:0,class:"selection-header"},iD={key:0,class:"selection-cell"},rD=["checked","onChange"],sD={key:0,class:"empty-row"},dD=["colspan"],lD={key:0,class:"pagination-wrapper"},uD={class:"pagination-info"},cD={class:"pagination-controls"},pD=["disabled"],fD=["onClick"],mD=["disabled"];function gD(o,n,a,l,u,d){return r(),s("div",oD,[t("div",{class:"custom-table-wrapper",style:ht({overflowX:l.isMobile?"auto":"hidden"})},[t("table",{class:lt(["custom-table",{"has-selection":a.showSelection}]),style:ht(l.tableStyle)},[t("thead",{style:ht({background:a.theadBgColor})},[t("tr",null,[a.showSelection?(r(),s("th",nD,[O(t("input",{type:"checkbox","onUpdate:modelValue":n[0]||(n[0]=c=>l.allSelected=c),onChange:n[1]||(n[1]=(...c)=>l.toggleAllSelection&&l.toggleAllSelection(...c))},null,544),[[Rt,l.allSelected]])])):D("",!0),(r(!0),s(U,null,tt(a.columns,(c,k)=>(r(),s("th",{key:k,style:ht(l.getColumnStyle(c))},i(l.gettext(c.label)),5))),128))])],4),t("tbody",null,[(r(!0),s(U,null,tt(l.paginatedData,(c,k)=>(r(),s("tr",{key:k,class:lt({"last-row":k===l.paginatedData.length-1})},[a.showSelection?(r(),s("td",iD,[t("input",{type:"checkbox",checked:l.selectedRows.includes(c[a.rowKey]),onChange:g=>l.updateSelection(c[a.rowKey],g.target.checked)},null,40,rD)])):D("",!0),(r(!0),s(U,null,tt(a.columns,(g,p)=>(r(),s("td",{key:p,style:ht({textAlign:g.align||"center"})},[g.slot?Yt(o.$slots,g.slot,{key:0,row:c,index:k},void 0,!0):(r(),s(U,{key:1},[dt(i(c[g.prop]),1)],64))],4))),128))],2))),128)),l.paginatedData.length===0?(r(),s("tr",sD,[t("td",{colspan:a.showSelection?a.columns.length+1:a.columns.length},i(a.emptyText),9,dD)])):D("",!0)])],6)],4),a.showPagination?(r(),s("div",lD,[t("div",uD,i(l.gettext("\u663E\u793A"))+" "+i(l.startItem)+" "+i(l.gettext("\u5230"))+" "+i(l.endItem)+" "+i(l.gettext("\u6761"))+"\uFF0C"+i(l.gettext("\u5171"))+" "+i(l.total)+" "+i(l.gettext("\u6761")),1),t("div",cD,[t("button",{disabled:a.currentPage===1,onClick:n[2]||(n[2]=c=>l.changePage(a.currentPage-1))},i(l.gettext("\u4E0A\u4E00\u9875")),9,pD),(r(!0),s(U,null,tt(l.visiblePages,c=>(r(),s("button",{key:c,class:lt({active:c===a.currentPage}),onClick:k=>l.changePage(c)},i(c),11,fD))),128)),t("button",{disabled:a.currentPage===l.totalPages,onClick:n[3]||(n[3]=c=>l.changePage(a.currentPage+1))},i(l.gettext("\u4E0B\u4E00\u9875")),9,mD)])])):D("",!0)])}var Ue=N(aD,[["render",gD],["__scopeId","data-v-6c49427e"]]);const uo=o=>(ut("data-v-9eb77922"),o=o(),ct(),o),vD={style:{display:"flex","align-items":"center"}},bD={class:"search_box"},hD={class:"search_container"},_D={class:"search_input_wrapper"},xD=["onKeyup","placeholder"],wD=uo(()=>t("path",{d:"M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},null,-1)),kD=[wD],yD=uo(()=>t("svg",{class:"refresh_icon",viewBox:"0 0 24 24",width:"26",height:"26"},[t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})],-1)),FD=[yD],ED=I({props:{showBatchDelete:{type:Boolean,default:!0},showAdd:{type:Boolean,default:!0}},emits:["refresh","batch-delete","search","handleAdd"],setup(o,{emit:n}){const a=o,{$gettext:l}=J(),u=E(""),d=E(!1),c=E(a.showBatchDelete),k=E(a.showAdd),g=()=>{n("refresh",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},p=()=>{n("search",String(u.value))},m=()=>{n("batch-delete",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},v=()=>{n("handleAdd")};return(b,y)=>(r(),s("div",vD,[k.value?(r(),s("button",{key:0,class:"del-button add-button--danger",style:{},onClick:v},[t("span",null,i(e(l)("\u6DFB\u52A0")),1)])):D("",!0),c.value?(r(),s("button",{key:1,class:"del-button del-button--danger",onClick:m},[t("span",null,i(e(l)("\u6279\u91CF\u5220\u9664")),1)])):D("",!0),t("div",bD,[t("div",hD,[t("div",_D,[O(t("input",{type:"text",onKeyup:Bo(p,["enter"]),"onUpdate:modelValue":y[0]||(y[0]=f=>u.value=f),class:"search_input",placeholder:e(l)("\u8BF7\u8F93\u5165\u540D\u79F0/IP/MAC\u2026")},null,40,xD),[[at,u.value,void 0,{trim:!0}]]),t("svg",{class:"search_icon",viewBox:"0 0 24 24",width:"24",height:"24",onClick:p},kD)]),t("button",{class:lt(["refresh_button",{rotate:d.value}]),onClick:g},FD,2)])])]))}});var ga=N(ED,[["__scopeId","data-v-9eb77922"]]);const $D={class:"flow"},CD={class:"flow-data"},DD={key:0},BD={key:1},YD=I({props:{ipParam:{type:String}},setup(o){const n=o,{$gettext:a}=J();Xe([Ma,La,Oa,ta,ea,Na]);const l=E(n.ipParam),u=E(),d=w=>{var _;const h=(_=u.value)==null?void 0:_[w];return!h||h.startTime==0?"":v(h.startTime*1e3)+"-"+v(h.endTime*1e3)},c=Q(()=>{var h;let w=[];return(h=u.value)==null||h.forEach(_=>{w.push({value:_.uploadSpeed})}),w}),k=Q(()=>{var h;let w=[];return(h=u.value)==null||h.forEach(_=>{w.push({value:_.downloadSpeed})}),w}),g=Q(()=>{var h;let w="";if(u.value){let _=((h=u.value)==null?void 0:h.length)||0;if(_>0){let x=u.value[_-1];w=b(x.uploadSpeed)+"/s"}}return w}),p=Q(()=>{var h;let w="";if(u.value){let _=((h=u.value)==null?void 0:h.length)||0;if(_>0){let x=u.value[_-1];w=b(x.downloadSpeed)+"/s"}}return w}),m=()=>L(this,null,function*(){var w;try{const h=yield G.DeviceMangement.speedsForOneDevice.POST({ip:l.value});if(h.data&&(w=h.data.result)!=null&&w.items){const _=h.data.result.slots||10;if(h.data.result.items.length<_){let x=h.data.result.items;for(;x.length<_;)x=[{downloadSpeed:0,endTime:0,startTime:0,uploadSpeed:0}].concat(x);u.value=x}else h.data.result.items.length>_?u.value=h.data.result.items.slice(_-h.data.result.items.length):u.value=h.data.result.items}}catch(h){console.log(h)}}),v=Mt.dateForm,b=Mt.byteToSize,y=E();let f=null;const F=w=>{const h=Ha();return f=aa(w,h?"dark":"light"),f.setOption({animation:!1,backgroundColor:h?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:_=>{if(Array.isArray(_)){let x="";_.length>0&&(x=d(_[0].axisValue));for(let C=0;C<_.length;C++)x=`${x}
${_[C].seriesName}: ${b(_[C].value)}/s`;return x.toString()}else{const x=_;return`${d(x.axisValue)}
${x.seriesName}: ${b(x.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:a("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(_,x){return`${b(_)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:k.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:a("\u4E0A\u4F20"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:a("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:a("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),f};return Pt(()=>{setTimeout(()=>L(this,null,function*(){if(y.value){yield m();const w=F(y.value),h=y.value;w.resize({width:h.clientWidth,height:h.clientHeight}),window.addEventListener("resize",()=>{w.resize({width:h.clientWidth,height:h.clientHeight})});const _=()=>L(this,null,function*(){if(f!=null){if(!document.hidden){if(yield m(),f==null)return;w.setOption({series:[{name:a("\u4E0B\u8F7D"),data:k.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:c.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(_,5e3)}});setTimeout(_,5e3)}}),900)}),Nt(()=>{f!=null&&(f.dispose(),f=null)}),(w,h)=>(r(),s("div",$D,[t("div",{ref_key:"el",ref:y,class:"echart"},null,512),t("div",CD,[e(g)?(r(),s("span",DD,i(e(a)("\u4E0A\u4F20:"))+" "+i(e(g)),1)):D("",!0),e(p)?(r(),s("span",BD,i(e(a)("\u4E0B\u8F7D:"))+" "+i(e(p)),1)):D("",!0)])]))}});var AD=N(YD,[["__scopeId","data-v-4a18630f"]]);const $e=o=>(ut("data-v-586a633c"),o=o(),ct(),o),SD={class:"container"},zD={style:{display:"flex","justify-content":"end"}},PD=["onClick"],TD=["onClick"],ID=["onClick"],MD={class:"custom-content"},LD={class:"IP_address"},OD={class:"item_box"},ND={class:"item_left"},VD={key:0,class:"tip"},GD=["onClick"],jD={key:1},UD={class:"item_box"},qD={class:"item_left"},RD={class:"item_box"},WD={class:"item_left"},HD=["placeholder"],JD={class:"item_box"},ZD={class:"item_left"},KD=["placeholder"],QD={class:"item_box"},XD={class:"item_left"},tB=["placeholder"],eB={class:"custom-content"},aB=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),oB={class:"item_box"},nB={class:"item_left"},iB=["placeholder"],rB={class:"item_box"},sB=$e(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),dB=["placeholder"],lB={class:"item_box"},uB={class:"item_left"},cB={key:0,value:null,disabled:""},pB=["value"],fB={class:"item_box"},mB={class:"item_left"},gB={key:0,class:"item_box"},vB=$e(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),bB=["placeholder"],hB={class:"custom-content"},_B={class:"info-content"},xB=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),wB={style:{"margin-bottom":"16px",flex:"1"}},kB={class:"item_box"},yB={class:"item_left"},FB={class:"item_box"},EB={class:"item_left"},$B={class:"item_box"},CB=$e(()=>t("div",{class:"item_left"}," MAC\uFF1A",-1)),DB={class:"item_box"},BB={class:"item_left"},YB={class:"item_box"},AB={class:"item_left"},SB={class:"item_box"},zB={class:"item_left"},PB=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=J(),l=P=>{H.hostname=P.target.value.replace(/[\u4e00-\u9fa5\s]/g,"")},u=E(null),d=()=>{c(),A(),u.value=setInterval(A,3e3)},c=()=>{u.value&&(clearInterval(u.value),u.value=null)};Pt(()=>L(this,null,function*(){yield C(),p.value.length!==0&&d()})),Nt(()=>{c()});const k=E({});(()=>L(this,null,function*(){try{const{data:P}=yield G.DeviceMangement.globalConfigs.GET();P.result&&(k.value=P.result||{})}catch(P){}}))();const p=E([]),m=E([]),v=E(!1),b=E(!1),y=E(!1),f=Q(()=>!H.dhcpGateway),F=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u4E0A\u4F20\u901F\u5EA6",prop:"uploadSpeedStr"},{label:"\u4E0B\u8F7D\u901F\u5EA6",prop:"downloadSpeedStr"},{label:"\u6807\u7B7E",prop:"staticAssigned",slot:"staticAssigned"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),w=P=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[P]||P,h=()=>{v.value=!1,n("openGloba")},_=P=>{var X,et;if(P==!0&&!((et=(X=k.value)==null?void 0:X.speedLimit)!=null&&et.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},x=E([]),C=()=>L(this,null,function*(){var X,et,rt;let P=$.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:kt}=yield G.DeviceMangement.listDevices.GET();kt.result&&(p.value=((X=kt.result)==null?void 0:X.devices)||[],m.value=((et=kt.result)==null?void 0:et.devices)||[],x.value=((rt=kt.result)==null?void 0:rt.dhcpTags)||[])}catch(kt){}finally{P.Close()}}),S=(P,X)=>{const et={};return P.forEach(rt=>{rt.ip&&(et[rt.ip]={downloadSpeedStr:rt.downloadSpeedStr||"0 B",uploadSpeedStr:rt.uploadSpeedStr||"0 B"})}),X.map(rt=>rt.ip&&et[rt.ip]?vt(st({},rt),{downloadSpeedStr:et[rt.ip].downloadSpeedStr,uploadSpeedStr:et[rt.ip].uploadSpeedStr}):vt(st({},rt),{downloadSpeedStr:rt.downloadSpeedStr||"0 B",uploadSpeedStr:rt.uploadSpeedStr||"0 B"}))},A=()=>L(this,null,function*(){try{const{data:P}=yield G.DeviceMangement.speedsForDevices.GET();P.result&&(m.value=S(P.result,m.value))}catch(P){}}),z=P=>/^[a-zA-Z\s]+$/.test(P)?P.toUpperCase():P,B=gt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),H=gt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),M=E(""),q=E({}),T=(P,X)=>{var et,rt,kt,Tt,Ft,ne,ie,re,se,de,le,ue,ce,pe,fe,me;q.value=P,X===1?(B.ip=P.ip||"",B.mac=P.mac||"",B.uploadSpeed=((et=P==null?void 0:P.speedLimit)==null?void 0:et.uploadSpeed)||100,B.downloadSpeed=((rt=P==null?void 0:P.speedLimit)==null?void 0:rt.downloadSpeed)||1e3,B.networkAccess=!((kt=P==null?void 0:P.speedLimit)!=null&&kt.networkAccess)||!1,B.enabled=((Tt=P==null?void 0:P.speedLimit)==null?void 0:Tt.enabled)||!1,B.comment=((Ft=P==null?void 0:P.speedLimit)==null?void 0:Ft.comment)||"",B.action=((ne=P==null?void 0:P.speedLimit)==null?void 0:ne.action)||"add",v.value=!0):X===2?(H.hostname=((ie=P==null?void 0:P.staticAssigned)==null?void 0:ie.hostname)||"",H.assignedIP=((re=P==null?void 0:P.staticAssigned)==null?void 0:re.assignedIP)||"",H.assignedMac=((se=P==null?void 0:P.staticAssigned)==null?void 0:se.assignedMac)||"",H.bindIP=((de=P==null?void 0:P.staticAssigned)==null?void 0:de.bindIP)||!1,H.tagTitle=((le=P==null?void 0:P.staticAssigned)==null?void 0:le.tagTitle)||"",H.tagName=((ue=P==null?void 0:P.staticAssigned)==null?void 0:ue.tagName)||"",(ce=P==null?void 0:P.staticAssigned)!=null&&ce.dhcpGateway?(x.value.forEach(ge=>{var Et;ge.gateway===((Et=P==null?void 0:P.staticAssigned)==null?void 0:Et.dhcpGateway)&&(j.value=ge)}),H.dhcpGateway=((fe=P==null?void 0:P.staticAssigned)==null?void 0:fe.dhcpGateway)||x.value[0]||""):(j.value=x.value[0]||null,H.dhcpGateway=((pe=j.value)==null?void 0:pe.gateway)||""),H.action=((me=P==null?void 0:P.staticAssigned)==null?void 0:me.action)||"add",b.value=!0):X===3&&(M.value="",M.value=P.ip,y.value=!0)},j=E(x.value[0]||null),R=()=>{var P,X,et;j.value?(H.dhcpGateway=((P=j.value)==null?void 0:P.gateway)||"",H.tagName=((X=j.value)==null?void 0:X.tagName)||"",H.tagTitle=((et=j.value)==null?void 0:et.tagTitle)||""):(H.dhcpGateway="",H.tagName="",H.tagTitle="")},it=(P,X)=>X?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[P].test(X.trim()):!1,ot=P=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(P.toString()),bt=()=>L(this,null,function*(){if(!H.hostname)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u540D\u79F0")}`);if(!H.assignedMac)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!it("mac",H.assignedMac))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!H.dhcpGateway)return $.Warning(`${a("\u8BF7\u9009\u62E9")}${a("\u7F51\u5173")}`);if(H.bindIP){if(!H.assignedIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!it("ip",H.assignedIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else H.assignedIP="";let P=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:X}=yield G.DeviceMangement.staticDeviceConfig.POST(H);JSON.stringify(X)==="{}"?(b.value=!1,yt(),nt(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((X==null?void 0:X.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(X){$.Warning(`${X==null?void 0:X.error} || ${X==null?void 0:X.message}`)}finally{P.Close()}}),Dt=()=>L(this,null,function*(){var X,et;if(!((et=(X=k.value)==null?void 0:X.speedLimit)!=null&&et.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(B.networkAccess)B.downloadSpeed=0,B.uploadSpeed=0;else{if(!B.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!ot(B.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!B.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!ot(B.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);B.downloadSpeed=Number(B.downloadSpeed),B.uploadSpeed=Number(B.uploadSpeed)}let P=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{B.networkAccess=!B.networkAccess;const{data:rt}=yield G.DeviceMangement.speedLimitConfig.POST(B);JSON.stringify(rt)==="{}"?(v.value=!1,yt(),nt(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((rt==null?void 0:rt.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(rt){$.Warning(`${rt==null?void 0:rt.error} || ${rt==null?void 0:rt.message}`)}finally{B.downloadSpeed=1e3,B.uploadSpeed=100,P.Close()}}),yt=()=>{q.value={},j.value=x.value[0]||null,H.hostname="",H.assignedIP="",H.assignedMac="",H.bindIP=!1,H.dhcpGateway="",H.tagName="",H.tagTitle="",H.action="add",B.ip="",B.mac="",B.uploadSpeed=100,B.downloadSpeed=1e3,B.networkAccess=!1,B.comment="",B.action="add"},Vt=E([]),Re=E(null),nt=()=>L(this,null,function*(){p.value=[],yield C()}),K=P=>p.value.filter(X=>{const et=X.ip.includes(P),rt=X.mac.toLowerCase().includes(P.toLowerCase());return et||rt}),At=P=>{P===""&&(m.value=p.value),m.value=K(P)},mt=()=>{if(Vt.value.length===0)return $.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !")};return(P,X)=>(r(),s("div",SD,[t("div",zD,[Y(ga,{onRefresh:nt,showAdd:!1,showBatchDelete:!1,ref_key:"searchRef",ref:Re,onBatchDelete:mt,onSearch:At},null,512)]),t("div",null,[Y(Ue,{data:m.value,columns:F.value,showPagination:!1},{action:V(({row:et})=>[t("span",{style:{color:"#553AFE",cursor:"pointer"},onClick:rt=>T(et,2)},i(e(a)("\u9759\u6001\u5206\u914D")),9,PD),t("span",{style:{color:"#553AFE",cursor:"pointer",margin:"0 8px"},onClick:rt=>T(et,1)},i(e(a)("\u9650\u901F\u914D\u7F6E")),9,TD),t("span",{style:{color:"#553AFE",margin:"0 8px",cursor:"pointer"},onClick:rt=>T(et,3)},i(e(a)("\u8BE6\u60C5")),9,ID)]),staticAssigned:V(({row:et})=>{var rt,kt;return[t("span",null,i(w((rt=et==null?void 0:et.staticAssigned)==null?void 0:rt.tagTitle)||w((kt=et==null?void 0:et.staticAssigned)==null?void 0:kt.tagName)||"-"),1)]}),_:1},8,["data","columns"])]),Y(Xt,{modelValue:v.value,"onUpdate:modelValue":X[6]||(X[6]=et=>v.value=et),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:Dt,onCancel:yt},{default:V(()=>{var et,rt,kt,Tt;return[t("div",MD,[t("div",LD,"IP: "+i(q.value.ip),1),t("div",OD,[t("div",ND,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),Y(Ot,{modelValue:e(B).enabled,"onUpdate:modelValue":X[0]||(X[0]=Ft=>e(B).enabled=Ft),disabled:!((rt=(et=k.value)==null?void 0:et.speedLimit)!=null&&rt.enabled),onBeforeChange:_},null,8,["modelValue","disabled"])]),(Tt=(kt=k.value)==null?void 0:kt.speedLimit)!=null&&Tt.enabled?D("",!0):(r(),s("div",VD,[t("a",{href:"",onClick:ft(h,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,GD)])),e(B).enabled?(r(),s("div",jD,[t("div",UD,[t("div",qD,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),Y(Ot,{modelValue:e(B).networkAccess,"onUpdate:modelValue":X[1]||(X[1]=Ft=>e(B).networkAccess=Ft),onChange:X[2]||(X[2]=()=>{})},null,8,["modelValue"])]),e(B).networkAccess?D("",!0):(r(),s(U,{key:0},[t("div",RD,[t("div",WD,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[3]||(X[3]=Ft=>e(B).downloadSpeed=Ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,HD),[[at,e(B).downloadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",JD,[t("div",ZD,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[4]||(X[4]=Ft=>e(B).uploadSpeed=Ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,KD),[[at,e(B).uploadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",QD,[t("div",XD,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[5]||(X[5]=Ft=>e(B).comment=Ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,tB),[[at,e(B).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"]),Y(Xt,{modelValue:b.value,"onUpdate:modelValue":X[12]||(X[12]=et=>b.value=et),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:bt,onCancel:yt},{default:V(()=>[t("div",eB,[aB,t("div",oB,[t("div",nB,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text",onInput:l,"onUpdate:modelValue":X[7]||(X[7]=et=>e(H).hostname=et),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,iB),[[at,e(H).hostname,void 0,{trim:!0}]])]),t("div",rB,[sB,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[8]||(X[8]=et=>e(H).assignedMac=et),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,dB),[[at,e(H).assignedMac,void 0,{trim:!0}]])]),t("div",lB,[t("div",uB,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":X[9]||(X[9]=et=>j.value=et),onChange:R},[e(f)?(r(),s("option",cB,i(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),s(U,null,tt(x.value,et=>(r(),s("option",{value:et},i(et.gateway)+"("+i(et.tagTitle?w(et.tagTitle):et.tagName?et.tagName:"-")+") ",9,pB))),256))],544),[[pt,j.value]])]),t("div",fB,[t("div",mB,i(e(a)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),Y(Ot,{modelValue:e(H).bindIP,"onUpdate:modelValue":X[10]||(X[10]=et=>e(H).bindIP=et)},null,8,["modelValue"])]),e(H).bindIP?(r(),s("div",gB,[vB,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":X[11]||(X[11]=et=>e(H).assignedIP=et),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,bB),[[at,e(H).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"]),Y(Xt,{modelValue:y.value,"onUpdate:modelValue":X[13]||(X[13]=et=>y.value=et),title:"\u8BE6\u60C5",width:"550px",footerShow:!1,"show-close":!0,onCancel:yt},{default:V(()=>{var et,rt,kt,Tt,Ft;return[t("div",hB,[t("div",_B,[xB,t("div",wB,[t("div",kB,[t("div",yB,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),dt(" "+i(q.value.hostname||"-"),1)]),t("div",FB,[t("div",EB,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),dt(" "+i(q.value.ip),1)]),t("div",$B,[CB,dt(" "+i(q.value.mac),1)]),t("div",DB,[t("div",BB,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),dt(" "+i(((et=q.value)==null?void 0:et.staticAssigned.dhcpGateway)||"-"),1)]),t("div",YB,[t("div",AB,i(e(a)("\u63A5\u53E3"))+"\uFF1A",1),dt(" "+i(z(q.value.intr)||"-"),1)]),t("div",SB,[t("div",zB,i(e(a)("\u6807\u7B7E"))+"\uFF1A",1),dt(" "+i(((kt=(rt=q.value)==null?void 0:rt.staticAssigned)==null?void 0:kt.tagTitle)||((Ft=(Tt=q.value)==null?void 0:Tt.staticAssigned)==null?void 0:Ft.tagName)||"-"),1)])])]),M.value?(r(),Z(AD,{key:0,ipParam:M.value},null,8,["ipParam"])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var TB=N(PB,[["__scopeId","data-v-586a633c"]]);const va=o=>(ut("data-v-b2212e7c"),o=o(),ct(),o),IB={class:"container"},MB={style:{display:"flex","justify-content":"end"}},LB=["onClick"],OB=["onClick"],NB={class:"custom-content"},VB=va(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),GB={class:"item_box"},jB={class:"item_left"},UB=["placeholder"],qB={class:"item_box"},RB=va(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),WB=["placeholder"],HB={class:"item_box"},JB={class:"item_left"},ZB={key:0,value:null,disabled:""},KB=["value"],QB={class:"item_box"},XB={class:"item_left"},tY={key:0,class:"item_box"},eY=va(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),aY=["placeholder"],oY=I({setup(o){const{$gettext:n}=J(),a=E([]);(()=>L(this,null,function*(){var T;try{const{data:j}=yield G.DeviceMangement.globalConfigs.GET();j.result&&(a.value=((T=j.result)==null?void 0:T.dhcpTags)||[])}catch(j){}}))();const u=E([]),d=E([]),c=E(!1),k=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"assignedIP"},{label:"MAC\u5730\u5740",prop:"assignedMac"},{label:"\u9759\u6001IP\u7ED1\u5B9A",prop:"bindIP",slot:"bindIP"},{label:"\u6807\u7B7E",prop:"tagTitle",slot:"tagTitle"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),g=T=>({default:n("\u9ED8\u8BA4\u7F51\u5173"),parent:n("\u4E0A\u7EA7\u8DEF\u7531"),myself:n("\u672C\u8BBE\u5907"),bypass:n("\u65C1\u8DEF\u7531"),floatip:n("\u6D6E\u52A8\u7F51\u5173")})[T]||T,p=T=>{B.hostname=T.target.value.replace(/[\u4e00-\u9fa5\s]/g,"")},m=()=>L(this,null,function*(){let T=$.Loading(n("\u52A0\u8F7D\u4E2D..."));try{const{data:j}=yield G.DeviceMangement.listStaticDevices.GET();j.result&&(u.value=j.result||[],d.value=j.result||[])}catch(j){}finally{T.Close()}});m();const v=E(!0),b=E([]),y=T=>{b.value=T},f=()=>L(this,null,function*(){u.value=[];let T=$.Loading(n("\u52A0\u8F7D\u4E2D..."));yield m(),T.Close()}),F=T=>u.value.filter(j=>{const R=j.assignedIP.includes(T),it=j.assignedMac.toLowerCase().includes(T.toLowerCase());return R||it}),w=T=>{T===""&&(d.value=u.value),d.value=F(T)},h=T=>{var j;B.hostname=(T==null?void 0:T.hostname)||"",B.assignedIP=(T==null?void 0:T.assignedIP)||"",B.assignedMac=(T==null?void 0:T.assignedMac)||"",B.bindIP=(T==null?void 0:T.bindIP)||!1,B.tagTitle=(T==null?void 0:T.tagTitle)||"",B.tagName=(T==null?void 0:T.tagName)||"",T!=null&&T.dhcpGateway?(a.value.forEach(R=>{R.gateway===(T==null?void 0:T.dhcpGateway)&&(A.value=R)}),B.dhcpGateway=(T==null?void 0:T.dhcpGateway)||a.value[0]||""):(A.value=a.value[0]||null,B.dhcpGateway=((j=A.value)==null?void 0:j.gateway)||""),B.action=(T==null?void 0:T.action)||"add",c.value=!0},_=T=>L(this,null,function*(){if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let j={hostname:T.hostname||"",assignedIP:T.assignedIP||"",assignedMac:T.assignedMac||"",tagTitle:T.tagTitle||"",bindIP:T.bindIP||!1,tagName:T.tagName||"",dhcpGateway:T.dhcpGateway||"",action:"delete"};x(j,1)}}),x=(T,j)=>L(this,null,function*(){let R=$.Loading(n("\u5220\u9664\u4E2D..."));try{const{data:it}=yield G.DeviceMangement.staticDeviceConfig.POST(T);return j==1&&(JSON.stringify(it)==="{}"?$.Success("\u5220\u9664\u6210\u529F !"):$.Success((it==null?void 0:it.error)||"\u5220\u9664\u5931\u8D25\uFF01"),m()),it}catch(it){}finally{R.Close()}}),C=()=>L(this,null,function*(){if(b.value.length===0)return $.Warning(n("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const T=b.value.map(j=>{const R={hostname:j.hostname||"",assignedIP:j.assignedIP||"",assignedMac:j.assignedMac||"",tagTitle:j.tagTitle||"",bindIP:j.bindIP||!1,tagName:j.tagName||"",dhcpGateway:j.dhcpGateway||"",action:"delete"};return x(R)});yield Promise.all(T),$.Success(n("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),m()}catch(T){}}),S=Q(()=>!B.dhcpGateway),A=E(null),z=()=>{var T,j,R;A.value?(B.dhcpGateway=((T=A.value)==null?void 0:T.gateway)||"",B.tagName=((j=A.value)==null?void 0:j.tagName)||"",B.tagTitle=((R=A.value)==null?void 0:R.tagTitle)||""):(B.dhcpGateway="",B.tagName="",B.tagTitle="")},B=gt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),H=(T,j)=>j?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[T].test(j.trim()):!1,M=()=>L(this,null,function*(){if(!B.assignedMac)return $.Warning(`${n("\u8BF7\u8F93\u5165")}${n("MAC")}`);if(!H("mac",B.assignedMac))return $.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!B.dhcpGateway)return $.Warning(`${n("\u8BF7\u9009\u62E9")}${n("\u7F51\u5173")}`);if(B.bindIP){if(!B.assignedIP)return $.Warning(`${n("\u8BF7\u8F93\u5165")}${n("IP")}`);if(!H("ip",B.assignedIP))return $.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else B.assignedIP="";let T=$.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const{data:j}=yield G.DeviceMangement.staticDeviceConfig.POST(B);JSON.stringify(j)==="{}"?(c.value=!1,q(),f(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((j==null?void 0:j.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(j){$.Warning(`${j==null?void 0:j.error} || ${j==null?void 0:j.message}`)}finally{T.Close()}}),q=()=>{A.value=null,B.hostname="",B.assignedIP="",B.assignedMac="",B.bindIP=!1,B.dhcpGateway="",B.tagName="",B.tagTitle="",B.action="add"};return(T,j)=>(r(),s("div",IB,[t("div",MB,[Y(ga,{onHandleAdd:j[0]||(j[0]=R=>c.value=!0),onRefresh:f,onBatchDelete:C,onSearch:w})]),t("div",null,[Y(Ue,{data:d.value,columns:k.value,rowKey:"assignedMac",showSelection:v.value,showPagination:!1,onSelectionChange:y},{action:V(({row:R})=>[t("button",{class:"del-button edit-button",onClick:it=>h(R)},[t("span",null,i(e(n)("\u7F16\u8F91")),1)],8,LB),t("button",{class:"del-button del-button--danger",onClick:it=>_(R)},[t("span",null,i(e(n)("\u5220\u9664")),1)],8,OB)]),tagTitle:V(({row:R})=>[t("span",null,i(g(R==null?void 0:R.tagTitle)||g(R==null?void 0:R.tagName)||"-"),1)]),bindIP:V(({row:R})=>[t("span",null,i(R!=null&&R.bindIP?e(n)("\u662F"):e(n)("\u5426")),1)]),_:1},8,["data","columns","showSelection"])]),Y(Xt,{modelValue:c.value,"onUpdate:modelValue":j[6]||(j[6]=R=>c.value=R),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:M,onCancel:q},{default:V(()=>[t("div",NB,[VB,t("div",GB,[t("div",jB,i(e(n)("\u540D\u79F0"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text",onInput:p,"onUpdate:modelValue":j[1]||(j[1]=R=>e(B).hostname=R),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,UB),[[at,e(B).hostname,void 0,{trim:!0}]])]),t("div",qB,[RB,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":j[2]||(j[2]=R=>e(B).assignedMac=R),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,WB),[[at,e(B).assignedMac,void 0,{trim:!0}]])]),t("div",HB,[t("div",JB,i(e(n)("\u7F51\u5173"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":j[3]||(j[3]=R=>A.value=R),onChange:z},[e(S)?(r(),s("option",ZB,i(e(n)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),s(U,null,tt(a.value,R=>(r(),s("option",{value:R},i(R.gateway)+"("+i(R.tagTitle?g(R.tagTitle):R.tagName?R.tagName:"-")+") ",9,KB))),256))],544),[[pt,A.value]])]),t("div",QB,[t("div",XB,i(e(n)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),Y(Ot,{modelValue:e(B).bindIP,"onUpdate:modelValue":j[4]||(j[4]=R=>e(B).bindIP=R)},null,8,["modelValue"])]),e(B).bindIP?(r(),s("div",tY,[eY,O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":j[5]||(j[5]=R=>e(B).assignedIP=R),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,aY),[[at,e(B).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"])]))}});var nY=N(oY,[["__scopeId","data-v-b2212e7c"]]);const iY={class:"container"},rY={style:{display:"flex","justify-content":"end"}},sY=["onClick"],dY={class:"custom-content"},lY={class:"item_box"},uY={class:"item_left"},cY={class:"item_box"},pY={class:"item_left"},fY=["placeholder"],mY={class:"item_box"},gY={class:"item_left"},vY=["placeholder"],bY={key:0,class:"tip"},hY=["onClick"],_Y={key:1},xY={class:"item_box"},wY={class:"item_left"},kY={class:"item_box"},yY={class:"item_left"},FY=["placeholder"],EY={class:"item_box"},$Y={class:"item_left"},CY=["placeholder"],DY={class:"item_box"},BY={class:"item_left"},YY=["placeholder"],AY=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=J(),l=E({});(()=>L(this,null,function*(){try{const{data:M}=yield G.DeviceMangement.globalConfigs.GET();M.result&&(l.value=M.result||{})}catch(M){}}))();const d=E([]),c=E([]),k=E(!1),g=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u7981\u6B62\u7F51\u7EDC\u8BBF\u95EE",prop:"enabled",slot:"enabled"},{label:"\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09",prop:"uploadSpeed",slot:"uploadSpeed"},{label:"\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09",prop:"downloadSpeed",slot:"downloadSpeed"},{label:"\u6CE8\u89E3",prop:"comment"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),p=()=>L(this,null,function*(){let M=$.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:q}=yield G.DeviceMangement.listSpeedLimitedDevices.GET();q.result&&(d.value=q.result||[],c.value=q.result||[])}catch(q){}finally{M.Close()}});p();const m=E(!0),v=E([]),b=M=>{v.value=M},y=()=>L(this,null,function*(){d.value=[];let M=$.Loading(a("\u52A0\u8F7D\u4E2D..."));yield p(),M.Close()}),f=M=>d.value.filter(q=>{const T=q.ip.includes(M),j=q.mac.toLowerCase().includes(M.toLowerCase());return T||j}),F=M=>{M===""&&(c.value=d.value),c.value=f(M)},w=M=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let q={ip:M.ip||"",mac:M.mac||"",uploadSpeed:M.uploadSpeed||0,downloadSpeed:M.downloadSpeed||0,networkAccess:M.networkAccess||!1,comment:"",action:"delete"};h(q,1)}}),h=(M,q)=>L(this,null,function*(){let T=$.Loading(a("\u5220\u9664\u4E2D..."));try{const{data:j}=yield G.DeviceMangement.speedLimitConfig.POST(M);return q==1&&(JSON.stringify(j)==="{}"?$.Success("\u5220\u9664\u6210\u529F !"):$.Success((j==null?void 0:j.error)||"\u5220\u9664\u5931\u8D25\uFF01"),p()),j}catch(j){}finally{T.Close()}}),_=()=>L(this,null,function*(){if(v.value.length===0)return $.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const M=v.value.map(q=>{const T={ip:q.ip||"",mac:q.mac||"",uploadSpeed:q.uploadSpeed||0,downloadSpeed:q.downloadSpeed||0,networkAccess:q.networkAccess||!1,comment:"",action:"delete"};return h(T)});yield Promise.all(M),$.Success(a("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),p()}catch(M){}}),x=()=>{k.value=!1,n("openGloba")},C=M=>{var q,T;if(M==!0&&!((T=(q=l.value)==null?void 0:q.speedLimit)!=null&&T.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},S=gt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),A=M=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(M.toString()),z=(M,q)=>q?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[M].test(q.trim()):!1,B=()=>L(this,null,function*(){var q,T;if(!((T=(q=l.value)==null?void 0:q.speedLimit)!=null&&T.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(!S.ip)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!z("ip",S.ip))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);if(!S.mac)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!z("mac",S.mac))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(S.networkAccess)S.downloadSpeed=0,S.uploadSpeed=0;else{if(!S.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!A(S.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!A(S.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);S.downloadSpeed=Number(S.downloadSpeed),S.uploadSpeed=Number(S.uploadSpeed)}let M=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{S.networkAccess=!S.networkAccess;const{data:j}=yield G.DeviceMangement.speedLimitConfig.POST(S);JSON.stringify(j)==="{}"?(y(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((j==null?void 0:j.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01"),k.value=!1,H()}catch(j){$.Warning(`${j==null?void 0:j.error} || ${j==null?void 0:j.message}`)}finally{S.downloadSpeed=1e3,S.uploadSpeed=100,M.Close()}}),H=()=>{S.ip="",S.mac="",S.uploadSpeed=100,S.downloadSpeed=1e3,S.networkAccess=!1,S.comment="",S.action="add"};return(M,q)=>(r(),s("div",iY,[t("div",rY,[Y(ga,{onHandleAdd:q[0]||(q[0]=T=>k.value=!0),onRefresh:y,onBatchDelete:_,onSearch:F})]),t("div",null,[Y(Ue,{data:c.value,columns:g.value,rowKey:"mac",showSelection:m.value,showPagination:!1,onSelectionChange:b},{action:V(({row:T})=>[t("button",{class:"del-button del-button--danger",onClick:j=>w(T)},[t("span",null,i(e(a)("\u5220\u9664")),1)],8,sY)]),enabled:V(({row:T})=>[t("span",null,i(T!=null&&T.enabled?e(a)("\u662F"):e(a)("\u5426")),1)]),uploadSpeed:V(({row:T})=>[t("span",null,i((T==null?void 0:T.uploadSpeed)||"-")+" "+i(T!=null&&T.uploadSpeed?"Mbit/s":""),1)]),downloadSpeed:V(({row:T})=>[t("span",null,i((T==null?void 0:T.downloadSpeed)||"-")+" "+i(T!=null&&T.downloadSpeed?"Mbit/s":""),1)]),_:1},8,["data","columns","showSelection"])]),Y(Xt,{modelValue:k.value,"onUpdate:modelValue":q[9]||(q[9]=T=>k.value=T),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:B,onCancel:H},{default:V(()=>{var T,j,R,it;return[t("div",dY,[t("div",lY,[t("div",uY,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),Y(Ot,{modelValue:e(S).enabled,"onUpdate:modelValue":q[1]||(q[1]=ot=>e(S).enabled=ot),disabled:!((j=(T=l.value)==null?void 0:T.speedLimit)!=null&&j.enabled),onBeforeChange:C},null,8,["modelValue","disabled"])]),t("div",cY,[t("div",pY,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[2]||(q[2]=ot=>e(S).ip=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,fY),[[at,e(S).ip,void 0,{trim:!0}]])]),t("div",mY,[t("div",gY,i(e(a)("MAC\u5730\u5740"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[3]||(q[3]=ot=>e(S).mac=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,vY),[[at,e(S).mac,void 0,{trim:!0}]])]),(it=(R=l.value)==null?void 0:R.speedLimit)!=null&&it.enabled?D("",!0):(r(),s("div",bY,[t("a",{href:"",onClick:ft(x,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,hY)])),e(S).enabled?(r(),s("div",_Y,[t("div",xY,[t("div",wY,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),Y(Ot,{modelValue:e(S).networkAccess,"onUpdate:modelValue":q[4]||(q[4]=ot=>e(S).networkAccess=ot),onChange:q[5]||(q[5]=()=>{})},null,8,["modelValue"])]),e(S).networkAccess?D("",!0):(r(),s(U,{key:0},[t("div",kY,[t("div",yY,i(e(a)("\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[6]||(q[6]=ot=>e(S).downloadSpeed=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,FY),[[at,e(S).downloadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",EY,[t("div",$Y,i(e(a)("\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[7]||(q[7]=ot=>e(S).uploadSpeed=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,CY),[[at,e(S).uploadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",DY,[t("div",BY,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":q[8]||(q[8]=ot=>e(S).comment=ot),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,YY),[[at,e(S).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var SY=N(AY,[["__scopeId","data-v-23c28a68"]]);const ba=o=>(ut("data-v-ed203952"),o=o(),ct(),o),zY={key:0,class:"dialog-overlay"},PY={class:"dialog-container"},TY={class:"dialog-title"},IY=ba(()=>t("div",{class:"loading-animation"},[t("div",{class:"spinner"})],-1)),MY={class:"dialog-message"},LY={key:0,class:"dialog-overlay"},OY={class:"dialog-container"},NY={class:"dialog-title"},VY=ba(()=>t("div",{style:{display:"flex","justify-content":"center"}},[t("svg",{t:"1752661662572",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5921",width:"50",height:"50"},[t("path",{d:"M0 512C0 229.234759 229.234759 0 512 0s512 229.234759 512 512-229.234759 512-512 512S0 794.765241 0 512z m419.310345 194.630621a35.310345 35.310345 0 0 0 49.399172 1.271172l335.518897-311.931586a35.310345 35.310345 0 0 0-48.075035-51.729655l-309.124413 289.544827-145.125518-149.645241a35.310345 35.310345 0 1 0-50.688 49.169655l168.112552 173.320828z",fill:"#553afe","p-id":"5922"})])],-1)),GY={class:"dialog-message"},jY={key:0,class:"dialog-overlay"},UY={class:"dialog-container tag-dialog"},qY={class:"dialog-title"},RY={class:"warning-message"},WY=ba(()=>t("svg",{class:"warning-icon",viewBox:"0 0 24 24"},[t("path",{fill:"currentColor",d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"})],-1)),HY={class:"input-group"},JY={for:"tagTitle"},ZY=["placeholder"],KY={class:"input-group"},QY={for:"tagName"},XY=["disabled","placeholder"],tA={class:"input-group"},eA={for:"gateway"},aA=["placeholder"],oA={class:"button-group"},nA=I({props:{title:{type:String,required:!0}},emits:["confirm","update:modelValue"],setup(o,{expose:n,emit:a}){const{$gettext:l}=J(),u=E("install"),d=E(!1),c=E(!1),k=E(!1),g=E(""),p=E(""),m=E(""),v=()=>{u.value="install",d.value=!0},b=()=>{d.value=!1},y=()=>{d.value=!1,setTimeout(()=>{c.value=!0},300)},f=()=>{c.value=!1},F=E("1"),w=()=>{u.value="tag",F.value="1",p.value="",g.value="",m.value="",k.value=!0},h=()=>{u.value="tag",F.value="2",k.value=!0},_=()=>{k.value=!1},x=A=>{p.value=A.target.value.replace(/[\u4e00-\u9fa5]/g,"")},C=(A,z)=>z?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[A].test(z.trim()):!1,S=()=>{if(!C("ip",m.value.trim()))return $.Warning(`${l("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);g.value.trim()&&p.value.trim()&&m.value.trim()&&(a("confirm",{tagTitle:g.value.trim(),tagName:p.value.trim(),gateway:m.value.trim(),type:F.value}),_())};return $t(g,A=>{a("update:modelValue",A)}),$t(p,A=>{a("update:modelValue",A)}),$t(m,A=>{a("update:modelValue",A)}),n({tagTitle:g,tagName:p,gateway:m,openInstallDialog:v,showInstallResult:y,openTagDialog:w,closeTagDialog:_,cancelInstall:b,openEditTagDialog:h}),(A,z)=>(r(),s(U,null,[Y(St,{name:"fade"},{default:V(()=>[d.value&&u.value==="install"?(r(),s("div",zY,[t("div",PY,[t("div",TY,i(o.title),1),IY,t("p",MY,i(e(l)("\u6B63\u5728\u5B89\u88C5"))+"...",1),t("button",{class:"dialog-button",onClick:b},i(e(l)("\u5173\u95ED")),1)])])):D("",!0)]),_:1}),Y(St,{name:"fade"},{default:V(()=>[c.value&&u.value==="install"?(r(),s("div",LY,[t("div",OY,[t("div",NY,i(e(l)("\u7ED3\u679C")),1),VY,t("p",GY,i(e(l)("\u5B89\u88C5\u6210\u529F"))+"\uFF01",1),t("button",{class:"dialog-button",onClick:f},i(e(l)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1}),Y(St,{name:"fade"},{default:V(()=>[k.value&&u.value==="tag"?(r(),s("div",jY,[t("div",UY,[t("div",qY,i(F.value==="1"?e(l)("\u6DFB\u52A0\u6807\u7B7E"):e(l)("\u7F16\u8F91\u6807\u7B7E")),1),t("div",RY,[WY,t("span",null,i(e(l)("\u6CE8\u610F\uFF1A\u6DFB\u52A0ID\u65F6\uFF0C\u8BF7\u52FF\u5C06\u201Codhcpd\u201D\u6216\u7F51\u7EDC\u63A5\u53E3\uFF08\u4F8B\u5982\u201Clan\u201D,\u201Cwan\u201D,\u201Cwan6\u201D\u7B49\uFF09\u4F5C\u4E3AID\uFF0C\u6B64\u4E3E\u5C06\u4EA7\u751F\u51B2\u7A81\u3002\u5EFA\u8BAE\u5728ID\u524D\u9762\u52A0\u4E0A\u524D\u7F00\u201Ct_\u201D\u4EE5\u675C\u7EDD\u6B64\u7C7B\u51B2\u7A81\u3002")),1)]),t("div",HY,[t("label",JY,i(e(l)("\u6807\u9898"))+"\uFF1A",1),O(t("input",{id:"tagTitle","onUpdate:modelValue":z[0]||(z[0]=B=>g.value=B),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,ZY),[[at,g.value]])]),t("div",KY,[t("label",QY,i(e(l)("ID"))+"\uFF1A",1),O(t("input",{id:"tagName","onUpdate:modelValue":z[1]||(z[1]=B=>p.value=B),onInput:x,disabled:F.value=="2",type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,XY),[[at,p.value]])]),t("div",tA,[t("label",eA,i(e(l)("\u7F51\u5173"))+"\uFF1A",1),O(t("input",{id:"gateway","onUpdate:modelValue":z[2]||(z[2]=B=>m.value=B),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,aA),[[at,m.value]])]),t("div",oA,[t("button",{class:"cancel-button",onClick:_},i(e(l)("\u53D6\u6D88")),1),t("button",{class:"confirm-button",onClick:S},i(e(l)("\u786E\u5B9A")),1)])])])):D("",!0)]),_:1})],64))}});var iA=N(nA,[["__scopeId","data-v-ed203952"]]);const co=o=>(ut("data-v-102c75ea"),o=o(),ct(),o),rA={class:"tab-container"},sA={class:"tab-header"},dA=["onClick"],lA={class:"tab-content_g"},uA={key:0,class:"not_installed"},cA=co(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),pA={key:1},fA={class:"item_box"},mA={class:"item_left"},gA={class:"item_box"},vA={class:"item_left"},bA=["placeholder"],hA={class:"item_box"},_A={class:"item_left"},xA=["placeholder"],wA={class:"item_box"},kA={class:"item_left"},yA={key:0,class:"not_installed"},FA=co(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),EA={key:1},$A={class:"item_box"},CA={class:"item_left"},DA={class:"item_box"},BA={class:"item_left"},YA={key:0,value:"",disabled:""},AA=["value"],SA={class:"item_box"},zA={class:"item_left"},PA=["placeholder"],TA={class:"item_box"},IA={class:"item_left"},MA=["placeholder"],LA={class:"item_box"},OA={class:"item_left"},NA={style:{"margin-bottom":"16px"}},VA={class:"item_box"},GA={class:"item_left"},jA={class:"item_box"},UA={class:"item_left"},qA=["value"],RA={class:"item_box"},WA={class:"item_left"},HA={style:{display:"flex","justify-content":"end","margin-bottom":"8px"}},JA=["onClick"],ZA=["onClick"],KA=I({setup(o,{expose:n}){const{$gettext:a}=J(),l=Q(()=>!p.role),u=E([]),d=E([{label:"\u6807\u9898",prop:"tagTitle",slot:"tagTitle"},{label:"ID",prop:"tagName",slot:"tagName"},{label:"\u7F51\u5173",prop:"gateway",slot:"gateway"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),c=E([{name:a("\u4E3B\u8DEF\u7531"),value:"fallback"},{name:a("\u65C1\u8DEF\u7531"),value:"main"}]),k=gt({dhcpEnabled:!1,dhcpGateway:""}),g=gt({enabled:!1,uploadSpeed:"",downloadSpeed:"",installed:!0}),p=gt({enabled:!1,role:"",setIP:"",checkIP:""}),m=E({}),v=()=>L(this,null,function*(){var nt,K,At,mt,P,X,et,rt,kt,Tt,Ft,ne,ie,re,se,de,le,ue,ce,pe,fe,me,ge;try{const{data:Et}=yield G.DeviceMangement.globalConfigs.GET();if(Et.result){if(m.value=Et.result||{},k.dhcpEnabled=((K=(nt=Et.result)==null?void 0:nt.dhcpGlobal)==null?void 0:K.dhcpEnabled)||!1,(mt=(At=Et.result)==null?void 0:At.dhcpGlobal)!=null&&mt.dhcpGateway)k.dhcpGateway=(X=(P=Et.result)==null?void 0:P.dhcpGlobal)==null?void 0:X.dhcpGateway;else{const _a=(rt=(et=Et.result)==null?void 0:et.dhcpGlobal)==null?void 0:rt.gatewaySels.find(mo=>mo.title==="myself");_a?k.dhcpGateway=_a.gateway:k.dhcpGateway=""}u.value=((kt=Et.result)==null?void 0:kt.dhcpTags)||[],g.enabled=((Ft=(Tt=Et.result)==null?void 0:Tt.speedLimit)==null?void 0:Ft.enabled)||!1,g.uploadSpeed=((ie=(ne=Et.result)==null?void 0:ne.speedLimit)==null?void 0:ie.uploadSpeed)||"",g.downloadSpeed=((se=(re=Et.result)==null?void 0:re.speedLimit)==null?void 0:se.downloadSpeed)||"",p.enabled=((le=(de=Et.result)==null?void 0:de.floatGateway)==null?void 0:le.enabled)||!1,p.role=((ce=(ue=Et.result)==null?void 0:ue.floatGateway)==null?void 0:ce.role)||"",p.setIP=((fe=(pe=Et.result)==null?void 0:pe.floatGateway)==null?void 0:fe.setIP)||"",p.checkIP=((ge=(me=Et.result)==null?void 0:me.floatGateway)==null?void 0:ge.checkIP)||""}}catch(Et){}});v();const b=()=>L(this,null,function*(){let nt=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.dhcpGatewayConfig.POST(k);JSON.stringify(K)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){$.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{nt.Close()}}),y=(nt,K)=>L(this,null,function*(){let At=$.Loading(a("\u68C0\u67E5\u4E2D..."));try{const mt=yield G.App.Check.POST({name:nt});if(At.Close(),mt!=null&&mt.data){const{result:P,error:X}=mt.data;if(X)$.Warning(X);else{if(P)return P.status=="installed";$.Warning(a("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}}return!1}catch(mt){return At.Close(),$.Warning(mt),!1}}),f=E(!1),F=E(!1),w=()=>L(this,null,function*(){(yield y("app-meta-floatip"))&&(F.value=!0)}),h=()=>L(this,null,function*(){(yield y("app-meta-eqos"))&&(f.value=!0)});w(),h();const _=[{id:"tag",label:a("DHCP")},{id:"gateway",label:a("\u6D6E\u52A8\u7F51\u5173")},{id:"ip",label:a("IP\u9650\u901F")}],x=E("tag");n({activeTab:x});const C=nt=>{x.value=nt},S=E(),A=nt=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[nt]||nt,z=E("app-meta-floatip"),B=Q(()=>z.value==="app-meta-floatip"?a("\u6D6E\u52A8\u7F51\u5173"):a("IP\u9650\u901F")),H=nt=>L(this,null,function*(){if(z.value=nt,S.value.openInstallDialog(),yield zt.installApp(nt))return nt=="app-meta-floatip"?w():h(),S.value.showInstallResult(),!0;S.value.cancelInstall(),$.Error(a("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}),M=nt=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(nt.toString()),q=()=>L(this,null,function*(){if(g.enabled){if(!g.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!M(g.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!g.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!M(g.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);g.downloadSpeed=Number(g.downloadSpeed),g.uploadSpeed=Number(g.uploadSpeed)}else g.downloadSpeed=0,g.uploadSpeed=0;let nt=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.enableSpeedLimit.POST(g);JSON.stringify(K)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){$.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{nt.Close()}}),T=(nt,K)=>K?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\/([0-9]|[1-2][0-9]|3[0-2]))?$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[nt].test(K.trim()):!1,j=()=>L(this,null,function*(){if(!p.role)return $.Warning(a("\u8BF7\u9009\u62E9\u8282\u70B9\u89D2\u8272"));if(!p.setIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u6D6E\u52A8\u7F51\u5173")}IP`);if(!T("ip",p.setIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6D6E\u52A8\u7F51\u5173IP\u5730\u5740")}`);if(!p.checkIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u65C1\u8DEF\u7531")}IP`);if(!T("ip",p.checkIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65C1\u8DEF\u7531IP\u5730\u5740")}`);let nt=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.enableFloatGateway.POST(p);JSON.stringify(K)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){$.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{nt.Close()}}),R=nt=>{nt||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95EDDHCP\u53EF\u80FD\u5F71\u54CD\u5C40\u57DF\u7F51\u5185\u8BBE\u5907\u7684IP\u5206\u914D\u548C\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(k.dhcpEnabled=!0)},it=nt=>{nt||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u6D6E\u52A8\u7F51\u5173\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6D6E\u52A8\u7F51\u5173\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(p.enabled=!0)},ot=nt=>{nt||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u9650\u901F\u4F1A\u8BA9\u5DF2\u914D\u7F6E\u9650\u901F\u7684\u8BBE\u5907\u7684\u5E26\u5BBD\u9650\u5236\u5168\u90E8\u5931\u6548\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(g.enabled=!0)},bt=nt=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u7F51\u5173\u6807\u7B7E\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6B64\u6807\u7B7E\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let K=$.Loading(a("\u5220\u9664\u4E2D...")),At={action:"delete",tagTitle:nt.tagTitle||"",tagName:nt.tagName||"",dhcpOption:(nt==null?void 0:nt.dhcpOption)||[]};try{const{data:mt}=yield G.DeviceMangement.dhcpTagsConfig.POST(At);JSON.stringify(mt)==="{}"?($.Success(a("\u5220\u9664\u6210\u529F")),v()):$.Success((mt==null?void 0:mt.error)||"\u5220\u9664\u5931\u8D25\uFF01")}catch(mt){$.Warning(`${mt==null?void 0:mt.error} || ${mt==null?void 0:mt.message}`)}finally{K.Close()}}}),Dt=()=>{S.value.openTagDialog()},yt=E([]),Vt=nt=>L(this,null,function*(){yt.value=nt.dhcpOption?nt.dhcpOption:[],S.value.tagTitle=nt.tagTitle||"",S.value.tagName=nt.tagName||"",S.value.gateway=nt.gateway||"",yield na(),S.value.openEditTagDialog()}),Re=nt=>L(this,null,function*(){let K=$.Loading(a("\u4FDD\u5B58\u4E2D..."));const At=[`3,${nt.gateway}`,`6,${nt.gateway}`];let mt={action:nt.type==1?"add":"modify",tagTitle:nt.tagTitle,tagName:nt.tagName,dhcpOption:At};try{const{data:P}=yield G.DeviceMangement.dhcpTagsConfig.POST(mt);JSON.stringify(P)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((P==null?void 0:P.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(P){$.Warning(`${P==null?void 0:P.error} || ${P==null?void 0:P.message}`)}finally{K.Close()}});return(nt,K)=>{var At,mt;return r(),s("div",rA,[t("div",sA,[(r(),s(U,null,tt(_,P=>t("button",{key:P.id,class:lt(["tab-button",{active:x.value===P.id}]),onClick:X=>C(P.id)},i(P.label),11,dA)),64))]),t("div",lA,[O(t("div",null,[f.value?(r(),s("div",pA,[t("div",fA,[t("div",mA,i(e(a)("IP\u9650\u901F"))+"\uFF1A",1),Y(Ot,{modelValue:e(g).enabled,"onUpdate:modelValue":K[1]||(K[1]=P=>e(g).enabled=P),onChange:ot},null,8,["modelValue"])]),e(g).enabled?(r(),s(U,{key:0},[t("div",gA,[t("div",vA,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[2]||(K[2]=P=>e(g).downloadSpeed=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,bA),[[at,e(g).downloadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",hA,[t("div",_A,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[3]||(K[3]=P=>e(g).uploadSpeed=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,xA),[[at,e(g).uploadSpeed,void 0,{trim:!0}]]),dt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)])],64)):D("",!0),t("div",wA,[t("div",kA,[t("button",{class:"add-button add-button--danger",onClick:q},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),s("div",uA,[cA,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:K[0]||(K[0]=P=>H("app-meta-eqos"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[ee,x.value==="ip"]]),O(t("div",null,[F.value?(r(),s("div",EA,[t("div",$A,[t("div",CA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"\uFF1A",1),Y(Ot,{modelValue:e(p).enabled,"onUpdate:modelValue":K[5]||(K[5]=P=>e(p).enabled=P),onChange:it},null,8,["modelValue"])]),t("div",DA,[t("div",BA,i(e(a)("\u8282\u70B9\u89D2\u8272"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":K[6]||(K[6]=P=>e(p).role=P),onChange:K[7]||(K[7]=()=>{})},[e(l)?(r(),s("option",YA,i(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),s(U,null,tt(c.value,P=>(r(),s("option",{value:P.value},i(P.name),9,AA))),256))],544),[[pt,e(p).role]])]),t("div",SA,[t("div",zA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"IP\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[8]||(K[8]=P=>e(p).setIP=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,PA),[[at,e(p).setIP,void 0,{trim:!0}]])]),t("div",TA,[t("div",IA,i(e(a)("\u65C1\u8DEF\u7531IP"))+"\uFF1A",1),O(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[9]||(K[9]=P=>e(p).checkIP=P),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,MA),[[at,e(p).checkIP,void 0,{trim:!0}]])]),t("div",LA,[t("div",OA,[t("button",{class:"add-button add-button--danger",onClick:j},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),s("div",yA,[FA,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:K[4]||(K[4]=P=>H("app-meta-floatip"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[ee,x.value==="gateway"]]),O(t("div",null,[t("div",NA,[t("div",VA,[t("div",GA,i(e(a)("\u542F\u7528"))+"DHCP\uFF1A",1),Y(Ot,{modelValue:e(k).dhcpEnabled,"onUpdate:modelValue":K[10]||(K[10]=P=>e(k).dhcpEnabled=P),onChange:R},null,8,["modelValue"])]),t("div",jA,[t("div",UA,"DHCP"+i(e(a)("\u7F51\u5173"))+"\uFF1A",1),O(t("select",{"onUpdate:modelValue":K[11]||(K[11]=P=>e(k).dhcpGateway=P),onChange:K[12]||(K[12]=()=>{})},[(r(!0),s(U,null,tt((mt=(At=m.value)==null?void 0:At.dhcpGlobal)==null?void 0:mt.gatewaySels,P=>(r(),s("option",{value:P.gateway},i(P.gateway)+" ("+i(P.title?A(P.title):"")+") ",9,qA))),256))],544),[[pt,e(k).dhcpGateway]])]),t("div",RA,[t("div",WA,[t("button",{class:"add-button add-button--danger",onClick:b},i(e(a)("\u4FDD\u5B58")),1)])])]),t("div",HA,[t("button",{class:"add-button add-button--danger",onClick:Dt},[t("span",null,i(e(a)("\u6DFB\u52A0")),1)])]),Y(Ue,{data:u.value,columns:d.value,showSelection:!1,showPagination:!1,theadBgColor:"#e8e6f9"},{action:V(({row:P})=>[P.autoCreated?D("",!0):(r(),s("span",{key:0,style:{color:"#553AFE",cursor:"pointer"},onClick:X=>Vt(P)},i(e(a)("\u7F16\u8F91")),9,JA)),P.autoCreated?D("",!0):(r(),s("span",{key:1,style:{color:"#F04134",cursor:"pointer","margin-left":"18px"},onClick:X=>bt(P)},i(e(a)("\u5220\u9664")),9,ZA))]),tagTitle:V(({row:P})=>[t("span",null,i(A(P.tagTitle)),1)]),tagName:V(({row:P})=>[t("span",null,i(P.tagName||"-"),1)]),gateway:V(({row:P})=>[t("span",null,i(P.gateway||"-"),1)]),_:1},8,["data","columns"])],512),[[ee,x.value==="tag"]])]),Y(iA,{ref_key:"tagDialogRef",ref:S,title:e(B),onConfirm:Re},null,8,["title"])])}}});var QA=N(KA,[["__scopeId","data-v-102c75ea"]]);const po=o=>(ut("data-v-39804772"),o=o(),ct(),o),XA={id:"page"},tS={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},eS=po(()=>t("svg",{width:"20",height:"20",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M20 30 L50 50 L20 70",stroke:"#d6dbf8","stroke-width":"8","stroke-linecap":"round",fill:"none"})],-1)),aS={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},oS={class:"device_container",style:{color:"black"}},nS={class:"tab-container"},iS={class:"tabs_box_g"},rS=["onClick"],sS={class:"tab-content_g"},dS={key:0,class:"content-item"},lS={key:1,class:"content-item"},uS={key:2,class:"content-item"},cS={key:3,class:"content-item"},pS=po(()=>t("div",{style:{height:"30px"}},null,-1)),fS=I({setup(o){const{$gettext:n}=J(),a=E(["\u8BBE\u5907\u5217\u8868","\u9759\u6001\u5206\u914D\u5217\u8868","\u9650\u901F\u8BBE\u5907\u5217\u8868","\u5168\u5C40\u8BBE\u7F6E"]),l=E(0),u=E(null),d=()=>L(this,null,function*(){l.value=3,yield na(),u.value&&(u.value.activeTab="ip")});return(c,k)=>{const g=_t("router-link");return r(),s(U,null,[t("div",XA,[t("div",tS,[Y(g,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:V(()=>[dt(i(e(n)("\u9996\u9875")),1)]),_:1}),eS,t("a",aS,i(e(n)("\u8BBE\u5907\u7BA1\u7406")),1)])]),t("div",oS,[t("div",nS,[t("div",iS,[(r(!0),s(U,null,tt(a.value,(p,m)=>(r(),s("button",{key:m,onClick:v=>l.value=m,class:lt({active:l.value===m})},i(e(n)(p)),11,rS))),128))]),t("div",sS,[l.value===0?(r(),s("div",dS,[Y(TB,{onOpenGloba:d})])):D("",!0),l.value===1?(r(),s("div",lS,[Y(nY)])):D("",!0),l.value===2?(r(),s("div",uS,[Y(SY,{onOpenGloba:d})])):D("",!0),l.value===3?(r(),s("div",cS,[Y(QA,{ref_key:"configureRef",ref:u},null,512)])):D("",!0)]),pS])])],64)}}});var mS=N(fS,[["__scopeId","data-v-39804772"]]);const gS={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},vS=["fill"],bS=["fill"],hS=I({props:{color:{type:String,default:"#ffa847"}},setup(o){return(n,a)=>(r(),s("svg",gS,[t("path",{d:"M640.825806 900.129032c-18.167742 6.606452-37.987097 9.909677-57.806451 13.212903-26.425806 4.954839-44.593548 29.729032-41.290323 56.154839 4.954839 26.425806 29.729032 44.593548 56.154839 41.290323 24.774194-3.303226 47.896774-9.909677 71.019355-16.516129 26.425806-8.258065 41.290323-36.335484 33.032258-62.761291s-34.683871-39.63871-61.109678-31.380645zM974.451613 576.412903c-26.425806-6.606452-52.851613 9.909677-61.109678 36.335484-4.954839 19.819355-11.56129 37.987097-18.167741 56.154839-9.909677 24.774194 1.651613 54.503226 26.425806 64.412903 24.774194 9.909677 54.503226-1.651613 64.412903-26.425806 9.909677-23.122581 16.516129-46.245161 23.122581-69.367742 6.606452-28.077419-8.258065-54.503226-34.683871-61.109678zM814.245161 791.122581c-13.212903 14.864516-28.077419 28.077419-42.941935 39.638709-21.470968 16.516129-24.774194 47.896774-8.258065 69.367742 16.516129 21.470968 47.896774 24.774194 69.367742 8.258065 19.819355-14.864516 37.987097-31.380645 54.503226-49.548387 18.167742-19.819355 18.167742-51.2-1.651613-69.367742s-51.2-18.167742-71.019355 1.651613zM526.864516 341.883871c-28.077419 0-49.548387 21.470968-49.548387 49.548387v122.219355c0 14.864516 6.606452 28.077419 18.167742 37.987097l117.264516 97.445161c21.470968 18.167742 52.851613 14.864516 69.367742-6.606452s14.864516-52.851613-6.606452-69.367742l-99.096774-82.580645v-99.096774c0-26.425806-21.470968-49.548387-49.548387-49.548387z",fill:o.color,"p-id":"4722"},null,8,vS),t("path",{d:"M910.03871 327.019355c28.077419 1.651613 51.2-18.167742 52.851613-46.245161l9.909677-142.03871c1.651613-28.077419-18.167742-51.2-46.245161-52.851613-28.077419-1.651613-51.2 18.167742-52.851613 46.245161v16.516129c-1.651613-1.651613-3.303226-3.303226-4.954839-3.303226-1.651613-3.303226-4.954839-4.954839-6.606452-8.258064-18.167742-16.516129-36.335484-31.380645-57.806451-46.245161-1.651613-1.651613-4.954839-3.303226-6.606452-3.303226-46.245161-31.380645-99.096774-54.503226-155.251613-69.367742-1.651613 0-3.303226-1.651613-4.954838-1.651613-8.258065-1.651613-14.864516-3.303226-23.122581-4.954839h-1.651613c-6.606452-1.651613-13.212903-3.303226-21.470968-3.303225-4.954839-1.651613-11.56129-1.651613-16.516129-1.651613-3.303226 0-6.606452-1.651613-9.909677-1.651613h-1.651613C307.2-19.819355 69.367742 153.6 18.167742 412.903226c-52.851613 275.819355 125.522581 541.729032 401.341935 594.580645 26.425806 4.954839 52.851613-11.56129 57.806452-39.63871 4.954839-26.425806-11.56129-52.851613-39.63871-57.806451h-1.651613c-19.819355-3.303226-37.987097-9.909677-56.154838-16.516129h-3.303226c-44.593548-16.516129-84.232258-39.63871-118.916129-67.716129l-4.954839-4.954839c-14.864516-13.212903-29.729032-26.425806-41.290322-41.290323-1.651613-1.651613-3.303226-3.303226-6.606452-4.954838-28.077419-33.032258-51.2-71.019355-67.716129-112.309678 0-3.303226-1.651613-6.606452-1.651613-8.258064-6.606452-18.167742-13.212903-37.987097-16.516129-56.154839 0-3.303226-1.651613-6.606452-3.303226-9.909677-8.258065-41.290323-9.909677-82.580645-4.954838-125.522581 1.651613-3.303226 1.651613-6.606452 3.303225-9.909678 3.303226-19.819355 6.606452-37.987097 13.212904-57.806451 1.651613-3.303226 1.651613-6.606452 1.651612-9.909678 13.212903-41.290323 33.032258-80.929032 57.806452-115.612903 3.303226-1.651613 4.954839-4.954839 6.606452-6.606451 11.56129-14.864516 24.774194-29.729032 39.638709-44.593549 1.651613-1.651613 3.303226-4.954839 4.954839-6.606451 33.032258-31.380645 71.019355-56.154839 112.309677-74.322581 1.651613 0 3.303226 0 3.303226-1.651613 18.167742-8.258065 37.987097-14.864516 56.154839-19.819355 1.651613 0 1.651613-1.651613 3.303226-1.651613 47.896774-13.212903 100.748387-16.516129 153.6-9.909677 3.303226 0 6.606452 1.651613 9.909677 1.651613 6.606452 1.651613 11.56129 1.651613 18.167742 3.303226 80.929032 16.516129 153.6 54.503226 209.754839 112.309677l-29.729032-1.651613c-28.077419-1.651613-51.2 18.167742-52.851613 46.245161-1.651613 28.077419 18.167742 51.2 46.245161 52.851613l142.03871 8.258065z",fill:o.color,"p-id":"4723"},null,8,bS)]))}}),_S={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},xS=["fill"],wS=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",_S,[t("path",{d:"M914.285714 548.571429a36.571429 36.571429 0 0 1 36.571429 36.571428v219.428572a146.285714 146.285714 0 0 1-146.285714 146.285714H219.428571a146.285714 146.285714 0 0 1-146.285714-146.285714v-219.428572a36.571429 36.571429 0 1 1 73.142857 0v219.428572a73.142857 73.142857 0 0 0 67.657143 72.96L219.428571 877.714286h585.142858a73.142857 73.142857 0 0 0 72.96-67.657143L877.714286 804.571429v-219.428572a36.571429 36.571429 0 0 1 36.571428-36.571428zM537.307429 83.858286l258.596571 258.596571a36.571429 36.571429 0 1 1-51.712 51.712L548.571429 198.509714 548.571429 634.733714a36.571429 36.571429 0 1 1-73.142858 0V197.485714L278.674286 394.166857a36.571429 36.571429 0 1 1-51.712-51.712l258.596571-258.596571a36.571429 36.571429 0 0 1 51.712 0z",fill:o.color,"p-id":"9077"},null,8,xS)]))}}),Ht=o=>(ut("data-v-cbc39b94"),o=o(),ct(),o),kS={class:"item_container"},yS={class:"item"},FS={class:"item_title"},ES={class:"tip"},$S={class:"item"},CS={class:"item_title"},DS={class:"select_box"},BS={value:null,disabled:"",selected:""},YS=["value"],AS={class:"start_btn"},SS={key:0,class:"progress"},zS=Ht(()=>t("span",null,"25%",-1)),PS={class:"item"},TS={class:"item_title"},IS={class:"log_info"},MS={class:"item"},LS={class:"item_title"},OS={class:"result_box"},NS={class:"result"},VS={class:"result_item"},GS=Ht(()=>t("div",{class:"speed_value"},"105.5",-1)),jS=Ht(()=>t("span",{class:"unit"},"Mbps",-1)),US=Ht(()=>t("span",{class:"status status_bg1"},"\u4F18\u79C0",-1)),qS={class:"speed_title"},RS={class:"result_item"},WS=Ht(()=>t("div",{class:"speed_value"},"105.5",-1)),HS=Ht(()=>t("span",{class:"unit"},"Mbps",-1)),JS=Ht(()=>t("span",{class:"status status_bg2"},"\u826F\u597D",-1)),ZS={class:"speed_title"},KS=jt('
18 ms
\u826F\u597D\u5EF6\u8FDF
18 ms
\u5EF6\u8FDF
',2),QS=Ht(()=>t("div",{class:"custom-content"},[t("p",null,"\u4EE5\u4E0B\u662F\u68C0\u6D4B\u5230\u7684\u5185\u7F51\u5730\u5740\uFF0C\u8BF7\u70B9\u51FB\u8BBF\u95EE\u8FDB\u884C\u6D4B\u901F"),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")])],-1)),XS=I({setup(o){const{$gettext:n}=J(),a=E(!1),l=E([{title:"SpeedTest.Net",describe:"\u5168\u7403\u6807\u51C6\u7F51\u901F\u6D4B\u8BD5\u670D\u52A1",value:"SpeedTest"},{title:"CDN\u8282\u70B9\u6D4B\u8BD5",describe:"\u6D4B\u8BD5\u5230\u4E3B\u8981CDN\u8282\u70B9\u7684\u8FDE\u63A5\u901F\u5EA6",value:"CDN"},{title:"UST\u9AD8\u6821\u8282\u70B9",describe:"\u4E2D\u79D1\u5927\u6559\u80B2\u7F51\u8282\u70B9\u6D4B\u8BD5",value:"UST"},{title:"NAT\u7C7B\u578B\u6D4B\u901F",describe:"\u68C0\u6D4B\u7F51\u7EDCNAT\u7C7B\u578B\u548C\u8FDE\u901A\u6027",value:"NAT"}]),u=E(null),d=E(!1),c=()=>{!u.value||(d.value=!0)};return(k,g)=>(r(),s(U,null,[t("div",kS,[t("div",yS,[t("div",FS,[Y(ze,{color:"#155dfc",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u68C0\u6D4B\u672C\u5730\u7F51\u7EDC\u73AF\u5883\uFF0C\u83B7\u53D6\u5185\u7F51\u8BBF\u95EE\u5730\u5740")),1),t("div",{class:"wifi_btn",onClick:g[0]||(g[0]=p=>a.value=!0)},[t("div",null,[Y(ze,{color:"#ffffff",class:"icon1"}),t("span",null,i(e(n)("\u5F00\u59CB\u5185\u7F51\u6D4B\u901F")),1)])]),t("p",ES,i(e(n)("\u70B9\u51FB\u6309\u94AE\u83B7\u53D6\u5185\u7F51\u6D4B\u901F\u5730\u5740\uFF0C\u901A\u8FC7\u8BBF\u95EE\u8FD9\u4E9B\u5730\u5740\u6765\u6D4B\u8BD5\u5185\u7F51\u8FDE\u63A5\u901F\u5EA6")),1)]),t("div",$S,[t("div",CS,[Y(xe,{color:"#2bb55e",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9\uFF0C\u8FDB\u884C\u7F51\u7EDC\u901F\u5EA6\u548C\u8FDE\u63A5\u8D28\u91CF\u6D4B\u8BD5")),1),t("div",DS,[t("div",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),O(t("select",{"onUpdate:modelValue":g[1]||(g[1]=p=>u.value=p),id:"node",required:"",class:lt({"is-placeholder":!u.value})},[t("option",BS,i(e(n)("\u8BF7\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),(r(!0),s(U,null,tt(l.value,p=>(r(),s("option",{value:p},i(p.title)+" - "+i(p.describe),9,YS))),256))],2),[[pt,u.value]])]),t("div",{class:lt(["wifi_btn m-20",{"is-bg":!u.value||d.value}]),onClick:c},[t("div",AS,[d.value?(r(),s("span",{key:0,class:lt(["icon3-wrap",{"is-rotating":d.value}])},[Y(hS,{color:"#ffffff",class:"icon3"})],2)):(r(),Z(xe,{key:1,color:"#ffffff",class:"icon2"})),t("span",null,i(e(n)("\u5F00\u59CB\u6D4B\u901F")),1)])],2),d.value?(r(),s("div",SS,[t("p",null,[dt(i(e(n)("\u6D4B\u901F\u8FDB\u5EA6"))+" ",1),zS]),Y(no,{percentage:25,showPercentage:!1,height:"10px",borderRadius:"10px",color:"#030213",backgroundColor:"#cdccd0"})])):D("",!0)]),t("div",PS,[t("div",TS,[Y(Xa,{color:"#ff6900",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u65E5\u5FD7")),1)]),t("p",null,i(e(n)("\u5B9E\u65F6\u6D4B\u901F\u8FC7\u7A0B\u8BB0\u5F55")),1),t("div",IS,[(r(),s(U,null,tt(20,p=>t("p",null,"[17:00:20] \u6B63\u5728\u8FDE\u63A5\u5230\u6D4B\u8BD5\u670D\u52A1\u5668...")),64))])]),t("div",MS,[t("div",LS,[Y(ro,{color:"#9865ff",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u7ED3\u679C")),1)]),t("p",null,i(e(n)("\u6D4B\u901F\u8282\u70B9"))+"\uFF1ACDN\u8282\u70B9 (\u5317\u4EAC)",1),t("div",OS,[t("div",NS,[t("div",VS,[Y(Kt,{color:"#155dfc",class:"icon_speed"}),GS,jS,US,t("div",qS,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1)]),t("div",RS,[Y(wS,{color:"#00a63e",class:"icon_speed1"}),WS,HS,JS,t("div",ZS,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1)])]),KS])])]),Y(Xt,{modelValue:a.value,"onUpdate:modelValue":g[2]||(g[2]=p=>a.value=p),title:"\u5185\u7F51\u8BBF\u95EE\u5730\u5740",width:"550px",footerShow:!1,"show-close":!0},{default:V(()=>[QS]),_:1},8,["modelValue"])],64))}});var tz=N(XS,[["__scopeId","data-v-cbc39b94"]]);const ez={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},az=["fill"],oz=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),s("svg",ez,[t("path",{d:"M0 855.04a64.896 64.896 0 0 1 129.792 0v55.637333a64.896 64.896 0 0 1-129.792 0V855.04zM213.248 669.610667a64.896 64.896 0 0 1 129.792 0v241.066666a64.896 64.896 0 0 1-129.792 0v-241.066666zM426.496 484.181333a64.896 64.896 0 0 1 129.792 0v426.496a64.896 64.896 0 1 1-129.792 0v-426.496zM639.701333 298.752a64.896 64.896 0 1 1 129.792 0v611.925333a64.896 64.896 0 0 1-129.792 0V298.752zM852.949333 113.322667a64.896 64.896 0 0 1 129.792 0v797.354666a64.896 64.896 0 0 1-129.792 0V113.322667z",fill:o.color,"p-id":"11967"},null,8,az)]))}}),ha=o=>(ut("data-v-164df064"),o=o(),ct(),o),nz={id:"page"},iz={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},rz=ha(()=>t("svg",{width:"20",height:"20",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M20 30 L50 50 L20 70",stroke:"#d6dbf8","stroke-width":"8","stroke-linecap":"round",fill:"none"})],-1)),sz={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},dz={class:"container",style:{color:"black"}},lz={class:"title"},uz=ha(()=>t("span",null,"\u7F51\u7EDC\u6D4B\u901F\u5DE5\u5177",-1)),cz=ha(()=>t("p",null,"\u4E13\u4E1A\u7684\u7F51\u7EDC\u8FDE\u63A5\u901F\u5EA6\u68C0\u6D4B\u5DE5\u5177\uFF0C\u652F\u6301\u5185\u7F51\u548C\u5916\u7F51\u6D4B\u901F",-1)),pz=I({setup(o){const{$gettext:n}=J();return(a,l)=>{const u=_t("router-link");return r(),s(U,null,[t("div",nz,[t("div",iz,[Y(u,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:V(()=>[dt(i(e(n)("\u9996\u9875")),1)]),_:1}),rz,t("a",sz,i(e(n)("\u7F51\u7EDC\u6D4B\u901F")),1)])]),t("div",dz,[t("div",lz,[t("div",null,[Y(oz,{class:"icon"}),uz]),cz]),Y(tz)])],64)}}});var fz=N(pz,[["__scopeId","data-v-164df064"]]);const Ce=o=>(ut("data-v-2b19eb04"),o=o(),ct(),o),mz=["onSubmit"],gz={class:"form-item"},vz={class:"label-name"},bz={class:"label-value switch_label"},hz={class:"label-flex pc-radio"},_z=["disabled"],xz=["disabled"],wz=Ce(()=>t("div",{class:"switch-button"},null,-1)),kz=[wz],yz={key:0,class:"form-item"},Fz={class:"label-name"},Ez={class:"label-value"},$z=["disabled"],Cz={value:100},Dz={value:70},Bz={value:50},Yz={value:30},Az={key:0,class:"select-arrow"},Sz={class:"form-item"},zz={class:"label-name"},Pz={class:"label-value"},Tz=["disabled","placeholder"],Iz={class:"form-item"},Mz={class:"label-name"},Lz={class:"label-value"},Oz=["disabled"],Nz=["value"],Vz={key:0,class:"select-arrow"},Gz={class:"form-item"},jz={class:"label-name"},Uz={class:"label-value"},qz=["type","disabled","placeholder"],Rz={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},Wz=Ce(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),Hz=[Wz],Jz={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},Zz=Ce(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),Kz=[Zz],Qz={class:"form-item"},Xz={class:"label-name"},tP={class:"label-value"},eP=["disabled"],aP={value:!1},oP={value:!0},nP={key:0,class:"select-arrow"},iP={key:1,class:"form-item"},rP={class:"label-name"},sP={class:"label-value"},dP=["disabled"],lP=["value"],uP={key:0,class:"select-arrow"},cP={key:2,class:"form-item"},pP={class:"label-name"},fP={class:"label-value"},mP=["disabled"],gP=Ce(()=>t("option",{value:"20"},"20 MHz",-1)),vP=Ce(()=>t("option",{value:"40"},"40 MHz",-1)),bP={key:0,value:"auto"},hP={key:1,value:"80"},_P={key:2,value:"160"},xP={key:0,class:"select-arrow"},wP={key:3,class:"form-item"},kP={class:"label-name"},yP={class:"label-value"},FP=["disabled"],EP={value:0},$P=["value"],CP=["disabled"],DP={value:0},BP=jt('',12),YP={key:2,class:"select-arrow"},AP={key:4,class:"form-item"},SP={class:"label-name"},zP={class:"label-value"},PP=["placeholder","disabled"],TP={class:"label-btns"},IP=["disabled"],MP=I({props:{data:null},emits:["getData"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=J(),d=E(Object.assign({},a.data)),c=Yo("disabled"),k=E(!0),g=()=>{c.value||(d.value.disabled=!d.value.disabled)};$t(()=>d.value.disabled,y=>{m()});const p=()=>L(this,null,function*(){if(d.value.txpower===a.data.txpower)return;const y=$.Loading("\u914D\u7F6E\u4E2D...");try{const{data:f}=yield G.Quickwifi.Power.POST({device:d.value.device||"",txpower:d.value.txpower||0}),{error:F,success:w}=f;if(F)throw F;(w==null||w==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}catch(f){throw $.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),f}finally{y.Close()}}),m=()=>L(this,null,function*(){const y=$.Loading("\u914D\u7F6E\u4E2D...");try{const{data:f}=yield G.Quickwifi.Switch.POST({ifaceName:d.value.ifaceName||"",enable:!d.value.disabled}),{error:F,success:w}=f;if(F)throw F;(w==null||w==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}catch(f){throw console.error("\u8BF7\u6C42\u51FA\u9519:",f),$.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),f}finally{y.Close()}}),v=()=>L(this,null,function*(){const y=st({},d.value);delete y.encryptSelects,delete y.hwmodeSelects,delete y.disabled,delete y.txpower;const{data:f}=yield G.Quickwifi.Edit.POST(y),{error:F,success:w}=f;if(F)throw F;(w==null||w==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}),b=()=>L(this,null,function*(){if(c.value)return;c.value=!0;const y=$.Loading("\u914D\u7F6E\u4E2D...");try{yield v(),yield n("getData")}catch(f){const F=$.Error(`${f}`);setTimeout(()=>{F.Close()},2e3)}finally{y.Close(),c.value=!1}});return(y,f)=>(r(),s("form",{class:"form-container",onSubmit:ft(b,["prevent"])},[t("div",gz,[t("div",vz,[t("span",null,i(e(l)("\u542F\u7528Wi-Fi")),1)]),t("div",bz,[t("div",hz,[t("label",null,[O(t("input",{type:"radio",value:!1,"onUpdate:modelValue":f[0]||(f[0]=F=>d.value.disabled=F),disabled:e(c)},null,8,_z),[[Bt,d.value.disabled]]),dt(" "+i(e(l)("\u5F00\u542F")),1)]),t("label",null,[O(t("input",{type:"radio",value:!0,"onUpdate:modelValue":f[1]||(f[1]=F=>d.value.disabled=F),disabled:e(c)},null,8,xz),[[Bt,d.value.disabled]]),dt(" "+i(e(l)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:g},[t("div",{class:lt(["switch-core",{"is-checked":!d.value.disabled,"is-disabled":e(c)}])},kz,2)])])]),d.value.isGuest?D("",!0):(r(),s("div",yz,[t("div",Fz,[t("span",null,i(e(l)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",Ez,[O(t("select",{"onUpdate:modelValue":f[2]||(f[2]=F=>d.value.txpower=F),disabled:e(c),onChange:p},[t("option",Cz,i(e(l)("\u6700\u5927")),1),t("option",Dz,i(e(l)("\u9AD8")),1),t("option",Bz,i(e(l)("\u4E2D")),1),t("option",Yz,i(e(l)("\u4F4E")),1)],40,$z),[[pt,d.value.txpower]]),e(c)?D("",!0):(r(),s("div",Az))])])),t("div",Sz,[t("div",zz,[t("span",null,i(e(l)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",Pz,[O(t("input",{"onUpdate:modelValue":f[3]||(f[3]=F=>d.value.ssid=F),disabled:e(c),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,Tz),[[at,d.value.ssid]])])]),t("div",Iz,[t("div",Mz,[t("span",null,i(e(l)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",Lz,[O(t("select",{"onUpdate:modelValue":f[4]||(f[4]=F=>d.value.encryption=F),disabled:e(c)},[(r(!0),s(U,null,tt(d.value.encryptSelects,F=>(r(),s("option",{value:F},i(F),9,Nz))),256))],8,Oz),[[pt,d.value.encryption]]),e(c)?D("",!0):(r(),s("div",Vz))])]),t("div",Gz,[t("div",jz,[t("span",null,i(e(l)("Wi-Fi \u5BC6\u7801")),1)]),t("div",Uz,[O(t("input",{"onUpdate:modelValue":f[5]||(f[5]=F=>d.value.key=F),class:"password_input",type:k.value?"password":"",disabled:e(c),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,qz),[[Ao,d.value.key]]),e(c)?D("",!0):(r(),s("div",{key:0,onClick:f[6]||(f[6]=F=>k.value=!k.value)},[k.value?(r(),s("svg",Rz,Hz)):(r(),s("svg",Jz,Kz))]))])]),t("div",Qz,[t("div",Xz,[t("span",null,i(e(l)("SSID \u53EF\u89C1\u6027")),1)]),t("div",tP,[O(t("select",{"onUpdate:modelValue":f[7]||(f[7]=F=>d.value.hidden=F),disabled:e(c)},[t("option",aP,i(e(l)("\u663E\u793A")),1),t("option",oP,i(e(l)("\u9690\u85CF")),1)],8,eP),[[pt,d.value.hidden]]),e(c)?D("",!0):(r(),s("div",nP))])]),d.value.isGuest?D("",!0):(r(),s("div",iP,[t("div",rP,[t("span",null,i(e(l)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",sP,[O(t("select",{"onUpdate:modelValue":f[8]||(f[8]=F=>d.value.hwmode=F),disabled:e(c)},[(r(!0),s(U,null,tt(d.value.hwmodeSelects,F=>(r(),s("option",{value:F},i(F),9,lP))),256))],8,dP),[[pt,d.value.hwmode]]),e(c)?D("",!0):(r(),s("div",uP))])])),d.value.isGuest?D("",!0):(r(),s("div",cP,[t("div",pP,[t("span",null,i(e(l)("\u9891\u5BBD")),1)]),t("div",fP,[O(t("select",{"onUpdate:modelValue":f[9]||(f[9]=F=>d.value.htmode=F),disabled:e(c)},[gP,vP,d.value.band==="2g"?(r(),s("option",bP," 20/40 MHz ")):D("",!0),d.value.band==="5g"?(r(),s("option",hP," 80 MHz ")):D("",!0),d.value.band==="5g"?(r(),s("option",_P," 160 MHz ")):D("",!0)],8,mP),[[pt,d.value.htmode]]),e(c)?D("",!0):(r(),s("div",xP))])])),d.value.isGuest?D("",!0):(r(),s("div",wP,[t("div",kP,[t("span",null,i(e(l)("\u4FE1\u9053")),1)]),t("div",yP,[d.value.band==="2g"?O((r(),s("select",{key:0,"onUpdate:modelValue":f[10]||(f[10]=F=>d.value.channel=F),disabled:e(c)},[t("option",EP,i(e(l)("\u81EA\u52A8")),1),(r(),s(U,null,tt(13,F=>t("option",{value:F},i(F),9,$P)),64))],8,FP)),[[pt,d.value.channel,void 0,{number:!0}]]):D("",!0),d.value.band==="5g"?O((r(),s("select",{key:1,"onUpdate:modelValue":f[11]||(f[11]=F=>d.value.channel=F),disabled:e(c)},[t("option",DP,i(e(l)("\u81EA\u52A8")),1),BP],8,CP)),[[pt,d.value.channel,void 0,{number:!0}]]):D("",!0),e(c)?D("",!0):(r(),s("div",YP))])])),d.value.isGuest?D("",!0):(r(),s("div",AP,[t("div",SP,[t("span",null,i(e(l)("\u7F51\u7EDC")),1)]),t("div",zP,[O(t("input",{type:"text",placeholder:e(l)("\u8BF7\u914D\u7F6E\u7F51\u7EDC\u540D\u79F0"),required:"","onUpdate:modelValue":f[12]||(f[12]=F=>d.value.network=F),disabled:e(c)},null,8,PP),[[at,d.value.network]])])])),t("div",TP,[t("button",{class:"btn primary-btn",disabled:e(c),onClick:b},i(e(l)("\u4FDD\u5B58\u914D\u7F6E")),9,IP)])],40,mz))}});var LP=N(MP,[["__scopeId","data-v-2b19eb04"]]);const qe=o=>(ut("data-v-42d0731d"),o=o(),ct(),o),OP={id:"page",class:"page-container"},NP={class:"mobile-tags-container"},VP={class:"tags-wrapper"},GP={class:"tags-scroll"},jP=["onClick"],UP={class:"more-btn-wrapper"},qP=qe(()=>t("div",{class:"fade-overlay"},null,-1)),RP=qe(()=>t("div",{class:"line"},null,-1)),WP=qe(()=>t("div",{class:"line"},null,-1)),HP=qe(()=>t("div",{class:"line"},null,-1)),JP=[RP,WP,HP],ZP={class:"page-flex"},KP={class:"page-sidebar"},QP=["onClick"],XP={class:"page-main"},tT={class:"popup-content"},eT={class:"popup-tags"},aT=["onClick"],oT={class:"popup-footer"},nT=I({setup(o){var F;const{$gettext:n}=J(),a=E(!1);So("disabled",a);const l=E([]),u=Te(),d=Pe(),c=E(String((F=u==null?void 0:u.query)==null?void 0:F.tab)),k=E(!1),g=w=>{var h;return(h=w.band)==null?void 0:h.toUpperCase()},p=w=>w.isGuest?w.band+"_Guest":w.ssid,m=w=>{a.value||(c.value=p(w),k.value=!1,c.value!==u.query.tab&&d.push({query:{tab:c.value}}))},v=E(),b=w=>{a.value||(v.value=p(w))},y=()=>{k.value=!1,v.value!==u.query.tab&&d.push({query:{tab:v.value}})};$t(()=>k.value,w=>{w?v.value=c.value:c.value=v.value});const f=()=>L(this,null,function*(){try{const{data:w}=yield G.Quickwifi.List.GET(),{error:h,result:_}=w;if(h)throw h;_!=null&&_.ifaces&&(l.value=_.ifaces.map(C=>vt(st({},C),{hidden:C.hidden||!1,disabled:C.disabled||!1,isGuest:C.isGuest||!1,channel:C.channel||0,txpower:C.txpower||0,ifaceIndex:C.ifaceIndex||0})));let x=!1;for(let C=0;C0&&m(l.value[0])}catch(w){console.log(w)}});return f(),(w,h)=>(r(),s("div",OP,[t("div",NP,[t("div",VP,[t("div",GP,[(r(!0),s(U,null,tt(l.value,_=>(r(),s("div",{key:p(_),class:lt(c.value===p(_)?"tag-item active":"tag-item"),onClick:ft(x=>m(_),["stop"])},i(g(_))+" "+i(_.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(_.ifaceIndex?`[${_.ifaceIndex}]`:""),11,jP))),128))]),t("div",UP,[qP,t("div",{class:"more-btn",onClick:h[0]||(h[0]=_=>k.value=!0)},JP)])])]),t("div",ZP,[t("div",KP,[(r(!0),s(U,null,tt(l.value,_=>(r(),s("div",{key:p(_),class:lt(c.value===p(_)?"item activeItem":"item"),onClick:ft(x=>m(_),["stop"])},i(g(_))+" "+i(_.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(_.ifaceIndex?`[${_.ifaceIndex}]`:""),11,QP))),128))]),t("div",XP,[(r(!0),s(U,null,tt(l.value,_=>(r(),s(U,{key:p(_)},[c.value===p(_)?(r(),Z(LP,{key:0,data:_,onGetData:f},null,8,["data"])):D("",!0)],64))),128))])]),k.value?(r(),s("div",{key:0,class:"popup-overlay",onClick:h[2]||(h[2]=ft(_=>k.value=!1,["self"]))},[t("div",tT,[t("div",eT,[(r(!0),s(U,null,tt(l.value,_=>(r(),s("div",{key:p(_),class:lt(v.value===p(_)?"popup-tag-item active":"popup-tag-item"),onClick:ft(x=>b(_),["stop"])},i(g(_))+" "+i(_.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(_.ifaceIndex?`[${_.ifaceIndex}]`:""),11,aT))),128))]),t("div",oT,[t("button",{class:"cancel-btn",onClick:h[1]||(h[1]=_=>k.value=!1)},i(e(n)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:y},i(e(n)("\u786E\u5B9A")),1)])])])):D("",!0)]))}});var iT=N(nT,[["__scopeId","data-v-42d0731d"]]);const rT=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",fo=zo({history:Po(rT()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:fh},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:vh,children:[{path:"",component:Zh},{path:"pppoe",component:__},{path:"dhcp",component:nx},{path:"gateway",component:Hx}]},{path:"/quickwifi",component:iT},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:by},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:Ey,children:[{path:"",component:$$},{path:"task",component:V$},{path:"log",component:q$}]},{path:"/interfaceconfig",component:eD},{path:"/devicemanagement",component:mS},{path:"/networkSpeedTest",component:fz}]});fo.beforeEach((o,n)=>(o.meta.title,!0));const Ct=xt(sn);Ct.component("svg-menu",mn);Ct.component("svg-system",xn);Ct.component("svg-download",$n);Ct.component("svg-store",Pn);Ct.component("svg-info",Nn);Ct.component("svg-disk",ui);Ct.component("svg-nav",vi);Ct.component("progress-item",Ua);Ct.component("svg-view-show",Ni);Ct.component("svg-view-hidden",Ri);Ct.component("article-item",Xi);Ct.component("switch-box",qa);Ct.component("editable-select",Zt);Ct.use(Ra);Ct.use(fo);Ct.use(To());Mo(Ct).finally(()=>Ct.mount("#app"))});export default sT(); diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/style.css b/luci-app-quickstart/htdocs/luci-static/quickstart/style.css index ad3e095a..2c4d53ec 100644 --- a/luci-app-quickstart/htdocs/luci-static/quickstart/style.css +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/style.css @@ -1,2 +1,2 @@ -@keyframes bganimation-41cbce66{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-41cbce66{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-41cbce66{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-41cbce66]{animation:rotateEnter-41cbce66 .7s;position:relative}.rotate-leave-active[data-v-41cbce66]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-41cbce66]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-41cbce66]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-41cbce66]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-2d97dedc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2d97dedc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2d97dedc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2d97dedc]{animation:rotateEnter-2d97dedc .7s;position:relative}.rotate-leave-active[data-v-2d97dedc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2d97dedc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-2d97dedc]{width:100%}#main[data-v-2d97dedc],#main[data-v-2d97dedc] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@keyframes bganimation-3ee635ef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ee635ef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ee635ef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ee635ef]{animation:rotateEnter-3ee635ef .7s;position:relative}.rotate-leave-active[data-v-3ee635ef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ee635ef]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-3ee635ef]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-3ee635ef]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-54af3568{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-54af3568{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-54af3568{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-54af3568]{animation:rotateEnter-54af3568 .7s;position:relative}.rotate-leave-active[data-v-54af3568]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-54af3568]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-54af3568]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-54af3568]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-54af3568],label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-54af3568]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-54af3568]{display:none!important}label.checkbox_switch svg[data-v-54af3568]{height:1em;width:2em}article[data-v-995510fc]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-995510fc]{max-width:33.333%}}@keyframes bganimation-995510fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-995510fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-995510fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-995510fc]{animation:rotateEnter-995510fc .7s;position:relative}.rotate-leave-active[data-v-995510fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-995510fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-995510fc]{max-width:50%}}@keyframes bganimation-782f97c0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-782f97c0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-782f97c0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-782f97c0]{animation:rotateEnter-782f97c0 .7s;position:relative}.rotate-leave-active[data-v-782f97c0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-782f97c0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-782f97c0]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-782f97c0]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-782f97c0]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-782f97c0]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-782f97c0] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-782f97c0] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-782f97c0] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-782f97c0]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-782f97c0]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-782f97c0]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-782f97c0]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-782f97c0]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-782f97c0]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-782f97c0]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-782f97c0]{background-color:#439c07}@keyframes bganimation-c446588c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c446588c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c446588c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c446588c]{animation:rotateEnter-c446588c .7s;position:relative}.rotate-leave-active[data-v-c446588c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c446588c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-c446588c]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-c446588c],.select-editable input[data-v-c446588c]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-c446588c]{position:relative;width:100%}.select-editable input[data-v-c446588c]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-c446588c]:focus,.select-editable input[data-v-c446588c]:focus{outline:none;box-shadow:none}@keyframes bganimation-47c6049a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-47c6049a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-47c6049a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-47c6049a]{animation:rotateEnter-47c6049a .7s;position:relative}.rotate-leave-active[data-v-47c6049a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-47c6049a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-47c6049a{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-47c6049a]{animation:turn-47c6049a 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-47c6049a]{width:100%;height:100%}.quick-loading svg path[data-v-47c6049a]{fill:#fff}@keyframes bganimation-0cc5bf50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0cc5bf50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0cc5bf50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0cc5bf50]{animation:rotateEnter-0cc5bf50 .7s;position:relative}.rotate-leave-active[data-v-0cc5bf50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0cc5bf50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-0cc5bf50]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-0cc5bf50]{width:22px;height:22px}a:hover svg path[data-v-0cc5bf50]{fill:#3688ff}.reusable-card[data-v-7af4a3d5]{border:1px solid;border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;display:flex;flex-direction:column;gap:12px;border:1px solid var(--border-color);background:var(--card-bg-color)}.card-header[data-v-7af4a3d5]{display:flex;justify-content:space-between;align-items:center}.card-header .left[data-v-7af4a3d5]{display:flex;align-items:center;gap:8px}.card-header[data-v-7af4a3d5]>svg{width:20px;height:20px}.title[data-v-7af4a3d5]{font-size:16px;font-weight:600;line-height:1;color:var(--app-container_title-color)}.settings-btn[data-v-7af4a3d5]{cursor:pointer}.card-body[data-v-7af4a3d5]{flex:1 1 auto}.card-footer[data-v-7af4a3d5]{display:flex;justify-content:center}.footer-btn[data-v-7af4a3d5]{display:inline-flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;border:1px solid var(--btn-border-color);justify-content:center;cursor:pointer;width:100%;max-width:600px;margin-top:16px}.footer-icon[data-v-7af4a3d5]{display:inline-flex;align-items:center}.footer-text[data-v-7af4a3d5]{font-size:14px;font-weight:400;color:var(--app-container_title-color)}.settings-icon[data-v-7af4a3d5]{width:20px;height:20px}.settings-icon[data-v-7af4a3d5] svg,.settings-icon[data-v-7af4a3d5] g,.settings-icon[data-v-7af4a3d5] path,.settings-icon[data-v-7af4a3d5] circle,.settings-icon[data-v-7af4a3d5] rect,.settings-icon[data-v-7af4a3d5] line,.settings-icon[data-v-7af4a3d5] polyline,.settings-icon[data-v-7af4a3d5] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}.settings-wrapper[data-v-7af4a3d5]{position:relative}.dropdown-menu[data-v-7af4a3d5]{position:absolute;top:38px;right:0;background:#fff;border-radius:6px;padding:16px 0;min-width:220px;box-shadow:0 4px 12px #0003;z-index:10}.fade-enter-active[data-v-7af4a3d5],.fade-leave-active[data-v-7af4a3d5]{transition:opacity .2s}.fade-enter-from[data-v-7af4a3d5],.fade-leave-to[data-v-7af4a3d5]{opacity:0}.dropdown-menu[data-v-7af4a3d5] div{display:block;width:100%;text-align:center;padding:8px 0;border:none;background:none;cursor:pointer;font-size:14px;color:#333;transition:background .2s,color .2s}.dropdown-menu[data-v-7af4a3d5] div:hover{background-color:#eee}@keyframes bganimation-7af4a3d5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7af4a3d5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7af4a3d5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7af4a3d5]{animation:rotateEnter-7af4a3d5 .7s;position:relative}.rotate-leave-active[data-v-7af4a3d5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7af4a3d5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.reusable-card[data-v-7af4a3d5]{padding:10px;border-radius:6px}.title[data-v-7af4a3d5]{font-size:14px}.footer-btn[data-v-7af4a3d5]{margin-top:6px}.dropdown-menu[data-v-7af4a3d5]{padding:8px 0;min-width:150px}}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-a96d68d4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a96d68d4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a96d68d4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a96d68d4]{animation:rotateEnter-a96d68d4 .7s;position:relative}.rotate-leave-active[data-v-a96d68d4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a96d68d4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-a96d68d4]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-a96d68d4]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-a96d68d4],#actioner[data-v-a96d68d4] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-a96d68d4]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-a96d68d4]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-a96d68d4]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-a96d68d4]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-a96d68d4] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-a96d68d4] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-a96d68d4]:hover{opacity:.9}.action-container .action-container_body[data-v-a96d68d4]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}@keyframes bganimation-0bd83418{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0bd83418{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0bd83418{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0bd83418]{animation:rotateEnter-0bd83418 .7s;position:relative}.rotate-leave-active[data-v-0bd83418]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0bd83418]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-0bd83418]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-0bd83418]{flex:auto}ul.disk-item .disk-item_icon[data-v-0bd83418]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-0bd83418]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-0bd83418]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-0bd83418]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-0bd83418]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-0bd83418]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-0bd83418],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-0bd83418]{width:100%}ul.disk-item li.disk-info.on[data-v-0bd83418]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-0bd83418]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-0bd83418]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-0bd83418]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-0bd83418]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-0bd83418]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-0bd83418]{border-left:3px solid #ff9c08;background-color:#ecf5ff}@keyframes bganimation-48bf84c6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-48bf84c6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-48bf84c6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-48bf84c6]{animation:rotateEnter-48bf84c6 .7s;position:relative}.rotate-leave-active[data-v-48bf84c6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-48bf84c6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-48bf84c6{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-48bf84c6]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-48bf84c6]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-48bf84c6]{width:100%;height:100%}.toast div.icon svg path[data-v-48bf84c6]{fill:#fff}.toast .loading[data-v-48bf84c6]{animation:turn-48bf84c6 1s steps(12,end) infinite}.toast .message[data-v-48bf84c6]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}.action .action-footer button[data-v-3dae3be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-3dae3be2]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-3dae3be2]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-3dae3be2]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-3dae3be2]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-3dae3be2]{flex:auto}.action.format .disk-list[data-v-3dae3be2]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-3dae3be2]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-3dae3be2]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-3dae3be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-3dae3be2]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-3dae3be2]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-3dae3be2],.action.format .label-item .label-item_value input[data-v-3dae3be2]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-3dae3be2]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-3dae3be2]{flex:auto}.action.format p.msg[data-v-3dae3be2]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-3dae3be2]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-3dae3be2]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-3dae3be2]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-3dae3be2]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-3dae3be2]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-3dae3be2]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-3dae3be2]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-3dae3be2]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-3dae3be2]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-3dae3be2]{color:#0000fb}.action.result .btns[data-v-3dae3be2]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-3dae3be2]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-3dae3be2]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-3dae3be2]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-3dae3be2]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-3dae3be2]{width:100%}}.action .action-footer button[data-v-b222ef5e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-b222ef5e]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.list .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.format .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b222ef5e]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b222ef5e]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b222ef5e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b222ef5e]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b222ef5e]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b222ef5e],.action.format .label-item .label-item_value input[data-v-b222ef5e]{width:100%;height:36px}.action.format .auto[data-v-b222ef5e]{flex:auto}.action.format p.msg[data-v-b222ef5e]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b222ef5e]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b222ef5e]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b222ef5e]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b222ef5e]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-b222ef5e]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-b222ef5e]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-b222ef5e]{color:#f70324}.action.result .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-b222ef5e]{flex:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-b222ef5e]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-b222ef5e]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-b222ef5e]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-b222ef5e]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-b222ef5e]{width:80%}}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-45926ac6]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-45926ac6]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-45926ac6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-45926ac6]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-45926ac6]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-45926ac6]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@keyframes bganimation-2b3974a4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b3974a4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b3974a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b3974a4]{animation:rotateEnter-2b3974a4 .7s;position:relative}.rotate-leave-active[data-v-2b3974a4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b3974a4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2b3974a4]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2b3974a4]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2b3974a4]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2b3974a4]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2b3974a4]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2b3974a4]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2b3974a4]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2b3974a4],.action .action-body .label-item .label-item_value input[data-v-2b3974a4]{width:100%;height:36px}.action .action-footer[data-v-2b3974a4]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2b3974a4]{flex:auto}.action .action-footer button[data-v-2b3974a4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-88275da0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-88275da0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-88275da0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-88275da0]{animation:rotateEnter-88275da0 .7s;position:relative}.rotate-leave-active[data-v-88275da0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-88275da0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-88275da0]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-88275da0]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-88275da0]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-88275da0]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-88275da0]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-88275da0]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-88275da0]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-88275da0]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-88275da0]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-88275da0],.action .action-body .label-item .label-item_value input[data-v-88275da0]{width:100%;height:36px}.action .action-body .samba-item[data-v-88275da0]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-88275da0]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-88275da0]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-88275da0]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-88275da0]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-88275da0]{margin-left:10px}.action .action-footer[data-v-88275da0]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-88275da0]{flex:auto}.action .action-footer button[data-v-88275da0]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3f686017]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-3f686017]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-3f686017]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-3f686017]{width:100%;display:block;padding:2rem 0}.action form label[data-v-3f686017]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-3f686017],.action form label select[data-v-3f686017]{width:100%;display:block;height:42px}.action .btns[data-v-3f686017]{width:100%;margin-top:3rem}.action .btns button[data-v-3f686017]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-3f686017]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-3f686017]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-3f686017]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-3f686017],.action li.disk-item .disk-item_f .disk-item_used[data-v-3f686017]{width:100%}.action .tips[data-v-3f686017]{float:right;font-size:.8em}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-3f686017]{font-size:2em}}@keyframes bganimation-376759fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-376759fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-376759fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-376759fb]{animation:rotateEnter-376759fb .7s;position:relative}.rotate-leave-active[data-v-376759fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-376759fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-376759fb]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-376759fb]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.aria2-item .aria2-item_value[data-v-376759fb]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-376759fb]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-376759fb]{color:#888}.use-url_app[data-v-376759fb]{padding-bottom:14px}.use-url_app a[data-v-376759fb]{text-decoration:none;color:#297ff3}@keyframes bganimation-086db06c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-086db06c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-086db06c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-086db06c]{animation:rotateEnter-086db06c .7s;position:relative}.rotate-leave-active[data-v-086db06c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-086db06c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-086db06c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-086db06c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.qbittorrent-item .qbittorrent-item_value[data-v-086db06c]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-086db06c]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-086db06c]{color:#888}a[data-v-086db06c]{text-decoration:none;color:#297ff3}@keyframes bganimation-3232162a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3232162a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3232162a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3232162a]{animation:rotateEnter-3232162a .7s;position:relative}.rotate-leave-active[data-v-3232162a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3232162a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-3232162a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-3232162a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.transmission-item .transmission-item_value[data-v-3232162a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-3232162a]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-3232162a]{color:#888}a[data-v-3232162a]{text-decoration:none;color:#297ff3}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-395b81d2]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-395b81d2]{color:#999;font-size:14px}.action input[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-395b81d2]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-395b81d2]{width:100%}.action form label input[data-v-395b81d2],.action form label select[data-v-395b81d2]{height:100%;font-size:14px}.action .myinput_wrap[data-v-395b81d2],.action .RPC_input[data-v-395b81d2]{width:85%}.action .myinput_wrap textarea[data-v-395b81d2]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-395b81d2]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-395b81d2]{margin-right:10px}.action .input_row .radios input[data-v-395b81d2],.action .input_row .radios label[data-v-395b81d2]{cursor:pointer}.action .Tracker label[data-v-395b81d2]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-395b81d2]{padding:6px 2px}.action .btns[data-v-395b81d2]{width:100%;margin:42px auto 0}.action .btns button[data-v-395b81d2]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-395b81d2]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-395b81d2]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-395b81d2]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-395b81d2]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-395b81d2]{visibility:visible;opacity:1}.action .tooltip-top[data-v-395b81d2]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-395b81d2]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-395b81d2]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-395b81d2]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-395b81d2]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-395b81d2]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-395b81d2]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-395b81d2]{text-align:center;font-size:14px}.action .finished[data-v-395b81d2]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-395b81d2]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-395b81d2]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-395b81d2]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-395b81d2]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-395b81d2]:focus,.select-editable input[data-v-395b81d2]:focus{outline:none}[data-v-395b81d2]::placeholder{color:#999}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-395b81d2]{width:100%}.action .input_row[data-v-395b81d2]{display:block}.action .input_row .myinput_wrap[data-v-395b81d2],.action .input_row .RPC_input[data-v-395b81d2]{width:100%}}@keyframes bganimation-5db0f73b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5db0f73b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5db0f73b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5db0f73b]{animation:rotateEnter-5db0f73b .7s;position:relative}.rotate-leave-active[data-v-5db0f73b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5db0f73b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-5db0f73b]{width:1.3rem;height:1.3rem}.icon1[data-v-5db0f73b]{width:1rem;height:1rem}.icon2[data-v-5db0f73b]{width:1.5rem;height:1.5rem;margin-bottom:12px}[data-v-5db0f73b] .downloadIcon path{fill:var(--app-container_title-color)!important}a[data-v-5db0f73b]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-5db0f73b]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .tab[data-v-5db0f73b]{display:flex;gap:8px}.content .tab .item[data-v-5db0f73b]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer;border:2px solid transparent;box-sizing:border-box}.content .tab .item .title[data-v-5db0f73b]{margin-bottom:8px}.content .tab .item>span[data-v-5db0f73b]{font-size:12px}.content .tab .active[data-v-5db0f73b]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-5db0f73b]{background-color:#fff7ed;color:#ca3500}.content .tab .memory[data-v-5db0f73b]{background-color:#f9fafb;color:#364153}.content .tab .network[data-v-5db0f73b]{background-color:#f0fdfa;color:#277881}.btn_settings[data-v-5db0f73b]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-5db0f73b]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-5db0f73b]{transform:rotate(90deg)}@keyframes bganimation-5db0f73b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5db0f73b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5db0f73b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5db0f73b]{animation:rotateEnter-5db0f73b .7s;position:relative}.rotate-leave-active[data-v-5db0f73b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5db0f73b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-5db0f73b]{margin:10px 0}}@keyframes bganimation-73552138{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-73552138{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-73552138{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-73552138]{animation:rotateEnter-73552138 .7s;position:relative}.rotate-leave-active[data-v-73552138]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-73552138]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-73552138]{text-align:center;margin-bottom:20px}.label-item[data-v-73552138]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-73552138]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-73552138]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-73552138]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b9ee57da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b9ee57da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b9ee57da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b9ee57da]{animation:rotateEnter-b9ee57da .7s;position:relative}.rotate-leave-active[data-v-b9ee57da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b9ee57da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b9ee57da]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b9ee57da]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b9ee57da]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{text-align:center}.actioner-container_body .body-info[data-v-b9ee57da]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b9ee57da]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b9ee57da]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-aefb6fdc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aefb6fdc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-aefb6fdc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-aefb6fdc]{animation:rotateEnter-aefb6fdc .7s;position:relative}.rotate-leave-active[data-v-aefb6fdc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aefb6fdc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-aefb6fdc]{width:100%;height:100%;border:none}@keyframes bganimation-0e2b47e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0e2b47e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0e2b47e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0e2b47e6]{animation:rotateEnter-0e2b47e6 .7s;position:relative}.rotate-leave-active[data-v-0e2b47e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0e2b47e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-0e2b47e6]{width:100%;height:100%;border:none}@keyframes bganimation-29e2aec8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-29e2aec8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-29e2aec8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-29e2aec8]{animation:rotateEnter-29e2aec8 .7s;position:relative}.rotate-leave-active[data-v-29e2aec8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-29e2aec8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-29e2aec8]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-29e2aec8]{width:100px;height:100px}.actioner-container_body .body-title[data-v-29e2aec8]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-29e2aec8]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-29e2aec8]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-29e2aec8]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-29e2aec8]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-169b4450{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169b4450{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169b4450{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169b4450]{animation:rotateEnter-169b4450 .7s;position:relative}.rotate-leave-active[data-v-169b4450]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169b4450]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-169b4450]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-6590a3fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6590a3fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6590a3fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6590a3fa]{animation:rotateEnter-6590a3fa .7s;position:relative}.rotate-leave-active[data-v-6590a3fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6590a3fa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-6590a3fa]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-3b80943c]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-3b80943c] .actioner-container{width:100%}.action-main[data-v-3b80943c] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-3b80943c]{width:90%}}@keyframes bganimation-145a3c50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-145a3c50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-145a3c50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-145a3c50]{animation:rotateEnter-145a3c50 .7s;position:relative}.rotate-leave-active[data-v-145a3c50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-145a3c50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-145a3c50]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-145a3c50]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-145a3c50]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-145a3c50]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-145a3c50]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-145a3c50]:hover{opacity:.8}.action .clear[data-v-145a3c50]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-145a3c50]:hover{opacity:.8}@keyframes bganimation-2c659599{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c659599{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c659599{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c659599]{animation:rotateEnter-2c659599 .7s;position:relative}.rotate-leave-active[data-v-2c659599]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c659599]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-2c659599]{display:block;width:100%;text-align:center}.title_info p[data-v-2c659599]{font-size:20px;margin-bottom:10px}.label-item[data-v-2c659599]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-2c659599]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-2c659599]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-2c659599]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-2c659599]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-2c659599],.label-item .label-item_value input[data-v-2c659599]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-2c659599]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-2c659599]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-2c659599]{margin-left:8px}.label-message[data-v-2c659599]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-8a1e6470]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-8a1e6470] .actioner-container{width:100%}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.ali,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-8a1e6470]{width:90%}}@keyframes bganimation-80af9852{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-80af9852{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-80af9852{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-80af9852]{animation:rotateEnter-80af9852 .7s;position:relative}.rotate-leave-active[data-v-80af9852]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-80af9852]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-80af9852] .footer-btn{background:var(--card-bg-color);border:1px solid var(--btn-border-color)}[data-v-80af9852] .reusable-card{background:#fff5ee!important;border:1px solid #ffd6a7!important}[data-v-80af9852] .earthIcon path{fill:var(--app-container_title-color)!important}.icon[data-v-80af9852]{width:1.3rem;height:1.3rem}.icon1[data-v-80af9852]{width:1rem;height:1rem}.icon2[data-v-80af9852]{width:1.5rem;height:1.5rem;margin-bottom:8px}.icon3[data-v-80af9852]{width:1.5rem;height:1.5rem;cursor:pointer}a[data-v-80af9852]{text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-80af9852]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400;padding:0 12px}.content .tab[data-v-80af9852]{display:flex;gap:8px}.content .tab .item[data-v-80af9852]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer;border:2px solid transparent;box-sizing:border-box}.content .tab .item .title[data-v-80af9852]{margin-bottom:8px}.content .tab .item>span[data-v-80af9852]{font-size:12px}.content .tab .active[data-v-80af9852]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-80af9852]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-80af9852]{background-color:#f0fdf4;color:#008236}.content .tab .network[data-v-80af9852]{background-color:#f9fafb;color:#4a5565}.content .info[data-v-80af9852]{margin-top:20px}.content .info .status[data-v-80af9852]{padding:20px 0 0;margin-top:16px;display:flex;justify-content:space-between;border-top:1px solid var(--btn-border-color)}.content .info .status .offline[data-v-80af9852]{background:#eceef2;color:#030213}.content .info .status>div[data-v-80af9852]{color:var(--app-container_title-color);font-size:16px}.content .info .status>span[data-v-80af9852]{color:#fff;padding:4px 8px;background:#030213;border-radius:6px;font-size:12px}.content .info .title_box[data-v-80af9852]{margin:20px 0}.content .info .title_box .title[data-v-80af9852]{color:var(--item-label_key-span-color);margin-bottom:10px}.content .info .title_box .path[data-v-80af9852]{display:flex;align-items:center;justify-content:space-between;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .info .title_box .path>span[data-v-80af9852]{display:inline-block;padding:4px 8px;border:1px solid #553afb;font-size:12px;border-radius:4px;cursor:pointer;flex-shrink:0}.content .info .title_box .path>span>a[data-v-80af9852]{color:#553afb}.btn_settings[data-v-80af9852]{padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}@keyframes bganimation-80af9852{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-80af9852{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-80af9852{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-80af9852]{animation:rotateEnter-80af9852 .7s;position:relative}.rotate-leave-active[data-v-80af9852]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-80af9852]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-80af9852]{margin:10px 0 0;padding:4px}.content .info[data-v-80af9852]{margin-top:10px}.content .info .status[data-v-80af9852]{padding-top:10px}.content .info .title_box[data-v-80af9852]{margin:10px 0}}@keyframes bganimation-243be5d3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-243be5d3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-243be5d3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-243be5d3]{animation:rotateEnter-243be5d3 .7s;position:relative}.rotate-leave-active[data-v-243be5d3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-243be5d3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-243be5d3]{width:1.5rem;height:1.5rem;margin-right:6px}.display_flex[data-v-243be5d3]{display:flex;align-items:center}.network_container[data-v-243be5d3]{border:1px solid var(--border-color);border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;background:var(--card-bg-color);height:100%;display:flex;flex-direction:column;min-height:0}.network_container .title_box[data-v-243be5d3]{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;flex-shrink:0}.network_container .title_box>span[data-v-243be5d3]{font-size:16px;font-weight:600}.network_container .title_box .network_tag[data-v-243be5d3]{display:flex;align-items:center}.network_container .title_box .network_tag .tag_item[data-v-243be5d3]{display:flex;align-items:center;font-size:12px;margin-left:16px}.network_container .title_box .network_tag .tag_item>span[data-v-243be5d3]{line-height:1}.network_container .title_box .network_tag .tag_item>div[data-v-243be5d3]{width:12px;height:12px;border-radius:50%;margin-right:6px}.network_container .title_box .network_tag .tag_item .tag_dn[data-v-243be5d3]{background:#20c7f7}.network_container .title_box .network_tag .tag_item .tag_up[data-v-243be5d3]{background:#553afe}.network_container .echart[data-v-243be5d3]{flex:1;min-height:200px;min-width:0}.network_container .speed[data-v-243be5d3]{display:flex;flex-shrink:0}.network_container .speed .speed_item[data-v-243be5d3]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.network_container .speed .speed_item>span[data-v-243be5d3]{font-size:12px;color:#999;margin-bottom:10px}.network_container .speed .speed_item>div[data-v-243be5d3]{font-size:16px;color:#333}.speed_box[data-v-243be5d3]{display:flex;align-items:center;justify-content:flex-end;margin-top:16px}@keyframes bganimation-243be5d3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-243be5d3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-243be5d3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-243be5d3]{animation:rotateEnter-243be5d3 .7s;position:relative}.rotate-leave-active[data-v-243be5d3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-243be5d3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.network_container[data-v-243be5d3]{border-radius:6px;padding:10px}.network_container .title_box[data-v-243be5d3]{margin-bottom:16px}.network_container .title_box>span[data-v-243be5d3]{font-size:14px;font-weight:600}}@keyframes bganimation-2ac87be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2ac87be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2ac87be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2ac87be2]{animation:rotateEnter-2ac87be2 .7s;position:relative}.rotate-leave-active[data-v-2ac87be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2ac87be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-2ac87be2]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2ac87be2]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2ac87be2]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2ac87be2]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2ac87be2]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2ac87be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2ac87be2]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2ac87be2]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2ac87be2],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2ac87be2]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2ac87be2]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2ac87be2]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2ac87be2]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2ac87be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-2ac87be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2ac87be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2ac87be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2ac87be2]{animation:rotateEnter-2ac87be2 .7s;position:relative}.rotate-leave-active[data-v-2ac87be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2ac87be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2ac87be2]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-2ac87be2]{width:100%}}@keyframes bganimation-2deed63d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2deed63d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2deed63d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2deed63d]{animation:rotateEnter-2deed63d .7s;position:relative}.rotate-leave-active[data-v-2deed63d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2deed63d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-2deed63d]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2deed63d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2deed63d]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2deed63d]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2deed63d]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2deed63d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2deed63d]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2deed63d]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2deed63d],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2deed63d]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2deed63d]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2deed63d]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2deed63d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2deed63d]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-2deed63d]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-2deed63d]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-2deed63d]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-2deed63d]:focus,.actioner-dns .select-editable input[data-v-2deed63d]:focus{outline:none}.actioner-dns[data-v-2deed63d] ::placeholder{color:#999}.successed[data-v-2deed63d]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-2deed63d]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-2deed63d]{text-align:center}.docker_moves .moves[data-v-2deed63d]{margin-top:10px}.docker_moves .moves input[data-v-2deed63d]{cursor:pointer}.docker_moves .moves label[data-v-2deed63d]{margin-left:10px;cursor:pointer}.btns[data-v-2deed63d]{text-align:center}.item_info[data-v-2deed63d]{margin-left:10px}.softsource_tit[data-v-2deed63d]{margin:0 auto}.softsource_successed[data-v-2deed63d]{width:20%!important}@keyframes bganimation-2deed63d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2deed63d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2deed63d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2deed63d]{animation:rotateEnter-2deed63d .7s;position:relative}.rotate-leave-active[data-v-2deed63d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2deed63d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2deed63d]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-2deed63d]{width:100%}}@keyframes bganimation-372519da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-372519da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-372519da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-372519da]{animation:rotateEnter-372519da .7s;position:relative}.rotate-leave-active[data-v-372519da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-372519da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-372519da]{width:1.5rem;height:1.5rem}[data-v-372519da] .networkIcon path{fill:var(--app-container_title-color)!important}.flex[data-v-372519da]{display:flex;align-items:center}.info_content[data-v-372519da]{margin:12px 0 4px;height:100%;display:flex;flex-direction:column;justify-content:space-between}.info_content .status_box[data-v-372519da]{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border-color);font-size:14px;line-height:1;margin-bottom:6px}.info_content .status_box .status_name[data-v-372519da]{display:flex;align-items:center;line-height:1}.info_content .status_box .status_name .icon[data-v-372519da]{width:1rem;height:1rem;margin-right:6px}.info_content .status_box .status_time[data-v-372519da]{padding:4px 8px;background:#dbfce7;color:#008236;border-radius:4px}.info_content .ip_item[data-v-372519da]{display:flex;justify-content:space-between;align-items:center}.info_content .ip_item .ip_action[data-v-372519da]{display:flex;align-items:center;gap:8px}.info_content .ip_item .ip_tag[data-v-372519da]{padding:3px 6px;border-radius:6px;border:1px solid #d1d5db;font-size:12px;line-height:1;display:flex;align-items:center}.info_content .ip_item .ip_tag>svg[data-v-372519da]{width:1.3rem;height:1.3rem;vertical-align:middle;margin-right:4px}.info_content .ip_item .device[data-v-372519da]{font-size:14px;color:#155dfc}.info_content .ip_item .delay[data-v-372519da]{font-size:14px;color:#00a663}.info_content .ip_item .download[data-v-372519da]{font-size:14px;color:var(--item-label_key-span-color)}.info_content .line[data-v-372519da]{width:100%;height:1px;background:var(--btn-border-color);margin-bottom:20px}.info_content .line1[data-v-372519da]{width:100%;height:1px;background:var(--btn-border-color);margin:20px 0}.info_content .ip_item[data-v-372519da]:nth-last-child(1){margin-top:20px}.info_content .ip_info[data-v-372519da]{min-height:60px;display:flex;flex-direction:column;justify-content:flex-end}.info_content .ip_info .ip_address[data-v-372519da]{color:var(--item-label_key-span-color);margin-top:10px}.device-manage-btn[data-v-372519da]{border:1px solid var(--btn-border-color);border-radius:6px;background:var(--card-bg-color);color:var(--app-container_title-color);padding:8px 10px 6px;line-height:1;font-size:12px;cursor:pointer;transition:background .2s,transform .1s;display:inline-flex;align-items:center;gap:6px}.device-manage-btn[data-v-372519da]:hover{background:var(--btn-border-hover-color)}.device-manage-btn[data-v-372519da]:active{transform:scale(.97)}.device-manage-icon[data-v-372519da]{width:14px;height:14px;display:inline-block}.btn-primary[data-v-372519da]{background-color:#00b8db;color:#fff;border:none;padding:3px 16px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-primary[data-v-372519da]:hover{background-color:#26a7c7}.btn-primary[data-v-372519da]:active{transform:scale(.95)}.btn-pink[data-v-372519da]{background-color:#f751a9;color:#fff;border:none;padding:3px 12px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-pink[data-v-372519da]:hover{background-color:#e60076}.btn-pink[data-v-372519da]:active{transform:scale(.95)}@keyframes bganimation-372519da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-372519da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-372519da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-372519da]{animation:rotateEnter-372519da .7s;position:relative}.rotate-leave-active[data-v-372519da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-372519da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.flex[data-v-372519da]{flex-direction:column;align-items:flex-start}}@keyframes bganimation-2988896b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2988896b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2988896b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2988896b]{animation:rotateEnter-2988896b .7s;position:relative}.rotate-leave-active[data-v-2988896b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2988896b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-2988896b]{width:1.3rem;height:1.3rem}.icon1[data-v-2988896b],.icon2[data-v-2988896b]{width:1rem;height:1rem}[data-v-2988896b] .interfaceIcon path{fill:var(--app-container_title-color)!important}[data-v-2988896b] .footer-btn{margin-top:6px}.content[data-v-2988896b]{margin-top:6px;padding-bottom:16px;min-height:30px;display:flex;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable both-edges;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.35) transparent}.content[data-v-2988896b]::-webkit-scrollbar{height:6px}.content[data-v-2988896b]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.content .item[data-v-2988896b]{position:relative;display:inline-flex;align-items:center;padding-right:20px;margin-right:16px;cursor:pointer}.content .item[data-v-2988896b]:before{content:"";display:inline-block;position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px!important;height:60%;background:#e0e0e0}.content .item[data-v-2988896b]:last-child:before{content:none}.content .icon_box[data-v-2988896b]{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:8px;background:#dbfce7;margin-right:12px}.content .name[data-v-2988896b]{display:flex;align-items:center;margin-bottom:6px}.content .speed[data-v-2988896b]{padding:4px 6px;background:#dbfce7;font-size:12px;border-radius:6px;line-height:1;color:#008236;margin-left:8px}.content .status[data-v-2988896b]{font-size:12px;color:#6a7282}.content>*[data-v-2988896b]{flex:0 0 auto}[data-v-2988896b] .content::-webkit-scrollbar{height:8px}[data-v-2988896b] .content::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(0,0,0,.35)}[data-v-2988896b] .content::-webkit-scrollbar-track{background:transparent}.btn_settings[data-v-2988896b]{position:relative;padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-2988896b]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-2988896b]{transform:rotate(90deg)}.row input[type=checkbox][data-v-2988896b]{vertical-align:middle;margin:0}.row[data-v-2988896b]{gap:8px;padding:0;margin:6px 0;display:flex;align-items:center}.row>input[data-v-2988896b]{margin-right:6px!important;margin-top:0}[data-v-2988896b] .dropdown-menu div:hover{background:transparent!important}[data-v-2988896b] .dropdown-menu{padding:8px 0}[data-v-2988896b] .dropdown-menu>div{padding:0}@keyframes bganimation-2988896b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2988896b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2988896b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2988896b]{animation:rotateEnter-2988896b .7s;position:relative}.rotate-leave-active[data-v-2988896b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2988896b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-5c684447{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5c684447{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5c684447{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5c684447]{animation:rotateEnter-5c684447 .7s;position:relative}.rotate-leave-active[data-v-5c684447]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5c684447]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.feature-card[data-v-5c684447]{flex:1 1 0;min-width:280px;max-width:350px;padding:14px 14px 20px;border:2px solid var(--border-color);border-radius:10px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;background-color:var(--card-bg-color);display:flex;align-items:flex-start;justify-content:space-between}.feature-card[data-v-5c684447]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.feature-card .badge[data-v-5c684447]{font-size:12px;padding:4px 6px;border-radius:6px;color:#fff;line-height:1}.feature-card .header[data-v-5c684447]{display:flex;align-items:center;gap:6px;margin-bottom:16px}.feature-card .header .icon-wrapper[data-v-5c684447]{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background-color:#999;color:#fff}.feature-card .header .icon-wrapper .icon-svg[data-v-5c684447]{width:24px;height:24px}.feature-card .content .title[data-v-5c684447]{font-weight:700;color:var(--item-label_key-span-color);margin-bottom:8px}.feature-card .content .subtitle[data-v-5c684447]{font-size:14px;color:#666;margin-top:2px}.feature-card .footer[data-v-5c684447]{display:flex;align-items:center;margin-top:12px;font-size:12px}.feature-card .footer .status[data-v-5c684447]{padding:4px 6px;border-radius:6px;background-color:#eee;color:#666;line-height:1;margin-right:6px}.feature-card .footer .status.active[data-v-5c684447]{background-color:#d3f9d8;color:#38a169}.feature-card .footer .extra[data-v-5c684447]{color:inherit}.feature-card .footer .extra .extra_num[data-v-5c684447]{font-size:16px}.feature-card .right-arrow[data-v-5c684447]{width:18px;height:18px;align-self:center}.feature-card.purple .icon-wrapper[data-v-5c684447]{background-color:#ad46ff}.feature-card.purple .badge[data-v-5c684447]{background-color:#f3e8ff;color:#8200db}.feature-card.blue .icon-wrapper[data-v-5c684447]{background-color:#3b82f6}.feature-card.blue .badge[data-v-5c684447]{background-color:#e6effe;color:#3b82f6}.feature-card.blue .right-arrow[data-v-5c684447]{opacity:.8;width:18px;height:18px}.feature-card.green .icon-wrapper[data-v-5c684447],.feature-card.green .badge[data-v-5c684447]{background-color:#22c55e}.feature-card.pink .icon-wrapper[data-v-5c684447]{background-color:#ec4899}.feature-card.pink .badge[data-v-5c684447]{background-color:#f6339a}.feature-card.pink .right-arrow[data-v-5c684447]{color:#f6349b;opacity:.7}.feature-card.skyblue .icon-wrapper[data-v-5c684447]{background-color:#615fff}.feature-card.skyblue .badge[data-v-5c684447]{background-color:#e0e7ff;color:#432dd7}.feature-card.orange .icon-wrapper[data-v-5c684447],.feature-card.orange .badge[data-v-5c684447]{background-color:#f97316}@keyframes bganimation-5c684447{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5c684447{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5c684447{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5c684447]{animation:rotateEnter-5c684447 .7s;position:relative}.rotate-leave-active[data-v-5c684447]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5c684447]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.feature-card[data-v-5c684447]{min-width:180px;padding:10px;border-radius:6px;border:1px solid #e5e5e5;transition:none}.feature-card[data-v-5c684447]:hover{transform:none;box-shadow:none}.feature-card .header[data-v-5c684447]{margin-bottom:8px}.feature-card .content .title[data-v-5c684447]{font-weight:700;color:#333;margin-bottom:4px}.feature-card .footer[data-v-5c684447]{margin-top:6px}}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0d919a1e]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-0d919a1e]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-0d919a1e]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0d919a1e]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0d919a1e]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0d919a1e],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0d919a1e]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-0d919a1e]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-0d919a1e]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-0d919a1e]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-0d919a1e]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-0d919a1e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-0d919a1e]{text-align:center}.setting_status p[data-v-0d919a1e]{margin:10px 0}.setting_status a[data-v-0d919a1e]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-0d919a1e]{margin-top:10px}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-0d919a1e]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-0d919a1e]{width:100%}}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-59ad49e6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-59ad49e6]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-59ad49e6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-59ad49e6]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-59ad49e6]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-59ad49e6]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-59ad49e6]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-59ad49e6]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-59ad49e6]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-59ad49e6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-59ad49e6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-59ad49e6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-59ad49e6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-59ad49e6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-59ad49e6]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-59ad49e6]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-59ad49e6]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-59ad49e6]{margin-top:114px}.timeout span[data-v-59ad49e6],.sandbox_roboot_refresh[data-v-59ad49e6]{color:#5e72e4}option[data-v-59ad49e6]:disabled{background-color:#e0e0e0}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-59ad49e6]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-59ad49e6]{min-height:42vh}.actioner-tips[data-v-59ad49e6]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:3px 10px}}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3e084f0f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-3e084f0f]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-3e084f0f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-3e084f0f]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-3e084f0f]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-3e084f0f]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-3e084f0f]{margin-top:114px}.timeout span[data-v-3e084f0f]{color:#5e72e4}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-3e084f0f]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-3e084f0f]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-3e084f0f]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:12px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:3px 10px}}@keyframes bganimation-00934cf4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-00934cf4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-00934cf4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-00934cf4]{animation:rotateEnter-00934cf4 .7s;position:relative}.rotate-leave-active[data-v-00934cf4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-00934cf4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-00934cf4] .icon{width:1.5rem;height:1.5rem;margin-bottom:12px;display:inline-block;flex:0 0 auto}button[data-v-00934cf4]{margin:0!important}button.item[data-v-00934cf4]:disabled{opacity:1}button.item:disabled svg[data-v-00934cf4],button.item:disabled .icon[data-v-00934cf4]{opacity:1!important;filter:none!important;color:#00b8db!important;stroke:#00b8db!important;fill:#00b8db!important}.item_container[data-v-00934cf4]{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;width:100%;padding-bottom:4px;box-sizing:border-box}.item_container[data-v-00934cf4]::-webkit-scrollbar{height:6px}.item_container[data-v-00934cf4]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.item_container .item[data-v-00934cf4]{position:relative;padding:16px 12px;min-width:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;border-radius:8px;box-sizing:border-box;border:1px solid #e5e7eb;cursor:pointer;color:var(--card-txt-color)}.item_container .app-update-button-more[data-v-00934cf4]{position:absolute;top:4px;right:4px}.item_container .menu_background[data-v-00934cf4]{position:fixed;inset:0}.item_container .renew[data-v-00934cf4]{display:flex;align-items:center}.item_container .renew i[data-v-00934cf4]{display:inline-block;padding:3px;background-color:red;border-radius:50%;margin-right:4px}.item_container .dns_txt[data-v-00934cf4]{display:flex;align-items:center;line-height:1;color:#32325d}.item_container .disabled-style[data-v-00934cf4]{opacity:.6;cursor:not-allowed;pointer-events:none;background-color:#e0e0e0}.item_container .app-update-button-menu[data-v-00934cf4]{position:absolute;z-index:999;width:30%;right:0;top:0}.item_container .app-update-button-menu ul[data-v-00934cf4]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:6px 0;border-radius:6px;top:-45px;right:0;text-align:center;position:absolute;word-break:keep-all}.item_container .app-update-button-menu ul li[data-v-00934cf4]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.item_container .app-update-button-menu ul li .app-update-menu-item[data-v-00934cf4]{padding:5px 2px;white-space:nowrap}.item_container .app-update-button-menu ul li .app-update-menu-item-loading[data-v-00934cf4]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}@keyframes bganimation-00934cf4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-00934cf4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-00934cf4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-00934cf4]{animation:rotateEnter-00934cf4 .7s;position:relative}.rotate-leave-active[data-v-00934cf4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-00934cf4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.item_container[data-v-00934cf4]{display:flex;flex-wrap:wrap;gap:10px;width:100%;padding:0;box-sizing:border-box;justify-content:space-between}.item_container .item[data-v-00934cf4]{width:48%;min-width:120px;flex-shrink:0}}@keyframes bganimation-6c80f0b7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6c80f0b7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6c80f0b7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6c80f0b7]{animation:rotateEnter-6c80f0b7 .7s;position:relative}.rotate-leave-active[data-v-6c80f0b7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6c80f0b7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-6c80f0b7]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.sambas-item .sambas-item_value[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}.app-container_samba li.samba-item[data-v-6c80f0b7]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}.app-container_samba li.samba-item .samba-item_value[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-6c80f0b7]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-6c80f0b7]:hover{opacity:.7}.tit[data-v-6c80f0b7]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-9e39e9b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9e39e9b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9e39e9b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9e39e9b2]{animation:rotateEnter-9e39e9b2 .7s;position:relative}.rotate-leave-active[data-v-9e39e9b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9e39e9b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-9e39e9b2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-9e39e9b2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.webdav-item .webdav-item_value[data-v-9e39e9b2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}@keyframes bganimation-16392cdd{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16392cdd{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16392cdd{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16392cdd]{animation:rotateEnter-16392cdd .7s;position:relative}.rotate-leave-active[data-v-16392cdd]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16392cdd]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-16392cdd]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-16392cdd]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value[data-v-16392cdd]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value .configure[data-v-16392cdd]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-16392cdd]{cursor:pointer}a[data-v-16392cdd]{text-decoration:none;color:#297ff3}@keyframes bganimation-e9c9221c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e9c9221c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e9c9221c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e9c9221c]{animation:rotateEnter-e9c9221c .7s;position:relative}.rotate-leave-active[data-v-e9c9221c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e9c9221c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-e9c9221c]{width:1.3rem;height:1.3rem}.icon1[data-v-e9c9221c]{width:1rem;height:1rem}.icon2[data-v-e9c9221c]{width:1.5rem;height:1.5rem;margin-bottom:12px}.settings-icon[data-v-e9c9221c] svg,.settings-icon[data-v-e9c9221c] g,.settings-icon[data-v-e9c9221c] path,.settings-icon[data-v-e9c9221c] circle,.settings-icon[data-v-e9c9221c] rect,.settings-icon[data-v-e9c9221c] line,.settings-icon[data-v-e9c9221c] polyline,.settings-icon[data-v-e9c9221c] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}a[data-v-e9c9221c]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-e9c9221c]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.content .tab[data-v-e9c9221c]{display:flex;gap:8px}.content .tab .item[data-v-e9c9221c]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer;border:2px solid transparent;box-sizing:border-box}.content .tab .item .title[data-v-e9c9221c]{margin-bottom:8px}.content .tab .item>span[data-v-e9c9221c]{font-size:12px}.content .tab .active[data-v-e9c9221c]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-e9c9221c]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-e9c9221c]{background-color:#dbfce7;color:#008236}.content .tab .network[data-v-e9c9221c]{background-color:#faf5ff;color:#8200db}.btn_settings[data-v-e9c9221c]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-e9c9221c]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-e9c9221c]{transform:rotate(90deg)}@keyframes bganimation-e9c9221c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e9c9221c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e9c9221c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e9c9221c]{animation:rotateEnter-e9c9221c .7s;position:relative}.rotate-leave-active[data-v-e9c9221c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e9c9221c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-e9c9221c]{margin:10px 0}}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-5f5fb500]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-5f5fb500]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-5f5fb500]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-5f5fb500]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-5f5fb500]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-5f5fb500]{flex:auto}.action.format .disk-list[data-v-5f5fb500]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-5f5fb500]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-5f5fb500]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-5f5fb500]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-5f5fb500]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-5f5fb500]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-5f5fb500],.action.format .label-item .label-item_value input[data-v-5f5fb500]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-5f5fb500]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-5f5fb500]{flex:auto}.action.format p.msg[data-v-5f5fb500]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-5f5fb500]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-5f5fb500]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-5f5fb500]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-5f5fb500]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-5f5fb500]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-5f5fb500]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-5f5fb500]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-5f5fb500]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-5f5fb500]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-5f5fb500]{color:#0000fb}.action.result .btns[data-v-5f5fb500]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-4e7285ca]{color:red}.disk-content[data-v-4e7285ca]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-4e7285ca]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-4e7285ca]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-4e7285ca]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-4e7285ca]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-4e7285ca]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-4e7285ca]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-4e7285ca]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-4e7285ca]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-4e7285ca]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-4e7285ca]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-4e7285ca]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-4e7285ca]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-4e7285ca]{display:flex;align-items:center}.disk_infoicon[data-v-4e7285ca]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-4e7285ca]{flex:none}.tooltip-trigger[data-v-4e7285ca]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-4e7285ca]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-4e7285ca]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-4e7285ca]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-4e7285ca]{visibility:visible;opacity:1}.tooltip-top[data-v-4e7285ca]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-4e7285ca]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-4e7285ca]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-4e7285ca]{display:block}.disk-content .disk_status[data-v-4e7285ca]{flex-wrap:wrap}}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-56d0d562]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-56d0d562]{overflow:auto}.action ul .app-container_info[data-v-56d0d562]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-56d0d562]{width:100%;height:100%}.action .action-footer[data-v-56d0d562]{text-align:center;margin-top:46px}.action .action-footer button[data-v-56d0d562]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-56d0d562]{width:160%}}@media screen and (max-width: 800px){.action[data-v-56d0d562]{width:138%}}@media screen and (max-width: 700px){.action[data-v-56d0d562]{width:132%}}@media screen and (max-width: 600px){.action[data-v-56d0d562]{width:116%}}@media screen and (max-width: 500px){.action[data-v-56d0d562]{width:100%}}@media screen and (max-width: 400px){.action[data-v-56d0d562]{width:90%}}@media screen and (max-width: 300px){.action[data-v-56d0d562]{width:100%}}.progress-bar-wrapper[data-v-2691c876]{width:100%;margin-bottom:0}.progress-bar[data-v-2691c876]{width:100%;position:relative;box-shadow:inset 0 1px 3px #0000001a}.progress-fill[data-v-2691c876]{display:flex;align-items:center;justify-content:flex-end;padding-right:8px;box-sizing:border-box}.percentage-text[data-v-2691c876]{color:#fff;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.3);white-space:nowrap;line-height:1}@media (max-width: 768px){.percentage-text[data-v-2691c876]{font-size:10px;padding-right:4px}}@media (prefers-color-scheme: dark){.progress-bar[data-v-2691c876]{box-shadow:inset 0 1px 3px #ffffff1a}}@keyframes bganimation-61895837{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-61895837{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-61895837{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-61895837]{animation:rotateEnter-61895837 .7s;position:relative}.rotate-leave-active[data-v-61895837]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-61895837]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-61895837]{color:red}li.disk-item[data-v-61895837]{width:100%;margin:0 0 1rem}li.disk-item .disk-item_name[data-v-61895837]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk-item_name>span[data-v-61895837]{color:#6a7280}li.disk-item .disk_icon[data-v-61895837]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-61895837]{display:flex;justify-content:flex-end}li.disk-item .disk_value .disk-item_value[data-v-61895837]{flex:auto;position:relative;cursor:help;display:flex;align-items:center}li.disk-item .disk_value .disk-item_value .value-data[data-v-61895837]{width:100%;text-overflow:ellipsis;white-space:nowrap}li.disk-item .disk_value .disk-item_value .value-data>div[data-v-61895837]{margin-top:10px;display:flex;justify-content:space-between}li.disk-item .disk_value .disk-item_value .value-data button[data-v-61895837]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-61895837]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-61895837]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:30%;right:30%;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-61895837]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-61895837]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-61895837]{margin-left:10px;cursor:pointer;margin-bottom:10px}.tooltip-trigger[data-v-61895837]{flex:none;cursor:help}.tooltip-trigger[data-v-61895837]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-61895837]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-61895837]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-61895837]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-61895837]{visibility:visible;opacity:1}.tooltip-top[data-v-61895837]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-61895837]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-61895837]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-1e31ad3a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e31ad3a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e31ad3a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e31ad3a]{animation:rotateEnter-1e31ad3a .7s;position:relative}.rotate-leave-active[data-v-1e31ad3a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e31ad3a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-1e31ad3a]{width:1.3rem;height:1.3rem}.icon1[data-v-1e31ad3a]{width:1rem;height:1rem}[data-v-1e31ad3a] .folderIcon path{fill:var(--app-container_title-color)!important}a[data-v-1e31ad3a]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content .disk_loading_icon[data-v-1e31ad3a]{height:100px;display:flex;flex-direction:column;align-items:center;padding:10px}.content .disk_loading_icon .disk_loading_info[data-v-1e31ad3a]{font-size:16px;color:#333;margin-top:12px}.content .line[data-v-1e31ad3a]{height:1px;background:var(--btn-border-color);margin:0}.content .item[data-v-1e31ad3a]{display:flex;margin-top:8px;padding:10px}.content .item .icon_box[data-v-1e31ad3a]{width:1.5rem;height:1.5rem;background:#dbeafe;display:flex;align-items:center;justify-content:center;border-radius:4px}.content .item .icon_box .icon[data-v-1e31ad3a]{width:.8rem;height:.8rem}.content .item .info[data-v-1e31ad3a]{flex:1}.content .item .info .name[data-v-1e31ad3a]{display:flex;justify-content:space-between;align-items:center;margin-left:12px;margin-top:6px}.content .item .info .name>div[data-v-1e31ad3a]{font-size:14px;color:var(--app-container_title-color)}.content .item .info .name>span[data-v-1e31ad3a]{display:inline-flex;align-items:center;padding:4px 6px;line-height:1;border:1px solid #d8e3db;background:#f0fdf4;border-radius:4px;color:#008236;font-size:12px;font-weight:400}.content .item .info .name>span .icon[data-v-1e31ad3a]{width:.7rem;height:.7rem;margin-right:4px}.content .item .info .schedule[data-v-1e31ad3a]{margin-top:12px}.content .item .info .schedule span[data-v-1e31ad3a]{font-size:12px;color:#6a7280;font-weight:400}.content .item .info .schedule>div[data-v-1e31ad3a]{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.btn_settings[data-v-1e31ad3a]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-1e31ad3a]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-1e31ad3a]{transform:rotate(90deg)}@keyframes bganimation-1e31ad3a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e31ad3a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e31ad3a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e31ad3a]{animation:rotateEnter-1e31ad3a .7s;position:relative}.rotate-leave-active[data-v-1e31ad3a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e31ad3a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content .item[data-v-1e31ad3a]{margin-top:0}.content .line[data-v-1e31ad3a]{height:1px;background:#e5e7eb;margin:0 0 10px}}@keyframes bganimation-5d803f28{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5d803f28{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5d803f28{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5d803f28]{animation:rotateEnter-5d803f28 .7s;position:relative}.rotate-leave-active[data-v-5d803f28]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5d803f28]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-5d803f28]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-5d803f28]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.docker-item .docker-item_value[data-v-5d803f28]{flex:0 0 100%;max-width:50%;padding-left:10px;display:flex;justify-content:flex-end;align-items:center}li.docker-item .docker-item_value .configure[data-v-5d803f28]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-5d803f28]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-5d803f28]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.tooltip-trigger[data-v-5d803f28]{position:relative;display:inline-block;cursor:help}.tooltip-trigger .tooltip-text[data-v-5d803f28]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-5d803f28]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-5d803f28]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-5d803f28]{visibility:visible;opacity:1}.tooltip-top[data-v-5d803f28]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-5d803f28]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-5d803f28]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-5d803f28]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-5d803f28]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-5d803f28]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-5d803f28]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-5d803f28]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-5d803f28]{background-color:#52c41a;transition:.3s}.input-switch span.enable em[data-v-5d803f28]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-5d803f28]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-5d803f28]{transform:translate(0);transition:.3s}.content[data-v-5d803f28]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .status[data-v-5d803f28]{display:flex;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #e8e8e8;margin:0 6px}.content .docker_box[data-v-5d803f28]{display:flex;align-items:center;justify-content:space-between;margin:20px 6px}.content .docker_box .title[data-v-5d803f28]{margin-bottom:20px}.content .docker_box .path[data-v-5d803f28]{flex:1;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .docker_num[data-v-5d803f28]{display:flex}.content .docker_num .num_item[data-v-5d803f28]{flex:1;display:flex;justify-content:center;align-items:center;flex-direction:column;color:var(--app-container_title-color)}.content .docker_num .num_item>span[data-v-5d803f28]{font-size:20px;margin-top:6px}.docker_tip svg[data-v-5d803f28]{vertical-align:bottom;margin-left:14px;width:1.5em;height:1.5em}.status-icon[data-v-5d803f28]{display:inline-block;margin-left:10px;font-size:12px;color:#008236;padding:4px 6px;background:#dbfce7;border-radius:6px}@keyframes bganimation-29784fe8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-29784fe8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-29784fe8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-29784fe8]{animation:rotateEnter-29784fe8 .7s;position:relative}.rotate-leave-active[data-v-29784fe8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-29784fe8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-29784fe8]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-29784fe8]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-29784fe8]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-29784fe8]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-29784fe8]{display:flex;justify-content:left;align-items:center}.action .change[data-v-29784fe8]{width:678px}.action .desc[data-v-29784fe8]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-29784fe8]{width:100%;display:block}.action .tips[data-v-29784fe8]{width:477px}.action .tips .tip[data-v-29784fe8]{color:#faad14;padding-left:6px}.action .btns[data-v-29784fe8]{width:100%;margin:104px auto 0}.action .btns button[data-v-29784fe8]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-29784fe8]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-29784fe8]{text-align:center;font-size:14px}.action .finished[data-v-29784fe8]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-29784fe8]{text-align:center}.action .docker_moves .moves[data-v-29784fe8]{margin-top:10px}.action .docker_moves .moves input[data-v-29784fe8]{cursor:pointer}.action .docker_moves .moves label[data-v-29784fe8]{margin-left:10px;cursor:pointer}.select-editable[data-v-29784fe8]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-29784fe8]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-29784fe8]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-29784fe8]:focus,.select-editable input[data-v-29784fe8]:focus{outline:none}[data-v-29784fe8]::placeholder{color:#999}@keyframes bganimation-29784fe8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-29784fe8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-29784fe8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-29784fe8]{animation:rotateEnter-29784fe8 .7s;position:relative}.rotate-leave-active[data-v-29784fe8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-29784fe8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-29784fe8]{width:100%}.docker_download[data-v-29784fe8]{width:80%}}@keyframes bganimation-7dcbc620{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7dcbc620{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7dcbc620{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7dcbc620]{animation:rotateEnter-7dcbc620 .7s;position:relative}.rotate-leave-active[data-v-7dcbc620]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7dcbc620]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-7dcbc620]{width:1.3rem;height:1.3rem}.icon1[data-v-7dcbc620]{width:1rem;height:1rem}[data-v-7dcbc620] .dockerIcon path{fill:var(--app-container_title-color)!important}a[data-v-7dcbc620]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-7dcbc620]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.btn_settings[data-v-7dcbc620]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-7dcbc620]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-7dcbc620]{transform:rotate(90deg)}@keyframes bganimation-7dcbc620{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7dcbc620{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7dcbc620{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7dcbc620]{animation:rotateEnter-7dcbc620 .7s;position:relative}.rotate-leave-active[data-v-7dcbc620]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7dcbc620]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-7dcbc620]{margin:10px 0}}.pie-chart-wrapper[data-v-a9cd39ac]{position:relative;display:flex;align-items:center;justify-content:center}.chart-dom[data-v-a9cd39ac]{width:100%;height:100%}.center-content[data-v-a9cd39ac]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:2;pointer-events:none}.center-icon[data-v-a9cd39ac]{width:20px;height:20px;margin-bottom:4px;display:block;margin-left:auto;margin-right:auto}.center-label[data-v-a9cd39ac]{margin-top:4px;font-size:14px;font-weight:600}@keyframes bganimation-17decdbc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17decdbc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17decdbc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17decdbc]{animation:rotateEnter-17decdbc .7s;position:relative}.rotate-leave-active[data-v-17decdbc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17decdbc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-17decdbc]{width:1.3rem;height:1.3rem}.icon1[data-v-17decdbc]{width:2rem;height:2rem;margin-bottom:8px}.icon2[data-v-17decdbc]{width:1rem;height:1rem}[data-v-17decdbc] .computerIcon path{fill:var(--app-container_title-color)!important}a[data-v-17decdbc]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-17decdbc]{color:#333;margin-top:20px;margin-bottom:20px;padding:0 10px;font-weight:400}.content .chart_box[data-v-17decdbc]{padding-bottom:20px;border-bottom:1px solid var(--btn-border-color);margin-bottom:20px;display:flex}.content .chart_box .chart[data-v-17decdbc]{flex:1;display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.content .chart_box .chart>div[data-v-17decdbc]{margin-top:4px}.content .info[data-v-17decdbc]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.content .info .item[data-v-17decdbc]{display:flex;justify-content:center}.content .info .item>div[data-v-17decdbc]{color:var(--app-container_title-color)}.content .info .item>span[data-v-17decdbc]{color:var(--app-container_status-label_block);font-size:16px;line-height:1}.content .info .item1[data-v-17decdbc]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:20px;padding:30px}.content .info .item1>div[data-v-17decdbc]{display:flex;align-items:center;margin-bottom:8px}.content .info .item1>div>span[data-v-17decdbc]{margin-left:8px}.content .info .bgcolor1[data-v-17decdbc]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-17decdbc]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}.btn_settings[data-v-17decdbc]{position:relative;padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}@keyframes bganimation-17decdbc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17decdbc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17decdbc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17decdbc]{animation:rotateEnter-17decdbc .7s;position:relative}.rotate-leave-active[data-v-17decdbc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17decdbc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-17decdbc]{margin-top:10px;margin-bottom:10px;padding:0 4px}.content .chart_box[data-v-17decdbc]{padding-bottom:10px;margin-bottom:10px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.content .chart_box[data-v-17decdbc]::-webkit-scrollbar{display:none}.content .info[data-v-17decdbc]{grid-template-columns:repeat(1,1fr);gap:6px}.content .info .item1[data-v-17decdbc]{margin-top:6px;padding:10px}.content .info .bgcolor1[data-v-17decdbc]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-17decdbc]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:999;backdrop-filter:blur(2px)}.modal-container{background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:90%;max-width:var(--1df87c10);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-container .modal-header{padding:8px 12px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.modal-container .modal-header .modal-title{margin:0;font-size:18px;color:#333;padding:0;text-align:center;background:transparent!important}.modal-container .modal-header .modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#999;transition:color .2s}.modal-container .modal-header .modal-close:hover{color:#666}.modal-container .modal-content{padding:18px;overflow-y:auto;flex:1}.modal-container .modal-footer{padding:8px 12px;border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;gap:12px}.modal-container .modal-footer .modal-button{padding:4px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s;border:1px solid transparent}.modal-container .modal-footer .modal-button.cancel{background-color:#fff;border-color:#ddd;color:#666}.modal-container .modal-footer .modal-button.cancel:hover{background-color:#f5f5f5}.modal-container .modal-footer .modal-button.confirm{background-color:#553afe;color:#fff}.modal-container .modal-footer .modal-button.confirm:hover{background-color:#3f21fe}@media (max-width: 768px){.modal-container{width:95%;max-width:none;max-height:90vh;margin:0 10px}.modal-container .modal-header{padding:12px 16px}.modal-container .modal-header .modal-title{font-size:16px;background:transparent!important}.modal-container .modal-header .modal-close{font-size:20px}.modal-container .modal-content{padding:16px}.modal-container .modal-footer{padding:12px 16px;flex-direction:column-reverse;gap:8px}.modal-container .modal-footer .modal-button{width:100%;padding:10px;font-size:15px}}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.slide-enter-active,.slide-leave-active{transition:transform .3s ease,opacity .3s ease}.slide-enter-from,.slide-leave-to{transform:translateY(-20px);opacity:0}@keyframes bganimation-9ce78472{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9ce78472{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9ce78472{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9ce78472]{animation:rotateEnter-9ce78472 .7s;position:relative}.rotate-leave-active[data-v-9ce78472]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9ce78472]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.switch[data-v-9ce78472]{display:inline-flex;align-items:center;position:relative;font-size:14px;height:20px}.switch.is-disabled[data-v-9ce78472]{opacity:.6;cursor:not-allowed}.switch.is-disabled .switch__core[data-v-9ce78472]{cursor:not-allowed}.switch__input[data-v-9ce78472]{position:absolute;width:0;height:0;opacity:0;margin:0;z-index:-1}.switch__core[data-v-9ce78472]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid;outline:none;border-radius:10px;box-sizing:border-box;cursor:pointer;transition:border-color .3s,background-color .3s}.switch__button[data-v-9ce78472]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff;box-shadow:0 1px 2px #0003}.switch.is-checked .switch__button[data-v-9ce78472]{transform:translate(20px)}@keyframes bganimation-4d62ccd2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4d62ccd2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4d62ccd2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4d62ccd2]{animation:rotateEnter-4d62ccd2 .7s;position:relative}.rotate-leave-active[data-v-4d62ccd2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4d62ccd2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-4d62ccd2] .modal-header{border-bottom:none;padding-bottom:0}[data-v-4d62ccd2] .modal-header .modal-title{text-align:left;padding-left:6px}[data-v-4d62ccd2] .modal-content{padding-top:0}[data-v-4d62ccd2]:depp(.modal-footer){border-top:none!important}.module-settings[data-v-4d62ccd2]{margin-top:16px;display:flex;flex-direction:column;gap:16px;color:#1d2129}.module-settings .module-settings__header[data-v-4d62ccd2]{padding:8px 12px;background:linear-gradient(to right,#eff6ff,#f4f6ff,#f7f5ff,#faf6ff);background:-webkit-linear-gradient(left,#eff6ff,#f4f6ff,#f7f5ff,#faf6ff);border-radius:10px}.module-settings .module-settings__badge[data-v-4d62ccd2]{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#5677ff 0%,#9c56ff 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}.module-settings .module-settings__toggle-all[data-v-4d62ccd2]{border-radius:8px}.module-settings__header[data-v-4d62ccd2]{display:flex;justify-content:space-between;align-items:center;gap:12px}.module-settings__summary[data-v-4d62ccd2]{display:flex;align-items:center;gap:12px}.module-settings__badge[data-v-4d62ccd2]{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#5c3efe 0%,#7a62ff 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}.module-settings__texts[data-v-4d62ccd2]{display:flex;flex-direction:column;gap:4px}.module-settings__title[data-v-4d62ccd2]{font-size:16px;font-weight:600}.module-settings__sub[data-v-4d62ccd2]{font-size:13px;color:#86909c}.module-settings__toggle-all[data-v-4d62ccd2]{min-width:96px;height:34px;padding:0 16px;border-radius:17px;border:1px solid #e5e6eb;background:#fff;color:#1d2129;cursor:pointer;font-size:14px;transition:all .2s;display:inline-block;line-height:34px;box-sizing:border-box;-webkit-appearance:none;appearance:none;vertical-align:middle}.module-settings__toggle-all[data-v-4d62ccd2]:hover{border-color:#553afe;color:#553afe}.module-settings__list[data-v-4d62ccd2]{display:flex;flex-direction:column;gap:16px;max-height:420px;overflow-y:auto;padding-right:8px}.module-settings__item[data-v-4d62ccd2]{display:flex;align-items:center;justify-content:space-between;padding:16px 10px;border-radius:8px;background:transparent;border:1px solid #e5e7eb;gap:24px;transition:background-color .2s ease,border-color .2s ease}.module-settings__item[data-v-4d62ccd2]:hover{border-color:#8fc6ff;background:#fafcfe}.module-settings__item--disabled[data-v-4d62ccd2]{opacity:.5;cursor:not-allowed}.module-settings__info[data-v-4d62ccd2]{display:flex;flex-direction:column;gap:6px}.module-settings__name[data-v-4d62ccd2]{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px}.module-settings__dot[data-v-4d62ccd2]{width:10px;height:10px;border-radius:50%;background-color:#c9ccd3;transition:background-color .2s}.module-settings__dot.is-active[data-v-4d62ccd2]{background:#553afe}.module-settings__desc[data-v-4d62ccd2]{font-size:13px;color:#86909c;line-height:1.4;margin:0 0 0 18px}.module-settings__footer[data-v-4d62ccd2]{width:100%;display:flex;justify-content:flex-end;gap:12px}.module-settings__btn[data-v-4d62ccd2]{min-width:96px;height:36px;border-radius:8px;border:1px solid transparent;font-size:14px;cursor:pointer;transition:all .3s ease}.module-settings__btn--secondary[data-v-4d62ccd2]{background:#fff;border-color:#e5e6eb;color:#1d2129}.module-settings__btn--secondary[data-v-4d62ccd2]:hover{border-color:#553afe;color:#553afe}.module-settings__btn--primary[data-v-4d62ccd2]{background:linear-gradient(135deg,#5c3efe 0%,#7a62ff 100%);color:#fff;border:none}.module-settings__btn--primary[data-v-4d62ccd2]:hover{opacity:.8}@media (max-width: 768px){.module-settings__header[data-v-4d62ccd2]{flex-direction:row;align-items:center}.module-settings__toggle-all[data-v-4d62ccd2]{width:auto;height:34px;line-height:34px;font-size:14px;padding:0 14px}.module-settings__item[data-v-4d62ccd2]{flex-direction:row;align-items:center;padding:14px 10px}.module-settings__badge[data-v-4d62ccd2]{font-size:16px}.module-settings__title[data-v-4d62ccd2]{font-size:15px}.module-settings__sub[data-v-4d62ccd2]{font-size:12px}.module-settings__name[data-v-4d62ccd2]{font-size:14px}.module-settings__desc[data-v-4d62ccd2]{font-size:12px;margin-left:18px}.module-settings__list[data-v-4d62ccd2]{max-height:65vh;padding-right:8px}.module-settings__footer[data-v-4d62ccd2]{flex-direction:column-reverse;align-items:stretch;gap:8px}.module-settings__btn[data-v-4d62ccd2]{width:100%;height:36px;font-size:14px}}@keyframes bganimation-ba5c5490{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ba5c5490{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ba5c5490{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ba5c5490]{animation:rotateEnter-ba5c5490 .7s;position:relative}.rotate-leave-active[data-v-ba5c5490]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ba5c5490]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container .model_btn[data-v-ba5c5490]{cursor:pointer;margin-left:16px}.page-container .card-container[data-v-ba5c5490]{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:16px;width:100%;padding-bottom:10px;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.35) transparent}.page-container .card-container[data-v-ba5c5490]::-webkit-scrollbar{height:6px}.page-container .card-container[data-v-ba5c5490]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.page-container .card-container>*[data-v-ba5c5490]{flex:0 0 auto}.page-container[data-v-ba5c5490] .card-container::-webkit-scrollbar{height:8px}.page-container[data-v-ba5c5490] .card-container::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(0,0,0,.35)}.page-container[data-v-ba5c5490] .card-container::-webkit-scrollbar-track{background:transparent}.page-container .network-container[data-v-ba5c5490]{display:flex;gap:24px;width:100%;margin-top:20px;align-items:stretch}.page-container .network-container .left-box[data-v-ba5c5490]{flex:2;min-width:0}.page-container .network-container .right-box[data-v-ba5c5490]{flex:1;overflow:hidden;min-width:0;display:flex;flex-direction:column;justify-content:space-between}.page-container .network-stack[data-v-ba5c5490]{display:flex;flex-direction:column;width:100%;align-items:stretch}.page-container .network-stack .stack-item[data-v-ba5c5490]{width:100%}.page-container .full-row[data-v-ba5c5490] .network_container{min-height:600px}.page-container .fill-card[data-v-ba5c5490]{height:100%;display:flex;flex-direction:column}.page-container .fill-card[data-v-ba5c5490] .reusable-card{flex:1 1 auto;display:flex;flex-direction:column}.page-container .fill-card[data-v-ba5c5490] .card-body{flex:1 1 auto}.page-container .align-c[data-v-ba5c5490]{align-items:center}.page-container .other-container[data-v-ba5c5490]{width:100%;margin-top:20px}.page-container .other-container .grid-container[data-v-ba5c5490]{display:flex;flex-wrap:wrap;gap:24px}.page-container .other-container .grid-container .grid-item[data-v-ba5c5490]{display:flex;justify-content:center;border-radius:8px}.page-container .btns[data-v-ba5c5490]{margin-top:20px}.page-container .system[data-v-ba5c5490]{margin-top:24px}@keyframes bganimation-ba5c5490{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ba5c5490{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ba5c5490{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ba5c5490]{animation:rotateEnter-ba5c5490 .7s;position:relative}.rotate-leave-active[data-v-ba5c5490]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ba5c5490]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1300px){.page-container .other-container[data-v-ba5c5490]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-ba5c5490]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-ba5c5490]{border-radius:6px}}@keyframes bganimation-ba5c5490{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ba5c5490{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ba5c5490{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ba5c5490]{animation:rotateEnter-ba5c5490 .7s;position:relative}.rotate-leave-active[data-v-ba5c5490]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ba5c5490]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.page-container .card-container[data-v-ba5c5490]{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:16px;scrollbar-width:none;-ms-overflow-style:none}.page-container .card-container>*[data-v-ba5c5490]{flex:0 0 auto;min-width:280px}.page-container .card-container[data-v-ba5c5490]::-webkit-scrollbar{display:none}.page-container .network-container[data-v-ba5c5490]{flex-direction:column;margin-top:10px;gap:10px}.page-container .network-container .right-box[data-v-ba5c5490]{flex:none;width:100%}.page-container .other-container[data-v-ba5c5490]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-ba5c5490]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-ba5c5490]{border-radius:6px}}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0b149a51]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-0b149a51]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-0b149a51]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-0b149a51]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-0b149a51]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-0b149a51]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-0b149a51]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-0b149a51]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-0b149a51]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-0b149a51]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-0b149a51]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-0b149a51]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-0b149a51]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-0b149a51]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-0b149a51]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-0b149a51]{background-color:#439c07}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-f442676c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f442676c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f442676c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f442676c]{animation:rotateEnter-f442676c .7s;position:relative}.rotate-leave-active[data-v-f442676c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f442676c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-f442676c]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-f442676c]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-f442676c]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-f442676c]{margin:.5rem 0}#page .network-message li[data-v-f442676c]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-f442676c]{color:red}#page .network-message li a[data-v-f442676c]{color:#00f}#page form[data-v-f442676c]{display:block;width:100%;margin:3rem 0}#page form label[data-v-f442676c]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-f442676c]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-f442676c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-f442676c]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-f442676c]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-f442676c]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-f442676c]{margin-left:10px;user-select:none}#page .msg[data-v-f442676c]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-f442676c]{width:100%;margin-top:3rem}#page .btns button[data-v-f442676c]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-162eca5f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-162eca5f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-162eca5f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-162eca5f]{animation:rotateEnter-162eca5f .7s;position:relative}.rotate-leave-active[data-v-162eca5f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-162eca5f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-162eca5f]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-162eca5f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-162eca5f]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-162eca5f]{margin:.5rem 0}#page .network-message li[data-v-162eca5f]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-162eca5f]{color:red}#page .network-message li a[data-v-162eca5f]{color:#00f}#page form[data-v-162eca5f]{display:block;width:100%;margin:3rem 0}#page form label[data-v-162eca5f]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-162eca5f]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-162eca5f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-162eca5f]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-162eca5f],#page form label select[data-v-162eca5f]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-162eca5f]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-162eca5f]{margin-left:10px;user-select:none}#page .msgs[data-v-162eca5f]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-162eca5f]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-162eca5f]{width:100%;margin-top:3rem}#page .btns button[data-v-162eca5f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-2dee59a8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2dee59a8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2dee59a8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2dee59a8]{animation:rotateEnter-2dee59a8 .7s;position:relative}.rotate-leave-active[data-v-2dee59a8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2dee59a8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-2dee59a8]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-2dee59a8]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-2dee59a8]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-2dee59a8]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-2dee59a8]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-2dee59a8]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-2dee59a8]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-2dee59a8]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-2dee59a8]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-2dee59a8]{display:block;width:100%;margin:3rem 0}#page form label[data-v-2dee59a8]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-2dee59a8]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-2dee59a8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-2dee59a8]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-2dee59a8],#page form label select[data-v-2dee59a8]{width:100%;display:block;height:42px}.switch_inline[data-v-2dee59a8]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-2dee59a8]{margin-left:10px;user-select:none}@keyframes bganimation-77451104{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77451104{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77451104{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77451104]{animation:rotateEnter-77451104 .7s;position:relative}.rotate-leave-active[data-v-77451104]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77451104]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-77451104]{line-height:22px;font-size:14px}.label-item[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77451104]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77451104]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77451104]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-77451104],.label-item .label-item_value input[data-v-77451104]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-77451104]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-77451104]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-77451104]{top:0}.label-item .label-item_tips[data-v-77451104]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77451104]{vertical-align:top}span.msg-warning[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-77451104]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-77451104]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-77451104]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-77451104]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-77451104]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-77451104]{display:block}.actioner-container_body.setup-success .body-tips[data-v-77451104]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-77451104]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-77451104]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5ec616d8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ec616d8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ec616d8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ec616d8]{animation:rotateEnter-5ec616d8 .7s;position:relative}.rotate-leave-active[data-v-5ec616d8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ec616d8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-5ec616d8]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-70cb932e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70cb932e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70cb932e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70cb932e]{animation:rotateEnter-70cb932e .7s;position:relative}.rotate-leave-active[data-v-70cb932e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70cb932e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-70cb932e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-70cb932e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-70cb932e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-70cb932e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-70cb932e]{width:100%}.label-item .label-item_value select[data-v-70cb932e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-70cb932e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-70cb932e]{top:0;margin:0}.label-item .label-item_tips[data-v-70cb932e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-70cb932e]{vertical-align:top}span.msg-warning[data-v-70cb932e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-56c0f6fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56c0f6fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56c0f6fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56c0f6fb]{animation:rotateEnter-56c0f6fb .7s;position:relative}.rotate-leave-active[data-v-56c0f6fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56c0f6fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-56c0f6fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-56c0f6fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-56c0f6fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-56c0f6fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-56c0f6fb]{width:100%}.label-item .label-item_value select[data-v-56c0f6fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-56c0f6fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-56c0f6fb]{top:0;margin:0}.label-item .label-item_tips[data-v-56c0f6fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-56c0f6fb]{vertical-align:top}span.msg-warning[data-v-56c0f6fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-0586260e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0586260e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0586260e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0586260e]{animation:rotateEnter-0586260e .7s;position:relative}.rotate-leave-active[data-v-0586260e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0586260e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-0586260e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-0586260e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-0586260e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-0586260e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-0586260e]{width:100%}.label-item .label-item_value select[data-v-0586260e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-0586260e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-0586260e]{top:0;margin:0}.label-item .label-item_tips[data-v-0586260e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-0586260e]{vertical-align:top}span.msg-warning[data-v-0586260e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-e20ba082]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-e20ba082] .actioner-container{width:100%}.action-main[data-v-e20ba082] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-e20ba082] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-e20ba082]{width:90%}}@keyframes bganimation-f1411b40{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f1411b40{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f1411b40{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f1411b40]{animation:rotateEnter-f1411b40 .7s;position:relative}.rotate-leave-active[data-v-f1411b40]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f1411b40]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-f1411b40]{margin-bottom:32px}.item-status[data-v-f1411b40]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-f1411b40]{text-decoration:underline;cursor:help}@keyframes bganimation-2b6b4ef9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b6b4ef9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b6b4ef9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b6b4ef9]{animation:rotateEnter-2b6b4ef9 .7s;position:relative}.rotate-leave-active[data-v-2b6b4ef9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b6b4ef9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2b6b4ef9]{margin-bottom:1rem}#page[data-v-2b6b4ef9] .cbi-section{padding:1rem}#page[data-v-2b6b4ef9] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-f3b0d6f0]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-f3b0d6f0] .actioner-container{width:100%}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-f3b0d6f0]{width:90%}}@keyframes bganimation-abf07ee0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-abf07ee0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-abf07ee0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-abf07ee0]{animation:rotateEnter-abf07ee0 .7s;position:relative}.rotate-leave-active[data-v-abf07ee0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-abf07ee0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-abf07ee0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-4a646cde{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a646cde{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a646cde{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a646cde]{animation:rotateEnter-4a646cde .7s;position:relative}.rotate-leave-active[data-v-4a646cde]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a646cde]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-4a646cde]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-997c3dee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-997c3dee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-997c3dee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-997c3dee]{animation:rotateEnter-997c3dee .7s;position:relative}.rotate-leave-active[data-v-997c3dee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-997c3dee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-997c3dee]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-17b89cb7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17b89cb7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17b89cb7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17b89cb7]{animation:rotateEnter-17b89cb7 .7s;position:relative}.rotate-leave-active[data-v-17b89cb7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17b89cb7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-17b89cb7]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-17b89cb7]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-17b89cb7]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-17b89cb7]{font-weight:700;font-size:14px}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-6f6071af]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-6f6071af]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-6f6071af]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-6f6071af]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-6f6071af]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-6f6071af],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-6f6071af]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-6f6071af]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-6f6071af]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-6f6071af]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-6f6071af]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-6f6071af]{width:100%}}@keyframes bganimation-4ec945e0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4ec945e0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4ec945e0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4ec945e0]{animation:rotateEnter-4ec945e0 .7s;position:relative}.rotate-leave-active[data-v-4ec945e0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4ec945e0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 170px;height:80px;justify-content:start}[data-v-4ec945e0] .interface-device-flex{justify-content:start}.container[data-v-4ec945e0]{width:100%;overflow-x:auto}.container .table-wrapper[data-v-4ec945e0]{min-width:1280px;width:max-content}.container .table-wrapper .table-body[data-v-4ec945e0]{display:flex;flex-direction:column;min-width:100%}.container .table-wrapper .table-header[data-v-4ec945e0]{display:flex;border-bottom:2px solid #e5e7eb;background-color:#f8fafc;padding-left:10px}.container .table-wrapper .table-row[data-v-4ec945e0]{display:flex;min-width:100%;align-items:center;border-bottom:1px solid #e5e7eb;transition:background-color .2s}.container .table-wrapper .table-row[data-v-4ec945e0]:hover{background-color:#f3f4f6}.container .table-wrapper .add-row[data-v-4ec945e0]{cursor:pointer}.container .table-wrapper .add-row[data-v-4ec945e0]:hover{background-color:#f0f9ff}.container .table-wrapper .table-cell[data-v-4ec945e0]{padding:12px 16px;box-sizing:border-box;display:flex;justify-content:center}.container .table-wrapper .device-col[data-v-4ec945e0]{flex:0 0 200px;min-width:200px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:first-of-type{flex:0 0 10px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:last-of-type{flex:0 0 32px}.container .table-wrapper .name-col[data-v-4ec945e0]{flex:0 0 150px;min-width:150px;text-align:left}.container .table-wrapper .action-col[data-v-4ec945e0]{flex:0 0 auto;text-align:right;min-width:160px}.container .table-wrapper .icon[data-v-4ec945e0]{width:48px;height:100%;cursor:pointer}.container .table-wrapper .interface-device-flex[data-v-4ec945e0]{display:flex;justify-content:center;width:100%}.container .cbi-page-actions[data-v-4ec945e0]{margin-top:20px;display:flex;justify-content:flex-end}@media (max-width: 768px){.container[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 80px;width:120px;height:80px;justify-content:start}.container .table-wrapper[data-v-4ec945e0]{min-width:100%}.container .table-cell[data-v-4ec945e0]{padding:8px 12px}.container .device-col[data-v-4ec945e0]{flex:0 0 120px!important;min-width:120px!important;margin-right:16px}.container .name-col[data-v-4ec945e0]{flex:0 0 80px!important;min-width:80px!important}.container .action-col[data-v-4ec945e0]{min-width:120px}.container .interface-device-flex[data-v-4ec945e0]{flex-direction:column;gap:4px}}tr>td,tr>th,.tr>.td,.tr>.th,.cbi-section-table-row:before,#cbi-wireless>#wifi_assoclist_table>.tr:nth-child(2){border:none}@keyframes bganimation-2c8ecf89{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c8ecf89{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c8ecf89{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c8ecf89]{animation:rotateEnter-2c8ecf89 .7s;position:relative}.rotate-leave-active[data-v-2c8ecf89]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c8ecf89]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-table-container[data-v-2c8ecf89]{width:100%;font-size:14px;color:var(--flow-span-color)}.custom-table-container input[data-v-2c8ecf89]{margin:0}.custom-table-container .custom-table-wrapper[data-v-2c8ecf89]{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.custom-table-container .custom-table[data-v-2c8ecf89]{width:100%;border-collapse:collapse;table-layout:auto}.custom-table-container .custom-table thead[data-v-2c8ecf89]{border-radius:8px!important;background:#F8F8F8}.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{color:var(--flow-span-color)!important;font-weight:500!important;border:none!important;padding:18px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]{background:transparent;border-bottom:1px solid #f8f8f8!important}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]:last-child{border-bottom:none!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:24px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr:hover td[data-v-2c8ecf89]{background-color:#00000005!important}.custom-table-container .custom-table tbody tr.empty-row td[data-v-2c8ecf89]{text-align:center!important;padding:30px 0!important;color:#c98d8d66!important;border-bottom:none!important}.custom-table-container .custom-table .selection-header[data-v-2c8ecf89],.custom-table-container .custom-table .selection-cell[data-v-2c8ecf89]{width:50px!important;min-width:50px!important;text-align:center!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:0 8px}.custom-table-container .pagination-wrapper .pagination-info[data-v-2c8ecf89]{color:#0009;font-size:13px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:32px;height:32px;margin:0 4px;padding:0 8px;background:#fff;color:#000000a6;cursor:pointer;transition:all .3s}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:hover:not(:disabled){color:#1890ff;border-color:#1890ff}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.custom-table-container .pagination-wrapper .pagination-controls button.active[data-v-2c8ecf89]{color:#fff;background-color:#1890ff;border-color:#1890ff}@media (max-width: 768px){.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{padding:8px 4px!important;font-size:13px!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:12px 4px!important;font-size:13px!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{flex-direction:column;align-items:flex-start;gap:12px}.custom-table-container .pagination-wrapper .pagination-controls[data-v-2c8ecf89]{display:flex;flex-wrap:wrap;gap:4px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:28px;height:28px;margin:0;padding:0 6px;font-size:13px}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.del-button[data-v-d28f7d82]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 15px;font-size:14px;border-radius:4px}.add-button--danger[data-v-d28f7d82]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-d28f7d82]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-d28f7d82]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.del-button--danger[data-v-d28f7d82]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-d28f7d82]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-d28f7d82]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.search_box[data-v-d28f7d82]{width:350px}.search_box .search_container[data-v-d28f7d82]{display:flex;align-items:center;gap:8px}.search_box .search_container .search_input_wrapper[data-v-d28f7d82]{position:relative;flex-grow:1}.search_box .search_container .search_input_wrapper .search_icon[data-v-d28f7d82]{position:absolute;right:10px;top:50%;transform:translateY(-50%);fill:#000c;cursor:pointer}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]{width:100%;padding:4px 35px 4px 12px;border-radius:4px;border:1px solid rgba(0,0,0,.6);font-size:14px;outline:none;transition:border-color .3s;color:#222;background:transparent}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]:focus{border-color:#4a90e2}.search_box .search_container .refresh_button[data-v-d28f7d82]{background:none;border:none;cursor:pointer;padding:8px;border-radius:50%;transition:background-color .3s;display:flex;align-items:center;justify-content:center}.search_box .search_container .refresh_button[data-v-d28f7d82]:hover{background-color:#f0f0f0}.search_box .search_container .refresh_button .refresh_icon[data-v-d28f7d82]{fill:#000c;transition:transform .3s}.search_box .search_container .refresh_button.rotate .refresh_icon[data-v-d28f7d82]{animation:spin-d28f7d82 1s linear infinite}@keyframes spin-d28f7d82{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.search_box[data-v-d28f7d82]{width:80%}.del-button[data-v-d28f7d82]{padding:6px 8px}}@keyframes bganimation-529a02b0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-529a02b0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-529a02b0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-529a02b0]{animation:rotateEnter-529a02b0 .7s;position:relative}.rotate-leave-active[data-v-529a02b0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-529a02b0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-529a02b0]{position:relative;height:260px}.flow .echart[data-v-529a02b0]{width:100%;height:100%}.flow .flow-data[data-v-529a02b0]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-529a02b0]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-529a02b0]{height:55vw}}@keyframes bganimation-53a97cb3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-53a97cb3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-53a97cb3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-53a97cb3]{animation:rotateEnter-53a97cb3 .7s;position:relative}.rotate-leave-active[data-v-53a97cb3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-53a97cb3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-53a97cb3] .tag-input{padding:4px 12px}.custom-content[data-v-53a97cb3]{position:relative}.custom-content .img_box[data-v-53a97cb3]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-53a97cb3]{width:100%;height:100%}.custom-content .IP_address[data-v-53a97cb3]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-53a97cb3]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-53a97cb3]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-53a97cb3]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-53a97cb3]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-53a97cb3]{width:45%;background:transparent!important;color:var(--card-box-shadow)}.custom-content .item_box>select>option[data-v-53a97cb3]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-53a97cb3]{width:140px;text-align:right}.info-content[data-v-53a97cb3]{display:flex}.info-content .img_box[data-v-53a97cb3]{position:relative}.info-content .item_box .item_left[data-v-53a97cb3]{width:100px}@keyframes bganimation-53a97cb3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-53a97cb3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-53a97cb3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-53a97cb3]{animation:rotateEnter-53a97cb3 .7s;position:relative}.rotate-leave-active[data-v-53a97cb3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-53a97cb3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-2c7840fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c7840fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c7840fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c7840fc]{animation:rotateEnter-2c7840fc .7s;position:relative}.rotate-leave-active[data-v-2c7840fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c7840fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-2c7840fc]{position:relative}.custom-content .img_box[data-v-2c7840fc]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-2c7840fc]{width:100%;height:100%}.custom-content .IP_address[data-v-2c7840fc]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-2c7840fc]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-2c7840fc]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-2c7840fc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-2c7840fc]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-2c7840fc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-2c7840fc]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-2c7840fc]{width:140px;text-align:right}.del-button[data-v-2c7840fc]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-2c7840fc]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-2c7840fc]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-2c7840fc]:active{background:#dd6161;border-color:#dd6161;color:#fff}.edit-button[data-v-2c7840fc]{color:#553afe;border-color:#553afe}.edit-button[data-v-2c7840fc]:hover{background:rgba(85,58,254,.1);border-color:#553afe}.edit-button[data-v-2c7840fc]:active{background:rgba(85,58,254,.2);border-color:#553afe}.del-button.is-disabled[data-v-2c7840fc]{opacity:.5;cursor:not-allowed}@keyframes bganimation-2c7840fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c7840fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c7840fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c7840fc]{animation:rotateEnter-2c7840fc .7s;position:relative}.rotate-leave-active[data-v-2c7840fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c7840fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-1c110960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c110960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c110960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c110960]{animation:rotateEnter-1c110960 .7s;position:relative}.rotate-leave-active[data-v-1c110960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c110960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-1c110960]{position:relative}.custom-content .img_box[data-v-1c110960]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-1c110960]{width:100%;height:100%}.custom-content .IP_address[data-v-1c110960]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-1c110960]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-1c110960]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-1c110960]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-1c110960]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-1c110960]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-1c110960]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-1c110960]{width:140px;text-align:right}.del-button[data-v-1c110960]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-1c110960]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-1c110960]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-1c110960]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-1c110960]{opacity:.5;cursor:not-allowed}@keyframes bganimation-1c110960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c110960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c110960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c110960]{animation:rotateEnter-1c110960 .7s;position:relative}.rotate-leave-active[data-v-1c110960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c110960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-15068472{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-15068472{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-15068472{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-15068472]{animation:rotateEnter-15068472 .7s;position:relative}.rotate-leave-active[data-v-15068472]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-15068472]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.dialog-overlay[data-v-15068472]{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:16px}.dialog-container[data-v-15068472]{background-color:#fff;border-radius:12px;padding:16px;width:100%;max-width:400px;box-shadow:0 4px 12px #00000026}.dialog-container .dialog-title[data-v-15068472]{margin:0 0 20px;font-size:1.2rem;font-weight:500;color:#333;text-align:left}.dialog-container .dialog-message[data-v-15068472]{margin:20px 0;font-size:1rem;color:#666;text-align:center}.dialog-container .loading-animation[data-v-15068472]{margin:20px 0}.dialog-container .loading-animation .spinner[data-v-15068472]{width:40px;height:40px;margin:0 auto;border:4px solid rgba(110,72,170,.2);border-radius:50%;border-top-color:#8d78fa;animation:spin-15068472 1s linear infinite}.dialog-container .dialog-button[data-v-15068472]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s;margin:0 auto;display:block}.dialog-container .dialog-button[data-v-15068472]:hover{background-color:#553afe;opacity:.9}.dialog-container .dialog-button[data-v-15068472]:active{transform:scale(.98)}.dialog-container .warning-message[data-v-15068472]{display:flex;gap:8px;background-color:#fff8e1;border-left:4px solid #FFC107;padding:12px;margin-bottom:20px;border-radius:4px;font-size:.9rem;color:#333;text-align:left}.dialog-container .warning-message .warning-icon[data-v-15068472]{flex-shrink:0;width:20px;height:20px;color:#ffa000}.dialog-container .input-group[data-v-15068472]{margin-bottom:16px;text-align:left}.dialog-container .input-group label[data-v-15068472]{display:block;margin-bottom:8px;font-size:.95rem;color:#333}.dialog-container .input-group .tag-input[data-v-15068472]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .2s}.dialog-container .input-group .tag-input[data-v-15068472]:focus{outline:none;border-color:#6e48aa}.dialog-container .button-group[data-v-15068472]{display:flex;justify-content:flex-end;gap:12px}.dialog-container .button-group .cancel-button[data-v-15068472]{background-color:#fff;color:#333;border:1px solid #ddd;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .cancel-button[data-v-15068472]:hover{background-color:#e0e0e0}.dialog-container .button-group .cancel-button[data-v-15068472]:active{transform:scale(.98)}.dialog-container .button-group .confirm-button[data-v-15068472]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .confirm-button[data-v-15068472]:hover{background-color:#553afe;opacity:.9}.dialog-container .button-group .confirm-button[data-v-15068472]:active{transform:scale(.98)}.tag-dialog[data-v-15068472]{max-width:500px}.fade-enter-active[data-v-15068472],.fade-leave-active[data-v-15068472]{transition:opacity .3s ease}.fade-enter-from[data-v-15068472],.fade-leave-to[data-v-15068472]{opacity:0}@keyframes spin-15068472{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-circle-15068472{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}@keyframes icon-line-tip-15068472{0%{width:0;left:1px;top:15px}54%{width:0;left:1px;top:15px}70%{width:40px;left:-6px;top:30px}84%{width:14px;left:17px;top:38px}to{width:12px;left:8px;top:22px}}@keyframes icon-line-long-15068472{0%{width:0;right:37px;top:43px}65%{width:0;right:37px;top:43px}84%{width:44px;right:0;top:28px}to{width:20px;right:8px;top:20px}}@media (max-width: 480px){.dialog-container[data-v-15068472]{padding:16px}.dialog-container .dialog-title[data-v-15068472]{font-size:1.1rem;margin-bottom:16px}.dialog-container .dialog-message[data-v-15068472]{font-size:.95rem;margin:16px 0}.dialog-container .warning-message[data-v-15068472]{font-size:.85rem;padding:10px}.dialog-container .input-group[data-v-15068472]{margin-bottom:20px}.dialog-container .input-group label[data-v-15068472]{font-size:.9rem}.dialog-container .input-group .tag-input[data-v-15068472]{padding:8px 10px;font-size:.95rem}.dialog-container .button-group[data-v-15068472]{gap:8px}.dialog-container .button-group .cancel-button[data-v-15068472],.dialog-container .button-group .confirm-button[data-v-15068472]{padding:4px 16px;font-size:.95rem}.dialog-container .loading-animation .spinner[data-v-15068472]{width:36px;height:36px}}@keyframes bganimation-66e54129{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66e54129{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66e54129{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66e54129]{animation:rotateEnter-66e54129 .7s;position:relative}.rotate-leave-active[data-v-66e54129]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66e54129]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.add-button[data-v-66e54129]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 12px;font-size:14px;border-radius:4px}.add-button--danger[data-v-66e54129]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-66e54129]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-66e54129]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-66e54129]{opacity:.5;cursor:not-allowed}.tab-container[data-v-66e54129]{display:flex;flex-direction:row;width:100%;margin:0 auto;border-radius:8px;overflow:hidden}@media (max-width: 768px){.tab-container[data-v-66e54129]{flex-direction:column}}.tab-header[data-v-66e54129]{display:flex;flex-direction:column;width:120px}@media (max-width: 768px){.tab-header[data-v-66e54129]{flex-direction:row;width:100%;overflow-x:auto;white-space:nowrap}}.tab-button[data-v-66e54129]{padding:12px 16px;text-align:left;border:none;background:transparent!important;cursor:pointer;font-size:14px;color:var(--flow-span-color);transition:all .3s ease;border-radius:8px 0 0 8px}.tab-button[data-v-66e54129]:hover{background:var(--tag-bg-color)!important}.tab-button.active[data-v-66e54129]{background:var(--tag-bg-color)!important;font-weight:500;margin:0}@media (max-width: 768px){.tab-button[data-v-66e54129]{border-radius:8px 8px 0 0;text-align:center;flex:1;min-width:max-content}.tab-button.active[data-v-66e54129]{border-radius:8px 8px 0 0}}.tab-content_g[data-v-66e54129]{flex:1;padding:20px;background:var(--tag-bg-color);border-radius:0 8px 8px 0;min-height:60vh}.tab-content_g .not_installed[data-v-66e54129]{display:flex;flex-direction:column;align-items:center}.tab-content_g .not_installed>span[data-v-66e54129]{color:var(--tit-color);margin:20px 0}.tab-content_g .not_installed .not_installed_btn[data-v-66e54129]{padding:6px 16px;background:#553AFE;border-radius:4px;font-size:14px;color:#fff;cursor:pointer}@media (max-width: 768px){.tab-content_g[data-v-66e54129]{border-radius:0 0 8px 8px}}.item_box[data-v-66e54129]{margin-top:12px;display:flex;align-items:center;color:var(--tit-color)!important}.item_box>input[data-v-66e54129]{width:40%;color:var(--card-box-shadow);background:transparent!important;color:var(--tit-color)!important}@media (max-width: 768px){.item_box>input[data-v-66e54129]{width:70%}}.item_box>input[data-v-66e54129]::placeholder{color:var(--item-label_key-span-color)}.item_box>select[data-v-66e54129]{background:transparent!important;width:40%;color:var(--card-box-shadow)}@media (max-width: 768px){.item_box>select[data-v-66e54129]{width:70%}}.item_box>select>option[data-v-66e54129]{padding:4px 12px!important}.item_box .item_left[data-v-66e54129]{width:140px;text-align:right}@media (max-width: 768px){.item_box .item_left[data-v-66e54129]{width:100px}}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.tab-container[data-v-a5a78984]{margin:0 auto}.tabs_box_g[data-v-a5a78984]{display:flex}.tabs_box_g button[data-v-a5a78984]{padding:14px 24px;border:none;background:none;cursor:pointer;font-size:14px;border-radius:8px 8px 0 0;margin:0;transition:all .3s ease}.tabs_box_g button.active[data-v-a5a78984]{background:var(--card-bg-color);color:#553afe;font-weight:700;position:relative}.tab-content_g[data-v-a5a78984]{background:var(--card-bg-color);padding:16px;border-radius:0 8px 8px}.content-item[data-v-a5a78984]{min-height:60vh}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.tabs_box_g button[data-v-a5a78984]{padding:7px 12px!important}.tab-content_g[data-v-a5a78984]{border-radius:0 0 8px 8px}}@keyframes bganimation-de94d0fe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-de94d0fe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-de94d0fe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-de94d0fe]{animation:rotateEnter-de94d0fe .7s;position:relative}.rotate-leave-active[data-v-de94d0fe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-de94d0fe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-de94d0fe]{width:24px;height:24px;margin-right:6px}.icon1[data-v-de94d0fe]{width:16px;height:16px;margin-right:8px}.icon2[data-v-de94d0fe]{width:20px;height:20px;margin-right:8px}.icon3[data-v-de94d0fe]{width:17px;height:17px;margin-right:8px}.m-20[data-v-de94d0fe]{margin:20px 0!important}[data-v-de94d0fe] .modal-container .modal-header{border-bottom:none;padding-bottom:0;padding-left:20px}[data-v-de94d0fe] .modal-container .modal-header .modal-title{text-align:left}[data-v-de94d0fe] .modal-container .modal-content{padding:0 20px 20px}.item_container[data-v-de94d0fe]{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:24px;font-size:16px}.item_container .item[data-v-de94d0fe]{padding:16px;background:var(--card-bg-color);border-radius:10px}.item_container .item .item_title[data-v-de94d0fe]{display:flex;align-items:center}.item_container .item .item_title>span[data-v-de94d0fe]{color:var(--app-container_title-color);display:inline-block;padding-top:2px}.item_container .item>p[data-v-de94d0fe]{color:#717182;margin-top:10px}.item_container .item .wifi_btn[data-v-de94d0fe]{margin:40px 0;display:flex;justify-content:center}.item_container .item .wifi_btn>div[data-v-de94d0fe]{background:#000;padding:12px 24px;border-radius:6px;display:flex;align-items:center;color:#fff;cursor:pointer;font-size:14px}.item_container .item .wifi_btn>div>span[data-v-de94d0fe]{display:inline-block;padding-top:2px}.item_container .item .wifi_btn .start_btn[data-v-de94d0fe]{padding:10px;width:100%;display:flex;justify-content:center}.item_container .item .progress>p[data-v-de94d0fe]{display:flex;justify-content:space-between;font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .is-bg[data-v-de94d0fe]{opacity:.6;pointer-events:none;cursor:not-allowed}.item_container .item .select_box[data-v-de94d0fe]{margin-top:30px;color:var(--app-container_title-color)}.item_container .item .select_box>select[data-v-de94d0fe]{width:100%;background:#f3f3f5;border-radius:6px;color:var(--app-container_title-color)}.item_container .item .select_box>select.is-placeholder[data-v-de94d0fe]{color:#9aa0a6}.item_container .item .select_box option[disabled][data-v-de94d0fe]{color:#9aa0a6}.item_container .item .select_box option[hidden][data-v-de94d0fe]{display:none}.item_container .item .tip[data-v-de94d0fe]{text-align:center;font-size:14px}.item_container .item .log_info[data-v-de94d0fe]{padding:24px 16px;margin-top:20px;background:black;border-radius:8px;max-height:300px;overflow-y:auto}.item_container .item .log_info[data-v-de94d0fe]::-webkit-scrollbar{height:6px}.item_container .item .log_info[data-v-de94d0fe]::-webkit-scrollbar-thumb{background:#777780;border-radius:6px}.item_container .item .log_info>p[data-v-de94d0fe]{font-size:14px;color:#05df72;margin-bottom:12px}.item_container .item .log_info>p[data-v-de94d0fe]:last-child{margin-bottom:0}.item_container .item .result_box[data-v-de94d0fe]{margin-top:20px}.item_container .item .result_box .result[data-v-de94d0fe]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px}.item_container .item .result_box .result .result_state[data-v-de94d0fe]{display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.item_container .item .result_box .result .result_state>div[data-v-de94d0fe]{margin-bottom:6px;font-weight:700;font-size:18px;letter-spacing:.1em}.item_container .item .result_box .result .result_state .result_txt[data-v-de94d0fe]{font-size:12px}.item_container .item .result_box .result .result_item[data-v-de94d0fe]{background:#ececf0;border-radius:6px;padding:20px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.item_container .item .result_box .result .result_item .result_title[data-v-de94d0fe]{font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .result_box .result .result_item .speed_value[data-v-de94d0fe]{font-size:24px;font-weight:700;letter-spacing:.1em}.item_container .item .result_box .result .result_item .speed_title[data-v-de94d0fe]{font-size:12px}.item_container .item .result_box .result .result_item .icon_speed[data-v-de94d0fe]{width:30px;height:30px;margin-bottom:10px}.item_container .item .result_box .result .result_item .icon_speed1[data-v-de94d0fe]{width:26px;height:26px;margin-bottom:10px}.item_container .item .result_box .result .result_item .unit[data-v-de94d0fe]{color:#717182;display:inline-block;margin-bottom:6px}.custom-content p[data-v-de94d0fe]{color:#717182}.custom-content .address_box[data-v-de94d0fe]{background:#ececf0;border-radius:6px;padding:10px 12px;margin-top:16px;display:flex;justify-content:space-between;align-items:center}.custom-content .address_box>span[data-v-de94d0fe]{font-size:16px}.custom-content .address_box>div[data-v-de94d0fe]{background:#fff;padding:6px 12px;border-radius:4px;cursor:pointer}@keyframes spin-de94d0fe{to{transform:rotate(360deg)}}.icon3-wrap[data-v-de94d0fe]{display:inline-flex;width:17px;height:17px;margin-right:8px;align-items:center;justify-content:center}.icon3-wrap .icon3[data-v-de94d0fe]{width:100%;height:100%}.is-rotating[data-v-de94d0fe]{animation:spin-de94d0fe 1s linear infinite;transform-origin:center;transform-box:fill-box;will-change:transform}.line[data-v-de94d0fe]{height:1px;background:#d9d9d9;margin:20px 0}.status[data-v-de94d0fe]{display:inline-block;padding:4px 12px;color:#fff;border-radius:6px;font-size:12px;margin-bottom:10px}.status_bg1[data-v-de94d0fe]{background:#00c950}.status_bg2[data-v-de94d0fe]{background:#2b7fff}.status_bg3[data-v-de94d0fe]{background:#ef4444}.status_bg4[data-v-de94d0fe]{background:#f0b100}@keyframes bganimation-de94d0fe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-de94d0fe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-de94d0fe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-de94d0fe]{animation:rotateEnter-de94d0fe .7s;position:relative}.rotate-leave-active[data-v-de94d0fe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-de94d0fe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.item_container[data-v-de94d0fe]{grid-template-columns:repeat(1,1fr);grid-gap:12px;padding-bottom:16px}}@keyframes bganimation-63694ef8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63694ef8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-63694ef8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-63694ef8]{animation:rotateEnter-63694ef8 .7s;position:relative}.rotate-leave-active[data-v-63694ef8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63694ef8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-63694ef8]{width:30px;height:30px;margin-right:10px;display:block}.icon[data-v-63694ef8] svg{display:block}.container[data-v-63694ef8]{min-height:87vh}.container .title[data-v-63694ef8]{font-size:16px;margin-bottom:20px;display:flex;justify-content:center;flex-direction:column}.container .title>div[data-v-63694ef8]{display:inline-flex;justify-content:center;align-items:center;line-height:1;margin-bottom:10px}.container .title>div>span[data-v-63694ef8]{color:var(--app-container_title-color);position:relative;top:1px;font-weight:600}.container .title>p[data-v-63694ef8]{text-align:center;color:#717182}@keyframes bganimation-63694ef8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63694ef8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-63694ef8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-63694ef8]{animation:rotateEnter-63694ef8 .7s;position:relative}.rotate-leave-active[data-v-63694ef8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63694ef8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-1f11eeec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f11eeec{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f11eeec{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f11eeec]{animation:rotateEnter-1f11eeec .7s;position:relative}.rotate-leave-active[data-v-1f11eeec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f11eeec]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-1f11eeec]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-1f11eeec]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-1f11eeec]{display:none;align-items:center}.switch-core[data-v-1f11eeec]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-1f11eeec]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-1f11eeec]{opacity:.6;cursor:not-allowed}.switch-button[data-v-1f11eeec]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(20px)}.switch-label[data-v-1f11eeec]{font-size:14px;color:#999}.switch-label.active[data-v-1f11eeec]{color:#409eff}form.form-container[data-v-1f11eeec]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-name[data-v-1f11eeec]{display:block;width:100%;margin-bottom:.5rem;color:var(--item-label_key-span-color)}form.form-container .label-name span[data-v-1f11eeec]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-1f11eeec]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-1f11eeec],form.form-container .label-value select[data-v-1f11eeec]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:var(--item-label_key-span-color);font-size:14px}form.form-container .label-value input>option[data-v-1f11eeec],form.form-container .label-value select>option[data-v-1f11eeec]{color:#8898aa}form.form-container .label-value input[data-v-1f11eeec]:focus,form.form-container .label-value select[data-v-1f11eeec]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-1f11eeec]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-1f11eeec]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-1f11eeec],form.form-container .label-value input[type=radio][data-v-1f11eeec]{width:auto}form.form-container .label-value input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-1f11eeec]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-1f11eeec]::placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]:-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]::-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-btns[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-1f11eeec]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-1f11eeec]{color:#f9ad1e}form.form-container .label-flex[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-1f11eeec]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-1f11eeec]{width:200px!important}.form-item .label-value[data-v-1f11eeec]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-1f11eeec]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-1f11eeec]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-1f11eeec]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-1f11eeec]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-1f11eeec]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-1f11eeec]:hover{opacity:.9;transition:.3}select[data-v-1f11eeec]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-1f11eeec]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-1f11eeec]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-1f11eeec]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-1f11eeec]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-1f11eeec]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-1f11eeec]{color:var(--item-label_key-span-color)}form.form-container .form-item .label-value[data-v-1f11eeec]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-1f11eeec],form.form-container .form-item .label-value select[data-v-1f11eeec]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-1f11eeec]{padding-right:24px}form.form-container .form-item .label-value input[data-v-1f11eeec]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-1f11eeec]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-1f11eeec]{padding-right:16px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-1f11eeec] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-1f11eeec] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-1f11eeec]{display:flex}form.form-container .label-flex label[data-v-1f11eeec]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-1f11eeec]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-1f11eeec]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-1f11eeec]{width:20px;height:20px;right:0}.pc-radio[data-v-1f11eeec],.label-flex[data-v-1f11eeec]{display:none!important}.mobile-switch[data-v-1f11eeec]{display:flex;align-items:center;height:50px}.switch_label[data-v-1f11eeec]{display:flex;justify-content:end}.switch-core[data-v-1f11eeec]{width:50px;height:24px}.switch-button[data-v-1f11eeec]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(26px)}.select-arrow[data-v-1f11eeec]{position:absolute;right:6px;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-40cb5302{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40cb5302{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40cb5302{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40cb5302]{animation:rotateEnter-40cb5302 .7s;position:relative}.rotate-leave-active[data-v-40cb5302]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-40cb5302]{display:none}.page-flex[data-v-40cb5302]{display:flex}.page-flex .page-sidebar[data-v-40cb5302]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-40cb5302]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:var(--item-label_key-span-color);display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-40cb5302]:hover,.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-40cb5302]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-40cb5302]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-40cb5302]{display:block}.page-flex .page-sidebar[data-v-40cb5302]{display:none}.page-flex .page-main[data-v-40cb5302]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-40cb5302]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-40cb5302]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-40cb5302]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-40cb5302]::-webkit-scrollbar{display:none}.tag-item[data-v-40cb5302]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:var(--tag-bg-color);color:var(--item-label_key-span-color);font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-40cb5302]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-40cb5302]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:var(--gradient-bg-color)}.more-btn[data-v-40cb5302]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-40cb5302]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-40cb5302] .showSide{z-index:1!important}.popup-overlay[data-v-40cb5302]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-40cb5302]{width:100%;max-height:85vh;background-color:var(--popup-bg-color);border-radius:0 0 4px 4px;animation:slideDown-40cb5302 .3s ease-out;overflow-y:auto;padding-top:25px}.popup-content .popup-tag-item[data-v-40cb5302],.popup-content .active[data-v-40cb5302]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-40cb5302{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-40cb5302]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-40cb5302]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.popup-footer[data-v-40cb5302]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-40cb5302]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-40cb5302]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-40cb5302]{background-color:#5279f7;color:#fff;border:none}} +@keyframes bganimation-0698ba82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0698ba82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0698ba82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0698ba82]{animation:rotateEnter-0698ba82 .7s;position:relative}.rotate-leave-active[data-v-0698ba82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0698ba82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-0698ba82]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-0698ba82]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-9bc295c2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9bc295c2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9bc295c2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9bc295c2]{animation:rotateEnter-9bc295c2 .7s;position:relative}.rotate-leave-active[data-v-9bc295c2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9bc295c2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-9bc295c2]{width:100%}#main[data-v-9bc295c2],#main[data-v-9bc295c2] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@keyframes bganimation-733828e1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-733828e1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-733828e1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-733828e1]{animation:rotateEnter-733828e1 .7s;position:relative}.rotate-leave-active[data-v-733828e1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-733828e1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-733828e1]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-733828e1]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-76324716{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76324716{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76324716{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76324716]{animation:rotateEnter-76324716 .7s;position:relative}.rotate-leave-active[data-v-76324716]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76324716]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-76324716]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-76324716]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-76324716],label.checkbox_switch .checkbox_switch_off[data-v-76324716]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-76324716]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-76324716]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-76324716]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-76324716]{display:none!important}label.checkbox_switch svg[data-v-76324716]{height:1em;width:2em}article[data-v-bd286d4e]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-bd286d4e]{max-width:33.333%}}@keyframes bganimation-bd286d4e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bd286d4e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bd286d4e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bd286d4e]{animation:rotateEnter-bd286d4e .7s;position:relative}.rotate-leave-active[data-v-bd286d4e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bd286d4e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-bd286d4e]{max-width:50%}}@keyframes bganimation-123deb20{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-123deb20{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-123deb20{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-123deb20]{animation:rotateEnter-123deb20 .7s;position:relative}.rotate-leave-active[data-v-123deb20]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-123deb20]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-123deb20]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-123deb20]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-123deb20]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-123deb20]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-123deb20] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-123deb20] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-123deb20] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-123deb20]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-123deb20]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-123deb20]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-123deb20]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-123deb20]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-123deb20]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-123deb20]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-123deb20]{background-color:#439c07}@keyframes bganimation-0b6f3a7d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b6f3a7d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b6f3a7d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b6f3a7d]{animation:rotateEnter-0b6f3a7d .7s;position:relative}.rotate-leave-active[data-v-0b6f3a7d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b6f3a7d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-0b6f3a7d]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-0b6f3a7d],.select-editable input[data-v-0b6f3a7d]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-0b6f3a7d]{position:relative;width:100%}.select-editable input[data-v-0b6f3a7d]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-0b6f3a7d]:focus,.select-editable input[data-v-0b6f3a7d]:focus{outline:none;box-shadow:none}@keyframes bganimation-0ec4e762{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ec4e762{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ec4e762{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ec4e762]{animation:rotateEnter-0ec4e762 .7s;position:relative}.rotate-leave-active[data-v-0ec4e762]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ec4e762]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-0ec4e762{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-0ec4e762]{animation:turn-0ec4e762 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-0ec4e762]{width:100%;height:100%}.quick-loading svg path[data-v-0ec4e762]{fill:#fff}@keyframes bganimation-b934e2ce{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b934e2ce{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b934e2ce{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b934e2ce]{animation:rotateEnter-b934e2ce .7s;position:relative}.rotate-leave-active[data-v-b934e2ce]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b934e2ce]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-b934e2ce]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-b934e2ce]{width:22px;height:22px}a:hover svg path[data-v-b934e2ce]{fill:#3688ff}.reusable-card[data-v-dbb174c6]{border:1px solid;border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;display:flex;flex-direction:column;gap:12px;border:1px solid var(--border-color);background:var(--card-bg-color)}.card-header[data-v-dbb174c6]{display:flex;justify-content:space-between;align-items:center}.card-header .left[data-v-dbb174c6]{display:flex;align-items:center;gap:8px}.card-header[data-v-dbb174c6]>svg{width:20px;height:20px}.title[data-v-dbb174c6]{font-size:16px;font-weight:600;line-height:1;color:var(--app-container_title-color)}.settings-btn[data-v-dbb174c6]{cursor:pointer}.card-body[data-v-dbb174c6]{flex:1 1 auto}.card-footer[data-v-dbb174c6]{display:flex;justify-content:center}.footer-btn[data-v-dbb174c6]{display:inline-flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;border:1px solid var(--btn-border-color);justify-content:center;cursor:pointer;width:100%;max-width:600px;margin-top:16px}.footer-icon[data-v-dbb174c6]{display:inline-flex;align-items:center}.footer-text[data-v-dbb174c6]{font-size:14px;font-weight:400;color:var(--app-container_title-color)}.settings-icon[data-v-dbb174c6]{width:20px;height:20px}.settings-icon[data-v-dbb174c6] svg,.settings-icon[data-v-dbb174c6] g,.settings-icon[data-v-dbb174c6] path,.settings-icon[data-v-dbb174c6] circle,.settings-icon[data-v-dbb174c6] rect,.settings-icon[data-v-dbb174c6] line,.settings-icon[data-v-dbb174c6] polyline,.settings-icon[data-v-dbb174c6] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}.settings-wrapper[data-v-dbb174c6]{position:relative}.dropdown-menu[data-v-dbb174c6]{position:absolute;top:38px;right:0;background:#fff;border-radius:6px;padding:16px 0;min-width:220px;box-shadow:0 4px 12px #0003;z-index:10}.fade-enter-active[data-v-dbb174c6],.fade-leave-active[data-v-dbb174c6]{transition:opacity .2s}.fade-enter-from[data-v-dbb174c6],.fade-leave-to[data-v-dbb174c6]{opacity:0}.dropdown-menu[data-v-dbb174c6] div{display:block;width:100%;text-align:center;padding:8px 0;border:none;background:none;cursor:pointer;font-size:14px;color:#333;transition:background .2s,color .2s}.dropdown-menu[data-v-dbb174c6] div:hover{background-color:#eee}@keyframes bganimation-dbb174c6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-dbb174c6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-dbb174c6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-dbb174c6]{animation:rotateEnter-dbb174c6 .7s;position:relative}.rotate-leave-active[data-v-dbb174c6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-dbb174c6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.reusable-card[data-v-dbb174c6]{padding:10px;border-radius:6px}.title[data-v-dbb174c6]{font-size:14px}.footer-btn[data-v-dbb174c6]{margin-top:6px}.dropdown-menu[data-v-dbb174c6]{padding:8px 0;min-width:150px}}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-75eeccd3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-75eeccd3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-75eeccd3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-75eeccd3]{animation:rotateEnter-75eeccd3 .7s;position:relative}.rotate-leave-active[data-v-75eeccd3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-75eeccd3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-75eeccd3]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-75eeccd3]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-75eeccd3],#actioner[data-v-75eeccd3] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-75eeccd3]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-75eeccd3]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-75eeccd3]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-75eeccd3]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-75eeccd3]:hover{opacity:.9}.action-container .action-container_body[data-v-75eeccd3]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}@keyframes bganimation-7732abe2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7732abe2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7732abe2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7732abe2]{animation:rotateEnter-7732abe2 .7s;position:relative}.rotate-leave-active[data-v-7732abe2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7732abe2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-7732abe2]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-7732abe2]{flex:auto}ul.disk-item .disk-item_icon[data-v-7732abe2]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-7732abe2]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-7732abe2]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-7732abe2]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-7732abe2]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-7732abe2],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-7732abe2]{width:100%}ul.disk-item li.disk-info.on[data-v-7732abe2]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-7732abe2]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-7732abe2]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-7732abe2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-7732abe2]{border-left:3px solid #ff9c08;background-color:#ecf5ff}@keyframes bganimation-6935a479{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6935a479{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6935a479{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6935a479]{animation:rotateEnter-6935a479 .7s;position:relative}.rotate-leave-active[data-v-6935a479]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6935a479]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-6935a479{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-6935a479]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-6935a479]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-6935a479]{width:100%;height:100%}.toast div.icon svg path[data-v-6935a479]{fill:#fff}.toast .loading[data-v-6935a479]{animation:turn-6935a479 1s steps(12,end) infinite}.toast .message[data-v-6935a479]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}.action .action-footer button[data-v-d72e7026]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-d72e7026]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-d72e7026]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-d72e7026]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-d72e7026]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-d72e7026]{flex:auto}.action.format .disk-list[data-v-d72e7026]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-d72e7026]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-d72e7026]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-d72e7026]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-d72e7026]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-d72e7026]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-d72e7026],.action.format .label-item .label-item_value input[data-v-d72e7026]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-d72e7026]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-d72e7026]{flex:auto}.action.format p.msg[data-v-d72e7026]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-d72e7026]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-d72e7026]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-d72e7026]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-d72e7026]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-d72e7026]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-d72e7026]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-d72e7026]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-d72e7026]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-d72e7026]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-d72e7026]{color:#0000fb}.action.result .btns[data-v-d72e7026]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-d72e7026]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-d72e7026]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-d72e7026]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-d72e7026]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-d72e7026]{width:100%}}.action .action-footer button[data-v-0d1b6ac8]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-0d1b6ac8]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.list .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.format .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-0d1b6ac8]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-0d1b6ac8]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-0d1b6ac8]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-0d1b6ac8],.action.format .label-item .label-item_value input[data-v-0d1b6ac8]{width:100%;height:36px}.action.format .auto[data-v-0d1b6ac8]{flex:auto}.action.format p.msg[data-v-0d1b6ac8]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-0d1b6ac8]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-0d1b6ac8]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-0d1b6ac8]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-0d1b6ac8]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-0d1b6ac8]{color:#f70324}.action.result .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-0d1b6ac8]{flex:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-0d1b6ac8]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-0d1b6ac8]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-0d1b6ac8]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-0d1b6ac8]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-0d1b6ac8]{width:80%}}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-5f6e53be]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-5f6e53be]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-5f6e53be]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-5f6e53be]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-5f6e53be]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-5f6e53be]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@keyframes bganimation-2eafa10c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2eafa10c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2eafa10c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2eafa10c]{animation:rotateEnter-2eafa10c .7s;position:relative}.rotate-leave-active[data-v-2eafa10c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2eafa10c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2eafa10c]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2eafa10c]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2eafa10c]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2eafa10c]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2eafa10c]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2eafa10c]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2eafa10c]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2eafa10c],.action .action-body .label-item .label-item_value input[data-v-2eafa10c]{width:100%;height:36px}.action .action-footer[data-v-2eafa10c]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2eafa10c]{flex:auto}.action .action-footer button[data-v-2eafa10c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-58844394{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58844394{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58844394{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58844394]{animation:rotateEnter-58844394 .7s;position:relative}.rotate-leave-active[data-v-58844394]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58844394]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-58844394]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-58844394]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-58844394]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-58844394]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-58844394]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-58844394]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-58844394]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-58844394]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-58844394]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-58844394],.action .action-body .label-item .label-item_value input[data-v-58844394]{width:100%;height:36px}.action .action-body .samba-item[data-v-58844394]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-58844394]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-58844394]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-58844394]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-58844394]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-58844394]{margin-left:10px}.action .action-footer[data-v-58844394]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-58844394]{flex:auto}.action .action-footer button[data-v-58844394]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-1d64dea6]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-1d64dea6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-1d64dea6]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-1d64dea6]{width:100%;display:block;padding:2rem 0}.action form label[data-v-1d64dea6]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-1d64dea6],.action form label select[data-v-1d64dea6]{width:100%;display:block;height:42px}.action .btns[data-v-1d64dea6]{width:100%;margin-top:3rem}.action .btns button[data-v-1d64dea6]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-1d64dea6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-1d64dea6]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-1d64dea6]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-1d64dea6],.action li.disk-item .disk-item_f .disk-item_used[data-v-1d64dea6]{width:100%}.action .tips[data-v-1d64dea6]{float:right;font-size:.8em}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-1d64dea6]{font-size:2em}}@keyframes bganimation-27ba49f9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-27ba49f9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-27ba49f9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-27ba49f9]{animation:rotateEnter-27ba49f9 .7s;position:relative}.rotate-leave-active[data-v-27ba49f9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-27ba49f9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-27ba49f9]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-27ba49f9]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.aria2-item .aria2-item_value[data-v-27ba49f9]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-27ba49f9]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-27ba49f9]{color:#888}.use-url_app[data-v-27ba49f9]{padding-bottom:14px}.use-url_app a[data-v-27ba49f9]{text-decoration:none;color:#297ff3}@keyframes bganimation-da46870e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-da46870e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-da46870e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-da46870e]{animation:rotateEnter-da46870e .7s;position:relative}.rotate-leave-active[data-v-da46870e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-da46870e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-da46870e]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-da46870e]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.qbittorrent-item .qbittorrent-item_value[data-v-da46870e]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-da46870e]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-da46870e]{color:#888}a[data-v-da46870e]{text-decoration:none;color:#297ff3}@keyframes bganimation-562f4f7e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-562f4f7e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-562f4f7e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-562f4f7e]{animation:rotateEnter-562f4f7e .7s;position:relative}.rotate-leave-active[data-v-562f4f7e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-562f4f7e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-562f4f7e]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-562f4f7e]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.transmission-item .transmission-item_value[data-v-562f4f7e]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-562f4f7e]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-562f4f7e]{color:#888}a[data-v-562f4f7e]{text-decoration:none;color:#297ff3}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-7b328460]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-7b328460]{color:#999;font-size:14px}.action input[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-7b328460]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-7b328460]{width:100%}.action form label input[data-v-7b328460],.action form label select[data-v-7b328460]{height:100%;font-size:14px}.action .myinput_wrap[data-v-7b328460],.action .RPC_input[data-v-7b328460]{width:85%}.action .myinput_wrap textarea[data-v-7b328460]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-7b328460]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-7b328460]{margin-right:10px}.action .input_row .radios input[data-v-7b328460],.action .input_row .radios label[data-v-7b328460]{cursor:pointer}.action .Tracker label[data-v-7b328460]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-7b328460]{padding:6px 2px}.action .btns[data-v-7b328460]{width:100%;margin:42px auto 0}.action .btns button[data-v-7b328460]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-7b328460]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-7b328460]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-7b328460]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-7b328460]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-7b328460]{visibility:visible;opacity:1}.action .tooltip-top[data-v-7b328460]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-7b328460]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-7b328460]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-7b328460]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-7b328460]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-7b328460]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-7b328460]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-7b328460]{text-align:center;font-size:14px}.action .finished[data-v-7b328460]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-7b328460]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-7b328460]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-7b328460]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-7b328460]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-7b328460]:focus,.select-editable input[data-v-7b328460]:focus{outline:none}[data-v-7b328460]::placeholder{color:#999}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-7b328460]{width:100%}.action .input_row[data-v-7b328460]{display:block}.action .input_row .myinput_wrap[data-v-7b328460],.action .input_row .RPC_input[data-v-7b328460]{width:100%}}@keyframes bganimation-5ebde5ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ebde5ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ebde5ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ebde5ac]{animation:rotateEnter-5ebde5ac .7s;position:relative}.rotate-leave-active[data-v-5ebde5ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ebde5ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-5ebde5ac]{width:1.3rem;height:1.3rem}.icon1[data-v-5ebde5ac]{width:1rem;height:1rem}.icon2[data-v-5ebde5ac]{width:1.5rem;height:1.5rem;margin-bottom:12px}[data-v-5ebde5ac] .downloadIcon path{fill:var(--app-container_title-color)!important}a[data-v-5ebde5ac]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-5ebde5ac]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .tab[data-v-5ebde5ac]{display:flex;gap:8px}.content .tab .item[data-v-5ebde5ac]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer;border:2px solid transparent;box-sizing:border-box}.content .tab .item .title[data-v-5ebde5ac]{margin-bottom:8px}.content .tab .item>span[data-v-5ebde5ac]{font-size:12px}.content .tab .active[data-v-5ebde5ac]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-5ebde5ac]{background-color:#fff7ed;color:#ca3500}.content .tab .memory[data-v-5ebde5ac]{background-color:#f9fafb;color:#364153}.content .tab .network[data-v-5ebde5ac]{background-color:#f0fdfa;color:#277881}.btn_settings[data-v-5ebde5ac]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-5ebde5ac]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-5ebde5ac]{transform:rotate(90deg)}@keyframes bganimation-5ebde5ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ebde5ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ebde5ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ebde5ac]{animation:rotateEnter-5ebde5ac .7s;position:relative}.rotate-leave-active[data-v-5ebde5ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ebde5ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-5ebde5ac]{margin:10px 0}}@keyframes bganimation-46dd945e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-46dd945e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-46dd945e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-46dd945e]{animation:rotateEnter-46dd945e .7s;position:relative}.rotate-leave-active[data-v-46dd945e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-46dd945e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-46dd945e]{text-align:center;margin-bottom:20px}.label-item[data-v-46dd945e]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-46dd945e]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-46dd945e]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-46dd945e]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b760733a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b760733a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b760733a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b760733a]{animation:rotateEnter-b760733a .7s;position:relative}.rotate-leave-active[data-v-b760733a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b760733a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b760733a]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b760733a]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b760733a]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b760733a]{text-align:center}.actioner-container_body .body-info[data-v-b760733a]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b760733a]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b760733a]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b760733a]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-064efd50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-064efd50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-064efd50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-064efd50]{animation:rotateEnter-064efd50 .7s;position:relative}.rotate-leave-active[data-v-064efd50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-064efd50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-064efd50]{width:100%;height:100%;border:none}@keyframes bganimation-49c43a08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-49c43a08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-49c43a08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-49c43a08]{animation:rotateEnter-49c43a08 .7s;position:relative}.rotate-leave-active[data-v-49c43a08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-49c43a08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-49c43a08]{width:100%;height:100%;border:none}@keyframes bganimation-27f65f12{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-27f65f12{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-27f65f12{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-27f65f12]{animation:rotateEnter-27f65f12 .7s;position:relative}.rotate-leave-active[data-v-27f65f12]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-27f65f12]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-27f65f12]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-27f65f12]{width:100px;height:100px}.actioner-container_body .body-title[data-v-27f65f12]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-27f65f12]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-27f65f12]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-27f65f12]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-27f65f12]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-210c03e8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-210c03e8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-210c03e8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-210c03e8]{animation:rotateEnter-210c03e8 .7s;position:relative}.rotate-leave-active[data-v-210c03e8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-210c03e8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-210c03e8]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-1b21487b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1b21487b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1b21487b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1b21487b]{animation:rotateEnter-1b21487b .7s;position:relative}.rotate-leave-active[data-v-1b21487b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1b21487b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-1b21487b]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-7a6bd385]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-7a6bd385] .actioner-container{width:100%}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-7a6bd385]{width:90%}}@keyframes bganimation-05611967{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-05611967{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-05611967{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-05611967]{animation:rotateEnter-05611967 .7s;position:relative}.rotate-leave-active[data-v-05611967]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-05611967]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-05611967]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-05611967]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-05611967]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-05611967]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-05611967]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-05611967]:hover{opacity:.8}.action .clear[data-v-05611967]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-05611967]:hover{opacity:.8}@keyframes bganimation-6e29e960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6e29e960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6e29e960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6e29e960]{animation:rotateEnter-6e29e960 .7s;position:relative}.rotate-leave-active[data-v-6e29e960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6e29e960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-6e29e960]{display:block;width:100%;text-align:center}.title_info p[data-v-6e29e960]{font-size:20px;margin-bottom:10px}.label-item[data-v-6e29e960]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-6e29e960]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-6e29e960]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-6e29e960]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-6e29e960]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-6e29e960],.label-item .label-item_value input[data-v-6e29e960]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-6e29e960]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-6e29e960]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-6e29e960]{margin-left:8px}.label-message[data-v-6e29e960]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6f1d92d9]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6f1d92d9] .actioner-container{width:100%}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.ali,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6f1d92d9]{width:90%}}@keyframes bganimation-134135a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-134135a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-134135a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-134135a2]{animation:rotateEnter-134135a2 .7s;position:relative}.rotate-leave-active[data-v-134135a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-134135a2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-134135a2] .footer-btn{background:var(--card-bg-color);border:1px solid var(--btn-border-color)}[data-v-134135a2] .reusable-card{background:#fff5ee!important;border:1px solid #ffd6a7!important}[data-v-134135a2] .earthIcon path{fill:var(--app-container_title-color)!important}.icon[data-v-134135a2]{width:1.3rem;height:1.3rem}.icon1[data-v-134135a2]{width:1rem;height:1rem}.icon2[data-v-134135a2]{width:1.5rem;height:1.5rem;margin-bottom:8px}.icon3[data-v-134135a2]{width:1.5rem;height:1.5rem;cursor:pointer}a[data-v-134135a2]{text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-134135a2]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400;padding:0 12px}.content .tab[data-v-134135a2]{display:flex;gap:8px}.content .tab .item[data-v-134135a2]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer;border:2px solid transparent;box-sizing:border-box}.content .tab .item .title[data-v-134135a2]{margin-bottom:8px}.content .tab .item>span[data-v-134135a2]{font-size:12px}.content .tab .active[data-v-134135a2]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-134135a2]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-134135a2]{background-color:#f0fdf4;color:#008236}.content .tab .network[data-v-134135a2]{background-color:#f9fafb;color:#4a5565}.content .info[data-v-134135a2]{margin-top:20px}.content .info .status[data-v-134135a2]{padding:20px 0 0;margin-top:16px;display:flex;justify-content:space-between;border-top:1px solid var(--btn-border-color)}.content .info .status .offline[data-v-134135a2]{background:#eceef2;color:#030213}.content .info .status>div[data-v-134135a2]{color:var(--app-container_title-color);font-size:16px}.content .info .status>span[data-v-134135a2]{color:#fff;padding:4px 8px;background:#030213;border-radius:6px;font-size:12px}.content .info .title_box[data-v-134135a2]{margin:20px 0}.content .info .title_box .title[data-v-134135a2]{color:var(--item-label_key-span-color);margin-bottom:10px}.content .info .title_box .path[data-v-134135a2]{display:flex;align-items:center;justify-content:space-between;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .info .title_box .path>span[data-v-134135a2]{display:inline-block;padding:4px 8px;border:1px solid #553afb;font-size:12px;border-radius:4px;cursor:pointer;flex-shrink:0}.content .info .title_box .path>span>a[data-v-134135a2]{color:#553afb}.btn_settings[data-v-134135a2]{padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}@keyframes bganimation-134135a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-134135a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-134135a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-134135a2]{animation:rotateEnter-134135a2 .7s;position:relative}.rotate-leave-active[data-v-134135a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-134135a2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-134135a2]{margin:10px 0 0;padding:4px}.content .info[data-v-134135a2]{margin-top:10px}.content .info .status[data-v-134135a2]{padding-top:10px}.content .info .title_box[data-v-134135a2]{margin:10px 0}}@keyframes bganimation-47c7bd93{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-47c7bd93{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-47c7bd93{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-47c7bd93]{animation:rotateEnter-47c7bd93 .7s;position:relative}.rotate-leave-active[data-v-47c7bd93]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-47c7bd93]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-47c7bd93]{width:1.5rem;height:1.5rem;margin-right:6px}.display_flex[data-v-47c7bd93]{display:flex;align-items:center}.network_container[data-v-47c7bd93]{border:1px solid var(--border-color);border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;background:var(--card-bg-color);height:100%;display:flex;flex-direction:column;min-height:0}.network_container .title_box[data-v-47c7bd93]{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;flex-shrink:0}.network_container .title_box>span[data-v-47c7bd93]{font-size:16px;font-weight:600}.network_container .title_box .network_tag[data-v-47c7bd93]{display:flex;align-items:center}.network_container .title_box .network_tag .tag_item[data-v-47c7bd93]{display:flex;align-items:center;font-size:12px;margin-left:16px}.network_container .title_box .network_tag .tag_item>span[data-v-47c7bd93]{line-height:1}.network_container .title_box .network_tag .tag_item>div[data-v-47c7bd93]{width:12px;height:12px;border-radius:50%;margin-right:6px}.network_container .title_box .network_tag .tag_item .tag_dn[data-v-47c7bd93]{background:#20c7f7}.network_container .title_box .network_tag .tag_item .tag_up[data-v-47c7bd93]{background:#553afe}.network_container .echart[data-v-47c7bd93]{flex:1;min-height:200px;min-width:0}.network_container .speed[data-v-47c7bd93]{display:flex;flex-shrink:0}.network_container .speed .speed_item[data-v-47c7bd93]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.network_container .speed .speed_item>span[data-v-47c7bd93]{font-size:12px;color:#999;margin-bottom:10px}.network_container .speed .speed_item>div[data-v-47c7bd93]{font-size:16px;color:#333}.speed_box[data-v-47c7bd93]{display:flex;align-items:center;justify-content:flex-end;margin-top:16px}@keyframes bganimation-47c7bd93{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-47c7bd93{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-47c7bd93{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-47c7bd93]{animation:rotateEnter-47c7bd93 .7s;position:relative}.rotate-leave-active[data-v-47c7bd93]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-47c7bd93]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.network_container[data-v-47c7bd93]{border-radius:6px;padding:10px}.network_container .title_box[data-v-47c7bd93]{margin-bottom:16px}.network_container .title_box>span[data-v-47c7bd93]{font-size:14px;font-weight:600}}@keyframes bganimation-5cff2770{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5cff2770{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5cff2770{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5cff2770]{animation:rotateEnter-5cff2770 .7s;position:relative}.rotate-leave-active[data-v-5cff2770]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5cff2770]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-5cff2770]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-5cff2770]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-5cff2770]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-5cff2770]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-5cff2770]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-5cff2770],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-5cff2770]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-5cff2770]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-5cff2770]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-5cff2770]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5cff2770{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5cff2770{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5cff2770{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5cff2770]{animation:rotateEnter-5cff2770 .7s;position:relative}.rotate-leave-active[data-v-5cff2770]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5cff2770]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-5cff2770]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-5cff2770]{width:100%}}@keyframes bganimation-3f8f9931{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f8f9931{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f8f9931{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f8f9931]{animation:rotateEnter-3f8f9931 .7s;position:relative}.rotate-leave-active[data-v-3f8f9931]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f8f9931]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3f8f9931]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-3f8f9931]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-3f8f9931]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3f8f9931]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-3f8f9931]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-3f8f9931],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-3f8f9931]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-3f8f9931]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-3f8f9931]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3f8f9931]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-3f8f9931]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-3f8f9931]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-3f8f9931]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-3f8f9931]:focus,.actioner-dns .select-editable input[data-v-3f8f9931]:focus{outline:none}.actioner-dns[data-v-3f8f9931] ::placeholder{color:#999}.successed[data-v-3f8f9931]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-3f8f9931]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-3f8f9931]{text-align:center}.docker_moves .moves[data-v-3f8f9931]{margin-top:10px}.docker_moves .moves input[data-v-3f8f9931]{cursor:pointer}.docker_moves .moves label[data-v-3f8f9931]{margin-left:10px;cursor:pointer}.btns[data-v-3f8f9931]{text-align:center}.item_info[data-v-3f8f9931]{margin-left:10px}.softsource_tit[data-v-3f8f9931]{margin:0 auto}.softsource_successed[data-v-3f8f9931]{width:20%!important}@keyframes bganimation-3f8f9931{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f8f9931{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f8f9931{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f8f9931]{animation:rotateEnter-3f8f9931 .7s;position:relative}.rotate-leave-active[data-v-3f8f9931]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f8f9931]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-3f8f9931]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-3f8f9931]{width:100%}}@keyframes bganimation-24e35542{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-24e35542{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-24e35542{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-24e35542]{animation:rotateEnter-24e35542 .7s;position:relative}.rotate-leave-active[data-v-24e35542]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-24e35542]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-24e35542]{width:1.5rem;height:1.5rem}[data-v-24e35542] .networkIcon path{fill:var(--app-container_title-color)!important}.flex[data-v-24e35542]{display:flex;align-items:center}.info_content[data-v-24e35542]{margin:12px 0 4px;height:100%;display:flex;flex-direction:column;justify-content:space-between}.info_content .status_box[data-v-24e35542]{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border-color);font-size:14px;line-height:1;margin-bottom:6px}.info_content .status_box .status_name[data-v-24e35542]{display:flex;align-items:center;line-height:1}.info_content .status_box .status_name .icon[data-v-24e35542]{width:1rem;height:1rem;margin-right:6px}.info_content .status_box .status_time[data-v-24e35542]{padding:4px 8px;background:#dbfce7;color:#008236;border-radius:4px}.info_content .ip_item[data-v-24e35542]{display:flex;justify-content:space-between;align-items:center}.info_content .ip_item .ip_action[data-v-24e35542]{display:flex;align-items:center;gap:8px}.info_content .ip_item .ip_tag[data-v-24e35542]{padding:3px 6px;border-radius:6px;border:1px solid #d1d5db;font-size:12px;line-height:1;display:flex;align-items:center}.info_content .ip_item .ip_tag>svg[data-v-24e35542]{width:1.3rem;height:1.3rem;vertical-align:middle;margin-right:4px}.info_content .ip_item .device[data-v-24e35542]{font-size:14px;color:#155dfc}.info_content .ip_item .delay[data-v-24e35542]{font-size:14px;color:#00a663}.info_content .ip_item .download[data-v-24e35542]{font-size:14px;color:var(--item-label_key-span-color)}.info_content .line[data-v-24e35542]{width:100%;height:1px;background:var(--btn-border-color);margin-bottom:20px}.info_content .line1[data-v-24e35542]{width:100%;height:1px;background:var(--btn-border-color);margin:20px 0}.info_content .ip_item[data-v-24e35542]:nth-last-child(1){margin-top:20px}.info_content .ip_info[data-v-24e35542]{min-height:60px;display:flex;flex-direction:column;justify-content:flex-end}.info_content .ip_info .ip_address[data-v-24e35542]{color:var(--item-label_key-span-color);margin-top:10px}.device-manage-btn[data-v-24e35542]{border:1px solid var(--btn-border-color);border-radius:6px;background:var(--card-bg-color);color:var(--app-container_title-color);padding:8px 10px 6px;line-height:1;font-size:12px;cursor:pointer;transition:background .2s,transform .1s;display:inline-flex;align-items:center;gap:6px}.device-manage-btn[data-v-24e35542]:hover{background:var(--btn-border-hover-color)}.device-manage-btn[data-v-24e35542]:active{transform:scale(.97)}.device-manage-icon[data-v-24e35542]{width:14px;height:14px;display:inline-block}.btn-primary[data-v-24e35542]{background-color:#00b8db;color:#fff;border:none;padding:3px 16px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-primary[data-v-24e35542]:hover{background-color:#26a7c7}.btn-primary[data-v-24e35542]:active{transform:scale(.95)}.btn-pink[data-v-24e35542]{background-color:#f751a9;color:#fff;border:none;padding:3px 12px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-pink[data-v-24e35542]:hover{background-color:#e60076}.btn-pink[data-v-24e35542]:active{transform:scale(.95)}@keyframes bganimation-24e35542{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-24e35542{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-24e35542{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-24e35542]{animation:rotateEnter-24e35542 .7s;position:relative}.rotate-leave-active[data-v-24e35542]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-24e35542]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.flex[data-v-24e35542]{flex-direction:column;align-items:flex-start}}@keyframes bganimation-3ebe4ebd{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ebe4ebd{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ebe4ebd{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ebe4ebd]{animation:rotateEnter-3ebe4ebd .7s;position:relative}.rotate-leave-active[data-v-3ebe4ebd]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ebe4ebd]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-3ebe4ebd]{width:1.3rem;height:1.3rem}.icon1[data-v-3ebe4ebd],.icon2[data-v-3ebe4ebd]{width:1rem;height:1rem}[data-v-3ebe4ebd] .interfaceIcon path{fill:var(--app-container_title-color)!important}[data-v-3ebe4ebd] .footer-btn{margin-top:6px}.content[data-v-3ebe4ebd]{margin-top:6px;padding-bottom:16px;min-height:30px;display:flex;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable both-edges;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.35) transparent}.content[data-v-3ebe4ebd]::-webkit-scrollbar{height:6px}.content[data-v-3ebe4ebd]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.content .item[data-v-3ebe4ebd]{position:relative;display:inline-flex;align-items:center;padding-right:20px;margin-right:16px;cursor:pointer}.content .item[data-v-3ebe4ebd]:before{content:"";display:inline-block;position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px!important;height:60%;background:#e0e0e0}.content .item[data-v-3ebe4ebd]:last-child:before{content:none}.content .icon_box[data-v-3ebe4ebd]{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:8px;background:#dbfce7;margin-right:12px}.content .name[data-v-3ebe4ebd]{display:flex;align-items:center;margin-bottom:6px}.content .speed[data-v-3ebe4ebd]{padding:4px 6px;background:#dbfce7;font-size:12px;border-radius:6px;line-height:1;color:#008236;margin-left:8px}.content .status[data-v-3ebe4ebd]{font-size:12px;color:#6a7282}.content>*[data-v-3ebe4ebd]{flex:0 0 auto}[data-v-3ebe4ebd] .content::-webkit-scrollbar{height:8px}[data-v-3ebe4ebd] .content::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(0,0,0,.35)}[data-v-3ebe4ebd] .content::-webkit-scrollbar-track{background:transparent}.btn_settings[data-v-3ebe4ebd]{position:relative;padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-3ebe4ebd]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-3ebe4ebd]{transform:rotate(90deg)}.row input[type=checkbox][data-v-3ebe4ebd]{vertical-align:middle;margin:0}.row[data-v-3ebe4ebd]{gap:8px;padding:0;margin:6px 0;display:flex;align-items:center}.row>input[data-v-3ebe4ebd]{margin-right:6px!important;margin-top:0}[data-v-3ebe4ebd] .dropdown-menu div:hover{background:transparent!important}[data-v-3ebe4ebd] .dropdown-menu{padding:8px 0}[data-v-3ebe4ebd] .dropdown-menu>div{padding:0}@keyframes bganimation-3ebe4ebd{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ebe4ebd{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ebe4ebd{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ebe4ebd]{animation:rotateEnter-3ebe4ebd .7s;position:relative}.rotate-leave-active[data-v-3ebe4ebd]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ebe4ebd]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-58f520f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58f520f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58f520f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58f520f0]{animation:rotateEnter-58f520f0 .7s;position:relative}.rotate-leave-active[data-v-58f520f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58f520f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.feature-card[data-v-58f520f0]{flex:1 1 0;min-width:280px;max-width:350px;padding:14px 14px 20px;border:2px solid var(--border-color);border-radius:10px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;background-color:var(--card-bg-color);display:flex;align-items:flex-start;justify-content:space-between}.feature-card[data-v-58f520f0]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.feature-card .badge[data-v-58f520f0]{font-size:12px;padding:4px 6px;border-radius:6px;color:#fff;line-height:1}.feature-card .header[data-v-58f520f0]{display:flex;align-items:center;gap:6px;margin-bottom:16px}.feature-card .header .icon-wrapper[data-v-58f520f0]{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background-color:#999;color:#fff}.feature-card .header .icon-wrapper .icon-svg[data-v-58f520f0]{width:24px;height:24px}.feature-card .content .title[data-v-58f520f0]{font-weight:700;color:var(--item-label_key-span-color);margin-bottom:8px}.feature-card .content .subtitle[data-v-58f520f0]{font-size:14px;color:#666;margin-top:2px}.feature-card .footer[data-v-58f520f0]{display:flex;align-items:center;margin-top:12px;font-size:12px}.feature-card .footer .status[data-v-58f520f0]{padding:4px 6px;border-radius:6px;background-color:#eee;color:#666;line-height:1;margin-right:6px}.feature-card .footer .status.active[data-v-58f520f0]{background-color:#d3f9d8;color:#38a169}.feature-card .footer .extra[data-v-58f520f0]{color:inherit}.feature-card .footer .extra .extra_num[data-v-58f520f0]{font-size:16px}.feature-card .right-arrow[data-v-58f520f0]{width:18px;height:18px;align-self:center}.feature-card.purple .icon-wrapper[data-v-58f520f0]{background-color:#ad46ff}.feature-card.purple .badge[data-v-58f520f0]{background-color:#f3e8ff;color:#8200db}.feature-card.blue .icon-wrapper[data-v-58f520f0]{background-color:#3b82f6}.feature-card.blue .badge[data-v-58f520f0]{background-color:#e6effe;color:#3b82f6}.feature-card.blue .right-arrow[data-v-58f520f0]{opacity:.8;width:18px;height:18px}.feature-card.green .icon-wrapper[data-v-58f520f0],.feature-card.green .badge[data-v-58f520f0]{background-color:#22c55e}.feature-card.pink .icon-wrapper[data-v-58f520f0]{background-color:#ec4899}.feature-card.pink .badge[data-v-58f520f0]{background-color:#f6339a}.feature-card.pink .right-arrow[data-v-58f520f0]{color:#f6349b;opacity:.7}.feature-card.skyblue .icon-wrapper[data-v-58f520f0]{background-color:#615fff}.feature-card.skyblue .badge[data-v-58f520f0]{background-color:#e0e7ff;color:#432dd7}.feature-card.orange .icon-wrapper[data-v-58f520f0],.feature-card.orange .badge[data-v-58f520f0]{background-color:#f97316}@keyframes bganimation-58f520f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58f520f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58f520f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58f520f0]{animation:rotateEnter-58f520f0 .7s;position:relative}.rotate-leave-active[data-v-58f520f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58f520f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.feature-card[data-v-58f520f0]{min-width:180px;padding:10px;border-radius:6px;border:1px solid #e5e5e5;transition:none}.feature-card[data-v-58f520f0]:hover{transform:none;box-shadow:none}.feature-card .header[data-v-58f520f0]{margin-bottom:8px}.feature-card .content .title[data-v-58f520f0]{font-weight:700;color:#333;margin-bottom:4px}.feature-card .footer[data-v-58f520f0]{margin-top:6px}}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-22104807]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-22104807]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-22104807]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-22104807]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-22104807]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-22104807],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-22104807]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-22104807]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-22104807]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-22104807]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-22104807]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-22104807]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-22104807]{text-align:center}.setting_status p[data-v-22104807]{margin:10px 0}.setting_status a[data-v-22104807]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-22104807]{margin-top:10px}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-22104807]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-22104807]{width:100%}}@keyframes bganimation-58c55341{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58c55341{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58c55341{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58c55341]{animation:rotateEnter-58c55341 .7s;position:relative}.rotate-leave-active[data-v-58c55341]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58c55341]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-58c55341]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-58c55341]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-58c55341]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-58c55341]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-58c55341]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-58c55341]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-58c55341]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-58c55341]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-58c55341]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-58c55341]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-58c55341]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-58c55341]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-58c55341]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-58c55341]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-58c55341]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-58c55341]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-58c55341],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-58c55341]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-58c55341]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-58c55341]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-58c55341]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-58c55341]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-58c55341]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-58c55341]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-58c55341]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-58c55341]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-58c55341]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-58c55341]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-58c55341]{margin-top:114px}.timeout span[data-v-58c55341],.sandbox_roboot_refresh[data-v-58c55341]{color:#5e72e4}option[data-v-58c55341]:disabled{background-color:#e0e0e0}@keyframes bganimation-58c55341{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58c55341{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58c55341{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58c55341]{animation:rotateEnter-58c55341 .7s;position:relative}.rotate-leave-active[data-v-58c55341]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58c55341]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-58c55341]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-58c55341]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-58c55341]{min-height:42vh}.actioner-tips[data-v-58c55341]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-58c55341]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-58c55341]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-58c55341]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-58c55341]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-58c55341]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-58c55341]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-58c55341]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-58c55341]{padding:3px 10px}}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-9573dc70]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-9573dc70]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-9573dc70]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-9573dc70]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-9573dc70]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-9573dc70]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-9573dc70]{margin-top:114px}.timeout span[data-v-9573dc70]{color:#5e72e4}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-9573dc70]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-9573dc70]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-9573dc70]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-9573dc70]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:12px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:3px 10px}}@keyframes bganimation-6ac226af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ac226af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ac226af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ac226af]{animation:rotateEnter-6ac226af .7s;position:relative}.rotate-leave-active[data-v-6ac226af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ac226af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-6ac226af] .icon{width:1.5rem;height:1.5rem;margin-bottom:12px;display:inline-block;flex:0 0 auto}button[data-v-6ac226af]{margin:0!important}button.item[data-v-6ac226af]:disabled{opacity:1}button.item:disabled svg[data-v-6ac226af],button.item:disabled .icon[data-v-6ac226af]{opacity:1!important;filter:none!important;color:#00b8db!important;stroke:#00b8db!important;fill:#00b8db!important}.item_container[data-v-6ac226af]{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;width:100%;padding-bottom:4px;box-sizing:border-box}.item_container[data-v-6ac226af]::-webkit-scrollbar{height:6px}.item_container[data-v-6ac226af]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.item_container .item[data-v-6ac226af]{position:relative;padding:16px 12px;min-width:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;border-radius:8px;box-sizing:border-box;border:1px solid #e5e7eb;cursor:pointer;color:var(--card-txt-color)}.item_container .app-update-button-more[data-v-6ac226af]{position:absolute;top:4px;right:4px}.item_container .menu_background[data-v-6ac226af]{position:fixed;inset:0}.item_container .renew[data-v-6ac226af]{display:flex;align-items:center}.item_container .renew i[data-v-6ac226af]{display:inline-block;padding:3px;background-color:red;border-radius:50%;margin-right:4px}.item_container .dns_txt[data-v-6ac226af]{display:flex;align-items:center;line-height:1;color:#32325d}.item_container .disabled-style[data-v-6ac226af]{opacity:.6;cursor:not-allowed;pointer-events:none;background-color:#e0e0e0}.item_container .app-update-button-menu[data-v-6ac226af]{position:absolute;z-index:999;width:30%;right:0;top:0}.item_container .app-update-button-menu ul[data-v-6ac226af]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:6px 0;border-radius:6px;top:-45px;right:0;text-align:center;position:absolute;word-break:keep-all}.item_container .app-update-button-menu ul li[data-v-6ac226af]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.item_container .app-update-button-menu ul li .app-update-menu-item[data-v-6ac226af]{padding:5px 2px;white-space:nowrap}.item_container .app-update-button-menu ul li .app-update-menu-item-loading[data-v-6ac226af]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}@keyframes bganimation-6ac226af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ac226af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ac226af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ac226af]{animation:rotateEnter-6ac226af .7s;position:relative}.rotate-leave-active[data-v-6ac226af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ac226af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.item_container[data-v-6ac226af]{display:flex;flex-wrap:wrap;gap:10px;width:100%;padding:0;box-sizing:border-box;justify-content:space-between}.item_container .item[data-v-6ac226af]{width:48%;min-width:120px;flex-shrink:0}}@keyframes bganimation-d0b06580{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d0b06580{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d0b06580{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d0b06580]{animation:rotateEnter-d0b06580 .7s;position:relative}.rotate-leave-active[data-v-d0b06580]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d0b06580]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-d0b06580]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-d0b06580]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.sambas-item .sambas-item_value[data-v-d0b06580]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}.app-container_samba li.samba-item[data-v-d0b06580]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-d0b06580]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}.app-container_samba li.samba-item .samba-item_value[data-v-d0b06580]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-d0b06580]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-d0b06580]:hover{opacity:.7}.tit[data-v-d0b06580]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-31dcf6eb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31dcf6eb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31dcf6eb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31dcf6eb]{animation:rotateEnter-31dcf6eb .7s;position:relative}.rotate-leave-active[data-v-31dcf6eb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31dcf6eb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-31dcf6eb]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-31dcf6eb]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.webdav-item .webdav-item_value[data-v-31dcf6eb]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}@keyframes bganimation-132ef714{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-132ef714{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-132ef714{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-132ef714]{animation:rotateEnter-132ef714 .7s;position:relative}.rotate-leave-active[data-v-132ef714]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-132ef714]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-132ef714]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-132ef714]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value[data-v-132ef714]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value .configure[data-v-132ef714]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-132ef714]{cursor:pointer}a[data-v-132ef714]{text-decoration:none;color:#297ff3}@keyframes bganimation-e1182f0e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e1182f0e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e1182f0e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e1182f0e]{animation:rotateEnter-e1182f0e .7s;position:relative}.rotate-leave-active[data-v-e1182f0e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e1182f0e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-e1182f0e]{width:1.3rem;height:1.3rem}.icon1[data-v-e1182f0e]{width:1rem;height:1rem}.icon2[data-v-e1182f0e]{width:1.5rem;height:1.5rem;margin-bottom:12px}.settings-icon[data-v-e1182f0e] svg,.settings-icon[data-v-e1182f0e] g,.settings-icon[data-v-e1182f0e] path,.settings-icon[data-v-e1182f0e] circle,.settings-icon[data-v-e1182f0e] rect,.settings-icon[data-v-e1182f0e] line,.settings-icon[data-v-e1182f0e] polyline,.settings-icon[data-v-e1182f0e] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}a[data-v-e1182f0e]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-e1182f0e]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.content .tab[data-v-e1182f0e]{display:flex;gap:8px}.content .tab .item[data-v-e1182f0e]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer;border:2px solid transparent;box-sizing:border-box}.content .tab .item .title[data-v-e1182f0e]{margin-bottom:8px}.content .tab .item>span[data-v-e1182f0e]{font-size:12px}.content .tab .active[data-v-e1182f0e]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-e1182f0e]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-e1182f0e]{background-color:#dbfce7;color:#008236}.content .tab .network[data-v-e1182f0e]{background-color:#faf5ff;color:#8200db}.btn_settings[data-v-e1182f0e]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-e1182f0e]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-e1182f0e]{transform:rotate(90deg)}@keyframes bganimation-e1182f0e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e1182f0e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e1182f0e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e1182f0e]{animation:rotateEnter-e1182f0e .7s;position:relative}.rotate-leave-active[data-v-e1182f0e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e1182f0e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-e1182f0e]{margin:10px 0}}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-b5895698]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b5895698]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b5895698]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b5895698]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b5895698]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b5895698]{flex:auto}.action.format .disk-list[data-v-b5895698]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b5895698]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b5895698]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b5895698]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b5895698]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b5895698]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b5895698],.action.format .label-item .label-item_value input[data-v-b5895698]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-b5895698]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-b5895698]{flex:auto}.action.format p.msg[data-v-b5895698]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b5895698]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b5895698]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b5895698]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b5895698]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-b5895698]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-b5895698]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-b5895698]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-b5895698]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-b5895698]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-b5895698]{color:#0000fb}.action.result .btns[data-v-b5895698]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-10dd00b8]{color:red}.disk-content[data-v-10dd00b8]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-10dd00b8]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-10dd00b8]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-10dd00b8]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-10dd00b8]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-10dd00b8]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-10dd00b8]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-10dd00b8]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-10dd00b8]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-10dd00b8]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-10dd00b8]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-10dd00b8]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-10dd00b8]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-10dd00b8]{display:flex;align-items:center}.disk_infoicon[data-v-10dd00b8]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-10dd00b8]{flex:none}.tooltip-trigger[data-v-10dd00b8]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-10dd00b8]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-10dd00b8]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-10dd00b8]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-10dd00b8]{visibility:visible;opacity:1}.tooltip-top[data-v-10dd00b8]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-10dd00b8]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-10dd00b8]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-10dd00b8]{display:block}.disk-content .disk_status[data-v-10dd00b8]{flex-wrap:wrap}}@keyframes bganimation-127a3100{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-127a3100{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-127a3100{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-127a3100]{animation:rotateEnter-127a3100 .7s;position:relative}.rotate-leave-active[data-v-127a3100]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-127a3100]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-127a3100]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-127a3100]{overflow:auto}.action ul .app-container_info[data-v-127a3100]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-127a3100]{width:100%;height:100%}.action .action-footer[data-v-127a3100]{text-align:center;margin-top:46px}.action .action-footer button[data-v-127a3100]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-127a3100{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-127a3100{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-127a3100{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-127a3100]{animation:rotateEnter-127a3100 .7s;position:relative}.rotate-leave-active[data-v-127a3100]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-127a3100]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-127a3100]{width:160%}}@media screen and (max-width: 800px){.action[data-v-127a3100]{width:138%}}@media screen and (max-width: 700px){.action[data-v-127a3100]{width:132%}}@media screen and (max-width: 600px){.action[data-v-127a3100]{width:116%}}@media screen and (max-width: 500px){.action[data-v-127a3100]{width:100%}}@media screen and (max-width: 400px){.action[data-v-127a3100]{width:90%}}@media screen and (max-width: 300px){.action[data-v-127a3100]{width:100%}}.progress-bar-wrapper[data-v-2e966a39]{width:100%;margin-bottom:0}.progress-bar[data-v-2e966a39]{width:100%;position:relative;box-shadow:inset 0 1px 3px #0000001a}.progress-fill[data-v-2e966a39]{display:flex;align-items:center;justify-content:flex-end;padding-right:8px;box-sizing:border-box}.percentage-text[data-v-2e966a39]{color:#fff;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.3);white-space:nowrap;line-height:1}@media (max-width: 768px){.percentage-text[data-v-2e966a39]{font-size:10px;padding-right:4px}}@media (prefers-color-scheme: dark){.progress-bar[data-v-2e966a39]{box-shadow:inset 0 1px 3px #ffffff1a}}@keyframes bganimation-c3855aca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c3855aca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c3855aca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c3855aca]{animation:rotateEnter-c3855aca .7s;position:relative}.rotate-leave-active[data-v-c3855aca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c3855aca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-c3855aca]{color:red}li.disk-item[data-v-c3855aca]{width:100%;margin:0 0 1rem}li.disk-item .disk-item_name[data-v-c3855aca]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk-item_name>span[data-v-c3855aca]{color:#6a7280}li.disk-item .disk_icon[data-v-c3855aca]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-c3855aca]{display:flex;justify-content:flex-end}li.disk-item .disk_value .disk-item_value[data-v-c3855aca]{flex:auto;position:relative;cursor:help;display:flex;align-items:center}li.disk-item .disk_value .disk-item_value .value-data[data-v-c3855aca]{width:100%;text-overflow:ellipsis;white-space:nowrap}li.disk-item .disk_value .disk-item_value .value-data>div[data-v-c3855aca]{margin-top:10px;display:flex;justify-content:space-between}li.disk-item .disk_value .disk-item_value .value-data button[data-v-c3855aca]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-c3855aca]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-c3855aca]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:30%;right:30%;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-c3855aca]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-c3855aca]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-c3855aca]{margin-left:10px;cursor:pointer;margin-bottom:10px}.tooltip-trigger[data-v-c3855aca]{flex:none;cursor:help}.tooltip-trigger[data-v-c3855aca]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-c3855aca]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-c3855aca]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-c3855aca]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-c3855aca]{visibility:visible;opacity:1}.tooltip-top[data-v-c3855aca]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-c3855aca]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-c3855aca]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-6f7fe2ab{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f7fe2ab{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f7fe2ab{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f7fe2ab]{animation:rotateEnter-6f7fe2ab .7s;position:relative}.rotate-leave-active[data-v-6f7fe2ab]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f7fe2ab]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-6f7fe2ab]{width:1.3rem;height:1.3rem}.icon1[data-v-6f7fe2ab]{width:1rem;height:1rem}[data-v-6f7fe2ab] .folderIcon path{fill:var(--app-container_title-color)!important}a[data-v-6f7fe2ab]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content .disk_loading_icon[data-v-6f7fe2ab]{height:100px;display:flex;flex-direction:column;align-items:center;padding:10px}.content .disk_loading_icon .disk_loading_info[data-v-6f7fe2ab]{font-size:16px;color:#333;margin-top:12px}.content .line[data-v-6f7fe2ab]{height:1px;background:var(--btn-border-color);margin:0}.content .item[data-v-6f7fe2ab]{display:flex;margin-top:8px;padding:10px}.content .item .icon_box[data-v-6f7fe2ab]{width:1.5rem;height:1.5rem;background:#dbeafe;display:flex;align-items:center;justify-content:center;border-radius:4px}.content .item .icon_box .icon[data-v-6f7fe2ab]{width:.8rem;height:.8rem}.content .item .info[data-v-6f7fe2ab]{flex:1}.content .item .info .name[data-v-6f7fe2ab]{display:flex;justify-content:space-between;align-items:center;margin-left:12px;margin-top:6px}.content .item .info .name>div[data-v-6f7fe2ab]{font-size:14px;color:var(--app-container_title-color)}.content .item .info .name>span[data-v-6f7fe2ab]{display:inline-flex;align-items:center;padding:4px 6px;line-height:1;border:1px solid #d8e3db;background:#f0fdf4;border-radius:4px;color:#008236;font-size:12px;font-weight:400}.content .item .info .name>span .icon[data-v-6f7fe2ab]{width:.7rem;height:.7rem;margin-right:4px}.content .item .info .schedule[data-v-6f7fe2ab]{margin-top:12px}.content .item .info .schedule span[data-v-6f7fe2ab]{font-size:12px;color:#6a7280;font-weight:400}.content .item .info .schedule>div[data-v-6f7fe2ab]{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.btn_settings[data-v-6f7fe2ab]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-6f7fe2ab]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-6f7fe2ab]{transform:rotate(90deg)}@keyframes bganimation-6f7fe2ab{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f7fe2ab{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f7fe2ab{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f7fe2ab]{animation:rotateEnter-6f7fe2ab .7s;position:relative}.rotate-leave-active[data-v-6f7fe2ab]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f7fe2ab]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content .item[data-v-6f7fe2ab]{margin-top:0}.content .line[data-v-6f7fe2ab]{height:1px;background:#e5e7eb;margin:0 0 10px}}@keyframes bganimation-64cabc6e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-64cabc6e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-64cabc6e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-64cabc6e]{animation:rotateEnter-64cabc6e .7s;position:relative}.rotate-leave-active[data-v-64cabc6e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-64cabc6e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-64cabc6e]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-64cabc6e]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.docker-item .docker-item_value[data-v-64cabc6e]{flex:0 0 100%;max-width:50%;padding-left:10px;display:flex;justify-content:flex-end;align-items:center}li.docker-item .docker-item_value .configure[data-v-64cabc6e]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-64cabc6e]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-64cabc6e]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.tooltip-trigger[data-v-64cabc6e]{position:relative;display:inline-block;cursor:help}.tooltip-trigger .tooltip-text[data-v-64cabc6e]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-64cabc6e]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-64cabc6e]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-64cabc6e]{visibility:visible;opacity:1}.tooltip-top[data-v-64cabc6e]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-64cabc6e]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-64cabc6e]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-64cabc6e]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-64cabc6e]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-64cabc6e]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-64cabc6e]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-64cabc6e]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-64cabc6e]{background-color:#52c41a;transition:.3s}.input-switch span.enable em[data-v-64cabc6e]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-64cabc6e]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-64cabc6e]{transform:translate(0);transition:.3s}.content[data-v-64cabc6e]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .status[data-v-64cabc6e]{display:flex;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #e8e8e8;margin:0 6px}.content .docker_box[data-v-64cabc6e]{display:flex;align-items:center;justify-content:space-between;margin:20px 6px}.content .docker_box .title[data-v-64cabc6e]{margin-bottom:20px}.content .docker_box .path[data-v-64cabc6e]{flex:1;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .docker_num[data-v-64cabc6e]{display:flex}.content .docker_num .num_item[data-v-64cabc6e]{flex:1;display:flex;justify-content:center;align-items:center;flex-direction:column;color:var(--app-container_title-color)}.content .docker_num .num_item>span[data-v-64cabc6e]{font-size:20px;margin-top:6px}.docker_tip svg[data-v-64cabc6e]{vertical-align:bottom;margin-left:14px;width:1.5em;height:1.5em}.status-icon[data-v-64cabc6e]{display:inline-block;margin-left:10px;font-size:12px;color:#008236;padding:4px 6px;background:#dbfce7;border-radius:6px}@keyframes bganimation-a5cf4814{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5cf4814{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5cf4814{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5cf4814]{animation:rotateEnter-a5cf4814 .7s;position:relative}.rotate-leave-active[data-v-a5cf4814]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5cf4814]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-a5cf4814]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-a5cf4814]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-a5cf4814]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-a5cf4814]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-a5cf4814]{display:flex;justify-content:left;align-items:center}.action .change[data-v-a5cf4814]{width:678px}.action .desc[data-v-a5cf4814]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-a5cf4814]{width:100%;display:block}.action .tips[data-v-a5cf4814]{width:477px}.action .tips .tip[data-v-a5cf4814]{color:#faad14;padding-left:6px}.action .btns[data-v-a5cf4814]{width:100%;margin:104px auto 0}.action .btns button[data-v-a5cf4814]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-a5cf4814]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-a5cf4814]{text-align:center;font-size:14px}.action .finished[data-v-a5cf4814]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-a5cf4814]{text-align:center}.action .docker_moves .moves[data-v-a5cf4814]{margin-top:10px}.action .docker_moves .moves input[data-v-a5cf4814]{cursor:pointer}.action .docker_moves .moves label[data-v-a5cf4814]{margin-left:10px;cursor:pointer}.select-editable[data-v-a5cf4814]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-a5cf4814]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-a5cf4814]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-a5cf4814]:focus,.select-editable input[data-v-a5cf4814]:focus{outline:none}[data-v-a5cf4814]::placeholder{color:#999}@keyframes bganimation-a5cf4814{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5cf4814{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5cf4814{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5cf4814]{animation:rotateEnter-a5cf4814 .7s;position:relative}.rotate-leave-active[data-v-a5cf4814]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5cf4814]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-a5cf4814]{width:100%}.docker_download[data-v-a5cf4814]{width:80%}}@keyframes bganimation-78ae3db3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-78ae3db3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-78ae3db3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-78ae3db3]{animation:rotateEnter-78ae3db3 .7s;position:relative}.rotate-leave-active[data-v-78ae3db3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-78ae3db3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-78ae3db3]{width:1.3rem;height:1.3rem}.icon1[data-v-78ae3db3]{width:1rem;height:1rem}[data-v-78ae3db3] .dockerIcon path{fill:var(--app-container_title-color)!important}a[data-v-78ae3db3]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-78ae3db3]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.btn_settings[data-v-78ae3db3]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-78ae3db3]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-78ae3db3]{transform:rotate(90deg)}@keyframes bganimation-78ae3db3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-78ae3db3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-78ae3db3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-78ae3db3]{animation:rotateEnter-78ae3db3 .7s;position:relative}.rotate-leave-active[data-v-78ae3db3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-78ae3db3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-78ae3db3]{margin:10px 0}}.pie-chart-wrapper[data-v-1b4ddc16]{position:relative;display:flex;align-items:center;justify-content:center}.chart-dom[data-v-1b4ddc16]{width:100%;height:100%}.center-content[data-v-1b4ddc16]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:2;pointer-events:none}.center-icon[data-v-1b4ddc16]{width:20px;height:20px;margin-bottom:4px;display:block;margin-left:auto;margin-right:auto}.center-label[data-v-1b4ddc16]{margin-top:4px;font-size:14px;font-weight:600}@keyframes bganimation-e005287c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e005287c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e005287c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e005287c]{animation:rotateEnter-e005287c .7s;position:relative}.rotate-leave-active[data-v-e005287c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e005287c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-e005287c]{width:1.3rem;height:1.3rem}.icon1[data-v-e005287c]{width:2rem;height:2rem;margin-bottom:8px}.icon2[data-v-e005287c]{width:1rem;height:1rem}[data-v-e005287c] .computerIcon path{fill:var(--app-container_title-color)!important}a[data-v-e005287c]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-e005287c]{color:#333;margin-top:20px;margin-bottom:20px;padding:0 10px;font-weight:400}.content .chart_box[data-v-e005287c]{padding-bottom:20px;border-bottom:1px solid var(--btn-border-color);margin-bottom:20px;display:flex}.content .chart_box .chart[data-v-e005287c]{flex:1;display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.content .chart_box .chart>div[data-v-e005287c]{margin-top:4px}.content .info[data-v-e005287c]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.content .info .item[data-v-e005287c]{display:flex;justify-content:center}.content .info .item>div[data-v-e005287c]{color:var(--app-container_title-color)}.content .info .item>span[data-v-e005287c]{color:var(--app-container_status-label_block);font-size:16px;line-height:1}.content .info .item1[data-v-e005287c]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:20px;padding:30px}.content .info .item1>div[data-v-e005287c]{display:flex;align-items:center;margin-bottom:8px}.content .info .item1>div>span[data-v-e005287c]{margin-left:8px}.content .info .bgcolor1[data-v-e005287c]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-e005287c]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}.btn_settings[data-v-e005287c]{position:relative;padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}@keyframes bganimation-e005287c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e005287c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e005287c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e005287c]{animation:rotateEnter-e005287c .7s;position:relative}.rotate-leave-active[data-v-e005287c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e005287c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-e005287c]{margin-top:10px;margin-bottom:10px;padding:0 4px}.content .chart_box[data-v-e005287c]{padding-bottom:10px;margin-bottom:10px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.content .chart_box[data-v-e005287c]::-webkit-scrollbar{display:none}.content .info[data-v-e005287c]{grid-template-columns:repeat(1,1fr);gap:6px}.content .info .item1[data-v-e005287c]{margin-top:6px;padding:10px}.content .info .bgcolor1[data-v-e005287c]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-e005287c]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:999;backdrop-filter:blur(2px)}.modal-container{background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:90%;max-width:var(--3fcd09c7);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-container .modal-header{padding:8px 12px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.modal-container .modal-header .modal-title{margin:0;font-size:18px;color:#333;padding:0;text-align:center;background:transparent!important}.modal-container .modal-header .modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#999;transition:color .2s}.modal-container .modal-header .modal-close:hover{color:#666}.modal-container .modal-content{padding:18px;overflow-y:auto;flex:1}.modal-container .modal-footer{padding:8px 12px;border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;gap:12px}.modal-container .modal-footer .modal-button{padding:4px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s;border:1px solid transparent}.modal-container .modal-footer .modal-button.cancel{background-color:#fff;border-color:#ddd;color:#666}.modal-container .modal-footer .modal-button.cancel:hover{background-color:#f5f5f5}.modal-container .modal-footer .modal-button.confirm{background-color:#553afe;color:#fff}.modal-container .modal-footer .modal-button.confirm:hover{background-color:#3f21fe}@media (max-width: 768px){.modal-container{width:95%;max-width:none;max-height:90vh;margin:0 10px}.modal-container .modal-header{padding:12px 16px}.modal-container .modal-header .modal-title{font-size:16px;background:transparent!important}.modal-container .modal-header .modal-close{font-size:20px}.modal-container .modal-content{padding:16px}.modal-container .modal-footer{padding:12px 16px;flex-direction:column-reverse;gap:8px}.modal-container .modal-footer .modal-button{width:100%;padding:10px;font-size:15px}}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.slide-enter-active,.slide-leave-active{transition:transform .3s ease,opacity .3s ease}.slide-enter-from,.slide-leave-to{transform:translateY(-20px);opacity:0}@keyframes bganimation-ca434918{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ca434918{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ca434918{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ca434918]{animation:rotateEnter-ca434918 .7s;position:relative}.rotate-leave-active[data-v-ca434918]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ca434918]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.switch[data-v-ca434918]{display:inline-flex;align-items:center;position:relative;font-size:14px;height:20px}.switch.is-disabled[data-v-ca434918]{opacity:.6;cursor:not-allowed}.switch.is-disabled .switch__core[data-v-ca434918]{cursor:not-allowed}.switch__input[data-v-ca434918]{position:absolute;width:0;height:0;opacity:0;margin:0;z-index:-1}.switch__core[data-v-ca434918]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid;outline:none;border-radius:10px;box-sizing:border-box;cursor:pointer;transition:border-color .3s,background-color .3s}.switch__button[data-v-ca434918]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff;box-shadow:0 1px 2px #0003}.switch.is-checked .switch__button[data-v-ca434918]{transform:translate(20px)}@keyframes bganimation-79624e8f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-79624e8f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-79624e8f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-79624e8f]{animation:rotateEnter-79624e8f .7s;position:relative}.rotate-leave-active[data-v-79624e8f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-79624e8f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-79624e8f] .modal-header{border-bottom:none;padding-bottom:0}[data-v-79624e8f] .modal-header .modal-title{text-align:left;padding-left:6px}[data-v-79624e8f] .modal-content{padding-top:0}[data-v-79624e8f]:depp(.modal-footer){border-top:none!important}.module-settings[data-v-79624e8f]{margin-top:16px;display:flex;flex-direction:column;gap:16px;color:#1d2129}.module-settings .module-settings__header[data-v-79624e8f]{padding:8px 12px;background:linear-gradient(to right,#eff6ff,#f4f6ff,#f7f5ff,#faf6ff);background:-webkit-linear-gradient(left,#eff6ff,#f4f6ff,#f7f5ff,#faf6ff);border-radius:10px}.module-settings .module-settings__badge[data-v-79624e8f]{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#5677ff 0%,#9c56ff 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}.module-settings .module-settings__toggle-all[data-v-79624e8f]{border-radius:8px}.module-settings__header[data-v-79624e8f]{display:flex;justify-content:space-between;align-items:center;gap:12px}.module-settings__summary[data-v-79624e8f]{display:flex;align-items:center;gap:12px}.module-settings__badge[data-v-79624e8f]{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#5c3efe 0%,#7a62ff 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}.module-settings__texts[data-v-79624e8f]{display:flex;flex-direction:column;gap:4px}.module-settings__title[data-v-79624e8f]{font-size:16px;font-weight:600}.module-settings__sub[data-v-79624e8f]{font-size:13px;color:#86909c}.module-settings__toggle-all[data-v-79624e8f]{min-width:96px;height:34px;padding:0 16px;border-radius:17px;border:1px solid #e5e6eb;background:#fff;color:#1d2129;cursor:pointer;font-size:14px;transition:all .2s;display:inline-block;line-height:34px;box-sizing:border-box;-webkit-appearance:none;appearance:none;vertical-align:middle}.module-settings__toggle-all[data-v-79624e8f]:hover{border-color:#553afe;color:#553afe}.module-settings__list[data-v-79624e8f]{display:flex;flex-direction:column;gap:16px;max-height:420px;overflow-y:auto;padding-right:8px}.module-settings__item[data-v-79624e8f]{display:flex;align-items:center;justify-content:space-between;padding:16px 10px;border-radius:8px;background:transparent;border:1px solid #e5e7eb;gap:24px;transition:background-color .2s ease,border-color .2s ease}.module-settings__item[data-v-79624e8f]:hover{border-color:#8fc6ff;background:#fafcfe}.module-settings__item--disabled[data-v-79624e8f]{opacity:.5;cursor:not-allowed}.module-settings__info[data-v-79624e8f]{display:flex;flex-direction:column;gap:6px}.module-settings__name[data-v-79624e8f]{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px}.module-settings__dot[data-v-79624e8f]{width:10px;height:10px;border-radius:50%;background-color:#c9ccd3;transition:background-color .2s}.module-settings__dot.is-active[data-v-79624e8f]{background:#553afe}.module-settings__desc[data-v-79624e8f]{font-size:13px;color:#86909c;line-height:1.4;margin:0 0 0 18px}.module-settings__footer[data-v-79624e8f]{width:100%;display:flex;justify-content:flex-end;gap:12px}.module-settings__btn[data-v-79624e8f]{min-width:96px;height:36px;border-radius:8px;border:1px solid transparent;font-size:14px;cursor:pointer;transition:all .3s ease}.module-settings__btn--secondary[data-v-79624e8f]{background:#fff;border-color:#e5e6eb;color:#1d2129}.module-settings__btn--secondary[data-v-79624e8f]:hover{border-color:#553afe;color:#553afe}.module-settings__btn--primary[data-v-79624e8f]{background:linear-gradient(135deg,#5c3efe 0%,#7a62ff 100%);color:#fff;border:none}.module-settings__btn--primary[data-v-79624e8f]:hover{opacity:.8}@media (max-width: 768px){.module-settings__header[data-v-79624e8f]{flex-direction:row;align-items:center}.module-settings__toggle-all[data-v-79624e8f]{width:auto;height:34px;line-height:34px;font-size:14px;padding:0 14px}.module-settings__item[data-v-79624e8f]{flex-direction:row;align-items:center;padding:14px 10px}.module-settings__badge[data-v-79624e8f]{font-size:16px}.module-settings__title[data-v-79624e8f]{font-size:15px}.module-settings__sub[data-v-79624e8f]{font-size:12px}.module-settings__name[data-v-79624e8f]{font-size:14px}.module-settings__desc[data-v-79624e8f]{font-size:12px;margin-left:18px}.module-settings__list[data-v-79624e8f]{max-height:65vh;padding-right:8px}.module-settings__footer[data-v-79624e8f]{flex-direction:column-reverse;align-items:stretch;gap:8px}.module-settings__btn[data-v-79624e8f]{width:100%;height:36px;font-size:14px}}@keyframes bganimation-1f2aa331{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f2aa331{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f2aa331{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f2aa331]{animation:rotateEnter-1f2aa331 .7s;position:relative}.rotate-leave-active[data-v-1f2aa331]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f2aa331]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container .model_btn[data-v-1f2aa331]{cursor:pointer;margin-left:16px}.page-container .card-container[data-v-1f2aa331]{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:16px;width:100%;padding-bottom:10px;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.35) transparent}.page-container .card-container[data-v-1f2aa331]::-webkit-scrollbar{height:6px}.page-container .card-container[data-v-1f2aa331]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.page-container .card-container>*[data-v-1f2aa331]{flex:0 0 auto}.page-container[data-v-1f2aa331] .card-container::-webkit-scrollbar{height:8px}.page-container[data-v-1f2aa331] .card-container::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(0,0,0,.35)}.page-container[data-v-1f2aa331] .card-container::-webkit-scrollbar-track{background:transparent}.page-container .network-container[data-v-1f2aa331]{display:flex;gap:24px;width:100%;margin-top:20px;align-items:stretch}.page-container .network-container .left-box[data-v-1f2aa331]{flex:2;min-width:0}.page-container .network-container .right-box[data-v-1f2aa331]{flex:1;overflow:hidden;min-width:0;display:flex;flex-direction:column;justify-content:space-between}.page-container .network-stack[data-v-1f2aa331]{display:flex;flex-direction:column;width:100%;align-items:stretch}.page-container .network-stack .stack-item[data-v-1f2aa331]{width:100%}.page-container .full-row[data-v-1f2aa331] .network_container{min-height:600px}.page-container .fill-card[data-v-1f2aa331]{height:100%;display:flex;flex-direction:column}.page-container .fill-card[data-v-1f2aa331] .reusable-card{flex:1 1 auto;display:flex;flex-direction:column}.page-container .fill-card[data-v-1f2aa331] .card-body{flex:1 1 auto}.page-container .align-c[data-v-1f2aa331]{align-items:center}.page-container .other-container[data-v-1f2aa331]{width:100%;margin-top:20px}.page-container .other-container .grid-container[data-v-1f2aa331]{display:flex;flex-wrap:wrap;gap:24px}.page-container .other-container .grid-container .grid-item[data-v-1f2aa331]{display:flex;justify-content:center;border-radius:8px}.page-container .btns[data-v-1f2aa331]{margin-top:20px}.page-container .system[data-v-1f2aa331]{margin-top:24px}@keyframes bganimation-1f2aa331{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f2aa331{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f2aa331{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f2aa331]{animation:rotateEnter-1f2aa331 .7s;position:relative}.rotate-leave-active[data-v-1f2aa331]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f2aa331]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1300px){.page-container .other-container[data-v-1f2aa331]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-1f2aa331]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-1f2aa331]{border-radius:6px}}@keyframes bganimation-1f2aa331{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f2aa331{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f2aa331{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f2aa331]{animation:rotateEnter-1f2aa331 .7s;position:relative}.rotate-leave-active[data-v-1f2aa331]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f2aa331]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.page-container .card-container[data-v-1f2aa331]{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:16px;scrollbar-width:none;-ms-overflow-style:none}.page-container .card-container>*[data-v-1f2aa331]{flex:0 0 auto;min-width:280px}.page-container .card-container[data-v-1f2aa331]::-webkit-scrollbar{display:none}.page-container .network-container[data-v-1f2aa331]{flex-direction:column;margin-top:10px;gap:10px}.page-container .network-container .right-box[data-v-1f2aa331]{flex:none;width:100%}.page-container .other-container[data-v-1f2aa331]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-1f2aa331]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-1f2aa331]{border-radius:6px}}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-52c03678]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-52c03678]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-52c03678]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-52c03678]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-52c03678]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-52c03678]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-52c03678]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-52c03678]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-52c03678]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-52c03678]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-52c03678]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-52c03678]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-52c03678]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-52c03678]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-52c03678]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-52c03678]{background-color:#439c07}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-e187efe4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e187efe4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e187efe4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e187efe4]{animation:rotateEnter-e187efe4 .7s;position:relative}.rotate-leave-active[data-v-e187efe4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e187efe4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-e187efe4]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-e187efe4]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-e187efe4]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-e187efe4]{margin:.5rem 0}#page .network-message li[data-v-e187efe4]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-e187efe4]{color:red}#page .network-message li a[data-v-e187efe4]{color:#00f}#page form[data-v-e187efe4]{display:block;width:100%;margin:3rem 0}#page form label[data-v-e187efe4]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-e187efe4]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-e187efe4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-e187efe4]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-e187efe4]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-e187efe4]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-e187efe4]{margin-left:10px;user-select:none}#page .msg[data-v-e187efe4]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-e187efe4]{width:100%;margin-top:3rem}#page .btns button[data-v-e187efe4]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5eefd6ee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5eefd6ee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5eefd6ee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5eefd6ee]{animation:rotateEnter-5eefd6ee .7s;position:relative}.rotate-leave-active[data-v-5eefd6ee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5eefd6ee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-5eefd6ee]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-5eefd6ee]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-5eefd6ee]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-5eefd6ee]{margin:.5rem 0}#page .network-message li[data-v-5eefd6ee]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-5eefd6ee]{color:red}#page .network-message li a[data-v-5eefd6ee]{color:#00f}#page form[data-v-5eefd6ee]{display:block;width:100%;margin:3rem 0}#page form label[data-v-5eefd6ee]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-5eefd6ee]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-5eefd6ee]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-5eefd6ee]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-5eefd6ee],#page form label select[data-v-5eefd6ee]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-5eefd6ee]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-5eefd6ee]{margin-left:10px;user-select:none}#page .msgs[data-v-5eefd6ee]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-5eefd6ee]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-5eefd6ee]{width:100%;margin-top:3rem}#page .btns button[data-v-5eefd6ee]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-3d6d1dea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3d6d1dea{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3d6d1dea{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3d6d1dea]{animation:rotateEnter-3d6d1dea .7s;position:relative}.rotate-leave-active[data-v-3d6d1dea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3d6d1dea]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-3d6d1dea]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-3d6d1dea]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-3d6d1dea]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-3d6d1dea]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-3d6d1dea]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-3d6d1dea]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-3d6d1dea]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-3d6d1dea]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-3d6d1dea]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-3d6d1dea]{display:block;width:100%;margin:3rem 0}#page form label[data-v-3d6d1dea]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-3d6d1dea]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-3d6d1dea]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-3d6d1dea]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-3d6d1dea],#page form label select[data-v-3d6d1dea]{width:100%;display:block;height:42px}.switch_inline[data-v-3d6d1dea]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-3d6d1dea]{margin-left:10px;user-select:none}@keyframes bganimation-7cf2dd18{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7cf2dd18{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7cf2dd18{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7cf2dd18]{animation:rotateEnter-7cf2dd18 .7s;position:relative}.rotate-leave-active[data-v-7cf2dd18]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7cf2dd18]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-7cf2dd18]{line-height:22px;font-size:14px}.label-item[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-7cf2dd18]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-7cf2dd18]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-7cf2dd18]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-7cf2dd18],.label-item .label-item_value input[data-v-7cf2dd18]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-7cf2dd18]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-7cf2dd18]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-7cf2dd18]{top:0}.label-item .label-item_tips[data-v-7cf2dd18]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-7cf2dd18]{vertical-align:top}span.msg-warning[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-7cf2dd18]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-7cf2dd18]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-7cf2dd18]{display:block}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-7cf2dd18]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-7cf2dd18]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0ef06e27{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ef06e27{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ef06e27{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ef06e27]{animation:rotateEnter-0ef06e27 .7s;position:relative}.rotate-leave-active[data-v-0ef06e27]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ef06e27]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-0ef06e27]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-593445fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-593445fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-593445fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-593445fb]{animation:rotateEnter-593445fb .7s;position:relative}.rotate-leave-active[data-v-593445fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-593445fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-593445fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-593445fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-593445fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-593445fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-593445fb]{width:100%}.label-item .label-item_value select[data-v-593445fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-593445fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-593445fb]{top:0;margin:0}.label-item .label-item_tips[data-v-593445fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-593445fb]{vertical-align:top}span.msg-warning[data-v-593445fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-77aa4121{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77aa4121{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77aa4121{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77aa4121]{animation:rotateEnter-77aa4121 .7s;position:relative}.rotate-leave-active[data-v-77aa4121]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77aa4121]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-77aa4121]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77aa4121]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77aa4121]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77aa4121]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77aa4121]{width:100%}.label-item .label-item_value select[data-v-77aa4121]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-77aa4121]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-77aa4121]{top:0;margin:0}.label-item .label-item_tips[data-v-77aa4121]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77aa4121]{vertical-align:top}span.msg-warning[data-v-77aa4121]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-a924400c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a924400c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a924400c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a924400c]{animation:rotateEnter-a924400c .7s;position:relative}.rotate-leave-active[data-v-a924400c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a924400c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-a924400c]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-a924400c]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-a924400c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-a924400c]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-a924400c]{width:100%}.label-item .label-item_value select[data-v-a924400c]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-a924400c]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-a924400c]{top:0;margin:0}.label-item .label-item_tips[data-v-a924400c]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-a924400c]{vertical-align:top}span.msg-warning[data-v-a924400c]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6ef94d02]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6ef94d02] .actioner-container{width:100%}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6ef94d02]{width:90%}}@keyframes bganimation-30707fb2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30707fb2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30707fb2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30707fb2]{animation:rotateEnter-30707fb2 .7s;position:relative}.rotate-leave-active[data-v-30707fb2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30707fb2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-30707fb2]{margin-bottom:32px}.item-status[data-v-30707fb2]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-30707fb2]{text-decoration:underline;cursor:help}@keyframes bganimation-16dd0913{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16dd0913{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16dd0913{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16dd0913]{animation:rotateEnter-16dd0913 .7s;position:relative}.rotate-leave-active[data-v-16dd0913]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16dd0913]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-16dd0913]{margin-bottom:1rem}#page[data-v-16dd0913] .cbi-section{padding:1rem}#page[data-v-16dd0913] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-742230ae]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-742230ae] .actioner-container{width:100%}.action-main[data-v-742230ae] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-742230ae] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-742230ae] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-742230ae]{width:90%}}@keyframes bganimation-70c3aae0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70c3aae0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70c3aae0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70c3aae0]{animation:rotateEnter-70c3aae0 .7s;position:relative}.rotate-leave-active[data-v-70c3aae0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70c3aae0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-70c3aae0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-313197ee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-313197ee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-313197ee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-313197ee]{animation:rotateEnter-313197ee .7s;position:relative}.rotate-leave-active[data-v-313197ee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-313197ee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-313197ee]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-76197cba{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76197cba{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76197cba{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76197cba]{animation:rotateEnter-76197cba .7s;position:relative}.rotate-leave-active[data-v-76197cba]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76197cba]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-76197cba]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-02f10ac5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-02f10ac5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-02f10ac5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-02f10ac5]{animation:rotateEnter-02f10ac5 .7s;position:relative}.rotate-leave-active[data-v-02f10ac5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-02f10ac5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-02f10ac5]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-02f10ac5]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-02f10ac5]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-02f10ac5]{font-weight:700;font-size:14px}@keyframes bganimation-c88486ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c88486ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c88486ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c88486ac]{animation:rotateEnter-c88486ac .7s;position:relative}.rotate-leave-active[data-v-c88486ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c88486ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-c88486ac]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-c88486ac]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-c88486ac]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-c88486ac]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-c88486ac]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-c88486ac],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-c88486ac]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-c88486ac]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-c88486ac]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-c88486ac]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-c88486ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c88486ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c88486ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c88486ac]{animation:rotateEnter-c88486ac .7s;position:relative}.rotate-leave-active[data-v-c88486ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c88486ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-c88486ac]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-c88486ac]{width:100%}}@keyframes bganimation-3dabb970{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dabb970{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dabb970{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dabb970]{animation:rotateEnter-3dabb970 .7s;position:relative}.rotate-leave-active[data-v-3dabb970]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dabb970]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-3dabb970] .app-container_status-label_bg{margin:8px 0;flex:0 0 170px;height:80px;justify-content:start}[data-v-3dabb970] .interface-device-flex{justify-content:start}.container[data-v-3dabb970]{width:100%;overflow-x:auto}.container .table-wrapper[data-v-3dabb970]{min-width:1280px;width:max-content}.container .table-wrapper .table-body[data-v-3dabb970]{display:flex;flex-direction:column;min-width:100%}.container .table-wrapper .table-header[data-v-3dabb970]{display:flex;border-bottom:2px solid #e5e7eb;background-color:#f8fafc;padding-left:10px}.container .table-wrapper .table-row[data-v-3dabb970]{display:flex;min-width:100%;align-items:center;border-bottom:1px solid #e5e7eb;transition:background-color .2s}.container .table-wrapper .table-row[data-v-3dabb970]:hover{background-color:#f3f4f6}.container .table-wrapper .add-row[data-v-3dabb970]{cursor:pointer}.container .table-wrapper .add-row[data-v-3dabb970]:hover{background-color:#f0f9ff}.container .table-wrapper .table-cell[data-v-3dabb970]{padding:12px 16px;box-sizing:border-box;display:flex;justify-content:center}.container .table-wrapper .device-col[data-v-3dabb970]{flex:0 0 200px;min-width:200px}.container .table-wrapper .spacer-col[data-v-3dabb970]:first-of-type{flex:0 0 10px}.container .table-wrapper .spacer-col[data-v-3dabb970]:last-of-type{flex:0 0 32px}.container .table-wrapper .name-col[data-v-3dabb970]{flex:0 0 150px;min-width:150px;text-align:left}.container .table-wrapper .action-col[data-v-3dabb970]{flex:0 0 auto;text-align:right;min-width:160px}.container .table-wrapper .icon[data-v-3dabb970]{width:48px;height:100%;cursor:pointer}.container .table-wrapper .interface-device-flex[data-v-3dabb970]{display:flex;justify-content:center;width:100%}.container .cbi-page-actions[data-v-3dabb970]{margin-top:20px;display:flex;justify-content:flex-end}@media (max-width: 768px){.container[data-v-3dabb970] .app-container_status-label_bg{margin:8px 0;flex:0 0 80px;width:120px;height:80px;justify-content:start}.container .table-wrapper[data-v-3dabb970]{min-width:100%}.container .table-cell[data-v-3dabb970]{padding:8px 12px}.container .device-col[data-v-3dabb970]{flex:0 0 120px!important;min-width:120px!important;margin-right:16px}.container .name-col[data-v-3dabb970]{flex:0 0 80px!important;min-width:80px!important}.container .action-col[data-v-3dabb970]{min-width:120px}.container .interface-device-flex[data-v-3dabb970]{flex-direction:column;gap:4px}}tr>td,tr>th,.tr>.td,.tr>.th,.cbi-section-table-row:before,#cbi-wireless>#wifi_assoclist_table>.tr:nth-child(2){border:none}@keyframes bganimation-6c49427e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6c49427e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6c49427e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6c49427e]{animation:rotateEnter-6c49427e .7s;position:relative}.rotate-leave-active[data-v-6c49427e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6c49427e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-table-container[data-v-6c49427e]{width:100%;font-size:14px;color:var(--flow-span-color)}.custom-table-container input[data-v-6c49427e]{margin:0}.custom-table-container .custom-table-wrapper[data-v-6c49427e]{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.custom-table-container .custom-table[data-v-6c49427e]{width:100%;border-collapse:collapse;table-layout:auto}.custom-table-container .custom-table thead[data-v-6c49427e]{border-radius:8px!important;background:#F8F8F8}.custom-table-container .custom-table thead tr th[data-v-6c49427e]{color:var(--flow-span-color)!important;font-weight:500!important;border:none!important;padding:18px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr[data-v-6c49427e]{background:transparent;border-bottom:1px solid #f8f8f8!important}.custom-table-container .custom-table tbody tr[data-v-6c49427e]:last-child{border-bottom:none!important}.custom-table-container .custom-table tbody tr td[data-v-6c49427e]{padding:24px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr:hover td[data-v-6c49427e]{background-color:#00000005!important}.custom-table-container .custom-table tbody tr.empty-row td[data-v-6c49427e]{text-align:center!important;padding:30px 0!important;color:#c98d8d66!important;border-bottom:none!important}.custom-table-container .custom-table .selection-header[data-v-6c49427e],.custom-table-container .custom-table .selection-cell[data-v-6c49427e]{width:50px!important;min-width:50px!important;text-align:center!important}.custom-table-container .pagination-wrapper[data-v-6c49427e]{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:0 8px}.custom-table-container .pagination-wrapper .pagination-info[data-v-6c49427e]{color:#0009;font-size:13px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-6c49427e]{min-width:32px;height:32px;margin:0 4px;padding:0 8px;background:#fff;color:#000000a6;cursor:pointer;transition:all .3s}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-6c49427e]:hover:not(:disabled){color:#1890ff;border-color:#1890ff}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-6c49427e]:disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.custom-table-container .pagination-wrapper .pagination-controls button.active[data-v-6c49427e]{color:#fff;background-color:#1890ff;border-color:#1890ff}@media (max-width: 768px){.custom-table-container .custom-table thead tr th[data-v-6c49427e]{padding:8px 4px!important;font-size:13px!important}.custom-table-container .custom-table tbody tr td[data-v-6c49427e]{padding:12px 4px!important;font-size:13px!important}.custom-table-container .pagination-wrapper[data-v-6c49427e]{flex-direction:column;align-items:flex-start;gap:12px}.custom-table-container .pagination-wrapper .pagination-controls[data-v-6c49427e]{display:flex;flex-wrap:wrap;gap:4px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-6c49427e]{min-width:28px;height:28px;margin:0;padding:0 6px;font-size:13px}}@keyframes bganimation-9eb77922{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9eb77922{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9eb77922{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9eb77922]{animation:rotateEnter-9eb77922 .7s;position:relative}.rotate-leave-active[data-v-9eb77922]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9eb77922]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.del-button[data-v-9eb77922]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 15px;font-size:14px;border-radius:4px}.add-button--danger[data-v-9eb77922]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-9eb77922]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-9eb77922]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-9eb77922]{opacity:.5;cursor:not-allowed}.del-button--danger[data-v-9eb77922]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-9eb77922]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-9eb77922]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-9eb77922]{opacity:.5;cursor:not-allowed}.search_box[data-v-9eb77922]{width:350px}.search_box .search_container[data-v-9eb77922]{display:flex;align-items:center;gap:8px}.search_box .search_container .search_input_wrapper[data-v-9eb77922]{position:relative;flex-grow:1}.search_box .search_container .search_input_wrapper .search_icon[data-v-9eb77922]{position:absolute;right:10px;top:50%;transform:translateY(-50%);fill:#000c;cursor:pointer}.search_box .search_container .search_input_wrapper .search_input[data-v-9eb77922]{width:100%;padding:4px 35px 4px 12px;border-radius:4px;border:1px solid rgba(0,0,0,.6);font-size:14px;outline:none;transition:border-color .3s;color:#222;background:transparent}.search_box .search_container .search_input_wrapper .search_input[data-v-9eb77922]:focus{border-color:#4a90e2}.search_box .search_container .refresh_button[data-v-9eb77922]{background:none;border:none;cursor:pointer;padding:8px;border-radius:50%;transition:background-color .3s;display:flex;align-items:center;justify-content:center}.search_box .search_container .refresh_button[data-v-9eb77922]:hover{background-color:#f0f0f0}.search_box .search_container .refresh_button .refresh_icon[data-v-9eb77922]{fill:#000c;transition:transform .3s}.search_box .search_container .refresh_button.rotate .refresh_icon[data-v-9eb77922]{animation:spin-9eb77922 1s linear infinite}@keyframes spin-9eb77922{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bganimation-9eb77922{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9eb77922{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9eb77922{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9eb77922]{animation:rotateEnter-9eb77922 .7s;position:relative}.rotate-leave-active[data-v-9eb77922]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9eb77922]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.search_box[data-v-9eb77922]{width:80%}.del-button[data-v-9eb77922]{padding:6px 8px}}@keyframes bganimation-4a18630f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a18630f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a18630f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a18630f]{animation:rotateEnter-4a18630f .7s;position:relative}.rotate-leave-active[data-v-4a18630f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a18630f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-4a18630f]{position:relative;height:260px}.flow .echart[data-v-4a18630f]{width:100%;height:100%}.flow .flow-data[data-v-4a18630f]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-4a18630f]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-4a18630f]{height:55vw}}@keyframes bganimation-586a633c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-586a633c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-586a633c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-586a633c]{animation:rotateEnter-586a633c .7s;position:relative}.rotate-leave-active[data-v-586a633c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-586a633c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-586a633c] .tag-input{padding:4px 12px}.custom-content[data-v-586a633c]{position:relative}.custom-content .img_box[data-v-586a633c]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-586a633c]{width:100%;height:100%}.custom-content .IP_address[data-v-586a633c]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-586a633c]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-586a633c]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-586a633c]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-586a633c]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-586a633c]{width:45%;background:transparent!important;color:var(--card-box-shadow)}.custom-content .item_box>select>option[data-v-586a633c]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-586a633c]{width:140px;text-align:right}.info-content[data-v-586a633c]{display:flex}.info-content .img_box[data-v-586a633c]{position:relative}.info-content .item_box .item_left[data-v-586a633c]{width:100px}@keyframes bganimation-586a633c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-586a633c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-586a633c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-586a633c]{animation:rotateEnter-586a633c .7s;position:relative}.rotate-leave-active[data-v-586a633c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-586a633c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-b2212e7c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b2212e7c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b2212e7c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b2212e7c]{animation:rotateEnter-b2212e7c .7s;position:relative}.rotate-leave-active[data-v-b2212e7c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b2212e7c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-b2212e7c]{position:relative}.custom-content .img_box[data-v-b2212e7c]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-b2212e7c]{width:100%;height:100%}.custom-content .IP_address[data-v-b2212e7c]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-b2212e7c]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-b2212e7c]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-b2212e7c]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-b2212e7c]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-b2212e7c]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-b2212e7c]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-b2212e7c]{width:140px;text-align:right}.del-button[data-v-b2212e7c]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-b2212e7c]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-b2212e7c]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-b2212e7c]:active{background:#dd6161;border-color:#dd6161;color:#fff}.edit-button[data-v-b2212e7c]{color:#553afe;border-color:#553afe}.edit-button[data-v-b2212e7c]:hover{background:rgba(85,58,254,.1);border-color:#553afe}.edit-button[data-v-b2212e7c]:active{background:rgba(85,58,254,.2);border-color:#553afe}.del-button.is-disabled[data-v-b2212e7c]{opacity:.5;cursor:not-allowed}@keyframes bganimation-b2212e7c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b2212e7c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b2212e7c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b2212e7c]{animation:rotateEnter-b2212e7c .7s;position:relative}.rotate-leave-active[data-v-b2212e7c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b2212e7c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-23c28a68{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-23c28a68{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-23c28a68{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-23c28a68]{animation:rotateEnter-23c28a68 .7s;position:relative}.rotate-leave-active[data-v-23c28a68]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-23c28a68]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-23c28a68]{position:relative}.custom-content .img_box[data-v-23c28a68]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-23c28a68]{width:100%;height:100%}.custom-content .IP_address[data-v-23c28a68]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-23c28a68]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-23c28a68]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-23c28a68]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-23c28a68]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-23c28a68]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-23c28a68]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-23c28a68]{width:140px;text-align:right}.del-button[data-v-23c28a68]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-23c28a68]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-23c28a68]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-23c28a68]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-23c28a68]{opacity:.5;cursor:not-allowed}@keyframes bganimation-23c28a68{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-23c28a68{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-23c28a68{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-23c28a68]{animation:rotateEnter-23c28a68 .7s;position:relative}.rotate-leave-active[data-v-23c28a68]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-23c28a68]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-ed203952{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ed203952{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ed203952{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ed203952]{animation:rotateEnter-ed203952 .7s;position:relative}.rotate-leave-active[data-v-ed203952]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ed203952]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.dialog-overlay[data-v-ed203952]{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:16px}.dialog-container[data-v-ed203952]{background-color:#fff;border-radius:12px;padding:16px;width:100%;max-width:400px;box-shadow:0 4px 12px #00000026}.dialog-container .dialog-title[data-v-ed203952]{margin:0 0 20px;font-size:1.2rem;font-weight:500;color:#333;text-align:left}.dialog-container .dialog-message[data-v-ed203952]{margin:20px 0;font-size:1rem;color:#666;text-align:center}.dialog-container .loading-animation[data-v-ed203952]{margin:20px 0}.dialog-container .loading-animation .spinner[data-v-ed203952]{width:40px;height:40px;margin:0 auto;border:4px solid rgba(110,72,170,.2);border-radius:50%;border-top-color:#8d78fa;animation:spin-ed203952 1s linear infinite}.dialog-container .dialog-button[data-v-ed203952]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s;margin:0 auto;display:block}.dialog-container .dialog-button[data-v-ed203952]:hover{background-color:#553afe;opacity:.9}.dialog-container .dialog-button[data-v-ed203952]:active{transform:scale(.98)}.dialog-container .warning-message[data-v-ed203952]{display:flex;gap:8px;background-color:#fff8e1;border-left:4px solid #FFC107;padding:12px;margin-bottom:20px;border-radius:4px;font-size:.9rem;color:#333;text-align:left}.dialog-container .warning-message .warning-icon[data-v-ed203952]{flex-shrink:0;width:20px;height:20px;color:#ffa000}.dialog-container .input-group[data-v-ed203952]{margin-bottom:16px;text-align:left}.dialog-container .input-group label[data-v-ed203952]{display:block;margin-bottom:8px;font-size:.95rem;color:#333}.dialog-container .input-group .tag-input[data-v-ed203952]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .2s}.dialog-container .input-group .tag-input[data-v-ed203952]:focus{outline:none;border-color:#6e48aa}.dialog-container .button-group[data-v-ed203952]{display:flex;justify-content:flex-end;gap:12px}.dialog-container .button-group .cancel-button[data-v-ed203952]{background-color:#fff;color:#333;border:1px solid #ddd;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .cancel-button[data-v-ed203952]:hover{background-color:#e0e0e0}.dialog-container .button-group .cancel-button[data-v-ed203952]:active{transform:scale(.98)}.dialog-container .button-group .confirm-button[data-v-ed203952]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .confirm-button[data-v-ed203952]:hover{background-color:#553afe;opacity:.9}.dialog-container .button-group .confirm-button[data-v-ed203952]:active{transform:scale(.98)}.tag-dialog[data-v-ed203952]{max-width:500px}.fade-enter-active[data-v-ed203952],.fade-leave-active[data-v-ed203952]{transition:opacity .3s ease}.fade-enter-from[data-v-ed203952],.fade-leave-to[data-v-ed203952]{opacity:0}@keyframes spin-ed203952{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-circle-ed203952{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}@keyframes icon-line-tip-ed203952{0%{width:0;left:1px;top:15px}54%{width:0;left:1px;top:15px}70%{width:40px;left:-6px;top:30px}84%{width:14px;left:17px;top:38px}to{width:12px;left:8px;top:22px}}@keyframes icon-line-long-ed203952{0%{width:0;right:37px;top:43px}65%{width:0;right:37px;top:43px}84%{width:44px;right:0;top:28px}to{width:20px;right:8px;top:20px}}@media (max-width: 480px){.dialog-container[data-v-ed203952]{padding:16px}.dialog-container .dialog-title[data-v-ed203952]{font-size:1.1rem;margin-bottom:16px}.dialog-container .dialog-message[data-v-ed203952]{font-size:.95rem;margin:16px 0}.dialog-container .warning-message[data-v-ed203952]{font-size:.85rem;padding:10px}.dialog-container .input-group[data-v-ed203952]{margin-bottom:20px}.dialog-container .input-group label[data-v-ed203952]{font-size:.9rem}.dialog-container .input-group .tag-input[data-v-ed203952]{padding:8px 10px;font-size:.95rem}.dialog-container .button-group[data-v-ed203952]{gap:8px}.dialog-container .button-group .cancel-button[data-v-ed203952],.dialog-container .button-group .confirm-button[data-v-ed203952]{padding:4px 16px;font-size:.95rem}.dialog-container .loading-animation .spinner[data-v-ed203952]{width:36px;height:36px}}@keyframes bganimation-102c75ea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-102c75ea{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-102c75ea{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-102c75ea]{animation:rotateEnter-102c75ea .7s;position:relative}.rotate-leave-active[data-v-102c75ea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-102c75ea]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.add-button[data-v-102c75ea]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 12px;font-size:14px;border-radius:4px}.add-button--danger[data-v-102c75ea]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-102c75ea]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-102c75ea]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-102c75ea]{opacity:.5;cursor:not-allowed}.tab-container[data-v-102c75ea]{display:flex;flex-direction:row;width:100%;margin:0 auto;border-radius:8px;overflow:hidden}@media (max-width: 768px){.tab-container[data-v-102c75ea]{flex-direction:column}}.tab-header[data-v-102c75ea]{display:flex;flex-direction:column;width:120px}@media (max-width: 768px){.tab-header[data-v-102c75ea]{flex-direction:row;width:100%;overflow-x:auto;white-space:nowrap}}.tab-button[data-v-102c75ea]{padding:12px 16px;text-align:left;border:none;background:transparent!important;cursor:pointer;font-size:14px;color:var(--flow-span-color);transition:all .3s ease;border-radius:8px 0 0 8px}.tab-button[data-v-102c75ea]:hover{background:var(--tag-bg-color)!important}.tab-button.active[data-v-102c75ea]{background:var(--tag-bg-color)!important;font-weight:500;margin:0}@media (max-width: 768px){.tab-button[data-v-102c75ea]{border-radius:8px 8px 0 0;text-align:center;flex:1;min-width:max-content}.tab-button.active[data-v-102c75ea]{border-radius:8px 8px 0 0}}.tab-content_g[data-v-102c75ea]{flex:1;padding:20px;background:var(--tag-bg-color);border-radius:0 8px 8px 0;min-height:60vh}.tab-content_g .not_installed[data-v-102c75ea]{display:flex;flex-direction:column;align-items:center}.tab-content_g .not_installed>span[data-v-102c75ea]{color:var(--tit-color);margin:20px 0}.tab-content_g .not_installed .not_installed_btn[data-v-102c75ea]{padding:6px 16px;background:#553AFE;border-radius:4px;font-size:14px;color:#fff;cursor:pointer}@media (max-width: 768px){.tab-content_g[data-v-102c75ea]{border-radius:0 0 8px 8px}}.item_box[data-v-102c75ea]{margin-top:12px;display:flex;align-items:center;color:var(--tit-color)!important}.item_box>input[data-v-102c75ea]{width:40%;color:var(--card-box-shadow);background:transparent!important;color:var(--tit-color)!important}@media (max-width: 768px){.item_box>input[data-v-102c75ea]{width:70%}}.item_box>input[data-v-102c75ea]::placeholder{color:var(--item-label_key-span-color)}.item_box>select[data-v-102c75ea]{background:transparent!important;width:40%;color:var(--card-box-shadow)}@media (max-width: 768px){.item_box>select[data-v-102c75ea]{width:70%}}.item_box>select>option[data-v-102c75ea]{padding:4px 12px!important}.item_box .item_left[data-v-102c75ea]{width:140px;text-align:right}@media (max-width: 768px){.item_box .item_left[data-v-102c75ea]{width:100px}}@keyframes bganimation-39804772{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-39804772{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-39804772{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-39804772]{animation:rotateEnter-39804772 .7s;position:relative}.rotate-leave-active[data-v-39804772]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-39804772]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.tab-container[data-v-39804772]{margin:0 auto}.tabs_box_g[data-v-39804772]{display:flex}.tabs_box_g button[data-v-39804772]{padding:14px 24px;border:none;background:none;cursor:pointer;font-size:14px;border-radius:8px 8px 0 0;margin:0;transition:all .3s ease}.tabs_box_g button.active[data-v-39804772]{background:var(--card-bg-color);color:#553afe;font-weight:700;position:relative}.tab-content_g[data-v-39804772]{background:var(--card-bg-color);padding:16px;border-radius:0 8px 8px}.content-item[data-v-39804772]{min-height:60vh}@keyframes bganimation-39804772{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-39804772{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-39804772{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-39804772]{animation:rotateEnter-39804772 .7s;position:relative}.rotate-leave-active[data-v-39804772]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-39804772]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.tabs_box_g button[data-v-39804772]{padding:7px 12px!important}.tab-content_g[data-v-39804772]{border-radius:0 0 8px 8px}}@keyframes bganimation-cbc39b94{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-cbc39b94{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-cbc39b94{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-cbc39b94]{animation:rotateEnter-cbc39b94 .7s;position:relative}.rotate-leave-active[data-v-cbc39b94]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-cbc39b94]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-cbc39b94]{width:24px;height:24px;margin-right:6px}.icon1[data-v-cbc39b94]{width:16px;height:16px;margin-right:8px}.icon2[data-v-cbc39b94]{width:20px;height:20px;margin-right:8px}.icon3[data-v-cbc39b94]{width:17px;height:17px;margin-right:8px}.m-20[data-v-cbc39b94]{margin:20px 0!important}[data-v-cbc39b94] .modal-container .modal-header{border-bottom:none;padding-bottom:0;padding-left:20px}[data-v-cbc39b94] .modal-container .modal-header .modal-title{text-align:left}[data-v-cbc39b94] .modal-container .modal-content{padding:0 20px 20px}.item_container[data-v-cbc39b94]{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:24px;font-size:16px}.item_container .item[data-v-cbc39b94]{padding:16px;background:var(--card-bg-color);border-radius:10px}.item_container .item .item_title[data-v-cbc39b94]{display:flex;align-items:center}.item_container .item .item_title>span[data-v-cbc39b94]{color:var(--app-container_title-color);display:inline-block;padding-top:2px}.item_container .item>p[data-v-cbc39b94]{color:#717182;margin-top:10px}.item_container .item .wifi_btn[data-v-cbc39b94]{margin:40px 0;display:flex;justify-content:center}.item_container .item .wifi_btn>div[data-v-cbc39b94]{background:#000;padding:12px 24px;border-radius:6px;display:flex;align-items:center;color:#fff;cursor:pointer;font-size:14px}.item_container .item .wifi_btn>div>span[data-v-cbc39b94]{display:inline-block;padding-top:2px}.item_container .item .wifi_btn .start_btn[data-v-cbc39b94]{padding:10px;width:100%;display:flex;justify-content:center}.item_container .item .progress>p[data-v-cbc39b94]{display:flex;justify-content:space-between;font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .is-bg[data-v-cbc39b94]{opacity:.6;pointer-events:none;cursor:not-allowed}.item_container .item .select_box[data-v-cbc39b94]{margin-top:30px;color:var(--app-container_title-color)}.item_container .item .select_box>select[data-v-cbc39b94]{width:100%;background:#f3f3f5;border-radius:6px;color:var(--app-container_title-color)}.item_container .item .select_box>select.is-placeholder[data-v-cbc39b94]{color:#9aa0a6}.item_container .item .select_box option[disabled][data-v-cbc39b94]{color:#9aa0a6}.item_container .item .select_box option[hidden][data-v-cbc39b94]{display:none}.item_container .item .tip[data-v-cbc39b94]{text-align:center;font-size:14px}.item_container .item .log_info[data-v-cbc39b94]{padding:24px 16px;margin-top:20px;background:black;border-radius:8px;max-height:300px;overflow-y:auto}.item_container .item .log_info[data-v-cbc39b94]::-webkit-scrollbar{height:6px}.item_container .item .log_info[data-v-cbc39b94]::-webkit-scrollbar-thumb{background:#777780;border-radius:6px}.item_container .item .log_info>p[data-v-cbc39b94]{font-size:14px;color:#05df72;margin-bottom:12px}.item_container .item .log_info>p[data-v-cbc39b94]:last-child{margin-bottom:0}.item_container .item .result_box[data-v-cbc39b94]{margin-top:20px}.item_container .item .result_box .result[data-v-cbc39b94]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px}.item_container .item .result_box .result .result_state[data-v-cbc39b94]{display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.item_container .item .result_box .result .result_state>div[data-v-cbc39b94]{margin-bottom:6px;font-weight:700;font-size:18px;letter-spacing:.1em}.item_container .item .result_box .result .result_state .result_txt[data-v-cbc39b94]{font-size:12px}.item_container .item .result_box .result .result_item[data-v-cbc39b94]{background:#ececf0;border-radius:6px;padding:20px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.item_container .item .result_box .result .result_item .result_title[data-v-cbc39b94]{font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .result_box .result .result_item .speed_value[data-v-cbc39b94]{font-size:24px;font-weight:700;letter-spacing:.1em}.item_container .item .result_box .result .result_item .speed_title[data-v-cbc39b94]{font-size:12px}.item_container .item .result_box .result .result_item .icon_speed[data-v-cbc39b94]{width:30px;height:30px;margin-bottom:10px}.item_container .item .result_box .result .result_item .icon_speed1[data-v-cbc39b94]{width:26px;height:26px;margin-bottom:10px}.item_container .item .result_box .result .result_item .unit[data-v-cbc39b94]{color:#717182;display:inline-block;margin-bottom:6px}.custom-content p[data-v-cbc39b94]{color:#717182}.custom-content .address_box[data-v-cbc39b94]{background:#ececf0;border-radius:6px;padding:10px 12px;margin-top:16px;display:flex;justify-content:space-between;align-items:center}.custom-content .address_box>span[data-v-cbc39b94]{font-size:16px}.custom-content .address_box>div[data-v-cbc39b94]{background:#fff;padding:6px 12px;border-radius:4px;cursor:pointer}@keyframes spin-cbc39b94{to{transform:rotate(360deg)}}.icon3-wrap[data-v-cbc39b94]{display:inline-flex;width:17px;height:17px;margin-right:8px;align-items:center;justify-content:center}.icon3-wrap .icon3[data-v-cbc39b94]{width:100%;height:100%}.is-rotating[data-v-cbc39b94]{animation:spin-cbc39b94 1s linear infinite;transform-origin:center;transform-box:fill-box;will-change:transform}.line[data-v-cbc39b94]{height:1px;background:#d9d9d9;margin:20px 0}.status[data-v-cbc39b94]{display:inline-block;padding:4px 12px;color:#fff;border-radius:6px;font-size:12px;margin-bottom:10px}.status_bg1[data-v-cbc39b94]{background:#00c950}.status_bg2[data-v-cbc39b94]{background:#2b7fff}.status_bg3[data-v-cbc39b94]{background:#ef4444}.status_bg4[data-v-cbc39b94]{background:#f0b100}@keyframes bganimation-cbc39b94{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-cbc39b94{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-cbc39b94{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-cbc39b94]{animation:rotateEnter-cbc39b94 .7s;position:relative}.rotate-leave-active[data-v-cbc39b94]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-cbc39b94]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.item_container[data-v-cbc39b94]{grid-template-columns:repeat(1,1fr);grid-gap:12px;padding-bottom:16px}}@keyframes bganimation-164df064{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-164df064{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-164df064{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-164df064]{animation:rotateEnter-164df064 .7s;position:relative}.rotate-leave-active[data-v-164df064]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-164df064]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-164df064]{width:30px;height:30px;margin-right:10px;display:block}.icon[data-v-164df064] svg{display:block}.container[data-v-164df064]{min-height:87vh}.container .title[data-v-164df064]{font-size:16px;margin-bottom:20px;display:flex;justify-content:center;flex-direction:column}.container .title>div[data-v-164df064]{display:inline-flex;justify-content:center;align-items:center;line-height:1;margin-bottom:10px}.container .title>div>span[data-v-164df064]{color:var(--app-container_title-color);position:relative;top:1px;font-weight:600}.container .title>p[data-v-164df064]{text-align:center;color:#717182}@keyframes bganimation-164df064{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-164df064{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-164df064{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-164df064]{animation:rotateEnter-164df064 .7s;position:relative}.rotate-leave-active[data-v-164df064]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-164df064]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-2b19eb04{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b19eb04{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b19eb04{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b19eb04]{animation:rotateEnter-2b19eb04 .7s;position:relative}.rotate-leave-active[data-v-2b19eb04]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b19eb04]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-2b19eb04]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-2b19eb04]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-2b19eb04]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-2b19eb04]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-2b19eb04]{display:none;align-items:center}.switch-core[data-v-2b19eb04]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-2b19eb04]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-2b19eb04]{opacity:.6;cursor:not-allowed}.switch-button[data-v-2b19eb04]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-2b19eb04]{transform:translate(20px)}.switch-label[data-v-2b19eb04]{font-size:14px;color:#999}.switch-label.active[data-v-2b19eb04]{color:#409eff}form.form-container[data-v-2b19eb04]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-name[data-v-2b19eb04]{display:block;width:100%;margin-bottom:.5rem;color:var(--item-label_key-span-color)}form.form-container .label-name span[data-v-2b19eb04]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-2b19eb04]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-2b19eb04],form.form-container .label-value select[data-v-2b19eb04]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:var(--item-label_key-span-color);font-size:14px}form.form-container .label-value input>option[data-v-2b19eb04],form.form-container .label-value select>option[data-v-2b19eb04]{color:#8898aa}form.form-container .label-value input[data-v-2b19eb04]:focus,form.form-container .label-value select[data-v-2b19eb04]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-2b19eb04]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-2b19eb04]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-2b19eb04],form.form-container .label-value input[type=radio][data-v-2b19eb04]{width:auto}form.form-container .label-value input[type=radio][data-v-2b19eb04]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-2b19eb04]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-2b19eb04]::placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-2b19eb04]:-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-2b19eb04]::-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-btns[data-v-2b19eb04]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-2b19eb04]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-2b19eb04]{color:#f9ad1e}form.form-container .label-flex[data-v-2b19eb04]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-2b19eb04]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-2b19eb04]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-2b19eb04]{width:200px!important}.form-item .label-value[data-v-2b19eb04]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-2b19eb04]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-2b19eb04]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-2b19eb04]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-2b19eb04]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-2b19eb04]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-2b19eb04]:hover{opacity:.9;transition:.3}select[data-v-2b19eb04]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-2b19eb04]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-2b19eb04]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-2b19eb04]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-2b19eb04]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-2b19eb04]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-2b19eb04]{color:var(--item-label_key-span-color)}form.form-container .form-item .label-value[data-v-2b19eb04]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-2b19eb04],form.form-container .form-item .label-value select[data-v-2b19eb04]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-2b19eb04]{padding-right:24px}form.form-container .form-item .label-value input[data-v-2b19eb04]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-2b19eb04]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-2b19eb04]{padding-right:16px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-2b19eb04] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-2b19eb04] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-2b19eb04]{display:flex}form.form-container .label-flex label[data-v-2b19eb04]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-2b19eb04]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-2b19eb04]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-2b19eb04]{width:20px;height:20px;right:0}.pc-radio[data-v-2b19eb04],.label-flex[data-v-2b19eb04]{display:none!important}.mobile-switch[data-v-2b19eb04]{display:flex;align-items:center;height:50px}.switch_label[data-v-2b19eb04]{display:flex;justify-content:end}.switch-core[data-v-2b19eb04]{width:50px;height:24px}.switch-button[data-v-2b19eb04]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-2b19eb04]{transform:translate(26px)}.select-arrow[data-v-2b19eb04]{position:absolute;right:6px;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-42d0731d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-42d0731d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-42d0731d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-42d0731d]{animation:rotateEnter-42d0731d .7s;position:relative}.rotate-leave-active[data-v-42d0731d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-42d0731d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-42d0731d]{width:100%;background-color:var(--card-bg-color);border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-42d0731d]{display:none}.page-flex[data-v-42d0731d]{display:flex}.page-flex .page-sidebar[data-v-42d0731d]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-42d0731d]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:var(--item-label_key-span-color);display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-42d0731d]:hover,.page-flex .page-sidebar .item.activeItem[data-v-42d0731d]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-42d0731d]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-42d0731d]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-42d0731d]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-42d0731d]{display:block}.page-flex .page-sidebar[data-v-42d0731d]{display:none}.page-flex .page-main[data-v-42d0731d]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-42d0731d]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-42d0731d]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-42d0731d]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-42d0731d]::-webkit-scrollbar{display:none}.tag-item[data-v-42d0731d]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:var(--tag-bg-color);color:var(--item-label_key-span-color);font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-42d0731d]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-42d0731d]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-42d0731d]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:var(--gradient-bg-color)}.more-btn[data-v-42d0731d]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-42d0731d]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-42d0731d] .showSide{z-index:1!important}.popup-overlay[data-v-42d0731d]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-42d0731d]{width:100%;max-height:85vh;background-color:var(--popup-bg-color);border-radius:0 0 4px 4px;animation:slideDown-42d0731d .3s ease-out;overflow-y:auto;padding-top:25px}.popup-content .popup-tag-item[data-v-42d0731d],.popup-content .active[data-v-42d0731d]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-42d0731d{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-42d0731d]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-42d0731d]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-42d0731d]{background-color:#5279f7;color:#fff}.popup-footer[data-v-42d0731d]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-42d0731d]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-42d0731d]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-42d0731d]{background-color:#5279f7;color:#fff;border:none}} .page-container>div>div>a:first-child{display:none} diff --git a/luci-app-ssr-plus/Makefile b/luci-app-ssr-plus/Makefile index 98e6f836..cf488bb7 100644 --- a/luci-app-ssr-plus/Makefile +++ b/luci-app-ssr-plus/Makefile @@ -4,7 +4,7 @@ LUCI_TITLE:=luci-app-ssr-plus LUCI_PKGARCH:=all PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=190 -PKG_RELEASE:=11 +PKG_RELEASE:=12 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \ diff --git a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua index 0bd50197..8ddfb67b 100644 --- a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua +++ b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua @@ -1674,6 +1674,65 @@ o:depends("type", "hysteria2") o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "xhttp"}) o:depends({type = "v2ray", v2ray_protocol = "hysteria2"}) +o = s:option(ListValue, "domain_resolver", translate("Domain DNS Resolve")) +o.description = translate( + "
    " .. + "
  • " .. translate("If the node address is a domain name, this DNS will be used for resolution.") .. "
  • " .. + "
  • " .. string.format('%s', translate("Note: For node-specific DNS only. Keep Auto to avoid extra overhead.")) .. "
  • " .. + "
" +) +o:value("", translate("Auto")) +o:value("tcp", translate("TCP")) +o:value("udp", translate("UDP")) +o:value("https", translate("DoH")) +o:depends("type", "v2ray") + +o = s:option(Value, "domain_resolver_dns", translate("DNS")) +o.datatype = "or(ipaddr,ipaddrport)" +o:value("114.114.114.114") +o:value("223.5.5.5:53") +o.default = "114.114.114.114" +o:depends("domain_resolver", "tcp") +o:depends("domain_resolver", "udp") + +o = s:option(Value, "domain_resolver_dns_https", translate("DNS")) +o:value("https://120.53.53.53/dns-query", translate("DNSPod")) +o:value("https://223.5.5.5/dns-query", translate("AliDNS")) +o.default = "https://120.53.53.53/dns-query" +o:depends("domain_resolver", "https") + +o = s:option(ListValue, "domain_strategy", translate("Domain Strategy")) +o.description = translate( + "
    " .. + "
  • " .. translate("If is domain name, The requested domain name will be resolved to IP before connect.") .. "
  • " .. + "
  • " .. string.format('%s', translate("Note: For node-specific DNS only. Keep Auto to avoid extra overhead.")) .. "
  • " .. + "
" +) +o.default = "" +o:value("", translate("Auto")) +o:value("UseIPv4v6", translate("Prefer IPv4")) +o:value("UseIPv6v4", translate("Prefer IPv6")) +o:value("UseIPv4", translate("IPv4 Only")) +o:value("UseIPv6", translate("IPv6 Only")) +o:depends("type", "v2ray") + +local v2ray_protocols = s.fields["v2ray_protocol"] +if #v2ray_protocols > 0 then + for i, v in ipairs(v2ray_protocols) do + if not v:find("^_") then + s.fields["server"]:depends({ ["v2ray_protocol"] = v }) + s.fields["server_port"]:depends({ ["v2ray_protocol"] = v }) + s.fields["domain_resolver"]:depends({ ["v2ray_protocol"] = v }) + s.fields["domain_strategy"]:depends({ ["v2ray_protocol"] = v }) + + if v ~= "hysteria2" then + s.fields["fast_open"]:depends({ ["v2ray_protocol"] = v }) + s.fields["mptcp"]:depends({ ["v2ray_protocol"] = v }) + end + end + end +end + o = s:option(Flag, "switch_enable", translate("Enable Auto Switch")) o.rmempty = false o.default = "1" diff --git a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua index 07a74257..ac087f47 100644 --- a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua +++ b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua @@ -235,6 +235,48 @@ end o = s:option(DynamicList, "subscribe_url", translate("Subscribe URL")) o.rmempty = true +o = s:option(ListValue, "domain_resolver", translate("Domain DNS Resolve")) +o.description = translate( + "
    " .. + "
  • " .. translate("If the node address is a domain name, this DNS will be used for resolution.") .. "
  • " .. + "
  • " .. string.format('%s', translate("Supports only Xray node types.")) .. "
  • " .. + "
  • " .. string.format('%s', translate("Note: For node-specific DNS only. Keep Auto to avoid extra overhead.")) .. "
  • " .. + "
" +) +o:value("", translate("Auto")) +o:value("tcp", translate("TCP")) +o:value("udp", translate("UDP")) +o:value("https", translate("DoH")) + +o = s:option(Value, "domain_resolver_dns", translate("DNS")) +o.datatype = "or(ipaddr,ipaddrport)" +o:value("114.114.114.114") +o:value("223.5.5.5:53") +o.default = "114.114.114.114" +o:depends("domain_resolver", "tcp") +o:depends("domain_resolver", "udp") + +o = s:option(Value, "domain_resolver_dns_https", translate("DNS")) +o:value("https://120.53.53.53/dns-query", "DNSPod") +o:value("https://223.5.5.5/dns-query", "AliDNS") +o.default = o.keylist[1] +o:depends("domain_resolver", "https") + +o = s:option(ListValue, "domain_strategy", translate("Domain Strategy")) +o.description = translate( + "
    " .. + "
  • " .. translate("If is domain name, The requested domain name will be resolved to IP before connect.") .. "
  • " .. + "
  • " .. string.format('%s', translate("Supports only Xray node types.")) .. "
  • " .. + "
  • " .. string.format('%s', translate("Note: For node-specific DNS only. Keep Auto to avoid extra overhead.")) .. "
  • " .. + "
" +) +o.default = "" +o:value("", translate("Auto")) +o:value("UseIPv4v6", translate("Prefer IPv4")) +o:value("UseIPv6v4", translate("Prefer IPv6")) +o:value("UseIPv4", translate("IPv4 Only")) +o:value("UseIPv6", translate("IPv6 Only")) + o = s:option(Value, "filter_words", translate("Subscribe Filter Words")) o.rmempty = true o.description = translate("Filter Words splited by /") diff --git a/luci-app-ssr-plus/po/templates/ssr-plus.pot b/luci-app-ssr-plus/po/templates/ssr-plus.pot index 0127dbf1..fd18587c 100644 --- a/luci-app-ssr-plus/po/templates/ssr-plus.pot +++ b/luci-app-ssr-plus/po/templates/ssr-plus.pot @@ -99,9 +99,13 @@ msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1527 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1540 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1553 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1679 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1706 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:188 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:214 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:249 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:240 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:267 msgid "
  • " msgstr "" @@ -126,11 +130,15 @@ msgstr "" msgid "Advertising Data" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1700 +msgid "AliDNS" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:268 msgid "AliYun Public DNS (223.5.5.5)" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:325 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:367 msgid "Alias" msgstr "" @@ -150,7 +158,7 @@ msgstr "" msgid "Allow listed only" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:255 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:297 msgid "Allow subscribe Insecure nodes By default" msgstr "" @@ -192,8 +200,8 @@ msgstr "" msgid "Apple domains optimization" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:357 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:363 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:399 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:405 msgid "Apply" msgstr "" @@ -207,13 +215,17 @@ msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:282 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:313 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1684 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1712 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:172 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:200 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:229 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:246 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:274 msgid "Auto" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:375 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:417 msgid "Auto Switch" msgstr "" @@ -489,6 +501,10 @@ msgid "DL Backup" msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1168 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1690 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1698 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:251 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:259 msgid "DNS" msgstr "" @@ -500,6 +516,10 @@ msgstr "" msgid "DNS Query Mode For Shunt Mode" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1699 +msgid "DNSPod" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:267 msgid "DNSPod Public DNS (119.29.29.29)" msgstr "" @@ -561,7 +581,7 @@ msgstr "" msgid "Delete" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:273 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:315 msgid "Delete All Subscribe Servers" msgstr "" @@ -617,12 +637,24 @@ msgstr "" msgid "Do you want to restore the client to default settings?" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1687 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:249 +msgid "DoH" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:230 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:259 msgid "DoT upstream (Need use wolfssl version)" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1677 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:238 +msgid "Domain DNS Resolve" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:419 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1704 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:265 msgid "Domain Strategy" msgstr "" @@ -679,7 +711,7 @@ msgid "Enable Authentication" msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:63 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1677 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1736 msgid "Enable Auto Switch" msgstr "" @@ -821,7 +853,7 @@ msgstr "" msgid "FORCE BRUTAL" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:240 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:282 msgid "Filter Words splited by /" msgstr "" @@ -1034,16 +1066,39 @@ msgstr "" msgid "IP Stack Preference" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1715 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:277 +msgid "IPv4 Only" +msgstr "" + +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1716 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:278 +msgid "IPv6 Only" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:243 msgid "If empty, Not change Apple domains parsing DNS (Default is empty)" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1707 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:268 +msgid "" +"If is domain name, The requested domain name will be resolved to IP before " +"connect." +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1393 msgid "" "If it is not empty, it indicates that the Client has enabled Encrypted " "Client, see:" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1680 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:241 +msgid "" +"If the node address is a domain name, this DNS will be used for resolution." +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:865 msgid "If this option is not set, the socket behavior is platform dependent." msgstr "" @@ -1094,19 +1149,19 @@ msgstr "" msgid "KcpTun" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1687 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1746 msgid "KcpTun Enable" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1704 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1763 msgid "KcpTun Param" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1699 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1758 msgid "KcpTun Password" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1693 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1752 msgid "KcpTun Port" msgstr "" @@ -1205,7 +1260,7 @@ msgid "Listen only on the given interface or, if unspecified, on all" msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:348 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1681 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1740 msgid "Local Port" msgstr "" @@ -1387,8 +1442,8 @@ msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1140 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1152 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1162 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:322 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:327 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:364 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:369 msgid "None" msgstr "" @@ -1405,6 +1460,13 @@ msgstr "" msgid "Not exist" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1681 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1708 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:243 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:270 +msgid "Note: For node-specific DNS only. Keep Auto to avoid extra overhead." +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/log.lua:27 msgid "" "Note: Restoring configurations across different versions may cause " @@ -1516,7 +1578,7 @@ msgstr "" msgid "Permit Without Stream" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:351 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:393 msgid "Ping Latency" msgstr "" @@ -1548,6 +1610,16 @@ msgstr "" msgid "Pre-shared key" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1713 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:275 +msgid "Prefer IPv4" +msgstr "" + +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1714 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:276 +msgid "Prefer IPv6" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:93 msgid "Prefer firewall tools" msgstr "" @@ -1627,7 +1699,7 @@ msgstr "" msgid "Really reset all changes?" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:361 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:403 msgid "Reapply" msgstr "" @@ -1744,7 +1816,7 @@ msgstr "" msgid "Save Order" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:244 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:286 msgid "Save Words splited by /" msgstr "" @@ -1782,7 +1854,7 @@ msgstr "" msgid "Server Address" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:275 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:317 msgid "Server Count" msgstr "" @@ -1793,7 +1865,7 @@ msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:469 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/server-config.lua:96 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/server.lua:112 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:330 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:372 msgid "Server Port" msgstr "" @@ -1873,7 +1945,7 @@ msgstr "" msgid "Short ID" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:335 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:377 msgid "Socket Connected" msgstr "" @@ -1914,15 +1986,15 @@ msgstr "" msgid "Status" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:260 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:302 msgid "Subscribe Default Auto-Switch" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:238 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:280 msgid "Subscribe Filter Words" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:242 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:284 msgid "Subscribe Save Words" msgstr "" @@ -1930,11 +2002,11 @@ msgstr "" msgid "Subscribe URL" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:262 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:304 msgid "Subscribe new add server default Auto-Switch on" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:257 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:299 msgid "Subscribe nodes allows insecure connection as TLS client (insecure)" msgstr "" @@ -1946,10 +2018,20 @@ msgstr "" msgid "Supports a fixed value or a random range (e.g., 30, 5-30), minimum 5." msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:242 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:269 +msgid "Supports only Xray node types." +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:67 msgid "Switch check cycly(second)" msgstr "" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1685 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:247 +msgid "TCP" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:729 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1667 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/server-config.lua:149 @@ -2069,11 +2151,11 @@ msgstr "" msgid "The keep-alive period.(Unit:second)" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:265 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:307 msgid "Through proxy update" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:267 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:309 msgid "Through proxy update list, Not Recommended" msgstr "" @@ -2118,11 +2200,13 @@ msgid "Trojan" msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:412 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:320 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:362 msgid "Type" msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:622 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1686 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:248 msgid "UDP" msgstr "" @@ -2154,7 +2238,7 @@ msgstr "" msgid "UL Restore" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:280 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:322 msgid "URL Test Address" msgstr "" @@ -2167,12 +2251,12 @@ msgstr "" msgid "Unknown" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:269 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:311 #: applications/luci-app-ssr-plus/luasrc/view/shadowsocksr/subscribe.htm:16 msgid "Update All Subscribe Servers" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:246 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:288 msgid "Update Subscribe List" msgstr "" @@ -2180,7 +2264,7 @@ msgstr "" msgid "Update cycle (Day/Week)" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:248 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:290 msgid "Update subscribe url list first" msgstr "" @@ -2252,7 +2336,7 @@ msgid "User cancelled." msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1268 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:290 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:332 msgid "User-Agent" msgstr "" diff --git a/luci-app-ssr-plus/po/zh_Hans/ssr-plus.po b/luci-app-ssr-plus/po/zh_Hans/ssr-plus.po index 5e1c06a6..b76052fc 100644 --- a/luci-app-ssr-plus/po/zh_Hans/ssr-plus.po +++ b/luci-app-ssr-plus/po/zh_Hans/ssr-plus.po @@ -103,9 +103,13 @@ msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1527 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1540 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1553 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1679 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1706 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:188 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:214 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:249 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:240 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:267 msgid "
    • " msgstr "" @@ -130,11 +134,15 @@ msgstr "高级设置" msgid "Advertising Data" msgstr "【广告屏蔽】数据库" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1700 +msgid "AliDNS" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:268 msgid "AliYun Public DNS (223.5.5.5)" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:325 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:367 msgid "Alias" msgstr "别名" @@ -154,7 +162,7 @@ msgstr "除列表外主机皆允许" msgid "Allow listed only" msgstr "仅允许列表内主机" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:255 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:297 msgid "Allow subscribe Insecure nodes By default" msgstr "订阅节点允许不验证 TLS 证书" @@ -196,8 +204,8 @@ msgstr "Apple 域名更新 URL" msgid "Apple domains optimization" msgstr "Apple 域名解析优化" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:357 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:363 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:399 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:405 msgid "Apply" msgstr "应用" @@ -211,13 +219,17 @@ msgstr "是否真的要恢复客户端默认配置?" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:282 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:313 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1684 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1712 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:172 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:200 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:229 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:246 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:274 msgid "Auto" msgstr "自动" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:375 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:417 msgid "Auto Switch" msgstr "自动切换" @@ -498,6 +510,10 @@ msgid "DL Backup" msgstr "下载备份" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1168 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1690 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1698 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:251 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:259 msgid "DNS" msgstr "" @@ -509,6 +525,10 @@ msgstr "DNS 防污染服务" msgid "DNS Query Mode For Shunt Mode" msgstr "分流模式下的 DNS 查询模式" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1699 +msgid "DNSPod" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:267 msgid "DNSPod Public DNS (119.29.29.29)" msgstr "" @@ -574,7 +594,7 @@ msgstr "延迟(ms)" msgid "Delete" msgstr "删除" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:273 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:315 msgid "Delete All Subscribe Servers" msgstr "删除所有订阅服务器节点" @@ -630,12 +650,24 @@ msgstr "执行重置" msgid "Do you want to restore the client to default settings?" msgstr "是否要恢复客户端默认配置?" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1687 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:249 +msgid "DoH" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:230 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:259 msgid "DoT upstream (Need use wolfssl version)" msgstr "DoT 上游(需使用 wolfssl 版本)" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1677 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:238 +msgid "Domain DNS Resolve" +msgstr "域名 DNS 解析" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:419 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1704 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:265 msgid "Domain Strategy" msgstr "域名解析策略" @@ -692,7 +724,7 @@ msgid "Enable Authentication" msgstr "启用用户名/密码认证" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:63 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1677 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1736 msgid "Enable Auto Switch" msgstr "启用自动切换" @@ -834,7 +866,7 @@ msgstr "分流服务器(前置)代理" msgid "FORCE BRUTAL" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:240 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:282 msgid "Filter Words splited by /" msgstr "命中关键字的节点将被丢弃。多个关键字用 / 分隔" @@ -1047,16 +1079,39 @@ msgstr "绕过中国大陆 IP 模式" msgid "IP Stack Preference" msgstr "IP 栈优先级" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1715 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:277 +msgid "IPv4 Only" +msgstr "仅 IPv4" + +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1716 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:278 +msgid "IPv6 Only" +msgstr "仅 IPv6" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:243 msgid "If empty, Not change Apple domains parsing DNS (Default is empty)" msgstr "如果为空,则不更改 Apple 域名解析 DNS(默认为空)" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1707 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:268 +msgid "" +"If is domain name, The requested domain name will be resolved to IP before " +"connect." +msgstr "如果是域名,域名将在请求发出之前解析为 IP。" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1393 msgid "" "If it is not empty, it indicates that the Client has enabled Encrypted " "Client, see:" msgstr "如果不为空,表示客户端已启用加密客户端,具体请参见:" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1680 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:241 +msgid "" +"If the node address is a domain name, this DNS will be used for resolution." +msgstr "如果节点地址是域名,则将使用此 DNS 进行解析。" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:865 msgid "If this option is not set, the socket behavior is platform dependent." msgstr "如果未设置此选项,则 Socket 行为依赖于平台。" @@ -1108,19 +1163,19 @@ msgstr "无效的格式。" msgid "KcpTun" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1687 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1746 msgid "KcpTun Enable" msgstr "KcpTun 启用" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1704 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1763 msgid "KcpTun Param" msgstr "KcpTun 参数" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1699 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1758 msgid "KcpTun Password" msgstr "KcpTun 密码" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1693 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1752 msgid "KcpTun Port" msgstr "KcpTun 端口" @@ -1219,7 +1274,7 @@ msgid "Listen only on the given interface or, if unspecified, on all" msgstr "仅监听指定的接口,未指定则监听全部。" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:348 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1681 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1740 msgid "Local Port" msgstr "本地端口" @@ -1403,8 +1458,8 @@ msgstr "噪声" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1140 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1152 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1162 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:322 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:327 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:364 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:369 msgid "None" msgstr "" @@ -1421,6 +1476,13 @@ msgstr "未运行" msgid "Not exist" msgstr "未安装可执行文件" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1681 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1708 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:243 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:270 +msgid "Note: For node-specific DNS only. Keep Auto to avoid extra overhead." +msgstr "注意:仅用于节点专用 DNS,通常请保持自动,以免增加开销。" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/log.lua:27 msgid "" "Note: Restoring configurations across different versions may cause " @@ -1532,7 +1594,7 @@ msgstr "执行重置" msgid "Permit Without Stream" msgstr "允许无数据流" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:351 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:393 msgid "Ping Latency" msgstr "Ping 延迟" @@ -1564,6 +1626,16 @@ msgstr "预连接" msgid "Pre-shared key" msgstr "预共享密钥" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1713 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:275 +msgid "Prefer IPv4" +msgstr "IPv4 优先" + +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1714 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:276 +msgid "Prefer IPv6" +msgstr "IPv6 优先" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua:93 msgid "Prefer firewall tools" msgstr "首选防火墙工具" @@ -1643,7 +1715,7 @@ msgstr "读取缓冲区大小" msgid "Really reset all changes?" msgstr "真的重置所有更改吗?" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:361 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:403 msgid "Reapply" msgstr "重新应用" @@ -1760,7 +1832,7 @@ msgstr "与全局服务器相同" msgid "Save Order" msgstr "保存当前顺序" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:244 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:286 msgid "Save Words splited by /" msgstr "" "命中关键字的节点将被保留。多个关键字用 / 分隔。此项为空则不启用保留匹配" @@ -1799,7 +1871,7 @@ msgstr "服务器" msgid "Server Address" msgstr "服务器地址" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:275 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:317 msgid "Server Count" msgstr "服务器节点数量" @@ -1810,7 +1882,7 @@ msgstr "服务器节点类型" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:469 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/server-config.lua:96 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/server.lua:112 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:330 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:372 msgid "Server Port" msgstr "端口" @@ -1890,7 +1962,7 @@ msgstr "" msgid "Short ID" msgstr "" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:335 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:377 msgid "Socket Connected" msgstr "连接测试" @@ -1931,15 +2003,15 @@ msgstr "专门用于编辑 DNSPROXY 的 DNS 解析文件。" msgid "Status" msgstr "状态" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:260 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:302 msgid "Subscribe Default Auto-Switch" msgstr "订阅新节点自动切换设置" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:238 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:280 msgid "Subscribe Filter Words" msgstr "订阅节点关键字过滤" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:242 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:284 msgid "Subscribe Save Words" msgstr "订阅节点关键字保留检查" @@ -1947,11 +2019,11 @@ msgstr "订阅节点关键字保留检查" msgid "Subscribe URL" msgstr "SS/SSR/V2/TROJAN/HY2/TUIC 订阅 URL" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:262 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:304 msgid "Subscribe new add server default Auto-Switch on" msgstr "订阅加入的新节点默认开启自动切换" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:257 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:299 msgid "Subscribe nodes allows insecure connection as TLS client (insecure)" msgstr "订阅节点强制开启 不验证TLS客户端证书 (insecure)" @@ -1963,10 +2035,20 @@ msgstr "同时支持 AdGuard Home 和 DNSMASQ 格式的过滤列表" msgid "Supports a fixed value or a random range (e.g., 30, 5-30), minimum 5." msgstr "支持固定值或随机范围(如 30 或 5-30),最小 5 秒。" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:242 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:269 +msgid "Supports only Xray node types." +msgstr "仅支持 Xray 类型节点。" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:67 msgid "Switch check cycly(second)" msgstr "自动切换检查周期(秒)" +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1685 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:247 +msgid "TCP" +msgstr "" + #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:729 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1667 #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/server-config.lua:149 @@ -2088,11 +2170,11 @@ msgstr "输入的内容不正确!" msgid "The keep-alive period.(Unit:second)" msgstr "心跳包发送间隔(单位:秒)" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:265 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:307 msgid "Through proxy update" msgstr "通过代理更新" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:267 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:309 msgid "Through proxy update list, Not Recommended" msgstr "通过路由器自身代理更新订阅" @@ -2137,11 +2219,13 @@ msgid "Trojan" msgstr "" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/advanced.lua:412 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:320 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:362 msgid "Type" msgstr "类型" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:622 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1686 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:248 msgid "UDP" msgstr "" @@ -2173,7 +2257,7 @@ msgstr "UDP/TCP 上游" msgid "UL Restore" msgstr "上传恢复" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:280 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:322 msgid "URL Test Address" msgstr "URL 测试地址" @@ -2186,12 +2270,12 @@ msgstr "无法复制 SSR 网址到剪贴板。" msgid "Unknown" msgstr "未知" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:269 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:311 #: applications/luci-app-ssr-plus/luasrc/view/shadowsocksr/subscribe.htm:16 msgid "Update All Subscribe Servers" msgstr "更新所有订阅服务器节点" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:246 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:288 msgid "Update Subscribe List" msgstr "更新订阅 URL 列表" @@ -2199,7 +2283,7 @@ msgstr "更新订阅 URL 列表" msgid "Update cycle (Day/Week)" msgstr "更新周期(天/周)" -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:248 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:290 msgid "Update subscribe url list first" msgstr "修改订阅 URL 和节点关键字后,请先点击更新" @@ -2271,7 +2355,7 @@ msgid "User cancelled." msgstr "用户已取消。" #: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua:1268 -#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:290 +#: applications/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua:332 msgid "User-Agent" msgstr "用户代理(User-Agent)" diff --git a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua index 4a5340ee..5caffe32 100755 --- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua +++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua @@ -2,6 +2,7 @@ require "luci.sys" local ucursor = require "luci.model.uci".cursor() +local datatypes = require "luci.cbi.datatypes" local json = require "luci.jsonc" local server_section = arg[1] @@ -10,7 +11,28 @@ local local_port = arg[3] or "0" local socks_port = arg[4] or "0" local chain = arg[5] or "0" -local chain_local_port = string.split(chain, "/")[2] or "0" + +local GLOBAL = { + DNS_SERVER = {}, + DNS_HOSTNAME = {}, + VPS_EXCLUDE = {} +} + +-- 辅助函数:拆分字符串(若 luci.util 未加载则定义) +local function split(str, pat) + local t = {} + local last = 1 + while true do + local pos = str:find(pat, last, true) + if not pos then break end + table.insert(t, str:sub(last, pos - 1)) + last = pos + 1 + end + table.insert(t, str:sub(last)) + return t +end + +local chain_local_port = split(chain, "/")[2] or "0" local server = ucursor:get_all("shadowsocksr", server_section) local socks_server = ucursor:get_all("shadowsocksr", "@socks5_proxy[0]") or {} @@ -25,6 +47,16 @@ local remarks = server.alias or "" local b64decode = nixio.bin.b64decode local b64encode = nixio.bin.b64encode +-- 解析 URL(简单实现,仅用于 DoH) +local function parseURL(url) + if not url then return nil end + local schema, rest = url:match("^(https?)://(.*)$") + if not schema then return nil end + local host, port_str = rest:match("^([^:]+):?(%d*)/?.*$") + local port = tonumber(port_str) or (schema == "https" and 443 or 80) + return { host = host, port = port, schema = schema } +end + if server.type == "ss-rust" or server.type == "ss-libev" then server.type = "ss" end @@ -254,6 +286,10 @@ settings:handleIndex(server.v2ray_protocol) local Xray = { log = { -- error = "/var/ssrplus.log", + -- loglevel = "debug", + -- dnsLog = true, + -- access = "/var/log/ssrplus-access.log", + -- error = "/var/log/ssrplus-error.log" loglevel = "warning" }, @@ -327,313 +363,329 @@ if proto and proto:find("tcp") and socks_port ~= "0" then }) end - -- 传出连接 - Xray.outbounds = { - { - protocol = (server.v2ray_protocol == "hysteria2") and "hysteria" or server.v2ray_protocol, - settings = outbound_settings, - -- 底层传输配置 - streamSettings = (server.v2ray_protocol ~= "wireguard") and { - network = (server.v2ray_protocol == "hysteria2") and "hysteria" or (server.transport or "raw"), - security = (server.xtls == '1') and "xtls" or (server.tls == '1') and "tls" or (server.reality == '1') and "reality" or nil, - tlsSettings = (server.tls == '1') and { - -- tls - alpn = (server.tls_alpn and server.tls_alpn ~= "") and (function() - local alpn = {} - string.gsub(server.tls_alpn, '[^,]+', function(w) - table.insert(alpn, w) - end) - if #alpn > 0 then - return alpn - else - return nil - end - end)() or nil, - fingerprint = server.fingerprint, - allowInsecure = (function() - if server.tls_CertSha and server.tls_CertSha ~= "" then return nil end - if os.date("%Y.%m.%d") < "2026.06.01" then - return server.insecure == "1" - end +-- 传出连接 +Xray.outbounds = { + { + protocol = (server.v2ray_protocol == "hysteria2") and "hysteria" or server.v2ray_protocol, + settings = outbound_settings, + tag = (remarks ~= nil and remarks ~= "") and (node_id .. ":" .. remarks) or node_id, + -- 底层传输配置 + streamSettings = (server.v2ray_protocol ~= "wireguard") and { + network = (server.v2ray_protocol == "hysteria2") and "hysteria" or (server.transport or "raw"), + security = (server.xtls == '1') and "xtls" or (server.tls == '1') and "tls" or (server.reality == '1') and "reality" or nil, + tlsSettings = (server.tls == '1') and { + -- tls + alpn = (server.tls_alpn and server.tls_alpn ~= "") and (function() + local alpn = {} + string.gsub(server.tls_alpn, '[^,]+', function(w) + table.insert(alpn, w) + end) + if #alpn > 0 then + return alpn + else return nil - end)(), - serverName = server.tls_host, - certificates = server.certificate and { - usage = "verify", - certificateFile = server.certpath - } or nil, - pinnedPeerCertSha256 = (function() - if xray_version_val < 260131 then return nil end - if not server.tls_CertSha then return "" end - return server.tls_CertSha - end)(), - verifyPeerCertByName = (function() - if xray_version_val < 260131 then return nil end - if not server.tls_CertByName then return "" end - return server.tls_CertByName - end)(), - echConfigList = (server.enable_ech == "1") and server.ech_config or nil, - echForceQuery = (server.enable_ech == "1") and (server.ech_ForceQuery or "full") or nil + end + end)() or nil, + fingerprint = server.fingerprint, + allowInsecure = (function() + if server.tls_CertSha and server.tls_CertSha ~= "" then return nil end + if os.date("%Y.%m.%d") < "2026.06.01" then + return server.insecure == "1" + end + return nil + end)(), + serverName = server.tls_host, + certificates = server.certificate and { + usage = "verify", + certificateFile = server.certpath } or nil, - xtlsSettings = (server.xtls == '1') and server.tls_host and { - -- xtls - allowInsecure = (server.insecure == "1") and true or nil, - serverName = server.tls_host, - minVersion = "1.3" - } or nil, - realitySettings = (server.reality == '1') and { - publicKey = server.reality_publickey, - shortId = server.reality_shortid or "", - spiderX = server.reality_spiderx or "", - fingerprint = server.fingerprint, - mldsa65Verify = (server.enable_mldsa65verify == '1') and server.reality_mldsa65verify or nil, - serverName = server.tls_host - } or nil, - rawSettings = ((server.transport == "raw" or server.transport == "tcp") - and (server.tcp_guise and server.tcp_guise ~= "none")) and { - -- tcp - header = { - type = server.tcp_guise, - request = (server.tcp_guise == "http") and { - path = server.http_path and (function() - local t, r = server.http_path, {} - if type(t) == "string" then t = {t} end - for _, v in ipairs(t) do - r[#r + 1] = (v == "" and "/" or v) - end - return r - end)() or {"/"}, - headers = (server.http_path or server.user_agent) and { - Host = (type(server.http_host) == "string") and {server.http_host} or server.http_host, - ["User-Agent"] = server.user_agent and {server.user_agent} or nil - } or nil + pinnedPeerCertSha256 = (function() + if xray_version_val < 260131 then return nil end + if not server.tls_CertSha then return "" end + return server.tls_CertSha + end)(), + verifyPeerCertByName = (function() + if xray_version_val < 260131 then return nil end + if not server.tls_CertByName then return "" end + return server.tls_CertByName + end)(), + echConfigList = (server.enable_ech == "1") and server.ech_config or nil, + echForceQuery = (server.enable_ech == "1") and (server.ech_ForceQuery or "full") or nil + } or nil, + xtlsSettings = (server.xtls == '1') and server.tls_host and { + -- xtls + allowInsecure = (server.insecure == "1") and true or nil, + serverName = server.tls_host, + minVersion = "1.3" + } or nil, + realitySettings = (server.reality == '1') and { + publicKey = server.reality_publickey, + shortId = server.reality_shortid or "", + spiderX = server.reality_spiderx or "", + fingerprint = server.fingerprint, + mldsa65Verify = (server.enable_mldsa65verify == '1') and server.reality_mldsa65verify or nil, + serverName = server.tls_host + } or nil, + rawSettings = ((server.transport == "raw" or server.transport == "tcp") + and (server.tcp_guise and server.tcp_guise ~= "none")) and { + -- tcp + header = { + type = server.tcp_guise, + request = (server.tcp_guise == "http") and { + path = server.http_path and (function() + local t, r = server.http_path, {} + if type(t) == "string" then t = {t} end + for _, v in ipairs(t) do + r[#r + 1] = (v == "" and "/" or v) + end + return r + end)() or {"/"}, + headers = (server.http_path or server.user_agent) and { + Host = (type(server.http_host) == "string") and {server.http_host} or server.http_host, + ["User-Agent"] = server.user_agent and {server.user_agent} or nil } or nil - } - } or nil, - kcpSettings = (server.transport == "kcp") and { - -- kcp - mtu = tonumber(server.mtu), - tti = tonumber(server.tti), - uplinkCapacity = tonumber(server.uplink_capacity), - downlinkCapacity = tonumber(server.downlink_capacity), - congestion = (server.congestion == "1") and true or false, - readBufferSize = tonumber(server.read_buffer_size), - writeBufferSize = tonumber(server.write_buffer_size) - } or nil, - wsSettings = (server.transport == "ws") and (server.ws_path or server.ws_host or server.tls_host) and { - -- ws - host = server.ws_host or server.tls_host or nil, - path = server.ws_path or "/", - headers = server.user_agent and { - ["User-Agent"] = server.user_agent - } or nil, - maxEarlyData = tonumber(server.ws_ed) or nil, - earlyDataHeaderName = server.ws_ed_header or nil, - heartbeatPeriod = tonumber(server.ws_heartbeatPeriod) or nil - } or nil, - httpupgradeSettings = (server.transport == "httpupgrade") and { - -- httpupgrade - host = (server.httpupgrade_host or server.tls_host) or nil, - path = server.httpupgrade_path or "", - headers = server.user_agent and { - ["User-Agent"] = server.user_agent } or nil + } + } or nil, + kcpSettings = (server.transport == "kcp") and { + -- kcp + mtu = tonumber(server.mtu), + tti = tonumber(server.tti), + uplinkCapacity = tonumber(server.uplink_capacity), + downlinkCapacity = tonumber(server.downlink_capacity), + congestion = (server.congestion == "1") and true or false, + readBufferSize = tonumber(server.read_buffer_size), + writeBufferSize = tonumber(server.write_buffer_size) + } or nil, + wsSettings = (server.transport == "ws") and (server.ws_path or server.ws_host or server.tls_host) and { + -- ws + host = server.ws_host or server.tls_host or nil, + path = server.ws_path or "/", + headers = server.user_agent and { + ["User-Agent"] = server.user_agent } or nil, - xhttpSettings = (server.transport == "xhttp" or server.transport == "splithttp") and { - -- xhttp - mode = server.xhttp_mode or "auto", - host = (server.xhttp_host or server.tls_host) or nil, - path = server.xhttp_path or "/", - extra = (function() - local extra = {} - -- 解析 xhttp_extra(Base64 编码的 JSON) - if (server.enable_xhttp_extra == "1" and server.xhttp_extra) then - local ok, parsed = pcall(json.parse, base64Decode(server.xhttp_extra)) - if ok and type(parsed) == "table" then - extra = parsed.extra or parsed -- 取 "extra" 节,若无则整个 parsed - end + maxEarlyData = tonumber(server.ws_ed) or nil, + earlyDataHeaderName = server.ws_ed_header or nil, + heartbeatPeriod = tonumber(server.ws_heartbeatPeriod) or nil + } or nil, + httpupgradeSettings = (server.transport == "httpupgrade") and { + -- httpupgrade + host = (server.httpupgrade_host or server.tls_host) or nil, + path = server.httpupgrade_path or "", + headers = server.user_agent and { + ["User-Agent"] = server.user_agent + } or nil + } or nil, + xhttpSettings = (server.transport == "xhttp" or server.transport == "splithttp") and { + -- xhttp + mode = server.xhttp_mode or "auto", + host = (server.xhttp_host or server.tls_host) or nil, + path = server.xhttp_path or "/", + extra = (function() + local extra = {} + -- 解析 xhttp_extra(Base64 编码的 JSON) + if (server.enable_xhttp_extra == "1" and server.xhttp_extra) then + local ok, parsed = pcall(json.parse, base64Decode(server.xhttp_extra)) + if ok and type(parsed) == "table" then + extra = parsed.extra or parsed -- 取 "extra" 节,若无则整个 parsed end - -- 处理 User-Agent - if server.user_agent and server.user_agent ~= "" then - extra.headers = extra.headers or {} - if not extra.headers["User-Agent"] and not extra.headers["user-agent"] then - extra.headers["User-Agent"] = server.user_agent - end + end + -- 处理 User-Agent + if server.user_agent and server.user_agent ~= "" then + extra.headers = extra.headers or {} + if not extra.headers["User-Agent"] and not extra.headers["user-agent"] then + extra.headers["User-Agent"] = server.user_agent end - -- 递归清理空表(如空 headers 会被删除) - return cleanEmptyTables(extra) - end)() - } or nil, - httpSettings = (server.transport == "h2") and { - -- h2 - path = server.h2_path or "", - host = {server.h2_host} or nil, - read_idle_timeout = tonumber(server.read_idle_timeout) or nil, - health_check_timeout = tonumber(server.health_check_timeout) or nil - } or nil, - quicSettings = (server.transport == "quic") and { - -- quic - security = server.quic_security, - key = server.quic_key, - header = {type = server.quic_guise} - } or nil, - grpcSettings = (server.transport == "grpc") and { - -- grpc - serviceName = (server.serviceName and server.serviceName ~= "") and server.serviceName or nil, - multiMode = (server.grpc_mode == "multi") and true or nil, - idle_timeout = server.idle_timeout and (tonumber(server.idle_timeout) < 10 and 10 or tonumber(server.idle_timeout)) or nil, - health_check_timeout = server.health_check_timeout and tonumber(server.health_check_timeout) or nil, - permit_without_stream = (server.permit_without_stream == "1") and true or nil, - initial_windows_size = server.initial_windows_size and tonumber(server.initial_windows_size) or nil, - user_agent = server.user_agent - } or nil, - hysteriaSettings = (server.v2ray_protocol == "hysteria2") and { - -- hysteria2 - version = 2, - auth = server.hy2_auth - } or nil, - finalmask = (function() - local finalmask = {} - local PT = server.v2ray_protocol - local TP = server.transport - if server.transport == "kcp" then - local map = {none = "none", srtp = "header-srtp", utp = "header-utp", ["wechat-video"] = "header-wechat", - dtls = "header-dtls", wireguard = "header-wireguard", dns = "header-dns"} - local udp = {} - if server.kcp_guise and server.kcp_guise ~= "none" then - local g = { type = map[server.kcp_guise] } - if server.kcp_guise == "dns" and server.kcp_domain and server.kcp_domain ~= "" then - g.settings = { domain = server.kcp_domain } - end - udp[#udp+1] = g + end + -- 递归清理空表(如空 headers 会被删除) + return cleanEmptyTables(extra) + end)() + } or nil, + httpSettings = (server.transport == "h2") and { + -- h2 + path = server.h2_path or "", + host = {server.h2_host} or nil, + read_idle_timeout = tonumber(server.read_idle_timeout) or nil, + health_check_timeout = tonumber(server.health_check_timeout) or nil + } or nil, + quicSettings = (server.transport == "quic") and { + -- quic + security = server.quic_security, + key = server.quic_key, + header = {type = server.quic_guise} + } or nil, + grpcSettings = (server.transport == "grpc") and { + -- grpc + serviceName = (server.serviceName and server.serviceName ~= "") and server.serviceName or nil, + multiMode = (server.grpc_mode == "multi") and true or nil, + idle_timeout = server.idle_timeout and (tonumber(server.idle_timeout) < 10 and 10 or tonumber(server.idle_timeout)) or nil, + health_check_timeout = server.health_check_timeout and tonumber(server.health_check_timeout) or nil, + permit_without_stream = (server.permit_without_stream == "1") and true or nil, + initial_windows_size = server.initial_windows_size and tonumber(server.initial_windows_size) or nil, + user_agent = server.user_agent + } or nil, + hysteriaSettings = (server.v2ray_protocol == "hysteria2") and { + -- hysteria2 + version = 2, + auth = server.hy2_auth + } or nil, + finalmask = (function() + local finalmask = {} + local PT = server.v2ray_protocol + local TP = server.transport + if server.transport == "kcp" then + local map = {none = "none", srtp = "header-srtp", utp = "header-utp", ["wechat-video"] = "header-wechat", + dtls = "header-dtls", wireguard = "header-wireguard", dns = "header-dns"} + local udp = {} + if server.kcp_guise and server.kcp_guise ~= "none" then + local g = { type = map[server.kcp_guise] } + if server.kcp_guise == "dns" and server.kcp_domain and server.kcp_domain ~= "" then + g.settings = { domain = server.kcp_domain } end - local c = { type = (server.seed and server.seed ~= "") and "mkcp-aes128gcm" or "mkcp-original" } - if server.seed and server.seed ~= "" then - c.settings = { password = server.seed } - end - udp[#udp+1] = c - finalmask.udp = udp - elseif PT == "hysteria2" then - if (server.flag_obfs == "1" and (server.obfs_type and server.obfs_type ~= "")) then - finalmask.udp = {{ - type = server.obfs_type, - settings = server.salamander and { - password = server.salamander - } or nil - }} - end - local up = tonumber(server.uplink_capacity) or 0 - local down = tonumber(server.downlink_capacity) or 0 - finalmask.quicParams = { - congestion = server.hy2_tcpcongestion or nil, - brutalUp = up > 0 and (up .. "mbps") or nil, - brutalDown = down > 0 and (down .. "mbps") or nil, - udpHop = (server.flag_port_hopping == "1") and { - ports = string.gsub(server.port_range, ":", "-"), - interval = (function(v) - if not v then return 30 end - if v:find("-", 1, true) then - local min, max = v:match("^(%d+)%-(%d+)$") - min = tonumber(min) - max = tonumber(max) - if min and max then - min = (min >= 5) and min or 5 - max = (max >= min) and max or min - return min .. "-" .. max - end - return 30 + udp[#udp+1] = g + end + local c = { type = (server.seed and server.seed ~= "") and "mkcp-aes128gcm" or "mkcp-original" } + if server.seed and server.seed ~= "" then + c.settings = { password = server.seed } + end + udp[#udp+1] = c + finalmask.udp = udp + elseif PT == "hysteria2" then + if (server.flag_obfs == "1" and (server.obfs_type and server.obfs_type ~= "")) then + finalmask.udp = {{ + type = server.obfs_type, + settings = server.salamander and { + password = server.salamander + } or nil + }} + end + local up = tonumber(server.uplink_capacity) or 0 + local down = tonumber(server.downlink_capacity) or 0 + finalmask.quicParams = { + congestion = server.hy2_tcpcongestion or nil, + brutalUp = up > 0 and (up .. "mbps") or nil, + brutalDown = down > 0 and (down .. "mbps") or nil, + udpHop = (server.flag_port_hopping == "1") and { + ports = string.gsub(server.port_range, ":", "-"), + interval = (function(v) + if not v then return 30 end + if v:find("-", 1, true) then + local min, max = v:match("^(%d+)%-(%d+)$") + min = tonumber(min) + max = tonumber(max) + if min and max then + min = (min >= 5) and min or 5 + max = (max >= min) and max or min + return min .. "-" .. max end - v = tonumber((v or "30"):match("^%d+")) - return (v and v >= 5) and v or 30 - end)(server.hopinterval) - } or nil, - initStreamReceiveWindow = (server.flag_quicparam == "1" and server.initstreamreceivewindow) and tonumber(server.initstreamreceivewindow) or nil, - maxStreamReceiveWindow = (server.flag_quicparam == "1" and server.maxstreamreceivewindow) and tonumber(server.maxstreamreceivewindow) or nil, - initConnectionReceiveWindow = (server.flag_quicparam == "1" and server.initconnreceivewindow) and tonumber(server.initconnreceivewindow) or nil, - maxConnectionReceiveWindow = (server.flag_quicparam == "1" and server.maxconnreceivewindow) and tonumber(server.maxconnreceivewindow) or nil, - maxIdleTimeout = (server.flag_quicparam == "1" and (function(t) - t = tonumber(tostring(t or "30"):match("^%d+")) - return (t and t >= 4 and t <= 120) and t or 30 - end)(server.maxidletimeout) or 30), - keepAlivePeriod = (server.flag_quicparam == "1" and server.keepaliveperiod) and tonumber(server.keepaliveperiod) or nil, - disablePathMTUDiscovery = (server.flag_quicparam == "1" and tostring(server.disablepathmtudiscovery) == "1") and true or nil + return 30 + end + v = tonumber((v or "30"):match("^%d+")) + return (v and v >= 5) and v or 30 + end)(server.hopinterval) + } or nil, + initStreamReceiveWindow = (server.flag_quicparam == "1" and server.initstreamreceivewindow) and tonumber(server.initstreamreceivewindow) or nil, + maxStreamReceiveWindow = (server.flag_quicparam == "1" and server.maxstreamreceivewindow) and tonumber(server.maxstreamreceivewindow) or nil, + initConnectionReceiveWindow = (server.flag_quicparam == "1" and server.initconnreceivewindow) and tonumber(server.initconnreceivewindow) or nil, + maxConnectionReceiveWindow = (server.flag_quicparam == "1" and server.maxconnreceivewindow) and tonumber(server.maxconnreceivewindow) or nil, + maxIdleTimeout = (server.flag_quicparam == "1" and (function(t) + t = tonumber(tostring(t or "30"):match("^%d+")) + return (t and t >= 4 and t <= 120) and t or 30 + end)(server.maxidletimeout) or 30), + keepAlivePeriod = (server.flag_quicparam == "1" and server.keepaliveperiod) and tonumber(server.keepaliveperiod) or nil, + disablePathMTUDiscovery = (server.flag_quicparam == "1" and tostring(server.disablepathmtudiscovery) == "1") and true or nil + } + end + if xray_fragment.fragment == "1" and ({raw=1, ws=1, httpupgrade=1, grpc=1, xhttp=1})[TP] then + local n_packets = xray_fragment.fragment_packets + local n_length = xray_fragment.fragment_length + local n_delay = xray_fragment.fragment_delay + local n_maxsplit = xray_fragment.fragment_maxSplit + --local domainstr = xray_noise.domainStrategy + finalmask.tcp = finalmask.tcp or {} + finalmask.tcp[#finalmask.tcp + 1] = { + type = "fragment", + settings = { + --domainStrategy = (xray_fragment.noise == "1" and xray_noise.enabled == "1") and domainstr or nil, + packets = (n_packets and n_packets ~= "") and n_packets or nil, + length = (n_length and n_length ~= "") and n_length or nil, + delay = (type(n_delay) == "string" and string.find(n_delay, "-")) and n_delay or (n_delay and tonumber(n_delay)), + maxSplit = (n_maxsplit and n_maxsplit ~= "") and n_maxsplit or nil } - end - if xray_fragment.fragment == "1" and ({raw=1, ws=1, httpupgrade=1, grpc=1, xhttp=1})[TP] then - local n_packets = xray_fragment.fragment_packets - local n_length = xray_fragment.fragment_length - local n_delay = xray_fragment.fragment_delay - local n_maxsplit = xray_fragment.fragment_maxSplit - --local domainstr = xray_noise.domainStrategy - finalmask.tcp = finalmask.tcp or {} - finalmask.tcp[#finalmask.tcp + 1] = { - type = "fragment", + } + end + if xray_fragment.noise == "1" and (TP == "kcp" or (TP == "xhttp" and (server.tls_alpn == "h3" or server.tls_alpn == "h3,h2"))) then + if xray_noise.enabled == "1" then + local n_type = xray_noise.type + local n_delay = xray_noise.delay + local n_packet = xray_noise.packet + finalmask.udp = finalmask.udp or {} + finalmask.udp[#finalmask.udp + 1] = { + type = "noise", settings = { - --domainStrategy = (xray_fragment.noise == "1" and xray_noise.enabled == "1") and domainstr or nil, - packets = (n_packets and n_packets ~= "") and n_packets or nil, - length = (n_length and n_length ~= "") and n_length or nil, - delay = (type(n_delay) == "string" and string.find(n_delay, "-")) and n_delay or (n_delay and tonumber(n_delay)), - maxSplit = (n_maxsplit and n_maxsplit ~= "") and n_maxsplit or nil - } - } - end - if xray_fragment.noise == "1" and (TP == "kcp" or (TP == "xhttp" and (server.tls_alpn == "h3" or server.tls_alpn == "h3,h2"))) then - if xray_noise.enabled == "1" then - local n_type = xray_noise.type - local n_delay = xray_noise.delay - local n_packet = xray_noise.packet - finalmask.udp = finalmask.udp or {} - finalmask.udp[#finalmask.udp + 1] = { - type = "noise", - settings = { - reset = 0, - noise = { - { - rand = (n_type == "rand") and (n_packet and (type(n_packet) == "string" and (n_packet:find("-")) and n_packet or tonumber(n_packet))) or nil, - type = (type(n_type) == "string" and n_type ~= "rand") and n_type or nil, - packet = (n_type ~= "rand") and ((n_packet and type(n_packet) == "string") and ((n_type == "hex" and hexEncode(n_packet)) or (n_type == "base64" and base64Encode(n_packet))) or n_packet) or nil, - delay = (type(n_delay) == "string" and string.find(n_delay, "-")) and n_delay or (n_delay and tonumber(n_delay)) - } + reset = 0, + noise = { + { + rand = (n_type == "rand") and (n_packet and (type(n_packet) == "string" and (n_packet:find("-")) and n_packet or tonumber(n_packet))) or nil, + type = (type(n_type) == "string" and n_type ~= "rand") and n_type or nil, + packet = (n_type ~= "rand") and ((n_packet and type(n_packet) == "string") and ((n_type == "hex" and hexEncode(n_packet)) or (n_type == "base64" and base64Encode(n_packet))) or n_packet) or nil, + delay = (type(n_delay) == "string" and string.find(n_delay, "-")) and n_delay or (n_delay and tonumber(n_delay)) } } } - end + } end - if server.finalmask and server.finalmask ~= "" then - local ok, fm = pcall(json.parse, base64Decode(server.finalmask)) - if ok and type(fm) == "table" then - finalmask = fm - end + end + if server.finalmask and server.finalmask ~= "" then + local ok, fm = pcall(json.parse, base64Decode(server.finalmask)) + if ok and type(fm) == "table" then + finalmask = fm end - return cleanEmptyTables(finalmask) - end)(), - sockopt = { - mark = 255, - tcpFastOpen = (function() - if server.transport == "xhttp" then - return (server.fast_open == "1") and true or false - elseif server.v2ray_protocol == "hysteria2" then - return (server.fast_open == "1") and true or nil - else - return nil - end - end)(), -- XHTTP Tcp Fast Open - tcpMptcp = (server.mptcp == "1") and true or nil, -- MPTCP - Penetrate = (server.mptcp == "1") and true or nil, -- Penetrate MPTCP - tcpcongestion = server.custom_tcpcongestion, -- 连接服务器节点的 TCP 拥塞控制算法 - dialerProxy = (xray_fragment.fragment == "1" or xray_fragment.noise == "1") and - ((remarks ~= nil and remarks ~= "") and (node_id .. "." .. remarks) or node_id) or nil - } - } or nil, - mux = (server.v2ray_protocol ~= "hysteria2" and server.v2ray_protocol ~= "wireguard") and { - -- mux - enabled = (server.mux == "1"), -- Mux - concurrency = (server.mux == "1" and (tonumber(server.concurrency) or -1)) or nil, -- TCP 最大并发连接数 - xudpConcurrency = (server.mux == "1" and (tonumber(server.xudpConcurrency) or 16)) or nil, -- UDP 最大并发连接数 - xudpProxyUDP443 = (server.mux == "1" and (server.xudpProxyUDP443 or "reject")) or nil -- 对被代理的 UDP/443 流量处理方式 - } or nil + end + return cleanEmptyTables(finalmask) + end)(), + sockopt = { + mark = 255, + domainStrategy = server.domain_strategy or "UseIP", + tcpFastOpen = (function() + if server.transport == "xhttp" then + return (server.fast_open == "1") and true or false + elseif server.v2ray_protocol == "hysteria2" then + return (server.fast_open == "1") and true or nil + else + return nil + end + end)(), -- XHTTP Tcp Fast Open + tcpMptcp = (server.mptcp == "1") and true or nil, -- MPTCP + Penetrate = (server.mptcp == "1") and true or nil, -- Penetrate MPTCP + tcpcongestion = server.custom_tcpcongestion, -- 连接服务器节点的 TCP 拥塞控制算法 + -- 出站的 dialerProxy(与 fragment 中的 tag 保持一致) + dialerProxy = (xray_fragment.fragment == "1" or xray_fragment.noise == "1") and + ((remarks ~= nil and remarks ~= "") and (node_id .. "." .. remarks) or node_id) or nil + } + } or nil, + mux = (server.v2ray_protocol ~= "hysteria2" and server.v2ray_protocol ~= "wireguard") and { + -- mux + enabled = (server.mux == "1"), -- Mux + concurrency = (server.mux == "1" and (tonumber(server.concurrency) or -1)) or nil, -- TCP 最大并发连接数 + xudpConcurrency = (server.mux == "1" and (tonumber(server.xudpConcurrency) or 16)) or nil, -- UDP 最大并发连接数 + xudpProxyUDP443 = (server.mux == "1" and (server.xudpProxyUDP443 or "reject")) or nil -- 对被代理的 UDP/443 流量处理方式 + } or nil + } +} + +table.insert(Xray.outbounds, { + protocol = "freedom", + tag = "direct", + settings = { + domainStrategy = server.domain_strategy or "UseIP" -- 可根据需要改为 direct_dns_query_strategy + }, + streamSettings = { + sockopt = { + mark = 255 } } +}) -- 添加带有 fragment 设置的 dialerproxy 配置 if xray_fragment.fragment ~= "0" or (xray_fragment.noise ~= "0" and xray_noise.enabled ~= "0") then @@ -664,6 +716,121 @@ if xray_fragment.fragment ~= "0" or (xray_fragment.noise ~= "0" and xray_noise.e }) end +-- Xray DNS 解析配置 +if datatypes.hostname(server.server) and server.domain_resolver and (server.domain_resolver_dns or server.domain_resolver_dns_https) then + -- 解析 DNS 服务器配置 + local dns_proto = server.domain_resolver + local config_address + local config_port + if dns_proto == "https" then + local _a = parseURL(server.domain_resolver_dns_https) + if _a then + config_address = server.domain_resolver_dns_https + config_port = _a.port or 443 + if _a.hostname and datatypes.hostname(_a.hostname) then + GLOBAL.DNS_HOSTNAME[_a.hostname] = true + end + end + else + local server_address = server.domain_resolver_dns + config_port = 53 + local parts = split(server_address, ":") + if #parts > 1 then + server_address = parts[1] + config_port = tonumber(parts[#parts]) + end + config_address = server_address + if dns_proto == "tcp" then + config_address = dns_proto .. "://" .. server_address .. ":" .. config_port + end + end + + -- 存入 GLOBAL.DNS_SERVER(去重) + local dns_key = dns_proto .. "|" .. config_address .. "|" .. tostring(config_port) + if not GLOBAL.DNS_SERVER[dns_key] then + GLOBAL.DNS_SERVER[dns_key] = { + tag = "dns-node-" .. node_id, + address = config_address, + port = config_port, + finalQuery = true, + disableCache = false, + serveStale = true, + serveExpiredTTL = 30, + domains = {} + } + end + + -- 添加当前节点域名到该 DNS 服务器的 domains 列表 + local domain = "full:" .. server.server + local exists + for _, d in ipairs(GLOBAL.DNS_SERVER[dns_key].domains) do + if d == domain then exists = true; break end + end + if not exists then + table.insert(GLOBAL.DNS_SERVER[dns_key].domains, domain) + end + GLOBAL.VPS_EXCLUDE[server.server] = true + + -- 构建 Xray.dns + local dns_servers = { "localhost" } + for key, dns_server in pairs(GLOBAL.DNS_SERVER) do + table.insert(dns_servers, { + tag = dns_server.tag, + address = dns_server.address, + port = dns_server.port, + domains = dns_server.domains, + finalQuery = dns_server.finalQuery, + serveStale = dns_server.serveStale, + serveExpiredTTL = dns_server.serveExpiredTTL, + disableCache = dns_server.disableCache + }) + end + Xray.dns = { + servers = dns_servers, + disableFallback = true, + disableFallbackIfMatch = true, + useSystemHosts = true, + queryStrategy = "UseIP", + disableCache = false, + tag = "dns-global" -- 用于 routing + } +end + +-- 代理出站的 tag(与 outbound 中的 tag 保持一致) +local proxy_tag = (remarks ~= nil and remarks ~= "") and (node_id .. ":" .. remarks) or node_id +-- 构建 routing 规则表 +local routing_rules = {} +-- 1. 为每个自定义 DNS 服务器添加直连规则(inboundTag 匹配 dns-node-xxx) +if GLOBAL.DNS_SERVER and next(GLOBAL.DNS_SERVER) then + for _, dns_server in pairs(GLOBAL.DNS_SERVER) do + table.insert(routing_rules, { + inboundTag = { dns_server.tag }, + outboundTag = "direct" + }) + end +end + +-- 2. 添加全局 DNS 直连规则(需要 Xray.dns 中已设置 tag = "dns-global") +if Xray.dns and Xray.dns.tag then + table.insert(routing_rules, { + inboundTag = { "dns-global" }, + outboundTag = "direct" + }) +end + +-- 3. 添加默认规则:所有 TCP/UDP 流量走代理 +table.insert(routing_rules, { + network = "tcp,udp", + ruleTag = "default", + outboundTag = proxy_tag +}) + +-- 构建 routing 对象 +Xray.routing = { + rules = routing_rules, + domainStrategy = "AsIs" +} + local cipher = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:AES128-SHA:AES256-SHA:DES-CBC3-SHA" local cipher13 = "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384" local trojan = { @@ -746,7 +913,7 @@ local hysteria2 = { ), bandwidth = (server.uplink_capacity or server.downlink_capacity) and { up = tonumber(server.uplink_capacity) and tonumber(server.uplink_capacity) .. " mbps" or nil, - down = tonumber(server.downlink_capacity) and tonumber(server.downlink_capacity) .. " mbps" or nil + down = tonumber(server.downlink_capacity) and tonumber(server.downlink_capacity) .. " mbps" or nil } or nil, socks5 = (proto:find("tcp") and tonumber(socks_port) and tonumber(socks_port) ~= 0) and { listen = "0.0.0.0:" .. tonumber(socks_port), @@ -843,7 +1010,7 @@ local shadowtls = { server_addr = server.server_port and server.server .. ":" .. server.server_port or nil, listen = "127.0.0.1:" .. tonumber(local_port), tls_names = server.shadowtls_sni, - password = server.password + password = server.password }, v3 = (server.shadowtls_protocol == "v3") and true or false, disable_nodelay = (server.disable_nodelay == "1") and true or false, @@ -851,7 +1018,7 @@ local shadowtls = { strict = (server.strict == "1") and true or false } local chain_sslocal = { - locals = local_port ~= "0" and { + locals = local_port ~= "0" and { { local_address = "0.0.0.0", local_port = (chain_local_port == "0" and tonumber(server.local_port) or tonumber(chain_local_port)), @@ -866,94 +1033,95 @@ local chain_sslocal = { local_address = "0.0.0.0", local_port = tonumber(socks_port) } or nil - } or {{ - protocol = "socks", - local_address = "0.0.0.0", - local_port = tonumber(socks_port) - }}, - servers = { - { - server = "127.0.0.1", - server_port = (tonumber(local_port) == 0 and tonumber(chain_local_port) or tonumber(local_port)), - method = server.sslocal_method, - password = server.sslocal_password - } + } or {{ + protocol = "socks", + local_address = "0.0.0.0", + local_port = tonumber(socks_port) + }}, + servers = { + { + server = "127.0.0.1", + server_port = (tonumber(local_port) == 0 and tonumber(chain_local_port) or tonumber(local_port)), + method = server.sslocal_method, + password = server.sslocal_password } + } } local chain_vmess = { inbounds = (local_port ~= "0") and { - { - port = (chain_local_port == "0" and tonumber(server.local_port) or tonumber(chain_local_port)), - protocol = "dokodemo-door", + { + port = (chain_local_port == "0" and tonumber(server.local_port) or tonumber(chain_local_port)), + protocol = "dokodemo-door", settings = { - network = proto, - followRedirect = true + network = proto, + followRedirect = true + }, + streamSettings = { + sockopt = {tproxy = "redirect"} + }, + sniffing = { + enable = true, + destOverride = {"http","tls"} + } }, - streamSettings = { - sockopt = {tproxy = "redirect"} - }, - sniffing = { - enable = true, - destOverride = {"http","tls"} - } - }, (proto:find("tcp") and socks_port ~= "0") and { - protocol = "socks", - port = tonumber(socks_port) + protocol = "socks", + port = tonumber(socks_port) } or nil - } or { protocol = "socks",port = tonumber(socks_port) }, + } or { protocol = "socks", port = tonumber(socks_port) }, outbound = { protocol = "vmess", settings = { vnext = {{ address = "127.0.0.1", - port = (tonumber(local_port) == 0 and tonumber(chain_local_port) or tonumber(local_port)), + port = (tonumber(local_port) == 0 and tonumber(chain_local_port) or tonumber(local_port)), users = {{ - id = (server.vmess_uuid), - security = server.vmess_method, - level = 0 + id = (server.vmess_uuid), + security = server.vmess_method, + level = 0 }} }} } } } local tuic = { - relay = { - server = server.server_port and server.server .. ":" .. server.server_port, - ip = server.tuic_ip, - uuid = server.tuic_uuid, - password = server.tuic_passwd, - certificates = server.certificate and { server.certpath } or nil, - udp_relay_mode = server.udp_relay_mode, - congestion_control = server.congestion_control, - heartbeat = server.heartbeat and tonumber(server.heartbeat) .. "s" or nil, - timeout = server.timeout and tonumber(server.timeout) .. "s" or nil, - gc_interval = server.gc_interval and tonumber(server.gc_interval) .. "s" or nil, - gc_lifetime = server.gc_lifetime and tonumber(server.gc_lifetime) .. "s" or nil, - alpn = (server.tuic_alpn and server.tuic_alpn ~= "") and (function() - local alpn = {} - string.gsub(server.tuic_alpn, '[^,]+', function(w) - table.insert(alpn, w) - end) - if #alpn > 0 then - return alpn - else - return nil - end - end)() or nil, - ipstack_prefer = (server.tuic_dual_stack == "1") and server.ipstack_prefer or nil, - skip_cert_verify = (server.insecure == "1" or server.insecure == true or server.insecure == "true"), - disable_sni = (server.disable_sni == "1") and true or false, - zero_rtt_handshake = (server.zero_rtt_handshake == "1") and true or false, - send_window = tonumber(server.send_window), - receive_window = tonumber(server.receive_window) - }, - ["local"] = { - server = tonumber(socks_port) and "[::]:" .. (socks_port == "0" and local_port or tonumber(socks_port)), - dual_stack = (server.tuic_dual_stack == "1") and true or nil, - max_packet_size = tonumber(server.tuic_max_package_size) - } + relay = { + server = server.server_port and server.server .. ":" .. server.server_port, + ip = server.tuic_ip, + uuid = server.tuic_uuid, + password = server.tuic_passwd, + certificates = server.certificate and { server.certpath } or nil, + udp_relay_mode = server.udp_relay_mode, + congestion_control = server.congestion_control, + heartbeat = server.heartbeat and tonumber(server.heartbeat) .. "s" or nil, + timeout = server.timeout and tonumber(server.timeout) .. "s" or nil, + gc_interval = server.gc_interval and tonumber(server.gc_interval) .. "s" or nil, + gc_lifetime = server.gc_lifetime and tonumber(server.gc_lifetime) .. "s" or nil, + alpn = (server.tuic_alpn and server.tuic_alpn ~= "") and (function() + local alpn = {} + string.gsub(server.tuic_alpn, '[^,]+', function(w) + table.insert(alpn, w) + end) + if #alpn > 0 then + return alpn + else + return nil + end + end)() or nil, + ipstack_prefer = (server.tuic_dual_stack == "1") and server.ipstack_prefer or nil, + skip_cert_verify = (server.insecure == "1" or server.insecure == true or server.insecure == "true"), + disable_sni = (server.disable_sni == "1") and true or false, + zero_rtt_handshake = (server.zero_rtt_handshake == "1") and true or false, + send_window = tonumber(server.send_window), + receive_window = tonumber(server.receive_window) + }, + ["local"] = { + server = tonumber(socks_port) and "[::]:" .. (socks_port == "0" and local_port or tonumber(socks_port)), + dual_stack = (server.tuic_dual_stack == "1") and true or nil, + max_packet_size = tonumber(server.tuic_max_package_size) + } } + local config = {} function config:new(o) o = o or {} @@ -1013,10 +1181,10 @@ function config:handleIndex(index) end } local ChainType = server.chain_type - if chain_switch[ChainType] then - chain_switch[ChainType]() - end - end, + if chain_switch[ChainType] then + chain_switch[ChainType]() + end + end, tuic = function() print(json.stringify(tuic, 1)) end diff --git a/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua b/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua index 4ab65325..c675757f 100755 --- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua +++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua @@ -23,20 +23,24 @@ local nodeResult = setmetatable({}, {__index = cache}) -- update result local name = 'shadowsocksr' local uciType = 'servers' local ucic = require "luci.model.uci".cursor() -local proxy = ucic:get_first(name, 'server_subscribe', 'proxy', '0') -local switch = ucic:get_first(name, 'server_subscribe', 'switch', '1') -local allow_insecure = ucic:get_first(name, 'server_subscribe', 'allow_insecure', '0') -local subscribe_url = ucic:get_first(name, 'server_subscribe', 'subscribe_url', {}) -local filter_words = ucic:get_first(name, 'server_subscribe', 'filter_words', '过期时间/剩余流量') -local save_words = ucic:get_first(name, 'server_subscribe', 'save_words', '') -local user_agent = ucic:get_first(name, 'server_subscribe', 'user_agent', 'v2rayN/9.99') +local proxy = ucic:get_first(name, 'server_subscribe', 'proxy') or '0' +local switch = ucic:get_first(name, 'server_subscribe', 'switch') or '1' +local allow_insecure = ucic:get_first(name, 'server_subscribe', 'allow_insecure') or '0' +local subscribe_url = ucic:get_first(name, 'server_subscribe', 'subscribe_url') or {} +local filter_words = ucic:get_first(name, 'server_subscribe', 'filter_words') or '过期时间/剩余流量' +local save_words = ucic:get_first(name, 'server_subscribe', 'save_words') or '' +local user_agent = ucic:get_first(name, 'server_subscribe', 'user_agent') or 'v2rayN/9.99' +local domain_resolver = ucic:get_first(name, 'server_subscribe', 'domain_resolver') or '' +local domain_resolver_dns = ucic:get_first(name, 'server_subscribe', 'domain_resolver_dns') or '' +local domain_resolver_dns_https = ucic:get_first(name, 'server_subscribe', 'domain_resolver_dns_https') or '' +local domain_strategy = ucic:get_first(name, 'server_subscribe', 'domain_strategy') or '' -- 读取 ss_type 设置 -local ss_type = ucic:get_first(name, 'server_subscribe', 'ss_type') +local ss_type = ucic:get_first(name, 'server_subscribe', 'ss_type') or '' -- 读取 xray_hy2_type 设置 -local xray_hy2_type = ucic:get_first(name, 'server_subscribe', 'xray_hy2_type') +local xray_hy2_type = ucic:get_first(name, 'server_subscribe', 'xray_hy2_type') or '' -- 读取 xray_tj_type 设置 -local xray_tj_type = ucic:get_first(name, 'server_subscribe', 'xray_tj_type') +local xray_tj_type = ucic:get_first(name, 'server_subscribe', 'xray_tj_type') or '' local has_ss_rust = luci.sys.exec('type -t -p sslocal 2>/dev/null || type -t -p ssserver 2>/dev/null') ~= "" local has_ss_libev = luci.sys.exec('type -t -p ss-redir 2>/dev/null || type -t -p ss-local 2>/dev/null') ~= "" @@ -1755,6 +1759,24 @@ local execute = function() if section then ucic:tset(name, section, vv) ucic:set(name, section, "switch_enable", switch) + -- 为 Xray 节点添加域名解析配置 + if vv.type == "v2ray" then + if domain_resolver and domain_resolver ~= "" then + ucic:set(name, section, "domain_resolver", domain_resolver) + if domain_resolver == "https" then + if domain_resolver_dns_https and domain_resolver_dns_https ~= "" then + ucic:set(name, section, "domain_resolver_dns_https", domain_resolver_dns_https) + end + else + if domain_resolver_dns and domain_resolver_dns ~= "" then + ucic:set(name, section, "domain_resolver_dns", domain_resolver_dns) + end + end + end + if domain_strategy and domain_strategy ~= "" then + ucic:set(name, section, "domain_strategy", domain_strategy) + end + end add = add + 1 end end diff --git a/luci-theme-design/Makefile b/luci-theme-design/Makefile index bab427d2..5ac930b7 100644 --- a/luci-theme-design/Makefile +++ b/luci-theme-design/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=Design Theme LUCI_DEPENDS:= PKG_LICENSE:=Apache-2.0 PKG_VERSION:=7.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 LUCI_MINIFY_CSS:= CONFIG_LUCI_CSSTIDY:= diff --git a/luci-theme-design/htdocs/luci-static/design/js/style.js b/luci-theme-design/htdocs/luci-static/design/js/style.js index 23da7e5b..ac566419 100644 --- a/luci-theme-design/htdocs/luci-static/design/js/style.js +++ b/luci-theme-design/htdocs/luci-static/design/js/style.js @@ -65,6 +65,18 @@ }); } + function getOverviewPortColumns(width, cardCount) { + if (width <= 480) { + return 1; + } + + if (width <= 768) { + return Math.min(cardCount, 2); + } + + return Math.min(cardCount, 8); + } + function syncOverviewPortStatus() { var view = document.getElementById('view'); var portGroups = new Map(); @@ -186,7 +198,7 @@ portGroups.forEach(function (cards, parent) { var width = window.innerWidth || document.documentElement.clientWidth || 1280; - var columns; + var columns = getOverviewPortColumns(width, cards.length); cards.forEach(function (card) { var body = card.querySelector('.ifacebox-body'); @@ -220,18 +232,6 @@ } }); - if (width <= 480) { - columns = 1; - } else if (width <= 768) { - columns = Math.min(cards.length, 2); - } else if (cards.length <= 4) { - columns = cards.length; - } else if (cards.length <= 6) { - columns = 3; - } else { - columns = 4; - } - parent.style.setProperty('display', 'grid', 'important'); parent.style.setProperty('grid-template-columns', 'repeat(' + columns + ', minmax(0, 1fr))', 'important'); parent.style.setProperty('align-items', 'stretch', 'important'); @@ -258,6 +258,8 @@ childList: true, subtree: true }); + + window.addEventListener('resize', syncOverviewPortStatus); } function syncNetworkInterfaceIcons() { diff --git a/luci-theme-design/htdocs/luci-static/resources/menu-design.js b/luci-theme-design/htdocs/luci-static/resources/menu-design.js index 9df02b06..43ebef7c 100644 --- a/luci-theme-design/htdocs/luci-static/resources/menu-design.js +++ b/luci-theme-design/htdocs/luci-static/resources/menu-design.js @@ -1,5 +1,6 @@ 'use strict'; 'require baseclass'; +'require fs'; 'require request'; 'require ui'; @@ -15,15 +16,60 @@ return baseclass.extend({ window.location.hash); } + this.dynamicMenuTargets = {}; + this.syncConditionalMenuCache() .then(L.bind(function(reloading) { if (reloading) return; - return ui.menu.load().then(L.bind(this.render, this)); + return this.resolveDynamicMenuTargets() + .then(L.bind(function() { + return ui.menu.load().then(L.bind(this.render, this)); + }, this)); }, this)); }, + resolveDynamicMenuTargets: function() { + this.dynamicMenuTargets = {}; + + if (!document.body.classList.contains('logged-in')) + return Promise.resolve(); + + return this.resolveFirewallMenuTarget().then(L.bind(function(target) { + if (target) + this.dynamicMenuTargets['admin/status/nftables'] = target; + }, this)); + }, + + resolveFirewallMenuTarget: function() { + return L.resolveDefault(fs.exec_direct('/usr/sbin/nft', [ '--terse', '--json', 'list', 'ruleset' ], 'json'), null).then(function(nft) { + var hasTables = false; + + if (!Array.isArray(nft && nft.nftables)) + return null; + + for (var i = 0; i < nft.nftables.length; i++) { + if (nft.nftables[i] && nft.nftables[i].hasOwnProperty('table')) { + hasTables = true; + break; + } + } + + return hasTables ? null : 'admin/status/nftables/iptables'; + }); + }, + + getMenuHref: function(url, child) { + var path = [ url, child.name ].filter(Boolean).join('/'), + target = this.dynamicMenuTargets[path]; + + if (target) + return L.url.apply(L, target.split('/')); + + return L.url(url, child.name); + }, + reloadPageWithMenuFlush: function() { var url = new URL(window.location.href); @@ -180,11 +226,11 @@ return baseclass.extend({ ul.classList.add('active'); slideClass += " active"; menuClass += " active"; - } + } ul.appendChild(E('li', { 'class': slideClass }, [ E('a', { - 'href': L.url(url, children[i].name), + 'href': this.getMenuHref(url, children[i]), 'click': (l == 1) ? ui.createHandlerFn(this, 'handleMenuExpand') : null, 'class': menuClass, 'data-title': hasChildren ? children[i].title.replace(" ", "_") : children[i].title.replace(" ", "_"), diff --git a/mihomo-alpha/Makefile b/mihomo-alpha/Makefile index b0494637..2ed02cb5 100644 --- a/mihomo-alpha/Makefile +++ b/mihomo-alpha/Makefile @@ -2,13 +2,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mihomo-alpha PKG_VERSION:=2026.04.20 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git -PKG_SOURCE_VERSION:=a84724665eb7f989809abe463c05f5723bd24975 +PKG_SOURCE_VERSION:=c59c99a051c5c4fb3c2a7454d7c00fea9a8ee4bb PKG_MIRROR_HASH:=skip PKG_LICENSE:=GPL3.0+ @@ -18,7 +18,7 @@ PKG_BUILD_DEPENDS:=golang/host PKG_BUILD_PARALLEL:=1 PKG_BUILD_FLAGS:=no-mips16 -PKG_BUILD_VERSION:=alpha-a8472466 +PKG_BUILD_VERSION:=alpha-c59c99a0 PKG_BUILD_TIME:=$(shell date -u -Iseconds) GO_PKG:=github.com/metacubex/mihomo diff --git a/mihomo-meta/Makefile b/mihomo-meta/Makefile index d656eaa5..64d3e94a 100644 --- a/mihomo-meta/Makefile +++ b/mihomo-meta/Makefile @@ -1,14 +1,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mihomo-meta -PKG_VERSION:=1.19.23 -PKG_RELEASE:=2 +PKG_VERSION:=1.19.24 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git -PKG_SOURCE_VERSION:=v1.19.23 +PKG_SOURCE_VERSION:=v1.19.24 PKG_MIRROR_HASH:=skip PKG_LICENSE:=GPL3.0+ @@ -18,7 +18,7 @@ PKG_BUILD_DEPENDS:=golang/host PKG_BUILD_PARALLEL:=1 PKG_BUILD_FLAGS:=no-mips16 -PKG_BUILD_VERSION:=v1.19.23 +PKG_BUILD_VERSION:=v1.19.24 PKG_BUILD_TIME:=$(shell date -u -Iseconds) GO_PKG:=github.com/metacubex/mihomo diff --git a/quickstart/Makefile b/quickstart/Makefile index abad1a37..a33c9bb5 100644 --- a/quickstart/Makefile +++ b/quickstart/Makefile @@ -10,8 +10,8 @@ include $(TOPDIR)/rules.mk PKG_ARCH_quickstart:=$(ARCH) PKG_NAME:=quickstart -PKG_VERSION:=0.11.15 -PKG_RELEASE:=2 +PKG_VERSION:=0.12.1 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/linkease/istore-packages/releases/download/prebuilt/ PKG_HASH:=skip