small-package/luci-app-quickstart/root/www/luci-static/quickstart/index.js

2 lines
104 KiB
JavaScript

var Ot=Object.defineProperty,qt=Object.defineProperties;var Gt=Object.getOwnPropertyDescriptors;var Pt=Object.getOwnPropertySymbols;var Ut=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable;var kt=(e,s,u)=>s in e?Ot(e,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[s]=u,j=(e,s)=>{for(var u in s||(s={}))Ut.call(s,u)&&kt(e,u,s[u]);if(Pt)for(var u of Pt(s))Wt.call(s,u)&&kt(e,u,s[u]);return e},Y=(e,s)=>qt(e,Gt(s));var _t=(e,s,u)=>(kt(e,typeof s!="symbol"?s+"":s,u),u);var x=(e,s,u)=>new Promise((a,n)=>{var o=r=>{try{_(u.next(r))}catch(i){n(i)}},p=r=>{try{_(u.throw(r))}catch(i){n(i)}},_=r=>r.done?a(r.value):Promise.resolve(r.value).then(o,p);_((u=u.apply(e,s)).next())});import{d as M,r as Z,o as l,c,a as B,b as t,e as V,t as f,n as it,f as Mt,u as k,g as vt,h as G,w as I,i as Ht,j as F,k as wt,l as It,m as w,p as jt,q as Rt,s as Jt,v as Zt,x as Kt,y as Xt,z as Qt,A as pt,F as U,B as ut,C as N,D as L,T as K,E as tt,G as X,H as z,I as lt,J as W,K as Yt,L as q,M as te,N as ee,O as se}from"./vendor.js";const ue=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const o of n)if(o.type==="childList")for(const p of o.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&a(p)}).observe(document,{childList:!0,subtree:!0});function u(n){const o={};return n.integrity&&(o.integrity=n.integrity),n.referrerpolicy&&(o.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?o.credentials="include":n.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function a(n){if(n.ep)return;n.ep=!0;const o=u(n);fetch(n.href,o)}};ue();var D=(e,s)=>{const u=e.__vccOpts||e;for(const[a,n]of s)u[a]=n;return u};const ae={id:"main"},ne=M({setup(e){return(s,u)=>{const a=Z("router-view");return l(),c("div",ae,[B(a)])}}});var oe=D(ne,[["__scopeId","data-v-807554b0"]]);const ie={},le={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"},ce=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),de=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),re=[ce,de];function _e(e,s){return l(),c("svg",le,re)}var ve=D(ie,[["render",_e]]);const pe={},he={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"},me=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),be=[me];function fe(e,s){return l(),c("svg",he,be)}var $e=D(pe,[["render",fe]]);const ye={},Fe={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"},ge=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),De=[ge];function Ee(e,s){return l(),c("svg",Fe,De)}var ke=D(ye,[["render",Ee]]);const we={},Ce={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"},Se=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),Ae=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),xe=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),Be=[Se,Ae,xe];function Pe(e,s){return l(),c("svg",Ce,Be)}var Me=D(we,[["render",Pe]]);const Ie={},Te={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"},ze=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),Ne=[ze];function Le(e,s){return l(),c("svg",Te,Ne)}var Ve=D(Ie,[["render",Le]]);const Oe={},qe={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"},Ge=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),Ue=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),We=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),He=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),je=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Re=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),Je=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),Ze=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),Ke=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),Xe=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),Qe=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),Ye=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),t1=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),e1=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),s1=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),u1=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),a1=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),n1=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),o1=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),i1=[Ge,Ue,We,He,je,Re,Je,Ze,Ke,Xe,Qe,Ye,t1,e1,s1,u1,a1,n1,o1];function l1(e,s){return l(),c("svg",qe,i1)}var c1=D(Oe,[["render",l1]]);const d1={},r1={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"},_1=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),v1=[_1];function p1(e,s){return l(),c("svg",r1,v1)}var h1=D(d1,[["render",p1]]);const m1={class:"progress"},b1=M({props:{value:{type:Number,required:!0},text:{type:String}},setup(e){const s=e,u=V(()=>s.value>=80?"#e45e5e":s.value>=60?"rgb(41 127 243)":s.value>0?"#53c31b":"");return(a,n)=>(l(),c("div",m1,[t("div",{class:it(["progress-value",`${e.value>50}`]),style:Mt({width:`${e.value}%`,backgroundColor:k(u)})},[t("span",null,f(e.text),1)],6),vt(a.$slots,"default",{},void 0,!0)]))}});var f1=D(b1,[["__scopeId","data-v-0f279dd8"]]);const $1={},y1={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"},F1=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),g1=[F1];function D1(e,s){return l(),c("svg",y1,g1)}var E1=D($1,[["render",D1]]);const k1={},w1={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"},C1=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),S1=[C1];function A1(e,s){return l(),c("svg",w1,S1)}var x1=D(k1,[["render",A1]]);const B1={};function P1(e,s){return l(),c("article",null,[vt(e.$slots,"default",{},void 0,!0)])}var M1=D(B1,[["render",P1],["__scopeId","data-v-995510fc"]]);const I1={class:"cover"},T1={class:"thumbnail"},z1=M({emits:["click"],setup(e,{emit:s}){const u=()=>{s("click")};return(a,n)=>(l(),G(M1,null,{default:I(()=>[t("a",{onClick:u},[t("div",I1,[t("div",T1,[vt(a.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var N1=D(z1,[["__scopeId","data-v-782f97c0"]]);const L1=(e,s)=>x(void 0,null,function*(){return new Promise((u,a)=>x(void 0,null,function*(){try{const n=yield fetch(e,s),o=j({},n);o.data=yield n.json(),u(o)}catch(n){a(n)}}))});class Ct{constructor(s){_t(this,"config",{baseURL:"",headers:{}});_t(this,"useRequest",s=>s);_t(this,"useResponse",s=>s);_t(this,"useError",s=>s);s.baseURL&&(this.config.baseURL=s.baseURL),s.headers&&(this.config.headers=s.headers)}static create(s){return new Ct(s)}Do(s,u){return x(this,null,function*(){return new Promise((a,n)=>x(this,null,function*(){try{const o=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});s=`${o.baseURL||""}${s}`,u.headers==null&&(u.headers={}),o.headers&&(u.headers=j({},o.headers));const _=yield fetch(s,u),r=j({},_);r.data=yield _.json(),a(this.useResponse(r))}catch(o){this.useError(o),n(o)}}))})}TEXT(s,u){return x(this,null,function*(){return new Promise((a,n)=>x(this,null,function*(){try{const o=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});s=`${o.baseURL||""}${s}`,u.headers==null&&(u.headers={}),o.headers&&(u.headers=j({},o.headers));const _=yield fetch(s,u),r=j({},_);r.data=yield _.text(),a(r)}catch(o){this.useError(o),n(o)}}))})}interceptors(){const s=this;return{requset:{use(u){s.useRequest=u}},response:{use(u,a){s.useResponse=u,a&&(s.useError=a)}}}}}const Tt=Ct.create({});Tt.interceptors().requset.use(e=>e);Tt.interceptors().response.use(e=>(e.data&&e.data.success==null&&e.data.success==0,e));const V1="/cgi-bin/luci/istore",T=(e,s)=>(e=`${V1}${e}`,L1(e,s)),O1={Statistics:{GET(){return T("/network/statistics/",{method:"GET"})}},Status:{GET(){return T("/network/status/",{method:"GET"})}},Device:{List:{GET(){return T("/network/device/list/",{method:"GET"})}}}},q1={Version:{GET(){return T("/system/version/",{method:"GET"})}},Time:{GET(){return T("/system/time/",{method:"GET"})}},CPU:{Status:{GET(){return T("/system/cpu/status/",{method:"GET"})}},Temperature:{GET(){return T("/system/cpu/temperature/",{method:"GET"})}}},Memery:{Status:{GET(){return T("/system/memery/status/",{method:"GET"})}}},CheckUpdate:{GET(){return T("/system/check-update/",{method:"GET"})}}},G1={Disk:{Status:{GET(){return T("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return T("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>T("/nas/disk/init",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>T("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Service:{Status:{GET(){return T("/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(e){return T("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Webdav:{Create:{POST(e){return T("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return T("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return T("/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}}},U1={Check:{POST(e){return T("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return T("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},W1={Pppoe:{GET(){return T("/guide/pppoe/",{method:"GET"})},POST(e){return T("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return T("/guide/dns-config/",{method:"GET"})},POST(e){return T("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DhcpClient:{POST(e){return T("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return T("/guide/client-mode/",{method:"GET"})},POST(e){return T("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return T("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}};var H1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Network:O1,System:q1,Nas:G1,App:U1,Guide:W1}),P=j({},H1);const j1=e=>{},R1=()=>new Date().getTime(),J1=e=>{const s=1e3;if(e<s)return`${e}/B`;let u=s,a=0;for(let p=e/s;p>=s;p/=s)u*=s,a++;let n=["/KB","/MB","/GB","/TB","/PB","/EB"];return(e/100/(u/100)).toFixed(1)+n[a]},Z1=e=>{const s=1024;if(e<s)return""+e+"KB";let u=s,a=0;for(let o=e/s;o>=s;o/=s)u*=s,a++;let n=["M","G","T","P","E"];return(e/100/(u/100)).toFixed(2)+n[a]},K1=e=>{if(e==null)return 0;if(e<1e4)return e;let u=parseInt(`${e/1e4}`),a=e%1e4;return`${u}\u4E07${a}`},X1=e=>{if(e)try{var s=new Date(e),u=s.getHours(),a=s.getMinutes(),n=s.getSeconds();return u<10&&(u=`0${u}`),a<10&&(a=`0${a}`),n<10&&(n=`0${n}`),`${u}:${a}:${n}`}catch(o){}return""},Q1=e=>{if(e){let s=Math.floor(e/86400),u=Math.floor(e%86400/3600),a=Math.floor(e%86400%3600/60),n=Math.floor(e%86400%3600%60);return s+"\u5929"+u+"\u5C0F\u65F6"+(a>10?a:"0"+a)+"\u5206"+(n>10?n:"0"+n)+"\u79D2"}},Y1=e=>/^\d+\.\d+\.\d+\.\d+$/.test(e);var ts=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",formatDate:j1,UnixDate:R1,byteToSize:J1,numberToSize:Z1,numberToSum:K1,dateForm:X1,stampForm:Q1,checkIsIP:Y1}),ht=j({},ts);const es={class:"flow"},ss={class:"flow-data"},us={key:0},as={key:1},ns=M({setup(e){Ht([jt,Rt,Jt,Zt,Kt,Xt]);const s=F(),u=()=>{var y;let $=[];return(y=s.value)==null||y.forEach(A=>{$.push({value:`${r(A.startTime*1e3)} - ${r(A.endTime*1e3)}`})}),$},a=V(()=>{var y;let $=[];return(y=s.value)==null||y.forEach(A=>{$.push({value:A.uploadSpeed})}),$}),n=V(()=>{var y;let $=[];return(y=s.value)==null||y.forEach(A=>{$.push({value:A.downloadSpeed})}),$}),o=V(()=>{var y;let $="";if(s.value){let A=((y=s.value)==null?void 0:y.length)||0;if(A>0){let S=s.value[A-1];$=i(S.uploadSpeed)}}return $}),p=V(()=>{var y;let $="";if(s.value){let A=((y=s.value)==null?void 0:y.length)||0;if(A>0){let S=s.value[A-1];$=i(S.downloadSpeed)}}return $});V(()=>{var y;let $=[];return(y=s.value)==null||y.forEach(A=>{$.push({value:A.downloadSpeed+A.uploadSpeed})}),$});const _=()=>x(this,null,function*(){var $;try{const y=yield P.Network.Statistics.GET();y.data&&(($=y.data.result)==null?void 0:$.items)&&(s.value=y.data.result.items)}catch(y){console.log(y)}}),r=ht.dateForm,i=ht.byteToSize,d=F();let v=null;const g=$=>(v=Qt($,"dark"),v.setOption({animation:!1,backgroundColor:"transparent",tooltip:{trigger:"axis",formatter:y=>{if(Array.isArray(y)){let A="";y.length>0&&(A=`${y[0].axisValue}`);for(let S=0;S<y.length;S++)A=`${A}<br>${y[S].seriesName}: ${i(y[S].value)}`;return A.toString()}else{const A=y;return`${A.seriesName}: ${i(A.value)}`}}},xAxis:{type:"category",boundaryGap:!1,data:u(),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},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e5,interval:1e4,axisLabel:{formatter:function(y,A){return`${i(y)}`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:"\u4E0B\u8F7D",data:n.value,type:"line",smooth:!0,areaStyle:{}},{name:"\u4E0A\u4F20",data:a.value,type:"line",smooth:!0,areaStyle:{}}],legend:{padding:0,align:"right",top:"10px",selected:{\u4E0A\u4F20:!0,\u4E0B\u8F7D:!0}},grid:{left:"2%",right:"2%",bottom:"2%",top:"10%",containLabel:!0}}),v);return wt(()=>x(this,null,function*(){if(yield _(),d.value){const $=g(d.value);$.appendData;const y=d.value;$.resize({width:y.clientWidth,height:y.clientHeight}),window.addEventListener("resize",()=>{$.resize({width:y.clientWidth,height:y.clientHeight})}),setInterval(()=>x(this,null,function*(){yield _(),$.setOption({series:[{name:"\u4E0B\u8F7D",data:n.value,type:"line",areaStyle:{},smooth:!0},{name:"\u4E0A\u4F20",data:a.value,type:"line",areaStyle:{},smooth:!0}]})}),5e3)}})),It(()=>{v!=null&&v.dispose()}),($,y)=>(l(),c("div",es,[t("div",{ref_key:"el",ref:d,class:"echart"},null,512),t("div",ss,[k(o)?(l(),c("span",us,"\u4E0A\u4F20: "+f(k(o)),1)):w("",!0),k(p)?(l(),c("span",as,"\u4E0B\u8F7D: "+f(k(p)),1)):w("",!0)])]))}});var os=D(ns,[["__scopeId","data-v-a9e830ca"]]);pt("app",{});pt("guide",{});const is=pt("nas",{state:()=>({webdav:{}})}),zt=pt("network",{state:()=>({status:{},statistics:{},devicelList:{}}),getters:{},actions:{requestNetworkStatus(){P.Network.Status.GET().then(e=>{if(e==null?void 0:e.data){const{result:s}=e==null?void 0:e.data;s&&(this.status=s,this.status.internetConnected===null&&(this.status.internetConnected=!1))}})},requestNetworkStatistics(){return x(this,null,function*(){try{const e=yield P.Network.Statistics.GET();(e==null?void 0:e.data)&&e.data.result&&(this.statistics=e.data.result)}catch(e){console.log(e)}})},requestDeviceList(){P.Network.Device.List.GET().then(e=>{if(e==null?void 0:e.data){const{result:s}=e==null?void 0:e.data;s&&(this.devicelList=s)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),St=pt("system",{state:()=>({version:{},time:{},cpuStatus:{},cpuTemperature:{},meneryStatus:{},checkUpdate:{}}),getters:{},actions:{incrTime(){var e;((e=this.time)==null?void 0:e.uptime)&&this.time.uptime++},requestVersion(){P.System.Version.GET().then(e=>{var s;((s=e==null?void 0:e.data)==null?void 0:s.result)&&(this.version=e.data.result)})},requestTime(){P.System.Time.GET().then(e=>{var s;((s=e==null?void 0:e.data)==null?void 0:s.result)&&(this.time=e.data.result)})},requestCpuStatus(){P.System.CPU.Status.GET().then(e=>{(e==null?void 0:e.data.result)&&(this.cpuStatus=e==null?void 0:e.data.result)})},requestCpuTemperature(){P.System.CPU.Temperature.GET().then(e=>{(e==null?void 0:e.data.result)&&(this.cpuTemperature=e==null?void 0:e.data.result)})},requestMeneryStatus(){P.System.Memery.Status.GET().then(e=>{(e==null?void 0:e.data.result)&&(this.meneryStatus=e==null?void 0:e.data.result)})},requestCheckUpdate(){P.System.CheckUpdate.GET().then(e=>{var s;((s=e==null?void 0:e.data)==null?void 0:s.result)&&(this.checkUpdate=e.data.result)})}}}),ls=()=>{const e=zt(),s=St();e.requestNetworkStatus(),e.requestDeviceList(),s.requestVersion(),s.requestTime(),s.requestCpuStatus(),s.requestCpuTemperature(),s.requestMeneryStatus(),s.requestCheckUpdate(),setInterval(()=>{s.requestCpuStatus(),s.requestCpuTemperature(),s.requestMeneryStatus()},3e3),setInterval(()=>{e.incrTime(),s.incrTime()},1e3)};const at=e=>(N("data-v-427ac0d7"),e=e(),L(),e),cs={class:"app-container_status-label"},ds={class:"app-container_status-label_item"},rs={class:"app-container_status-container",style:{height:"100%"}},_s={key:0,class:"app-container_status-container_body"},vs=at(()=>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)),ps=at(()=>t("span",{class:"container_success"},"\u5DF2\u8FDE\u63A5\u4E92\u8054\u7F51",-1)),hs={class:"container_time"},ms={key:1,class:"app-container_status-container_body"},bs=at(()=>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)),fs=at(()=>t("span",{class:"container_failure"},"\u672A\u8FDE\u63A5\u4E92\u8054\u7F51",-1)),$s=[bs,fs],ys={key:1,class:"app-container_status-container_body"},Fs=at(()=>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)),gs={class:"container_failure"},Ds={class:"app-container_status-label_item"},Es={class:"app-container_status-container",style:{height:"100%"}},ks={class:"app-container_status-container_body"},ws=at(()=>t("svg",{t:"1642045422383",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"18766",width:"128",height:"128"},[t("path",{d:"M663.716 890.757a60.723 60.723 0 0 0 60.805 60.723h235.54a60.703 60.703 0 0 0 60.744-60.723V782.05h-357.09v108.708zM842.3 829.85c20.603 0 37.376 16.773 37.376 37.458a37.396 37.396 0 0 1-74.813 0c0-20.685 16.773-37.458 37.437-37.458z m178.504-576.226a60.703 60.703 0 0 0-60.744-60.764h-235.54a60.744 60.744 0 0 0-60.805 60.764v503.214h357.09V253.624z m-49.07 159.253a11.612 11.612 0 0 1-11.674 11.571h-235.54a11.633 11.633 0 0 1-11.653-11.571v-38.994c0-6.39 5.243-11.592 11.653-11.592h235.54c6.41 0 11.674 5.161 11.674 11.592v38.994z m0-115.2a11.674 11.674 0 0 1-11.674 11.612h-235.54a11.674 11.674 0 0 1-11.653-11.612v-38.974a11.674 11.674 0 0 1 11.653-11.653h235.54c6.41 0 11.674 5.243 11.674 11.653v38.974z",fill:"#1296db","p-id":"18767"}),t("path",{d:"M626.012 875.07h-76.185V763.473h76.185V660.582H62.3V150.323h856.494v13.169h58.553c1.27 0 2.457 0.287 3.747 0.368v-7.516a72.335 72.335 0 0 0-72.376-72.376H72.376A72.376 72.376 0 0 0 0 156.344v534.774a72.356 72.356 0 0 0 72.376 72.335h368.927V875.05H298.537a38.216 38.216 0 0 0 0 76.41h344.474a71.844 71.844 0 0 1-16.999-46.12v-30.27z",fill:"#1296db","p-id":"18768"})],-1)),Cs={class:"container_content"},Ss=at(()=>t("em",null,null,-1)),As={class:"app-container_status-container"},xs={class:"app-container_title"},Bs={class:"app-container_status-label_block"},Ps={class:"app-container_status-label_block"},Ms={class:"app-container_title"},Is={class:"app-container_status-label_block"},Ts=M({setup(e){const s=zt(),u=V(()=>s.status),a=V(()=>s.devicelList),n=_=>{switch(_){case"pppoe":return"\u62E8\u53F7\u4E0A\u7F51";case"static":return"\u9759\u6001\u7F51\u7EDC";case"dhcp":return"DHCP"}},o=_=>{switch(_){case"manual":return"\u624B\u52A8\u914D\u7F6E";case"auto":return"\u81EA\u52A8\u83B7\u53D6";default:return""}},p=ht.stampForm;return(_,r)=>{var i,d;return l(),c(U,null,[t("div",cs,[t("div",ds,[t("div",rs,[k(u)!=null?(l(),c(U,{key:0},[k(u).internetConnected?(l(),c("div",_s,[vs,ps,t("span",hs,f(k(p)(k(u).uptimeStamp)),1)])):(l(),c("div",ms,$s))],64)):w("",!0),k(u).networkInfo?(l(),c("div",ys,[Fs,t("span",gs,f(k(u).networkInfo),1)])):w("",!0)])]),t("div",Ds,[t("div",Es,[t("div",ks,[ws,t("span",Cs,f(((d=(i=k(a))==null?void 0:i.devices)==null?void 0:d.length)||0)+"\u8BBE\u5907",1)])])])]),Ss,t("div",As,[t("div",xs,[t("span",null,"IP\u5730\u5740\uFF08"+f(k(u).defaultInterface)+"\uFF09",1)]),t("div",Bs,[t("span",null," IPv4\uFF1A "+f(k(u).ipv4addr)+" \uFF08"+f(n(k(u).proto||""))+"\uFF09 ",1)]),t("div",Ps,[t("span",null,"IPv6\uFF1A"+f(k(u).ipv6addr),1)]),t("div",Ms,[t("span",null,"DNS\uFF08"+f(o(k(u).dnsProto))+"\uFF09",1)]),(l(!0),c(U,null,ut(k(u).dnsList,v=>(l(),c("div",Is,[t("span",null,f(v),1)]))),256))])],64)}}});var zs=D(Ts,[["__scopeId","data-v-427ac0d7"]]);const Ns={class:"network-container"},Ls={class:"network-container_flow"},Vs={class:"network-container_flow-container"},Os={class:"network-container_status"},qs=M({setup(e){return(s,u)=>(l(),c("div",Ns,[t("div",Ls,[t("div",Vs,[B(os,{style:{height:"360px"}})])]),t("div",Os,[B(zs)])]))}});var Gs=D(qs,[["__scopeId","data-v-1993650c"]]);const Us={},Ws={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"},Hs=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),js=[Hs];function Rs(e,s){return l(),c("svg",Ws,js)}var Js=D(Us,[["render",Rs]]);const Zs=e=>(N("data-v-244cb584"),e=e(),L(),e),Ks={id:"actioner"},Xs={key:0,class:"action-container"},Qs={class:"action-container_header"},Ys=Zs(()=>t("div",null,null,-1)),t2={class:"title"},e2={class:"action-container_body"},s2=M({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){const s=e,u=F(!1);wt(()=>{u.value=!0;let n=document.querySelector("html");n&&n.setAttribute("lock-scroll","true"),document.body.setAttribute("lock-scroll","true")}),It(()=>{let n=document.querySelector("html");n&&n.removeAttribute("lock-scroll"),document.body.removeAttribute("lock-scroll")});const a=()=>{s.Close&&(u.value=!1,setTimeout(()=>{s.Close&&s.Close()},300))};return(n,o)=>(l(),c("div",Ks,[t("div",{class:"bg",onClick:o[0]||(o[0]=p=>a())}),e.type!=null?(l(),G(K,{key:0,name:"dialog"},{default:I(()=>[u.value?vt(n.$slots,"default",{key:0},void 0,!0):w("",!0)]),_:3})):(l(),G(K,{key:1,name:"dialog"},{default:I(()=>[u.value?(l(),c("div",Xs,[t("div",Qs,[Ys,t("div",t2,f(e.title),1),t("button",{class:"close",title:"\u5173\u95ED",onClick:o[1]||(o[1]=p=>a())},[B(Js)])]),t("div",e2,[vt(n.$slots,"default",{},void 0,!0)])])):w("",!0)]),_:3}))]))}});var nt=D(s2,[["__scopeId","data-v-244cb584"]]);const u2={props:{type:String,message:String,Close:Function},data(){return{show:!1}},mounted(){setTimeout(()=>{this.show=!0},0)},methods:{Stop(){this.type!="loading"&&(this.show=!1,this.Close())}}},Ft=e=>(N("data-v-80ee870c"),e=e(),L(),e),a2={key:0,class:"loading icon"},n2=Ft(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1024 1024",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)),o2=[n2],i2={key:1,class:"success icon"},l2=Ft(()=>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)),c2=[l2],d2={key:2,class:"error icon"},r2=Ft(()=>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)),_2=[r2],v2={key:3,class:"warning icon"},p2=Ft(()=>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)),h2=[p2];function m2(e,s,u,a,n,o){return l(),G(K,{name:"el-fade-in-linear"},{default:I(()=>[n.show?(l(),c("div",{key:0,class:"toast",onClick:s[1]||(s[1]=p=>o.Stop())},[u.type=="loading"?(l(),c("div",a2,o2)):u.type=="success"?(l(),c("div",i2,c2)):u.type=="error"?(l(),c("div",d2,_2)):u.type=="warning"?(l(),c("div",v2,h2)):w("",!0),t("div",{class:"message",onClick:s[0]||(s[0]=tt(()=>{},["stop"]))},f(u.message),1)])):w("",!0)]),_:1})}var b2=D(u2,[["render",m2],["__scopeId","data-v-80ee870c"]]);const mt=new Map,ot=e=>{const s=X(b2,Y(j({},e),{Close:()=>{a()}})),u=document.createElement("div");document.body.append(u),s.mount(u);const a=()=>{u.remove(),mt.get(s._uid)&&mt.delete(s._uid)};return e.type=="loading"&&mt.set(s._uid,{Close:a}),(e==null?void 0:e.duration)==0||((e==null?void 0:e.duration)>0?setTimeout(()=>{a()},e==null?void 0:e.duration):setTimeout(()=>{a()},3e3)),{Close:a}},m=e=>ot(e);m.Loading=e=>ot({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0});m.Success=e=>ot({type:"success",message:e});m.Error=e=>ot({type:"error",message:e});m.Warning=e=>ot({type:"warning",message:e});m.Message=e=>ot({message:e});m.Message=e=>ot({message:e});m.Clear=()=>{mt.forEach((e,s)=>{e.Close(),mt.delete(s)})};const et=e=>(N("data-v-040def90"),e=e(),L(),e),f2=["onSubmit"],$2=et(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u786C\u76D8\u914D\u7F6E")],-1)),y2={class:"action-body"},F2={class:"disk-info"},g2=et(()=>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)),D2={key:0,class:"disk-info_mount-name"},E2={key:1,class:"disk-info_mount-name"},k2={class:"label-item"},w2=et(()=>t("div",{class:"label-item_key"},[t("span",null,"\u683C\u5F0F\u5316\u9009\u9879")],-1)),C2={class:"label-item_value"},S2=et(()=>t("option",{value:""},"\u8BF7\u9009\u62E9\u9009\u9879",-1)),A2=et(()=>t("option",{value:"format"},"\u683C\u5F0F\u5316",-1)),x2={key:0,value:"default"},B2={class:"label-item_value"},P2={key:0,class:"msg"},M2={key:1,class:"msg"},I2={class:"action-footer"},T2=et(()=>t("div",{class:"auto"},null,-1)),z2=["disabled"],N2=["disabled"],L2={key:1,class:"action result"},V2={class:"action-body"},O2=et(()=>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)),q2=et(()=>t("div",{class:"action-body_msg"},"\u683C\u5F0F\u5316\u6210\u529F",-1)),G2={key:0,class:"action-body_info"},U2={key:1,class:"action-body_info"},W2=W(" \u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A "),H2={class:"btns"},j2=M({props:{action:String,disk:{type:Object},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const s=e,u=()=>{s.Close&&s.Close()},a=()=>{s.Cancel&&s.Cancel(),u()},n=h=>{s.Next&&s.Next(h),u()},o=F(!1),p=F(0),_=h=>{p.value=h},r=F(""),i=F(),d=F(),v=()=>{switch(r.value){case"format":$();return;case"default":g();return;default:m.Warning("\u8BF7\u9009\u62E9\u9009\u7EBF");return}},g=()=>{let h="";const b=s.mount;if(b!=null&&b.mountPoint!=null&&(h=b.mountPoint),h!=""){n(h);return}m.Warning("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84")},$=()=>{const h=s.disk,b=s.mount;if(b){if(!confirm(`\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A ${b.mountPoint} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm(`\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 ${b.mountPoint}?`))return;A(b);return}if(h){if(!confirm(`\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 ${h.venderModel} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?"))return;y(h);return}m.Error("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E")},y=h=>x(this,null,function*(){if(h.name==null||h.path==""){m.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0");return}if(h.path==null||h.path==""){m.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84");return}o.value=!0;const b=m.Loading("\u521D\u59CB\u5316\u4E2D...");try{const E=yield P.Nas.Disk.Init.POST({name:h.name,path:h.path});if(E==null?void 0:E.data){const{result:C,error:O}=E==null?void 0:E.data;O&&m.Warning(O),C&&(C.errorInfo?m.Warning(C.errorInfo):(m.Success("\u521D\u59CB\u5316\u6210\u529F"),C.childrens&&C.childrens.length>0&&(d.value=C.childrens[0]),i.value=C,_(1)))}}catch(E){m.Error(E)}b.Close(),o.value=!1}),A=h=>x(this,null,function*(){if(h.path==null||h.path==""){m.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if(h.uuid==null||h.uuid==""){m.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}if(h.mountPoint==null||h.mountPoint==""){m.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u6302\u8F7D\u70B9");return}o.value=!0;const b=m.Loading("\u683C\u5F0F\u5316\u4E2D...");try{const E=yield P.Nas.Disk.Partition.Format.POST({path:h.path,uuid:h.uuid,mountPoint:h.mountPoint});if(E==null?void 0:E.data){const{result:C,error:O}=E==null?void 0:E.data;O&&m.Warning(O),C&&(m.Success("\u683C\u5F0F\u5316\u6210\u529F"),d.value=C,_(1))}}catch(E){m.Error(E)}b.Close(),o.value=!1}),S=()=>{if(d.value&&d.value.mountPoint){n(d.value.mountPoint);return}m.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return(h,b)=>(l(),G(nt,{type:1},{default:I(()=>[B(K,{name:"rotate",mode:"out-in"},{default:I(()=>{var E;return[p.value==0?(l(),c("form",{key:0,class:"action format",onSubmit:tt(v,["prevent"])},[$2,t("div",y2,[t("div",F2,[g2,e.mount?(l(),c("div",D2,[t("span",null,"\u3010"+f(e.mount.total)+"\u3011",1),t("span",null,f(e.mount.mountPoint),1)])):e.disk?(l(),c("div",E2,[t("span",null,"\u3010"+f(e.disk.size)+"\u3011",1),t("span",null,f(e.disk.venderModel),1)])):w("",!0)]),t("div",k2,[w2,t("div",C2,[z(t("select",{"onUpdate:modelValue":b[0]||(b[0]=C=>r.value=C),required:""},[S2,A2,e.mount!=null?(l(),c("option",x2,"\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")):w("",!0)],512),[[lt,r.value]])]),t("div",B2,[r.value=="format"?(l(),c("p",P2,"\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u4F20\u8F93\u901F\u5EA6\u66F4\u5FEB")):r.value=="default"?(l(),c("p",M2)):w("",!0)])])]),t("div",I2,[T2,t("button",{class:"cbi-button cbi-button-remove app-back",onClick:b[1]||(b[1]=C=>a()),type:"button",disabled:o.value},"\u8FD4\u56DE",8,z2),t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",disabled:o.value},"\u4E0B\u4E00\u6B65",8,N2)])],40,f2)):p.value==1?(l(),c("div",L2,[t("div",V2,[O2,q2,i.value?(l(),c("div",G2,[W(" \u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8 "+f(i.value.venderModel)+" \u5E76\u6302\u8F7D\u5230 ",1),t("a",null,f((E=d.value)==null?void 0:E.mountPoint),1)])):w("",!0),d.value?(l(),c("div",U2,[W2,t("a",null,f(d.value.mountPoint),1)])):w("",!0),t("div",H2,[t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",type:"button",onClick:S},f(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):w("",!0)]}),_:1})]),_:1}))}});var R2=D(j2,[["__scopeId","data-v-040def90"]]),Nt=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=X(R2,Y(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const J2=e=>(N("data-v-7ee13466"),e=e(),L(),e),Z2={key:0,class:"disk-item error"},K2={class:"disk-item_name"},X2={class:"disk-item_value"},Q2={class:"value-data"},Y2={class:"error"},tu={key:1,class:"disk-item"},eu={class:"disk-item_name"},su={class:"disk-item_value"},uu={class:"value-data"},au=J2(()=>t("div",{class:"disk-item-tooltip"},[t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")],-1)),nu={key:2,class:"disk-item load"},ou={class:"disk-item_name"},iu={class:"disk-item_value"},lu={class:"value-data"},cu=M({props:{disk:{type:Object,required:!0}},setup(e){const s=e,u=V(()=>s.disk.errorInfo?"error":s.disk.childrens==null||s.disk.childrens.length==0?"load":"success"),a=()=>{Nt({action:"disk",disk:s.disk,Cancel:()=>{},Next:()=>{location.reload()}})};return(n,o)=>{const p=Z("progress-item");return k(u)=="error"?(l(),c("li",Z2,[t("div",K2,[t("span",null,f(e.disk.venderModel),1)]),t("div",X2,[t("div",Q2,[t("span",Y2,f(e.disk.errorInfo),1)])])])):k(u)=="success"?(l(),c("li",tu,[t("div",eu,[t("span",null,"\u3010"+f(e.disk.size)+"\u3011",1),t("span",null,f(e.disk.venderModel),1)]),t("div",su,[t("div",uu,[B(p,{value:e.disk.usage,text:`${e.disk.used}/${e.disk.total}`,style:{backgroundColor:"#767676",height:"100%"}},null,8,["value","text"])]),au])])):k(u)=="load"?(l(),c("li",nu,[t("div",ou,[t("span",null,f(e.disk.venderModel),1)]),t("div",iu,[t("div",lu,[t("button",{onClick:o[0]||(o[0]=_=>a())},"\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")])])])):w("",!0)}}});var du=D(cu,[["__scopeId","data-v-7ee13466"]]);const ru=e=>(N("data-v-0e8b1284"),e=e(),L(),e),_u={class:"app-container"},vu=ru(()=>t("div",{class:"app-container_title"},[t("span",null,"\u5DF2\u6302\u8F7D\u78C1\u76D8")],-1)),pu={class:"app-container_body"},hu=M({setup(e){const s=F();return(()=>{P.Nas.Disk.Status.GET().then(a=>{(a==null?void 0:a.data.result)&&(s.value=a==null?void 0:a.data.result)})})(),(a,n)=>{var o;return l(),c("div",_u,[vu,t("div",pu,[(l(!0),c(U,null,ut((o=s.value)==null?void 0:o.disks,p=>(l(),G(du,{key:p.venderModel,disk:p},null,8,["disk"]))),128))])])}}});var mu=D(hu,[["__scopeId","data-v-0e8b1284"]]);const bu=e=>(N("data-v-31a7bc74"),e=e(),L(),e),fu={class:"app-container_samba"},$u=bu(()=>t("ul",{class:"tit"},[t("li",null,"\u5730\u5740"),t("li",null,"\u76EE\u5F55")],-1)),yu={class:"samba-item"},Fu={class:"samba-item_name"},gu=["title"],Du=M({props:{sambas:{type:Array}},setup(e){const s=F("");return(()=>x(this,null,function*(){try{const a=yield P.Network.Status.GET();(a==null?void 0:a.data)&&(a==null?void 0:a.data).result&&(s.value=a.data.result)}catch(a){}}))(),(a,n)=>(l(),c("ul",fu,[$u,(l(!0),c(U,null,ut(e.sambas,o=>(l(),c("li",yu,[t("div",Fu,[t("span",null,"smb://"+f(s.value.ipv4addr)+"/",1),t("span",null,f(o.shareName),1)]),t("div",{class:"samba-item_value",title:o.path},[t("span",null,f(o.path),1)],8,gu)]))),256))]))}});var Eu=D(Du,[["__scopeId","data-v-31a7bc74"]]);const gt=e=>(N("data-v-615b85a1"),e=e(),L(),e),ku={class:"webdav-item"},wu=gt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),Cu={class:"webdav-item_value"},Su={key:0,class:"webdav-item"},Au=gt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u6302\u8F7D\u8DEF\u5F84:")],-1)),xu={class:"webdav-item_value"},Bu={key:1,class:"webdav-item"},Pu=gt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u670D\u52A1\u8DEF\u5F84:")],-1)),Mu={class:"webdav-item_value"},Iu=["href"],Tu={key:2,class:"webdav-item"},zu=gt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u8D26\u53F7:")],-1)),Nu={class:"webdav-item_value"},Lu=M({props:{webdav:{type:Object}},setup(e){const s=e,u=V(()=>{var a;return`http://${location.host}:${(a=s.webdav)==null?void 0:a.port}`});return(a,n)=>{var o,p,_,r,i,d;return l(),c(U,null,[t("li",ku,[wu,t("div",Cu,[t("span",null,f(((o=e.webdav)==null?void 0:o.path)?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])]),((p=e.webdav)==null?void 0:p.path)?(l(),c("li",Su,[Au,t("div",xu,[t("span",null,f((_=e.webdav)==null?void 0:_.path),1)])])):w("",!0),((r=e.webdav)==null?void 0:r.port)?(l(),c("li",Bu,[Pu,t("div",Mu,[t("a",{href:k(u),target:"_blank",rel:"noopener noreferrer"},f(k(u)),9,Iu)])])):w("",!0),((i=e.webdav)==null?void 0:i.username)?(l(),c("li",Tu,[zu,t("div",Nu,[t("span",null,f((d=e.webdav)==null?void 0:d.username),1)])])):w("",!0)],64)}}});var Vu=D(Lu,[["__scopeId","data-v-615b85a1"]]);const At=e=>(N("data-v-35576663"),e=e(),L(),e),Ou={class:"disk-item"},qu=At(()=>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)),Gu={class:"disk-item_f"},Uu={class:"disk-item_venderModel"},Wu={class:"disk-item_used"},Hu=At(()=>t("div",{class:"auto"},null,-1)),ju={class:"disk-item-r"},Ru={class:"disk-children"},Ju=["onClick"],Zu=At(()=>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)),Ku={key:0},Xu={key:1},Qu=M({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(e){var n,o;const s=e,u=F(!1);s.currDisk!=null&&((n=s.currDisk)==null?void 0:n.venderModel)==((o=s.disk)==null?void 0:o.venderModel)&&(u.value=!0);const a=p=>{u.value=!u.value,s.onDisk(p,null)};return(p,_)=>{var r;return l(),c("ul",Ou,[t("li",{class:it(["disk-info",{on:e.disk.venderModel==((r=e.currDisk)==null?void 0:r.venderModel),nopoint:e.disk.childrens==null||e.disk.childrens.length==0}]),onClick:_[0]||(_[0]=i=>a(e.disk))},[qu,t("div",Gu,[t("div",Uu,f(e.disk.venderModel),1),t("div",Wu,f(e.disk.used)+"/"+f(e.disk.size),1)]),Hu,t("div",ju,f(e.disk.path),1)],2),z(t("div",Ru,[(l(!0),c(U,null,ut(e.disk.childrens,i=>{var d,v;return l(),c("li",{class:it(["disk-children_item",{on:i.uuid==((d=e.currMountPoint)==null?void 0:d.uuid)&&i.path==((v=e.currMountPoint)==null?void 0:v.path)}]),onClick:g=>e.onDisk(e.disk,i)},[Zu,i.mountPoint?(l(),c("span",Ku," \u3010"+f(i.filesystem)+"\u3011 "+f(i.mountPoint)+" \uFF08"+f(i.used)+"/"+f(i.total)+"\uFF09 ["+f(i.uuid)+"] ",1)):(l(),c("span",Xu," \u3010"+f(i.filesystem)+"\u3011 "+f(i.mountPoint||i.path||"\u672A\u6302\u8F7D\u78C1\u76D8")+" ["+f(i.uuid)+"] ",1))],10,Ju)}),256))],512),[[Yt,u.value]])])}}});var Yu=D(Qu,[["__scopeId","data-v-35576663"]]);const xt=e=>(N("data-v-217a18ba"),e=e(),L(),e),ta={class:"action list"},ea=xt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")],-1)),sa={class:"action-body"},ua={class:"disk-list"},aa=xt(()=>t("div",{class:"action-msg"},[t("span",null,[W(" \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)),na={class:"action-footer"},oa=xt(()=>t("div",{class:"auto"},null,-1)),ia=M({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(e){const s=e,u=F(!0),a=F();(()=>{P.Nas.Disk.Status.GET().then(g=>{(g==null?void 0:g.data.result)&&(a.value=g==null?void 0:g.data.result.disks)})})();const o=F(),p=F(),_=(g,$)=>{o.value=g,p.value=$},r=()=>{s.Close&&s.Close()},i=()=>{s.Cancel&&s.Cancel(),r()},d=g=>{s.Next&&s.Next(g),r()},v=()=>{if(o.value==null){m.Warning("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8");return}if(o.value.childrens!=null&&o.value.childrens.length>0&&p.value==null){m.Warning("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A");return}if(p.value!=null&&(p.value.mountPoint==null||p.value.mountPoint=="")){m.Warning("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D");return}u.value=!1,Nt({action:"nas",disk:o.value,mount:p.value,Cancel:()=>{u.value=!0},Next:g=>{d(g)}})};return(g,$)=>u.value?(l(),G(nt,{key:0,type:1},{default:I(()=>[B(K,{name:"rotate",mode:"out-in"},{default:I(()=>[t("div",ta,[ea,t("div",sa,[t("div",ua,[(l(!0),c(U,null,ut(a.value,y=>(l(),G(Yu,{disk:y,onDisk:_,currDisk:o.value,currMountPoint:p.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),aa,t("div",na,[oa,t("button",{class:"cbi-button cbi-button-remove app-back",onClick:$[0]||($[0]=y=>i()),type:"button"},"\u8FD4\u56DE"),t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",onClick:$[1]||($[1]=y=>v()),type:"button"},"\u4E0B\u4E00\u6B65")])])]),_:1})]),_:1})):w("",!0)}});var la=D(ia,[["__scopeId","data-v-217a18ba"]]),ca=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=X(la,Y(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const Dt=e=>(N("data-v-90b687c4"),e=e(),L(),e),da={class:"action"},ra={class:"action-body"},_a=Dt(()=>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)),va=Dt(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),pa={class:"info"},ha=Dt(()=>t("span",null,"\u524D\u5F80",-1)),ma=["href"],ba=Dt(()=>t("span",null,"\u914D\u7F6E",-1)),fa=M({props:{Close:Function},setup(e){const s=e,u=F(""),a=V(()=>`http://${location.host}:${u.value}`);(()=>{P.Nas.Linkease.Enable.POST().then(p=>{var _,r;((_=p==null?void 0:p.data)==null?void 0:_.result)&&(u.value=((r=p.data.result)==null?void 0:r.port)||"")})})();const o=()=>{s.Close&&s.Close(),location.reload()};return(p,_)=>(l(),G(nt,{type:1},{default:I(()=>[B(K,{name:"rotate",mode:"out-in"},{default:I(()=>[t("div",da,[t("div",ra,[_a,va,t("div",pa,[ha,t("a",{href:k(a),target:"_blank",rel:"noopener noreferrer"},f(k(a)),9,ma),ba]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-back",type:"button",onClick:o},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var $a=D(fa,[["__scopeId","data-v-90b687c4"]]),ya=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=X($a,Y(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const bt=e=>(N("data-v-686f3887"),e=e(),L(),e),Fa=["onSubmit"],ga=bt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Webdav\u5171\u4EAB\u914D\u7F6E")],-1)),Da={class:"action-body"},Ea={class:"label-item"},ka=bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),wa={class:"label-item_value"},Ca=["value"],Sa={class:"label-item"},Aa=bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),xa={class:"label-item_value"},Ba={class:"label-item"},Pa=bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),Ma={class:"label-item_value"},Ia={class:"action-footer"},Ta=bt(()=>t("div",{class:"auto"},null,-1)),za=["disabled"],Na=["disabled"],La=M({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=()=>{s.Close&&s.Close()},a=F(!1),n=F({username:"root",password:"",rootPath:s.rootPath});(()=>x(this,null,function*(){const r=m.Loading("\u52A0\u8F7D\u4E2D...");a.value=!0;try{const i=yield P.Nas.Webdav.Status.GET();if(i==null?void 0:i.data){const{result:d,error:v}=i.data;if(v){m.Warning(v);return}d&&(d.username&&(n.value.username=d.username),d.password&&(n.value.password=d.password))}}catch(i){m.Error(i)}a.value=!1,r.Close()}))();const p=()=>{const r=n.value;if(r.rootPath==""){m.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(r.username==""){m.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(r.password==""){m.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}_(r)},_=r=>x(this,null,function*(){a.value=!0;const i=m.Loading("\u521B\u5EFA\u4E2D...");try{const d=yield P.Nas.Webdav.Create.POST(r);if(d==null?void 0:d.data){const{error:v,result:g}=d.data;v&&m.Warning(v),g&&(m.Success("\u521B\u5EFA\u6210\u529F"),setTimeout(()=>{location.reload()},1e3))}}catch(d){m.Error(d)}i.Close(),a.value=!1});return(r,i)=>(l(),G(nt,{type:1},{default:I(()=>[B(K,{name:"rotate",mode:"out-in"},{default:I(()=>[t("form",{class:"action",onSubmit:tt(p,["prevent"])},[ga,t("div",Da,[t("div",Ea,[ka,t("div",wa,[t("input",{type:"text",value:n.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Ca)])]),t("div",Sa,[Aa,t("div",xa,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":i[0]||(i[0]=d=>n.value.username=d)},null,512),[[q,n.value.username,void 0,{trim:!0}]])])]),t("div",Ba,[Pa,t("div",Ma,[z(t("input",{type:"password","onUpdate:modelValue":i[1]||(i[1]=d=>n.value.password=d)},null,512),[[q,n.value.password,void 0,{trim:!0}]])])])]),t("div",Ia,[Ta,t("button",{class:"cbi-button cbi-button-remove app-back",type:"button",onClick:i[2]||(i[2]=d=>u()),disabled:a.value},"\u5173\u95ED",8,za),t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",disabled:a.value},"\u521B\u5EFA",8,Na)])],40,Fa)]),_:1})]),_:1}))}});var Va=D(La,[["__scopeId","data-v-686f3887"]]),Oa=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=X(Va,Y(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const ct=e=>(N("data-v-5a966b04"),e=e(),L(),e),qa=["onSubmit"],Ga=ct(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Samba\u5171\u4EAB\u914D\u7F6E")],-1)),Ua={class:"action-body"},Wa={class:"label-item"},Ha=ct(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),ja={class:"label-item_value"},Ra=["value"],Ja={class:"label-item"},Za=ct(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")],-1)),Ka={class:"label-item_value"},Xa={class:"label-item"},Qa=ct(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),Ya={class:"label-item_value"},tn={class:"label-item"},en=ct(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),sn={class:"label-item_value"},un={class:"action-footer"},an=ct(()=>t("div",{class:"auto"},null,-1)),nn=["disabled"],on=["disabled"],ln=M({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=()=>{s.Close&&s.Close()},a=F(!1),n=F({shareName:"",username:"root",password:"",rootPath:s.rootPath}),o=()=>{const _=n.value;if(_.rootPath==""){m.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(_.shareName==""){m.Warning("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A");return}if(_.username==""){m.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(_.password==""){m.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}p(_)},p=_=>x(this,null,function*(){a.value=!0;const r=m.Loading("\u521B\u5EFA\u4E2D...");try{const i=yield P.Nas.Samba.Create.POST(_);if(i==null?void 0:i.data){const{error:d,result:v}=i.data;d&&m.Warning(d),v&&(m.Success("\u521B\u5EFA\u6210\u529F"),setTimeout(()=>{location.reload()},1e3))}}catch(i){m.Error(i)}r.Close(),a.value=!1});return(_,r)=>(l(),G(nt,{type:1},{default:I(()=>[B(K,{name:"rotate",mode:"out-in"},{default:I(()=>[t("form",{class:"action",onSubmit:tt(o,["prevent"])},[Ga,t("div",Ua,[t("div",Wa,[Ha,t("div",ja,[t("input",{type:"text",value:n.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Ra)])]),t("div",Ja,[Za,t("div",Ka,[z(t("input",{type:"text","onUpdate:modelValue":r[0]||(r[0]=i=>n.value.shareName=i),required:"",placeholder:"\u5171\u4EAB\u540D\u79F0"},null,512),[[q,n.value.shareName,void 0,{trim:!0}]])])]),t("div",Xa,[Qa,t("div",Ya,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":r[1]||(r[1]=i=>n.value.username=i)},null,512),[[q,n.value.username,void 0,{trim:!0}]])])]),t("div",tn,[en,t("div",sn,[z(t("input",{type:"password","onUpdate:modelValue":r[2]||(r[2]=i=>n.value.password=i)},null,512),[[q,n.value.password,void 0,{trim:!0}]])])])]),t("div",un,[an,t("button",{class:"cbi-button cbi-button-remove app-back",type:"button",onClick:r[3]||(r[3]=i=>u()),disabled:a.value},"\u5173\u95ED",8,nn),t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",disabled:a.value},"\u521B\u5EFA",8,on)])],40,qa)]),_:1})]),_:1}))}});var cn=D(ln,[["__scopeId","data-v-5a966b04"]]),dn=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=X(cn,Y(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const ft=e=>(N("data-v-828f7d58"),e=e(),L(),e),rn={key:0,class:"action"},_n=ft(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC",-1)),vn=ft(()=>t("h3",{class:"desc"},"\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1",-1)),pn=ft(()=>t("option",{value:"linkease"},"\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09",-1)),hn=ft(()=>t("option",{value:"samba"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09",-1)),mn=ft(()=>t("option",{value:"webdav"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Webdav\uFF09",-1)),bn=[pn,hn,mn],fn={class:"btns"},$n=["disabled"],yn=M({props:{setup:Number,Close:{type:Function,required:!0}},setup(e){const s=e,u=F(!0),a=F("linkease"),n=F(!1),o=F(s.setup||0),p=()=>{s.Close&&s.Close()},_=()=>x(this,null,function*(){switch(a.value){case"webdav":yield r();break;case"samba":yield d();break;case"linkease":yield i();break}}),r=()=>x(this,null,function*(){n.value=!0;const S=m.Loading("\u914D\u7F6E\u4E2D...");try{const h=yield P.App.Check.POST({name:"gowebdav"});if(S.Close(),h==null?void 0:h.data){const{result:b,error:E}=h.data;if(E&&m.Warning(E),b){if(b.status=="installed"){g();return}if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 GoWebdav \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){const C=m.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D..."),O=yield v("app-meta-gowebdav");C.Close(),O?g():m.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(h){m.Error(h)}S.Close(),n.value=!1}),i=()=>x(this,null,function*(){n.value=!0;const S=m.Loading("\u914D\u7F6E\u4E2D...");try{const h=yield P.App.Check.POST({name:"linkease"});if(S.Close(),h==null?void 0:h.data){const{result:b,error:E}=h.data;if(E&&m.Warning(E),b){if(b.status=="installed"){$();return}if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 \u6613\u6709\u4E91 \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){const C=m.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D..."),O=yield v("app-meta-linkease");C.Close(),O?$():m.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(h){m.Error(h)}S.Close(),n.value=!1}),d=()=>x(this,null,function*(){n.value=!0;const S=m.Loading("\u914D\u7F6E\u4E2D...");g(),S.Close(),n.value=!1}),v=S=>x(this,null,function*(){return P.App.Install.POST({name:S}).then(()=>{}),new Promise((h,b)=>x(this,null,function*(){let E=0;const C=setInterval(()=>x(this,null,function*(){if(E>10){clearInterval(C),b(!1);return}const O=yield P.App.Check.POST({name:S});if(O==null?void 0:O.data){const{result:rt}=O.data;if((rt==null?void 0:rt.status)=="installed"){clearInterval(C),h(!0);return}}E++}),3e3)}))}),g=()=>{n.value=!1,u.value=!1,ca({Cancel:()=>{u.value=!0},Next:S=>{switch(a.value){case"webdav":y(S);break;case"samba":A(S);break}}})},$=()=>{ya({}),p()},y=S=>{Oa({rootPath:S}),p()},A=S=>{dn({rootPath:S}),p()};return(S,h)=>u.value?(l(),G(nt,{key:0,type:1},{default:I(()=>[B(K,{name:"rotate",mode:"out-in"},{default:I(()=>[o.value==0?(l(),c("div",rn,[_n,vn,t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":h[0]||(h[0]=b=>a.value=b)},bn,512),[[lt,a.value]])])]),t("div",fn,[t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",onClick:h[1]||(h[1]=b=>_()),type:"button",disabled:n.value},"\u4E0B\u4E00\u6B65",8,$n),t("button",{class:"cbi-button cbi-button-remove app-back",onClick:h[2]||(h[2]=b=>e.Close()),type:"button"},"\u53D6\u6D88")])])):w("",!0)]),_:1})]),_:1})):w("",!0)}});var Fn=D(yn,[["__scopeId","data-v-828f7d58"]]),Lt=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=X(Fn,Y(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const Bt=e=>(N("data-v-c839752e"),e=e(),L(),e),gn={class:"app-container_linkease"},Dn={class:"linkease-item"},En=Bt(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),kn={class:"linkease-item_value"},wn={key:0,class:"configure"},Cn={key:0,class:"linkease-item"},Sn=Bt(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u670D\u52A1\u5730\u5740:")],-1)),An={class:"linkease-item_value"},xn=["href"],Bn=Bt(()=>t("div",null,[t("a",{href:"https://doc.linkease.com/zh/guide/linkease_app/",target:"_blank"},"\u4E0B\u8F7D\u5168\u5E73\u53F0\u4E0D\u9650\u901FAPP\u6613\u6709\u4E91")],-1)),Pn=M({props:{linkease:{type:Object}},setup(e){const s=e,u=V(()=>{var n;return`http://${location.host}:${(n=s.linkease)==null?void 0:n.port}`}),a=()=>{Lt({setup:0})};return(n,o)=>{var p,_,r;return l(),c("ul",gn,[t("li",Dn,[En,t("div",kn,[((p=e.linkease)==null?void 0:p.enabel)?(l(),c("span",wn,"\u5DF2\u914D\u7F6E")):(l(),c("span",{key:1,class:"configure enabel",onClick:o[0]||(o[0]=i=>a())},"\u672A\u914D\u7F6E"))])]),((_=e.linkease)==null?void 0:_.enabel)?(l(),c(U,{key:0},[((r=e.linkease)==null?void 0:r.port)?(l(),c("li",Cn,[Sn,t("div",An,[t("a",{href:k(u),target:"_blank",rel:"noopener noreferrer"},f(k(u)),9,xn)])])):w("",!0)],64)):w("",!0),Bn])}}});var Mn=D(Pn,[["__scopeId","data-v-c839752e"]]);const In=e=>(N("data-v-443f1dec"),e=e(),L(),e),Tn={class:"app-container"},zn={class:"app-container_title"},Nn=In(()=>t("span",null,"\u5B58\u50A8\u670D\u52A1",-1)),Ln={class:"app-container_body"},Vn={class:"app-container_nas-menu"},On=M({setup(e){const s=F("linkease"),u=F(),a=is();(()=>{P.Nas.Service.Status.GET().then(p=>{var _;if((_=p==null?void 0:p.data)==null?void 0:_.result){const r=p.data.result;u.value=r,r.webdav&&(a.webdav=r.webdav)}})})();const o=()=>{Lt({setup:0})};return(p,_)=>{var r,i,d;return l(),c("div",Tn,[t("div",zn,[Nn,t("button",{class:"app-btn cbi-button cbi-button-apply",onClick:_[0]||(_[0]=v=>o())},"\u5FEB\u901F\u914D\u7F6E")]),t("div",Ln,[t("ul",Vn,[t("button",{onClick:_[1]||(_[1]=v=>s.value="linkease"),class:it({on:s.value=="linkease"})},"\u6613\u6709\u4E91",2),t("button",{onClick:_[2]||(_[2]=v=>s.value="samba"),class:it({on:s.value=="samba"})},"SAMBA",2),t("button",{onClick:_[3]||(_[3]=v=>s.value="webdav"),class:it({on:s.value=="webdav"})},"WEBDAV",2)]),s.value=="samba"?(l(),G(Eu,{key:0,sambas:(r=u.value)==null?void 0:r.sambas},null,8,["sambas"])):s.value=="webdav"?(l(),G(Vu,{key:1,webdav:(i=u.value)==null?void 0:i.webdav},null,8,["webdav"])):s.value=="linkease"?(l(),G(Mn,{key:2,linkease:(d=u.value)==null?void 0:d.linkease},null,8,["linkease"])):w("",!0)])])}}});var qn=D(On,[["__scopeId","data-v-443f1dec"]]);const Gn={class:"nas-container"},Un={class:"nas-container_f"},Wn={class:"nas-container_r"},Hn=M({setup(e){return(s,u)=>(l(),c("div",Gn,[t("div",Un,[B(mu)]),t("div",Wn,[B(qn)])]))}});var jn=D(Hn,[["__scopeId","data-v-67a40d29"]]);const st=e=>(N("data-v-32c484ed"),e=e(),L(),e),Rn={class:"app-container"},Jn=st(()=>t("div",{class:"app-container_title"},[t("span",null,"\u7CFB\u7EDF\u4FE1\u606F")],-1)),Zn={class:"item-label"},Kn=st(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u6E29\u5EA6")],-1)),Xn={class:"item-label_value"},Qn={class:"item-label"},Yn=st(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u4F7F\u7528\u7387")],-1)),t6={class:"item-label_value"},e6={class:"item-label"},s6=st(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u5B58\u4F7F\u7528\u7387")],-1)),u6={class:"item-label_value"},a6={class:"item-label"},n6=st(()=>t("div",{class:"item-label_key"},[t("span",null,"\u56FA\u4EF6\u7248\u672C")],-1)),o6={class:"item-label_value"},i6={class:"item-label"},l6=st(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u6838\u7248\u672C")],-1)),c6={class:"item-label_value"},d6={class:"item-label"},r6=st(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5DF2\u542F\u52A8")],-1)),_6={class:"item-label_value"},v6={class:"item-label"},p6=st(()=>t("div",{class:"item-label_key"},[t("span",null,"\u7CFB\u7EDF\u65F6\u95F4")],-1)),h6={class:"item-label_value"},m6=M({setup(e){const s=St(),u=V(()=>s.version),a=V(()=>s.time),n=V(()=>s.cpuStatus),o=V(()=>s.cpuTemperature),p=V(()=>s.meneryStatus),_=V(()=>{var v;return((v=n==null?void 0:n.value)==null?void 0:v.usage)||0}),r=V(()=>{var v;return((v=o.value)==null?void 0:v.temperature)||0}),i=V(()=>{var g;const v=((g=p.value)==null?void 0:g.availablePercentage)||100;return 100-v}),d=ht.stampForm;return wt(()=>{}),(v,g)=>{var y,A,S,h;const $=Z("progress-item");return l(),c("div",Rn,[Jn,t("div",Zn,[Kn,t("div",Xn,[B($,{value:k(r)/2,text:`${k(r)}\u2103`},null,8,["value","text"])])]),t("div",Qn,[Yn,t("div",t6,[B($,{value:k(_),text:`${k(_)}%`},null,8,["value","text"])])]),t("div",e6,[s6,t("div",u6,[B($,{value:k(i),text:`${k(i)}%`},null,8,["value","text"])])]),t("div",a6,[n6,t("div",o6,[t("span",null,f((y=k(u))==null?void 0:y.firmwareVersion),1)])]),t("div",i6,[l6,t("div",c6,[t("span",null,f((A=k(u))==null?void 0:A.kernelVersion),1)])]),t("div",d6,[r6,t("div",_6,[t("span",null,f(k(d)((S=k(a))==null?void 0:S.uptime)),1)])]),t("div",v6,[p6,t("div",h6,[t("span",null,f((h=k(a))==null?void 0:h.localtime),1)])])])}}});var b6=D(m6,[["__scopeId","data-v-32c484ed"]]);const Q=e=>(N("data-v-0547d798"),e=e(),L(),e),f6=["onSubmit"],$6=Q(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),y6={class:"actioner-dns_body"},F6={class:"label-item"},g6=Q(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u9009\u9879")],-1)),D6={class:"label-item_value"},E6=Q(()=>t("option",{value:"auto"},"\u4F7F\u7528\u8FD0\u8425\u5546\u63D0\u4F9B\u7684DNS",-1)),k6=Q(()=>t("option",{value:"manual"},"\u81EA\u5B9A\u4E49DNS",-1)),w6=[E6,k6],C6={class:"label-item"},S6=Q(()=>t("div",{class:"label-item_key"},"DNS\u670D\u52A1\u5668\u5730\u5740",-1)),A6={class:"label-item_value"},x6=["onUpdate:modelValue"],B6={class:"label-item"},P6=Q(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u670D\u52A1\u5668\u5730\u5740")],-1)),M6={class:"label-item_value"},I6={class:"label-item"},T6=Q(()=>t("div",{class:"label-item_key"},"\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740",-1)),z6={class:"label-item_value"},N6={key:1,class:"label-message"},L6={class:"actioner-dns_footer"},V6=["disabled"],O6={key:1,class:"actioner-dns"},q6=Q(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),G6=Q(()=>t("div",{class:"actioner-dns_body"},[t("div",{class:"config-message"},"DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")],-1)),U6={class:"actioner-dns_footer"},W6=M({props:{Close:{type:Function,required:!0}},setup(e){const s=F(0),u=F({interfaceName:"",dnsProto:"auto",manualDnsIp:[]}),a=F(""),n=F(""),o=F(""),p=F(!1);(()=>x(this,null,function*(){var i;p.value=!0;try{const d=yield P.Guide.DnsConfig.GET();((i=d==null?void 0:d.data)==null?void 0:i.result)&&(u.value=d.data.result)}catch(d){o.value=d}p.value=!1}))();const r=()=>x(this,null,function*(){o.value="";let i={};switch(u.value.dnsProto){case"auto":break;case"manual":i.manualDnsIp=[],u.value.manualDnsIp!=null&&u.value.manualDnsIp.length>0?i.manualDnsIp=u.value.manualDnsIp:(i.manualDnsIp.push(a.value),n.value&&i.manualDnsIp.push(n.value));break}i.dnsProto=u.value.dnsProto,i.interfaceName=u.value.interfaceName;const d=m.Loading("\u914D\u7F6E\u4E2D...");try{const v=yield P.Guide.DnsConfig.POST(i);if(v==null?void 0:v.data){const{success:g,error:$}=v==null?void 0:v.data;$&&(o.value=$),(g==null||g==0)&&(m.Success("\u914D\u7F6E\u6210\u529F"),s.value=1)}}catch(v){o.value=v}d.Close()});return(i,d)=>(l(),G(nt,{Close:e.Close,type:1},{default:I(()=>[s.value==0?(l(),c("form",{key:0,class:"actioner-dns",onSubmit:tt(r,["prevent"])},[$6,t("div",y6,[t("div",F6,[g6,t("div",D6,[z(t("select",{"onUpdate:modelValue":d[0]||(d[0]=v=>u.value.dnsProto=v)},w6,512),[[lt,u.value.dnsProto]])])]),u.value.dnsProto=="manual"?(l(),c(U,{key:0},[u.value.manualDnsIp!=null&&u.value.manualDnsIp.length>0?(l(!0),c(U,{key:0},ut(u.value.manualDnsIp,(v,g)=>(l(),c("div",C6,[S6,t("div",A6,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740","onUpdate:modelValue":$=>u.value.manualDnsIp[g]=$},null,8,x6),[[q,u.value.manualDnsIp[g],void 0,{trim:!0}]])])]))),256)):(l(),c(U,{key:1},[t("div",B6,[P6,t("div",M6,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740",required:"","onUpdate:modelValue":d[1]||(d[1]=v=>a.value=v)},null,512),[[q,a.value,void 0,{trim:!0}]])])]),t("div",I6,[T6,t("div",z6,[z(t("input",{type:"text",placeholder:"\u5907\u7528DNS\u5730\u5740","onUpdate:modelValue":d[2]||(d[2]=v=>n.value=v)},null,512),[[q,n.value,void 0,{trim:!0}]])])])],64))],64)):w("",!0),o.value?(l(),c("div",N6,f(o.value),1)):w("",!0)]),t("div",L6,[t("button",{class:"cbi-button cbi-button-remove close",type:"button",onClick:d[3]||(d[3]=v=>e.Close())},"\u53D6\u6D88"),t("button",{class:"app-btn cbi-button cbi-button-apply sumbit",disabled:p.value},"\u786E\u8BA4",8,V6)])],40,f6)):s.value==1?(l(),c("div",O6,[q6,G6,t("div",U6,[t("button",{class:"cbi-button cbi-button-remove close",type:"button",onClick:d[4]||(d[4]=v=>e.Close())},"\u5B8C\u6210")])])):w("",!0)]),_:1},8,["Close"]))}});var H6=D(W6,[["__scopeId","data-v-0547d798"]]);const j6=()=>{const e=document.createElement("div");document.body.appendChild(e);const s=X(H6,{Close:()=>{u()}});s.mount(e);const u=()=>{s.unmount(),e.remove()};return{Close:u}};const R6=e=>(N("data-v-0366de49"),e=e(),L(),e),J6={class:"nav-container"},Z6=W("\u7F51\u7EDC\u5411\u5BFC"),K6={key:0,class:"cbi-button cbi-button-apply cover-buttob app-button",href:"/cgi-bin/luci/admin/system/ota"},X6=W(" \u56FA\u4EF6\u66F4\u65B0 "),Q6=R6(()=>t("i",null,null,-1)),Y6=[X6,Q6],to=M({setup(e){const s=St(),u=V(()=>s.checkUpdate.needUpdate),a=()=>{j6()};return(n,o)=>{const p=Z("router-link");return l(),c("div",J6,[B(p,{class:"cbi-button cbi-button-apply cover-buttob",to:"/network"},{default:I(()=>[Z6]),_:1}),t("a",{class:"cbi-button cbi-button-apply cover-buttob",onClick:o[0]||(o[0]=_=>a())},"DNS\u914D\u7F6E"),k(u)?(l(),c("a",K6,Y6)):w("",!0)])}}});var eo=D(to,[["__scopeId","data-v-0366de49"]]);const $t=e=>(N("data-v-b053380c"),e=e(),L(),e),so={id:"page"},uo=$t(()=>t("em",null,null,-1)),ao=$t(()=>t("em",null,null,-1)),no=$t(()=>t("em",null,null,-1)),oo=$t(()=>t("em",null,null,-1)),io=$t(()=>t("em",null,null,-1)),lo=M({setup(e){return ls(),(s,u)=>(l(),c("div",so,[uo,B(Gs),ao,B(eo),no,B(jn),oo,B(b6),io]))}});var co=D(lo,[["__scopeId","data-v-b053380c"]]);const ro={};function _o(e,s){const u=Z("router-view");return l(),G(u)}var vo=D(ro,[["render",_o]]);const po={},dt=e=>(N("data-v-4a6c9ae9"),e=e(),L(),e),ho={id:"page"},mo=dt(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC",-1)),bo=dt(()=>t("h3",{class:"desc"},"\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB",-1)),fo={class:"network-containers"},$o={class:"network-container_item"},yo=dt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")])],-1)),Fo={class:"network-container_item"},go=dt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")])],-1)),Do={class:"network-container_item"},Eo=dt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")])],-1)),ko=dt(()=>t("div",{class:"info"},[W(" \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));function wo(e,s){const u=Z("router-link");return l(),c("div",ho,[mo,bo,t("div",fo,[t("div",$o,[B(u,{to:"/network/pppoe"},{default:I(()=>[yo]),_:1})]),t("div",Fo,[B(u,{to:"/network/dhcp"},{default:I(()=>[go]),_:1})]),t("div",Do,[B(u,{to:"/network/gateway"},{default:I(()=>[Eo]),_:1})])]),ko])}var Co=D(po,[["render",wo],["__scopeId","data-v-4a6c9ae9"]]);const yt=e=>(N("data-v-20bc3720"),e=e(),L(),e),So={key:0,id:"page"},Ao=yt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7",-1)),xo=yt(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B",-1)),Bo=["onSubmit"],Po=yt(()=>t("div",{class:"label-key"},[t("span",null,"\u5BBD\u5E26\u8D26\u53F7")],-1)),Mo=["disabled"],Io=yt(()=>t("div",{class:"label-key"},[t("span",null,"\u5BC6\u7801")],-1)),To=["disabled"],zo={key:0,class:"msg"},No={class:"btns"},Lo=["disabled"],Vo=W("\u8FD4\u56DE"),Oo={key:1,id:"page"},qo=yt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),Go={class:"btns"},Uo=["href"],Wo=W("\u8FD4\u56DE"),Ho=M({setup(e){const s=F(Et()),u=F(0),a=F({account:"",password:""}),n=F(""),o=F(!1);(()=>x(this,null,function*(){var r;o.value=!0;try{const i=yield P.Guide.Pppoe.GET();((r=i==null?void 0:i.data)==null?void 0:r.result)&&(a.value=i.data.result)}catch(i){n.value=i}o.value=!1}))();const _=()=>x(this,null,function*(){const r=a.value.account||"",i=a.value.password||"";if(r==""){n.value="\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A";return}if(i==""){n.value="\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A";return}o.value=!0;const d=m.Loading("\u914D\u7F6E\u4E2D...");try{const v=yield P.Guide.Pppoe.POST({account:r,password:i});if(v==null?void 0:v.data){const{error:g,success:$}=v.data;g&&(n.value=g),($==null||$==0)&&(m.Success("\u914D\u7F6E\u6210\u529F"),u.value=1)}}catch(v){n.value=v}o.value=!1,d.Close()});return(r,i)=>{const d=Z("router-link");return u.value==0?(l(),c("div",So,[Ao,xo,t("form",{onSubmit:tt(_,["prevent"])},[t("label",null,[Po,z(t("input",{type:"text","onUpdate:modelValue":i[0]||(i[0]=v=>a.value.account=v),placeholder:"\u5BBD\u5E26\u8D26\u53F7",required:"",disabled:o.value},null,8,Mo),[[q,a.value.account,void 0,{trim:!0}]])]),t("label",null,[Io,z(t("input",{type:"password","onUpdate:modelValue":i[1]||(i[1]=v=>a.value.password=v),placeholder:"\u5BBD\u5E26\u5BC6\u7801",required:"",disabled:o.value},null,8,To),[[q,a.value.password,void 0,{trim:!0}]])]),n.value?(l(),c("div",zo,f(n.value),1)):w("",!0),t("div",No,[t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",disabled:o.value},"\u4FDD\u5B58\u914D\u7F6E",8,Lo),B(d,{class:"cbi-button cbi-button-remove app-back",to:"/network"},{default:I(()=>[Vo]),_:1})])],40,Bo)])):u.value==1?(l(),c("div",Oo,[qo,t("div",Go,[t("a",{href:s.value,class:"cbi-button cbi-button-apply cover-buttob app-next"},"\u8FDB\u5165\u63A7\u5236\u53F0",8,Uo),B(d,{class:"cbi-button cbi-button-remove app-back",to:"/network"},{default:I(()=>[Wo]),_:1})])])):w("",!0)}}});var jo=D(Ho,[["__scopeId","data-v-20bc3720"]]);const R=e=>(N("data-v-b238e6fa"),e=e(),L(),e),Ro={key:0,id:"page"},Jo=R(()=>t("h2",{class:"title"},"\u914D\u7F6E\u4E92\u8054\u7F51",-1)),Zo=R(()=>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)),Ko=["onSubmit"],Xo=R(()=>t("div",{class:"label-key"},[t("span",null,"WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),Qo=R(()=>t("option",{value:"dhcp"},"\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09",-1)),Yo=R(()=>t("option",{value:"static"},"\u9759\u6001IP\u5730\u5740",-1)),t0=[Qo,Yo],e0=R(()=>t("div",{class:"label-key"},[t("span",null,"IP\u5730\u5740")],-1)),s0=["disabled"],u0={key:0,class:"msg"},a0=R(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),n0=["disabled"],o0={key:1,class:"msg"},i0=R(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),l0=["disabled"],c0=R(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),d0=R(()=>t("option",{value:"auto"},"\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09",-1)),r0=R(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),_0=[d0,r0],v0=R(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),p0=["onUpdate:modelValue","disabled"],h0=R(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),m0=["disabled"],b0=R(()=>t("div",{class:"label-key"},"\u5907\u7528DNS\u670D\u52A1\u5668",-1)),f0=["disabled"],$0={key:2,class:"msgs"},y0={class:"btns"},F0=["disabled"],g0=W("\u8FD4\u56DE"),D0={key:1,id:"page"},E0=R(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),k0={class:"btns"},w0=["href"],C0=W("\u8FD4\u56DE"),S0=M({setup(e){const s=F(Et()),u=F(0),a=F({}),n=F(""),o=F(""),p=F(""),_=F(!1),r=F(""),i=F(""),d=ht.checkIsIP;(()=>x(this,null,function*(){var h;_.value=!0;try{const b=yield P.Guide.ClientModel.GET();((h=b==null?void 0:b.data)==null?void 0:h.result)&&(a.value=b.data.result)}catch(b){n.value=b}_.value=!1}))();const g=h=>{h.target.value=="static"&&(a.value.subnetMask==null||a.value.subnetMask=="")&&(a.value.subnetMask="255.255.255.0")},$=h=>{h.target.value=="manual"},y=h=>{const b=h.target;if(b.value==""){r.value="";return}d(b.value)?r.value="":r.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740"},A=h=>{const b=h.target;if(b.value==""){i.value="";return}d(b.value)?i.value="":i.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740"},S=()=>x(this,null,function*(){const h={};switch(a.value.wanProto){case"dhcp":break;case"static":h.staticIp=a.value.staticIp,h.subnetMask=a.value.subnetMask,h.gateway=a.value.gateway;break}switch(a.value.dnsProto){case"auto":break;case"manual":h.manualDnsIp=[],a.value.manualDnsIp!=null&&a.value.manualDnsIp.length>0?h.manualDnsIp=a.value.manualDnsIp:(h.manualDnsIp.push(o.value),p.value&&h.manualDnsIp.push(p.value));break}h.dnsProto=a.value.dnsProto,h.wanProto=a.value.wanProto;const b=m.Loading("\u914D\u7F6E\u4E2D....");_.value=!0;try{const E=yield P.Guide.ClientModel.POST(h);if(E==null?void 0:E.data){const{success:C,error:O}=E==null?void 0:E.data;O&&(n.value=O),(C==null||C==0)&&(m.Success("\u914D\u7F6E\u6210\u529F"),u.value=1)}}catch(E){n.value=E}_.value=!1,b.Close()});return(h,b)=>{const E=Z("router-link");return u.value==0?(l(),c("div",Ro,[Jo,Zo,t("form",{onSubmit:tt(S,["prevent"])},[t("label",null,[Xo,z(t("select",{"onUpdate:modelValue":b[0]||(b[0]=C=>a.value.wanProto=C),onInput:g},t0,544),[[lt,a.value.wanProto]])]),a.value.wanProto=="static"?(l(),c(U,{key:0},[t("label",null,[e0,z(t("input",{type:"text","onUpdate:modelValue":b[1]||(b[1]=C=>a.value.staticIp=C),placeholder:"\u9759\u6001IP\u5730\u5740",required:"",disabled:_.value,onInput:y},null,40,s0),[[q,a.value.staticIp,void 0,{trim:!0}]])]),r.value?(l(),c("p",u0,f(r.value),1)):w("",!0),t("label",null,[a0,z(t("input",{type:"text","onUpdate:modelValue":b[2]||(b[2]=C=>a.value.subnetMask=C),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:_.value,onInput:A},null,40,n0),[[q,a.value.subnetMask,void 0,{trim:!0}]])]),i.value?(l(),c("p",o0,f(i.value),1)):w("",!0),t("label",null,[i0,z(t("input",{type:"text","onUpdate:modelValue":b[3]||(b[3]=C=>a.value.gateway=C),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:_.value},null,8,l0),[[q,a.value.gateway,void 0,{trim:!0}]])])],64)):w("",!0),t("label",null,[c0,z(t("select",{"onUpdate:modelValue":b[4]||(b[4]=C=>a.value.dnsProto=C),onInput:$},_0,544),[[lt,a.value.dnsProto]])]),a.value.dnsProto=="manual"?(l(),c(U,{key:1},[a.value.manualDnsIp!=null&&a.value.manualDnsIp.length>0?(l(!0),c(U,{key:0},ut(a.value.manualDnsIp,(C,O)=>(l(),c("label",null,[v0,z(t("input",{type:"text","onUpdate:modelValue":rt=>a.value.manualDnsIp[O]=rt,placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:_.value},null,8,p0),[[q,a.value.manualDnsIp[O],void 0,{trim:!0}]])]))),256)):(l(),c(U,{key:1},[t("label",null,[h0,z(t("input",{type:"text","onUpdate:modelValue":b[5]||(b[5]=C=>o.value=C),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:_.value},null,8,m0),[[q,o.value,void 0,{trim:!0}]])]),t("label",null,[b0,z(t("input",{type:"text","onUpdate:modelValue":b[6]||(b[6]=C=>p.value=C),placeholder:"\u5907\u7528DNS\u670D\u52A1\u5668",disabled:_.value},null,8,f0),[[q,p.value,void 0,{trim:!0}]])])],64))],64)):w("",!0),n.value?(l(),c("div",$0,f(n.value),1)):w("",!0),t("div",y0,[t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",disabled:_.value},"\u4FDD\u5B58\u914D\u7F6E",8,F0),B(E,{class:"cbi-button cbi-button-remove app-back",to:"/network"},{default:I(()=>[g0]),_:1})])],40,Ko)])):u.value==1?(l(),c("div",D0,[E0,t("div",k0,[t("a",{href:s.value,class:"cbi-button cbi-button-apply cover-buttob app-next"},"\u8FDB\u5165\u63A7\u5236\u53F0",8,w0),B(E,{class:"cbi-button cbi-button-remove app-back",to:"/network"},{default:I(()=>[C0]),_:1})])])):w("",!0)}}});var A0=D(S0,[["__scopeId","data-v-b238e6fa"]]);const H=e=>(N("data-v-7db7eed6"),e=e(),L(),e),x0={key:0,id:"page"},B0=H(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C",-1)),P0=H(()=>t("code",null,[W(" \u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002 "),t("br"),W("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\u62E8\u53F7\uFF0C\u7136\u540E\u7531ARS2\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002 ")],-1)),M0=H(()=>t("h3",{class:"desc"},"\u8BF7\u60A8\u83B7\u5F97\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\uFF0C\u8BB0\u5F55\u4EE5\u5907\u4F7F\u7528",-1)),I0=H(()=>t("div",{class:"info"},[W(" \u4F60\u53EF\u4EE5\u67E5\u770B\u6211\u4EEC\u7684 "),t("a",{target:"_blank",href:"https://doc.linkease.com/zh/guide/easepi/common.html#%E6%97%81%E8%B7%AF%E7%94%B1%E6%A8%A1%E5%BC%8F"},"\u914D\u7F6E\u6559\u7A0B")],-1)),T0={class:"btns"},z0=["disabled"],N0=W("\u8FD4\u56DE"),L0={key:1,id:"page"},V0=H(()=>t("h2",{class:"title"},"\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC",-1)),O0=H(()=>t("h3",{class:"desc"},"\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F",-1)),q0=["onSubmit"],G0=H(()=>t("div",{class:"label-key"},[t("span",null,"LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),U0={class:"label-value"},W0=H(()=>t("option",null,"\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740",-1)),H0=[W0],j0=H(()=>t("div",{class:"label-key"},[t("span",null,"IP \u5730\u5740\uFF08\u8BF7\u548C\u4E0A\u4E00\u6B65\u8BB0\u5F55\u7684\u4E3B\u8DEF\u7531\u5730\u5740\u5728\u540C\u4E00\u7F51\u6BB5\uFF09")],-1)),R0=["disabled"],J0=H(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),Z0=["disabled"],K0=H(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),X0=["disabled"],Q0=H(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),Y0=H(()=>t("option",{value:"auto"},"\u81EA\u52A8\u83B7\u53D6",-1)),t4=H(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),e4=[Y0,t4],s4={key:0},u4=H(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),a4=["disabled"],n4={key:1,class:"msgs"},o4={class:"btns"},i4=["disabled"],l4=W("\u8FD4\u56DE"),c4={key:2,id:"page"},d4=H(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),r4={class:"btns"},_4=["href"],v4=W("\u8FD4\u56DE"),p4=M({setup(e){const s=F(Et()),u=F(0),a=F(!1),n=F(""),o=F({subnetMask:"255.255.255.0",dnsProto:"auto",staticDnsIp:"",staticLanIp:"",gateway:""}),p=r=>{u.value=r},_=()=>x(this,null,function*(){const r=o.value,i=m.Loading("\u914D\u7F6E\u4E2D...");try{const d=yield P.Guide.GatewayRouter.POST(r);if(d==null?void 0:d.data){const{success:v,error:g}=d==null?void 0:d.data;g&&(n.value=g),(v==null||v==0)&&(m.Success("\u914D\u7F6E\u6210\u529F"),u.value=2)}}catch(d){n.value=d}i.Close()});return(r,i)=>{const d=Z("router-link");return u.value==0?(l(),c("div",x0,[B0,P0,M0,I0,t("div",T0,[t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",disabled:a.value,onClick:i[0]||(i[0]=v=>p(1))},"\u4E0B\u4E00\u6B65",8,z0),B(d,{class:"cbi-button cbi-button-remove app-back",to:"/network"},{default:I(()=>[N0]),_:1})])])):u.value==1?(l(),c("div",L0,[V0,O0,t("form",{onSubmit:tt(_,["prevent"])},[t("label",null,[G0,t("div",U0,[t("select",{disabled:"",style:Mt({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},H0,4)])]),t("label",null,[j0,z(t("input",{type:"text","onUpdate:modelValue":i[1]||(i[1]=v=>o.value.staticLanIp=v),placeholder:"IP\u5730\u5740",required:"",disabled:a.value},null,8,R0),[[q,o.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[J0,z(t("input",{type:"text","onUpdate:modelValue":i[2]||(i[2]=v=>o.value.subnetMask=v),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:a.value},null,8,Z0),[[q,o.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[K0,z(t("input",{type:"text","onUpdate:modelValue":i[3]||(i[3]=v=>o.value.gateway=v),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:a.value},null,8,X0),[[q,o.value.gateway,void 0,{trim:!0}]])]),t("label",null,[Q0,z(t("select",{"onUpdate:modelValue":i[4]||(i[4]=v=>o.value.dnsProto=v)},e4,512),[[lt,o.value.dnsProto]])]),o.value.dnsProto=="manual"?(l(),c("label",s4,[u4,z(t("input",{type:"text","onUpdate:modelValue":i[5]||(i[5]=v=>o.value.staticDnsIp=v),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:a.value},null,8,a4),[[q,o.value.staticDnsIp,void 0,{trim:!0}]])])):w("",!0),n.value?(l(),c("div",n4,f(n.value),1)):w("",!0),t("div",o4,[t("button",{class:"cbi-button cbi-button-apply cover-buttob app-next",disabled:a.value},"\u4FDD\u5B58\u914D\u7F6E",8,i4),B(d,{class:"cbi-button cbi-button-remove app-back",to:"/network"},{default:I(()=>[l4]),_:1})])],40,q0)])):u.value==2?(l(),c("div",c4,[d4,t("div",r4,[t("a",{href:s.value,class:"cbi-button cbi-button-apply cover-buttob app-next"},"\u8FDB\u5165\u63A7\u5236\u53F0",8,_4),B(d,{class:"cbi-button cbi-button-remove app-back",to:"/network"},{default:I(()=>[v4]),_:1})])])):w("",!0)}}});var h4=D(p4,[["__scopeId","data-v-7db7eed6"]]);const Et=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart/pages",Vt=te({history:ee(Et()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:co},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:vo,children:[{path:"",component:Co},{path:"pppoe",component:jo},{path:"dhcp",component:A0},{path:"gateway",component:h4}]}]});Vt.beforeEach((e,s)=>(e.meta.title,!0));const J=X(oe);J.component("svg-menu",ve);J.component("svg-system",$e);J.component("svg-download",ke);J.component("svg-store",Me);J.component("svg-info",Ve);J.component("svg-disk",c1);J.component("svg-nav",h1);J.component("progress-item",f1);J.component("svg-view-show",E1);J.component("svg-view-hidden",x1);J.component("article-item",N1);J.use(Vt);J.use(se());J.mount("#app");