diff --git a/luci-app-quickstart/Makefile b/luci-app-quickstart/Makefile index 5100c68a6..98c61ed56 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-store LUCI_PKGARCH:=all -PKG_VERSION:=0.7.4-1 +PKG_VERSION:=0.7.4-2 # 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 1086b11e1..8d44190a0 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 ha=Object.defineProperty,xa=Object.defineProperties;var ka=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var wa=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable;var ke=(e,a,o)=>a in e?ha(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,J=(e,a)=>{for(var o in a||(a={}))wa.call(a,o)&&ke(e,o,a[o]);if(je)for(var o of je(a))ya.call(a,o)&&ke(e,o,a[o]);return e},at=(e,a)=>xa(e,ka(a));var Fa=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var Zt=(e,a,o)=>(ke(e,typeof a!="symbol"?a+"":a,o),o);var T=(e,a,o)=>new Promise((n,s)=>{var c=d=>{try{f(o.next(d))}catch(l){s(l)}},p=d=>{try{f(o.throw(d))}catch(l){s(l)}},f=d=>d.done?n(d.value):Promise.resolve(d.value).then(c,p);f((o=o.apply(e,a)).next())});import{d as te,a as P,c as G,u as w,o as i,b as r,e as t,t as h,n as It,f as E,r as Q,g as B,h as ot,i as Dt,w as z,v as Lt,j as Ea,k as M,l as V,m as y,p as Ca,q as Ft,s as K,F as L,x as R,y as W,z as N,A as q,B as Mt,C as $a,D as Vt,E as Da,G as Ba,H as Ya,I as Aa,J as Sa,K as za,L as Pa,M as nt,T as xt,N as tt,O as Ta,P as it,Q as wt,R as U,S as ft,U as ee,V as Fe,W as Ia,X as La,Y as ue,Z as Ma,_ as Oa,$ as Na,a0 as qa}from"./vendor.js?v=c0f4c287";var Gy=Fa(Qt=>{const Va=function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const p of c.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&n(p)}).observe(document,{childList:!0,subtree:!0});function o(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerpolicy&&(c.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?c.credentials="include":s.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function n(s){if(s.ep)return;s.ep=!0;const c=o(s);fetch(s.href,c)}};Va();const ja=(e,a)=>T(Qt,null,function*(){return new Promise((o,n)=>T(Qt,null,function*(){try{const s=yield fetch(e,a);if(Math.floor(s.status/100)!=2)throw s.status+" "+s.statusText;const c=J({},s);c.data=yield s.json(),o(c)}catch(s){const c=s;n("\u7F51\u7EDC\u5F02\u5E38\uFF1A"+((c==null?void 0:c.message)||s))}}))});class Ee{constructor(a){Zt(this,"config",{baseURL:"",headers:{}});Zt(this,"useRequest",a=>a);Zt(this,"useResponse",a=>a);Zt(this,"useError",a=>a);a.baseURL&&(this.config.baseURL=a.baseURL),a.headers&&(this.config.headers=a.headers)}static create(a){return new Ee(a)}Do(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const c=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${c.baseURL||""}${a}`,o.headers==null&&(o.headers={}),c.headers&&(o.headers=J({},c.headers));const f=yield fetch(a,o),d=J({},f);d.data=yield f.json(),n(this.useResponse(d))}catch(c){this.useError(c),s(c)}}))})}TEXT(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const c=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${c.baseURL||""}${a}`,o.headers==null&&(o.headers={}),c.headers&&(o.headers=J({},c.headers));const f=yield fetch(a,o),d=J({},f);d.data=yield f.text(),n(d)}catch(c){this.useError(c),s(c)}}))})}interceptors(){const a=this;return{requset:{use(o){a.useRequest=o}},response:{use(o,n){a.useResponse=o,n&&(a.useError=n)}}}}}const Xe=Ee.create({});Xe.interceptors().requset.use(e=>e);Xe.interceptors().response.use(e=>(e.data&&e.data.success==null&&e.data.success==0,e));const Ra="/cgi-bin/luci/istore";let Re=!1;const I=(e,a)=>(e.indexOf("//")==-1&&(e=`${Ra}${e}`),ja(e,a).then(o=>(o!=null&&o.data&&o.data.success==-1001&&o.data.error=="Forbidden"&&(Re||(Re=!0,alert("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),location.reload())),o))),Ga={Statistics:{GET(){return I("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return I("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return I("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return I("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(e){return I("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetInterfaceConfig:{GET(){return I("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(e){return I("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},PortList:{GET(){return I("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Ua={Version:{GET(){return I("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return I("/system/check-update/",{method:"GET"})}},Reboot:{POST(e){return I("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/system/status/",{method:"GET"})}}},Wa={Disk:{Status:{GET(){return I("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return I("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>I("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},InitRest:{POST:e=>I("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>I("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Mount:{POST:e=>I("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Service:{Status:{GET(){return I("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(e){return I("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Webdav:{Create:{POST(e){return I("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return I("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(e){return I("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSandbox:{GET(){return I("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return I("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return I("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return I("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return I("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Ha={Check:{POST(e){return I("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return I("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Za={Pppoe:{GET(){return I("/guide/pppoe/",{method:"GET"})},POST(e){return I("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return I("/guide/dns-config/",{method:"GET"})},POST(e){return I("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DhcpClient:{POST(e){return I("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return I("/guide/client-mode/",{method:"GET"})},POST(e){return I("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return I("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return I("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return I("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(e){return I("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerSwitch:{POST(e){return I("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DownloadService:{Status:{GET(){return I("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return I("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(e){return I("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},qbitorrentInit:{POST(e){return I("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},transmissionInit:{POST(e){return I("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetLan:{GET(){return I("/guide/lan/",{method:"GET"})}},LanIp:{POST(e){return I("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},SoftSource:{POST(e){return I("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSoftSource:{GET(){return I("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return I("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(e){return I("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetDdns:{GET(){return I("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(e){return I("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DdntoConfig:{GET(){return I("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(e){return I("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Ja={Create:{POST(e){return I("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Delete:{POST(e){return I("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Add:{POST(e){return I("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Remove:{POST(e){return I("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Recover:{POST(e){return I("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Detail:{POST(e){return I("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},List:{GET(){return I("/raid/list/",{method:"GET"})}},CreateList:{GET(){return I("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return I("/raid/autofix/",{method:"GET"})}}},Xa={Log:{GET(){return I("/smart/log/",{method:"GET"})}},List:{GET(){return I("/u/smart/list/",{method:"GET"})}},Config:{GET(){return I("/smart/config/",{method:"GET"})},POST(e){return I("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Test:{POST(e){return I("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Result:{POST(e){return I("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Attribute:{Result:{POST(e){return I("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Extend:{Result:{POST(e){return I("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}}};var Ka=Object.freeze(Object.defineProperty({__proto__:null,Network:Ga,System:Ua,Nas:Wa,App:Ha,Guide:Za,Raid:Ja,Smart:Xa},Symbol.toStringTag,{value:"Module"})),S=J({},Ka);const Ke=te("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});te("guide",{});const Qe=te("nas",{state:()=>({webdav:{}})}),le=te("network",{state:()=>({status:{},statistics:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(e){this.status=e},requestNetworkStatistics(){return T(this,null,function*(){try{const e=yield S.Network.Statistics.GET();e!=null&&e.data&&e.data.result&&(this.statistics=e.data.result)}catch(e){console.log(e)}})},requestDeviceList(){S.Network.Device.List.GET().then(e=>{if(e!=null&&e.data){const{result:a}=e==null?void 0:e.data;a&&(this.deviceList=a)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Ce=te("system",{state:()=>({version:{},checkUpdate:null,systemStatus:{}}),getters:{},actions:{incrTime(){var e;(e=this.systemStatus)!=null&&e.uptime&&this.systemStatus.uptime++},requestVersion(){S.System.Version.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.version=e.data.result)})},requestCheckUpdate(){S.System.CheckUpdate.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.checkUpdate=e.data.result)})},updateSystemStatus(e){this.systemStatus=e}}});let Ge=!1;const Qa=()=>{if(Ge)return;Ge=!0;let e=!0,a=!0;const o=le(),n=Ce(),s=function(){return S.System.Status.GET().then(p=>{p!=null&&p.data.result&&n.updateSystemStatus(p.data.result)}).finally(()=>{setTimeout(s,5e3),e&&(setInterval(()=>{n.incrTime()},1e3),e=!1)})},c=function(){return S.Network.Status.GET().then(p=>{if(p!=null&&p.data){const{result:f}=p==null?void 0:p.data;f&&o.updateNetworkStatus(f)}}).finally(()=>{setTimeout(c,5e3),a&&(setInterval(()=>{o.incrTime()},1e3),a=!1)})};c(),o.requestDeviceList(),setTimeout(()=>{n.requestCheckUpdate(),n.requestVersion(),s()},1100)};var Y=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o};const to=P({setup(e){const a=Ke(),o=G(()=>a.portitemStyle.portitem),n=G(()=>a.portitemStyle.show),s=G(()=>({bottom:`calc(100% - ${a.portitemStyle.top}px)`,left:`${a.portitemStyle.left}px`})),c=d=>{switch(d){case"full":return"\u5168\u53CC\u5DE5";case"half":return"\u534A\u53CC\u5DE5"}},p=d=>{a.portitemStyle.show=!0},f=d=>{a.portitemStyle.show=!1};return(d,l)=>w(n)?(i(),r("div",{key:0,class:"disk-item-tooltip",style:It(w(s)),onMouseenter:p,onMouseleave:f},[t("div",null,h(c(w(o).duplex)),1),t("div",null,"\u540D\u79F0\uFF1A"+h(w(o).name||"--"),1),t("div",null,"MAC\uFF1A"+h(w(o).macAddress||"--"),1),t("div",null,"\u63A5\u6536\uFF1A"+h(w(o).rx_packets||"--"),1),t("div",null,"\u53D1\u9001\uFF1A"+h(w(o).tx_packets||"--"),1)],36)):E("",!0)}});var eo=Y(to,[["__scopeId","data-v-57f1326f"]]);const ao={id:"main"},oo=P({setup(e){return(a,o)=>{const n=Q("router-view");return i(),r("div",ao,[B(n),B(eo)])}}});var no=Y(oo,[["__scopeId","data-v-9bc295c2"]]);const io={},ro={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"},so=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),uo=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),lo=[so,uo];function co(e,a){return i(),r("svg",ro,lo)}var po=Y(io,[["render",co]]);const fo={},mo={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"},bo=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),vo=[bo];function go(e,a){return i(),r("svg",mo,vo)}var _o=Y(fo,[["render",go]]);const ho={},xo={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"},ko=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),wo=[ko];function yo(e,a){return i(),r("svg",xo,wo)}var Fo=Y(ho,[["render",yo]]);const Eo={},Co={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"},$o=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),Do=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),Bo=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),Yo=[$o,Do,Bo];function Ao(e,a){return i(),r("svg",Co,Yo)}var So=Y(Eo,[["render",Ao]]);const zo={},Po={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"},To=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),Io=[To];function Lo(e,a){return i(),r("svg",Po,Io)}var Mo=Y(zo,[["render",Lo]]);const Oo={},No={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"},qo=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),Vo=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),jo=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),Ro=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),Go=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Uo=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),Wo=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),Ho=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),Zo=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),Jo=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),Xo=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),Ko=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),Qo=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),tn=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),en=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),an=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),on=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),nn=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),rn=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),sn=[qo,Vo,jo,Ro,Go,Uo,Wo,Ho,Zo,Jo,Xo,Ko,Qo,tn,en,an,on,nn,rn];function dn(e,a){return i(),r("svg",No,sn)}var un=Y(Oo,[["render",dn]]);const ln={},cn={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"},pn=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),fn=[pn];function mn(e,a){return i(),r("svg",cn,fn)}var bn=Y(ln,[["render",mn]]);const vn={class:"progress"},gn=P({props:{value:{type:Number,required:!0},text:{type:String}},setup(e){const a=e,o=G(()=>a.value>=80?"#e45e5e":a.value>=70?"#ff9800":a.value>=60?"#297ff3":a.value>0?"#53c31b":"");return(n,s)=>(i(),r("div",vn,[t("div",{class:ot(["progress-value",`${e.value>50}`]),style:It({width:`${e.value}%`,backgroundColor:w(o)})},[t("span",null,h(e.text),1)],6),Dt(n.$slots,"default",{},void 0,!0)]))}});var ta=Y(gn,[["__scopeId","data-v-733828e1"]]);const _n={},hn={t:"1649907260906",viewBox:"-8 248 1042 530",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},xn=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),kn=[xn];function wn(e,a){return i(),r("svg",hn,kn)}var yn=Y(_n,[["render",wn]]);const Fn={},En={t:"1649907515643",viewBox:"-8 248 1042 530",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},Cn=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),$n=[Cn];function Dn(e,a){return i(),r("svg",En,$n)}var Bn=Y(Fn,[["render",Dn]]);const Yn={class:"checkbox_switch_on"},An={class:"checkbox_switch_off"},Sn=P({props:{modelValue:{type:Boolean,required:!0},height:{type:String,default:"100%"}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=G({get:()=>o.modelValue.valueOf(),set:s=>a("update:modelValue",s)});return(s,c)=>(i(),r("label",{class:"checkbox_switch",style:It({height:e.height})},[z(t("input",{type:"checkbox","onUpdate:modelValue":c[0]||(c[0]=p=>Ea(n)?n.value=p:null)},null,512),[[Lt,w(n)]]),t("span",Yn,[B(yn)]),t("span",An,[B(Bn)]),Dt(s.$slots,"default",{},void 0,!0)],4))}});var ea=Y(Sn,[["__scopeId","data-v-20f08566"]]);const zn={},Pn={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"},Tn=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),In=[Tn];function Ln(e,a){return i(),r("svg",Pn,In)}var Mn=Y(zn,[["render",Ln]]);const On={},Nn={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"},qn=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),Vn=[qn];function jn(e,a){return i(),r("svg",Nn,Vn)}var Rn=Y(On,[["render",jn]]);const Gn={};function Un(e,a){return i(),r("article",null,[Dt(e.$slots,"default",{},void 0,!0)])}var Wn=Y(Gn,[["render",Un],["__scopeId","data-v-bd286d4e"]]);const Hn={class:"cover"},Zn={class:"thumbnail"},Jn=P({emits:["click"],setup(e,{emit:a}){const o=()=>{a("click")};return(n,s)=>(i(),M(Wn,null,{default:V(()=>[t("a",{onClick:o},[t("div",Hn,[t("div",Zn,[Dt(n.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Xn=Y(Jn,[["__scopeId","data-v-123deb20"]]);const Kn=e=>(N("data-v-169d5b59"),e=e(),q(),e),Qn={class:"select-editable"},ti={selected:"",value:""},ei=["value"],ai=Kn(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),oi=["placeholder"],ni=P({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=y(""),s=y(""),c=G({get:()=>o.modelValue.valueOf(),set:l=>a("update:modelValue",l)}),p=l=>{l===n.value||n.value==="useInput"&&l===s.value||(l===""||o.options.some(u=>u.key===l)?n.value=l:(s.value=l,n.value="useInput"))};Ca(()=>o.modelValue,l=>{p(l)}),Ft(()=>{const l=c.value;p(l)});const f=l=>{n.value==="useInput"?c.value=s.value:c.value=n.value},d=l=>{c.value=s.value};return(l,u)=>(i(),r("label",null,[t("div",Qn,[z(t("select",{"onUpdate:modelValue":u[0]||(u[0]=m=>n.value=m),autocomplete:"off",onChange:f},[t("option",ti,"\u8BF7\u9009\u62E9"+h(e.title),1),(i(!0),r(L,null,R(e.options,(m,b)=>(i(),r("option",{value:m.key,key:b},h(m.value||m.key),9,ei))),128)),ai],544),[[K,n.value,void 0,{trim:!0}]]),n.value=="useInput"?z((i(),r("input",{key:0,type:"text","onUpdate:modelValue":u[1]||(u[1]=m=>s.value=m),required:"",placeholder:"\u8BF7\u8F93\u5165"+e.title,onChange:d},null,40,oi)),[[W,s.value,void 0,{trim:!0}]]):E("",!0)])]))}});var Tt=Y(ni,[["__scopeId","data-v-169d5b59"]]);const ii={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"},ri=P({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(e){const a=o=>{if(o==null)return;if(typeof o=="number")return o+"px";const n=o.toString();return parseInt(n)+""==n?n+"px":n};return(o,n)=>(i(),r("div",{class:"loading",style:It({width:a(e.size),height:a(e.size)})},[(i(),r("svg",ii,[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:It({fill:e.color})},null,4)]))],4))}});var si=Y(ri,[["__scopeId","data-v-0a8a31e2"]]);const di={},ui={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":""},li=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),ci=[li];function pi(e,a){return i(),r("svg",ui,ci)}var fi=Y(di,[["render",pi]]);const mi={},bi={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"},vi=Mt('',1),gi=[vi];function _i(e,a){return i(),r("svg",bi,gi)}var hi=Y(mi,[["render",_i]]),aa={install:e=>{e.component("icon-loading",si),e.component("icon-success",fi),e.component("icon-error",hi)}};const xi=e=>{},ki=()=>new Date().getTime(),wi=e=>{if(e<1e3)return`${e} B`;let o=1e3,n=0;for(let p=e/1e3;p>=1e3;p/=1e3)o*=1e3,n++;let s=[" KB"," MB"," GB"," TB"," PB"," EB"];return(e/100/(o/100)).toFixed(1)+s[n]},yi=e=>{if(e==null)return 0;if(e<1e4)return e;let o=parseInt(`${e/1e4}`),n=e%1e4;return`${o}\u4E07${n}`},Fi=e=>{if(e)try{var a=new Date(e),o=a.getHours(),n=a.getMinutes(),s=a.getSeconds();return o<10&&(o=`0${o}`),n<10&&(n=`0${n}`),s<10&&(s=`0${s}`),`${o}:${n}:${s}`}catch(c){}return""},Ei=e=>{if(e){let a=Math.floor(e/86400),o=Math.floor(e/3600)%24,n=Math.floor(e/60)%60,s=e%60;return a+"\u5929"+o+"\u5C0F\u65F6"+(n<10?"0"+n:n)+"\u5206"+(s<10?"0"+s:s)+"\u79D2"}},Ci=e=>/^\d+\.\d+\.\d+\.\d+$/.test(e),$i=e=>e.length<3?"\u7528\u6237\u540D\u592A\u77ED":e.toLowerCase()!=e?"\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199":new RegExp("^\\d").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934":new RegExp("^_").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934":new RegExp("^[a-z0-9_]+$").exec(e)?!0:"\u975E\u6CD5\u7684\u7528\u6237\u540D",Di=(e,a)=>{let o=!0,n=null;const s=()=>{n=null,o&&e().finally(()=>{o&&(n=setTimeout(s,a))})};return n=setTimeout(s,0),()=>{o=!1,n!=null&&clearTimeout(n)}};var Bi=Object.freeze(Object.defineProperty({__proto__:null,formatDate:xi,UnixDate:ki,byteToSize:wi,numberToSum:yi,dateForm:Fi,stampForm:Ei,checkIsIP:Ci,checkSmabaUserName:$i,easyInterval:Di},Symbol.toStringTag,{value:"Module"})),yt=J({},Bi);const Yi={class:"flow"},Ai={class:"flow-data"},Si={key:0},zi={key:1},Pi=P({setup(e){$a([Da,Ba,Ya,Aa,Sa,za]);const a=y(),o=_=>{var g;const v=(g=a.value)==null?void 0:g[_];return!v||v.startTime==0?"":d(v.startTime*1e3)+"-"+d(v.endTime*1e3)},n=G(()=>{var v;let _=[];return(v=a.value)==null||v.forEach(g=>{_.push({value:g.uploadSpeed})}),_}),s=G(()=>{var v;let _=[];return(v=a.value)==null||v.forEach(g=>{_.push({value:g.downloadSpeed})}),_}),c=G(()=>{var v;let _="";if(a.value){let g=((v=a.value)==null?void 0:v.length)||0;if(g>0){let k=a.value[g-1];_=l(k.uploadSpeed)+"/s"}}return _}),p=G(()=>{var v;let _="";if(a.value){let g=((v=a.value)==null?void 0:v.length)||0;if(g>0){let k=a.value[g-1];_=l(k.downloadSpeed)+"/s"}}return _});G(()=>{var v;let _=[];return(v=a.value)==null||v.forEach(g=>{_.push({value:g.downloadSpeed+g.uploadSpeed})}),_});const f=()=>T(this,null,function*(){var _;try{const v=yield S.Network.Statistics.GET();if(v.data&&(_=v.data.result)!=null&&_.items){const g=v.data.result.slots||10;if(v.data.result.items.lengthg?a.value=v.data.result.items.slice(g-v.data.result.items.length):a.value=v.data.result.items}}catch(v){console.log(v)}}),d=yt.dateForm,l=yt.byteToSize,u=y();let m=null;const b=_=>(m=Pa(_,"dark"),m.setOption({animation:!1,backgroundColor:"transparent",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:v=>{if(Array.isArray(v)){let g="";v.length>0&&(g=o(v[0].axisValue));for(let k=0;k${v[k].seriesName}: ${l(v[k].value)}/s`;return g.toString()}else{const g=v;return`${o(g.axisValue)}
${g.seriesName}: ${l(g.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:"\u6D41\u91CF\u7EDF\u8BA1",textStyle:{fontSize:12,color:"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(v,g){return`${l(v)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",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:"\u4E0A\u4F20",data:n.value,type:"line",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",selected:{\u4E0A\u4F20:!0,\u4E0B\u8F7D:!0},textStyle:{color:"rgba(0, 0, 0, 0.6)"},itemStyle:{color:"#5e72e4"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),m);return Ft(()=>{setTimeout(()=>T(this,null,function*(){if(u.value){yield f();const _=b(u.value),v=u.value;_.resize({width:v.clientWidth,height:v.clientHeight}),window.addEventListener("resize",()=>{_.resize({width:v.clientWidth,height:v.clientHeight})});const g=()=>T(this,null,function*(){m!=null&&(yield f(),m!=null&&(_.setOption({series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",areaStyle:{},smooth:!0},{name:"\u4E0A\u4F20",data:n.value,type:"line",areaStyle:{},smooth:!0}]}),setTimeout(g,5e3)))});setTimeout(g,5e3)}}),900)}),Vt(()=>{m!=null&&(m.dispose(),m=null)}),(_,v)=>(i(),r("div",Yi,[t("div",{ref_key:"el",ref:u,class:"echart"},null,512),t("div",Ai,[w(c)?(i(),r("span",Si,"\u4E0A\u4F20: "+h(w(c)),1)):E("",!0),w(p)?(i(),r("span",zi,"\u4E0B\u8F7D: "+h(w(p)),1)):E("",!0)])]))}});var Ti=Y(Pi,[["__scopeId","data-v-652b014f"]]);const Ii={},Li={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"},Mi=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),Oi=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),Ni=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),qi=[Mi,Oi,Ni];function Vi(e,a){return i(),r("svg",Li,qi)}var $t=Y(Ii,[["render",Vi]]);let se=0;const ji={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 e=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,se=window.setTimeout(e,1e3))};se=window.setTimeout(e,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,se!=0&&clearTimeout(se),this.Close())}}},ce=e=>(N("data-v-6935a479"),e=e(),q(),e),Ri={key:0,class:"loading icon"},Gi=ce(()=>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)),Ui=[Gi],Wi={key:1,class:"success icon"},Hi=ce(()=>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)),Zi=[Hi],Ji={key:2,class:"error icon"},Xi=ce(()=>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)),Ki=[Xi],Qi={key:3,class:"warning icon"},tr=ce(()=>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)),er=[tr];function ar(e,a,o,n,s,c){return i(),M(xt,{name:"el-fade-in-linear"},{default:V(()=>[s.show?(i(),r("div",{key:0,class:"toast",onClick:a[1]||(a[1]=p=>c.Stop())},[o.type=="loading"?(i(),r("div",Ri,Ui)):o.type=="success"?(i(),r("div",Wi,Zi)):o.type=="error"?(i(),r("div",Ji,Ki)):o.type=="warning"?(i(),r("div",Qi,er)):E("",!0),t("div",{class:"message",onClick:a[0]||(a[0]=nt(()=>{},["stop"]))},h(c.Message),1)])):E("",!0)]),_:1})}var or=Y(ji,[["render",ar],["__scopeId","data-v-6935a479"]]);const Xt=new Map,jt=e=>{const a=tt(or,at(J({},e),{Close:()=>{n()}})),o=document.createElement("div");document.body.append(o),a.mount(o);const n=()=>{o.remove(),Xt.get(a._uid)&&Xt.delete(a._uid)};return e.type=="loading"&&Xt.set(a._uid,{Close:n}),(e==null?void 0:e.duration)==0||((e==null?void 0:e.duration)>0?setTimeout(()=>{n()},e==null?void 0:e.duration):setTimeout(()=>{n()},3e3)),{Close:n}},F=e=>jt(e);F.Loading=(e,a)=>jt({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:a||0});F.Success=e=>jt({type:"success",message:e});F.Error=e=>jt({type:"error",message:e,duration:0});F.Warning=e=>jt({type:"warning",message:e});F.Message=e=>jt({message:e});F.Clear=()=>{Xt.forEach((e,a)=>{e.Close(),Xt.delete(a)})};const ct={installApp:(e,a)=>new Promise((o,n)=>{let s=0;S.App.Install.POST({name:e}).then(()=>{const c=setTimeout(()=>{s==0&&(s=1,o(!1))},(a||60)*1e3),p=()=>{s==0&&S.App.Check.POST({name:e}).then(f=>{if(s==0&&f!=null&&f.data){const{result:d}=f.data;if((d==null?void 0:d.status)=="installed"){clearTimeout(c),s=1,o(!0);return}}}).catch(f=>{}).finally(()=>{s==0&&setTimeout(p,3e3)})};setTimeout(p,3e3)}).catch(c=>{s==0&&(s=1,n("\u5B89\u88C5\u5931\u8D25\uFF0C"+c))})}),checkAndInstallApp:(e,a,o)=>T(Qt,null,function*(){let n=F.Loading("\u68C0\u67E5\u4E2D...");try{const s=yield S.App.Check.POST({name:e});if(n.Close(),s!=null&&s.data){const{result:c,error:p}=s.data;if(p)F.Warning(p);else if(c){if(c.status=="installed")return!0;if(confirm(`\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 ${a} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F`)){n=F.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D...");const f=yield ct.installApp(o||e);if(n.Close(),f)return!0;F.Error("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5")}}else F.Warning("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25")}return!1}catch(s){return n.Close(),F.Warning(s),!1}}),installAndGo:(e,a,o,n)=>T(Qt,null,function*(){(yield ct.checkAndInstallApp(e,a,n))&&(location.href=o)})},nr={},ir={t:"1640746738262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1216",width:"128",height:"128"},rr=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"},null,-1),sr=[rr];function dr(e,a){return i(),r("svg",ir,sr)}var ur=Y(nr,[["render",dr]]);const lr=e=>(N("data-v-428d873e"),e=e(),q(),e),cr={id:"actioner"},pr={key:0,class:"action-container"},fr={class:"action-container_header"},mr=lr(()=>t("div",null,null,-1)),br={class:"title"},vr={class:"action-container_body"},gr=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){const a=e,o=y(!1);Ft(()=>{o.value=!0,document.body.setAttribute("lock-scroll","true")}),Vt(()=>{document.body.removeAttribute("lock-scroll")});const n=()=>{a.Close&&(o.value=!1,setTimeout(()=>{a.Close&&a.Close()},300))};return(s,c)=>(i(),r("div",cr,[t("div",{class:"bg",onClick:n}),e.type!=null?Dt(s.$slots,"default",{key:0},void 0,!0):(i(),r(L,{key:1},[o.value?(i(),r("div",pr,[t("div",fr,[mr,t("div",br,h(e.title),1),t("button",{class:"close",title:"\u5173\u95ED",onClick:n},[B(ur)])]),t("div",vr,[Dt(s.$slots,"default",{},void 0,!0)])])):E("",!0)],64))]))}});var _r=Y(gr,[["__scopeId","data-v-428d873e"]]);const et=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){return(a,o)=>(i(),M(_r,{Close:e.Close,type:e.type,title:e.title},{default:V(()=>[Dt(a.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Bt=e=>(N("data-v-c4cdcce6"),e=e(),q(),e),hr=["onSubmit"],xr=Bt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),kr={class:"actioner-dns_body"},wr={class:"label-item"},yr=Bt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u9009\u9879")],-1)),Fr={class:"label-item_value"},Er=["disabled"],Cr=Bt(()=>t("option",{value:"manual"},"\u81EA\u5B9A\u4E49DNS",-1)),$r={class:"label-item"},Dr=Bt(()=>t("div",{class:"label-item_key"},"DNS\u670D\u52A1\u5668\u5730\u5740",-1)),Br={class:"label-item_value"},Yr=["onUpdate:modelValue"],Ar={class:"label-item"},Sr=Bt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u670D\u52A1\u5668\u5730\u5740")],-1)),zr={class:"label-item_value"},Pr={class:"label-item"},Tr=Bt(()=>t("div",{class:"label-item_key"},"\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740",-1)),Ir={class:"label-item_value"},Lr={key:1,class:"label-message"},Mr={class:"actioner-dns_footer"},Or=["disabled"],Nr={key:1,class:"actioner-dns"},qr=Bt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),Vr=Bt(()=>t("div",{class:"actioner-dns_body"},[t("div",{class:"config-message"},"DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")],-1)),jr=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=le(),s=n.status,c=G(()=>n.status.proto!="static"),p=y({interfaceName:s.defaultInterface||"",dnsProto:s.dnsProto||"manual",manualDnsIp:s.dnsList||[]}),f=y(""),d=y(""),l=y(""),u=y(!1),m=()=>T(this,null,function*(){l.value="";let v={};switch(p.value.dnsProto){case"auto":break;case"manual":v.manualDnsIp=[],p.value.manualDnsIp!=null&&p.value.manualDnsIp.length>0?v.manualDnsIp=p.value.manualDnsIp:(v.manualDnsIp.push(f.value),d.value&&v.manualDnsIp.push(d.value));break}v.dnsProto=p.value.dnsProto,v.interfaceName=p.value.interfaceName;const g=F.Loading("\u914D\u7F6E\u4E2D...");try{const k=yield S.Guide.DnsConfig.POST(v);if(k!=null&&k.data){const{success:x,error:C}=k==null?void 0:k.data;C&&(l.value=C),(x==null||x==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),o.value=1)}}catch(k){l.value=k}g.Close()}),b=v=>{v.preventDefault(),a.Close&&a.Close()},_=v=>{location.reload()};return(v,g)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(m,["prevent"])},[xr,t("div",kr,[t("div",wr,[yr,t("div",Fr,[z(t("select",{"onUpdate:modelValue":g[0]||(g[0]=k=>p.value.dnsProto=k)},[t("option",{value:"auto",disabled:!w(c)},"\u81EA\u52A8\u83B7\u53D6DNS",8,Er),Cr],512),[[K,p.value.dnsProto]])])]),p.value.dnsProto=="manual"?(i(),r(L,{key:0},[p.value.manualDnsIp!=null&&p.value.manualDnsIp.length>0?(i(!0),r(L,{key:0},R(p.value.manualDnsIp,(k,x)=>(i(),r("div",$r,[Dr,t("div",Br,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740","onUpdate:modelValue":C=>p.value.manualDnsIp[x]=C},null,8,Yr),[[W,p.value.manualDnsIp[x],void 0,{trim:!0}]])])]))),256)):(i(),r(L,{key:1},[t("div",Ar,[Sr,t("div",zr,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740",required:"","onUpdate:modelValue":g[1]||(g[1]=k=>f.value=k)},null,512),[[W,f.value,void 0,{trim:!0}]])])]),t("div",Pr,[Tr,t("div",Ir,[z(t("input",{type:"text",placeholder:"\u5907\u7528DNS\u5730\u5740","onUpdate:modelValue":g[2]||(g[2]=k=>d.value=k)},null,512),[[W,d.value,void 0,{trim:!0}]])])])],64))],64)):E("",!0),l.value?(i(),r("div",Lr,h(l.value),1)):E("",!0)]),t("div",Mr,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},"\u786E\u8BA4",8,Or),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:b},"\u53D6\u6D88")])],40,hr)):o.value==1?(i(),r("div",Nr,[qr,Vr,t("div",{class:"actioner-dns_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u5B8C\u6210")])])):E("",!0)]),_:1},8,["Close"]))}});var Rr=Y(jr,[["__scopeId","data-v-c4cdcce6"]]);const oa=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Rr,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},pe=e=>(N("data-v-0ae97e7e"),e=e(),q(),e),Gr={class:"action"},Ur={class:"action-body"},Wr=pe(()=>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)),Hr=pe(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),Zr={class:"info"},Jr=pe(()=>t("span",null,"\u524D\u5F80",-1)),Xr=["href"],Kr=pe(()=>t("span",null,"\u8FDB\u884C\u6D4B\u901F",-1)),Qr=P({props:{port:Number,Close:Function},setup(e){const a=e,o=G(()=>`http://${location.hostname}:${a.port}`),n=()=>{a.Close&&(a.Close(),location.reload())};return(s,c)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",Gr,[t("div",Ur,[Wr,Hr,t("div",Zr,[Jr,t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,Xr),Kr]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:n},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var ts=Y(Qr,[["__scopeId","data-v-0ae97e7e"]]),es=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ts,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const $e=e=>(N("data-v-39248365"),e=e(),q(),e),as=$e(()=>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)),os={class:"app-container_status-label_text"},ns=$e(()=>t("div",{class:"text_status"},"\u5DF2\u65AD\u5F00",-1)),is={class:"text_info"},rs=$e(()=>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)),ss={class:"app-container_status-label_text"},ds={class:"text_info"},us=P({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(e){const a=e,o=Ke(),n=y(null),s=p=>{const f=p.target,{left:d,top:l}=f.getBoundingClientRect();o.portitemStyle.show=!0,o.portitemStyle.left=d,o.portitemStyle.top=l,o.portitemStyle.portitem=a.item},c=p=>{o.portitemStyle.show=!1};return(p,f)=>(i(),r("div",{class:"app-container_status-label_bg",style:It(`transform: translateX(${e.transform}px);`),ref_key:"el",ref:n,onMouseenter:s,onMouseleave:c},[e.item.linkState=="DOWN"?(i(),r(L,{key:0},[as,t("div",os,[ns,t("div",is,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(i(),r(L,{key:1},[rs,t("div",ss,[t("div",null,h(e.item.linkSpeed),1),t("div",ds,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var na=Y(us,[["__scopeId","data-v-39248365"]]);const ia=e=>(N("data-v-3470ca08"),e=e(),q(),e),ls=ia(()=>t("span",null,h("<"),-1)),cs=[ls],ps=ia(()=>t("span",null,h(">"),-1)),fs=[ps],ms=P({props:{portList:{type:Array,required:!0}},setup(e){const a=y(),o=y(0),n=y(0),s=y(0),c=y(!1),p=()=>{if(s.value>=0){s.value=0;return}s.value+=100},f=()=>{if(s.value<=0-o.value+n.value){s.value=0-o.value+n.value;return}s.value-=100};return Ft(()=>{Ta(()=>{a.value&&(o.value=a.value.scrollWidth,n.value=a.value.clientWidth,c.value=o.value>n.value)})}),(d,l)=>(i(),r("div",{class:"app-interfaces",ref_key:"el",ref:a},[c.value?(i(),r(L,{key:0},[t("a",{class:"btn-f",onClick:p},cs),t("a",{class:"btn-r",onClick:f},fs)],64)):E("",!0),(i(!0),r(L,null,R(e.portList,(u,m)=>(i(),M(na,{item:u,transform:s.value},null,8,["item","transform"]))),256))],512))}});var bs=Y(ms,[["__scopeId","data-v-3470ca08"]]);const vs={},gs={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"},_s=Mt('icon_finished',2),hs=[_s];function xs(e,a){return i(),r("svg",gs,hs)}var De=Y(vs,[["render",xs]]);const Rt=e=>(N("data-v-1e29113c"),e=e(),q(),e),ks=["onSubmit"],ws=Rt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u8F6F\u4EF6\u6E90\u914D\u7F6E")],-1)),ys={class:"actioner-dns_body"},Fs={class:"label-item"},Es=Rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5F53\u524D\u8F6F\u4EF6\u6E90")],-1)),Cs={class:"label-item_value"},$s={class:"item_info"},Ds={class:"label-item"},Bs=Rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5207\u6362\u8F6F\u4EF6\u6E90")],-1)),Ys={class:"label-item_value"},As=Rt(()=>t("option",{selected:"true",value:""},"\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90",-1)),Ss=["value"],zs={class:"actioner-dns_footer"},Ps=["disabled"],Ts={key:1,class:"actioner-dns"},Is=Rt(()=>t("div",{class:"actioner-dns_header"},[t("span",{class:"softsource_tit"},"\u8F6F\u4EF6\u6E90\u914D\u7F6E")],-1)),Ls={class:"actioner-dns_body"},Ms={class:"finished"},Os=Rt(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),Ns=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y(""),s=y(),c=y();(()=>{S.Guide.SoftSourceList.GET().then(u=>{var m,b;if((m=u==null?void 0:u.data)!=null&&m.result){const _=(b=u==null?void 0:u.data)==null?void 0:b.result;c.value=_}}).then(()=>S.Guide.GetSoftSource.GET()).then(u=>{var m,b;if((m=u==null?void 0:u.data)!=null&&m.result){const _=u.data.result;s.value=_.softSource,(b=c.value)!=null&&b.softSourceList.find(v=>v.identity==_.softSource.identity)&&(n.value=_.softSource.identity)}})})();const f=u=>{u.preventDefault(),a.Close&&a.Close()},d=u=>{const m=F.Loading("\u6B63\u5728\u5207\u6362\u4E2D...");S.Guide.SoftSource.POST({softSourceIdentity:n.value}).then(b=>{if(b!=null&&b.data){if((b.data.success||0)==0){o.value=1;return}else if(b.data.error)throw b.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(b=>{F.Error(b)}).finally(()=>m.Close())},l=u=>{u.preventDefault(),location.reload()};return(u,m)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>{var b,_;return[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(d,["prevent"])},[ws,t("div",ys,[t("div",Fs,[Es,t("div",Cs,[t("p",$s,h((b=s.value)==null?void 0:b.name),1)])]),t("div",Ds,[Bs,t("div",Ys,[z(t("select",{name:"",id:"","onUpdate:modelValue":m[0]||(m[0]=v=>n.value=v)},[As,(i(!0),r(L,null,R((_=c.value)==null?void 0:_.softSourceList,(v,g)=>(i(),r("option",{value:v.identity,key:g},h(v.name),9,Ss))),128))],512),[[K,n.value,void 0,{trim:!0}]])])])]),t("div",zs,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:n.value==""},"\u786E\u8BA4",8,Ps),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},"\u53D6\u6D88")])],40,ks)):E("",!0),o.value==1?(i(),r("form",Ts,[Is,t("div",Ls,[t("div",Ms,[B(De)]),Os,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:l},"\u786E\u5B9A")])])])):E("",!0)]}),_:1},8,["Close"]))}});var qs=Y(Ns,[["__scopeId","data-v-1e29113c"]]);const ra=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(qs,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},ut=e=>(N("data-v-aa15207e"),e=e(),q(),e),Vs={class:"app-container_status-label"},js={class:"app-container_status-label_item",style:{"padding-right":"10px"}},Rs={class:"app-container_status-container",style:{height:"100%"}},Gs={key:0,class:"app-container_status-container_body"},Us=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("title",null,"icon_internet connected"),t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),Ws={class:"app-container_status-info"},Hs=ut(()=>t("span",{class:"container_success"},"\u5DF2\u8054\u7F51",-1)),Zs={class:"container_time"},Js={key:1,class:"app-container_status-container_body"},Xs=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ks={class:"app-container_status-info"},Qs=ut(()=>t("span",{class:"container_failure"},"DNS\u9519\u8BEF",-1)),td={class:"container_time"},ed={key:2,class:"app-container_status-container_body"},ad=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),od={class:"app-container_status-info"},nd=ut(()=>t("span",{class:"container_failure"},"\u8F6F\u4EF6\u6E90\u9519\u8BEF",-1)),id={class:"container_time"},rd={key:3,class:"app-container_status-container_body"},sd=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),dd={class:"app-container_status-info"},ud=ut(()=>t("span",{class:"container_failure"},"\u672A\u8054\u7F51",-1)),ld={class:"container_time"},cd={key:4,class:"app-container_status-container_body"},pd=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),fd=ut(()=>t("div",{class:"app-container_status-info"},[t("span",{class:"container_failure"},"\u68C0\u6D4B\u4E2D...")],-1)),md=[pd,fd],bd={class:"app-container_status-label_item",style:{"padding-left":"10px"}},vd={class:"app-container_status-container",style:{height:"100%"}},gd={class:"more_icon",title:"\u67E5\u770B\u8BBE\u5907\u4FE1\u606F"},_d={class:"DeviceBlock"},hd=ut(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/status/routes"},"\u8BBE\u5907\u8DEF\u7531")],-1)),xd={class:"app-container_status-container_body"},kd=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("title",null,"icon_device number"),t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),wd={class:"app-container_status-info"},yd={class:"container_content"},Fd=ut(()=>t("span",{class:"devise"},"\u5DF2\u8FDE\u63A5\u8BBE\u5907",-1)),Ed=ut(()=>t("em",null,null,-1)),Cd={class:"app-container_status-container"},$d={class:"more_icon",title:"\u6D4B\u901F"},Dd={class:"DeviceBlock"},Bd={class:"app-container_title"},Yd={class:"app-container_status-label_block"},Ad={class:"app-container_status-label_block"},Sd={class:"app-container_title"},zd={class:"app-container_status-label_block"},Pd=ut(()=>t("em",null,null,-1)),Td={class:"app-container_status-container"},Id={class:"app-container_title"},Ld=ut(()=>t("span",null,"\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001",-1)),Md={class:"more_icon",title:"\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F"},Od={class:"DeviceBlock"},Nd=U("\u7F51\u53E3\u914D\u7F6E"),qd={class:"app-container_body"},Vd=P({props:{homebox:{type:Object}},setup(e){const a=()=>{oa()},o=()=>{ra()},n=le(),s=G(()=>n.status),c=G(()=>n.deviceList),p=y(!1),f=y(!1),d=y(!1),l=it({portList:[],load:!1}),u=$=>{switch($){case"pppoe":return"\u62E8\u53F7\u4E0A\u7F51";case"static":return"\u9759\u6001\u7F51\u7EDC";case"dhcp":return"DHCP"}},m=$=>{switch($){case"manual":return"\u624B\u52A8\u914D\u7F6E";case"auto":return"\u81EA\u52A8\u83B7\u53D6";default:return""}},b=()=>{S.Network.PortList.GET().then($=>{if($!=null&&$.data){const{result:O}=$==null?void 0:$.data;O&&(l.portList=O.ports||[])}}).finally(()=>{l.load=!0,_()})},_=()=>{setTimeout(()=>{b()},1e4)};b();const v=yt.stampForm,g=()=>{p.value=!p.value},k=()=>{f.value=!f.value},x=()=>{d.value=!d.value},C=()=>{g(),ct.installAndGo("app-meta-nlbwmon","\u5E26\u5BBD\u76D1\u63A7","/cgi-bin/luci/admin/services/nlbw")},A=()=>T(this,null,function*(){var $,O,H;if(k(),yield ct.checkAndInstallApp("app-meta-homebox","Homebox"))try{const j=yield S.Network.Homebox.Enable.POST();(O=($=j==null?void 0:j.data)==null?void 0:$.result)!=null&&O.port?es({port:j.data.result.port,setup:0}):((H=j==null?void 0:j.data)==null?void 0:H.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":F.Warning("\u542F\u52A8\u5931\u8D25")}catch(j){F.Warning("\u542F\u52A8\u5931\u8D25")}}),D=()=>{k(),ct.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return($,O)=>{var j,Z;const H=Q("router-link");return i(),r(L,null,[t("div",Vs,[t("div",js,[t("div",Rs,[w(s)!=null?(i(),r(L,{key:0},[w(s).networkInfo=="netSuccess"?(i(),r("div",Gs,[Us,t("div",Ws,[Hs,t("span",Zs,h(w(v)(w(s).uptimeStamp)),1)])])):w(s).networkInfo=="dnsFailed"?(i(),r("div",Js,[Xs,t("div",Ks,[Qs,t("span",td,h(w(v)(w(s).uptimeStamp)),1),t("div",{onClick:a,class:"container_configure"},"DNS\u914D\u7F6E")])])):w(s).networkInfo=="softSourceFailed"?(i(),r("div",ed,[ad,t("div",od,[nd,t("span",id,h(w(v)(w(s).uptimeStamp)),1),t("div",{onClick:o,class:"container_configure"},"\u8F6F\u4EF6\u6E90\u914D\u7F6E")])])):w(s).networkInfo=="netFailed"?(i(),r("div",rd,[sd,t("div",dd,[ud,t("span",ld,h(w(v)(w(s).uptimeStamp)),1)])])):(i(),r("div",cd,md))],64)):E("",!0)])]),t("div",bd,[t("div",vd,[t("span",gd,[B($t,{onClick:g})]),z(t("div",_d,[t("div",{class:"menu_background",onClick:g}),t("ul",null,[hd,t("li",null,[t("a",{onClick:C},"\u5E26\u5BBD\u76D1\u63A7")])])],512),[[wt,p.value]]),t("div",xd,[kd,t("div",wd,[t("span",yd,h(((Z=(j=w(c))==null?void 0:j.devices)==null?void 0:Z.length)||0),1),Fd])])])])]),Ed,t("div",Cd,[t("span",$d,[B($t,{onClick:k})]),z(t("div",Dd,[t("div",{class:"menu_background",onClick:k}),t("ul",null,[t("li",null,[t("a",{onClick:A},"\u5185\u7F51\u6D4B\u901F")]),t("li",null,[t("a",{onClick:D},"\u5916\u7F51\u6D4B\u901F")])])],512),[[wt,f.value]]),t("div",Bd,[t("span",null,"IP\u5730\u5740\uFF08"+h(w(s).defaultInterface)+"\uFF09",1)]),t("div",Yd,[t("span",null," IPv4\uFF1A "+h(w(s).ipv4addr)+" \uFF08"+h(u(w(s).proto||""))+"\uFF09 ",1)]),t("div",Ad,[t("span",null,"IPv6\uFF1A"+h(w(s).ipv6addr),1)]),t("div",Sd,[t("span",null,"DNS\uFF08"+h(m(w(s).dnsProto))+"\uFF09",1)]),(i(!0),r(L,null,R(w(s).dnsList,_t=>(i(),r("div",zd,[t("span",null,h(_t),1)]))),256))]),Pd,t("div",Td,[t("div",Id,[Ld,t("span",Md,[B($t,{onClick:x})]),z(t("div",Od,[t("div",{class:"menu_background",onClick:x}),t("ul",null,[t("li",null,[B(H,{to:"/interfaceconfig"},{default:V(()=>[Nd]),_:1})])])],512),[[wt,d.value]])]),t("div",qd,[w(l).load?(i(),M(bs,{key:0,portList:w(l).portList},null,8,["portList"])):E("",!0)])])],64)}}});var jd=Y(Vd,[["__scopeId","data-v-aa15207e"]]);const Rd={class:"network-container"},Gd={class:"network-container_flow"},Ud={class:"network-container_flow-container"},Wd={class:"network-container_status"},Hd=P({setup(e){return(a,o)=>(i(),r("div",Rd,[t("div",Gd,[t("div",Ud,[B(Ti,{style:{height:"460px"}})])]),t("div",Wd,[B(jd)])]))}});var Zd=Y(Hd,[["__scopeId","data-v-78a4e41a"]]);const Jd={},Xd={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"},Kd=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),Qd=[Kd];function t0(e,a){return i(),r("svg",Xd,Qd)}var gt=Y(Jd,[["render",t0]]);const e0={},a0={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"},o0=Mt('\u5206\u533A\u4FE1\u606F',2),n0=[o0];function i0(e,a){return i(),r("svg",a0,n0)}var Ue=Y(e0,[["render",i0]]);const r0={},s0={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"},d0=Mt('\u5168\u76D8\u683C\u5F0F\u5316',2),u0=[d0];function l0(e,a){return i(),r("svg",s0,u0)}var c0=Y(r0,[["render",l0]]);const Yt=e=>(N("data-v-3a0bca4c"),e=e(),q(),e),p0=["onSubmit"],f0=Yt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u786C\u76D8\u914D\u7F6E")],-1)),m0={class:"action-body"},b0={class:"disk-info"},v0=Yt(()=>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)),g0={key:0,class:"disk-info_mount-name"},_0={key:1,class:"disk-info_mount-name"},h0={key:0,class:"label-item"},x0=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),k0={class:"label-item_path"},w0={class:"label-item"},y0=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u683C\u5F0F\u5316\u9009\u9879")],-1)),F0={class:"label-item_value"},E0=["disabled"],C0={key:0,value:""},$0=Yt(()=>t("option",{value:"format"},"\u683C\u5F0F\u5316",-1)),D0={key:1,value:"default"},B0={class:"label-item_value"},Y0={key:0,class:"msg"},A0={key:1,class:"msg"},S0={class:"action-footer"},z0=Yt(()=>t("div",{class:"auto"},null,-1)),P0=["disabled"],T0=["disabled"],I0={key:1,class:"action result"},L0={class:"action-body"},M0=Yt(()=>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)),O0=Yt(()=>t("div",{class:"action-body_msg"},"\u683C\u5F0F\u5316\u6210\u529F",-1)),N0={key:0,class:"action-body_info"},q0={key:1,class:"action-body_info"},V0=U(" \u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A "),j0={class:"btns"},R0=P({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const a=e,o=()=>{a.Close&&a.Close()},n=x=>{x.preventDefault(),a.Cancel&&a.Cancel(),o()},s=x=>{a.Next&&a.Next(x),o()},c=y(!1),p=y(0),f=x=>{p.value=x},d=y(a.action=="nas"?"":"format"),l=y(),u=y(),m=()=>{switch(d.value){case"format":_();return;case"default":b();return;default:F.Warning("\u8BF7\u9009\u62E9\u9009\u7EBF");return}},b=()=>{let x="";const C=a.mount;if(C!=null&&C.mountPoint!=null&&(x=C.mountPoint),x!=""){s(x);return}F.Warning("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84")},_=()=>{const x=a.disk,C=a.mount;if(C){const A=C.mountPoint||C.path;if(!confirm(`\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A ${A} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm(`\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 ${A}?`))return;g(C);return}if(x){if(!confirm(`\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 ${x.venderModel} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?"))return;v(x);return}F.Warning("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E")},v=x=>T(this,null,function*(){if(x.name==null||x.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0");return}if(x.path==null||x.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84");return}c.value=!0;const C=F.Loading("\u521D\u59CB\u5316\u4E2D...");try{const A=yield S.Nas.Disk.Init.POST({name:x.name,path:x.path});if(A!=null&&A.data){const{result:D,error:$}=A==null?void 0:A.data;$&&F.Warning($),D&&(D.errorInfo?F.Warning(D.errorInfo):(F.Success("\u521D\u59CB\u5316\u6210\u529F"),D.childrens&&D.childrens.length>0&&(u.value=D.childrens[0]),l.value=D,f(1)))}}catch(A){F.Error(A)}C.Close(),c.value=!1}),g=x=>T(this,null,function*(){if(x.path==null||x.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}c.value=!0;const C=F.Loading("\u683C\u5F0F\u5316\u4E2D...");try{const A=yield S.Nas.Disk.Partition.Format.POST({path:x.path,uuid:x.uuid,mountPoint:x.mountPoint});if(A!=null&&A.data){const{result:D,error:$}=A==null?void 0:A.data;$&&F.Warning($),D&&(F.Success("\u683C\u5F0F\u5316\u6210\u529F"),u.value=D,f(1))}}catch(A){F.Error(A)}C.Close(),c.value=!1}),k=()=>{if(u.value&&u.value.mountPoint){s(u.value.mountPoint);return}F.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return(x,C)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>{var A;return[p.value==0?(i(),r("form",{key:0,class:"action format",onSubmit:nt(m,["prevent"])},[f0,t("div",m0,[t("div",b0,[v0,e.mount?(i(),r("div",g0,[t("span",null,"\u3010"+h(e.mount.total)+"\u3011",1),t("span",null,h(e.mount.mountPoint||e.mount.path),1)])):e.disk?(i(),r("div",_0,[t("span",null,"\u3010"+h(e.disk.size)+"\u3011",1),t("span",null,h(e.disk.venderModel),1)])):E("",!0)]),e.mount?(i(),r("div",h0,[x0,t("div",k0,h(e.mount.mountPoint||e.mount.path)+"\uFF08"+h(e.mount.total)+"\uFF09",1)])):E("",!0),t("div",w0,[y0,t("div",F0,[z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=D=>d.value=D),required:"",disabled:e.action=="disk"},[e.mount!=null?(i(),r("option",C0,"\u8BF7\u9009\u62E9\u9009\u9879")):E("",!0),$0,e.mount!=null?(i(),r("option",D0,"\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")):E("",!0)],8,E0),[[K,d.value]])]),t("div",B0,[d.value=="format"?(i(),r("p",Y0,"\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u4F20\u8F93\u901F\u5EA6\u66F4\u5FEB")):d.value=="default"?(i(),r("p",A0)):E("",!0)])])]),t("div",S0,[z0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:c.value},"\u8FD4\u56DE",8,P0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value},"\u4E0B\u4E00\u6B65",8,T0)])],40,p0)):p.value==1?(i(),r("div",I0,[t("div",L0,[M0,O0,l.value?(i(),r("div",N0,[U(" \u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8 "+h(l.value.venderModel)+" \u5E76\u6302\u8F7D\u5230 ",1),t("a",null,h((A=u.value)==null?void 0:A.mountPoint),1)])):E("",!0),u.value?(i(),r("div",q0,[V0,t("a",null,h(u.value.mountPoint),1)])):E("",!0),t("div",j0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:k},h(e.action=="nas"?"\u4E0B\u4E00\u6B65":"\u5B8C\u6210"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var G0=Y(R0,[["__scopeId","data-v-3a0bca4c"]]),Be=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(G0,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Ot=e=>(N("data-v-61e01d51"),e=e(),q(),e),U0=["onSubmit"],W0=Ot(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),H0={class:"action-body"},Z0={class:"disk-info"},J0=Ot(()=>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)),X0={key:0,class:"disk-info_mount-name"},K0={key:1,class:"disk-info_mount-name"},Q0={key:0,class:"label-item"},tu=Ot(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),eu={class:"label-item_path"},au={class:"label-item"},ou=Ot(()=>t("div",{class:"label-item_key"},[t("span",null,"\u6302\u8F7D\u70B9")],-1)),nu={class:"label-item_value"},iu=["value"],ru={class:"action-footer"},su=Ot(()=>t("div",{class:"auto"},null,-1)),du=["disabled"],uu=["disabled"],lu={key:1,class:"action result"},cu={class:"action-body"},pu=Ot(()=>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)),fu=Ot(()=>t("div",{class:"action-body_msg"},"\u6302\u8F7D\u6210\u529F",-1)),mu={key:0,class:"action-body_info"},bu={class:"btns"},vu=P({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){var _;const a=e,o=()=>{a.Close&&a.Close()},n=v=>{v.preventDefault(),a.Cancel&&a.Cancel(),o()},s=v=>{a.Next&&a.Next(v),o()},c=y(!1),p=y(0),f=y("/mnt/data_"+((_=a==null?void 0:a.mount)==null?void 0:_.name)),d=v=>{p.value=v};y(a.mount?"":"format"),y();const l=y(),u=()=>T(this,null,function*(){const v=a.mount;if(v==null){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A");return}if(v.path==null||v.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if(v.uuid==null||v.uuid==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}c.value=!0;const g=F.Loading("\u6302\u8F7D\u4E2D...");try{const k=yield S.Nas.Disk.Partition.Mount.POST({path:v.path,uuid:v.uuid,mountPoint:f.value});if(k!=null&&k.data){const{result:x,error:C}=k==null?void 0:k.data;C&&F.Warning(C),x&&(F.Success("\u6302\u8F7D\u6210\u529F"),l.value=x,d(1))}}catch(k){F.Error(k)}g.Close(),c.value=!1}),m=()=>{if(l.value&&l.value.mountPoint){s(l.value.mountPoint);return}F.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")},b=()=>{};return(v,g)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>{var k,x;return[p.value==0?(i(),r("form",{key:0,class:"action format",onSubmit:nt(b,["prevent"])},[W0,t("div",H0,[t("div",Z0,[J0,e.mount?(i(),r("div",X0,[t("span",null,"\u3010"+h(e.mount.total)+"\u3011",1),t("span",null,h(e.mount.mountPoint),1)])):e.disk?(i(),r("div",K0,[t("span",null,"\u3010"+h(e.disk.size)+"\u3011",1),t("span",null,h(e.disk.venderModel),1)])):E("",!0)]),e.mount?(i(),r("div",Q0,[tu,t("div",eu,h(e.mount.path)+"\uFF08"+h(e.mount.total)+"\uFF0C"+h((x=(k=e.mount)==null?void 0:k.filesystem)==null?void 0:x.toUpperCase())+"\uFF09",1)])):E("",!0),t("div",au,[ou,t("div",nu,[t("input",{type:"text",value:f.value},null,8,iu)])])]),t("div",ru,[su,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value,onClick:u},"\u786E\u5B9A",8,du),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:c.value},"\u8FD4\u56DE",8,uu)])],40,U0)):p.value==1?(i(),r("div",lu,[t("div",cu,[pu,fu,l.value?(i(),r("div",mu,[U(" \u5DF2\u6210\u529F\u5C06\u5206\u533A "+h(l.value.path)+" \u6302\u8F7D\u5230 ",1),t("a",null,h(l.value.mountPoint),1)])):E("",!0),t("div",bu,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:m},h(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var gu=Y(vu,[["__scopeId","data-v-61e01d51"]]),sa=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(gu,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const da=e=>(N("data-v-31be4af0"),e=e(),q(),e),_u={class:"disk-content"},hu={class:"disk-item"},xu={class:"disk-item_name"},ku={key:0},wu={key:1},yu={key:2},Fu={class:"disk_value"},Eu={key:0,class:"disk-item_value"},Cu={class:"value-data"},$u={key:1,class:"disk-item_value"},Du={key:0,class:"disk-item"},Bu={class:"disk-item_name"},Yu=["href"],Au={class:"disk_status"},Su={class:"disk_status_item"},zu={key:0,class:"tooltip-trigger disk_tip"},Pu=da(()=>t("div",{class:"tooltip-text tooltip-top"},[t("div",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u5BFC\u81F4\u65E0\u6CD5\u5199\u5165\u6570\u636E")],-1)),Tu={class:"disk_status_item"},Iu={key:0,class:"tooltip-trigger disk_tip"},Lu=da(()=>t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u786C\u76D8\u683C\u5F0F\u4E3ANTFS\uFF0C\u53EF\u80FD\u5BFC\u81F4\u786C\u76D8\u51FA\u73B0\u517C\u5BB9\u6027\u95EE\u9898\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")],-1)),Mu=P({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(e){const a=e,o=G(()=>a.part.filesystem=="No FileSystem"),n=G(()=>o.value||!a.part.isSystemRoot&&a.part.mountPoint&&(a.part.isReadOnly||a.part.filesystem=="ntfs")),s=function(){Be({action:"disk",disk:a.disk,mount:a.part,Cancel:()=>{},Next:l=>{location.reload()}})},c=()=>{sa({action:"nas",disk:a.disk,mount:a.part,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>T(this,null,function*(){const l=F.Loading("\u5904\u7406\u4E2D...");try{const u=yield S.Nas.Disk.InitRest.POST({name:a.disk.name,path:a.disk.path});if(u!=null&&u.data){const{result:m,error:b}=u==null?void 0:u.data;b&&F.Warning(b),m&&(F.Success("\u6302\u8F7D\u6210\u529F"),location.reload())}}catch(u){F.Error(u)}l.Close()}),f=G(()=>a.part.filesystem=="Free Space"),d=G(()=>{const l=a.part.mountPoint?a.part.mountPoint:"";return l.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+l.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+l});return(l,u)=>{var b;const m=Q("progress-item");return i(),r("div",_u,[t("li",hu,[t("div",xu,[w(f)?(i(),r("span",ku,"\u672A\u5206\u533A")):(i(),r("span",wu,h(e.part.name)+h(e.part.mountPoint?"":w(o)?"\uFF08\u672A\u683C\u5F0F\u5316\uFF09":"\uFF08\u672A\u6302\u8F7D\uFF09"),1)),e.part.isSystemRoot?(i(),r("span",yu,"\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")):E("",!0)]),t("div",Fu,[e.part.mountPoint||w(f)?(i(),r("div",Eu,[t("div",Cu,[B(m,{value:w(f)||!e.part.usage?0:e.part.usage,text:w(f)?"\u672A\u5206\u533A\uFF08"+e.part.total+"\uFF09":e.part.used+"/"+e.part.total,style:{backgroundColor:"#767676"}},null,8,["value","text"])])])):w(o)?E("",!0):(i(),r("div",$u,[t("div",{class:"value-data buttondiv",onClick:c},"\u624B\u52A8\u6302\u8F7D")])),w(f)?(i(),r("button",{key:2,class:"cbi-button cbi-button-apply",onClick:p},"\u5206\u533A\u5E76\u683C\u5F0F\u5316")):w(n)?(i(),r("button",{key:3,class:"cbi-button cbi-button-apply",onClick:s},"\u683C\u5F0F\u5316\u5206\u533A")):E("",!0)])]),e.part.mountPoint?(i(),r("li",Du,[t("span",Bu,[t("a",{href:w(d),target:"_blank"},h(e.part.mountPoint),9,Yu)]),t("div",Au,[t("div",Su,[t("div",null,"\u78C1\u76D8\u8BFB\u5199\u72B6\u6001\uFF1A"+h(e.part.isReadOnly?"\u53EA\u8BFB":"\u8BFB\u5199"),1),!e.part.isSystemRoot&&e.part.isReadOnly?(i(),r("div",zu,[B(gt),Pu])):E("",!0)]),t("div",Tu,[t("div",null,"\u78C1\u76D8\u683C\u5F0F\uFF1A"+h((b=e.part.filesystem)==null?void 0:b.toUpperCase()),1),e.part.filesystem=="ntfs"?(i(),r("div",Iu,[B(gt),Lu])):E("",!0)])])])):E("",!0)])}}});var Ou=Y(Mu,[["__scopeId","data-v-31be4af0"]]);const ua=e=>(N("data-v-5fa713aa"),e=e(),q(),e),Nu={key:0,class:"action"},qu={class:"title"},Vu=ua(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5206\u533A / \u6302\u8F7D\u70B9"),t("span",null,"\u5BB9\u91CF")],-1)),ju={class:"app-container_body"},Ru=ua(()=>t("div",{class:"auto"},null,-1)),Gu=P({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const a=e,o=y(0),n=()=>{a.Close&&a.Close()},s=c=>{c.preventDefault(),a.Cancel&&a.Cancel(),n()};return(c,p)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[o.value==0?(i(),r("div",Nu,[t("h2",qu,"\u5206\u533A\u4FE1\u606F - "+h((e.disk.name||"?")+(e.disk.isSystemRoot?"\uFF08\u7CFB\u7EDF\u76D8\uFF09":"")),1),t("ul",null,[t("li",null,[Vu,t("div",ju,[(i(!0),r(L,null,R(e.disk.childrens,(f,d)=>(i(),M(Ou,{key:d,part:f,disk:e.disk},null,8,["part","disk"]))),128))])])]),t("div",{class:"action-footer"},[Ru,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button"},"\u8FD4\u56DE")])])):E("",!0)]),_:1})]),_:1},8,["Close"]))}});var Uu=Y(Gu,[["__scopeId","data-v-5fa713aa"]]),Wu=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Uu,at(J({},e),{Close:()=>{n()}}));o.component("progress-item",ta),o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const fe=e=>(N("data-v-eb0dbbd8"),e=e(),q(),e),Hu={key:0,class:"disk-item error"},Zu=["title"],Ju={class:"disk-item_value"},Xu={class:"value-data"},Ku={class:"error"},Qu={key:1,class:"disk-item"},t1=["title"],e1={key:0,class:"disk_value"},a1=fe(()=>t("div",{class:"value-data"},[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},[t("span",{class:"error"}," S.M.A.R.T\u5F02\u5E38")])],-1)),o1=[a1],n1={key:1,class:"disk_value"},i1={class:"disk-item_value"},r1={class:"value-data"},s1=fe(()=>t("div",{class:"disk-item-tooltip"},[t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")],-1)),d1={class:"disk_icon"},u1={key:0,class:"tooltip-trigger"},l1={class:"disk_tip"},c1=fe(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\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)),p1={key:1,class:"tooltip-trigger"},f1={class:"disk_tip"},m1=fe(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")])],-1)),b1={key:2,class:"disk-item load"},v1=["title"],g1={class:"disk_value"},_1={class:"disk-item_value"},h1={class:"value-data"},x1={key:3,class:"disk-item load"},k1=["title"],w1={class:"disk_value"},y1={key:0,class:"disk-item_value"},F1={class:"value-data"},E1={key:1,class:"disk-item_value"},C1={class:"value-data"},$1={class:"disk_icon"},D1=P({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(e){const a=e,o=G(()=>a.disk.errorInfo?"error":a.disk.childrens==null||a.disk.childrens.length==0||a.disk.childrens.length==1&&a.disk.childrens[0].filesystem=="No FileSystem"?"load":a.disk.childrens.filter(f=>f.mountPoint).length==0?"unmounted":"success"),n=G(()=>{const f=a.disk;let d=f.name;return f.size&&(d+=`\u3010${f.size}\u3011`),f.venderModel&&(d+=`(${f.venderModel})`),d}),s=()=>{Be({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},c=()=>{Wu({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>{const f=a.disk,d=f.childrens||[];sa({action:"nas",disk:f,mount:d[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(f,d)=>{var u,m,b,_,v;const l=Q("progress-item");return w(o)=="error"?(i(),r("li",Hu,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,Zu),t("div",Ju,[t("div",Xu,[t("span",Ku,h(e.disk.errorInfo),1)])])])):w(o)=="success"?(i(),r("li",Qu,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,t1),e.disk.smartWarning&&e.smartWarning?(i(),r("div",e1,o1)):(i(),r("div",n1,[t("div",i1,[t("div",r1,[B(l,{value:e.disk.usage||0,text:`${e.disk.used}/${e.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),s1]),t("div",d1,[e.disk.isDockerRoot&&e.disk.isSystemRoot&&e.disk.usage&&e.disk.usage>=90?(i(),r("span",u1,[t("span",l1,[B(gt)]),c1])):E("",!0),!e.disk.isSystemRoot&&(((u=e.disk.childrens)==null?void 0:u.filter(g=>g.isReadOnly||g.filesystem=="ntfs").length)||0)>0?(i(),r("span",p1,[t("span",f1,[B(gt)]),m1])):E("",!0),!e.disk.isSystemRoot&&(((m=e.disk.childrens)==null?void 0:m.filter(g=>g.isReadOnly||g.filesystem=="ntfs").length)||0)>0?(i(),r("span",{key:2,class:"disk_infoicon",onClick:d[0]||(d[0]=g=>s())},[B(c0)])):E("",!0),t("span",{class:"disk_infoicon",onClick:d[1]||(d[1]=g=>c())},[B(Ue)])])]))])):w(o)=="load"?(i(),r("li",b1,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,v1),t("div",g1,[t("div",_1,[t("div",h1,[t("button",{onClick:d[2]||(d[2]=g=>s())},"\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")])])])])):w(o)=="unmounted"?(i(),r("li",x1,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,k1),t("div",w1,[((b=e.disk.childrens)==null?void 0:b.length)==1?(i(),r("div",y1,[t("div",F1,[t("button",{onClick:d[3]||(d[3]=g=>p())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),(((_=e.disk.childrens)==null?void 0:_.length)||0)>1?(i(),r("div",E1,[t("div",C1,[t("button",{onClick:d[4]||(d[4]=g=>c())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),t("div",$1,[(((v=e.disk.childrens)==null?void 0:v.length)||0)>1?(i(),r("span",{key:0,class:"disk_infoicon",onClick:d[5]||(d[5]=g=>c())},[B(Ue)])):E("",!0)])])])):E("",!0)}}});var we=Y(D1,[["__scopeId","data-v-eb0dbbd8"]]);const Gt=e=>(N("data-v-4a49a4e4"),e=e(),q(),e),B1={class:"app-container"},Y1={class:"app-container_title"},A1=Gt(()=>t("span",{class:"disk_info"},"\u78C1\u76D8\u4FE1\u606F",-1)),S1={class:"app-container_tool"},z1={class:"more_icon",title:"\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F"},P1={class:"DeviceBlock"},T1=Gt(()=>t("ul",null,[t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/raid"},"RAID\u7BA1\u7406")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/diskman"},"\u78C1\u76D8\u7BA1\u7406")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/mounts"},"\u6302\u8F7D\u70B9")])],-1)),I1={key:0},L1={class:"disk_loading_icon"},M1=Gt(()=>t("span",{class:"disk_loading_info"},"\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...",-1)),O1={key:1},N1=Gt(()=>t("div",{class:"app-container_info"},[t("span",null,"\u7CFB\u7EDF\u6839\u76EE\u5F55")],-1)),q1={class:"app-container_body"},V1={key:2},j1=Gt(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5DF2\u6302\u8F7D\u78C1\u76D8")],-1)),R1={class:"app-container_body"},G1={key:3},U1=Gt(()=>t("div",{class:"app-container_info"},[t("span",null,"RAID\u8BBE\u5907")],-1)),W1={class:"app-container_body"},H1=P({setup(e){const a=y(!1),o=it({disks:null,raidList:null}),n=()=>{S.Nas.Disk.Status.GET().then(f=>{var d;if((d=f==null?void 0:f.data)!=null&&d.result){const l=f.data.result;o.disks=l.disks||[]}})};(()=>T(this,null,function*(){try{const f=yield S.Raid.List.GET();if(f!=null&&f.data){const{success:d,error:l,result:u}=f.data;if(u&&(o.raidList=u.disks||[]),l)throw l}}catch(f){console.log(f)}}))(),n();const c=()=>{a.value=!a.value},p=()=>{ct.installAndGo("luci-app-linkease","\u6613\u6709\u4E91","/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(f,d)=>{var u,m;const l=Q("icon-loading");return i(),r("div",B1,[t("ul",null,[t("li",null,[t("div",Y1,[A1,t("div",S1,[t("div",{class:"app-container_configure",onClick:p}," \u6587\u4EF6\u7BA1\u7406 "),t("span",z1,[B($t,{onClick:c})])]),z(t("div",P1,[t("div",{class:"menu_background",onClick:c}),T1],512),[[wt,a.value]])])]),!w(o).disks&&!w(o).raidList?(i(),r("li",I1,[t("div",L1,[B(l,{size:38,color:"currentColor"}),M1])])):E("",!0),w(o).disks?(i(),r("li",O1,[N1,t("div",q1,[(i(!0),r(L,null,R((u=w(o).disks)==null?void 0:u.filter(b=>b.isSystemRoot),(b,_)=>(i(),M(we,{key:_,disk:b},null,8,["disk"]))),128))])])):E("",!0),w(o).disks?(i(),r("li",V1,[j1,t("div",R1,[(i(!0),r(L,null,R((m=w(o).disks)==null?void 0:m.filter(b=>!b.isSystemRoot),(b,_)=>(i(),M(we,{key:_,disk:b,smartWarning:!0},null,8,["disk"]))),128))])])):E("",!0),w(o).raidList&&w(o).raidList.length>0?(i(),r("li",G1,[U1,t("div",W1,[(i(!0),r(L,null,R(w(o).raidList,(b,_)=>(i(),M(we,{key:_,disk:b},null,8,["disk"]))),128))])])):E("",!0)])])}}});var Z1=Y(H1,[["__scopeId","data-v-4a49a4e4"]]);const la=e=>(N("data-v-13ca629c"),e=e(),q(),e),J1={class:"app-container_samba"},X1={key:0,class:"sambas-item"},K1=la(()=>t("div",{class:"sambas-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),Q1={class:"sambas-item_value"},tl=la(()=>t("li",{class:"sambas-item"},[t("div",{class:"sambas-item_name tit"},[t("span",null,"\u5730\u5740")]),t("div",{class:"sambas-item_value tit"},[t("span",null,"\u76EE\u5F55")])],-1)),el={class:"samba-item"},al={class:"samba-item_name"},ol=["title"],nl=["href"],il=P({props:{sambas:{type:Array}},setup(e){const a=window.location.hostname;return(o,n)=>{var s;return i(),r("ul",J1,[e.sambas?(i(),r("li",X1,[K1,t("div",Q1,[t("span",null,h((s=e.sambas)!=null&&s.length?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])])):E("",!0),tl,(i(!0),r(L,null,R(e.sambas,c=>(i(),r("li",el,[t("div",al,[t("span",null,"smb://"+h(w(a))+"/"+h(c.shareName),1)]),t("div",{class:"samba-item_value",title:c.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+c.path},h(c.path),9,nl)],8,ol)]))),256))])}}});var rl=Y(il,[["__scopeId","data-v-13ca629c"]]);const me=e=>(N("data-v-b4608492"),e=e(),q(),e),sl={class:"webdav-item"},dl=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),ul={class:"webdav-item_value"},ll={key:0,class:"webdav-item"},cl=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u6302\u8F7D\u8DEF\u5F84:")],-1)),pl={class:"webdav-item_value"},fl=["href"],ml={key:1,class:"webdav-item"},bl=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u670D\u52A1\u8DEF\u5F84:")],-1)),vl={class:"webdav-item_value"},gl=["href"],_l={key:2,class:"webdav-item"},hl=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u8D26\u53F7:")],-1)),xl={class:"webdav-item_value"},kl=P({props:{webdav:{type:Object}},setup(e){const a=e,o=G(()=>{var n;return`http://${location.hostname}:${(n=a.webdav)==null?void 0:n.port}`});return(n,s)=>{var c,p,f,d,l,u,m;return i(),r(L,null,[t("li",sl,[dl,t("div",ul,[t("span",null,h((c=e.webdav)!=null&&c.path?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])]),(p=e.webdav)!=null&&p.path?(i(),r("li",ll,[cl,t("div",pl,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=e.webdav)==null?void 0:f.path)},h((d=e.webdav)==null?void 0:d.path),9,fl)])])):E("",!0),(l=e.webdav)!=null&&l.port?(i(),r("li",ml,[bl,t("div",vl,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,gl)])])):E("",!0),(u=e.webdav)!=null&&u.username?(i(),r("li",_l,[hl,t("div",xl,[t("span",null,h((m=e.webdav)==null?void 0:m.username),1)])])):E("",!0)],64)}}});var wl=Y(kl,[["__scopeId","data-v-b4608492"]]);const Ye=e=>(N("data-v-4a3b6e0a"),e=e(),q(),e),yl={class:"disk-item"},Fl=Ye(()=>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)),El={class:"disk-item_f"},Cl={class:"disk-item_venderModel"},$l={class:"disk-item_used"},Dl=Ye(()=>t("div",{class:"auto"},null,-1)),Bl={class:"disk-item-r"},Yl={class:"disk-children"},Al=["onClick"],Sl=Ye(()=>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)),zl={key:0},Pl={key:1},Tl=P({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(e){var s,c;const a=e,o=y(!1);a.currDisk!=null&&((s=a.currDisk)==null?void 0:s.venderModel)==((c=a.disk)==null?void 0:c.venderModel)&&(o.value=!0);const n=p=>{o.value=!o.value,a.onDisk(p,null)};return(p,f)=>{var d;return i(),r("ul",yl,[t("li",{class:ot(["disk-info",{on:e.disk.venderModel==((d=e.currDisk)==null?void 0:d.venderModel),nopoint:e.disk.childrens==null||e.disk.childrens.length==0}]),onClick:f[0]||(f[0]=l=>n(e.disk))},[Fl,t("div",El,[t("div",Cl,h(e.disk.venderModel),1),t("div",$l,h(e.disk.used)+"/"+h(e.disk.size),1)]),Dl,t("div",Bl,h(e.disk.path),1)],2),z(t("div",Yl,[(i(!0),r(L,null,R(e.disk.childrens,l=>{var u,m;return i(),r("li",{class:ot(["disk-children_item",{on:l.uuid==((u=e.currMountPoint)==null?void 0:u.uuid)&&l.path==((m=e.currMountPoint)==null?void 0:m.path)}]),onClick:b=>e.onDisk(e.disk,l)},[Sl,l.mountPoint?(i(),r("span",zl," \u3010"+h(l.filesystem)+"\u3011 "+h(l.mountPoint)+" \uFF08"+h(l.used)+"/"+h(l.total)+"\uFF09 ["+h(l.uuid)+"] ",1)):(i(),r("span",Pl," \u3010"+h(l.filesystem)+"\u3011 "+h(l.mountPoint||l.path||"\u672A\u6302\u8F7D\u78C1\u76D8")+" ["+h(l.uuid)+"] ",1))],10,Al)}),256))],512),[[wt,o.value]])])}}});var We=Y(Tl,[["__scopeId","data-v-4a3b6e0a"]]);const Ae=e=>(N("data-v-12d0f96b"),e=e(),q(),e),Il={class:"action list"},Ll=Ae(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")],-1)),Ml={class:"action-body"},Ol={class:"disk-list"},Nl=Ae(()=>t("div",{class:"action-msg"},[t("span",null,[U(" \u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80 "),t("a",{href:"/cgi-bin/luci/admin/system/diskman"},"\u9AD8\u7EA7\u8BBE\u7F6E")])],-1)),ql=Ae(()=>t("div",{class:"auto"},null,-1)),Vl=P({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(e){const a=e,o=y(!0),n=it({disks:[],raids:[]});(()=>T(this,null,function*(){const b=yield Promise.all([S.Nas.Disk.Status.GET(),S.Raid.List.GET()]);try{if(b[0]){const _=b[0];_!=null&&_.data.result&&(n.disks=(_==null?void 0:_.data.result.disks)||[])}if(b[1]){const _=b[1];_.data.result&&(n.raids=_.data.result.disks||[])}}catch(_){F.Warning(_)}}))();const c=y(),p=y(),f=(b,_)=>{c.value=b,p.value=_},d=()=>{a.Close&&a.Close()},l=()=>{a.Cancel&&a.Cancel(),d()},u=b=>{a.Next&&a.Next(b),d()},m=()=>{if(c.value==null){F.Warning("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8");return}if(c.value.childrens!=null&&c.value.childrens.length>0&&p.value==null){F.Warning("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A");return}if(p.value!=null&&(p.value.mountPoint==null||p.value.mountPoint=="")){F.Warning("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D");return}o.value=!1,Be({action:"nas",disk:c.value,mount:p.value,Cancel:()=>{o.value=!0},Next:b=>{u(b)}})};return(b,_)=>o.value?(i(),M(et,{key:0,type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",Il,[Ll,t("div",Ml,[t("div",Ol,[(i(!0),r(L,null,R(w(n).disks,v=>(i(),M(We,{disk:v,onDisk:f,currDisk:c.value,currMountPoint:p.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(i(!0),r(L,null,R(w(n).raids,v=>(i(),M(We,{disk:v,onDisk:f,currDisk:c.value,currMountPoint:p.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),Nl,t("div",{class:"action-footer"},[ql,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:l,type:"button"},"\u8FD4\u56DE"),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:m,type:"button"},"\u4E0B\u4E00\u6B65")])])]),_:1})]),_:1})):E("",!0)}});var jl=Y(Vl,[["__scopeId","data-v-12d0f96b"]]),Rl=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(jl,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const be=e=>(N("data-v-67a63e8f"),e=e(),q(),e),Gl={class:"action"},Ul={class:"action-body"},Wl=be(()=>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)),Hl=be(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),Zl={class:"info"},Jl=be(()=>t("span",null,"\u524D\u5F80",-1)),Xl=["href"],Kl=be(()=>t("span",null,"\u914D\u7F6E",-1)),Ql=P({props:{Close:Function},setup(e){const a=e,o=y(""),n=G(()=>`http://${location.hostname}:${o.value}`);(()=>{S.Nas.Linkease.Enable.POST().then(p=>{var f,d;(f=p==null?void 0:p.data)!=null&&f.result&&(o.value=((d=p.data.result)==null?void 0:d.port)||"")})})();const c=()=>{a.Close&&a.Close(),location.reload()};return(p,f)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",Gl,[t("div",Ul,[Wl,Hl,t("div",Zl,[Jl,t("a",{href:w(n),target:"_blank",rel:"noopener noreferrer"},h(w(n)),9,Xl),Kl]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:c},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var tc=Y(Ql,[["__scopeId","data-v-67a63e8f"]]),ec=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(tc,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const ae=e=>(N("data-v-30ef6ccb"),e=e(),q(),e),ac=["onSubmit"],oc=ae(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Webdav\u5171\u4EAB\u914D\u7F6E")],-1)),nc={class:"action-body"},ic={class:"label-item"},rc=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),sc={class:"label-item_value"},dc=["value"],uc={class:"label-item"},lc=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),cc={class:"label-item_value"},pc={class:"label-item"},fc=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),mc={class:"label-item_value"},bc={class:"action-footer"},vc=ae(()=>t("div",{class:"auto"},null,-1)),gc=["disabled"],_c=["disabled"],hc=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=d=>{d.preventDefault(),a.Close&&a.Close()},n=y(!1),s=y({username:"root",password:"",rootPath:a.rootPath});(()=>T(this,null,function*(){const d=F.Loading("\u52A0\u8F7D\u4E2D...");n.value=!0;try{const l=yield S.Nas.Webdav.Status.GET();if(l!=null&&l.data){const{result:u,error:m}=l.data;if(m){F.Warning(m);return}u&&(u.username&&(s.value.username=u.username),u.password&&(s.value.password=u.password))}}catch(l){F.Error(l)}n.value=!1,d.Close()}))();const p=()=>{const d=s.value;if(d.rootPath==""){F.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(d.username==""){F.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(d.password==""){F.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}f(d)},f=d=>T(this,null,function*(){n.value=!0;const l=F.Loading("\u521B\u5EFA\u4E2D...");try{const u=yield S.Nas.Webdav.Create.POST(d);if(u!=null&&u.data){const{error:m,result:b}=u.data;m&&F.Warning(m),b&&(F.Success("\u521B\u5EFA\u6210\u529F"),window.setTimeout(()=>{location.reload()},1e3))}}catch(u){F.Error(u)}l.Close(),n.value=!1});return(d,l)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:nt(p,["prevent"])},[oc,t("div",nc,[t("div",ic,[rc,t("div",sc,[t("input",{type:"text",value:s.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,dc)])]),t("div",uc,[lc,t("div",cc,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":l[0]||(l[0]=u=>s.value.username=u)},null,512),[[W,s.value.username,void 0,{trim:!0}]])])]),t("div",pc,[fc,t("div",mc,[z(t("input",{type:"password","onUpdate:modelValue":l[1]||(l[1]=u=>s.value.password=u)},null,512),[[W,s.value.password,void 0,{trim:!0}]])])])]),t("div",bc,[vc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:o,disabled:n.value},"\u5173\u95ED",8,gc),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,_c)])],40,ac)]),_:1})]),_:1}))}});var xc=Y(hc,[["__scopeId","data-v-30ef6ccb"]]),kc=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(xc,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const At=e=>(N("data-v-3ef9e48f"),e=e(),q(),e),wc=["onSubmit"],yc=At(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Samba\u5171\u4EAB\u914D\u7F6E")],-1)),Fc={class:"action-body"},Ec={class:"label-item"},Cc=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),$c={class:"label-item_value"},Dc=["value"],Bc={class:"label-item"},Yc=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")],-1)),Ac={class:"label-item_value"},Sc={class:"label-item"},zc=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),Pc={class:"label-item_value"},Tc={class:"label-item"},Ic=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),Lc={class:"label-item_value"},Mc={class:"samba-item"},Oc={class:"samba-item_allow"},Nc=At(()=>t("label",{for:"allow",class:"samba-allow"},"\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)",-1)),qc={class:"samba-item_tips"},Vc={class:"tooltip-trigger"},jc={class:"samba_tip"},Rc=At(()=>t("span",{class:"samba_dir_tip"},"\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50",-1)),Gc={class:"action-footer"},Uc=At(()=>t("div",{class:"auto"},null,-1)),Wc=["disabled"],Hc=["disabled"],Zc=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=f=>{f.preventDefault(),a.Close&&a.Close()},n=y(!1),s=y({shareName:"",username:"",password:"",rootPath:a.rootPath,allowLegacy:!1}),c=()=>{const f=s.value;if(f.rootPath==""){F.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(f.shareName==""){F.Warning("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A");return}if(f.username==""){F.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(f.password==""){F.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}const d=yt.checkSmabaUserName(f.username);if(d!==!0){F.Warning(`${d}`);return}p(f)},p=f=>T(this,null,function*(){n.value=!0;const d=F.Loading("\u521B\u5EFA\u4E2D...");try{const l=yield S.Nas.Samba.Create.POST(f);if(l!=null&&l.data){const{error:u,result:m}=l.data;u&&F.Warning(u),m&&(F.Success("\u521B\u5EFA\u6210\u529F"),window.setTimeout(()=>{location.reload()},1e3))}}catch(l){F.Error(l)}d.Close(),n.value=!1});return(f,d)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:nt(c,["prevent"])},[yc,t("div",Fc,[t("div",Ec,[Cc,t("div",$c,[t("input",{type:"text",value:s.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Dc)])]),t("div",Bc,[Yc,t("div",Ac,[z(t("input",{type:"text","onUpdate:modelValue":d[0]||(d[0]=l=>s.value.shareName=l),required:"",placeholder:"\u5171\u4EAB\u540D\u79F0"},null,512),[[W,s.value.shareName,void 0,{trim:!0}]])])]),t("div",Sc,[zc,t("div",Pc,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":d[1]||(d[1]=l=>s.value.username=l)},null,512),[[W,s.value.username,void 0,{trim:!0}]])])]),t("div",Tc,[Ic,t("div",Lc,[z(t("input",{type:"password","onUpdate:modelValue":d[2]||(d[2]=l=>s.value.password=l)},null,512),[[W,s.value.password,void 0,{trim:!0}]])])]),t("div",Mc,[t("div",Oc,[z(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":d[3]||(d[3]=l=>s.value.allowLegacy=l)},null,512),[[Lt,s.value.allowLegacy]]),Nc]),t("div",qc,[t("span",Vc,[t("span",jc,[B(gt)]),Rc])])])]),t("div",Gc,[Uc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:o,disabled:n.value},"\u5173\u95ED",8,Wc),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,Hc)])],40,wc)]),_:1})]),_:1}))}});var Jc=Y(Zc,[["__scopeId","data-v-3ef9e48f"]]),Xc=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Jc,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Kt=e=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(e)!=-1,Ut=e=>(N("data-v-650e3bd4"),e=e(),q(),e),Kc={key:0,class:"action"},Qc=Ut(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC",-1)),t2=Ut(()=>t("h3",{class:"desc"},"\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1",-1)),e2=Ut(()=>t("option",{value:"linkease"},"\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09",-1)),a2=Ut(()=>t("option",{value:"samba"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09",-1)),o2=Ut(()=>t("option",{value:"webdav"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09",-1)),n2=[e2,a2,o2],i2={key:0,class:"tips"},r2=U("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C"),s2=Ut(()=>t("a",{href:"/cgi-bin/luci/admin/nas/unishare"},"\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB",-1)),d2=U("\u201D"),u2=[r2,s2,d2],l2={class:"btns"},c2=["disabled"],p2=P({props:{setup:Number,Close:{type:Function,required:!0}},setup(e){const a=e,o=y(!0),n=y("linkease"),s=y(!1),c=y(a.setup||0),p=()=>{a.Close&&a.Close()},f=()=>T(this,null,function*(){switch(n.value){case"webdav":yield d();break;case"samba":yield u();break;case"linkease":yield l();break}}),d=()=>T(this,null,function*(){s.value=!0,(yield ct.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&m(),s.value=!1}),l=()=>T(this,null,function*(){s.value=!0,(yield ct.checkAndInstallApp("linkease","\u6613\u6709\u4E91","app-meta-linkease"))&&b(),s.value=!1}),u=()=>T(this,null,function*(){s.value=!0;const g=F.Loading("\u914D\u7F6E\u4E2D...");m(),g.Close(),s.value=!1}),m=()=>{s.value=!1,o.value=!1,Rl({Cancel:()=>{o.value=!0},Next:g=>{switch(n.value){case"webdav":_(g);break;case"samba":v(g);break}}})},b=()=>{ec({}),p()},_=g=>{kc({rootPath:g}),p()},v=g=>{Xc({rootPath:g}),p()};return(g,k)=>o.value?(i(),M(et,{key:0,Close:e.Close,type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[c.value==0?(i(),r("div",Kc,[Qc,t2,t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":k[0]||(k[0]=x=>n.value=x)},n2,512),[[K,n.value]])])]),w(Kt)("unishare")?(i(),r("div",i2,u2)):E("",!0),t("div",l2,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:f,type:"button",disabled:s.value},"\u4E0B\u4E00\u6B65",8,c2),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p,type:"button"},"\u53D6\u6D88")])])):E("",!0)]),_:1})]),_:1},8,["Close"])):E("",!0)}});var f2=Y(p2,[["__scopeId","data-v-650e3bd4"]]),ca=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(f2,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Se=e=>(N("data-v-edf68726"),e=e(),q(),e),m2={class:"app-container_linkease"},b2={class:"linkease-item"},v2=Se(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),g2={class:"linkease-item_value"},_2={key:0,class:"configure"},h2={key:0,class:"linkease-item"},x2=Se(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u670D\u52A1\u5730\u5740:")],-1)),k2={class:"linkease-item_value"},w2=["href"],y2=Se(()=>t("div",null,[t("a",{href:" https://app.linkease.com/",target:"_blank"},"\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")],-1)),F2=P({props:{linkease:{type:Object}},setup(e){const a=e,o=G(()=>{var s;return`http://${location.hostname}:${(s=a.linkease)==null?void 0:s.port}`}),n=()=>{ca({setup:0})};return(s,c)=>{var p,f,d;return i(),r("ul",m2,[t("li",b2,[v2,t("div",g2,[(p=e.linkease)!=null&&p.enabel?(i(),r("span",_2,"\u5DF2\u914D\u7F6E")):(i(),r("span",{key:1,class:"configure enabel",onClick:c[0]||(c[0]=l=>n())},"\u672A\u914D\u7F6E"))])]),(f=e.linkease)!=null&&f.enabel?(i(),r(L,{key:0},[(d=e.linkease)!=null&&d.port?(i(),r("li",h2,[x2,t("div",k2,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,w2)])])):E("",!0)],64)):E("",!0),y2])}}});var E2=Y(F2,[["__scopeId","data-v-edf68726"]]);const pa=e=>(N("data-v-62b7dbe8"),e=e(),q(),e),C2={class:"app-container"},$2={class:"app-container_title"},D2=pa(()=>t("span",null,[t("span",null,"\u5B58\u50A8\u670D\u52A1")],-1)),B2={class:"app-container_tool"},Y2={class:"more_icon",title:"\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F"},A2={class:"DeviceBlock"},S2=pa(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/services/samba4"},"SAMBA\u9AD8\u7EA7\u914D\u7F6E")],-1)),z2={class:"app-container_body"},P2={class:"app-container_nas-menu"},T2=P({setup(e){const a=y(!1),o=y("linkease"),n=y(),s=Qe();(()=>{S.Nas.Service.Status.GET().then(l=>{var u;if((u=l==null?void 0:l.data)!=null&&u.result){const m=l.data.result;n.value=m,m.webdav&&(s.webdav=m.webdav)}})})();const p=()=>{ca({setup:0})},f=()=>{a.value=!a.value},d=()=>{f(),ct.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(l,u)=>{var m,b,_;return i(),r("div",C2,[t("div",$2,[D2,t("div",B2,[t("div",{class:"app-container_configure",onClick:p},"\u5FEB\u901F\u914D\u7F6E"),t("span",Y2,[B($t,{onClick:f})])]),z(t("div",A2,[t("div",{class:"menu_background",onClick:f}),t("ul",null,[S2,t("li",null,[t("a",{onClick:d},"WebDAV\u9AD8\u7EA7\u914D\u7F6E")])])],512),[[wt,a.value]])]),t("div",z2,[t("ul",P2,[t("button",{onClick:u[0]||(u[0]=v=>o.value="linkease"),class:ot({on:o.value=="linkease"})},"\u6613\u6709\u4E91",2),t("button",{onClick:u[1]||(u[1]=v=>o.value="samba"),class:ot({on:o.value=="samba"})},"SAMBA",2),t("button",{onClick:u[2]||(u[2]=v=>o.value="webdav"),class:ot({on:o.value=="webdav"})},"WEBDAV",2)]),o.value=="samba"?(i(),M(rl,{key:0,sambas:(m=n.value)==null?void 0:m.sambas},null,8,["sambas"])):o.value=="webdav"?(i(),M(wl,{key:1,webdav:(b=n.value)==null?void 0:b.webdav},null,8,["webdav"])):o.value=="linkease"?(i(),M(E2,{key:2,linkease:(_=n.value)==null?void 0:_.linkease},null,8,["linkease"])):E("",!0)])])}}});var I2=Y(T2,[["__scopeId","data-v-62b7dbe8"]]);const ve=e=>(N("data-v-3fd3a42d"),e=e(),q(),e),L2={class:"app-container_docker"},M2={class:"docker-item"},O2=ve(()=>t("div",{class:"docker-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),N2={key:0,class:"docker-item_value"},q2=ve(()=>t("span",{class:"configure"},"\u672A\u5B89\u88C5",-1)),V2=[q2],j2={key:1,class:"docker-item_value"},R2={class:"input-switch"},G2=["value","disabled"],U2=ve(()=>t("em",null,null,-1)),W2=[U2],H2={key:0,class:"docker-item"},Z2=ve(()=>t("div",{class:"docker-item_name"},[t("span",null,"Docker\u6839\u76EE\u5F55\uFF1A")],-1)),J2={class:"docker-item_value"},X2={class:"configure enabel"},K2={key:0},Q2={class:"tooltip-trigger"},t6={class:"docker_tip"},e6={class:"tooltip-text tooltip-top"},a6={class:"docker_dir_tip"},o6=P({props:{docker:{type:Object}},setup(e){var c;const a=e,o=G(()=>{var p;return((p=a.docker)==null?void 0:p.status)!="not installed"}),n=it({enable:((c=a.docker)==null?void 0:c.status)=="running",disabled:!1}),s=()=>T(this,null,function*(){n.disabled=!0;try{const p=yield S.Guide.DockerSwitch.POST({enable:n.enable});if(p!=null&&p.data){const{success:f,error:d}=p.data;if(d)throw n.enable=!n.enable,d;(f||0)==0}}catch(p){F.Warning(`${p}`)}finally{n.disabled=!1}});return(p,f)=>{var d,l,u,m;return i(),r("ul",L2,[t("li",M2,[O2,(d=a.docker)!=null&&d.status?(i(),r(L,{key:0},[w(o)?(i(),r("div",j2,[t("label",R2,[z(t("input",{type:"checkbox",hidden:"",value:!w(n).enable,"onUpdate:modelValue":f[0]||(f[0]=b=>w(n).enable=b),disabled:w(n).disabled,onChange:s},null,40,G2),[[Lt,w(n).enable]]),t("span",{class:ot(w(n).enable?"enable":"close")},W2,2)])])):(i(),r("div",N2,V2))],64)):E("",!0)]),((l=e.docker)==null?void 0:l.status)=="running"?(i(),r("li",H2,[Z2,t("div",J2,[t("span",X2,h((u=e.docker)==null?void 0:u.path),1),(m=e.docker)!=null&&m.errorInfo?(i(),r("span",K2,[t("span",Q2,[t("span",t6,[B(gt)]),t("div",null,[t("div",e6,[t("span",a6,h(e.docker.errorInfo),1)])])])])):E("",!0)])])):E("",!0)])}}});var n6=Y(o6,[["__scopeId","data-v-3fd3a42d"]]);const i6={},r6={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"},s6=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),d6=[s6];function u6(e,a){return i(),r("svg",r6,d6)}var l6=Y(i6,[["render",u6]]);const pt=e=>(N("data-v-b8b2bddc"),e=e(),q(),e),c6={key:0,class:"action"},p6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),f6=pt(()=>t("p",{class:"desc"},"\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:",-1)),m6={key:1,class:"action"},b6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),v6=pt(()=>t("p",{class:"desc"},"\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:",-1)),g6={class:"roots"},_6=pt(()=>t("span",{class:"roots_tit"},"Docker\u6839\u76EE\u5F55\uFF1A",-1)),h6={class:"root"},x6={class:"move"},k6=pt(()=>t("span",{class:"roots_tit"},"\u8FC1\u79FB\u5230\uFF1A",-1)),w6={key:0},y6=["onSubmit"],F6={class:"select-editable"},E6=pt(()=>t("option",{selected:"",value:null},"\u8BF7\u9009\u62E9\u8FC1\u79FB\u5730\u5740",-1)),C6=["value"],$6=pt(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),D6={key:1,class:"tips"},B6={class:"tips_content"},Y6=pt(()=>t("span",{class:"tip"},"\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\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)),A6={key:0,class:"btns"},S6={key:1,class:"btns"},z6={key:2,class:"action docker_success"},P6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),T6={class:"finished"},I6=pt(()=>t("p",{class:"successed"},"\u8FC1\u79FB\u6210\u529F\uFF01",-1)),L6={key:3,class:"action docker_download"},M6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),O6={class:"finished"},N6=pt(()=>t("p",{class:"successed"},"\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A",-1)),q6={class:"docker_moves"},V6={class:"moves change"},j6=pt(()=>t("label",{for:"move"},"\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)),R6={class:"moves"},G6=pt(()=>t("label",{for:"cover"},"\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)),U6={class:"btns"},W6=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=y(),n=y(),s=y(0),c=y("null"),p=y(""),f=y(),d=y(!1),l=y("");(()=>{S.Nas.Disk.Status.GET().then(x=>{x!=null&&x.data.result&&(f.value=x==null?void 0:x.data.result)}),S.Guide.DockerStatus.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const A=x.data.result;o.value=A}}),S.Guide.DockerPartitionList.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const A=x.data.result;n.value=A}})})();const m=x=>{let C=c.value;if(C=="useInput"&&(C=p.value),C==null||C=="null"||C=="")return;const A=F.Loading("\u6B63\u5728\u8FC1\u79FB\u4E2D...");S.Guide.DockerTransfer.POST({path:C,force:x,overwriteDir:!!l.value}).then(D=>{var $;if(D!=null&&D.data){if((D.data.success||0)==0){if(($=D.data.result)!=null&&$.emptyPathWarning){d.value=!0,s.value=2;return}s.value=1;return}else if(D.data.error)throw D.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(D=>{F.Error(D)}).finally(()=>A.Close())},b=()=>{d.value=!1,m(!1)},_=x=>{x.preventDefault(),a.Close&&a.Close()},v=x=>{x.preventDefault(),location.reload()},g=x=>{x.preventDefault(),s.value=0},k=x=>{x.preventDefault(),m(!0)};return(x,C)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>{var A,D,$,O,H,j;return[s.value==-1?(i(),r("div",c6,[p6,f6,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},"\u53D6\u6D88")])])):s.value==0?(i(),r("div",m6,[b6,v6,t("div",g6,[_6,t("span",h6,h((A=o.value)==null?void 0:A.path),1)]),t("div",x6,[k6,($=(D=n.value)==null?void 0:D.partitionList)!=null&&$.length?(i(),r("div",w6,[t("form",{onSubmit:nt(b,["prevent"])},[t("label",null,[t("div",F6,[z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=Z=>c.value=Z)},[E6,(i(!0),r(L,null,R((O=n.value)==null?void 0:O.partitionList,(Z,_t)=>(i(),r("option",{value:Z,key:_t},h(Z),9,C6))),128)),$6],512),[[K,c.value,void 0,{trim:!0}]]),c.value=="useInput"?z((i(),r("input",{key:0,type:"text","onUpdate:modelValue":C[1]||(C[1]=Z=>p.value=Z),required:"",placeholder:"\u8BF7\u8F93\u5165\u8FC1\u79FB\u5730\u5740"},null,512)),[[W,p.value,void 0,{trim:!0}]]):E("",!0)])])],40,y6)])):n.value?(i(),r("div",D6,[t("div",B6,[B(gt),Y6])])):E("",!0)]),(j=(H=n.value)==null?void 0:H.partitionList)!=null&&j.length?(i(),r("div",A6,[t("button",{class:"cbi-button cbi-button-apply",onClick:b},"\u786E\u5B9A"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},"\u53D6\u6D88")])):(i(),r("div",S6,[t("button",{class:"cbi-button cbi-button-apply",onClick:_},"\u786E\u5B9A")]))])):s.value==1?(i(),r("div",z6,[P6,t("div",T6,[B(De)]),I6,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:v},"\u786E\u5B9A")])])):s.value==2?(i(),r("div",L6,[M6,t("div",O6,[B(l6)]),N6,t("div",q6,[t("div",V6,[z(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":C[2]||(C[2]=Z=>l.value=Z),value:""},null,512),[[ft,l.value]]),j6]),t("div",R6,[z(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":C[3]||(C[3]=Z=>l.value=Z),value:"true"},null,512),[[ft,l.value]]),G6])]),t("div",U6,[d.value?(i(),r("button",{key:0,class:"cbi-button cbi-button-apply",onClick:k},"\u786E\u5B9A")):E("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:g},"\u8FD4\u56DE"),d.value?E("",!0):(i(),r("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:v},"\u53D6\u6D88"))])])):E("",!0)]}),_:1},8,["Close"]))}});var H6=Y(W6,[["__scopeId","data-v-b8b2bddc"]]);const Z6=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(H6,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},fa=e=>(N("data-v-bb527ce2"),e=e(),q(),e),J6={class:"app-container"},X6={class:"app-container_title"},K6=fa(()=>t("span",null,[t("span",null,"Docker")],-1)),Q6={key:0,class:"app-container_tool"},t5={key:1,class:"more_icon",title:"\u67E5\u770BDocker\u4FE1\u606F"},e5={class:"DeviceBlock"},a5=fa(()=>t("ul",null,[t("li",null,[t("a",{href:"/cgi-bin/luci/admin/docker/overview"},"Docker\u9AD8\u7EA7\u914D\u7F6E")])],-1)),o5={key:1,class:"loading_placeholder"},n5=P({props:{docker:{type:Object}},setup(e){const a=y(!1),o=y(),n=y(!1),s=()=>{n.value=!n.value},c=()=>{Z6()};return setTimeout(()=>{S.Guide.DockerStatus.GET().then(f=>{var d;if((d=f==null?void 0:f.data)!=null&&d.result){const l=f.data.result;o.value=l}}).finally(()=>{a.value=!0})},1100),(f,d)=>{var u,m;const l=Q("icon-loading");return i(),r("div",J6,[t("div",X6,[K6,a.value?(i(),r("div",Q6,[((u=o.value)==null?void 0:u.status)!="not installed"?(i(),r("div",{key:0,class:"app-container_configure",onClick:c},"\u5FEB\u901F\u914D\u7F6E ")):E("",!0),((m=o.value)==null?void 0:m.status)==="running"?(i(),r("span",t5,[B($t,{onClick:s})])):E("",!0)])):E("",!0),z(t("div",e5,[t("div",{class:"menu_background",onClick:s}),a5],512),[[wt,n.value]])]),t("div",null,[a.value?(i(),M(n6,{key:0,docker:o.value},null,8,["docker"])):(i(),r("div",o5,[B(l,{size:50,color:"currentColor"})]))])])}}});var i5=Y(n5,[["__scopeId","data-v-bb527ce2"]]);const oe=e=>(N("data-v-dbe287b2"),e=e(),q(),e),r5={class:"app-container_aria2"},s5={class:"aria2-item"},d5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),u5={class:"aria2-item_value"},l5={key:0,class:"configure"},c5={key:1,class:"configure enabel"},p5={class:"aria2-item"},f5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),m5={class:"aria2-item_value"},b5=["href"],v5={class:"aria2-item"},g5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),_5={class:"aria2-item_value"},h5=["href"],x5={class:"aria2-item"},k5=oe(()=>t("div",{class:"aria2-item_name right"},[t("span",null,"\u8BA4\u8BC1\u5931\u8D25\uFF1F")],-1)),w5={class:"aria2-item_value"},y5=["href"],F5=oe(()=>t("div",{class:"use-url_app"},[t("a",{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"},"\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")],-1)),E5=P({props:{aria2:{type:Object}},setup(e){const a=e,o=G(()=>{var s;return`${location.origin}${(s=a.aria2)==null?void 0:s.webPath}`}),n=G(()=>{var p,f,d;let s=(p=a.aria2)==null?void 0:p.rpcToken;s&&(s=encodeURIComponent(btoa(s)));const c=encodeURIComponent(location.hostname);return`${location.origin}${(f=a.aria2)==null?void 0:f.webPath}/#!/settings/rpc/set/http/${c}/${(d=a.aria2)==null?void 0:d.rpcPort}/jsonrpc/${s}`});return(s,c)=>{var p,f,d,l;return i(),r("ul",r5,[t("li",s5,[d5,t("div",u5,[((p=e.aria2)==null?void 0:p.status)=="running"?(i(),r("span",l5,"\u5DF2\u542F\u52A8")):(i(),r("span",c5,"\u672A\u542F\u52A8"))])]),((f=e.aria2)==null?void 0:f.status)=="running"?(i(),r(L,{key:0},[t("li",p5,[f5,t("div",m5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((d=e.aria2)==null?void 0:d.downloadPath)},h((l=e.aria2)==null?void 0:l.downloadPath),9,b5)])]),t("li",v5,[g5,t("div",_5,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,h5)])]),t("li",x5,[k5,t("div",w5,[t("a",{href:w(n),target:"_blank",rel:"noopener noreferrer"},"\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg",8,y5)])])],64)):E("",!0),F5])}}});var C5=Y(E5,[["__scopeId","data-v-dbe287b2"]]);const ge=e=>(N("data-v-1af61e64"),e=e(),q(),e),$5={class:"app-container_qbittorrent"},D5={class:"qbittorrent-item"},B5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),Y5={class:"qbittorrent-item_value"},A5={key:0,class:"configure"},S5={key:1,class:"configure enabel"},z5={class:"qbittorrent-item"},P5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),T5={class:"qbittorrent-item_value"},I5=["href"],L5={class:"qbittorrent-item"},M5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),O5={class:"qbittorrent-item_value"},N5=["href"],q5=ge(()=>t("li",{class:"qbittorrent-item"},[t("div",{class:"qbittorrent-item_name right"},[t("span",null,"\u9ED8\u8BA4\u7528\u6237\u540D\uFF1Aadmin")]),t("div",{class:"qbittorrent-item_value"},[t("span",null,"\u9ED8\u8BA4\u5BC6\u7801\uFF1Aadminadmin")])],-1)),V5=P({props:{qbittorrent:{type:Object}},setup(e){const a=e,o=G(()=>{var n;return`http://${location.hostname}${(n=a.qbittorrent)==null?void 0:n.webPath}`});return(n,s)=>{var c,p,f,d;return i(),r("ul",$5,[t("li",D5,[B5,t("div",Y5,[((c=e.qbittorrent)==null?void 0:c.status)=="running"?(i(),r("span",A5,"\u5DF2\u542F\u52A8")):(i(),r("span",S5,"\u672A\u542F\u52A8"))])]),((p=e.qbittorrent)==null?void 0:p.status)=="running"?(i(),r(L,{key:0},[t("li",z5,[P5,t("div",T5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=e.qbittorrent)==null?void 0:f.downloadPath)},h((d=e.qbittorrent)==null?void 0:d.downloadPath),9,I5)])]),t("li",L5,[M5,t("div",O5,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,N5)])]),q5],64)):E("",!0)])}}});var j5=Y(V5,[["__scopeId","data-v-1af61e64"]]);const ze=e=>(N("data-v-31717210"),e=e(),q(),e),R5={class:"app-container_transmission"},G5={class:"transmission-item"},U5=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),W5={class:"transmission-item_value"},H5={key:0,class:"configure"},Z5={key:1,class:"configure enabel"},J5={class:"transmission-item"},X5=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),K5={class:"transmission-item_value"},Q5=["href"],t3={class:"transmission-item"},e3=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),a3={class:"transmission-item_value"},o3=["href"],n3=P({props:{transmission:{type:Object}},setup(e){const a=e,o=G(()=>{var n;return`http://${location.hostname}${(n=a.transmission)==null?void 0:n.webPath}`});return(n,s)=>{var c,p,f,d;return i(),r("ul",R5,[t("li",G5,[U5,t("div",W5,[((c=e.transmission)==null?void 0:c.status)=="running"?(i(),r("span",H5,"\u5DF2\u542F\u52A8")):(i(),r("span",Z5,"\u672A\u542F\u52A8"))])]),((p=e.transmission)==null?void 0:p.status)=="running"?(i(),r(L,{key:0},[t("li",J5,[X5,t("div",K5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=e.transmission)==null?void 0:f.downloadPath)},h((d=e.transmission)==null?void 0:d.downloadPath),9,Q5)])]),t("li",t3,[e3,t("div",a3,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,o3)])])],64)):E("",!0)])}}});var i3=Y(n3,[["__scopeId","data-v-31717210"]]);const r3={},s3={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"},d3=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),u3=[d3];function l3(e,a){return i(),r("svg",s3,u3)}var Pt=Y(r3,[["render",l3]]);const X=e=>(N("data-v-378dba8e"),e=e(),q(),e),c3={key:0,class:"action"},p3=X(()=>t("h2",{class:"title"},"\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",-1)),f3={class:"load_service input_row"},m3=X(()=>t("div",{class:"left"},[t("span",null,"\u4E0B\u8F7D\u670D\u52A1\uFF1A")],-1)),b3={class:"radios"},v3=X(()=>t("label",{for:"Aria2"},"Aria2",-1)),g3={class:"radios"},_3=X(()=>t("label",{for:"qB"},"qBittorrent",-1)),h3={class:"radios"},x3=X(()=>t("label",{for:"Tr"},"Transmission",-1)),k3=["onSubmit"],w3={class:"input_row"},y3={class:"left"},F3={class:"tooltip-trigger"},E3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\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)),C3=X(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),$3={class:"myinput_wrap"},D3={class:"input_row"},B3={class:"left"},Y3={class:"tooltip-trigger"},A3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),S3=X(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),z3={class:"myinput_wrap"},P3={class:"input_row"},T3={class:"left"},I3={class:"tooltip-trigger"},L3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-bottom"},[t("span",{class:"dowload_rpc_tip"},"\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")])],-1)),M3=X(()=>t("span",null,"RPC \u4EE4\u724C\uFF1A",-1)),O3={class:"input_row"},N3=X(()=>t("div",{class:""},[t("span",null,"\u9644\u52A0\u7684 BT Tracker\uFF1A")],-1)),q3={class:"radios"},V3=X(()=>t("label",{for:"default"},"\u9ED8\u8BA4",-1)),j3={class:"radios"},R3=X(()=>t("label",{for:"add"},"\u81EA\u5DF1\u6DFB\u52A0",-1)),G3={class:"input_row"},U3=X(()=>t("div",{class:"left"},null,-1)),W3={class:"myinput_wrap Tracker_input"},H3=["onSubmit"],Z3={class:"input_row"},J3={class:"left"},X3={class:"tooltip-trigger"},K3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\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)),Q3=X(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),t4={class:"myinput_wrap"},e4={class:"input_row"},a4={class:"left"},o4={class:"tooltip-trigger"},n4=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),i4=X(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),r4={class:"myinput_wrap"},s4=["onSubmit"],d4={class:"input_row"},u4={class:"left"},l4={class:"tooltip-trigger"},c4=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\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)),p4=X(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),f4={class:"myinput_wrap"},m4={class:"input_row"},b4={class:"left"},v4={class:"tooltip-trigger"},g4=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),_4=X(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),h4={class:"myinput_wrap"},x4={class:"btns"},k4={key:1,class:"action"},w4={class:"title"},y4={class:"finished"},F4=X(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),E4=P({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(e){const a=e,o=y(""),n=y(""),s=y(""),c=y(""),p=y("default"),f=y("Aria2"),d=y(""),l=y(""),u=y(""),m=y(""),b=y([]),_=y([]),v=y(0);Ft(()=>{var j,Z,_t,Ie,Le,Me,Oe,Ne,qe,Ve;switch(a.defaultTab){case"aria2":f.value="Aria2";break;case"qbittorrent":f.value="qBittorrent";break;case"transmission":f.value="Transmission";break}b.value=a.partitionList.map(Ht=>({key:Ht})),_.value=a.partitionList.filter(Ht=>Ht.startsWith("/mnt/")).map(Ht=>Ht.replace(/(\/mnt\/[^/]+).*/,"$1")),s.value=((j=a.services.aria2)==null?void 0:j.configPath)||"";const D=((Z=a.services.aria2)==null?void 0:Z.downloadPath)||((_t=a.services.qbittorrent)==null?void 0:_t.downloadPath)||((Ie=a.services.transmission)==null?void 0:Ie.downloadPath);D&&(c.value=D);const $=(Le=a.services.aria2)==null?void 0:Le.rpcToken;$&&(o.value=$),d.value=((Me=a.services.qbittorrent)==null?void 0:Me.configPath)||"";const O=((Oe=a.services.qbittorrent)==null?void 0:Oe.downloadPath)||D||((Ne=a.services.transmission)==null?void 0:Ne.downloadPath);O&&(l.value=O),u.value=((qe=a.services.transmission)==null?void 0:qe.configPath)||"";const H=((Ve=a.services.transmission)==null?void 0:Ve.downloadPath)||D||O;H&&(m.value=H)});const g=()=>{let D=s.value,$=c.value;D==null||D==""||$==null||$==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-aria2","Aria2")){const H=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.Aria2Init.POST({configPath:D,downloadPath:$,rpcToken:o.value,btTracker:p.value=="add"?n.value:""}).then(j=>{var Z;if(j!=null&&j.data){if((j.data.success||0)==0){v.value=1;return}else if((Z=j.data)!=null&&Z.error)throw j.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(j=>F.Error(j)).finally(()=>H.Close())}})},k=()=>{let D=d.value,$=l.value;D==null||D==""||$==null||$==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const H=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.qbitorrentInit.POST({configPath:D,downloadPath:$}).then(j=>{var Z;if(j!=null&&j.data){if((j.data.success||0)==0){v.value=1;return}else if((Z=j.data)!=null&&Z.error)throw j.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(j=>F.Error(j)).finally(()=>H.Close())}})},x=()=>{let D=u.value,$=m.value;D==null||D==""||$==null||$==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-transmission","Transmission")){const H=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.transmissionInit.POST({configPath:D,downloadPath:$}).then(j=>{var Z;if(j!=null&&j.data){if((j.data.success||0)==0){v.value=1;return}else if((Z=j.data)!=null&&Z.error)throw j.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(j=>F.Error(j)).finally(()=>H.Close())}})},C=D=>{D.preventDefault(),a.Close&&a.Close()},A=D=>{D.preventDefault(),location.reload()};return(D,$)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[v.value==0?(i(),r("div",c3,[p3,t("ul",null,[t("li",null,[t("div",f3,[m3,t("div",b3,[z(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":$[0]||($[0]=O=>f.value=O),name:"download",id:"Aria2"},null,512),[[ft,f.value]]),v3]),t("div",g3,[z(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":$[1]||($[1]=O=>f.value=O),name:"download",id:"qB"},null,512),[[ft,f.value]]),_3]),t("div",h3,[z(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":$[2]||($[2]=O=>f.value=O),name:"download",id:"Tr"},null,512),[[ft,f.value]]),x3])])])]),f.value=="Aria2"?(i(),r("form",{key:0,onSubmit:nt(g,["prevent"])},[t("ul",null,[t("li",null,[t("div",w3,[t("div",y3,[t("span",F3,[B(Pt),E3]),C3]),t("div",$3,[B(Tt,{modelValue:s.value,"onUpdate:modelValue":$[3]||($[3]=O=>s.value=O),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:_.value.concat("/root").map(O=>({key:O+"/Configs/aria2"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",D3,[t("div",B3,[t("span",Y3,[B(Pt),A3]),S3]),t("div",z3,[B(Tt,{modelValue:c.value,"onUpdate:modelValue":$[4]||($[4]=O=>c.value=O),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:b.value},null,8,["modelValue","options"])])])]),t("li",null,[t("div",P3,[t("div",T3,[t("span",I3,[B(Pt),L3]),M3]),z(t("input",{type:"text",class:"RPC_input",placeholder:"\u8BF7\u8F93\u5165RPC\u4EE4\u724C","onUpdate:modelValue":$[5]||($[5]=O=>o.value=O)},null,512),[[W,o.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",O3,[N3,t("div",q3,[z(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":$[6]||($[6]=O=>p.value=O)},null,512),[[ft,p.value]]),V3]),t("div",j3,[z(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":$[7]||($[7]=O=>p.value=O)},null,512),[[ft,p.value]]),R3])])]),t("li",null,[t("div",G3,[U3,t("div",W3,[p.value=="add"?z((i(),r("textarea",{key:0,"onUpdate:modelValue":$[8]||($[8]=O=>n.value=O),rows:"4",placeholder:"\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,512)),[[W,n.value,void 0,{trim:!0}]]):E("",!0)])])])])],40,k3)):E("",!0),f.value=="qBittorrent"?(i(),r("form",{key:1,onSubmit:nt(k,["prevent"])},[t("ul",null,[t("li",null,[t("div",Z3,[t("div",J3,[t("span",X3,[B(Pt),K3]),Q3]),t("div",t4,[B(Tt,{modelValue:d.value,"onUpdate:modelValue":$[9]||($[9]=O=>d.value=O),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:_.value.concat("/root").map(O=>({key:O+"/Configs/qb"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",e4,[t("div",a4,[t("span",o4,[B(Pt),n4]),i4]),t("div",r4,[B(Tt,{modelValue:l.value,"onUpdate:modelValue":$[10]||($[10]=O=>l.value=O),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:b.value},null,8,["modelValue","options"])])])])])],40,H3)):E("",!0),f.value=="Transmission"?(i(),r("form",{key:2,onSubmit:nt(x,["prevent"])},[t("ul",null,[t("li",null,[t("div",d4,[t("div",u4,[t("span",l4,[B(Pt),c4]),p4]),t("div",f4,[B(Tt,{modelValue:u.value,"onUpdate:modelValue":$[11]||($[11]=O=>u.value=O),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:_.value.concat("/root").map(O=>({key:O+"/Configs/transmission"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",m4,[t("div",b4,[t("span",v4,[B(Pt),g4]),_4]),t("div",h4,[B(Tt,{modelValue:m.value,"onUpdate:modelValue":$[12]||($[12]=O=>m.value=O),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:b.value},null,8,["modelValue","options"])])])])])],40,s4)):E("",!0),t("div",x4,[f.value=="Aria2"?(i(),r("button",{key:0,class:"cbi-button cbi-button-apply",onClick:g},"\u542F\u7528")):E("",!0),f.value=="qBittorrent"?(i(),r("button",{key:1,class:"cbi-button cbi-button-apply",onClick:k},"\u542F\u7528")):E("",!0),f.value=="Transmission"?(i(),r("button",{key:2,class:"cbi-button cbi-button-apply",onClick:x},"\u542F\u7528")):E("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:C},"\u53D6\u6D88")])])):v.value==1?(i(),r("div",k4,[t("h2",w4,h(f.value)+"\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",1),t("div",y4,[B(De)]),F4,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:A},"\u786E\u5B9A")])])):E("",!0)]),_:1},8,["Close"]))}});var C4=Y(E4,[["__scopeId","data-v-378dba8e"]]);const $4=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(C4,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},D4=e=>(N("data-v-3b622730"),e=e(),q(),e),B4={class:"app-container"},Y4={class:"app-container_title"},A4=D4(()=>t("span",null,[t("span",null,"\u4E0B\u8F7D\u670D\u52A1")],-1)),S4={class:"app-container_tool"},z4=["disabled"],P4={class:"more_icon",title:"\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E"},T4={class:"DeviceBlock"},I4={class:"app-container_body"},L4={class:"app-container_nas-menu"},M4=P({setup(e){y(!1);const a=y("aria2"),o=y();Qe(),setTimeout(()=>{S.Guide.DownloadService.Status.GET().then(b=>{var _;if((_=b==null?void 0:b.data)!=null&&_.result){const v=b.data.result;o.value=v}})},800);const s=y(!1),c=y(!1),p=()=>{c.value=!c.value},f=()=>{S.Guide.DownloadPartition.List.GET().then(b=>{var v,g;let _=[];(g=(v=b==null?void 0:b.data)==null?void 0:v.result)!=null&&g.partitionList&&(_=b.data.result.partitionList),$4({services:o.value,partitionList:_,defaultTab:a.value})})},d=(b,_,v)=>T(this,null,function*(){p(),ct.installAndGo(b,_,v)}),l=()=>{d("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},u=()=>{d("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},m=()=>{d("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(b,_)=>{var v,g,k;return i(),r("div",B4,[t("div",Y4,[A4,t("div",S4,[o.value?(i(),r("div",{key:0,class:"app-container_configure",onClick:f,disabled:s.value},"\u5FEB\u901F\u914D\u7F6E ",8,z4)):E("",!0),t("span",P4,[B($t,{onClick:p})])]),z(t("div",T4,[t("div",{class:"menu_background",onClick:p}),t("ul",null,[t("li",null,[t("a",{onClick:l},"Aria2\u9AD8\u7EA7\u914D\u7F6E")]),t("li",null,[t("a",{onClick:u},"qBittorrent\u9AD8\u7EA7\u914D\u7F6E")]),t("li",null,[t("a",{onClick:m},"Transmission\u9AD8\u7EA7\u914D\u7F6E")])])],512),[[wt,c.value]])]),t("div",I4,[t("ul",L4,[t("button",{onClick:_[0]||(_[0]=x=>a.value="aria2"),class:ot({on:a.value=="aria2"})},"Aria2",2),t("button",{onClick:_[1]||(_[1]=x=>a.value="qbittorrent"),class:ot({on:a.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:_[2]||(_[2]=x=>a.value="transmission"),class:ot({on:a.value=="transmission"})},"Transmission",2)]),a.value=="aria2"?(i(),M(C5,{key:0,aria2:(v=o.value)==null?void 0:v.aria2},null,8,["aria2"])):a.value=="qbittorrent"?(i(),M(j5,{key:1,qbittorrent:(g=o.value)==null?void 0:g.qbittorrent},null,8,["qbittorrent"])):a.value=="transmission"?(i(),M(i3,{key:2,transmission:(k=o.value)==null?void 0:k.transmission},null,8,["transmission"])):E("",!0)])])}}});var O4=Y(M4,[["__scopeId","data-v-3b622730"]]);const Et=e=>(N("data-v-43beecef"),e=e(),q(),e),N4={class:"actioner-container"},q4=Et(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),V4={class:"actioner-container_body"},j4={class:"label-item"},R4=Et(()=>t("span",null,"DDNSTO",-1)),G4=Et(()=>t("p",{class:"label_info"},"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)),U4={class:"label-item"},W4=Et(()=>t("span",null,"\u963F\u91CC\u4E91",-1)),H4=Et(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),Z4={class:"label-item"},J4=Et(()=>t("span",null,"Dnspod",-1)),X4=Et(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),K4={class:"label-item"},Q4=Et(()=>t("span",null,"\u82B1\u751F\u58F3",-1)),t8=Et(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),e8=P({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(e,{emit:a}){const o=e,n=()=>{o.onSetup()},s=y(o.active),c=()=>{switch(a("update:active",s.value),s.value){case"ddnsto":o.onSetup("ddnsto");break;case"ali":o.onSetup("ddns-ali");break;case"dnspod":o.onSetup("ddns-dnspod");break;case"oray":o.onSetup("ddns-oray");break}};return(p,f)=>(i(),r("div",N4,[q4,t("div",V4,[t("div",j4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=d=>s.value=d),value:"ddnsto"},null,512),[[ft,s.value]]),R4]),G4]),t("div",U4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[1]||(f[1]=d=>s.value=d),value:"ali"},null,512),[[ft,s.value]]),W4]),H4]),t("div",Z4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[2]||(f[2]=d=>s.value=d),value:"dnspod"},null,512),[[ft,s.value]]),J4]),X4]),t("div",K4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[3]||(f[3]=d=>s.value=d),value:"oray"},null,512),[[ft,s.value]]),Q4]),t8])]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:n},"\u53D6\u6D88"),t("div",{class:"next",onClick:c},"\u4E0B\u4E00\u6B65")])]))}});var a8=Y(e8,[["__scopeId","data-v-43beecef"]]);const ne=e=>(N("data-v-43dd65a2"),e=e(),q(),e),o8={class:"actioner-container"},n8={class:"actioner-container_body"},i8=ne(()=>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)),r8=ne(()=>t("div",{class:"body-title"},"\u6DFB\u52A0\u6210\u529F",-1)),s8=ne(()=>t("p",{class:"body-tips"},"\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002",-1)),d8={class:"body-info"},u8=ne(()=>t("span",null,"\u8BBF\u95EE\u5730\u5740\uFF1A",-1)),l8=["href"],c8=ne(()=>t("div",null,[t("span",null,"\u53EF\u524D\u5F80"),t("a",{href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},"\u670D\u52A1-\u52A8\u6001DNS"),t("span",null,"\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")],-1)),p8=P({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(e){const a=()=>{location.reload()};return(o,n)=>(i(),r("div",o8,[t("div",n8,[i8,r8,s8,t("div",d8,[u8,t("a",{href:e.target,target:"_blank",rel:"noopener noreferrer"},h(e.target),9,l8)]),c8]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:a},"\u5173\u95ED")])]))}});var f8=Y(p8,[["__scopeId","data-v-43dd65a2"]]);const ma=e=>(N("data-v-7790f1da"),e=e(),q(),e),m8={class:"actioner-container"},b8=ma(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),v8=ma(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),g8=P({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(e){const a=e,o=()=>{a.onSetup()},n=s=>{if(s.data.auth=="ddnsto"){const c=s.data.sign,p=s.data.token;c&&p&&(removeEventListener("message",n),a.onDdnstoConfig(c,p),a.onSetup("ddnsto-run"))}};return Ft(()=>{window.addEventListener("message",n)}),Vt(()=>{removeEventListener("message",n)}),(s,c)=>(i(),r("div",m8,[b8,v8,t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u53D6\u6D88")])]))}});var _8=Y(g8,[["__scopeId","data-v-7790f1da"]]);const h8=e=>(N("data-v-7b3ee72a"),e=e(),q(),e),x8={class:"actioner-container"},k8=h8(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),w8={class:"actioner-container_body ddnsto-bind"},y8=["src"],F8=P({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(e,{emit:a}){const o=e,n=G(()=>{const{domain:p,token:f,sign:d,routerId:l,netaddr:u}=o.config,m=encodeURIComponent(p),b=encodeURIComponent(u);return`https://www.kooldns.cn/bind/#/domain?domain=${m}&sign=${d}&token=${f}&routerId=${l}&netaddr=${b}`}),s=p=>{if(p.data){const{auth:f,url:d}=p.data;f==="ddnsto"&&d&&c(d)}},c=p=>T(this,null,function*(){var f;try{const d=yield S.Guide.DdnstoAddress.POST({address:p});d!=null&&d.data&&(((f=d==null?void 0:d.data)==null?void 0:f.success)||0)==0&&(a("update:domain",p),o.onSetup("ddnsto-save"))}catch(d){}});return Ft(()=>{window.addEventListener("message",s)}),Vt(()=>{removeEventListener("message",s)}),(p,f)=>(i(),r("div",x8,[k8,t("div",w8,[t("iframe",{src:w(n)},null,8,y8)])]))}});var E8=Y(F8,[["__scopeId","data-v-7b3ee72a"]]);const ie=e=>(N("data-v-7f5a8953"),e=e(),q(),e),C8={class:"actioner-container"},$8={class:"actioner-container_body"},D8=ie(()=>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)),B8=ie(()=>t("div",{class:"body-title"},"\u6DFB\u52A0\u6210\u529F",-1)),Y8=ie(()=>t("p",{class:"body-tips"},"\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002",-1)),A8={class:"body-info"},S8=ie(()=>t("span",null,"\u8BBF\u95EE\u5730\u5740\uFF1A",-1)),z8=["href"],P8=ie(()=>t("div",null,[t("span",null,"\u53EF\u524D\u5F80"),t("a",{href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},"DDNSTO\u63A7\u5236\u53F0"),t("span",null,"\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")],-1)),T8=P({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(e){const a=()=>{location.reload()};return(o,n)=>(i(),r("div",C8,[t("div",$8,[D8,B8,Y8,t("div",A8,[S8,t("a",{href:e.target,target:"_blank",rel:"noopener noreferrer"},h(e.target),9,z8)]),P8]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:a},"\u5173\u95ED")])]))}});var I8=Y(T8,[["__scopeId","data-v-7f5a8953"]]);const L8=e=>(N("data-v-d60389d6"),e=e(),q(),e),M8={class:"actioner-container"},O8=L8(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),N8={class:"actioner-container_body"},q8={class:"actioner-container_footer"},V8=P({props:{onSetup:{type:Function,required:!0}},setup(e){const a=e,o=()=>{a.onSetup()},n=()=>T(this,null,function*(){if(p.value)return;p.value=!0;const d=F.Loading("\u5B89\u88C5\u4E2D...");try{if(yield ct.installApp("app-meta-ddnsto",30)){a.onSetup("ddnsto-login");return}else s.value="\u5B89\u88C5\u5931\u8D25"}catch(l){s.value=l}finally{d.Close()}p.value=!1}),s=y("\u6B63\u5728\u68C0\u6D4B\u4E2D..."),c=y(!1),p=y(!1);return(()=>T(this,null,function*(){try{const d=yield S.App.Check.POST({name:"ddnsto"});if(d!=null&&d.data){const{result:l,error:u}=d.data;if(u){s.value=u;return}if(l){if(l.status=="installed"){a.onSetup("ddnsto-login");return}l.status=="uninstalled"&&(s.value="\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5")}}}catch(d){s.value=d}c.value=!0}))(),(d,l)=>(i(),r("div",M8,[O8,t("div",N8,[t("span",null,h(s.value),1)]),t("div",q8,[c.value?(i(),r(L,{key:0},[t("div",{class:"close",onClick:o},"\u53D6\u6D88"),t("div",{class:"next",onClick:n},"\u786E\u5B9A")],64)):E("",!0)])]))}});var j8=Y(V8,[["__scopeId","data-v-d60389d6"]]);const R8=e=>(N("data-v-1e0ebd66"),e=e(),q(),e),G8={class:"actioner-container"},U8=R8(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),W8={class:"actioner-container_body"},H8=P({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(e){const a=e,o=y("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8...");(d=>T(this,null,function*(){var l;try{const u=yield S.Guide.Ddnsto.POST({token:a.token});u!=null&&u.data&&(u.data.error&&(o.value=u.data.error),(((l=u==null?void 0:u.data)==null?void 0:l.success)||0)==0&&c())}catch(u){o.value=u}}))(a.token);const s=y(),c=()=>{const d=()=>T(this,null,function*(){if((yield p())===!0){f();return}s.value=window.setTimeout(d,2e3)});d()},p=()=>T(this,null,function*(){try{const d=yield S.App.Check.POST({name:"ddnsto",checkRunning:!0});if(d!=null&&d.data){d.data.error&&(o.value=d.data.error);const l=d.data.result;if((l==null?void 0:l.status)=="running")return!0}}catch(d){o.value=d}return!1});Vt(()=>{s.value&&clearInterval(s.value)});const f=()=>T(this,null,function*(){var d;try{const l=yield S.Guide.DdntoConfig.GET();if(l!=null&&l.data&&(l.data.error&&(o.value=l.data.error),(((d=l==null?void 0:l.data)==null?void 0:d.success)||0)==0&&l.data.result)){const u=l.data.result;a.onDdnstoLocalConfig(u.netAddr,u.deviceId),a.onSetup("ddnsto-bind")}}catch(l){o.value=l}});return(d,l)=>(i(),r("div",G8,[U8,t("div",W8,h(o.value),1)]))}});var Z8=Y(H8,[["__scopeId","data-v-1e0ebd66"]]);const J8={class:"action-main"},X8=P({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(e){const a=e,o=y("ddnsto-install"),n=d=>{d!=null?o.value=d:s()},s=()=>{a.Close&&a.Close()},c=it({sign:"",token:"",domain:a.url,netaddr:"",routerId:""}),p=(d,l)=>{c.sign=d,c.token=l},f=(d,l)=>{c.netaddr=d,c.routerId=l};return(d,l)=>(i(),M(et,{type:1},{default:V(()=>[t("div",J8,[o.value=="ddnsto-install"?(i(),M(j8,{key:0,onSetup:n})):o.value=="ddnsto-login"?(i(),M(_8,{key:1,onSetup:n,onDdnstoConfig:p})):o.value=="ddnsto-run"?(i(),M(Z8,{key:2,onSetup:n,token:w(c).token,onDdnstoLocalConfig:f},null,8,["token"])):o.value=="ddnsto-bind"?(i(),M(E8,{key:3,onSetup:n,config:{token:w(c).token,sign:w(c).sign,domain:w(c).domain,netaddr:w(c).netaddr,routerId:w(c).routerId},domain:w(c).domain,"onUpdate:domain":l[0]||(l[0]=u=>w(c).domain=u)},null,8,["config","domain"])):o.value=="ddnsto-save"?(i(),M(I8,{key:4,onSetup:n,target:w(c).domain},null,8,["target"])):E("",!0)])]),_:1}))}});var K8=Y(X8,[["__scopeId","data-v-7a6bd385"]]);const Q8=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(K8,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},tp={class:"action"},ep={class:"action-header"},ap=["innerHTML"],op={class:"action-footer"},np=P({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String,default:"\u786E\u5B9A"},clearTitle:{type:String,default:"\u8FD4\u56DE"},continuerTitle:{type:String,default:"\u7EE7\u7EED\u4FDD\u5B58"},title:{type:String,default:"\u63D0\u793A"},content:{type:String}},setup(e){const a=e,o=()=>{a.next&&a.next(),a.Close&&a.Close()},n=()=>{a.clear&&a.clear(),a.Close&&a.Close()},s=()=>{a.continuer&&a.continuer(),a.Close&&a.Close()};return(c,p)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[t("div",tp,[t("div",ep,h(e.title),1),t("div",{class:"action-body",innerHTML:e.content},null,8,ap),t("div",op,[e.clear?(i(),r("div",{key:0,class:"clear",onClick:n},h(e.clearTitle),1)):E("",!0),t("div",{class:"next",onClick:o},h(e.nextTitle),1),e.continuer?(i(),r("div",{key:1,class:"next",onClick:s},h(e.continuerTitle),1)):E("",!0)])])]),_:1},8,["Close"]))}});var ip=Y(np,[["__scopeId","data-v-4358e88c"]]);const de=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ip,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},rt=e=>(N("data-v-9435cfa6"),e=e(),q(),e),rp={class:"actioner-container"},sp=["onSubmit"],dp=rt(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),up={key:0,class:"title_info"},lp=rt(()=>t("p",null," \u963F\u91CC\u4E91 ",-1)),cp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),pp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),fp=[lp,cp,pp],mp={key:1,class:"title_info"},bp=rt(()=>t("p",null," dnspod ",-1)),vp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),gp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),_p=[bp,vp,gp],hp={key:2,class:"title_info"},xp=rt(()=>t("p",null," \u82B1\u751F\u58F3 ",-1)),kp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),wp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),yp=[xp,kp,wp],Fp={class:"label-item"},Ep=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u5730\u5740\u7248\u672C\uFF1A")],-1)),Cp={class:"label-item_value"},$p=rt(()=>t("option",{value:"ipv4"},"IPv4\u5730\u5740",-1)),Dp=rt(()=>t("option",{value:"ipv6"},"IPv6\u5730\u5740",-1)),Bp=[$p,Dp],Yp=rt(()=>t("div",{class:"label_tips"},[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"})])])]),t("span",{class:"info"},"\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")],-1)),Ap={class:"label-item"},Sp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u57DF\u540D\uFF1A")],-1)),zp={class:"label-item_value"},Pp={class:"label-item"},Tp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D\uFF1A")],-1)),Ip={class:"label-item_value"},Lp={class:"label-item"},Mp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801\uFF1A")],-1)),Op={class:"label-item_value"},Np={class:"actioner-container_footer"},qp=["disabled"],Vp=P({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(e,{emit:a}){const o=e,n=y("ipv4"),s=y(o.name),c=y(""),p=y(""),f=y(""),d=y(!1),l=()=>{o.onSetup("index")},u=()=>{d.value=!0;const v=F.Loading("\u68C0\u6D4B\u4E2D...");S.Network.CheckPublickNet.POST({ipVersion:n.value}).then(g=>{var k,x;if(g!=null&&g.data){if((k=g==null?void 0:g.data)!=null&&k.error){F.Warning(g==null?void 0:g.data.error);return}if((((x=g==null?void 0:g.data)==null?void 0:x.success)||0)==0){const C=g.data.result;C&&C.address?_():m();return}}throw"\u672A\u77E5\u9519\u8BEF"}).catch(g=>{F.Error(g)}).finally(()=>{v.Close(),d.value=!1})},m=()=>{de({title:"\u6E29\u99A8\u63D0\u793A",nextTitle:"\u4F7F\u7528DDNSTO",continuerTitle:"\u7EE7\u7EED\u4FDD\u5B58",content:"\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(){b()},continuer(){_()},clear(){}})},b=()=>{o.onSetup("ddnsto")},_=()=>{d.value=!0;const v=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.PostDdns.POST({ipVersion:n.value,serviceName:s.value,domain:c.value,userName:p.value,password:f.value}).then(g=>{if(g!=null&&g.data){const{error:k,scope:x,success:C}=g.data;if(k=="-100"&&x=="guide.ddns"){de({title:"\u6E29\u99A8\u63D0\u793A",content:"\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(k){F.Warning(k);return}if((C||0)==0){a("update:target",c.value),o.onSetup("ddns-success");return}}throw"\u672A\u77E5\u9519\u8BEF"}).catch(g=>{F.Error(g)}).finally(()=>{v.Close(),d.value=!1})};return(v,g)=>(i(),r("div",rp,[t("form",{class:"actioner-dns",onSubmit:nt(u,["prevent"])},[dp,t("div",{class:ot(["actioner-container_body",e.name])},[e.name=="ali"?(i(),r("div",up,fp)):e.name=="dnspod"?(i(),r("div",mp,_p)):e.name=="oray"?(i(),r("div",hp,yp)):E("",!0),t("div",Fp,[Ep,t("div",Cp,[z(t("select",{name:"",id:"","onUpdate:modelValue":g[0]||(g[0]=k=>n.value=k)},Bp,512),[[K,n.value]])]),Yp]),t("div",Ap,[Sp,t("div",zp,[z(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":g[1]||(g[1]=k=>c.value=k),required:""},null,512),[[W,c.value,void 0,{trim:!0}]])])]),t("div",Pp,[Tp,t("div",Ip,[z(t("input",{type:"text","onUpdate:modelValue":g[2]||(g[2]=k=>p.value=k),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",required:""},null,512),[[W,p.value,void 0,{trim:!0}]])])]),t("div",Lp,[Mp,t("div",Op,[z(t("input",{type:"password","onUpdate:modelValue":g[3]||(g[3]=k=>f.value=k),placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",required:""},null,512),[[W,f.value,void 0,{trim:!0}]])])])],2),t("div",Np,[t("div",{class:"close",onClick:l,type:"button"},"\u8FD4\u56DE"),t("button",{class:"next save",type:"submit",disabled:d.value},"\u4FDD\u5B58",8,qp)])],40,sp)]))}});var ye=Y(Vp,[["__scopeId","data-v-9435cfa6"]]);const jp={class:"action-main"},Rp=P({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(e){const a=e,o=y(""),n=y("index"),s=d=>{if(d!=null){if(d=="ddnsto"){c();return}n.value=d}else p()},c=()=>{p(),Q8({url:a.url})},p=()=>{a.Close&&a.Close()},f=y("ddnsto");return(d,l)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[t("div",jp,[n.value=="index"?(i(),M(a8,{key:0,onSetup:s,active:f.value,"onUpdate:active":l[0]||(l[0]=u=>f.value=u)},null,8,["active"])):n.value=="ddns-ali"?(i(),M(ye,{key:1,onSetup:s,target:o.value,"onUpdate:target":l[1]||(l[1]=u=>o.value=u),name:"ali"},null,8,["target"])):n.value=="ddns-dnspod"?(i(),M(ye,{key:2,onSetup:s,target:o.value,"onUpdate:target":l[2]||(l[2]=u=>o.value=u),name:"dnspod"},null,8,["target"])):n.value=="ddns-oray"?(i(),M(ye,{key:3,onSetup:s,target:o.value,"onUpdate:target":l[3]||(l[3]=u=>o.value=u),name:"oray"},null,8,["target"])):n.value=="ddns-success"?(i(),M(f8,{key:4,onSetup:s,target:o.value},null,8,["target"])):E("",!0)])]),_:1},8,["Close"]))}});var Gp=Y(Rp,[["__scopeId","data-v-6f1d92d9"]]);const Up=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Gp,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},Nt=e=>(N("data-v-31624c78"),e=e(),q(),e),Wp={class:"app-container"},Hp=Nt(()=>t("span",null,[t("span",null,"\u8FDC\u7A0B\u57DF\u540D")],-1)),Zp={class:"app-container_domain"},Jp={class:"domain-item"},Xp=Nt(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO\uFF1A")],-1)),Kp={class:"domain-item_value"},Qp=["href","title"],t7=Nt(()=>t("a",{class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},"\u63A7\u5236\u53F0",-1)),e7={class:"domain-item"},a7=Nt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4\uFF1A")],-1)),o7={class:"domain-item_value"},n7={key:0},i7=["href"],r7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},s7=Nt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),d7=[s7],u7={class:"domain-item"},l7=Nt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6\uFF1A")],-1)),c7={class:"domain-item_value"},p7={key:0},f7=["href"],m7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},b7=Nt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),v7=[b7],g7=P({setup(e){let a=!1,o;const n=y({}),s=function(){!a||S.Guide.GetDdns.GET().then(d=>{var l;d!=null&&d.data&&(((l=d==null?void 0:d.data)==null?void 0:l.success)||0)==0&&d.data.result&&(n.value=d.data.result)}).then(()=>{!a||(o=window.setTimeout(s,3e3))})};Ft(()=>{a=!0,o=window.setTimeout(s,1100)}),Vt(()=>{o!==void 0&&window.clearTimeout(o),a=!1});const c=()=>{Up({url:n.value.ddnstoDomain})},p=G(()=>{const d=n.value.ipv4Domain;return d!=null&&d!=""&&d!="Stopped"?`http://${d}`:d}),f=G(()=>{const d=n.value.ipv6Domain;return d!=null&&d!=""&&d!="Stopped"?`http://${d}`:d});return(d,l)=>{var u,m,b;return i(),r("div",Wp,[t("div",{class:"app-container_title"},[Hp,t("div",{class:"app-container_tool"},[t("div",{class:"app-container_configure",onClick:c},"\u5FEB\u901F\u914D\u7F6E")])]),t("ul",Zp,[t("li",Jp,[Xp,t("div",Kp,[t("a",{class:"configure",href:(u=n.value)==null?void 0:u.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(m=n.value)==null?void 0:m.ddnstoDomain},h((b=n.value)==null?void 0:b.ddnstoDomain),9,Qp),t7])]),t("li",e7,[a7,t("div",o7,[w(p)=="Stopped"?(i(),r("span",n7,h(w(p)),1)):(i(),r("a",{key:1,class:"configure",href:w(p),target:"_blank",rel:"noopener noreferrer"},h(w(p)),9,i7)),w(p)?(i(),r("a",r7,d7)):E("",!0)])]),t("li",u7,[l7,t("div",c7,[w(f)=="Stopped"?(i(),r("span",p7,h(w(f)),1)):(i(),r("a",{key:1,class:"configure",href:w(f),target:"_blank",rel:"noopener noreferrer"},h(w(f)),9,f7)),w(f)?(i(),r("a",m7,v7)):E("",!0)])])])])}}});var _7=Y(g7,[["__scopeId","data-v-31624c78"]]);const h7={class:"nas-container"},x7={class:"nas-container_card"},k7={class:"nas-container_card"},w7={key:0,class:"nas-container_card"},y7={class:"nas-container_card"},F7={class:"nas-container_card"},E7=P({setup(e){return(a,o)=>(i(),r("div",h7,[t("div",x7,[B(Z1)]),t("div",k7,[B(I2)]),w(Kt)("dockerd")?(i(),r("div",w7,[B(i5)])):E("",!0),t("div",y7,[B(O4)]),t("div",F7,[B(_7)])]))}});var C7=Y(E7,[["__scopeId","data-v-66cc4e33"]]);const kt=e=>(N("data-v-20dfc9cc"),e=e(),q(),e),$7={class:"app-container"},D7={class:"app-container_title"},B7=kt(()=>t("span",null,"\u7CFB\u7EDF\u4FE1\u606F",-1)),Y7={class:"more_icon",title:"\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F"},A7={class:"DeviceBlock"},S7=kt(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/flash"},"\u5907\u4EFD\u5347\u7EA7")],-1)),z7=kt(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/store/pages/maintance"},"\u63D2\u4EF6\u5907\u4EFD")],-1)),P7={class:"item-label"},T7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u6E29\u5EA6")],-1)),I7={class:"item-label_value"},L7={class:"item-label"},M7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u4F7F\u7528\u7387")],-1)),O7={class:"item-label_value"},N7={class:"item-label"},q7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u5B58\u4F7F\u7528\u7387")],-1)),V7={class:"item-label_value"},j7={class:"item-label"},R7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u56FA\u4EF6\u7248\u672C")],-1)),G7={class:"item-label_value"},U7={class:"item-label"},W7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u6838\u7248\u672C")],-1)),H7={class:"item-label_value"},Z7={class:"item-label"},J7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5DF2\u542F\u52A8")],-1)),X7={class:"item-label_value"},K7={class:"item-label"},Q7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u7CFB\u7EDF\u65F6\u95F4")],-1)),tf={class:"item-label_value"},ef=P({setup(e){const a=Ce(),o=G(()=>a.version),n=G(()=>a.systemStatus),s=y(!1),c=G(()=>{var m;return((m=n.value)==null?void 0:m.cpuUsage)||0}),p=G(()=>{var m;return((m=n.value)==null?void 0:m.cpuTemperature)||0}),f=G(()=>{var b;const m=((b=n.value)==null?void 0:b.memAvailablePercentage)||100;return 100-m}),d=yt.stampForm;Ft(()=>{});const l=()=>{s.value=!s.value},u=()=>{l(),ct.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(m,b)=>{var v,g,k,x;const _=Q("progress-item");return i(),r("div",$7,[t("div",D7,[B7,t("span",Y7,[B($t,{onClick:l})]),z(t("div",A7,[t("div",{class:"menu_background",onClick:l}),t("ul",null,[t("li",null,[t("a",{onClick:u},"\u7CFB\u7EDF\u76D1\u63A7")]),S7,z7])],512),[[wt,s.value]])]),t("div",P7,[T7,t("div",I7,[B(_,{value:w(p)/1.5,text:`${w(p)}\u2103`},null,8,["value","text"])])]),t("div",L7,[M7,t("div",O7,[B(_,{value:w(c),text:`${w(c)}%`},null,8,["value","text"])])]),t("div",N7,[q7,t("div",V7,[B(_,{value:w(f),text:`${w(f)}%`},null,8,["value","text"])])]),t("div",j7,[R7,t("div",G7,[t("span",null,h((v=w(o))==null?void 0:v.firmwareVersion),1)])]),t("div",U7,[W7,t("div",H7,[t("span",null,h((g=w(o))==null?void 0:g.kernelVersion),1)])]),t("div",Z7,[J7,t("div",X7,[t("span",null,h(w(d)((k=w(n))==null?void 0:k.uptime)),1)])]),t("div",K7,[Q7,t("div",tf,[t("span",null,h((x=w(n))==null?void 0:x.localtime),1)])])])}}});var af=Y(ef,[["__scopeId","data-v-20dfc9cc"]]);const of=e=>ee.isValid(e),Ct=e=>{const a=ee.IPv4.parse(e).toByteArray();return a[0]<<24|a[1]<<16|a[2]<<8|a[3]},He=e=>ee.fromByteArray([e>>24&255,e>>16&255,e>>8&255,e&255]).toString(),nf=e=>{if(!ee.IPv4.isIPv4(e))return!1;let a=0,o=Ct(e);for(let n=31;n>=0&&(o&1<{let s=Ct(e)&Ct(a),c=Ct(o),p=Ct(n),d=~Ct(a);return cs+1&&p{let o=Ct(a),n=Ct(e)&o,s=~o,c;return s>=105?(c=n|s-5,n=n|100):s>=3?(c=n|s-1,n=n|2):(n=n|1,c=n),[He(n),He(c)]},df=e=>ee.IPv4.subnetMaskFromPrefixLength(e).toString();var ht={isValidMask:nf,isValidIP:of,isValidMaskRange:rf,calcMaskRange:sf,prefixToMask:df};const mt=e=>(N("data-v-a0faa6f2"),e=e(),q(),e),uf=["onSubmit"],lf=mt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u5185\u7F51\u914D\u7F6E")],-1)),cf={class:"actioner-dns_body"},pf={class:"label-item"},ff=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5730\u5740")],-1)),mf={class:"label-item_value"},bf={class:"label-item"},vf=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5B50\u7F51\u63A9\u7801")],-1)),gf={class:"label-item_value"},_f={key:0,class:"chose_dhcp"},hf={key:0,class:"dhcp_info"},xf={key:1,class:"dhcp_info"},kf={class:"label-item"},wf=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u8D77\u59CB\u5730\u5740")],-1)),yf={class:"label-item_value"},Ff={class:"label-item"},Ef=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u7ED3\u675F\u5730\u5740")],-1)),Cf={class:"label-item_value"},$f={class:"actioner-dns_footer"},Df=["disabled"],Bf={key:1,class:"actioner-dns"},Yf=mt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u66F4\u6362\u914D\u7F6E")],-1)),Af={class:"actioner-dns_body"},Sf={key:0,class:"setting_status"},zf=mt(()=>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)),Pf=mt(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u6210\u529F",-1)),Tf=["href"],If={key:1,class:"setting_status"},Lf=mt(()=>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)),Mf=mt(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u5931\u8D25",-1)),Of=mt(()=>t("p",null,"\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E",-1)),Nf={key:2,class:"setting_status"},qf=mt(()=>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)),Vf=mt(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u8D85\u65F6",-1)),jf=mt(()=>t("p",null,"\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)),Rf=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});y("");const s=y(!1);y(!0),y(!1);const c=y(""),p=y(2),f=y(!1),d=y("timeout");let l=!0;(()=>{S.Guide.GetLan.GET().then(g=>{g.data.result&&(f.value=g.data.result.enableDhcp||!1,g.data.result.enableDhcp=!1,n.value=g.data.result,g.data.result.lanIp!==location.hostname&&(l=!1))})})();const m=()=>{const g=n.value;if(!ht.isValidIP(g.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!ht.isValidMask(g.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}const k=ht.calcMaskRange(g.lanIp,g.netMask);g.dhcpStart=k[0],g.dhcpEnd=k[1],n.value=g},b=()=>{const g=n.value;if(!ht.isValidIP(g.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!ht.isValidMask(g.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}if(g.enableDhcp&&!ht.isValidIP(g.dhcpStart)||!ht.isValidIP(g.dhcpEnd)||!ht.isValidMaskRange(g.lanIp,g.netMask,g.dhcpStart,g.dhcpEnd)){F.Warning("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4");return}const k=F.Loading("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49",30);let x=0;const C=D=>{d.value=D,o.value=1,x=1,k.Close()},A=()=>{const D=new Date().getTime()+3e4,$=l?location.protocol+"//"+g.lanIp+(location.port?":"+location.port:""):location.origin,O=$+"/luci-static/resources/icons/loading.gif",H=()=>{x==0&&(new Date().getTime()>D?C("timeout"):window.setTimeout(Z,2e3))},j=()=>{x==0&&(c.value=$+location.pathname,C("success"),window.setTimeout(()=>{p.value=1},1e3),window.setTimeout(()=>{location.href=c.value},2e3))},Z=()=>{if(x!=0)return;console.log("check online ",O);const _t=new Image;_t.onload=j,_t.onerror=H,_t.src=O};window.setTimeout(Z,5e3)};S.Guide.LanIp.POST(g).then(D=>{var $;if(D!=null&&D.data){if((D.data.success||0)==0)return;if(($=D.data)!=null&&$.error)throw D.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(D=>{x==0&&(C("fail"),F.Error(D))}),A(),window.setTimeout(()=>{x==0&&C("timeout")},3e4)},_=g=>{g.preventDefault(),a.Close&&a.Close()},v=g=>{location.reload()};return(g,k)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(b,["prevent"])},[lf,t("div",cf,[t("div",pf,[ff,t("div",mf,[z(t("input",{type:"text",placeholder:"192.168.100.1","onUpdate:modelValue":k[0]||(k[0]=x=>n.value.lanIp=x),onChange:m},null,544),[[W,n.value.lanIp,void 0,{trim:!0}]])])]),t("div",bf,[vf,t("div",gf,[z(t("input",{type:"text",placeholder:"255.255.255.0","onUpdate:modelValue":k[1]||(k[1]=x=>n.value.netMask=x),onChange:m},null,544),[[W,n.value.netMask,void 0,{trim:!0}]])])]),f.value?(i(),r("div",_f,[B(ea,{modelValue:n.value.enableDhcp,"onUpdate:modelValue":k[2]||(k[2]=x=>n.value.enableDhcp=x)},{default:V(()=>[n.value.enableDhcp?(i(),r("span",hf,"\u4FEE\u6539DHCP\u670D\u52A1")):(i(),r("span",xf,"\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E"))]),_:1},8,["modelValue"])])):E("",!0),n.value.enableDhcp?(i(),r(L,{key:1},[t("div",kf,[wf,t("div",yf,[z(t("input",{type:"text",placeholder:"192.168.100.100","onUpdate:modelValue":k[3]||(k[3]=x=>n.value.dhcpStart=x)},null,512),[[W,n.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",Ff,[Ef,t("div",Cf,[z(t("input",{type:"text",placeholder:"192.168.100.100","onUpdate:modelValue":k[4]||(k[4]=x=>n.value.dhcpEnd=x)},null,512),[[W,n.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):E("",!0)]),t("div",$f,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:s.value},"\u786E\u8BA4",8,Df),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u53D6\u6D88")])],40,uf)):o.value==1?(i(),r("div",Bf,[Yf,t("div",Af,[d.value=="success"?(i(),r("div",Sf,[zf,Pf,t("a",{href:c.value,class:"NewAdress"},h(p.value)+"s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",9,Tf)])):d.value=="fail"?(i(),r("div",If,[Lf,Mf,Of,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},"\u6211\u77E5\u9053\u4E86")])):d.value=="timeout"?(i(),r("div",Nf,[qf,Vf,jf,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},"\u5237\u65B0\u9875\u9762")])):E("",!0)])])):E("",!0)]),_:1},8,["Close"]))}});var Gf=Y(Rf,[["__scopeId","data-v-a0faa6f2"]]);const Uf=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Gf,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},bt=e=>(N("data-v-0384f3ac"),e=e(),q(),e),Wf={key:0,class:"actioner-dns"},Hf=bt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),Zf={class:"actioner-dns_body"},Jf=bt(()=>t("p",{class:"sandbox_info"},"\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\u62A4Docker\u548C\u786C\u76D8\u7684\u6570\u636E",-1)),Xf={key:0,class:"disk_loading_icon"},Kf=bt(()=>t("span",{class:"disk_loading_info"},"\u6B63\u5728\u52A0\u8F7D\u4E2D...",-1)),Qf={key:1,class:"disk_tips"},tm=bt(()=>t("span",null,"\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)),em={class:"label-item"},am=bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")],-1)),om={class:"label-item_value"},nm=bt(()=>t("option",{value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8",-1)),im=["value"],rm={class:"label-item"},sm=bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\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)),dm={class:"label-item_value"},um=bt(()=>t("option",{selected:"true",value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A",-1)),lm=["value","disabled"],cm={class:"sandbox_tips"},pm=bt(()=>t("span",null,"\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E",-1)),fm={class:"sandbox_info timeout"},mm=U("\u5373\u5C06\u91CD\u542F\u8BBE\u5907 "),bm=bt(()=>t("p",{class:"sandbox_roboot_tips"},[U("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E"),t("span",{class:"sandbox_roboot_refresh"},"\u8BF7\u5237\u65B0\u754C\u9762")],-1)),vm={key:0,class:"actioner-dns_footer"},gm=["disabled"],_m={key:1,class:"actioner-tips"},hm=bt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u6E29\u99A8\u63D0\u793A")],-1)),xm=bt(()=>t("div",{class:"actioner-tips_body"},[t("p",{class:"sandbox_info"},"\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)),km={key:2,class:"actioner-tips"},wm=bt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u9519\u8BEF")],-1)),ym={class:"actioner-tips_body"},Fm={class:"sandbox_info"},Em=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0);y("disk");const n=y(""),s=y(3),c=y(""),p=y([]),f=y(""),d=y(null);(()=>{S.Nas.SandboxDisks.GET().then(x=>{var C;if(x!=null&&x.data&&(C=x.data)!=null&&C.result){d.value=x.data.result;return}throw"\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25"}).catch(x=>{n.value=x,o.value=3})})();const u=()=>S.System.Reboot.POST({name:c.value,path:f.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"\u672A\u77E5\u9519\u8BEF"}),m=x=>{var C,A;f.value="",p.value=c.value&&((A=(C=d.value)==null?void 0:C.disks.find(D=>D.path==c.value))==null?void 0:A.childrens)||[]},b=()=>{s.value>0&&(s.value-=1,window.setTimeout(b,1e3))},_=x=>{x.preventDefault(),a.Close&&a.Close()},v=()=>{new Promise((x,C)=>{const A="/luci-static/resources/icons/loading.gif",D=()=>{window.setTimeout($,2e3)},$=()=>{const O=new Image;O.onload=x,O.onerror=D,O.src=A};window.setTimeout($,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},g=x=>{const C=F.Loading("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D...");S.Nas.Sandbox.POST({path:f.value}).then(A=>{var D;if(A!=null&&A.data){if((A.data.success||0)==0)return o.value=2,window.setTimeout(b,1e3),u();if((D=A.data)!=null&&D.error)throw A.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).then(v).catch(A=>F.Warning(A)).finally(()=>C.Close())},k=()=>{o.value=0};return(x,C)=>{const A=Q("icon-loading");return i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0||o.value==2?(i(),r("div",Wf,[Hf,t("div",Zf,[Jf,o.value==0?(i(),r(L,{key:0},[d.value?E("",!0):(i(),r("div",Xf,[B(A,{size:38,color:"currentColor"}),Kf])),d.value&&d.value.disks.length==0?(i(),r("div",Qf,[B(gt),tm])):E("",!0),d.value&&d.value.disks.length>0?(i(),r(L,{key:2},[t("div",em,[am,t("div",om,[z(t("select",{name:"",id:"",onChange:m,"onUpdate:modelValue":C[0]||(C[0]=D=>c.value=D)},[nm,(i(!0),r(L,null,R(d.value.disks,(D,$)=>(i(),r("option",{value:D.path,key:$},h(D.venderModel)+"\uFF08"+h(D.size)+"\uFF09 ",9,im))),128))],544),[[K,c.value]])])]),t("div",rm,[sm,t("div",dm,[z(t("select",{name:"",id:"","onUpdate:modelValue":C[1]||(C[1]=D=>f.value=D)},[um,(i(!0),r(L,null,R(p.value,(D,$)=>(i(),r("option",{value:D.path,key:$,disabled:D.sizeInt<(1<<30)*1||D.isSystemRoot},h(D.name)+"\uFF08"+h(D.filesystem||"\u672A\u683C\u5F0F\u5316")+"\uFF09"+h(D.total),9,lm))),128))],512),[[K,f.value]])])]),t("div",cm,[B(gt),pm])],64)):E("",!0)],64)):E("",!0),o.value==2?(i(),r(L,{key:1},[t("p",fm,[mm,t("span",null,"\uFF08"+h(s.value)+"s\uFF09",1)]),bm],64)):E("",!0)]),o.value==0?(i(),r("div",vm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!f.value,onClick:C[2]||(C[2]=D=>o.value=1)},"\u5F00\u542F\u6C99\u7BB1",8,gm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u53D6\u6D88")])):E("",!0)])):E("",!0),o.value==1?(i(),r("div",_m,[hm,xm,t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:g},"\u7EE7\u7EED"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u53D6\u6D88")])])):E("",!0),o.value==3?(i(),r("div",km,[wm,t("div",ym,[t("p",Fm,h(n.value),1)]),t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"])}}});var Cm=Y(Em,[["__scopeId","data-v-0384f3ac"]]);const $m=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Cm,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},ba=e=>(N("data-v-4db2efb4"),e=e(),q(),e),Dm={key:0,class:"actioner-dns"},Bm=ba(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),Ym=ba(()=>t("div",{class:"actioner-dns_body"},[t("p",{class:"sandbox_info"},"\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"),t("div",{class:"sandbox_environment"},[t("p",null,"\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A"),t("p",null,"1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883"),t("p",null,"2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001"),t("p",null,"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")]),t("div",{class:"sandbox_environment_info"},[U("\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"),t("span",{class:"sandbox_environment_reboot"},"\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740"),t("p",{class:"sandbox_environment_tex"},[U(" \u5982\u9700"),t("b",null,"\u4E34\u65F6"),U("\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"),t("br"),U(" \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 ")])])],-1)),Am={class:"actioner-dns_footer"},Sm=["disabled"],zm=["disabled"],Pm=["disabled"],Tm=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y(!1),s=()=>{new Promise((l,u)=>{const m="/luci-static/resources/icons/loading.gif",b=()=>{window.setTimeout(_,2e3)},_=()=>{const v=new Image;v.onload=l,v.onerror=b,v.src=m};window.setTimeout(_,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},c=()=>{n.value=!0;const l=F.Loading("\u63D0\u4EA4\u4E2D...");S.Nas.SandboxCommit.POST().then(u=>{var m,b;if(u!=null&&u.data)if((((m=u==null?void 0:u.data)==null?void 0:m.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D...");return}else(b=u==null?void 0:u.data)!=null&&b.error&&alert(u.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(u=>{F.Error(u),n.value=!1}).finally(()=>l.Close())},p=()=>{n.value=!0;const l=F.Loading("\u91CD\u7F6E\u4E2D...");S.Nas.SandboxReset.POST().then(u=>{var m,b;if(u!=null&&u.data)if((((m=u==null?void 0:u.data)==null?void 0:m.success)||0)==0){F.Loading("\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(b=u==null?void 0:u.data)!=null&&b.error&&alert(u.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(u=>{F.Error(u),n.value=!1}).finally(()=>l.Close())},f=()=>{if(!confirm("\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;n.value=!0;const l=F.Loading("\u6267\u884C\u4E2D...");S.Nas.SandboxExit.POST().then(u=>{var m,b;if(u!=null&&u.data)if((((m=u==null?void 0:u.data)==null?void 0:m.success)||0)==0){F.Loading("\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(b=u==null?void 0:u.data)!=null&&b.error&&alert(u.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(u=>{F.Error(u),n.value=!1}).finally(()=>l.Close())},d=l=>{l.preventDefault(),a.Close&&a.Close()};return(l,u)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("div",Dm,[Bm,Ym,t("div",Am,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:c,disabled:n.value},"\u63D0\u4EA4",8,Sm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:n.value},"\u91CD\u7F6E",8,zm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:f,disabled:n.value},"\u9000\u51FA",8,Pm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"]))}});var Im=Y(Tm,[["__scopeId","data-v-4db2efb4"]]);const Lm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Im,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},Mm={class:"nav-container"},Om=["onClick"],Nm={key:0,class:"btn_styles color3 app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},qm=U(" \u56FA\u4EF6\u66F4\u65B0 "),Vm={key:0,style:{display:"inline-block"}},jm={key:1},Rm=["disabled"],Gm=U(" DNS\u914D\u7F6E "),Um={key:0,style:{display:"inline-block"}},Wm=P({setup(e){const a=Ce(),o=le(),n=G(()=>o.status);y(!1),y(!0);const s=y(),c=()=>{oa()},p=()=>{$m()},f=()=>{Lm()},d=()=>{alert("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F")},l=()=>{Uf()},u=()=>{ra()},m=()=>{window.open(`http://${window.location.hostname}:7681/`,"_blank")};return Kt("sandbox")&&S.Nas.GetSandbox.GET().then(_=>{var v,g,k;_!=null&&_.data&&((((v=_==null?void 0:_.data)==null?void 0:v.success)||0)==0?(g=_==null?void 0:_.data)!=null&&g.result&&(s.value=_.data.result):(k=_==null?void 0:_.data)!=null&&k.error&&alert(_.data.error))}).catch(_=>F.Warning(_)),(b,_)=>{var k,x,C,A,D,$;const v=Q("router-link"),g=Q("icon-loading");return i(),r("div",Mm,[B(v,{to:"/network",custom:""},{default:V(({navigate:O})=>[t("button",{class:"btn_styles color1",onClick:O},"\u7F51\u7EDC\u5411\u5BFC",8,Om)]),_:1}),t("button",{class:"btn_styles color2 app-btn-ttyd",onClick:m},"\u7EC8\u7AEF"),w(Kt)("ota")?(i(),r("button",Nm,[qm,w(a).checkUpdate==null?(i(),r("span",Vm,[B(g,{size:"0.8em",color:"currentColor"})])):(k=w(a).checkUpdate)!=null&&k.needUpdate?(i(),r("i",jm)):E("",!0)])):E("",!0),t("button",{class:"btn_styles color4",onClick:l},"\u5185\u7F51\u914D\u7F6E"),t("button",{class:"btn_styles color5",onClick:c,disabled:!((x=w(n))!=null&&x.proto)},[Gm,(C=w(n))!=null&&C.proto?E("",!0):(i(),r("span",Um,[B(g,{size:"0.8em",color:"currentColor"})]))],8,Rm),t("button",{class:"btn_styles color1",onClick:u},"\u8F6F\u4EF6\u6E90\u914D\u7F6E"),w(Kt)("sandbox")?(i(),r(L,{key:1},[((A=s.value)==null?void 0:A.status)=="unsupport"?(i(),r("button",{key:0,class:"btn_styles color2",onClick:d},"\u5F00\u542F\u6C99\u7BB1")):((D=s.value)==null?void 0:D.status)=="stopped"?(i(),r("button",{key:1,class:"btn_styles color3",onClick:p},"\u5F00\u542F\u6C99\u7BB1")):(($=s.value)==null?void 0:$.status)=="running"?(i(),r("button",{key:2,class:"btn_styles color4",onClick:f},"\u6C99\u7BB1\u5DF2\u5F00\u542F")):E("",!0)],64)):E("",!0)])}}});var Hm=Y(Wm,[["__scopeId","data-v-82a27618"]]);const _e=e=>(N("data-v-0a2eed64"),e=e(),q(),e),Zm={id:"page"},Jm=_e(()=>t("em",null,null,-1)),Xm=_e(()=>t("em",null,null,-1)),Km=_e(()=>t("em",null,null,-1)),Qm=_e(()=>t("em",null,null,-1)),t9=P({setup(e){return Qa(),(a,o)=>(i(),r("div",Zm,[Jm,B(Zd),Xm,B(Hm),B(C7),Km,B(af),Qm]))}});var e9=Y(t9,[["__scopeId","data-v-0a2eed64"]]);const a9={};function o9(e,a){const o=Q("router-view");return i(),M(o)}var n9=Y(a9,[["render",o9]]);const i9={},r9={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"},s9=Mt('icon_router',3),d9=[s9];function u9(e,a){return i(),r("svg",r9,d9)}var l9=Y(i9,[["render",u9]]);const c9={},p9={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"},f9=Mt('icon_dial',3),m9=[f9];function b9(e,a){return i(),r("svg",p9,m9)}var v9=Y(c9,[["render",b9]]);const g9={},_9={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"},h9=Mt('icon_side router',3),x9=[h9];function k9(e,a){return i(),r("svg",_9,x9)}var w9=Y(g9,[["render",k9]]);const Wt=e=>(N("data-v-082ffcaf"),e=e(),q(),e),y9={id:"page"},F9=Wt(()=>t("div",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC",-1)),E9=Wt(()=>t("div",{class:"desc"},"\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB",-1)),C9={class:"network-containers"},$9={class:"network-container_item"},D9={class:"cover"},B9={class:"thumbnail"},Y9=Wt(()=>t("span",null,"\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5",-1)),A9={class:"network-container_item"},S9={class:"cover"},z9={class:"thumbnail"},P9=Wt(()=>t("span",null,"\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668",-1)),T9={class:"network-container_item"},I9={class:"cover"},L9={class:"thumbnail"},M9=Wt(()=>t("span",null,"\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531",-1)),O9=Wt(()=>t("div",{class:"info"},[U(" \u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528 "),t("a",{href:"/cgi-bin/luci/admin/network/network"},"\u9AD8\u7EA7\u6A21\u5F0F")],-1)),N9=P({setup(e){return(a,o)=>{const n=Q("router-link");return i(),r("div",y9,[F9,E9,t("div",C9,[t("div",$9,[B(n,{to:"/network/pppoe"},{default:V(()=>[t("div",D9,[t("div",B9,[B(v9),Y9])])]),_:1})]),t("div",A9,[B(n,{to:"/network/dhcp"},{default:V(()=>[t("div",S9,[t("div",z9,[B(l9),P9])])]),_:1})]),t("div",T9,[B(n,{to:"/network/gateway"},{default:V(()=>[t("div",I9,[t("div",L9,[B(w9),M9])])]),_:1})])]),O9])}}});var q9=Y(N9,[["__scopeId","data-v-082ffcaf"]]);const St=e=>(N("data-v-16746f19"),e=e(),q(),e),V9={key:0,id:"page"},j9=St(()=>t("h2",{class:"title"},"\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7",-1)),R9=St(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B",-1)),G9={class:"network-message"},U9={key:0},W9=U(" \u56E0\u4E3A\u60A8\u7684\u8BBE\u5907"),H9=St(()=>t("span",null,"\u6CA1\u6709 WAN \u53E3",-1)),Z9=U("\uFF0C\u65E0\u6CD5\u8D70\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B "),J9=St(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/question.html#%E7%BD%91%E7%BB%9C",target:"_blank",rel:"noopener noreferrer"},"\u94FE\u63A5",-1)),X9=[W9,H9,Z9,J9],K9=["onSubmit"],Q9=St(()=>t("div",{class:"label-key"},[t("span",null,"\u5BBD\u5E26\u8D26\u53F7")],-1)),tb=["disabled"],eb=St(()=>t("div",{class:"label-key"},[t("span",null,"\u5BC6\u7801")],-1)),ab=["disabled"],ob={key:0,class:"chose_dhcp"},nb=St(()=>t("span",{class:"dhcp_info"},"\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09",-1)),ib={key:1,class:"msg"},rb={class:"btns"},sb=["disabled"],db=["onClick"],ub={key:1,id:"page"},lb=St(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),cb={class:"btns"},pb=["onClick"],fb=["onClick"],mb=P({setup(e){const a=y(0),o=y({}),n=y(""),s=y(!1),c=y(0),p=y(!1);(()=>T(this,null,function*(){var l,u;s.value=!0;try{const m=yield Promise.all([S.Guide.Pppoe.GET(),S.Guide.GetLan.GET()]);if(m[0].data){const{success:b,error:_,result:v}=m[0].data;v&&(v.enableLanDhcp=!1,o.value=v),b==-1011&&(s.value=!0,c.value=b)}(l=m[1].data)!=null&&l.result&&(((u=m[1].data)==null?void 0:u.result).enableDhcp||(p.value=!0,o.value.enableLanDhcp=!0))}catch(m){n.value=m}c.value==0&&(s.value=!1)}))();const d=()=>T(this,null,function*(){const l=o.value.account||"",u=o.value.password||"";if(l==""){n.value="\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A";return}if(u==""){n.value="\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A";return}s.value=!0;const m=F.Loading("\u914D\u7F6E\u4E2D...");try{const b=yield S.Guide.Pppoe.POST({account:l,password:u});if(b!=null&&b.data){const{error:_,success:v}=b.data;_&&(n.value=_),(v==null||v==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),a.value=1)}}catch(b){n.value=b}s.value=!1,m.Close()});return(l,u)=>{const m=Q("switch-box"),b=Q("router-link");return a.value==0?(i(),r("div",V9,[j9,R9,t("div",G9,[c.value==-1011?(i(),r("li",U9,X9)):E("",!0)]),t("form",{onSubmit:nt(d,["prevent"])},[t("label",null,[Q9,z(t("input",{type:"text","onUpdate:modelValue":u[0]||(u[0]=_=>o.value.account=_),placeholder:"\u5BBD\u5E26\u8D26\u53F7",required:"",disabled:s.value},null,8,tb),[[W,o.value.account,void 0,{trim:!0}]])]),t("label",null,[eb,z(t("input",{type:"password","onUpdate:modelValue":u[1]||(u[1]=_=>o.value.password=_),placeholder:"\u5BBD\u5E26\u5BC6\u7801",required:"",disabled:s.value},null,8,ab),[[W,o.value.password,void 0,{trim:!0}]])]),p.value?(i(),r("div",ob,[B(m,{modelValue:o.value.enableLanDhcp,"onUpdate:modelValue":u[2]||(u[2]=_=>o.value.enableLanDhcp=_)},{default:V(()=>[nb]),_:1},8,["modelValue"])])):E("",!0),n.value?(i(),r("div",ib,h(n.value),1)):E("",!0),t("div",rb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},"\u4FDD\u5B58\u914D\u7F6E",8,sb),B(b,{to:"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u8FD4\u56DE",8,db)]),_:1})])],40,K9)])):a.value==1?(i(),r("div",ub,[lb,t("div",cb,[B(b,{to:"/",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:_},"\u8FDB\u5165\u63A7\u5236\u53F0",8,pb)]),_:1}),B(b,{to:"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u8FD4\u56DE",8,fb)]),_:1})])])):E("",!0)}}});var bb=Y(mb,[["__scopeId","data-v-16746f19"]]);const st=e=>(N("data-v-0d3a64fa"),e=e(),q(),e),vb={key:0,id:"page"},gb=st(()=>t("h2",{class:"title"},"\u914D\u7F6E\u4E92\u8054\u7F51",-1)),_b=st(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3",-1)),hb={class:"network-message"},xb={key:0},kb=U(" \u56E0\u4E3A\u60A8\u7684\u8BBE\u5907"),wb=st(()=>t("span",null,"\u6CA1\u6709 WAN \u53E3",-1)),yb=U("\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B "),Fb=st(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/question.html#%E7%BD%91%E7%BB%9C",target:"_blank",rel:"noopener noreferrer"},"\u94FE\u63A5",-1)),Eb=[kb,wb,yb,Fb],Cb=["onSubmit"],$b=st(()=>t("div",{class:"label-key"},[t("span",null,"WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),Db=st(()=>t("option",{value:"dhcp"},"\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09",-1)),Bb=st(()=>t("option",{value:"static"},"\u9759\u6001IP\u5730\u5740",-1)),Yb=[Db,Bb],Ab=st(()=>t("div",{class:"label-key"},[t("span",null,"IP\u5730\u5740")],-1)),Sb=["disabled"],zb={key:0,class:"msg"},Pb=st(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),Tb=["disabled"],Ib={key:1,class:"msg"},Lb=st(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),Mb=["disabled"],Ob=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),Nb=["disabled"],qb=st(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),Vb=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),jb=["onUpdate:modelValue","disabled"],Rb=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Gb=["disabled"],Ub=st(()=>t("div",{class:"label-key"},"\u5907\u7528DNS\u670D\u52A1\u5668",-1)),Wb=["disabled"],Hb={key:2,class:"chose_dhcp"},Zb=st(()=>t("span",{class:"dhcp_info"},"\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09",-1)),Jb={key:3,class:"msgs"},Xb={class:"btns"},Kb=["disabled"],Qb=["onClick"],tv={key:1,id:"page"},ev=st(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),av={class:"btns"},ov=["onClick"],nv=["onClick"],iv=P({setup(e){const a=y(0),o=y({}),n=y(""),s=y(""),c=y(""),p=y(!1),f=y(""),d=y(""),l=y(0),u=yt.checkIsIP,m=y(!1);(()=>T(this,null,function*(){var x,C;p.value=!0;try{const A=yield Promise.all([S.Guide.ClientModel.GET(),S.Guide.GetLan.GET()]);if(A[0]){const D=A[0];if(D.data){const{success:$,error:O,result:H}=D.data;H&&(H.wanProto!="dhcp"&&H.wanProto!="static"&&(H.wanProto="dhcp",H.dnsProto="auto"),H.enableLanDhcp=!1,o.value=H),$==-1011&&(l.value=$,p.value=!0)}}(x=A[1].data)!=null&&x.result&&(((C=A[1].data)==null?void 0:C.result).enableDhcp||(m.value=!0,o.value.enableLanDhcp=!0))}catch(A){n.value=A}l.value==0&&(p.value=!1)}))();const _=x=>{x.target.value=="static"?((o.value.staticIp==null||o.value.staticIp=="")&&(o.value.staticIp="192.168.1.100"),(o.value.subnetMask==null||o.value.subnetMask=="")&&(o.value.subnetMask="255.255.255.0"),o.value.dnsProto=="auto"&&setTimeout(()=>o.value.dnsProto="manual",0)):o.value.dnsProto=="manual"&&setTimeout(()=>o.value.dnsProto="auto",0)},v=x=>{const C=x.target;if(C.value==""){f.value="";return}u(C.value)?f.value="":f.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740"},g=x=>{const C=x.target;if(C.value==""){d.value="";return}u(C.value)?d.value="":d.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740"},k=()=>T(this,null,function*(){const x={};switch(o.value.wanProto){case"dhcp":break;case"static":x.staticIp=o.value.staticIp,x.subnetMask=o.value.subnetMask,x.gateway=o.value.gateway;break}switch(o.value.dnsProto){case"auto":break;case"manual":x.manualDnsIp=[],o.value.manualDnsIp!=null&&o.value.manualDnsIp.length>0?x.manualDnsIp=o.value.manualDnsIp:(x.manualDnsIp.push(s.value),c.value&&x.manualDnsIp.push(c.value));break}x.dnsProto=o.value.dnsProto,x.wanProto=o.value.wanProto,x.enableLanDhcp=o.value.enableLanDhcp;const C=F.Loading("\u914D\u7F6E\u4E2D....");p.value=!0;try{const A=yield S.Guide.ClientModel.POST(x);if(A!=null&&A.data){const{success:D,error:$}=A==null?void 0:A.data;$&&(n.value=$),(D==null||D==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),a.value=1)}}catch(A){n.value=A}p.value=!1,C.Close()});return(x,C)=>{const A=Q("switch-box"),D=Q("router-link");return a.value==0?(i(),r("div",vb,[gb,_b,t("div",hb,[l.value==-1011?(i(),r("li",xb,Eb)):E("",!0)]),t("form",{onSubmit:nt(k,["prevent"])},[t("label",null,[$b,z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=$=>o.value.wanProto=$),onInput:_},Yb,544),[[K,o.value.wanProto]])]),o.value.wanProto=="static"?(i(),r(L,{key:0},[t("label",null,[Ab,z(t("input",{type:"text","onUpdate:modelValue":C[1]||(C[1]=$=>o.value.staticIp=$),placeholder:"\u9759\u6001IP\u5730\u5740",required:"",disabled:p.value,onInput:v},null,40,Sb),[[W,o.value.staticIp,void 0,{trim:!0}]])]),f.value?(i(),r("p",zb,h(f.value),1)):E("",!0),t("label",null,[Pb,z(t("input",{type:"text","onUpdate:modelValue":C[2]||(C[2]=$=>o.value.subnetMask=$),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:p.value,onInput:g},null,40,Tb),[[W,o.value.subnetMask,void 0,{trim:!0}]])]),d.value?(i(),r("p",Ib,h(d.value),1)):E("",!0),t("label",null,[Lb,z(t("input",{type:"text","onUpdate:modelValue":C[3]||(C[3]=$=>o.value.gateway=$),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:p.value},null,8,Mb),[[W,o.value.gateway,void 0,{trim:!0}]])])],64)):E("",!0),t("label",null,[Ob,z(t("select",{"onUpdate:modelValue":C[4]||(C[4]=$=>o.value.dnsProto=$)},[t("option",{value:"auto",disabled:o.value.wanProto=="static"},"\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09",8,Nb),qb],512),[[K,o.value.dnsProto]])]),o.value.dnsProto=="manual"?(i(),r(L,{key:1},[o.value.manualDnsIp!=null&&o.value.manualDnsIp.length>0?(i(!0),r(L,{key:0},R(o.value.manualDnsIp,($,O)=>(i(),r("label",null,[Vb,z(t("input",{type:"text","onUpdate:modelValue":H=>o.value.manualDnsIp[O]=H,placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:p.value},null,8,jb),[[W,o.value.manualDnsIp[O],void 0,{trim:!0}]])]))),256)):(i(),r(L,{key:1},[t("label",null,[Rb,z(t("input",{type:"text","onUpdate:modelValue":C[5]||(C[5]=$=>s.value=$),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:p.value},null,8,Gb),[[W,s.value,void 0,{trim:!0}]])]),t("label",null,[Ub,z(t("input",{type:"text","onUpdate:modelValue":C[6]||(C[6]=$=>c.value=$),placeholder:"\u5907\u7528DNS\u670D\u52A1\u5668",disabled:p.value},null,8,Wb),[[W,c.value,void 0,{trim:!0}]])])],64))],64)):E("",!0),m.value?(i(),r("div",Hb,[B(A,{modelValue:o.value.enableLanDhcp,"onUpdate:modelValue":C[7]||(C[7]=$=>o.value.enableLanDhcp=$)},{default:V(()=>[Zb]),_:1},8,["modelValue"])])):E("",!0),n.value?(i(),r("div",Jb,h(n.value),1)):E("",!0),t("div",Xb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},"\u4FDD\u5B58\u914D\u7F6E",8,Kb),B(D,{to:"/network",custom:""},{default:V(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},"\u8FD4\u56DE",8,Qb)]),_:1})])],40,Cb)])):a.value==1?(i(),r("div",tv,[ev,t("div",av,[B(D,{to:"/",custom:""},{default:V(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:$},"\u8FDB\u5165\u63A7\u5236\u53F0",8,ov)]),_:1}),B(D,{to:"/network",custom:""},{default:V(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},"\u8FD4\u56DE",8,nv)]),_:1})])])):E("",!0)}}});var rv=Y(iv,[["__scopeId","data-v-0d3a64fa"]]);const lt=e=>(N("data-v-1c3f186c"),e=e(),q(),e),sv={key:0,id:"page"},dv=lt(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C",-1)),uv=lt(()=>t("code",null,[U(" \u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002 "),t("br"),U("\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 "),t("br"),U("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A "),t("br"),U("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B "),t("br"),U("\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)),lv={class:"btns"},cv=["onClick"],pv={key:1,id:"page"},fv=lt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC",-1)),mv=lt(()=>t("h3",{class:"desc"},"\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F",-1)),bv=["onSubmit"],vv=lt(()=>t("div",{class:"label-key"},[t("span",null,"LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),gv={class:"label-value"},_v=lt(()=>t("option",null,"\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740",-1)),hv=[_v],xv=lt(()=>t("div",{class:"label-key"},[t("span",null,"IP \u5730\u5740")],-1)),kv=lt(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),wv=lt(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),yv=lt(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Fv={key:0,class:"msgs"},Ev={class:"switch_inline"},Cv={key:0,class:"switch_info"},$v={key:1,class:"switch_info"},Dv={class:"switch_inline"},Bv=lt(()=>t("span",{class:"switch_info"},"\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09",-1)),Yv={class:"btns"},Av=lt(()=>t("button",{class:"cbi-button cbi-button-apply app-btn app-next"},"\u4FDD\u5B58\u914D\u7F6E",-1)),Sv=["onClick"],zv={key:2,id:"page"},Pv=lt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),Tv=lt(()=>t("h3",{class:"desc"},"\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)),Iv={key:3,id:"page"},Lv=lt(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E",-1)),Mv=lt(()=>t("code",null," \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)),Ov=U(" 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) "),Nv=["disabled"],qv=U("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09 "),Vv={style:{"text-align":"left"}},jv=U(" 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 "),Rv={class:"btns"},Gv=["disabled"],Uv=["onClick"],Wv=P({setup(e){const a=y(0),o=y(""),n=y(!1),s=G(()=>{var m,b,_;return!(((m=p.value)==null?void 0:m.ipv4addr)&&((b=p.value)==null?void 0:b.ipv4mask)&&((_=p.value)==null?void 0:_.gateway))}),c=y({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1}),p=y(),f=()=>{n.value=!0,S.Network.Status.GET().then(m=>{if(m!=null&&m.data){const{result:b}=m==null?void 0:m.data;b&&(p.value=b)}}).finally(()=>{n.value=!1})},d=m=>{var b,_,v,g,k;m&&(c.value.staticLanIp=((b=p.value)==null?void 0:b.ipv4addr)||"",c.value.subnetMask=((_=p.value)==null?void 0:_.ipv4mask)&&ht.prefixToMask(p.value.ipv4mask)||"",c.value.gateway=((v=p.value)==null?void 0:v.gateway)||"",c.value.staticDnsIp=((g=p.value)==null?void 0:g.dnsList)&&((k=p.value)==null?void 0:k.dnsList[0])||"223.5.5.5"),a.value=1},l=m=>{window.location.href=location.protocol+"//"+c.value.staticLanIp+(location.port?":"+location.port:"")},u=()=>T(this,null,function*(){const m=c.value,b=F.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.Guide.GatewayRouter.POST(m);if(_!=null&&_.data){const{success:v,error:g}=_==null?void 0:_.data;if(g&&(o.value=g),v==null||v==0){setTimeout(()=>{a.value=2,b.Close()},5e3);return}}}catch(_){o.value=_}b.Close()});return(m,b)=>{var g,k,x,C;const _=Q("router-link"),v=Q("switch-box");return a.value==0?(i(),r("div",sv,[dv,uv,t("div",lv,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:b[0]||(b[0]=A=>a.value=3)},"\u81EA\u52A8\u914D\u7F6E..."),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:b[1]||(b[1]=A=>d(!1))},"\u624B\u52A8\u914D\u7F6E..."),B(_,{to:"/network",custom:""},{default:V(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,cv)]),_:1})])])):a.value==1?(i(),r("div",pv,[fv,mv,t("form",{onSubmit:nt(u,["prevent"])},[t("label",null,[vv,t("div",gv,[t("select",{disabled:"",style:It({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},hv,4)])]),t("label",null,[xv,z(t("input",{type:"text","onUpdate:modelValue":b[2]||(b[2]=A=>c.value.staticLanIp=A),placeholder:"IP\u5730\u5740",required:""},null,512),[[W,c.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[kv,z(t("input",{type:"text","onUpdate:modelValue":b[3]||(b[3]=A=>c.value.subnetMask=A),placeholder:"\u5B50\u7F51\u63A9\u7801",required:""},null,512),[[W,c.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[wv,z(t("input",{type:"text","onUpdate:modelValue":b[4]||(b[4]=A=>c.value.gateway=A),placeholder:"\u7F51\u5173\u5730\u5740",required:""},null,512),[[W,c.value.gateway,void 0,{trim:!0}]])]),t("label",null,[yv,z(t("input",{type:"text","onUpdate:modelValue":b[5]||(b[5]=A=>c.value.staticDnsIp=A),placeholder:"223.5.5.5",required:""},null,512),[[W,c.value.staticDnsIp,void 0,{trim:!0}]])]),o.value?(i(),r("div",Fv,h(o.value),1)):E("",!0),t("div",Ev,[B(v,{modelValue:c.value.enableDhcp,"onUpdate:modelValue":b[6]||(b[6]=A=>c.value.enableDhcp=A)},{default:V(()=>[c.value.enableDhcp?(i(),r("span",Cv,"\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")):(i(),r("span",$v,"\u63D0\u4F9B DHCPv4 \u670D\u52A1"))]),_:1},8,["modelValue"])]),t("div",Dv,[B(v,{modelValue:c.value.dhcp6c,"onUpdate:modelValue":b[7]||(b[7]=A=>c.value.dhcp6c=A)},{default:V(()=>[Bv]),_:1},8,["modelValue"])]),t("div",Yv,[Av,B(_,{to:"/network",custom:""},{default:V(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,Sv)]),_:1})])],40,bv)])):a.value==2?(i(),r("div",zv,[Pv,Tv,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:l},"\u8FDB\u5165\u63A7\u5236\u53F0")])])):a.value==3?(i(),r("div",Iv,[Lv,Mv,Ov,t("button",{class:ot(["cbi-button cbi-button-neutral",w(s)?"cbi-button-neutral":"cbi-button-success"]),disabled:n.value,onClick:f},[qv,t("p",Vv,[t("ul",null,[t("li",null,"IP \u5730\u5740: "+h((g=p.value)==null?void 0:g.ipv4addr),1),t("li",null,"\u5B50\u7F51\u63A9\u7801: "+h(((k=p.value)==null?void 0:k.ipv4mask)&&w(ht).prefixToMask(p.value.ipv4mask)),1),t("li",null,"\u7F51\u5173\u5730\u5740: "+h((x=p.value)==null?void 0:x.gateway),1),t("li",null,"DNS\u670D\u52A1\u5668: "+h(((C=p.value)==null?void 0:C.dnsList)&&p.value.dnsList[0]||(w(s)?"":"\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,Nv),jv,t("div",Rv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w(s),onClick:b[8]||(b[8]=A=>d(!0))},"\u81EA\u52A8\u586B\u5199..."+h(w(s)?"\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09":""),9,Gv),B(_,{to:"/network",custom:""},{default:V(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,Uv)]),_:1})])])):E("",!0)}}});var Hv=Y(Wv,[["__scopeId","data-v-1c3f186c"]]);const zt=e=>(N("data-v-7fc91c6d"),e=e(),q(),e),Zv={class:"actioner-container"},Jv=zt(()=>t("div",{class:"actioner-container_header"},[t("span",null,"RAID\u521B\u5EFA\u5411\u5BFC")],-1)),Xv={class:"actioner-container_body"},Kv=zt(()=>t("p",null,"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)),Qv={class:"label-item"},tg=zt(()=>t("div",{class:"label-item_key"},[t("span",null,"RAID\u7EA7\u522B\uFF1A")],-1)),eg={class:"label-item_value"},ag=["value"],og={class:"label-item_tips"},ng={class:"label-item"},ig=zt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")],-1)),rg={key:0,class:"label-item_value"},sg=zt(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),dg=[sg],ug={key:1,class:"label-item_value"},lg=["value"],cg={key:1,class:"msg-warning"},pg={class:"label-item_tips"},fg=U(" \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 "),mg={class:"actioner-container_footer"},bg=["disabled"],vg=["disabled"],gg={key:1,class:"actioner-container_body setup-loading"},_g=zt(()=>t("span",null,"\u6B63\u5728\u521B\u5EFA\u4E2D...",-1)),hg={class:"actioner-container_body setup-error"},xg={class:"actioner-container_footer"},kg=["disabled"],wg={class:"actioner-container_body setup-success"},yg=zt(()=>t("div",{class:"body-title"},"\u521B\u5EFA\u6210\u529F",-1)),Fg=zt(()=>t("div",{class:"body-info"},[t("span",null," \u5982\u9700\u5BF9raid\u8BBE\u5907\u8FDB\u884C\u8BFB\u5199\u64CD\u4F5C\uFF0C\u9700\u8981\u5BF9raid\u8BBE\u5907\u683C\u5F0F\u5316\u5E76\u6302\u8F7D\u6587\u4EF6\u7CFB\u7EDF "),t("br"),t("span",null,[U(" \u53EF\u524D\u5F80 "),t("a",{href:"/cgi-bin/luci/",target:"_blank",rel:"noopener noreferrer"},"\u9996\u9875-\u78C1\u76D8\u4FE1\u606F"),U(" \u8FDB\u884C\u6302\u8F7D ")])],-1)),Eg=P({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=y("init"),c=y(""),p=[{name:"jbod",title:"JBOD (\u7EBF\u6027)",info:"\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:"RAID 0 (\u6761\u5E26)",info:"\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:"RAID 1 (\u955C\u50CF)",info:"\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:"\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:"\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:"\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}],f=y("raid5"),d=y([]),l=g=>{let k="";return p.forEach(x=>{x.name===g&&(k=x.info)}),k},u=y(!1),m=it({loading:!1,members:[]}),b=g=>{};(()=>T(this,null,function*(){m.loading=!0;try{const g=yield S.Raid.CreateList.GET();if(g!=null&&g.data){const{success:k,error:x,result:C}=g.data;if(C&&(m.members=C.members||[]),x)throw x}}catch(g){console.log(g)}finally{m.loading=!1}}))();const v=()=>T(this,null,function*(){const g=p.filter(x=>x.name===f.value)[0],k=d.value;if(!g){F.Warning("\u8BF7\u9009\u62E9raid\u7C7B\u578B");return}if(k.length==0){F.Warning("\u8BF7\u9009\u62E9\u78C1\u76D8");return}if(g.select>k.length){F.Warning("\u8BF7\u9009\u62E9\u81F3\u5C11"+g.select+"\u5757\u78C1\u76D8");return}if(!!confirm(`\u662F\u5426\u7ACB\u5373\u521B\u5EFA ${g.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`)&&!!confirm(`\u786E\u5B9A\u521B\u5EFA ${g.name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C`)){u.value=!0,s.value="loading";try{const x=yield S.Raid.Create.POST({level:g.name,devicePaths:k});if(x.data){const{success:C,error:A,result:D}=x.data;if(A)throw A;(C||0)==0&&(s.value="success",n())}}catch(x){c.value=x,s.value="error"}finally{u.value=!1}}});return(g,k)=>{const x=Q("icon-loading"),C=Q("icon-error"),A=Q("icon-success");return i(),r("div",Zv,[Jv,s.value=="init"?(i(),r(L,{key:0},[t("div",Xv,[Kv,t("div",Qv,[tg,t("div",eg,[z(t("select",{"onUpdate:modelValue":k[0]||(k[0]=D=>f.value=D),onChange:b},[(i(),r(L,null,R(p,D=>t("option",{value:D.name},h(D.title),9,ag)),64))],544),[[K,f.value]])]),t("div",og,[B(gt),U(" "+h(l(f.value)),1)])]),t("div",ng,[ig,w(m).loading?(i(),r("div",rg,dg)):(i(),r("div",ug,[w(m).members.length>0?(i(!0),r(L,{key:0},R(w(m).members,D=>(i(),r("label",null,[z(t("input",{type:"checkbox","onUpdate:modelValue":k[1]||(k[1]=$=>d.value=$),value:D.path},null,8,lg),[[Lt,d.value]]),U(" \u3010"+h(D.model)+"\u3011"+h(D.name)+" "+h(D.path)+" ["+h(D.sizeStr)+"] ",1)]))),256)):(i(),r("span",cg," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))])),t("div",pg,[B(gt),fg])])]),t("div",mg,[t("div",{class:"close",onClick:o,disabled:u.value},"\u53D6\u6D88",8,bg),t("div",{class:"next",onClick:v,disabled:u.value},"\u521B\u5EFA",8,vg)])],64)):s.value=="loading"?(i(),r("div",gg,[B(x,{size:60,color:"#666"}),_g])):s.value=="error"?(i(),r(L,{key:2},[t("div",hg,[B(C),t("span",null,h(c.value),1)]),t("div",xg,[t("div",{class:"close",onClick:o},"\u5173\u95ED"),t("div",{class:"next",onClick:v,disabled:u.value},"\u91CD\u65B0\u521B\u5EFA",8,kg)])],64)):s.value=="success"?(i(),r(L,{key:3},[t("div",wg,[B(A),yg,Fg]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u5173\u95ED")])],64)):E("",!0)])}}});var Cg=Y(Eg,[["__scopeId","data-v-7fc91c6d"]]);const $g={class:"actioner-container"},Dg={class:"actioner-container_body"},Bg=["value"],Yg=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(e){const a=e,o=()=>{a.Close()},n=y("");return(()=>{S.Raid.Detail.POST({path:a.raid.path}).then(c=>{if(c.data){const{result:p,error:f}=c.data;f?n.value=f:n.value=(p==null?void 0:p.detail)||""}}).catch(c=>{n.value=c.message})})(),(c,p)=>(i(),r("div",$g,[t("div",Dg,[t("textarea",{value:n.value},null,8,Bg)]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u5173\u95ED")])]))}});var Ag=Y(Yg,[["__scopeId","data-v-51f9d7a2"]]);const Pe=e=>(N("data-v-c07c8244"),e=e(),q(),e),Sg={class:"actioner-container"},zg={class:"actioner-container_header"},Pg={class:"actioner-container_body"},Tg={class:"label-item"},Ig=Pe(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),Lg={class:"label-item_value"},Mg={disabled:""},Og={class:"label-item"},Ng=Pe(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A ",-1)),qg={key:0,class:"label-item_value"},Vg=Pe(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),jg=[Vg],Rg={key:1,class:"label-item_value"},Gg=["value"],Ug={key:1,class:"msg-warning"},Wg={class:"actioner-container_footer"},Hg=["disabled"],Zg=["disabled"],Jg=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const l=f.value;if(l==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8");return}p.value=!0;const u=F.Loading("\u4FDD\u5B58\u4E2D...");try{const m=yield S.Raid.Add.POST({path:a.raid.path,memberPath:l});if(m.data){const{error:b,success:_}=m.data;if(b)throw b;(_||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(m){F.Error(`${m}`)}finally{p.value=!1,u.Close()}}),c=it({loading:!1,members:[]}),p=y(!1),f=y("");return(()=>T(this,null,function*(){c.loading=!0,p.value=!0;try{const l=yield S.Raid.CreateList.GET();if(l!=null&&l.data){const{success:u,error:m,result:b}=l.data;if(b&&(c.members=b.members||[]),m)throw m}}catch(l){console.log(l)}finally{p.value=!1,c.loading=!1}}))(),(l,u)=>(i(),r("div",Sg,[t("div",zg,[t("span",null,"RAID - "+h(e.raid.name)+" \u4FEE\u6539",1)]),t("div",Pg,[t("div",Tg,[Ig,t("div",Lg,[t("select",Mg,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",Og,[Ng,w(c).loading?(i(),r("div",qg,jg)):(i(),r("div",Rg,[w(c).members.length>0?(i(!0),r(L,{key:0},R(w(c).members,m=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":u[0]||(u[0]=b=>f.value=b),value:m.path},null,8,Gg),[[ft,f.value]]),U(" \u3010"+h(m.model)+"\u3011"+h(m.name)+" "+h(m.path)+" ["+h(m.sizeStr)+"] ",1)]))),256)):(i(),r("span",Ug," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))]))])]),t("div",Wg,[t("div",{class:"close",onClick:o,disabled:p.value},"\u53D6\u6D88",8,Hg),t("div",{class:"next",onClick:s,disabled:p.value},"\u4FDD\u5B58",8,Zg)])]))}});var Xg=Y(Jg,[["__scopeId","data-v-c07c8244"]]);const va=e=>(N("data-v-13dc2cd6"),e=e(),q(),e),Kg={class:"actioner-container"},Qg={class:"actioner-container_header"},t_={class:"actioner-container_body"},e_={class:"label-item"},a_=va(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),o_={class:"label-item_value"},n_={disabled:""},i_={class:"label-item"},r_=va(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A ",-1)),s_={class:"label-item_value"},d_=["value"],u_={class:"actioner-container_footer"},l_=["disabled"],c_=["disabled"],p_=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const f=p.value;if(f==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8");return}c.value=!0;const d=F.Loading("\u4FDD\u5B58\u4E2D...");try{const l=yield S.Raid.Remove.POST({path:a.raid.path,memberPath:f});if(l.data){const{error:u,success:m}=l.data;if(u)throw u;(m||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(l){F.Error(`${l}`)}finally{c.value=!1,d.Close()}}),c=y(!1),p=y("");return(f,d)=>(i(),r("div",Kg,[t("div",Qg,[t("span",null,"RAID - "+h(e.raid.name)+" \u79FB\u9664",1)]),t("div",t_,[t("div",e_,[a_,t("div",o_,[t("select",n_,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",i_,[r_,t("div",s_,[(i(!0),r(L,null,R(e.raid.members,l=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":d[0]||(d[0]=u=>p.value=u),value:l},null,8,d_),[[ft,p.value]]),U(" "+h(l),1)]))),256))])])]),t("div",u_,[t("div",{class:"close",onClick:o,disabled:c.value},"\u53D6\u6D88",8,l_),t("div",{class:"next",onClick:s,disabled:c.value},"\u4FDD\u5B58",8,c_)])]))}});var f_=Y(p_,[["__scopeId","data-v-13dc2cd6"]]);const Te=e=>(N("data-v-5643983d"),e=e(),q(),e),m_={class:"actioner-container"},b_={class:"actioner-container_header"},v_={class:"actioner-container_body"},g_={class:"label-item"},__=Te(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),h_={class:"label-item_value"},x_={disabled:""},k_={class:"label-item"},w_=Te(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A ",-1)),y_={key:0,class:"label-item_value"},F_=Te(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),E_=[F_],C_={key:1,class:"label-item_value"},$_=["value"],D_={key:1,class:"msg-warning"},B_={class:"actioner-container_footer"},Y_=["disabled"],A_=["disabled"],S_=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const l=f.value;if(l==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8");return}p.value=!0;const u=F.Loading("\u4FDD\u5B58\u4E2D...");try{const m=yield S.Raid.Recover.POST({path:a.raid.path,memberPath:l});if(m.data){const{error:b,success:_}=m.data;if(b)throw b;(_||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(m){F.Error(`${m}`)}finally{p.value=!1,u.Close()}}),c=it({loading:!1,members:[]}),p=y(!1),f=y("");return(()=>T(this,null,function*(){c.loading=!0,p.value=!0;try{const l=yield S.Raid.CreateList.GET();if(l!=null&&l.data){const{success:u,error:m,result:b}=l.data;if(b&&(c.members=b.members||[]),m)throw m}}catch(l){console.log(l)}finally{p.value=!1,c.loading=!1}}))(),(l,u)=>(i(),r("div",m_,[t("div",b_,[t("span",null,"RAID - "+h(e.raid.name)+" \u6062\u590D",1)]),t("div",v_,[t("div",g_,[__,t("div",h_,[t("select",x_,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",k_,[w_,w(c).loading?(i(),r("div",y_,E_)):(i(),r("div",C_,[w(c).members.length>0?(i(!0),r(L,{key:0},R(w(c).members,m=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":u[0]||(u[0]=b=>f.value=b),value:m.path},null,8,$_),[[ft,f.value]]),U(" \u3010"+h(m.model)+"\u3011"+h(m.name)+" "+h(m.path)+" ["+h(m.sizeStr)+"] ",1)]))),256)):(i(),r("span",D_," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))]))])]),t("div",B_,[t("div",{class:"close",onClick:o,disabled:p.value},"\u53D6\u6D88",8,Y_),t("div",{class:"next",onClick:s,disabled:p.value},"\u4FDD\u5B58",8,A_)])]))}});var z_=Y(S_,[["__scopeId","data-v-5643983d"]]);const P_={class:"action-main"},T_=P({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(e){return(a,o)=>(i(),M(et,{type:2},{default:V(()=>[t("div",P_,[e.setup=="create"?(i(),M(Cg,{key:0,Close:e.Close},null,8,["Close"])):e.setup=="info"&&e.raid!=null?(i(),M(Ag,{key:1,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="edit"&&e.raid!=null?(i(),M(Xg,{key:2,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="remove"&&e.raid!=null?(i(),M(f_,{key:3,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="recover"&&e.raid!=null?(i(),M(z_,{key:4,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):E("",!0)])]),_:1}))}});var I_=Y(T_,[["__scopeId","data-v-6ef94d02"]]);const Jt=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(I_,at(J({},e),{Close:()=>{n()}}));o.use(aa),o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},re=e=>(N("data-v-535a673b"),e=e(),q(),e),L_={id:"page"},M_=re(()=>t("h2",{name:"content"}," RAID\u7BA1\u7406",-1)),O_=re(()=>t("div",{class:"cbi-map-descr"},[t("p",null," 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 "),t("p",{style:{color:"#f5365b","margin-top":"10px"}}," * 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 "),t("p",{style:{color:"#f5365b","margin-top":"10px"}}," * \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)),N_={class:"btns"},q_=["disabled"],V_={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},j_={class:"table cbi-section-table"},R_={style:{}},G_=re(()=>t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u540D\u79F0"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u72B6\u6001"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u7EA7\u522B"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5BB9\u91CF"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6210\u5458"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6302\u8F7D\u4FE1\u606F"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u64CD\u4F5C")],-1)),U_={class:"tr cbi-section-table-row"},W_={class:"td cbi-value-field"},H_={class:"td cbi-value-field"},Z_=["title"],J_={class:"item-status"},X_={key:0,class:"item-status item-status-detail"},K_={class:"td cbi-value-field"},Q_={class:"td cbi-value-field"},th={class:"td cbi-value-field"},eh=re(()=>t("br",null,null,-1)),ah={class:"td cbi-value-field"},oh=re(()=>t("br",null,null,-1)),nh={key:1,href:"/cgi-bin/luci/admin/quickstart/"},ih={class:"td cbi-section-table-cell nowrap cbi-section-actions"},rh=["disabled","onClick"],sh=["disabled","onClick"],dh=["onClick"],uh=["onClick"],lh=["onClick"],ch=P({setup(e){const a=it({disksList:[]}),o=()=>T(this,null,function*(){try{const v=yield S.Raid.List.GET();if(v!=null&&v.data){const{success:g,error:k,result:x}=v.data;if(x&&(a.disksList=x.disks||[]),k)throw k}}catch(v){console.log(v)}}),n=yt.easyInterval(o,5e3);Fe(()=>{n()});const s=v=>{switch(v.level){case"raid0":case"jbod":return!0}return v.status.indexOf("degraded")!=-1||v.status.indexOf("resyncing(")!=-1},c=v=>{let g=[];return v.childrens&&v.childrens.forEach(k=>{k.mountPoint&&g.push(`${k.name}(${k.mountPoint})`)}),g},p=()=>T(this,null,function*(){Jt({setup:"create",success:()=>{o()}})}),f=v=>{Jt({setup:"info",raid:v})},d=v=>T(this,null,function*(){if(v.childrens&&v.childrens.length>0&&v.childrens.filter(x=>x.mountPoint).length>0){de({content:"\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF",nextTitle:"\u53BB\u5378\u8F7D",next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:"\u53D6\u6D88",clear:()=>{}});return}if(!confirm(`\u786E\u5B9A\u8981\u5220\u9664 ${v.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`)||!confirm(`\u786E\u5B9A\u8981\u5220\u9664 ${v.name} \u5417?`))return;const g=F.Loading("\u5220\u9664\u4E2D...");try{const k=yield S.Raid.Delete.POST({path:v.path,members:v.members});if(k.data){const{success:x,error:C}=k.data;if(C)throw C;(x||0)==0&&(F.Success("\u5220\u9664\u6210\u529F"),o())}}catch(k){F.Error(`${k}`)}finally{g.Close()}}),l=v=>{Jt({setup:"edit",raid:v,success:()=>{o()}})},u=v=>{Jt({setup:"remove",raid:v,success:()=>{o()}})},m=v=>{Jt({setup:"recover",raid:v,success:()=>{o()}})},b=y(!1),_=()=>{de({content:"\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:"\u786E\u5B9A",next:()=>T(this,null,function*(){b.value=!0;const v=F.Loading("\u626B\u63CF\u4E2D...");try{const g=yield S.Raid.Autofix.GET();if(g.data){const{error:k,success:x}=g.data;if(k)throw k;(x||0)==0&&(F.Success("\u6062\u590D\u5B8C\u6210"),o())}}catch(g){F.Error(`${g}`)}finally{v.Close(),b.value=!1}}),clearTitle:"\u53D6\u6D88",clear:()=>{}})};return(v,g)=>(i(),r("div",L_,[M_,O_,t("div",N_,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:g[0]||(g[0]=k=>p())},"\u521B\u5EFARAID"),t("button",{class:"btn cbi-button cbi-button-apply",onClick:g[1]||(g[1]=k=>_()),disabled:b.value},"\u626B\u63CF\u6062\u590DRAID",8,q_)]),t("div",null,[t("div",V_,[t("table",j_,[t("tbody",R_,[G_,(i(!0),r(L,null,R(w(a).disksList,k=>(i(),r("tr",U_,[t("td",W_,[t("b",null,h(k.name),1)]),t("td",H_,[t("b",null,h(k.path),1)]),t("td",{class:"td cbi-value-field",title:k.status+(k.rebuildStatus||"")},[t("b",J_,h(k.status),1),k.rebuildStatus?(i(),r("b",X_," \u2026 ")):E("",!0)],8,Z_),t("td",K_,[t("b",null,h(k.level),1)]),t("td",Q_,[t("b",null,h(k.size),1)]),t("td",th,[(i(!0),r(L,null,R(k.members,x=>(i(),r("b",null,[U(h(x)+" ",1),eh]))),256))]),t("td",ah,[c(k).length>0?(i(!0),r(L,{key:0},R(c(k),x=>(i(),r("b",null,[U(h(x)+" ",1),oh]))),256)):(i(),r("a",nh,"\u53BB\u6302\u8F7D"))]),t("td",ih,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u6269\u5145",disabled:s(k),onClick:x=>l(k)},"\u6269\u5145",8,rh),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u79FB\u9664",disabled:s(k),onClick:x=>u(k)},"\u79FB\u9664",8,sh),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u6062\u590D",onClick:x=>m(k)},"\u6062\u590D",8,dh),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8BE6\u60C5",onClick:x=>f(k)},"\u8BE6\u60C5",8,uh),t("button",{class:"cbi-button cbi-button-remove",title:"\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=>d(k)},"\u5220\u9664",8,lh)])]))),256))])])])])]))}});var ph=Y(ch,[["__scopeId","data-v-535a673b"]]);const ga=e=>(N("data-v-2bc40d1c"),e=e(),q(),e),fh={id:"page"},mh=ga(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),bh=ga(()=>t("div",{class:"cbi-map-descr"},[t("p",null," 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 "),t("p",null," \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 "),t("p",null," \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 "),t("p",null," \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)),vh={class:"tabs"},gh=["href","onClick"],_h=P({setup(e){const a=[{to:"/smart",name:"\u5E38\u89C4\u8BBE\u7F6E"},{to:"/smart/task",name:"\u8BA1\u5212\u4EFB\u52A1"},{to:"/smart/log",name:"\u67E5\u770B\u65E5\u5FD7"}],o=y(!1),n=it({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),s=f=>{const{global:d,devices:l,tasks:u}=f;d&&(n.global.enable=d.enable||!1,n.global.powermode=d.powermode||"never"),n.devices=l||[],n.tasks=u||[]};(()=>T(this,null,function*(){try{const f=yield S.Smart.Config.GET();if(f.data){const{result:d}=f.data;d&&s(d)}}catch(f){}finally{o.value=!0}}))();const p=f=>T(this,null,function*(){const d=F.Loading("\u4FDD\u5B58\u4E2D...");try{const l=yield S.Smart.Config.POST(f);if(l.data){console.log(l.data);const{success:u,error:m,result:b}=l.data;if(m)throw m;(u||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),b&&s(b))}}catch(l){F.Error(`${l}`)}finally{d.Close()}});return(f,d)=>{const l=Q("router-link"),u=Q("router-view");return i(),r("div",fh,[mh,bh,t("ul",vh,[(i(),r(L,null,R(a,m=>B(l,{to:m.to,custom:"",key:m.to},{default:V(({route:b,href:_,navigate:v,isActive:g,isExactActive:k})=>[t("li",{class:ot({"active cbi-tab":g&&k})},[t("a",{href:_,onClick:v},h(m.name),9,gh)],2)]),_:2},1032,["to"])),64))]),o.value?(i(),M(u,{key:0,name:"default"},{default:V(({Component:m,route:b})=>[(i(),M(Ia,null,{default:V(()=>[(i(),M(La(m),{key:b.path,config:w(n),saveData:p},null,8,["config"]))]),_:2},1024))]),_:1})):E("",!0)])}}});var hh=Y(_h,[["__scopeId","data-v-2bc40d1c"]]);const xh={class:"action-main"},kh=P({setup(e){return(a,o)=>(i(),M(et,{type:2},{default:V(()=>[t("div",xh,[Dt(a.$slots,"default",{},void 0,!0)])]),_:3}))}});var he=Y(kh,[["__scopeId","data-v-742230ae"]]);const wh={class:"actioner-container"},yh={class:"actioner-container_header"},Fh={class:"actioner-container_body"},Eh={class:"cbi-value"},Ch=t("label",{class:"cbi-value-title"}," \u78C1\u76D8 ",-1),$h={class:"cbi-value-field"},Dh={class:"cbi-value-description"},Bh={class:"cbi-value"},Yh=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09 ",-1),Ah={class:"cbi-value-field"},Sh={class:"cbi-checkbox"},zh=t("option",{value:-1},"\u4F7F\u7528\u5168\u5C40\u914D\u7F6E",-1),Ph=t("option",{value:0},"\u7981\u7528",-1),Th=["value"],Ih=t("div",{class:"cbi-value-description"}," \u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A. ",-1),Lh={class:"cbi-value"},Mh=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09 ",-1),Oh={class:"cbi-value-field"},Nh={class:"cbi-checkbox"},qh=t("option",{value:-1},"\u4F7F\u7528\u5168\u5C40\u914D\u7F6E",-1),Vh=t("option",{value:0},"\u7981\u7528",-1),jh=["value"],Rh=t("div",{class:"cbi-value-description"}," \u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A. ",-1),Gh={class:"actioner-container_footer"},Uh=["disabled"],Wh=["disabled"],Hh=P({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(e){var p,f,d;const a=e;console.log(a.device);const o=y(!1),n=it({tmpDiff:((p=a.device)==null?void 0:p.tmpDiff)||0,tmpMax:((f=a.device)==null?void 0:f.tmpMax)||0,devicePath:((d=a.device)==null?void 0:d.devicePath)||""}),s=()=>{o.value=!0,a.close()},c=()=>T(this,null,function*(){o.value=!0;try{yield a.next({tmpDiff:n.tmpDiff,tmpMax:n.tmpMax,devicePath:n.devicePath}),o.value=!1,s()}catch(l){}});return(l,u)=>(i(),M(he,null,{default:V(()=>[t("div",wh,[t("div",yh,[t("span",null," S.M.A.R.T. \xBB \u8BBE\u5907 \xBB "+h(e.disk.path),1)]),t("div",Fh,[t("div",Eh,[Ch,t("div",$h,[t("div",Dh,h(e.disk.model)+" [ "+h(e.disk.path)+"\uFF0C"+h(e.disk.sizeStr)+" ] ",1)])]),t("div",Bh,[Yh,t("div",Ah,[t("div",Sh,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":u[0]||(u[0]=m=>w(n).tmpDiff=m)},[zh,Ph,(i(),r(L,null,R(20,m=>t("option",{value:m},h(m)+"\xB0C",9,Th)),64))],512),[[K,w(n).tmpDiff,void 0,{number:!0}]])]),Ih])]),t("div",Lh,[Mh,t("div",Oh,[t("div",Nh,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":u[1]||(u[1]=m=>w(n).tmpMax=m)},[qh,Vh,(i(),r(L,null,R(20,m=>t("option",{value:m*5},h(m*5)+"\xB0C",9,jh)),64))],512),[[K,w(n).tmpMax,void 0,{number:!0}]])]),Rh])])]),t("div",Gh,[t("button",{class:"close",onClick:s,disabled:o.value},"\u53D6\u6D88",8,Uh),t("button",{class:"next",onClick:c,disabled:o.value},"\u4FDD\u5B58",8,Wh)])])]),_:1}))}}),Zh={class:"actioner-container"},Jh=t("div",{class:"actioner-container_header"},[t("span",null," \u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1 ")],-1),Xh={class:"actioner-container_body"},Kh={class:"cbi-value"},Qh=t("label",{class:"cbi-value-title"}," \u78C1\u76D8 ",-1),tx={class:"cbi-value-field"},ex={class:"cbi-checkbox"},ax=t("option",{value:""},"\u9009\u62E9\u78C1\u76D8",-1),ox=["value"],nx={class:"cbi-value"},ix=t("label",{class:"cbi-value-title"}," \u7C7B\u578B ",-1),rx={class:"cbi-value-field"},sx={class:"cbi-checkbox"},dx=t("option",{value:"short"},"\u77ED\u6682\u81EA\u68C0",-1),ux=t("option",{value:"long"},"\u957F\u65F6\u81EA\u68C0",-1),lx=t("option",{value:"conveyance"},"\u4F20\u8F93\u65F6\u81EA\u68C0",-1),cx=t("option",{value:"offline"},"\u79BB\u7EBF\u65F6\u81EA\u68C0",-1),px=[dx,ux,lx,cx],fx={class:"cbi-value"},mx=t("label",{class:"cbi-value-title"}," \u5C0F\u65F6 ",-1),bx={class:"cbi-value-field"},vx={class:"cbi-checkbox"},gx=t("option",{value:"*"},"*",-1),_x=["value"],hx=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u5C0F\u65F6 ",-1),xx={class:"cbi-value"},kx=t("label",{class:"cbi-value-title"}," \u5929 ",-1),wx={class:"cbi-value-field"},yx={class:"cbi-checkbox"},Fx=t("option",{value:"*"},"*",-1),Ex=["value"],Cx=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u5929 ",-1),$x={class:"cbi-value"},Dx=t("label",{class:"cbi-value-title"}," \u6708 ",-1),Bx={class:"cbi-value-field"},Yx={class:"cbi-checkbox"},Ax=t("option",{value:"*"},"*",-1),Sx=["value"],zx=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u6708 ",-1),Px={class:"actioner-container_footer"},Tx=["disabled"],Ix=["disabled"],Lx=P({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(e){const a=e,o=y(!1),n=it({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),s=y([]);(()=>T(this,null,function*(){try{const d=yield S.Smart.List.GET();if(d.data){const{result:l,error:u}=d.data;l&&l.disks&&(s.value=l.disks)}}catch(d){}}))();const p=()=>{o.value=!0,a.close()},f=()=>T(this,null,function*(){if(n.devicePath==""){F.Warning("\u8BF7\u9009\u62E9\u78C1\u76D8");return}o.value=!0;try{yield a.next(n),p()}catch(d){}finally{o.value=!1}});return(d,l)=>(i(),M(he,null,{default:V(()=>[t("div",Zh,[Jh,t("div",Xh,[t("div",Kh,[Qh,t("div",tx,[t("div",ex,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[0]||(l[0]=u=>w(n).devicePath=u)},[ax,(i(!0),r(L,null,R(s.value,u=>(i(),r("option",{value:u.path},h(u.model)+" [ "+h(u.path)+"\uFF0C"+h(u.sizeStr)+" ] ",9,ox))),256))],512),[[K,w(n).devicePath,void 0,{trim:!0}]])])])]),t("div",nx,[ix,t("div",rx,[t("div",sx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[1]||(l[1]=u=>w(n).type=u)},px,512),[[K,w(n).type,void 0,{trim:!0}]])])])]),t("div",fx,[mx,t("div",bx,[t("div",vx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[2]||(l[2]=u=>w(n).hour=u)},[gx,(i(),r(L,null,R(24,(u,m)=>t("option",{value:`${m}`},h(m),9,_x)),64))],512),[[K,w(n).hour,void 0,{trim:!0}]])]),hx])]),t("div",xx,[kx,t("div",wx,[t("div",yx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[3]||(l[3]=u=>w(n).dayPerMonth=u)},[Fx,(i(),r(L,null,R(31,u=>t("option",{value:`${u}`},h(u),9,Ex)),64))],512),[[K,w(n).dayPerMonth,void 0,{trim:!0}]])]),Cx])]),t("div",$x,[Dx,t("div",Bx,[t("div",Yx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[4]||(l[4]=u=>w(n).month=u)},[Ax,(i(),r(L,null,R(12,(u,m)=>t("option",{value:`${u}`},h(u),9,Sx)),64))],512),[[K,w(n).month,void 0,{trim:!0}]])]),zx])])]),t("div",Px,[t("button",{class:"close",onClick:p,disabled:o.value},"\u53D6\u6D88",8,Tx),t("button",{class:"next",onClick:f,disabled:o.value},"\u4FDD\u5B58",8,Ix)])])]),_:1}))}}),Mx=e=>(N("data-v-3f7c551e"),e=e(),q(),e),Ox={class:"actioner-container"},Nx=Mx(()=>t("div",{class:"actioner-container_header"},[t("span",null," \u8FD0\u884C\u8C03\u8BD5 ")],-1)),qx={class:"actioner-container_body"},Vx=["value"],jx={class:"actioner-container_footer"},Rx=["disabled"],Gx=["disabled"],Ux=P({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(e){const a=e,o=y(!1),n=y(""),s=y(""),c=y(""),p=()=>T(this,null,function*(){n.value+=".";try{const u=yield S.Smart.Test.Result.POST({type:"selftest",devicePath:a.task.devicePath||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(c.value=m.result),b&&(c.value=b)}}catch(u){u&&(c.value=u)}}),f=yt.easyInterval(p,5e3);Fe(()=>{f()});const d=()=>{o.value=!0,f(),a.close()},l=()=>T(this,null,function*(){o.value=!0;try{const u=yield S.Smart.Test.POST({type:a.task.type||"short",devicePath:a.task.devicePath||""});if(u.data){const{success:m,error:b,result:_}=u.data;b&&(s.value=b),_&&_.result&&(s.value=_.result)}}catch(u){s.value=u}finally{}});return(u,m)=>(i(),M(he,null,{default:V(()=>[t("div",Ox,[Nx,t("div",qx,[t("textarea",{value:s.value+` +var ha=Object.defineProperty,xa=Object.defineProperties;var ka=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var wa=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable;var ke=(e,a,o)=>a in e?ha(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,J=(e,a)=>{for(var o in a||(a={}))wa.call(a,o)&&ke(e,o,a[o]);if(je)for(var o of je(a))ya.call(a,o)&&ke(e,o,a[o]);return e},at=(e,a)=>xa(e,ka(a));var Fa=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var Zt=(e,a,o)=>(ke(e,typeof a!="symbol"?a+"":a,o),o);var T=(e,a,o)=>new Promise((n,s)=>{var c=d=>{try{f(o.next(d))}catch(l){s(l)}},p=d=>{try{f(o.throw(d))}catch(l){s(l)}},f=d=>d.done?n(d.value):Promise.resolve(d.value).then(c,p);f((o=o.apply(e,a)).next())});import{d as te,a as P,c as G,u as w,o as i,b as r,e as t,t as h,n as It,f as E,r as Q,g as B,h as ot,i as Dt,w as z,v as Lt,j as Ea,k as M,l as V,m as y,p as Ca,q as Ft,s as K,F as L,x as R,y as W,z as N,A as q,B as Mt,C as $a,D as Vt,E as Da,G as Ba,H as Ya,I as Aa,J as Sa,K as za,L as Pa,M as nt,T as xt,N as tt,O as Ta,P as it,Q as wt,R as U,S as ft,U as ee,V as Fe,W as Ia,X as La,Y as ue,Z as Ma,_ as Oa,$ as Na,a0 as qa}from"./vendor.js?v=c0f4c287";var Ry=Fa(Qt=>{const Va=function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const p of c.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&n(p)}).observe(document,{childList:!0,subtree:!0});function o(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerpolicy&&(c.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?c.credentials="include":s.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function n(s){if(s.ep)return;s.ep=!0;const c=o(s);fetch(s.href,c)}};Va();const ja=(e,a)=>T(Qt,null,function*(){return new Promise((o,n)=>T(Qt,null,function*(){try{const s=yield fetch(e,a);if(Math.floor(s.status/100)!=2)throw s.status+" "+s.statusText;const c=J({},s);c.data=yield s.json(),o(c)}catch(s){const c=s;n("\u7F51\u7EDC\u5F02\u5E38\uFF1A"+((c==null?void 0:c.message)||s))}}))});class Ee{constructor(a){Zt(this,"config",{baseURL:"",headers:{}});Zt(this,"useRequest",a=>a);Zt(this,"useResponse",a=>a);Zt(this,"useError",a=>a);a.baseURL&&(this.config.baseURL=a.baseURL),a.headers&&(this.config.headers=a.headers)}static create(a){return new Ee(a)}Do(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const c=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${c.baseURL||""}${a}`,o.headers==null&&(o.headers={}),c.headers&&(o.headers=J({},c.headers));const f=yield fetch(a,o),d=J({},f);d.data=yield f.json(),n(this.useResponse(d))}catch(c){this.useError(c),s(c)}}))})}TEXT(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const c=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${c.baseURL||""}${a}`,o.headers==null&&(o.headers={}),c.headers&&(o.headers=J({},c.headers));const f=yield fetch(a,o),d=J({},f);d.data=yield f.text(),n(d)}catch(c){this.useError(c),s(c)}}))})}interceptors(){const a=this;return{requset:{use(o){a.useRequest=o}},response:{use(o,n){a.useResponse=o,n&&(a.useError=n)}}}}}const Xe=Ee.create({});Xe.interceptors().requset.use(e=>e);Xe.interceptors().response.use(e=>(e.data&&e.data.success==null&&e.data.success==0,e));const Ra="/cgi-bin/luci/istore";let Re=!1;const I=(e,a)=>(e.indexOf("//")==-1&&(e=`${Ra}${e}`),ja(e,a).then(o=>(o!=null&&o.data&&o.data.success==-1001&&o.data.error=="Forbidden"&&(Re||(Re=!0,alert("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),location.reload())),o))),Ga={Statistics:{GET(){return I("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return I("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return I("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return I("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(e){return I("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetInterfaceConfig:{GET(){return I("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(e){return I("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},PortList:{GET(){return I("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Ua={Version:{GET(){return I("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return I("/system/check-update/",{method:"GET"})}},Reboot:{POST(e){return I("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/system/status/",{method:"GET"})}}},Wa={Disk:{Status:{GET(){return I("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return I("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>I("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},InitRest:{POST:e=>I("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>I("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Mount:{POST:e=>I("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Service:{Status:{GET(){return I("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(e){return I("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Webdav:{Create:{POST(e){return I("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return I("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(e){return I("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSandbox:{GET(){return I("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return I("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return I("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return I("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return I("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Ha={Check:{POST(e){return I("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return I("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Za={Pppoe:{GET(){return I("/guide/pppoe/",{method:"GET"})},POST(e){return I("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return I("/guide/dns-config/",{method:"GET"})},POST(e){return I("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DhcpClient:{POST(e){return I("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return I("/guide/client-mode/",{method:"GET"})},POST(e){return I("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return I("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return I("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return I("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(e){return I("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerSwitch:{POST(e){return I("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DownloadService:{Status:{GET(){return I("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return I("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(e){return I("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},qbitorrentInit:{POST(e){return I("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},transmissionInit:{POST(e){return I("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetLan:{GET(){return I("/guide/lan/",{method:"GET"})}},LanIp:{POST(e){return I("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},SoftSource:{POST(e){return I("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSoftSource:{GET(){return I("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return I("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(e){return I("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetDdns:{GET(){return I("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(e){return I("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DdntoConfig:{GET(){return I("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(e){return I("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Ja={Create:{POST(e){return I("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Delete:{POST(e){return I("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Add:{POST(e){return I("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Remove:{POST(e){return I("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Recover:{POST(e){return I("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Detail:{POST(e){return I("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},List:{GET(){return I("/raid/list/",{method:"GET"})}},CreateList:{GET(){return I("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return I("/raid/autofix/",{method:"GET"})}}},Xa={Log:{GET(){return I("/smart/log/",{method:"GET"})}},List:{GET(){return I("/u/smart/list/",{method:"GET"})}},Config:{GET(){return I("/smart/config/",{method:"GET"})},POST(e){return I("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Test:{POST(e){return I("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Result:{POST(e){return I("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Attribute:{Result:{POST(e){return I("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Extend:{Result:{POST(e){return I("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}}};var Ka=Object.freeze(Object.defineProperty({__proto__:null,Network:Ga,System:Ua,Nas:Wa,App:Ha,Guide:Za,Raid:Ja,Smart:Xa},Symbol.toStringTag,{value:"Module"})),S=J({},Ka);const Ke=te("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});te("guide",{});const Qe=te("nas",{state:()=>({webdav:{}})}),le=te("network",{state:()=>({status:{},statistics:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(e){this.status=e},requestNetworkStatistics(){return T(this,null,function*(){try{const e=yield S.Network.Statistics.GET();e!=null&&e.data&&e.data.result&&(this.statistics=e.data.result)}catch(e){console.log(e)}})},requestDeviceList(){S.Network.Device.List.GET().then(e=>{if(e!=null&&e.data){const{result:a}=e==null?void 0:e.data;a&&(this.deviceList=a)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Ce=te("system",{state:()=>({version:{},checkUpdate:null,systemStatus:{}}),getters:{},actions:{incrTime(){var e;(e=this.systemStatus)!=null&&e.uptime&&this.systemStatus.uptime++},requestVersion(){S.System.Version.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.version=e.data.result)})},requestCheckUpdate(){S.System.CheckUpdate.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.checkUpdate=e.data.result)})},updateSystemStatus(e){this.systemStatus=e}}});let Ge=!1;const Qa=()=>{if(Ge)return;Ge=!0;let e=!0,a=!0;const o=le(),n=Ce(),s=function(){return S.System.Status.GET().then(p=>{p!=null&&p.data.result&&n.updateSystemStatus(p.data.result)}).finally(()=>{setTimeout(s,5e3),e&&(setInterval(()=>{n.incrTime()},1e3),e=!1)})},c=function(){return S.Network.Status.GET().then(p=>{if(p!=null&&p.data){const{result:f}=p==null?void 0:p.data;f&&o.updateNetworkStatus(f)}}).finally(()=>{setTimeout(c,5e3),a&&(setInterval(()=>{o.incrTime()},1e3),a=!1)})};c(),o.requestDeviceList(),setTimeout(()=>{n.requestCheckUpdate(),n.requestVersion(),s()},1100)};var Y=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o};const to=P({setup(e){const a=Ke(),o=G(()=>a.portitemStyle.portitem),n=G(()=>a.portitemStyle.show),s=G(()=>({bottom:`calc(100% - ${a.portitemStyle.top}px)`,left:`${a.portitemStyle.left}px`})),c=d=>{switch(d){case"full":return"\u5168\u53CC\u5DE5";case"half":return"\u534A\u53CC\u5DE5"}},p=d=>{a.portitemStyle.show=!0},f=d=>{a.portitemStyle.show=!1};return(d,l)=>w(n)?(i(),r("div",{key:0,class:"disk-item-tooltip",style:It(w(s)),onMouseenter:p,onMouseleave:f},[t("div",null,h(c(w(o).duplex)),1),t("div",null,"\u540D\u79F0\uFF1A"+h(w(o).name||"--"),1),t("div",null,"MAC\uFF1A"+h(w(o).macAddress||"--"),1),t("div",null,"\u63A5\u6536\uFF1A"+h(w(o).rx_packets||"--"),1),t("div",null,"\u53D1\u9001\uFF1A"+h(w(o).tx_packets||"--"),1)],36)):E("",!0)}});var eo=Y(to,[["__scopeId","data-v-57f1326f"]]);const ao={id:"main"},oo=P({setup(e){return(a,o)=>{const n=Q("router-view");return i(),r("div",ao,[B(n),B(eo)])}}});var no=Y(oo,[["__scopeId","data-v-9bc295c2"]]);const io={},ro={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"},so=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),uo=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),lo=[so,uo];function co(e,a){return i(),r("svg",ro,lo)}var po=Y(io,[["render",co]]);const fo={},mo={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"},bo=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),vo=[bo];function go(e,a){return i(),r("svg",mo,vo)}var _o=Y(fo,[["render",go]]);const ho={},xo={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"},ko=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),wo=[ko];function yo(e,a){return i(),r("svg",xo,wo)}var Fo=Y(ho,[["render",yo]]);const Eo={},Co={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"},$o=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),Do=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),Bo=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),Yo=[$o,Do,Bo];function Ao(e,a){return i(),r("svg",Co,Yo)}var So=Y(Eo,[["render",Ao]]);const zo={},Po={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"},To=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),Io=[To];function Lo(e,a){return i(),r("svg",Po,Io)}var Mo=Y(zo,[["render",Lo]]);const Oo={},No={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"},qo=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),Vo=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),jo=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),Ro=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),Go=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Uo=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),Wo=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),Ho=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),Zo=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),Jo=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),Xo=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),Ko=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),Qo=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),tn=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),en=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),an=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),on=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),nn=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),rn=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),sn=[qo,Vo,jo,Ro,Go,Uo,Wo,Ho,Zo,Jo,Xo,Ko,Qo,tn,en,an,on,nn,rn];function dn(e,a){return i(),r("svg",No,sn)}var un=Y(Oo,[["render",dn]]);const ln={},cn={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"},pn=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),fn=[pn];function mn(e,a){return i(),r("svg",cn,fn)}var bn=Y(ln,[["render",mn]]);const vn={class:"progress"},gn=P({props:{value:{type:Number,required:!0},text:{type:String}},setup(e){const a=e,o=G(()=>a.value>=80?"#e45e5e":a.value>=70?"#ff9800":a.value>=60?"#297ff3":a.value>0?"#53c31b":"");return(n,s)=>(i(),r("div",vn,[t("div",{class:ot(["progress-value",`${e.value>50}`]),style:It({width:`${e.value}%`,backgroundColor:w(o)})},[t("span",null,h(e.text),1)],6),Dt(n.$slots,"default",{},void 0,!0)]))}});var ta=Y(gn,[["__scopeId","data-v-733828e1"]]);const _n={},hn={t:"1649907260906",viewBox:"-8 248 1042 530",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},xn=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),kn=[xn];function wn(e,a){return i(),r("svg",hn,kn)}var yn=Y(_n,[["render",wn]]);const Fn={},En={t:"1649907515643",viewBox:"-8 248 1042 530",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},Cn=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),$n=[Cn];function Dn(e,a){return i(),r("svg",En,$n)}var Bn=Y(Fn,[["render",Dn]]);const Yn={class:"checkbox_switch_on"},An={class:"checkbox_switch_off"},Sn=P({props:{modelValue:{type:Boolean,required:!0},height:{type:String,default:"100%"}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=G({get:()=>o.modelValue.valueOf(),set:s=>a("update:modelValue",s)});return(s,c)=>(i(),r("label",{class:"checkbox_switch",style:It({height:e.height})},[z(t("input",{type:"checkbox","onUpdate:modelValue":c[0]||(c[0]=p=>Ea(n)?n.value=p:null)},null,512),[[Lt,w(n)]]),t("span",Yn,[B(yn)]),t("span",An,[B(Bn)]),Dt(s.$slots,"default",{},void 0,!0)],4))}});var ea=Y(Sn,[["__scopeId","data-v-20f08566"]]);const zn={},Pn={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"},Tn=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),In=[Tn];function Ln(e,a){return i(),r("svg",Pn,In)}var Mn=Y(zn,[["render",Ln]]);const On={},Nn={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"},qn=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),Vn=[qn];function jn(e,a){return i(),r("svg",Nn,Vn)}var Rn=Y(On,[["render",jn]]);const Gn={};function Un(e,a){return i(),r("article",null,[Dt(e.$slots,"default",{},void 0,!0)])}var Wn=Y(Gn,[["render",Un],["__scopeId","data-v-bd286d4e"]]);const Hn={class:"cover"},Zn={class:"thumbnail"},Jn=P({emits:["click"],setup(e,{emit:a}){const o=()=>{a("click")};return(n,s)=>(i(),M(Wn,null,{default:V(()=>[t("a",{onClick:o},[t("div",Hn,[t("div",Zn,[Dt(n.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Xn=Y(Jn,[["__scopeId","data-v-123deb20"]]);const Kn=e=>(N("data-v-169d5b59"),e=e(),q(),e),Qn={class:"select-editable"},ti={selected:"",value:""},ei=["value"],ai=Kn(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),oi=["placeholder"],ni=P({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=y(""),s=y(""),c=G({get:()=>o.modelValue.valueOf(),set:l=>a("update:modelValue",l)}),p=l=>{l===n.value||n.value==="useInput"&&l===s.value||(l===""||o.options.some(u=>u.key===l)?n.value=l:(s.value=l,n.value="useInput"))};Ca(()=>o.modelValue,l=>{p(l)}),Ft(()=>{const l=c.value;p(l)});const f=l=>{n.value==="useInput"?c.value=s.value:c.value=n.value},d=l=>{c.value=s.value};return(l,u)=>(i(),r("label",null,[t("div",Qn,[z(t("select",{"onUpdate:modelValue":u[0]||(u[0]=m=>n.value=m),autocomplete:"off",onChange:f},[t("option",ti,"\u8BF7\u9009\u62E9"+h(e.title),1),(i(!0),r(L,null,R(e.options,(m,b)=>(i(),r("option",{value:m.key,key:b},h(m.value||m.key),9,ei))),128)),ai],544),[[K,n.value,void 0,{trim:!0}]]),n.value=="useInput"?z((i(),r("input",{key:0,type:"text","onUpdate:modelValue":u[1]||(u[1]=m=>s.value=m),required:"",placeholder:"\u8BF7\u8F93\u5165"+e.title,onChange:d},null,40,oi)),[[W,s.value,void 0,{trim:!0}]]):E("",!0)])]))}});var Tt=Y(ni,[["__scopeId","data-v-169d5b59"]]);const ii={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"},ri=P({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(e){const a=o=>{if(o==null)return;if(typeof o=="number")return o+"px";const n=o.toString();return parseInt(n)+""==n?n+"px":n};return(o,n)=>(i(),r("div",{class:"loading",style:It({width:a(e.size),height:a(e.size)})},[(i(),r("svg",ii,[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:It({fill:e.color})},null,4)]))],4))}});var si=Y(ri,[["__scopeId","data-v-0a8a31e2"]]);const di={},ui={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":""},li=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),ci=[li];function pi(e,a){return i(),r("svg",ui,ci)}var fi=Y(di,[["render",pi]]);const mi={},bi={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"},vi=Mt('',1),gi=[vi];function _i(e,a){return i(),r("svg",bi,gi)}var hi=Y(mi,[["render",_i]]),aa={install:e=>{e.component("icon-loading",si),e.component("icon-success",fi),e.component("icon-error",hi)}};const xi=e=>{},ki=()=>new Date().getTime(),wi=e=>{if(e<1e3)return`${e} B`;let o=1e3,n=0;for(let p=e/1e3;p>=1e3;p/=1e3)o*=1e3,n++;let s=[" KB"," MB"," GB"," TB"," PB"," EB"];return(e/100/(o/100)).toFixed(1)+s[n]},yi=e=>{if(e==null)return 0;if(e<1e4)return e;let o=parseInt(`${e/1e4}`),n=e%1e4;return`${o}\u4E07${n}`},Fi=e=>{if(e)try{var a=new Date(e),o=a.getHours(),n=a.getMinutes(),s=a.getSeconds();return o<10&&(o=`0${o}`),n<10&&(n=`0${n}`),s<10&&(s=`0${s}`),`${o}:${n}:${s}`}catch(c){}return""},Ei=e=>{if(e){let a=Math.floor(e/86400),o=Math.floor(e/3600)%24,n=Math.floor(e/60)%60,s=e%60;return a+"\u5929"+o+"\u5C0F\u65F6"+(n<10?"0"+n:n)+"\u5206"+(s<10?"0"+s:s)+"\u79D2"}},Ci=e=>/^\d+\.\d+\.\d+\.\d+$/.test(e),$i=e=>e.length<3?"\u7528\u6237\u540D\u592A\u77ED":e.toLowerCase()!=e?"\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199":new RegExp("^\\d").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934":new RegExp("^_").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934":new RegExp("^[a-z0-9_]+$").exec(e)?!0:"\u975E\u6CD5\u7684\u7528\u6237\u540D",Di=(e,a)=>{let o=!0,n=null;const s=()=>{n=null,o&&e().finally(()=>{o&&(n=setTimeout(s,a))})};return n=setTimeout(s,0),()=>{o=!1,n!=null&&clearTimeout(n)}};var Bi=Object.freeze(Object.defineProperty({__proto__:null,formatDate:xi,UnixDate:ki,byteToSize:wi,numberToSum:yi,dateForm:Fi,stampForm:Ei,checkIsIP:Ci,checkSmabaUserName:$i,easyInterval:Di},Symbol.toStringTag,{value:"Module"})),yt=J({},Bi);const Yi={class:"flow"},Ai={class:"flow-data"},Si={key:0},zi={key:1},Pi=P({setup(e){$a([Da,Ba,Ya,Aa,Sa,za]);const a=y(),o=_=>{var g;const v=(g=a.value)==null?void 0:g[_];return!v||v.startTime==0?"":d(v.startTime*1e3)+"-"+d(v.endTime*1e3)},n=G(()=>{var v;let _=[];return(v=a.value)==null||v.forEach(g=>{_.push({value:g.uploadSpeed})}),_}),s=G(()=>{var v;let _=[];return(v=a.value)==null||v.forEach(g=>{_.push({value:g.downloadSpeed})}),_}),c=G(()=>{var v;let _="";if(a.value){let g=((v=a.value)==null?void 0:v.length)||0;if(g>0){let k=a.value[g-1];_=l(k.uploadSpeed)+"/s"}}return _}),p=G(()=>{var v;let _="";if(a.value){let g=((v=a.value)==null?void 0:v.length)||0;if(g>0){let k=a.value[g-1];_=l(k.downloadSpeed)+"/s"}}return _});G(()=>{var v;let _=[];return(v=a.value)==null||v.forEach(g=>{_.push({value:g.downloadSpeed+g.uploadSpeed})}),_});const f=()=>T(this,null,function*(){var _;try{const v=yield S.Network.Statistics.GET();if(v.data&&(_=v.data.result)!=null&&_.items){const g=v.data.result.slots||10;if(v.data.result.items.lengthg?a.value=v.data.result.items.slice(g-v.data.result.items.length):a.value=v.data.result.items}}catch(v){console.log(v)}}),d=yt.dateForm,l=yt.byteToSize,u=y();let m=null;const b=_=>(m=Pa(_,"dark"),m.setOption({animation:!1,backgroundColor:"transparent",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:v=>{if(Array.isArray(v)){let g="";v.length>0&&(g=o(v[0].axisValue));for(let k=0;k${v[k].seriesName}: ${l(v[k].value)}/s`;return g.toString()}else{const g=v;return`${o(g.axisValue)}
${g.seriesName}: ${l(g.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:"\u6D41\u91CF\u7EDF\u8BA1",textStyle:{fontSize:12,color:"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(v,g){return`${l(v)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",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:"\u4E0A\u4F20",data:n.value,type:"line",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",selected:{\u4E0A\u4F20:!0,\u4E0B\u8F7D:!0},textStyle:{color:"rgba(0, 0, 0, 0.6)"},itemStyle:{color:"#5e72e4"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),m);return Ft(()=>{setTimeout(()=>T(this,null,function*(){if(u.value){yield f();const _=b(u.value),v=u.value;_.resize({width:v.clientWidth,height:v.clientHeight}),window.addEventListener("resize",()=>{_.resize({width:v.clientWidth,height:v.clientHeight})});const g=()=>T(this,null,function*(){m!=null&&(yield f(),m!=null&&(_.setOption({series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",areaStyle:{},smooth:!0},{name:"\u4E0A\u4F20",data:n.value,type:"line",areaStyle:{},smooth:!0}]}),setTimeout(g,5e3)))});setTimeout(g,5e3)}}),900)}),Vt(()=>{m!=null&&(m.dispose(),m=null)}),(_,v)=>(i(),r("div",Yi,[t("div",{ref_key:"el",ref:u,class:"echart"},null,512),t("div",Ai,[w(c)?(i(),r("span",Si,"\u4E0A\u4F20: "+h(w(c)),1)):E("",!0),w(p)?(i(),r("span",zi,"\u4E0B\u8F7D: "+h(w(p)),1)):E("",!0)])]))}});var Ti=Y(Pi,[["__scopeId","data-v-652b014f"]]);const Ii={},Li={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"},Mi=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),Oi=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),Ni=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),qi=[Mi,Oi,Ni];function Vi(e,a){return i(),r("svg",Li,qi)}var $t=Y(Ii,[["render",Vi]]);let se=0;const ji={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 e=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,se=window.setTimeout(e,1e3))};se=window.setTimeout(e,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,se!=0&&clearTimeout(se),this.Close())}}},ce=e=>(N("data-v-6935a479"),e=e(),q(),e),Ri={key:0,class:"loading icon"},Gi=ce(()=>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)),Ui=[Gi],Wi={key:1,class:"success icon"},Hi=ce(()=>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)),Zi=[Hi],Ji={key:2,class:"error icon"},Xi=ce(()=>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)),Ki=[Xi],Qi={key:3,class:"warning icon"},tr=ce(()=>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)),er=[tr];function ar(e,a,o,n,s,c){return i(),M(xt,{name:"el-fade-in-linear"},{default:V(()=>[s.show?(i(),r("div",{key:0,class:"toast",onClick:a[1]||(a[1]=p=>c.Stop())},[o.type=="loading"?(i(),r("div",Ri,Ui)):o.type=="success"?(i(),r("div",Wi,Zi)):o.type=="error"?(i(),r("div",Ji,Ki)):o.type=="warning"?(i(),r("div",Qi,er)):E("",!0),t("div",{class:"message",onClick:a[0]||(a[0]=nt(()=>{},["stop"]))},h(c.Message),1)])):E("",!0)]),_:1})}var or=Y(ji,[["render",ar],["__scopeId","data-v-6935a479"]]);const Xt=new Map,jt=e=>{const a=tt(or,at(J({},e),{Close:()=>{n()}})),o=document.createElement("div");document.body.append(o),a.mount(o);const n=()=>{o.remove(),Xt.get(a._uid)&&Xt.delete(a._uid)};return e.type=="loading"&&Xt.set(a._uid,{Close:n}),(e==null?void 0:e.duration)==0||((e==null?void 0:e.duration)>0?setTimeout(()=>{n()},e==null?void 0:e.duration):setTimeout(()=>{n()},3e3)),{Close:n}},F=e=>jt(e);F.Loading=(e,a)=>jt({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:a||0});F.Success=e=>jt({type:"success",message:e});F.Error=e=>jt({type:"error",message:e,duration:0});F.Warning=e=>jt({type:"warning",message:e});F.Message=e=>jt({message:e});F.Clear=()=>{Xt.forEach((e,a)=>{e.Close(),Xt.delete(a)})};const ct={installApp:(e,a)=>new Promise((o,n)=>{let s=0;S.App.Install.POST({name:e}).then(()=>{const c=setTimeout(()=>{s==0&&(s=1,o(!1))},(a||60)*1e3),p=()=>{s==0&&S.App.Check.POST({name:e}).then(f=>{if(s==0&&f!=null&&f.data){const{result:d}=f.data;if((d==null?void 0:d.status)=="installed"){clearTimeout(c),s=1,o(!0);return}}}).catch(f=>{}).finally(()=>{s==0&&setTimeout(p,3e3)})};setTimeout(p,3e3)}).catch(c=>{s==0&&(s=1,n("\u5B89\u88C5\u5931\u8D25\uFF0C"+c))})}),checkAndInstallApp:(e,a,o)=>T(Qt,null,function*(){let n=F.Loading("\u68C0\u67E5\u4E2D...");try{const s=yield S.App.Check.POST({name:e});if(n.Close(),s!=null&&s.data){const{result:c,error:p}=s.data;if(p)F.Warning(p);else if(c){if(c.status=="installed")return!0;if(confirm(`\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 ${a} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F`)){n=F.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D...");const f=yield ct.installApp(o||e);if(n.Close(),f)return!0;F.Error("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5")}}else F.Warning("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25")}return!1}catch(s){return n.Close(),F.Warning(s),!1}}),installAndGo:(e,a,o,n)=>T(Qt,null,function*(){(yield ct.checkAndInstallApp(e,a,n))&&(location.href=o)})},nr={},ir={t:"1640746738262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1216",width:"128",height:"128"},rr=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"},null,-1),sr=[rr];function dr(e,a){return i(),r("svg",ir,sr)}var ur=Y(nr,[["render",dr]]);const lr=e=>(N("data-v-428d873e"),e=e(),q(),e),cr={id:"actioner"},pr={key:0,class:"action-container"},fr={class:"action-container_header"},mr=lr(()=>t("div",null,null,-1)),br={class:"title"},vr={class:"action-container_body"},gr=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){const a=e,o=y(!1);Ft(()=>{o.value=!0,document.body.setAttribute("lock-scroll","true")}),Vt(()=>{document.body.removeAttribute("lock-scroll")});const n=()=>{a.Close&&(o.value=!1,setTimeout(()=>{a.Close&&a.Close()},300))};return(s,c)=>(i(),r("div",cr,[t("div",{class:"bg",onClick:n}),e.type!=null?Dt(s.$slots,"default",{key:0},void 0,!0):(i(),r(L,{key:1},[o.value?(i(),r("div",pr,[t("div",fr,[mr,t("div",br,h(e.title),1),t("button",{class:"close",title:"\u5173\u95ED",onClick:n},[B(ur)])]),t("div",vr,[Dt(s.$slots,"default",{},void 0,!0)])])):E("",!0)],64))]))}});var _r=Y(gr,[["__scopeId","data-v-428d873e"]]);const et=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){return(a,o)=>(i(),M(_r,{Close:e.Close,type:e.type,title:e.title},{default:V(()=>[Dt(a.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Bt=e=>(N("data-v-c4cdcce6"),e=e(),q(),e),hr=["onSubmit"],xr=Bt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),kr={class:"actioner-dns_body"},wr={class:"label-item"},yr=Bt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u9009\u9879")],-1)),Fr={class:"label-item_value"},Er=["disabled"],Cr=Bt(()=>t("option",{value:"manual"},"\u81EA\u5B9A\u4E49DNS",-1)),$r={class:"label-item"},Dr=Bt(()=>t("div",{class:"label-item_key"},"DNS\u670D\u52A1\u5668\u5730\u5740",-1)),Br={class:"label-item_value"},Yr=["onUpdate:modelValue"],Ar={class:"label-item"},Sr=Bt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u670D\u52A1\u5668\u5730\u5740")],-1)),zr={class:"label-item_value"},Pr={class:"label-item"},Tr=Bt(()=>t("div",{class:"label-item_key"},"\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740",-1)),Ir={class:"label-item_value"},Lr={key:1,class:"label-message"},Mr={class:"actioner-dns_footer"},Or=["disabled"],Nr={key:1,class:"actioner-dns"},qr=Bt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),Vr=Bt(()=>t("div",{class:"actioner-dns_body"},[t("div",{class:"config-message"},"DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")],-1)),jr=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=le(),s=n.status,c=G(()=>n.status.proto!="static"),p=y({interfaceName:s.defaultInterface||"",dnsProto:s.dnsProto||"manual",manualDnsIp:s.dnsList||[]}),f=y(""),d=y(""),l=y(""),u=y(!1),m=()=>T(this,null,function*(){l.value="";let v={};switch(p.value.dnsProto){case"auto":break;case"manual":v.manualDnsIp=[],p.value.manualDnsIp!=null&&p.value.manualDnsIp.length>0?v.manualDnsIp=p.value.manualDnsIp:(v.manualDnsIp.push(f.value),d.value&&v.manualDnsIp.push(d.value));break}v.dnsProto=p.value.dnsProto,v.interfaceName=p.value.interfaceName;const g=F.Loading("\u914D\u7F6E\u4E2D...");try{const k=yield S.Guide.DnsConfig.POST(v);if(k!=null&&k.data){const{success:x,error:C}=k==null?void 0:k.data;C&&(l.value=C),(x==null||x==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),o.value=1)}}catch(k){l.value=k}g.Close()}),b=v=>{v.preventDefault(),a.Close&&a.Close()},_=v=>{location.reload()};return(v,g)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(m,["prevent"])},[xr,t("div",kr,[t("div",wr,[yr,t("div",Fr,[z(t("select",{"onUpdate:modelValue":g[0]||(g[0]=k=>p.value.dnsProto=k)},[t("option",{value:"auto",disabled:!w(c)},"\u81EA\u52A8\u83B7\u53D6DNS",8,Er),Cr],512),[[K,p.value.dnsProto]])])]),p.value.dnsProto=="manual"?(i(),r(L,{key:0},[p.value.manualDnsIp!=null&&p.value.manualDnsIp.length>0?(i(!0),r(L,{key:0},R(p.value.manualDnsIp,(k,x)=>(i(),r("div",$r,[Dr,t("div",Br,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740","onUpdate:modelValue":C=>p.value.manualDnsIp[x]=C},null,8,Yr),[[W,p.value.manualDnsIp[x],void 0,{trim:!0}]])])]))),256)):(i(),r(L,{key:1},[t("div",Ar,[Sr,t("div",zr,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740",required:"","onUpdate:modelValue":g[1]||(g[1]=k=>f.value=k)},null,512),[[W,f.value,void 0,{trim:!0}]])])]),t("div",Pr,[Tr,t("div",Ir,[z(t("input",{type:"text",placeholder:"\u5907\u7528DNS\u5730\u5740","onUpdate:modelValue":g[2]||(g[2]=k=>d.value=k)},null,512),[[W,d.value,void 0,{trim:!0}]])])])],64))],64)):E("",!0),l.value?(i(),r("div",Lr,h(l.value),1)):E("",!0)]),t("div",Mr,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},"\u786E\u8BA4",8,Or),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:b},"\u53D6\u6D88")])],40,hr)):o.value==1?(i(),r("div",Nr,[qr,Vr,t("div",{class:"actioner-dns_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u5B8C\u6210")])])):E("",!0)]),_:1},8,["Close"]))}});var Rr=Y(jr,[["__scopeId","data-v-c4cdcce6"]]);const oa=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Rr,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},pe=e=>(N("data-v-0ae97e7e"),e=e(),q(),e),Gr={class:"action"},Ur={class:"action-body"},Wr=pe(()=>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)),Hr=pe(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),Zr={class:"info"},Jr=pe(()=>t("span",null,"\u524D\u5F80",-1)),Xr=["href"],Kr=pe(()=>t("span",null,"\u8FDB\u884C\u6D4B\u901F",-1)),Qr=P({props:{port:Number,Close:Function},setup(e){const a=e,o=G(()=>`http://${location.hostname}:${a.port}`),n=()=>{a.Close&&(a.Close(),location.reload())};return(s,c)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",Gr,[t("div",Ur,[Wr,Hr,t("div",Zr,[Jr,t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,Xr),Kr]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:n},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var ts=Y(Qr,[["__scopeId","data-v-0ae97e7e"]]),es=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ts,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const $e=e=>(N("data-v-39248365"),e=e(),q(),e),as=$e(()=>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)),os={class:"app-container_status-label_text"},ns=$e(()=>t("div",{class:"text_status"},"\u5DF2\u65AD\u5F00",-1)),is={class:"text_info"},rs=$e(()=>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)),ss={class:"app-container_status-label_text"},ds={class:"text_info"},us=P({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(e){const a=e,o=Ke(),n=y(null),s=p=>{const f=p.target,{left:d,top:l}=f.getBoundingClientRect();o.portitemStyle.show=!0,o.portitemStyle.left=d,o.portitemStyle.top=l,o.portitemStyle.portitem=a.item},c=p=>{o.portitemStyle.show=!1};return(p,f)=>(i(),r("div",{class:"app-container_status-label_bg",style:It(`transform: translateX(${e.transform}px);`),ref_key:"el",ref:n,onMouseenter:s,onMouseleave:c},[e.item.linkState=="DOWN"?(i(),r(L,{key:0},[as,t("div",os,[ns,t("div",is,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(i(),r(L,{key:1},[rs,t("div",ss,[t("div",null,h(e.item.linkSpeed),1),t("div",ds,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var na=Y(us,[["__scopeId","data-v-39248365"]]);const ia=e=>(N("data-v-3470ca08"),e=e(),q(),e),ls=ia(()=>t("span",null,h("<"),-1)),cs=[ls],ps=ia(()=>t("span",null,h(">"),-1)),fs=[ps],ms=P({props:{portList:{type:Array,required:!0}},setup(e){const a=y(),o=y(0),n=y(0),s=y(0),c=y(!1),p=()=>{if(s.value>=0){s.value=0;return}s.value+=100},f=()=>{if(s.value<=0-o.value+n.value){s.value=0-o.value+n.value;return}s.value-=100};return Ft(()=>{Ta(()=>{a.value&&(o.value=a.value.scrollWidth,n.value=a.value.clientWidth,c.value=o.value>n.value)})}),(d,l)=>(i(),r("div",{class:"app-interfaces",ref_key:"el",ref:a},[c.value?(i(),r(L,{key:0},[t("a",{class:"btn-f",onClick:p},cs),t("a",{class:"btn-r",onClick:f},fs)],64)):E("",!0),(i(!0),r(L,null,R(e.portList,(u,m)=>(i(),M(na,{item:u,transform:s.value},null,8,["item","transform"]))),256))],512))}});var bs=Y(ms,[["__scopeId","data-v-3470ca08"]]);const vs={},gs={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"},_s=Mt('icon_finished',2),hs=[_s];function xs(e,a){return i(),r("svg",gs,hs)}var De=Y(vs,[["render",xs]]);const Rt=e=>(N("data-v-1e29113c"),e=e(),q(),e),ks=["onSubmit"],ws=Rt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u8F6F\u4EF6\u6E90\u914D\u7F6E")],-1)),ys={class:"actioner-dns_body"},Fs={class:"label-item"},Es=Rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5F53\u524D\u8F6F\u4EF6\u6E90")],-1)),Cs={class:"label-item_value"},$s={class:"item_info"},Ds={class:"label-item"},Bs=Rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5207\u6362\u8F6F\u4EF6\u6E90")],-1)),Ys={class:"label-item_value"},As=Rt(()=>t("option",{selected:"true",value:""},"\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90",-1)),Ss=["value"],zs={class:"actioner-dns_footer"},Ps=["disabled"],Ts={key:1,class:"actioner-dns"},Is=Rt(()=>t("div",{class:"actioner-dns_header"},[t("span",{class:"softsource_tit"},"\u8F6F\u4EF6\u6E90\u914D\u7F6E")],-1)),Ls={class:"actioner-dns_body"},Ms={class:"finished"},Os=Rt(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),Ns=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y(""),s=y(),c=y();(()=>{S.Guide.SoftSourceList.GET().then(u=>{var m,b;if((m=u==null?void 0:u.data)!=null&&m.result){const _=(b=u==null?void 0:u.data)==null?void 0:b.result;c.value=_}}).then(()=>S.Guide.GetSoftSource.GET()).then(u=>{var m,b;if((m=u==null?void 0:u.data)!=null&&m.result){const _=u.data.result;s.value=_.softSource,(b=c.value)!=null&&b.softSourceList.find(v=>v.identity==_.softSource.identity)&&(n.value=_.softSource.identity)}})})();const f=u=>{u.preventDefault(),a.Close&&a.Close()},d=u=>{const m=F.Loading("\u6B63\u5728\u5207\u6362\u4E2D...");S.Guide.SoftSource.POST({softSourceIdentity:n.value}).then(b=>{if(b!=null&&b.data){if((b.data.success||0)==0){o.value=1;return}else if(b.data.error)throw b.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(b=>{F.Error(b)}).finally(()=>m.Close())},l=u=>{u.preventDefault(),location.reload()};return(u,m)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>{var b,_;return[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(d,["prevent"])},[ws,t("div",ys,[t("div",Fs,[Es,t("div",Cs,[t("p",$s,h((b=s.value)==null?void 0:b.name),1)])]),t("div",Ds,[Bs,t("div",Ys,[z(t("select",{name:"",id:"","onUpdate:modelValue":m[0]||(m[0]=v=>n.value=v)},[As,(i(!0),r(L,null,R((_=c.value)==null?void 0:_.softSourceList,(v,g)=>(i(),r("option",{value:v.identity,key:g},h(v.name),9,Ss))),128))],512),[[K,n.value,void 0,{trim:!0}]])])])]),t("div",zs,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:n.value==""},"\u786E\u8BA4",8,Ps),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},"\u53D6\u6D88")])],40,ks)):E("",!0),o.value==1?(i(),r("form",Ts,[Is,t("div",Ls,[t("div",Ms,[B(De)]),Os,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:l},"\u786E\u5B9A")])])])):E("",!0)]}),_:1},8,["Close"]))}});var qs=Y(Ns,[["__scopeId","data-v-1e29113c"]]);const ra=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(qs,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},ut=e=>(N("data-v-aa15207e"),e=e(),q(),e),Vs={class:"app-container_status-label"},js={class:"app-container_status-label_item",style:{"padding-right":"10px"}},Rs={class:"app-container_status-container",style:{height:"100%"}},Gs={key:0,class:"app-container_status-container_body"},Us=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("title",null,"icon_internet connected"),t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),Ws={class:"app-container_status-info"},Hs=ut(()=>t("span",{class:"container_success"},"\u5DF2\u8054\u7F51",-1)),Zs={class:"container_time"},Js={key:1,class:"app-container_status-container_body"},Xs=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ks={class:"app-container_status-info"},Qs=ut(()=>t("span",{class:"container_failure"},"DNS\u9519\u8BEF",-1)),td={class:"container_time"},ed={key:2,class:"app-container_status-container_body"},ad=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),od={class:"app-container_status-info"},nd=ut(()=>t("span",{class:"container_failure"},"\u8F6F\u4EF6\u6E90\u9519\u8BEF",-1)),id={class:"container_time"},rd={key:3,class:"app-container_status-container_body"},sd=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),dd={class:"app-container_status-info"},ud=ut(()=>t("span",{class:"container_failure"},"\u672A\u8054\u7F51",-1)),ld={class:"container_time"},cd={key:4,class:"app-container_status-container_body"},pd=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),fd=ut(()=>t("div",{class:"app-container_status-info"},[t("span",{class:"container_failure"},"\u68C0\u6D4B\u4E2D...")],-1)),md=[pd,fd],bd={class:"app-container_status-label_item",style:{"padding-left":"10px"}},vd={class:"app-container_status-container",style:{height:"100%"}},gd={class:"more_icon",title:"\u67E5\u770B\u8BBE\u5907\u4FE1\u606F"},_d={class:"DeviceBlock"},hd=ut(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/status/routes"},"\u8BBE\u5907\u8DEF\u7531")],-1)),xd={class:"app-container_status-container_body"},kd=ut(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("title",null,"icon_device number"),t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),wd={class:"app-container_status-info"},yd={class:"container_content"},Fd=ut(()=>t("span",{class:"devise"},"\u5DF2\u8FDE\u63A5\u8BBE\u5907",-1)),Ed=ut(()=>t("em",null,null,-1)),Cd={class:"app-container_status-container"},$d={class:"more_icon",title:"\u6D4B\u901F"},Dd={class:"DeviceBlock"},Bd={class:"app-container_title"},Yd={class:"app-container_status-label_block"},Ad={class:"app-container_status-label_block"},Sd={class:"app-container_title"},zd={class:"app-container_status-label_block"},Pd=ut(()=>t("em",null,null,-1)),Td={class:"app-container_status-container"},Id={class:"app-container_title"},Ld=ut(()=>t("span",null,"\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001",-1)),Md={class:"more_icon",title:"\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F"},Od={class:"DeviceBlock"},Nd=U("\u7F51\u53E3\u914D\u7F6E"),qd={class:"app-container_body"},Vd=P({props:{homebox:{type:Object}},setup(e){const a=()=>{oa()},o=()=>{ra()},n=le(),s=G(()=>n.status),c=G(()=>n.deviceList),p=y(!1),f=y(!1),d=y(!1),l=it({portList:[],load:!1}),u=$=>{switch($){case"pppoe":return"\u62E8\u53F7\u4E0A\u7F51";case"static":return"\u9759\u6001\u7F51\u7EDC";case"dhcp":return"DHCP"}},m=$=>{switch($){case"manual":return"\u624B\u52A8\u914D\u7F6E";case"auto":return"\u81EA\u52A8\u83B7\u53D6";default:return""}},b=()=>{S.Network.PortList.GET().then($=>{if($!=null&&$.data){const{result:O}=$==null?void 0:$.data;O&&(l.portList=O.ports||[])}}).finally(()=>{l.load=!0,_()})},_=()=>{setTimeout(()=>{b()},1e4)};b();const v=yt.stampForm,g=()=>{p.value=!p.value},k=()=>{f.value=!f.value},x=()=>{d.value=!d.value},C=()=>{g(),ct.installAndGo("app-meta-nlbwmon","\u5E26\u5BBD\u76D1\u63A7","/cgi-bin/luci/admin/services/nlbw")},A=()=>T(this,null,function*(){var $,O,H;if(k(),yield ct.checkAndInstallApp("app-meta-homebox","Homebox"))try{const j=yield S.Network.Homebox.Enable.POST();(O=($=j==null?void 0:j.data)==null?void 0:$.result)!=null&&O.port?es({port:j.data.result.port,setup:0}):((H=j==null?void 0:j.data)==null?void 0:H.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":F.Warning("\u542F\u52A8\u5931\u8D25")}catch(j){F.Warning("\u542F\u52A8\u5931\u8D25")}}),D=()=>{k(),ct.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return($,O)=>{var j,Z;const H=Q("router-link");return i(),r(L,null,[t("div",Vs,[t("div",js,[t("div",Rs,[w(s)!=null?(i(),r(L,{key:0},[w(s).networkInfo=="netSuccess"?(i(),r("div",Gs,[Us,t("div",Ws,[Hs,t("span",Zs,h(w(v)(w(s).uptimeStamp)),1)])])):w(s).networkInfo=="dnsFailed"?(i(),r("div",Js,[Xs,t("div",Ks,[Qs,t("span",td,h(w(v)(w(s).uptimeStamp)),1),t("div",{onClick:a,class:"container_configure"},"DNS\u914D\u7F6E")])])):w(s).networkInfo=="softSourceFailed"?(i(),r("div",ed,[ad,t("div",od,[nd,t("span",id,h(w(v)(w(s).uptimeStamp)),1),t("div",{onClick:o,class:"container_configure"},"\u8F6F\u4EF6\u6E90\u914D\u7F6E")])])):w(s).networkInfo=="netFailed"?(i(),r("div",rd,[sd,t("div",dd,[ud,t("span",ld,h(w(v)(w(s).uptimeStamp)),1)])])):(i(),r("div",cd,md))],64)):E("",!0)])]),t("div",bd,[t("div",vd,[t("span",gd,[B($t,{onClick:g})]),z(t("div",_d,[t("div",{class:"menu_background",onClick:g}),t("ul",null,[hd,t("li",null,[t("a",{onClick:C},"\u5E26\u5BBD\u76D1\u63A7")])])],512),[[wt,p.value]]),t("div",xd,[kd,t("div",wd,[t("span",yd,h(((Z=(j=w(c))==null?void 0:j.devices)==null?void 0:Z.length)||0),1),Fd])])])])]),Ed,t("div",Cd,[t("span",$d,[B($t,{onClick:k})]),z(t("div",Dd,[t("div",{class:"menu_background",onClick:k}),t("ul",null,[t("li",null,[t("a",{onClick:A},"\u5185\u7F51\u6D4B\u901F")]),t("li",null,[t("a",{onClick:D},"\u5916\u7F51\u6D4B\u901F")])])],512),[[wt,f.value]]),t("div",Bd,[t("span",null,"IP\u5730\u5740\uFF08"+h(w(s).defaultInterface)+"\uFF09",1)]),t("div",Yd,[t("span",null," IPv4\uFF1A "+h(w(s).ipv4addr)+" \uFF08"+h(u(w(s).proto||""))+"\uFF09 ",1)]),t("div",Ad,[t("span",null,"IPv6\uFF1A"+h(w(s).ipv6addr),1)]),t("div",Sd,[t("span",null,"DNS\uFF08"+h(m(w(s).dnsProto))+"\uFF09",1)]),(i(!0),r(L,null,R(w(s).dnsList,_t=>(i(),r("div",zd,[t("span",null,h(_t),1)]))),256))]),Pd,t("div",Td,[t("div",Id,[Ld,t("span",Md,[B($t,{onClick:x})]),z(t("div",Od,[t("div",{class:"menu_background",onClick:x}),t("ul",null,[t("li",null,[B(H,{to:"/interfaceconfig"},{default:V(()=>[Nd]),_:1})])])],512),[[wt,d.value]])]),t("div",qd,[w(l).load?(i(),M(bs,{key:0,portList:w(l).portList},null,8,["portList"])):E("",!0)])])],64)}}});var jd=Y(Vd,[["__scopeId","data-v-aa15207e"]]);const Rd={class:"network-container"},Gd={class:"network-container_flow"},Ud={class:"network-container_flow-container"},Wd={class:"network-container_status"},Hd=P({setup(e){return(a,o)=>(i(),r("div",Rd,[t("div",Gd,[t("div",Ud,[B(Ti,{style:{height:"460px"}})])]),t("div",Wd,[B(jd)])]))}});var Zd=Y(Hd,[["__scopeId","data-v-78a4e41a"]]);const Jd={},Xd={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"},Kd=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),Qd=[Kd];function t0(e,a){return i(),r("svg",Xd,Qd)}var gt=Y(Jd,[["render",t0]]);const e0={},a0={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"},o0=Mt('\u5206\u533A\u4FE1\u606F',2),n0=[o0];function i0(e,a){return i(),r("svg",a0,n0)}var Ue=Y(e0,[["render",i0]]);const r0={},s0={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"},d0=Mt('\u5168\u76D8\u683C\u5F0F\u5316',2),u0=[d0];function l0(e,a){return i(),r("svg",s0,u0)}var c0=Y(r0,[["render",l0]]);const Yt=e=>(N("data-v-3a0bca4c"),e=e(),q(),e),p0=["onSubmit"],f0=Yt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u786C\u76D8\u914D\u7F6E")],-1)),m0={class:"action-body"},b0={class:"disk-info"},v0=Yt(()=>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)),g0={key:0,class:"disk-info_mount-name"},_0={key:1,class:"disk-info_mount-name"},h0={key:0,class:"label-item"},x0=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),k0={class:"label-item_path"},w0={class:"label-item"},y0=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u683C\u5F0F\u5316\u9009\u9879")],-1)),F0={class:"label-item_value"},E0=["disabled"],C0={key:0,value:""},$0=Yt(()=>t("option",{value:"format"},"\u683C\u5F0F\u5316",-1)),D0={key:1,value:"default"},B0={class:"label-item_value"},Y0={key:0,class:"msg"},A0={key:1,class:"msg"},S0={class:"action-footer"},z0=Yt(()=>t("div",{class:"auto"},null,-1)),P0=["disabled"],T0=["disabled"],I0={key:1,class:"action result"},L0={class:"action-body"},M0=Yt(()=>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)),O0=Yt(()=>t("div",{class:"action-body_msg"},"\u683C\u5F0F\u5316\u6210\u529F",-1)),N0={key:0,class:"action-body_info"},q0={key:1,class:"action-body_info"},V0=U(" \u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A "),j0={class:"btns"},R0=P({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const a=e,o=()=>{a.Close&&a.Close()},n=x=>{x.preventDefault(),a.Cancel&&a.Cancel(),o()},s=x=>{a.Next&&a.Next(x),o()},c=y(!1),p=y(0),f=x=>{p.value=x},d=y(a.action=="nas"?"":"format"),l=y(),u=y(),m=()=>{switch(d.value){case"format":_();return;case"default":b();return;default:F.Warning("\u8BF7\u9009\u62E9\u9009\u7EBF");return}},b=()=>{let x="";const C=a.mount;if(C!=null&&C.mountPoint!=null&&(x=C.mountPoint),x!=""){s(x);return}F.Warning("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84")},_=()=>{const x=a.disk,C=a.mount;if(C){const A=C.mountPoint||C.path;if(!confirm(`\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A ${A} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm(`\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 ${A}?`))return;g(C);return}if(x){if(!confirm(`\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 ${x.venderModel} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?"))return;v(x);return}F.Warning("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E")},v=x=>T(this,null,function*(){if(x.name==null||x.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0");return}if(x.path==null||x.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84");return}c.value=!0;const C=F.Loading("\u521D\u59CB\u5316\u4E2D...");try{const A=yield S.Nas.Disk.Init.POST({name:x.name,path:x.path});if(A!=null&&A.data){const{result:D,error:$}=A==null?void 0:A.data;$&&F.Warning($),D&&(D.errorInfo?F.Warning(D.errorInfo):(F.Success("\u521D\u59CB\u5316\u6210\u529F"),D.childrens&&D.childrens.length>0&&(u.value=D.childrens[0]),l.value=D,f(1)))}}catch(A){F.Error(A)}C.Close(),c.value=!1}),g=x=>T(this,null,function*(){if(x.path==null||x.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}c.value=!0;const C=F.Loading("\u683C\u5F0F\u5316\u4E2D...");try{const A=yield S.Nas.Disk.Partition.Format.POST({path:x.path,uuid:x.uuid,mountPoint:x.mountPoint});if(A!=null&&A.data){const{result:D,error:$}=A==null?void 0:A.data;$&&F.Warning($),D&&(F.Success("\u683C\u5F0F\u5316\u6210\u529F"),u.value=D,f(1))}}catch(A){F.Error(A)}C.Close(),c.value=!1}),k=()=>{if(u.value&&u.value.mountPoint){s(u.value.mountPoint);return}F.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return(x,C)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>{var A;return[p.value==0?(i(),r("form",{key:0,class:"action format",onSubmit:nt(m,["prevent"])},[f0,t("div",m0,[t("div",b0,[v0,e.mount?(i(),r("div",g0,[t("span",null,"\u3010"+h(e.mount.total)+"\u3011",1),t("span",null,h(e.mount.mountPoint||e.mount.path),1)])):e.disk?(i(),r("div",_0,[t("span",null,"\u3010"+h(e.disk.size)+"\u3011",1),t("span",null,h(e.disk.venderModel),1)])):E("",!0)]),e.mount?(i(),r("div",h0,[x0,t("div",k0,h(e.mount.mountPoint||e.mount.path)+"\uFF08"+h(e.mount.total)+"\uFF09",1)])):E("",!0),t("div",w0,[y0,t("div",F0,[z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=D=>d.value=D),required:"",disabled:e.action=="disk"},[e.mount!=null?(i(),r("option",C0,"\u8BF7\u9009\u62E9\u9009\u9879")):E("",!0),$0,e.mount!=null?(i(),r("option",D0,"\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")):E("",!0)],8,E0),[[K,d.value]])]),t("div",B0,[d.value=="format"?(i(),r("p",Y0,"\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u4F20\u8F93\u901F\u5EA6\u66F4\u5FEB")):d.value=="default"?(i(),r("p",A0)):E("",!0)])])]),t("div",S0,[z0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:c.value},"\u8FD4\u56DE",8,P0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value},"\u4E0B\u4E00\u6B65",8,T0)])],40,p0)):p.value==1?(i(),r("div",I0,[t("div",L0,[M0,O0,l.value?(i(),r("div",N0,[U(" \u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8 "+h(l.value.venderModel)+" \u5E76\u6302\u8F7D\u5230 ",1),t("a",null,h((A=u.value)==null?void 0:A.mountPoint),1)])):E("",!0),u.value?(i(),r("div",q0,[V0,t("a",null,h(u.value.mountPoint),1)])):E("",!0),t("div",j0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:k},h(e.action=="nas"?"\u4E0B\u4E00\u6B65":"\u5B8C\u6210"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var G0=Y(R0,[["__scopeId","data-v-3a0bca4c"]]),Be=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(G0,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Ot=e=>(N("data-v-57d4812a"),e=e(),q(),e),U0=["onSubmit"],W0=Ot(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),H0={class:"action-body"},Z0={class:"disk-info"},J0=Ot(()=>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)),X0={key:0,class:"disk-info_mount-name"},K0={key:1,class:"disk-info_mount-name"},Q0={key:0,class:"label-item"},tu=Ot(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),eu={class:"label-item_path"},au={class:"label-item"},ou=Ot(()=>t("div",{class:"label-item_key"},[t("span",null,"\u6302\u8F7D\u70B9")],-1)),nu={class:"label-item_value"},iu={class:"action-footer"},ru=Ot(()=>t("div",{class:"auto"},null,-1)),su=["disabled"],du=["disabled"],uu={key:1,class:"action result"},lu={class:"action-body"},cu=Ot(()=>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)),pu=Ot(()=>t("div",{class:"action-body_msg"},"\u6302\u8F7D\u6210\u529F",-1)),fu={key:0,class:"action-body_info"},mu={class:"btns"},bu=P({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){var _;const a=e,o=()=>{a.Close&&a.Close()},n=v=>{v.preventDefault(),a.Cancel&&a.Cancel(),o()},s=v=>{a.Next&&a.Next(v),o()},c=y(!1),p=y(0),f=y("/mnt/data_"+((_=a==null?void 0:a.mount)==null?void 0:_.name)),d=v=>{p.value=v};y(a.mount?"":"format"),y();const l=y(),u=()=>T(this,null,function*(){const v=a.mount;if(v==null){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A");return}if(v.path==null||v.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if(v.uuid==null||v.uuid==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}c.value=!0;const g=F.Loading("\u6302\u8F7D\u4E2D...");try{const k=yield S.Nas.Disk.Partition.Mount.POST({path:v.path,uuid:v.uuid,mountPoint:f.value});if(k!=null&&k.data){const{result:x,error:C}=k==null?void 0:k.data;C&&F.Warning(C),x&&(F.Success("\u6302\u8F7D\u6210\u529F"),l.value=x,d(1))}}catch(k){F.Error(k)}g.Close(),c.value=!1}),m=()=>{if(l.value&&l.value.mountPoint){s(l.value.mountPoint);return}F.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")},b=()=>{};return(v,g)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>{var k,x;return[p.value==0?(i(),r("form",{key:0,class:"action format",onSubmit:nt(b,["prevent"])},[W0,t("div",H0,[t("div",Z0,[J0,e.mount?(i(),r("div",X0,[t("span",null,"\u3010"+h(e.mount.total)+"\u3011",1),t("span",null,h(e.mount.mountPoint),1)])):e.disk?(i(),r("div",K0,[t("span",null,"\u3010"+h(e.disk.size)+"\u3011",1),t("span",null,h(e.disk.venderModel),1)])):E("",!0)]),e.mount?(i(),r("div",Q0,[tu,t("div",eu,h(e.mount.path)+"\uFF08"+h(e.mount.total)+"\uFF0C"+h((x=(k=e.mount)==null?void 0:k.filesystem)==null?void 0:x.toUpperCase())+"\uFF09",1)])):E("",!0),t("div",au,[ou,t("div",nu,[z(t("input",{type:"text","onUpdate:modelValue":g[0]||(g[0]=C=>f.value=C)},null,512),[[W,f.value,void 0,{trim:!0}]])])])]),t("div",iu,[ru,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value,onClick:u},"\u786E\u5B9A",8,su),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:c.value},"\u8FD4\u56DE",8,du)])],40,U0)):p.value==1?(i(),r("div",uu,[t("div",lu,[cu,pu,l.value?(i(),r("div",fu,[U(" \u5DF2\u6210\u529F\u5C06\u5206\u533A "+h(l.value.path)+" \u6302\u8F7D\u5230 ",1),t("a",null,h(l.value.mountPoint),1)])):E("",!0),t("div",mu,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:m},h(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var vu=Y(bu,[["__scopeId","data-v-57d4812a"]]),sa=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(vu,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const da=e=>(N("data-v-31be4af0"),e=e(),q(),e),gu={class:"disk-content"},_u={class:"disk-item"},hu={class:"disk-item_name"},xu={key:0},ku={key:1},wu={key:2},yu={class:"disk_value"},Fu={key:0,class:"disk-item_value"},Eu={class:"value-data"},Cu={key:1,class:"disk-item_value"},$u={key:0,class:"disk-item"},Du={class:"disk-item_name"},Bu=["href"],Yu={class:"disk_status"},Au={class:"disk_status_item"},Su={key:0,class:"tooltip-trigger disk_tip"},zu=da(()=>t("div",{class:"tooltip-text tooltip-top"},[t("div",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u5BFC\u81F4\u65E0\u6CD5\u5199\u5165\u6570\u636E")],-1)),Pu={class:"disk_status_item"},Tu={key:0,class:"tooltip-trigger disk_tip"},Iu=da(()=>t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u786C\u76D8\u683C\u5F0F\u4E3ANTFS\uFF0C\u53EF\u80FD\u5BFC\u81F4\u786C\u76D8\u51FA\u73B0\u517C\u5BB9\u6027\u95EE\u9898\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")],-1)),Lu=P({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(e){const a=e,o=G(()=>a.part.filesystem=="No FileSystem"),n=G(()=>o.value||!a.part.isSystemRoot&&a.part.mountPoint&&(a.part.isReadOnly||a.part.filesystem=="ntfs")),s=function(){Be({action:"disk",disk:a.disk,mount:a.part,Cancel:()=>{},Next:l=>{location.reload()}})},c=()=>{sa({action:"nas",disk:a.disk,mount:a.part,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>T(this,null,function*(){const l=F.Loading("\u5904\u7406\u4E2D...");try{const u=yield S.Nas.Disk.InitRest.POST({name:a.disk.name,path:a.disk.path});if(u!=null&&u.data){const{result:m,error:b}=u==null?void 0:u.data;b&&F.Warning(b),m&&(F.Success("\u6302\u8F7D\u6210\u529F"),location.reload())}}catch(u){F.Error(u)}l.Close()}),f=G(()=>a.part.filesystem=="Free Space"),d=G(()=>{const l=a.part.mountPoint?a.part.mountPoint:"";return l.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+l.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+l});return(l,u)=>{var b;const m=Q("progress-item");return i(),r("div",gu,[t("li",_u,[t("div",hu,[w(f)?(i(),r("span",xu,"\u672A\u5206\u533A")):(i(),r("span",ku,h(e.part.name)+h(e.part.mountPoint?"":w(o)?"\uFF08\u672A\u683C\u5F0F\u5316\uFF09":"\uFF08\u672A\u6302\u8F7D\uFF09"),1)),e.part.isSystemRoot?(i(),r("span",wu,"\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")):E("",!0)]),t("div",yu,[e.part.mountPoint||w(f)?(i(),r("div",Fu,[t("div",Eu,[B(m,{value:w(f)||!e.part.usage?0:e.part.usage,text:w(f)?"\u672A\u5206\u533A\uFF08"+e.part.total+"\uFF09":e.part.used+"/"+e.part.total,style:{backgroundColor:"#767676"}},null,8,["value","text"])])])):w(o)?E("",!0):(i(),r("div",Cu,[t("div",{class:"value-data buttondiv",onClick:c},"\u624B\u52A8\u6302\u8F7D")])),w(f)?(i(),r("button",{key:2,class:"cbi-button cbi-button-apply",onClick:p},"\u5206\u533A\u5E76\u683C\u5F0F\u5316")):w(n)?(i(),r("button",{key:3,class:"cbi-button cbi-button-apply",onClick:s},"\u683C\u5F0F\u5316\u5206\u533A")):E("",!0)])]),e.part.mountPoint?(i(),r("li",$u,[t("span",Du,[t("a",{href:w(d),target:"_blank"},h(e.part.mountPoint),9,Bu)]),t("div",Yu,[t("div",Au,[t("div",null,"\u78C1\u76D8\u8BFB\u5199\u72B6\u6001\uFF1A"+h(e.part.isReadOnly?"\u53EA\u8BFB":"\u8BFB\u5199"),1),!e.part.isSystemRoot&&e.part.isReadOnly?(i(),r("div",Su,[B(gt),zu])):E("",!0)]),t("div",Pu,[t("div",null,"\u78C1\u76D8\u683C\u5F0F\uFF1A"+h((b=e.part.filesystem)==null?void 0:b.toUpperCase()),1),e.part.filesystem=="ntfs"?(i(),r("div",Tu,[B(gt),Iu])):E("",!0)])])])):E("",!0)])}}});var Mu=Y(Lu,[["__scopeId","data-v-31be4af0"]]);const ua=e=>(N("data-v-5fa713aa"),e=e(),q(),e),Ou={key:0,class:"action"},Nu={class:"title"},qu=ua(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5206\u533A / \u6302\u8F7D\u70B9"),t("span",null,"\u5BB9\u91CF")],-1)),Vu={class:"app-container_body"},ju=ua(()=>t("div",{class:"auto"},null,-1)),Ru=P({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const a=e,o=y(0),n=()=>{a.Close&&a.Close()},s=c=>{c.preventDefault(),a.Cancel&&a.Cancel(),n()};return(c,p)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[o.value==0?(i(),r("div",Ou,[t("h2",Nu,"\u5206\u533A\u4FE1\u606F - "+h((e.disk.name||"?")+(e.disk.isSystemRoot?"\uFF08\u7CFB\u7EDF\u76D8\uFF09":"")),1),t("ul",null,[t("li",null,[qu,t("div",Vu,[(i(!0),r(L,null,R(e.disk.childrens,(f,d)=>(i(),M(Mu,{key:d,part:f,disk:e.disk},null,8,["part","disk"]))),128))])])]),t("div",{class:"action-footer"},[ju,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button"},"\u8FD4\u56DE")])])):E("",!0)]),_:1})]),_:1},8,["Close"]))}});var Gu=Y(Ru,[["__scopeId","data-v-5fa713aa"]]),Uu=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Gu,at(J({},e),{Close:()=>{n()}}));o.component("progress-item",ta),o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const fe=e=>(N("data-v-eb0dbbd8"),e=e(),q(),e),Wu={key:0,class:"disk-item error"},Hu=["title"],Zu={class:"disk-item_value"},Ju={class:"value-data"},Xu={class:"error"},Ku={key:1,class:"disk-item"},Qu=["title"],tl={key:0,class:"disk_value"},el=fe(()=>t("div",{class:"value-data"},[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},[t("span",{class:"error"}," S.M.A.R.T\u5F02\u5E38")])],-1)),al=[el],ol={key:1,class:"disk_value"},nl={class:"disk-item_value"},il={class:"value-data"},rl=fe(()=>t("div",{class:"disk-item-tooltip"},[t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")],-1)),sl={class:"disk_icon"},dl={key:0,class:"tooltip-trigger"},ul={class:"disk_tip"},ll=fe(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\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)),cl={key:1,class:"tooltip-trigger"},pl={class:"disk_tip"},fl=fe(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")])],-1)),ml={key:2,class:"disk-item load"},bl=["title"],vl={class:"disk_value"},gl={class:"disk-item_value"},_l={class:"value-data"},hl={key:3,class:"disk-item load"},xl=["title"],kl={class:"disk_value"},wl={key:0,class:"disk-item_value"},yl={class:"value-data"},Fl={key:1,class:"disk-item_value"},El={class:"value-data"},Cl={class:"disk_icon"},$l=P({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(e){const a=e,o=G(()=>a.disk.errorInfo?"error":a.disk.childrens==null||a.disk.childrens.length==0||a.disk.childrens.length==1&&a.disk.childrens[0].filesystem=="No FileSystem"?"load":a.disk.childrens.filter(f=>f.mountPoint).length==0?"unmounted":"success"),n=G(()=>{const f=a.disk;let d=f.name;return f.size&&(d+=`\u3010${f.size}\u3011`),f.venderModel&&(d+=`(${f.venderModel})`),d}),s=()=>{Be({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},c=()=>{Uu({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>{const f=a.disk,d=f.childrens||[];sa({action:"nas",disk:f,mount:d[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(f,d)=>{var u,m,b,_,v;const l=Q("progress-item");return w(o)=="error"?(i(),r("li",Wu,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,Hu),t("div",Zu,[t("div",Ju,[t("span",Xu,h(e.disk.errorInfo),1)])])])):w(o)=="success"?(i(),r("li",Ku,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,Qu),e.disk.smartWarning&&e.smartWarning?(i(),r("div",tl,al)):(i(),r("div",ol,[t("div",nl,[t("div",il,[B(l,{value:e.disk.usage||0,text:`${e.disk.used}/${e.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),rl]),t("div",sl,[e.disk.isDockerRoot&&e.disk.isSystemRoot&&e.disk.usage&&e.disk.usage>=90?(i(),r("span",dl,[t("span",ul,[B(gt)]),ll])):E("",!0),!e.disk.isSystemRoot&&(((u=e.disk.childrens)==null?void 0:u.filter(g=>g.isReadOnly||g.filesystem=="ntfs").length)||0)>0?(i(),r("span",cl,[t("span",pl,[B(gt)]),fl])):E("",!0),!e.disk.isSystemRoot&&(((m=e.disk.childrens)==null?void 0:m.filter(g=>g.isReadOnly||g.filesystem=="ntfs").length)||0)>0?(i(),r("span",{key:2,class:"disk_infoicon",onClick:d[0]||(d[0]=g=>s())},[B(c0)])):E("",!0),t("span",{class:"disk_infoicon",onClick:d[1]||(d[1]=g=>c())},[B(Ue)])])]))])):w(o)=="load"?(i(),r("li",ml,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,bl),t("div",vl,[t("div",gl,[t("div",_l,[t("button",{onClick:d[2]||(d[2]=g=>s())},"\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")])])])])):w(o)=="unmounted"?(i(),r("li",hl,[t("div",{class:"disk-item_name",title:w(n)},[t("span",null,h(w(n)),1)],8,xl),t("div",kl,[((b=e.disk.childrens)==null?void 0:b.length)==1?(i(),r("div",wl,[t("div",yl,[t("button",{onClick:d[3]||(d[3]=g=>p())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),(((_=e.disk.childrens)==null?void 0:_.length)||0)>1?(i(),r("div",Fl,[t("div",El,[t("button",{onClick:d[4]||(d[4]=g=>c())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),t("div",Cl,[(((v=e.disk.childrens)==null?void 0:v.length)||0)>1?(i(),r("span",{key:0,class:"disk_infoicon",onClick:d[5]||(d[5]=g=>c())},[B(Ue)])):E("",!0)])])])):E("",!0)}}});var we=Y($l,[["__scopeId","data-v-eb0dbbd8"]]);const Gt=e=>(N("data-v-4a49a4e4"),e=e(),q(),e),Dl={class:"app-container"},Bl={class:"app-container_title"},Yl=Gt(()=>t("span",{class:"disk_info"},"\u78C1\u76D8\u4FE1\u606F",-1)),Al={class:"app-container_tool"},Sl={class:"more_icon",title:"\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F"},zl={class:"DeviceBlock"},Pl=Gt(()=>t("ul",null,[t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/raid"},"RAID\u7BA1\u7406")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/diskman"},"\u78C1\u76D8\u7BA1\u7406")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/mounts"},"\u6302\u8F7D\u70B9")])],-1)),Tl={key:0},Il={class:"disk_loading_icon"},Ll=Gt(()=>t("span",{class:"disk_loading_info"},"\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...",-1)),Ml={key:1},Ol=Gt(()=>t("div",{class:"app-container_info"},[t("span",null,"\u7CFB\u7EDF\u6839\u76EE\u5F55")],-1)),Nl={class:"app-container_body"},ql={key:2},Vl=Gt(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5DF2\u6302\u8F7D\u78C1\u76D8")],-1)),jl={class:"app-container_body"},Rl={key:3},Gl=Gt(()=>t("div",{class:"app-container_info"},[t("span",null,"RAID\u8BBE\u5907")],-1)),Ul={class:"app-container_body"},Wl=P({setup(e){const a=y(!1),o=it({disks:null,raidList:null}),n=()=>{S.Nas.Disk.Status.GET().then(f=>{var d;if((d=f==null?void 0:f.data)!=null&&d.result){const l=f.data.result;o.disks=l.disks||[]}})};(()=>T(this,null,function*(){try{const f=yield S.Raid.List.GET();if(f!=null&&f.data){const{success:d,error:l,result:u}=f.data;if(u&&(o.raidList=u.disks||[]),l)throw l}}catch(f){console.log(f)}}))(),n();const c=()=>{a.value=!a.value},p=()=>{ct.installAndGo("luci-app-linkease","\u6613\u6709\u4E91","/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(f,d)=>{var u,m;const l=Q("icon-loading");return i(),r("div",Dl,[t("ul",null,[t("li",null,[t("div",Bl,[Yl,t("div",Al,[t("div",{class:"app-container_configure",onClick:p}," \u6587\u4EF6\u7BA1\u7406 "),t("span",Sl,[B($t,{onClick:c})])]),z(t("div",zl,[t("div",{class:"menu_background",onClick:c}),Pl],512),[[wt,a.value]])])]),!w(o).disks&&!w(o).raidList?(i(),r("li",Tl,[t("div",Il,[B(l,{size:38,color:"currentColor"}),Ll])])):E("",!0),w(o).disks?(i(),r("li",Ml,[Ol,t("div",Nl,[(i(!0),r(L,null,R((u=w(o).disks)==null?void 0:u.filter(b=>b.isSystemRoot),(b,_)=>(i(),M(we,{key:_,disk:b},null,8,["disk"]))),128))])])):E("",!0),w(o).disks?(i(),r("li",ql,[Vl,t("div",jl,[(i(!0),r(L,null,R((m=w(o).disks)==null?void 0:m.filter(b=>!b.isSystemRoot),(b,_)=>(i(),M(we,{key:_,disk:b,smartWarning:!0},null,8,["disk"]))),128))])])):E("",!0),w(o).raidList&&w(o).raidList.length>0?(i(),r("li",Rl,[Gl,t("div",Ul,[(i(!0),r(L,null,R(w(o).raidList,(b,_)=>(i(),M(we,{key:_,disk:b},null,8,["disk"]))),128))])])):E("",!0)])])}}});var Hl=Y(Wl,[["__scopeId","data-v-4a49a4e4"]]);const la=e=>(N("data-v-13ca629c"),e=e(),q(),e),Zl={class:"app-container_samba"},Jl={key:0,class:"sambas-item"},Xl=la(()=>t("div",{class:"sambas-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),Kl={class:"sambas-item_value"},Ql=la(()=>t("li",{class:"sambas-item"},[t("div",{class:"sambas-item_name tit"},[t("span",null,"\u5730\u5740")]),t("div",{class:"sambas-item_value tit"},[t("span",null,"\u76EE\u5F55")])],-1)),t1={class:"samba-item"},e1={class:"samba-item_name"},a1=["title"],o1=["href"],n1=P({props:{sambas:{type:Array}},setup(e){const a=window.location.hostname;return(o,n)=>{var s;return i(),r("ul",Zl,[e.sambas?(i(),r("li",Jl,[Xl,t("div",Kl,[t("span",null,h((s=e.sambas)!=null&&s.length?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])])):E("",!0),Ql,(i(!0),r(L,null,R(e.sambas,c=>(i(),r("li",t1,[t("div",e1,[t("span",null,"smb://"+h(w(a))+"/"+h(c.shareName),1)]),t("div",{class:"samba-item_value",title:c.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+c.path},h(c.path),9,o1)],8,a1)]))),256))])}}});var i1=Y(n1,[["__scopeId","data-v-13ca629c"]]);const me=e=>(N("data-v-b4608492"),e=e(),q(),e),r1={class:"webdav-item"},s1=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),d1={class:"webdav-item_value"},u1={key:0,class:"webdav-item"},l1=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u6302\u8F7D\u8DEF\u5F84:")],-1)),c1={class:"webdav-item_value"},p1=["href"],f1={key:1,class:"webdav-item"},m1=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u670D\u52A1\u8DEF\u5F84:")],-1)),b1={class:"webdav-item_value"},v1=["href"],g1={key:2,class:"webdav-item"},_1=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u8D26\u53F7:")],-1)),h1={class:"webdav-item_value"},x1=P({props:{webdav:{type:Object}},setup(e){const a=e,o=G(()=>{var n;return`http://${location.hostname}:${(n=a.webdav)==null?void 0:n.port}`});return(n,s)=>{var c,p,f,d,l,u,m;return i(),r(L,null,[t("li",r1,[s1,t("div",d1,[t("span",null,h((c=e.webdav)!=null&&c.path?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])]),(p=e.webdav)!=null&&p.path?(i(),r("li",u1,[l1,t("div",c1,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=e.webdav)==null?void 0:f.path)},h((d=e.webdav)==null?void 0:d.path),9,p1)])])):E("",!0),(l=e.webdav)!=null&&l.port?(i(),r("li",f1,[m1,t("div",b1,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,v1)])])):E("",!0),(u=e.webdav)!=null&&u.username?(i(),r("li",g1,[_1,t("div",h1,[t("span",null,h((m=e.webdav)==null?void 0:m.username),1)])])):E("",!0)],64)}}});var k1=Y(x1,[["__scopeId","data-v-b4608492"]]);const Ye=e=>(N("data-v-4a3b6e0a"),e=e(),q(),e),w1={class:"disk-item"},y1=Ye(()=>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)),F1={class:"disk-item_f"},E1={class:"disk-item_venderModel"},C1={class:"disk-item_used"},$1=Ye(()=>t("div",{class:"auto"},null,-1)),D1={class:"disk-item-r"},B1={class:"disk-children"},Y1=["onClick"],A1=Ye(()=>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)),S1={key:0},z1={key:1},P1=P({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(e){var s,c;const a=e,o=y(!1);a.currDisk!=null&&((s=a.currDisk)==null?void 0:s.venderModel)==((c=a.disk)==null?void 0:c.venderModel)&&(o.value=!0);const n=p=>{o.value=!o.value,a.onDisk(p,null)};return(p,f)=>{var d;return i(),r("ul",w1,[t("li",{class:ot(["disk-info",{on:e.disk.venderModel==((d=e.currDisk)==null?void 0:d.venderModel),nopoint:e.disk.childrens==null||e.disk.childrens.length==0}]),onClick:f[0]||(f[0]=l=>n(e.disk))},[y1,t("div",F1,[t("div",E1,h(e.disk.venderModel),1),t("div",C1,h(e.disk.used)+"/"+h(e.disk.size),1)]),$1,t("div",D1,h(e.disk.path),1)],2),z(t("div",B1,[(i(!0),r(L,null,R(e.disk.childrens,l=>{var u,m;return i(),r("li",{class:ot(["disk-children_item",{on:l.uuid==((u=e.currMountPoint)==null?void 0:u.uuid)&&l.path==((m=e.currMountPoint)==null?void 0:m.path)}]),onClick:b=>e.onDisk(e.disk,l)},[A1,l.mountPoint?(i(),r("span",S1," \u3010"+h(l.filesystem)+"\u3011 "+h(l.mountPoint)+" \uFF08"+h(l.used)+"/"+h(l.total)+"\uFF09 ["+h(l.uuid)+"] ",1)):(i(),r("span",z1," \u3010"+h(l.filesystem)+"\u3011 "+h(l.mountPoint||l.path||"\u672A\u6302\u8F7D\u78C1\u76D8")+" ["+h(l.uuid)+"] ",1))],10,Y1)}),256))],512),[[wt,o.value]])])}}});var We=Y(P1,[["__scopeId","data-v-4a3b6e0a"]]);const Ae=e=>(N("data-v-12d0f96b"),e=e(),q(),e),T1={class:"action list"},I1=Ae(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")],-1)),L1={class:"action-body"},M1={class:"disk-list"},O1=Ae(()=>t("div",{class:"action-msg"},[t("span",null,[U(" \u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80 "),t("a",{href:"/cgi-bin/luci/admin/system/diskman"},"\u9AD8\u7EA7\u8BBE\u7F6E")])],-1)),N1=Ae(()=>t("div",{class:"auto"},null,-1)),q1=P({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(e){const a=e,o=y(!0),n=it({disks:[],raids:[]});(()=>T(this,null,function*(){const b=yield Promise.all([S.Nas.Disk.Status.GET(),S.Raid.List.GET()]);try{if(b[0]){const _=b[0];_!=null&&_.data.result&&(n.disks=(_==null?void 0:_.data.result.disks)||[])}if(b[1]){const _=b[1];_.data.result&&(n.raids=_.data.result.disks||[])}}catch(_){F.Warning(_)}}))();const c=y(),p=y(),f=(b,_)=>{c.value=b,p.value=_},d=()=>{a.Close&&a.Close()},l=()=>{a.Cancel&&a.Cancel(),d()},u=b=>{a.Next&&a.Next(b),d()},m=()=>{if(c.value==null){F.Warning("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8");return}if(c.value.childrens!=null&&c.value.childrens.length>0&&p.value==null){F.Warning("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A");return}if(p.value!=null&&(p.value.mountPoint==null||p.value.mountPoint=="")){F.Warning("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D");return}o.value=!1,Be({action:"nas",disk:c.value,mount:p.value,Cancel:()=>{o.value=!0},Next:b=>{u(b)}})};return(b,_)=>o.value?(i(),M(et,{key:0,type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",T1,[I1,t("div",L1,[t("div",M1,[(i(!0),r(L,null,R(w(n).disks,v=>(i(),M(We,{disk:v,onDisk:f,currDisk:c.value,currMountPoint:p.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(i(!0),r(L,null,R(w(n).raids,v=>(i(),M(We,{disk:v,onDisk:f,currDisk:c.value,currMountPoint:p.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),O1,t("div",{class:"action-footer"},[N1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:l,type:"button"},"\u8FD4\u56DE"),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:m,type:"button"},"\u4E0B\u4E00\u6B65")])])]),_:1})]),_:1})):E("",!0)}});var V1=Y(q1,[["__scopeId","data-v-12d0f96b"]]),j1=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(V1,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const be=e=>(N("data-v-67a63e8f"),e=e(),q(),e),R1={class:"action"},G1={class:"action-body"},U1=be(()=>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)),W1=be(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),H1={class:"info"},Z1=be(()=>t("span",null,"\u524D\u5F80",-1)),J1=["href"],X1=be(()=>t("span",null,"\u914D\u7F6E",-1)),K1=P({props:{Close:Function},setup(e){const a=e,o=y(""),n=G(()=>`http://${location.hostname}:${o.value}`);(()=>{S.Nas.Linkease.Enable.POST().then(p=>{var f,d;(f=p==null?void 0:p.data)!=null&&f.result&&(o.value=((d=p.data.result)==null?void 0:d.port)||"")})})();const c=()=>{a.Close&&a.Close(),location.reload()};return(p,f)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",R1,[t("div",G1,[U1,W1,t("div",H1,[Z1,t("a",{href:w(n),target:"_blank",rel:"noopener noreferrer"},h(w(n)),9,J1),X1]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:c},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var Q1=Y(K1,[["__scopeId","data-v-67a63e8f"]]),tc=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Q1,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const ae=e=>(N("data-v-30ef6ccb"),e=e(),q(),e),ec=["onSubmit"],ac=ae(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Webdav\u5171\u4EAB\u914D\u7F6E")],-1)),oc={class:"action-body"},nc={class:"label-item"},ic=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),rc={class:"label-item_value"},sc=["value"],dc={class:"label-item"},uc=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),lc={class:"label-item_value"},cc={class:"label-item"},pc=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),fc={class:"label-item_value"},mc={class:"action-footer"},bc=ae(()=>t("div",{class:"auto"},null,-1)),vc=["disabled"],gc=["disabled"],_c=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=d=>{d.preventDefault(),a.Close&&a.Close()},n=y(!1),s=y({username:"root",password:"",rootPath:a.rootPath});(()=>T(this,null,function*(){const d=F.Loading("\u52A0\u8F7D\u4E2D...");n.value=!0;try{const l=yield S.Nas.Webdav.Status.GET();if(l!=null&&l.data){const{result:u,error:m}=l.data;if(m){F.Warning(m);return}u&&(u.username&&(s.value.username=u.username),u.password&&(s.value.password=u.password))}}catch(l){F.Error(l)}n.value=!1,d.Close()}))();const p=()=>{const d=s.value;if(d.rootPath==""){F.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(d.username==""){F.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(d.password==""){F.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}f(d)},f=d=>T(this,null,function*(){n.value=!0;const l=F.Loading("\u521B\u5EFA\u4E2D...");try{const u=yield S.Nas.Webdav.Create.POST(d);if(u!=null&&u.data){const{error:m,result:b}=u.data;m&&F.Warning(m),b&&(F.Success("\u521B\u5EFA\u6210\u529F"),window.setTimeout(()=>{location.reload()},1e3))}}catch(u){F.Error(u)}l.Close(),n.value=!1});return(d,l)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:nt(p,["prevent"])},[ac,t("div",oc,[t("div",nc,[ic,t("div",rc,[t("input",{type:"text",value:s.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,sc)])]),t("div",dc,[uc,t("div",lc,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":l[0]||(l[0]=u=>s.value.username=u)},null,512),[[W,s.value.username,void 0,{trim:!0}]])])]),t("div",cc,[pc,t("div",fc,[z(t("input",{type:"password","onUpdate:modelValue":l[1]||(l[1]=u=>s.value.password=u)},null,512),[[W,s.value.password,void 0,{trim:!0}]])])])]),t("div",mc,[bc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:o,disabled:n.value},"\u5173\u95ED",8,vc),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,gc)])],40,ec)]),_:1})]),_:1}))}});var hc=Y(_c,[["__scopeId","data-v-30ef6ccb"]]),xc=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(hc,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const At=e=>(N("data-v-3ef9e48f"),e=e(),q(),e),kc=["onSubmit"],wc=At(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Samba\u5171\u4EAB\u914D\u7F6E")],-1)),yc={class:"action-body"},Fc={class:"label-item"},Ec=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),Cc={class:"label-item_value"},$c=["value"],Dc={class:"label-item"},Bc=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")],-1)),Yc={class:"label-item_value"},Ac={class:"label-item"},Sc=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),zc={class:"label-item_value"},Pc={class:"label-item"},Tc=At(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),Ic={class:"label-item_value"},Lc={class:"samba-item"},Mc={class:"samba-item_allow"},Oc=At(()=>t("label",{for:"allow",class:"samba-allow"},"\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)",-1)),Nc={class:"samba-item_tips"},qc={class:"tooltip-trigger"},Vc={class:"samba_tip"},jc=At(()=>t("span",{class:"samba_dir_tip"},"\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50",-1)),Rc={class:"action-footer"},Gc=At(()=>t("div",{class:"auto"},null,-1)),Uc=["disabled"],Wc=["disabled"],Hc=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=f=>{f.preventDefault(),a.Close&&a.Close()},n=y(!1),s=y({shareName:"",username:"",password:"",rootPath:a.rootPath,allowLegacy:!1}),c=()=>{const f=s.value;if(f.rootPath==""){F.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(f.shareName==""){F.Warning("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A");return}if(f.username==""){F.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(f.password==""){F.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}const d=yt.checkSmabaUserName(f.username);if(d!==!0){F.Warning(`${d}`);return}p(f)},p=f=>T(this,null,function*(){n.value=!0;const d=F.Loading("\u521B\u5EFA\u4E2D...");try{const l=yield S.Nas.Samba.Create.POST(f);if(l!=null&&l.data){const{error:u,result:m}=l.data;u&&F.Warning(u),m&&(F.Success("\u521B\u5EFA\u6210\u529F"),window.setTimeout(()=>{location.reload()},1e3))}}catch(l){F.Error(l)}d.Close(),n.value=!1});return(f,d)=>(i(),M(et,{type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("form",{class:"action",onSubmit:nt(c,["prevent"])},[wc,t("div",yc,[t("div",Fc,[Ec,t("div",Cc,[t("input",{type:"text",value:s.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,$c)])]),t("div",Dc,[Bc,t("div",Yc,[z(t("input",{type:"text","onUpdate:modelValue":d[0]||(d[0]=l=>s.value.shareName=l),required:"",placeholder:"\u5171\u4EAB\u540D\u79F0"},null,512),[[W,s.value.shareName,void 0,{trim:!0}]])])]),t("div",Ac,[Sc,t("div",zc,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":d[1]||(d[1]=l=>s.value.username=l)},null,512),[[W,s.value.username,void 0,{trim:!0}]])])]),t("div",Pc,[Tc,t("div",Ic,[z(t("input",{type:"password","onUpdate:modelValue":d[2]||(d[2]=l=>s.value.password=l)},null,512),[[W,s.value.password,void 0,{trim:!0}]])])]),t("div",Lc,[t("div",Mc,[z(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":d[3]||(d[3]=l=>s.value.allowLegacy=l)},null,512),[[Lt,s.value.allowLegacy]]),Oc]),t("div",Nc,[t("span",qc,[t("span",Vc,[B(gt)]),jc])])])]),t("div",Rc,[Gc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:o,disabled:n.value},"\u5173\u95ED",8,Uc),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,Wc)])],40,kc)]),_:1})]),_:1}))}});var Zc=Y(Hc,[["__scopeId","data-v-3ef9e48f"]]),Jc=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Zc,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Kt=e=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(e)!=-1,Ut=e=>(N("data-v-650e3bd4"),e=e(),q(),e),Xc={key:0,class:"action"},Kc=Ut(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC",-1)),Qc=Ut(()=>t("h3",{class:"desc"},"\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1",-1)),t2=Ut(()=>t("option",{value:"linkease"},"\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09",-1)),e2=Ut(()=>t("option",{value:"samba"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09",-1)),a2=Ut(()=>t("option",{value:"webdav"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09",-1)),o2=[t2,e2,a2],n2={key:0,class:"tips"},i2=U("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C"),r2=Ut(()=>t("a",{href:"/cgi-bin/luci/admin/nas/unishare"},"\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB",-1)),s2=U("\u201D"),d2=[i2,r2,s2],u2={class:"btns"},l2=["disabled"],c2=P({props:{setup:Number,Close:{type:Function,required:!0}},setup(e){const a=e,o=y(!0),n=y("linkease"),s=y(!1),c=y(a.setup||0),p=()=>{a.Close&&a.Close()},f=()=>T(this,null,function*(){switch(n.value){case"webdav":yield d();break;case"samba":yield u();break;case"linkease":yield l();break}}),d=()=>T(this,null,function*(){s.value=!0,(yield ct.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&m(),s.value=!1}),l=()=>T(this,null,function*(){s.value=!0,(yield ct.checkAndInstallApp("linkease","\u6613\u6709\u4E91","app-meta-linkease"))&&b(),s.value=!1}),u=()=>T(this,null,function*(){s.value=!0;const g=F.Loading("\u914D\u7F6E\u4E2D...");m(),g.Close(),s.value=!1}),m=()=>{s.value=!1,o.value=!1,j1({Cancel:()=>{o.value=!0},Next:g=>{switch(n.value){case"webdav":_(g);break;case"samba":v(g);break}}})},b=()=>{tc({}),p()},_=g=>{xc({rootPath:g}),p()},v=g=>{Jc({rootPath:g}),p()};return(g,k)=>o.value?(i(),M(et,{key:0,Close:e.Close,type:1},{default:V(()=>[B(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[c.value==0?(i(),r("div",Xc,[Kc,Qc,t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":k[0]||(k[0]=x=>n.value=x)},o2,512),[[K,n.value]])])]),w(Kt)("unishare")?(i(),r("div",n2,d2)):E("",!0),t("div",u2,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:f,type:"button",disabled:s.value},"\u4E0B\u4E00\u6B65",8,l2),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p,type:"button"},"\u53D6\u6D88")])])):E("",!0)]),_:1})]),_:1},8,["Close"])):E("",!0)}});var p2=Y(c2,[["__scopeId","data-v-650e3bd4"]]),ca=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(p2,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Se=e=>(N("data-v-edf68726"),e=e(),q(),e),f2={class:"app-container_linkease"},m2={class:"linkease-item"},b2=Se(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),v2={class:"linkease-item_value"},g2={key:0,class:"configure"},_2={key:0,class:"linkease-item"},h2=Se(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u670D\u52A1\u5730\u5740:")],-1)),x2={class:"linkease-item_value"},k2=["href"],w2=Se(()=>t("div",null,[t("a",{href:" https://app.linkease.com/",target:"_blank"},"\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")],-1)),y2=P({props:{linkease:{type:Object}},setup(e){const a=e,o=G(()=>{var s;return`http://${location.hostname}:${(s=a.linkease)==null?void 0:s.port}`}),n=()=>{ca({setup:0})};return(s,c)=>{var p,f,d;return i(),r("ul",f2,[t("li",m2,[b2,t("div",v2,[(p=e.linkease)!=null&&p.enabel?(i(),r("span",g2,"\u5DF2\u914D\u7F6E")):(i(),r("span",{key:1,class:"configure enabel",onClick:c[0]||(c[0]=l=>n())},"\u672A\u914D\u7F6E"))])]),(f=e.linkease)!=null&&f.enabel?(i(),r(L,{key:0},[(d=e.linkease)!=null&&d.port?(i(),r("li",_2,[h2,t("div",x2,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,k2)])])):E("",!0)],64)):E("",!0),w2])}}});var F2=Y(y2,[["__scopeId","data-v-edf68726"]]);const pa=e=>(N("data-v-62b7dbe8"),e=e(),q(),e),E2={class:"app-container"},C2={class:"app-container_title"},$2=pa(()=>t("span",null,[t("span",null,"\u5B58\u50A8\u670D\u52A1")],-1)),D2={class:"app-container_tool"},B2={class:"more_icon",title:"\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F"},Y2={class:"DeviceBlock"},A2=pa(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/services/samba4"},"SAMBA\u9AD8\u7EA7\u914D\u7F6E")],-1)),S2={class:"app-container_body"},z2={class:"app-container_nas-menu"},P2=P({setup(e){const a=y(!1),o=y("linkease"),n=y(),s=Qe();(()=>{S.Nas.Service.Status.GET().then(l=>{var u;if((u=l==null?void 0:l.data)!=null&&u.result){const m=l.data.result;n.value=m,m.webdav&&(s.webdav=m.webdav)}})})();const p=()=>{ca({setup:0})},f=()=>{a.value=!a.value},d=()=>{f(),ct.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(l,u)=>{var m,b,_;return i(),r("div",E2,[t("div",C2,[$2,t("div",D2,[t("div",{class:"app-container_configure",onClick:p},"\u5FEB\u901F\u914D\u7F6E"),t("span",B2,[B($t,{onClick:f})])]),z(t("div",Y2,[t("div",{class:"menu_background",onClick:f}),t("ul",null,[A2,t("li",null,[t("a",{onClick:d},"WebDAV\u9AD8\u7EA7\u914D\u7F6E")])])],512),[[wt,a.value]])]),t("div",S2,[t("ul",z2,[t("button",{onClick:u[0]||(u[0]=v=>o.value="linkease"),class:ot({on:o.value=="linkease"})},"\u6613\u6709\u4E91",2),t("button",{onClick:u[1]||(u[1]=v=>o.value="samba"),class:ot({on:o.value=="samba"})},"SAMBA",2),t("button",{onClick:u[2]||(u[2]=v=>o.value="webdav"),class:ot({on:o.value=="webdav"})},"WEBDAV",2)]),o.value=="samba"?(i(),M(i1,{key:0,sambas:(m=n.value)==null?void 0:m.sambas},null,8,["sambas"])):o.value=="webdav"?(i(),M(k1,{key:1,webdav:(b=n.value)==null?void 0:b.webdav},null,8,["webdav"])):o.value=="linkease"?(i(),M(F2,{key:2,linkease:(_=n.value)==null?void 0:_.linkease},null,8,["linkease"])):E("",!0)])])}}});var T2=Y(P2,[["__scopeId","data-v-62b7dbe8"]]);const ve=e=>(N("data-v-3fd3a42d"),e=e(),q(),e),I2={class:"app-container_docker"},L2={class:"docker-item"},M2=ve(()=>t("div",{class:"docker-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),O2={key:0,class:"docker-item_value"},N2=ve(()=>t("span",{class:"configure"},"\u672A\u5B89\u88C5",-1)),q2=[N2],V2={key:1,class:"docker-item_value"},j2={class:"input-switch"},R2=["value","disabled"],G2=ve(()=>t("em",null,null,-1)),U2=[G2],W2={key:0,class:"docker-item"},H2=ve(()=>t("div",{class:"docker-item_name"},[t("span",null,"Docker\u6839\u76EE\u5F55\uFF1A")],-1)),Z2={class:"docker-item_value"},J2={class:"configure enabel"},X2={key:0},K2={class:"tooltip-trigger"},Q2={class:"docker_tip"},t6={class:"tooltip-text tooltip-top"},e6={class:"docker_dir_tip"},a6=P({props:{docker:{type:Object}},setup(e){var c;const a=e,o=G(()=>{var p;return((p=a.docker)==null?void 0:p.status)!="not installed"}),n=it({enable:((c=a.docker)==null?void 0:c.status)=="running",disabled:!1}),s=()=>T(this,null,function*(){n.disabled=!0;try{const p=yield S.Guide.DockerSwitch.POST({enable:n.enable});if(p!=null&&p.data){const{success:f,error:d}=p.data;if(d)throw n.enable=!n.enable,d;(f||0)==0}}catch(p){F.Warning(`${p}`)}finally{n.disabled=!1}});return(p,f)=>{var d,l,u,m;return i(),r("ul",I2,[t("li",L2,[M2,(d=a.docker)!=null&&d.status?(i(),r(L,{key:0},[w(o)?(i(),r("div",V2,[t("label",j2,[z(t("input",{type:"checkbox",hidden:"",value:!w(n).enable,"onUpdate:modelValue":f[0]||(f[0]=b=>w(n).enable=b),disabled:w(n).disabled,onChange:s},null,40,R2),[[Lt,w(n).enable]]),t("span",{class:ot(w(n).enable?"enable":"close")},U2,2)])])):(i(),r("div",O2,q2))],64)):E("",!0)]),((l=e.docker)==null?void 0:l.status)=="running"?(i(),r("li",W2,[H2,t("div",Z2,[t("span",J2,h((u=e.docker)==null?void 0:u.path),1),(m=e.docker)!=null&&m.errorInfo?(i(),r("span",X2,[t("span",K2,[t("span",Q2,[B(gt)]),t("div",null,[t("div",t6,[t("span",e6,h(e.docker.errorInfo),1)])])])])):E("",!0)])])):E("",!0)])}}});var o6=Y(a6,[["__scopeId","data-v-3fd3a42d"]]);const n6={},i6={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"},r6=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),s6=[r6];function d6(e,a){return i(),r("svg",i6,s6)}var u6=Y(n6,[["render",d6]]);const pt=e=>(N("data-v-b8b2bddc"),e=e(),q(),e),l6={key:0,class:"action"},c6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),p6=pt(()=>t("p",{class:"desc"},"\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:",-1)),f6={key:1,class:"action"},m6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),b6=pt(()=>t("p",{class:"desc"},"\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:",-1)),v6={class:"roots"},g6=pt(()=>t("span",{class:"roots_tit"},"Docker\u6839\u76EE\u5F55\uFF1A",-1)),_6={class:"root"},h6={class:"move"},x6=pt(()=>t("span",{class:"roots_tit"},"\u8FC1\u79FB\u5230\uFF1A",-1)),k6={key:0},w6=["onSubmit"],y6={class:"select-editable"},F6=pt(()=>t("option",{selected:"",value:null},"\u8BF7\u9009\u62E9\u8FC1\u79FB\u5730\u5740",-1)),E6=["value"],C6=pt(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),$6={key:1,class:"tips"},D6={class:"tips_content"},B6=pt(()=>t("span",{class:"tip"},"\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\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)),Y6={key:0,class:"btns"},A6={key:1,class:"btns"},S6={key:2,class:"action docker_success"},z6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),P6={class:"finished"},T6=pt(()=>t("p",{class:"successed"},"\u8FC1\u79FB\u6210\u529F\uFF01",-1)),I6={key:3,class:"action docker_download"},L6=pt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),M6={class:"finished"},O6=pt(()=>t("p",{class:"successed"},"\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A",-1)),N6={class:"docker_moves"},q6={class:"moves change"},V6=pt(()=>t("label",{for:"move"},"\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)),j6={class:"moves"},R6=pt(()=>t("label",{for:"cover"},"\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)),G6={class:"btns"},U6=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=y(),n=y(),s=y(0),c=y("null"),p=y(""),f=y(),d=y(!1),l=y("");(()=>{S.Nas.Disk.Status.GET().then(x=>{x!=null&&x.data.result&&(f.value=x==null?void 0:x.data.result)}),S.Guide.DockerStatus.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const A=x.data.result;o.value=A}}),S.Guide.DockerPartitionList.GET().then(x=>{var C;if((C=x==null?void 0:x.data)!=null&&C.result){const A=x.data.result;n.value=A}})})();const m=x=>{let C=c.value;if(C=="useInput"&&(C=p.value),C==null||C=="null"||C=="")return;const A=F.Loading("\u6B63\u5728\u8FC1\u79FB\u4E2D...");S.Guide.DockerTransfer.POST({path:C,force:x,overwriteDir:!!l.value}).then(D=>{var $;if(D!=null&&D.data){if((D.data.success||0)==0){if(($=D.data.result)!=null&&$.emptyPathWarning){d.value=!0,s.value=2;return}s.value=1;return}else if(D.data.error)throw D.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(D=>{F.Error(D)}).finally(()=>A.Close())},b=()=>{d.value=!1,m(!1)},_=x=>{x.preventDefault(),a.Close&&a.Close()},v=x=>{x.preventDefault(),location.reload()},g=x=>{x.preventDefault(),s.value=0},k=x=>{x.preventDefault(),m(!0)};return(x,C)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>{var A,D,$,O,H,j;return[s.value==-1?(i(),r("div",l6,[c6,p6,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},"\u53D6\u6D88")])])):s.value==0?(i(),r("div",f6,[m6,b6,t("div",v6,[g6,t("span",_6,h((A=o.value)==null?void 0:A.path),1)]),t("div",h6,[x6,($=(D=n.value)==null?void 0:D.partitionList)!=null&&$.length?(i(),r("div",k6,[t("form",{onSubmit:nt(b,["prevent"])},[t("label",null,[t("div",y6,[z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=Z=>c.value=Z)},[F6,(i(!0),r(L,null,R((O=n.value)==null?void 0:O.partitionList,(Z,_t)=>(i(),r("option",{value:Z,key:_t},h(Z),9,E6))),128)),C6],512),[[K,c.value,void 0,{trim:!0}]]),c.value=="useInput"?z((i(),r("input",{key:0,type:"text","onUpdate:modelValue":C[1]||(C[1]=Z=>p.value=Z),required:"",placeholder:"\u8BF7\u8F93\u5165\u8FC1\u79FB\u5730\u5740"},null,512)),[[W,p.value,void 0,{trim:!0}]]):E("",!0)])])],40,w6)])):n.value?(i(),r("div",$6,[t("div",D6,[B(gt),B6])])):E("",!0)]),(j=(H=n.value)==null?void 0:H.partitionList)!=null&&j.length?(i(),r("div",Y6,[t("button",{class:"cbi-button cbi-button-apply",onClick:b},"\u786E\u5B9A"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},"\u53D6\u6D88")])):(i(),r("div",A6,[t("button",{class:"cbi-button cbi-button-apply",onClick:_},"\u786E\u5B9A")]))])):s.value==1?(i(),r("div",S6,[z6,t("div",P6,[B(De)]),T6,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:v},"\u786E\u5B9A")])])):s.value==2?(i(),r("div",I6,[L6,t("div",M6,[B(u6)]),O6,t("div",N6,[t("div",q6,[z(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":C[2]||(C[2]=Z=>l.value=Z),value:""},null,512),[[ft,l.value]]),V6]),t("div",j6,[z(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":C[3]||(C[3]=Z=>l.value=Z),value:"true"},null,512),[[ft,l.value]]),R6])]),t("div",G6,[d.value?(i(),r("button",{key:0,class:"cbi-button cbi-button-apply",onClick:k},"\u786E\u5B9A")):E("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:g},"\u8FD4\u56DE"),d.value?E("",!0):(i(),r("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:v},"\u53D6\u6D88"))])])):E("",!0)]}),_:1},8,["Close"]))}});var W6=Y(U6,[["__scopeId","data-v-b8b2bddc"]]);const H6=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(W6,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},fa=e=>(N("data-v-bb527ce2"),e=e(),q(),e),Z6={class:"app-container"},J6={class:"app-container_title"},X6=fa(()=>t("span",null,[t("span",null,"Docker")],-1)),K6={key:0,class:"app-container_tool"},Q6={key:1,class:"more_icon",title:"\u67E5\u770BDocker\u4FE1\u606F"},t5={class:"DeviceBlock"},e5=fa(()=>t("ul",null,[t("li",null,[t("a",{href:"/cgi-bin/luci/admin/docker/overview"},"Docker\u9AD8\u7EA7\u914D\u7F6E")])],-1)),a5={key:1,class:"loading_placeholder"},o5=P({props:{docker:{type:Object}},setup(e){const a=y(!1),o=y(),n=y(!1),s=()=>{n.value=!n.value},c=()=>{H6()};return setTimeout(()=>{S.Guide.DockerStatus.GET().then(f=>{var d;if((d=f==null?void 0:f.data)!=null&&d.result){const l=f.data.result;o.value=l}}).finally(()=>{a.value=!0})},1100),(f,d)=>{var u,m;const l=Q("icon-loading");return i(),r("div",Z6,[t("div",J6,[X6,a.value?(i(),r("div",K6,[((u=o.value)==null?void 0:u.status)!="not installed"?(i(),r("div",{key:0,class:"app-container_configure",onClick:c},"\u5FEB\u901F\u914D\u7F6E ")):E("",!0),((m=o.value)==null?void 0:m.status)==="running"?(i(),r("span",Q6,[B($t,{onClick:s})])):E("",!0)])):E("",!0),z(t("div",t5,[t("div",{class:"menu_background",onClick:s}),e5],512),[[wt,n.value]])]),t("div",null,[a.value?(i(),M(o6,{key:0,docker:o.value},null,8,["docker"])):(i(),r("div",a5,[B(l,{size:50,color:"currentColor"})]))])])}}});var n5=Y(o5,[["__scopeId","data-v-bb527ce2"]]);const oe=e=>(N("data-v-dbe287b2"),e=e(),q(),e),i5={class:"app-container_aria2"},r5={class:"aria2-item"},s5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),d5={class:"aria2-item_value"},u5={key:0,class:"configure"},l5={key:1,class:"configure enabel"},c5={class:"aria2-item"},p5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),f5={class:"aria2-item_value"},m5=["href"],b5={class:"aria2-item"},v5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),g5={class:"aria2-item_value"},_5=["href"],h5={class:"aria2-item"},x5=oe(()=>t("div",{class:"aria2-item_name right"},[t("span",null,"\u8BA4\u8BC1\u5931\u8D25\uFF1F")],-1)),k5={class:"aria2-item_value"},w5=["href"],y5=oe(()=>t("div",{class:"use-url_app"},[t("a",{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"},"\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")],-1)),F5=P({props:{aria2:{type:Object}},setup(e){const a=e,o=G(()=>{var s;return`${location.origin}${(s=a.aria2)==null?void 0:s.webPath}`}),n=G(()=>{var p,f,d;let s=(p=a.aria2)==null?void 0:p.rpcToken;s&&(s=encodeURIComponent(btoa(s)));const c=encodeURIComponent(location.hostname);return`${location.origin}${(f=a.aria2)==null?void 0:f.webPath}/#!/settings/rpc/set/http/${c}/${(d=a.aria2)==null?void 0:d.rpcPort}/jsonrpc/${s}`});return(s,c)=>{var p,f,d,l;return i(),r("ul",i5,[t("li",r5,[s5,t("div",d5,[((p=e.aria2)==null?void 0:p.status)=="running"?(i(),r("span",u5,"\u5DF2\u542F\u52A8")):(i(),r("span",l5,"\u672A\u542F\u52A8"))])]),((f=e.aria2)==null?void 0:f.status)=="running"?(i(),r(L,{key:0},[t("li",c5,[p5,t("div",f5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((d=e.aria2)==null?void 0:d.downloadPath)},h((l=e.aria2)==null?void 0:l.downloadPath),9,m5)])]),t("li",b5,[v5,t("div",g5,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,_5)])]),t("li",h5,[x5,t("div",k5,[t("a",{href:w(n),target:"_blank",rel:"noopener noreferrer"},"\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg",8,w5)])])],64)):E("",!0),y5])}}});var E5=Y(F5,[["__scopeId","data-v-dbe287b2"]]);const ge=e=>(N("data-v-1af61e64"),e=e(),q(),e),C5={class:"app-container_qbittorrent"},$5={class:"qbittorrent-item"},D5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),B5={class:"qbittorrent-item_value"},Y5={key:0,class:"configure"},A5={key:1,class:"configure enabel"},S5={class:"qbittorrent-item"},z5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),P5={class:"qbittorrent-item_value"},T5=["href"],I5={class:"qbittorrent-item"},L5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),M5={class:"qbittorrent-item_value"},O5=["href"],N5=ge(()=>t("li",{class:"qbittorrent-item"},[t("div",{class:"qbittorrent-item_name right"},[t("span",null,"\u9ED8\u8BA4\u7528\u6237\u540D\uFF1Aadmin")]),t("div",{class:"qbittorrent-item_value"},[t("span",null,"\u9ED8\u8BA4\u5BC6\u7801\uFF1Aadminadmin")])],-1)),q5=P({props:{qbittorrent:{type:Object}},setup(e){const a=e,o=G(()=>{var n;return`http://${location.hostname}${(n=a.qbittorrent)==null?void 0:n.webPath}`});return(n,s)=>{var c,p,f,d;return i(),r("ul",C5,[t("li",$5,[D5,t("div",B5,[((c=e.qbittorrent)==null?void 0:c.status)=="running"?(i(),r("span",Y5,"\u5DF2\u542F\u52A8")):(i(),r("span",A5,"\u672A\u542F\u52A8"))])]),((p=e.qbittorrent)==null?void 0:p.status)=="running"?(i(),r(L,{key:0},[t("li",S5,[z5,t("div",P5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=e.qbittorrent)==null?void 0:f.downloadPath)},h((d=e.qbittorrent)==null?void 0:d.downloadPath),9,T5)])]),t("li",I5,[L5,t("div",M5,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,O5)])]),N5],64)):E("",!0)])}}});var V5=Y(q5,[["__scopeId","data-v-1af61e64"]]);const ze=e=>(N("data-v-31717210"),e=e(),q(),e),j5={class:"app-container_transmission"},R5={class:"transmission-item"},G5=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),U5={class:"transmission-item_value"},W5={key:0,class:"configure"},H5={key:1,class:"configure enabel"},Z5={class:"transmission-item"},J5=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),X5={class:"transmission-item_value"},K5=["href"],Q5={class:"transmission-item"},t3=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),e3={class:"transmission-item_value"},a3=["href"],o3=P({props:{transmission:{type:Object}},setup(e){const a=e,o=G(()=>{var n;return`http://${location.hostname}${(n=a.transmission)==null?void 0:n.webPath}`});return(n,s)=>{var c,p,f,d;return i(),r("ul",j5,[t("li",R5,[G5,t("div",U5,[((c=e.transmission)==null?void 0:c.status)=="running"?(i(),r("span",W5,"\u5DF2\u542F\u52A8")):(i(),r("span",H5,"\u672A\u542F\u52A8"))])]),((p=e.transmission)==null?void 0:p.status)=="running"?(i(),r(L,{key:0},[t("li",Z5,[J5,t("div",X5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=e.transmission)==null?void 0:f.downloadPath)},h((d=e.transmission)==null?void 0:d.downloadPath),9,K5)])]),t("li",Q5,[t3,t("div",e3,[t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,a3)])])],64)):E("",!0)])}}});var n3=Y(o3,[["__scopeId","data-v-31717210"]]);const i3={},r3={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"},s3=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),d3=[s3];function u3(e,a){return i(),r("svg",r3,d3)}var Pt=Y(i3,[["render",u3]]);const X=e=>(N("data-v-378dba8e"),e=e(),q(),e),l3={key:0,class:"action"},c3=X(()=>t("h2",{class:"title"},"\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",-1)),p3={class:"load_service input_row"},f3=X(()=>t("div",{class:"left"},[t("span",null,"\u4E0B\u8F7D\u670D\u52A1\uFF1A")],-1)),m3={class:"radios"},b3=X(()=>t("label",{for:"Aria2"},"Aria2",-1)),v3={class:"radios"},g3=X(()=>t("label",{for:"qB"},"qBittorrent",-1)),_3={class:"radios"},h3=X(()=>t("label",{for:"Tr"},"Transmission",-1)),x3=["onSubmit"],k3={class:"input_row"},w3={class:"left"},y3={class:"tooltip-trigger"},F3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\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)),E3=X(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),C3={class:"myinput_wrap"},$3={class:"input_row"},D3={class:"left"},B3={class:"tooltip-trigger"},Y3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),A3=X(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),S3={class:"myinput_wrap"},z3={class:"input_row"},P3={class:"left"},T3={class:"tooltip-trigger"},I3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-bottom"},[t("span",{class:"dowload_rpc_tip"},"\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")])],-1)),L3=X(()=>t("span",null,"RPC \u4EE4\u724C\uFF1A",-1)),M3={class:"input_row"},O3=X(()=>t("div",{class:""},[t("span",null,"\u9644\u52A0\u7684 BT Tracker\uFF1A")],-1)),N3={class:"radios"},q3=X(()=>t("label",{for:"default"},"\u9ED8\u8BA4",-1)),V3={class:"radios"},j3=X(()=>t("label",{for:"add"},"\u81EA\u5DF1\u6DFB\u52A0",-1)),R3={class:"input_row"},G3=X(()=>t("div",{class:"left"},null,-1)),U3={class:"myinput_wrap Tracker_input"},W3=["onSubmit"],H3={class:"input_row"},Z3={class:"left"},J3={class:"tooltip-trigger"},X3=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\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)),K3=X(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),Q3={class:"myinput_wrap"},t4={class:"input_row"},e4={class:"left"},a4={class:"tooltip-trigger"},o4=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),n4=X(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),i4={class:"myinput_wrap"},r4=["onSubmit"],s4={class:"input_row"},d4={class:"left"},u4={class:"tooltip-trigger"},l4=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\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)),c4=X(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),p4={class:"myinput_wrap"},f4={class:"input_row"},m4={class:"left"},b4={class:"tooltip-trigger"},v4=X(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),g4=X(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),_4={class:"myinput_wrap"},h4={class:"btns"},x4={key:1,class:"action"},k4={class:"title"},w4={class:"finished"},y4=X(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),F4=P({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(e){const a=e,o=y(""),n=y(""),s=y(""),c=y(""),p=y("default"),f=y("Aria2"),d=y(""),l=y(""),u=y(""),m=y(""),b=y([]),_=y([]),v=y(0);Ft(()=>{var j,Z,_t,Ie,Le,Me,Oe,Ne,qe,Ve;switch(a.defaultTab){case"aria2":f.value="Aria2";break;case"qbittorrent":f.value="qBittorrent";break;case"transmission":f.value="Transmission";break}b.value=a.partitionList.map(Ht=>({key:Ht})),_.value=a.partitionList.filter(Ht=>Ht.startsWith("/mnt/")).map(Ht=>Ht.replace(/(\/mnt\/[^/]+).*/,"$1")),s.value=((j=a.services.aria2)==null?void 0:j.configPath)||"";const D=((Z=a.services.aria2)==null?void 0:Z.downloadPath)||((_t=a.services.qbittorrent)==null?void 0:_t.downloadPath)||((Ie=a.services.transmission)==null?void 0:Ie.downloadPath);D&&(c.value=D);const $=(Le=a.services.aria2)==null?void 0:Le.rpcToken;$&&(o.value=$),d.value=((Me=a.services.qbittorrent)==null?void 0:Me.configPath)||"";const O=((Oe=a.services.qbittorrent)==null?void 0:Oe.downloadPath)||D||((Ne=a.services.transmission)==null?void 0:Ne.downloadPath);O&&(l.value=O),u.value=((qe=a.services.transmission)==null?void 0:qe.configPath)||"";const H=((Ve=a.services.transmission)==null?void 0:Ve.downloadPath)||D||O;H&&(m.value=H)});const g=()=>{let D=s.value,$=c.value;D==null||D==""||$==null||$==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-aria2","Aria2")){const H=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.Aria2Init.POST({configPath:D,downloadPath:$,rpcToken:o.value,btTracker:p.value=="add"?n.value:""}).then(j=>{var Z;if(j!=null&&j.data){if((j.data.success||0)==0){v.value=1;return}else if((Z=j.data)!=null&&Z.error)throw j.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(j=>F.Error(j)).finally(()=>H.Close())}})},k=()=>{let D=d.value,$=l.value;D==null||D==""||$==null||$==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const H=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.qbitorrentInit.POST({configPath:D,downloadPath:$}).then(j=>{var Z;if(j!=null&&j.data){if((j.data.success||0)==0){v.value=1;return}else if((Z=j.data)!=null&&Z.error)throw j.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(j=>F.Error(j)).finally(()=>H.Close())}})},x=()=>{let D=u.value,$=m.value;D==null||D==""||$==null||$==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-transmission","Transmission")){const H=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.transmissionInit.POST({configPath:D,downloadPath:$}).then(j=>{var Z;if(j!=null&&j.data){if((j.data.success||0)==0){v.value=1;return}else if((Z=j.data)!=null&&Z.error)throw j.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(j=>F.Error(j)).finally(()=>H.Close())}})},C=D=>{D.preventDefault(),a.Close&&a.Close()},A=D=>{D.preventDefault(),location.reload()};return(D,$)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[v.value==0?(i(),r("div",l3,[c3,t("ul",null,[t("li",null,[t("div",p3,[f3,t("div",m3,[z(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":$[0]||($[0]=O=>f.value=O),name:"download",id:"Aria2"},null,512),[[ft,f.value]]),b3]),t("div",v3,[z(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":$[1]||($[1]=O=>f.value=O),name:"download",id:"qB"},null,512),[[ft,f.value]]),g3]),t("div",_3,[z(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":$[2]||($[2]=O=>f.value=O),name:"download",id:"Tr"},null,512),[[ft,f.value]]),h3])])])]),f.value=="Aria2"?(i(),r("form",{key:0,onSubmit:nt(g,["prevent"])},[t("ul",null,[t("li",null,[t("div",k3,[t("div",w3,[t("span",y3,[B(Pt),F3]),E3]),t("div",C3,[B(Tt,{modelValue:s.value,"onUpdate:modelValue":$[3]||($[3]=O=>s.value=O),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:_.value.concat("/root").map(O=>({key:O+"/Configs/aria2"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",$3,[t("div",D3,[t("span",B3,[B(Pt),Y3]),A3]),t("div",S3,[B(Tt,{modelValue:c.value,"onUpdate:modelValue":$[4]||($[4]=O=>c.value=O),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:b.value},null,8,["modelValue","options"])])])]),t("li",null,[t("div",z3,[t("div",P3,[t("span",T3,[B(Pt),I3]),L3]),z(t("input",{type:"text",class:"RPC_input",placeholder:"\u8BF7\u8F93\u5165RPC\u4EE4\u724C","onUpdate:modelValue":$[5]||($[5]=O=>o.value=O)},null,512),[[W,o.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",M3,[O3,t("div",N3,[z(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":$[6]||($[6]=O=>p.value=O)},null,512),[[ft,p.value]]),q3]),t("div",V3,[z(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":$[7]||($[7]=O=>p.value=O)},null,512),[[ft,p.value]]),j3])])]),t("li",null,[t("div",R3,[G3,t("div",U3,[p.value=="add"?z((i(),r("textarea",{key:0,"onUpdate:modelValue":$[8]||($[8]=O=>n.value=O),rows:"4",placeholder:"\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,512)),[[W,n.value,void 0,{trim:!0}]]):E("",!0)])])])])],40,x3)):E("",!0),f.value=="qBittorrent"?(i(),r("form",{key:1,onSubmit:nt(k,["prevent"])},[t("ul",null,[t("li",null,[t("div",H3,[t("div",Z3,[t("span",J3,[B(Pt),X3]),K3]),t("div",Q3,[B(Tt,{modelValue:d.value,"onUpdate:modelValue":$[9]||($[9]=O=>d.value=O),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:_.value.concat("/root").map(O=>({key:O+"/Configs/qb"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",t4,[t("div",e4,[t("span",a4,[B(Pt),o4]),n4]),t("div",i4,[B(Tt,{modelValue:l.value,"onUpdate:modelValue":$[10]||($[10]=O=>l.value=O),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:b.value},null,8,["modelValue","options"])])])])])],40,W3)):E("",!0),f.value=="Transmission"?(i(),r("form",{key:2,onSubmit:nt(x,["prevent"])},[t("ul",null,[t("li",null,[t("div",s4,[t("div",d4,[t("span",u4,[B(Pt),l4]),c4]),t("div",p4,[B(Tt,{modelValue:u.value,"onUpdate:modelValue":$[11]||($[11]=O=>u.value=O),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:_.value.concat("/root").map(O=>({key:O+"/Configs/transmission"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",f4,[t("div",m4,[t("span",b4,[B(Pt),v4]),g4]),t("div",_4,[B(Tt,{modelValue:m.value,"onUpdate:modelValue":$[12]||($[12]=O=>m.value=O),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:b.value},null,8,["modelValue","options"])])])])])],40,r4)):E("",!0),t("div",h4,[f.value=="Aria2"?(i(),r("button",{key:0,class:"cbi-button cbi-button-apply",onClick:g},"\u542F\u7528")):E("",!0),f.value=="qBittorrent"?(i(),r("button",{key:1,class:"cbi-button cbi-button-apply",onClick:k},"\u542F\u7528")):E("",!0),f.value=="Transmission"?(i(),r("button",{key:2,class:"cbi-button cbi-button-apply",onClick:x},"\u542F\u7528")):E("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:C},"\u53D6\u6D88")])])):v.value==1?(i(),r("div",x4,[t("h2",k4,h(f.value)+"\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",1),t("div",w4,[B(De)]),y4,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:A},"\u786E\u5B9A")])])):E("",!0)]),_:1},8,["Close"]))}});var E4=Y(F4,[["__scopeId","data-v-378dba8e"]]);const C4=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(E4,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},$4=e=>(N("data-v-3b622730"),e=e(),q(),e),D4={class:"app-container"},B4={class:"app-container_title"},Y4=$4(()=>t("span",null,[t("span",null,"\u4E0B\u8F7D\u670D\u52A1")],-1)),A4={class:"app-container_tool"},S4=["disabled"],z4={class:"more_icon",title:"\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E"},P4={class:"DeviceBlock"},T4={class:"app-container_body"},I4={class:"app-container_nas-menu"},L4=P({setup(e){y(!1);const a=y("aria2"),o=y();Qe(),setTimeout(()=>{S.Guide.DownloadService.Status.GET().then(b=>{var _;if((_=b==null?void 0:b.data)!=null&&_.result){const v=b.data.result;o.value=v}})},800);const s=y(!1),c=y(!1),p=()=>{c.value=!c.value},f=()=>{S.Guide.DownloadPartition.List.GET().then(b=>{var v,g;let _=[];(g=(v=b==null?void 0:b.data)==null?void 0:v.result)!=null&&g.partitionList&&(_=b.data.result.partitionList),C4({services:o.value,partitionList:_,defaultTab:a.value})})},d=(b,_,v)=>T(this,null,function*(){p(),ct.installAndGo(b,_,v)}),l=()=>{d("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},u=()=>{d("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},m=()=>{d("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(b,_)=>{var v,g,k;return i(),r("div",D4,[t("div",B4,[Y4,t("div",A4,[o.value?(i(),r("div",{key:0,class:"app-container_configure",onClick:f,disabled:s.value},"\u5FEB\u901F\u914D\u7F6E ",8,S4)):E("",!0),t("span",z4,[B($t,{onClick:p})])]),z(t("div",P4,[t("div",{class:"menu_background",onClick:p}),t("ul",null,[t("li",null,[t("a",{onClick:l},"Aria2\u9AD8\u7EA7\u914D\u7F6E")]),t("li",null,[t("a",{onClick:u},"qBittorrent\u9AD8\u7EA7\u914D\u7F6E")]),t("li",null,[t("a",{onClick:m},"Transmission\u9AD8\u7EA7\u914D\u7F6E")])])],512),[[wt,c.value]])]),t("div",T4,[t("ul",I4,[t("button",{onClick:_[0]||(_[0]=x=>a.value="aria2"),class:ot({on:a.value=="aria2"})},"Aria2",2),t("button",{onClick:_[1]||(_[1]=x=>a.value="qbittorrent"),class:ot({on:a.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:_[2]||(_[2]=x=>a.value="transmission"),class:ot({on:a.value=="transmission"})},"Transmission",2)]),a.value=="aria2"?(i(),M(E5,{key:0,aria2:(v=o.value)==null?void 0:v.aria2},null,8,["aria2"])):a.value=="qbittorrent"?(i(),M(V5,{key:1,qbittorrent:(g=o.value)==null?void 0:g.qbittorrent},null,8,["qbittorrent"])):a.value=="transmission"?(i(),M(n3,{key:2,transmission:(k=o.value)==null?void 0:k.transmission},null,8,["transmission"])):E("",!0)])])}}});var M4=Y(L4,[["__scopeId","data-v-3b622730"]]);const Et=e=>(N("data-v-43beecef"),e=e(),q(),e),O4={class:"actioner-container"},N4=Et(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),q4={class:"actioner-container_body"},V4={class:"label-item"},j4=Et(()=>t("span",null,"DDNSTO",-1)),R4=Et(()=>t("p",{class:"label_info"},"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)),G4={class:"label-item"},U4=Et(()=>t("span",null,"\u963F\u91CC\u4E91",-1)),W4=Et(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),H4={class:"label-item"},Z4=Et(()=>t("span",null,"Dnspod",-1)),J4=Et(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),X4={class:"label-item"},K4=Et(()=>t("span",null,"\u82B1\u751F\u58F3",-1)),Q4=Et(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),t8=P({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(e,{emit:a}){const o=e,n=()=>{o.onSetup()},s=y(o.active),c=()=>{switch(a("update:active",s.value),s.value){case"ddnsto":o.onSetup("ddnsto");break;case"ali":o.onSetup("ddns-ali");break;case"dnspod":o.onSetup("ddns-dnspod");break;case"oray":o.onSetup("ddns-oray");break}};return(p,f)=>(i(),r("div",O4,[N4,t("div",q4,[t("div",V4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=d=>s.value=d),value:"ddnsto"},null,512),[[ft,s.value]]),j4]),R4]),t("div",G4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[1]||(f[1]=d=>s.value=d),value:"ali"},null,512),[[ft,s.value]]),U4]),W4]),t("div",H4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[2]||(f[2]=d=>s.value=d),value:"dnspod"},null,512),[[ft,s.value]]),Z4]),J4]),t("div",X4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[3]||(f[3]=d=>s.value=d),value:"oray"},null,512),[[ft,s.value]]),K4]),Q4])]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:n},"\u53D6\u6D88"),t("div",{class:"next",onClick:c},"\u4E0B\u4E00\u6B65")])]))}});var e8=Y(t8,[["__scopeId","data-v-43beecef"]]);const ne=e=>(N("data-v-43dd65a2"),e=e(),q(),e),a8={class:"actioner-container"},o8={class:"actioner-container_body"},n8=ne(()=>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)),i8=ne(()=>t("div",{class:"body-title"},"\u6DFB\u52A0\u6210\u529F",-1)),r8=ne(()=>t("p",{class:"body-tips"},"\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002",-1)),s8={class:"body-info"},d8=ne(()=>t("span",null,"\u8BBF\u95EE\u5730\u5740\uFF1A",-1)),u8=["href"],l8=ne(()=>t("div",null,[t("span",null,"\u53EF\u524D\u5F80"),t("a",{href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},"\u670D\u52A1-\u52A8\u6001DNS"),t("span",null,"\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")],-1)),c8=P({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(e){const a=()=>{location.reload()};return(o,n)=>(i(),r("div",a8,[t("div",o8,[n8,i8,r8,t("div",s8,[d8,t("a",{href:e.target,target:"_blank",rel:"noopener noreferrer"},h(e.target),9,u8)]),l8]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:a},"\u5173\u95ED")])]))}});var p8=Y(c8,[["__scopeId","data-v-43dd65a2"]]);const ma=e=>(N("data-v-7790f1da"),e=e(),q(),e),f8={class:"actioner-container"},m8=ma(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),b8=ma(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),v8=P({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(e){const a=e,o=()=>{a.onSetup()},n=s=>{if(s.data.auth=="ddnsto"){const c=s.data.sign,p=s.data.token;c&&p&&(removeEventListener("message",n),a.onDdnstoConfig(c,p),a.onSetup("ddnsto-run"))}};return Ft(()=>{window.addEventListener("message",n)}),Vt(()=>{removeEventListener("message",n)}),(s,c)=>(i(),r("div",f8,[m8,b8,t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u53D6\u6D88")])]))}});var g8=Y(v8,[["__scopeId","data-v-7790f1da"]]);const _8=e=>(N("data-v-7b3ee72a"),e=e(),q(),e),h8={class:"actioner-container"},x8=_8(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),k8={class:"actioner-container_body ddnsto-bind"},w8=["src"],y8=P({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(e,{emit:a}){const o=e,n=G(()=>{const{domain:p,token:f,sign:d,routerId:l,netaddr:u}=o.config,m=encodeURIComponent(p),b=encodeURIComponent(u);return`https://www.kooldns.cn/bind/#/domain?domain=${m}&sign=${d}&token=${f}&routerId=${l}&netaddr=${b}`}),s=p=>{if(p.data){const{auth:f,url:d}=p.data;f==="ddnsto"&&d&&c(d)}},c=p=>T(this,null,function*(){var f;try{const d=yield S.Guide.DdnstoAddress.POST({address:p});d!=null&&d.data&&(((f=d==null?void 0:d.data)==null?void 0:f.success)||0)==0&&(a("update:domain",p),o.onSetup("ddnsto-save"))}catch(d){}});return Ft(()=>{window.addEventListener("message",s)}),Vt(()=>{removeEventListener("message",s)}),(p,f)=>(i(),r("div",h8,[x8,t("div",k8,[t("iframe",{src:w(n)},null,8,w8)])]))}});var F8=Y(y8,[["__scopeId","data-v-7b3ee72a"]]);const ie=e=>(N("data-v-7f5a8953"),e=e(),q(),e),E8={class:"actioner-container"},C8={class:"actioner-container_body"},$8=ie(()=>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)),D8=ie(()=>t("div",{class:"body-title"},"\u6DFB\u52A0\u6210\u529F",-1)),B8=ie(()=>t("p",{class:"body-tips"},"\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002",-1)),Y8={class:"body-info"},A8=ie(()=>t("span",null,"\u8BBF\u95EE\u5730\u5740\uFF1A",-1)),S8=["href"],z8=ie(()=>t("div",null,[t("span",null,"\u53EF\u524D\u5F80"),t("a",{href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},"DDNSTO\u63A7\u5236\u53F0"),t("span",null,"\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")],-1)),P8=P({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(e){const a=()=>{location.reload()};return(o,n)=>(i(),r("div",E8,[t("div",C8,[$8,D8,B8,t("div",Y8,[A8,t("a",{href:e.target,target:"_blank",rel:"noopener noreferrer"},h(e.target),9,S8)]),z8]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:a},"\u5173\u95ED")])]))}});var T8=Y(P8,[["__scopeId","data-v-7f5a8953"]]);const I8=e=>(N("data-v-d60389d6"),e=e(),q(),e),L8={class:"actioner-container"},M8=I8(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),O8={class:"actioner-container_body"},N8={class:"actioner-container_footer"},q8=P({props:{onSetup:{type:Function,required:!0}},setup(e){const a=e,o=()=>{a.onSetup()},n=()=>T(this,null,function*(){if(p.value)return;p.value=!0;const d=F.Loading("\u5B89\u88C5\u4E2D...");try{if(yield ct.installApp("app-meta-ddnsto",30)){a.onSetup("ddnsto-login");return}else s.value="\u5B89\u88C5\u5931\u8D25"}catch(l){s.value=l}finally{d.Close()}p.value=!1}),s=y("\u6B63\u5728\u68C0\u6D4B\u4E2D..."),c=y(!1),p=y(!1);return(()=>T(this,null,function*(){try{const d=yield S.App.Check.POST({name:"ddnsto"});if(d!=null&&d.data){const{result:l,error:u}=d.data;if(u){s.value=u;return}if(l){if(l.status=="installed"){a.onSetup("ddnsto-login");return}l.status=="uninstalled"&&(s.value="\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5")}}}catch(d){s.value=d}c.value=!0}))(),(d,l)=>(i(),r("div",L8,[M8,t("div",O8,[t("span",null,h(s.value),1)]),t("div",N8,[c.value?(i(),r(L,{key:0},[t("div",{class:"close",onClick:o},"\u53D6\u6D88"),t("div",{class:"next",onClick:n},"\u786E\u5B9A")],64)):E("",!0)])]))}});var V8=Y(q8,[["__scopeId","data-v-d60389d6"]]);const j8=e=>(N("data-v-1e0ebd66"),e=e(),q(),e),R8={class:"actioner-container"},G8=j8(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),U8={class:"actioner-container_body"},W8=P({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(e){const a=e,o=y("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8...");(d=>T(this,null,function*(){var l;try{const u=yield S.Guide.Ddnsto.POST({token:a.token});u!=null&&u.data&&(u.data.error&&(o.value=u.data.error),(((l=u==null?void 0:u.data)==null?void 0:l.success)||0)==0&&c())}catch(u){o.value=u}}))(a.token);const s=y(),c=()=>{const d=()=>T(this,null,function*(){if((yield p())===!0){f();return}s.value=window.setTimeout(d,2e3)});d()},p=()=>T(this,null,function*(){try{const d=yield S.App.Check.POST({name:"ddnsto",checkRunning:!0});if(d!=null&&d.data){d.data.error&&(o.value=d.data.error);const l=d.data.result;if((l==null?void 0:l.status)=="running")return!0}}catch(d){o.value=d}return!1});Vt(()=>{s.value&&clearInterval(s.value)});const f=()=>T(this,null,function*(){var d;try{const l=yield S.Guide.DdntoConfig.GET();if(l!=null&&l.data&&(l.data.error&&(o.value=l.data.error),(((d=l==null?void 0:l.data)==null?void 0:d.success)||0)==0&&l.data.result)){const u=l.data.result;a.onDdnstoLocalConfig(u.netAddr,u.deviceId),a.onSetup("ddnsto-bind")}}catch(l){o.value=l}});return(d,l)=>(i(),r("div",R8,[G8,t("div",U8,h(o.value),1)]))}});var H8=Y(W8,[["__scopeId","data-v-1e0ebd66"]]);const Z8={class:"action-main"},J8=P({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(e){const a=e,o=y("ddnsto-install"),n=d=>{d!=null?o.value=d:s()},s=()=>{a.Close&&a.Close()},c=it({sign:"",token:"",domain:a.url,netaddr:"",routerId:""}),p=(d,l)=>{c.sign=d,c.token=l},f=(d,l)=>{c.netaddr=d,c.routerId=l};return(d,l)=>(i(),M(et,{type:1},{default:V(()=>[t("div",Z8,[o.value=="ddnsto-install"?(i(),M(V8,{key:0,onSetup:n})):o.value=="ddnsto-login"?(i(),M(g8,{key:1,onSetup:n,onDdnstoConfig:p})):o.value=="ddnsto-run"?(i(),M(H8,{key:2,onSetup:n,token:w(c).token,onDdnstoLocalConfig:f},null,8,["token"])):o.value=="ddnsto-bind"?(i(),M(F8,{key:3,onSetup:n,config:{token:w(c).token,sign:w(c).sign,domain:w(c).domain,netaddr:w(c).netaddr,routerId:w(c).routerId},domain:w(c).domain,"onUpdate:domain":l[0]||(l[0]=u=>w(c).domain=u)},null,8,["config","domain"])):o.value=="ddnsto-save"?(i(),M(T8,{key:4,onSetup:n,target:w(c).domain},null,8,["target"])):E("",!0)])]),_:1}))}});var X8=Y(J8,[["__scopeId","data-v-7a6bd385"]]);const K8=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(X8,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},Q8={class:"action"},tp={class:"action-header"},ep=["innerHTML"],ap={class:"action-footer"},op=P({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String,default:"\u786E\u5B9A"},clearTitle:{type:String,default:"\u8FD4\u56DE"},continuerTitle:{type:String,default:"\u7EE7\u7EED\u4FDD\u5B58"},title:{type:String,default:"\u63D0\u793A"},content:{type:String}},setup(e){const a=e,o=()=>{a.next&&a.next(),a.Close&&a.Close()},n=()=>{a.clear&&a.clear(),a.Close&&a.Close()},s=()=>{a.continuer&&a.continuer(),a.Close&&a.Close()};return(c,p)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[t("div",Q8,[t("div",tp,h(e.title),1),t("div",{class:"action-body",innerHTML:e.content},null,8,ep),t("div",ap,[e.clear?(i(),r("div",{key:0,class:"clear",onClick:n},h(e.clearTitle),1)):E("",!0),t("div",{class:"next",onClick:o},h(e.nextTitle),1),e.continuer?(i(),r("div",{key:1,class:"next",onClick:s},h(e.continuerTitle),1)):E("",!0)])])]),_:1},8,["Close"]))}});var np=Y(op,[["__scopeId","data-v-4358e88c"]]);const de=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(np,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},rt=e=>(N("data-v-9435cfa6"),e=e(),q(),e),ip={class:"actioner-container"},rp=["onSubmit"],sp=rt(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),dp={key:0,class:"title_info"},up=rt(()=>t("p",null," \u963F\u91CC\u4E91 ",-1)),lp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),cp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),pp=[up,lp,cp],fp={key:1,class:"title_info"},mp=rt(()=>t("p",null," dnspod ",-1)),bp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),vp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),gp=[mp,bp,vp],_p={key:2,class:"title_info"},hp=rt(()=>t("p",null," \u82B1\u751F\u58F3 ",-1)),xp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),kp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),wp=[hp,xp,kp],yp={class:"label-item"},Fp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u5730\u5740\u7248\u672C\uFF1A")],-1)),Ep={class:"label-item_value"},Cp=rt(()=>t("option",{value:"ipv4"},"IPv4\u5730\u5740",-1)),$p=rt(()=>t("option",{value:"ipv6"},"IPv6\u5730\u5740",-1)),Dp=[Cp,$p],Bp=rt(()=>t("div",{class:"label_tips"},[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"})])])]),t("span",{class:"info"},"\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")],-1)),Yp={class:"label-item"},Ap=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u57DF\u540D\uFF1A")],-1)),Sp={class:"label-item_value"},zp={class:"label-item"},Pp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D\uFF1A")],-1)),Tp={class:"label-item_value"},Ip={class:"label-item"},Lp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801\uFF1A")],-1)),Mp={class:"label-item_value"},Op={class:"actioner-container_footer"},Np=["disabled"],qp=P({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(e,{emit:a}){const o=e,n=y("ipv4"),s=y(o.name),c=y(""),p=y(""),f=y(""),d=y(!1),l=()=>{o.onSetup("index")},u=()=>{d.value=!0;const v=F.Loading("\u68C0\u6D4B\u4E2D...");S.Network.CheckPublickNet.POST({ipVersion:n.value}).then(g=>{var k,x;if(g!=null&&g.data){if((k=g==null?void 0:g.data)!=null&&k.error){F.Warning(g==null?void 0:g.data.error);return}if((((x=g==null?void 0:g.data)==null?void 0:x.success)||0)==0){const C=g.data.result;C&&C.address?_():m();return}}throw"\u672A\u77E5\u9519\u8BEF"}).catch(g=>{F.Error(g)}).finally(()=>{v.Close(),d.value=!1})},m=()=>{de({title:"\u6E29\u99A8\u63D0\u793A",nextTitle:"\u4F7F\u7528DDNSTO",continuerTitle:"\u7EE7\u7EED\u4FDD\u5B58",content:"\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(){b()},continuer(){_()},clear(){}})},b=()=>{o.onSetup("ddnsto")},_=()=>{d.value=!0;const v=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.PostDdns.POST({ipVersion:n.value,serviceName:s.value,domain:c.value,userName:p.value,password:f.value}).then(g=>{if(g!=null&&g.data){const{error:k,scope:x,success:C}=g.data;if(k=="-100"&&x=="guide.ddns"){de({title:"\u6E29\u99A8\u63D0\u793A",content:"\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(k){F.Warning(k);return}if((C||0)==0){a("update:target",c.value),o.onSetup("ddns-success");return}}throw"\u672A\u77E5\u9519\u8BEF"}).catch(g=>{F.Error(g)}).finally(()=>{v.Close(),d.value=!1})};return(v,g)=>(i(),r("div",ip,[t("form",{class:"actioner-dns",onSubmit:nt(u,["prevent"])},[sp,t("div",{class:ot(["actioner-container_body",e.name])},[e.name=="ali"?(i(),r("div",dp,pp)):e.name=="dnspod"?(i(),r("div",fp,gp)):e.name=="oray"?(i(),r("div",_p,wp)):E("",!0),t("div",yp,[Fp,t("div",Ep,[z(t("select",{name:"",id:"","onUpdate:modelValue":g[0]||(g[0]=k=>n.value=k)},Dp,512),[[K,n.value]])]),Bp]),t("div",Yp,[Ap,t("div",Sp,[z(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":g[1]||(g[1]=k=>c.value=k),required:""},null,512),[[W,c.value,void 0,{trim:!0}]])])]),t("div",zp,[Pp,t("div",Tp,[z(t("input",{type:"text","onUpdate:modelValue":g[2]||(g[2]=k=>p.value=k),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",required:""},null,512),[[W,p.value,void 0,{trim:!0}]])])]),t("div",Ip,[Lp,t("div",Mp,[z(t("input",{type:"password","onUpdate:modelValue":g[3]||(g[3]=k=>f.value=k),placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",required:""},null,512),[[W,f.value,void 0,{trim:!0}]])])])],2),t("div",Op,[t("div",{class:"close",onClick:l,type:"button"},"\u8FD4\u56DE"),t("button",{class:"next save",type:"submit",disabled:d.value},"\u4FDD\u5B58",8,Np)])],40,rp)]))}});var ye=Y(qp,[["__scopeId","data-v-9435cfa6"]]);const Vp={class:"action-main"},jp=P({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(e){const a=e,o=y(""),n=y("index"),s=d=>{if(d!=null){if(d=="ddnsto"){c();return}n.value=d}else p()},c=()=>{p(),K8({url:a.url})},p=()=>{a.Close&&a.Close()},f=y("ddnsto");return(d,l)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[t("div",Vp,[n.value=="index"?(i(),M(e8,{key:0,onSetup:s,active:f.value,"onUpdate:active":l[0]||(l[0]=u=>f.value=u)},null,8,["active"])):n.value=="ddns-ali"?(i(),M(ye,{key:1,onSetup:s,target:o.value,"onUpdate:target":l[1]||(l[1]=u=>o.value=u),name:"ali"},null,8,["target"])):n.value=="ddns-dnspod"?(i(),M(ye,{key:2,onSetup:s,target:o.value,"onUpdate:target":l[2]||(l[2]=u=>o.value=u),name:"dnspod"},null,8,["target"])):n.value=="ddns-oray"?(i(),M(ye,{key:3,onSetup:s,target:o.value,"onUpdate:target":l[3]||(l[3]=u=>o.value=u),name:"oray"},null,8,["target"])):n.value=="ddns-success"?(i(),M(p8,{key:4,onSetup:s,target:o.value},null,8,["target"])):E("",!0)])]),_:1},8,["Close"]))}});var Rp=Y(jp,[["__scopeId","data-v-6f1d92d9"]]);const Gp=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Rp,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},Nt=e=>(N("data-v-31624c78"),e=e(),q(),e),Up={class:"app-container"},Wp=Nt(()=>t("span",null,[t("span",null,"\u8FDC\u7A0B\u57DF\u540D")],-1)),Hp={class:"app-container_domain"},Zp={class:"domain-item"},Jp=Nt(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO\uFF1A")],-1)),Xp={class:"domain-item_value"},Kp=["href","title"],Qp=Nt(()=>t("a",{class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},"\u63A7\u5236\u53F0",-1)),t7={class:"domain-item"},e7=Nt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4\uFF1A")],-1)),a7={class:"domain-item_value"},o7={key:0},n7=["href"],i7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},r7=Nt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),s7=[r7],d7={class:"domain-item"},u7=Nt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6\uFF1A")],-1)),l7={class:"domain-item_value"},c7={key:0},p7=["href"],f7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},m7=Nt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),b7=[m7],v7=P({setup(e){let a=!1,o;const n=y({}),s=function(){!a||S.Guide.GetDdns.GET().then(d=>{var l;d!=null&&d.data&&(((l=d==null?void 0:d.data)==null?void 0:l.success)||0)==0&&d.data.result&&(n.value=d.data.result)}).then(()=>{!a||(o=window.setTimeout(s,3e3))})};Ft(()=>{a=!0,o=window.setTimeout(s,1100)}),Vt(()=>{o!==void 0&&window.clearTimeout(o),a=!1});const c=()=>{Gp({url:n.value.ddnstoDomain})},p=G(()=>{const d=n.value.ipv4Domain;return d!=null&&d!=""&&d!="Stopped"?`http://${d}`:d}),f=G(()=>{const d=n.value.ipv6Domain;return d!=null&&d!=""&&d!="Stopped"?`http://${d}`:d});return(d,l)=>{var u,m,b;return i(),r("div",Up,[t("div",{class:"app-container_title"},[Wp,t("div",{class:"app-container_tool"},[t("div",{class:"app-container_configure",onClick:c},"\u5FEB\u901F\u914D\u7F6E")])]),t("ul",Hp,[t("li",Zp,[Jp,t("div",Xp,[t("a",{class:"configure",href:(u=n.value)==null?void 0:u.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(m=n.value)==null?void 0:m.ddnstoDomain},h((b=n.value)==null?void 0:b.ddnstoDomain),9,Kp),Qp])]),t("li",t7,[e7,t("div",a7,[w(p)=="Stopped"?(i(),r("span",o7,h(w(p)),1)):(i(),r("a",{key:1,class:"configure",href:w(p),target:"_blank",rel:"noopener noreferrer"},h(w(p)),9,n7)),w(p)?(i(),r("a",i7,s7)):E("",!0)])]),t("li",d7,[u7,t("div",l7,[w(f)=="Stopped"?(i(),r("span",c7,h(w(f)),1)):(i(),r("a",{key:1,class:"configure",href:w(f),target:"_blank",rel:"noopener noreferrer"},h(w(f)),9,p7)),w(f)?(i(),r("a",f7,b7)):E("",!0)])])])])}}});var g7=Y(v7,[["__scopeId","data-v-31624c78"]]);const _7={class:"nas-container"},h7={class:"nas-container_card"},x7={class:"nas-container_card"},k7={key:0,class:"nas-container_card"},w7={class:"nas-container_card"},y7={class:"nas-container_card"},F7=P({setup(e){return(a,o)=>(i(),r("div",_7,[t("div",h7,[B(Hl)]),t("div",x7,[B(T2)]),w(Kt)("dockerd")?(i(),r("div",k7,[B(n5)])):E("",!0),t("div",w7,[B(M4)]),t("div",y7,[B(g7)])]))}});var E7=Y(F7,[["__scopeId","data-v-66cc4e33"]]);const kt=e=>(N("data-v-20dfc9cc"),e=e(),q(),e),C7={class:"app-container"},$7={class:"app-container_title"},D7=kt(()=>t("span",null,"\u7CFB\u7EDF\u4FE1\u606F",-1)),B7={class:"more_icon",title:"\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F"},Y7={class:"DeviceBlock"},A7=kt(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/flash"},"\u5907\u4EFD\u5347\u7EA7")],-1)),S7=kt(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/store/pages/maintance"},"\u63D2\u4EF6\u5907\u4EFD")],-1)),z7={class:"item-label"},P7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u6E29\u5EA6")],-1)),T7={class:"item-label_value"},I7={class:"item-label"},L7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u4F7F\u7528\u7387")],-1)),M7={class:"item-label_value"},O7={class:"item-label"},N7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u5B58\u4F7F\u7528\u7387")],-1)),q7={class:"item-label_value"},V7={class:"item-label"},j7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u56FA\u4EF6\u7248\u672C")],-1)),R7={class:"item-label_value"},G7={class:"item-label"},U7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u6838\u7248\u672C")],-1)),W7={class:"item-label_value"},H7={class:"item-label"},Z7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5DF2\u542F\u52A8")],-1)),J7={class:"item-label_value"},X7={class:"item-label"},K7=kt(()=>t("div",{class:"item-label_key"},[t("span",null,"\u7CFB\u7EDF\u65F6\u95F4")],-1)),Q7={class:"item-label_value"},tf=P({setup(e){const a=Ce(),o=G(()=>a.version),n=G(()=>a.systemStatus),s=y(!1),c=G(()=>{var m;return((m=n.value)==null?void 0:m.cpuUsage)||0}),p=G(()=>{var m;return((m=n.value)==null?void 0:m.cpuTemperature)||0}),f=G(()=>{var b;const m=((b=n.value)==null?void 0:b.memAvailablePercentage)||100;return 100-m}),d=yt.stampForm;Ft(()=>{});const l=()=>{s.value=!s.value},u=()=>{l(),ct.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(m,b)=>{var v,g,k,x;const _=Q("progress-item");return i(),r("div",C7,[t("div",$7,[D7,t("span",B7,[B($t,{onClick:l})]),z(t("div",Y7,[t("div",{class:"menu_background",onClick:l}),t("ul",null,[t("li",null,[t("a",{onClick:u},"\u7CFB\u7EDF\u76D1\u63A7")]),A7,S7])],512),[[wt,s.value]])]),t("div",z7,[P7,t("div",T7,[B(_,{value:w(p)/1.5,text:`${w(p)}\u2103`},null,8,["value","text"])])]),t("div",I7,[L7,t("div",M7,[B(_,{value:w(c),text:`${w(c)}%`},null,8,["value","text"])])]),t("div",O7,[N7,t("div",q7,[B(_,{value:w(f),text:`${w(f)}%`},null,8,["value","text"])])]),t("div",V7,[j7,t("div",R7,[t("span",null,h((v=w(o))==null?void 0:v.firmwareVersion),1)])]),t("div",G7,[U7,t("div",W7,[t("span",null,h((g=w(o))==null?void 0:g.kernelVersion),1)])]),t("div",H7,[Z7,t("div",J7,[t("span",null,h(w(d)((k=w(n))==null?void 0:k.uptime)),1)])]),t("div",X7,[K7,t("div",Q7,[t("span",null,h((x=w(n))==null?void 0:x.localtime),1)])])])}}});var ef=Y(tf,[["__scopeId","data-v-20dfc9cc"]]);const af=e=>ee.isValid(e),Ct=e=>{const a=ee.IPv4.parse(e).toByteArray();return a[0]<<24|a[1]<<16|a[2]<<8|a[3]},He=e=>ee.fromByteArray([e>>24&255,e>>16&255,e>>8&255,e&255]).toString(),of=e=>{if(!ee.IPv4.isIPv4(e))return!1;let a=0,o=Ct(e);for(let n=31;n>=0&&(o&1<{let s=Ct(e)&Ct(a),c=Ct(o),p=Ct(n),d=~Ct(a);return cs+1&&p{let o=Ct(a),n=Ct(e)&o,s=~o,c;return s>=105?(c=n|s-5,n=n|100):s>=3?(c=n|s-1,n=n|2):(n=n|1,c=n),[He(n),He(c)]},sf=e=>ee.IPv4.subnetMaskFromPrefixLength(e).toString();var ht={isValidMask:of,isValidIP:af,isValidMaskRange:nf,calcMaskRange:rf,prefixToMask:sf};const mt=e=>(N("data-v-a0faa6f2"),e=e(),q(),e),df=["onSubmit"],uf=mt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u5185\u7F51\u914D\u7F6E")],-1)),lf={class:"actioner-dns_body"},cf={class:"label-item"},pf=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5730\u5740")],-1)),ff={class:"label-item_value"},mf={class:"label-item"},bf=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5B50\u7F51\u63A9\u7801")],-1)),vf={class:"label-item_value"},gf={key:0,class:"chose_dhcp"},_f={key:0,class:"dhcp_info"},hf={key:1,class:"dhcp_info"},xf={class:"label-item"},kf=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u8D77\u59CB\u5730\u5740")],-1)),wf={class:"label-item_value"},yf={class:"label-item"},Ff=mt(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u7ED3\u675F\u5730\u5740")],-1)),Ef={class:"label-item_value"},Cf={class:"actioner-dns_footer"},$f=["disabled"],Df={key:1,class:"actioner-dns"},Bf=mt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u66F4\u6362\u914D\u7F6E")],-1)),Yf={class:"actioner-dns_body"},Af={key:0,class:"setting_status"},Sf=mt(()=>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)),zf=mt(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u6210\u529F",-1)),Pf=["href"],Tf={key:1,class:"setting_status"},If=mt(()=>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)),Lf=mt(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u5931\u8D25",-1)),Mf=mt(()=>t("p",null,"\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E",-1)),Of={key:2,class:"setting_status"},Nf=mt(()=>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)),qf=mt(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u8D85\u65F6",-1)),Vf=mt(()=>t("p",null,"\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)),jf=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});y("");const s=y(!1);y(!0),y(!1);const c=y(""),p=y(2),f=y(!1),d=y("timeout");let l=!0;(()=>{S.Guide.GetLan.GET().then(g=>{g.data.result&&(f.value=g.data.result.enableDhcp||!1,g.data.result.enableDhcp=!1,n.value=g.data.result,g.data.result.lanIp!==location.hostname&&(l=!1))})})();const m=()=>{const g=n.value;if(!ht.isValidIP(g.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!ht.isValidMask(g.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}const k=ht.calcMaskRange(g.lanIp,g.netMask);g.dhcpStart=k[0],g.dhcpEnd=k[1],n.value=g},b=()=>{const g=n.value;if(!ht.isValidIP(g.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!ht.isValidMask(g.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}if(g.enableDhcp&&!ht.isValidIP(g.dhcpStart)||!ht.isValidIP(g.dhcpEnd)||!ht.isValidMaskRange(g.lanIp,g.netMask,g.dhcpStart,g.dhcpEnd)){F.Warning("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4");return}const k=F.Loading("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49",30);let x=0;const C=D=>{d.value=D,o.value=1,x=1,k.Close()},A=()=>{const D=new Date().getTime()+3e4,$=l?location.protocol+"//"+g.lanIp+(location.port?":"+location.port:""):location.origin,O=$+"/luci-static/resources/icons/loading.gif",H=()=>{x==0&&(new Date().getTime()>D?C("timeout"):window.setTimeout(Z,2e3))},j=()=>{x==0&&(c.value=$+location.pathname,C("success"),window.setTimeout(()=>{p.value=1},1e3),window.setTimeout(()=>{location.href=c.value},2e3))},Z=()=>{if(x!=0)return;console.log("check online ",O);const _t=new Image;_t.onload=j,_t.onerror=H,_t.src=O};window.setTimeout(Z,5e3)};S.Guide.LanIp.POST(g).then(D=>{var $;if(D!=null&&D.data){if((D.data.success||0)==0)return;if(($=D.data)!=null&&$.error)throw D.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(D=>{x==0&&(C("fail"),F.Error(D))}),A(),window.setTimeout(()=>{x==0&&C("timeout")},3e4)},_=g=>{g.preventDefault(),a.Close&&a.Close()},v=g=>{location.reload()};return(g,k)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(b,["prevent"])},[uf,t("div",lf,[t("div",cf,[pf,t("div",ff,[z(t("input",{type:"text",placeholder:"192.168.100.1","onUpdate:modelValue":k[0]||(k[0]=x=>n.value.lanIp=x),onChange:m},null,544),[[W,n.value.lanIp,void 0,{trim:!0}]])])]),t("div",mf,[bf,t("div",vf,[z(t("input",{type:"text",placeholder:"255.255.255.0","onUpdate:modelValue":k[1]||(k[1]=x=>n.value.netMask=x),onChange:m},null,544),[[W,n.value.netMask,void 0,{trim:!0}]])])]),f.value?(i(),r("div",gf,[B(ea,{modelValue:n.value.enableDhcp,"onUpdate:modelValue":k[2]||(k[2]=x=>n.value.enableDhcp=x)},{default:V(()=>[n.value.enableDhcp?(i(),r("span",_f,"\u4FEE\u6539DHCP\u670D\u52A1")):(i(),r("span",hf,"\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E"))]),_:1},8,["modelValue"])])):E("",!0),n.value.enableDhcp?(i(),r(L,{key:1},[t("div",xf,[kf,t("div",wf,[z(t("input",{type:"text",placeholder:"192.168.100.100","onUpdate:modelValue":k[3]||(k[3]=x=>n.value.dhcpStart=x)},null,512),[[W,n.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",yf,[Ff,t("div",Ef,[z(t("input",{type:"text",placeholder:"192.168.100.100","onUpdate:modelValue":k[4]||(k[4]=x=>n.value.dhcpEnd=x)},null,512),[[W,n.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):E("",!0)]),t("div",Cf,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:s.value},"\u786E\u8BA4",8,$f),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u53D6\u6D88")])],40,df)):o.value==1?(i(),r("div",Df,[Bf,t("div",Yf,[d.value=="success"?(i(),r("div",Af,[Sf,zf,t("a",{href:c.value,class:"NewAdress"},h(p.value)+"s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",9,Pf)])):d.value=="fail"?(i(),r("div",Tf,[If,Lf,Mf,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},"\u6211\u77E5\u9053\u4E86")])):d.value=="timeout"?(i(),r("div",Of,[Nf,qf,Vf,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},"\u5237\u65B0\u9875\u9762")])):E("",!0)])])):E("",!0)]),_:1},8,["Close"]))}});var Rf=Y(jf,[["__scopeId","data-v-a0faa6f2"]]);const Gf=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Rf,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},bt=e=>(N("data-v-0384f3ac"),e=e(),q(),e),Uf={key:0,class:"actioner-dns"},Wf=bt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),Hf={class:"actioner-dns_body"},Zf=bt(()=>t("p",{class:"sandbox_info"},"\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\u62A4Docker\u548C\u786C\u76D8\u7684\u6570\u636E",-1)),Jf={key:0,class:"disk_loading_icon"},Xf=bt(()=>t("span",{class:"disk_loading_info"},"\u6B63\u5728\u52A0\u8F7D\u4E2D...",-1)),Kf={key:1,class:"disk_tips"},Qf=bt(()=>t("span",null,"\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)),tm={class:"label-item"},em=bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")],-1)),am={class:"label-item_value"},om=bt(()=>t("option",{value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8",-1)),nm=["value"],im={class:"label-item"},rm=bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\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)),sm={class:"label-item_value"},dm=bt(()=>t("option",{selected:"true",value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A",-1)),um=["value","disabled"],lm={class:"sandbox_tips"},cm=bt(()=>t("span",null,"\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E",-1)),pm={class:"sandbox_info timeout"},fm=U("\u5373\u5C06\u91CD\u542F\u8BBE\u5907 "),mm=bt(()=>t("p",{class:"sandbox_roboot_tips"},[U("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E"),t("span",{class:"sandbox_roboot_refresh"},"\u8BF7\u5237\u65B0\u754C\u9762")],-1)),bm={key:0,class:"actioner-dns_footer"},vm=["disabled"],gm={key:1,class:"actioner-tips"},_m=bt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u6E29\u99A8\u63D0\u793A")],-1)),hm=bt(()=>t("div",{class:"actioner-tips_body"},[t("p",{class:"sandbox_info"},"\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)),xm={key:2,class:"actioner-tips"},km=bt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u9519\u8BEF")],-1)),wm={class:"actioner-tips_body"},ym={class:"sandbox_info"},Fm=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0);y("disk");const n=y(""),s=y(3),c=y(""),p=y([]),f=y(""),d=y(null);(()=>{S.Nas.SandboxDisks.GET().then(x=>{var C;if(x!=null&&x.data&&(C=x.data)!=null&&C.result){d.value=x.data.result;return}throw"\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25"}).catch(x=>{n.value=x,o.value=3})})();const u=()=>S.System.Reboot.POST({name:c.value,path:f.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"\u672A\u77E5\u9519\u8BEF"}),m=x=>{var C,A;f.value="",p.value=c.value&&((A=(C=d.value)==null?void 0:C.disks.find(D=>D.path==c.value))==null?void 0:A.childrens)||[]},b=()=>{s.value>0&&(s.value-=1,window.setTimeout(b,1e3))},_=x=>{x.preventDefault(),a.Close&&a.Close()},v=()=>{new Promise((x,C)=>{const A="/luci-static/resources/icons/loading.gif",D=()=>{window.setTimeout($,2e3)},$=()=>{const O=new Image;O.onload=x,O.onerror=D,O.src=A};window.setTimeout($,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},g=x=>{const C=F.Loading("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D...");S.Nas.Sandbox.POST({path:f.value}).then(A=>{var D;if(A!=null&&A.data){if((A.data.success||0)==0)return o.value=2,window.setTimeout(b,1e3),u();if((D=A.data)!=null&&D.error)throw A.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).then(v).catch(A=>F.Warning(A)).finally(()=>C.Close())},k=()=>{o.value=0};return(x,C)=>{const A=Q("icon-loading");return i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0||o.value==2?(i(),r("div",Uf,[Wf,t("div",Hf,[Zf,o.value==0?(i(),r(L,{key:0},[d.value?E("",!0):(i(),r("div",Jf,[B(A,{size:38,color:"currentColor"}),Xf])),d.value&&d.value.disks.length==0?(i(),r("div",Kf,[B(gt),Qf])):E("",!0),d.value&&d.value.disks.length>0?(i(),r(L,{key:2},[t("div",tm,[em,t("div",am,[z(t("select",{name:"",id:"",onChange:m,"onUpdate:modelValue":C[0]||(C[0]=D=>c.value=D)},[om,(i(!0),r(L,null,R(d.value.disks,(D,$)=>(i(),r("option",{value:D.path,key:$},h(D.venderModel)+"\uFF08"+h(D.size)+"\uFF09 ",9,nm))),128))],544),[[K,c.value]])])]),t("div",im,[rm,t("div",sm,[z(t("select",{name:"",id:"","onUpdate:modelValue":C[1]||(C[1]=D=>f.value=D)},[dm,(i(!0),r(L,null,R(p.value,(D,$)=>(i(),r("option",{value:D.path,key:$,disabled:D.sizeInt<(1<<30)*1||D.isSystemRoot},h(D.name)+"\uFF08"+h(D.filesystem||"\u672A\u683C\u5F0F\u5316")+"\uFF09"+h(D.total),9,um))),128))],512),[[K,f.value]])])]),t("div",lm,[B(gt),cm])],64)):E("",!0)],64)):E("",!0),o.value==2?(i(),r(L,{key:1},[t("p",pm,[fm,t("span",null,"\uFF08"+h(s.value)+"s\uFF09",1)]),mm],64)):E("",!0)]),o.value==0?(i(),r("div",bm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!f.value,onClick:C[2]||(C[2]=D=>o.value=1)},"\u5F00\u542F\u6C99\u7BB1",8,vm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u53D6\u6D88")])):E("",!0)])):E("",!0),o.value==1?(i(),r("div",gm,[_m,hm,t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:g},"\u7EE7\u7EED"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u53D6\u6D88")])])):E("",!0),o.value==3?(i(),r("div",xm,[km,t("div",wm,[t("p",ym,h(n.value),1)]),t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"])}}});var Em=Y(Fm,[["__scopeId","data-v-0384f3ac"]]);const Cm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Em,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},ba=e=>(N("data-v-4db2efb4"),e=e(),q(),e),$m={key:0,class:"actioner-dns"},Dm=ba(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),Bm=ba(()=>t("div",{class:"actioner-dns_body"},[t("p",{class:"sandbox_info"},"\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"),t("div",{class:"sandbox_environment"},[t("p",null,"\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A"),t("p",null,"1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883"),t("p",null,"2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001"),t("p",null,"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")]),t("div",{class:"sandbox_environment_info"},[U("\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"),t("span",{class:"sandbox_environment_reboot"},"\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740"),t("p",{class:"sandbox_environment_tex"},[U(" \u5982\u9700"),t("b",null,"\u4E34\u65F6"),U("\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"),t("br"),U(" \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 ")])])],-1)),Ym={class:"actioner-dns_footer"},Am=["disabled"],Sm=["disabled"],zm=["disabled"],Pm=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y(!1),s=()=>{new Promise((l,u)=>{const m="/luci-static/resources/icons/loading.gif",b=()=>{window.setTimeout(_,2e3)},_=()=>{const v=new Image;v.onload=l,v.onerror=b,v.src=m};window.setTimeout(_,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},c=()=>{n.value=!0;const l=F.Loading("\u63D0\u4EA4\u4E2D...");S.Nas.SandboxCommit.POST().then(u=>{var m,b;if(u!=null&&u.data)if((((m=u==null?void 0:u.data)==null?void 0:m.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D...");return}else(b=u==null?void 0:u.data)!=null&&b.error&&alert(u.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(u=>{F.Error(u),n.value=!1}).finally(()=>l.Close())},p=()=>{n.value=!0;const l=F.Loading("\u91CD\u7F6E\u4E2D...");S.Nas.SandboxReset.POST().then(u=>{var m,b;if(u!=null&&u.data)if((((m=u==null?void 0:u.data)==null?void 0:m.success)||0)==0){F.Loading("\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(b=u==null?void 0:u.data)!=null&&b.error&&alert(u.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(u=>{F.Error(u),n.value=!1}).finally(()=>l.Close())},f=()=>{if(!confirm("\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;n.value=!0;const l=F.Loading("\u6267\u884C\u4E2D...");S.Nas.SandboxExit.POST().then(u=>{var m,b;if(u!=null&&u.data)if((((m=u==null?void 0:u.data)==null?void 0:m.success)||0)==0){F.Loading("\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(b=u==null?void 0:u.data)!=null&&b.error&&alert(u.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(u=>{F.Error(u),n.value=!1}).finally(()=>l.Close())},d=l=>{l.preventDefault(),a.Close&&a.Close()};return(l,u)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("div",$m,[Dm,Bm,t("div",Ym,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:c,disabled:n.value},"\u63D0\u4EA4",8,Am),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:n.value},"\u91CD\u7F6E",8,Sm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:f,disabled:n.value},"\u9000\u51FA",8,zm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"]))}});var Tm=Y(Pm,[["__scopeId","data-v-4db2efb4"]]);const Im=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Tm,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},Lm={class:"nav-container"},Mm=["onClick"],Om={key:0,class:"btn_styles color3 app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},Nm=U(" \u56FA\u4EF6\u66F4\u65B0 "),qm={key:0,style:{display:"inline-block"}},Vm={key:1},jm=["disabled"],Rm=U(" DNS\u914D\u7F6E "),Gm={key:0,style:{display:"inline-block"}},Um=P({setup(e){const a=Ce(),o=le(),n=G(()=>o.status);y(!1),y(!0);const s=y(),c=()=>{oa()},p=()=>{Cm()},f=()=>{Im()},d=()=>{alert("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F")},l=()=>{Gf()},u=()=>{ra()},m=()=>{window.open(`http://${window.location.hostname}:7681/`,"_blank")};return Kt("sandbox")&&S.Nas.GetSandbox.GET().then(_=>{var v,g,k;_!=null&&_.data&&((((v=_==null?void 0:_.data)==null?void 0:v.success)||0)==0?(g=_==null?void 0:_.data)!=null&&g.result&&(s.value=_.data.result):(k=_==null?void 0:_.data)!=null&&k.error&&alert(_.data.error))}).catch(_=>F.Warning(_)),(b,_)=>{var k,x,C,A,D,$;const v=Q("router-link"),g=Q("icon-loading");return i(),r("div",Lm,[B(v,{to:"/network",custom:""},{default:V(({navigate:O})=>[t("button",{class:"btn_styles color1",onClick:O},"\u7F51\u7EDC\u5411\u5BFC",8,Mm)]),_:1}),t("button",{class:"btn_styles color2 app-btn-ttyd",onClick:m},"\u7EC8\u7AEF"),w(Kt)("ota")?(i(),r("button",Om,[Nm,w(a).checkUpdate==null?(i(),r("span",qm,[B(g,{size:"0.8em",color:"currentColor"})])):(k=w(a).checkUpdate)!=null&&k.needUpdate?(i(),r("i",Vm)):E("",!0)])):E("",!0),t("button",{class:"btn_styles color4",onClick:l},"\u5185\u7F51\u914D\u7F6E"),t("button",{class:"btn_styles color5",onClick:c,disabled:!((x=w(n))!=null&&x.proto)},[Rm,(C=w(n))!=null&&C.proto?E("",!0):(i(),r("span",Gm,[B(g,{size:"0.8em",color:"currentColor"})]))],8,jm),t("button",{class:"btn_styles color1",onClick:u},"\u8F6F\u4EF6\u6E90\u914D\u7F6E"),w(Kt)("sandbox")?(i(),r(L,{key:1},[((A=s.value)==null?void 0:A.status)=="unsupport"?(i(),r("button",{key:0,class:"btn_styles color2",onClick:d},"\u5F00\u542F\u6C99\u7BB1")):((D=s.value)==null?void 0:D.status)=="stopped"?(i(),r("button",{key:1,class:"btn_styles color3",onClick:p},"\u5F00\u542F\u6C99\u7BB1")):(($=s.value)==null?void 0:$.status)=="running"?(i(),r("button",{key:2,class:"btn_styles color4",onClick:f},"\u6C99\u7BB1\u5DF2\u5F00\u542F")):E("",!0)],64)):E("",!0)])}}});var Wm=Y(Um,[["__scopeId","data-v-82a27618"]]);const _e=e=>(N("data-v-0a2eed64"),e=e(),q(),e),Hm={id:"page"},Zm=_e(()=>t("em",null,null,-1)),Jm=_e(()=>t("em",null,null,-1)),Xm=_e(()=>t("em",null,null,-1)),Km=_e(()=>t("em",null,null,-1)),Qm=P({setup(e){return Qa(),(a,o)=>(i(),r("div",Hm,[Zm,B(Zd),Jm,B(Wm),B(E7),Xm,B(ef),Km]))}});var t9=Y(Qm,[["__scopeId","data-v-0a2eed64"]]);const e9={};function a9(e,a){const o=Q("router-view");return i(),M(o)}var o9=Y(e9,[["render",a9]]);const n9={},i9={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"},r9=Mt('icon_router',3),s9=[r9];function d9(e,a){return i(),r("svg",i9,s9)}var u9=Y(n9,[["render",d9]]);const l9={},c9={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"},p9=Mt('icon_dial',3),f9=[p9];function m9(e,a){return i(),r("svg",c9,f9)}var b9=Y(l9,[["render",m9]]);const v9={},g9={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"},_9=Mt('icon_side router',3),h9=[_9];function x9(e,a){return i(),r("svg",g9,h9)}var k9=Y(v9,[["render",x9]]);const Wt=e=>(N("data-v-082ffcaf"),e=e(),q(),e),w9={id:"page"},y9=Wt(()=>t("div",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC",-1)),F9=Wt(()=>t("div",{class:"desc"},"\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB",-1)),E9={class:"network-containers"},C9={class:"network-container_item"},$9={class:"cover"},D9={class:"thumbnail"},B9=Wt(()=>t("span",null,"\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5",-1)),Y9={class:"network-container_item"},A9={class:"cover"},S9={class:"thumbnail"},z9=Wt(()=>t("span",null,"\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668",-1)),P9={class:"network-container_item"},T9={class:"cover"},I9={class:"thumbnail"},L9=Wt(()=>t("span",null,"\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531",-1)),M9=Wt(()=>t("div",{class:"info"},[U(" \u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528 "),t("a",{href:"/cgi-bin/luci/admin/network/network"},"\u9AD8\u7EA7\u6A21\u5F0F")],-1)),O9=P({setup(e){return(a,o)=>{const n=Q("router-link");return i(),r("div",w9,[y9,F9,t("div",E9,[t("div",C9,[B(n,{to:"/network/pppoe"},{default:V(()=>[t("div",$9,[t("div",D9,[B(b9),B9])])]),_:1})]),t("div",Y9,[B(n,{to:"/network/dhcp"},{default:V(()=>[t("div",A9,[t("div",S9,[B(u9),z9])])]),_:1})]),t("div",P9,[B(n,{to:"/network/gateway"},{default:V(()=>[t("div",T9,[t("div",I9,[B(k9),L9])])]),_:1})])]),M9])}}});var N9=Y(O9,[["__scopeId","data-v-082ffcaf"]]);const St=e=>(N("data-v-16746f19"),e=e(),q(),e),q9={key:0,id:"page"},V9=St(()=>t("h2",{class:"title"},"\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7",-1)),j9=St(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B",-1)),R9={class:"network-message"},G9={key:0},U9=U(" \u56E0\u4E3A\u60A8\u7684\u8BBE\u5907"),W9=St(()=>t("span",null,"\u6CA1\u6709 WAN \u53E3",-1)),H9=U("\uFF0C\u65E0\u6CD5\u8D70\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B "),Z9=St(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/question.html#%E7%BD%91%E7%BB%9C",target:"_blank",rel:"noopener noreferrer"},"\u94FE\u63A5",-1)),J9=[U9,W9,H9,Z9],X9=["onSubmit"],K9=St(()=>t("div",{class:"label-key"},[t("span",null,"\u5BBD\u5E26\u8D26\u53F7")],-1)),Q9=["disabled"],tb=St(()=>t("div",{class:"label-key"},[t("span",null,"\u5BC6\u7801")],-1)),eb=["disabled"],ab={key:0,class:"chose_dhcp"},ob=St(()=>t("span",{class:"dhcp_info"},"\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09",-1)),nb={key:1,class:"msg"},ib={class:"btns"},rb=["disabled"],sb=["onClick"],db={key:1,id:"page"},ub=St(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),lb={class:"btns"},cb=["onClick"],pb=["onClick"],fb=P({setup(e){const a=y(0),o=y({}),n=y(""),s=y(!1),c=y(0),p=y(!1);(()=>T(this,null,function*(){var l,u;s.value=!0;try{const m=yield Promise.all([S.Guide.Pppoe.GET(),S.Guide.GetLan.GET()]);if(m[0].data){const{success:b,error:_,result:v}=m[0].data;v&&(v.enableLanDhcp=!1,o.value=v),b==-1011&&(s.value=!0,c.value=b)}(l=m[1].data)!=null&&l.result&&(((u=m[1].data)==null?void 0:u.result).enableDhcp||(p.value=!0,o.value.enableLanDhcp=!0))}catch(m){n.value=m}c.value==0&&(s.value=!1)}))();const d=()=>T(this,null,function*(){const l=o.value.account||"",u=o.value.password||"";if(l==""){n.value="\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A";return}if(u==""){n.value="\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A";return}s.value=!0;const m=F.Loading("\u914D\u7F6E\u4E2D...");try{const b=yield S.Guide.Pppoe.POST({account:l,password:u});if(b!=null&&b.data){const{error:_,success:v}=b.data;_&&(n.value=_),(v==null||v==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),a.value=1)}}catch(b){n.value=b}s.value=!1,m.Close()});return(l,u)=>{const m=Q("switch-box"),b=Q("router-link");return a.value==0?(i(),r("div",q9,[V9,j9,t("div",R9,[c.value==-1011?(i(),r("li",G9,J9)):E("",!0)]),t("form",{onSubmit:nt(d,["prevent"])},[t("label",null,[K9,z(t("input",{type:"text","onUpdate:modelValue":u[0]||(u[0]=_=>o.value.account=_),placeholder:"\u5BBD\u5E26\u8D26\u53F7",required:"",disabled:s.value},null,8,Q9),[[W,o.value.account,void 0,{trim:!0}]])]),t("label",null,[tb,z(t("input",{type:"password","onUpdate:modelValue":u[1]||(u[1]=_=>o.value.password=_),placeholder:"\u5BBD\u5E26\u5BC6\u7801",required:"",disabled:s.value},null,8,eb),[[W,o.value.password,void 0,{trim:!0}]])]),p.value?(i(),r("div",ab,[B(m,{modelValue:o.value.enableLanDhcp,"onUpdate:modelValue":u[2]||(u[2]=_=>o.value.enableLanDhcp=_)},{default:V(()=>[ob]),_:1},8,["modelValue"])])):E("",!0),n.value?(i(),r("div",nb,h(n.value),1)):E("",!0),t("div",ib,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},"\u4FDD\u5B58\u914D\u7F6E",8,rb),B(b,{to:"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u8FD4\u56DE",8,sb)]),_:1})])],40,X9)])):a.value==1?(i(),r("div",db,[ub,t("div",lb,[B(b,{to:"/",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:_},"\u8FDB\u5165\u63A7\u5236\u53F0",8,cb)]),_:1}),B(b,{to:"/network",custom:""},{default:V(({navigate:_})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},"\u8FD4\u56DE",8,pb)]),_:1})])])):E("",!0)}}});var mb=Y(fb,[["__scopeId","data-v-16746f19"]]);const st=e=>(N("data-v-0d3a64fa"),e=e(),q(),e),bb={key:0,id:"page"},vb=st(()=>t("h2",{class:"title"},"\u914D\u7F6E\u4E92\u8054\u7F51",-1)),gb=st(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3",-1)),_b={class:"network-message"},hb={key:0},xb=U(" \u56E0\u4E3A\u60A8\u7684\u8BBE\u5907"),kb=st(()=>t("span",null,"\u6CA1\u6709 WAN \u53E3",-1)),wb=U("\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B "),yb=st(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/question.html#%E7%BD%91%E7%BB%9C",target:"_blank",rel:"noopener noreferrer"},"\u94FE\u63A5",-1)),Fb=[xb,kb,wb,yb],Eb=["onSubmit"],Cb=st(()=>t("div",{class:"label-key"},[t("span",null,"WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),$b=st(()=>t("option",{value:"dhcp"},"\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09",-1)),Db=st(()=>t("option",{value:"static"},"\u9759\u6001IP\u5730\u5740",-1)),Bb=[$b,Db],Yb=st(()=>t("div",{class:"label-key"},[t("span",null,"IP\u5730\u5740")],-1)),Ab=["disabled"],Sb={key:0,class:"msg"},zb=st(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),Pb=["disabled"],Tb={key:1,class:"msg"},Ib=st(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),Lb=["disabled"],Mb=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),Ob=["disabled"],Nb=st(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),qb=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Vb=["onUpdate:modelValue","disabled"],jb=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Rb=["disabled"],Gb=st(()=>t("div",{class:"label-key"},"\u5907\u7528DNS\u670D\u52A1\u5668",-1)),Ub=["disabled"],Wb={key:2,class:"chose_dhcp"},Hb=st(()=>t("span",{class:"dhcp_info"},"\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09",-1)),Zb={key:3,class:"msgs"},Jb={class:"btns"},Xb=["disabled"],Kb=["onClick"],Qb={key:1,id:"page"},tv=st(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),ev={class:"btns"},av=["onClick"],ov=["onClick"],nv=P({setup(e){const a=y(0),o=y({}),n=y(""),s=y(""),c=y(""),p=y(!1),f=y(""),d=y(""),l=y(0),u=yt.checkIsIP,m=y(!1);(()=>T(this,null,function*(){var x,C;p.value=!0;try{const A=yield Promise.all([S.Guide.ClientModel.GET(),S.Guide.GetLan.GET()]);if(A[0]){const D=A[0];if(D.data){const{success:$,error:O,result:H}=D.data;H&&(H.wanProto!="dhcp"&&H.wanProto!="static"&&(H.wanProto="dhcp",H.dnsProto="auto"),H.enableLanDhcp=!1,o.value=H),$==-1011&&(l.value=$,p.value=!0)}}(x=A[1].data)!=null&&x.result&&(((C=A[1].data)==null?void 0:C.result).enableDhcp||(m.value=!0,o.value.enableLanDhcp=!0))}catch(A){n.value=A}l.value==0&&(p.value=!1)}))();const _=x=>{x.target.value=="static"?((o.value.staticIp==null||o.value.staticIp=="")&&(o.value.staticIp="192.168.1.100"),(o.value.subnetMask==null||o.value.subnetMask=="")&&(o.value.subnetMask="255.255.255.0"),o.value.dnsProto=="auto"&&setTimeout(()=>o.value.dnsProto="manual",0)):o.value.dnsProto=="manual"&&setTimeout(()=>o.value.dnsProto="auto",0)},v=x=>{const C=x.target;if(C.value==""){f.value="";return}u(C.value)?f.value="":f.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740"},g=x=>{const C=x.target;if(C.value==""){d.value="";return}u(C.value)?d.value="":d.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740"},k=()=>T(this,null,function*(){const x={};switch(o.value.wanProto){case"dhcp":break;case"static":x.staticIp=o.value.staticIp,x.subnetMask=o.value.subnetMask,x.gateway=o.value.gateway;break}switch(o.value.dnsProto){case"auto":break;case"manual":x.manualDnsIp=[],o.value.manualDnsIp!=null&&o.value.manualDnsIp.length>0?x.manualDnsIp=o.value.manualDnsIp:(x.manualDnsIp.push(s.value),c.value&&x.manualDnsIp.push(c.value));break}x.dnsProto=o.value.dnsProto,x.wanProto=o.value.wanProto,x.enableLanDhcp=o.value.enableLanDhcp;const C=F.Loading("\u914D\u7F6E\u4E2D....");p.value=!0;try{const A=yield S.Guide.ClientModel.POST(x);if(A!=null&&A.data){const{success:D,error:$}=A==null?void 0:A.data;$&&(n.value=$),(D==null||D==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),a.value=1)}}catch(A){n.value=A}p.value=!1,C.Close()});return(x,C)=>{const A=Q("switch-box"),D=Q("router-link");return a.value==0?(i(),r("div",bb,[vb,gb,t("div",_b,[l.value==-1011?(i(),r("li",hb,Fb)):E("",!0)]),t("form",{onSubmit:nt(k,["prevent"])},[t("label",null,[Cb,z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=$=>o.value.wanProto=$),onInput:_},Bb,544),[[K,o.value.wanProto]])]),o.value.wanProto=="static"?(i(),r(L,{key:0},[t("label",null,[Yb,z(t("input",{type:"text","onUpdate:modelValue":C[1]||(C[1]=$=>o.value.staticIp=$),placeholder:"\u9759\u6001IP\u5730\u5740",required:"",disabled:p.value,onInput:v},null,40,Ab),[[W,o.value.staticIp,void 0,{trim:!0}]])]),f.value?(i(),r("p",Sb,h(f.value),1)):E("",!0),t("label",null,[zb,z(t("input",{type:"text","onUpdate:modelValue":C[2]||(C[2]=$=>o.value.subnetMask=$),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:p.value,onInput:g},null,40,Pb),[[W,o.value.subnetMask,void 0,{trim:!0}]])]),d.value?(i(),r("p",Tb,h(d.value),1)):E("",!0),t("label",null,[Ib,z(t("input",{type:"text","onUpdate:modelValue":C[3]||(C[3]=$=>o.value.gateway=$),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:p.value},null,8,Lb),[[W,o.value.gateway,void 0,{trim:!0}]])])],64)):E("",!0),t("label",null,[Mb,z(t("select",{"onUpdate:modelValue":C[4]||(C[4]=$=>o.value.dnsProto=$)},[t("option",{value:"auto",disabled:o.value.wanProto=="static"},"\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09",8,Ob),Nb],512),[[K,o.value.dnsProto]])]),o.value.dnsProto=="manual"?(i(),r(L,{key:1},[o.value.manualDnsIp!=null&&o.value.manualDnsIp.length>0?(i(!0),r(L,{key:0},R(o.value.manualDnsIp,($,O)=>(i(),r("label",null,[qb,z(t("input",{type:"text","onUpdate:modelValue":H=>o.value.manualDnsIp[O]=H,placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:p.value},null,8,Vb),[[W,o.value.manualDnsIp[O],void 0,{trim:!0}]])]))),256)):(i(),r(L,{key:1},[t("label",null,[jb,z(t("input",{type:"text","onUpdate:modelValue":C[5]||(C[5]=$=>s.value=$),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:p.value},null,8,Rb),[[W,s.value,void 0,{trim:!0}]])]),t("label",null,[Gb,z(t("input",{type:"text","onUpdate:modelValue":C[6]||(C[6]=$=>c.value=$),placeholder:"\u5907\u7528DNS\u670D\u52A1\u5668",disabled:p.value},null,8,Ub),[[W,c.value,void 0,{trim:!0}]])])],64))],64)):E("",!0),m.value?(i(),r("div",Wb,[B(A,{modelValue:o.value.enableLanDhcp,"onUpdate:modelValue":C[7]||(C[7]=$=>o.value.enableLanDhcp=$)},{default:V(()=>[Hb]),_:1},8,["modelValue"])])):E("",!0),n.value?(i(),r("div",Zb,h(n.value),1)):E("",!0),t("div",Jb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},"\u4FDD\u5B58\u914D\u7F6E",8,Xb),B(D,{to:"/network",custom:""},{default:V(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},"\u8FD4\u56DE",8,Kb)]),_:1})])],40,Eb)])):a.value==1?(i(),r("div",Qb,[tv,t("div",ev,[B(D,{to:"/",custom:""},{default:V(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:$},"\u8FDB\u5165\u63A7\u5236\u53F0",8,av)]),_:1}),B(D,{to:"/network",custom:""},{default:V(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},"\u8FD4\u56DE",8,ov)]),_:1})])])):E("",!0)}}});var iv=Y(nv,[["__scopeId","data-v-0d3a64fa"]]);const lt=e=>(N("data-v-1c3f186c"),e=e(),q(),e),rv={key:0,id:"page"},sv=lt(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C",-1)),dv=lt(()=>t("code",null,[U(" \u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002 "),t("br"),U("\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 "),t("br"),U("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A "),t("br"),U("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B "),t("br"),U("\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)),uv={class:"btns"},lv=["onClick"],cv={key:1,id:"page"},pv=lt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC",-1)),fv=lt(()=>t("h3",{class:"desc"},"\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F",-1)),mv=["onSubmit"],bv=lt(()=>t("div",{class:"label-key"},[t("span",null,"LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),vv={class:"label-value"},gv=lt(()=>t("option",null,"\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740",-1)),_v=[gv],hv=lt(()=>t("div",{class:"label-key"},[t("span",null,"IP \u5730\u5740")],-1)),xv=lt(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),kv=lt(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),wv=lt(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),yv={key:0,class:"msgs"},Fv={class:"switch_inline"},Ev={key:0,class:"switch_info"},Cv={key:1,class:"switch_info"},$v={class:"switch_inline"},Dv=lt(()=>t("span",{class:"switch_info"},"\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09",-1)),Bv={class:"btns"},Yv=lt(()=>t("button",{class:"cbi-button cbi-button-apply app-btn app-next"},"\u4FDD\u5B58\u914D\u7F6E",-1)),Av=["onClick"],Sv={key:2,id:"page"},zv=lt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),Pv=lt(()=>t("h3",{class:"desc"},"\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)),Tv={key:3,id:"page"},Iv=lt(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E",-1)),Lv=lt(()=>t("code",null," \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)),Mv=U(" 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) "),Ov=["disabled"],Nv=U("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09 "),qv={style:{"text-align":"left"}},Vv=U(" 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 "),jv={class:"btns"},Rv=["disabled"],Gv=["onClick"],Uv=P({setup(e){const a=y(0),o=y(""),n=y(!1),s=G(()=>{var m,b,_;return!(((m=p.value)==null?void 0:m.ipv4addr)&&((b=p.value)==null?void 0:b.ipv4mask)&&((_=p.value)==null?void 0:_.gateway))}),c=y({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1}),p=y(),f=()=>{n.value=!0,S.Network.Status.GET().then(m=>{if(m!=null&&m.data){const{result:b}=m==null?void 0:m.data;b&&(p.value=b)}}).finally(()=>{n.value=!1})},d=m=>{var b,_,v,g,k;m&&(c.value.staticLanIp=((b=p.value)==null?void 0:b.ipv4addr)||"",c.value.subnetMask=((_=p.value)==null?void 0:_.ipv4mask)&&ht.prefixToMask(p.value.ipv4mask)||"",c.value.gateway=((v=p.value)==null?void 0:v.gateway)||"",c.value.staticDnsIp=((g=p.value)==null?void 0:g.dnsList)&&((k=p.value)==null?void 0:k.dnsList[0])||"223.5.5.5"),a.value=1},l=m=>{window.location.href=location.protocol+"//"+c.value.staticLanIp+(location.port?":"+location.port:"")},u=()=>T(this,null,function*(){const m=c.value,b=F.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.Guide.GatewayRouter.POST(m);if(_!=null&&_.data){const{success:v,error:g}=_==null?void 0:_.data;if(g&&(o.value=g),v==null||v==0){setTimeout(()=>{a.value=2,b.Close()},5e3);return}}}catch(_){o.value=_}b.Close()});return(m,b)=>{var g,k,x,C;const _=Q("router-link"),v=Q("switch-box");return a.value==0?(i(),r("div",rv,[sv,dv,t("div",uv,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:b[0]||(b[0]=A=>a.value=3)},"\u81EA\u52A8\u914D\u7F6E..."),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:b[1]||(b[1]=A=>d(!1))},"\u624B\u52A8\u914D\u7F6E..."),B(_,{to:"/network",custom:""},{default:V(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,lv)]),_:1})])])):a.value==1?(i(),r("div",cv,[pv,fv,t("form",{onSubmit:nt(u,["prevent"])},[t("label",null,[bv,t("div",vv,[t("select",{disabled:"",style:It({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},_v,4)])]),t("label",null,[hv,z(t("input",{type:"text","onUpdate:modelValue":b[2]||(b[2]=A=>c.value.staticLanIp=A),placeholder:"IP\u5730\u5740",required:""},null,512),[[W,c.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[xv,z(t("input",{type:"text","onUpdate:modelValue":b[3]||(b[3]=A=>c.value.subnetMask=A),placeholder:"\u5B50\u7F51\u63A9\u7801",required:""},null,512),[[W,c.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[kv,z(t("input",{type:"text","onUpdate:modelValue":b[4]||(b[4]=A=>c.value.gateway=A),placeholder:"\u7F51\u5173\u5730\u5740",required:""},null,512),[[W,c.value.gateway,void 0,{trim:!0}]])]),t("label",null,[wv,z(t("input",{type:"text","onUpdate:modelValue":b[5]||(b[5]=A=>c.value.staticDnsIp=A),placeholder:"223.5.5.5",required:""},null,512),[[W,c.value.staticDnsIp,void 0,{trim:!0}]])]),o.value?(i(),r("div",yv,h(o.value),1)):E("",!0),t("div",Fv,[B(v,{modelValue:c.value.enableDhcp,"onUpdate:modelValue":b[6]||(b[6]=A=>c.value.enableDhcp=A)},{default:V(()=>[c.value.enableDhcp?(i(),r("span",Ev,"\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")):(i(),r("span",Cv,"\u63D0\u4F9B DHCPv4 \u670D\u52A1"))]),_:1},8,["modelValue"])]),t("div",$v,[B(v,{modelValue:c.value.dhcp6c,"onUpdate:modelValue":b[7]||(b[7]=A=>c.value.dhcp6c=A)},{default:V(()=>[Dv]),_:1},8,["modelValue"])]),t("div",Bv,[Yv,B(_,{to:"/network",custom:""},{default:V(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,Av)]),_:1})])],40,mv)])):a.value==2?(i(),r("div",Sv,[zv,Pv,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:l},"\u8FDB\u5165\u63A7\u5236\u53F0")])])):a.value==3?(i(),r("div",Tv,[Iv,Lv,Mv,t("button",{class:ot(["cbi-button cbi-button-neutral",w(s)?"cbi-button-neutral":"cbi-button-success"]),disabled:n.value,onClick:f},[Nv,t("p",qv,[t("ul",null,[t("li",null,"IP \u5730\u5740: "+h((g=p.value)==null?void 0:g.ipv4addr),1),t("li",null,"\u5B50\u7F51\u63A9\u7801: "+h(((k=p.value)==null?void 0:k.ipv4mask)&&w(ht).prefixToMask(p.value.ipv4mask)),1),t("li",null,"\u7F51\u5173\u5730\u5740: "+h((x=p.value)==null?void 0:x.gateway),1),t("li",null,"DNS\u670D\u52A1\u5668: "+h(((C=p.value)==null?void 0:C.dnsList)&&p.value.dnsList[0]||(w(s)?"":"\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,Ov),Vv,t("div",jv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w(s),onClick:b[8]||(b[8]=A=>d(!0))},"\u81EA\u52A8\u586B\u5199..."+h(w(s)?"\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09":""),9,Rv),B(_,{to:"/network",custom:""},{default:V(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,Gv)]),_:1})])])):E("",!0)}}});var Wv=Y(Uv,[["__scopeId","data-v-1c3f186c"]]);const zt=e=>(N("data-v-7fc91c6d"),e=e(),q(),e),Hv={class:"actioner-container"},Zv=zt(()=>t("div",{class:"actioner-container_header"},[t("span",null,"RAID\u521B\u5EFA\u5411\u5BFC")],-1)),Jv={class:"actioner-container_body"},Xv=zt(()=>t("p",null,"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)),Kv={class:"label-item"},Qv=zt(()=>t("div",{class:"label-item_key"},[t("span",null,"RAID\u7EA7\u522B\uFF1A")],-1)),tg={class:"label-item_value"},eg=["value"],ag={class:"label-item_tips"},og={class:"label-item"},ng=zt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")],-1)),ig={key:0,class:"label-item_value"},rg=zt(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),sg=[rg],dg={key:1,class:"label-item_value"},ug=["value"],lg={key:1,class:"msg-warning"},cg={class:"label-item_tips"},pg=U(" \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 "),fg={class:"actioner-container_footer"},mg=["disabled"],bg=["disabled"],vg={key:1,class:"actioner-container_body setup-loading"},gg=zt(()=>t("span",null,"\u6B63\u5728\u521B\u5EFA\u4E2D...",-1)),_g={class:"actioner-container_body setup-error"},hg={class:"actioner-container_footer"},xg=["disabled"],kg={class:"actioner-container_body setup-success"},wg=zt(()=>t("div",{class:"body-title"},"\u521B\u5EFA\u6210\u529F",-1)),yg=zt(()=>t("div",{class:"body-info"},[t("span",null," \u5982\u9700\u5BF9raid\u8BBE\u5907\u8FDB\u884C\u8BFB\u5199\u64CD\u4F5C\uFF0C\u9700\u8981\u5BF9raid\u8BBE\u5907\u683C\u5F0F\u5316\u5E76\u6302\u8F7D\u6587\u4EF6\u7CFB\u7EDF "),t("br"),t("span",null,[U(" \u53EF\u524D\u5F80 "),t("a",{href:"/cgi-bin/luci/",target:"_blank",rel:"noopener noreferrer"},"\u9996\u9875-\u78C1\u76D8\u4FE1\u606F"),U(" \u8FDB\u884C\u6302\u8F7D ")])],-1)),Fg=P({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=y("init"),c=y(""),p=[{name:"jbod",title:"JBOD (\u7EBF\u6027)",info:"\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:"RAID 0 (\u6761\u5E26)",info:"\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:"RAID 1 (\u955C\u50CF)",info:"\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:"\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:"\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:"\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}],f=y("raid5"),d=y([]),l=g=>{let k="";return p.forEach(x=>{x.name===g&&(k=x.info)}),k},u=y(!1),m=it({loading:!1,members:[]}),b=g=>{};(()=>T(this,null,function*(){m.loading=!0;try{const g=yield S.Raid.CreateList.GET();if(g!=null&&g.data){const{success:k,error:x,result:C}=g.data;if(C&&(m.members=C.members||[]),x)throw x}}catch(g){console.log(g)}finally{m.loading=!1}}))();const v=()=>T(this,null,function*(){const g=p.filter(x=>x.name===f.value)[0],k=d.value;if(!g){F.Warning("\u8BF7\u9009\u62E9raid\u7C7B\u578B");return}if(k.length==0){F.Warning("\u8BF7\u9009\u62E9\u78C1\u76D8");return}if(g.select>k.length){F.Warning("\u8BF7\u9009\u62E9\u81F3\u5C11"+g.select+"\u5757\u78C1\u76D8");return}if(!!confirm(`\u662F\u5426\u7ACB\u5373\u521B\u5EFA ${g.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`)&&!!confirm(`\u786E\u5B9A\u521B\u5EFA ${g.name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C`)){u.value=!0,s.value="loading";try{const x=yield S.Raid.Create.POST({level:g.name,devicePaths:k});if(x.data){const{success:C,error:A,result:D}=x.data;if(A)throw A;(C||0)==0&&(s.value="success",n())}}catch(x){c.value=x,s.value="error"}finally{u.value=!1}}});return(g,k)=>{const x=Q("icon-loading"),C=Q("icon-error"),A=Q("icon-success");return i(),r("div",Hv,[Zv,s.value=="init"?(i(),r(L,{key:0},[t("div",Jv,[Xv,t("div",Kv,[Qv,t("div",tg,[z(t("select",{"onUpdate:modelValue":k[0]||(k[0]=D=>f.value=D),onChange:b},[(i(),r(L,null,R(p,D=>t("option",{value:D.name},h(D.title),9,eg)),64))],544),[[K,f.value]])]),t("div",ag,[B(gt),U(" "+h(l(f.value)),1)])]),t("div",og,[ng,w(m).loading?(i(),r("div",ig,sg)):(i(),r("div",dg,[w(m).members.length>0?(i(!0),r(L,{key:0},R(w(m).members,D=>(i(),r("label",null,[z(t("input",{type:"checkbox","onUpdate:modelValue":k[1]||(k[1]=$=>d.value=$),value:D.path},null,8,ug),[[Lt,d.value]]),U(" \u3010"+h(D.model)+"\u3011"+h(D.name)+" "+h(D.path)+" ["+h(D.sizeStr)+"] ",1)]))),256)):(i(),r("span",lg," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))])),t("div",cg,[B(gt),pg])])]),t("div",fg,[t("div",{class:"close",onClick:o,disabled:u.value},"\u53D6\u6D88",8,mg),t("div",{class:"next",onClick:v,disabled:u.value},"\u521B\u5EFA",8,bg)])],64)):s.value=="loading"?(i(),r("div",vg,[B(x,{size:60,color:"#666"}),gg])):s.value=="error"?(i(),r(L,{key:2},[t("div",_g,[B(C),t("span",null,h(c.value),1)]),t("div",hg,[t("div",{class:"close",onClick:o},"\u5173\u95ED"),t("div",{class:"next",onClick:v,disabled:u.value},"\u91CD\u65B0\u521B\u5EFA",8,xg)])],64)):s.value=="success"?(i(),r(L,{key:3},[t("div",kg,[B(A),wg,yg]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u5173\u95ED")])],64)):E("",!0)])}}});var Eg=Y(Fg,[["__scopeId","data-v-7fc91c6d"]]);const Cg={class:"actioner-container"},$g={class:"actioner-container_body"},Dg=["value"],Bg=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(e){const a=e,o=()=>{a.Close()},n=y("");return(()=>{S.Raid.Detail.POST({path:a.raid.path}).then(c=>{if(c.data){const{result:p,error:f}=c.data;f?n.value=f:n.value=(p==null?void 0:p.detail)||""}}).catch(c=>{n.value=c.message})})(),(c,p)=>(i(),r("div",Cg,[t("div",$g,[t("textarea",{value:n.value},null,8,Dg)]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u5173\u95ED")])]))}});var Yg=Y(Bg,[["__scopeId","data-v-51f9d7a2"]]);const Pe=e=>(N("data-v-c07c8244"),e=e(),q(),e),Ag={class:"actioner-container"},Sg={class:"actioner-container_header"},zg={class:"actioner-container_body"},Pg={class:"label-item"},Tg=Pe(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),Ig={class:"label-item_value"},Lg={disabled:""},Mg={class:"label-item"},Og=Pe(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A ",-1)),Ng={key:0,class:"label-item_value"},qg=Pe(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),Vg=[qg],jg={key:1,class:"label-item_value"},Rg=["value"],Gg={key:1,class:"msg-warning"},Ug={class:"actioner-container_footer"},Wg=["disabled"],Hg=["disabled"],Zg=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const l=f.value;if(l==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8");return}p.value=!0;const u=F.Loading("\u4FDD\u5B58\u4E2D...");try{const m=yield S.Raid.Add.POST({path:a.raid.path,memberPath:l});if(m.data){const{error:b,success:_}=m.data;if(b)throw b;(_||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(m){F.Error(`${m}`)}finally{p.value=!1,u.Close()}}),c=it({loading:!1,members:[]}),p=y(!1),f=y("");return(()=>T(this,null,function*(){c.loading=!0,p.value=!0;try{const l=yield S.Raid.CreateList.GET();if(l!=null&&l.data){const{success:u,error:m,result:b}=l.data;if(b&&(c.members=b.members||[]),m)throw m}}catch(l){console.log(l)}finally{p.value=!1,c.loading=!1}}))(),(l,u)=>(i(),r("div",Ag,[t("div",Sg,[t("span",null,"RAID - "+h(e.raid.name)+" \u4FEE\u6539",1)]),t("div",zg,[t("div",Pg,[Tg,t("div",Ig,[t("select",Lg,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",Mg,[Og,w(c).loading?(i(),r("div",Ng,Vg)):(i(),r("div",jg,[w(c).members.length>0?(i(!0),r(L,{key:0},R(w(c).members,m=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":u[0]||(u[0]=b=>f.value=b),value:m.path},null,8,Rg),[[ft,f.value]]),U(" \u3010"+h(m.model)+"\u3011"+h(m.name)+" "+h(m.path)+" ["+h(m.sizeStr)+"] ",1)]))),256)):(i(),r("span",Gg," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))]))])]),t("div",Ug,[t("div",{class:"close",onClick:o,disabled:p.value},"\u53D6\u6D88",8,Wg),t("div",{class:"next",onClick:s,disabled:p.value},"\u4FDD\u5B58",8,Hg)])]))}});var Jg=Y(Zg,[["__scopeId","data-v-c07c8244"]]);const va=e=>(N("data-v-13dc2cd6"),e=e(),q(),e),Xg={class:"actioner-container"},Kg={class:"actioner-container_header"},Qg={class:"actioner-container_body"},t_={class:"label-item"},e_=va(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),a_={class:"label-item_value"},o_={disabled:""},n_={class:"label-item"},i_=va(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A ",-1)),r_={class:"label-item_value"},s_=["value"],d_={class:"actioner-container_footer"},u_=["disabled"],l_=["disabled"],c_=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const f=p.value;if(f==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8");return}c.value=!0;const d=F.Loading("\u4FDD\u5B58\u4E2D...");try{const l=yield S.Raid.Remove.POST({path:a.raid.path,memberPath:f});if(l.data){const{error:u,success:m}=l.data;if(u)throw u;(m||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(l){F.Error(`${l}`)}finally{c.value=!1,d.Close()}}),c=y(!1),p=y("");return(f,d)=>(i(),r("div",Xg,[t("div",Kg,[t("span",null,"RAID - "+h(e.raid.name)+" \u79FB\u9664",1)]),t("div",Qg,[t("div",t_,[e_,t("div",a_,[t("select",o_,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",n_,[i_,t("div",r_,[(i(!0),r(L,null,R(e.raid.members,l=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":d[0]||(d[0]=u=>p.value=u),value:l},null,8,s_),[[ft,p.value]]),U(" "+h(l),1)]))),256))])])]),t("div",d_,[t("div",{class:"close",onClick:o,disabled:c.value},"\u53D6\u6D88",8,u_),t("div",{class:"next",onClick:s,disabled:c.value},"\u4FDD\u5B58",8,l_)])]))}});var p_=Y(c_,[["__scopeId","data-v-13dc2cd6"]]);const Te=e=>(N("data-v-5643983d"),e=e(),q(),e),f_={class:"actioner-container"},m_={class:"actioner-container_header"},b_={class:"actioner-container_body"},v_={class:"label-item"},g_=Te(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),__={class:"label-item_value"},h_={disabled:""},x_={class:"label-item"},k_=Te(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A ",-1)),w_={key:0,class:"label-item_value"},y_=Te(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),F_=[y_],E_={key:1,class:"label-item_value"},C_=["value"],$_={key:1,class:"msg-warning"},D_={class:"actioner-container_footer"},B_=["disabled"],Y_=["disabled"],A_=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const l=f.value;if(l==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8");return}p.value=!0;const u=F.Loading("\u4FDD\u5B58\u4E2D...");try{const m=yield S.Raid.Recover.POST({path:a.raid.path,memberPath:l});if(m.data){const{error:b,success:_}=m.data;if(b)throw b;(_||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(m){F.Error(`${m}`)}finally{p.value=!1,u.Close()}}),c=it({loading:!1,members:[]}),p=y(!1),f=y("");return(()=>T(this,null,function*(){c.loading=!0,p.value=!0;try{const l=yield S.Raid.CreateList.GET();if(l!=null&&l.data){const{success:u,error:m,result:b}=l.data;if(b&&(c.members=b.members||[]),m)throw m}}catch(l){console.log(l)}finally{p.value=!1,c.loading=!1}}))(),(l,u)=>(i(),r("div",f_,[t("div",m_,[t("span",null,"RAID - "+h(e.raid.name)+" \u6062\u590D",1)]),t("div",b_,[t("div",v_,[g_,t("div",__,[t("select",h_,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",x_,[k_,w(c).loading?(i(),r("div",w_,F_)):(i(),r("div",E_,[w(c).members.length>0?(i(!0),r(L,{key:0},R(w(c).members,m=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":u[0]||(u[0]=b=>f.value=b),value:m.path},null,8,C_),[[ft,f.value]]),U(" \u3010"+h(m.model)+"\u3011"+h(m.name)+" "+h(m.path)+" ["+h(m.sizeStr)+"] ",1)]))),256)):(i(),r("span",$_," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))]))])]),t("div",D_,[t("div",{class:"close",onClick:o,disabled:p.value},"\u53D6\u6D88",8,B_),t("div",{class:"next",onClick:s,disabled:p.value},"\u4FDD\u5B58",8,Y_)])]))}});var S_=Y(A_,[["__scopeId","data-v-5643983d"]]);const z_={class:"action-main"},P_=P({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(e){return(a,o)=>(i(),M(et,{type:2},{default:V(()=>[t("div",z_,[e.setup=="create"?(i(),M(Eg,{key:0,Close:e.Close},null,8,["Close"])):e.setup=="info"&&e.raid!=null?(i(),M(Yg,{key:1,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="edit"&&e.raid!=null?(i(),M(Jg,{key:2,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="remove"&&e.raid!=null?(i(),M(p_,{key:3,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="recover"&&e.raid!=null?(i(),M(S_,{key:4,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):E("",!0)])]),_:1}))}});var T_=Y(P_,[["__scopeId","data-v-6ef94d02"]]);const Jt=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(T_,at(J({},e),{Close:()=>{n()}}));o.use(aa),o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},re=e=>(N("data-v-535a673b"),e=e(),q(),e),I_={id:"page"},L_=re(()=>t("h2",{name:"content"}," RAID\u7BA1\u7406",-1)),M_=re(()=>t("div",{class:"cbi-map-descr"},[t("p",null," 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 "),t("p",{style:{color:"#f5365b","margin-top":"10px"}}," * 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 "),t("p",{style:{color:"#f5365b","margin-top":"10px"}}," * \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)),O_={class:"btns"},N_=["disabled"],q_={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},V_={class:"table cbi-section-table"},j_={style:{}},R_=re(()=>t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u540D\u79F0"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u72B6\u6001"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u7EA7\u522B"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5BB9\u91CF"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6210\u5458"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6302\u8F7D\u4FE1\u606F"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u64CD\u4F5C")],-1)),G_={class:"tr cbi-section-table-row"},U_={class:"td cbi-value-field"},W_={class:"td cbi-value-field"},H_=["title"],Z_={class:"item-status"},J_={key:0,class:"item-status item-status-detail"},X_={class:"td cbi-value-field"},K_={class:"td cbi-value-field"},Q_={class:"td cbi-value-field"},th=re(()=>t("br",null,null,-1)),eh={class:"td cbi-value-field"},ah=re(()=>t("br",null,null,-1)),oh={key:1,href:"/cgi-bin/luci/admin/quickstart/"},nh={class:"td cbi-section-table-cell nowrap cbi-section-actions"},ih=["disabled","onClick"],rh=["disabled","onClick"],sh=["onClick"],dh=["onClick"],uh=["onClick"],lh=P({setup(e){const a=it({disksList:[]}),o=()=>T(this,null,function*(){try{const v=yield S.Raid.List.GET();if(v!=null&&v.data){const{success:g,error:k,result:x}=v.data;if(x&&(a.disksList=x.disks||[]),k)throw k}}catch(v){console.log(v)}}),n=yt.easyInterval(o,5e3);Fe(()=>{n()});const s=v=>{switch(v.level){case"raid0":case"jbod":return!0}return v.status.indexOf("degraded")!=-1||v.status.indexOf("resyncing(")!=-1},c=v=>{let g=[];return v.childrens&&v.childrens.forEach(k=>{k.mountPoint&&g.push(`${k.name}(${k.mountPoint})`)}),g},p=()=>T(this,null,function*(){Jt({setup:"create",success:()=>{o()}})}),f=v=>{Jt({setup:"info",raid:v})},d=v=>T(this,null,function*(){if(v.childrens&&v.childrens.length>0&&v.childrens.filter(x=>x.mountPoint).length>0){de({content:"\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF",nextTitle:"\u53BB\u5378\u8F7D",next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:"\u53D6\u6D88",clear:()=>{}});return}if(!confirm(`\u786E\u5B9A\u8981\u5220\u9664 ${v.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`)||!confirm(`\u786E\u5B9A\u8981\u5220\u9664 ${v.name} \u5417?`))return;const g=F.Loading("\u5220\u9664\u4E2D...");try{const k=yield S.Raid.Delete.POST({path:v.path,members:v.members});if(k.data){const{success:x,error:C}=k.data;if(C)throw C;(x||0)==0&&(F.Success("\u5220\u9664\u6210\u529F"),o())}}catch(k){F.Error(`${k}`)}finally{g.Close()}}),l=v=>{Jt({setup:"edit",raid:v,success:()=>{o()}})},u=v=>{Jt({setup:"remove",raid:v,success:()=>{o()}})},m=v=>{Jt({setup:"recover",raid:v,success:()=>{o()}})},b=y(!1),_=()=>{de({content:"\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:"\u786E\u5B9A",next:()=>T(this,null,function*(){b.value=!0;const v=F.Loading("\u626B\u63CF\u4E2D...");try{const g=yield S.Raid.Autofix.GET();if(g.data){const{error:k,success:x}=g.data;if(k)throw k;(x||0)==0&&(F.Success("\u6062\u590D\u5B8C\u6210"),o())}}catch(g){F.Error(`${g}`)}finally{v.Close(),b.value=!1}}),clearTitle:"\u53D6\u6D88",clear:()=>{}})};return(v,g)=>(i(),r("div",I_,[L_,M_,t("div",O_,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:g[0]||(g[0]=k=>p())},"\u521B\u5EFARAID"),t("button",{class:"btn cbi-button cbi-button-apply",onClick:g[1]||(g[1]=k=>_()),disabled:b.value},"\u626B\u63CF\u6062\u590DRAID",8,N_)]),t("div",null,[t("div",q_,[t("table",V_,[t("tbody",j_,[R_,(i(!0),r(L,null,R(w(a).disksList,k=>(i(),r("tr",G_,[t("td",U_,[t("b",null,h(k.name),1)]),t("td",W_,[t("b",null,h(k.path),1)]),t("td",{class:"td cbi-value-field",title:k.status+(k.rebuildStatus||"")},[t("b",Z_,h(k.status),1),k.rebuildStatus?(i(),r("b",J_," \u2026 ")):E("",!0)],8,H_),t("td",X_,[t("b",null,h(k.level),1)]),t("td",K_,[t("b",null,h(k.size),1)]),t("td",Q_,[(i(!0),r(L,null,R(k.members,x=>(i(),r("b",null,[U(h(x)+" ",1),th]))),256))]),t("td",eh,[c(k).length>0?(i(!0),r(L,{key:0},R(c(k),x=>(i(),r("b",null,[U(h(x)+" ",1),ah]))),256)):(i(),r("a",oh,"\u53BB\u6302\u8F7D"))]),t("td",nh,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u6269\u5145",disabled:s(k),onClick:x=>l(k)},"\u6269\u5145",8,ih),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u79FB\u9664",disabled:s(k),onClick:x=>u(k)},"\u79FB\u9664",8,rh),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u6062\u590D",onClick:x=>m(k)},"\u6062\u590D",8,sh),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8BE6\u60C5",onClick:x=>f(k)},"\u8BE6\u60C5",8,dh),t("button",{class:"cbi-button cbi-button-remove",title:"\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=>d(k)},"\u5220\u9664",8,uh)])]))),256))])])])])]))}});var ch=Y(lh,[["__scopeId","data-v-535a673b"]]);const ga=e=>(N("data-v-2bc40d1c"),e=e(),q(),e),ph={id:"page"},fh=ga(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),mh=ga(()=>t("div",{class:"cbi-map-descr"},[t("p",null," 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 "),t("p",null," \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 "),t("p",null," \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 "),t("p",null," \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)),bh={class:"tabs"},vh=["href","onClick"],gh=P({setup(e){const a=[{to:"/smart",name:"\u5E38\u89C4\u8BBE\u7F6E"},{to:"/smart/task",name:"\u8BA1\u5212\u4EFB\u52A1"},{to:"/smart/log",name:"\u67E5\u770B\u65E5\u5FD7"}],o=y(!1),n=it({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),s=f=>{const{global:d,devices:l,tasks:u}=f;d&&(n.global.enable=d.enable||!1,n.global.powermode=d.powermode||"never"),n.devices=l||[],n.tasks=u||[]};(()=>T(this,null,function*(){try{const f=yield S.Smart.Config.GET();if(f.data){const{result:d}=f.data;d&&s(d)}}catch(f){}finally{o.value=!0}}))();const p=f=>T(this,null,function*(){const d=F.Loading("\u4FDD\u5B58\u4E2D...");try{const l=yield S.Smart.Config.POST(f);if(l.data){console.log(l.data);const{success:u,error:m,result:b}=l.data;if(m)throw m;(u||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),b&&s(b))}}catch(l){F.Error(`${l}`)}finally{d.Close()}});return(f,d)=>{const l=Q("router-link"),u=Q("router-view");return i(),r("div",ph,[fh,mh,t("ul",bh,[(i(),r(L,null,R(a,m=>B(l,{to:m.to,custom:"",key:m.to},{default:V(({route:b,href:_,navigate:v,isActive:g,isExactActive:k})=>[t("li",{class:ot({"active cbi-tab":g&&k})},[t("a",{href:_,onClick:v},h(m.name),9,vh)],2)]),_:2},1032,["to"])),64))]),o.value?(i(),M(u,{key:0,name:"default"},{default:V(({Component:m,route:b})=>[(i(),M(Ia,null,{default:V(()=>[(i(),M(La(m),{key:b.path,config:w(n),saveData:p},null,8,["config"]))]),_:2},1024))]),_:1})):E("",!0)])}}});var _h=Y(gh,[["__scopeId","data-v-2bc40d1c"]]);const hh={class:"action-main"},xh=P({setup(e){return(a,o)=>(i(),M(et,{type:2},{default:V(()=>[t("div",hh,[Dt(a.$slots,"default",{},void 0,!0)])]),_:3}))}});var he=Y(xh,[["__scopeId","data-v-742230ae"]]);const kh={class:"actioner-container"},wh={class:"actioner-container_header"},yh={class:"actioner-container_body"},Fh={class:"cbi-value"},Eh=t("label",{class:"cbi-value-title"}," \u78C1\u76D8 ",-1),Ch={class:"cbi-value-field"},$h={class:"cbi-value-description"},Dh={class:"cbi-value"},Bh=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09 ",-1),Yh={class:"cbi-value-field"},Ah={class:"cbi-checkbox"},Sh=t("option",{value:-1},"\u4F7F\u7528\u5168\u5C40\u914D\u7F6E",-1),zh=t("option",{value:0},"\u7981\u7528",-1),Ph=["value"],Th=t("div",{class:"cbi-value-description"}," \u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A. ",-1),Ih={class:"cbi-value"},Lh=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09 ",-1),Mh={class:"cbi-value-field"},Oh={class:"cbi-checkbox"},Nh=t("option",{value:-1},"\u4F7F\u7528\u5168\u5C40\u914D\u7F6E",-1),qh=t("option",{value:0},"\u7981\u7528",-1),Vh=["value"],jh=t("div",{class:"cbi-value-description"}," \u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A. ",-1),Rh={class:"actioner-container_footer"},Gh=["disabled"],Uh=["disabled"],Wh=P({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(e){var p,f,d;const a=e;console.log(a.device);const o=y(!1),n=it({tmpDiff:((p=a.device)==null?void 0:p.tmpDiff)||0,tmpMax:((f=a.device)==null?void 0:f.tmpMax)||0,devicePath:((d=a.device)==null?void 0:d.devicePath)||""}),s=()=>{o.value=!0,a.close()},c=()=>T(this,null,function*(){o.value=!0;try{yield a.next({tmpDiff:n.tmpDiff,tmpMax:n.tmpMax,devicePath:n.devicePath}),o.value=!1,s()}catch(l){}});return(l,u)=>(i(),M(he,null,{default:V(()=>[t("div",kh,[t("div",wh,[t("span",null," S.M.A.R.T. \xBB \u8BBE\u5907 \xBB "+h(e.disk.path),1)]),t("div",yh,[t("div",Fh,[Eh,t("div",Ch,[t("div",$h,h(e.disk.model)+" [ "+h(e.disk.path)+"\uFF0C"+h(e.disk.sizeStr)+" ] ",1)])]),t("div",Dh,[Bh,t("div",Yh,[t("div",Ah,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":u[0]||(u[0]=m=>w(n).tmpDiff=m)},[Sh,zh,(i(),r(L,null,R(20,m=>t("option",{value:m},h(m)+"\xB0C",9,Ph)),64))],512),[[K,w(n).tmpDiff,void 0,{number:!0}]])]),Th])]),t("div",Ih,[Lh,t("div",Mh,[t("div",Oh,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":u[1]||(u[1]=m=>w(n).tmpMax=m)},[Nh,qh,(i(),r(L,null,R(20,m=>t("option",{value:m*5},h(m*5)+"\xB0C",9,Vh)),64))],512),[[K,w(n).tmpMax,void 0,{number:!0}]])]),jh])])]),t("div",Rh,[t("button",{class:"close",onClick:s,disabled:o.value},"\u53D6\u6D88",8,Gh),t("button",{class:"next",onClick:c,disabled:o.value},"\u4FDD\u5B58",8,Uh)])])]),_:1}))}}),Hh={class:"actioner-container"},Zh=t("div",{class:"actioner-container_header"},[t("span",null," \u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1 ")],-1),Jh={class:"actioner-container_body"},Xh={class:"cbi-value"},Kh=t("label",{class:"cbi-value-title"}," \u78C1\u76D8 ",-1),Qh={class:"cbi-value-field"},tx={class:"cbi-checkbox"},ex=t("option",{value:""},"\u9009\u62E9\u78C1\u76D8",-1),ax=["value"],ox={class:"cbi-value"},nx=t("label",{class:"cbi-value-title"}," \u7C7B\u578B ",-1),ix={class:"cbi-value-field"},rx={class:"cbi-checkbox"},sx=t("option",{value:"short"},"\u77ED\u6682\u81EA\u68C0",-1),dx=t("option",{value:"long"},"\u957F\u65F6\u81EA\u68C0",-1),ux=t("option",{value:"conveyance"},"\u4F20\u8F93\u65F6\u81EA\u68C0",-1),lx=t("option",{value:"offline"},"\u79BB\u7EBF\u65F6\u81EA\u68C0",-1),cx=[sx,dx,ux,lx],px={class:"cbi-value"},fx=t("label",{class:"cbi-value-title"}," \u5C0F\u65F6 ",-1),mx={class:"cbi-value-field"},bx={class:"cbi-checkbox"},vx=t("option",{value:"*"},"*",-1),gx=["value"],_x=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u5C0F\u65F6 ",-1),hx={class:"cbi-value"},xx=t("label",{class:"cbi-value-title"}," \u5929 ",-1),kx={class:"cbi-value-field"},wx={class:"cbi-checkbox"},yx=t("option",{value:"*"},"*",-1),Fx=["value"],Ex=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u5929 ",-1),Cx={class:"cbi-value"},$x=t("label",{class:"cbi-value-title"}," \u6708 ",-1),Dx={class:"cbi-value-field"},Bx={class:"cbi-checkbox"},Yx=t("option",{value:"*"},"*",-1),Ax=["value"],Sx=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u6708 ",-1),zx={class:"actioner-container_footer"},Px=["disabled"],Tx=["disabled"],Ix=P({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(e){const a=e,o=y(!1),n=it({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),s=y([]);(()=>T(this,null,function*(){try{const d=yield S.Smart.List.GET();if(d.data){const{result:l,error:u}=d.data;l&&l.disks&&(s.value=l.disks)}}catch(d){}}))();const p=()=>{o.value=!0,a.close()},f=()=>T(this,null,function*(){if(n.devicePath==""){F.Warning("\u8BF7\u9009\u62E9\u78C1\u76D8");return}o.value=!0;try{yield a.next(n),p()}catch(d){}finally{o.value=!1}});return(d,l)=>(i(),M(he,null,{default:V(()=>[t("div",Hh,[Zh,t("div",Jh,[t("div",Xh,[Kh,t("div",Qh,[t("div",tx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[0]||(l[0]=u=>w(n).devicePath=u)},[ex,(i(!0),r(L,null,R(s.value,u=>(i(),r("option",{value:u.path},h(u.model)+" [ "+h(u.path)+"\uFF0C"+h(u.sizeStr)+" ] ",9,ax))),256))],512),[[K,w(n).devicePath,void 0,{trim:!0}]])])])]),t("div",ox,[nx,t("div",ix,[t("div",rx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[1]||(l[1]=u=>w(n).type=u)},cx,512),[[K,w(n).type,void 0,{trim:!0}]])])])]),t("div",px,[fx,t("div",mx,[t("div",bx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[2]||(l[2]=u=>w(n).hour=u)},[vx,(i(),r(L,null,R(24,(u,m)=>t("option",{value:`${m}`},h(m),9,gx)),64))],512),[[K,w(n).hour,void 0,{trim:!0}]])]),_x])]),t("div",hx,[xx,t("div",kx,[t("div",wx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[3]||(l[3]=u=>w(n).dayPerMonth=u)},[yx,(i(),r(L,null,R(31,u=>t("option",{value:`${u}`},h(u),9,Fx)),64))],512),[[K,w(n).dayPerMonth,void 0,{trim:!0}]])]),Ex])]),t("div",Cx,[$x,t("div",Dx,[t("div",Bx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[4]||(l[4]=u=>w(n).month=u)},[Yx,(i(),r(L,null,R(12,(u,m)=>t("option",{value:`${u}`},h(u),9,Ax)),64))],512),[[K,w(n).month,void 0,{trim:!0}]])]),Sx])])]),t("div",zx,[t("button",{class:"close",onClick:p,disabled:o.value},"\u53D6\u6D88",8,Px),t("button",{class:"next",onClick:f,disabled:o.value},"\u4FDD\u5B58",8,Tx)])])]),_:1}))}}),Lx=e=>(N("data-v-3f7c551e"),e=e(),q(),e),Mx={class:"actioner-container"},Ox=Lx(()=>t("div",{class:"actioner-container_header"},[t("span",null," \u8FD0\u884C\u8C03\u8BD5 ")],-1)),Nx={class:"actioner-container_body"},qx=["value"],Vx={class:"actioner-container_footer"},jx=["disabled"],Rx=["disabled"],Gx=P({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(e){const a=e,o=y(!1),n=y(""),s=y(""),c=y(""),p=()=>T(this,null,function*(){n.value+=".";try{const u=yield S.Smart.Test.Result.POST({type:"selftest",devicePath:a.task.devicePath||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(c.value=m.result),b&&(c.value=b)}}catch(u){u&&(c.value=u)}}),f=yt.easyInterval(p,5e3);Fe(()=>{f()});const d=()=>{o.value=!0,f(),a.close()},l=()=>T(this,null,function*(){o.value=!0;try{const u=yield S.Smart.Test.POST({type:a.task.type||"short",devicePath:a.task.devicePath||""});if(u.data){const{success:m,error:b,result:_}=u.data;b&&(s.value=b),_&&_.result&&(s.value=_.result)}}catch(u){s.value=u}finally{}});return(u,m)=>(i(),M(he,null,{default:V(()=>[t("div",Mx,[Ox,t("div",Nx,[t("textarea",{value:s.value+` `+c.value+` -`+n.value,disabled:""},null,8,Vx)]),t("div",jx,[t("div",{class:"close",onClick:d,disabled:o.value},"\u5173\u95ED",8,Rx),o.value?E("",!0):(i(),r("div",{key:0,class:"next",onClick:l,disabled:o.value},"\u8FD0\u884C",8,Gx))])])]),_:1}))}});var Wx=Y(Ux,[["__scopeId","data-v-3f7c551e"]]);const qt=e=>(N("data-v-7d3ebf99"),e=e(),q(),e),Hx={class:"actioner-container"},Zx={class:"actioner-container_header"},Jx={class:"tabs"},Xx=qt(()=>t("a",null,"\u8BBE\u5907\u4FE1\u606F",-1)),Kx=[Xx],Qx=qt(()=>t("a",null,"\u5C5E\u6027",-1)),tk=[Qx],ek=qt(()=>t("a",null,"\u81EA\u68C0\u65E5\u5FD7",-1)),ak=[ek],ok=qt(()=>t("a",null,"\u6269\u5C55\u4FE1\u606F",-1)),nk=[ok],ik={class:"actioner-container_body"},rk={key:0,class:"table"},sk={class:"tr"},dk=qt(()=>t("td",{class:"td left"},"\u8BBE\u5907",-1)),uk={class:"td left"},lk={class:"tr"},ck=qt(()=>t("td",{class:"td left"},"\u578B\u53F7",-1)),pk={class:"td left"},fk={class:"tr"},mk=qt(()=>t("td",{class:"td left"},"\u5E8F\u53F7",-1)),bk={class:"td left"},vk=["value"],gk=["value"],_k=["value"],hk={class:"actioner-container_footer"},xk=["disabled"],kk=P({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(e){const a=e,o=y(!1),n=y("info"),s=u=>{switch(n.value=u,u){case"info":break;case"attribute":d();break;case"log":f();break;case"extend":l();break}},c=()=>{o.value=!0,a.close()},p=it({log:"",attribute:"",extend:""}),f=()=>T(this,null,function*(){try{const u=yield S.Smart.Test.Result.POST({type:"selftest",devicePath:a.disk.path||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(p.log=m.result),b&&(p.log=b)}}catch(u){p.log=u}}),d=()=>T(this,null,function*(){try{const u=yield S.Smart.Attribute.Result.POST({devicePath:a.disk.path||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(p.attribute=m.result),b&&(p.attribute=b)}}catch(u){p.attribute=u}}),l=()=>T(this,null,function*(){try{const u=yield S.Smart.Extend.Result.POST({devicePath:a.disk.path||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(p.extend=m.result),b&&(p.extend=b)}}catch(u){p.extend=u}});return(u,m)=>(i(),M(he,null,{default:V(()=>[t("div",Hx,[t("div",Zx,[t("ul",Jx,[t("li",{class:ot({"active cbi-tab":n.value=="info"}),onClick:m[0]||(m[0]=b=>s("info"))},Kx,2),t("li",{class:ot({"active cbi-tab":n.value=="attribute"}),onClick:m[1]||(m[1]=b=>s("attribute"))},tk,2),t("li",{class:ot({"active cbi-tab":n.value=="log"}),onClick:m[2]||(m[2]=b=>s("log"))},ak,2),t("li",{class:ot({"active cbi-tab":n.value=="extend"}),onClick:m[3]||(m[3]=b=>s("extend"))},nk,2)])]),t("div",ik,[n.value=="info"?(i(),r("table",rk,[t("tr",sk,[dk,t("td",uk,h(e.disk.path),1)]),t("tr",lk,[ck,t("td",pk,h(e.disk.model),1)]),t("tr",fk,[mk,t("td",bk,h(e.disk.serial),1)])])):n.value=="attribute"?(i(),r("textarea",{key:1,disabled:"",value:w(p).attribute},null,8,vk)):n.value=="log"?(i(),r("textarea",{key:2,disabled:"",value:w(p).log},null,8,gk)):n.value=="extend"?(i(),r("textarea",{key:3,disabled:"",value:w(p).extend},null,8,_k)):E("",!0)]),t("div",hk,[t("div",{class:"close",onClick:c,disabled:o.value},"\u5173\u95ED",8,xk)])])]),_:1}))}});var wk=Y(kk,[["__scopeId","data-v-7d3ebf99"]]);const yk=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(Hh,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Fk=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(Lx,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Ek=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(Wx,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Ck=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(wk,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},$k={class:"cbi-section"},Dk={class:"cbi-value"},Bk=t("label",{class:"cbi-value-title"}," \u542F\u7528 ",-1),Yk={class:"cbi-value-field"},Ak={class:"cbi-checkbox"},Sk=["value"],zk={class:"cbi-value"},Pk=t("label",{class:"cbi-value-title"}," \u7535\u6E90\u6A21\u5F0F ",-1),Tk={class:"cbi-value-field"},Ik={class:"cbi-checkbox"},Lk=t("option",{value:"never"},"\u6C38\u4E0D",-1),Mk=t("option",{value:"sleep"},"\u7761\u7720",-1),Ok=t("option",{value:"standby"},"\u5F85\u673A",-1),Nk=t("option",{value:"idle"},"\u95F2\u7F6E",-1),qk=[Lk,Mk,Ok,Nk],Vk=t("div",{class:"cbi-value-description"},[t("span",null," \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"),t("br"),t("span",null,".\u6C38\u8FDC-\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"),t("br"),t("span",null,".\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002"),t("br"),t("span",null,".\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"),t("br"),t("span",null,".\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),jk={class:"cbi-value"},Rk=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09 ",-1),Gk={class:"cbi-value-field"},Uk={class:"cbi-checkbox"},Wk=t("option",{value:0},"\u7981\u7528",-1),Hk=["value"],Zk=t("div",{class:"cbi-value-description"}," \u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A. ",-1),Jk={class:"cbi-value"},Xk=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09 ",-1),Kk={class:"cbi-value-field"},Qk={class:"cbi-checkbox"},tw=t("option",{value:0},"\u7981\u7528",-1),ew=["value"],aw=t("div",{class:"cbi-value-description"}," \u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A. ",-1),ow={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},nw={class:"table cbi-section-table"},iw=t("thead",null,[t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u578B\u53F7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5E8F\u53F7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5BB9\u91CF"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6E29\u5EA6"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u72B6\u6001"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5065\u5EB7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u64CD\u4F5C")])],-1),rw={class:"tr cbi-section-table-row"},sw={class:"td cbi-value-field"},dw={class:"td cbi-value-field"},uw={class:"td cbi-value-field"},lw={class:"td cbi-value-field"},cw={class:"td cbi-value-field"},pw={class:"td cbi-value-field"},fw={class:"td cbi-value-field"},mw={class:"td cbi-value-field"},bw=["onClick"],vw=["onClick"],gw=P({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(e){const a=e,o=it(a.config),n=()=>{o.global.tmpDiff=a.config.global.tmpDiff||0,o.global.tmpMax=a.config.global.tmpMax||0,o.global.enable=a.config.global.enable||!1,o.global.powermode=a.config.global.powermode||"never",o.devices=a.config.devices||[],o.tasks=a.config.tasks||[]},s=y([]),c=()=>T(this,null,function*(){try{const u=yield S.Smart.List.GET();if(u.data){const{result:m,error:b}=u.data;m&&m.disks&&(s.value=m.disks||[])}}catch(u){}}),p=yt.easyInterval(c,5e3);Fe(()=>{p()});const f=()=>T(this,null,function*(){yield a.saveData({global:o.global,devices:a.config.devices,tasks:a.config.tasks}),n()}),d=u=>{Ck({disk:u})},l=(u,m)=>T(this,null,function*(){let b=null,_=-1;if(o.devices){for(let v=0;vT(this,null,function*(){v.tmpDiff==-1&&(v.tmpDiff=o.global.tmpDiff),v.tmpMax==-1&&(v.tmpMax=o.global.tmpMax),v.devicePath==""&&(v.devicePath=u.path);let g=[...o.devices];_>=0&&(g[_]=v);const k=new Map;g.forEach(x=>{x.devicePath!=null&&k.set(x.devicePath,null)});for(let x=0;x(i(),r(L,null,[t("fieldset",$k,[t("div",Dk,[Bk,t("div",Yk,[t("div",Ak,[z(t("input",{type:"checkbox","onUpdate:modelValue":m[0]||(m[0]=b=>w(o).global.enable=b),value:!w(o).global.enable},null,8,Sk),[[Lt,w(o).global.enable]])])])]),t("div",zk,[Pk,t("div",Tk,[t("div",Ik,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[1]||(m[1]=b=>w(o).global.powermode=b)},qk,512),[[K,w(o).global.powermode,void 0,{trim:!0}]])]),Vk])]),t("div",jk,[Rk,t("div",Gk,[t("div",Uk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[2]||(m[2]=b=>w(o).global.tmpDiff=b)},[Wk,(i(),r(L,null,R(15,b=>t("option",{value:b},h(b)+"\xB0C",9,Hk)),64))],512),[[K,w(o).global.tmpDiff,void 0,{number:!0}]])]),Zk])]),t("div",Jk,[Xk,t("div",Kk,[t("div",Qk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[3]||(m[3]=b=>w(o).global.tmpMax=b)},[tw,(i(),r(L,null,R(20,b=>t("option",{value:b*5},h(b*5)+"\xB0C",9,ew)),64))],512),[[K,w(o).global.tmpMax,void 0,{number:!0}]])]),aw])])]),t("div",ow,[t("table",nw,[iw,t("tbody",null,[(i(!0),r(L,null,R(s.value,(b,_)=>(i(),r("tr",rw,[t("td",sw,[t("b",null,h(b.path),1)]),t("td",dw,[t("b",null,h(b.model),1)]),t("td",uw,[t("b",null,h(b.serial),1)]),t("td",lw,[t("b",null,h(b.sizeStr),1)]),t("td",cw,[t("b",null,h(b.temp),1)]),t("td",pw,[t("b",null,h(b.status),1)]),t("td",fw,[t("b",null,h(b.health),1)]),t("td",mw,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:v=>l(b)},"\u7F16\u8F91",8,bw),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8BE6\u60C5",onClick:v=>d(b)},"\u8BE6\u60C5",8,vw)])]))),256))])])]),t("span",{class:"cbi-page-actions control-group"},[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:"\u4FDD\u5B58\u5E76\u5E94\u7528",onClick:f})])],64))}}),_w={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},hw={class:"table cbi-section-table"},xw=t("thead",null,[t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u7C7B\u578B"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8C03\u5EA6"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u529F\u80FD")])],-1),kw={class:"tr cbi-section-table-row"},ww={class:"td cbi-value-field"},yw={class:"td cbi-value-field"},Fw={class:"td cbi-value-field"},Ew={class:"td cbi-value-field"},Cw=["onClick"],$w=["onClick"],Dw=P({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(e){const a=e,o=it(a.config),n=f=>{switch(f){case"short":return"\u77ED\u6682\u81EA\u68C0";case"long":return"\u957F\u65F6\u81EA\u68C0";case"conveyance":return"\u4F20\u8F93\u65F6\u81EA\u68C0";case"offline":return"\u79BB\u7EBF\u65F6\u81EA\u68C0";default:return"\u672A\u77E5"}},s=()=>{Fk({config:a.config,disks:[],next:f=>T(this,null,function*(){yield a.saveData({tasks:[...o.tasks,f],global:a.config.global,devices:a.config.devices}),o.tasks=a.config.tasks||[]})})},c=f=>T(this,null,function*(){const d=[...o.tasks];d.splice(f,1),yield a.saveData({tasks:d,global:a.config.global,devices:a.config.devices}),o.tasks=a.config.tasks||[]}),p=f=>{Ek({task:f})};return(f,d)=>(i(),r(L,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:d[0]||(d[0]=l=>s())},"\u65B0\u5EFA"),t("div",_w,[t("table",hw,[xw,t("tbody",null,[(i(!0),r(L,null,R(w(o).tasks,(l,u)=>(i(),r("tr",kw,[t("td",ww,[t("b",null,h(l.devicePath),1)]),t("td",yw,[t("b",null,h(n(l.type)),1)]),t("td",Fw,[t("b",null,h(l.month)+"/"+h(l.dayPerMonth)+"/"+h(l.hour),1)]),t("td",Ew,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8C03\u8BD5",onClick:m=>p(l)},"\u9884\u89C8",8,Cw),t("button",{class:"cbi-button cbi-button-remove",title:"\u5220\u9664",onClick:m=>c(u)},"\u5220\u9664",8,$w)])]))),256))])])])],64))}}),Bw={class:"cbi-section"},Yw=["value"],Aw=P({setup(e){return T(this,null,function*(){let a,o;const n=y(""),s=()=>T(this,null,function*(){try{const c=yield S.Smart.Log.GET();if(c.data){const{result:p,error:f}=c.data;p&&p.result&&(n.value=p.result),f&&(n.value=f)}}catch(c){n.value=c}});return[a,o]=Ma(()=>s()),yield a,o(),(c,p)=>(i(),r("fieldset",Bw,[t("textarea",{value:n.value,disabled:""},null,8,Yw)]))})}});var Sw=Y(Aw,[["__scopeId","data-v-76197cba"]]);const zw={},Pw={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"},Tw=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),Iw=[Tw];function Lw(e,a){return i(),r("svg",Pw,Iw)}var Ze=Y(zw,[["render",Lw]]);const xe=e=>(N("data-v-2f7b866f"),e=e(),q(),e),Mw=["onSubmit"],Ow={class:"actioner-dns_header"},Nw={key:0},qw={key:1},Vw={class:"actioner-dns_body"},jw={class:"label-item"},Rw=xe(()=>t("div",{class:"label-item_key"},[t("span",null,"\u540D\u79F0")],-1)),Gw={class:"label-item_value"},Uw={class:"label-item"},Ww=xe(()=>t("div",{class:"label-item_key"},[t("span",null,"\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")],-1)),Hw={class:"label-item_value"},Zw=xe(()=>t("option",{value:"dhcp"},"DHCP\u5BA2\u6237\u7AEF",-1)),Jw={key:0,value:"pppoe"},Xw=xe(()=>t("option",{value:"static"},"\u9759\u6001\u5730\u5740",-1)),Kw={class:"actioner-dns_footer"},Qw=["disabled"],ty=P({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(e){const a=e,o=y(!1),n=y(a.inface),s=()=>T(this,null,function*(){F.Loading("\u914D\u7F6E\u4E2D...").Close(),a.next(n.value),c()}),c=()=>{a.Close&&a.Close()};return(p,f)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[t("form",{class:"actioner-dns",onSubmit:nt(s,["prevent"])},[t("div",Ow,[e.name=="wan"?(i(),r("span",Nw,h(e.e=="edit"?"\u7F16\u8F91WAN":"\u6DFB\u52A0WAN"),1)):(i(),r("span",qw,h(e.e=="edit"?"\u7F16\u8F91LAN":"\u6DFB\u52A0LAN"),1))]),t("div",Vw,[t("div",jw,[Rw,t("div",Gw,[t("span",null,h(n.value.name.toLocaleUpperCase()),1)])]),t("div",Uw,[Ww,t("div",Hw,[z(t("select",{"onUpdate:modelValue":f[0]||(f[0]=d=>n.value.proto=d)},[Zw,e.name=="wan"?(i(),r("option",Jw,"PPPoE")):E("",!0),Xw],512),[[K,n.value.proto]])])])]),t("div",Kw,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:o.value},"\u4FDD\u5B58",8,Qw),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c},"\u53D6\u6D88")])],40,Mw)]),_:1},8,["Close"]))}});var ey=Y(ty,[["__scopeId","data-v-2f7b866f"]]);const Je=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ey,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()}},vt=e=>(N("data-v-589588f0"),e=e(),q(),e),ay={id:"page"},oy=vt(()=>t("h2",{name:"content"}," \u7F51\u53E3\u914D\u7F6E",-1)),ny={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},iy={class:"table cbi-section-table"},ry={width:"200"},sy=vt(()=>t("col",null,null,-1)),dy=vt(()=>t("col",null,null,-1)),uy=vt(()=>t("col",{width:"200"},null,-1)),ly={class:"tr cbi-section-table-cell"},cy={class:"th cbi-section-table-cell interface-device","data-widget":"value"},py={class:"interface-device-flex"},fy=vt(()=>t("th",{style:{width:"10px"}},null,-1)),my=vt(()=>t("th",{style:{width:"32px"}},null,-1)),by=vt(()=>t("th",null,null,-1)),vy={class:"tr cbi-section-table-row cbi-rowstyle-1"},gy={class:"td cbi-value-field interface-device info"},_y=["name","value","onUpdate:modelValue","onInput"],hy=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),xy={class:"td cbi-value-field"},ky={class:"td cbi-value-field btns"},wy=["onClick"],yy=["onClick"],Fy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ey={class:"td cbi-value-field"},Cy=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),$y=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Dy={class:"tr cbi-section-table-row cbi-rowstyle-1"},By={class:"td cbi-value-field interface-device info","data-widget":"value"},Yy=["name","value","onUpdate:modelValue","onInput"],Ay=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Sy={class:"td cbi-value-field"},zy={class:"td cbi-value-field btns"},Py=["onClick"],Ty=["onClick"],Iy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ly={class:"td cbi-value-field"},My=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Oy=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ny={class:"cbi-page-actions control-group"},qy=["disabled"],Vy=P({setup(e){const a=it({devices:[],interfaces:[]}),o=y(!1),n=it({lan:[],wan:[]});(()=>{S.Network.GetInterfaceConfig.GET().then(m=>{if(m.data){const{result:b}=m.data;if(b){a.devices=b.devices||[],a.interfaces=b.interfaces||[];for(let _=0;_{m=="wan"?n.wan.splice(b,1):m=="lan"&&n.lan.splice(b,1)},p=(m,b)=>{if(b==null){let _=m=="wan"?n.wan.length:n.lan.length;_==6&&m=="wan"&&_++,Je({e:"add",name:m,inface:{name:m+`${_}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:m},next:v=>{m=="wan"?n.wan.push(v):n.lan.push(v),F.Message("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570")}})}else Je({e:"edit",name:m,inface:m=="wan"?n.wan[b]:n.lan[b],next:_=>{m=="wan"?n.wan[b]=_:n.lan[b]=_}})},f=(m,b)=>m?m.indexOf(b):-1,d=(m,b)=>{const v=m.target.value;for(let k=0;k{const v=m.target.value;for(let g=0;gT(this,null,function*(){o.value=!0;const m=[];for(let _=0;_(i(),r("div",ay,[oy,t("div",null,[t("div",ny,[t("table",iy,[t("colgroup",null,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("col",ry))),256)),sy,dy,uy]),t("thead",null,[t("tr",ly,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("th",cy,[t("div",py,[B(na,{item:_},null,8,["item"])])]))),256)),fy,my,by])]),t("tbody",null,[(i(!0),r(L,null,R(w(n).lan,(_,v)=>(i(),r("tr",vy,[(i(!0),r(L,null,R(w(a).devices,g=>(i(),r("td",gy,[z(t("input",{type:"checkbox",name:g.name,value:g.name,"onUpdate:modelValue":k=>_.deviceNames=k,onInput:k=>d(k,v)},null,40,_y),[[Lt,_.deviceNames]])]))),256)),hy,t("td",xy,[t("b",null,h(_.name),1)]),t("td",ky,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:g=>p("lan",v)},"\u7F16\u8F91",8,wy),v!=0?(i(),r("button",{key:0,class:"cbi-button cbi-button-remove",onClick:g=>c("lan",v)},"\u5220\u9664 ",8,yy)):E("",!0)])]))),256)),t("tr",Fy,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("td",Ey))),256)),Cy,$y,t("td",{class:"td cbi-value-field btns",onClick:b[0]||(b[0]=_=>p("lan"))},[B(Ze,{class:"icon"})])]),(i(!0),r(L,null,R(w(n).wan,(_,v)=>(i(),r("tr",Dy,[(i(!0),r(L,null,R(w(a).devices,g=>(i(),r("td",By,[z(t("input",{type:"checkbox",name:g.name,value:g.name,"onUpdate:modelValue":k=>_.deviceNames=k,onInput:k=>l(k,v)},null,40,Yy),[[Lt,_.deviceNames]])]))),256)),Ay,t("td",Sy,[t("b",null,h(_.name),1)]),t("td",zy,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:g=>p("wan",v)},"\u7F16\u8F91",8,Py),v!=0?(i(),r("button",{key:0,class:"cbi-button cbi-button-remove",onClick:g=>c("wan",v)},"\u5220\u9664",8,Ty)):E("",!0)])]))),256)),t("tr",Iy,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("td",Ly))),256)),My,Oy,t("td",{class:"td cbi-value-field btns",onClick:b[1]||(b[1]=_=>p("wan"))},[B(Ze,{class:"icon"})])])])])]),t("div",Ny,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:"\u4FDD\u5B58\u5E76\u5E94\u7528",onClick:u,disabled:o.value},null,8,qy)])])]))}});var jy=Y(Vy,[["__scopeId","data-v-589588f0"]]);const Ry=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",_a=Oa({history:Na(Ry()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:e9},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:n9,children:[{path:"",component:q9},{path:"pppoe",component:bb},{path:"dhcp",component:rv},{path:"gateway",component:Hv}]},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:ph},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:hh,children:[{path:"",component:gw},{path:"task",component:Dw},{path:"log",component:Sw}]},{path:"/interfaceconfig",component:jy}]});_a.beforeEach((e,a)=>(e.meta.title,!0));const dt=tt(no);dt.component("svg-menu",po);dt.component("svg-system",_o);dt.component("svg-download",Fo);dt.component("svg-store",So);dt.component("svg-info",Mo);dt.component("svg-disk",un);dt.component("svg-nav",bn);dt.component("progress-item",ta);dt.component("svg-view-show",Mn);dt.component("svg-view-hidden",Rn);dt.component("article-item",Xn);dt.component("switch-box",ea);dt.component("editable-select",Tt);dt.use(aa);dt.use(_a);dt.use(qa());dt.mount("#app")});export default Gy(); +`+n.value,disabled:""},null,8,qx)]),t("div",Vx,[t("div",{class:"close",onClick:d,disabled:o.value},"\u5173\u95ED",8,jx),o.value?E("",!0):(i(),r("div",{key:0,class:"next",onClick:l,disabled:o.value},"\u8FD0\u884C",8,Rx))])])]),_:1}))}});var Ux=Y(Gx,[["__scopeId","data-v-3f7c551e"]]);const qt=e=>(N("data-v-7d3ebf99"),e=e(),q(),e),Wx={class:"actioner-container"},Hx={class:"actioner-container_header"},Zx={class:"tabs"},Jx=qt(()=>t("a",null,"\u8BBE\u5907\u4FE1\u606F",-1)),Xx=[Jx],Kx=qt(()=>t("a",null,"\u5C5E\u6027",-1)),Qx=[Kx],tk=qt(()=>t("a",null,"\u81EA\u68C0\u65E5\u5FD7",-1)),ek=[tk],ak=qt(()=>t("a",null,"\u6269\u5C55\u4FE1\u606F",-1)),ok=[ak],nk={class:"actioner-container_body"},ik={key:0,class:"table"},rk={class:"tr"},sk=qt(()=>t("td",{class:"td left"},"\u8BBE\u5907",-1)),dk={class:"td left"},uk={class:"tr"},lk=qt(()=>t("td",{class:"td left"},"\u578B\u53F7",-1)),ck={class:"td left"},pk={class:"tr"},fk=qt(()=>t("td",{class:"td left"},"\u5E8F\u53F7",-1)),mk={class:"td left"},bk=["value"],vk=["value"],gk=["value"],_k={class:"actioner-container_footer"},hk=["disabled"],xk=P({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(e){const a=e,o=y(!1),n=y("info"),s=u=>{switch(n.value=u,u){case"info":break;case"attribute":d();break;case"log":f();break;case"extend":l();break}},c=()=>{o.value=!0,a.close()},p=it({log:"",attribute:"",extend:""}),f=()=>T(this,null,function*(){try{const u=yield S.Smart.Test.Result.POST({type:"selftest",devicePath:a.disk.path||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(p.log=m.result),b&&(p.log=b)}}catch(u){p.log=u}}),d=()=>T(this,null,function*(){try{const u=yield S.Smart.Attribute.Result.POST({devicePath:a.disk.path||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(p.attribute=m.result),b&&(p.attribute=b)}}catch(u){p.attribute=u}}),l=()=>T(this,null,function*(){try{const u=yield S.Smart.Extend.Result.POST({devicePath:a.disk.path||""});if(u.data){const{result:m,error:b}=u.data;m&&m.result&&(p.extend=m.result),b&&(p.extend=b)}}catch(u){p.extend=u}});return(u,m)=>(i(),M(he,null,{default:V(()=>[t("div",Wx,[t("div",Hx,[t("ul",Zx,[t("li",{class:ot({"active cbi-tab":n.value=="info"}),onClick:m[0]||(m[0]=b=>s("info"))},Xx,2),t("li",{class:ot({"active cbi-tab":n.value=="attribute"}),onClick:m[1]||(m[1]=b=>s("attribute"))},Qx,2),t("li",{class:ot({"active cbi-tab":n.value=="log"}),onClick:m[2]||(m[2]=b=>s("log"))},ek,2),t("li",{class:ot({"active cbi-tab":n.value=="extend"}),onClick:m[3]||(m[3]=b=>s("extend"))},ok,2)])]),t("div",nk,[n.value=="info"?(i(),r("table",ik,[t("tr",rk,[sk,t("td",dk,h(e.disk.path),1)]),t("tr",uk,[lk,t("td",ck,h(e.disk.model),1)]),t("tr",pk,[fk,t("td",mk,h(e.disk.serial),1)])])):n.value=="attribute"?(i(),r("textarea",{key:1,disabled:"",value:w(p).attribute},null,8,bk)):n.value=="log"?(i(),r("textarea",{key:2,disabled:"",value:w(p).log},null,8,vk)):n.value=="extend"?(i(),r("textarea",{key:3,disabled:"",value:w(p).extend},null,8,gk)):E("",!0)]),t("div",_k,[t("div",{class:"close",onClick:c,disabled:o.value},"\u5173\u95ED",8,hk)])])]),_:1}))}});var kk=Y(xk,[["__scopeId","data-v-7d3ebf99"]]);const wk=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(Wh,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},yk=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(Ix,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Fk=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(Ux,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Ek=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=B(kk,at(J({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Ck={class:"cbi-section"},$k={class:"cbi-value"},Dk=t("label",{class:"cbi-value-title"}," \u542F\u7528 ",-1),Bk={class:"cbi-value-field"},Yk={class:"cbi-checkbox"},Ak=["value"],Sk={class:"cbi-value"},zk=t("label",{class:"cbi-value-title"}," \u7535\u6E90\u6A21\u5F0F ",-1),Pk={class:"cbi-value-field"},Tk={class:"cbi-checkbox"},Ik=t("option",{value:"never"},"\u6C38\u4E0D",-1),Lk=t("option",{value:"sleep"},"\u7761\u7720",-1),Mk=t("option",{value:"standby"},"\u5F85\u673A",-1),Ok=t("option",{value:"idle"},"\u95F2\u7F6E",-1),Nk=[Ik,Lk,Mk,Ok],qk=t("div",{class:"cbi-value-description"},[t("span",null," \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"),t("br"),t("span",null,".\u6C38\u8FDC-\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"),t("br"),t("span",null,".\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002"),t("br"),t("span",null,".\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"),t("br"),t("span",null,".\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),Vk={class:"cbi-value"},jk=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09 ",-1),Rk={class:"cbi-value-field"},Gk={class:"cbi-checkbox"},Uk=t("option",{value:0},"\u7981\u7528",-1),Wk=["value"],Hk=t("div",{class:"cbi-value-description"}," \u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A. ",-1),Zk={class:"cbi-value"},Jk=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09 ",-1),Xk={class:"cbi-value-field"},Kk={class:"cbi-checkbox"},Qk=t("option",{value:0},"\u7981\u7528",-1),tw=["value"],ew=t("div",{class:"cbi-value-description"}," \u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A. ",-1),aw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},ow={class:"table cbi-section-table"},nw=t("thead",null,[t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u578B\u53F7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5E8F\u53F7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5BB9\u91CF"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6E29\u5EA6"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u72B6\u6001"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5065\u5EB7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u64CD\u4F5C")])],-1),iw={class:"tr cbi-section-table-row"},rw={class:"td cbi-value-field"},sw={class:"td cbi-value-field"},dw={class:"td cbi-value-field"},uw={class:"td cbi-value-field"},lw={class:"td cbi-value-field"},cw={class:"td cbi-value-field"},pw={class:"td cbi-value-field"},fw={class:"td cbi-value-field"},mw=["onClick"],bw=["onClick"],vw=P({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(e){const a=e,o=it(a.config),n=()=>{o.global.tmpDiff=a.config.global.tmpDiff||0,o.global.tmpMax=a.config.global.tmpMax||0,o.global.enable=a.config.global.enable||!1,o.global.powermode=a.config.global.powermode||"never",o.devices=a.config.devices||[],o.tasks=a.config.tasks||[]},s=y([]),c=()=>T(this,null,function*(){try{const u=yield S.Smart.List.GET();if(u.data){const{result:m,error:b}=u.data;m&&m.disks&&(s.value=m.disks||[])}}catch(u){}}),p=yt.easyInterval(c,5e3);Fe(()=>{p()});const f=()=>T(this,null,function*(){yield a.saveData({global:o.global,devices:a.config.devices,tasks:a.config.tasks}),n()}),d=u=>{Ek({disk:u})},l=(u,m)=>T(this,null,function*(){let b=null,_=-1;if(o.devices){for(let v=0;vT(this,null,function*(){v.tmpDiff==-1&&(v.tmpDiff=o.global.tmpDiff),v.tmpMax==-1&&(v.tmpMax=o.global.tmpMax),v.devicePath==""&&(v.devicePath=u.path);let g=[...o.devices];_>=0&&(g[_]=v);const k=new Map;g.forEach(x=>{x.devicePath!=null&&k.set(x.devicePath,null)});for(let x=0;x(i(),r(L,null,[t("fieldset",Ck,[t("div",$k,[Dk,t("div",Bk,[t("div",Yk,[z(t("input",{type:"checkbox","onUpdate:modelValue":m[0]||(m[0]=b=>w(o).global.enable=b),value:!w(o).global.enable},null,8,Ak),[[Lt,w(o).global.enable]])])])]),t("div",Sk,[zk,t("div",Pk,[t("div",Tk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[1]||(m[1]=b=>w(o).global.powermode=b)},Nk,512),[[K,w(o).global.powermode,void 0,{trim:!0}]])]),qk])]),t("div",Vk,[jk,t("div",Rk,[t("div",Gk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[2]||(m[2]=b=>w(o).global.tmpDiff=b)},[Uk,(i(),r(L,null,R(15,b=>t("option",{value:b},h(b)+"\xB0C",9,Wk)),64))],512),[[K,w(o).global.tmpDiff,void 0,{number:!0}]])]),Hk])]),t("div",Zk,[Jk,t("div",Xk,[t("div",Kk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[3]||(m[3]=b=>w(o).global.tmpMax=b)},[Qk,(i(),r(L,null,R(20,b=>t("option",{value:b*5},h(b*5)+"\xB0C",9,tw)),64))],512),[[K,w(o).global.tmpMax,void 0,{number:!0}]])]),ew])])]),t("div",aw,[t("table",ow,[nw,t("tbody",null,[(i(!0),r(L,null,R(s.value,(b,_)=>(i(),r("tr",iw,[t("td",rw,[t("b",null,h(b.path),1)]),t("td",sw,[t("b",null,h(b.model),1)]),t("td",dw,[t("b",null,h(b.serial),1)]),t("td",uw,[t("b",null,h(b.sizeStr),1)]),t("td",lw,[t("b",null,h(b.temp),1)]),t("td",cw,[t("b",null,h(b.status),1)]),t("td",pw,[t("b",null,h(b.health),1)]),t("td",fw,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:v=>l(b)},"\u7F16\u8F91",8,mw),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8BE6\u60C5",onClick:v=>d(b)},"\u8BE6\u60C5",8,bw)])]))),256))])])]),t("span",{class:"cbi-page-actions control-group"},[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:"\u4FDD\u5B58\u5E76\u5E94\u7528",onClick:f})])],64))}}),gw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},_w={class:"table cbi-section-table"},hw=t("thead",null,[t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u7C7B\u578B"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8C03\u5EA6"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u529F\u80FD")])],-1),xw={class:"tr cbi-section-table-row"},kw={class:"td cbi-value-field"},ww={class:"td cbi-value-field"},yw={class:"td cbi-value-field"},Fw={class:"td cbi-value-field"},Ew=["onClick"],Cw=["onClick"],$w=P({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(e){const a=e,o=it(a.config),n=f=>{switch(f){case"short":return"\u77ED\u6682\u81EA\u68C0";case"long":return"\u957F\u65F6\u81EA\u68C0";case"conveyance":return"\u4F20\u8F93\u65F6\u81EA\u68C0";case"offline":return"\u79BB\u7EBF\u65F6\u81EA\u68C0";default:return"\u672A\u77E5"}},s=()=>{yk({config:a.config,disks:[],next:f=>T(this,null,function*(){yield a.saveData({tasks:[...o.tasks,f],global:a.config.global,devices:a.config.devices}),o.tasks=a.config.tasks||[]})})},c=f=>T(this,null,function*(){const d=[...o.tasks];d.splice(f,1),yield a.saveData({tasks:d,global:a.config.global,devices:a.config.devices}),o.tasks=a.config.tasks||[]}),p=f=>{Fk({task:f})};return(f,d)=>(i(),r(L,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:d[0]||(d[0]=l=>s())},"\u65B0\u5EFA"),t("div",gw,[t("table",_w,[hw,t("tbody",null,[(i(!0),r(L,null,R(w(o).tasks,(l,u)=>(i(),r("tr",xw,[t("td",kw,[t("b",null,h(l.devicePath),1)]),t("td",ww,[t("b",null,h(n(l.type)),1)]),t("td",yw,[t("b",null,h(l.month)+"/"+h(l.dayPerMonth)+"/"+h(l.hour),1)]),t("td",Fw,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8C03\u8BD5",onClick:m=>p(l)},"\u9884\u89C8",8,Ew),t("button",{class:"cbi-button cbi-button-remove",title:"\u5220\u9664",onClick:m=>c(u)},"\u5220\u9664",8,Cw)])]))),256))])])])],64))}}),Dw={class:"cbi-section"},Bw=["value"],Yw=P({setup(e){return T(this,null,function*(){let a,o;const n=y(""),s=()=>T(this,null,function*(){try{const c=yield S.Smart.Log.GET();if(c.data){const{result:p,error:f}=c.data;p&&p.result&&(n.value=p.result),f&&(n.value=f)}}catch(c){n.value=c}});return[a,o]=Ma(()=>s()),yield a,o(),(c,p)=>(i(),r("fieldset",Dw,[t("textarea",{value:n.value,disabled:""},null,8,Bw)]))})}});var Aw=Y(Yw,[["__scopeId","data-v-76197cba"]]);const Sw={},zw={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"},Pw=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),Tw=[Pw];function Iw(e,a){return i(),r("svg",zw,Tw)}var Ze=Y(Sw,[["render",Iw]]);const xe=e=>(N("data-v-2f7b866f"),e=e(),q(),e),Lw=["onSubmit"],Mw={class:"actioner-dns_header"},Ow={key:0},Nw={key:1},qw={class:"actioner-dns_body"},Vw={class:"label-item"},jw=xe(()=>t("div",{class:"label-item_key"},[t("span",null,"\u540D\u79F0")],-1)),Rw={class:"label-item_value"},Gw={class:"label-item"},Uw=xe(()=>t("div",{class:"label-item_key"},[t("span",null,"\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")],-1)),Ww={class:"label-item_value"},Hw=xe(()=>t("option",{value:"dhcp"},"DHCP\u5BA2\u6237\u7AEF",-1)),Zw={key:0,value:"pppoe"},Jw=xe(()=>t("option",{value:"static"},"\u9759\u6001\u5730\u5740",-1)),Xw={class:"actioner-dns_footer"},Kw=["disabled"],Qw=P({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(e){const a=e,o=y(!1),n=y(a.inface),s=()=>T(this,null,function*(){F.Loading("\u914D\u7F6E\u4E2D...").Close(),a.next(n.value),c()}),c=()=>{a.Close&&a.Close()};return(p,f)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[t("form",{class:"actioner-dns",onSubmit:nt(s,["prevent"])},[t("div",Mw,[e.name=="wan"?(i(),r("span",Ow,h(e.e=="edit"?"\u7F16\u8F91WAN":"\u6DFB\u52A0WAN"),1)):(i(),r("span",Nw,h(e.e=="edit"?"\u7F16\u8F91LAN":"\u6DFB\u52A0LAN"),1))]),t("div",qw,[t("div",Vw,[jw,t("div",Rw,[t("span",null,h(n.value.name.toLocaleUpperCase()),1)])]),t("div",Gw,[Uw,t("div",Ww,[z(t("select",{"onUpdate:modelValue":f[0]||(f[0]=d=>n.value.proto=d)},[Hw,e.name=="wan"?(i(),r("option",Zw,"PPPoE")):E("",!0),Jw],512),[[K,n.value.proto]])])])]),t("div",Xw,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:o.value},"\u4FDD\u5B58",8,Kw),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c},"\u53D6\u6D88")])],40,Lw)]),_:1},8,["Close"]))}});var ty=Y(Qw,[["__scopeId","data-v-2f7b866f"]]);const Je=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ty,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()}},vt=e=>(N("data-v-589588f0"),e=e(),q(),e),ey={id:"page"},ay=vt(()=>t("h2",{name:"content"}," \u7F51\u53E3\u914D\u7F6E",-1)),oy={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},ny={class:"table cbi-section-table"},iy={width:"200"},ry=vt(()=>t("col",null,null,-1)),sy=vt(()=>t("col",null,null,-1)),dy=vt(()=>t("col",{width:"200"},null,-1)),uy={class:"tr cbi-section-table-cell"},ly={class:"th cbi-section-table-cell interface-device","data-widget":"value"},cy={class:"interface-device-flex"},py=vt(()=>t("th",{style:{width:"10px"}},null,-1)),fy=vt(()=>t("th",{style:{width:"32px"}},null,-1)),my=vt(()=>t("th",null,null,-1)),by={class:"tr cbi-section-table-row cbi-rowstyle-1"},vy={class:"td cbi-value-field interface-device info"},gy=["name","value","onUpdate:modelValue","onInput"],_y=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),hy={class:"td cbi-value-field"},xy={class:"td cbi-value-field btns"},ky=["onClick"],wy=["onClick"],yy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Fy={class:"td cbi-value-field"},Ey=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Cy=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),$y={class:"tr cbi-section-table-row cbi-rowstyle-1"},Dy={class:"td cbi-value-field interface-device info","data-widget":"value"},By=["name","value","onUpdate:modelValue","onInput"],Yy=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ay={class:"td cbi-value-field"},Sy={class:"td cbi-value-field btns"},zy=["onClick"],Py=["onClick"],Ty={class:"tr cbi-section-table-row cbi-rowstyle-1"},Iy={class:"td cbi-value-field"},Ly=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),My=vt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Oy={class:"cbi-page-actions control-group"},Ny=["disabled"],qy=P({setup(e){const a=it({devices:[],interfaces:[]}),o=y(!1),n=it({lan:[],wan:[]});(()=>{S.Network.GetInterfaceConfig.GET().then(m=>{if(m.data){const{result:b}=m.data;if(b){a.devices=b.devices||[],a.interfaces=b.interfaces||[];for(let _=0;_{m=="wan"?n.wan.splice(b,1):m=="lan"&&n.lan.splice(b,1)},p=(m,b)=>{if(b==null){let _=m=="wan"?n.wan.length:n.lan.length;_==6&&m=="wan"&&_++,Je({e:"add",name:m,inface:{name:m+`${_}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:m},next:v=>{m=="wan"?n.wan.push(v):n.lan.push(v),F.Message("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570")}})}else Je({e:"edit",name:m,inface:m=="wan"?n.wan[b]:n.lan[b],next:_=>{m=="wan"?n.wan[b]=_:n.lan[b]=_}})},f=(m,b)=>m?m.indexOf(b):-1,d=(m,b)=>{const v=m.target.value;for(let k=0;k{const v=m.target.value;for(let g=0;gT(this,null,function*(){o.value=!0;const m=[];for(let _=0;_(i(),r("div",ey,[ay,t("div",null,[t("div",oy,[t("table",ny,[t("colgroup",null,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("col",iy))),256)),ry,sy,dy]),t("thead",null,[t("tr",uy,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("th",ly,[t("div",cy,[B(na,{item:_},null,8,["item"])])]))),256)),py,fy,my])]),t("tbody",null,[(i(!0),r(L,null,R(w(n).lan,(_,v)=>(i(),r("tr",by,[(i(!0),r(L,null,R(w(a).devices,g=>(i(),r("td",vy,[z(t("input",{type:"checkbox",name:g.name,value:g.name,"onUpdate:modelValue":k=>_.deviceNames=k,onInput:k=>d(k,v)},null,40,gy),[[Lt,_.deviceNames]])]))),256)),_y,t("td",hy,[t("b",null,h(_.name),1)]),t("td",xy,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:g=>p("lan",v)},"\u7F16\u8F91",8,ky),v!=0?(i(),r("button",{key:0,class:"cbi-button cbi-button-remove",onClick:g=>c("lan",v)},"\u5220\u9664 ",8,wy)):E("",!0)])]))),256)),t("tr",yy,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("td",Fy))),256)),Ey,Cy,t("td",{class:"td cbi-value-field btns",onClick:b[0]||(b[0]=_=>p("lan"))},[B(Ze,{class:"icon"})])]),(i(!0),r(L,null,R(w(n).wan,(_,v)=>(i(),r("tr",$y,[(i(!0),r(L,null,R(w(a).devices,g=>(i(),r("td",Dy,[z(t("input",{type:"checkbox",name:g.name,value:g.name,"onUpdate:modelValue":k=>_.deviceNames=k,onInput:k=>l(k,v)},null,40,By),[[Lt,_.deviceNames]])]))),256)),Yy,t("td",Ay,[t("b",null,h(_.name),1)]),t("td",Sy,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:g=>p("wan",v)},"\u7F16\u8F91",8,zy),v!=0?(i(),r("button",{key:0,class:"cbi-button cbi-button-remove",onClick:g=>c("wan",v)},"\u5220\u9664",8,Py)):E("",!0)])]))),256)),t("tr",Ty,[(i(!0),r(L,null,R(w(a).devices,_=>(i(),r("td",Iy))),256)),Ly,My,t("td",{class:"td cbi-value-field btns",onClick:b[1]||(b[1]=_=>p("wan"))},[B(Ze,{class:"icon"})])])])])]),t("div",Oy,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:"\u4FDD\u5B58\u5E76\u5E94\u7528",onClick:u,disabled:o.value},null,8,Ny)])])]))}});var Vy=Y(qy,[["__scopeId","data-v-589588f0"]]);const jy=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",_a=Oa({history:Na(jy()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:t9},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:o9,children:[{path:"",component:N9},{path:"pppoe",component:mb},{path:"dhcp",component:iv},{path:"gateway",component:Wv}]},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:ch},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:_h,children:[{path:"",component:vw},{path:"task",component:$w},{path:"log",component:Aw}]},{path:"/interfaceconfig",component:Vy}]});_a.beforeEach((e,a)=>(e.meta.title,!0));const dt=tt(no);dt.component("svg-menu",po);dt.component("svg-system",_o);dt.component("svg-download",Fo);dt.component("svg-store",So);dt.component("svg-info",Mo);dt.component("svg-disk",un);dt.component("svg-nav",bn);dt.component("progress-item",ta);dt.component("svg-view-show",Mn);dt.component("svg-view-hidden",Rn);dt.component("article-item",Xn);dt.component("switch-box",ea);dt.component("editable-select",Tt);dt.use(aa);dt.use(_a);dt.use(qa());dt.mount("#app")});export default Ry(); diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/style.css b/luci-app-quickstart/htdocs/luci-static/quickstart/style.css index ea4d58393..1efcada69 100644 --- a/luci-app-quickstart/htdocs/luci-static/quickstart/style.css +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/style.css @@ -1 +1 @@ -@keyframes bganimation-57f1326f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-57f1326f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-57f1326f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-57f1326f]{animation:rotateEnter-57f1326f .7s;position:relative}.rotate-leave-active[data-v-57f1326f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-57f1326f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-57f1326f]{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-57f1326f]: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}@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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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-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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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-20f08566{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-20f08566{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-20f08566{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-20f08566]{animation:rotateEnter-20f08566 .7s;position:relative}.rotate-leave-active[data-v-20f08566]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-20f08566]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-20f08566]{cursor:pointer;display:flex!important;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-20f08566]{display:none!important}label.checkbox_switch .checkbox_switch_on[data-v-20f08566],label.checkbox_switch .checkbox_switch_off[data-v-20f08566]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-20f08566]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-20f08566]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-20f08566]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-20f08566]{display:none!important}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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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-169d5b59{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169d5b59{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169d5b59{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169d5b59]{animation:rotateEnter-169d5b59 .7s;position:relative}.rotate-leave-active[data-v-169d5b59]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169d5b59]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-169d5b59]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-169d5b59],.select-editable input[data-v-169d5b59]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-169d5b59]{position:relative;width:100%}.select-editable input[data-v-169d5b59]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-169d5b59]:focus,.select-editable input[data-v-169d5b59]:focus{outline:none;box-shadow:none}@keyframes bganimation-0a8a31e2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0a8a31e2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0a8a31e2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0a8a31e2]{animation:rotateEnter-0a8a31e2 .7s;position:relative}.rotate-leave-active[data-v-0a8a31e2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0a8a31e2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-0a8a31e2{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.loading[data-v-0a8a31e2]{animation:turn-0a8a31e2 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.loading svg[data-v-0a8a31e2]{width:100%;height:100%}.loading svg path[data-v-0a8a31e2]{fill:#fff}@keyframes bganimation-652b014f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-652b014f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-652b014f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-652b014f]{animation:rotateEnter-652b014f .7s;position:relative}.rotate-leave-active[data-v-652b014f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-652b014f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-652b014f]{position:relative}.flow .echart[data-v-652b014f]{width:100%;height:100%}.flow .flow-data[data-v-652b014f]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-652b014f]{display:block;color:#0009;font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-428d873e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-428d873e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-428d873e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-428d873e]{animation:rotateEnter-428d873e .7s;position:relative}.rotate-leave-active[data-v-428d873e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-428d873e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-428d873e]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-428d873e]{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-428d873e],#actioner[data-v-428d873e] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-428d873e]{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-428d873e]{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-428d873e]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-428d873e]{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-428d873e] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-428d873e] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-428d873e]:hover{opacity:.9}.action-container .action-container_body[data-v-428d873e]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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}.actioner-dns[data-v-c4cdcce6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-c4cdcce6]{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-c4cdcce6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-c4cdcce6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-c4cdcce6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c4cdcce6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c4cdcce6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-c4cdcce6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-c4cdcce6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-c4cdcce6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-c4cdcce6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-c4cdcce6]{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-c4cdcce6]{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-c4cdcce6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-c4cdcce6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c4cdcce6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c4cdcce6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c4cdcce6]{animation:rotateEnter-c4cdcce6 .7s;position:relative}.rotate-leave-active[data-v-c4cdcce6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c4cdcce6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-c4cdcce6]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-c4cdcce6]{width:100%}}.action[data-v-0ae97e7e]{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-0ae97e7e]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-0ae97e7e]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-0ae97e7e]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-0ae97e7e]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-0ae97e7e]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0ae97e7e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ae97e7e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ae97e7e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ae97e7e]{animation:rotateEnter-0ae97e7e .7s;position:relative}.rotate-leave-active[data-v-0ae97e7e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ae97e7e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@keyframes bganimation-39248365{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-39248365{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-39248365{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-39248365]{animation:rotateEnter-39248365 .7s;position:relative}.rotate-leave-active[data-v-39248365]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-39248365]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-39248365]{flex:0 0 230px;width:230px;height:80px;display:flex;background:#f3f3f3;align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-39248365]{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-39248365]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-39248365]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-39248365]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-39248365]{font-weight:700;font-size:14px}@keyframes bganimation-3470ca08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3470ca08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3470ca08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3470ca08]{animation:rotateEnter-3470ca08 .7s;position:relative}.rotate-leave-active[data-v-3470ca08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3470ca08]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-3470ca08]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-3470ca08]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-3470ca08]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-3470ca08]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-3470ca08]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-3470ca08]:hover{opacity:1;transition:.3s}.actioner-dns[data-v-1e29113c]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-1e29113c]{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-1e29113c]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-1e29113c]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-1e29113c]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1e29113c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1e29113c]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-1e29113c]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-1e29113c],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-1e29113c]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-1e29113c]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-1e29113c]{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-1e29113c]{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-1e29113c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-1e29113c]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-1e29113c]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-1e29113c]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-1e29113c]:focus,.actioner-dns .select-editable input[data-v-1e29113c]:focus{outline:none}.actioner-dns[data-v-1e29113c] ::placeholder{color:#999}.successed[data-v-1e29113c]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-1e29113c]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-1e29113c]{text-align:center}.docker_moves .moves[data-v-1e29113c]{margin-top:10px}.docker_moves .moves input[data-v-1e29113c]{cursor:pointer}.docker_moves .moves label[data-v-1e29113c]{margin-left:10px;cursor:pointer}.btns[data-v-1e29113c]{text-align:center}.item_info[data-v-1e29113c]{margin-left:10px}.softsource_tit[data-v-1e29113c]{margin:0 auto}.softsource_successed[data-v-1e29113c]{width:20%!important}@keyframes bganimation-1e29113c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e29113c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e29113c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e29113c]{animation:rotateEnter-1e29113c .7s;position:relative}.rotate-leave-active[data-v-1e29113c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e29113c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-1e29113c]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-1e29113c]{width:100%}}@keyframes bganimation-aa15207e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aa15207e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-aa15207e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-aa15207e]{animation:rotateEnter-aa15207e .7s;position:relative}.rotate-leave-active[data-v-aa15207e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aa15207e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}em[data-v-aa15207e]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-aa15207e]{width:100%;background-color:#fff;padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-aa15207e]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-aa15207e]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-aa15207e]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-aa15207e]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-aa15207e]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-aa15207e]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-aa15207e]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-aa15207e]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-aa15207e]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-aa15207e]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-aa15207e]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-aa15207e]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-aa15207e]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-aa15207e]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-aa15207e]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-aa15207e]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-aa15207e]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-aa15207e]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-aa15207e]{display:block;color:#000;margin:10px 0 8px}.app-container_status-container_body[data-v-aa15207e]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-aa15207e]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-aa15207e]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-aa15207e]{width:50px;height:50px}.app-container_status-container_body span[data-v-aa15207e]{width:100%;margin:5px 0}.menu_background[data-v-aa15207e]{position:fixed;inset:0}.app-container_body[data-v-aa15207e]{width:100%}.network-container[data-v-78a4e41a]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-78a4e41a]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-78a4e41a]{border-radius:6px;overflow:hidden;position:relative;background-color:#fff;box-shadow:0 0 10px 1px #373f6924}.network-container .network-container_status[data-v-78a4e41a]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-78a4e41a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-78a4e41a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-78a4e41a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-78a4e41a]{animation:rotateEnter-78a4e41a .7s;position:relative}.rotate-leave-active[data-v-78a4e41a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-78a4e41a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-78a4e41a]{width:100%}.network-container .network-container_flow[data-v-78a4e41a]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-78a4e41a]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-3a0bca4c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3a0bca4c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3a0bca4c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3a0bca4c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3a0bca4c]{animation:rotateEnter-3a0bca4c .7s;position:relative}.rotate-leave-active[data-v-3a0bca4c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3a0bca4c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-3a0bca4c]{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-3a0bca4c]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-3a0bca4c]{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-3a0bca4c]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-3a0bca4c]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-3a0bca4c]{flex:auto}.action.format .disk-list[data-v-3a0bca4c]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-3a0bca4c]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-3a0bca4c]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-3a0bca4c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-3a0bca4c]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-3a0bca4c]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-3a0bca4c],.action.format .label-item .label-item_value input[data-v-3a0bca4c]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-3a0bca4c]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-3a0bca4c]{flex:auto}.action.format p.msg[data-v-3a0bca4c]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-3a0bca4c]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-3a0bca4c]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-3a0bca4c]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-3a0bca4c]{margin:1rem 0;font-size:1.5em;color:#333}.action.result[data-v-3a0bca4c]{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-3a0bca4c]{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-3a0bca4c]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-3a0bca4c]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-3a0bca4c]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-3a0bca4c]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-3a0bca4c]{color:#0000fb}.action.result .btns[data-v-3a0bca4c]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3a0bca4c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3a0bca4c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3a0bca4c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3a0bca4c]{animation:rotateEnter-3a0bca4c .7s;position:relative}.rotate-leave-active[data-v-3a0bca4c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3a0bca4c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-3a0bca4c]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-3a0bca4c]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-3a0bca4c]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-3a0bca4c]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-3a0bca4c]{width:100%}}.action .action-footer button[data-v-61e01d51]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-61e01d51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-61e01d51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-61e01d51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-61e01d51]{animation:rotateEnter-61e01d51 .7s;position:relative}.rotate-leave-active[data-v-61e01d51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-61e01d51]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-61e01d51]{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-61e01d51]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-61e01d51]{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-61e01d51]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-61e01d51]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-61e01d51]{flex:auto}.action.format .disk-list[data-v-61e01d51]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-61e01d51]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-61e01d51]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-61e01d51]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-61e01d51]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-61e01d51]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-61e01d51],.action.format .label-item .label-item_value input[data-v-61e01d51]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-61e01d51]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-61e01d51]{flex:auto}.action.format p.msg[data-v-61e01d51]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-61e01d51]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-61e01d51]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-61e01d51]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-61e01d51]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-61e01d51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-61e01d51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-61e01d51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-61e01d51]{animation:rotateEnter-61e01d51 .7s;position:relative}.rotate-leave-active[data-v-61e01d51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-61e01d51]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-61e01d51]{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-61e01d51]{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-61e01d51]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-61e01d51]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-61e01d51]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-61e01d51]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-61e01d51]{color:#0000fb}.action.result .btns[data-v-61e01d51]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-31be4af0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31be4af0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31be4af0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31be4af0]{animation:rotateEnter-31be4af0 .7s;position:relative}.rotate-leave-active[data-v-31be4af0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31be4af0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-31be4af0]{color:red}.disk-content[data-v-31be4af0]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-31be4af0]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-31be4af0]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .disk_value[data-v-31be4af0]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-31be4af0]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-31be4af0]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .value-data[data-v-31be4af0]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-31be4af0]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-31be4af0]:hover{opacity:.7}.disk-content li.disk-item .disk_value .disk-item_value .value-data.buttondiv[data-v-31be4af0]{cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-31be4af0]{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-31be4af0]: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-31be4af0]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-31be4af0]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-31be4af0]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-31be4af0]{display:flex;align-items:center}.disk_infoicon[data-v-31be4af0]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-31be4af0]{flex:none}.tooltip-trigger[data-v-31be4af0]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-31be4af0]{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-31be4af0]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-31be4af0]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-31be4af0]{visibility:visible;opacity:1}.tooltip-top[data-v-31be4af0]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-31be4af0]: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-31be4af0]: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-31be4af0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31be4af0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31be4af0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31be4af0]{animation:rotateEnter-31be4af0 .7s;position:relative}.rotate-leave-active[data-v-31be4af0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31be4af0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-31be4af0]{display:block}.disk-content .disk_status[data-v-31be4af0]{flex-wrap:wrap}}.action[data-v-5fa713aa]{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-5fa713aa]{overflow:auto}.action ul .app-container_info[data-v-5fa713aa]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-5fa713aa]{width:100%;height:100%}.action .action-footer[data-v-5fa713aa]{text-align:center;margin-top:46px}.action .action-footer button[data-v-5fa713aa]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5fa713aa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5fa713aa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5fa713aa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5fa713aa]{animation:rotateEnter-5fa713aa .7s;position:relative}.rotate-leave-active[data-v-5fa713aa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5fa713aa]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-5fa713aa]{width:160%}}@media screen and (max-width: 800px){.action[data-v-5fa713aa]{width:138%}}@media screen and (max-width: 700px){.action[data-v-5fa713aa]{width:132%}}@media screen and (max-width: 600px){.action[data-v-5fa713aa]{width:116%}}@media screen and (max-width: 500px){.action[data-v-5fa713aa]{width:100%}}@media screen and (max-width: 400px){.action[data-v-5fa713aa]{width:90%}}@media screen and (max-width: 300px){.action[data-v-5fa713aa]{width:100%}}@keyframes bganimation-eb0dbbd8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-eb0dbbd8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-eb0dbbd8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-eb0dbbd8]{animation:rotateEnter-eb0dbbd8 .7s;position:relative}.rotate-leave-active[data-v-eb0dbbd8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-eb0dbbd8]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-eb0dbbd8]{color:red}li.disk-item[data-v-eb0dbbd8]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-eb0dbbd8]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-eb0dbbd8]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-eb0dbbd8]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-eb0dbbd8]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-eb0dbbd8]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-eb0dbbd8]{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-eb0dbbd8]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-eb0dbbd8]{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}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-eb0dbbd8]: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-eb0dbbd8]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-eb0dbbd8]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-eb0dbbd8]{flex:none;cursor:help}.tooltip-trigger[data-v-eb0dbbd8]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-eb0dbbd8]{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-eb0dbbd8]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-eb0dbbd8]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-eb0dbbd8]{visibility:visible;opacity:1}.tooltip-top[data-v-eb0dbbd8]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-eb0dbbd8]: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-eb0dbbd8]: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-4a49a4e4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a49a4e4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a49a4e4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a49a4e4]{animation:rotateEnter-4a49a4e4 .7s;position:relative}.rotate-leave-active[data-v-4a49a4e4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a49a4e4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-4a49a4e4]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-4a49a4e4]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-4a49a4e4]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-4a49a4e4]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-4a49a4e4] svg path{fill:#553afe}.app-container ul .app-container_title .DeviceBlock[data-v-4a49a4e4]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-4a49a4e4]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-4a49a4e4]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-4a49a4e4]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-4a49a4e4]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-4a49a4e4]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-4a49a4e4]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-4a49a4e4]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-4a49a4e4] svg path{fill:#553afe}.app-container ul .disk_loading_icon[data-v-4a49a4e4]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-4a49a4e4]{margin-top:5px}.refresh[data-v-4a49a4e4]{margin-left:20px}.app-container_info[data-v-4a49a4e4]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-4a49a4e4]{width:100%;height:100%}.menu_background[data-v-4a49a4e4]{position:fixed;inset:0}@keyframes bganimation-13ca629c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-13ca629c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-13ca629c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-13ca629c]{animation:rotateEnter-13ca629c .7s;position:relative}.rotate-leave-active[data-v-13ca629c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-13ca629c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-13ca629c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-13ca629c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-13ca629c]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-13ca629c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-13ca629c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-13ca629c]{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-13ca629c]{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-13ca629c]:hover{opacity:.7}.tit[data-v-13ca629c]{color:#1e1e1e;font-weight:700;font-size:16px}@keyframes bganimation-b4608492{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b4608492{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b4608492{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b4608492]{animation:rotateEnter-b4608492 .7s;position:relative}.rotate-leave-active[data-v-b4608492]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b4608492]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-b4608492]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-b4608492]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-b4608492]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-4a3b6e0a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a3b6e0a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a3b6e0a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a3b6e0a]{animation:rotateEnter-4a3b6e0a .7s;position:relative}.rotate-leave-active[data-v-4a3b6e0a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a3b6e0a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-4a3b6e0a]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-4a3b6e0a]{flex:auto}ul.disk-item .disk-item_icon[data-v-4a3b6e0a]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-4a3b6e0a]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-4a3b6e0a]{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-4a3b6e0a]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-4a3b6e0a]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-4a3b6e0a]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-4a3b6e0a],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-4a3b6e0a]{width:100%}ul.disk-item li.disk-info.on[data-v-4a3b6e0a]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-4a3b6e0a]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-4a3b6e0a]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-4a3b6e0a]{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-4a3b6e0a]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-4a3b6e0a]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-4a3b6e0a]{border-left:3px solid #ff9c08;background-color:#ecf5ff}.action .action-footer button[data-v-12d0f96b]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-12d0f96b]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-12d0f96b]{flex:auto}.action.list .disk-list[data-v-12d0f96b]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-12d0f96b]{flex:auto}.action.format .disk-list[data-v-12d0f96b]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-12d0f96b]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-12d0f96b]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-12d0f96b]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-12d0f96b]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-12d0f96b]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-12d0f96b],.action.format .label-item .label-item_value input[data-v-12d0f96b]{width:100%;height:36px}.action.format .auto[data-v-12d0f96b]{flex:auto}.action.format p.msg[data-v-12d0f96b]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-12d0f96b]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-12d0f96b]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-12d0f96b]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-12d0f96b]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-12d0f96b]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-12d0f96b]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-12d0f96b]{color:#f70324}.action.result .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-12d0f96b]{flex:auto}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-12d0f96b]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-12d0f96b]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-12d0f96b]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-12d0f96b]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-12d0f96b]{width:80%}}@keyframes bganimation-67a63e8f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-67a63e8f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-67a63e8f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-67a63e8f]{animation:rotateEnter-67a63e8f .7s;position:relative}.rotate-leave-active[data-v-67a63e8f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-67a63e8f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-67a63e8f]{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-67a63e8f]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-67a63e8f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-67a63e8f]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-67a63e8f]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-67a63e8f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-67a63e8f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-67a63e8f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-67a63e8f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-67a63e8f]{animation:rotateEnter-67a63e8f .7s;position:relative}.rotate-leave-active[data-v-67a63e8f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-67a63e8f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@keyframes bganimation-30ef6ccb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30ef6ccb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30ef6ccb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30ef6ccb]{animation:rotateEnter-30ef6ccb .7s;position:relative}.rotate-leave-active[data-v-30ef6ccb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30ef6ccb]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-30ef6ccb]{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-30ef6ccb]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-30ef6ccb]{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-30ef6ccb]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-30ef6ccb]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-30ef6ccb]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-30ef6ccb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-30ef6ccb]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-30ef6ccb]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-30ef6ccb],.action .action-body .label-item .label-item_value input[data-v-30ef6ccb]{width:100%;height:36px}.action .action-footer[data-v-30ef6ccb]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-30ef6ccb]{flex:auto}.action .action-footer button[data-v-30ef6ccb]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3ef9e48f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ef9e48f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ef9e48f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ef9e48f]{animation:rotateEnter-3ef9e48f .7s;position:relative}.rotate-leave-active[data-v-3ef9e48f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ef9e48f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3ef9e48f]{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-3ef9e48f]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-3ef9e48f]{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-3ef9e48f]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-3ef9e48f]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-3ef9e48f]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-3ef9e48f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-3ef9e48f]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-3ef9e48f]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-3ef9e48f],.action .action-body .label-item .label-item_value input[data-v-3ef9e48f]{width:100%;height:36px}.action .action-body .samba-item[data-v-3ef9e48f]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-3ef9e48f]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-3ef9e48f]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-3ef9e48f]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-3ef9e48f]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-3ef9e48f]{margin-left:10px}.action .action-footer[data-v-3ef9e48f]{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-3ef9e48f]{flex:auto}.action .action-footer button[data-v-3ef9e48f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-650e3bd4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-650e3bd4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-650e3bd4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-650e3bd4]{animation:rotateEnter-650e3bd4 .7s;position:relative}.rotate-leave-active[data-v-650e3bd4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-650e3bd4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-650e3bd4]{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-650e3bd4]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-650e3bd4]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-650e3bd4]{width:100%;display:block;padding:2rem 0}.action form label[data-v-650e3bd4]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-650e3bd4],.action form label select[data-v-650e3bd4]{width:100%;display:block;height:42px}.action .btns[data-v-650e3bd4]{width:100%;margin-top:3rem}.action .btns button[data-v-650e3bd4]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-650e3bd4]{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-650e3bd4]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-650e3bd4]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-650e3bd4],.action li.disk-item .disk-item_f .disk-item_used[data-v-650e3bd4]{width:100%}.action .tips[data-v-650e3bd4]{float:right;font-size:.8em}@keyframes bganimation-650e3bd4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-650e3bd4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-650e3bd4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-650e3bd4]{animation:rotateEnter-650e3bd4 .7s;position:relative}.rotate-leave-active[data-v-650e3bd4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-650e3bd4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-650e3bd4]{font-size:2em}}@keyframes bganimation-edf68726{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-edf68726{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-edf68726{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-edf68726]{animation:rotateEnter-edf68726 .7s;position:relative}.rotate-leave-active[data-v-edf68726]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-edf68726]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-edf68726]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-edf68726]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-edf68726]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-edf68726]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-edf68726]{cursor:pointer}a[data-v-edf68726]{text-decoration:none;color:#297ff3}@keyframes bganimation-62b7dbe8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-62b7dbe8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-62b7dbe8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-62b7dbe8]{animation:rotateEnter-62b7dbe8 .7s;position:relative}.rotate-leave-active[data-v-62b7dbe8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-62b7dbe8]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-62b7dbe8]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-62b7dbe8]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-62b7dbe8]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-62b7dbe8]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-62b7dbe8]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-62b7dbe8] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-62b7dbe8]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-62b7dbe8]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-62b7dbe8]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-62b7dbe8]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-62b7dbe8]:hover{background-color:#eee}.app-container .app-container_title button[data-v-62b7dbe8]{margin-left:10px}.app-container .app-container_body[data-v-62b7dbe8]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-62b7dbe8]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-62b7dbe8]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-62b7dbe8],.app-container ul.app-container_nas-menu button[data-v-62b7dbe8]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-62b7dbe8]{position:fixed;inset:0}@keyframes bganimation-3fd3a42d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3fd3a42d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3fd3a42d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3fd3a42d]{animation:rotateEnter-3fd3a42d .7s;position:relative}.rotate-leave-active[data-v-3fd3a42d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3fd3a42d]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-3fd3a42d]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-3fd3a42d]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-3fd3a42d]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-3fd3a42d]{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-3fd3a42d]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-3fd3a42d]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-3fd3a42d]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-3fd3a42d]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-3fd3a42d]{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-3fd3a42d]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-3fd3a42d]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3fd3a42d]{visibility:visible;opacity:1}.tooltip-top[data-v-3fd3a42d]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-3fd3a42d]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-3fd3a42d]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-3fd3a42d]: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-3fd3a42d]: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-3fd3a42d]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-3fd3a42d]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-3fd3a42d]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-3fd3a42d]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-3fd3a42d]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-3fd3a42d]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-3fd3a42d]{transform:translate(0);transition:.3s}@keyframes bganimation-b8b2bddc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b8b2bddc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b8b2bddc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b8b2bddc]{animation:rotateEnter-b8b2bddc .7s;position:relative}.rotate-leave-active[data-v-b8b2bddc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b8b2bddc]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-b8b2bddc]{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-b8b2bddc]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-b8b2bddc]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-b8b2bddc]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-b8b2bddc]{display:flex;justify-content:left;align-items:center}.action .change[data-v-b8b2bddc]{width:678px}.action .desc[data-v-b8b2bddc]{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-b8b2bddc]{width:100%;display:block}.action .tips[data-v-b8b2bddc]{width:477px}.action .tips .tip[data-v-b8b2bddc]{color:#faad14;padding-left:6px}.action .btns[data-v-b8b2bddc]{width:100%;margin:104px auto 0}.action .btns button[data-v-b8b2bddc]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-b8b2bddc]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-b8b2bddc]{text-align:center;font-size:14px}.action .finished[data-v-b8b2bddc]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-b8b2bddc]{text-align:center}.action .docker_moves .moves[data-v-b8b2bddc]{margin-top:10px}.action .docker_moves .moves input[data-v-b8b2bddc]{cursor:pointer}.action .docker_moves .moves label[data-v-b8b2bddc]{margin-left:10px;cursor:pointer}.select-editable[data-v-b8b2bddc]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-b8b2bddc]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-b8b2bddc]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-b8b2bddc]:focus,.select-editable input[data-v-b8b2bddc]:focus{outline:none}[data-v-b8b2bddc]::placeholder{color:#999}@keyframes bganimation-b8b2bddc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b8b2bddc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b8b2bddc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b8b2bddc]{animation:rotateEnter-b8b2bddc .7s;position:relative}.rotate-leave-active[data-v-b8b2bddc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b8b2bddc]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-b8b2bddc]{width:100%}.docker_download[data-v-b8b2bddc]{width:80%}}@keyframes bganimation-bb527ce2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bb527ce2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bb527ce2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bb527ce2]{animation:rotateEnter-bb527ce2 .7s;position:relative}.rotate-leave-active[data-v-bb527ce2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bb527ce2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-bb527ce2]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-bb527ce2]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-bb527ce2]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-bb527ce2]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-bb527ce2]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-bb527ce2] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-bb527ce2]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-bb527ce2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-bb527ce2]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-bb527ce2]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-bb527ce2]:hover{background-color:#eee}.app-container button[data-v-bb527ce2],.app-container .refresh[data-v-bb527ce2]{margin-left:20px}.app-container .app-container_body[data-v-bb527ce2]{width:100%;height:100%}.app-container .loading_placeholder[data-v-bb527ce2]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-bb527ce2]{position:fixed;inset:0}@keyframes bganimation-dbe287b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-dbe287b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-dbe287b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-dbe287b2]{animation:rotateEnter-dbe287b2 .7s;position:relative}.rotate-leave-active[data-v-dbe287b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-dbe287b2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-dbe287b2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-dbe287b2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-dbe287b2]{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-dbe287b2]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-dbe287b2]{color:#888}.use-url_app[data-v-dbe287b2]{padding-bottom:14px}.use-url_app a[data-v-dbe287b2]{text-decoration:none;color:#297ff3}@keyframes bganimation-1af61e64{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1af61e64{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1af61e64{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1af61e64]{animation:rotateEnter-1af61e64 .7s;position:relative}.rotate-leave-active[data-v-1af61e64]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1af61e64]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-1af61e64]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-1af61e64]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-1af61e64]{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-1af61e64]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-1af61e64]{color:#888}a[data-v-1af61e64]{text-decoration:none;color:#297ff3}@keyframes bganimation-31717210{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31717210{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31717210{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31717210]{animation:rotateEnter-31717210 .7s;position:relative}.rotate-leave-active[data-v-31717210]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31717210]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-31717210]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-31717210]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-31717210]{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-31717210]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-31717210]{color:#888}a[data-v-31717210]{text-decoration:none;color:#297ff3}@keyframes bganimation-378dba8e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-378dba8e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-378dba8e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-378dba8e]{animation:rotateEnter-378dba8e .7s;position:relative}.rotate-leave-active[data-v-378dba8e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-378dba8e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-378dba8e]{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-378dba8e]{color:#999;font-size:14px}.action input[data-v-378dba8e]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-378dba8e]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-378dba8e]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-378dba8e]{width:100%}.action form label input[data-v-378dba8e],.action form label select[data-v-378dba8e]{height:100%;font-size:14px}.action .myinput_wrap[data-v-378dba8e],.action .RPC_input[data-v-378dba8e]{width:85%}.action .myinput_wrap textarea[data-v-378dba8e]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-378dba8e]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-378dba8e]{margin-right:10px}.action .input_row .radios input[data-v-378dba8e],.action .input_row .radios label[data-v-378dba8e]{cursor:pointer}.action .Tracker label[data-v-378dba8e]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-378dba8e]{padding:6px 2px}.action .btns[data-v-378dba8e]{width:100%;margin:42px auto 0}.action .btns button[data-v-378dba8e]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-378dba8e]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-378dba8e]{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-378dba8e]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-378dba8e]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-378dba8e]{visibility:visible;opacity:1}.action .tooltip-top[data-v-378dba8e]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-378dba8e]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-378dba8e]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-378dba8e]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-378dba8e]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-378dba8e]: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-378dba8e]: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-378dba8e]{text-align:center;font-size:14px}.action .finished[data-v-378dba8e]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-378dba8e]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-378dba8e]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-378dba8e]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-378dba8e]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-378dba8e]:focus,.select-editable input[data-v-378dba8e]:focus{outline:none}[data-v-378dba8e]::placeholder{color:#999}@keyframes bganimation-378dba8e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-378dba8e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-378dba8e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-378dba8e]{animation:rotateEnter-378dba8e .7s;position:relative}.rotate-leave-active[data-v-378dba8e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-378dba8e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-378dba8e]{width:100%}.action .input_row[data-v-378dba8e]{display:block}.action .input_row .myinput_wrap[data-v-378dba8e],.action .input_row .RPC_input[data-v-378dba8e]{width:100%}}@keyframes bganimation-3b622730{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b622730{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b622730{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b622730]{animation:rotateEnter-3b622730 .7s;position:relative}.rotate-leave-active[data-v-3b622730]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b622730]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-3b622730]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-3b622730]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-3b622730]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-3b622730]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b622730]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b622730] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-3b622730]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-3b622730]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-3b622730]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-3b622730]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-3b622730]:hover{background-color:#eee}.app-container .app-container_title button[data-v-3b622730]{margin-left:10px}.app-container .app-container_body[data-v-3b622730]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-3b622730]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-3b622730]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-3b622730],.app-container ul.app-container_nas-menu button[data-v-3b622730]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-3b622730]{position:fixed;inset:0}@keyframes bganimation-43beecef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-43beecef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-43beecef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-43beecef]{animation:rotateEnter-43beecef .7s;position:relative}.rotate-leave-active[data-v-43beecef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-43beecef]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}h3[data-v-43beecef]{text-align:center;margin-bottom:20px}.label-item[data-v-43beecef]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-43beecef]{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-43beecef]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-43beecef]{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-43beecef]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-43beecef]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-43beecef]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-43beecef]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-43dd65a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-43dd65a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-43dd65a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-43dd65a2]{animation:rotateEnter-43dd65a2 .7s;position:relative}.rotate-leave-active[data-v-43dd65a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-43dd65a2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-43dd65a2]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-43dd65a2]{width:100px;height:100px}.actioner-container_body .body-title[data-v-43dd65a2]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-43dd65a2]{text-align:center}.actioner-container_body .body-info[data-v-43dd65a2]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-43dd65a2]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-43dd65a2]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-43dd65a2]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-7790f1da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7790f1da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7790f1da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7790f1da]{animation:rotateEnter-7790f1da .7s;position:relative}.rotate-leave-active[data-v-7790f1da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7790f1da]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-7790f1da]{width:100%;height:100%;border:none}@keyframes bganimation-7b3ee72a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b3ee72a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b3ee72a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b3ee72a]{animation:rotateEnter-7b3ee72a .7s;position:relative}.rotate-leave-active[data-v-7b3ee72a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b3ee72a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-7b3ee72a]{width:100%;height:100%;border:none}@keyframes bganimation-7f5a8953{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7f5a8953{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7f5a8953{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7f5a8953]{animation:rotateEnter-7f5a8953 .7s;position:relative}.rotate-leave-active[data-v-7f5a8953]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7f5a8953]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-7f5a8953]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-7f5a8953]{width:100px;height:100px}.actioner-container_body .body-title[data-v-7f5a8953]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-7f5a8953]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-7f5a8953]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-7f5a8953]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-7f5a8953]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-d60389d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d60389d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d60389d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d60389d6]{animation:rotateEnter-d60389d6 .7s;position:relative}.rotate-leave-active[data-v-d60389d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d60389d6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-d60389d6]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-1e0ebd66{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e0ebd66{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e0ebd66{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e0ebd66]{animation:rotateEnter-1e0ebd66 .7s;position:relative}.rotate-leave-active[data-v-1e0ebd66]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e0ebd66]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-1e0ebd66]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-7a6bd385]{width:90%}}@keyframes bganimation-4358e88c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4358e88c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4358e88c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4358e88c]{animation:rotateEnter-4358e88c .7s;position:relative}.rotate-leave-active[data-v-4358e88c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4358e88c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-4358e88c]{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-4358e88c]{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-4358e88c]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-4358e88c]{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-4358e88c]{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-4358e88c]:hover{opacity:.8}.action .clear[data-v-4358e88c]{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-4358e88c]:hover{opacity:.8}@keyframes bganimation-9435cfa6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9435cfa6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9435cfa6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9435cfa6]{animation:rotateEnter-9435cfa6 .7s;position:relative}.rotate-leave-active[data-v-9435cfa6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9435cfa6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-9435cfa6]{display:block;width:100%;text-align:center}.title_info p[data-v-9435cfa6]{font-size:20px;margin-bottom:10px}.label-item[data-v-9435cfa6]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-9435cfa6]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-9435cfa6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-9435cfa6]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-9435cfa6]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-9435cfa6],.label-item .label-item_value input[data-v-9435cfa6]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-9435cfa6]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-9435cfa6]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-9435cfa6]{margin-left:8px}.label-message[data-v-9435cfa6]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6f1d92d9]{width:90%}}@keyframes bganimation-31624c78{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31624c78{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31624c78{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31624c78]{animation:rotateEnter-31624c78 .7s;position:relative}.rotate-leave-active[data-v-31624c78]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31624c78]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-31624c78]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-31624c78]{text-decoration:none}.app-container .app-container_title[data-v-31624c78]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-31624c78]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-31624c78]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-31624c78]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-31624c78] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-31624c78]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-31624c78]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-31624c78]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-31624c78]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-31624c78]:hover{background-color:#eee}.app-container button[data-v-31624c78],.app-container .refresh[data-v-31624c78]{margin-left:20px}.app-container .app-container_body[data-v-31624c78]{width:100%;height:100%}.menu_background[data-v-31624c78]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-31624c78]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-31624c78]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-31624c78]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-31624c78]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-31624c78]{border:1px solid #553afb;border-radius:4px;font-size:12px;padding:7px;color:#553afb;text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-31624c78]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-31624c78]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-31624c78]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-31624c78]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-31624c78]{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}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-31624c78]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-31624c78]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-31624c78]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-31624c78]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-31624c78]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-31624c78]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-31624c78]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-31624c78]: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-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-66cc4e33]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-20dfc9cc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-20dfc9cc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-20dfc9cc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-20dfc9cc]{animation:rotateEnter-20dfc9cc .7s;position:relative}.rotate-leave-active[data-v-20dfc9cc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-20dfc9cc]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-20dfc9cc]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-20dfc9cc]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-20dfc9cc]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-20dfc9cc]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-20dfc9cc]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-20dfc9cc]:hover{background-color:#eee}.item-label[data-v-20dfc9cc]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-20dfc9cc]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-20dfc9cc]{font-size:14px;color:#333}.item-label .item-label_value[data-v-20dfc9cc]{flex:1;text-align:left}.item-label .item-label_value span[data-v-20dfc9cc]{font-size:14px;color:#333}.item-title span[data-v-20dfc9cc]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-20dfc9cc]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-20dfc9cc]{flex:auto}.item-flex button.app-editor[data-v-20dfc9cc]{padding:8px 1.3rem}.menu_background[data-v-20dfc9cc]{position:fixed;inset:0}@keyframes bganimation-a0faa6f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a0faa6f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a0faa6f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a0faa6f2]{animation:rotateEnter-a0faa6f2 .7s;position:relative}.rotate-leave-active[data-v-a0faa6f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a0faa6f2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-a0faa6f2]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-a0faa6f2]{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-a0faa6f2]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-a0faa6f2]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-a0faa6f2]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-a0faa6f2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-a0faa6f2]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-a0faa6f2]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-a0faa6f2],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-a0faa6f2]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-a0faa6f2]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-a0faa6f2]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-a0faa6f2]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-a0faa6f2]{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-a0faa6f2]{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-a0faa6f2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-a0faa6f2]{text-align:center}.setting_status p[data-v-a0faa6f2]{margin:10px 0}.setting_status a[data-v-a0faa6f2]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-a0faa6f2]{margin-top:10px}@keyframes bganimation-a0faa6f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a0faa6f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a0faa6f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a0faa6f2]{animation:rotateEnter-a0faa6f2 .7s;position:relative}.rotate-leave-active[data-v-a0faa6f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a0faa6f2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-a0faa6f2]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-a0faa6f2]{width:100%}}@keyframes bganimation-0384f3ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0384f3ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0384f3ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0384f3ac]{animation:rotateEnter-0384f3ac .7s;position:relative}.rotate-leave-active[data-v-0384f3ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0384f3ac]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0384f3ac]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0384f3ac]{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-0384f3ac]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-0384f3ac]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-0384f3ac]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-0384f3ac]{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-0384f3ac]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-0384f3ac]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-0384f3ac]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-0384f3ac]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-0384f3ac]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-0384f3ac]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0384f3ac]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0384f3ac]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0384f3ac]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0384f3ac]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0384f3ac],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0384f3ac]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-0384f3ac]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-0384f3ac]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-0384f3ac]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-0384f3ac]{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-0384f3ac]{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-0384f3ac]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-0384f3ac]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-0384f3ac]{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-0384f3ac]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-0384f3ac]{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-0384f3ac]{margin-top:114px}.timeout span[data-v-0384f3ac],.sandbox_roboot_refresh[data-v-0384f3ac]{color:#5e72e4}option[data-v-0384f3ac]:disabled{background-color:#e0e0e0}@keyframes bganimation-0384f3ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0384f3ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0384f3ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0384f3ac]{animation:rotateEnter-0384f3ac .7s;position:relative}.rotate-leave-active[data-v-0384f3ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0384f3ac]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-0384f3ac]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-0384f3ac]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-0384f3ac]{min-height:42vh}.actioner-tips[data-v-0384f3ac]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-0384f3ac]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-0384f3ac]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-0384f3ac]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-0384f3ac]{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-0384f3ac]{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-0384f3ac]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-0384f3ac]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-0384f3ac]{padding:3px 10px}}@keyframes bganimation-4db2efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4db2efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4db2efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4db2efb4]{animation:rotateEnter-4db2efb4 .7s;position:relative}.rotate-leave-active[data-v-4db2efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4db2efb4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-4db2efb4]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-4db2efb4]{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-4db2efb4]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-4db2efb4]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-4db2efb4]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-4db2efb4]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-4db2efb4]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-4db2efb4]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-4db2efb4]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-4db2efb4]{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-4db2efb4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-4db2efb4]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-4db2efb4]{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-4db2efb4]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-4db2efb4]{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-4db2efb4]{margin-top:114px}.timeout span[data-v-4db2efb4]{color:#5e72e4}@keyframes bganimation-4db2efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4db2efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4db2efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4db2efb4]{animation:rotateEnter-4db2efb4 .7s;position:relative}.rotate-leave-active[data-v-4db2efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4db2efb4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-4db2efb4]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-4db2efb4]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-4db2efb4]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-4db2efb4]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-4db2efb4]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-4db2efb4]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-4db2efb4]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-4db2efb4]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-4db2efb4]{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-4db2efb4]{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-4db2efb4]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-4db2efb4]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-4db2efb4],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-4db2efb4]{font-size:12px}.actioner-tips .sandbox_info[data-v-4db2efb4]{padding:3px 10px}}@keyframes bganimation-82a27618{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-82a27618{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-82a27618{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-82a27618]{animation:rotateEnter-82a27618 .7s;position:relative}.rotate-leave-active[data-v-82a27618]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-82a27618]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-82a27618]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-82a27618]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button[data-v-82a27618]{position:relative}.nav-container .app-update-button i[data-v-82a27618]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .cover-buttob[data-v-82a27618]{margin-left:0;margin-right:5px}.nav-container a[data-v-82a27618]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-82a27618]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-82a27618]:before{content:"\276f "}.nav-container .MoreMenu[data-v-82a27618]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-82a27618]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-82a27618]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-82a27618]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-82a27618]{visibility:hidden}.color1[data-v-82a27618]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-82a27618]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-82a27618]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-82a27618]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-82a27618]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}@keyframes bganimation-0a2eed64{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0a2eed64{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0a2eed64{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0a2eed64]{animation:rotateEnter-0a2eed64 .7s;position:relative}.rotate-leave-active[data-v-0a2eed64]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0a2eed64]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0a2eed64]{margin-top:48px}em[data-v-0a2eed64]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-0a2eed64] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:#1e1e1e;font-size:1.5em}[data-v-0a2eed64] .more_icon{z-index:0}@keyframes bganimation-082ffcaf{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-082ffcaf{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-082ffcaf{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-082ffcaf]{animation:rotateEnter-082ffcaf .7s;position:relative}.rotate-leave-active[data-v-082ffcaf]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-082ffcaf]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-082ffcaf]{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-082ffcaf]{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-082ffcaf]{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-082ffcaf]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-082ffcaf]{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-082ffcaf]{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-082ffcaf]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-082ffcaf]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-082ffcaf]{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-082ffcaf]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-082ffcaf]{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-082ffcaf]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-082ffcaf]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-082ffcaf]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-082ffcaf]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-082ffcaf]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-082ffcaf]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-082ffcaf]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-082ffcaf]{background-color:#439c07}@keyframes bganimation-082ffcaf{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-082ffcaf{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-082ffcaf{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-082ffcaf]{animation:rotateEnter-082ffcaf .7s;position:relative}.rotate-leave-active[data-v-082ffcaf]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-082ffcaf]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-16746f19{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16746f19{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16746f19{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16746f19]{animation:rotateEnter-16746f19 .7s;position:relative}.rotate-leave-active[data-v-16746f19]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16746f19]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-16746f19]{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-16746f19]{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-16746f19]{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-16746f19]{margin:.5rem 0}#page .network-message li[data-v-16746f19]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-16746f19]{color:red}#page .network-message li a[data-v-16746f19]{color:#00f}#page form[data-v-16746f19]{display:block;width:100%;margin:3rem 0}#page form label[data-v-16746f19]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-16746f19]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-16746f19]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-16746f19]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-16746f19]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-16746f19]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-16746f19]{margin-left:10px;user-select:none}#page .msg[data-v-16746f19]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-16746f19]{width:100%;margin-top:3rem}#page .btns button[data-v-16746f19]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0d3a64fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d3a64fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d3a64fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d3a64fa]{animation:rotateEnter-0d3a64fa .7s;position:relative}.rotate-leave-active[data-v-0d3a64fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d3a64fa]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0d3a64fa]{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-0d3a64fa]{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-0d3a64fa]{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-0d3a64fa]{margin:.5rem 0}#page .network-message li[data-v-0d3a64fa]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-0d3a64fa]{color:red}#page .network-message li a[data-v-0d3a64fa]{color:#00f}#page form[data-v-0d3a64fa]{display:block;width:100%;margin:3rem 0}#page form label[data-v-0d3a64fa]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-0d3a64fa]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-0d3a64fa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-0d3a64fa]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-0d3a64fa],#page form label select[data-v-0d3a64fa]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-0d3a64fa]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-0d3a64fa]{margin-left:10px;user-select:none}#page .msgs[data-v-0d3a64fa]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-0d3a64fa]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-0d3a64fa]{width:100%;margin-top:3rem}#page .btns button[data-v-0d3a64fa]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-1c3f186c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c3f186c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c3f186c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c3f186c]{animation:rotateEnter-1c3f186c .7s;position:relative}.rotate-leave-active[data-v-1c3f186c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c3f186c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-1c3f186c]{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-1c3f186c]{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-1c3f186c]{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-1c3f186c]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-1c3f186c]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-1c3f186c]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-1c3f186c]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-1c3f186c]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-1c3f186c]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-1c3f186c]{display:block;width:100%;margin:3rem 0}#page form label[data-v-1c3f186c]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-1c3f186c]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-1c3f186c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-1c3f186c]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-1c3f186c],#page form label select[data-v-1c3f186c]{width:100%;display:block;height:42px}.switch_inline[data-v-1c3f186c]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-1c3f186c]{margin-left:10px;user-select:none}@keyframes bganimation-7fc91c6d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7fc91c6d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7fc91c6d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7fc91c6d]{animation:rotateEnter-7fc91c6d .7s;position:relative}.rotate-leave-active[data-v-7fc91c6d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7fc91c6d]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}p[data-v-7fc91c6d]{line-height:22px;font-size:14px}.label-item[data-v-7fc91c6d]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-7fc91c6d]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-7fc91c6d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-7fc91c6d]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-7fc91c6d]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-7fc91c6d],.label-item .label-item_value input[data-v-7fc91c6d]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-7fc91c6d]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-7fc91c6d]{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-7fc91c6d]{top:0}.label-item .label-item_tips[data-v-7fc91c6d]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-7fc91c6d]{vertical-align:top}span.msg-warning[data-v-7fc91c6d]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-7fc91c6d]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-7fc91c6d]{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-7fc91c6d]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-7fc91c6d]{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-7fc91c6d]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-7fc91c6d]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-7fc91c6d]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-7fc91c6d]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-7fc91c6d]{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-7fc91c6d]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-7fc91c6d]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-7fc91c6d]{display:block}.actioner-container_body.setup-success .body-tips[data-v-7fc91c6d]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-7fc91c6d]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-7fc91c6d]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-51f9d7a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-51f9d7a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-51f9d7a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-51f9d7a2]{animation:rotateEnter-51f9d7a2 .7s;position:relative}.rotate-leave-active[data-v-51f9d7a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-51f9d7a2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-51f9d7a2]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-c07c8244{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c07c8244{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c07c8244{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c07c8244]{animation:rotateEnter-c07c8244 .7s;position:relative}.rotate-leave-active[data-v-c07c8244]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c07c8244]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-c07c8244]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-c07c8244]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-c07c8244]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-c07c8244]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-c07c8244]{width:100%}.label-item .label-item_value select[data-v-c07c8244]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-c07c8244]{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-c07c8244]{top:0;margin:0}.label-item .label-item_tips[data-v-c07c8244]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-c07c8244]{vertical-align:top}span.msg-warning[data-v-c07c8244]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-13dc2cd6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-13dc2cd6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-13dc2cd6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-13dc2cd6]{animation:rotateEnter-13dc2cd6 .7s;position:relative}.rotate-leave-active[data-v-13dc2cd6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-13dc2cd6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-13dc2cd6]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-13dc2cd6]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-13dc2cd6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-13dc2cd6]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-13dc2cd6]{width:100%}.label-item .label-item_value select[data-v-13dc2cd6]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-13dc2cd6]{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-13dc2cd6]{top:0;margin:0}.label-item .label-item_tips[data-v-13dc2cd6]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-13dc2cd6]{vertical-align:top}span.msg-warning[data-v-13dc2cd6]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-5643983d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5643983d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5643983d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5643983d]{animation:rotateEnter-5643983d .7s;position:relative}.rotate-leave-active[data-v-5643983d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5643983d]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-5643983d]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-5643983d]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-5643983d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-5643983d]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-5643983d]{width:100%}.label-item .label-item_value select[data-v-5643983d]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-5643983d]{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-5643983d]{top:0;margin:0}.label-item .label-item_tips[data-v-5643983d]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-5643983d]{vertical-align:top}span.msg-warning[data-v-5643983d]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6ef94d02]{width:90%}}@keyframes bganimation-535a673b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-535a673b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-535a673b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-535a673b]{animation:rotateEnter-535a673b .7s;position:relative}.rotate-leave-active[data-v-535a673b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-535a673b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-535a673b]{margin-bottom:32px}.item-status[data-v-535a673b]{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-535a673b]{text-decoration:underline;cursor:help}@keyframes bganimation-2bc40d1c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2bc40d1c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2bc40d1c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2bc40d1c]{animation:rotateEnter-2bc40d1c .7s;position:relative}.rotate-leave-active[data-v-2bc40d1c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2bc40d1c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2bc40d1c]{margin-bottom:1rem}#page[data-v-2bc40d1c] .cbi-section{padding:1rem}#page[data-v-2bc40d1c] 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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-742230ae]{width:90%}}@keyframes bganimation-3f7c551e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f7c551e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f7c551e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f7c551e]{animation:rotateEnter-3f7c551e .7s;position:relative}.rotate-leave-active[data-v-3f7c551e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f7c551e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-3f7c551e]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-7d3ebf99{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7d3ebf99{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7d3ebf99{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7d3ebf99]{animation:rotateEnter-7d3ebf99 .7s;position:relative}.rotate-leave-active[data-v-7d3ebf99]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7d3ebf99]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-7d3ebf99]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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}.actioner-dns[data-v-2f7b866f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2f7b866f]{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-2f7b866f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2f7b866f]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2f7b866f]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2f7b866f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2f7b866f]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2f7b866f]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2f7b866f],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2f7b866f]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2f7b866f]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2f7b866f]{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-2f7b866f]{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-2f7b866f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-2f7b866f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2f7b866f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2f7b866f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2f7b866f]{animation:rotateEnter-2f7b866f .7s;position:relative}.rotate-leave-active[data-v-2f7b866f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2f7b866f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2f7b866f]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-2f7b866f]{width:100%}}@keyframes bganimation-589588f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-589588f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-589588f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-589588f0]{animation:rotateEnter-589588f0 .7s;position:relative}.rotate-leave-active[data-v-589588f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-589588f0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-589588f0]{width:48px;height:100%;cursor:pointer}.interface-device-flex[data-v-589588f0]{display:flex;justify-content:center}.interface-device-flex .app-container_status-label_bg[data-v-589588f0]{width:0;min-width:130px;max-width:230px;overflow-y:hidden;flex:1 0 160px}.cbi-section-table-row .td.btns[data-v-589588f0]{text-align:left!important} +@keyframes bganimation-57f1326f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-57f1326f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-57f1326f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-57f1326f]{animation:rotateEnter-57f1326f .7s;position:relative}.rotate-leave-active[data-v-57f1326f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-57f1326f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-57f1326f]{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-57f1326f]: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}@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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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-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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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-20f08566{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-20f08566{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-20f08566{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-20f08566]{animation:rotateEnter-20f08566 .7s;position:relative}.rotate-leave-active[data-v-20f08566]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-20f08566]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-20f08566]{cursor:pointer;display:flex!important;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-20f08566]{display:none!important}label.checkbox_switch .checkbox_switch_on[data-v-20f08566],label.checkbox_switch .checkbox_switch_off[data-v-20f08566]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-20f08566]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-20f08566]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-20f08566]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-20f08566]{display:none!important}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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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-169d5b59{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169d5b59{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169d5b59{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169d5b59]{animation:rotateEnter-169d5b59 .7s;position:relative}.rotate-leave-active[data-v-169d5b59]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169d5b59]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-169d5b59]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-169d5b59],.select-editable input[data-v-169d5b59]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-169d5b59]{position:relative;width:100%}.select-editable input[data-v-169d5b59]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-169d5b59]:focus,.select-editable input[data-v-169d5b59]:focus{outline:none;box-shadow:none}@keyframes bganimation-0a8a31e2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0a8a31e2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0a8a31e2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0a8a31e2]{animation:rotateEnter-0a8a31e2 .7s;position:relative}.rotate-leave-active[data-v-0a8a31e2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0a8a31e2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-0a8a31e2{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.loading[data-v-0a8a31e2]{animation:turn-0a8a31e2 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.loading svg[data-v-0a8a31e2]{width:100%;height:100%}.loading svg path[data-v-0a8a31e2]{fill:#fff}@keyframes bganimation-652b014f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-652b014f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-652b014f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-652b014f]{animation:rotateEnter-652b014f .7s;position:relative}.rotate-leave-active[data-v-652b014f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-652b014f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-652b014f]{position:relative}.flow .echart[data-v-652b014f]{width:100%;height:100%}.flow .flow-data[data-v-652b014f]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-652b014f]{display:block;color:#0009;font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-428d873e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-428d873e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-428d873e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-428d873e]{animation:rotateEnter-428d873e .7s;position:relative}.rotate-leave-active[data-v-428d873e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-428d873e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-428d873e]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-428d873e]{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-428d873e],#actioner[data-v-428d873e] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-428d873e]{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-428d873e]{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-428d873e]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-428d873e]{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-428d873e] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-428d873e] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-428d873e]:hover{opacity:.9}.action-container .action-container_body[data-v-428d873e]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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}.actioner-dns[data-v-c4cdcce6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-c4cdcce6]{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-c4cdcce6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-c4cdcce6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-c4cdcce6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c4cdcce6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c4cdcce6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-c4cdcce6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-c4cdcce6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-c4cdcce6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-c4cdcce6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-c4cdcce6]{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-c4cdcce6]{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-c4cdcce6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-c4cdcce6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c4cdcce6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c4cdcce6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c4cdcce6]{animation:rotateEnter-c4cdcce6 .7s;position:relative}.rotate-leave-active[data-v-c4cdcce6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c4cdcce6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-c4cdcce6]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-c4cdcce6]{width:100%}}.action[data-v-0ae97e7e]{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-0ae97e7e]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-0ae97e7e]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-0ae97e7e]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-0ae97e7e]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-0ae97e7e]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0ae97e7e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ae97e7e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ae97e7e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ae97e7e]{animation:rotateEnter-0ae97e7e .7s;position:relative}.rotate-leave-active[data-v-0ae97e7e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ae97e7e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@keyframes bganimation-39248365{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-39248365{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-39248365{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-39248365]{animation:rotateEnter-39248365 .7s;position:relative}.rotate-leave-active[data-v-39248365]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-39248365]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-39248365]{flex:0 0 230px;width:230px;height:80px;display:flex;background:#f3f3f3;align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-39248365]{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-39248365]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-39248365]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-39248365]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-39248365]{font-weight:700;font-size:14px}@keyframes bganimation-3470ca08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3470ca08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3470ca08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3470ca08]{animation:rotateEnter-3470ca08 .7s;position:relative}.rotate-leave-active[data-v-3470ca08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3470ca08]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-3470ca08]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-3470ca08]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-3470ca08]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-3470ca08]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-3470ca08]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-3470ca08]:hover{opacity:1;transition:.3s}.actioner-dns[data-v-1e29113c]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-1e29113c]{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-1e29113c]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-1e29113c]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-1e29113c]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1e29113c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1e29113c]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-1e29113c]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-1e29113c],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-1e29113c]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-1e29113c]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-1e29113c]{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-1e29113c]{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-1e29113c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-1e29113c]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-1e29113c]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-1e29113c]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-1e29113c]:focus,.actioner-dns .select-editable input[data-v-1e29113c]:focus{outline:none}.actioner-dns[data-v-1e29113c] ::placeholder{color:#999}.successed[data-v-1e29113c]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-1e29113c]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-1e29113c]{text-align:center}.docker_moves .moves[data-v-1e29113c]{margin-top:10px}.docker_moves .moves input[data-v-1e29113c]{cursor:pointer}.docker_moves .moves label[data-v-1e29113c]{margin-left:10px;cursor:pointer}.btns[data-v-1e29113c]{text-align:center}.item_info[data-v-1e29113c]{margin-left:10px}.softsource_tit[data-v-1e29113c]{margin:0 auto}.softsource_successed[data-v-1e29113c]{width:20%!important}@keyframes bganimation-1e29113c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e29113c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e29113c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e29113c]{animation:rotateEnter-1e29113c .7s;position:relative}.rotate-leave-active[data-v-1e29113c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e29113c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-1e29113c]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-1e29113c]{width:100%}}@keyframes bganimation-aa15207e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aa15207e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-aa15207e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-aa15207e]{animation:rotateEnter-aa15207e .7s;position:relative}.rotate-leave-active[data-v-aa15207e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aa15207e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}em[data-v-aa15207e]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-aa15207e]{width:100%;background-color:#fff;padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-aa15207e]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-aa15207e]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-aa15207e]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-aa15207e]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-aa15207e]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-aa15207e]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-aa15207e]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-aa15207e]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-aa15207e]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-aa15207e]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-aa15207e]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-aa15207e]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-aa15207e]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-aa15207e]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-aa15207e]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-aa15207e]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-aa15207e]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-aa15207e]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-aa15207e]{display:block;color:#000;margin:10px 0 8px}.app-container_status-container_body[data-v-aa15207e]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-aa15207e]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-aa15207e]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-aa15207e]{width:50px;height:50px}.app-container_status-container_body span[data-v-aa15207e]{width:100%;margin:5px 0}.menu_background[data-v-aa15207e]{position:fixed;inset:0}.app-container_body[data-v-aa15207e]{width:100%}.network-container[data-v-78a4e41a]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-78a4e41a]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-78a4e41a]{border-radius:6px;overflow:hidden;position:relative;background-color:#fff;box-shadow:0 0 10px 1px #373f6924}.network-container .network-container_status[data-v-78a4e41a]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-78a4e41a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-78a4e41a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-78a4e41a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-78a4e41a]{animation:rotateEnter-78a4e41a .7s;position:relative}.rotate-leave-active[data-v-78a4e41a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-78a4e41a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-78a4e41a]{width:100%}.network-container .network-container_flow[data-v-78a4e41a]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-78a4e41a]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-3a0bca4c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3a0bca4c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3a0bca4c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3a0bca4c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3a0bca4c]{animation:rotateEnter-3a0bca4c .7s;position:relative}.rotate-leave-active[data-v-3a0bca4c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3a0bca4c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-3a0bca4c]{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-3a0bca4c]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-3a0bca4c]{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-3a0bca4c]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-3a0bca4c]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-3a0bca4c]{flex:auto}.action.format .disk-list[data-v-3a0bca4c]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-3a0bca4c]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-3a0bca4c]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-3a0bca4c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-3a0bca4c]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-3a0bca4c]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-3a0bca4c],.action.format .label-item .label-item_value input[data-v-3a0bca4c]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-3a0bca4c]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-3a0bca4c]{flex:auto}.action.format p.msg[data-v-3a0bca4c]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-3a0bca4c]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-3a0bca4c]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-3a0bca4c]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-3a0bca4c]{margin:1rem 0;font-size:1.5em;color:#333}.action.result[data-v-3a0bca4c]{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-3a0bca4c]{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-3a0bca4c]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-3a0bca4c]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-3a0bca4c]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-3a0bca4c]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-3a0bca4c]{color:#0000fb}.action.result .btns[data-v-3a0bca4c]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3a0bca4c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3a0bca4c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3a0bca4c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3a0bca4c]{animation:rotateEnter-3a0bca4c .7s;position:relative}.rotate-leave-active[data-v-3a0bca4c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3a0bca4c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-3a0bca4c]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-3a0bca4c]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-3a0bca4c]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-3a0bca4c]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-3a0bca4c]{width:100%}}.action .action-footer button[data-v-57d4812a]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-57d4812a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-57d4812a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-57d4812a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-57d4812a]{animation:rotateEnter-57d4812a .7s;position:relative}.rotate-leave-active[data-v-57d4812a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-57d4812a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-57d4812a]{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-57d4812a]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-57d4812a]{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-57d4812a]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-57d4812a]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-57d4812a]{flex:auto}.action.format .disk-list[data-v-57d4812a]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-57d4812a]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-57d4812a]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-57d4812a]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-57d4812a]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-57d4812a]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-57d4812a],.action.format .label-item .label-item_value input[data-v-57d4812a]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-57d4812a]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-57d4812a]{flex:auto}.action.format p.msg[data-v-57d4812a]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-57d4812a]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-57d4812a]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-57d4812a]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-57d4812a]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-57d4812a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-57d4812a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-57d4812a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-57d4812a]{animation:rotateEnter-57d4812a .7s;position:relative}.rotate-leave-active[data-v-57d4812a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-57d4812a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-57d4812a]{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-57d4812a]{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-57d4812a]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-57d4812a]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-57d4812a]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-57d4812a]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-57d4812a]{color:#0000fb}.action.result .btns[data-v-57d4812a]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-31be4af0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31be4af0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31be4af0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31be4af0]{animation:rotateEnter-31be4af0 .7s;position:relative}.rotate-leave-active[data-v-31be4af0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31be4af0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-31be4af0]{color:red}.disk-content[data-v-31be4af0]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-31be4af0]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-31be4af0]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .disk_value[data-v-31be4af0]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-31be4af0]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-31be4af0]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .value-data[data-v-31be4af0]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-31be4af0]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-31be4af0]:hover{opacity:.7}.disk-content li.disk-item .disk_value .disk-item_value .value-data.buttondiv[data-v-31be4af0]{cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-31be4af0]{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-31be4af0]: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-31be4af0]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-31be4af0]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-31be4af0]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-31be4af0]{display:flex;align-items:center}.disk_infoicon[data-v-31be4af0]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-31be4af0]{flex:none}.tooltip-trigger[data-v-31be4af0]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-31be4af0]{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-31be4af0]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-31be4af0]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-31be4af0]{visibility:visible;opacity:1}.tooltip-top[data-v-31be4af0]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-31be4af0]: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-31be4af0]: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-31be4af0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31be4af0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31be4af0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31be4af0]{animation:rotateEnter-31be4af0 .7s;position:relative}.rotate-leave-active[data-v-31be4af0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31be4af0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-31be4af0]{display:block}.disk-content .disk_status[data-v-31be4af0]{flex-wrap:wrap}}.action[data-v-5fa713aa]{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-5fa713aa]{overflow:auto}.action ul .app-container_info[data-v-5fa713aa]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-5fa713aa]{width:100%;height:100%}.action .action-footer[data-v-5fa713aa]{text-align:center;margin-top:46px}.action .action-footer button[data-v-5fa713aa]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5fa713aa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5fa713aa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5fa713aa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5fa713aa]{animation:rotateEnter-5fa713aa .7s;position:relative}.rotate-leave-active[data-v-5fa713aa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5fa713aa]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-5fa713aa]{width:160%}}@media screen and (max-width: 800px){.action[data-v-5fa713aa]{width:138%}}@media screen and (max-width: 700px){.action[data-v-5fa713aa]{width:132%}}@media screen and (max-width: 600px){.action[data-v-5fa713aa]{width:116%}}@media screen and (max-width: 500px){.action[data-v-5fa713aa]{width:100%}}@media screen and (max-width: 400px){.action[data-v-5fa713aa]{width:90%}}@media screen and (max-width: 300px){.action[data-v-5fa713aa]{width:100%}}@keyframes bganimation-eb0dbbd8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-eb0dbbd8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-eb0dbbd8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-eb0dbbd8]{animation:rotateEnter-eb0dbbd8 .7s;position:relative}.rotate-leave-active[data-v-eb0dbbd8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-eb0dbbd8]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-eb0dbbd8]{color:red}li.disk-item[data-v-eb0dbbd8]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-eb0dbbd8]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-eb0dbbd8]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-eb0dbbd8]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-eb0dbbd8]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-eb0dbbd8]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-eb0dbbd8]{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-eb0dbbd8]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-eb0dbbd8]{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}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-eb0dbbd8]: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-eb0dbbd8]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-eb0dbbd8]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-eb0dbbd8]{flex:none;cursor:help}.tooltip-trigger[data-v-eb0dbbd8]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-eb0dbbd8]{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-eb0dbbd8]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-eb0dbbd8]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-eb0dbbd8]{visibility:visible;opacity:1}.tooltip-top[data-v-eb0dbbd8]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-eb0dbbd8]: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-eb0dbbd8]: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-4a49a4e4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a49a4e4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a49a4e4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a49a4e4]{animation:rotateEnter-4a49a4e4 .7s;position:relative}.rotate-leave-active[data-v-4a49a4e4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a49a4e4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-4a49a4e4]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-4a49a4e4]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-4a49a4e4]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-4a49a4e4]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-4a49a4e4] svg path{fill:#553afe}.app-container ul .app-container_title .DeviceBlock[data-v-4a49a4e4]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-4a49a4e4]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-4a49a4e4]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-4a49a4e4]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-4a49a4e4]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-4a49a4e4]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-4a49a4e4]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-4a49a4e4]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-4a49a4e4] svg path{fill:#553afe}.app-container ul .disk_loading_icon[data-v-4a49a4e4]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-4a49a4e4]{margin-top:5px}.refresh[data-v-4a49a4e4]{margin-left:20px}.app-container_info[data-v-4a49a4e4]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-4a49a4e4]{width:100%;height:100%}.menu_background[data-v-4a49a4e4]{position:fixed;inset:0}@keyframes bganimation-13ca629c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-13ca629c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-13ca629c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-13ca629c]{animation:rotateEnter-13ca629c .7s;position:relative}.rotate-leave-active[data-v-13ca629c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-13ca629c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-13ca629c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-13ca629c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-13ca629c]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-13ca629c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-13ca629c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-13ca629c]{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-13ca629c]{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-13ca629c]:hover{opacity:.7}.tit[data-v-13ca629c]{color:#1e1e1e;font-weight:700;font-size:16px}@keyframes bganimation-b4608492{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b4608492{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b4608492{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b4608492]{animation:rotateEnter-b4608492 .7s;position:relative}.rotate-leave-active[data-v-b4608492]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b4608492]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-b4608492]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-b4608492]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-b4608492]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-4a3b6e0a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a3b6e0a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a3b6e0a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a3b6e0a]{animation:rotateEnter-4a3b6e0a .7s;position:relative}.rotate-leave-active[data-v-4a3b6e0a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a3b6e0a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-4a3b6e0a]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-4a3b6e0a]{flex:auto}ul.disk-item .disk-item_icon[data-v-4a3b6e0a]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-4a3b6e0a]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-4a3b6e0a]{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-4a3b6e0a]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-4a3b6e0a]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-4a3b6e0a]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-4a3b6e0a],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-4a3b6e0a]{width:100%}ul.disk-item li.disk-info.on[data-v-4a3b6e0a]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-4a3b6e0a]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-4a3b6e0a]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-4a3b6e0a]{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-4a3b6e0a]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-4a3b6e0a]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-4a3b6e0a]{border-left:3px solid #ff9c08;background-color:#ecf5ff}.action .action-footer button[data-v-12d0f96b]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-12d0f96b]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-12d0f96b]{flex:auto}.action.list .disk-list[data-v-12d0f96b]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-12d0f96b]{flex:auto}.action.format .disk-list[data-v-12d0f96b]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-12d0f96b]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-12d0f96b]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-12d0f96b]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-12d0f96b]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-12d0f96b]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-12d0f96b],.action.format .label-item .label-item_value input[data-v-12d0f96b]{width:100%;height:36px}.action.format .auto[data-v-12d0f96b]{flex:auto}.action.format p.msg[data-v-12d0f96b]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-12d0f96b]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-12d0f96b]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-12d0f96b]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-12d0f96b]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-12d0f96b]{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-12d0f96b]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-12d0f96b]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-12d0f96b]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-12d0f96b]{color:#f70324}.action.result .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-12d0f96b]{flex:auto}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-12d0f96b]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-12d0f96b]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-12d0f96b]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-12d0f96b]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-12d0f96b]{width:80%}}@keyframes bganimation-67a63e8f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-67a63e8f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-67a63e8f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-67a63e8f]{animation:rotateEnter-67a63e8f .7s;position:relative}.rotate-leave-active[data-v-67a63e8f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-67a63e8f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-67a63e8f]{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-67a63e8f]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-67a63e8f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-67a63e8f]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-67a63e8f]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-67a63e8f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-67a63e8f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-67a63e8f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-67a63e8f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-67a63e8f]{animation:rotateEnter-67a63e8f .7s;position:relative}.rotate-leave-active[data-v-67a63e8f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-67a63e8f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@keyframes bganimation-30ef6ccb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30ef6ccb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30ef6ccb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30ef6ccb]{animation:rotateEnter-30ef6ccb .7s;position:relative}.rotate-leave-active[data-v-30ef6ccb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30ef6ccb]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-30ef6ccb]{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-30ef6ccb]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-30ef6ccb]{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-30ef6ccb]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-30ef6ccb]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-30ef6ccb]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-30ef6ccb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-30ef6ccb]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-30ef6ccb]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-30ef6ccb],.action .action-body .label-item .label-item_value input[data-v-30ef6ccb]{width:100%;height:36px}.action .action-footer[data-v-30ef6ccb]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-30ef6ccb]{flex:auto}.action .action-footer button[data-v-30ef6ccb]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3ef9e48f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ef9e48f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ef9e48f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ef9e48f]{animation:rotateEnter-3ef9e48f .7s;position:relative}.rotate-leave-active[data-v-3ef9e48f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ef9e48f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3ef9e48f]{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-3ef9e48f]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-3ef9e48f]{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-3ef9e48f]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-3ef9e48f]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-3ef9e48f]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-3ef9e48f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-3ef9e48f]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-3ef9e48f]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-3ef9e48f],.action .action-body .label-item .label-item_value input[data-v-3ef9e48f]{width:100%;height:36px}.action .action-body .samba-item[data-v-3ef9e48f]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-3ef9e48f]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-3ef9e48f]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-3ef9e48f]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-3ef9e48f]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-3ef9e48f]{margin-left:10px}.action .action-footer[data-v-3ef9e48f]{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-3ef9e48f]{flex:auto}.action .action-footer button[data-v-3ef9e48f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-650e3bd4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-650e3bd4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-650e3bd4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-650e3bd4]{animation:rotateEnter-650e3bd4 .7s;position:relative}.rotate-leave-active[data-v-650e3bd4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-650e3bd4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-650e3bd4]{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-650e3bd4]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-650e3bd4]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-650e3bd4]{width:100%;display:block;padding:2rem 0}.action form label[data-v-650e3bd4]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-650e3bd4],.action form label select[data-v-650e3bd4]{width:100%;display:block;height:42px}.action .btns[data-v-650e3bd4]{width:100%;margin-top:3rem}.action .btns button[data-v-650e3bd4]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-650e3bd4]{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-650e3bd4]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-650e3bd4]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-650e3bd4],.action li.disk-item .disk-item_f .disk-item_used[data-v-650e3bd4]{width:100%}.action .tips[data-v-650e3bd4]{float:right;font-size:.8em}@keyframes bganimation-650e3bd4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-650e3bd4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-650e3bd4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-650e3bd4]{animation:rotateEnter-650e3bd4 .7s;position:relative}.rotate-leave-active[data-v-650e3bd4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-650e3bd4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-650e3bd4]{font-size:2em}}@keyframes bganimation-edf68726{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-edf68726{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-edf68726{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-edf68726]{animation:rotateEnter-edf68726 .7s;position:relative}.rotate-leave-active[data-v-edf68726]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-edf68726]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-edf68726]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-edf68726]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-edf68726]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-edf68726]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-edf68726]{cursor:pointer}a[data-v-edf68726]{text-decoration:none;color:#297ff3}@keyframes bganimation-62b7dbe8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-62b7dbe8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-62b7dbe8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-62b7dbe8]{animation:rotateEnter-62b7dbe8 .7s;position:relative}.rotate-leave-active[data-v-62b7dbe8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-62b7dbe8]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-62b7dbe8]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-62b7dbe8]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-62b7dbe8]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-62b7dbe8]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-62b7dbe8]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-62b7dbe8] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-62b7dbe8]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-62b7dbe8]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-62b7dbe8]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-62b7dbe8]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-62b7dbe8]:hover{background-color:#eee}.app-container .app-container_title button[data-v-62b7dbe8]{margin-left:10px}.app-container .app-container_body[data-v-62b7dbe8]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-62b7dbe8]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-62b7dbe8]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-62b7dbe8],.app-container ul.app-container_nas-menu button[data-v-62b7dbe8]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-62b7dbe8]{position:fixed;inset:0}@keyframes bganimation-3fd3a42d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3fd3a42d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3fd3a42d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3fd3a42d]{animation:rotateEnter-3fd3a42d .7s;position:relative}.rotate-leave-active[data-v-3fd3a42d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3fd3a42d]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-3fd3a42d]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-3fd3a42d]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-3fd3a42d]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-3fd3a42d]{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-3fd3a42d]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-3fd3a42d]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-3fd3a42d]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-3fd3a42d]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-3fd3a42d]{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-3fd3a42d]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-3fd3a42d]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3fd3a42d]{visibility:visible;opacity:1}.tooltip-top[data-v-3fd3a42d]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-3fd3a42d]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-3fd3a42d]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-3fd3a42d]: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-3fd3a42d]: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-3fd3a42d]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-3fd3a42d]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-3fd3a42d]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-3fd3a42d]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-3fd3a42d]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-3fd3a42d]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-3fd3a42d]{transform:translate(0);transition:.3s}@keyframes bganimation-b8b2bddc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b8b2bddc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b8b2bddc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b8b2bddc]{animation:rotateEnter-b8b2bddc .7s;position:relative}.rotate-leave-active[data-v-b8b2bddc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b8b2bddc]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-b8b2bddc]{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-b8b2bddc]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-b8b2bddc]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-b8b2bddc]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-b8b2bddc]{display:flex;justify-content:left;align-items:center}.action .change[data-v-b8b2bddc]{width:678px}.action .desc[data-v-b8b2bddc]{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-b8b2bddc]{width:100%;display:block}.action .tips[data-v-b8b2bddc]{width:477px}.action .tips .tip[data-v-b8b2bddc]{color:#faad14;padding-left:6px}.action .btns[data-v-b8b2bddc]{width:100%;margin:104px auto 0}.action .btns button[data-v-b8b2bddc]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-b8b2bddc]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-b8b2bddc]{text-align:center;font-size:14px}.action .finished[data-v-b8b2bddc]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-b8b2bddc]{text-align:center}.action .docker_moves .moves[data-v-b8b2bddc]{margin-top:10px}.action .docker_moves .moves input[data-v-b8b2bddc]{cursor:pointer}.action .docker_moves .moves label[data-v-b8b2bddc]{margin-left:10px;cursor:pointer}.select-editable[data-v-b8b2bddc]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-b8b2bddc]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-b8b2bddc]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-b8b2bddc]:focus,.select-editable input[data-v-b8b2bddc]:focus{outline:none}[data-v-b8b2bddc]::placeholder{color:#999}@keyframes bganimation-b8b2bddc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b8b2bddc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b8b2bddc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b8b2bddc]{animation:rotateEnter-b8b2bddc .7s;position:relative}.rotate-leave-active[data-v-b8b2bddc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b8b2bddc]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-b8b2bddc]{width:100%}.docker_download[data-v-b8b2bddc]{width:80%}}@keyframes bganimation-bb527ce2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bb527ce2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bb527ce2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bb527ce2]{animation:rotateEnter-bb527ce2 .7s;position:relative}.rotate-leave-active[data-v-bb527ce2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bb527ce2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-bb527ce2]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-bb527ce2]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-bb527ce2]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-bb527ce2]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-bb527ce2]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-bb527ce2] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-bb527ce2]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-bb527ce2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-bb527ce2]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-bb527ce2]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-bb527ce2]:hover{background-color:#eee}.app-container button[data-v-bb527ce2],.app-container .refresh[data-v-bb527ce2]{margin-left:20px}.app-container .app-container_body[data-v-bb527ce2]{width:100%;height:100%}.app-container .loading_placeholder[data-v-bb527ce2]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-bb527ce2]{position:fixed;inset:0}@keyframes bganimation-dbe287b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-dbe287b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-dbe287b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-dbe287b2]{animation:rotateEnter-dbe287b2 .7s;position:relative}.rotate-leave-active[data-v-dbe287b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-dbe287b2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-dbe287b2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-dbe287b2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-dbe287b2]{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-dbe287b2]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-dbe287b2]{color:#888}.use-url_app[data-v-dbe287b2]{padding-bottom:14px}.use-url_app a[data-v-dbe287b2]{text-decoration:none;color:#297ff3}@keyframes bganimation-1af61e64{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1af61e64{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1af61e64{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1af61e64]{animation:rotateEnter-1af61e64 .7s;position:relative}.rotate-leave-active[data-v-1af61e64]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1af61e64]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-1af61e64]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-1af61e64]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-1af61e64]{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-1af61e64]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-1af61e64]{color:#888}a[data-v-1af61e64]{text-decoration:none;color:#297ff3}@keyframes bganimation-31717210{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31717210{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31717210{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31717210]{animation:rotateEnter-31717210 .7s;position:relative}.rotate-leave-active[data-v-31717210]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31717210]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-31717210]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-31717210]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-31717210]{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-31717210]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-31717210]{color:#888}a[data-v-31717210]{text-decoration:none;color:#297ff3}@keyframes bganimation-378dba8e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-378dba8e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-378dba8e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-378dba8e]{animation:rotateEnter-378dba8e .7s;position:relative}.rotate-leave-active[data-v-378dba8e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-378dba8e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-378dba8e]{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-378dba8e]{color:#999;font-size:14px}.action input[data-v-378dba8e]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-378dba8e]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-378dba8e]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-378dba8e]{width:100%}.action form label input[data-v-378dba8e],.action form label select[data-v-378dba8e]{height:100%;font-size:14px}.action .myinput_wrap[data-v-378dba8e],.action .RPC_input[data-v-378dba8e]{width:85%}.action .myinput_wrap textarea[data-v-378dba8e]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-378dba8e]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-378dba8e]{margin-right:10px}.action .input_row .radios input[data-v-378dba8e],.action .input_row .radios label[data-v-378dba8e]{cursor:pointer}.action .Tracker label[data-v-378dba8e]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-378dba8e]{padding:6px 2px}.action .btns[data-v-378dba8e]{width:100%;margin:42px auto 0}.action .btns button[data-v-378dba8e]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-378dba8e]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-378dba8e]{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-378dba8e]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-378dba8e]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-378dba8e]{visibility:visible;opacity:1}.action .tooltip-top[data-v-378dba8e]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-378dba8e]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-378dba8e]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-378dba8e]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-378dba8e]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-378dba8e]: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-378dba8e]: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-378dba8e]{text-align:center;font-size:14px}.action .finished[data-v-378dba8e]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-378dba8e]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-378dba8e]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-378dba8e]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-378dba8e]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-378dba8e]:focus,.select-editable input[data-v-378dba8e]:focus{outline:none}[data-v-378dba8e]::placeholder{color:#999}@keyframes bganimation-378dba8e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-378dba8e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-378dba8e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-378dba8e]{animation:rotateEnter-378dba8e .7s;position:relative}.rotate-leave-active[data-v-378dba8e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-378dba8e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-378dba8e]{width:100%}.action .input_row[data-v-378dba8e]{display:block}.action .input_row .myinput_wrap[data-v-378dba8e],.action .input_row .RPC_input[data-v-378dba8e]{width:100%}}@keyframes bganimation-3b622730{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b622730{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b622730{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b622730]{animation:rotateEnter-3b622730 .7s;position:relative}.rotate-leave-active[data-v-3b622730]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b622730]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-3b622730]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-3b622730]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-3b622730]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-3b622730]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b622730]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b622730] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-3b622730]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-3b622730]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-3b622730]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-3b622730]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-3b622730]:hover{background-color:#eee}.app-container .app-container_title button[data-v-3b622730]{margin-left:10px}.app-container .app-container_body[data-v-3b622730]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-3b622730]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-3b622730]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-3b622730],.app-container ul.app-container_nas-menu button[data-v-3b622730]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-3b622730]{position:fixed;inset:0}@keyframes bganimation-43beecef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-43beecef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-43beecef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-43beecef]{animation:rotateEnter-43beecef .7s;position:relative}.rotate-leave-active[data-v-43beecef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-43beecef]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}h3[data-v-43beecef]{text-align:center;margin-bottom:20px}.label-item[data-v-43beecef]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-43beecef]{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-43beecef]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-43beecef]{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-43beecef]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-43beecef]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-43beecef]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-43beecef]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-43dd65a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-43dd65a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-43dd65a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-43dd65a2]{animation:rotateEnter-43dd65a2 .7s;position:relative}.rotate-leave-active[data-v-43dd65a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-43dd65a2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-43dd65a2]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-43dd65a2]{width:100px;height:100px}.actioner-container_body .body-title[data-v-43dd65a2]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-43dd65a2]{text-align:center}.actioner-container_body .body-info[data-v-43dd65a2]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-43dd65a2]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-43dd65a2]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-43dd65a2]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-7790f1da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7790f1da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7790f1da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7790f1da]{animation:rotateEnter-7790f1da .7s;position:relative}.rotate-leave-active[data-v-7790f1da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7790f1da]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-7790f1da]{width:100%;height:100%;border:none}@keyframes bganimation-7b3ee72a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b3ee72a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b3ee72a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b3ee72a]{animation:rotateEnter-7b3ee72a .7s;position:relative}.rotate-leave-active[data-v-7b3ee72a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b3ee72a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-7b3ee72a]{width:100%;height:100%;border:none}@keyframes bganimation-7f5a8953{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7f5a8953{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7f5a8953{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7f5a8953]{animation:rotateEnter-7f5a8953 .7s;position:relative}.rotate-leave-active[data-v-7f5a8953]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7f5a8953]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-7f5a8953]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-7f5a8953]{width:100px;height:100px}.actioner-container_body .body-title[data-v-7f5a8953]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-7f5a8953]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-7f5a8953]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-7f5a8953]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-7f5a8953]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-d60389d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d60389d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d60389d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d60389d6]{animation:rotateEnter-d60389d6 .7s;position:relative}.rotate-leave-active[data-v-d60389d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d60389d6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-d60389d6]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-1e0ebd66{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e0ebd66{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e0ebd66{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e0ebd66]{animation:rotateEnter-1e0ebd66 .7s;position:relative}.rotate-leave-active[data-v-1e0ebd66]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e0ebd66]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-1e0ebd66]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-7a6bd385]{width:90%}}@keyframes bganimation-4358e88c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4358e88c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4358e88c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4358e88c]{animation:rotateEnter-4358e88c .7s;position:relative}.rotate-leave-active[data-v-4358e88c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4358e88c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-4358e88c]{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-4358e88c]{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-4358e88c]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-4358e88c]{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-4358e88c]{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-4358e88c]:hover{opacity:.8}.action .clear[data-v-4358e88c]{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-4358e88c]:hover{opacity:.8}@keyframes bganimation-9435cfa6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9435cfa6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9435cfa6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9435cfa6]{animation:rotateEnter-9435cfa6 .7s;position:relative}.rotate-leave-active[data-v-9435cfa6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9435cfa6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-9435cfa6]{display:block;width:100%;text-align:center}.title_info p[data-v-9435cfa6]{font-size:20px;margin-bottom:10px}.label-item[data-v-9435cfa6]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-9435cfa6]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-9435cfa6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-9435cfa6]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-9435cfa6]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-9435cfa6],.label-item .label-item_value input[data-v-9435cfa6]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-9435cfa6]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-9435cfa6]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-9435cfa6]{margin-left:8px}.label-message[data-v-9435cfa6]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6f1d92d9]{width:90%}}@keyframes bganimation-31624c78{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31624c78{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31624c78{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31624c78]{animation:rotateEnter-31624c78 .7s;position:relative}.rotate-leave-active[data-v-31624c78]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31624c78]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-31624c78]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-31624c78]{text-decoration:none}.app-container .app-container_title[data-v-31624c78]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-31624c78]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-31624c78]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;display:inline-block;padding:0 10px;border:1px solid #553AFE;cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-31624c78]{border-radius:0 4px 4px 0;border-right:1px solid #553AFE;border-top:1px solid #553AFE;border-bottom:1px solid #553AFE;height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-31624c78] svg path{fill:#553afe}.app-container .app-container_title .DeviceBlock[data-v-31624c78]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-31624c78]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-31624c78]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-31624c78]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-31624c78]:hover{background-color:#eee}.app-container button[data-v-31624c78],.app-container .refresh[data-v-31624c78]{margin-left:20px}.app-container .app-container_body[data-v-31624c78]{width:100%;height:100%}.menu_background[data-v-31624c78]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-31624c78]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-31624c78]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-31624c78]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-31624c78]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-31624c78]{border:1px solid #553afb;border-radius:4px;font-size:12px;padding:7px;color:#553afb;text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-31624c78]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-31624c78]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-31624c78]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-31624c78]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-31624c78]{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}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-31624c78]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-31624c78]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-31624c78]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-31624c78]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-31624c78]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-31624c78]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-31624c78]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-31624c78]: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-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-66cc4e33]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-20dfc9cc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-20dfc9cc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-20dfc9cc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-20dfc9cc]{animation:rotateEnter-20dfc9cc .7s;position:relative}.rotate-leave-active[data-v-20dfc9cc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-20dfc9cc]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-20dfc9cc]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-20dfc9cc]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-20dfc9cc]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-20dfc9cc]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-20dfc9cc]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-20dfc9cc]:hover{background-color:#eee}.item-label[data-v-20dfc9cc]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-20dfc9cc]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-20dfc9cc]{font-size:14px;color:#333}.item-label .item-label_value[data-v-20dfc9cc]{flex:1;text-align:left}.item-label .item-label_value span[data-v-20dfc9cc]{font-size:14px;color:#333}.item-title span[data-v-20dfc9cc]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-20dfc9cc]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-20dfc9cc]{flex:auto}.item-flex button.app-editor[data-v-20dfc9cc]{padding:8px 1.3rem}.menu_background[data-v-20dfc9cc]{position:fixed;inset:0}@keyframes bganimation-a0faa6f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a0faa6f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a0faa6f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a0faa6f2]{animation:rotateEnter-a0faa6f2 .7s;position:relative}.rotate-leave-active[data-v-a0faa6f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a0faa6f2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-a0faa6f2]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-a0faa6f2]{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-a0faa6f2]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-a0faa6f2]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-a0faa6f2]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-a0faa6f2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-a0faa6f2]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-a0faa6f2]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-a0faa6f2],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-a0faa6f2]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-a0faa6f2]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-a0faa6f2]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-a0faa6f2]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-a0faa6f2]{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-a0faa6f2]{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-a0faa6f2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-a0faa6f2]{text-align:center}.setting_status p[data-v-a0faa6f2]{margin:10px 0}.setting_status a[data-v-a0faa6f2]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-a0faa6f2]{margin-top:10px}@keyframes bganimation-a0faa6f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a0faa6f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a0faa6f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a0faa6f2]{animation:rotateEnter-a0faa6f2 .7s;position:relative}.rotate-leave-active[data-v-a0faa6f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a0faa6f2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-a0faa6f2]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-a0faa6f2]{width:100%}}@keyframes bganimation-0384f3ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0384f3ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0384f3ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0384f3ac]{animation:rotateEnter-0384f3ac .7s;position:relative}.rotate-leave-active[data-v-0384f3ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0384f3ac]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0384f3ac]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0384f3ac]{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-0384f3ac]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-0384f3ac]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-0384f3ac]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-0384f3ac]{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-0384f3ac]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-0384f3ac]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-0384f3ac]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-0384f3ac]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-0384f3ac]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-0384f3ac]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0384f3ac]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0384f3ac]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0384f3ac]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0384f3ac]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0384f3ac],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0384f3ac]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-0384f3ac]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-0384f3ac]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-0384f3ac]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-0384f3ac]{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-0384f3ac]{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-0384f3ac]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-0384f3ac]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-0384f3ac]{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-0384f3ac]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-0384f3ac]{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-0384f3ac]{margin-top:114px}.timeout span[data-v-0384f3ac],.sandbox_roboot_refresh[data-v-0384f3ac]{color:#5e72e4}option[data-v-0384f3ac]:disabled{background-color:#e0e0e0}@keyframes bganimation-0384f3ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0384f3ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0384f3ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0384f3ac]{animation:rotateEnter-0384f3ac .7s;position:relative}.rotate-leave-active[data-v-0384f3ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0384f3ac]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-0384f3ac]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-0384f3ac]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-0384f3ac]{min-height:42vh}.actioner-tips[data-v-0384f3ac]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-0384f3ac]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-0384f3ac]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-0384f3ac]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-0384f3ac]{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-0384f3ac]{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-0384f3ac]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-0384f3ac]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-0384f3ac]{padding:3px 10px}}@keyframes bganimation-4db2efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4db2efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4db2efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4db2efb4]{animation:rotateEnter-4db2efb4 .7s;position:relative}.rotate-leave-active[data-v-4db2efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4db2efb4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-4db2efb4]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-4db2efb4]{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-4db2efb4]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-4db2efb4]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-4db2efb4]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-4db2efb4]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-4db2efb4]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-4db2efb4]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-4db2efb4]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-4db2efb4]{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-4db2efb4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-4db2efb4]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-4db2efb4]{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-4db2efb4]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-4db2efb4]{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-4db2efb4]{margin-top:114px}.timeout span[data-v-4db2efb4]{color:#5e72e4}@keyframes bganimation-4db2efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4db2efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4db2efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4db2efb4]{animation:rotateEnter-4db2efb4 .7s;position:relative}.rotate-leave-active[data-v-4db2efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4db2efb4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-4db2efb4]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-4db2efb4]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-4db2efb4]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-4db2efb4]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-4db2efb4]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-4db2efb4]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-4db2efb4]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-4db2efb4]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-4db2efb4]{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-4db2efb4]{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-4db2efb4]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-4db2efb4]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-4db2efb4],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-4db2efb4]{font-size:12px}.actioner-tips .sandbox_info[data-v-4db2efb4]{padding:3px 10px}}@keyframes bganimation-82a27618{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-82a27618{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-82a27618{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-82a27618]{animation:rotateEnter-82a27618 .7s;position:relative}.rotate-leave-active[data-v-82a27618]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-82a27618]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-82a27618]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-82a27618]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button[data-v-82a27618]{position:relative}.nav-container .app-update-button i[data-v-82a27618]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .cover-buttob[data-v-82a27618]{margin-left:0;margin-right:5px}.nav-container a[data-v-82a27618]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-82a27618]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-82a27618]:before{content:"\276f "}.nav-container .MoreMenu[data-v-82a27618]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-82a27618]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-82a27618]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-82a27618]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-82a27618]{visibility:hidden}.color1[data-v-82a27618]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-82a27618]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-82a27618]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-82a27618]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-82a27618]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}@keyframes bganimation-0a2eed64{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0a2eed64{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0a2eed64{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0a2eed64]{animation:rotateEnter-0a2eed64 .7s;position:relative}.rotate-leave-active[data-v-0a2eed64]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0a2eed64]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0a2eed64]{margin-top:48px}em[data-v-0a2eed64]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-0a2eed64] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:#1e1e1e;font-size:1.5em}[data-v-0a2eed64] .more_icon{z-index:0}@keyframes bganimation-082ffcaf{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-082ffcaf{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-082ffcaf{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-082ffcaf]{animation:rotateEnter-082ffcaf .7s;position:relative}.rotate-leave-active[data-v-082ffcaf]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-082ffcaf]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-082ffcaf]{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-082ffcaf]{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-082ffcaf]{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-082ffcaf]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-082ffcaf]{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-082ffcaf]{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-082ffcaf]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-082ffcaf]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-082ffcaf]{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-082ffcaf]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-082ffcaf]{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-082ffcaf]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-082ffcaf]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-082ffcaf]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-082ffcaf]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-082ffcaf]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-082ffcaf]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-082ffcaf]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-082ffcaf]{background-color:#439c07}@keyframes bganimation-082ffcaf{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-082ffcaf{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-082ffcaf{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-082ffcaf]{animation:rotateEnter-082ffcaf .7s;position:relative}.rotate-leave-active[data-v-082ffcaf]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-082ffcaf]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-16746f19{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16746f19{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16746f19{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16746f19]{animation:rotateEnter-16746f19 .7s;position:relative}.rotate-leave-active[data-v-16746f19]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16746f19]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-16746f19]{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-16746f19]{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-16746f19]{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-16746f19]{margin:.5rem 0}#page .network-message li[data-v-16746f19]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-16746f19]{color:red}#page .network-message li a[data-v-16746f19]{color:#00f}#page form[data-v-16746f19]{display:block;width:100%;margin:3rem 0}#page form label[data-v-16746f19]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-16746f19]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-16746f19]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-16746f19]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-16746f19]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-16746f19]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-16746f19]{margin-left:10px;user-select:none}#page .msg[data-v-16746f19]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-16746f19]{width:100%;margin-top:3rem}#page .btns button[data-v-16746f19]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0d3a64fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d3a64fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d3a64fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d3a64fa]{animation:rotateEnter-0d3a64fa .7s;position:relative}.rotate-leave-active[data-v-0d3a64fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d3a64fa]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0d3a64fa]{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-0d3a64fa]{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-0d3a64fa]{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-0d3a64fa]{margin:.5rem 0}#page .network-message li[data-v-0d3a64fa]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-0d3a64fa]{color:red}#page .network-message li a[data-v-0d3a64fa]{color:#00f}#page form[data-v-0d3a64fa]{display:block;width:100%;margin:3rem 0}#page form label[data-v-0d3a64fa]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-0d3a64fa]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-0d3a64fa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-0d3a64fa]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-0d3a64fa],#page form label select[data-v-0d3a64fa]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-0d3a64fa]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-0d3a64fa]{margin-left:10px;user-select:none}#page .msgs[data-v-0d3a64fa]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-0d3a64fa]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-0d3a64fa]{width:100%;margin-top:3rem}#page .btns button[data-v-0d3a64fa]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-1c3f186c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c3f186c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c3f186c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c3f186c]{animation:rotateEnter-1c3f186c .7s;position:relative}.rotate-leave-active[data-v-1c3f186c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c3f186c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-1c3f186c]{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-1c3f186c]{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-1c3f186c]{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-1c3f186c]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-1c3f186c]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-1c3f186c]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-1c3f186c]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-1c3f186c]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-1c3f186c]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-1c3f186c]{display:block;width:100%;margin:3rem 0}#page form label[data-v-1c3f186c]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-1c3f186c]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-1c3f186c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-1c3f186c]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-1c3f186c],#page form label select[data-v-1c3f186c]{width:100%;display:block;height:42px}.switch_inline[data-v-1c3f186c]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-1c3f186c]{margin-left:10px;user-select:none}@keyframes bganimation-7fc91c6d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7fc91c6d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7fc91c6d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7fc91c6d]{animation:rotateEnter-7fc91c6d .7s;position:relative}.rotate-leave-active[data-v-7fc91c6d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7fc91c6d]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}p[data-v-7fc91c6d]{line-height:22px;font-size:14px}.label-item[data-v-7fc91c6d]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-7fc91c6d]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-7fc91c6d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-7fc91c6d]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-7fc91c6d]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-7fc91c6d],.label-item .label-item_value input[data-v-7fc91c6d]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-7fc91c6d]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-7fc91c6d]{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-7fc91c6d]{top:0}.label-item .label-item_tips[data-v-7fc91c6d]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-7fc91c6d]{vertical-align:top}span.msg-warning[data-v-7fc91c6d]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-7fc91c6d]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-7fc91c6d]{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-7fc91c6d]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-7fc91c6d]{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-7fc91c6d]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-7fc91c6d]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-7fc91c6d]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-7fc91c6d]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-7fc91c6d]{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-7fc91c6d]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-7fc91c6d]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-7fc91c6d]{display:block}.actioner-container_body.setup-success .body-tips[data-v-7fc91c6d]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-7fc91c6d]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-7fc91c6d]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-51f9d7a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-51f9d7a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-51f9d7a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-51f9d7a2]{animation:rotateEnter-51f9d7a2 .7s;position:relative}.rotate-leave-active[data-v-51f9d7a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-51f9d7a2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-51f9d7a2]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-c07c8244{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c07c8244{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c07c8244{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c07c8244]{animation:rotateEnter-c07c8244 .7s;position:relative}.rotate-leave-active[data-v-c07c8244]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c07c8244]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-c07c8244]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-c07c8244]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-c07c8244]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-c07c8244]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-c07c8244]{width:100%}.label-item .label-item_value select[data-v-c07c8244]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-c07c8244]{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-c07c8244]{top:0;margin:0}.label-item .label-item_tips[data-v-c07c8244]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-c07c8244]{vertical-align:top}span.msg-warning[data-v-c07c8244]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-13dc2cd6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-13dc2cd6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-13dc2cd6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-13dc2cd6]{animation:rotateEnter-13dc2cd6 .7s;position:relative}.rotate-leave-active[data-v-13dc2cd6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-13dc2cd6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-13dc2cd6]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-13dc2cd6]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-13dc2cd6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-13dc2cd6]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-13dc2cd6]{width:100%}.label-item .label-item_value select[data-v-13dc2cd6]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-13dc2cd6]{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-13dc2cd6]{top:0;margin:0}.label-item .label-item_tips[data-v-13dc2cd6]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-13dc2cd6]{vertical-align:top}span.msg-warning[data-v-13dc2cd6]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-5643983d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5643983d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5643983d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5643983d]{animation:rotateEnter-5643983d .7s;position:relative}.rotate-leave-active[data-v-5643983d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5643983d]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-5643983d]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-5643983d]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-5643983d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-5643983d]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-5643983d]{width:100%}.label-item .label-item_value select[data-v-5643983d]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-5643983d]{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-5643983d]{top:0;margin:0}.label-item .label-item_tips[data-v-5643983d]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-5643983d]{vertical-align:top}span.msg-warning[data-v-5643983d]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6ef94d02]{width:90%}}@keyframes bganimation-535a673b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-535a673b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-535a673b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-535a673b]{animation:rotateEnter-535a673b .7s;position:relative}.rotate-leave-active[data-v-535a673b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-535a673b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-535a673b]{margin-bottom:32px}.item-status[data-v-535a673b]{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-535a673b]{text-decoration:underline;cursor:help}@keyframes bganimation-2bc40d1c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2bc40d1c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2bc40d1c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2bc40d1c]{animation:rotateEnter-2bc40d1c .7s;position:relative}.rotate-leave-active[data-v-2bc40d1c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2bc40d1c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2bc40d1c]{margin-bottom:1rem}#page[data-v-2bc40d1c] .cbi-section{padding:1rem}#page[data-v-2bc40d1c] 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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-742230ae]{width:90%}}@keyframes bganimation-3f7c551e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f7c551e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f7c551e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f7c551e]{animation:rotateEnter-3f7c551e .7s;position:relative}.rotate-leave-active[data-v-3f7c551e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f7c551e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-3f7c551e]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-7d3ebf99{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7d3ebf99{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7d3ebf99{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7d3ebf99]{animation:rotateEnter-7d3ebf99 .7s;position:relative}.rotate-leave-active[data-v-7d3ebf99]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7d3ebf99]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-7d3ebf99]{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:#fff;box-shadow:0 0 10px 1px #bfbfbf24;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}.actioner-dns[data-v-2f7b866f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2f7b866f]{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-2f7b866f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2f7b866f]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2f7b866f]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2f7b866f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2f7b866f]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2f7b866f]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2f7b866f],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2f7b866f]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2f7b866f]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2f7b866f]{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-2f7b866f]{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-2f7b866f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-2f7b866f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2f7b866f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2f7b866f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2f7b866f]{animation:rotateEnter-2f7b866f .7s;position:relative}.rotate-leave-active[data-v-2f7b866f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2f7b866f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2f7b866f]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-2f7b866f]{width:100%}}@keyframes bganimation-589588f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-589588f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-589588f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-589588f0]{animation:rotateEnter-589588f0 .7s;position:relative}.rotate-leave-active[data-v-589588f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-589588f0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #bfbfbf24;padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-589588f0]{width:48px;height:100%;cursor:pointer}.interface-device-flex[data-v-589588f0]{display:flex;justify-content:center}.interface-device-flex .app-container_status-label_bg[data-v-589588f0]{width:0;min-width:130px;max-width:230px;overflow-y:hidden;flex:1 0 160px}.cbi-section-table-row .td.btns[data-v-589588f0]{text-align:left!important} diff --git a/luci-app-unishare/Makefile b/luci-app-unishare/Makefile index 512f05622..f149c3361 100755 --- a/luci-app-unishare/Makefile +++ b/luci-app-unishare/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI for UniShare LUCI_PKGARCH:=all LUCI_DEPENDS:=+unishare -PKG_VERSION:=1.0.0-3 +PKG_VERSION:=1.0.0-4 PKG_RELEASE:= PKG_MAINTAINER:=jjm2473 diff --git a/luci-app-unishare/luasrc/model/cbi/unishare/index.lua b/luci-app-unishare/luasrc/model/cbi/unishare/index.lua index e6f788f23..6964805a1 100644 --- a/luci-app-unishare/luasrc/model/cbi/unishare/index.lua +++ b/luci-app-unishare/luasrc/model/cbi/unishare/index.lua @@ -10,7 +10,9 @@ s.addremove = false o = s:taboption("general", Flag, "enabled", translate("Enabled")) o.default = 0 -o = s:taboption("general", Flag, "anonymous", translate("Allow Anonymous")) +o = s:taboption("general", Flag, "anonymous", translate("Allow Anonymous"), + translatef("For logged in users, please manage on the '%s' page", + ""..translate("Users").."")) o.default = 0 o = s:taboption("webdav", Value, "webdav_port", translate("WebDAV Port")) diff --git a/luci-app-unishare/luasrc/model/cbi/unishare/share.lua b/luci-app-unishare/luasrc/model/cbi/unishare/share.lua index a7577a3fd..508c1c3d0 100644 --- a/luci-app-unishare/luasrc/model/cbi/unishare/share.lua +++ b/luci-app-unishare/luasrc/model/cbi/unishare/share.lua @@ -16,7 +16,8 @@ s = m:section(NamedSection, arg[1], "share", "") s.addremove = false s.dynamic = false -path = s:option(Value, "path", translate("Path")) +path = s:option(Value, "path", translate("Path"), + translate("Note: '/mnt' is not suitable as a writable share, because Windows will recognize the wrong capacity")) path.datatype = "string" path.rmempty = false path.validate = function(self, value, section) diff --git a/luci-app-unishare/luasrc/model/cbi/unishare/users.lua b/luci-app-unishare/luasrc/model/cbi/unishare/users.lua index bc7fe1f5d..68d2d4b45 100644 --- a/luci-app-unishare/luasrc/model/cbi/unishare/users.lua +++ b/luci-app-unishare/luasrc/model/cbi/unishare/users.lua @@ -6,7 +6,8 @@ s.anonymous = true s.addremove = true s.template = "cbi/tblsection" -o = s:option(Value, "username", translate("Username")) +o = s:option(Value, "username", translate("Username"), + translate("Note: Do not use the 'root' user, as Samba forbids 'root' user login by default")) o.datatype = "string" o.rmempty = false o.validate = function(self, value) diff --git a/luci-app-unishare/po/zh-cn/unishare.po b/luci-app-unishare/po/zh-cn/unishare.po index b9d899c4d..a3ecc57c1 100644 --- a/luci-app-unishare/po/zh-cn/unishare.po +++ b/luci-app-unishare/po/zh-cn/unishare.po @@ -13,6 +13,9 @@ msgstr "全局" msgid "Allow Anonymous" msgstr "允许匿名用户" +msgid "For logged in users, please manage on the '%s' page" +msgstr "对于登录用户,请在 '%s' 页面进行管理" + msgid "WebDAV Port" msgstr "WebDAV 端口" @@ -43,6 +46,9 @@ msgstr "登录用户" msgid "'Everyone' includes anonymous if enabled, 'Logged Users' includes all users configured in '%s' tab" msgstr "'任何人'包括所有登录用户和匿名用户(如果允许匿名用户),'登录用户'包括所有在'%s'标签页配置的用户" +msgid "Note: '/mnt' is not suitable as a writable share, because Windows will recognize the wrong capacity" +msgstr "注意:'/mnt' 不适合作为可写共享,因为 Windows 会认错容量" + msgid "Name cannot be empty when Path is /" msgstr "路径是/时,名称不能为空" @@ -54,3 +60,6 @@ msgstr "名称不能包含这些特殊字符'%s'" msgid "Username must matchs regex '%s'" msgstr "用户名必须满足正则表达式'%s'" + +msgid "Note: Do not use the 'root' user, as Samba forbids 'root' user login by default" +msgstr "注意:不要使用 'root' 用户,因为 Samba 默认禁止 'root' 用户登录" diff --git a/luci-app-xray/Makefile b/luci-app-xray/Makefile deleted file mode 100644 index ad61064d9..000000000 --- a/luci-app-xray/Makefile +++ /dev/null @@ -1,153 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=luci-app-xray -PKG_VERSION:=1.29.0 -PKG_RELEASE:=1 - -PKG_LICENSE:=MPLv2 -PKG_LICENSE_FILES:=LICENSE -PKG_MAINTAINER:=yichya -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/$(PKG_NAME) - SECTION:=Custom - CATEGORY:=Extra packages - TITLE:=LuCI Support for Xray - DEPENDS:=+luci-base +xray-core +dnsmasq +ca-bundle +PACKAGE_firewall4:kmod-nft-tproxy +PACKAGE_firewall:ipset +PACKAGE_firewall:iptables +PACKAGE_firewall:iptables-mod-tproxy - PKGARCH:=all -endef - -define Package/$(PKG_NAME)/description - LuCI Support for Xray (Client-side Rendered). -endef - -define Package/$(PKG_NAME)/config -menu "luci-app-xray Configuration" - depends on PACKAGE_$(PKG_NAME) - -config PACKAGE_XRAY_INCLUDE_CLOUDFLARE_ORIGIN_ROOT_CA - bool "Include Cloudflare Origin Root CA" - default n - -config PACKAGE_XRAY_INFINITE_RETRY_ON_STARTUP - bool "Retry infinitely on Xray startup (may solve some startup problems)" - default n - -config PACKAGE_XRAY_RLIMIT_NOFILE_LARGE - bool "Increase Max Open Files Limit (recommended)" - default y - -config PACKAGE_XRAY_RESTART_DNSMASQ_ON_IFACE_CHANGE - bool "Restart dnsmasq on interface change (select this if using dnsmasq v2.87)" - default n - -config PACKAGE_XRAY_IGNORE_TP_SPEC_DEF_GW - bool "Ignore TP_SPEC_DEF_GW (select this if using private IPv4 address)" - default n - -choice - prompt "Limit memory use by setting rlimit_data (experimental)" - default PACKAGE_XRAY_RLIMIT_DATA_UNLIMITED - config PACKAGE_XRAY_RLIMIT_DATA_UNLIMITED - bool "Not limited" - config PACKAGE_XRAY_RLIMIT_DATA_SMALL - bool "Small limit (about 50MB)" - config PACKAGE_XRAY_RLIMIT_DATA_LARGE - bool "Large limit (about 321MB)" -endchoice - -endmenu -endef - -define Build/Compile -endef - -define Package/$(PKG_NAME)/postinst -#!/bin/sh -if [[ ! -f $${IPKG_INSTROOT}/usr/share/xray/xray.init.replaced ]]; then - if [[ ! -f $${IPKG_INSTROOT}/etc/init.d/xray ]]; then - echo "echo This file does nothing" > $${IPKG_INSTROOT}/etc/init.d/xray - fi - mv $${IPKG_INSTROOT}/etc/init.d/xray $${IPKG_INSTROOT}/usr/share/xray/xray.init.replaced - mkdir -p $${IPKG_INSTROOT}/etc/config - mv $${IPKG_INSTROOT}/tmp/xray.conf $${IPKG_INSTROOT}/etc/config/xray -fi -rm -f $${IPKG_INSTROOT}/tmp/xray.conf -mkdir -p $${IPKG_INSTROOT}/etc/init.d -mv $${IPKG_INSTROOT}/tmp/xray.init $${IPKG_INSTROOT}/etc/init.d/xray -if [[ -z "$${IPKG_INSTROOT}" ]]; then - if [[ -f /etc/uci-defaults/xray ]]; then - ( . /etc/uci-defaults/xray ) && rm -f /etc/uci-defaults/xray - fi - rm -rf /tmp/luci-indexcache* /tmp/luci-modulecache -fi -exit 0 -endef - -define Package/$(PKG_NAME)/conffiles -/etc/config/xray -endef - -define Package/$(PKG_NAME)/install - $(INSTALL_DIR) $(1)/tmp - $(INSTALL_BIN) ./root/etc/init.d/xray $(1)/tmp/xray.init - $(INSTALL_DATA) ./root/etc/config/xray $(1)/tmp/xray.conf - $(INSTALL_DIR) $(1)/etc/luci-uploads/xray - $(INSTALL_DIR) $(1)/etc/hotplug.d/iface - $(INSTALL_DIR) $(1)/etc/ssl/certs -ifdef CONFIG_PACKAGE_XRAY_INCLUDE_CLOUDFLARE_ORIGIN_ROOT_CA - $(INSTALL_DATA) ./root/etc/ssl/certs/origin_ca_ecc_root.pem $(1)/etc/ssl/certs/origin_ca_ecc_root.pem -endif - $(INSTALL_DIR) $(1)/etc/uci-defaults - $(INSTALL_BIN) ./root/etc/uci-defaults/xray $(1)/etc/uci-defaults/xray - $(INSTALL_DIR) $(1)/www/luci-static/resources/view - $(INSTALL_DATA) ./root/www/luci-static/resources/view/xray.js $(1)/www/luci-static/resources/view/xray.js - $(INSTALL_DIR) $(1)/usr/share/luci/menu.d - $(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-app-xray.json $(1)/usr/share/luci/menu.d/luci-app-xray.json - $(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d - $(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-xray.json $(1)/usr/share/rpcd/acl.d/luci-app-xray.json - $(INSTALL_DIR) $(1)/usr/share/xray - $(LN) /var/run/xray.pid $(1)/usr/share/xray/xray.pid - $(LN) /usr/bin/xray $(1)/usr/share/xray/xray -ifdef CONFIG_PACKAGE_XRAY_IGNORE_TP_SPEC_DEF_GW - $(INSTALL_DATA) ./root/usr/share/xray/ignore_tp_spec_def_gw $(1)/usr/share/xray/ignore_tp_spec_def_gw -endif -ifdef CONFIG_PACKAGE_XRAY_RESTART_DNSMASQ_ON_IFACE_CHANGE - $(INSTALL_DATA) ./root/usr/share/xray/restart_dnsmasq_on_iface_change $(1)/usr/share/xray/restart_dnsmasq_on_iface_change -endif -ifdef CONFIG_PACKAGE_XRAY_INFINITE_RETRY_ON_STARTUP - $(INSTALL_DATA) ./root/usr/share/xray/infinite_retry $(1)/usr/share/xray/infinite_retry -endif -ifdef CONFIG_PACKAGE_XRAY_RLIMIT_NOFILE_LARGE - $(INSTALL_DATA) ./root/usr/share/xray/rlimit_nofile_large $(1)/usr/share/xray/rlimit_nofile -endif -ifdef CONFIG_PACKAGE_XRAY_RLIMIT_DATA_SMALL - $(INSTALL_DATA) ./root/usr/share/xray/rlimit_data_small $(1)/usr/share/xray/rlimit_data -endif -ifdef CONFIG_PACKAGE_XRAY_RLIMIT_DATA_LARGE - $(INSTALL_DATA) ./root/usr/share/xray/rlimit_data_large $(1)/usr/share/xray/rlimit_data -endif -ifdef CONFIG_PACKAGE_firewall - $(INSTALL_BIN) ./root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw3 $(1)/etc/hotplug.d/iface/01-transparent-proxy-ipset - $(INSTALL_BIN) ./root/usr/share/xray/gen_ipset_rules.lua $(1)/usr/share/xray/gen_ipset_rules.lua - $(INSTALL_BIN) ./root/usr/share/xray/gen_ipset_rules_extra_normal.lua $(1)/usr/share/xray/gen_ipset_rules_extra.lua - $(INSTALL_BIN) ./root/usr/share/xray/firewall_include.lua $(1)/usr/share/xray/firewall_include.lua - $(INSTALL_DATA) ./root/usr/share/xray/init.fw3 $(1)/usr/share/xray/init.firewall - $(INSTALL_BIN) ./root/usr/share/xray/gen_config.lua $(1)/usr/share/xray/gen_config.lua -endif -ifdef CONFIG_PACKAGE_firewall4 - $(INSTALL_BIN) ./root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw4 $(1)/etc/hotplug.d/iface/01-transparent-proxy-ipset - $(INSTALL_DATA) ./root/usr/share/xray/include.nft $(1)/usr/share/xray/include.nft - $(INSTALL_DIR) $(1)/etc/nftables.d - $(LN) /usr/share/xray/include.nft $(1)/etc/nftables.d/99-xray.nft - $(INSTALL_BIN) ./root/usr/share/xray/firewall_include.ut $(1)/usr/share/xray/firewall_include.ut - $(INSTALL_DATA) ./root/usr/share/xray/init.fw4 $(1)/usr/share/xray/init.firewall - $(INSTALL_BIN) ./root/usr/share/xray/gen_config.uc $(1)/usr/share/xray/gen_config.uc -endif - $(INSTALL_DIR) $(1)/usr/libexec/rpcd - $(INSTALL_BIN) ./root/usr/libexec/rpcd/xray $(1)/usr/libexec/rpcd/xray -endef - -$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/luci-app-xray/README.md b/luci-app-xray/README.md index 09fbe9542..867cd47cd 100644 --- a/luci-app-xray/README.md +++ b/luci-app-xray/README.md @@ -6,11 +6,15 @@ Focus on making the most of Xray (HTTP/HTTPS/Socks/TProxy inbounds, multiple pro ## Warnings +* Since version 2.0.0 this project is split into `fw3` and `fw4` variants and **this breaks compatibility**: + * Configuration files and init scripts are renamed. Manually refill configurations or run `mv /etc/config/xray /etc/config/xray_fw4` (for fw4, similar for fw3) for migration. + * installation method is changed. See `Installation` below for details. + * `fw3` variant is no longer in active development (version 2.0.0 is not tested as well, just merged first). It is strongly recommended to use `fw4` variant. * About experimental REALITY support * may change quite frequently so keep in mind about following warnings * currently only implemented in ucode, which means OpenWrt 22.03 versions (or master branch) and fw4 is required. Support for previous versions (19.07 / 21.02) will be added later. * server role support **involves breaking changes if you use HTTPS server**: certificate settings are now bound to stream security, so previously uploaded certificate and key files will disappear in LuCI, but this won't prevent Xray from using them. Your previously uploaded file are still there, just select them again in LuCI. If Xray fails to start up and complains about missing certificate files, also try picking them again. - * legacy XTLS support has already been removed in version 1.8.0. This project will also remove legacy XTLS support in the next few updates so please migrate to xtls-rprx-vision or as soon as possible. + * legacy XTLS support has already been removed in version 1.8.0 and is also removed by this project since version 2.0.0. * Since OpenWrt 22.03 release, the recommended firewall implementation for this project is now **firewall4** with some caveats * currently this project still works on OpenWrt 19.07 / 21.02 versions. There's a warning about missing `kmod-nft-tproxy` when using these versions, just ignore it. This problem will be fixed later. * support for versions mentioned above will soon be **deprecated**, which means that most new features won't be implemented for these old versions. Check changelog for details about future changes and availability of various new features. @@ -31,7 +35,12 @@ Focus on making the most of Xray (HTTP/HTTPS/Socks/TProxy inbounds, multiple pro ## Installation -Clone this repository under `package/extra` and find `luci-app-xray` under `Extra Packages`. +Choose one below: + +* Add `src-git-full luci-app-xray https://github.com/yichya/luci-app-xray` to `feeds.conf.default` and run `./scripts/feeds update -a; ./scripts/feeds install -a` +* Clone this repository under `package` + +Then find `luci-app-xray` under `Extra Packages`. ## Changelog 2023 diff --git a/luci-app-xray/fw3/Makefile.freeze b/luci-app-xray/fw3/Makefile.freeze new file mode 100644 index 000000000..40ddd3dcf --- /dev/null +++ b/luci-app-xray/fw3/Makefile.freeze @@ -0,0 +1,66 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=luci-app-xray-fw3 +PKG_VERSION:=2.0.0 +PKG_RELEASE:=1 + +PKG_LICENSE:=MPLv2 +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=yichya +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + SECTION:=Custom + CATEGORY:=Extra packages + TITLE:=LuCI Support for Xray + DEPENDS:=firewall +ipset +iptables-mod-tproxy +luci-app-xray-shared + PKGARCH:=all +endef + +define Package/$(PKG_NAME)/description + LuCI Support for Xray (Client-side Rendered) (fw3 variant). +endef + +define Build/Compile +endef + +define Package/$(PKG_NAME)/postinst +#!/bin/sh +if [[ -z "$${IPKG_INSTROOT}" ]]; then + if [[ -f /etc/uci-defaults/xray_fw3 ]]; then + ( . /etc/uci-defaults/xray_fw3 ) && rm -f /etc/uci-defaults/xray_fw3 + fi + rm -rf /tmp/luci-indexcache* /tmp/luci-modulecache +fi +exit 0 +endef + +define Package/$(PKG_NAME)/conffiles +/etc/config/xray_fw3 +endef + +define Package/$(PKG_NAME)/install +$(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./root/etc/init.d/xray_fw3 $(1)/etc/init.d/xray_fw3 + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DATA) ./root/etc/config/xray_fw3 $(1)/etc/config/xray_fw3 + $(INSTALL_DIR) $(1)/etc/uci-defaults + $(INSTALL_BIN) ./root/etc/uci-defaults/xray_fw3 $(1)/etc/uci-defaults/xray_fw3 + $(INSTALL_DIR) $(1)/etc/hotplug.d/iface + $(INSTALL_BIN) ./root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw3 $(1)/etc/hotplug.d/iface/01-transparent-proxy-ipset + $(INSTALL_DIR) $(1)/www/luci-static/resources/view + $(INSTALL_DATA) ./root/www/luci-static/resources/view/xray_fw3.js $(1)/www/luci-static/resources/view/xray.js + $(INSTALL_DIR) $(1)/usr/share/luci/menu.d + $(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-app-xray.json $(1)/usr/share/luci/menu.d/luci-app-xray.json + $(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d + $(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-xray.json $(1)/usr/share/rpcd/acl.d/luci-app-xray.json + $(INSTALL_DIR) $(1)/usr/share/xray + $(INSTALL_BIN) ./root/usr/share/xray/gen_ipset_rules.lua $(1)/usr/share/xray/gen_ipset_rules.lua + $(INSTALL_BIN) ./root/usr/share/xray/gen_ipset_rules_extra_normal.lua $(1)/usr/share/xray/gen_ipset_rules_extra.lua + $(INSTALL_BIN) ./root/usr/share/xray/firewall_include.lua $(1)/usr/share/xray/firewall_include.lua + $(INSTALL_BIN) ./root/usr/share/xray/gen_config.lua $(1)/usr/share/xray/gen_config.lua +endef + +$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/luci-app-xray/root/etc/config/xray b/luci-app-xray/fw3/root/etc/config/xray_fw3 similarity index 100% rename from luci-app-xray/root/etc/config/xray rename to luci-app-xray/fw3/root/etc/config/xray_fw3 diff --git a/luci-app-xray/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw3 b/luci-app-xray/fw3/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw3 similarity index 100% rename from luci-app-xray/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw3 rename to luci-app-xray/fw3/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw3 diff --git a/luci-app-xray/root/etc/init.d/xray b/luci-app-xray/fw3/root/etc/init.d/xray_fw3 similarity index 76% rename from luci-app-xray/root/etc/init.d/xray rename to luci-app-xray/fw3/root/etc/init.d/xray_fw3 index 6a4f2a409..0e9b30503 100644 --- a/luci-app-xray/root/etc/init.d/xray +++ b/luci-app-xray/fw3/root/etc/init.d/xray_fw3 @@ -3,9 +3,39 @@ START=90 STOP=15 USE_PROCD=1 -NAME=xray +NAME=xray_fw3 -source /usr/share/xray/init.firewall +FIREWALL_INCLUDE="/usr/share/xray/firewall_include.lua" + +setup_firewall() { + logger -st xray[$$] -p4 "Setting ipset rules..." + lua /usr/share/xray/gen_ipset_rules.lua | ipset -! restore + /etc/hotplug.d/iface/01-transparent-proxy-ipset + + logger -st xray[$$] -p4 "Generating firewall rules..." + /usr/bin/lua ${FIREWALL_INCLUDE} enable > $(uci get firewall.xray.path) + + logger -st xray[$$] -p4 "Triggering firewall restart..." + /etc/init.d/firewall restart > /dev/null 2>&1 +} + +flush_firewall() { + logger -st xray[$$] -p4 "Flushing firewall rules..." + /usr/bin/lua ${FIREWALL_INCLUDE} flush > $(uci get firewall.xray.path) + + logger -st xray[$$] -p4 "Triggering firewall restart..." + /etc/init.d/firewall restart > /dev/null 2>&1 + + logger -st xray[$$] -p4 "Flushing ipset rules..." + for setname in $(ipset -n list | grep "tp_spec"); do + ipset -! destroy $setname + done + /etc/hotplug.d/iface/01-transparent-proxy-ipset +} + +impl_gen_config_file() { + /usr/bin/lua /usr/share/xray/gen_config.lua > /var/etc/xray/config.json +} uci_get_by_type() { local ret=$(uci get ${NAME}.@$1[0].$2 2>/dev/null) @@ -130,5 +160,5 @@ reload_service() { } service_triggers() { - procd_add_reload_trigger "xray" + procd_add_reload_trigger "xray_fw3" } diff --git a/luci-app-xray/fw3/root/etc/uci-defaults/xray_fw3 b/luci-app-xray/fw3/root/etc/uci-defaults/xray_fw3 new file mode 100644 index 000000000..13deca2cf --- /dev/null +++ b/luci-app-xray/fw3/root/etc/uci-defaults/xray_fw3 @@ -0,0 +1,16 @@ +#!/bin/sh +uci get xray_fw3.@general[-1] >/dev/null 2>&1 || uci add xray_fw3 general >/dev/null 2>&1 +uci commit xray_fw3 +uci -q batch <<-EOF >/dev/null + delete ucitrack.@xray_fw3[-1] + add ucitrack xray_fw3 + set ucitrack.@xray_fw3[-1].init=xray_fw3 + commit ucitrack + delete firewall.xray_fw3 + set firewall.xray_fw3=include + set firewall.xray_fw3.type=script + set firewall.xray_fw3.path=/var/etc/xray_fw3.include + set firewall.xray_fw3.reload=1 + commit firewall +EOF +exit 0 diff --git a/luci-app-xray/root/usr/share/luci/menu.d/luci-app-xray.json b/luci-app-xray/fw3/root/usr/share/luci/menu.d/luci-app-xray.json similarity index 59% rename from luci-app-xray/root/usr/share/luci/menu.d/luci-app-xray.json rename to luci-app-xray/fw3/root/usr/share/luci/menu.d/luci-app-xray.json index 1bd4f7014..3ee1f8b47 100644 --- a/luci-app-xray/root/usr/share/luci/menu.d/luci-app-xray.json +++ b/luci-app-xray/fw3/root/usr/share/luci/menu.d/luci-app-xray.json @@ -1,16 +1,16 @@ { - "admin/services/xray": { - "title": "Xray", + "admin/services/xray_fw3": { + "title": "Xray (firewall3)", "action": { "type": "view", - "path": "xray" + "path": "xray_fw3" }, "depends": { "acl": [ "luci-app-xray" ], "uci": { - "xray": true + "xray_fw3": true } } } diff --git a/luci-app-xray/root/usr/share/rpcd/acl.d/luci-app-xray.json b/luci-app-xray/fw3/root/usr/share/rpcd/acl.d/luci-app-xray.json similarity index 80% rename from luci-app-xray/root/usr/share/rpcd/acl.d/luci-app-xray.json rename to luci-app-xray/fw3/root/usr/share/rpcd/acl.d/luci-app-xray.json index 5a19c6c3c..e22dad414 100644 --- a/luci-app-xray/root/usr/share/rpcd/acl.d/luci-app-xray.json +++ b/luci-app-xray/fw3/root/usr/share/rpcd/acl.d/luci-app-xray.json @@ -3,12 +3,12 @@ "description": "Grant access to xray configurations", "read": { "uci": [ - "xray" + "xray_fw3" ] }, "write": { "uci": [ - "xray" + "xray_fw3" ] } } diff --git a/luci-app-xray/root/usr/share/xray/firewall_include.lua b/luci-app-xray/fw3/root/usr/share/xray/firewall_include.lua similarity index 95% rename from luci-app-xray/root/usr/share/xray/firewall_include.lua rename to luci-app-xray/fw3/root/usr/share/xray/firewall_include.lua index 79175224e..dcaaa348c 100644 --- a/luci-app-xray/root/usr/share/xray/firewall_include.lua +++ b/luci-app-xray/fw3/root/usr/share/xray/firewall_include.lua @@ -55,8 +55,8 @@ COMMIT COMMIT EOF]] -local proxy_section = ucursor:get_first("xray", "general") -local proxy = ucursor:get_all("xray", proxy_section) +local proxy_section = ucursor:get_first("xray_fw3", "general") +local proxy = ucursor:get_all("xray_fw3", proxy_section) print(flush) if proxy.transparent_proxy_enable ~= "1" then diff --git a/luci-app-xray/root/usr/share/xray/gen_config.lua b/luci-app-xray/fw3/root/usr/share/xray/gen_config.lua similarity index 97% rename from luci-app-xray/root/usr/share/xray/gen_config.lua rename to luci-app-xray/fw3/root/usr/share/xray/gen_config.lua index 9cb409d36..e8ab65f21 100644 --- a/luci-app-xray/root/usr/share/xray/gen_config.lua +++ b/luci-app-xray/fw3/root/usr/share/xray/gen_config.lua @@ -3,19 +3,19 @@ local ucursor = require "luci.model.uci" local json = require "luci.jsonc" local nixiofs = require "nixio.fs" -local proxy_section = ucursor:get_first("xray", "general") -local proxy = ucursor:get_all("xray", proxy_section) +local proxy_section = ucursor:get_first("xray_fw3", "general") +local proxy = ucursor:get_all("xray_fw3", proxy_section) local tcp_server_section = arg[1] == nil and proxy.main_server or arg[1] local tcp_server = nil if tcp_server_section ~= nil and tcp_server_section ~= "disabled" then - tcp_server = ucursor:get_all("xray", tcp_server_section) + tcp_server = ucursor:get_all("xray_fw3", tcp_server_section) end local udp_server_section = arg[2] == nil and proxy.tproxy_udp_server or arg[2] local udp_server = nil if udp_server_section ~= nil and udp_server_section ~= "disabled" then - udp_server = ucursor:get_all("xray", udp_server_section) + udp_server = ucursor:get_all("xray_fw3", udp_server_section) end local geoip_existence = false @@ -394,7 +394,7 @@ local function server_outbound_recursive(t, server, tag) table.insert(result, 1, f) end if dialerProxy ~= nil then - local dialer_proxy_section = ucursor:get_all("xray", dialerProxy) + local dialer_proxy_section = ucursor:get_all("xray_fw3", dialerProxy) return server_outbound_recursive(result, dialer_proxy_section, "dialer_proxy_" .. tag) else return result @@ -474,7 +474,7 @@ end local function fallbacks() local f = {} - ucursor:foreach("xray", "fallback", function(s) + ucursor:foreach("xray_fw3", "fallback", function(s) if s.dest ~= nil then table.insert(f, { dest = s.dest, @@ -778,7 +778,7 @@ end local function manual_tproxy_outbounds() local result = {} local i = 0 - ucursor:foreach("xray", "manual_tproxy", function(v) + ucursor:foreach("xray_fw3", "manual_tproxy", function(v) i = i + 1 local tcp_tag = "direct" local udp_tag = "direct" @@ -788,7 +788,7 @@ local function manual_tproxy_outbounds() tcp_tag = "tcp_outbound" else tcp_tag = string.format("manual_tproxy_force_forward_tcp_outbound_%d", i) - local force_forward_server_tcp = ucursor:get_all("xray", v.force_forward_server_tcp) + local force_forward_server_tcp = ucursor:get_all("xray_fw3", v.force_forward_server_tcp) for _, f in ipairs(server_outbound(force_forward_server_tcp, tcp_tag)) do table.insert(result, f) end @@ -801,7 +801,7 @@ local function manual_tproxy_outbounds() udp_tag = "udp_outbound" else udp_tag = string.format("manual_tproxy_force_forward_udp_outbound_%d", i) - local force_forward_server_udp = ucursor:get_all("xray", v.force_forward_server_udp) + local force_forward_server_udp = ucursor:get_all("xray_fw3", v.force_forward_server_udp) for _, f in ipairs(server_outbound(force_forward_server_udp, udp_tag)) do table.insert(result, f) end @@ -840,7 +840,7 @@ end local function manual_tproxy_rules() local result = {} local i = 0 - ucursor:foreach("xray", "manual_tproxy", function(v) + ucursor:foreach("xray_fw3", "manual_tproxy", function(v) i = i + 1 table.insert(result, { type = "field", @@ -863,7 +863,7 @@ end local function bridges() local result = {} local i = 0 - ucursor:foreach("xray", "bridge", function(v) + ucursor:foreach("xray_fw3", "bridge", function(v) i = i + 1 table.insert(result, { tag = string.format("bridge_inbound_%d", i), @@ -876,9 +876,9 @@ end local function bridge_outbounds() local result = {} local i = 0 - ucursor:foreach("xray", "bridge", function(v) + ucursor:foreach("xray_fw3", "bridge", function(v) i = i + 1 - local bridge_server = ucursor:get_all("xray", v.upstream) + local bridge_server = ucursor:get_all("xray_fw3", v.upstream) for _, f in ipairs(server_outbound(bridge_server, string.format("bridge_upstream_outbound_%d", i))) do table.insert(result, 1, f) end @@ -896,7 +896,7 @@ end local function bridge_rules() local result = {} local i = 0 - ucursor:foreach("xray", "bridge", function(v) + ucursor:foreach("xray_fw3", "bridge", function(v) i = i + 1 table.insert(result, { type = "field", diff --git a/luci-app-xray/root/usr/share/xray/gen_ipset_rules.lua b/luci-app-xray/fw3/root/usr/share/xray/gen_ipset_rules.lua similarity index 94% rename from luci-app-xray/root/usr/share/xray/gen_ipset_rules.lua rename to luci-app-xray/fw3/root/usr/share/xray/gen_ipset_rules.lua index 035e53490..1496be798 100644 --- a/luci-app-xray/root/usr/share/xray/gen_ipset_rules.lua +++ b/luci-app-xray/fw3/root/usr/share/xray/gen_ipset_rules.lua @@ -2,8 +2,8 @@ local io = require("io") local ucursor = require "luci.model.uci" -local proxy_section = ucursor:get_first("xray", "general") -local proxy = ucursor:get_all("xray", proxy_section) +local proxy_section = ucursor:get_first("xray_fw3", "general") +local proxy = ucursor:get_all("xray_fw3", proxy_section) local gen_ipset_rules_extra = dofile("/usr/share/xray/gen_ipset_rules_extra.lua") local create_ipset_rules = [[create tp_spec_src_ac hash:mac hashsize 64 diff --git a/luci-app-xray/root/usr/share/xray/gen_ipset_rules_extra_normal.lua b/luci-app-xray/fw3/root/usr/share/xray/gen_ipset_rules_extra_normal.lua similarity index 100% rename from luci-app-xray/root/usr/share/xray/gen_ipset_rules_extra_normal.lua rename to luci-app-xray/fw3/root/usr/share/xray/gen_ipset_rules_extra_normal.lua diff --git a/luci-app-xray/root/www/luci-static/resources/view/xray.js b/luci-app-xray/fw3/root/www/luci-static/resources/view/xray_fw3.js similarity index 95% rename from luci-app-xray/root/www/luci-static/resources/view/xray.js rename to luci-app-xray/fw3/root/www/luci-static/resources/view/xray_fw3.js index e7b16928e..d9799840f 100644 --- a/luci-app-xray/root/www/luci-static/resources/view/xray.js +++ b/luci-app-xray/fw3/root/www/luci-static/resources/view/xray_fw3.js @@ -24,7 +24,7 @@ function validate_object(id, a) { } } -function add_flow_and_stream_security_conf(s, tab_name, depends_field_name, protocol_name, have_xtls, have_tls_flow, client_side, fw4_enabled) { +function add_flow_and_stream_security_conf(s, tab_name, depends_field_name, protocol_name, have_xtls, have_tls_flow, client_side) { let o = s.taboption(tab_name, form.ListValue, `${protocol_name}_tls`, _(`[${protocol_name}] Stream Security`)) let odep = {} odep[depends_field_name] = protocol_name @@ -38,7 +38,7 @@ function add_flow_and_stream_security_conf(s, tab_name, depends_field_name, prot if (have_xtls) { o.value("xtls", "XTLS") } - if (have_tls_flow && fw4_enabled) { + if (have_tls_flow) { o.value("reality", "REALITY (Experimental)") } o.depends(odep) @@ -269,7 +269,6 @@ function check_resource_files(load_result) { let geoip_size = 0; let geosite_existence = false; let geosite_size = 0; - let firewall4 = false; let xray_bin_default = false; let xray_running = false; let optional_features = {}; @@ -288,9 +287,6 @@ function check_resource_files(load_result) { geosite_existence = true; geosite_size = '%.2mB'.format(f.size); } - if (f.name == "firewall_include.ut") { - firewall4 = true; - } if (f.name.startsWith("optional_feature_")) { optional_features[f.name] = true; } @@ -301,7 +297,6 @@ function check_resource_files(load_result) { geosite_existence: geosite_existence, geosite_size: geosite_size, optional_features: optional_features, - firewall4: firewall4, xray_bin_default: xray_bin_default, xray_running: xray_running, } @@ -310,7 +305,7 @@ function check_resource_files(load_result) { return view.extend({ load: function () { return Promise.all([ - uci.load("xray"), + uci.load("xray_fw3"), fs.list("/usr/share/xray"), network.getHostHints() ]) @@ -319,9 +314,8 @@ return view.extend({ render: function (load_result) { const config_data = load_result[0]; const geoip_direct_code = uci.get_first(config_data, "general", "geoip_direct_code"); - const { geoip_existence, geoip_size, geosite_existence, geosite_size, optional_features, firewall4, xray_bin_default, xray_running } = check_resource_files(load_result[1]); + const { geoip_existence, geoip_size, geosite_existence, geosite_size, optional_features, xray_bin_default, xray_running } = check_resource_files(load_result[1]); const status_text = xray_running ? _("[Xray is running]") : _("[Xray is stopped]"); - const fw_text = firewall4 ? _("[fw4]"): _("[fw3]"); let asset_file_status = _('WARNING: at least one of asset files (geoip.dat, geosite.dat) is not found under /usr/share/xray. Xray may not work properly. See here for help.') if (geoip_existence) { @@ -330,7 +324,7 @@ return view.extend({ } } - const m = new form.Map('xray', _('Xray'), status_text + " " + fw_text + " " + asset_file_status); + const m = new form.Map('xray_fw3', _('Xray (firewall3)'), status_text + " " + fw_text + " " + asset_file_status); var s, o, ss; @@ -408,7 +402,7 @@ return view.extend({ o.value("shadowsocks", "Shadowsocks") o.rmempty = false - add_flow_and_stream_security_conf(ss, "protocol", "protocol", "trojan", true, false, true, firewall4) + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "trojan", true, false, true) o = ss.taboption('protocol', form.ListValue, "shadowsocks_security", _("[shadowsocks] Encrypt Method")) o.depends("protocol", "shadowsocks") @@ -427,7 +421,7 @@ return view.extend({ o.rmempty = false o.modalonly = true - add_flow_and_stream_security_conf(ss, "protocol", "protocol", "shadowsocks", false, false, true, firewall4) + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "shadowsocks", false, false, true) o = ss.taboption('protocol', form.ListValue, "vmess_security", _("[vmess] Encrypt Method")) o.depends("protocol", "vmess") @@ -449,7 +443,7 @@ return view.extend({ o.rmempty = false o.modalonly = true - add_flow_and_stream_security_conf(ss, "protocol", "protocol", "vmess", false, false, true, firewall4) + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "vmess", false, false, true) o = ss.taboption('protocol', form.ListValue, "vless_encryption", _("[vless] Encrypt Method")) o.depends("protocol", "vless") @@ -457,7 +451,7 @@ return view.extend({ o.rmempty = false o.modalonly = true - add_flow_and_stream_security_conf(ss, "protocol", "protocol", "vless", true, true, true, firewall4) + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "vless", true, true, true) ss.tab('transport', _('Transport Settings')); @@ -662,16 +656,6 @@ return view.extend({ } o.modalonly = true - if (firewall4) { - ss.tab('custom', _('Custom Options')); - - o = ss.taboption('custom', form.TextValue, 'custom_config', _('Custom Configurations'), _('Configurations here override settings in the previous tabs with the following rules:
  1. Object values will be replaced recursively so settings in previous tabs matters.
  2. Arrays will be replaced entirely instead of being merged.
  3. Tag tag is ignored.
Override rules here may be changed later. Use this only for experimental or pre-release features.')) - o.modalonly = true - o.monospace = true - o.rows = 10 - o.validate = validate_object; - } - s.tab('proxy', _('Proxy Settings')); o = s.taboption('proxy', form.Value, 'tproxy_port_tcp', _('Transparent Proxy Port (TCP)')) @@ -690,14 +674,6 @@ return view.extend({ o.datatype = 'port' o.default = 1083 - if (firewall4) { - o = s.taboption('proxy', form.DynamicList, 'uids_direct', _('Skip Proxy for uids'), _("Processes started by users with these uids won't be forwarded through Xray.")) - o.datatype = "integer" - - o = s.taboption('proxy', form.DynamicList, 'gids_direct', _('Skip Proxy for gids'), _("Processes started by users in groups with these gids won't be forwarded through Xray.")) - o.datatype = "integer" - } - o = s.taboption('proxy', widgets.DeviceSelect, 'lan_ifaces', _("LAN Interface")) o.noaliases = true o.rmempty = false @@ -869,9 +845,9 @@ return view.extend({ o.rmempty = false o.depends("web_server_enable", "1") - add_flow_and_stream_security_conf(s, "xray_server", "web_server_protocol", "vless", true, true, false, firewall4) + add_flow_and_stream_security_conf(s, "xray_server", "web_server_protocol", "vless", true, true, false) - add_flow_and_stream_security_conf(s, "xray_server", "web_server_protocol", "trojan", true, false, false, firewall4) + add_flow_and_stream_security_conf(s, "xray_server", "web_server_protocol", "trojan", true, false, false) o = s.taboption('xray_server', form.Value, 'web_server_password', _('UserId / Password'), _('Fill user_id for vmess / VLESS, or password for shadowsocks / trojan (also supports Xray UUID Mapping)')) o.depends("web_server_enable", "1") diff --git a/luci-app-xray/fw4/Makefile b/luci-app-xray/fw4/Makefile new file mode 100644 index 000000000..a4eb3e96a --- /dev/null +++ b/luci-app-xray/fw4/Makefile @@ -0,0 +1,67 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=luci-app-xray-fw4 +PKG_VERSION:=2.0.0 +PKG_RELEASE:=1 + +PKG_LICENSE:=MPLv2 +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=yichya +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + SECTION:=Custom + CATEGORY:=Extra packages + TITLE:=LuCI Support for Xray + DEPENDS:=firewall4 +kmod-nft-tproxy +luci-app-xray-shared + PKGARCH:=all +endef + +define Package/$(PKG_NAME)/description + LuCI Support for Xray (Client-side Rendered) (fw4 variant). +endef + +define Build/Compile +endef + +define Package/$(PKG_NAME)/postinst +#!/bin/sh +if [[ -z "$${IPKG_INSTROOT}" ]]; then + if [[ -f /etc/uci-defaults/xray_fw4 ]]; then + ( . /etc/uci-defaults/xray_fw4 ) && rm -f /etc/uci-defaults/xray_fw4 + fi + rm -rf /tmp/luci-indexcache* /tmp/luci-modulecache +fi +exit 0 +endef + +define Package/$(PKG_NAME)/conffiles +/etc/config/xray_fw4 +endef + +define Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./root/etc/init.d/xray_fw4 $(1)/etc/init.d/xray_fw4 + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DATA) ./root/etc/config/xray_fw4 $(1)/etc/config/xray_fw4 + $(INSTALL_DIR) $(1)/etc/uci-defaults + $(INSTALL_BIN) ./root/etc/uci-defaults/xray_fw4 $(1)/etc/uci-defaults/xray_fw4 + $(INSTALL_DIR) $(1)/etc/hotplug.d/iface + $(INSTALL_BIN) ./root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw4 $(1)/etc/hotplug.d/iface/01-transparent-proxy-ipset + $(INSTALL_DIR) $(1)/etc/nftables.d + $(LN) /usr/share/xray/include.nft $(1)/etc/nftables.d/99-xray.nft + $(INSTALL_DIR) $(1)/www/luci-static/resources/view + $(INSTALL_DATA) ./root/www/luci-static/resources/view/xray_fw4.js $(1)/www/luci-static/resources/view/xray_fw4.js + $(INSTALL_DIR) $(1)/usr/share/luci/menu.d + $(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-app-xray.json $(1)/usr/share/luci/menu.d/luci-app-xray.json + $(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d + $(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-xray.json $(1)/usr/share/rpcd/acl.d/luci-app-xray.json + $(INSTALL_DIR) $(1)/usr/share/xray + $(INSTALL_DATA) ./root/usr/share/xray/include.nft $(1)/usr/share/xray/include.nft + $(INSTALL_BIN) ./root/usr/share/xray/firewall_include.ut $(1)/usr/share/xray/firewall_include.ut + $(INSTALL_BIN) ./root/usr/share/xray/gen_config.uc $(1)/usr/share/xray/gen_config.uc +endef + +$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/luci-app-xray/fw4/root/etc/config/xray_fw4 b/luci-app-xray/fw4/root/etc/config/xray_fw4 new file mode 100644 index 000000000..c11214f55 --- /dev/null +++ b/luci-app-xray/fw4/root/etc/config/xray_fw4 @@ -0,0 +1,63 @@ +config general + option xray_bin '/usr/bin/xray' + option mark '255' + option tproxy_port_tcp '1080' + option tproxy_port_udp '1081' + option socks_port '1082' + option http_port '1083' + option dns_port '5300' + option dns_count '3' + option fast_dns '114.114.114.114' + option secure_dns '8.8.8.8' + option default_dns '1.1.1.1' + list bypassed_domain_rules 'geosite:cn' + list forwarded_domain_rules 'geosite:geolocation-!cn' + list blocked_domain_rules 'geosite:category-ads' + option transparent_proxy_enable '1' + option wan_bp_list '/dev/null' + option lan_target 'TP_SPEC_WAN_AC' + option lan_ifaces 'br-lan' + list wan_bp_ips '114.114.114.114' + option xray_api '1' + option main_server 'cfg024a8f' + option tproxy_udp_server 'cfg034a8f' + option tproxy_sniffing '1' + option routing_domain_strategy 'AsIs' + option conn_idle '300' + option loglevel 'warning' + option handshake '4' + option uplink_only '2' + option downlink_only '5' + option buffer_size '512' + option direct_bittorrent '1' + +config servers + option security 'auto' + option transport 'tcp' + option tcp_guise 'none' + option tls '0' + option tests_enabled 'none' + option protocol 'vless' + option server_port '443' + option password '00000000-0000-0000-0000-000000000000' + option vless_security 'none' + option vless_encryption 'none' + option server 'example.org' + option alias 'VLESS XTLS Splice Example' + option vless_flow 'xtls-rprx-splice' + option vless_tls 'xtls' + option vless_xtls_host 'example.org' + option vless_xtls_insecure '0' + +config servers + option password 'supersecret' + option transport 'tcp' + option tcp_guise 'none' + option server 'example.org' + option server_port '443' + option protocol 'trojan' + option alias 'Trojan Example' + option trojan_flow 'none' + option trojan_tls 'tls' + option trojan_tls_host 'example.org' + option trojan_tls_insecure '0' diff --git a/luci-app-xray/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw4 b/luci-app-xray/fw4/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw4 similarity index 100% rename from luci-app-xray/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw4 rename to luci-app-xray/fw4/root/etc/hotplug.d/iface/01-transparent-proxy-ipset.fw4 diff --git a/luci-app-xray/fw4/root/etc/init.d/xray_fw4 b/luci-app-xray/fw4/root/etc/init.d/xray_fw4 new file mode 100644 index 000000000..a6d3d1b54 --- /dev/null +++ b/luci-app-xray/fw4/root/etc/init.d/xray_fw4 @@ -0,0 +1,166 @@ +#!/bin/sh /etc/rc.common + +START=90 +STOP=15 +USE_PROCD=1 +NAME=xray_fw4 + +FIREWALL_INCLUDE="/usr/share/xray/firewall_include.ut" + +setup_firewall() { + ip rule add fwmark 251 lookup 251 + ip rule add fwmark 252 lookup 252 + ip route add local default dev lo table 251 + ip route add local default dev lo table 252 + + logger -st xray[$$] -p4 "Generating firewall4 rules..." + /usr/bin/utpl ${FIREWALL_INCLUDE} > /var/etc/xray/firewall_include.nft + + logger -st xray[$$] -p4 "Triggering firewall4 restart..." + /etc/init.d/firewall restart + /etc/hotplug.d/iface/01-transparent-proxy-ipset +} + +flush_firewall() { + ip rule del fwmark 251 lookup 251 + ip rule del fwmark 252 lookup 252 + ip route del local default dev lo table 251 + ip route del local default dev lo table 252 + + logger -st xray[$$] -p4 "Flushing firewall4 rules..." + rm -f /var/etc/xray/firewall_include.nft + + logger -st xray[$$] -p4 "Triggering firewall4 restart..." + /etc/init.d/firewall restart + /etc/hotplug.d/iface/01-transparent-proxy-ipset +} + +impl_gen_config_file() { + /usr/bin/ucode /usr/share/xray/gen_config.uc > /var/etc/xray/config.json +} + +uci_get_by_type() { + local ret=$(uci get ${NAME}.@$1[0].$2 2>/dev/null) + echo ${ret:=$3} +} + +log_procd_set_param() { + local type="$1" + shift + logger -st xray[$$] -p4 "Using procd_set_param $type" "$@" +} + +start_xray() { + logger -st xray[$$] -p4 "Starting Xray from $1" + procd_open_instance + procd_set_param respawn 1 1 0 + procd_set_param command $1 + procd_append_param command run + procd_append_param command -confdir + procd_append_param command /var/etc/xray + + local rlimit_nofile + if [ -s /usr/share/xray/rlimit_nofile ] ; then + rlimit_nofile="nofile=""$(cat /usr/share/xray/rlimit_nofile)" + fi + + local rlimit_data + if [ -s /usr/share/xray/rlimit_data ] ; then + rlimit_data="data=""$(cat /usr/share/xray/rlimit_data)" + fi + + # this param passing method is just so fucking weird + if [ -z "${rlimit_nofile}" ] ; then + if [ ! -z "${rlimit_data}" ]; then + log_procd_set_param limits "${rlimit_data}" + procd_set_param limits "${rlimit_data}" + fi + else + if [ -z "${rlimit_data}" ]; then + log_procd_set_param limits "${rlimit_nofile}" + procd_set_param limits "${rlimit_nofile}" + else + log_procd_set_param limits "${rlimit_data}" "${rlimit_nofile}" + procd_set_param limits "${rlimit_data}" "${rlimit_nofile}" + fi + fi + + procd_set_param env XRAY_LOCATION_ASSET=/usr/share/xray + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_set_param file /etc/config/xray + procd_set_param pidfile /var/run/xray.pid + procd_close_instance +} + +gen_config_file() { + rm -f /var/etc/xray/* + if [ -s /usr/share/xray/infinite_retry ] ; then + while [ ! -s /var/etc/xray/config.json ] ; do + logger -st xray[$$] -p4 "(Re)generating Xray configuration files..." + impl_gen_config_file + done + else + logger -st xray[$$] -p4 "Generating Xray configuration files..." + impl_gen_config_file + fi + local custom_config=$(uci_get_by_type general custom_config) + [ ! "${#custom_config}" == "0" ] && echo ${custom_config} > /var/etc/xray/config_custom.json +} + +setup_dnsmasq() { + local dns_port=$(uci_get_by_type general dns_port) + local dns_count=$(uci_get_by_type general dns_count 0) + + echo "# Generated dnsmasq configurations by luci-app-xray" > /tmp/dnsmasq.d/xray.conf + echo "strict-order" >> /tmp/dnsmasq.d/xray.conf + echo "server=/#/127.0.0.1#${dns_port}" >> /tmp/dnsmasq.d/xray.conf + local cur_port + for cur_port in $(seq ${dns_port} $(expr ${dns_port} + ${dns_count})); do + echo "server=127.0.0.1#${cur_port}" >> /tmp/dnsmasq.d/xray.conf + done + + logger -st xray[$$] -p4 $(cat /tmp/dnsmasq.d/xray.conf) + /etc/init.d/dnsmasq restart > /dev/null 2>&1 +} + +flush_dnsmasq() { + rm -f /tmp/dnsmasq.d/xray.conf + /etc/init.d/dnsmasq restart > /dev/null 2>&1 +} + +create_when_enable() { + [ "$(uci_get_by_type general transparent_proxy_enable)" == "1" ] || return 0 + logger -st xray[$$] -p4 "Setting dnsmasq and firewall for transparent proxy..." + setup_dnsmasq + setup_firewall +} + +flush_when_disable() { + logger -st xray[$$] -p4 "Resetting dnsmasq and firewall configurations..." + flush_dnsmasq + flush_firewall +} + +start_service() { + config_load $NAME + mkdir -p /var/run /var/etc/xray + local xray_bin=$(uci_get_by_type general xray_bin) + command -v ${xray_bin} > /dev/null 2>&1 || return 1 + gen_config_file + start_xray ${xray_bin} + create_when_enable || flush_when_disable +} + +stop_service() { + flush_when_disable +} + +reload_service() { + stop + start +} + +service_triggers() { + procd_add_reload_trigger "xray_fw4" +} diff --git a/luci-app-xray/fw4/root/etc/uci-defaults/xray_fw4 b/luci-app-xray/fw4/root/etc/uci-defaults/xray_fw4 new file mode 100644 index 000000000..c123f4fcf --- /dev/null +++ b/luci-app-xray/fw4/root/etc/uci-defaults/xray_fw4 @@ -0,0 +1,10 @@ +#!/bin/sh +uci get xray_fw4.@general[-1] >/dev/null 2>&1 || uci add xray_fw4 general >/dev/null 2>&1 +uci commit xray_fw4 +uci -q batch <<-EOF >/dev/null + delete ucitrack.@xray_fw4[-1] + add ucitrack xray_fw4 + set ucitrack.@xray_fw4[-1].init=xray_fw4 + commit ucitrack +EOF +exit 0 diff --git a/luci-app-xray/fw4/root/usr/share/luci/menu.d/luci-app-xray.json b/luci-app-xray/fw4/root/usr/share/luci/menu.d/luci-app-xray.json new file mode 100644 index 000000000..c686abd67 --- /dev/null +++ b/luci-app-xray/fw4/root/usr/share/luci/menu.d/luci-app-xray.json @@ -0,0 +1,17 @@ +{ + "admin/services/xray_fw4": { + "title": "Xray (firewall4)", + "action": { + "type": "view", + "path": "xray_fw4" + }, + "depends": { + "acl": [ + "luci-app-xray" + ], + "uci": { + "xray_fw4": true + } + } + } +} \ No newline at end of file diff --git a/luci-app-xray/fw4/root/usr/share/rpcd/acl.d/luci-app-xray.json b/luci-app-xray/fw4/root/usr/share/rpcd/acl.d/luci-app-xray.json new file mode 100644 index 000000000..29ef2a5a8 --- /dev/null +++ b/luci-app-xray/fw4/root/usr/share/rpcd/acl.d/luci-app-xray.json @@ -0,0 +1,15 @@ +{ + "luci-app-xray": { + "description": "Grant access to xray configurations", + "read": { + "uci": [ + "xray_fw4" + ] + }, + "write": { + "uci": [ + "xray_fw4" + ] + } + } +} \ No newline at end of file diff --git a/luci-app-xray/root/usr/share/xray/firewall_include.ut b/luci-app-xray/fw4/root/usr/share/xray/firewall_include.ut similarity index 98% rename from luci-app-xray/root/usr/share/xray/firewall_include.ut rename to luci-app-xray/fw4/root/usr/share/xray/firewall_include.ut index 2d2e09a5e..b3bb85a2c 100644 --- a/luci-app-xray/root/usr/share/xray/firewall_include.ut +++ b/luci-app-xray/fw4/root/usr/share/xray/firewall_include.ut @@ -3,8 +3,8 @@ const uci = require("uci"); const fs = require("fs"); const cursor = uci.cursor(); - cursor.load("xray"); - const config = cursor.get_all("xray"); + cursor.load("xray_fw4"); + const config = cursor.get_all("xray_fw4"); const general = config[filter(keys(config), k => config[k][".type"] == "general")[0]]; const tp_spec_src_fw = uniq(map(filter(keys(config), k => config[k][".type"] == "lan_hosts" && config[k].bypassed == "0"), k => config[k].macaddr) || []); const tp_spec_src_bp = uniq(map(filter(keys(config), k => config[k][".type"] == "lan_hosts" && config[k].bypassed == "1"), k => config[k].macaddr) || []); diff --git a/luci-app-xray/root/usr/share/xray/gen_config.uc b/luci-app-xray/fw4/root/usr/share/xray/gen_config.uc similarity index 94% rename from luci-app-xray/root/usr/share/xray/gen_config.uc rename to luci-app-xray/fw4/root/usr/share/xray/gen_config.uc index 433842ea0..21a1e617b 100644 --- a/luci-app-xray/root/usr/share/xray/gen_config.uc +++ b/luci-app-xray/fw4/root/usr/share/xray/gen_config.uc @@ -2,8 +2,8 @@ const uci = require("uci"); const fs = require("fs"); const cursor = uci.cursor(); -cursor.load("xray"); -const config = cursor.get_all("xray"); +cursor.load("xray_fw4"); +const config = cursor.get_all("xray_fw4"); const share_dir = fs.lsdir("/usr/share/xray"); const proxy = config[filter(keys(config), k => config[k][".type"] == "general")[0]]; @@ -193,19 +193,6 @@ function tls_settings(server, protocol) { return result; } -function xtls_settings(server, protocol) { - let result = { - serverName: server[protocol + "_xtls_host"], - allowInsecure: server[protocol + "_xtls_insecure"] != "0" - }; - - if (server[protocol + "_xtls_alpn"] != null) { - result["alpn"] = server[protocol + "_xtls_alpn"]; - } - - return result; -} - function reality_settings(server, protocol) { let result = { show: server[protocol + "_reality_show"], @@ -222,12 +209,9 @@ function reality_settings(server, protocol) { function stream_settings(server, protocol, tag) { const security = server[protocol + "_tls"]; let tlsSettings = null; - let xtlsSettings = null; let realitySettings = null; if (security == "tls") { tlsSettings = tls_settings(server, protocol); - } else if (security == "xtls") { - xtlsSettings = xtls_settings(server, protocol); } else if (security == "reality") { realitySettings = reality_settings(server, protocol); } @@ -248,7 +232,6 @@ function stream_settings(server, protocol, tag) { }, security: security, tlsSettings: tlsSettings, - xtlsSettings: xtlsSettings, realitySettings: realitySettings, quicSettings: stream_quic(server), tcpSettings: stream_tcp(server), @@ -317,9 +300,7 @@ function vmess_outbound(server, tag) { function vless_outbound(server, tag) { let flow = null; - if (server["vless_tls"] == "xtls") { - flow = server["vless_flow"] - } else if (server["vless_tls"] == "tls") { + if (server["vless_tls"] == "tls") { flow = server["vless_flow_tls"] } else if (server["vless_tls"] == "reality") { flow = server["vless_flow_reality"] @@ -356,13 +337,6 @@ function vless_outbound(server, tag) { } function trojan_outbound(server, tag) { - let flow = null; - if (server["trojan_tls"] == "xtls") { - flow = server["trojan_flow"] - } - if (flow == "none") { - flow = null; - } const stream_settings_object = stream_settings(server, "trojan", tag); const stream_settings_result = stream_settings_object["stream_settings"]; const dialer_proxy = stream_settings_object["dialer_proxy"]; @@ -375,8 +349,7 @@ function trojan_outbound(server, tag) { { address: server["server"], port: int(server["server_port"]), - password: server["password"], - flow: flow, + password: server["password"] } ] }, @@ -546,28 +519,6 @@ function tls_inbound_settings(protocol_name) { } } -function xtls_inbound_settings(protocol_name) { - let wscert = proxy[protocol_name + "_xtls_cert_file"]; - if (wscert == null) { - wscert = proxy["web_server_cert_file"] - } - let wskey = proxy[protocol_name + "_xtls_key_file"]; - if (wskey == null) { - wskey = proxy["web_server_key_file"] - } - return { - alpn: [ - "http/1.1" - ], - certificates: [ - { - certificateFile: wscert, - keyFile: wskey - } - ] - } -} - function reality_inbound_settings(protocol_name) { return { show: proxy[protocol_name + "_reality_show"], @@ -583,13 +534,6 @@ function reality_inbound_settings(protocol_name) { } function https_trojan_inbound() { - let flow = null; - if (proxy["trojan_tls"] == "xtls") { - flow = proxy["trojan_flow"] - } - if (flow == "none") { - flow = null; - } return { port: proxy["web_server_port"] || 443, protocol: "trojan", @@ -597,8 +541,7 @@ function https_trojan_inbound() { settings: { clients: [ { - password: proxy["web_server_password"], - flow: flow + password: proxy["web_server_password"] } ], fallbacks: fallbacks() @@ -606,17 +549,14 @@ function https_trojan_inbound() { streamSettings: { network: "tcp", security: proxy["trojan_tls"], - tlsSettings: proxy["trojan_tls"] == "tls" ? tls_inbound_settings("trojan") : null, - xtlsSettings: proxy["trojan_tls"] == "xtls" ? xtls_inbound_settings("trojan") : null + tlsSettings: proxy["trojan_tls"] == "tls" ? tls_inbound_settings("trojan") : null } } } function https_vless_inbound() { let flow = null; - if (proxy["vless_tls"] == "xtls") { - flow = proxy["vless_flow"] - } else if (proxy["vless_tls"] == "tls") { + if (proxy["vless_tls"] == "tls") { flow = proxy["vless_flow_tls"] } else if (proxy["vless_tls"] == "reality") { flow = proxy["vless_flow_reality"] @@ -642,7 +582,6 @@ function https_vless_inbound() { network: "tcp", security: proxy["vless_tls"], tlsSettings: proxy["vless_tls"] == "tls" ? tls_inbound_settings("vless") : null, - xtlsSettings: proxy["vless_tls"] == "xtls" ? xtls_inbound_settings("vless") : null, realitySettings: proxy["vless_tls"] == "reality" ? reality_inbound_settings("vless") : null, } } diff --git a/luci-app-xray/root/usr/share/xray/include.nft b/luci-app-xray/fw4/root/usr/share/xray/include.nft similarity index 100% rename from luci-app-xray/root/usr/share/xray/include.nft rename to luci-app-xray/fw4/root/usr/share/xray/include.nft diff --git a/luci-app-xray/fw4/root/www/luci-static/resources/view/xray_fw4.js b/luci-app-xray/fw4/root/www/luci-static/resources/view/xray_fw4.js new file mode 100644 index 000000000..2cb16577b --- /dev/null +++ b/luci-app-xray/fw4/root/www/luci-static/resources/view/xray_fw4.js @@ -0,0 +1,924 @@ +'use strict'; +'require view'; +'require uci'; +'require form'; +'require fs'; +'require network'; +'require tools.widgets as widgets'; + +function validate_object(id, a) { + if (a == "") { + return true + } + try { + const t = JSON.parse(a) + if (Array.isArray(t)) { + return "TypeError: Requires an object here, got an array" + } + if (t instanceof Object) { + return true + } + return "TypeError: Requires an object here, got a " + typeof t + } catch (e) { + return e + } +} + +function fingerprints(o) { + o.value("chrome", "chrome") + o.value("firefox", "firefox") + o.value("safari", "safari") + o.value("ios", "ios") + o.value("android", "android") + o.value("edge", "edge") + o.value("360", "360") + o.value("qq", "qq") + o.value("random", "random") + o.value("randomized", "randomized") +} + +function add_flow_and_stream_security_conf(s, tab_name, depends_field_name, protocol_name, have_tls_flow, client_side) { + let o = s.taboption(tab_name, form.ListValue, `${protocol_name}_tls`, _(`[${protocol_name}] Stream Security`)) + let odep = {} + odep[depends_field_name] = protocol_name + if (client_side) { + o.depends(depends_field_name, protocol_name) + o.value("none", "None") + } else { + odep["web_server_enable"] = "1" + } + o.value("tls", "TLS") + if (have_tls_flow) { + o.value("reality", "REALITY (Experimental)") + } + o.depends(odep) + o.rmempty = false + o.modalonly = true + + if (have_tls_flow) { + let flow_tls = s.taboption(tab_name, form.ListValue, `${protocol_name}_flow_tls`, _(`[${protocol_name}][tls] Flow`)) + let flow_tls_dep = {} + flow_tls_dep[depends_field_name] = protocol_name + flow_tls_dep[`${protocol_name}_tls`] = "tls" + flow_tls.value("none", "none") + flow_tls.value("xtls-rprx-vision", "xtls-rprx-vision") + flow_tls.value("xtls-rprx-vision-udp443", "xtls-rprx-vision-udp443") + if (client_side) { + // wait for some other things + } else { + flow_tls_dep["web_server_enable"] = "1" + } + flow_tls.depends(flow_tls_dep) + flow_tls.rmempty = false + flow_tls.modalonly = true + + let flow_reality = s.taboption(tab_name, form.ListValue, `${protocol_name}_flow_reality`, _(`[${protocol_name}][reality] Flow`)) + let flow_reality_dep = {} + flow_reality_dep[depends_field_name] = protocol_name + flow_reality_dep[`${protocol_name}_tls`] = "reality" + flow_reality.value("none", "none") + flow_reality.value("xtls-rprx-vision", "xtls-rprx-vision") + flow_reality.value("xtls-rprx-vision-udp443", "xtls-rprx-vision-udp443") + if (client_side) { + // wait for some other things + } else { + flow_reality_dep["web_server_enable"] = "1" + } + flow_reality.depends(flow_reality_dep) + flow_reality.rmempty = false + flow_reality.modalonly = true + + o = s.taboption(tab_name, form.Flag, `${protocol_name}_reality_show`, _(`[${protocol_name}][reality] Show`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + } + + if (client_side) { + o = s.taboption(tab_name, form.Value, `${protocol_name}_tls_host`, _(`[${protocol_name}][tls] Server Name`)) + o.depends(`${protocol_name}_tls`, "tls") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Flag, `${protocol_name}_tls_insecure`, _(`[${protocol_name}][tls] Allow Insecure`)) + o.depends(`${protocol_name}_tls`, "tls") + o.rmempty = false + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_tls_fingerprint`, _(`[${protocol_name}][tls] Fingerprint`)) + o.depends(`${protocol_name}_tls`, "tls") + o.value("", "(not set)") + fingerprints(o) + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.DynamicList, `${protocol_name}_tls_alpn`, _(`[${protocol_name}][tls] ALPN`)) + o.depends(`${protocol_name}_tls`, "tls") + o.value("h2", "h2") + o.value("http/1.1", "http/1.1") + o.rmempty = true + o.modalonly = true + + if (have_tls_flow) { + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_fingerprint`, _(`[${protocol_name}][reality] Fingerprint`)) + o.depends(`${protocol_name}_tls`, "reality") + fingerprints(o) + o.rmempty = false + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_server_name`, _(`[${protocol_name}][reality] Server Name`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_public_key`, _(`[${protocol_name}][reality] Public Key`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_short_id`, _(`[${protocol_name}][reality] Short Id`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_spider_x`, _(`[${protocol_name}][reality] SpiderX`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + } + } else { + let tls_cert_key_dep = {"web_server_enable": "1"} + tls_cert_key_dep[`${protocol_name}_tls`] = "tls" + o = s.taboption(tab_name, form.FileUpload, `${protocol_name}_tls_cert_file`, _(`[${protocol_name}][tls] Certificate File`)); + o.root_directory = "/etc/luci-uploads/xray" + o.depends(tls_cert_key_dep) + + o = s.taboption(tab_name, form.FileUpload, `${protocol_name}_tls_key_file`, _(`[${protocol_name}][tls] Private Key File`)); + o.root_directory = "/etc/luci-uploads/xray" + o.depends(tls_cert_key_dep) + + if (have_tls_flow) { + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_dest`, _(`[${protocol_name}][reality] Dest`)) + o.depends(`${protocol_name}_tls`, "reality") + o.datatype = "hostport" + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_xver`, _(`[${protocol_name}][reality] Xver`)) + o.depends(`${protocol_name}_tls`, "reality") + o.datatype = "integer" + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.DynamicList, `${protocol_name}_reality_server_names`, _(`[${protocol_name}][reality] Server Names`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_private_key`, _(`[${protocol_name}][reality] Private Key`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_min_client_ver`, _(`[${protocol_name}][reality] Min Client Ver`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_max_client_ver`, _(`[${protocol_name}][reality] Max Client Ver`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.Value, `${protocol_name}_reality_max_time_diff`, _(`[${protocol_name}][reality] Max Time Diff`)) + o.depends(`${protocol_name}_tls`, "reality") + o.datatype = "integer" + o.rmempty = true + o.modalonly = true + + o = s.taboption(tab_name, form.DynamicList, `${protocol_name}_reality_short_ids`, _(`[${protocol_name}][reality] Short Ids`)) + o.depends(`${protocol_name}_tls`, "reality") + o.rmempty = true + o.modalonly = true + } + } +} + +function check_resource_files(load_result) { + let geoip_existence = false; + let geoip_size = 0; + let geosite_existence = false; + let geosite_size = 0; + let xray_bin_default = false; + let xray_running = false; + let optional_features = {}; + for (const f of load_result) { + if (f.name == "xray") { + xray_bin_default = true; + } + if (f.name == "xray.pid") { + xray_running = true; + } + if (f.name == "geoip.dat") { + geoip_existence = true; + geoip_size = '%.2mB'.format(f.size); + } + if (f.name == "geosite.dat") { + geosite_existence = true; + geosite_size = '%.2mB'.format(f.size); + } + if (f.name.startsWith("optional_feature_")) { + optional_features[f.name] = true; + } + } + return { + geoip_existence: geoip_existence, + geoip_size: geoip_size, + geosite_existence: geosite_existence, + geosite_size: geosite_size, + optional_features: optional_features, + xray_bin_default: xray_bin_default, + xray_running: xray_running, + } +} + +return view.extend({ + load: function () { + return Promise.all([ + uci.load("xray_fw4"), + fs.list("/usr/share/xray"), + network.getHostHints() + ]) + }, + + render: function (load_result) { + const config_data = load_result[0]; + const geoip_direct_code = uci.get_first(config_data, "general", "geoip_direct_code"); + const { geoip_existence, geoip_size, geosite_existence, geosite_size, optional_features, xray_bin_default, xray_running } = check_resource_files(load_result[1]); + const status_text = xray_running ? _("[Xray is running]") : _("[Xray is stopped]"); + + let asset_file_status = _('WARNING: at least one of asset files (geoip.dat, geosite.dat) is not found under /usr/share/xray. Xray may not work properly. See here for help.') + if (geoip_existence) { + if (geosite_existence) { + asset_file_status = _('Asset files check: ') + `geoip.dat ${geoip_size}; geosite.dat ${geosite_size}. ` + _('Report issues or request for features here.') + } + } + + const m = new form.Map('xray_fw4', _('Xray (firewall4)'), status_text + " " + asset_file_status); + + var s, o, ss; + + s = m.section(form.TypedSection, 'general'); + s.addremove = false; + s.anonymous = true; + + s.tab('general', _('General Settings')); + + o = s.taboption('general', form.Value, 'xray_bin', _('Xray Executable Path')) + o.rmempty = false + if (xray_bin_default) { + o.value("/usr/bin/xray", _("/usr/bin/xray (default, exist)")) + } + + o = s.taboption('general', form.ListValue, 'main_server', _('TCP Server')) + o.datatype = "uciname" + o.value("disabled", _("Disabled")) + for (const v of uci.sections(config_data, "servers")) { + o.value(v[".name"], v.alias || v.server + ":" + v.server_port) + } + + o = s.taboption('general', form.ListValue, 'tproxy_udp_server', _('UDP Server')) + o.datatype = "uciname" + o.value("disabled", _("Disabled")) + for (const v of uci.sections(config_data, "servers")) { + o.value(v[".name"], v.alias || v.server + ":" + v.server_port) + } + + o = s.taboption('general', form.Flag, 'transparent_proxy_enable', _('Enable Transparent Proxy'), _('This enables DNS query forwarding and TProxy for both TCP and UDP connections.')) + + o = s.taboption('general', form.Flag, 'tproxy_sniffing', _('Enable Sniffing'), _('If sniffing is enabled, requests will be routed according to domain settings in "DNS Settings" tab.')) + o.depends("transparent_proxy_enable", "1") + + o = s.taboption('general', form.Flag, 'route_only', _('Route Only'), _('Use sniffed domain for routing only but still access through IP. Reduces unnecessary DNS requests. See here for help.')) + o.depends({ "transparent_proxy_enable": "1", "tproxy_sniffing": "1" }) + + o = s.taboption('general', form.Flag, 'direct_bittorrent', _('Bittorrent Direct'), _("If enabled, all bittorrent request won't be forwarded through Xray.")) + o.depends({ "transparent_proxy_enable": "1", "tproxy_sniffing": "1" }) + + o = s.taboption('general', form.SectionValue, "xray_servers", form.GridSection, 'servers', _('Xray Servers'), _("Servers are referenced by index (order in the following list). Deleting servers may result in changes of upstream servers actually used by proxy and bridge.")) + ss = o.subsection + ss.sortable = false + ss.anonymous = true + ss.addremove = true + + ss.tab('general', _('General Settings')); + + o = ss.taboption('general', form.Value, "alias", _("Alias (optional)")) + o.rmempty = true + + o = ss.taboption('general', form.Value, 'server', _('Server Hostname')) + o.datatype = 'host' + + o = ss.taboption('general', form.ListValue, 'domain_strategy', _('Domain Strategy')) + o.value("UseIP") + o.value("UseIPv4") + o.value("UseIPv6") + o.default = "UseIP" + o.modalonly = true + + o = ss.taboption('general', form.Value, 'server_port', _('Server Port')) + o.datatype = 'port' + o.placeholder = '443' + + o = ss.taboption('general', form.Value, 'password', _('UserId / Password'), _('Fill user_id for vmess / VLESS, or password for shadowsocks / trojan (also supports Xray UUID Mapping)')) + o.modalonly = true + + ss.tab('protocol', _('Protocol Settings')); + + o = ss.taboption('protocol', form.ListValue, "protocol", _("Protocol")) + o.value("vmess", "VMess") + o.value("vless", "VLESS") + o.value("trojan", "Trojan") + o.value("shadowsocks", "Shadowsocks") + o.rmempty = false + + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "trojan", false, true) + + o = ss.taboption('protocol', form.ListValue, "shadowsocks_security", _("[shadowsocks] Encrypt Method")) + o.depends("protocol", "shadowsocks") + o.value("none", "none") + o.value("aes-256-gcm", "aes-256-gcm") + o.value("aes-128-gcm", "aes-128-gcm") + o.value("chacha20-poly1305", "chacha20-poly1305") + o.value("2022-blake3-aes-128-gcm", "2022-blake3-aes-128-gcm") + o.value("2022-blake3-aes-256-gcm", "2022-blake3-aes-256-gcm") + o.value("2022-blake3-chacha20-poly1305", "2022-blake3-chacha20-poly1305") + o.rmempty = false + o.modalonly = true + + o = ss.taboption('protocol', form.Flag, 'shadowsocks_udp_over_tcp', _('[shadowsocks] UDP over TCP'), _('Only available for shadowsocks-2022 ciphers (2022-*)')) + o.depends("shadowsocks_security", /2022/) + o.rmempty = false + o.modalonly = true + + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "shadowsocks", false, true) + + o = ss.taboption('protocol', form.ListValue, "vmess_security", _("[vmess] Encrypt Method")) + o.depends("protocol", "vmess") + o.value("none", "none") + o.value("auto", "auto") + o.value("aes-128-gcm", "aes-128-gcm") + o.value("chacha20-poly1305", "chacha20-poly1305") + o.rmempty = false + o.modalonly = true + + o = ss.taboption('protocol', form.ListValue, "vmess_alter_id", _("[vmess] AlterId"), _("Deprecated. Make sure you always use VMessAEAD.")) + o.depends("protocol", "vmess") + o.value(0, "0 (this enables VMessAEAD)") + o.value(1, "1") + o.value(4, "4") + o.value(16, "16") + o.value(64, "64") + o.value(256, "256") + o.rmempty = false + o.modalonly = true + + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "vmess", false, true) + + o = ss.taboption('protocol', form.ListValue, "vless_encryption", _("[vless] Encrypt Method")) + o.depends("protocol", "vless") + o.value("none", "none") + o.rmempty = false + o.modalonly = true + + add_flow_and_stream_security_conf(ss, "protocol", "protocol", "vless", true, true) + + ss.tab('transport', _('Transport Settings')); + + o = ss.taboption('transport', form.ListValue, 'transport', _('Transport')) + o.value("tcp", "TCP") + o.value("mkcp", "mKCP") + o.value("ws", "WebSocket") + o.value("h2", "HTTP/2") + o.value("quic", "QUIC") + o.value("grpc", "gRPC") + o.rmempty = false + + o = ss.taboption('transport', form.ListValue, "tcp_guise", _("[tcp] Fake Header Type")) + o.depends("transport", "tcp") + o.value("none", _("None")) + o.value("http", "HTTP") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.DynamicList, "http_host", _("[tcp][fake_http] Host")) + o.depends("tcp_guise", "http") + o.rmempty = false + o.modalonly = true + + o = ss.taboption('transport', form.DynamicList, "http_path", _("[tcp][fake_http] Path")) + o.depends("tcp_guise", "http") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.ListValue, "mkcp_guise", _("[mkcp] Fake Header Type")) + o.depends("transport", "mkcp") + o.value("none", _("None")) + o.value("srtp", _("VideoCall (SRTP)")) + o.value("utp", _("BitTorrent (uTP)")) + o.value("wechat-video", _("WechatVideo")) + o.value("dtls", "DTLS 1.2") + o.value("wireguard", "WireGuard") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "mkcp_mtu", _("[mkcp] Maximum Transmission Unit")) + o.datatype = "uinteger" + o.depends("transport", "mkcp") + o.default = 1350 + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "mkcp_tti", _("[mkcp] Transmission Time Interval")) + o.datatype = "uinteger" + o.depends("transport", "mkcp") + o.default = 50 + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "mkcp_uplink_capacity", _("[mkcp] Uplink Capacity")) + o.datatype = "uinteger" + o.depends("transport", "mkcp") + o.default = 5 + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "mkcp_downlink_capacity", _("[mkcp] Downlink Capacity")) + o.datatype = "uinteger" + o.depends("transport", "mkcp") + o.default = 20 + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "mkcp_read_buffer_size", _("[mkcp] Read Buffer Size")) + o.datatype = "uinteger" + o.depends("transport", "mkcp") + o.default = 2 + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "mkcp_write_buffer_size", _("[mkcp] Write Buffer Size")) + o.datatype = "uinteger" + o.depends("transport", "mkcp") + o.default = 2 + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Flag, "mkcp_congestion", _("[mkcp] Congestion Control")) + o.depends("transport", "mkcp") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "mkcp_seed", _("[mkcp] Seed")) + o.depends("transport", "mkcp") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.ListValue, "quic_security", _("[quic] Security")) + o.depends("transport", "quic") + o.value("none", "none") + o.value("aes-128-gcm", "aes-128-gcm") + o.value("chacha20-poly1305", "chacha20-poly1305") + o.rmempty = false + o.modalonly = true + + o = ss.taboption('transport', form.Value, "quic_key", _("[quic] Key")) + o.depends("transport", "quic") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.ListValue, "quic_guise", _("[quic] Fake Header Type")) + o.depends("transport", "quic") + o.value("none", _("None")) + o.value("srtp", _("VideoCall (SRTP)")) + o.value("utp", _("BitTorrent (uTP)")) + o.value("wechat-video", _("WechatVideo")) + o.value("dtls", "DTLS 1.2") + o.value("wireguard", "WireGuard") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.DynamicList, "h2_host", _("[http2] Host")) + o.depends("transport", "h2") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "h2_path", _("[http2] Path")) + o.depends("transport", "h2") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Flag, "h2_health_check", _("[h2] Health Check")) + o.depends("transport", "h2") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "h2_read_idle_timeout", _("[h2] Read Idle Timeout")) + o.depends({ "transport": "h2", "h2_health_check": "1" }) + o.rmempty = true + o.modalonly = true + o.default = 10 + o.datatype = 'integer' + + o = ss.taboption('transport', form.Value, "h2_health_check_timeout", _("[h2] Health Check Timeout")) + o.depends({ "transport": "h2", "h2_health_check": "1" }) + o.rmempty = true + o.modalonly = true + o.default = 20 + o.datatype = 'integer' + + o = ss.taboption('transport', form.Value, "grpc_service_name", _("[grpc] Service Name")) + o.depends("transport", "grpc") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Flag, "grpc_multi_mode", _("[grpc] Multi Mode")) + o.depends("transport", "grpc") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Flag, "grpc_health_check", _("[grpc] Health Check")) + o.depends("transport", "grpc") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "grpc_idle_timeout", _("[grpc] Idle Timeout")) + o.depends({ "transport": "grpc", "grpc_health_check": "1" }) + o.rmempty = true + o.modalonly = true + o.default = 10 + o.datatype = 'integer' + + o = ss.taboption('transport', form.Value, "grpc_health_check_timeout", _("[grpc] Health Check Timeout")) + o.depends({ "transport": "grpc", "grpc_health_check": "1" }) + o.rmempty = true + o.modalonly = true + o.default = 20 + o.datatype = 'integer' + + o = ss.taboption('transport', form.Flag, "grpc_permit_without_stream", _("[grpc] Permit Without Stream")) + o.depends({ "transport": "grpc", "grpc_health_check": "1" }) + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "grpc_initial_windows_size", _("[grpc] Initial Windows Size"), _("Set to 524288 to avoid Cloudflare sending ENHANCE_YOUR_CALM.")) + o.depends("transport", "grpc") + o.rmempty = true + o.modalonly = true + o.default = 0 + o.datatype = 'integer' + + o = ss.taboption('transport', form.Value, "ws_host", _("[websocket] Host")) + o.depends("transport", "ws") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.Value, "ws_path", _("[websocket] Path")) + o.depends("transport", "ws") + o.rmempty = true + o.modalonly = true + + o = ss.taboption('transport', form.ListValue, 'dialer_proxy', _('Dialer Proxy'), _('Similar to ProxySettings.Tag')) + o.datatype = "uciname" + o.value("disabled", _("Disabled")) + for (const v of uci.sections(config_data, "servers")) { + o.value(v[".name"], v.alias || v.server + ":" + v.server_port) + } + o.modalonly = true + + ss.tab('custom', _('Custom Options')); + + o = ss.taboption('custom', form.TextValue, 'custom_config', _('Custom Configurations'), _('Configurations here override settings in the previous tabs with the following rules:
  1. Object values will be replaced recursively so settings in previous tabs matters.
  2. Arrays will be replaced entirely instead of being merged.
  3. Tag tag is ignored.
Override rules here may be changed later. Use this only for experimental or pre-release features.')) + o.modalonly = true + o.monospace = true + o.rows = 10 + o.validate = validate_object; + + s.tab('proxy', _('Proxy Settings')); + + o = s.taboption('proxy', form.Value, 'tproxy_port_tcp', _('Transparent Proxy Port (TCP)')) + o.datatype = 'port' + o.default = 1080 + + o = s.taboption('proxy', form.Value, 'tproxy_port_udp', _('Transparent Proxy Port (UDP)')) + o.datatype = 'port' + o.default = 1081 + + o = s.taboption('proxy', form.Value, 'socks_port', _('Socks5 Proxy Port')) + o.datatype = 'port' + o.default = 1082 + + o = s.taboption('proxy', form.Value, 'http_port', _('HTTP Proxy Port')) + o.datatype = 'port' + o.default = 1083 + + o = s.taboption('proxy', form.DynamicList, 'uids_direct', _('Skip Proxy for uids'), _("Processes started by users with these uids won't be forwarded through Xray.")) + o.datatype = "integer" + + o = s.taboption('proxy', form.DynamicList, 'gids_direct', _('Skip Proxy for gids'), _("Processes started by users in groups with these gids won't be forwarded through Xray.")) + o.datatype = "integer" + + o = s.taboption('proxy', widgets.DeviceSelect, 'lan_ifaces', _("LAN Interface")) + o.noaliases = true + o.rmempty = false + o.nocreate = true + + o = s.taboption('proxy', form.SectionValue, "access_control_lan_hosts", form.TableSection, 'lan_hosts', _('LAN Hosts Access Control'), _("Will not enable transparent proxy for these MAC addresses.")) + + ss = o.subsection; + ss.sortable = false + ss.anonymous = true + ss.addremove = true + + o = ss.option(form.Value, "macaddr", _("MAC Address")) + L.sortedKeys(load_result[2].hosts).forEach(function (mac) { + o.value(mac, E([], [mac, ' (', E('strong', [load_result[2].hosts[mac].name || L.toArray(load_result[2].hosts[mac].ipaddrs || load_result[2].hosts[mac].ipv4)[0] || L.toArray(load_result[2].hosts[mac].ip6addrs || load_result[2].hosts[mac].ipv6)[0] || '?']), ')'])); + }); + + o.datatype = "macaddr" + o.rmempty = false + + o = ss.option(form.ListValue, "bypassed", _("Access Control Strategy")) + o.value("0", "Always forwarded") + o.value("1", "Always bypassed") + o.rmempty = false + + s.tab('dns', _('DNS Settings')); + + o = s.taboption('dns', form.Value, 'fast_dns', _('Fast DNS'), _("DNS for resolving outbound domains and following bypassed domains")) + o.datatype = 'or(ip4addr, ip4addrport)' + o.placeholder = "114.114.114.114" + + if (geosite_existence) { + o = s.taboption('dns', form.DynamicList, "bypassed_domain_rules", _('Bypassed domain rules'), _('Specify rules like geosite:cn or domain:bilibili.com. See documentation for details.')) + } else { + o = s.taboption('dns', form.DynamicList, 'bypassed_domain_rules', _('Bypassed domain rules'), _('Specify rules like domain:bilibili.com or see documentation for details.
In order to use Geosite rules you need a valid resource file /usr/share/xray/geosite.dat.
Compile your firmware again with data files to use Geosite rules, or download one and upload it to your router.')) + } + o.rmempty = true + + o = s.taboption('dns', form.Value, 'secure_dns', _('Secure DNS'), _("DNS for resolving known polluted domains (specify forwarded domain rules here)")) + o.datatype = 'or(ip4addr, ip4addrport)' + o.placeholder = "1.1.1.1" + + if (geosite_existence) { + o = s.taboption('dns', form.DynamicList, "forwarded_domain_rules", _('Forwarded domain rules'), _('Specify rules like geosite:geolocation-!cn or domain:youtube.com. See documentation for details.')) + } else { + o = s.taboption('dns', form.DynamicList, 'forwarded_domain_rules', _('Forwarded domain rules'), _('Specify rules like domain:youtube.com or see documentation for details.
In order to use Geosite rules you need a valid resource file /usr/share/xray/geosite.dat.
Compile your firmware again with data files to use Geosite rules, or download one and upload it to your router.')) + } + o.rmempty = true + + o = s.taboption('dns', form.Value, 'default_dns', _('Default DNS'), _("DNS for resolving other sites (not in the rules above) and DNS records other than A or AAAA (TXT and MX for example)")) + o.datatype = 'or(ip4addr, ip4addrport)' + o.placeholder = "8.8.8.8" + + if (geosite_existence) { + o = s.taboption('dns', form.DynamicList, "blocked_domain_rules", _('Blocked domain rules'), _('Specify rules like geosite:category-ads or domain:baidu.com. See documentation for details.')) + } else { + o = s.taboption('dns', form.DynamicList, 'blocked_domain_rules', _('Blocked domain rules'), _('Specify rules like domain:baidu.com or see documentation for details.
In order to use Geosite rules you need a valid resource file /usr/share/xray/geosite.dat.
Compile your firmware again with data files to use Geosite rules, or download one and upload it to your router.')) + } + o.rmempty = true + + o = s.taboption('dns', form.Value, 'dns_port', _('Xray DNS Server Port'), _("Do not use port 53 (dnsmasq), port 5353 (mDNS) or other common ports")) + o.datatype = 'port' + o.default = 5300 + + o = s.taboption('dns', form.Value, 'dns_count', _('Extra DNS Server Ports'), _('Listen for DNS Requests on multiple ports (all of which serves as dnsmasq upstream servers).
For example if Xray DNS Server Port is 5300 and use 3 extra ports, 5300 - 5303 will be used for DNS requests.
Increasing this value may help reduce the possibility of temporary DNS lookup failures.')) + o.datatype = 'range(0, 50)' + o.default = 0 + + s.tab('transparent_proxy_rules', _('Transparent Proxy Rules')); + + if (geoip_direct_code === "upgrade" || geoip_direct_code === void 0) { + if (geoip_existence) { + o = s.taboption('transparent_proxy_rules', form.DynamicList, 'geoip_direct_code_list', _('GeoIP Direct Code List'), _("Hosts in these GeoIP sets will not be forwarded through Xray. Remove all items to forward all non-private hosts.")) + } else { + o = s.taboption('transparent_proxy_rules', form.DynamicList, 'geoip_direct_code_list', _('GeoIP Direct Code List'), _("Resource file /usr/share/xray/geoip.dat not exist. All network traffic will be forwarded.
Compile your firmware again with data files to use this feature, or
download one (maybe disable transparent proxy first) and upload it to your router.")) + o.readonly = true + } + } else { + if (geoip_existence) { + o = s.taboption('transparent_proxy_rules', form.Value, 'geoip_direct_code', _('GeoIP Direct Code'), _("Hosts in this GeoIP set will not be forwarded through Xray.
Switching to new format (by selecting 'Unspecified') is recommended for multiple GeoIP options here,
and is required if you want to forward all non-private hosts. This legacy option will be removed later.")) + } else { + o = s.taboption('transparent_proxy_rules', form.Value, 'geoip_direct_code', _('GeoIP Direct Code'), _("Resource file /usr/share/xray/geoip.dat not exist. All network traffic will be forwarded.
Compile your firmware again with data files to use this feature, or
download one (maybe disable transparent proxy first) and upload it to your router.")) + o.readonly = true + } + } + o.value("cn", "cn") + o.value("telegram", "telegram") + o.datatype = "string" + + o = s.taboption('transparent_proxy_rules', form.ListValue, 'routing_domain_strategy', _('Routing Domain Strategy'), _("Domain resolution strategy when matching domain against rules.")) + o.value("AsIs", "AsIs") + o.value("IPIfNonMatch", "IPIfNonMatch") + o.value("IPOnDemand", "IPOnDemand") + o.default = "AsIs" + o.rmempty = false + + o = s.taboption('transparent_proxy_rules', form.Value, 'mark', _('Socket Mark Number'), _('Avoid proxy loopback problems with local (gateway) traffic')) + o.datatype = 'range(1, 255)' + o.default = 255 + + o = s.taboption('transparent_proxy_rules', form.DynamicList, "wan_bp_ips", _("Bypassed IP"), _("Requests to these IPs won't be forwarded through Xray.")) + o.datatype = "ip4addr" + o.rmempty = true + + o = s.taboption('transparent_proxy_rules', form.DynamicList, "wan_fw_ips", _("Forwarded IP")) + o.datatype = "ip4addr" + o.rmempty = true + + o = s.taboption('transparent_proxy_rules', form.SectionValue, "access_control_manual_tproxy", form.GridSection, 'manual_tproxy', _('Manual Transparent Proxy'), _('Compared to iptables REDIRECT, Xray could do NAT46 / NAT64 (for example accessing IPv6 only sites). See FakeDNS for details.')) + + ss = o.subsection; + ss.sortable = false + ss.anonymous = true + ss.addremove = true + + o = ss.option(form.Value, "source_addr", _("Source Address")) + o.datatype = "ipaddr" + o.rmempty = true + + o = ss.option(form.Value, "source_port", _("Source Port")) + o.rmempty = true + + o = ss.option(form.Value, "dest_addr", _("Destination Address")) + o.datatype = "host" + o.rmempty = true + + o = ss.option(form.Value, "dest_port", _("Destination Port")) + o.datatype = "port" + o.rmempty = true + + o = ss.option(form.ListValue, 'domain_strategy', _('Domain Strategy')) + o.value("UseIP") + o.value("UseIPv4") + o.value("UseIPv6") + o.default = "UseIP" + o.modalonly = true + + o = ss.option(form.Flag, 'force_forward', _('Force Forward'), _('This destination must be forwarded through an outbound server.')) + o.modalonly = true + + o = ss.option(form.ListValue, 'force_forward_server_tcp', _('Force Forward server (TCP)')) + o.depends("force_forward", "1") + o.datatype = "uciname" + for (const v of uci.sections(config_data, "servers")) { + o.value(v[".name"], v.alias || v.server + ":" + v.server_port) + } + o.modalonly = true + + o = ss.option(form.ListValue, 'force_forward_server_udp', _('Force Forward server (UDP)')) + o.depends("force_forward", "1") + o.datatype = "uciname" + for (const v of uci.sections(config_data, "servers")) { + o.value(v[".name"], v.alias || v.server + ":" + v.server_port) + } + o.modalonly = true + + s.tab('xray_server', _('HTTPS Server')); + + o = s.taboption('xray_server', form.Flag, 'web_server_enable', _('Enable Xray HTTPS Server'), _("This will start a HTTPS server which serves both as an inbound for Xray and a reverse proxy web server.")); + + o = s.taboption('xray_server', form.Value, 'web_server_port', _('Xray HTTPS Server Port'), _("This port needs to be set accept input manually in firewall settings.")) + o.datatype = 'port' + o.default = 443 + o.depends("web_server_enable", "1") + + o = s.taboption('xray_server', form.ListValue, "web_server_protocol", _("Protocol"), _("Only protocols which support fallback are available. Note that REALITY does not support fallback right now.")); + o.value("vless", "VLESS") + o.value("trojan", "Trojan") + o.rmempty = false + o.depends("web_server_enable", "1") + + add_flow_and_stream_security_conf(s, "xray_server", "web_server_protocol", "vless", true, false) + + add_flow_and_stream_security_conf(s, "xray_server", "web_server_protocol", "trojan", false, false) + + o = s.taboption('xray_server', form.Value, 'web_server_password', _('UserId / Password'), _('Fill user_id for vmess / VLESS, or password for shadowsocks / trojan (also supports Xray UUID Mapping)')) + o.depends("web_server_enable", "1") + + o = s.taboption('xray_server', form.Value, 'web_server_address', _('Default Fallback HTTP Server'), _("Only HTTP/1.1 supported here. For HTTP/2 upstream, use Fallback Servers below")) + o.datatype = 'hostport' + o.depends("web_server_enable", "1") + + o = s.taboption('xray_server', form.SectionValue, "xray_server_fallback", form.GridSection, 'fallback', _('Fallback Servers'), _("Specify upstream servers here.")) + o.depends({"web_server_enable": "1", "web_server_protocol": "trojan"}) + o.depends({"web_server_enable": "1", "web_server_protocol": "vless", "vless_tls": "tls"}) + o.depends({"web_server_enable": "1", "web_server_protocol": "vless", "vless_tls": "xtls"}) + + ss = o.subsection; + ss.sortable = false + ss.anonymous = true + ss.addremove = true + + o = ss.option(form.Value, "name", _("SNI")) + o.rmempty = true + + o = ss.option(form.Value, "alpn", _("ALPN")) + o.rmempty = true + + o = ss.option(form.Value, "path", _("Path")) + o.rmempty = true + + o = ss.option(form.Value, "xver", _("Xver")) + o.datatype = "uinteger" + o.rmempty = true + + o = ss.option(form.Value, "dest", _("Destination Address")) + o.datatype = 'hostport' + o.rmempty = true + + s.tab('extra_options', _('Extra Options')) + + o = s.taboption('extra_options', form.ListValue, 'loglevel', _('Log Level'), _('Read Xray log in "System Log" or use logread command.')) + o.value("debug") + o.value("info") + o.value("warning") + o.value("error") + o.value("none") + o.default = "warning" + + o = s.taboption('extra_options', form.Flag, 'access_log', _('Enable Access Log'), _('Access log will also be written to System Log.')) + + o = s.taboption('extra_options', form.Flag, 'dns_log', _('Enable DNS Log'), _('DNS log will also be written to System Log.')) + + o = s.taboption('extra_options', form.Flag, 'xray_api', _('Enable Xray API Service'), _('Xray API Service uses port 8080 and GRPC protocol. Also callable via xray api or ubus call xray. See here for help.')) + + o = s.taboption('extra_options', form.Flag, 'stats', _('Enable Statistics'), _('Enable statistics of inbounds / outbounds data. Use Xray API to query values.')) + + o = s.taboption('extra_options', form.Flag, 'observatory', _('Enable Observatory'), _('Enable latency measurement for TCP and UDP outbounds. Support for balancers and strategy will be added later.')) + + o = s.taboption('extra_options', form.Flag, 'metrics_server_enable', _('Enable Xray Metrics Server'), _("Enable built-in metrics server for pprof and expvar. See here for details.")); + + o = s.taboption('extra_options', form.Value, 'metrics_server_port', _('Xray Metrics Server Port'), _("Metrics may be sensitive so think twice before setting it as Default Fallback HTTP Server.")) + o.depends("metrics_server_enable", "1") + o.datatype = 'port' + o.placeholder = '18888' + + o = s.taboption('extra_options', form.Value, 'handshake', _('Handshake Timeout'), _('Policy: Handshake timeout when connecting to upstream. See here for help.')) + o.datatype = 'uinteger' + o.placeholder = 4 + o.default = 4 + + o = s.taboption('extra_options', form.Value, 'conn_idle', _('Connection Idle Timeout'), _('Policy: Close connection if no data is transferred within given timeout. See here for help.')) + o.datatype = 'uinteger' + o.placeholder = 300 + o.default = 300 + + o = s.taboption('extra_options', form.Value, 'uplink_only', _('Uplink Only Timeout'), _('Policy: How long to wait before closing connection after server closed connection. See here for help.')) + o.datatype = 'uinteger' + o.placeholder = 2 + o.default = 2 + + o = s.taboption('extra_options', form.Value, 'downlink_only', _('Downlink Only Timeout'), _('Policy: How long to wait before closing connection after client closed connection. See here for help.')) + o.datatype = 'uinteger' + o.placeholder = 5 + o.default = 5 + + o = s.taboption('extra_options', form.Value, 'buffer_size', _('Buffer Size'), _('Policy: Internal cache size per connection. See here for help.')) + o.datatype = 'uinteger' + o.placeholder = 512 + o.default = 512 + + o = s.taboption('extra_options', form.SectionValue, "xray_bridge", form.TableSection, 'bridge', _('Bridge'), _('Reverse proxy tool. Currently only client role (bridge) is supported. See here for help.')) + + ss = o.subsection; + ss.sortable = false + ss.anonymous = true + ss.addremove = true + + o = ss.option(form.ListValue, "upstream", _("Upstream")) + o.datatype = "uciname" + for (const v of uci.sections(config_data, "servers")) { + o.value(v[".name"], v.alias || v.server + ":" + v.server_port) + } + + o = ss.option(form.Value, "domain", _("Domain")) + o.rmempty = false + + o = ss.option(form.Value, "redirect", _("Redirect address")) + o.datatype = "hostport" + o.rmempty = false + + // if (Object.keys(optional_features).length > 0) { + // s.tab('optional_features', _('Optional Features'), _("Warning: all settings on this page are experimental, not guaranteed to be stable, and quite likely to be changed very frequently. Use at your own risk.")) + // } + + s.tab('custom_options', _('Custom Options')) + o = s.taboption('custom_options', form.TextValue, 'custom_config', _('Custom Configurations'), _('Check /var/etc/xray/config.json for tags of generated inbounds and outbounds. See here for help')) + o.monospace = true + o.rows = 10 + o.validate = validate_object + + return m.render(); + } +}); diff --git a/luci-app-xray/root/etc/uci-defaults/xray b/luci-app-xray/root/etc/uci-defaults/xray deleted file mode 100644 index c9f82487e..000000000 --- a/luci-app-xray/root/etc/uci-defaults/xray +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -uci get xray.@general[-1] >/dev/null 2>&1 || uci add xray general >/dev/null 2>&1 -uci commit xray -uci -q batch <<-EOF >/dev/null - delete ucitrack.@xray[-1] - add ucitrack xray - set ucitrack.@xray[-1].init=xray - commit ucitrack - delete firewall.xray - set firewall.xray=include - set firewall.xray.type=script - set firewall.xray.path=/var/etc/xray.include - set firewall.xray.reload=1 - commit firewall -EOF -exit 0 diff --git a/luci-app-xray/root/usr/share/xray/init.fw3 b/luci-app-xray/root/usr/share/xray/init.fw3 deleted file mode 100644 index 601ad9602..000000000 --- a/luci-app-xray/root/usr/share/xray/init.fw3 +++ /dev/null @@ -1,31 +0,0 @@ -FIREWALL_INCLUDE="/usr/share/xray/firewall_include.lua" - -setup_firewall() { - logger -st xray[$$] -p4 "Setting ipset rules..." - lua /usr/share/xray/gen_ipset_rules.lua | ipset -! restore - /etc/hotplug.d/iface/01-transparent-proxy-ipset - - logger -st xray[$$] -p4 "Generating firewall rules..." - /usr/bin/lua ${FIREWALL_INCLUDE} enable > $(uci get firewall.xray.path) - - logger -st xray[$$] -p4 "Triggering firewall restart..." - /etc/init.d/firewall restart > /dev/null 2>&1 -} - -flush_firewall() { - logger -st xray[$$] -p4 "Flushing firewall rules..." - /usr/bin/lua ${FIREWALL_INCLUDE} flush > $(uci get firewall.xray.path) - - logger -st xray[$$] -p4 "Triggering firewall restart..." - /etc/init.d/firewall restart > /dev/null 2>&1 - - logger -st xray[$$] -p4 "Flushing ipset rules..." - for setname in $(ipset -n list | grep "tp_spec"); do - ipset -! destroy $setname - done - /etc/hotplug.d/iface/01-transparent-proxy-ipset -} - -impl_gen_config_file() { - /usr/bin/lua /usr/share/xray/gen_config.lua > /var/etc/xray/config.json -} diff --git a/luci-app-xray/root/usr/share/xray/init.fw4 b/luci-app-xray/root/usr/share/xray/init.fw4 deleted file mode 100644 index 26392e0c3..000000000 --- a/luci-app-xray/root/usr/share/xray/init.fw4 +++ /dev/null @@ -1,33 +0,0 @@ -FIREWALL_INCLUDE="/usr/share/xray/firewall_include.ut" - -setup_firewall() { - ip rule add fwmark 251 lookup 251 - ip rule add fwmark 252 lookup 252 - ip route add local default dev lo table 251 - ip route add local default dev lo table 252 - - logger -st xray[$$] -p4 "Generating firewall4 rules..." - /usr/bin/utpl ${FIREWALL_INCLUDE} > /var/etc/xray/firewall_include.nft - - logger -st xray[$$] -p4 "Triggering firewall4 restart..." - /etc/init.d/firewall restart - /etc/hotplug.d/iface/01-transparent-proxy-ipset -} - -flush_firewall() { - ip rule del fwmark 251 lookup 251 - ip rule del fwmark 252 lookup 252 - ip route del local default dev lo table 251 - ip route del local default dev lo table 252 - - logger -st xray[$$] -p4 "Flushing firewall4 rules..." - rm -f /var/etc/xray/firewall_include.nft - - logger -st xray[$$] -p4 "Triggering firewall4 restart..." - /etc/init.d/firewall restart - /etc/hotplug.d/iface/01-transparent-proxy-ipset -} - -impl_gen_config_file() { - /usr/bin/ucode /usr/share/xray/gen_config.uc > /var/etc/xray/config.json -} diff --git a/luci-app-xray/shared/Makefile b/luci-app-xray/shared/Makefile new file mode 100644 index 000000000..fa0a15dd2 --- /dev/null +++ b/luci-app-xray/shared/Makefile @@ -0,0 +1,98 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=luci-app-xray-shared +PKG_VERSION:=2.0.0 +PKG_RELEASE:=1 + +PKG_LICENSE:=MPLv2 +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=yichya +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + SECTION:=Custom + CATEGORY:=Extra packages + TITLE:=LuCI Support for Xray (Shared Components) + DEPENDS:=+luci-base +xray-core +dnsmasq +ca-bundle + PKGARCH:=all +endef + +define Package/$(PKG_NAME)/description + LuCI Support for Xray (Client-side Rendered) (Shared Components). +endef + +define Package/$(PKG_NAME)/config +menu "luci-app-xray Configuration" + depends on PACKAGE_$(PKG_NAME) + +config PACKAGE_XRAY_INCLUDE_CLOUDFLARE_ORIGIN_ROOT_CA + bool "Include Cloudflare Origin Root CA" + default n + +config PACKAGE_XRAY_INFINITE_RETRY_ON_STARTUP + bool "Retry infinitely on Xray startup (may solve some startup problems)" + default n + +config PACKAGE_XRAY_RLIMIT_NOFILE_LARGE + bool "Increase Max Open Files Limit (recommended)" + default y + +config PACKAGE_XRAY_RESTART_DNSMASQ_ON_IFACE_CHANGE + bool "Restart dnsmasq on interface change (select this if using dnsmasq v2.87)" + default n + +config PACKAGE_XRAY_IGNORE_TP_SPEC_DEF_GW + bool "Ignore TP_SPEC_DEF_GW (select this if using private IPv4 address)" + default n + +choice + prompt "Limit memory use by setting rlimit_data (experimental)" + default PACKAGE_XRAY_RLIMIT_DATA_UNLIMITED + config PACKAGE_XRAY_RLIMIT_DATA_UNLIMITED + bool "Not limited" + config PACKAGE_XRAY_RLIMIT_DATA_SMALL + bool "Small limit (about 50MB)" + config PACKAGE_XRAY_RLIMIT_DATA_LARGE + bool "Large limit (about 321MB)" +endchoice + +endmenu +endef + +define Build/Compile +endef + +define Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/etc/luci-uploads/xray + $(INSTALL_DIR) $(1)/etc/ssl/certs +ifdef CONFIG_PACKAGE_XRAY_INCLUDE_CLOUDFLARE_ORIGIN_ROOT_CA + $(INSTALL_DATA) ./root/etc/ssl/certs/origin_ca_ecc_root.pem $(1)/etc/ssl/certs/origin_ca_ecc_root.pem +endif + $(INSTALL_DIR) $(1)/usr/share/xray + $(LN) /var/run/xray.pid $(1)/usr/share/xray/xray.pid + $(LN) /usr/bin/xray $(1)/usr/share/xray/xray +ifdef CONFIG_PACKAGE_XRAY_IGNORE_TP_SPEC_DEF_GW + $(INSTALL_DATA) ./root/usr/share/xray/ignore_tp_spec_def_gw $(1)/usr/share/xray/ignore_tp_spec_def_gw +endif +ifdef CONFIG_PACKAGE_XRAY_RESTART_DNSMASQ_ON_IFACE_CHANGE + $(INSTALL_DATA) ./root/usr/share/xray/restart_dnsmasq_on_iface_change $(1)/usr/share/xray/restart_dnsmasq_on_iface_change +endif +ifdef CONFIG_PACKAGE_XRAY_INFINITE_RETRY_ON_STARTUP + $(INSTALL_DATA) ./root/usr/share/xray/infinite_retry $(1)/usr/share/xray/infinite_retry +endif +ifdef CONFIG_PACKAGE_XRAY_RLIMIT_NOFILE_LARGE + $(INSTALL_DATA) ./root/usr/share/xray/rlimit_nofile_large $(1)/usr/share/xray/rlimit_nofile +endif +ifdef CONFIG_PACKAGE_XRAY_RLIMIT_DATA_SMALL + $(INSTALL_DATA) ./root/usr/share/xray/rlimit_data_small $(1)/usr/share/xray/rlimit_data +endif +ifdef CONFIG_PACKAGE_XRAY_RLIMIT_DATA_LARGE + $(INSTALL_DATA) ./root/usr/share/xray/rlimit_data_large $(1)/usr/share/xray/rlimit_data +endif + $(INSTALL_DIR) $(1)/usr/libexec/rpcd + $(INSTALL_BIN) ./root/usr/libexec/rpcd/xray $(1)/usr/libexec/rpcd/xray +endef + +$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/luci-app-xray/root/etc/ssl/certs/origin_ca_ecc_root.pem b/luci-app-xray/shared/root/etc/ssl/certs/origin_ca_ecc_root.pem similarity index 100% rename from luci-app-xray/root/etc/ssl/certs/origin_ca_ecc_root.pem rename to luci-app-xray/shared/root/etc/ssl/certs/origin_ca_ecc_root.pem diff --git a/luci-app-xray/root/usr/libexec/rpcd/xray b/luci-app-xray/shared/root/usr/libexec/rpcd/xray similarity index 100% rename from luci-app-xray/root/usr/libexec/rpcd/xray rename to luci-app-xray/shared/root/usr/libexec/rpcd/xray diff --git a/luci-app-xray/root/usr/share/xray/geoip_list.pb b/luci-app-xray/shared/root/usr/share/xray/geoip_list.pb similarity index 100% rename from luci-app-xray/root/usr/share/xray/geoip_list.pb rename to luci-app-xray/shared/root/usr/share/xray/geoip_list.pb diff --git a/luci-app-xray/root/usr/share/xray/ignore_tp_spec_def_gw b/luci-app-xray/shared/root/usr/share/xray/ignore_tp_spec_def_gw similarity index 100% rename from luci-app-xray/root/usr/share/xray/ignore_tp_spec_def_gw rename to luci-app-xray/shared/root/usr/share/xray/ignore_tp_spec_def_gw diff --git a/luci-app-xray/root/usr/share/xray/infinite_retry b/luci-app-xray/shared/root/usr/share/xray/infinite_retry similarity index 100% rename from luci-app-xray/root/usr/share/xray/infinite_retry rename to luci-app-xray/shared/root/usr/share/xray/infinite_retry diff --git a/luci-app-xray/root/usr/share/xray/restart_dnsmasq_on_iface_change b/luci-app-xray/shared/root/usr/share/xray/restart_dnsmasq_on_iface_change similarity index 100% rename from luci-app-xray/root/usr/share/xray/restart_dnsmasq_on_iface_change rename to luci-app-xray/shared/root/usr/share/xray/restart_dnsmasq_on_iface_change diff --git a/luci-app-xray/root/usr/share/xray/rlimit_data_large b/luci-app-xray/shared/root/usr/share/xray/rlimit_data_large similarity index 100% rename from luci-app-xray/root/usr/share/xray/rlimit_data_large rename to luci-app-xray/shared/root/usr/share/xray/rlimit_data_large diff --git a/luci-app-xray/root/usr/share/xray/rlimit_data_small b/luci-app-xray/shared/root/usr/share/xray/rlimit_data_small similarity index 100% rename from luci-app-xray/root/usr/share/xray/rlimit_data_small rename to luci-app-xray/shared/root/usr/share/xray/rlimit_data_small diff --git a/luci-app-xray/root/usr/share/xray/rlimit_nofile_large b/luci-app-xray/shared/root/usr/share/xray/rlimit_nofile_large similarity index 100% rename from luci-app-xray/root/usr/share/xray/rlimit_nofile_large rename to luci-app-xray/shared/root/usr/share/xray/rlimit_nofile_large diff --git a/luci-theme-design/Makefile b/luci-theme-design/Makefile index d7d28d5af..dc921525a 100644 --- a/luci-theme-design/Makefile +++ b/luci-theme-design/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Design Theme LUCI_DEPENDS:= -PKG_VERSION:=5.7.2-20230416 +PKG_VERSION:=5.7.4-20230417 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/luci-theme-design/README.md b/luci-theme-design/README.md index 47918d1f6..de71efccd 100644 --- a/luci-theme-design/README.md +++ b/luci-theme-design/README.md @@ -42,10 +42,11 @@ luci-theme-design 是一个针对移动端和PC端的沉浸式WebApp体验和优 ### 主要特点 - 适配移动端响应式优化,适合手机端做为WebApp使用 -- 修改和优化了很多插件显示,完善的icon图标,尽量视觉统一 +- 修改和优化了很多插件显示,完善的设备icon图标,尽量视觉统一 - 简洁的登录界面,底部导航栏,类App的沉浸式体验 - 适配深色模式,适配系统自动切换,支持自定义模式 - 适配openwrt 21/22、lede +- 支持插件式配置主题 ### 体验WebApp方法 diff --git a/luci-theme-design/dev/script.js b/luci-theme-design/dev/script.js index 217187778..06cba1052 100644 --- a/luci-theme-design/dev/script.js +++ b/luci-theme-design/dev/script.js @@ -221,14 +221,6 @@ $("header>.container>.brand").css("padding", '0rem') } }); - - /** - * fix legend position - */ - $("legend").each(function () { - var that = $(this); - that.after("" + that.text() + ""); - }); $(".main-right").focus(); $(".main-right").blur(); diff --git a/luci-theme-design/dev/style.css b/luci-theme-design/dev/style.css index 84a6a3944..c3eaa87c6 100644 --- a/luci-theme-design/dev/style.css +++ b/luci-theme-design/dev/style.css @@ -130,8 +130,8 @@ } *::-webkit-scrollbar { - width: 4px; - height: 4px; + width: 5px; + height: 5px; } *::-webkit-scrollbar-thumb { background: var(--scrollbarColor) ; @@ -1684,7 +1684,7 @@ fieldset > table > tbody > tr:nth-of-type(odd) { } /* fix status overview */ -.node-status-overview > .main fieldset:nth-child(4) td:nth-child(2), +.node-status-overview > .main fieldset:nth-child(6) td:nth-child(2), .node-status-overview table[id="wifi_status_table"] > tbody > tr > td { white-space: normal; } @@ -1825,6 +1825,9 @@ div [id*="cbi-wireless"] [id*="-__status"] table td small { .node-network-wifi .cbi-section-table .cbi-section-table-row td[colspan="8"] { text-align: center !important; } +.node-network-wireless #iw-assoclist .cbi-section-table-row td div { + max-width: unset !important; +} .node-network-wifi table, td, th { border-top: unset !important; } diff --git a/luci-theme-design/htdocs/luci-static/design/css/style.css b/luci-theme-design/htdocs/luci-static/design/css/style.css index 5fb7c00c2..eb78a2d8b 100644 --- a/luci-theme-design/htdocs/luci-static/design/css/style.css +++ b/luci-theme-design/htdocs/luci-static/design/css/style.css @@ -1,2 +1,2 @@ :root{--commonRadius0: 8px;--commonRadius1: 5px - }[data-theme=light]{--bg: #f1f4f5;--mainbg: #fff;--bgwhite: #fff;--activeColor: #5ea69b;--activeBottom: #5ea69b 2px solid;--textColor: rgb(132,119,116);--borderColor: rgba(0,0,0,.15);--navbgColor: rgba(255, 255, 255, .7);--navBorder: 1px solid #f2f2f2;--sectionbgColor: #fff;--sectionbgColor2: #fff;--sectionShaddow: 3px 3px 3px rgba(0,0,0,.05);--sectionBorder: none;--sectiontabBorder: none;--tabmenuBorderLR: none;--tabmenubgColor: none;--tabmenuBottom: #e4eaec 1px solid;--tabmenuRadius: 6px 6px 0 0;--sectionnodeBorder: #f7f7f7 1px solid;--cbilineColor: #f7f7f7 1px solid;--tabbgColor: #fff;--inputbgColor: #f8f8f8;--inputtextColor: #76838f;--inputBorder: 1px solid #e4eaec;--mainleftbgColor: rgb(255,255,255);--bttextColor: #fff;--badgebgColor: #f7f7f7;--badgeBorder: #e4eaec 1px solid;--progressbarColor: #c8c8c8;--progressbar: #5ea69b;--progressbartxtColor: #fff;--logo_color: #222b36;--alertColor: #000000;--alertBackground: rgb(230 230 230);--scrollbarColor:#c5c5c5;--ifaceboxBorderColor: #b8b8b8bd;--ifaceboxFontColor: #404040;--liSelectedColor: #c5c5c5;--vssrStatusColor: #525f7f;--vssrBoxShadow: 0 0 2rem 0 rgb(136 152 170 / 30%)}[data-theme=dark]{--bg: #000;--bgwhite: #000;--textColor: #fefefe;--activeColor: #5ea69b;--activeBottom: #5ea69b 2px solid;--borderColor: #2C2C3A;--navbgColor: hsla(0, 0%, 7%, .8);--navBorder: 1px solid #1c1c1e;--sectionbgColor: #1c1c1e;--sectionbgColor2: #1c1c1e;--sectionShaddow: 3px 3px 3px rgba(0,0,0,.05);--sectionBorder: none;--sectiontabBorder: none;--sectionnodeBorder: #3d3d41 1px solid;--cbilineColor: #2d2d2d 1px solid;--tabbgColor: #1c1c1e;--tabmenuBorderLR: none;--tabmenubgColor: none;--tabmenuBottom: #2d2d2d 1px solid;--tabmenuRadius: 6px 6px 0 0;--inputbgColor: #2f2f2f;--inputtextColor: #fefefe;--inputBorder: 1px solid #4d4d4d;--mainleftbgColor: #000;--bttextColor: #fefefe;--badgebgColor: #fefefe;--badgeBorder: #3d3d40 1px solid;--progressbarColor: #6d6d6d;--progressbar: #5ea69b;--progressbartxtColor: #fefefe;--logo_color: #fefefe;--alertColor: #ffffff;--alertBackground: rgb(30 30 30);--scrollbarColor:#2f2f2f;--ifaceboxBorderColor: #636363bd;--ifaceboxFontColor: #404040;--liSelectedColor: #2f2f2f;--vssrStatusColor: rgb(204, 204, 204);--vssrBoxShadow: 0 0 1rem 0 rgb(0 0 0 / 30%)}@font-face{font-family:icomoon;src:url(../fonts/font.eot);src:url(../fonts/font.eot) format('embedded-opentype'),url(../fonts/font.ttf) format('truetype'),url(../fonts/font.woff) format('woff'),url(../fonts/font.svg) format('svg');font-weight:400;font-style:normal}@font-face{font-family:design;src:url('');src:url(?#iefix) format('embedded-opentype'),url(../fonts/iconfont-Regular.woff2) format('woff2'),url(../fonts/iconfont-Regular.woff) format('woff'),url(../fonts/iconfont-Regular.ttf) format('truetype'),url(#iconfont) format('svg')}@font-face{font-family:genjyuugothic-medium;src:url(../fonts/GenJyuuGothic-Medium.otf) format('opentype')}*::-webkit-scrollbar{width:4px;height:4px}*::-webkit-scrollbar-thumb{background:var(--scrollbarColor);border-radius:2px}div{font-family:hyk2gj}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,body{margin:0;padding:0;height:100%;font-family:-apple-system,microsoft yahei!important;font-size:.92rem;line-height:150%;background-color:var(--bg);color:var(--textColor)}body div{line-height:150%}a{color:var(--textColor);text-decoration:none}em{font-style:normal!important;line-height:1.5;padding-left:10px}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}select{overflow:hidden!important;width:100%;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0 25px 0 10px!important;background-size:24px 16px;background-repeat:no-repeat;background-position:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABGCAYAAAA6hjFpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhDNzA0QUE0NjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhDNzA0QUEzNjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzNBNTYzNTY2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzNBNTYzNTc2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6YjzxlAAACsklEQVR42uyaXUsVURSG51T0U/obfUvhhYF0U0HQhZQVIWVJCAkiSUXfRRcaBFbXQVBBRCASFCJBpQQipw+RREkpCa9aG95gs0DMOp6Z7TwvvAxnzczaa6/nzDnzVTndfSVDxdE6WgAQBBCAIIAABAEEIAggAEEAQQABCAIIQBBAAIIAAhAEEAQQgCCAAAStGSAbzA/N+wvSiwPmB6or16bkoY2afLN5r+q4l2MfDpr7zetV2z7zYpmOkAHByNSE0IxDOdUSxr2rOjLVNVC2n6z77hsYmtFnbqlzHS0aN+7DouorFZBH+ibGUCrmO+YjdaqhVeNVHIxm1Ve6P/XH5ibzLwfllvn4Ko8d8t90MEIde1RXaU97n6oJCw7KNXPbKo3ZpvwxjAXV8YTrkCx7piPFQ7lsbq/xWO3K62E0qQ4uDKXn5kbzTxe/YO6o0Rgdypc5GI0anyt1p5fm3eYfLn7e3PmfuTuVJ1YYZ5fG5Up9CQ2qSfMu3m3u+secXdo/1rzGGeTWyfIaUrPmXPycuWeFuXq0X6w55R8q4NwLe3PxlXmn+buLnzX3/mWOXm0fK+RrUP4MICvTG/MO86yLnzFfWmbfi9ou1qzyvS7wnAt/+31YTZxx8ZPmq+709c/pcoifcvEZ5Rku+HyTeB4yYt5unnbxE+YbEZSwvK54rGntP5LAXJN5QPXWvNX8zcWPmm9rHmF5zK0P22/T/hlAaqv35i3mKRc/bB7VMtaUIL5LaI7JPcIdVZMnXXyT+zyp7T4kNr8kn6mPqdlfllj/VevHEpxbsi85fNTP1ycX/2zerPUZQOqrcUGp6nNVMMYTnlPyrwFNCMILLScSn0++r7zUSFVdZ6wJ8aIcQBBAAIIAAhAEEIAggAAEAQQBBCAIIABBAAEIAghAEEAQQJLQbwEGAK/reX2gh5gQAAAAAElFTkSuQmCC)}select,input{color:var(--inputtextColor);padding:5px 10px;font-size:.92rem;font-family:-apple-system,microsoft yahei,sans-serif,Helvetica,Arial,sans-serif;border:var(--inputBorder);background-color:var(--inputbgColor);transition:color 100ms ease,border-color 100ms ease,opacity 100ms ease;-webkit-transition:color 100ms ease,border-color 100ms ease,opacity 100ms ease;outline-style:none;vertical-align:middle;border-radius:var(--commonRadius0);margin:3px 3px 3px 0;height:2.8rem;line-height:2.8rem;max-width:550px}select:not([multiple=multiple]):focus,input:focus{border-color:#948fe1;box-shadow:0 0 6px #948fe1;-webkit-box-shadow:0 0 6px #948fe1;-moz-box-shadow:0 0 6px #948fe1}input[type=file]{border:none;background:0 0;height:auto;line-height:1rem}input[type=checkbox]{height:1.2rem;width:1.2rem}input[type=radio]{height:1.2rem;width:1.2rem;box-shadow:var(--bg)}select[multiple=multiple]{height:auto}.node-docker-images input[type=text]{width:auto!important}input[type=text],input[type=password]{width:100%}code{color:#09c}abbr{text-decoration:underline;cursor:help}br{display:block;margin-bottom:.2px;content:''}hr{margin:1rem 0;border-color:#eee;opacity:.1}header,.main{width:100%;position:absolute}header{background-color:var(--bgwhite);box-shadow:18rem 2px 4px rgba(0,0,0,.08);transition:box-shadow .1s;height:55px;float:left;position:fixed;z-index:101}footer{text-align:right;padding:1rem;color:#aaa;font-size:11px;height:80px;visibility:hidden}footer>a{color:#9a258f;text-decoration:none}text,line{font-family:Verdana!important}.cbi-button-up,.cbi-button-down,.cbi-value-helpicon,.showSide,.main>.loading>span{font-family:icomoon!important;font-size:10px;speak:none;font-style:normal!important;font-weight:400!important;font-variant:normal!important;text-transform:none!important;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.node-services-passwall2 #cbi-passwall2{text-align:center}.node-services-passwall2 input.cbi-button.cbi-button{max-width:unset}.node-services-passwall #set_node_div,.node-services-passwall2 #set_node_div,.node-services-passwall #add_link_div,.node-services-passwall2 #add_link_div{background:var(--sectionbgColor);border-radius:var(--commonRadius0)}.node-services-passwall #add_link_div #nodes_link,.node-services-passwall2 #add_link_div #nodes_link{width:100%!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:-apple-system,microsoft yahei;font-weight:600;line-height:1.1;color:inherit;clear:both;text-transform:capitalize}label.zonebadge.zonebadge-empty{background-color:#03abe8!important}label.zonebadge{border-radius:var(--commonRadius1);padding:2px 5px!important;display:inline-block;cursor:pointer;color:#666}.zonebadge{border-radius:6px;padding:5px}.zonebadge em{padding:3px}svg{background-color:var(--sectionbgColor)}.cbi-section .cbi-section{margin:10px}.node-services-vssr .status-bar{bottom:calc(var(--vssrBottom) + constant(safe-area-inset-bottom));bottom:calc(var(--vssrBottom) + env(safe-area-inset-bottom));background-color:var(--navbgColor);box-shadow:var(--vssrBoxShadow)!important;color:var(--vssrStatusColor)!important}.node-services-vssr .container{padding-bottom:calc(var(--vssrBottom) + constant(safe-area-inset-bottom));padding-bottom:calc(var(--vssrBottom) + env(safe-area-inset-bottom))}.node-services-vssr .ssr-button{min-width:30px}.node-services-vssr #cbi-vssr .panel-title{padding:10px 0 10px 10px!important;letter-spacing:0!important}.node-services-vssr .status .block{border-radius:10px!important;box-shadow:none!important;background-color:var(--sectionbgColor)!important}.node-services-vssr button{border-radius:10px!important}#cbi-vssr-servers .cbi-section-table-row{position:relative;margin:10px!important;padding:8px 15px 8px 70px;box-shadow:none!important;border-radius:10px!important;border:0;color:var(--textColor)!important;text-align:left;line-height:1.7em;overflow:hidden;letter-spacing:normal;background-color:var(--inputbgColor)!important}.cbi-section-table-row.fast{background-color:#add8e6!important}.incon .tp{text-transform:uppercase;color:var(--bg)!important}::file-selector-button{transition:all .1s ease-in-out;border-radius:var(--commonRadius1);border:3px solid #337ab7!important;color:#fff!important;background-color:#337ab7!important;box-sizing:border-box;cursor:pointer}::file-selector-button:hover,::file-selector-button:focus,::file-selector-button:active{color:#fff!important;background-color:#6a65d6!important;border-color:#6a65d6!important}img[src*="/luci-static/resources/icons/port_up.png"]{background-image:url(../images/port_up.png);background-size:32px 32px;height:32px;padding:0 0 0 32px;width:0}img[src*="/luci-static/resources/icons/port_down.png"]{background-image:url(../images/port_down.png);background-size:32px 32px;height:32px;padding:0 0 0 32px;width:0}#wan4_i img[src*="/luci-static/resources/icons/ethernet.png"],#wan6_i img[src*="/luci-static/resources/icons/ethernet.png"],img[src*="/luci-static/resources/icons/ethernet.png"]{background-image:url(../images/ethernet.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet.png"],.ifacebadge img[src*="/luci-static/resources/icons/ethernet.png"],li img[src*="/luci-static/resources/icons/ethernet.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"],img[src*="/luci-static/resources/icons/ethernet_disabled.png"]{background-image:url(../images/ethernet_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet_disabled.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet_disabled.png"],.ifacebadge img[src*="/luci-static/resources/icons/ethernet_disabled.png"],li img[src*="/luci-static/resources/icons/ethernet_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/switch.png"],#wan6_i img[src*="/luci-static/resources/icons/switch.png"],img[src*="/luci-static/resources/icons/switch.png"]{background-image:url(../images/switch.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/switch.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/switch.png"],.ifacebadge img[src*="/luci-static/resources/icons/switch.png"],li img[src*="/luci-static/resources/icons/switch.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/switch.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/switch_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/switch_disabled.png"],img[src*="/luci-static/resources/icons/switch_disabled.png"]{background-image:url(../images/switch_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/switch_disabled.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/switch_disabled.png"],.ifacebadge img[src*="/luci-static/resources/icons/switch_disabled.png"],li img[src*="/luci-static/resources/icons/switch_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/switch_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/wifi.png"],#wan6_i img[src*="/luci-static/resources/icons/wifi.png"],img[src*="/luci-static/resources/icons/wifi.png"]{background-image:url(../images/wifi.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi.png"],.ifacebadge img[src*="/luci-static/resources/icons/wifi.png"],li img[src*="/luci-static/resources/icons/wifi.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/wifi_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/wifi_disabled.png"],img[src*="/luci-static/resources/icons/wifi_disabled.png"]{background-image:url(../images/wifi_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi_disabled.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi_disabled.png"],.ifacebadge img[src*="/luci-static/resources/icons/wifi_disabled.png"],li img[src*="/luci-static/resources/icons/wifi_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/vlan.png"],#wan6_i img[src*="/luci-static/resources/icons/vlan.png"],img[src*="/luci-static/resources/icons/vlan.png"]{background-image:url(../images/vlan.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/vlan.png"],li img[src*="/luci-static/resources/icons/vlan.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/vlan_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/vlan_disabled.png"],img[src*="/luci-static/resources/icons/vlan_disabled.png"]{background-image:url(../images/vlan_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/vlan_disabled.png"],li img[src*="/luci-static/resources/icons/vlan_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/bridge.png"],#wan6_i img[src*="/luci-static/resources/icons/bridge.png"],img[src*="/luci-static/resources/icons/bridge.png"]{background-image:url(../images/bridge.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/bridge.png"],li img[src*="/luci-static/resources/icons/bridge.png"]{background-image:url(../images/bridge.png);background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px;width:0}#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/bridge_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/bridge_disabled.png"],img[src*="/luci-static/resources/icons/bridge_disabled.png"]{background-image:url(../images/bridge_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/bridge_disabled.png"],li img[src*="/luci-static/resources/icons/bridge_disabled.png"]{background-image:url(../images/bridge_disabled.png);background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px;width:0}#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/tunnel.png"],#wan6_i img[src*="/luci-static/resources/icons/tunnel.png"],img[src*="/luci-static/resources/icons/tunnel.png"]{background-image:url(../images/tunnel.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/tunnel.png"],li img[src*="/luci-static/resources/icons/tunnel.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"],img[src*="/luci-static/resources/icons/tunnel_disabled.png"]{background-image:url(../images/tunnel_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/tunnel_disabled.png"],li img[src*="/luci-static/resources/icons/tunnel_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}img[src*="/luci-static/resources/icons/wifi_big.png"]{background-image:url(../images/wifi_big.png);background-size:64px 64px;height:64px;padding:0 0 0 64px;width:0}img[src*="/luci-static/resources/icons/wifi_big_disabled.png"]{background-image:url(../images/wifi_big_disabled.png);background-size:64px 64px;height:64px;padding:0 0 0 64px;width:0}img[src*="/luci-static/resources/icons/loading.gif"]{background-image:url(../images/loading.gif);background-size:20px 20px;height:20px;width:20px;padding:0 0 0 20px;width:0}.ifacebox-body img{background-size:20px 20px;width:20px!important;height:20px!important;padding:0 0 0 20px!important}.ifacebox-head{border-radius:4px 4px 0 0}img[src*="/luci-static/resources/cbi/add.gif"]{background-image:url(../images/add.png);background-size:20px 20px;height:20px;padding:0 0 0 20px;width:0;z-index:2}img[src*="/luci-static/resources/cbi/remove.gif"]{background-image:url(../images/remove.png);background-size:20px 20px;height:20px;padding:0 0 0 20px;width:0;z-index:2}img[src*="/luci-static/resources/cbi/reload.gif"]{background-image:url(../images/reload.png);background-size:20px 20px;height:20px;padding:0 0 0 20px;width:0;z-index:2}img[src*="/luci-static/resources/icons/signal-75-100.png"]{background-image:url(../images/signal-75-100.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-50-75.png"]{background-image:url(../images/signal-50-75.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-25-50.png"]{background-image:url(../images/signal-25-50.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-0-25.png"]{background-image:url(../images/signal-0-25.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-0.png"]{background-image:url(../images/signal-0.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-none.png"]{background-image:url(../images/signal-none.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}.myIcon{font-family:design!important;font-style:normal!important;font-variant:normal!important;text-transform:none!important}.myIcon-logout:after{content:"\e005"}.myIcon-reboot:after{content:"\e02a"}.myIcon-wifi:after{content:"\e00c"}.main{top:50px;bottom:0;position:relative;height:100%;height:calc(100% - 4rem)}.main>.loading{position:fixed;width:100%;height:100%;z-index:1000;display:block;background-color:#f0f0f0;top:0}.main>.loading>span{display:block;text-align:center;margin-top:2rem;color:#888;font-size:1rem}.main>.loading>span>.loading-img:before{content:"\e603"}.main>.loading>span>.loading-img{animation:anim-rotate 2s infinite linear;margin-right:.2rem;display:inline-block}.node-main-login{text-align:center;background-color:var(--bgwhite)!important}.node-main-login .cbi-section-node>.cbi-value:nth-of-type(2n){background:0 0}.node-main-login h2{font-size:1.5rem}.node-main-login header{display:none}.node-main-login>.main>.main-left{display:none}.node-main-login>.main>.main-right{width:100%}.node-main-login>.main fieldset{padding:0!important;margin-bottom:1rem;display:inline;background:0 0;border:none;box-shadow:none;overflow:hidden}.node-main-login>.main fieldset .cbi-value-title{display:none!important}.node-main-login>.main .cbi-section{margin-top:10px!important}.node-main-login>.main .cbi-map{}.node-main-login>.main fieldset .cbi-value{}.node-main-login>.main fieldset .cbi-value-title{padding:10px 0 10px 5px!important}.node-main-login>.main .cbi-value{border:none}.node-main-login>.main .cbi-value-title{width:7rem}.node-main-login>.main #maincontent{display:flex;height:100%;text-align:center;align-items:center;align-content:center;justify-content:center}.node-main-login>.main form>div:nth-last-child(1){}.node-main-login>.main .cbi-value>*{display:inline-block!important}.node-main-login>.main .cbi-input-user,.node-main-login>.main .cbi-input-password{appearance:none;outline:0;padding:0 0 0 35px;background-repeat:no-repeat;background-position:10px 10px;background-size:18px 18px;min-width:15rem}.node-main-login>.main .cbi-input-user{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNjI3Mzg2IiBkPSJNMTIgNGE0IDQgMCAwIDEgNCA0IDQgNCAwIDAgMS00IDQgNCA0IDAgMCAxLTQtNCA0IDQgMCAwIDEgNC00bTAgMTBjNC40Mi4wIDggMS43OSA4IDR2Mkg0di0yYzAtMi4yMSAzLjU4LTQgOC00eiIvPjwvc3ZnPg==)}.node-main-login>.main .cbi-input-password{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNjI3Mzg2IiBkPSJNMTIgMTdhMiAyIDAgMCAwIDItMiAyIDIgMCAwIDAtMi0yIDIgMiAwIDAgMC0yIDIgMiAyIDAgMCAwIDIgMm02LTlhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlYxMGEyIDIgMCAwIDEgMi0yaDFWNmE1IDUgMCAwIDEgNS01IDUgNSAwIDAgMSA1IDV2MmgxbS02LTVhMyAzIDAgMCAwLTMgM3YyaDZWNmEzIDMgMCAwIDAtMy0zeiIvPjwvc3ZnPg==)}.node-main-login footer{bottom:0;position:absolute;width:100%}.navbar{overflow:hidden;position:fixed;bottom:0;width:100%;border-top:var(--navBorder);text-align:center;height:calc(50px + constant(safe-area-inset-bottom));height:calc(50px + env(safe-area-inset-bottom));background-color:var(--navbgColor);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.navbar a{float:left;text-align:center;padding:8px 0;width:20%;text-decoration:none;max-width:100px}.cbi-map{margin-top:10px}#cbi-shadowsocksr .cbi-map-descr{display:none}.navbar a img{width:28px}@keyframes anim-rotate{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}.main-left{float:left;width:18rem;background-color:var(--mainleftbgColor);overflow-x:auto;height:calc(100% - 3.5rem);position:fixed;padding-top:15px;box-shadow:0 0 4px transparent;transition:visibility 100ms,width 100ms}.main-right{width:85%;width:calc(100% - 18rem);float:right;height:100%;border-left:var(--sectionBorder)}.main-right>#maincontent{}.pull-right{position:absolute;top:-2px;right:30px;cursor:pointer}.pull-left{float:left}header>.container{margin:0;padding:0}header>.container>.brand{font-size:25px;font-family:genjyuugothic-medium;line-height:60px;color:var(--logo_color);cursor:default;display:block;width:18rem;height:60px;text-align:center;float:left;font-weight:900;letter-spacing:1px;padding:0 4.5rem;transition:.1s ease-in-out}header>.container>a[class=brand]:after{content:"";font-size:14px;font-family:Tahoma;position:absolute;top:-10px;font-weight:400!important}header>.container>.brand-hostname{font-size:14px;line-height:60px;color:#555;cursor:default;display:block;width:18rem;padding-right:10px;height:60px;text-align:left;float:left;margin-top:7px;font-weight:300;margin-left:-15px}.warning{background-color:#ff7d60!important;color:#fff}.errorbox,.alert-message{margin:0 0 10px;padding:20px;line-height:1.5;font-family:inherit;min-width:inherit;overflow:auto;border-radius:10px;color:var(--alertColor);background-color:var(--alertBackground)}.errorbox{color:#fff;background-color:#ff6767;border-radius:10px}.error{color:red}p#shadowsocksr_status{padding:3px}#maincontent>.container>div:nth-child(1).alert-message.warning>a{font:inherit;overflow:visible;text-transform:none;display:inline-block;margin-bottom:0;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;min-width:6rem;padding:.5rem 1rem;font-size:14px;line-height:1.42857143;color:#fff;background-color:#5bc0de;border-color:#46b8da;margin-top:2rem;text-decoration:inherit}.main>.main-left>.nav{overflow-y:visible!important;font-size:1rem;width:90%;margin:auto;margin-bottom:90px}.main>.main-left>.nav>li a{color:var(--activeColor);display:block;border-radius:6px;cursor:pointer;font-weight:700;font-size:1.1rem;transition:all .1s}.main>.main-left>.nav>li{cursor:pointer;padding-top:6px}.main>.main-left>.nav>.slide{padding:0;padding-top:8px}.main>.main-left>.nav>.slide>a:before{display:inline-block;left:-10px;top:1px;position:relative;font-family:design!important;font-weight:700!important;text-transform:none!important;speak:none;font-size:1.2rem!important;-webkit-font-smoothing:antialiased}.main>.main-left>.nav>.slide>.menu::after{right:.5rem;top:.8rem;font-family:design!important;font-style:normal!important;font-variant:normal!important;content:"\eb03";float:right;padding-right:5px;line-height:1.6;-moz-osx-font-smoothing:grayscale;transition:all .1s ease;text-rendering:auto;-webkit-font-smoothing:antialiased}.main .main-left .nav li.slide .menu.active::after{transform:rotate(90deg)}.main>.main-left>.nav>.slide>a[data-title=QuickStart]:before{content:"\e67e"}.main>.main-left>.nav>.slide>a[data-title=Status]:before{content:"\e6b8"}.main>.main-left>.nav>.slide>a[data-title=System]:before{content:"\e645"}.main>.main-left>.nav>.slide>a[data-title=Services]:before{content:"\e6cb"}.main>.main-left>.nav>.slide>a[data-title=Docker]:before{content:"\44"}.main>.main-left>.nav>.slide>a[data-title=NAS]:before{content:"\eb04"}.main>.main-left>.nav>.slide>a[data-title=VPN]:before{content:"\56"}.main>.main-left>.nav>.slide>a[data-title=Network]:before{content:"\72"}.main>.main-left>.nav>.slide>a[data-title="Bandwidth Monitor"]:before{content:"\e764"}.main .main-left .nav li.slide .menu[data-title=Statistics]:before{content:"\e604"}.main .main-left .nav li.slide .menu[data-title=Control]:before{content:"\e67a"}.main .main-left .nav li.slide .menu[data-title=Asterisk]:before{content:"\e7dd"}.main>.main-left>.nav>li>a[data-title="Inital Setup"]:before,.main>.main-left>.nav>li>a[data-title=NetworkGuide]:before,.main>.main-left>.nav>li>a[href="/cgi-bin/luci//admin/wizard"]:before{content:"\e719"}.main>.main-left>.nav>li>a[data-title=iStore]:before{content:"\e676"}.main>.main-left>.nav>li>a[data-title=Logout]{padding:.675rem 0 .675rem 2.5rem}.main>.main-left>.nav>li>a[data-title=Logout]:before{content:"\e641"}.main>.main-left>.nav>li>a[data-title=Reboot]{padding:6px 25px}.main>.main-left>.nav>li>a[data-title=Reboot]:before{content:"\e004"}.main>.main-left>.nav>.slide>ul{display:none;list-style:dotted}.main>.main-left>.nav>.slide>.menu{display:block;padding:.675rem 0 .675rem 2.5rem;text-decoration:none;cursor:pointer}.main>.main-left>.nav>.slide>.menu2{display:block;padding:.675rem 0 .675rem 2.5rem;text-decoration:none;cursor:pointer}.main>.main-left>.nav>li:hover,.main>.main-left>.nav>.slide>.menu:hover{background:var(--activeColor);color:#fff}.main>.main-left>.nav>.slide>.menu2:hover{background:var(--activeColor);color:#fff}.main>.main-left>.nav>.slide:hover{background:0 0}.slide-menu{overflow:hidden}.main>.main-left>.nav>.slide>.slide-menu>li{margin-top:8px;border-radius:6px}.main>.main-left>.nav>.slide>.slide-menu>.active{background-color:var(--activeColor)}.main>.main-left>.nav>.slide>.slide-menu>li>a{position:relative;display:block;color:var(--textColor);vertical-align:middle;background:0 0!important;border:none!important;text-transform:capitalize;font-size:1rem;margin:.1rem .5rem;padding:.675rem 0 .675rem 3.2rem}.main .main-left .nav li.slide .slide-menu .active a{color:#000}.main>.main-left>.nav>.slide>.slide-menu>li>a:hover{color:#fff}.main>.main-left>.nav>.slide>.slide-menu>.active>a{color:#fff}.main>.main-left>.nav>.slide>.slide-menu>li:hover{background:var(--activeColor);color:#fff!important;transition:all .1s}.main>.main-left>.nav>.slide>.slide-menu>.active:hover{background-color:var(--activeColor);cursor:pointer}.cbi-tab-descr{padding:10px}li{list-style-type:none}#maincontent>.container{margin:30px 30px 50px}h1{color:var(--activeColor);font-size:20px;padding-bottom:10px;border-bottom:1px solid #eee}h2{color:var(--activeColor);padding:0 12px 6px;text-transform:capitalize}h3{font-size:1.2rem;color:var(--activeColor);font-weight:700;padding:0 12px 10px}h4{}label{display:inline-block;vertical-align:middle}fieldset{padding:10px;border:1px;font-weight:400;font-style:normal;line-height:1;font-family:inherit;text-align:left;min-width:inherit;overflow-x:auto;overflow-y:hidden;background-color:var(--sectionbgColor);-webkit-overflow-scrolling:touch}fieldset>legend{display:none!important}fieldset>fieldset{padding:0}.panel-title{width:100%;display:block;padding:10px;font-weight:700;font-size:1rem}table{border-spacing:0;border-collapse:collapse;width:100%;border:0 solid #eee!important;margin:0!important}strong{font-weight:700;padding:2px}#lb_load01_cur,#lb_load01_peak,#lb_load05_cur,#lb_load15_cur{text-align:right!important}#lb_load01_peak{text-align:left!important}#lb_load01_cur{}table>tbody>tr>td,table>tbody>tr>th,table>tfoot>tr>td,table>tfoot>tr>th,table>thead>tr>td,table>thead>tr>th{padding:12px;white-space:nowrap;line-height:1.5;vertical-align:middle!important}.node-services-appfilter table>tbody>tr>th,.node-services-appfilter table>tbody>tr>td,.node-nlbw-usage table>tbody>tr>th,.node-nlbw-usage table>tbody>tr>td{text-align:center}table>tbody>tr{border-bottom:var(--cbilineColor)!important}table>tbody>tr:last-child{border-bottom:none!important}.cbi-section-table-cell{text-align:center}.cbi-section-table-row{text-align:center}.cbi-section-remove{margin-bottom:2px}.cbi-section-remove>input{background-color:#c06}fieldset>table>tbody>tr:nth-of-type(odd){background-color:var(--sectionbgColor2)}#lease6_status_table>tbody>.cbi-section-table-row.cbi-rowstyle-1 div,#lease6_status_table>tbody>.cbi-section-table-row.cbi-rowstyle-2 div{min-width:100%}.node-status-overview>.main fieldset:nth-child(4) td:nth-child(2),.node-status-overview table[id=wifi_status_table]>tbody>tr>td{white-space:normal}#swaptotal>div,#swapfree>div,#swapcache>div,#memfree>div,#membuff>div,#conns>div,#memcache>div,#memtotal>div{width:100%!important;border-color:var(--progressbarColor)!important;background-color:var(--progressbarColor)!important;border-radius:3px}#swaptotal>div>div,#swapfree>div>div,#swapcache>div>div,#memfree>div>div,#membuff>div>div,#conns>div>div,#memcache>div>div,#memtotal>div>div{background-color:var(--progressbar)!important;color:var(--progressbartxtColor)!important;border-radius:3px}#swaptotal div div,#swapfree div div,#swapcache div div,#memfree div div,#membuff div div,#conns div div,#memcache div div,#memtotal div div{align-items:center;align-content:center;justify-content:center;display:flex}#swaptotal div div small,#swapfree div div small,#swapcache div div small,#memfree div div small,#membuff div div small,#conns div div small,#memcache div div small,#memtotal div div small{font-size:.75rem!important;line-height:130%;color:var(--progressbartxtColor)!important}.cbi-value-field{width:65%}.node-system-admin .cbi-value-field li div{padding:0!important}.node-system-admin em{padding:0!important}.node-nlbw-display hr{display:none}.node-nlbw-display p{line-height:1.5;padding:0 10px 5px}#cbi-network .cbi-value-field ul,#cbi-wireless .cbi-value-field ul,#cbi-firewall .cbi-value-field ul{overflow-x:auto;white-space:nowrap}#cbi-network .cbi-value-field ul input[type=text],#cbi-wireless .cbi-value-field ul input[type=text],#cbi-firewall .cbi-value-field ul input[type=text]{max-width:10rem;width:100%!important}div [id*=cbi-network-] [id*=-__status] table,div [id*=cbi-wireless] [id*=-__status] table{width:auto}div [id*=cbi-network-] [id*=-__status] table td,div [id*=cbi-wireless] [id*=-__status] table td{width:auto;padding:0!important}div [id*=cbi-network-] [id*=-__status] table td small,div [id*=cbi-wireless] [id*=-__status] table td small{width:auto}.node-network-wifi .cbi-section-table tr .cbi-value-field,.node-network-wireless .cbi-section-table tr .cbi-value-field{width:unset!important;text-align:right}.node-network-wireless #iw-assoclist .cbi-section-table-row td[colspan="6"],.node-network-wireless .cbi-section-table .cbi-section-table-row td[colspan="6"],.node-network-wifi .cbi-section-table .cbi-section-table-row td[colspan="8"]{text-align:center!important}.node-network-wifi table,td,th{border-top:unset!important}.node-network-wifi .cbi-section-table td[colspan="2"]{padding-left:unset!important}.node-status-routes .cbi-section-node{max-height:500px;overflow-y:auto;overflow-x:auto}table table{border:none}.cbi-value-field table{border:none}.cbi-value-field label{padding:0}td>table>tbody>tr>td{border:none}.cbi-value-field>table>tbody>tr>td{border:none}#container\.nlbw\.traffic th,#container\.nlbw\.traffic td,#container\.nlbw\.layer7 th,#container\.nlbw\.layer7 td,#container\.nlbw\.ipv6 th,#container\.nlbw\.ipv6 td,#container\.nlbw\.export th,#container\.nlbw\.export td{padding:12px!important;border-top:none;border:unset;text-align:center}#container\.nlbw\.traffic tr td:nth-child(4),#container\.nlbw\.layer7 tr td:nth-child(3),#container\.nlbw\.ipv6 tr td:nth-child(4),#container\.nlbw\.export tr td:nth-child(4),#container\.nlbw\.traffic tr td:nth-child(6),#container\.nlbw\.layer7 tr td:nth-child(5),#container\.nlbw\.ipv6 tr td:nth-child(6),#container\.nlbw\.export tr td:nth-child(6){text-align:right!important}#container\.nlbw\.traffic tr td:nth-child(5),#container\.nlbw\.layer7 tr td:nth-child(4),#container\.nlbw\.ipv6 tr td:nth-child(5),#container\.nlbw\.export tr td:nth-child(5),#container\.nlbw\.traffic tr td:nth-child(7),#container\.nlbw\.layer7 tr td:nth-child(6),#container\.nlbw\.ipv6 tr td:nth-child(7),#container\.nlbw\.export tr td:nth-child(7){text-align:left!important}td#__status-ifc-signal{width:60px!important}.cbi-button{-webkit-appearance:none;text-transform:uppercase;color:#fff;background-color:#337ab7;transition:all .1s ease-in-out;display:inline-block;border:none;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation;background-image:none;text-align:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto!important;min-width:80px;padding:0 8px;border-radius:var(--commonRadius0);height:35px;line-height:35px}.cbi-button:hover,.cbi-button:focus,.cbi-button:active{color:#fff;outline:0;text-decoration:none;background-color:#6a65d6}.cbi-button:hover,.cbi-button:focus{box-shadow:0 1px 1px rgba(0,0,0,.05)}.cbi-button:active{box-shadow:0 1px 1px rgba(0,0,0,.05)}.cbi-button:disabled{cursor:not-allowed;pointer-events:none;opacity:.6;box-shadow:none}form.inline+form.inline,.cbi-button+.cbi-button{}.cbi-button-reset,.cbi-input-remove{color:#fff!important;background-color:#617486!important}.cbi-button-reset:hover,.cbi-input-remove:hover,.cbi-button-remove:hover{color:#fff!important;background-color:#536473!important}.cbi-button-link,.cbi-input-find,.cbi-input-save,.cbi-button-add,.cbi-button-save,.cbi-button-find,.cbi-input-reload,.cbi-button-reload{color:var(--bttextColor);background-color:#337ab7!important;border-color:#337ab7!important}.cbi-button-link:hover,.cbi-input-find:hover,.cbi-input-save:hover,.cbi-button-add:hover,.cbi-button-save:hover,.cbi-button-find:hover,.cbi-input-reload:hover,.cbi-button-reload:hover{color:#fff!important;background-color:#6a82ae!important;border-color:#6a82ae!important}.cbi-input-apply,.cbi-button-apply,.cbi-button-edit{color:#fff!important;background-color:var(--activeColor)}.cbi-input-reset,.cbi-button-remove{color:#fff!important;background:#617486}.a-to-btn{text-decoration:none}.tabs{margin:15px 0;overflow-x:auto}.cbi-tabmenu>li,.tabs>li{display:table-cell}.cbi-tabmenu>li{border-radius:var(--tabmenuRadius)}.tabs>li>a{text-decoration:none;padding:0 6px;float:left;display:block;white-space:nowrap;height:2.5rem;line-height:2.5rem;font-size:.92rem}.cbi-tabmenu>li>a{text-decoration:none;float:left;display:block;white-space:nowrap;height:2.5rem;line-height:2.5rem;font-size:.92rem;margin:0 10px}.tabs>li[class~=active],.tabs>li:hover{cursor:pointer}.tabs>li[class~=active]>a{color:var(--activeColor)!important;padding-bottom:8px;border-bottom:var(--activeColor) 2px solid}.tabs>li:hover{}.cbi-tabmenu{border-top:var(--sectiontabBorder);border-left:var(--tabmenuBorderLR);border-right:var(--tabmenuBorderLR);border-bottom:var(--tabmenuBottom);background-color:var(--tabmenubgColor);width:100%;overflow-x:auto;margin-top:5px;margin-bottom:10px}.cbi-tabmenu>li:hover{background-color:none}.cbi-tabmenu>li[class~=cbi-tab]{background-color:none}.cbi-tabmenu>li[class~=cbi-tab] a{color:var(--activeColor)!important;border-bottom:2px solid var(--activeColor)!important}.cbi-section-node-tabbed{margin-top:0;border-bottom:var(--sectiontabBorder);border-left:var(--sectiontabBorder);border-right:var(--sectiontabBorder);border-radius:0 0}.cbi-tabcontainer{clear:both}.cbi-tabcontainer>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor2)}.cbi-section-node>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor2)}div>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor2)}.cbi-value-field,.cbi-value-description{display:table-cell}.cbi-value-field{}.cbi-value-helpicon>img{display:none}.cbi-value-helpicon:before{content:"\f059"}.cbi-value-description{opacity:.6;padding-left:4px}.cbi-value-title{word-wrap:break-word;display:table-cell;width:35%;float:left;padding:13px 10px 5px 3px}.cbi-value{display:flex;width:100%;align-items:center;align-content:center;justify-content:flex-start;min-height:40px;padding:8px 10px;flex-flow:row wrap;border-bottom:var(--cbilineColor)}.cbi-value:last-child{border-bottom:none}.cbi-value strong{font-weight:400}.cbi-section-table-descr>.cbi-section-table-cell,.cbi-section-table-titles>.cbi-section-table-cell{border:none}.cbi-rowstyle-2{background-color:var(--sectionbgColor2)}.cbi-rowstyle-2 .cbi-button-up,.cbi-rowstyle-2 .cbi-button-down{}.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell{width:auto!important}.cbi-section-table tr .cbi-value-field{text-align:center;width:20%!important;padding:10px!important}.cbi-section-table tr .cbi-value-field input{width:auto}.cbi-section-table tr .cbi-value-field .ifacebox{margin:auto;width:fit-content;min-width:60px}.cbi-section-descr{padding:3px 10px}.cbi-map-descr{padding:5px 5px 5px 12px}.cbi-map-descr h3{font-size:.92rem;font-weight:400;color:#666}#cbi-vsftpd .cbi-map-descr{color:var(--activeColor);padding:0 12px 0;font-size:1.2rem;font-weight:700}.hidden{display:none}.left{text-align:left!important}.right{text-align:right!important}.right .cbi-button{height:20px;line-height:20px;min-width:60px;margin:0}.inline{display:inline}.cbi-page-actions{text-align:center}.cbi-value input[type=password],.cbi-value input[type=text]{}.ifacebadge{display:inline-flex;padding:5px;background-color:var(--badgebgColor);align-content:center;align-items:center;border-radius:var(--commonRadius1);border:var(--badgeBorder);color:#666}#content_syslog{padding:5px;margin-top:10px;border-radius:10px;background-color:var(--sectionbgColor);box-shadow:3px 3px 3px transparent}.ifacebadge>img{float:right;margin-left:.3rem}img.cbi-image-button{vertical-align:middle}fieldset.cbi-section{border:var(--sectionBorder);margin-bottom:20px;border-radius:10px;margin-top:5px}.cbi-input-textarea,textarea{color:var(--inputtextColor);padding:10px;line-height:normal;border:var(--sectionBorder);background-color:var(--inputbgColor);transition:color 150ms ease,border-color 150ms ease,opacity 150ms ease;-webkit-transition:color 150ms ease,border-color 150ms ease,opacity 150ms ease;outline-style:none;vertical-align:baseline;border-radius:10px;font-family:Menlo,Mono;font-size:.9rem;white-space:pre;margin-bottom:5px}#syslog{width:100%;min-height:15rem;padding:10px;margin-bottom:20px;border-radius:0;background-color:var(--sectionbgColor);border:none}#wan4_i,#wan6_i{width:50px!important}.uci-change-list{font-family:monospace}.uci-change-list *:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.uci-change-list *:nth-last-child(2){border-bottom-left-radius:5px;border-bottom-right-radius:5px}.uci-change-list ins,.uci-change-legend-label ins{text-decoration:none;border:1px solid #0f0;background-color:#cfc;display:block;padding:2px;color:#000;overflow-x:auto}.uci-change-legend .uci-change-legend-label ins{overflow-x:unset;border-radius:var(--commonRadius1)}.uci-change-list del,.uci-change-legend-label del{text-decoration:none;border:1px solid red;background-color:#fcc;display:block;font-style:normal;padding:2px;color:#000;overflow-x:auto}.uci-change-legend .uci-change-legend-label del{overflow-x:unset;border-radius:var(--commonRadius1)}.uci-change-list var,.uci-change-legend-label var{text-decoration:none;border:1px solid #ccc;background-color:#eee;display:block;font-style:normal;padding:2px;color:#000;overflow-x:auto}.uci-change-legend .uci-change-legend-label var{overflow-x:unset;border-radius:var(--commonRadius1)}.uci-change-list var ins,.uci-change-list var del{border:none;white-space:pre;font-style:normal;padding:0;color:#000;overflow-x:auto}.uci-change-legend{padding:5px}.uci-change-legend-label{width:150px;float:left;display:flex;align-items:center}.uci-change-legend-label>ins,.uci-change-legend-label>del,.uci-change-legend-label>var{float:left;margin-right:4px;width:10px;height:10px;display:block}.uci-change-legend-label var ins,.uci-change-legend-label var del{border:none;height:10px;width:10px}.uci-change-list var,.uci-change-list del,.uci-change-list ins{padding:.5rem}#iwsvg,#iwsvg2,#bwsvg{border:var(--sectionBorder)!important;font-family:-apple-system;background:0 0!important}.ifacebox{border:var(--ifaceboxBorderColor) 1px solid;border-radius:var(--commonRadius1);font-size:.92rem;font-weight:400}.ifacebox-head{color:#fff}.ifacebox-body small{font-size:.8rem!important;padding:5px}.ifacebox-body strong{color:#f7f7f7;font-size:0!important}.cbi-image-button{}.zonebadge>.ifacebadge{padding:3px 5px;margin:5px}.zonebadge>input[type=text]{padding:.16rem 1rem;min-width:10rem;margin-top:.3rem}.cbi-value-field .cbi-input-checkbox,.cbi-value-field .cbi-input-radio{vertical-align:middle}.cbi-section-table-row>.cbi-value-field .cbi-input-select{min-width:7rem}.cbi-section-create{padding:0 10px}.cbi-section-create>.cbi-button-add{margin:10px 0}div.cbi-value var,td.cbi-value-field var{font-style:italic;color:#0069d6}small{font-size:small;font-weight:400!important;white-space:normal}.cbi-button-up,.cbi-button-down{display:inline-block;min-width:0;font-size:.9rem}.cbi-optionals{padding:1rem 1rem 0;border-top:1px solid #ccc}#diag-rc-output>pre{display:block;padding:10px;line-height:1.5rem;-moz-border-radius:3px;white-space:pre-wrap;word-wrap:break-word;color:#76838f}input[name=ping],input[name=traceroute],input[name=nslookup]{width:80%}table.cbi-section-table select{width:auto!important}header>.container>.pull-right>*{}#xhr_poll_status>.label.success{padding:.7rem 0;border-radius:20px}#xhr_poll_status_off{padding:.7rem 0;border-radius:20px}.label{padding:0 3px;white-space:nowrap;border-radius:3px;position:absolute;right:5px;top:15px;line-height:150%}.notice{color:var(--activeColor);font-size:.8rem;padding-right:.5rem;border-radius:10px;z-index:10;font-size:1.8rem;font-family:design}#refresh_on,#refresh_off{font-size:1.5rem;font-family:design}#refresh_on{color:var(--activeColor)}#refresh_off{color:var(--progressbarColor)}.darkMask{width:100%;height:100%;position:fixed;background-color:rgba(0,0,0,.56);content:"";z-index:99;display:none}.node-services-shadowsocksr .cbi-input-textarea,.node-nlbw-config .cbi-input-textarea{}.node-services-shadowsocksr #cbi-logview .cbi-section{padding:0}.node-network-diagnostics .cbi-section{border-radius:10px}.node-status-processes>.main table tr td:nth-child(3){white-space:normal}.cbi-map fieldset h3{}.cbi-map fieldset ul li{margin-right:0!important}.node-system-reboot>.main>.main-right p,.node-system-reboot>.main>.main-right h3{margin-left:12px}.node-system-reboot #maincontent{}.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-title{margin-bottom:1rem}.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-field{display:list-item}.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-description{padding-top:1rem;line-height:150%}.node-system-packages>.main table tr td:nth-child(1){width:auto!important}.node-system-packages .cbi-section-node .cbi-value-last{}.node-system-packages .cbi-section-node .cbi-value-last>div{border:none!important;border-radius:3px}.node-system-packages .cbi-section-node .cbi-value-last>div>div{border:none!important;border-radius:3px}.node-system-packages .cbi-section-node .cbi-value-last:nth-last-child(1){padding:auto}.node-system-packages>.main table tr td:nth-last-child(1){white-space:normal;font-size:small;color:#76838f}.node-system-packages>.main .cbi-value>pre{padding:10px;overflow:auto;border-radius:10px}.node-system-packages #cbi-distfeedconf .cbi-section,.node-system-packages #cbi-customfeedconf .cbi-section{border-radius:10px}.node-system-packages .cbi-value-field{width:58%}#container\.nlbw\.traffic,#container\.nlbw\.layer7,#container\.nlbw\.ipv6,#container\.nlbw\.export{margin-top:0;margin-top:0;padding:10px;text-align:center;border-bottom:var(--sectionBorder);border-left:var(--sectionBorder);border-right:var(--sectionBorder);border-radius:10px}#container\.nlbw\.export ul li{padding:5px;width:150px;margin:10px;border-radius:var(--commonRadius1);border:#ccc 1px solid}.cbi-tabmenu+.cbi-section ul{text-align:left}.node-network-firewall>.main .cbi-section-table-row>.cbi-value-field .cbi-input-select{min-width:4rem}.node-status-iptables>.main div>.cbi-map>form{position:static!important;margin:10px 0 20px;padding:12px;border:0;font-weight:400;font-style:normal;line-height:1;font-family:inherit;min-width:inherit;overflow-x:auto;overflow-y:hidden;box-shadow:3px 3px 3px transparent;border-radius:10px;background-color:var(--bgwhite);-webkit-overflow-scrolling:touch}.node-system-flashops fieldset fieldset{border:none}.node-system-flashops br{display:none}.node-system-flashops .cbi-section{}.node-system-flashops .cbi-section-descr{padding:12px;line-height:1.5;border-radius:6px}.node-status-iptables .cbi-tabmenu,.node-system-packages .cbi-tabmenu,.node-system-flashops .cbi-tabmenu{}#cbi-firewall-redirect .cbi-section-table-titles .cbi-section-table-cell{text-align:left}#cbi-firewall-redirect table *,#cbi-network-switch_vlan table *,#cbi-firewall-zone table *{font-size:small}#cbi-firewall-redirect table input[type=text],#cbi-network-switch_vlan table input[type=text],#cbi-firewall-zone table input[type=text]{width:5rem}#cbi-firewall-redirect table select,#cbi-network-switch_vlan table select,#cbi-firewall-zone table select{min-width:3.5rem}.node-status-realtime table>tbody>tr>td{text-align:left!important;padding:10px 3px}.node-status-realtime table[id=connections]>tbody>tr>td{padding:10px 3px;text-align:center!important}.node-status-realtime table{table-layout:auto!important}.node-status-realtime fieldset[id=cbi-table-table]{background-color:unset!important}.node-status-realtime fieldset[id=cbi-table-table]>table>tbody>tr:nth-of-type(odd),.node-status-realtime fieldset[id=cbi-table-table] table[id=connections] tr.cbi-section-table-row.cbi-rowstyle-2{background-color:unset}.node-services-appfilter .cbi-section.cbi-tblsection,.node-nas-fileassistant #list-content,.node-status-realtime fieldset[id=cbi-table-table] .cbi-section-node{overflow:auto}select#cbi\.combobox\.cbid\.shadowsocksr\.cfg013fd6\.tunnel_forward{overflow:hidden}body.lang_pl.node-main-login .cbi-value-title{width:12rem}#detail-bubble{width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:19rem!important;width:calc(100vw - 21.25rem)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}@media screen and (max-width:1280px){header{}header>.container{}.main{height:calc(100% - 3.5rem)}.main-left{width:calc(0% + 18rem);top:50px}.main-right{width:calc(100% - 18rem)}table{font-size:.9rem!important;width:100%!important}.main>.main-left>.nav>li,.main>.main-left>.nav>li a,.main>.main-left>.nav>.slide>.menu{font-size:1.1rem}.main>.main-left>.nav>.slide>.slide-menu>li>a{font-size:1rem;text-transform:capitalize}img[src*="/luci-static/resources/cbi/add.gif"]{right:55px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/remove.gif"]{right:55px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/reload.gif"]{right:55px;display:block;position:absolute;margin-top:-34px}#detail-bubble{width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:19rem!important;width:calc(100vw - 21.25rem)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}.node-nlbw-usage table{display:block;overflow:auto}#container\.nlbw\.traffic table,#container\.nlbw\.layer7 table,#container\.nlbw\.ipv6 table,#container\.nlbw\.export table{display:block;overflow:auto}}@media screen and (max-width:992px){.main-left{width:0;position:fixed;z-index:100}.main-right{width:100%}.showSide{margin:0;padding:0;display:inline-block;position:absolute;width:300px;height:50px;padding:1.15rem 2rem}.showSide:before{content:"\e20e";font-size:1.7rem}#maincontent>.container{margin:20px}.node-main-login .showSide{display:none!important}.cbi-value-title{width:35%}.node-network-diagnostics>.main .cbi-map fieldset>div *{width:100%!important}.node-network-diagnostics>.main .cbi-map fieldset>div input[type=text]{}.node-network-diagnostics>.main .cbi-map fieldset>div:nth-child(4) input[type=text]{margin:0!important}.node-network-diagnostics>.main .cbi-map fieldset>div select,.node-network-diagnostics>.main .cbi-map fieldset>div input[type=button]{margin:1rem 0 0}.node-network-diagnostics>.main .cbi-map fieldset>div{width:100%!important}.node-main-login>.main .cbi-value-title{text-align:left}img[src*="/luci-static/resources/cbi/add.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/remove.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/reload.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}header{box-shadow:0 2px 4px rgba(0,0,0,.08)}}@media screen and (max-width:700px){#cbi-vssr-servers .cbi-button-add{position:static!important;width:auto!important;height:2rem!important;line-height:2rem!important;color:#fff;display:block;padding:0!important;font-size:.92rem;border-radius:10px!important;box-shadow:none;background-image:none}#cbi-vssr-servers .cbi-section-table-row{margin:10px 0!important}#cbi-vssr-servers .p-in5{padding-bottom:10px!important;margin:0!important}#cbi-vssr-servers .cbi-page-actions{padding-bottom:10px!important}#maincontent>.container{margin:20px}#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}}@media screen and (max-width:470px){#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:block;overflow:auto}.main-right>#maincontent{overflow:auto}div [id*=cbi-network-] [id*=-__status] table td,div [id*=cbi-wireless] [id*=-__status] table td{white-space:normal}.node-system-leds .cbi-section em,.node-network-network #cbi-network .cbi-map .cbi-section-table cbi-section-table-row,.node-network-network #cbi-network .cbi-map .cbi-section-table td{display:block}.node-network-network #cbi-network .cbi-map .cbi-section-table td{width:100%!important;text-align:center!important;white-space:normal}.node-network-network #cbi-network .cbi-map .cbi-button{min-width:60px!important}.node-network-network .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell{flex:1!important}.node-network-network .cbi-section-table .cbi-section-table-titles th:nth-child(2){text-align:center!important}.node-network-network .cbi-section-table .cbi-section-table-titles{display:flex}.node-network-wireless fieldset:nth-child(1) table>tbody>tr>td,.node-network-wireless fieldset:nth-child(2) table>tbody>tr>td{white-space:normal}}@media screen and (max-width:370px){fieldset{}select{width:100%}header{height:55px}h3{padding:0 10px 10px}.showSide{height:45px}#maincontent>.container{margin:20px}.main{top:45px}.main-left{top:45px}.main>.main-left>.nav>.slide>.menu{}.main>.main-left>.nav>.slide>.slide-menu>li>a{}.cbi-value{margin-bottom:20px;display:table;padding:0;border-bottom:none}.cbi-value-title{width:100%;font-weight:700;float:left;padding:0;margin:0;margin-bottom:.25rem}.cbi-section-node{padding:10px!important}.cbi-value-description{width:100%;display:block}.cbi-value>.cbi-value-field{display:block;float:left;width:100%}img[src*="/luci-static/resources/cbi/add.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/remove.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/reload.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}.cbi-section-node>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor)}.cbi-tabcontainer>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor)}div>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor)}.node-main-login>.main .cbi-value{padding:0}.node-main-login>.main form>div:nth-last-child(1){margin-top:2rem}.node-main-login>.main fieldset{margin:0;padding:.5rem}#container\.network\.lan\.physical .cbi-value-title,#cbi-network-1-_ifname .cbi-value-title{width:35%}#cbi-network-1-_ifname .cbi-value-field{width:65%}h2{font-size:1.2rem;text-transform:capitalize}select,input{}input[type=checkbox]{height:1.2rem!important;width:1.2rem!important}#swaptotal div div small,#swapfree div div small,#swapcache div div small,#memfree div div small,#membuff div div small,#conns div div small,#memcache div div small,#memtotal div div small{}#swaptotal div div,#swapfree div div,#swapcache div div,#memfree div div,#membuff div div,#conns div div,#memcache div div,#memtotal div div{}.node-status-iptables>.main div>.cbi-map>form input[type=submit]{margin:0}#cbi-samba-cfg010f89-_tmpl .cbi-value-title{width:15%}#cbi-samba-cfg010f89-_tmpl .cbi-value-field{width:95%}#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:block;overflow:auto}}@media screen and (max-width:315px){.label{position:absolute;right:5px;top:-70px}}#intervalSelect{height:40px!important}.commandbox div{position:unset!important}#cbi-netspeedtest-homebox-{display:unset!important}.node-status-realtime .container{overflow:auto}.node-network-network div[onclick*="document.getElementById('cbid.network."],#cbi-network div[onclick*="document.getElementById('cbid.network."]{background-color:unset!important}form[action="/cgi-bin/luci/admin/network/wireless"] input[class="cbi-button cbi-button-reset"],form[action="/cgi-bin/luci/admin/network/wireless_join"] input[class="cbi-button cbi-input-find"]{height:25px;min-width:80px}.node-services-aliyundrive-webdav #mask-box{background:transparent}.node-services-ddns #cbi-ddns-service input{width:unset}.node-services-ddns .cbi-value input[type=password],.node-services-ddns .cbi-value input[type=text]{width:100%!important}.fb-container .cbi-button{border-radius:var(--commonRadius0);margin:3px 3px 3px 0;height:unset!important}.node-system-commands h3{text-transform:unset}.node-system-commands .commandbox{width:auto;display:inline-block;float:none}.node-system-commands .commandbox p{word-break:keep-all;white-space:nowrap}.node-system-commands div.cbi-map fieldset.cbi-section{align-items:center;text-align:center}.node-system-commands #cbi-luci.cbi-map fieldset.cbi-section{align-items:unset;text-align:unset}.node-network-network .ifacebox strong{color:var(--ifaceboxFontColor);padding:5px}.node-network-firewall .zonebadge strong,.node-network-firewall label strong{color:var(--ifaceboxFontColor)}.node-services-openclash ul li.selected{background-color:var(--liSelectedColor)!important}.node-services-openclash .cbi-button-reset,.node-services-openclash .cbi-input-remove{max-width:unset!important}.node-services-openclash #tab-header ul li.selected,.node-services-openclash #tab-header ul li{color:#000!important;background-color:unset!important}.node-nas-qbittorrent p#qBittorrent_status input{line-height:unset}.node-system-diskman.dialog-format-active #dialog_format .dialog_box{background:var(--alertBackground);border-radius:var(--commonRadius1)}.node-services-watchcat-plus select[id*="cbi.opt.watchcat"]{width:auto}.node-nas-fileassistant .fb-container .cbi-value-owner,.node-nas-fileassistant .fb-container .cbi-value-perm{display:table-cell}.node-services-adguardhome input[onclick*="window.open('http://'+window.location.hostname+':"]{line-height:0} + }[data-theme=light]{--bg: #f1f4f5;--mainbg: #fff;--bgwhite: #fff;--activeColor: #5ea69b;--activeBottom: #5ea69b 2px solid;--textColor: rgb(132,119,116);--borderColor: rgba(0,0,0,.15);--navbgColor: rgba(255, 255, 255, .7);--navBorder: 1px solid #f2f2f2;--sectionbgColor: #fff;--sectionbgColor2: #fff;--sectionShaddow: 3px 3px 3px rgba(0,0,0,.05);--sectionBorder: none;--sectiontabBorder: none;--tabmenuBorderLR: none;--tabmenubgColor: none;--tabmenuBottom: #e4eaec 1px solid;--tabmenuRadius: 6px 6px 0 0;--sectionnodeBorder: #f7f7f7 1px solid;--cbilineColor: #f7f7f7 1px solid;--tabbgColor: #fff;--inputbgColor: #f8f8f8;--inputtextColor: #76838f;--inputBorder: 1px solid #e4eaec;--mainleftbgColor: rgb(255,255,255);--bttextColor: #fff;--badgebgColor: #f7f7f7;--badgeBorder: #e4eaec 1px solid;--progressbarColor: #c8c8c8;--progressbar: #5ea69b;--progressbartxtColor: #fff;--logo_color: #222b36;--alertColor: #000000;--alertBackground: rgb(230 230 230);--scrollbarColor:#c5c5c5;--ifaceboxBorderColor: #b8b8b8bd;--ifaceboxFontColor: #404040;--liSelectedColor: #c5c5c5;--vssrStatusColor: #525f7f;--vssrBoxShadow: 0 0 2rem 0 rgb(136 152 170 / 30%)}[data-theme=dark]{--bg: #000;--bgwhite: #000;--textColor: #fefefe;--activeColor: #5ea69b;--activeBottom: #5ea69b 2px solid;--borderColor: #2C2C3A;--navbgColor: hsla(0, 0%, 7%, .8);--navBorder: 1px solid #1c1c1e;--sectionbgColor: #1c1c1e;--sectionbgColor2: #1c1c1e;--sectionShaddow: 3px 3px 3px rgba(0,0,0,.05);--sectionBorder: none;--sectiontabBorder: none;--sectionnodeBorder: #3d3d41 1px solid;--cbilineColor: #2d2d2d 1px solid;--tabbgColor: #1c1c1e;--tabmenuBorderLR: none;--tabmenubgColor: none;--tabmenuBottom: #2d2d2d 1px solid;--tabmenuRadius: 6px 6px 0 0;--inputbgColor: #2f2f2f;--inputtextColor: #fefefe;--inputBorder: 1px solid #4d4d4d;--mainleftbgColor: #000;--bttextColor: #fefefe;--badgebgColor: #fefefe;--badgeBorder: #3d3d40 1px solid;--progressbarColor: #6d6d6d;--progressbar: #5ea69b;--progressbartxtColor: #fefefe;--logo_color: #fefefe;--alertColor: #ffffff;--alertBackground: rgb(30 30 30);--scrollbarColor:#2f2f2f;--ifaceboxBorderColor: #636363bd;--ifaceboxFontColor: #404040;--liSelectedColor: #2f2f2f;--vssrStatusColor: rgb(204, 204, 204);--vssrBoxShadow: 0 0 1rem 0 rgb(0 0 0 / 30%)}@font-face{font-family:icomoon;src:url(../fonts/font.eot);src:url(../fonts/font.eot) format('embedded-opentype'),url(../fonts/font.ttf) format('truetype'),url(../fonts/font.woff) format('woff'),url(../fonts/font.svg) format('svg');font-weight:400;font-style:normal}@font-face{font-family:design;src:url('');src:url(?#iefix) format('embedded-opentype'),url(../fonts/iconfont-Regular.woff2) format('woff2'),url(../fonts/iconfont-Regular.woff) format('woff'),url(../fonts/iconfont-Regular.ttf) format('truetype'),url(#iconfont) format('svg')}@font-face{font-family:genjyuugothic-medium;src:url(../fonts/GenJyuuGothic-Medium.otf) format('opentype')}*::-webkit-scrollbar{width:5px;height:5px}*::-webkit-scrollbar-thumb{background:var(--scrollbarColor);border-radius:2px}div{font-family:hyk2gj}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,body{margin:0;padding:0;height:100%;font-family:-apple-system,microsoft yahei!important;font-size:.92rem;line-height:150%;background-color:var(--bg);color:var(--textColor)}body div{line-height:150%}a{color:var(--textColor);text-decoration:none}em{font-style:normal!important;line-height:1.5;padding-left:10px}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}select{overflow:hidden!important;width:100%;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0 25px 0 10px!important;background-size:24px 16px;background-repeat:no-repeat;background-position:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABGCAYAAAA6hjFpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhDNzA0QUE0NjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhDNzA0QUEzNjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzNBNTYzNTY2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzNBNTYzNTc2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6YjzxlAAACsklEQVR42uyaXUsVURSG51T0U/obfUvhhYF0U0HQhZQVIWVJCAkiSUXfRRcaBFbXQVBBRCASFCJBpQQipw+RREkpCa9aG95gs0DMOp6Z7TwvvAxnzczaa6/nzDnzVTndfSVDxdE6WgAQBBCAIIAABAEEIAggAEEAQQABCAIIQBBAAIIAAhAEEAQQgCCAAAStGSAbzA/N+wvSiwPmB6or16bkoY2afLN5r+q4l2MfDpr7zetV2z7zYpmOkAHByNSE0IxDOdUSxr2rOjLVNVC2n6z77hsYmtFnbqlzHS0aN+7DouorFZBH+ibGUCrmO+YjdaqhVeNVHIxm1Ve6P/XH5ibzLwfllvn4Ko8d8t90MEIde1RXaU97n6oJCw7KNXPbKo3ZpvwxjAXV8YTrkCx7piPFQ7lsbq/xWO3K62E0qQ4uDKXn5kbzTxe/YO6o0Rgdypc5GI0anyt1p5fm3eYfLn7e3PmfuTuVJ1YYZ5fG5Up9CQ2qSfMu3m3u+secXdo/1rzGGeTWyfIaUrPmXPycuWeFuXq0X6w55R8q4NwLe3PxlXmn+buLnzX3/mWOXm0fK+RrUP4MICvTG/MO86yLnzFfWmbfi9ou1qzyvS7wnAt/+31YTZxx8ZPmq+709c/pcoifcvEZ5Rku+HyTeB4yYt5unnbxE+YbEZSwvK54rGntP5LAXJN5QPXWvNX8zcWPmm9rHmF5zK0P22/T/hlAaqv35i3mKRc/bB7VMtaUIL5LaI7JPcIdVZMnXXyT+zyp7T4kNr8kn6mPqdlfllj/VevHEpxbsi85fNTP1ycX/2zerPUZQOqrcUGp6nNVMMYTnlPyrwFNCMILLScSn0++r7zUSFVdZ6wJ8aIcQBBAAIIAAhAEEIAggAAEAQQBBCAIIABBAAEIAghAEEAQQJLQbwEGAK/reX2gh5gQAAAAAElFTkSuQmCC)}select,input{color:var(--inputtextColor);padding:5px 10px;font-size:.92rem;font-family:-apple-system,microsoft yahei,sans-serif,Helvetica,Arial,sans-serif;border:var(--inputBorder);background-color:var(--inputbgColor);transition:color 100ms ease,border-color 100ms ease,opacity 100ms ease;-webkit-transition:color 100ms ease,border-color 100ms ease,opacity 100ms ease;outline-style:none;vertical-align:middle;border-radius:var(--commonRadius0);margin:3px 3px 3px 0;height:2.8rem;line-height:2.8rem;max-width:550px}select:not([multiple=multiple]):focus,input:focus{border-color:#948fe1;box-shadow:0 0 6px #948fe1;-webkit-box-shadow:0 0 6px #948fe1;-moz-box-shadow:0 0 6px #948fe1}input[type=file]{border:none;background:0 0;height:auto;line-height:1rem}input[type=checkbox]{height:1.2rem;width:1.2rem}input[type=radio]{height:1.2rem;width:1.2rem;box-shadow:var(--bg)}select[multiple=multiple]{height:auto}.node-docker-images input[type=text]{width:auto!important}input[type=text],input[type=password]{width:100%}code{color:#09c}abbr{text-decoration:underline;cursor:help}br{display:block;margin-bottom:.2px;content:''}hr{margin:1rem 0;border-color:#eee;opacity:.1}header,.main{width:100%;position:absolute}header{background-color:var(--bgwhite);box-shadow:18rem 2px 4px rgba(0,0,0,.08);transition:box-shadow .1s;height:55px;float:left;position:fixed;z-index:101}footer{text-align:right;padding:1rem;color:#aaa;font-size:11px;height:80px;visibility:hidden}footer>a{color:#9a258f;text-decoration:none}text,line{font-family:Verdana!important}.cbi-button-up,.cbi-button-down,.cbi-value-helpicon,.showSide,.main>.loading>span{font-family:icomoon!important;font-size:10px;speak:none;font-style:normal!important;font-weight:400!important;font-variant:normal!important;text-transform:none!important;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.node-services-passwall2 #cbi-passwall2{text-align:center}.node-services-passwall2 input.cbi-button.cbi-button{max-width:unset}.node-services-passwall #set_node_div,.node-services-passwall2 #set_node_div,.node-services-passwall #add_link_div,.node-services-passwall2 #add_link_div{background:var(--sectionbgColor);border-radius:var(--commonRadius0)}.node-services-passwall #add_link_div #nodes_link,.node-services-passwall2 #add_link_div #nodes_link{width:100%!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:-apple-system,microsoft yahei;font-weight:600;line-height:1.1;color:inherit;clear:both;text-transform:capitalize}label.zonebadge.zonebadge-empty{background-color:#03abe8!important}label.zonebadge{border-radius:var(--commonRadius1);padding:2px 5px!important;display:inline-block;cursor:pointer;color:#666}.zonebadge{border-radius:6px;padding:5px}.zonebadge em{padding:3px}svg{background-color:var(--sectionbgColor)}.cbi-section .cbi-section{margin:10px}.node-services-vssr .status-bar{bottom:calc(var(--vssrBottom) + constant(safe-area-inset-bottom));bottom:calc(var(--vssrBottom) + env(safe-area-inset-bottom));background-color:var(--navbgColor);box-shadow:var(--vssrBoxShadow)!important;color:var(--vssrStatusColor)!important}.node-services-vssr .container{padding-bottom:calc(var(--vssrBottom) + constant(safe-area-inset-bottom));padding-bottom:calc(var(--vssrBottom) + env(safe-area-inset-bottom))}.node-services-vssr .ssr-button{min-width:30px}.node-services-vssr #cbi-vssr .panel-title{padding:10px 0 10px 10px!important;letter-spacing:0!important}.node-services-vssr .status .block{border-radius:10px!important;box-shadow:none!important;background-color:var(--sectionbgColor)!important}.node-services-vssr button{border-radius:10px!important}#cbi-vssr-servers .cbi-section-table-row{position:relative;margin:10px!important;padding:8px 15px 8px 70px;box-shadow:none!important;border-radius:10px!important;border:0;color:var(--textColor)!important;text-align:left;line-height:1.7em;overflow:hidden;letter-spacing:normal;background-color:var(--inputbgColor)!important}.cbi-section-table-row.fast{background-color:#add8e6!important}.incon .tp{text-transform:uppercase;color:var(--bg)!important}::file-selector-button{transition:all .1s ease-in-out;border-radius:var(--commonRadius1);border:3px solid #337ab7!important;color:#fff!important;background-color:#337ab7!important;box-sizing:border-box;cursor:pointer}::file-selector-button:hover,::file-selector-button:focus,::file-selector-button:active{color:#fff!important;background-color:#6a65d6!important;border-color:#6a65d6!important}img[src*="/luci-static/resources/icons/port_up.png"]{background-image:url(../images/port_up.png);background-size:32px 32px;height:32px;padding:0 0 0 32px;width:0}img[src*="/luci-static/resources/icons/port_down.png"]{background-image:url(../images/port_down.png);background-size:32px 32px;height:32px;padding:0 0 0 32px;width:0}#wan4_i img[src*="/luci-static/resources/icons/ethernet.png"],#wan6_i img[src*="/luci-static/resources/icons/ethernet.png"],img[src*="/luci-static/resources/icons/ethernet.png"]{background-image:url(../images/ethernet.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet.png"],.ifacebadge img[src*="/luci-static/resources/icons/ethernet.png"],li img[src*="/luci-static/resources/icons/ethernet.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"],img[src*="/luci-static/resources/icons/ethernet_disabled.png"]{background-image:url(../images/ethernet_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet_disabled.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet_disabled.png"],.ifacebadge img[src*="/luci-static/resources/icons/ethernet_disabled.png"],li img[src*="/luci-static/resources/icons/ethernet_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/switch.png"],#wan6_i img[src*="/luci-static/resources/icons/switch.png"],img[src*="/luci-static/resources/icons/switch.png"]{background-image:url(../images/switch.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/switch.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/switch.png"],.ifacebadge img[src*="/luci-static/resources/icons/switch.png"],li img[src*="/luci-static/resources/icons/switch.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/switch.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/switch_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/switch_disabled.png"],img[src*="/luci-static/resources/icons/switch_disabled.png"]{background-image:url(../images/switch_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/switch_disabled.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/switch_disabled.png"],.ifacebadge img[src*="/luci-static/resources/icons/switch_disabled.png"],li img[src*="/luci-static/resources/icons/switch_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/switch_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/wifi.png"],#wan6_i img[src*="/luci-static/resources/icons/wifi.png"],img[src*="/luci-static/resources/icons/wifi.png"]{background-image:url(../images/wifi.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi.png"],.ifacebadge img[src*="/luci-static/resources/icons/wifi.png"],li img[src*="/luci-static/resources/icons/wifi.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/wifi_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/wifi_disabled.png"],img[src*="/luci-static/resources/icons/wifi_disabled.png"]{background-image:url(../images/wifi_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi_disabled.png"],#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi_disabled.png"],.ifacebadge img[src*="/luci-static/resources/icons/wifi_disabled.png"],li img[src*="/luci-static/resources/icons/wifi_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/vlan.png"],#wan6_i img[src*="/luci-static/resources/icons/vlan.png"],img[src*="/luci-static/resources/icons/vlan.png"]{background-image:url(../images/vlan.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/vlan.png"],li img[src*="/luci-static/resources/icons/vlan.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/vlan_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/vlan_disabled.png"],img[src*="/luci-static/resources/icons/vlan_disabled.png"]{background-image:url(../images/vlan_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/vlan_disabled.png"],li img[src*="/luci-static/resources/icons/vlan_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/bridge.png"],#wan6_i img[src*="/luci-static/resources/icons/bridge.png"],img[src*="/luci-static/resources/icons/bridge.png"]{background-image:url(../images/bridge.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/bridge.png"],li img[src*="/luci-static/resources/icons/bridge.png"]{background-image:url(../images/bridge.png);background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px;width:0}#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/bridge_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/bridge_disabled.png"],img[src*="/luci-static/resources/icons/bridge_disabled.png"]{background-image:url(../images/bridge_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/bridge_disabled.png"],li img[src*="/luci-static/resources/icons/bridge_disabled.png"]{background-image:url(../images/bridge_disabled.png);background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px;width:0}#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/tunnel.png"],#wan6_i img[src*="/luci-static/resources/icons/tunnel.png"],img[src*="/luci-static/resources/icons/tunnel.png"]{background-image:url(../images/tunnel.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/tunnel.png"],li img[src*="/luci-static/resources/icons/tunnel.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}#wan4_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"],#wan6_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"],img[src*="/luci-static/resources/icons/tunnel_disabled.png"]{background-image:url(../images/tunnel_disabled.png);background-size:32px 32px;height:32px;width:32px;padding:0 0 0 32px;width:0}.ifacebadge img[src*="/luci-static/resources/icons/tunnel_disabled.png"],li img[src*="/luci-static/resources/icons/tunnel_disabled.png"]{background-size:16px 16px;height:16px;width:16px;padding:0 0 0 16px}#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel_disabled.png"]{background-size:32px 32px!important;height:32px!important;width:32px!important;padding:0 0 0 32px!important;width:0}img[src*="/luci-static/resources/icons/wifi_big.png"]{background-image:url(../images/wifi_big.png);background-size:64px 64px;height:64px;padding:0 0 0 64px;width:0}img[src*="/luci-static/resources/icons/wifi_big_disabled.png"]{background-image:url(../images/wifi_big_disabled.png);background-size:64px 64px;height:64px;padding:0 0 0 64px;width:0}img[src*="/luci-static/resources/icons/loading.gif"]{background-image:url(../images/loading.gif);background-size:20px 20px;height:20px;width:20px;padding:0 0 0 20px;width:0}.ifacebox-body img{background-size:20px 20px;width:20px!important;height:20px!important;padding:0 0 0 20px!important}.ifacebox-head{border-radius:4px 4px 0 0}img[src*="/luci-static/resources/cbi/add.gif"]{background-image:url(../images/add.png);background-size:20px 20px;height:20px;padding:0 0 0 20px;width:0;z-index:2}img[src*="/luci-static/resources/cbi/remove.gif"]{background-image:url(../images/remove.png);background-size:20px 20px;height:20px;padding:0 0 0 20px;width:0;z-index:2}img[src*="/luci-static/resources/cbi/reload.gif"]{background-image:url(../images/reload.png);background-size:20px 20px;height:20px;padding:0 0 0 20px;width:0;z-index:2}img[src*="/luci-static/resources/icons/signal-75-100.png"]{background-image:url(../images/signal-75-100.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-50-75.png"]{background-image:url(../images/signal-50-75.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-25-50.png"]{background-image:url(../images/signal-25-50.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-0-25.png"]{background-image:url(../images/signal-0-25.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-0.png"]{background-image:url(../images/signal-0.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}img[src*="/luci-static/resources/icons/signal-none.png"]{background-image:url(../images/signal-none.png);image-rendering:pixelated;background-size:24px 24px;height:24px;width:24px;padding:0 0 0 24px;z-index:2}.myIcon{font-family:design!important;font-style:normal!important;font-variant:normal!important;text-transform:none!important}.myIcon-logout:after{content:"\e005"}.myIcon-reboot:after{content:"\e02a"}.myIcon-wifi:after{content:"\e00c"}.main{top:50px;bottom:0;position:relative;height:100%;height:calc(100% - 4rem)}.main>.loading{position:fixed;width:100%;height:100%;z-index:1000;display:block;background-color:#f0f0f0;top:0}.main>.loading>span{display:block;text-align:center;margin-top:2rem;color:#888;font-size:1rem}.main>.loading>span>.loading-img:before{content:"\e603"}.main>.loading>span>.loading-img{animation:anim-rotate 2s infinite linear;margin-right:.2rem;display:inline-block}.node-main-login{text-align:center;background-color:var(--bgwhite)!important}.node-main-login .cbi-section-node>.cbi-value:nth-of-type(2n){background:0 0}.node-main-login h2{font-size:1.5rem}.node-main-login header{display:none}.node-main-login>.main>.main-left{display:none}.node-main-login>.main>.main-right{width:100%}.node-main-login>.main fieldset{padding:0!important;margin-bottom:1rem;display:inline;background:0 0;border:none;box-shadow:none;overflow:hidden}.node-main-login>.main fieldset .cbi-value-title{display:none!important}.node-main-login>.main .cbi-section{margin-top:10px!important}.node-main-login>.main .cbi-map{}.node-main-login>.main fieldset .cbi-value{}.node-main-login>.main fieldset .cbi-value-title{padding:10px 0 10px 5px!important}.node-main-login>.main .cbi-value{border:none}.node-main-login>.main .cbi-value-title{width:7rem}.node-main-login>.main #maincontent{display:flex;height:100%;text-align:center;align-items:center;align-content:center;justify-content:center}.node-main-login>.main form>div:nth-last-child(1){}.node-main-login>.main .cbi-value>*{display:inline-block!important}.node-main-login>.main .cbi-input-user,.node-main-login>.main .cbi-input-password{appearance:none;outline:0;padding:0 0 0 35px;background-repeat:no-repeat;background-position:10px 10px;background-size:18px 18px;min-width:15rem}.node-main-login>.main .cbi-input-user{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNjI3Mzg2IiBkPSJNMTIgNGE0IDQgMCAwIDEgNCA0IDQgNCAwIDAgMS00IDQgNCA0IDAgMCAxLTQtNCA0IDQgMCAwIDEgNC00bTAgMTBjNC40Mi4wIDggMS43OSA4IDR2Mkg0di0yYzAtMi4yMSAzLjU4LTQgOC00eiIvPjwvc3ZnPg==)}.node-main-login>.main .cbi-input-password{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNjI3Mzg2IiBkPSJNMTIgMTdhMiAyIDAgMCAwIDItMiAyIDIgMCAwIDAtMi0yIDIgMiAwIDAgMC0yIDIgMiAyIDAgMCAwIDIgMm02LTlhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlYxMGEyIDIgMCAwIDEgMi0yaDFWNmE1IDUgMCAwIDEgNS01IDUgNSAwIDAgMSA1IDV2MmgxbS02LTVhMyAzIDAgMCAwLTMgM3YyaDZWNmEzIDMgMCAwIDAtMy0zeiIvPjwvc3ZnPg==)}.node-main-login footer{bottom:0;position:absolute;width:100%}.navbar{overflow:hidden;position:fixed;bottom:0;width:100%;border-top:var(--navBorder);text-align:center;height:calc(50px + constant(safe-area-inset-bottom));height:calc(50px + env(safe-area-inset-bottom));background-color:var(--navbgColor);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.navbar a{float:left;text-align:center;padding:8px 0;width:20%;text-decoration:none;max-width:100px}.cbi-map{margin-top:10px}#cbi-shadowsocksr .cbi-map-descr{display:none}.navbar a img{width:28px}@keyframes anim-rotate{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}.main-left{float:left;width:18rem;background-color:var(--mainleftbgColor);overflow-x:auto;height:calc(100% - 3.5rem);position:fixed;padding-top:15px;box-shadow:0 0 4px transparent;transition:visibility 100ms,width 100ms}.main-right{width:85%;width:calc(100% - 18rem);float:right;height:100%;border-left:var(--sectionBorder)}.main-right>#maincontent{}.pull-right{position:absolute;top:-2px;right:30px;cursor:pointer}.pull-left{float:left}header>.container{margin:0;padding:0}header>.container>.brand{font-size:25px;font-family:genjyuugothic-medium;line-height:60px;color:var(--logo_color);cursor:default;display:block;width:18rem;height:60px;text-align:center;float:left;font-weight:900;letter-spacing:1px;padding:0 4.5rem;transition:.1s ease-in-out}header>.container>a[class=brand]:after{content:"";font-size:14px;font-family:Tahoma;position:absolute;top:-10px;font-weight:400!important}header>.container>.brand-hostname{font-size:14px;line-height:60px;color:#555;cursor:default;display:block;width:18rem;padding-right:10px;height:60px;text-align:left;float:left;margin-top:7px;font-weight:300;margin-left:-15px}.warning{background-color:#ff7d60!important;color:#fff}.errorbox,.alert-message{margin:0 0 10px;padding:20px;line-height:1.5;font-family:inherit;min-width:inherit;overflow:auto;border-radius:10px;color:var(--alertColor);background-color:var(--alertBackground)}.errorbox{color:#fff;background-color:#ff6767;border-radius:10px}.error{color:red}p#shadowsocksr_status{padding:3px}#maincontent>.container>div:nth-child(1).alert-message.warning>a{font:inherit;overflow:visible;text-transform:none;display:inline-block;margin-bottom:0;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;min-width:6rem;padding:.5rem 1rem;font-size:14px;line-height:1.42857143;color:#fff;background-color:#5bc0de;border-color:#46b8da;margin-top:2rem;text-decoration:inherit}.main>.main-left>.nav{overflow-y:visible!important;font-size:1rem;width:90%;margin:auto;margin-bottom:90px}.main>.main-left>.nav>li a{color:var(--activeColor);display:block;border-radius:6px;cursor:pointer;font-weight:700;font-size:1.1rem;transition:all .1s}.main>.main-left>.nav>li{cursor:pointer;padding-top:6px}.main>.main-left>.nav>.slide{padding:0;padding-top:8px}.main>.main-left>.nav>.slide>a:before{display:inline-block;left:-10px;top:1px;position:relative;font-family:design!important;font-weight:700!important;text-transform:none!important;speak:none;font-size:1.2rem!important;-webkit-font-smoothing:antialiased}.main>.main-left>.nav>.slide>.menu::after{right:.5rem;top:.8rem;font-family:design!important;font-style:normal!important;font-variant:normal!important;content:"\eb03";float:right;padding-right:5px;line-height:1.6;-moz-osx-font-smoothing:grayscale;transition:all .1s ease;text-rendering:auto;-webkit-font-smoothing:antialiased}.main .main-left .nav li.slide .menu.active::after{transform:rotate(90deg)}.main>.main-left>.nav>.slide>a[data-title=QuickStart]:before{content:"\e67e"}.main>.main-left>.nav>.slide>a[data-title=Status]:before{content:"\e6b8"}.main>.main-left>.nav>.slide>a[data-title=System]:before{content:"\e645"}.main>.main-left>.nav>.slide>a[data-title=Services]:before{content:"\e6cb"}.main>.main-left>.nav>.slide>a[data-title=Docker]:before{content:"\44"}.main>.main-left>.nav>.slide>a[data-title=NAS]:before{content:"\eb04"}.main>.main-left>.nav>.slide>a[data-title=VPN]:before{content:"\56"}.main>.main-left>.nav>.slide>a[data-title=Network]:before{content:"\72"}.main>.main-left>.nav>.slide>a[data-title="Bandwidth Monitor"]:before{content:"\e764"}.main .main-left .nav li.slide .menu[data-title=Statistics]:before{content:"\e604"}.main .main-left .nav li.slide .menu[data-title=Control]:before{content:"\e67a"}.main .main-left .nav li.slide .menu[data-title=Asterisk]:before{content:"\e7dd"}.main>.main-left>.nav>li>a[data-title="Inital Setup"]:before,.main>.main-left>.nav>li>a[data-title=NetworkGuide]:before,.main>.main-left>.nav>li>a[href="/cgi-bin/luci//admin/wizard"]:before{content:"\e719"}.main>.main-left>.nav>li>a[data-title=iStore]:before{content:"\e676"}.main>.main-left>.nav>li>a[data-title=Logout]{padding:.675rem 0 .675rem 2.5rem}.main>.main-left>.nav>li>a[data-title=Logout]:before{content:"\e641"}.main>.main-left>.nav>li>a[data-title=Reboot]{padding:6px 25px}.main>.main-left>.nav>li>a[data-title=Reboot]:before{content:"\e004"}.main>.main-left>.nav>.slide>ul{display:none;list-style:dotted}.main>.main-left>.nav>.slide>.menu{display:block;padding:.675rem 0 .675rem 2.5rem;text-decoration:none;cursor:pointer}.main>.main-left>.nav>.slide>.menu2{display:block;padding:.675rem 0 .675rem 2.5rem;text-decoration:none;cursor:pointer}.main>.main-left>.nav>li:hover,.main>.main-left>.nav>.slide>.menu:hover{background:var(--activeColor);color:#fff}.main>.main-left>.nav>.slide>.menu2:hover{background:var(--activeColor);color:#fff}.main>.main-left>.nav>.slide:hover{background:0 0}.slide-menu{overflow:hidden}.main>.main-left>.nav>.slide>.slide-menu>li{margin-top:8px;border-radius:6px}.main>.main-left>.nav>.slide>.slide-menu>.active{background-color:var(--activeColor)}.main>.main-left>.nav>.slide>.slide-menu>li>a{position:relative;display:block;color:var(--textColor);vertical-align:middle;background:0 0!important;border:none!important;text-transform:capitalize;font-size:1rem;margin:.1rem .5rem;padding:.675rem 0 .675rem 3.2rem}.main .main-left .nav li.slide .slide-menu .active a{color:#000}.main>.main-left>.nav>.slide>.slide-menu>li>a:hover{color:#fff}.main>.main-left>.nav>.slide>.slide-menu>.active>a{color:#fff}.main>.main-left>.nav>.slide>.slide-menu>li:hover{background:var(--activeColor);color:#fff!important;transition:all .1s}.main>.main-left>.nav>.slide>.slide-menu>.active:hover{background-color:var(--activeColor);cursor:pointer}.cbi-tab-descr{padding:10px}li{list-style-type:none}#maincontent>.container{margin:30px 30px 50px}h1{color:var(--activeColor);font-size:20px;padding-bottom:10px;border-bottom:1px solid #eee}h2{color:var(--activeColor);padding:0 12px 6px;text-transform:capitalize}h3{font-size:1.2rem;color:var(--activeColor);font-weight:700;padding:0 12px 10px}h4{}label{display:inline-block;vertical-align:middle}fieldset{padding:10px;border:1px;font-weight:400;font-style:normal;line-height:1;font-family:inherit;text-align:left;min-width:inherit;overflow-x:auto;overflow-y:hidden;background-color:var(--sectionbgColor);-webkit-overflow-scrolling:touch}fieldset>legend{display:none!important}fieldset>fieldset{padding:0}.panel-title{width:100%;display:block;padding:10px;font-weight:700;font-size:1rem}table{border-spacing:0;border-collapse:collapse;width:100%;border:0 solid #eee!important;margin:0!important}strong{font-weight:700;padding:2px}#lb_load01_cur,#lb_load01_peak,#lb_load05_cur,#lb_load15_cur{text-align:right!important}#lb_load01_peak{text-align:left!important}#lb_load01_cur{}table>tbody>tr>td,table>tbody>tr>th,table>tfoot>tr>td,table>tfoot>tr>th,table>thead>tr>td,table>thead>tr>th{padding:12px;white-space:nowrap;line-height:1.5;vertical-align:middle!important}.node-services-appfilter table>tbody>tr>th,.node-services-appfilter table>tbody>tr>td,.node-nlbw-usage table>tbody>tr>th,.node-nlbw-usage table>tbody>tr>td{text-align:center}table>tbody>tr{border-bottom:var(--cbilineColor)!important}table>tbody>tr:last-child{border-bottom:none!important}.cbi-section-table-cell{text-align:center}.cbi-section-table-row{text-align:center}.cbi-section-remove{margin-bottom:2px}.cbi-section-remove>input{background-color:#c06}fieldset>table>tbody>tr:nth-of-type(odd){background-color:var(--sectionbgColor2)}#lease6_status_table>tbody>.cbi-section-table-row.cbi-rowstyle-1 div,#lease6_status_table>tbody>.cbi-section-table-row.cbi-rowstyle-2 div{min-width:100%}.node-status-overview>.main fieldset:nth-child(6) td:nth-child(2),.node-status-overview table[id=wifi_status_table]>tbody>tr>td{white-space:normal}#swaptotal>div,#swapfree>div,#swapcache>div,#memfree>div,#membuff>div,#conns>div,#memcache>div,#memtotal>div{width:100%!important;border-color:var(--progressbarColor)!important;background-color:var(--progressbarColor)!important;border-radius:3px}#swaptotal>div>div,#swapfree>div>div,#swapcache>div>div,#memfree>div>div,#membuff>div>div,#conns>div>div,#memcache>div>div,#memtotal>div>div{background-color:var(--progressbar)!important;color:var(--progressbartxtColor)!important;border-radius:3px}#swaptotal div div,#swapfree div div,#swapcache div div,#memfree div div,#membuff div div,#conns div div,#memcache div div,#memtotal div div{align-items:center;align-content:center;justify-content:center;display:flex}#swaptotal div div small,#swapfree div div small,#swapcache div div small,#memfree div div small,#membuff div div small,#conns div div small,#memcache div div small,#memtotal div div small{font-size:.75rem!important;line-height:130%;color:var(--progressbartxtColor)!important}.cbi-value-field{width:65%}.node-system-admin .cbi-value-field li div{padding:0!important}.node-system-admin em{padding:0!important}.node-nlbw-display hr{display:none}.node-nlbw-display p{line-height:1.5;padding:0 10px 5px}#cbi-network .cbi-value-field ul,#cbi-wireless .cbi-value-field ul,#cbi-firewall .cbi-value-field ul{overflow-x:auto;white-space:nowrap}#cbi-network .cbi-value-field ul input[type=text],#cbi-wireless .cbi-value-field ul input[type=text],#cbi-firewall .cbi-value-field ul input[type=text]{max-width:10rem;width:100%!important}div [id*=cbi-network-] [id*=-__status] table,div [id*=cbi-wireless] [id*=-__status] table{width:auto}div [id*=cbi-network-] [id*=-__status] table td,div [id*=cbi-wireless] [id*=-__status] table td{width:auto;padding:0!important}div [id*=cbi-network-] [id*=-__status] table td small,div [id*=cbi-wireless] [id*=-__status] table td small{width:auto}.node-network-wifi .cbi-section-table tr .cbi-value-field,.node-network-wireless .cbi-section-table tr .cbi-value-field{width:unset!important;text-align:right}.node-network-wireless #iw-assoclist .cbi-section-table-row td[colspan="6"],.node-network-wireless .cbi-section-table .cbi-section-table-row td[colspan="6"],.node-network-wifi .cbi-section-table .cbi-section-table-row td[colspan="8"]{text-align:center!important}.node-network-wireless #iw-assoclist .cbi-section-table-row td div{max-width:unset!important}.node-network-wifi table,td,th{border-top:unset!important}.node-network-wifi .cbi-section-table td[colspan="2"]{padding-left:unset!important}.node-status-routes .cbi-section-node{max-height:500px;overflow-y:auto;overflow-x:auto}table table{border:none}.cbi-value-field table{border:none}.cbi-value-field label{padding:0}td>table>tbody>tr>td{border:none}.cbi-value-field>table>tbody>tr>td{border:none}#container\.nlbw\.traffic th,#container\.nlbw\.traffic td,#container\.nlbw\.layer7 th,#container\.nlbw\.layer7 td,#container\.nlbw\.ipv6 th,#container\.nlbw\.ipv6 td,#container\.nlbw\.export th,#container\.nlbw\.export td{padding:12px!important;border-top:none;border:unset;text-align:center}#container\.nlbw\.traffic tr td:nth-child(4),#container\.nlbw\.layer7 tr td:nth-child(3),#container\.nlbw\.ipv6 tr td:nth-child(4),#container\.nlbw\.export tr td:nth-child(4),#container\.nlbw\.traffic tr td:nth-child(6),#container\.nlbw\.layer7 tr td:nth-child(5),#container\.nlbw\.ipv6 tr td:nth-child(6),#container\.nlbw\.export tr td:nth-child(6){text-align:right!important}#container\.nlbw\.traffic tr td:nth-child(5),#container\.nlbw\.layer7 tr td:nth-child(4),#container\.nlbw\.ipv6 tr td:nth-child(5),#container\.nlbw\.export tr td:nth-child(5),#container\.nlbw\.traffic tr td:nth-child(7),#container\.nlbw\.layer7 tr td:nth-child(6),#container\.nlbw\.ipv6 tr td:nth-child(7),#container\.nlbw\.export tr td:nth-child(7){text-align:left!important}td#__status-ifc-signal{width:60px!important}.cbi-button{-webkit-appearance:none;text-transform:uppercase;color:#fff;background-color:#337ab7;transition:all .1s ease-in-out;display:inline-block;border:none;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation;background-image:none;text-align:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto!important;min-width:80px;padding:0 8px;border-radius:var(--commonRadius0);height:35px;line-height:35px}.cbi-button:hover,.cbi-button:focus,.cbi-button:active{color:#fff;outline:0;text-decoration:none;background-color:#6a65d6}.cbi-button:hover,.cbi-button:focus{box-shadow:0 1px 1px rgba(0,0,0,.05)}.cbi-button:active{box-shadow:0 1px 1px rgba(0,0,0,.05)}.cbi-button:disabled{cursor:not-allowed;pointer-events:none;opacity:.6;box-shadow:none}form.inline+form.inline,.cbi-button+.cbi-button{}.cbi-button-reset,.cbi-input-remove{color:#fff!important;background-color:#617486!important}.cbi-button-reset:hover,.cbi-input-remove:hover,.cbi-button-remove:hover{color:#fff!important;background-color:#536473!important}.cbi-button-link,.cbi-input-find,.cbi-input-save,.cbi-button-add,.cbi-button-save,.cbi-button-find,.cbi-input-reload,.cbi-button-reload{color:var(--bttextColor);background-color:#337ab7!important;border-color:#337ab7!important}.cbi-button-link:hover,.cbi-input-find:hover,.cbi-input-save:hover,.cbi-button-add:hover,.cbi-button-save:hover,.cbi-button-find:hover,.cbi-input-reload:hover,.cbi-button-reload:hover{color:#fff!important;background-color:#6a82ae!important;border-color:#6a82ae!important}.cbi-input-apply,.cbi-button-apply,.cbi-button-edit{color:#fff!important;background-color:var(--activeColor)}.cbi-input-reset,.cbi-button-remove{color:#fff!important;background:#617486}.a-to-btn{text-decoration:none}.tabs{margin:15px 0;overflow-x:auto}.cbi-tabmenu>li,.tabs>li{display:table-cell}.cbi-tabmenu>li{border-radius:var(--tabmenuRadius)}.tabs>li>a{text-decoration:none;padding:0 6px;float:left;display:block;white-space:nowrap;height:2.5rem;line-height:2.5rem;font-size:.92rem}.cbi-tabmenu>li>a{text-decoration:none;float:left;display:block;white-space:nowrap;height:2.5rem;line-height:2.5rem;font-size:.92rem;margin:0 10px}.tabs>li[class~=active],.tabs>li:hover{cursor:pointer}.tabs>li[class~=active]>a{color:var(--activeColor)!important;padding-bottom:8px;border-bottom:var(--activeColor) 2px solid}.tabs>li:hover{}.cbi-tabmenu{border-top:var(--sectiontabBorder);border-left:var(--tabmenuBorderLR);border-right:var(--tabmenuBorderLR);border-bottom:var(--tabmenuBottom);background-color:var(--tabmenubgColor);width:100%;overflow-x:auto;margin-top:5px;margin-bottom:10px}.cbi-tabmenu>li:hover{background-color:none}.cbi-tabmenu>li[class~=cbi-tab]{background-color:none}.cbi-tabmenu>li[class~=cbi-tab] a{color:var(--activeColor)!important;border-bottom:2px solid var(--activeColor)!important}.cbi-section-node-tabbed{margin-top:0;border-bottom:var(--sectiontabBorder);border-left:var(--sectiontabBorder);border-right:var(--sectiontabBorder);border-radius:0 0}.cbi-tabcontainer{clear:both}.cbi-tabcontainer>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor2)}.cbi-section-node>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor2)}div>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor2)}.cbi-value-field,.cbi-value-description{display:table-cell}.cbi-value-field{}.cbi-value-helpicon>img{display:none}.cbi-value-helpicon:before{content:"\f059"}.cbi-value-description{opacity:.6;padding-left:4px}.cbi-value-title{word-wrap:break-word;display:table-cell;width:35%;float:left;padding:13px 10px 5px 3px}.cbi-value{display:flex;width:100%;align-items:center;align-content:center;justify-content:flex-start;min-height:40px;padding:8px 10px;flex-flow:row wrap;border-bottom:var(--cbilineColor)}.cbi-value:last-child{border-bottom:none}.cbi-value strong{font-weight:400}.cbi-section-table-descr>.cbi-section-table-cell,.cbi-section-table-titles>.cbi-section-table-cell{border:none}.cbi-rowstyle-2{background-color:var(--sectionbgColor2)}.cbi-rowstyle-2 .cbi-button-up,.cbi-rowstyle-2 .cbi-button-down{}.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell{width:auto!important}.cbi-section-table tr .cbi-value-field{text-align:center;width:20%!important;padding:10px!important}.cbi-section-table tr .cbi-value-field input{width:auto}.cbi-section-table tr .cbi-value-field .ifacebox{margin:auto;width:fit-content;min-width:60px}.cbi-section-descr{padding:3px 10px}.cbi-map-descr{padding:5px 5px 5px 12px}.cbi-map-descr h3{font-size:.92rem;font-weight:400;color:#666}#cbi-vsftpd .cbi-map-descr{color:var(--activeColor);padding:0 12px 0;font-size:1.2rem;font-weight:700}.hidden{display:none}.left{text-align:left!important}.right{text-align:right!important}.right .cbi-button{height:20px;line-height:20px;min-width:60px;margin:0}.inline{display:inline}.cbi-page-actions{text-align:center}.cbi-value input[type=password],.cbi-value input[type=text]{}.ifacebadge{display:inline-flex;padding:5px;background-color:var(--badgebgColor);align-content:center;align-items:center;border-radius:var(--commonRadius1);border:var(--badgeBorder);color:#666}#content_syslog{padding:5px;margin-top:10px;border-radius:10px;background-color:var(--sectionbgColor);box-shadow:3px 3px 3px transparent}.ifacebadge>img{float:right;margin-left:.3rem}img.cbi-image-button{vertical-align:middle}fieldset.cbi-section{border:var(--sectionBorder);margin-bottom:20px;border-radius:10px;margin-top:5px}.cbi-input-textarea,textarea{color:var(--inputtextColor);padding:10px;line-height:normal;border:var(--sectionBorder);background-color:var(--inputbgColor);transition:color 150ms ease,border-color 150ms ease,opacity 150ms ease;-webkit-transition:color 150ms ease,border-color 150ms ease,opacity 150ms ease;outline-style:none;vertical-align:baseline;border-radius:10px;font-family:Menlo,Mono;font-size:.9rem;white-space:pre;margin-bottom:5px}#syslog{width:100%;min-height:15rem;padding:10px;margin-bottom:20px;border-radius:0;background-color:var(--sectionbgColor);border:none}#wan4_i,#wan6_i{width:50px!important}.uci-change-list{font-family:monospace}.uci-change-list *:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.uci-change-list *:nth-last-child(2){border-bottom-left-radius:5px;border-bottom-right-radius:5px}.uci-change-list ins,.uci-change-legend-label ins{text-decoration:none;border:1px solid #0f0;background-color:#cfc;display:block;padding:2px;color:#000;overflow-x:auto}.uci-change-legend .uci-change-legend-label ins{overflow-x:unset;border-radius:var(--commonRadius1)}.uci-change-list del,.uci-change-legend-label del{text-decoration:none;border:1px solid red;background-color:#fcc;display:block;font-style:normal;padding:2px;color:#000;overflow-x:auto}.uci-change-legend .uci-change-legend-label del{overflow-x:unset;border-radius:var(--commonRadius1)}.uci-change-list var,.uci-change-legend-label var{text-decoration:none;border:1px solid #ccc;background-color:#eee;display:block;font-style:normal;padding:2px;color:#000;overflow-x:auto}.uci-change-legend .uci-change-legend-label var{overflow-x:unset;border-radius:var(--commonRadius1)}.uci-change-list var ins,.uci-change-list var del{border:none;white-space:pre;font-style:normal;padding:0;color:#000;overflow-x:auto}.uci-change-legend{padding:5px}.uci-change-legend-label{width:150px;float:left;display:flex;align-items:center}.uci-change-legend-label>ins,.uci-change-legend-label>del,.uci-change-legend-label>var{float:left;margin-right:4px;width:10px;height:10px;display:block}.uci-change-legend-label var ins,.uci-change-legend-label var del{border:none;height:10px;width:10px}.uci-change-list var,.uci-change-list del,.uci-change-list ins{padding:.5rem}#iwsvg,#iwsvg2,#bwsvg{border:var(--sectionBorder)!important;font-family:-apple-system;background:0 0!important}.ifacebox{border:var(--ifaceboxBorderColor) 1px solid;border-radius:var(--commonRadius1);font-size:.92rem;font-weight:400}.ifacebox-head{color:#fff}.ifacebox-body small{font-size:.8rem!important;padding:5px}.ifacebox-body strong{color:#f7f7f7;font-size:0!important}.cbi-image-button{}.zonebadge>.ifacebadge{padding:3px 5px;margin:5px}.zonebadge>input[type=text]{padding:.16rem 1rem;min-width:10rem;margin-top:.3rem}.cbi-value-field .cbi-input-checkbox,.cbi-value-field .cbi-input-radio{vertical-align:middle}.cbi-section-table-row>.cbi-value-field .cbi-input-select{min-width:7rem}.cbi-section-create{padding:0 10px}.cbi-section-create>.cbi-button-add{margin:10px 0}div.cbi-value var,td.cbi-value-field var{font-style:italic;color:#0069d6}small{font-size:small;font-weight:400!important;white-space:normal}.cbi-button-up,.cbi-button-down{display:inline-block;min-width:0;font-size:.9rem}.cbi-optionals{padding:1rem 1rem 0;border-top:1px solid #ccc}#diag-rc-output>pre{display:block;padding:10px;line-height:1.5rem;-moz-border-radius:3px;white-space:pre-wrap;word-wrap:break-word;color:#76838f}input[name=ping],input[name=traceroute],input[name=nslookup]{width:80%}table.cbi-section-table select{width:auto!important}header>.container>.pull-right>*{}#xhr_poll_status>.label.success{padding:.7rem 0;border-radius:20px}#xhr_poll_status_off{padding:.7rem 0;border-radius:20px}.label{padding:0 3px;white-space:nowrap;border-radius:3px;position:absolute;right:5px;top:15px;line-height:150%}.notice{color:var(--activeColor);font-size:.8rem;padding-right:.5rem;border-radius:10px;z-index:10;font-size:1.8rem;font-family:design}#refresh_on,#refresh_off{font-size:1.5rem;font-family:design}#refresh_on{color:var(--activeColor)}#refresh_off{color:var(--progressbarColor)}.darkMask{width:100%;height:100%;position:fixed;background-color:rgba(0,0,0,.56);content:"";z-index:99;display:none}.node-services-shadowsocksr .cbi-input-textarea,.node-nlbw-config .cbi-input-textarea{}.node-services-shadowsocksr #cbi-logview .cbi-section{padding:0}.node-network-diagnostics .cbi-section{border-radius:10px}.node-status-processes>.main table tr td:nth-child(3){white-space:normal}.cbi-map fieldset h3{}.cbi-map fieldset ul li{margin-right:0!important}.node-system-reboot>.main>.main-right p,.node-system-reboot>.main>.main-right h3{margin-left:12px}.node-system-reboot #maincontent{}.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-title{margin-bottom:1rem}.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-field{display:list-item}.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-description{padding-top:1rem;line-height:150%}.node-system-packages>.main table tr td:nth-child(1){width:auto!important}.node-system-packages .cbi-section-node .cbi-value-last{}.node-system-packages .cbi-section-node .cbi-value-last>div{border:none!important;border-radius:3px}.node-system-packages .cbi-section-node .cbi-value-last>div>div{border:none!important;border-radius:3px}.node-system-packages .cbi-section-node .cbi-value-last:nth-last-child(1){padding:auto}.node-system-packages>.main table tr td:nth-last-child(1){white-space:normal;font-size:small;color:#76838f}.node-system-packages>.main .cbi-value>pre{padding:10px;overflow:auto;border-radius:10px}.node-system-packages #cbi-distfeedconf .cbi-section,.node-system-packages #cbi-customfeedconf .cbi-section{border-radius:10px}.node-system-packages .cbi-value-field{width:58%}#container\.nlbw\.traffic,#container\.nlbw\.layer7,#container\.nlbw\.ipv6,#container\.nlbw\.export{margin-top:0;margin-top:0;padding:10px;text-align:center;border-bottom:var(--sectionBorder);border-left:var(--sectionBorder);border-right:var(--sectionBorder);border-radius:10px}#container\.nlbw\.export ul li{padding:5px;width:150px;margin:10px;border-radius:var(--commonRadius1);border:#ccc 1px solid}.cbi-tabmenu+.cbi-section ul{text-align:left}.node-network-firewall>.main .cbi-section-table-row>.cbi-value-field .cbi-input-select{min-width:4rem}.node-status-iptables>.main div>.cbi-map>form{position:static!important;margin:10px 0 20px;padding:12px;border:0;font-weight:400;font-style:normal;line-height:1;font-family:inherit;min-width:inherit;overflow-x:auto;overflow-y:hidden;box-shadow:3px 3px 3px transparent;border-radius:10px;background-color:var(--bgwhite);-webkit-overflow-scrolling:touch}.node-system-flashops fieldset fieldset{border:none}.node-system-flashops br{display:none}.node-system-flashops .cbi-section{}.node-system-flashops .cbi-section-descr{padding:12px;line-height:1.5;border-radius:6px}.node-status-iptables .cbi-tabmenu,.node-system-packages .cbi-tabmenu,.node-system-flashops .cbi-tabmenu{}#cbi-firewall-redirect .cbi-section-table-titles .cbi-section-table-cell{text-align:left}#cbi-firewall-redirect table *,#cbi-network-switch_vlan table *,#cbi-firewall-zone table *{font-size:small}#cbi-firewall-redirect table input[type=text],#cbi-network-switch_vlan table input[type=text],#cbi-firewall-zone table input[type=text]{width:5rem}#cbi-firewall-redirect table select,#cbi-network-switch_vlan table select,#cbi-firewall-zone table select{min-width:3.5rem}.node-status-realtime table>tbody>tr>td{text-align:left!important;padding:10px 3px}.node-status-realtime table[id=connections]>tbody>tr>td{padding:10px 3px;text-align:center!important}.node-status-realtime table{table-layout:auto!important}.node-status-realtime fieldset[id=cbi-table-table]{background-color:unset!important}.node-status-realtime fieldset[id=cbi-table-table]>table>tbody>tr:nth-of-type(odd),.node-status-realtime fieldset[id=cbi-table-table] table[id=connections] tr.cbi-section-table-row.cbi-rowstyle-2{background-color:unset}.node-services-appfilter .cbi-section.cbi-tblsection,.node-nas-fileassistant #list-content,.node-status-realtime fieldset[id=cbi-table-table] .cbi-section-node{overflow:auto}select#cbi\.combobox\.cbid\.shadowsocksr\.cfg013fd6\.tunnel_forward{overflow:hidden}body.lang_pl.node-main-login .cbi-value-title{width:12rem}#detail-bubble{width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:19rem!important;width:calc(100vw - 21.25rem)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}@media screen and (max-width:1280px){header{}header>.container{}.main{height:calc(100% - 3.5rem)}.main-left{width:calc(0% + 18rem);top:50px}.main-right{width:calc(100% - 18rem)}table{font-size:.9rem!important;width:100%!important}.main>.main-left>.nav>li,.main>.main-left>.nav>li a,.main>.main-left>.nav>.slide>.menu{font-size:1.1rem}.main>.main-left>.nav>.slide>.slide-menu>li>a{font-size:1rem;text-transform:capitalize}img[src*="/luci-static/resources/cbi/add.gif"]{right:55px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/remove.gif"]{right:55px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/reload.gif"]{right:55px;display:block;position:absolute;margin-top:-34px}#detail-bubble{width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:19rem!important;width:calc(100vw - 21.25rem)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}.node-nlbw-usage table{display:block;overflow:auto}#container\.nlbw\.traffic table,#container\.nlbw\.layer7 table,#container\.nlbw\.ipv6 table,#container\.nlbw\.export table{display:block;overflow:auto}}@media screen and (max-width:992px){.main-left{width:0;position:fixed;z-index:100}.main-right{width:100%}.showSide{margin:0;padding:0;display:inline-block;position:absolute;width:300px;height:50px;padding:1.15rem 2rem}.showSide:before{content:"\e20e";font-size:1.7rem}#maincontent>.container{margin:20px}.node-main-login .showSide{display:none!important}.cbi-value-title{width:35%}.node-network-diagnostics>.main .cbi-map fieldset>div *{width:100%!important}.node-network-diagnostics>.main .cbi-map fieldset>div input[type=text]{}.node-network-diagnostics>.main .cbi-map fieldset>div:nth-child(4) input[type=text]{margin:0!important}.node-network-diagnostics>.main .cbi-map fieldset>div select,.node-network-diagnostics>.main .cbi-map fieldset>div input[type=button]{margin:1rem 0 0}.node-network-diagnostics>.main .cbi-map fieldset>div{width:100%!important}.node-main-login>.main .cbi-value-title{text-align:left}img[src*="/luci-static/resources/cbi/add.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/remove.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/reload.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}header{box-shadow:0 2px 4px rgba(0,0,0,.08)}}@media screen and (max-width:700px){#cbi-vssr-servers .cbi-button-add{position:static!important;width:auto!important;height:2rem!important;line-height:2rem!important;color:#fff;display:block;padding:0!important;font-size:.92rem;border-radius:10px!important;box-shadow:none;background-image:none}#cbi-vssr-servers .cbi-section-table-row{margin:10px 0!important}#cbi-vssr-servers .p-in5{padding-bottom:10px!important;margin:0!important}#cbi-vssr-servers .cbi-page-actions{padding-bottom:10px!important}#maincontent>.container{margin:20px}#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:inline-table;overflow:auto}}@media screen and (max-width:470px){#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:block;overflow:auto}.main-right>#maincontent{overflow:auto}div [id*=cbi-network-] [id*=-__status] table td,div [id*=cbi-wireless] [id*=-__status] table td{white-space:normal}.node-system-leds .cbi-section em,.node-network-network #cbi-network .cbi-map .cbi-section-table cbi-section-table-row,.node-network-network #cbi-network .cbi-map .cbi-section-table td{display:block}.node-network-network #cbi-network .cbi-map .cbi-section-table td{width:100%!important;text-align:center!important;white-space:normal}.node-network-network #cbi-network .cbi-map .cbi-button{min-width:60px!important}.node-network-network .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell{flex:1!important}.node-network-network .cbi-section-table .cbi-section-table-titles th:nth-child(2){text-align:center!important}.node-network-network .cbi-section-table .cbi-section-table-titles{display:flex}.node-network-wireless fieldset:nth-child(1) table>tbody>tr>td,.node-network-wireless fieldset:nth-child(2) table>tbody>tr>td{white-space:normal}}@media screen and (max-width:370px){fieldset{}select{width:100%}header{height:55px}h3{padding:0 10px 10px}.showSide{height:45px}#maincontent>.container{margin:20px}.main{top:45px}.main-left{top:45px}.main>.main-left>.nav>.slide>.menu{}.main>.main-left>.nav>.slide>.slide-menu>li>a{}.cbi-value{margin-bottom:20px;display:table;padding:0;border-bottom:none}.cbi-value-title{width:100%;font-weight:700;float:left;padding:0;margin:0;margin-bottom:.25rem}.cbi-section-node{padding:10px!important}.cbi-value-description{width:100%;display:block}.cbi-value>.cbi-value-field{display:block;float:left;width:100%}img[src*="/luci-static/resources/cbi/add.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/remove.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}img[src*="/luci-static/resources/cbi/reload.gif"]{right:45px;display:block;position:absolute;margin-top:-34px}.cbi-section-node>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor)}.cbi-tabcontainer>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor)}div>.cbi-value:nth-of-type(2n){background-color:var(--sectionbgColor)}.node-main-login>.main .cbi-value{padding:0}.node-main-login>.main form>div:nth-last-child(1){margin-top:2rem}.node-main-login>.main fieldset{margin:0;padding:.5rem}#container\.network\.lan\.physical .cbi-value-title,#cbi-network-1-_ifname .cbi-value-title{width:35%}#cbi-network-1-_ifname .cbi-value-field{width:65%}h2{font-size:1.2rem;text-transform:capitalize}select,input{}input[type=checkbox]{height:1.2rem!important;width:1.2rem!important}#swaptotal div div small,#swapfree div div small,#swapcache div div small,#memfree div div small,#membuff div div small,#conns div div small,#memcache div div small,#memtotal div div small{}#swaptotal div div,#swapfree div div,#swapcache div div,#memfree div div,#membuff div div,#conns div div,#memcache div div,#memtotal div div{}.node-status-iptables>.main div>.cbi-map>form input[type=submit]{margin:0}#cbi-samba-cfg010f89-_tmpl .cbi-value-title{width:15%}#cbi-samba-cfg010f89-_tmpl .cbi-value-field{width:95%}#detail-bubble{left:unset!important;width:unset!important}#detail-bubble.in{color:#000;padding-bottom:calc(60px + env(safe-area-inset-bottom));left:unset!important;width:calc(100vw)!important}#detail-bubble .head{display:block;overflow:auto}#detail-bubble #bubble-table{display:block;overflow:auto}}@media screen and (max-width:315px){.label{position:absolute;right:5px;top:-70px}}#intervalSelect{height:40px!important}.commandbox div{position:unset!important}#cbi-netspeedtest-homebox-{display:unset!important}.node-status-realtime .container{overflow:auto}.node-network-network div[onclick*="document.getElementById('cbid.network."],#cbi-network div[onclick*="document.getElementById('cbid.network."]{background-color:unset!important}form[action="/cgi-bin/luci/admin/network/wireless"] input[class="cbi-button cbi-button-reset"],form[action="/cgi-bin/luci/admin/network/wireless_join"] input[class="cbi-button cbi-input-find"]{height:25px;min-width:80px}.node-services-aliyundrive-webdav #mask-box{background:transparent}.node-services-ddns #cbi-ddns-service input{width:unset}.node-services-ddns .cbi-value input[type=password],.node-services-ddns .cbi-value input[type=text]{width:100%!important}.fb-container .cbi-button{border-radius:var(--commonRadius0);margin:3px 3px 3px 0;height:unset!important}.node-system-commands h3{text-transform:unset}.node-system-commands .commandbox{width:auto;display:inline-block;float:none}.node-system-commands .commandbox p{word-break:keep-all;white-space:nowrap}.node-system-commands div.cbi-map fieldset.cbi-section{align-items:center;text-align:center}.node-system-commands #cbi-luci.cbi-map fieldset.cbi-section{align-items:unset;text-align:unset}.node-network-network .ifacebox strong{color:var(--ifaceboxFontColor);padding:5px}.node-network-firewall .zonebadge strong,.node-network-firewall label strong{color:var(--ifaceboxFontColor)}.node-services-openclash ul li.selected{background-color:var(--liSelectedColor)!important}.node-services-openclash .cbi-button-reset,.node-services-openclash .cbi-input-remove{max-width:unset!important}.node-services-openclash #tab-header ul li.selected,.node-services-openclash #tab-header ul li{color:#000!important;background-color:unset!important}.node-nas-qbittorrent p#qBittorrent_status input{line-height:unset}.node-system-diskman.dialog-format-active #dialog_format .dialog_box{background:var(--alertBackground);border-radius:var(--commonRadius1)}.node-services-watchcat-plus select[id*="cbi.opt.watchcat"]{width:auto}.node-nas-fileassistant .fb-container .cbi-value-owner,.node-nas-fileassistant .fb-container .cbi-value-perm{display:table-cell}.node-services-adguardhome input[onclick*="window.open('http://'+window.location.hostname+':"]{line-height:0} diff --git a/luci-theme-design/htdocs/luci-static/design/js/script.js b/luci-theme-design/htdocs/luci-static/design/js/script.js index 6ab22f852..9802ddbc1 100644 --- a/luci-theme-design/htdocs/luci-static/design/js/script.js +++ b/luci-theme-design/htdocs/luci-static/design/js/script.js @@ -16,4 +16,4 @@ showSide=false;}});$(window).resize(function(){if($(window).width()>992){showSid $("header>.container>.brand").css("padding",'0rem')}else{$("header").css("box-shadow","0 2px 4px rgb(0 0 0 / 8%)") $("header>.container>.brand").css("padding","0 4.5rem")} if(showSide){$("header").css("box-shadow","18rem 2px 4px rgb(0 0 0 / 8%)") -$("header>.container>.brand").css("padding",'0rem')}});$("legend").each(function(){var that=$(this);that.after(""+that.text()+"");});$(".main-right").focus();$(".main-right").blur();$("input").attr("size","0");if(mainNodeName!=undefined){switch(mainNodeName){case "node-status-system_log":case "node-status-kernel_log":$("#syslog").focus(function(){$("#syslog").blur();$(".main-right").focus();$(".main-right").blur();});break;case "node-status-firewall":var button=$(".node-status-firewall > .main fieldset li > a");button.addClass("cbi-button cbi-button-reset a-to-btn");break;case "node-system-reboot":var button=$(".node-system-reboot > .main > .main-right p > a");button.addClass("cbi-button cbi-input-reset a-to-btn");break;}}})(jQuery); +$("header>.container>.brand").css("padding",'0rem')}});$(".main-right").focus();$(".main-right").blur();$("input").attr("size","0");if(mainNodeName!=undefined){switch(mainNodeName){case "node-status-system_log":case "node-status-kernel_log":$("#syslog").focus(function(){$("#syslog").blur();$(".main-right").focus();$(".main-right").blur();});break;case "node-status-firewall":var button=$(".node-status-firewall > .main fieldset li > a");button.addClass("cbi-button cbi-button-reset a-to-btn");break;case "node-system-reboot":var button=$(".node-system-reboot > .main > .main-right p > a");button.addClass("cbi-button cbi-input-reset a-to-btn");break;}}})(jQuery); diff --git a/luci-theme-design/luasrc/view/themes/design/footer.htm b/luci-theme-design/luasrc/view/themes/design/footer.htm index 6262ad8ab..099bc7dcf 100644 --- a/luci-theme-design/luasrc/view/themes/design/footer.htm +++ b/luci-theme-design/luasrc/view/themes/design/footer.htm @@ -50,8 +50,11 @@ - diff --git a/luci-theme-design/luasrc/view/themes/design/header.htm b/luci-theme-design/luasrc/view/themes/design/header.htm index ba3a8aa36..2efc115ce 100644 --- a/luci-theme-design/luasrc/view/themes/design/header.htm +++ b/luci-theme-design/luasrc/view/themes/design/header.htm @@ -314,4 +314,10 @@ "><%:Go to password configuration...%> <%- end -%> - <% if category then subtree("/" .. category .. "/", cattree) end %> \ No newline at end of file + <% if category then subtree("/" .. category .. "/", cattree) end %> + + + \ No newline at end of file diff --git a/unishare/Makefile b/unishare/Makefile index e3b83f44e..8be0255a0 100644 --- a/unishare/Makefile +++ b/unishare/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=unishare PKG_VERSION:=1.0.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=jjm2473 include $(INCLUDE_DIR)/package.mk diff --git a/unishare/files/unishare.config b/unishare/files/unishare.config index c8923e1c7..faa24a62f 100644 --- a/unishare/files/unishare.config +++ b/unishare/files/unishare.config @@ -2,40 +2,3 @@ config global option enabled '0' option anonymous '1' option webdav_port '8888' - -config user - option username 'admin' - option password 'password' - -config user - option username 'jim' - option password 'abcdef' - -config share - option path '/mnt' - option name 'mnt' - list rw 'admin' - list proto 'samba' - -config share - option path '/root/share' - option name 'public' - list rw 'admin' - list ro 'everyone' - list proto 'samba' - list proto 'webdav' - -config share - option path '/root/work' - list rw 'admin' - list rw 'tim' - list ro 'users' - list proto 'samba' - -config share - option path '/root/share' - option name 'www' - list ro 'everyone' - list proto 'samba' - list proto 'webdav' -