diff --git a/.github/update.log b/.github/update.log index 3f3ca5af19..2d60b58002 100644 --- a/.github/update.log +++ b/.github/update.log @@ -1111,3 +1111,4 @@ Update On Mon Sep 1 20:35:55 CEST 2025 Update On Tue Sep 2 20:34:24 CEST 2025 Update On Wed Sep 3 20:39:00 CEST 2025 Update On Thu Sep 4 20:39:26 CEST 2025 +Update On Fri Sep 5 20:37:42 CEST 2025 diff --git a/clash-meta/component/resource/fetcher.go b/clash-meta/component/resource/fetcher.go index c384277cc9..24f24d47b9 100644 --- a/clash-meta/component/resource/fetcher.go +++ b/clash-meta/component/resource/fetcher.go @@ -183,7 +183,6 @@ func (f *Fetcher[V]) startPullLoop(forceUpdate bool) (err error) { if f.vehicle.Type() == types.File { f.watcher, err = fswatch.NewWatcher(fswatch.Options{ Path: []string{f.vehicle.Path()}, - Direct: true, Callback: f.updateCallback, }) if err != nil { diff --git a/clash-nyanpasu/backend/Cargo.lock b/clash-nyanpasu/backend/Cargo.lock index 9d1cb57434..ffcea316b9 100644 --- a/clash-nyanpasu/backend/Cargo.lock +++ b/clash-nyanpasu/backend/Cargo.lock @@ -858,7 +858,7 @@ dependencies = [ "bitflags 2.9.4", "cexpr", "clang-sys", - "itertools 0.12.1", + "itertools 0.10.5", "lazy_static", "lazycell", "log", @@ -2870,6 +2870,26 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +[[package]] +name = "fax" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f05de7d48f37cd6730705cbca900770cab77a89f413d23e100ad7fad7795a0ab" +dependencies = [ + "fax_derive", +] + +[[package]] +name = "fax_derive" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0aca10fb742cb43f9e7bb8467c91aa9bcb8e3ffbc6a6f7389bb93ffc920577d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "fdeflate" version = "0.3.7" @@ -4041,7 +4061,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc50b891e4acf8fe0e71ef88ec43ad82ee07b3810ad09de10f1d01f072ed4b98" dependencies = [ "byteorder", - "png", + "png 0.17.16", ] [[package]] @@ -4293,9 +4313,9 @@ dependencies = [ [[package]] name = "image" -version = "0.25.6" +version = "0.25.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db35664ce6b9810857a38a906215e75a9c879f0696556a39f59c62829710251a" +checksum = "529feb3e6769d234375c4cf1ee2ce713682b8e76538cb13f9fc23e1400a591e7" dependencies = [ "bytemuck", "byteorder-lite", @@ -4303,8 +4323,9 @@ dependencies = [ "exr", "gif", "image-webp", + "moxcms", "num-traits", - "png", + "png 0.18.0", "qoi", "ravif", "rayon", @@ -4649,12 +4670,6 @@ dependencies = [ "libc", ] -[[package]] -name = "jpeg-decoder" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07" - [[package]] name = "js-sys" version = "0.3.77" @@ -4917,9 +4932,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.27" +version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" [[package]] name = "loom" @@ -5238,6 +5253,16 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "moxcms" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd32fa8935aeadb8a8a6b6b351e40225570a37c43de67690383d87ef170cd08" +dependencies = [ + "num-traits", + "pxfm", +] + [[package]] name = "muda" version = "0.17.1" @@ -5253,7 +5278,7 @@ dependencies = [ "objc2-core-foundation", "objc2-foundation 0.3.1", "once_cell", - "png", + "png 0.17.16", "serde", "thiserror 2.0.16", "windows-sys 0.60.2", @@ -6896,6 +6921,19 @@ dependencies = [ "miniz_oxide", ] +[[package]] +name = "png" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97baced388464909d42d89643fe4361939af9b7ce7a31ee32a168f832a70f2a0" +dependencies = [ + "bitflags 2.9.4", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + [[package]] name = "polling" version = "3.10.0" @@ -7083,6 +7121,15 @@ dependencies = [ "syn 2.0.106", ] +[[package]] +name = "pxfm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e6bc742f83b3cc07a6ef04dfc0f3598f8af85405b56fc4f0da6adaa1e542fd3" +dependencies = [ + "num-traits", +] + [[package]] name = "qoi" version = "0.4.1" @@ -8990,7 +9037,7 @@ dependencies = [ "ico", "json-patch", "plist", - "png", + "png 0.17.16", "proc-macro2", "quote", "semver 1.0.26", @@ -9549,13 +9596,16 @@ dependencies = [ [[package]] name = "tiff" -version = "0.9.1" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e" +checksum = "af9605de7fee8d9551863fd692cce7637f548dbd9db9180fcc07ccc6d26c336f" dependencies = [ + "fax", "flate2", - "jpeg-decoder", + "half", + "quick-error", "weezl", + "zune-jpeg", ] [[package]] @@ -9612,7 +9662,7 @@ dependencies = [ "bytemuck", "cfg-if", "log", - "png", + "png 0.17.16", "tiny-skia-path", ] @@ -10018,7 +10068,7 @@ dependencies = [ "objc2-core-graphics", "objc2-foundation 0.3.1", "once_cell", - "png", + "png 0.17.16", "serde", "thiserror 2.0.16", "windows-sys 0.59.0", diff --git a/clash-nyanpasu/frontend/nyanpasu/package.json b/clash-nyanpasu/frontend/nyanpasu/package.json index 5f06bb64dc..ca3e87586a 100644 --- a/clash-nyanpasu/frontend/nyanpasu/package.json +++ b/clash-nyanpasu/frontend/nyanpasu/package.json @@ -19,7 +19,7 @@ "@mui/icons-material": "7.3.2", "@mui/lab": "7.0.0-beta.17", "@mui/material": "7.3.2", - "@mui/x-date-pickers": "8.11.0", + "@mui/x-date-pickers": "8.11.1", "@nyanpasu/interface": "workspace:^", "@nyanpasu/ui": "workspace:^", "@tailwindcss/postcss": "4.1.12", @@ -49,14 +49,14 @@ "react-use": "17.6.0", "rxjs": "7.8.2", "swr": "2.3.6", - "virtua": "0.42.0", + "virtua": "0.42.2", "vite-bundle-visualizer": "1.2.1" }, "devDependencies": { "@csstools/normalize.css": "12.1.1", "@emotion/babel-plugin": "11.13.5", "@emotion/react": "11.14.0", - "@iconify/json": "2.2.380", + "@iconify/json": "2.2.381", "@monaco-editor/react": "4.7.0", "@tanstack/react-query": "5.85.9", "@tanstack/react-router": "1.131.35", diff --git a/clash-nyanpasu/manifest/version.json b/clash-nyanpasu/manifest/version.json index b8efa3745c..65632fec64 100644 --- a/clash-nyanpasu/manifest/version.json +++ b/clash-nyanpasu/manifest/version.json @@ -2,7 +2,7 @@ "manifest_version": 1, "latest": { "mihomo": "v1.19.13", - "mihomo_alpha": "alpha-7e9e12c", + "mihomo_alpha": "alpha-f8ee5c1", "clash_rs": "v0.9.0", "clash_premium": "2023-09-05-gdcc8d87", "clash_rs_alpha": "0.9.0-alpha+sha.37539fb" @@ -69,5 +69,5 @@ "linux-armv7hf": "clash-armv7-unknown-linux-gnueabihf" } }, - "updated_at": "2025-09-03T22:20:49.655Z" + "updated_at": "2025-09-04T22:20:59.412Z" } diff --git a/clash-nyanpasu/pnpm-lock.yaml b/clash-nyanpasu/pnpm-lock.yaml index 6b84534a6c..acb2c48adb 100644 --- a/clash-nyanpasu/pnpm-lock.yaml +++ b/clash-nyanpasu/pnpm-lock.yaml @@ -240,8 +240,8 @@ importers: specifier: 7.3.2 version: 7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@mui/x-date-pickers': - specifier: 8.11.0 - version: 8.11.0(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: 8.11.1 + version: 8.11.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@nyanpasu/interface': specifier: workspace:^ version: link:../interface @@ -289,7 +289,7 @@ importers: version: 0.4.0 material-react-table: specifier: npm:@greenhat616/material-react-table@4.0.0 - version: '@greenhat616/material-react-table@4.0.0(94334661aafad5c433a48442ea854107)' + version: '@greenhat616/material-react-table@4.0.0(aa89623b6628ed9601459c7dd14b2699)' monaco-editor: specifier: 0.52.2 version: 0.52.2 @@ -310,7 +310,7 @@ importers: version: 1.6.5(react-dom@19.1.1(react@19.1.1))(react@19.1.1) react-hook-form-mui: specifier: 8.0.0 - version: 8.0.0(c22e4105c7c2d796f7f8ed517334d93d) + version: 8.0.0(713a47822f182782b49fcf422d4af5f2) react-i18next: specifier: 15.7.3 version: 15.7.3(i18next@25.4.2(typescript@5.9.2))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(typescript@5.9.2) @@ -330,8 +330,8 @@ importers: specifier: 2.3.6 version: 2.3.6(react@19.1.1) virtua: - specifier: 0.42.0 - version: 0.42.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(solid-js@1.9.5) + specifier: 0.42.2 + version: 0.42.2(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(solid-js@1.9.5) vite-bundle-visualizer: specifier: 1.2.1 version: 1.2.1(rollup@4.46.2) @@ -346,8 +346,8 @@ importers: specifier: 11.14.0 version: 11.14.0(@types/react@19.1.12)(react@19.1.1) '@iconify/json': - specifier: 2.2.380 - version: 2.2.380 + specifier: 2.2.381 + version: 2.2.381 '@monaco-editor/react': specifier: 4.7.0 version: 4.7.0(monaco-editor@0.52.2)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) @@ -1806,8 +1806,8 @@ packages: prettier-plugin-ember-template-tag: optional: true - '@iconify/json@2.2.380': - resolution: {integrity: sha512-+Al/Q+mMB/nLz/tawmJEOkCs6+RKKVUS/Yg9I80h2yRpu0kIzxVLQRfF0NifXz/fH92vDVXbS399wio4lMVF4Q==} + '@iconify/json@2.2.381': + resolution: {integrity: sha512-YXGLVTau1yq44krZmG4hfI4rIBzL2wXg9Yr6WQRoXBZ6ScB6bdoANEoLYKARGNAFyxoNsc1FtTkcHIlBdJc9uQ==} '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -1971,14 +1971,6 @@ packages: '@types/react': optional: true - '@mui/types@7.4.5': - resolution: {integrity: sha512-ZPwlAOE3e8C0piCKbaabwrqZbW4QvWz0uapVPWya7fYj6PeDkl5sSJmomT7wjOcZGPB48G/a6Ubidqreptxz4g==} - peerDependencies: - '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 - peerDependenciesMeta: - '@types/react': - optional: true - '@mui/types@7.4.6': resolution: {integrity: sha512-NVBbIw+4CDMMppNamVxyTccNv0WxtDb7motWDlMeSC8Oy95saj1TIZMGynPpFLePt3yOD8TskzumeqORCgRGWw==} peerDependencies: @@ -1987,16 +1979,6 @@ packages: '@types/react': optional: true - '@mui/utils@7.3.1': - resolution: {integrity: sha512-/31y4wZqVWa0jzMnzo6JPjxwP6xXy4P3+iLbosFg/mJQowL1KIou0LC+lquWW60FKVbKz5ZUWBg2H3jausa0pw==} - engines: {node: '>=14.0.0'} - peerDependencies: - '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 - peerDependenciesMeta: - '@types/react': - optional: true - '@mui/utils@7.3.2': resolution: {integrity: sha512-4DMWQGenOdLnM3y/SdFQFwKsCLM+mqxzvoWp9+x2XdEzXapkznauHLiXtSohHs/mc0+5/9UACt1GdugCX2te5g==} engines: {node: '>=14.0.0'} @@ -2007,8 +1989,8 @@ packages: '@types/react': optional: true - '@mui/x-date-pickers@8.11.0': - resolution: {integrity: sha512-UHGVG8+zb9GkpUpHHCBCRA4ugrz1XOsGIPTs1cHDtZ/DNkCi+hrhKW1EH5Scoxn9GjE3PXxiN5eH+ZVpeq0jcw==} + '@mui/x-date-pickers@8.11.1': + resolution: {integrity: sha512-q3n7gHQXnupkddzSJSFhbkYANheeJX0rPfXr9BSgoUlcZF8i5fav8hurBZqpQNmXTffGf6yfJ7KblB0RnPqqkA==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -2044,8 +2026,8 @@ packages: moment-jalaali: optional: true - '@mui/x-internals@8.11.0': - resolution: {integrity: sha512-SFPMLMkNWSEOxIgKMQ9RqEL01klb1lwIdd4f4d18fJNrJOlTxeIDWd6eVllS5sRLdKVsE5FC1802V+yLe6W+pQ==} + '@mui/x-internals@8.11.1': + resolution: {integrity: sha512-/l0VpgdgYhC7DzqdWaQcuv3wX7cr+o3DBnoKa/t/Vze3y/Wh2VeNSJY/TsW2dIVkFAA9dsjUEMjclT7ScZTDqA==} engines: {node: '>=14.0.0'} peerDependencies: react: ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -8430,8 +8412,8 @@ packages: vfile@6.0.1: resolution: {integrity: sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==} - virtua@0.42.0: - resolution: {integrity: sha512-L+5ArLXEs1IWVRmEjrcycQ1MstOZ3uT7+/SS1VAObjHtVgURx38QVF1Mnt9KK+5RYn1mi51jdi1KOpszhsgGAg==} + virtua@0.42.2: + resolution: {integrity: sha512-9ZQ1HtN6IhJ9tEG6NenjbcSPGpnbd8QeHLEjPadZ1rMVX7T4g+9QybetSeECNq2q2sXh799xw4mrMCYKx4HXmQ==} peerDependencies: react: '>=16.14.0' react-dom: '>=16.14.0' @@ -10176,13 +10158,13 @@ snapshots: '@fastify/busboy@2.1.1': {} - '@greenhat616/material-react-table@4.0.0(94334661aafad5c433a48442ea854107)': + '@greenhat616/material-react-table@4.0.0(aa89623b6628ed9601459c7dd14b2699)': dependencies: '@emotion/react': 11.14.0(@types/react@19.1.12)(react@19.1.1) '@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1) '@mui/icons-material': 7.3.2(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@types/react@19.1.12)(react@19.1.1) '@mui/material': 7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) - '@mui/x-date-pickers': 8.11.0(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + '@mui/x-date-pickers': 8.11.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@tanstack/match-sorter-utils': 8.19.4 '@tanstack/react-table': 8.21.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@tanstack/react-virtual': 3.13.9(react-dom@19.1.1(react@19.1.1))(react@19.1.1) @@ -10220,7 +10202,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@iconify/json@2.2.380': + '@iconify/json@2.2.381': dependencies: '@iconify/types': 2.0.0 pathe: 1.1.2 @@ -10416,30 +10398,12 @@ snapshots: '@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1) '@types/react': 19.1.12 - '@mui/types@7.4.5(@types/react@19.1.12)': - dependencies: - '@babel/runtime': 7.28.2 - optionalDependencies: - '@types/react': 19.1.12 - '@mui/types@7.4.6(@types/react@19.1.12)': dependencies: '@babel/runtime': 7.28.3 optionalDependencies: '@types/react': 19.1.12 - '@mui/utils@7.3.1(@types/react@19.1.12)(react@19.1.1)': - dependencies: - '@babel/runtime': 7.28.2 - '@mui/types': 7.4.5(@types/react@19.1.12) - '@types/prop-types': 15.7.15 - clsx: 2.1.1 - prop-types: 15.8.1 - react: 19.1.1 - react-is: 19.1.1 - optionalDependencies: - '@types/react': 19.1.12 - '@mui/utils@7.3.2(@types/react@19.1.12)(react@19.1.1)': dependencies: '@babel/runtime': 7.28.3 @@ -10452,13 +10416,13 @@ snapshots: optionalDependencies: '@types/react': 19.1.12 - '@mui/x-date-pickers@8.11.0(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)': + '@mui/x-date-pickers@8.11.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)': dependencies: - '@babel/runtime': 7.28.2 + '@babel/runtime': 7.28.3 '@mui/material': 7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@mui/system': 7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1) - '@mui/utils': 7.3.1(@types/react@19.1.12)(react@19.1.1) - '@mui/x-internals': 8.11.0(@types/react@19.1.12)(react@19.1.1) + '@mui/utils': 7.3.2(@types/react@19.1.12)(react@19.1.1) + '@mui/x-internals': 8.11.1(@types/react@19.1.12)(react@19.1.1) '@types/react-transition-group': 4.4.12(@types/react@19.1.12) clsx: 2.1.1 prop-types: 15.8.1 @@ -10472,10 +10436,10 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-internals@8.11.0(@types/react@19.1.12)(react@19.1.1)': + '@mui/x-internals@8.11.1(@types/react@19.1.12)(react@19.1.1)': dependencies: - '@babel/runtime': 7.28.2 - '@mui/utils': 7.3.1(@types/react@19.1.12)(react@19.1.1) + '@babel/runtime': 7.28.3 + '@mui/utils': 7.3.2(@types/react@19.1.12)(react@19.1.1) react: 19.1.1 reselect: 5.1.1 use-sync-external-store: 1.5.0(react@19.1.1) @@ -16070,14 +16034,14 @@ snapshots: react: 19.1.1 react-dom: 19.1.1(react@19.1.1) - react-hook-form-mui@8.0.0(c22e4105c7c2d796f7f8ed517334d93d): + react-hook-form-mui@8.0.0(713a47822f182782b49fcf422d4af5f2): dependencies: '@mui/material': 7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) react: 19.1.1 react-hook-form: 7.52.1(react@19.1.1) optionalDependencies: '@mui/icons-material': 7.3.2(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@types/react@19.1.12)(react@19.1.1) - '@mui/x-date-pickers': 8.11.0(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + '@mui/x-date-pickers': 8.11.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@mui/material@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@mui/system@7.3.2(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(react@19.1.1))(@types/react@19.1.12)(dayjs@1.11.18)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) react-hook-form@7.52.1(react@19.1.1): dependencies: @@ -16382,7 +16346,7 @@ snapshots: rtl-css-js@1.16.1: dependencies: - '@babel/runtime': 7.28.2 + '@babel/runtime': 7.28.3 run-parallel@1.2.0: dependencies: @@ -17500,7 +17464,7 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - virtua@0.42.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(solid-js@1.9.5): + virtua@0.42.2(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(solid-js@1.9.5): optionalDependencies: react: 19.1.1 react-dom: 19.1.1(react@19.1.1) diff --git a/geoip/.github/workflows/build.yml b/geoip/.github/workflows/build.yml index a535cae24f..6b084d5517 100644 --- a/geoip/.github/workflows/build.yml +++ b/geoip/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: ./go.mod diff --git a/geoip/go.mod b/geoip/go.mod index fa8de7509a..2b9aa9d2e5 100644 --- a/geoip/go.mod +++ b/geoip/go.mod @@ -1,35 +1,31 @@ module github.com/Loyalsoldier/geoip -go 1.23 - -toolchain go1.23.5 +go 1.24 require ( github.com/klauspost/compress v1.18.0 github.com/maxmind/mmdbwriter v1.0.0 - github.com/oschwald/geoip2-golang v1.11.0 + github.com/oschwald/geoip2-golang v1.13.0 github.com/oschwald/maxminddb-golang v1.13.1 - github.com/sagernet/sing-box v1.11.6 - github.com/spf13/cobra v1.9.1 - github.com/tailscale/hujson v0.0.0-20250226034555-ec1d1c113d33 + github.com/sagernet/sing-box v1.12.4 + github.com/spf13/cobra v1.10.1 + github.com/tailscale/hujson v0.0.0-20250605163823-992244df8c5a github.com/tidwall/gjson v1.18.0 go4.org/netipx v0.0.0-20231129151722-fdeea329fbba - google.golang.org/protobuf v1.36.6 + google.golang.org/protobuf v1.36.8 gopkg.in/yaml.v2 v2.4.0 ) require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/miekg/dns v1.1.63 // indirect - github.com/sagernet/sing v0.6.5 // indirect - github.com/sagernet/sing-dns v0.4.0 // indirect - github.com/spf13/pflag v1.0.6 // indirect + github.com/miekg/dns v1.1.67 // indirect + github.com/sagernet/sing v0.7.6-0.20250825114712-2aeec120ce28 // indirect + github.com/spf13/pflag v1.0.9 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect - golang.org/x/mod v0.20.0 // indirect - golang.org/x/net v0.34.0 // indirect - golang.org/x/sync v0.10.0 // indirect - golang.org/x/sys v0.30.0 // indirect - golang.org/x/tools v0.24.0 // indirect + golang.org/x/mod v0.27.0 // indirect + golang.org/x/net v0.43.0 // indirect + golang.org/x/sync v0.16.0 // indirect + golang.org/x/sys v0.35.0 // indirect + golang.org/x/tools v0.36.0 // indirect ) diff --git a/geoip/go.sum b/geoip/go.sum index a188a41429..2c654ab245 100644 --- a/geoip/go.sum +++ b/geoip/go.sum @@ -1,54 +1,35 @@ github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a h1:fEBsGL/sjAuJrgah5XqmmYsTLzJp/TO9Lhy39gkverk= -github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo= github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/maxmind/mmdbwriter v1.0.0 h1:bieL4P6yaYaHvbtLSwnKtEvScUKKD6jcKaLiTM3WSMw= github.com/maxmind/mmdbwriter v1.0.0/go.mod h1:noBMCUtyN5PUQ4H8ikkOvGSHhzhLok51fON2hcrpKj8= -github.com/miekg/dns v1.1.63 h1:8M5aAw6OMZfFXTT7K5V0Eu5YiiL8l7nUAkyN6C9YwaY= -github.com/miekg/dns v1.1.63/go.mod h1:6NGHfjhpmr5lt3XPLuyfDJi5AXbNIPM9PY6H6sF1Nfs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/onsi/ginkgo/v2 v2.9.7 h1:06xGQy5www2oN160RtEZoTvnP2sPhEfePYmCDc2szss= -github.com/onsi/ginkgo/v2 v2.9.7/go.mod h1:cxrmXWykAwTwhQsJOPfdIDiJ+l2RYq7U8hFU+M/1uw0= -github.com/oschwald/geoip2-golang v1.11.0 h1:hNENhCn1Uyzhf9PTmquXENiWS6AlxAEnBII6r8krA3w= -github.com/oschwald/geoip2-golang v1.11.0/go.mod h1:P9zG+54KPEFOliZ29i7SeYZ/GM6tfEL+rgSn03hYuUo= +github.com/miekg/dns v1.1.67 h1:kg0EHj0G4bfT5/oOys6HhZw4vmMlnoZ+gDu8tJ/AlI0= +github.com/miekg/dns v1.1.67/go.mod h1:fujopn7TB3Pu3JM69XaawiU0wqjpL9/8xGop5UrTPps= +github.com/oschwald/geoip2-golang v1.13.0 h1:Q44/Ldc703pasJeP5V9+aFSZFmBN7DKHbNsSFzQATJI= +github.com/oschwald/geoip2-golang v1.13.0/go.mod h1:P9zG+54KPEFOliZ29i7SeYZ/GM6tfEL+rgSn03hYuUo= github.com/oschwald/maxminddb-golang v1.13.1 h1:G3wwjdN9JmIK2o/ermkHM+98oX5fS+k5MbwsmL4MRQE= github.com/oschwald/maxminddb-golang v1.13.1/go.mod h1:K4pgV9N/GcK694KSTmVSDTODk4IsCNThNdTmnaBZ/F8= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/quic-go/qpack v0.4.0 h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo= -github.com/quic-go/qpack v0.4.0/go.mod h1:UZVnYIfi5GRk+zI9UMaCPsmZ2xKJP7XBUvVyT1Knj9A= -github.com/quic-go/qtls-go1-20 v0.4.1 h1:D33340mCNDAIKBqXuAvexTNMUByrYmFYVfKfDN5nfFs= -github.com/quic-go/qtls-go1-20 v0.4.1/go.mod h1:X9Nh97ZL80Z+bX/gUXMbipO6OxdiDi58b/fMC9mAL+k= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sagernet/quic-go v0.49.0-beta.1 h1:3LdoCzVVfYRibZns1tYWSIoB65fpTmrwy+yfK8DQ8Jk= -github.com/sagernet/quic-go v0.49.0-beta.1/go.mod h1:uesWD1Ihrldq1M3XtjuEvIUqi8WHNsRs71b3Lt1+p/U= -github.com/sagernet/sing v0.6.5 h1:TBKTK6Ms0/MNTZm+cTC2hhKunE42XrNIdsxcYtWqeUU= -github.com/sagernet/sing v0.6.5/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak= -github.com/sagernet/sing-box v1.11.6 h1:PE5gg3RR3fU/ECWC3O3o1UksIosXoVxCy3Kxz6siNfY= -github.com/sagernet/sing-box v1.11.6/go.mod h1:iKFH3Hqus29C3+CxQBsqk2+54SEjDDk2ljYplxN7Uzs= -github.com/sagernet/sing-dns v0.4.0 h1:+mNoOuR3nljjouCH+qMg4zHI1+R9T2ReblGFkZPEndc= -github.com/sagernet/sing-dns v0.4.0/go.mod h1:dweQs54ng2YGzoJfz+F9dGuDNdP5pJ3PLeggnK5VWc8= -github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= -github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= -github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= -github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/sagernet/sing v0.7.6-0.20250825114712-2aeec120ce28 h1:C8Lnqd0Q+C15kwaMiDsfq5S45rhhaQMBG91TT+6oFVo= +github.com/sagernet/sing v0.7.6-0.20250825114712-2aeec120ce28/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak= +github.com/sagernet/sing-box v1.12.4 h1:FaKRKIorsior0nzjCoPSESonjHnmSOD/moKIA56OkLM= +github.com/sagernet/sing-box v1.12.4/go.mod h1:sYGo3cT+O9YwEucIqz+2JBrNTnvuU2F/+vpnbhuV3Qc= +github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s= +github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0= +github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= +github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/tailscale/hujson v0.0.0-20250226034555-ec1d1c113d33 h1:idh63uw+gsG05HwjZsAENCG4KZfyvjK03bpjxa5qRRk= -github.com/tailscale/hujson v0.0.0-20250226034555-ec1d1c113d33/go.mod h1:EbW0wDK/qEUYI0A5bqq0C2kF8JTQwWONmGDBbzsxxHo= +github.com/tailscale/hujson v0.0.0-20250605163823-992244df8c5a h1:a6TNDN9CgG+cYjaeN8l2mc4kSz2iMiCDQxPEyltUV/I= +github.com/tailscale/hujson v0.0.0-20250605163823-992244df8c5a/go.mod h1:EbW0wDK/qEUYI0A5bqq0C2kF8JTQwWONmGDBbzsxxHo= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= @@ -57,27 +38,20 @@ github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= go4.org/netipx v0.0.0-20231129151722-fdeea329fbba h1:0b9z3AuHCjxk0x/opv64kcgZLBseWJUpBw5I82+2U4M= go4.org/netipx v0.0.0-20231129151722-fdeea329fbba/go.mod h1:PLyyIXexvUFg3Owu6p/WfdlivPbZJsZdgWZlrGope/Y= -golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc= -golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc= -golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8= -golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY= -golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= -golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0= -golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= -golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ= -golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= -golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= -golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= -golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= -golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= -google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= -google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= +golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ= +golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc= +golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE= +golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg= +golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw= +golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= +golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI= +golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/tools v0.36.0 h1:kWS0uv/zsvHEle1LbV5LE8QujrxB3wfQyxHfhOk0Qkg= +golang.org/x/tools v0.36.0/go.mod h1:WBDiHKJK8YgLHlcQPYQzNCkUxUypCaa5ZegCVutKm+s= +google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc= +google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/lede/target/linux/bcm53xx/Makefile b/lede/target/linux/bcm53xx/Makefile index dc9dc5cb46..8f11a293f7 100644 --- a/lede/target/linux/bcm53xx/Makefile +++ b/lede/target/linux/bcm53xx/Makefile @@ -12,7 +12,7 @@ CPU_TYPE:=cortex-a9 SUBTARGETS:=generic KERNEL_PATCHVER:=6.6 -KERNEL_TESTING_PATCHVER:=6.1 +KERNEL_TESTING_PATCHVER:=5.4 define Target/Description Build firmware images for Broadcom based BCM47xx/53xx routers with ARM CPU, *not* MIPS. diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm-nsp-ax.dtsi b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm-nsp-ax.dtsi new file mode 100644 index 0000000000..77bc508fd4 --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm-nsp-ax.dtsi @@ -0,0 +1,71 @@ + +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom Northstar Plus Ax stepping-specific bindings. + * Notable differences from B0+ are the secondary-boot-reg and + * lack of DMA coherency. + */ + +&cpu1 { + secondary-boot-reg = <0xffff042c>; +}; + +&dma { + /delete-property/ dma-coherent; +}; + +&sdio { + /delete-property/ dma-coherent; +}; + +&amac0 { + /delete-property/ dma-coherent; +}; + +&amac1 { + /delete-property/ dma-coherent; +}; + +&amac2 { + /delete-property/ dma-coherent; +}; + +&ehci0 { + /delete-property/ dma-coherent; +}; + +&mailbox { + /delete-property/ dma-coherent; +}; + +&xhci { + /delete-property/ dma-coherent; +}; + +&ehci0 { + /delete-property/ dma-coherent; +}; + +&ohci0 { + /delete-property/ dma-coherent; +}; + +&i2c0 { + /delete-property/ dma-coherent; +}; + +&sata { + /delete-property/ dma-coherent; +}; + +&pcie0 { + /delete-property/ dma-coherent; +}; + +&pcie1 { + /delete-property/ dma-coherent; +}; + +&pcie2 { + /delete-property/ dma-coherent; +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm-nsp.dtsi b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm-nsp.dtsi new file mode 100644 index 0000000000..11866cf821 --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm-nsp.dtsi @@ -0,0 +1,685 @@ +/* + * BSD LICENSE + * + * Copyright(c) 2015 Broadcom Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Broadcom Corporation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include +#include + +/ { + #address-cells = <1>; + #size-cells = <1>; + compatible = "brcm,nsp"; + model = "Broadcom Northstar Plus SoC"; + interrupt-parent = <&gic>; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + ethernet0 = &amac0; + ethernet1 = &amac1; + ethernet2 = &amac2; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + next-level-cache = <&L2>; + reg = <0x0>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + next-level-cache = <&L2>; + enable-method = "brcm,bcm-nsp-smp"; + secondary-boot-reg = <0xffff0fec>; + reg = <0x1>; + }; + }; + + pmu { + compatible = "arm,cortex-a9-pmu"; + interrupts = ; + interrupt-affinity = <&cpu0>, <&cpu1>; + }; + + mpcore-bus@19000000 { + compatible = "simple-bus"; + ranges = <0x00000000 0x19000000 0x00023000>; + #address-cells = <1>; + #size-cells = <1>; + + a9pll: arm_clk@0 { + #clock-cells = <0>; + compatible = "brcm,nsp-armpll"; + clocks = <&osc>; + reg = <0x00000 0x1000>; + }; + + timer@20200 { + compatible = "arm,cortex-a9-global-timer"; + reg = <0x20200 0x100>; + interrupts = ; + clocks = <&periph_clk>; + }; + + twd-timer@20600 { + compatible = "arm,cortex-a9-twd-timer"; + reg = <0x20600 0x20>; + interrupts = ; + clocks = <&periph_clk>; + }; + + twd-watchdog@20620 { + compatible = "arm,cortex-a9-twd-wdt"; + reg = <0x20620 0x20>; + interrupts = ; + clocks = <&periph_clk>; + }; + + gic: interrupt-controller@21000 { + compatible = "arm,cortex-a9-gic"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x21000 0x1000>, + <0x20100 0x100>; + }; + + L2: l2-cache@22000 { + compatible = "arm,pl310-cache"; + reg = <0x22000 0x1000>; + cache-unified; + cache-level = <2>; + }; + }; + + clocks { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + osc: oscillator { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <25000000>; + }; + + iprocmed: iprocmed { + #clock-cells = <0>; + compatible = "fixed-factor-clock"; + clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>; + clock-div = <2>; + clock-mult = <1>; + }; + + iprocslow: iprocslow { + #clock-cells = <0>; + compatible = "fixed-factor-clock"; + clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>; + clock-div = <4>; + clock-mult = <1>; + }; + + periph_clk: periph_clk { + #clock-cells = <0>; + compatible = "fixed-factor-clock"; + clocks = <&a9pll>; + clock-div = <2>; + clock-mult = <1>; + }; + }; + + axi: axi@18000000 { + compatible = "simple-bus"; + ranges = <0x00000000 0x18000000 0x0011c40c>; + #address-cells = <1>; + #size-cells = <1>; + + gpioa: gpio@20 { + compatible = "brcm,nsp-gpio-a"; + reg = <0x0020 0x70>, + <0x3f1c4 0x1c>; + #gpio-cells = <2>; + gpio-controller; + ngpios = <32>; + interrupt-controller; + interrupts = ; + gpio-ranges = <&pinctrl 0 0 32>; + }; + + uart0: serial@300 { + compatible = "ns16550a"; + reg = <0x0300 0x100>; + interrupts = ; + clocks = <&osc>; + status = "disabled"; + }; + + uart1: serial@400 { + compatible = "ns16550a"; + reg = <0x0400 0x100>; + interrupts = ; + clocks = <&osc>; + status = "disabled"; + }; + + dma: dma@20000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x20000 0x1000>; + interrupts = , + , + , + , + , + , + , + , + ; + clocks = <&iprocslow>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + + sdio: mmc@21000 { + compatible = "brcm,sdhci-iproc-cygnus"; + reg = <0x21000 0x100>; + interrupts = ; + sdhci,auto-cmd12; + clocks = <&lcpll0 BCM_NSP_LCPLL0_SDIO_CLK>; + dma-coherent; + status = "disabled"; + }; + + amac0: ethernet@22000 { + compatible = "brcm,nsp-amac"; + reg = <0x022000 0x1000>, + <0x110000 0x1000>; + reg-names = "amac_base", "idm_base"; + interrupts = ; + dma-coherent; + status = "disabled"; + }; + + amac1: ethernet@23000 { + compatible = "brcm,nsp-amac"; + reg = <0x023000 0x1000>, + <0x111000 0x1000>; + reg-names = "amac_base", "idm_base"; + interrupts = ; + dma-coherent; + status = "disabled"; + }; + + amac2: ethernet@24000 { + compatible = "brcm,nsp-amac"; + reg = <0x024000 0x1000>, + <0x112000 0x1000>; + reg-names = "amac_base", "idm_base"; + interrupts = ; + dma-coherent; + status = "disabled"; + }; + + mailbox: mailbox@25c00 { + compatible = "brcm,iproc-fa2-mbox"; + reg = <0x25c00 0x400>; + interrupts = ; + #mbox-cells = <1>; + brcm,rx-status-len = <32>; + brcm,use-bcm-hdr; + dma-coherent; + }; + + nand_controller: nand-controller@26000 { + compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; + reg = <0x026000 0x600>, + <0x11b408 0x600>, + <0x026f00 0x20>; + reg-names = "nand", "iproc-idm", "iproc-ext"; + interrupts = ; + + #address-cells = <1>; + #size-cells = <0>; + + brcm,nand-has-wp; + }; + + qspi: spi@27200 { + compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi"; + reg = <0x027200 0x184>, + <0x027000 0x124>, + <0x11c408 0x004>, + <0x0273a0 0x01c>; + reg-names = "mspi", "bspi", "intr_regs", + "intr_status_reg"; + interrupts = , + , + , + , + , + , + ; + interrupt-names = "spi_lr_fullness_reached", + "spi_lr_session_aborted", + "spi_lr_impatient", + "spi_lr_session_done", + "spi_lr_overhead", + "mspi_done", + "mspi_halted"; + clocks = <&iprocmed>; + clock-names = "iprocmed"; + num-cs = <2>; + #address-cells = <1>; + #size-cells = <0>; + }; + + xhci: usb@29000 { + compatible = "generic-xhci"; + reg = <0x29000 0x1000>; + interrupts = ; + phys = <&usb3_phy>; + phy-names = "usb3-phy"; + dma-coherent; + status = "disabled"; + }; + + ehci0: usb@2a000 { + compatible = "generic-ehci"; + reg = <0x2a000 0x100>; + interrupts = ; + dma-coherent; + status = "disabled"; + }; + + ohci0: usb@2b000 { + compatible = "generic-ohci"; + reg = <0x2b000 0x100>; + interrupts = ; + dma-coherent; + status = "disabled"; + }; + + crypto@2f000 { + compatible = "brcm,spum-nsp-crypto"; + reg = <0x2f000 0x900>; + mboxes = <&mailbox 0>; + }; + + gpiob: gpio@30000 { + compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio"; + reg = <0x30000 0x50>; + #gpio-cells = <2>; + gpio-controller; + ngpios = <4>; + interrupt-controller; + interrupts = ; + }; + + pwm: pwm@31000 { + compatible = "brcm,iproc-pwm"; + reg = <0x31000 0x28>; + clocks = <&osc>; + #pwm-cells = <3>; + status = "disabled"; + }; + + mdio: mdio@32000 { + compatible = "brcm,iproc-mdio"; + reg = <0x32000 0x8>; + #size-cells = <0>; + #address-cells = <1>; + }; + + mdio-mux@32000 { + compatible = "mdio-mux-mmioreg", "mdio-mux"; + reg = <0x32000 0x4>; + mux-mask = <0x200>; + #address-cells = <1>; + #size-cells = <0>; + mdio-parent-bus = <&mdio>; + + mdio_int: mdio@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + }; + + mdio_ext: mdio@200 { + reg = <0x200>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + + rng: rng@33000 { + compatible = "brcm,bcm-nsp-rng"; + reg = <0x33000 0x14>; + }; + + ccbtimer0: timer@34000 { + compatible = "arm,sp804"; + reg = <0x34000 0x1000>; + interrupts = , + ; + clocks = <&iprocslow>; + clock-names = "apb_pclk"; + }; + + ccbtimer1: timer@35000 { + compatible = "arm,sp804"; + reg = <0x35000 0x1000>; + interrupts = , + ; + clocks = <&iprocslow>; + clock-names = "apb_pclk"; + }; + + srab: srab@36000 { + compatible = "brcm,nsp-srab"; + reg = <0x36000 0x1000>, + <0x3f308 0x8>, + <0x3f410 0xc>; + reg-names = "srab", "mux_config", "sgmii"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "link_state_p0", + "link_state_p1", + "link_state_p2", + "link_state_p3", + "link_state_p4", + "link_state_p5", + "link_state_p7", + "link_state_p8", + "phy", + "ts", + "imp_sleep_timer_p5", + "imp_sleep_timer_p7", + "imp_sleep_timer_p8"; + status = "disabled"; + + /* ports are defined in board DTS */ + }; + + i2c0: i2c@38000 { + compatible = "brcm,iproc-i2c"; + reg = <0x38000 0x50>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clock-frequency = <100000>; + dma-coherent; + status = "disabled"; + }; + + watchdog@39000 { + compatible = "arm,sp805", "arm,primecell"; + reg = <0x39000 0x1000>; + interrupts = ; + clocks = <&iprocslow>, <&iprocslow>; + clock-names = "wdogclk", "apb_pclk"; + }; + + lcpll0: lcpll0@3f100 { + #clock-cells = <1>; + compatible = "brcm,nsp-lcpll0"; + reg = <0x3f100 0x14>; + clocks = <&osc>; + clock-output-names = "lcpll0", "pcie_phy", "sdio", + "ddr_phy"; + }; + + genpll: genpll@3f140 { + #clock-cells = <1>; + compatible = "brcm,nsp-genpll"; + reg = <0x3f140 0x24>; + clocks = <&osc>; + clock-output-names = "genpll", "phy", "ethernetclk", + "usbclk", "iprocfast", "sata1", + "sata2"; + }; + + pinctrl: pinctrl@3f1c0 { + compatible = "brcm,nsp-pinmux"; + reg = <0x3f1c0 0x04>, + <0x30028 0x04>, + <0x3f408 0x04>; + }; + + thermal: thermal@3f2c0 { + compatible = "brcm,ns-thermal"; + reg = <0x3f2c0 0x10>; + #thermal-sensor-cells = <0>; + }; + + sata_phy: sata_phy@40100 { + compatible = "brcm,iproc-nsp-sata-phy"; + reg = <0x40100 0x340>; + reg-names = "phy"; + #address-cells = <1>; + #size-cells = <0>; + + sata_phy0: sata-phy@0 { + reg = <0>; + #phy-cells = <0>; + status = "disabled"; + }; + + sata_phy1: sata-phy@1 { + reg = <1>; + #phy-cells = <0>; + status = "disabled"; + }; + }; + + sata: ahci@41000 { + compatible = "brcm,bcm-nsp-ahci"; + reg-names = "ahci", "top-ctrl"; + reg = <0x41000 0x1000>, <0x40020 0x1c>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + dma-coherent; + status = "disabled"; + + sata0: sata-port@0 { + reg = <0>; + phys = <&sata_phy0>; + phy-names = "sata-phy"; + }; + + sata1: sata-port@1 { + reg = <1>; + phys = <&sata_phy1>; + phy-names = "sata-phy"; + }; + }; + + usb3_phy: usb3-phy@104000 { + compatible = "brcm,ns-bx-usb3-phy"; + reg = <0x104000 0x1000>, + <0x032000 0x1000>; + reg-names = "dmp", "ccb-mii"; + #phy-cells = <0>; + status = "disabled"; + }; + }; + + pcie0: pcie@18012000 { + compatible = "brcm,iproc-pcie"; + reg = <0x18012000 0x1000>; + + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; + + linux,pci-domain = <0>; + + bus-range = <0x00 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + + /* Note: The HW does not support I/O resources. So, + * only the memory resource range is being specified. + */ + ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>; + + dma-coherent; + status = "disabled"; + + msi-parent = <&msi0>; + msi0: msi-controller { + compatible = "brcm,iproc-msi"; + msi-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + brcm,pcie-msi-inten; + }; + }; + + pcie1: pcie@18013000 { + compatible = "brcm,iproc-pcie"; + reg = <0x18013000 0x1000>; + + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; + + linux,pci-domain = <1>; + + bus-range = <0x00 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + + /* Note: The HW does not support I/O resources. So, + * only the memory resource range is being specified. + */ + ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>; + + dma-coherent; + status = "disabled"; + + msi-parent = <&msi1>; + msi1: msi-controller { + compatible = "brcm,iproc-msi"; + msi-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + brcm,pcie-msi-inten; + }; + }; + + pcie2: pcie@18014000 { + compatible = "brcm,iproc-pcie"; + reg = <0x18014000 0x1000>; + + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; + + linux,pci-domain = <2>; + + bus-range = <0x00 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + + /* Note: The HW does not support I/O resources. So, + * only the memory resource range is being specified. + */ + ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>; + + dma-coherent; + status = "disabled"; + + msi-parent = <&msi2>; + msi2: msi-controller { + compatible = "brcm,iproc-msi"; + msi-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + brcm,pcie-msi-inten; + }; + }; + + thermal-zones { + cpu-thermal { + polling-delay-passive = <0>; + polling-delay = <1000>; + coefficients = <(-556) 418000>; + thermal-sensors = <&thermal>; + + trips { + cpu-crit { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + }; + }; + }; +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm53015-meraki-mr26.dts b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm53015-meraki-mr26.dts new file mode 100644 index 0000000000..08abfdc63d --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm53015-meraki-mr26.dts @@ -0,0 +1,187 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for Meraki MR26 / Codename: Venom + * + * Copyright (C) 2022 Christian Lamparter + */ + +/dts-v1/; + +#include "bcm4708.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" +#include + +/ { + compatible = "meraki,mr26", "brcm,bcm53015", "brcm,bcm4708"; + model = "Meraki MR26"; + + memory@0 { + reg = <0x00000000 0x08000000>; + device_type = "memory"; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + function = LED_FUNCTION_FAULT; + color = ; + gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>; + panic-indicator; + }; + led-1 { + function = LED_FUNCTION_INDICATOR; + color = ; + gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>; + }; + }; + + keys { + compatible = "gpio-keys"; + + key-restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&uart0 { + clock-frequency = <50000000>; + /delete-property/ clocks; +}; + +&uart1 { + status = "disabled"; +}; + +&gmac0 { + status = "okay"; + + nvmem-cells = <&macaddr_board_config_66>; + nvmem-cell-names = "mac-address"; +}; + +&gmac1 { + status = "disabled"; +}; +&gmac2 { + status = "disabled"; +}; +&gmac3 { + status = "disabled"; +}; + +&nandcs { + partitions { + compatible = "fixed-partitions"; + #address-cells = <0x1>; + #size-cells = <0x1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x200000>; + read-only; + }; + + partition@200000 { + label = "u-boot-env"; + reg = <0x200000 0x200000>; + /* empty */ + }; + + partition@400000 { + label = "u-boot-backup"; + reg = <0x400000 0x200000>; + /* empty */ + }; + + partition@600000 { + label = "u-boot-env-backup"; + reg = <0x600000 0x200000>; + /* empty */ + }; + + partition@800000 { + compatible = "linux,ubi"; + label = "ubi"; + reg = <0x800000 0x7780000>; + + volumes { + ubi-volume-board-config { + volname = "board-config"; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_board_config_66: macaddr@66 { + reg = <0x66 0x6>; + }; + }; + }; + }; + }; + }; +}; + +&srab { + status = "okay"; + + ports { + port@0 { + label = "poe"; + }; + + port@5 { + label = "cpu"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@7 { + status = "disabled"; + }; + + port@8 { + status = "disabled"; + }; + }; +}; + +&i2c0 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinmux_i2c>; + + clock-frequency = <100000>; + + ina219@40 { + compatible = "ti,ina219"; /* PoE power */ + reg = <0x40>; + shunt-resistor = <60000>; /* = 60 mOhms */ + }; + + eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + pagesize = <32>; + read-only; + #address-cells = <1>; + #size-cells = <1>; + + /* it's empty */ + }; +}; + +&thermal { + status = "disabled"; + /* does not work, reads 418 degree Celsius */ +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi new file mode 100644 index 0000000000..c54451dde6 --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi @@ -0,0 +1,284 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX65 series (Alamo). + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +#include "bcm958625-meraki-mx6x-common.dtsi" + +/ { + keys { + compatible = "gpio-keys-polled"; + autorepeat; + poll-interval = <20>; + + button-reset { + label = "reset"; + linux,code = ; + gpios = <&gpioa 8 GPIO_ACTIVE_LOW>; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + /* green:wan1-left */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <0>; + color = ; + gpios = <&gpioa 25 GPIO_ACTIVE_LOW>; + }; + + led-1 { + /* green:wan1-right */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <1>; + color = ; + gpios = <&gpioa 24 GPIO_ACTIVE_LOW>; + }; + + led-2 { + /* green:wan2-left */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <2>; + color = ; + gpios = <&gpioa 27 GPIO_ACTIVE_LOW>; + }; + + led-3 { + /* green:wan2-right */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <3>; + color = ; + gpios = <&gpioa 26 GPIO_ACTIVE_LOW>; + }; + + led-4 { + /* amber:power */ + function = LED_FUNCTION_FAULT; + color = ; + gpios = <&gpioa 3 GPIO_ACTIVE_HIGH>; + }; + + led-5 { + /* white:status */ + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>; + }; + }; +}; + +&axi { + mdio-mux@3f1c0 { + compatible = "mdio-mux-mmioreg", "mdio-mux"; + reg = <0x3f1c0 0x4>; + mux-mask = <0x2000>; + mdio-parent-bus = <&mdio_ext>; + #address-cells = <1>; + #size-cells = <0>; + + mdio@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + phy_port6: phy@0 { + reg = <0>; + }; + + phy_port7: phy@1 { + reg = <1>; + }; + + phy_port8: phy@2 { + reg = <2>; + }; + + phy_port9: phy@3 { + reg = <3>; + }; + + phy_port10: phy@4 { + reg = <4>; + }; + + switch@10 { + compatible = "qca,qca8337"; + reg = <0x10>; + dsa,member = <1 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + ethernet = <&sgmii1>; + phy-mode = "sgmii"; + qca,sgmii-enable-pll; + qca,sgmii-txclk-falling-edge; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@1 { + reg = <1>; + label = "lan8"; + phy-handle = <&phy_port6>; + }; + + port@2 { + reg = <2>; + label = "lan9"; + phy-handle = <&phy_port7>; + }; + + port@3 { + reg = <3>; + label = "lan10"; + phy-handle = <&phy_port8>; + }; + + port@4 { + reg = <4>; + label = "lan11"; + phy-handle = <&phy_port9>; + }; + + port@5 { + reg = <5>; + label = "lan12"; + phy-handle = <&phy_port10>; + }; + }; + }; + }; + + mdio-mii@2000 { + reg = <0x2000>; + #address-cells = <1>; + #size-cells = <0>; + + phy_port1: phy@0 { + reg = <0>; + }; + + phy_port2: phy@1 { + reg = <1>; + }; + + phy_port3: phy@2 { + reg = <2>; + }; + + phy_port4: phy@3 { + reg = <3>; + }; + + phy_port5: phy@4 { + reg = <4>; + }; + + switch@10 { + compatible = "qca,qca8337"; + reg = <0x10>; + dsa,member = <2 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + ethernet = <&sgmii0>; + phy-mode = "sgmii"; + qca,sgmii-enable-pll; + qca,sgmii-txclk-falling-edge; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@1 { + reg = <1>; + label = "lan3"; + phy-handle = <&phy_port1>; + }; + + port@2 { + reg = <2>; + label = "lan4"; + phy-handle = <&phy_port2>; + }; + + port@3 { + reg = <3>; + label = "lan5"; + phy-handle = <&phy_port3>; + }; + + port@4 { + reg = <4>; + label = "lan6"; + phy-handle = <&phy_port4>; + }; + + port@5 { + reg = <5>; + label = "lan7"; + phy-handle = <&phy_port5>; + }; + }; + }; + }; + }; +}; + +&srab { + compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; + status = "okay"; + dsa,member = <0 0>; + + ports { + port@0 { + label = "wan1"; + reg = <0>; + }; + + port@1 { + label = "wan2"; + reg = <1>; + }; + + sgmii0: port@4 { + label = "sw0"; + reg = <4>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + sgmii1: port@5 { + label = "sw1"; + reg = <5>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@8 { + ethernet = <&amac2>; + reg = <8>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-kingpin.dtsi b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-kingpin.dtsi new file mode 100644 index 0000000000..1830844c84 --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-kingpin.dtsi @@ -0,0 +1,162 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX64 series (Kingpin). + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +#include "bcm958625-meraki-mx6x-common.dtsi" + +/ { + + keys { + compatible = "gpio-keys-polled"; + autorepeat; + poll-interval = <20>; + + button-reset { + label = "reset"; + linux,code = ; + gpios = <&gpioa 6 GPIO_ACTIVE_LOW>; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + /* green:lan1-left */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <0>; + color = ; + gpios = <&gpioa 19 GPIO_ACTIVE_LOW>; + }; + + led-1 { + /* green:lan1-right */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <1>; + color = ; + gpios = <&gpioa 18 GPIO_ACTIVE_LOW>; + }; + + led-2 { + /* green:lan2-left */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <2>; + color = ; + gpios = <&gpioa 24 GPIO_ACTIVE_LOW>; + }; + + led-3 { + /* green:lan2-right */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <3>; + color = ; + gpios = <&gpioa 20 GPIO_ACTIVE_LOW>; + }; + + led-4 { + /* green:lan3-left */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <4>; + color = ; + gpios = <&gpioa 26 GPIO_ACTIVE_LOW>; + }; + + led-5 { + /* green:lan3-right */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <5>; + color = ; + gpios = <&gpioa 25 GPIO_ACTIVE_LOW>; + }; + + led-6 { + /* green:lan4-left */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <6>; + color = ; + gpios = <&gpioa 28 GPIO_ACTIVE_LOW>; + }; + + led-7 { + /* green:lan4-right */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <7>; + color = ; + gpios = <&gpioa 27 GPIO_ACTIVE_LOW>; + }; + + led-8 { + /* green:wan-left */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <8>; + color = ; + gpios = <&gpioa 30 GPIO_ACTIVE_LOW>; + }; + + led-9 { + /* green:wan-right */ + function = LED_FUNCTION_ACTIVITY; + function-enumerator = <9>; + color = ; + gpios = <&gpioa 29 GPIO_ACTIVE_LOW>; + }; + + led-a { + /* amber:power */ + function = LED_FUNCTION_FAULT; + color = ; + gpios = <&gpioa 0 GPIO_ACTIVE_LOW>; + }; + + led-b { + /* white:status */ + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>; + }; + }; +}; + +&srab { + compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; + status = "okay"; + + ports { + port@0 { + label = "lan1"; + reg = <0>; + }; + + port@1 { + label = "lan2"; + reg = <1>; + }; + + port@2 { + label = "lan3"; + reg = <2>; + }; + + port@3 { + label = "lan4"; + reg = <3>; + }; + + port@4 { + label = "wan"; + reg = <4>; + }; + + port@8 { + ethernet = <&amac2>; + reg = <8>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx64-a0.dts b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx64-a0.dts new file mode 100644 index 0000000000..9944566c11 --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx64-a0.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX64 with A0 SoC. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-kingpin.dtsi" +#include "bcm-nsp-ax.dtsi" + +/ { + model = "Cisco Meraki MX64(A0)"; + compatible = "meraki,mx64-a0", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx64.dts b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx64.dts new file mode 100644 index 0000000000..06939438e8 --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx64.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX64 with B0+ SoC. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-kingpin.dtsi" + +/ { + model = "Cisco Meraki MX64"; + compatible = "meraki,mx64", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx65.dts b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx65.dts new file mode 100644 index 0000000000..d1b684dcdb --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx65.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX65. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-alamo.dtsi" + +/ { + model = "Cisco Meraki MX65"; + compatible = "meraki,mx65", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; diff --git a/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx6x-common.dtsi b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx6x-common.dtsi new file mode 100644 index 0000000000..7e71aecb72 --- /dev/null +++ b/lede/target/linux/bcm53xx/files-5.4/arch/arm/boot/dts/bcm958625-meraki-mx6x-common.dtsi @@ -0,0 +1,140 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Common Bindings for Cisco Meraki MX64 (Kingpin) and MX65 (Alamo) devices. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +#include "bcm-nsp.dtsi" +#include +#include +#include + +/ { + pwm-leds { + compatible = "pwm-leds"; + + led-1 { + function = LED_FUNCTION_INDICATOR; + color = ; + pwms = <&pwm 1 50000 0>; + max-brightness = <255>; + }; + + led-2 { + function = LED_FUNCTION_POWER; + color = ; + pwms = <&pwm 2 50000 0>; + max-brightness = <255>; + }; + + led-3 { + function = LED_FUNCTION_INDICATOR; + color = ; + pwms = <&pwm 3 50000 0>; + max-brightness = <255>; + }; + }; +}; + +&amac2 { + status = "okay"; + nvmem-cells = <&mac_address>; + nvmem-cell-names = "mac-address"; +}; + +&ehci0 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + pagesize = <32>; + read-only; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mac_address: mac-address@66 { + reg = <0x66 0x6>; + }; + }; + }; +}; + +&nand_controller { + nand@0 { + compatible = "brcm,nandcs"; + reg = <0>; + nand-on-flash-bbt; + + #address-cells = <1>; + #size-cells = <1>; + + nand-ecc-strength = <24>; + nand-ecc-step-size = <1024>; + + brcm,nand-oob-sector-size = <27>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x80000>; + read-only; + }; + + partition@80000 { + label = "shmoo"; + reg = <0x80000 0x80000>; + read-only; + }; + + partition@100000 { + label = "bootkernel1"; + reg = <0x100000 0x300000>; + }; + + partition@400000 { + label = "nvram"; + reg = <0x400000 0x100000>; + }; + + partition@500000 { + label = "bootkernel2"; + reg = <0x500000 0x300000>; + }; + + partition@800000 { + label = "ubi"; + reg = <0x800000 0x3f700000>; + }; + }; +}; + +&ohci0 { + status = "okay"; +}; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_leds>; + + pwm_leds: pwm_leds { + function = "pwm"; + groups = "pwm1_grp", "pwm2_grp", "pwm3_grp"; + }; +}; + +&pwm { + status = "okay"; +}; + +&uart0 { + clock-frequency = <62500000>; + status = "okay"; +}; diff --git a/lede/target/linux/bcm53xx/image/Makefile b/lede/target/linux/bcm53xx/image/Makefile index 509ee3937d..75f7443817 100644 --- a/lede/target/linux/bcm53xx/image/Makefile +++ b/lede/target/linux/bcm53xx/image/Makefile @@ -127,7 +127,11 @@ define Build/dwl8610ap-image mv $@.new $@ endef +ifdef CONFIG_LINUX_5_4 +DTS_DIR := $(DTS_DIR) +else DTS_DIR := $(DTS_DIR)/broadcom +endif DEVICE_VARS += ASUS_PRODUCTID DEVICE_VARS += BUFFALO_TAG_PLATFORM BUFFALO_TAG_VERSION BUFFALO_TAG_MINOR diff --git a/lede/target/linux/bcm53xx/patches-5.4/180-usb-xhci-add-support-for-performing-fake-doorbell.patch b/lede/target/linux/bcm53xx/patches-5.4/180-usb-xhci-add-support-for-performing-fake-doorbell.patch index a988d27753..e5609b87ca 100644 --- a/lede/target/linux/bcm53xx/patches-5.4/180-usb-xhci-add-support-for-performing-fake-doorbell.patch +++ b/lede/target/linux/bcm53xx/patches-5.4/180-usb-xhci-add-support-for-performing-fake-doorbell.patch @@ -78,7 +78,7 @@ it on BCM4708 family. + } + + /* Free virt device */ -+ xhci_free_virt_device(xhci, slot_id); ++ xhci_disable_and_free_slot(xhci, slot_id); + + /* We're done if controller is already running */ + if (readl(&xhci->op_regs->command) & CMD_RUN) diff --git a/lede/target/linux/bcm53xx/patches-5.4/701-b53-add-Tenda-AC9-switch-reset-workaround.patch b/lede/target/linux/bcm53xx/patches-5.4/701-b53-add-Tenda-AC9-switch-reset-workaround.patch new file mode 100644 index 0000000000..1b4cf5f85a --- /dev/null +++ b/lede/target/linux/bcm53xx/patches-5.4/701-b53-add-Tenda-AC9-switch-reset-workaround.patch @@ -0,0 +1,39 @@ +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= +Date: Wed, 30 Jul 2025 12:37:12 +0000 +Subject: [PATCH] b53: add Tenda AC9 switch reset workaround +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Avoid switch reset to keep it in a working state. + +Signed-off-by: Rafał Miłecki +--- + drivers/net/phy/b53/b53_priv.h | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/drivers/net/phy/b53/b53_priv.h ++++ b/drivers/net/phy/b53/b53_priv.h +@@ -21,6 +21,7 @@ + + #include + #include ++#include + #include + + struct b53_device; +@@ -318,6 +319,14 @@ static inline int b53_write64(struct b53 + + static inline int b53_switch_get_reset_gpio(struct b53_device *dev) + { ++ /* ++ * Tenda AC9 comes with gpio2=robo_reset but performing switch reset ++ * leaves it in a non-working state. It seems b53 swconfig driver misses ++ * some initialization bit. ++ */ ++ if (of_machine_is_compatible("tenda,ac9")) ++ return -ENOENT; ++ + #ifdef CONFIG_BCM47XX + enum bcm47xx_board board = bcm47xx_board_get(); + diff --git a/lede/target/linux/generic/backport-5.4/906-v6.15-policy-range-validation.patch b/lede/target/linux/generic/backport-5.4/906-v6.15-policy-range-validation.patch new file mode 100644 index 0000000000..a833e83915 --- /dev/null +++ b/lede/target/linux/generic/backport-5.4/906-v6.15-policy-range-validation.patch @@ -0,0 +1,148 @@ +--- a/include/net/netlink.h ++++ b/include/net/netlink.h +@@ -184,16 +184,29 @@ + NLA_EXACT_LEN, + NLA_EXACT_LEN_WARN, + NLA_MIN_LEN, ++ NLA_BE16, ++ NLA_BE32, ++ NLA_SINT, ++ NLA_UINT, + __NLA_TYPE_MAX, + }; + + #define NLA_TYPE_MAX (__NLA_TYPE_MAX - 1) + ++struct netlink_range_validation { ++ u64 min, max; ++}; ++ ++struct netlink_range_validation_signed { ++ s64 min, max; ++}; ++ + enum nla_policy_validation { + NLA_VALIDATE_NONE, + NLA_VALIDATE_RANGE, + NLA_VALIDATE_MIN, + NLA_VALIDATE_MAX, ++ NLA_VALIDATE_RANGE_PTR, + NLA_VALIDATE_FUNCTION, + }; + +@@ -252,6 +265,51 @@ + * nested attributes directly inside, while an array has + * the nested attributes at another level down and the + * attributes directly in the nesting don't matter. ++ * NLA_UINT, ++ * NLA_U8, ++ * NLA_U16, ++ * NLA_U32, ++ * NLA_U64, ++ * NLA_BE16, ++ * NLA_BE32, ++ * NLA_SINT, ++ * NLA_S8, ++ * NLA_S16, ++ * NLA_S32, ++ * NLA_S64 The `min' and `max' fields are used depending on the ++ * validation_type field, if that is min/max/range then ++ * the min, max or both are used (respectively) to check ++ * the value of the integer attribute. ++ * Note that in the interest of code simplicity and ++ * struct size both limits are s16, so you cannot ++ * enforce a range that doesn't fall within the range ++ * of s16 - do that using the NLA_POLICY_FULL_RANGE() ++ * or NLA_POLICY_FULL_RANGE_SIGNED() macros instead. ++ * Use the NLA_POLICY_MIN(), NLA_POLICY_MAX() and ++ * NLA_POLICY_RANGE() macros. ++ * NLA_UINT, ++ * NLA_U8, ++ * NLA_U16, ++ * NLA_U32, ++ * NLA_U64 If the validation_type field instead is set to ++ * NLA_VALIDATE_RANGE_PTR, `range' must be a pointer ++ * to a struct netlink_range_validation that indicates ++ * the min/max values. ++ * Use NLA_POLICY_FULL_RANGE(). ++ * NLA_SINT, ++ * NLA_S8, ++ * NLA_S16, ++ * NLA_S32, ++ * NLA_S64 If the validation_type field instead is set to ++ * NLA_VALIDATE_RANGE_PTR, `range_signed' must be a ++ * pointer to a struct netlink_range_validation_signed ++ * that indicates the min/max values. ++ * Use NLA_POLICY_FULL_RANGE_SIGNED(). ++ * ++ * NLA_BINARY If the validation type is like the ones for integers ++ * above, then the min/max length (not value like for ++ * integers) of the attribute is enforced. ++ * + * All other Unused - but note that it's a union + * + * Meaning of `min' and `max' fields, use via NLA_POLICY_MIN, NLA_POLICY_MAX +@@ -317,6 +375,14 @@ + * was added to enforce strict validation from thereon. + */ + u16 strict_start_type; ++ ++ /* private: use NLA_POLICY_*() to set */ ++ const u32 bitfield32_valid; ++ const u32 mask; ++ const char *reject_message; ++ const struct nla_policy *nested_policy; ++ const struct netlink_range_validation *range; ++ const struct netlink_range_validation_signed *range_signed; + }; + }; + +@@ -337,17 +403,48 @@ + #define NLA_POLICY_NESTED_ARRAY(policy) \ + _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy) + ++#define __NLA_IS_UINT_TYPE(tp) \ ++ (tp == NLA_U8 || tp == NLA_U16 || tp == NLA_U32 || \ ++ tp == NLA_U64 || tp == NLA_UINT || \ ++ tp == NLA_BE16 || tp == NLA_BE32) ++#define __NLA_IS_SINT_TYPE(tp) \ ++ (tp == NLA_S8 || tp == NLA_S16 || tp == NLA_S32 || tp == NLA_S64 || \ ++ tp == NLA_SINT) ++ + #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition)) + #define NLA_ENSURE_INT_TYPE(tp) \ + (__NLA_ENSURE(tp == NLA_S8 || tp == NLA_U8 || \ + tp == NLA_S16 || tp == NLA_U16 || \ + tp == NLA_S32 || tp == NLA_U32 || \ + tp == NLA_S64 || tp == NLA_U64) + tp) ++#define NLA_ENSURE_UINT_OR_BINARY_TYPE(tp) \ ++ (__NLA_ENSURE(__NLA_IS_UINT_TYPE(tp) || \ ++ tp == NLA_MSECS || \ ++ tp == NLA_BINARY) + tp) ++#define NLA_ENSURE_SINT_TYPE(tp) \ ++ (__NLA_ENSURE(__NLA_IS_SINT_TYPE(tp)) + tp) ++#define NLA_ENSURE_INT_OR_BINARY_TYPE(tp) \ ++ (__NLA_ENSURE(__NLA_IS_UINT_TYPE(tp) || \ ++ __NLA_IS_SINT_TYPE(tp) || \ ++ tp == NLA_MSECS || \ ++ tp == NLA_BINARY) + tp) + #define NLA_ENSURE_NO_VALIDATION_PTR(tp) \ + (__NLA_ENSURE(tp != NLA_BITFIELD32 && \ + tp != NLA_REJECT && \ + tp != NLA_NESTED && \ + tp != NLA_NESTED_ARRAY) + tp) ++ ++#define NLA_POLICY_FULL_RANGE(tp, _range) { \ ++ .type = NLA_ENSURE_UINT_OR_BINARY_TYPE(tp), \ ++ .validation_type = NLA_VALIDATE_RANGE_PTR, \ ++ .range = _range, \ ++} ++ ++#define NLA_POLICY_FULL_RANGE_SIGNED(tp, _range) { \ ++ .type = NLA_ENSURE_SINT_TYPE(tp), \ ++ .validation_type = NLA_VALIDATE_RANGE_PTR, \ ++ .range_signed = _range, \ ++} + + #define NLA_POLICY_RANGE(tp, _min, _max) { \ + .type = NLA_ENSURE_INT_TYPE(tp), \ diff --git a/mieru/README.md b/mieru/README.md index 047230960b..a26d219c23 100644 --- a/mieru/README.md +++ b/mieru/README.md @@ -41,6 +41,7 @@ The mieru proxy software suite consists of two parts, a client software called m 1. [Server Installation & Configuration](./docs/server-install.md) 1. [Client Installation & Configuration](./docs/client-install.md) 1. [Client Installation & Configuration - OpenWrt](./docs/client-install-openwrt.md) +1. [Use mieru in Clash Verge Rev](./docs/third-party/clash-verge-rev.md) 1. [Maintenance & Troubleshooting](./docs/operation.md) 1. [Security Guide](./docs/security.md) 1. [Compilation](./docs/compile.md) diff --git a/mieru/README.zh_CN.md b/mieru/README.zh_CN.md index 1f6f4fca66..0b20ee5868 100644 --- a/mieru/README.zh_CN.md +++ b/mieru/README.zh_CN.md @@ -39,6 +39,7 @@ mieru 代理软件由称为 mieru【見える】的客户端软件和称为 mita 1. [服务器安装与配置](./docs/server-install.zh_CN.md) 1. [客户端安装与配置](./docs/client-install.zh_CN.md) 1. [客户端安装与配置 - OpenWrt](./docs/client-install-openwrt.zh_CN.md) +1. [在 Clash Verge Rev 中使用 mieru](./docs/third-party/clash-verge-rev.zh_CN.md) 1. [运营维护与故障排查](./docs/operation.zh_CN.md) 1. [翻墙安全指南](./docs/security.zh_CN.md) 1. [编译](./docs/compile.zh_CN.md) diff --git a/mieru/docs/assets/clash_verge_click_edit_file.png b/mieru/docs/assets/clash_verge_click_edit_file.png new file mode 100755 index 0000000000..8c4a7fda03 Binary files /dev/null and b/mieru/docs/assets/clash_verge_click_edit_file.png differ diff --git a/mieru/docs/assets/clash_verge_create_profile.png b/mieru/docs/assets/clash_verge_create_profile.png new file mode 100755 index 0000000000..bb438b3fc8 Binary files /dev/null and b/mieru/docs/assets/clash_verge_create_profile.png differ diff --git a/mieru/docs/assets/clash_verge_edit_file.png b/mieru/docs/assets/clash_verge_edit_file.png new file mode 100755 index 0000000000..35ad113329 Binary files /dev/null and b/mieru/docs/assets/clash_verge_edit_file.png differ diff --git a/mieru/docs/assets/clash_verge_test_delay.png b/mieru/docs/assets/clash_verge_test_delay.png new file mode 100755 index 0000000000..2805f244c7 Binary files /dev/null and b/mieru/docs/assets/clash_verge_test_delay.png differ diff --git a/mieru/docs/third-party/clash-verge-rev.md b/mieru/docs/third-party/clash-verge-rev.md new file mode 100644 index 0000000000..4565fe856e --- /dev/null +++ b/mieru/docs/third-party/clash-verge-rev.md @@ -0,0 +1,17 @@ +# Use mieru in Clash Verge Rev + +![create profile](../assets/clash_verge_create_profile.png) + +First, create a new clash profile to store mieru configuration. Set `Type` to `Local`. You can use any profile name. + +![click edit file](../assets/clash_verge_click_edit_file.png) + +Once a new profile is created, right click the card, then click `Edit File` button. + +![edit file](../assets/clash_verge_edit_file.png) + +In the text editor, enter mieru configuration. If you have multiple proxy servers, ports or port ranges, you can use `proxy-groups` to organize them. Set the rules to determine when traffic should be forwarded to mieru proxy servers. + +![test delay](../assets/clash_verge_test_delay.png) + +After saving the mieru configuration, you can run a test to check the proxy delay. diff --git a/mieru/docs/third-party/clash-verge-rev.zh_CN.md b/mieru/docs/third-party/clash-verge-rev.zh_CN.md new file mode 100644 index 0000000000..7a9f545570 --- /dev/null +++ b/mieru/docs/third-party/clash-verge-rev.zh_CN.md @@ -0,0 +1,17 @@ +# 在 Clash Verge Rev 中使用 mieru + +![create profile](../assets/clash_verge_create_profile.png) + +首先,新建一个 clash 订阅来存储 mieru 配置。将 `类型` 设置为 `Local`。你可以使用任何订阅名称。 + +![click edit file](../assets/clash_verge_click_edit_file.png) + +创建新订阅后,右键单击卡片,然后单击 `编辑文件` 按钮。 + +![edit file](../assets/clash_verge_edit_file.png) + +在文本编辑器中,输入 mieru 配置。如果有多个代理服务器、端口或端口段,你可以使用 `proxy-groups` 来组织它们。设置规则以决定何时应将流量转发到 mieru 代理服务器。 + +![test delay](../assets/clash_verge_test_delay.png) + +保存 mieru 配置后,你可以运行测试来检查代理延迟。 diff --git a/mihomo/component/resource/fetcher.go b/mihomo/component/resource/fetcher.go index c384277cc9..24f24d47b9 100644 --- a/mihomo/component/resource/fetcher.go +++ b/mihomo/component/resource/fetcher.go @@ -183,7 +183,6 @@ func (f *Fetcher[V]) startPullLoop(forceUpdate bool) (err error) { if f.vehicle.Type() == types.File { f.watcher, err = fswatch.NewWatcher(fswatch.Options{ Path: []string{f.vehicle.Path()}, - Direct: true, Callback: f.updateCallback, }) if err != nil { diff --git a/openwrt-packages/luci-app-quickstart/Makefile b/openwrt-packages/luci-app-quickstart/Makefile index 3481dbb729..592e4b71c4 100644 --- a/openwrt-packages/luci-app-quickstart/Makefile +++ b/openwrt-packages/luci-app-quickstart/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart LUCI_DEPENDS:=+quickstart +luci-app-store LUCI_PKGARCH:=all -PKG_VERSION:=0.11.5-r1 +PKG_VERSION:=0.11.6-r1 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= diff --git a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js index f665991c13..8d7bcdb748 100644 --- a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js +++ b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js @@ -1,3 +1,3 @@ -var Na=Object.defineProperty,Oa=Object.defineProperties;var Va=Object.getOwnPropertyDescriptors;var aa=Object.getOwnPropertySymbols;var Ga=Object.prototype.hasOwnProperty,ja=Object.prototype.propertyIsEnumerable;var Oe=(o,i,a)=>i in o?Na(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,lt=(o,i)=>{for(var a in i||(i={}))Ga.call(i,a)&&Oe(o,a,i[a]);if(aa)for(var a of aa(i))ja.call(i,a)&&Oe(o,a,i[a]);return o},vt=(o,i)=>Oa(o,Va(i));var qa=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports);var me=(o,i,a)=>(Oe(o,typeof i!="symbol"?i+"":i,a),a);var L=(o,i,a)=>new Promise((d,u)=>{var s=g=>{try{_(a.next(g))}catch(p){u(p)}},c=g=>{try{_(a.throw(g))}catch(p){u(p)}},_=g=>g.done?d(g.value):Promise.resolve(g.value).then(s,c);_((a=a.apply(o,i)).next())});import{a as Ua,c as Ra,d as _e,b as U,e as tt,u as e,o as r,f as l,g as t,t as n,n as Bt,h as D,i as z,r as ut,j as pt,k as zt,w as T,v as Rt,l as Wa,m as K,p as R,q as E,s as Nt,x as At,y as dt,F as G,z as et,A as ot,B as Wt,C as rt,D as st,E as la,G as jt,H as ua,I as ca,J as pa,K as fa,L as ma,M as va,N as ga,O as mt,T as $t,P as bt,Q as je,R as gt,S as Yt,U as it,V as Et,W as xe,X as Ye,Y as qe,Z as Ha,_ as Za,$ as Ae,a0 as Ja,a1 as Ka,a2 as Qa,a3 as Xa,a4 as to,a5 as eo,a6 as ao,a7 as oo,a8 as no,a9 as io}from"./vendor.js?v=e039e7e7";var QY=qa(ee=>{const ro=function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))d(u);new MutationObserver(u=>{for(const s of u)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&d(c)}).observe(document,{childList:!0,subtree:!0});function a(u){const s={};return u.integrity&&(s.integrity=u.integrity),u.referrerpolicy&&(s.referrerPolicy=u.referrerpolicy),u.crossorigin==="use-credentials"?s.credentials="include":u.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function d(u){if(u.ep)return;u.ep=!0;const s=a(u);fetch(u.href,s)}};ro();const Ot={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},so=o=>L(ee,null,function*(){const i=window.vue_lang;new Date().getTime();let a={};try{const s=yield Ua({url:window.vue_lang_data,method:"GET"});s.data&&(a=s.data)}catch(s){console.log(s)}const d=Ra({defaultLanguage:i,mutedLanguages:["zh-cn"],translations:a,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(d),Ot.language=d;const{$gettext:u}=d;window.$i18n=u;try{Ot.numberFormat=new Intl.NumberFormat(i,{notation:"compact"})}catch(s){console.error("Intl.NumberFormat unsupported lang",i,s)}}),H=()=>{if(Ot.language)return Ot.language;throw new Error("I18N Uninitialized!")},Se=()=>({$gettext:(o,i,a)=>{if(Ot.language)return Ot.language.$gettext(o,i,a);throw new Error("I18N Uninitialized!")},$ngettext:(o,i,a,d,u)=>{if(Ot.language)return Ot.language.$ngettext(o,i,a,d,u);throw new Error("I18N Uninitialized!")}}),Ee=o=>typeof o=="number"?Ot.numberFormat.format(o):"?",{$gettext:lo,$ngettext:eA}=Se(),ba=(o,i)=>L(ee,null,function*(){return new Promise((a,d)=>L(ee,null,function*(){try{const u=yield fetch(o,i);if(Math.floor(u.status/100)!=2)throw u.status+" "+u.statusText;const s=lt({},u);s.data=yield u.json(),a(s)}catch(u){const s=u;d(lo("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((s==null?void 0:s.message)||u))}}))});class Ue{constructor(i){me(this,"config",{baseURL:"",headers:{}});me(this,"useRequest",i=>i);me(this,"useResponse",i=>i);me(this,"useError",i=>i);i.baseURL&&(this.config.baseURL=i.baseURL),i.headers&&(this.config.headers=i.headers)}static create(i){return new Ue(i)}Do(i,a){return L(this,null,function*(){return new Promise((d,u)=>L(this,null,function*(){try{const s=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});i=`${s.baseURL||""}${i}`,a.headers==null&&(a.headers={}),s.headers&&(a.headers=lt({},s.headers));const _=yield fetch(i,a),g=lt({},_);g.data=yield _.json(),d(this.useResponse(g))}catch(s){this.useError(s),u(s)}}))})}TEXT(i,a){return L(this,null,function*(){return new Promise((d,u)=>L(this,null,function*(){try{const s=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});i=`${s.baseURL||""}${i}`,a.headers==null&&(a.headers={}),s.headers&&(a.headers=lt({},s.headers));const _=yield fetch(i,a),g=lt({},_);g.data=yield _.text(),d(g)}catch(s){this.useError(s),u(s)}}))})}interceptors(){const i=this;return{requset:{use(a){i.useRequest=a}},response:{use(a,d){i.useResponse=a,d&&(i.useError=d)}}}}}const ha=Ue.create({});ha.interceptors().requset.use(o=>o);ha.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:_a,$ngettext:aA}=Se(),uo="/cgi-bin/luci/istore",co="/cgi-bin/luci/admin";let De=!1;const q=(o,i)=>(o.indexOf("//")==-1&&(o=`${uo}${o}`),ba(o,i).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(De||(De=!0,alert(_a("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),po=(o,i)=>(o.indexOf("//")==-1&&(o=`${co}${o}`),ba(o,i).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(De||(De=!0,alert(_a("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),fo={Statistics:{GET(){return q("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return q("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return q("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return q("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(o){return q("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetInterfaceConfig:{GET(){return q("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(o){return q("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},PortList:{GET(){return q("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},mo={Version:{GET(){return q("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return q("/system/check-update/",{method:"GET"})}},AutoCheckUpdate:{POST(o){return q("/system/auto-check-update/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Reboot:{POST(o){return q("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return q("/system/status/",{method:"GET"})}}},vo={Disk:{Status:{GET(){return q("/nas/disk/status/",{method:"GET"})}},Erase:{POST(o){return q("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Init:{POST:o=>q("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},InitRest:{POST:o=>q("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Partition:{Format:{POST:o=>q("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Mount:{POST:o=>q("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Service:{Status:{GET(){return q("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(o){return q("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Webdav:{Create:{POST(o){return q("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return q("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return q("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(o){return q("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSandbox:{GET(){return q("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return q("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return q("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return q("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return q("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},go={Check:{POST(o){return q("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Install:{POST(o){return q("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},bo={Pppoe:{GET(){return q("/guide/pppoe/",{method:"GET"})},POST(o){return q("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DnsConfig:{GET(){return q("/guide/dns-config/",{method:"GET"})},POST(o){return q("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DhcpClient:{POST(o){return q("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},ClientModel:{GET(){return q("/guide/client-mode/",{method:"GET"})},POST(o){return q("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GatewayRouter:{POST(o){return q("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerStatus:{GET(){return q("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return q("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(o){return q("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerSwitch:{POST(o){return q("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DownloadService:{Status:{GET(){return q("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return q("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(o){return q("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},qbitorrentInit:{POST(o){return q("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},transmissionInit:{POST(o){return q("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetLan:{GET(){return q("/guide/lan/",{method:"GET"})}},LanIp:{POST(o){return q("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},SoftSource:{POST(o){return q("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSoftSource:{GET(){return q("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return q("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(o){return q("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetDdns:{GET(){return q("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(o){return q("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DdntoConfig:{GET(){return q("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(o){return q("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},ho={Create:{POST(o){return q("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Delete:{POST(o){return q("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Add:{POST(o){return q("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Remove:{POST(o){return q("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Recover:{POST(o){return q("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Detail:{POST(o){return q("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},List:{GET(){return q("/raid/list/",{method:"GET"})}},CreateList:{GET(){return q("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return q("/raid/autofix/",{method:"GET"})}}},_o={Log:{GET(){return q("/smart/log/",{method:"GET"})}},List:{GET(){return q("/u/smart/list/",{method:"GET"})}},Config:{GET(){return q("/smart/config/",{method:"GET"})},POST(o){return q("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Test:{POST(o){return q("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Result:{POST(o){return q("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Attribute:{Result:{POST(o){return q("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Extend:{Result:{POST(o){return q("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}}},xo={List:{GET(){return q("/wireless/list-iface/",{method:"GET"})}},Switch:{POST(o){return q("/wireless/enable-iface/",{body:JSON.stringify(o),method:"POST"})}},Power:{POST(o){return q("/wireless/set-device-power/",{body:JSON.stringify(o),method:"POST"})}},Edit:{POST(o){return q("/wireless/edit-iface/",{body:JSON.stringify(o),method:"POST"})}},Setup:{POST(o){return q("/wireless/setup/",{body:JSON.stringify(o),method:"POST"})}}},ko={getInstalled:{GET(){return po("/store/installed/",{method:"GET"})}},needSetup:{GET(){return q("/guide/need/setup/",{method:"GET"})}},setPassword:{POST(o){return q("/system/setPassword/",{body:JSON.stringify(o),method:"POST"})}},completeGuide:{POST(){return q("/guide/finish/setup/",{method:"POST"})}}},wo={listDevices:{GET(){return q("/lanctrl/listDevices/",{method:"GET"})}},staticDeviceConfig:{POST(o){return q("/lanctrl/staticDeviceConfig/",{body:JSON.stringify(o),method:"POST"})}},globalConfigs:{GET(){return q("/lanctrl/globalConfigs/",{method:"GET"})}},speedLimitConfig:{POST(o){return q("/lanctrl/speedLimitConfig/",{body:JSON.stringify(o),method:"POST"})}},listStaticDevices:{GET(){return q("/lanctrl/listStaticDevices/",{method:"GET"})}},listSpeedLimitedDevices:{GET(){return q("/lanctrl/listSpeedLimitedDevices/",{method:"GET"})}},dhcpGatewayConfig:{POST(o){return q("/lanctrl/dhcpGatewayConfig/",{body:JSON.stringify(o),method:"POST"})}},dhcpTagsConfig:{POST(o){return q("/lanctrl/dhcpTagsConfig/",{body:JSON.stringify(o),method:"POST"})}},enableSpeedLimit:{POST(o){return q("/lanctrl/enableSpeedLimit/",{body:JSON.stringify(o),method:"POST"})}},enableFloatGateway:{POST(o){return q("/lanctrl/enableFloatGateway/",{body:JSON.stringify(o),method:"POST"})}},speedsForDevices:{GET(){return q("/lanctrl/speedsForDevices/",{method:"GET"})}},speedsForOneDevice:{POST(o){return q("/lanctrl/speedsForOneDevice/",{body:JSON.stringify(o),method:"POST"})}}};var yo=Object.freeze(Object.defineProperty({__proto__:null,Network:fo,System:mo,Nas:vo,App:go,Guide:bo,Raid:ho,Smart:_o,Quickwifi:xo,GuidePage:ko,DeviceMangement:wo},Symbol.toStringTag,{value:"Module"})),O=lt({},yo);const xa=_e("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});_e("guide",{});const ka=_e("nas",{state:()=>({webdav:{}})}),ze=_e("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){O.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:i}=o==null?void 0:o.data;i&&(this.deviceList=i)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Re=_e("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){O.System.Version.GET().then(o=>{var i;(i=o==null?void 0:o.data)!=null&&i.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,O.System.CheckUpdate.GET().then(o=>{var i;(i=o==null?void 0:o.data)!=null&&i.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let oa=!1;const Fo=()=>{if(oa)return;oa=!0;let o=!0,i=!0;const a=ze(),d=Re(),u=function(){return(!o&&document.hidden?Promise.resolve():O.System.Status.GET().then(c=>{c!=null&&c.data.result&&d.updateSystemStatus(c.data.result)})).finally(()=>{setTimeout(u,5e3),o&&(setInterval(()=>{d.incrTime()},1e3),o=!1)})},s=function(){return(!i&&document.hidden?Promise.resolve():O.Network.Status.GET().then(c=>{if(c!=null&&c.data){const{result:_}=c==null?void 0:c.data;_&&a.updateNetworkStatus(_)}})).finally(()=>{setTimeout(s,5e3),i&&(setInterval(()=>{a.incrTime()},1e3),i=!1)})};s(),a.requestDeviceList(),setTimeout(()=>{d.requestVersion(),u()},1100)};var M=(o,i)=>{const a=o.__vccOpts||o;for(const[d,u]of i)a[d]=u;return a};const Eo=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=xa(),u=tt(()=>d.portitemStyle.portitem),s=tt(()=>d.portitemStyle.show),c=tt(()=>({bottom:`calc(100% - ${d.portitemStyle.top}px)`,left:`${d.portitemStyle.left}px`})),_=f=>{switch(f){case"full":return i("\u5168\u53CC\u5DE5");case"half":return i("\u534A\u53CC\u5DE5")}},g=f=>{d.portitemStyle.show=!0},p=f=>{d.portitemStyle.show=!1};return(f,m)=>e(s)?(r(),l("div",{key:0,class:"disk-item-tooltip",style:Bt(e(c)),onMouseenter:g,onMouseleave:p},[t("div",null,n(_(e(u).duplex)),1),t("div",null,n(e(i)("\u540D\u79F0\uFF1A"))+n(e(u).name||"--"),1),t("div",null,n(e(i)("MAC\uFF1A"))+n(e(u).macAddress||"--"),1),t("div",null,n(e(i)("\u63A5\u6536\uFF1A"))+n(e(u).rx_packets||"--"),1),t("div",null,n(e(i)("\u53D1\u9001\uFF1A"))+n(e(u).tx_packets||"--"),1)],36)):D("",!0)}});var Co=M(Eo,[["__scopeId","data-v-41cbce66"]]);const $o={id:"main"},Do=U({setup(o){return(i,a)=>{const d=ut("router-view");return r(),l("div",$o,[z(d),z(Co)])}}});var Bo=M(Do,[["__scopeId","data-v-2d97dedc"]]);const Yo={},Ao={t:"1640593669834",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"54870",width:"128",height:"128"},So=t("path",{d:"M148.7872 57.4464h177.152c64.9216 0 118.0672 53.1456 118.0672 118.0672v295.2192H148.7872C83.8656 470.7328 30.72 417.5872 30.72 352.5632v-177.152C30.72 110.592 83.8656 57.4464 148.7872 57.4464z m0 531.3536h295.2192v295.2192c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152C83.8656 1001.984 30.72 948.9408 30.72 883.9168v-177.152C30.72 641.9456 83.8656 588.8 148.7872 588.8z m0 0M768.7168 559.2064L562.0736 346.7264c-23.6544-17.7152-35.4304-53.1456-35.4304-82.6368s11.776-59.0848 35.4304-82.6368L686.08 57.4464C733.2864 10.24 810.0864 10.24 851.3536 57.4464l124.0064 124.0064c23.6544 23.6544 35.4304 53.1456 35.4304 82.6368s-11.776 59.0848-35.4304 82.6368L768.7168 559.2064z m0-478.208c-17.7152 0-29.4912 5.9392-41.3696 17.7152l-123.904 124.0064c-11.776 11.776-17.7152 23.6544-17.7152 41.3696s5.9392 29.4912 17.7152 41.3696l165.2736 165.2736 165.2736-165.2736c11.776-11.776 17.7152-23.6544 17.7152-41.3696s-5.9392-29.4912-17.7152-41.3696L809.984 98.7136c-11.776-11.776-23.552-17.7152-41.2672-17.7152z m0 0","p-id":"54871"},null,-1),zo=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),Po=[So,zo];function To(o,i){return r(),l("svg",Ao,Po)}var Io=M(Yo,[["render",To]]);const Lo={},Mo={t:"1640598743438",class:"icon",viewBox:"0 0 1036 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"65341",width:"128",height:"128"},No=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),Oo=[No];function Vo(o,i){return r(),l("svg",Mo,Oo)}var Go=M(Lo,[["render",Vo]]);const jo={},qo={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"},Uo=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),Ro=[Uo];function Wo(o,i){return r(),l("svg",qo,Ro)}var Ho=M(jo,[["render",Wo]]);const Zo={},Jo={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"},Ko=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),Qo=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),Xo=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),tn=[Ko,Qo,Xo];function en(o,i){return r(),l("svg",Jo,tn)}var an=M(Zo,[["render",en]]);const on={},nn={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"},rn=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),sn=[rn];function dn(o,i){return r(),l("svg",nn,sn)}var ln=M(on,[["render",dn]]);const un={},cn={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"},pn=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),fn=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),mn=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),vn=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),gn=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),bn=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),hn=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),_n=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),xn=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),kn=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),wn=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),yn=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),Fn=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),En=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),Cn=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),$n=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),Dn=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),Bn=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),Yn=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),An=[pn,fn,mn,vn,gn,bn,hn,_n,xn,kn,wn,yn,Fn,En,Cn,$n,Dn,Bn,Yn];function Sn(o,i){return r(),l("svg",cn,An)}var zn=M(un,[["render",Sn]]);const Pn={},Tn={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"},In=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),Ln=[In];function Mn(o,i){return r(),l("svg",Tn,Ln)}var Nn=M(Pn,[["render",Mn]]);const On={class:"progress"},Vn=U({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const i=o,a=tt(()=>i.value>=80?"#e45e5e":i.value>=70?"#ff9800":i.value>=60?"#297ff3":i.value>0?"#53c31b":"");return(d,u)=>(r(),l("div",On,[t("div",{class:pt(["progress-value",`${o.value>50}`]),style:Bt({width:`${o.value}%`,backgroundColor:e(a)})},[t("span",null,n(o.text),1)],6),zt(d.$slots,"default",{},void 0,!0)]))}});var wa=M(Vn,[["__scopeId","data-v-3ee635ef"]]);const Gn={},jn={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},qn=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),Un=[qn];function Rn(o,i){return r(),l("svg",jn,Un)}var Wn=M(Gn,[["render",Rn]]);const Hn={},Zn={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},Jn=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),Kn=[Jn];function Qn(o,i){return r(),l("svg",Zn,Kn)}var Xn=M(Hn,[["render",Qn]]);const ti={class:"checkbox_switch"},ei={class:"checkbox_switch_on"},ai={class:"checkbox_switch_off"},oi=U({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:i}){const a=o,d=tt({get:()=>a.modelValue.valueOf(),set:u=>i("update:modelValue",u)});return(u,s)=>(r(),l("label",ti,[T(t("input",{type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=c=>Wa(d)?d.value=c:null)},null,512),[[Rt,e(d)]]),t("span",ei,[z(Wn)]),t("span",ai,[z(Xn)]),zt(u.$slots,"default",{},void 0,!0)]))}});var ya=M(oi,[["__scopeId","data-v-54af3568"]]);const ni={},ii={t:"1641369474206",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7685",width:"128",height:"128"},ri=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),si=[ri];function di(o,i){return r(),l("svg",ii,si)}var li=M(ni,[["render",di]]);const ui={},ci={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"},pi=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),fi=[pi];function mi(o,i){return r(),l("svg",ci,fi)}var vi=M(ui,[["render",mi]]);const gi={};function bi(o,i){return r(),l("article",null,[zt(o.$slots,"default",{},void 0,!0)])}var hi=M(gi,[["render",bi],["__scopeId","data-v-995510fc"]]);const _i={class:"cover"},xi={class:"thumbnail"},ki=U({emits:["click"],setup(o,{emit:i}){const a=()=>{i("click")};return(d,u)=>(r(),K(hi,null,{default:R(()=>[t("a",{onClick:a},[t("div",_i,[t("div",xi,[zt(d.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var wi=M(ki,[["__scopeId","data-v-782f97c0"]]);const yi={class:"select-editable"},Fi={selected:"",value:""},Ei=["value"],Ci={value:"useInput"},$i=["placeholder"],Di=U({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=E(""),c=E(""),_=tt({get:()=>a.modelValue.valueOf(),set:m=>i("update:modelValue",m)}),g=m=>{m===s.value||s.value==="useInput"&&m===c.value||(m===""||a.options.some(h=>h.key===m)?s.value=m:(c.value=m,s.value="useInput"))};Nt(()=>a.modelValue,m=>{g(m)}),At(()=>{const m=_.value;g(m)});const p=m=>{s.value==="useInput"?_.value=c.value:_.value=s.value},f=m=>{_.value=c.value};return(m,h)=>(r(),l("label",null,[t("div",yi,[T(t("select",{"onUpdate:modelValue":h[0]||(h[0]=k=>s.value=k),autocomplete:"off",onChange:p},[t("option",Fi,n(e(d)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(r(!0),l(G,null,et(o.options,(k,x)=>(r(),l("option",{value:k.key,key:x},n(k.value||k.key),9,Ei))),128)),t("option",Ci,n(e(d)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[dt,s.value,void 0,{trim:!0}]]),s.value=="useInput"?T((r(),l("input",{key:0,type:"text","onUpdate:modelValue":h[1]||(h[1]=k=>c.value=k),required:"",placeholder:e(d)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:f},null,40,$i)),[[ot,c.value,void 0,{trim:!0}]]):D("",!0)])]))}});var Jt=M(Di,[["__scopeId","data-v-c446588c"]]);const Bi={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},Yi=U({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const i=a=>{if(a==null)return;if(typeof a=="number")return a+"px";const d=a.toString();return parseInt(d)+""==d?d+"px":d};return(a,d)=>(r(),l("div",{class:"quick-loading",style:Bt({width:i(o.size),height:i(o.size)})},[(r(),l("svg",Bi,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:Bt({fill:o.color})},null,4)]))],4))}});var Ai=M(Yi,[["__scopeId","data-v-47c6049a"]]);const Si={},zi={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":""},Pi=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),Ti=[Pi];function Ii(o,i){return r(),l("svg",zi,Ti)}var Li=M(Si,[["render",Ii]]);const Mi={},Ni={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Oi=Wt('',1),Vi=[Oi];function Gi(o,i){return r(),l("svg",Ni,Vi)}var ji=M(Mi,[["render",Gi]]);const qi=o=>(rt("data-v-0cc5bf50"),o=o(),st(),o),Ui=["href","title"],Ri=qi(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),Wi=[Ri],Hi=U({props:{type:null},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{switch(i.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(s,c)=>(r(),l("a",{href:e(u),target:"_blank",title:e(a)("\u8DF3\u8F6C\u6559\u7A0B")},Wi,8,Ui))}});var Zi=M(Hi,[["__scopeId","data-v-0cc5bf50"]]),Fa={install:o=>{o.component("icon-loading",Ai),o.component("icon-success",Li),o.component("icon-error",ji),o.component("GlHelp",Zi)}};const{$gettext:ve,$ngettext:Ce}=Se(),Ji=o=>{},Ki=()=>new Date().getTime(),Qi=o=>{if(o<1e3)return`${o} B`;let a=1e3,d=0;for(let c=o/1e3;c>=1e3;c/=1e3)a*=1e3,d++;let u=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(a/100)).toFixed(1)+u[d]},Xi=o=>{if(o==null)return 0;if(o<1e4)return o;let a=parseInt(`${o/1e4}`),d=o%1e4;return`${a}\u4E07${d}`},tr=o=>{if(o)try{var i=new Date(o),a=i.getHours(),d=i.getMinutes(),u=i.getSeconds();return a<10&&(a=`0${a}`),d<10&&(d=`0${d}`),u<10&&(u=`0${u}`),`${a}:${d}:${u}`}catch(s){}return""},er=o=>{if(o){let i=Math.floor(o/86400),a=Math.floor(o/3600)%24,d=Math.floor(o/60)%60,u=o%60;return(i>0?Ce("%{ days }\u5929","%{ days }\u5929",i,{days:Ee(i)}):"")+Ce("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",a,{hours:Ee(a)})+Ce("%{ minutes }\u5206","%{ minutes }\u5206",d,{minutes:Ee(d)})+Ce("%{ seconds }\u79D2","%{ seconds }\u79D2",u,{seconds:Ee(u)})}},ar=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),or=o=>o.length<3?ve("\u7528\u6237\u540D\u592A\u77ED"):o.toLowerCase()!=o?ve("\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199"):new RegExp("^\\d").exec(o)?ve("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):new RegExp("^_").exec(o)?ve("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934"):new RegExp("^[a-z0-9_]+$").exec(o)?!0:ve("\u975E\u6CD5\u7684\u7528\u6237\u540D"),nr=(o,i)=>{let a=!0,d=null;const u=()=>{d=null,a&&o().finally(()=>{a&&(d=setTimeout(u,i))})};return d=setTimeout(u,0),()=>{a=!1,d!=null&&clearTimeout(d)}};var ir=Object.freeze(Object.defineProperty({__proto__:null,formatDate:Ji,UnixDate:Ki,byteToSize:Qi,numberToSum:Xi,dateForm:tr,stampForm:er,checkIsIP:ar,checkSmabaUserName:or,easyInterval:nr},Symbol.toStringTag,{value:"Module"})),Pt=lt({},ir);const rr=()=>{var i;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(i=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&i.matches?"dark":"light"},Ea=()=>rr()=="dark",sr={class:"flow"},dr={class:"flow-data"},lr={key:0},ur={key:1},cr=U({setup(o){const{$gettext:i,$ngettext:a}=H();la([ua,ca,pa,fa,ma,va]);const d=E(),u=w=>{var b;const v=(b=d.value)==null?void 0:b[w];return!v||v.startTime==0?"":f(v.startTime*1e3)+"-"+f(v.endTime*1e3)},s=tt(()=>{var v;let w=[];return(v=d.value)==null||v.forEach(b=>{w.push({value:b.uploadSpeed})}),w}),c=tt(()=>{var v;let w=[];return(v=d.value)==null||v.forEach(b=>{w.push({value:b.downloadSpeed})}),w}),_=tt(()=>{var v;let w="";if(d.value){let b=((v=d.value)==null?void 0:v.length)||0;if(b>0){let y=d.value[b-1];w=m(y.uploadSpeed)+"/s"}}return w}),g=tt(()=>{var v;let w="";if(d.value){let b=((v=d.value)==null?void 0:v.length)||0;if(b>0){let y=d.value[b-1];w=m(y.downloadSpeed)+"/s"}}return w});tt(()=>{var v;let w=[];return(v=d.value)==null||v.forEach(b=>{w.push({value:b.downloadSpeed+b.uploadSpeed})}),w});const p=()=>L(this,null,function*(){var w;try{const v=yield O.Network.Statistics.GET();if(v.data&&(w=v.data.result)!=null&&w.items){const b=v.data.result.slots||10;if(v.data.result.items.lengthb?d.value=v.data.result.items.slice(b-v.data.result.items.length):d.value=v.data.result.items}}catch(v){console.log(v)}}),f=Pt.dateForm,m=Pt.byteToSize,h=E();let k=null;const x=w=>{const v=Ea();return k=ga(w,v?"dark":"light"),k.setOption({animation:!1,backgroundColor:v?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:b=>{if(Array.isArray(b)){let y="";b.length>0&&(y=u(b[0].axisValue));for(let F=0;F${b[F].seriesName}: ${m(b[F].value)}/s`;return y.toString()}else{const y=b;return`${u(y.axisValue)}
${y.seriesName}: ${m(y.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:i("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:v?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(b,y){return`${m(b)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:i("\u4E0B\u8F7D"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:i("\u4E0A\u4F20"),data:s.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:i("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:i("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:v?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),k};return At(()=>{setTimeout(()=>L(this,null,function*(){if(h.value){yield p();const w=x(h.value),v=h.value;w.resize({width:v.clientWidth,height:v.clientHeight}),window.addEventListener("resize",()=>{w.resize({width:v.clientWidth,height:v.clientHeight})});const b=()=>L(this,null,function*(){if(k!=null){if(!document.hidden){if(yield p(),k==null)return;w.setOption({series:[{name:i("\u4E0B\u8F7D"),data:c.value,type:"line",areaStyle:{},smooth:!0},{name:i("\u4E0A\u4F20"),data:s.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(b,5e3)}});setTimeout(b,5e3)}}),900)}),jt(()=>{k!=null&&(k.dispose(),k=null)}),(w,v)=>(r(),l("div",sr,[t("div",{ref_key:"el",ref:h,class:"echart"},null,512),t("div",dr,[e(_)?(r(),l("span",lr,n(e(i)("\u4E0A\u4F20:"))+" "+n(e(_)),1)):D("",!0),e(g)?(r(),l("span",ur,n(e(i)("\u4E0B\u8F7D:"))+" "+n(e(g)),1)):D("",!0)])]))}});var pr=M(cr,[["__scopeId","data-v-770b811c"]]);const fr={},mr={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},vr=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),gr=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),br=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),hr=[vr,gr,br];function _r(o,i){return r(),l("svg",mr,hr)}var Vt=M(fr,[["render",_r]]);let $e=0;const xr={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,$e=window.setTimeout(o,1e3))};$e=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,$e!=0&&clearTimeout($e),this.Close())}}},Pe=o=>(rt("data-v-48bf84c6"),o=o(),st(),o),kr={key:0,class:"loading icon"},wr=Pe(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),yr=[wr],Fr={key:1,class:"success icon"},Er=Pe(()=>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)),Cr=[Er],$r={key:2,class:"error icon"},Dr=Pe(()=>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)),Br=[Dr],Yr={key:3,class:"warning icon"},Ar=Pe(()=>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)),Sr=[Ar];function zr(o,i,a,d,u,s){return r(),K($t,{name:"el-fade-in-linear"},{default:R(()=>[u.show?(r(),l("div",{key:0,class:"toast",onClick:i[1]||(i[1]=c=>s.Stop())},[a.type=="loading"?(r(),l("div",kr,yr)):a.type=="success"?(r(),l("div",Fr,Cr)):a.type=="error"?(r(),l("div",$r,Br)):a.type=="warning"?(r(),l("div",Yr,Sr)):D("",!0),t("div",{class:"message",onClick:i[0]||(i[0]=mt(()=>{},["stop"]))},n(s.Message),1)])):D("",!0)]),_:1})}var Pr=M(xr,[["render",zr],["__scopeId","data-v-48bf84c6"]]);const be=new Map,ae=o=>{const i=bt(Pr,vt(lt({},o),{Close:()=>{d()}})),a=document.createElement("div");document.body.append(a),i.mount(a);const d=()=>{a.remove(),be.get(i._uid)&&be.delete(i._uid)};return o.type=="loading"&&be.set(i._uid,{Close:d}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{d()},o==null?void 0:o.duration):setTimeout(()=>{d()},3e3)),{Close:d}},C=o=>ae(o);C.Loading=(o,i)=>ae({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:i||0});C.Success=o=>ae({type:"success",message:o});C.Error=o=>ae({type:"error",message:o,duration:0});C.Warning=o=>ae({type:"warning",message:o});C.Message=o=>ae({message:o});C.Clear=()=>{be.forEach((o,i)=>{o.Close(),be.delete(i)})};const{$gettext:Xt,$ngettext:oA}=Se(),Ct={installApp:(o,i)=>new Promise((a,d)=>{let u=0;O.App.Install.POST({name:o}).then(()=>{const s=setTimeout(()=>{u==0&&(u=1,a(!1))},(i||60)*1e3),c=()=>{u==0&&O.App.Check.POST({name:o}).then(_=>{if(u==0&&_!=null&&_.data){const{result:g}=_.data;if((g==null?void 0:g.status)=="installed"){clearTimeout(s),u=1,a(!0);return}}}).catch(_=>{}).finally(()=>{u==0&&setTimeout(c,3e3)})};setTimeout(c,3e3)}).catch(s=>{u==0&&(u=1,d(Xt("\u5B89\u88C5\u5931\u8D25\uFF0C")+s))})}),checkAndInstallApp:(o,i,a)=>L(ee,null,function*(){let d=C.Loading(Xt("\u68C0\u67E5\u4E2D..."));try{const u=yield O.App.Check.POST({name:o});if(d.Close(),u!=null&&u.data){const{result:s,error:c}=u.data;if(c)C.Warning(c);else if(s){if(s.status=="installed")return!0;if(confirm(Xt("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:i}))){d=C.Loading(Xt("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const _=yield Ct.installApp(a||o);if(d.Close(),_)return!0;C.Error(Xt("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else C.Warning(Xt("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(u){return d.Close(),C.Warning(u),!1}}),installAndGo:(o,i,a,d)=>L(ee,null,function*(){(yield Ct.checkAndInstallApp(o,i,d))&&(location.href=a)})},Tr={},Ir={t:"1640746738262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1216",width:"128",height:"128"},Lr=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),Mr=[Lr];function Nr(o,i){return r(),l("svg",Ir,Mr)}var Or=M(Tr,[["render",Nr]]);const Vr=o=>(rt("data-v-a96d68d4"),o=o(),st(),o),Gr={id:"actioner"},jr={key:0,class:"action-container"},qr={class:"action-container_header"},Ur=Vr(()=>t("div",null,null,-1)),Rr={class:"title"},Wr=["title"],Hr={class:"action-container_body"},Zr=U({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1);At(()=>{u.value=!0,document.body.setAttribute("lock-scroll","true")}),jt(()=>{document.body.removeAttribute("lock-scroll")});const s=()=>{i.Close&&(u.value=!1,setTimeout(()=>{i.Close&&i.Close()},300))};return(c,_)=>(r(),l("div",Gr,[t("div",{class:"bg",onClick:s}),o.type!=null?zt(c.$slots,"default",{key:0},void 0,!0):(r(),l(G,{key:1},[u.value?(r(),l("div",jr,[t("div",qr,[Ur,t("div",Rr,n(o.title),1),t("button",{class:"close",title:e(a)("\u5173\u95ED"),onClick:s},[z(Or)],8,Wr)]),t("div",Hr,[zt(c.$slots,"default",{},void 0,!0)])])):D("",!0)],64))]))}});var Jr=M(Zr,[["__scopeId","data-v-a96d68d4"]]);const _t=U({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(i,a)=>(r(),K(Jr,{Close:o.Close,type:o.type,title:o.title},{default:R(()=>[zt(i.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Kr=["onSubmit"],Qr={class:"actioner-dns_header"},Xr={class:"actioner-dns_body"},ts={class:"label-item"},es={class:"label-item_key"},as={class:"label-item_value"},os=["disabled"],ns={value:"manual"},is={class:"label-item"},rs={class:"label-item_key"},ss={class:"label-item_value"},ds=["placeholder","onUpdate:modelValue"],ls={class:"label-item_key"},us={class:"label-item_value"},cs=["placeholder","onUpdate:modelValue"],ps={key:1,class:"label-message"},fs={class:"actioner-dns_footer"},ms=["disabled"],vs={key:1,class:"actioner-dns"},gs={class:"actioner-dns_header"},bs={class:"actioner-dns_body"},hs={class:"config-message"},_s={class:"actioner-dns_footer"},xs=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=ze(),c=s.status,_=tt(()=>s.status.proto!="static"),g=()=>{let w=c.dnsList||[];for(w=w.filter(v=>v);w.length<2;)w.push("");return w},p=E({interfaceName:c.defaultInterface||"",dnsProto:c.dnsProto||"manual",manualDnsIp:g()}),f=E(""),m=E(!1),h=()=>L(this,null,function*(){f.value="";let w={};switch(p.value.dnsProto){case"auto":break;case"manual":if(w.manualDnsIp=[],!p.value.manualDnsIp[0]){C.Error(a("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}w.manualDnsIp=p.value.manualDnsIp.filter(b=>b);break}w.dnsProto=p.value.dnsProto,w.interfaceName=p.value.interfaceName;const v=C.Loading(a("\u914D\u7F6E\u4E2D..."));try{const b=yield O.Guide.DnsConfig.POST(w);if(b!=null&&b.data){const{success:y,error:F}=b==null?void 0:b.data;F&&(f.value=F),(y==null||y==0)&&(C.Success(a("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(b){f.value=b}v.Close()}),k=w=>{w.preventDefault(),i.Close&&i.Close()},x=w=>{location.reload()};return(w,v)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0?(r(),l("form",{key:0,class:"actioner-dns",onSubmit:mt(h,["prevent"])},[t("div",Qr,[t("span",null,n(e(a)("DNS\u914D\u7F6E")),1)]),t("div",Xr,[t("div",ts,[t("div",es,[t("span",null,n(e(a)("DNS\u9009\u9879")),1)]),t("div",as,[T(t("select",{"onUpdate:modelValue":v[0]||(v[0]=b=>p.value.dnsProto=b)},[t("option",{value:"auto",disabled:!e(_)},n(e(a)("\u81EA\u52A8\u83B7\u53D6DNS")),9,os),t("option",ns,n(e(a)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[dt,p.value.dnsProto]])])]),p.value.dnsProto=="manual"?(r(!0),l(G,{key:0},et(p.value.manualDnsIp,(b,y)=>(r(),l("div",is,[y==0?(r(),l(G,{key:0},[t("div",rs,[t("span",null,n(e(a)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",ss,[T(t("input",{type:"text",placeholder:e(a)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":F=>p.value.manualDnsIp[y]=F},null,8,ds),[[ot,p.value.manualDnsIp[y],void 0,{trim:!0}]])])],64)):(r(),l(G,{key:1},[t("div",ls,n(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",us,[T(t("input",{type:"text",placeholder:e(a)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":F=>p.value.manualDnsIp[y]=F},null,8,cs),[[ot,p.value.manualDnsIp[y],void 0,{trim:!0}]])])],64))]))),256)):D("",!0),f.value?(r(),l("div",ps,n(f.value),1)):D("",!0)]),t("div",fs,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:m.value},n(e(a)("\u786E\u8BA4")),9,ms),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},n(e(a)("\u53D6\u6D88")),1)])],40,Kr)):u.value==1?(r(),l("div",vs,[t("div",gs,[t("span",null,n(e(a)("DNS\u914D\u7F6E")),1)]),t("div",bs,[t("div",hs,n(e(a)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",_s,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:x},n(e(a)("\u5B8C\u6210")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var ks=M(xs,[["__scopeId","data-v-2ac87be2"]]);const Ca=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=bt(ks,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},ws=o=>(rt("data-v-4ca82311"),o=o(),st(),o),ys={class:"action"},Fs={class:"action-body"},Es=ws(()=>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)),Cs={class:"title"},$s={class:"info"},Ds=["href"],Bs={class:"btns"},Ys=U({props:{port:Number,Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>`http://${location.hostname}:${i.port}`),s=()=>{i.Close&&(i.Close(),location.reload())};return(c,_)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("div",ys,[t("div",Fs,[Es,t("h2",Cs,n(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",$s,[t("span",null,n(e(a)("\u524D\u5F80")),1),t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,Ds),t("span",null,n(e(a)("\u8FDB\u884C\u6D4B\u901F")),1)]),t("div",Bs,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:s},n(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var As=M(Ys,[["__scopeId","data-v-4ca82311"]]),Ss=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(As,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const $a=o=>(rt("data-v-17b89cb7"),o=o(),st(),o),zs=$a(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),Ps={class:"app-container_status-label_text"},Ts={class:"text_status"},Is={class:"text_info"},Ls=$a(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),Ms={class:"app-container_status-label_text"},Ns={class:"text_info"},Os=U({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=xa(),s=E(null),c=g=>{const p=g.target,{left:f,top:m}=p.getBoundingClientRect();u.portitemStyle.show=!0,u.portitemStyle.left=f,u.portitemStyle.top=m,u.portitemStyle.portitem=i.item},_=g=>{u.portitemStyle.show=!1};return(g,p)=>(r(),l("div",{class:"app-container_status-label_bg",style:Bt(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:s,onMouseenter:c,onMouseleave:_},[o.item.linkState=="DOWN"?(r(),l(G,{key:0},[zs,t("div",Ps,[t("div",Ts,n(e(a)("\u5DF2\u65AD\u5F00")),1),t("div",Is,n(o.item.name)+" "+n(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(r(),l(G,{key:1},[Ls,t("div",Ms,[t("div",null,n(o.item.linkSpeed),1),t("div",Ns,n(o.item.name)+" "+n(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var Da=M(Os,[["__scopeId","data-v-17b89cb7"]]);const Ba=o=>(rt("data-v-6f355f28"),o=o(),st(),o),Vs=Ba(()=>t("span",null,n("<"),-1)),Gs=[Vs],js=Ba(()=>t("span",null,n(">"),-1)),qs=[js],Us=U({props:{portList:{type:Array,required:!0}},setup(o){const i=E(),a=E(0),d=E(0),u=E(0),s=E(!1),c=()=>{if(u.value>=0){u.value=0;return}u.value+=100},_=()=>{if(u.value<=0-a.value+d.value){u.value=0-a.value+d.value;return}u.value-=100};return At(()=>{je(()=>{i.value&&(a.value=i.value.scrollWidth,d.value=i.value.clientWidth,s.value=a.value>d.value)})}),(g,p)=>(r(),l("div",{class:"app-interfaces",ref_key:"el",ref:i},[s.value?(r(),l(G,{key:0},[t("a",{class:"btn-f",onClick:c},Gs),t("a",{class:"btn-r",onClick:_},qs)],64)):D("",!0),(r(!0),l(G,null,et(o.portList,(f,m)=>(r(),K(Da,{item:f,transform:u.value},null,8,["item","transform"]))),256))],512))}});var Rs=M(Us,[["__scopeId","data-v-6f355f28"]]);const Ws={},Hs={width:"82px",height:"82px",viewBox:"0 0 82 82",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Zs=Wt('',1),Js=[Zs];function Ks(o,i){return r(),l("svg",Hs,Js)}var We=M(Ws,[["render",Ks]]);const Qs=["onSubmit"],Xs={class:"actioner-dns_header"},td={class:"actioner-dns_body"},ed={class:"label-item"},ad={class:"label-item_key"},od={class:"label-item_value"},nd={class:"item_info"},id={class:"label-item"},rd={class:"label-item_key"},sd={class:"label-item_value"},dd={selected:"true",value:""},ld=["value"],ud={class:"actioner-dns_footer"},cd=["disabled"],pd={key:1,class:"actioner-dns"},fd={class:"actioner-dns_header"},md={class:"softsource_tit"},vd={class:"actioner-dns_body"},gd={class:"finished"},bd={class:"successed"},hd={class:"btns"},_d=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=E(""),c=E(),_=E();(()=>{O.Guide.SoftSourceList.GET().then(h=>{var k,x;if((k=h==null?void 0:h.data)!=null&&k.result){const w=(x=h==null?void 0:h.data)==null?void 0:x.result;_.value=w}}).then(()=>O.Guide.GetSoftSource.GET()).then(h=>{var k,x;if((k=h==null?void 0:h.data)!=null&&k.result){const w=h.data.result;c.value=w.softSource,(x=_.value)!=null&&x.softSourceList.find(v=>v.identity==w.softSource.identity)&&(s.value=w.softSource.identity)}})})();const p=h=>{h.preventDefault(),i.Close&&i.Close()},f=h=>{const k=C.Loading(a("\u6B63\u5728\u5207\u6362\u4E2D..."));O.Guide.SoftSource.POST({softSourceIdentity:s.value}).then(x=>{if(x!=null&&x.data){if((x.data.success||0)==0){u.value=1;return}else if(x.data.error)throw x.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(x=>{C.Error(x)}).finally(()=>k.Close())},m=h=>{h.preventDefault(),location.reload()};return(h,k)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>{var x,w;return[u.value==0?(r(),l("form",{key:0,class:"actioner-dns",onSubmit:mt(f,["prevent"])},[t("div",Xs,[t("span",null,n(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",td,[t("div",ed,[t("div",ad,[t("span",null,n(e(a)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",od,[t("p",nd,n((x=c.value)==null?void 0:x.name),1)])]),t("div",id,[t("div",rd,[t("span",null,n(e(a)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",sd,[T(t("select",{name:"",id:"","onUpdate:modelValue":k[0]||(k[0]=v=>s.value=v)},[t("option",dd,n(e(a)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(r(!0),l(G,null,et((w=_.value)==null?void 0:w.softSourceList,(v,b)=>(r(),l("option",{value:v.identity,key:b},n(v.name),9,ld))),128))],512),[[dt,s.value,void 0,{trim:!0}]])])])]),t("div",ud,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:s.value==""},n(e(a)("\u786E\u8BA4")),9,cd),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},n(e(a)("\u53D6\u6D88")),1)])],40,Qs)):D("",!0),u.value==1?(r(),l("form",pd,[t("div",fd,[t("span",md,n(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",vd,[t("div",gd,[z(We)]),t("p",bd,n(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",hd,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:m},n(e(a)("\u786E\u5B9A")),1)])])])):D("",!0)]}),_:1},8,["Close"]))}});var xd=M(_d,[["__scopeId","data-v-2deed63d"]]);const Ya=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=bt(xd,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},Ht=o=>(rt("data-v-51765cb0"),o=o(),st(),o),kd={class:"app-container_status-label"},wd={class:"app-container_status-label_item",style:{"padding-right":"10px"}},yd={class:"app-container_status-container",style:{height:"100%"}},Fd={key:0,class:"app-container_status-container_body"},Ed=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),Cd={class:"app-container_status-info"},$d={class:"container_success"},Dd={class:"container_time"},Bd={key:1,class:"app-container_status-container_body"},Yd=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ad={class:"app-container_status-info"},Sd={class:"container_failure"},zd={class:"container_time"},Pd={key:2,class:"app-container_status-container_body"},Td=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Id={class:"app-container_status-info"},Ld={class:"container_failure"},Md={class:"container_time"},Nd={key:3,class:"app-container_status-container_body"},Od=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Vd={class:"app-container_status-info"},Gd={class:"container_failure"},jd={class:"container_time"},qd={key:4,class:"app-container_status-container_body"},Ud=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),Rd={class:"app-container_status-info"},Wd={class:"container_failure"},Hd={class:"app-container_status-label_item",style:{"padding-left":"10px"}},Zd={class:"app-container_status-container",style:{height:"100%"}},Jd=["title"],Kd={class:"DeviceBlock"},Qd={class:"app-container_status-container_body"},Xd=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),t0={class:"app-container_status-info"},e0={class:"container_content"},a0={class:"devise"},o0=Ht(()=>t("em",null,null,-1)),n0={class:"app-container_status-container"},i0=["title"],r0={class:"DeviceBlock"},s0={class:"app-container_title"},d0={class:"app-container_status-label_block"},l0={class:"app-container_status-label_block"},u0={class:"app-container_title"},c0={class:"app-container_status-label_block"},p0=Ht(()=>t("em",null,null,-1)),f0={class:"app-container_status-container"},m0={class:"app-container_title"},v0=["title"],g0={class:"DeviceBlock"},b0={class:"app-container_body"},h0=U({props:{homebox:{type:Object}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=ze(),u=()=>{Ca()},s=()=>{Ya()},c=tt(()=>d.status),_=tt(()=>d.deviceList),g=E(!1),p=E(!1),f=E(!1),m=gt({portList:[],load:!1}),h=B=>{switch(B){case"pppoe":return i("\u62E8\u53F7\u4E0A\u7F51");case"static":return i("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return B&&B.toUpperCase()},k=B=>{switch(B){case"manual":return i("\u624B\u52A8\u914D\u7F6E");case"auto":return i("\u81EA\u52A8\u83B7\u53D6");default:return""}},x=()=>{(m.load&&document.hidden?Promise.resolve():O.Network.PortList.GET().then(B=>{if(B!=null&&B.data){const{result:$}=B==null?void 0:B.data;$&&(m.portList=$.ports||[])}})).finally(()=>{m.load=!0,setTimeout(x,1e4)})};x();const w=Pt.stampForm,v=()=>{g.value=!g.value},b=()=>{p.value=!p.value},y=()=>{f.value=!f.value},F=()=>{v(),Ct.installAndGo("app-meta-nlbwmon",i("\u5E26\u5BBD\u76D1\u63A7"),"/cgi-bin/luci/admin/services/nlbw")},Y=()=>L(this,null,function*(){var B,$,S;if(b(),yield Ct.checkAndInstallApp("app-meta-homebox","Homebox"))try{const V=yield O.Network.Homebox.Enable.POST();($=(B=V==null?void 0:V.data)==null?void 0:B.result)!=null&&$.port?Ss({port:V.data.result.port,setup:0}):((S=V==null?void 0:V.data)==null?void 0:S.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":C.Warning(i("\u542F\u52A8\u5931\u8D25"))}catch(V){C.Warning(i("\u542F\u52A8\u5931\u8D25"))}}),A=()=>{b(),Ct.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return(B,$)=>{var V,N;const S=ut("router-link");return r(),l(G,null,[t("div",kd,[t("div",wd,[t("div",yd,[e(c)!=null?(r(),l(G,{key:0},[e(c).networkInfo=="netSuccess"?(r(),l("div",Fd,[Ed,t("div",Cd,[t("span",$d,n(e(i)("\u5DF2\u8054\u7F51")),1),t("span",Dd,n(e(w)(e(c).uptimeStamp)),1)])])):e(c).networkInfo=="dnsFailed"?(r(),l("div",Bd,[Yd,t("div",Ad,[t("span",Sd,n(e(i)("DNS\u9519\u8BEF")),1),t("span",zd,n(e(w)(e(c).uptimeStamp)),1),t("div",{onClick:u,class:"container_configure"},n(e(i)("DNS\u914D\u7F6E")),1)])])):e(c).networkInfo=="softSourceFailed"?(r(),l("div",Pd,[Td,t("div",Id,[t("span",Ld,n(e(i)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1),t("span",Md,n(e(w)(e(c).uptimeStamp)),1),t("div",{onClick:s,class:"container_configure"},n(e(i)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])])):e(c).networkInfo=="netFailed"?(r(),l("div",Nd,[Od,t("div",Vd,[t("span",Gd,n(e(i)("\u672A\u8054\u7F51")),1),t("span",jd,n(e(w)(e(c).uptimeStamp)),1)])])):(r(),l("div",qd,[Ud,t("div",Rd,[t("span",Wd,n(e(i)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):D("",!0)])]),t("div",Hd,[t("div",Zd,[t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u8BBE\u5907\u4FE1\u606F")},[z(Vt,{onClick:v})],8,Jd),T(t("div",Kd,[t("div",{class:"menu_background",onClick:v}),t("ul",null,[t("li",null,[z(S,{to:"/devicemanagement"},{default:R(()=>[it(n(e(i)("\u8BBE\u5907\u7BA1\u7406")),1)]),_:1})]),t("li",null,[t("a",{onClick:F},n(e(i)("\u5E26\u5BBD\u76D1\u63A7")),1)])])],512),[[Yt,g.value]]),t("div",Qd,[Xd,t("div",t0,[t("span",e0,n(((N=(V=e(_))==null?void 0:V.devices)==null?void 0:N.length)||0),1),t("span",a0,n(e(i)("\u5DF2\u8FDE\u63A5\u8BBE\u5907")),1)])])])])]),o0,t("div",n0,[t("span",{class:"more_icon",title:e(i)("\u6D4B\u901F")},[z(Vt,{onClick:b})],8,i0),T(t("div",r0,[t("div",{class:"menu_background",onClick:b}),t("ul",null,[t("li",null,[t("a",{onClick:Y},n(e(i)("\u5185\u7F51\u6D4B\u901F")),1)]),t("li",null,[t("a",{onClick:A},n(e(i)("\u5916\u7F51\u6D4B\u901F")),1)])])],512),[[Yt,p.value]]),t("div",s0,[t("span",null,n(e(i)("IP\u5730\u5740"))+"\uFF08"+n(e(c).defaultInterface)+"\uFF09",1)]),t("div",d0,[t("span",null," IPv4: "+n(e(c).ipv4addr)+" \uFF08"+n(h(e(c).proto||""))+"\uFF09 ",1)]),t("div",l0,[t("span",null,"IPv6: "+n(e(c).ipv6addr),1)]),t("div",u0,[t("span",null,"DNS\uFF08"+n(k(e(c).dnsProto))+"\uFF09",1)]),(r(!0),l(G,null,et(e(c).dnsList,P=>(r(),l("div",c0,[t("span",null,n(P),1)]))),256))]),p0,t("div",f0,[t("div",m0,[t("span",null,n(e(i)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F")},[z(Vt,{onClick:y})],8,v0),T(t("div",g0,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[z(S,{to:"/interfaceconfig"},{default:R(()=>[it(n(e(i)("\u7F51\u53E3\u914D\u7F6E")),1)]),_:1})])])],512),[[Yt,f.value]])]),t("div",b0,[e(m).load?(r(),K(Rs,{key:0,portList:e(m).portList},null,8,["portList"])):D("",!0)])])],64)}}});var _0=M(h0,[["__scopeId","data-v-51765cb0"]]);const x0={class:"network-container"},k0={class:"network-container_flow"},w0={class:"network-container_flow-container"},y0={class:"network-container_status"},F0=U({setup(o){return(i,a)=>(r(),l("div",x0,[t("div",k0,[t("div",w0,[z(pr)])]),t("div",y0,[z(_0)])]))}});var E0=M(F0,[["__scopeId","data-v-2d777a95"]]);const C0={},$0={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},D0=t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),B0=[D0];function Y0(o,i){return r(),l("svg",$0,B0)}var Tt=M(C0,[["render",Y0]]);const A0={},S0={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},z0=Wt('',1),P0=[z0];function T0(o,i){return r(),l("svg",S0,P0)}var na=M(A0,[["render",T0]]);const I0={},L0={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},M0=Wt('',1),N0=[M0];function O0(o,i){return r(),l("svg",L0,N0)}var V0=M(I0,[["render",O0]]);const He=o=>(rt("data-v-3dae3be2"),o=o(),st(),o),G0=["onSubmit"],j0={class:"action-header"},q0={class:"action-header_title"},U0={class:"action-body"},R0={class:"disk-info"},W0=He(()=>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)),H0={key:0,class:"disk-info_mount-name"},Z0={key:1,class:"disk-info_mount-name"},J0={key:0,class:"label-item"},K0={class:"label-item_key"},Q0={class:"label-item_path"},X0={class:"label-item"},tl={class:"label-item_key"},el={class:"label-item_value"},al=["disabled"],ol={key:0,value:""},nl={value:"format"},il={key:1,value:"default"},rl={class:"label-item_value"},sl={key:0,class:"msg"},dl={key:1,class:"msg"},ll={class:"action-footer"},ul=He(()=>t("div",{class:"auto"},null,-1)),cl=["disabled"],pl=["disabled"],fl={key:1,class:"action result"},ml={class:"action-body"},vl=He(()=>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)),gl={class:"action-body_msg"},bl={key:0,class:"action-body_info"},hl={key:1,class:"action-body_info"},_l={class:"btns"},xl=U({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close&&i.Close()},s=F=>{F.preventDefault(),i.Cancel&&i.Cancel(),u()},c=F=>{i.Next&&i.Next(F),u()},_=E(!1),g=E(0),p=F=>{g.value=F},f=E(i.action=="nas"?"":"format"),m=E(),h=E(),k=()=>{switch(f.value){case"format":w();return;case"default":x();return;default:C.Warning(a("\u8BF7\u9009\u62E9\u9009\u9879"));return}},x=()=>{let F="";const Y=i.mount;if(Y!=null&&Y.mountPoint!=null&&(F=Y.mountPoint),F!=""){c(F);return}C.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},w=()=>{const F=i.disk,Y=i.mount;if(Y){const A=Y.mountPoint||Y.path;if(!confirm(a("\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A %{partname} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{partname:A||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:A||""})))return;b(Y);return}if(F){if(!confirm(a("\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 %{model} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{model:F.venderModel||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;v(F);return}C.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},v=F=>L(this,null,function*(){if(F.name==null||F.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(F.path==null||F.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}_.value=!0;const Y=C.Loading(a("\u521D\u59CB\u5316\u4E2D..."));try{const A=yield O.Nas.Disk.Init.POST({name:F.name,path:F.path});if(A!=null&&A.data){const{result:B,error:$}=A==null?void 0:A.data;$&&C.Warning($),B&&(B.errorInfo?C.Warning(B.errorInfo):(C.Success(a("\u521D\u59CB\u5316\u6210\u529F")),B.childrens&&B.childrens.length>0&&(h.value=B.childrens[0]),m.value=B,p(1)))}}catch(A){C.Error(A)}Y.Close(),_.value=!1}),b=F=>L(this,null,function*(){if(F.path==null||F.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}_.value=!0;const Y=C.Loading(a("\u683C\u5F0F\u5316\u4E2D..."));try{const A=yield O.Nas.Disk.Partition.Format.POST({path:F.path,uuid:F.uuid,mountPoint:F.mountPoint});if(A!=null&&A.data){const{result:B,error:$}=A==null?void 0:A.data;$&&C.Warning($),B&&(C.Success(a("\u683C\u5F0F\u5316\u6210\u529F")),h.value=B,p(1))}}catch(A){C.Error(A)}Y.Close(),_.value=!1}),y=()=>{if(h.value&&h.value.mountPoint){c(h.value.mountPoint);return}C.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(F,Y)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>{var A;return[g.value==0?(r(),l("form",{key:0,class:"action format",onSubmit:mt(k,["prevent"])},[t("div",j0,[t("div",q0,n(e(a)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",U0,[t("div",R0,[W0,o.mount?(r(),l("div",H0,[t("span",null,"\u3010"+n(o.mount.total)+"\u3011",1),t("span",null,n(o.mount.mountPoint||o.mount.path),1)])):o.disk?(r(),l("div",Z0,[t("span",null,"\u3010"+n(o.disk.size)+"\u3011",1),t("span",null,n(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),l("div",J0,[t("div",K0,[t("span",null,n(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Q0,n(o.mount.mountPoint||o.mount.path)+"\uFF08"+n(o.mount.total)+"\uFF09",1)])):D("",!0),t("div",X0,[t("div",tl,[t("span",null,n(e(a)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",el,[T(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=B=>f.value=B),required:"",disabled:o.action=="disk"},[o.mount!=null?(r(),l("option",ol,n(e(a)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):D("",!0),t("option",nl,n(e(a)("\u683C\u5F0F\u5316")),1),o.mount!=null?(r(),l("option",il,n(e(a)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):D("",!0)],8,al),[[dt,f.value]])]),t("div",rl,[f.value=="format"?(r(),l("p",sl,n(e(a)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):f.value=="default"?(r(),l("p",dl)):D("",!0)])])]),t("div",ll,[ul,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button",disabled:_.value},n(e(a)("\u8FD4\u56DE")),9,cl),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:_.value},n(e(a)("\u4E0B\u4E00\u6B65")),9,pl)])],40,G0)):g.value==1?(r(),l("div",fl,[t("div",ml,[vl,t("div",gl,n(e(a)("\u683C\u5F0F\u5316\u6210\u529F")),1),m.value?(r(),l("div",bl,[it(n(e(a)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+n(m.value.venderModel)+" "+n(e(a)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,n((A=h.value)==null?void 0:A.mountPoint),1)])):D("",!0),h.value?(r(),l("div",hl,[it(n(e(a)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,n(h.value.mountPoint),1)])):D("",!0),t("div",_l,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},n(o.action=="nas"?e(a)("\u4E0B\u4E00\u6B65"):e(a)("\u5B8C\u6210")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var kl=M(xl,[["__scopeId","data-v-3dae3be2"]]),Ze=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(kl,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const Te=o=>(rt("data-v-5f5fb500"),o=o(),st(),o),wl=["onSubmit"],yl=Te(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),Fl={class:"action-body"},El={class:"disk-info"},Cl=Te(()=>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)),$l={key:0,class:"disk-info_mount-name"},Dl={key:1,class:"disk-info_mount-name"},Bl={key:0,class:"label-item"},Yl={class:"label-item_key"},Al={class:"label-item_path"},Sl={class:"label-item"},zl={class:"label-item_key"},Pl={class:"label-item_value"},Tl={class:"action-footer"},Il=Te(()=>t("div",{class:"auto"},null,-1)),Ll=["disabled"],Ml=["disabled"],Nl={key:1,class:"action result"},Ol={class:"action-body"},Vl=Te(()=>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)),Gl={class:"action-body_msg"},jl=["innerHTML"],ql={class:"btns"},Ul=U({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var w;const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close&&i.Close()},s=v=>{v.preventDefault(),i.Cancel&&i.Cancel(),u()},c=v=>{i.Next&&i.Next(v),u()},_=E(!1),g=E(0),p=E("/mnt/data_"+((w=i==null?void 0:i.mount)==null?void 0:w.name)),f=v=>{g.value=v};E(i.mount?"":"format"),E();const m=E(),h=()=>L(this,null,function*(){const v=i.mount;if(v==null){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(v.path==null||v.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(v.uuid==null||v.uuid==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}_.value=!0;const b=C.Loading(a("\u6302\u8F7D\u4E2D..."));try{const y=yield O.Nas.Disk.Partition.Mount.POST({path:v.path,uuid:v.uuid,mountPoint:p.value});if(y!=null&&y.data){const{result:F,error:Y}=y==null?void 0:y.data;Y&&C.Warning(Y),F&&(C.Success(a("\u6302\u8F7D\u6210\u529F")),m.value=F,f(1))}}catch(y){C.Error(y)}b.Close(),_.value=!1}),k=()=>{if(m.value&&m.value.mountPoint){c(m.value.mountPoint);return}C.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},x=()=>{};return(v,b)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>{var y,F;return[g.value==0?(r(),l("form",{key:0,class:"action format",onSubmit:mt(x,["prevent"])},[yl,t("div",Fl,[t("div",El,[Cl,o.mount?(r(),l("div",$l,[t("span",null,"\u3010"+n(o.mount.total)+"\u3011",1),t("span",null,n(o.mount.mountPoint),1)])):o.disk?(r(),l("div",Dl,[t("span",null,"\u3010"+n(o.disk.size)+"\u3011",1),t("span",null,n(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),l("div",Bl,[t("div",Yl,[t("span",null,n(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Al,n(o.mount.path)+"\uFF08"+n(o.mount.total)+"\uFF0C"+n((F=(y=o.mount)==null?void 0:y.filesystem)==null?void 0:F.toUpperCase())+"\uFF09",1)])):D("",!0),t("div",Sl,[t("div",zl,[t("span",null,n(e(a)("\u6302\u8F7D\u70B9")),1)]),t("div",Pl,[T(t("input",{type:"text","onUpdate:modelValue":b[0]||(b[0]=Y=>p.value=Y)},null,512),[[ot,p.value,void 0,{trim:!0}]])])])]),t("div",Tl,[Il,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:_.value,onClick:h},n(e(a)("\u786E\u5B9A")),9,Ll),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button",disabled:_.value},n(e(a)("\u8FD4\u56DE")),9,Ml)])],40,wl)):g.value==1?(r(),l("div",Nl,[t("div",Ol,[Vl,t("div",Gl,n(e(a)("\u6302\u8F7D\u6210\u529F")),1),m.value?(r(),l("div",{key:0,class:"action-body_info",innerHTML:e(a)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:m.value.path||"",mount:m.value.mountPoint||""},!0)},null,8,jl)):D("",!0),t("div",ql,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:k},n(o.action=="nas"?e(a)("\u5B8C\u6210"):e(a)("\u4E0B\u4E00\u6B65")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var Rl=M(Ul,[["__scopeId","data-v-5f5fb500"]]),Aa=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(Rl,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const Wl={class:"disk-content"},Hl={class:"disk-item"},Zl={class:"disk-item_name"},Jl={key:0},Kl={key:1},Ql={key:2},Xl={class:"disk_value"},tu={class:"disk-item_value"},eu={class:"value-data"},au={key:0,class:"disk-item"},ou={class:"disk-item_name"},nu={key:0},iu=["href"],ru={key:0},su={class:"disk_status"},du={key:0,class:"disk_status_item"},lu={key:0,class:"tooltip-trigger disk_tip"},uu={class:"tooltip-text tooltip-top"},cu={class:"disk_dir_tip"},pu={class:"disk_status_item"},fu={key:0,class:"tooltip-trigger disk_tip"},mu={class:"tooltip-text tooltip-top"},vu={class:"disk_dir_tip"},gu=U({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>i.part.filesystem=="No FileSystem"),s=tt(()=>i.part.filesystem&&["ntfs","vfat","exfat"].indexOf(i.part.filesystem)>=0),c=tt(()=>i.part.mountPoint&&i.part.isReadOnly&&i.part.filesystem!="swap"),_=tt(()=>u.value||!i.part.isSystemRoot&&(c.value||s.value||!i.part.mountPoint&&i.part.filesystem=="swap")),g=function(){Ze({action:"disk",disk:i.disk,mount:i.part,Cancel:()=>{},Next:k=>{location.reload()}})},p=()=>{Aa({action:"nas",disk:i.disk,mount:i.part,Cancel:()=>{},Next:()=>{location.reload()}})},f=()=>L(this,null,function*(){const k=C.Loading(a("\u5904\u7406\u4E2D..."));try{const x=yield O.Nas.Disk.InitRest.POST({name:i.disk.name,path:i.disk.path});if(x!=null&&x.data){const{result:w,error:v}=x==null?void 0:x.data;v&&C.Warning(v),w&&(C.Success(a("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(x){C.Error(x)}k.Close()}),m=tt(()=>i.part.filesystem=="Free Space"),h=tt(()=>{const k=i.part.mountPoint?i.part.mountPoint:"";return k.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+k.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+k});return(k,x)=>{var v;const w=ut("progress-item");return r(),l("div",Wl,[t("li",Hl,[t("div",Zl,[e(m)?(r(),l("span",Jl,n(e(a)("\u672A\u5206\u533A")),1)):(r(),l("span",Kl,n(o.part.name)+n(o.part.mountPoint?"":e(u)?e(a)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(a)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(r(),l("span",Ql,n(e(a)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):D("",!0)]),t("div",Xl,[t("div",tu,[t("div",eu,[z(w,{value:e(m)||!o.part.usage?0:o.part.usage,text:e(m)?e(a)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(a)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(m)?(r(),l("button",{key:0,class:"cbi-button cbi-button-apply",onClick:f},n(e(a)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(_)?(r(),l("button",{key:1,class:"cbi-button cbi-button-apply",onClick:g},n(e(a)("\u683C\u5F0F\u5316\u5206\u533A")),1)):D("",!0)])]),!e(m)&&!e(u)?(r(),l("li",au,[t("span",ou,[o.part.mountPoint?(r(),l(G,{key:0},[o.part.filesystem=="swap"?(r(),l("span",nu,n(e(a)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(r(),l("a",{key:1,href:e(h),target:"_blank"},n(o.part.mountPoint),9,iu))],64)):(r(),l(G,{key:1},[o.part.filesystem=="swap"?(r(),l("span",ru,n(e(a)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(r(),l("span",{key:1,class:"value-data buttondiv",onClick:p},n(e(a)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",su,[o.part.mountPoint&&o.part.filesystem!="swap"?(r(),l("div",du,[t("div",null,n(e(a)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+n(o.part.isReadOnly?e(a)("\u53EA\u8BFB"):e(a)("\u8BFB\u5199")),1),e(c)?(r(),l("div",lu,[z(Tt),t("div",uu,[t("div",cu,n(e(a)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):D("",!0)])):D("",!0),t("div",pu,[t("div",null,n(e(a)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+n((v=o.part.filesystem)==null?void 0:v.toUpperCase()),1),!o.part.isSystemRoot&&e(s)?(r(),l("div",fu,[z(Tt),t("div",mu,[t("span",vu,n(e(a)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):D("",!0)])])])):D("",!0)])}}});var bu=M(gu,[["__scopeId","data-v-4e7285ca"]]);const hu=o=>(rt("data-v-56d0d562"),o=o(),st(),o),_u={key:0,class:"action"},xu={class:"title"},ku={class:"app-container_info"},wu={class:"app-container_body"},yu={class:"action-footer"},Fu=hu(()=>t("div",{class:"auto"},null,-1)),Eu=U({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=()=>{i.Close&&i.Close()},c=_=>{_.preventDefault(),i.Cancel&&i.Cancel(),s()};return(_,g)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[u.value==0?(r(),l("div",_u,[t("h2",xu,n(e(a)("\u5206\u533A\u4FE1\u606F"))+" - "+n((o.disk.name||"?")+(o.disk.isSystemRoot?e(a)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",ku,[t("span",null,n(e(a)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,n(e(a)("\u5BB9\u91CF")),1)]),t("div",wu,[(r(!0),l(G,null,et(o.disk.childrens,(p,f)=>(r(),K(bu,{key:f,part:p,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",yu,[Fu,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c,type:"button"},n(e(a)("\u8FD4\u56DE")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"]))}});var Cu=M(Eu,[["__scopeId","data-v-56d0d562"]]),$u=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(Cu,vt(lt({},o),{Close:()=>{d()}}));a.component("progress-item",wa),a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const Du={key:0,class:"disk-item error"},Bu=["title"],Yu={class:"disk-item_value"},Au={class:"value-data"},Su={class:"error"},zu={key:1,class:"disk-item"},Pu=["title"],Tu={key:0,class:"disk_value"},Iu={class:"value-data"},Lu={href:"/cgi-bin/luci/admin/nas/smart"},Mu={class:"error"},Nu={key:1,class:"disk_value"},Ou={class:"disk-item_value"},Vu={class:"value-data"},Gu={class:"disk-item-tooltip"},ju={class:"disk_icon"},qu={key:0,class:"tooltip-trigger"},Uu={class:"disk_tip"},Ru={class:"tooltip-text tooltip-top"},Wu={class:"disk_dir_tip"},Hu={key:1,class:"tooltip-trigger"},Zu={class:"disk_tip"},Ju={class:"tooltip-text tooltip-top"},Ku={class:"disk_dir_tip"},Qu={key:2,class:"disk-item load"},Xu=["title"],tc={class:"disk_value"},ec={class:"disk-item_value"},ac={class:"value-data"},oc={key:3,class:"disk-item load"},nc=["title"],ic={class:"disk_value"},rc={key:0,class:"disk-item_value"},sc={class:"value-data"},dc={class:"disk_icon"},lc=U({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>i.disk.errorInfo?"error":i.disk.childrens==null||i.disk.childrens.length==0||i.disk.childrens.length==1&&i.disk.childrens[0].filesystem=="No FileSystem"?"load":i.disk.childrens.filter(f=>f.mountPoint).length==0?"unmounted":"success"),s=tt(()=>{const f=i.disk;let m=f.name;return f.size&&(m+=`\u3010${f.size}\u3011`),f.venderModel&&(m+=`(${f.venderModel})`),m}),c=tt(()=>{var m;const f=i.disk;return!f.isSystemRoot&&(((m=f.childrens)==null?void 0:m.filter(h=>h.isReadOnly&&h.filesystem!="swap").length)||0)>0}),_=()=>{Ze({action:"disk",disk:i.disk,Cancel:()=>{},Next:()=>{location.reload()}})},g=()=>{$u({action:"disk",disk:i.disk,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>{const f=i.disk,m=f.childrens||[];Aa({action:"nas",disk:f,mount:m[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(f,m)=>{var k,x,w;const h=ut("progress-item");return e(u)=="error"?(r(),l("li",Du,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,Bu),t("div",Yu,[t("div",Au,[t("span",Su,n(o.disk.errorInfo),1)])])])):e(u)=="success"?(r(),l("li",zu,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,Pu),o.disk.smartWarning&&o.smartWarning?(r(),l("div",Tu,[t("div",Iu,[t("a",Lu,[t("span",Mu,n(e(a)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(r(),l("div",Nu,[t("div",Ou,[t("div",Vu,[z(h,{value:o.disk.usage||0,text:`${o.disk.used}/${o.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),t("div",Gu,[t("span",null,n(e(a)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",ju,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(r(),l("span",qu,[t("span",Uu,[z(Tt)]),t("div",null,[t("div",Ru,[t("span",Wu,n(e(a)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):D("",!0),e(c)?(r(),l("span",Hu,[t("span",Zu,[z(Tt)]),t("div",null,[t("div",Ju,[t("span",Ku,n(e(a)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):D("",!0),e(c)&&((k=o.disk.childrens)==null?void 0:k.length)==1?(r(),l("span",{key:2,class:"disk_infoicon",onClick:m[0]||(m[0]=v=>_())},[z(V0)])):D("",!0),t("span",{class:"disk_infoicon",onClick:m[1]||(m[1]=v=>g())},[z(na)])])]))])):e(u)=="load"?(r(),l("li",Qu,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,Xu),t("div",tc,[t("div",ec,[t("div",ac,[t("button",{onClick:m[2]||(m[2]=v=>_())},n(e(a)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(u)=="unmounted"?(r(),l("li",oc,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,nc),t("div",ic,[((x=o.disk.childrens)==null?void 0:x.length)==1?(r(),l("div",rc,[t("div",sc,[o.disk.childrens[0].filesystem=="swap"?(r(),l("button",{key:0,onClick:m[3]||(m[3]=v=>g())},n(e(a)("\u67E5\u770B\u8BE6\u60C5")),1)):(r(),l("button",{key:1,onClick:m[4]||(m[4]=v=>p())},n(e(a)("\u624B\u52A8\u6302\u8F7D")),1))])])):D("",!0),t("div",dc,[(((w=o.disk.childrens)==null?void 0:w.length)||0)>1?(r(),l("span",{key:0,class:"disk_infoicon",onClick:m[5]||(m[5]=v=>g())},[z(na)])):D("",!0)])])])):D("",!0)}}});var Ve=M(lc,[["__scopeId","data-v-5e9b583e"]]);const uc=o=>(rt("data-v-2b8c3ff1"),o=o(),st(),o),cc={class:"app-container"},pc={class:"app-container_title"},fc={class:"disk_info"},mc={class:"app-container_tool"},vc=["title"],gc={class:"DeviceBlock"},bc={href:"/cgi-bin/luci/admin/nas/raid"},hc=uc(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),_c={href:"/cgi-bin/luci/admin/system/diskman"},xc={href:"/cgi-bin/luci/admin/system/mounts"},kc={key:0},wc={class:"disk_loading_icon"},yc={class:"disk_loading_info"},Fc={key:1},Ec={class:"app-container_info"},Cc={class:"app-container_body"},$c={key:2},Dc={class:"app-container_info"},Bc={class:"app-container_body"},Yc={key:3},Ac={class:"app-container_info"},Sc={class:"app-container_body"},zc=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=E(!1),u=gt({disks:null,raidList:null}),s=()=>{O.Nas.Disk.Status.GET().then(p=>{var f;if((f=p==null?void 0:p.data)!=null&&f.result){const m=p.data.result;u.disks=m.disks||[]}})};(()=>L(this,null,function*(){try{const p=yield O.Raid.List.GET();if(p!=null&&p.data){const{success:f,error:m,result:h}=p.data;if(h&&(u.raidList=h.disks||[]),m)throw m}}catch(p){console.log(p)}}))(),s();const _=()=>{d.value=!d.value},g=()=>{Ct.installAndGo("luci-app-linkease",i("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(p,f)=>{var k,x;const m=ut("GlHelp"),h=ut("icon-loading");return r(),l("div",cc,[t("ul",null,[t("li",null,[t("div",pc,[t("span",fc,[it(n(e(i)("\u78C1\u76D8\u4FE1\u606F"))+" ",1),z(m,{type:"disk"})]),t("div",mc,[t("div",{class:"app-container_configure",onClick:g},n(e(i)("\u6587\u4EF6\u7BA1\u7406")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F")},[z(Vt,{onClick:_})],8,vc)]),T(t("div",gc,[t("div",{class:"menu_background",onClick:_}),t("ul",null,[t("li",null,[t("a",bc,n(e(i)("RAID\u7BA1\u7406")),1)]),hc,t("li",null,[t("a",_c,n(e(i)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("li",null,[t("a",xc,n(e(i)("\u6302\u8F7D\u70B9")),1)])])],512),[[Yt,d.value]])])]),!e(u).disks&&!e(u).raidList?(r(),l("li",kc,[t("div",wc,[z(h,{size:38,color:"currentColor"}),t("span",yc,n(e(i)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])])):D("",!0),e(u).disks?(r(),l("li",Fc,[t("div",Ec,[t("span",null,n(e(i)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",Cc,[(r(!0),l(G,null,et((k=e(u).disks)==null?void 0:k.filter(w=>w.isSystemRoot),(w,v)=>(r(),K(Ve,{key:v,disk:w},null,8,["disk"]))),128))])])):D("",!0),e(u).disks?(r(),l("li",$c,[t("div",Dc,[t("span",null,n(e(i)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",Bc,[(r(!0),l(G,null,et((x=e(u).disks)==null?void 0:x.filter(w=>!w.isSystemRoot),(w,v)=>(r(),K(Ve,{key:v,disk:w,smartWarning:!0},null,8,["disk"]))),128))])])):D("",!0),e(u).raidList&&e(u).raidList.length>0?(r(),l("li",Yc,[t("div",Ac,[t("span",null,n(e(i)("RAID\u8BBE\u5907")),1)]),t("div",Sc,[(r(!0),l(G,null,et(e(u).raidList,(w,v)=>(r(),K(Ve,{key:v,disk:w},null,8,["disk"]))),128))])])):D("",!0)])])}}});var Pc=M(zc,[["__scopeId","data-v-2b8c3ff1"]]);const Tc={class:"app-container_samba"},Ic={key:0,class:"sambas-item"},Lc={class:"sambas-item_name"},Mc={class:"sambas-item_value"},Nc={class:"sambas-item"},Oc={class:"sambas-item_name tit"},Vc={class:"sambas-item_value tit"},Gc={class:"samba-item"},jc={class:"samba-item_name"},qc=["title"],Uc=["href"],Rc=U({props:{sambas:{type:Array}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=window.location.hostname;return(u,s)=>{var c;return r(),l("ul",Tc,[o.sambas?(r(),l("li",Ic,[t("div",Lc,[t("span",null,n(e(i)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Mc,[t("span",null,n((c=o.sambas)!=null&&c.length?e(i)("\u5DF2\u542F\u7528"):e(i)("\u672A\u542F\u7528")),1)])])):D("",!0),t("li",Nc,[t("div",Oc,[t("span",null,n(e(i)("\u5730\u5740")),1)]),t("div",Vc,[t("span",null,n(e(i)("\u76EE\u5F55")),1)])]),(r(!0),l(G,null,et(o.sambas,_=>(r(),l("li",Gc,[t("div",jc,[t("span",null,"smb://"+n(e(d))+"/"+n(_.shareName),1)]),t("div",{class:"samba-item_value",title:_.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+_.path},n(_.path),9,Uc)],8,qc)]))),256))])}}});var Wc=M(Rc,[["__scopeId","data-v-8166802a"]]);const Hc={class:"webdav-item"},Zc={class:"webdav-item_name"},Jc={class:"webdav-item_value"},Kc={key:0,class:"webdav-item"},Qc={class:"webdav-item_name"},Xc={class:"webdav-item_value"},t1=["href"],e1={key:1,class:"webdav-item"},a1={class:"webdav-item_name"},o1={class:"webdav-item_value"},n1=["href"],i1={key:2,class:"webdav-item"},r1={class:"webdav-item_name"},s1={class:"webdav-item_value"},d1=U({props:{webdav:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var s;return`http://${location.hostname}:${(s=i.webdav)==null?void 0:s.port}`});return(s,c)=>{var _,g,p,f,m,h,k;return r(),l(G,null,[t("li",Hc,[t("div",Zc,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Jc,[t("span",null,n((_=o.webdav)!=null&&_.path?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])]),(g=o.webdav)!=null&&g.path?(r(),l("li",Kc,[t("div",Qc,[t("span",null,n(e(a)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",Xc,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.webdav)==null?void 0:p.path)},n((f=o.webdav)==null?void 0:f.path),9,t1)])])):D("",!0),(m=o.webdav)!=null&&m.port?(r(),l("li",e1,[t("div",a1,[t("span",null,n(e(a)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",o1,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,n1)])])):D("",!0),(h=o.webdav)!=null&&h.username?(r(),l("li",i1,[t("div",r1,[t("span",null,n(e(a)("\u8D26\u53F7:")),1)]),t("div",s1,[t("span",null,n((k=o.webdav)==null?void 0:k.username),1)])])):D("",!0)],64)}}});var l1=M(d1,[["__scopeId","data-v-45def11c"]]);const Je=o=>(rt("data-v-0bd83418"),o=o(),st(),o),u1={class:"disk-item"},c1=Je(()=>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)),p1={class:"disk-item_f"},f1={class:"disk-item_venderModel"},m1={class:"disk-item_used"},v1=Je(()=>t("div",{class:"auto"},null,-1)),g1={class:"disk-item-r"},b1={class:"disk-children"},h1=["onClick"],_1=Je(()=>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)),x1={key:0},k1={key:1},w1=U({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var c,_;const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1);i.currDisk!=null&&((c=i.currDisk)==null?void 0:c.venderModel)==((_=i.disk)==null?void 0:_.venderModel)&&(u.value=!0);const s=g=>{u.value=!u.value,i.onDisk(g,null)};return(g,p)=>{var f;return r(),l("ul",u1,[t("li",{class:pt(["disk-info",{on:o.disk.venderModel==((f=o.currDisk)==null?void 0:f.venderModel),nopoint:o.disk.childrens==null||o.disk.childrens.length==0}]),onClick:p[0]||(p[0]=m=>s(o.disk))},[c1,t("div",p1,[t("div",f1,n(o.disk.venderModel),1),t("div",m1,n(o.disk.used)+"/"+n(o.disk.size),1)]),v1,t("div",g1,n(o.disk.path),1)],2),T(t("div",b1,[(r(!0),l(G,null,et(o.disk.childrens,m=>{var h,k;return r(),l("li",{class:pt(["disk-children_item",{on:m.uuid==((h=o.currMountPoint)==null?void 0:h.uuid)&&m.path==((k=o.currMountPoint)==null?void 0:k.path)}]),onClick:x=>o.onDisk(o.disk,m)},[_1,m.mountPoint?(r(),l("span",x1," \u3010"+n(m.filesystem)+"\u3011 "+n(m.mountPoint)+" \uFF08"+n(m.used)+"/"+n(m.total)+"\uFF09 ["+n(m.uuid)+"] ",1)):(r(),l("span",k1," \u3010"+n(m.filesystem)+"\u3011 "+n(m.mountPoint||m.path||e(a)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+n(m.uuid)+"] ",1))],10,h1)}),256))],512),[[Yt,u.value]])])}}});var ia=M(w1,[["__scopeId","data-v-0bd83418"]]);const y1=o=>(rt("data-v-b222ef5e"),o=o(),st(),o),F1={class:"action list"},E1={class:"action-header"},C1={class:"action-header_title"},$1={class:"action-body"},D1={class:"disk-list"},B1={class:"action-msg"},Y1={href:"/cgi-bin/luci/admin/system/diskman"},A1={class:"action-footer"},S1=y1(()=>t("div",{class:"auto"},null,-1)),z1=U({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!0),s=gt({disks:[],raids:[]});(()=>L(this,null,function*(){const x=yield Promise.all([O.Nas.Disk.Status.GET(),O.Raid.List.GET()]);try{if(x[0]){const w=x[0];w!=null&&w.data.result&&(s.disks=(w==null?void 0:w.data.result.disks)||[])}if(x[1]){const w=x[1];w.data.result&&(s.raids=w.data.result.disks||[])}}catch(w){C.Warning(w)}}))();const _=E(),g=E(),p=(x,w)=>{_.value=x,g.value=w},f=()=>{i.Close&&i.Close()},m=()=>{i.Cancel&&i.Cancel(),f()},h=x=>{i.Next&&i.Next(x),f()},k=()=>{if(_.value==null){C.Warning(a("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(_.value.childrens!=null&&_.value.childrens.length>0&&g.value==null){C.Warning(a("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(g.value!=null&&(g.value.mountPoint==null||g.value.mountPoint=="")){C.Warning(a("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}u.value=!1,Ze({action:"nas",disk:_.value,mount:g.value,Cancel:()=>{u.value=!0},Next:x=>{h(x)}})};return(x,w)=>u.value?(r(),K(_t,{key:0,type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("div",F1,[t("div",E1,[t("div",C1,n(e(a)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",$1,[t("div",D1,[(r(!0),l(G,null,et(e(s).disks,v=>(r(),K(ia,{disk:v,onDisk:p,currDisk:_.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(r(!0),l(G,null,et(e(s).raids,v=>(r(),K(ia,{disk:v,onDisk:p,currDisk:_.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",B1,[t("span",null,[it(n(e(a)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",Y1,n(e(a)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",A1,[S1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m,type:"button"},n(e(a)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k,type:"button"},n(e(a)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):D("",!0)}});var P1=M(z1,[["__scopeId","data-v-b222ef5e"]]),T1=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(P1,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const I1=o=>(rt("data-v-45926ac6"),o=o(),st(),o),L1={class:"action"},M1={class:"action-body"},N1=I1(()=>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)),O1={class:"title"},V1={class:"info"},G1=["href"],j1={class:"btns"},q1=U({props:{Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(""),s=tt(()=>`http://${location.hostname}:${u.value}`);(()=>{O.Nas.Linkease.Enable.POST().then(g=>{var p,f;(p=g==null?void 0:g.data)!=null&&p.result&&(u.value=((f=g.data.result)==null?void 0:f.port)||"")})})();const _=()=>{i.Close&&i.Close(),location.reload()};return(g,p)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("div",L1,[t("div",M1,[N1,t("h2",O1,n(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",V1,[t("span",null,n(e(a)("\u524D\u5F80")),1),t("a",{href:e(s),target:"_blank",rel:"noopener noreferrer"},n(e(s)),9,G1),t("span",null,n(e(a)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",j1,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},n(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var U1=M(q1,[["__scopeId","data-v-45926ac6"]]),R1=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(U1,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const W1=o=>(rt("data-v-2b3974a4"),o=o(),st(),o),H1=["onSubmit"],Z1={class:"action-header"},J1={class:"action-header_title"},K1={class:"action-body"},Q1={class:"label-item"},X1={class:"label-item_key"},t2={class:"label-item_value"},e2=["value"],a2={class:"label-item"},o2={class:"label-item_key"},n2={class:"label-item_value"},i2=["placeholder"],r2={class:"label-item"},s2={class:"label-item_key"},d2={class:"label-item_value"},l2={class:"action-footer"},u2=W1(()=>t("div",{class:"auto"},null,-1)),c2=["disabled"],p2=["disabled"],f2=U({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=f=>{f.preventDefault(),i.Close&&i.Close()},s=E(!1),c=E({username:"root",password:"",rootPath:i.rootPath});(()=>L(this,null,function*(){const f=C.Loading(a("\u52A0\u8F7D\u4E2D..."));s.value=!0;try{const m=yield O.Nas.Webdav.Status.GET();if(m!=null&&m.data){const{result:h,error:k}=m.data;if(k){C.Warning(k);return}h&&(h.username&&(c.value.username=h.username),h.password&&(c.value.password=h.password))}}catch(m){C.Error(m)}s.value=!1,f.Close()}))();const g=()=>{const f=c.value;if(f.rootPath==""){C.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.username==""){C.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.password==""){C.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}p(f)},p=f=>L(this,null,function*(){s.value=!0;const m=C.Loading(a("\u521B\u5EFA\u4E2D..."));try{const h=yield O.Nas.Webdav.Create.POST(f);if(h!=null&&h.data){const{error:k,result:x}=h.data;k&&C.Warning(k),x&&(C.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(h){C.Error(h)}m.Close(),s.value=!1});return(f,m)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("form",{class:"action",onSubmit:mt(g,["prevent"])},[t("div",Z1,[t("div",J1,n(e(a)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",K1,[t("div",Q1,[t("div",X1,[t("span",null,n(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",t2,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,e2)])]),t("div",a2,[t("div",o2,[t("span",null,n(e(a)("\u7528\u6237\u540D")),1)]),t("div",n2,[T(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":m[0]||(m[0]=h=>c.value.username=h)},null,8,i2),[[ot,c.value.username,void 0,{trim:!0}]])])]),t("div",r2,[t("div",s2,[t("span",null,n(e(a)("\u5BC6\u7801")),1)]),t("div",d2,[T(t("input",{type:"password","onUpdate:modelValue":m[1]||(m[1]=h=>c.value.password=h)},null,512),[[ot,c.value.password,void 0,{trim:!0}]])])])]),t("div",l2,[u2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:s.value},n(e(a)("\u5173\u95ED")),9,c2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},n(e(a)("\u521B\u5EFA")),9,p2)])],40,H1)]),_:1})]),_:1}))}});var m2=M(f2,[["__scopeId","data-v-2b3974a4"]]),v2=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(m2,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const g2=o=>(rt("data-v-88275da0"),o=o(),st(),o),b2=["onSubmit"],h2={class:"action-header"},_2={class:"action-header_title"},x2={class:"action-body"},k2={class:"label-item"},w2={class:"label-item_key"},y2={class:"label-item_value"},F2=["value"],E2={class:"label-item"},C2={class:"label-item_key"},$2={class:"label-item_value"},D2=["placeholder"],B2={class:"label-item"},Y2={class:"label-item_key"},A2={class:"label-item_value"},S2=["placeholder"],z2={class:"label-item"},P2={class:"label-item_key"},T2={class:"label-item_value"},I2={class:"samba-item"},L2={class:"samba-item_allow"},M2={for:"allow",class:"samba-allow"},N2={class:"samba-item_tips"},O2={class:"tooltip-trigger"},V2={class:"samba_tip"},G2={class:"samba_dir_tip"},j2={class:"action-footer"},q2=g2(()=>t("div",{class:"auto"},null,-1)),U2=["disabled"],R2=["disabled"],W2=U({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=p=>{p.preventDefault(),i.Close&&i.Close()},s=E(!1),c=E({shareName:"",username:"",password:"",rootPath:i.rootPath,allowLegacy:!1}),_=()=>{const p=c.value;if(p.rootPath==""){C.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.shareName==""){C.Warning(a("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.username==""){C.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.password==""){C.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const f=Pt.checkSmabaUserName(p.username);if(f!==!0){C.Warning(`${f}`);return}g(p)},g=p=>L(this,null,function*(){s.value=!0;const f=C.Loading(a("\u521B\u5EFA\u4E2D..."));try{const m=yield O.Nas.Samba.Create.POST(p);if(m!=null&&m.data){const{error:h,result:k}=m.data;h&&C.Warning(h),k&&(C.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(m){C.Error(m)}f.Close(),s.value=!1});return(p,f)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("form",{class:"action",onSubmit:mt(_,["prevent"])},[t("div",h2,[t("div",_2,n(e(a)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",x2,[t("div",k2,[t("div",w2,[t("span",null,n(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",y2,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,F2)])]),t("div",E2,[t("div",C2,[t("span",null,n(e(a)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",$2,[T(t("input",{type:"text","onUpdate:modelValue":f[0]||(f[0]=m=>c.value.shareName=m),required:"",placeholder:e(a)("\u5171\u4EAB\u540D\u79F0")},null,8,D2),[[ot,c.value.shareName,void 0,{trim:!0}]])])]),t("div",B2,[t("div",Y2,[t("span",null,n(e(a)("\u7528\u6237\u540D")),1)]),t("div",A2,[T(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":f[1]||(f[1]=m=>c.value.username=m)},null,8,S2),[[ot,c.value.username,void 0,{trim:!0}]])])]),t("div",z2,[t("div",P2,[t("span",null,n(e(a)("\u5BC6\u7801")),1)]),t("div",T2,[T(t("input",{type:"password","onUpdate:modelValue":f[2]||(f[2]=m=>c.value.password=m)},null,512),[[ot,c.value.password,void 0,{trim:!0}]])])]),t("div",I2,[t("div",L2,[T(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":f[3]||(f[3]=m=>c.value.allowLegacy=m)},null,512),[[Rt,c.value.allowLegacy]]),t("label",M2,n(e(a)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",N2,[t("span",O2,[t("span",V2,[z(Tt)]),t("span",G2,n(e(a)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",j2,[q2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:s.value},n(e(a)("\u5173\u95ED")),9,U2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},n(e(a)("\u521B\u5EFA")),9,R2)])],40,b2)]),_:1})]),_:1}))}});var H2=M(W2,[["__scopeId","data-v-88275da0"]]),Z2=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(H2,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const te=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,J2={key:0,class:"action"},K2={class:"title"},Q2={class:"desc"},X2={value:"linkease"},t5={value:"samba"},e5={value:"webdav"},a5=["innerHTML"],o5={class:"btns"},n5=["disabled"],i5=U({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!0),s=E("linkease"),c=E(!1),_=E(i.setup||0),g=()=>{i.Close&&i.Close()},p=()=>L(this,null,function*(){switch(s.value){case"webdav":yield f();break;case"samba":yield h();break;case"linkease":yield m();break}}),f=()=>L(this,null,function*(){c.value=!0,(yield Ct.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&k(),c.value=!1}),m=()=>L(this,null,function*(){c.value=!0,(yield Ct.checkAndInstallApp("linkease",a("\u6613\u6709\u4E91"),"app-meta-linkease"))&&x(),c.value=!1}),h=()=>L(this,null,function*(){c.value=!0;const b=C.Loading(a("\u914D\u7F6E\u4E2D..."));k(),b.Close(),c.value=!1}),k=()=>{c.value=!1,u.value=!1,T1({Cancel:()=>{u.value=!0},Next:b=>{switch(s.value){case"webdav":w(b);break;case"samba":v(b);break}}})},x=()=>{R1({}),g()},w=b=>{v2({rootPath:b}),g()},v=b=>{Z2({rootPath:b}),g()};return(b,y)=>u.value?(r(),K(_t,{key:0,Close:o.Close,type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[_.value==0?(r(),l("div",J2,[t("h2",K2,n(e(a)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",Q2,n(e(a)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[T(t("select",{"onUpdate:modelValue":y[0]||(y[0]=F=>s.value=F)},[t("option",X2,n(e(a)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",t5,n(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",e5,n(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[dt,s.value]])])]),e(te)("unishare")?(r(),l("div",{key:0,class:"tips",innerHTML:e(a)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(a)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,a5)):D("",!0),t("div",o5,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p,type:"button",disabled:c.value},n(e(a)("\u4E0B\u4E00\u6B65")),9,n5),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g,type:"button"},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"])):D("",!0)}});var r5=M(i5,[["__scopeId","data-v-3f686017"]]),Sa=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(r5,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const s5={class:"app-container_linkease"},d5={class:"linkease-item"},l5={class:"linkease-item_name"},u5={class:"linkease-item_value"},c5={key:0,class:"configure"},p5={key:0,class:"linkease-item"},f5={class:"linkease-item_name"},m5={class:"linkease-item_value"},v5=["href"],g5={href:" https://app.linkease.com/",target:"_blank"},b5=U({props:{linkease:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var c;return`http://${location.hostname}:${(c=i.linkease)==null?void 0:c.port}`}),s=()=>{Sa({setup:0})};return(c,_)=>{var g,p,f;return r(),l("ul",s5,[t("li",d5,[t("div",l5,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",u5,[(g=o.linkease)!=null&&g.enabel?(r(),l("span",c5,n(e(a)("\u5DF2\u914D\u7F6E")),1)):(r(),l("span",{key:1,class:"configure enabel",onClick:_[0]||(_[0]=m=>s())},n(e(a)("\u672A\u914D\u7F6E")),1))])]),(p=o.linkease)!=null&&p.enabel?(r(),l(G,{key:0},[(f=o.linkease)!=null&&f.port?(r(),l("li",p5,[t("div",f5,[t("span",null,n(e(a)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",m5,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,v5)])])):D("",!0)],64)):D("",!0),t("div",null,[t("a",g5,n(e(a)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var h5=M(b5,[["__scopeId","data-v-8b8d01c2"]]);const _5={class:"app-container"},x5={class:"app-container_title"},k5={class:"app-container_tool"},w5=["title"],y5={class:"DeviceBlock"},F5={href:"/cgi-bin/luci/admin/services/samba4"},E5={class:"app-container_body"},C5={class:"app-container_nas-menu"},$5=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=E(!1),u=E("linkease"),s=E(),c=ka();(()=>{O.Nas.Service.Status.GET().then(m=>{var h;if((h=m==null?void 0:m.data)!=null&&h.result){const k=m.data.result;s.value=k,k.webdav&&(c.webdav=k.webdav)}})})();const g=()=>{Sa({setup:0})},p=()=>{d.value=!d.value},f=()=>{p(),Ct.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(m,h)=>{var x,w,v;const k=ut("GlHelp");return r(),l("div",_5,[t("div",x5,[t("span",null,[t("span",null,n(e(i)("\u5B58\u50A8\u670D\u52A1")),1),z(k,{type:"store"})]),t("div",k5,[t("div",{class:"app-container_configure",onClick:g},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F")},[z(Vt,{onClick:p})],8,w5)]),T(t("div",y5,[t("div",{class:"menu_background",onClick:p}),t("ul",null,[t("li",null,[t("a",F5,n(e(i)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:f},n(e(i)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[Yt,d.value]])]),t("div",E5,[t("ul",C5,[t("button",{onClick:h[0]||(h[0]=b=>u.value="linkease"),class:pt({on:u.value=="linkease"})},n(e(i)("\u6613\u6709\u4E91")),3),t("button",{onClick:h[1]||(h[1]=b=>u.value="samba"),class:pt({on:u.value=="samba"})},n(e(i)("SAMBA")),3),t("button",{onClick:h[2]||(h[2]=b=>u.value="webdav"),class:pt({on:u.value=="webdav"})},n(e(i)("WEBDAV")),3)]),u.value=="samba"?(r(),K(Wc,{key:0,sambas:(x=s.value)==null?void 0:x.sambas},null,8,["sambas"])):u.value=="webdav"?(r(),K(l1,{key:1,webdav:(w=s.value)==null?void 0:w.webdav},null,8,["webdav"])):u.value=="linkease"?(r(),K(h5,{key:2,linkease:(v=s.value)==null?void 0:v.linkease},null,8,["linkease"])):D("",!0)])])}}});var D5=M($5,[["__scopeId","data-v-008c9ca2"]]);const B5=o=>(rt("data-v-b0e9cad0"),o=o(),st(),o),Y5={class:"app-container_docker"},A5={class:"docker-item"},S5={class:"docker-item_name"},z5={key:0,class:"docker-item_value"},P5={class:"configure"},T5={key:1,class:"docker-item_value"},I5={class:"input-switch"},L5=["value","disabled"],M5=B5(()=>t("em",null,null,-1)),N5=[M5],O5={key:0,class:"docker-item"},V5={class:"docker-item_name"},G5={class:"docker-item_value"},j5={class:"configure enabel"},q5={key:0},U5={class:"tooltip-trigger"},R5={class:"docker_tip"},W5={class:"tooltip-text tooltip-top"},H5={class:"docker_dir_tip"},Z5=U({props:{docker:{type:Object}},setup(o){var _;const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var g;return((g=i.docker)==null?void 0:g.status)!="not installed"}),s=gt({enable:((_=i.docker)==null?void 0:_.status)=="running",disabled:!1}),c=()=>L(this,null,function*(){s.disabled=!0;try{const g=yield O.Guide.DockerSwitch.POST({enable:s.enable});if(g!=null&&g.data){const{success:p,error:f}=g.data;if(f)throw s.enable=!s.enable,f;(p||0)==0}}catch(g){C.Warning(`${g}`)}finally{s.disabled=!1}});return(g,p)=>{var f,m,h,k;return r(),l("ul",Y5,[t("li",A5,[t("div",S5,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),(f=i.docker)!=null&&f.status?(r(),l(G,{key:0},[e(u)?(r(),l("div",T5,[t("label",I5,[T(t("input",{type:"checkbox",hidden:"",value:!e(s).enable,"onUpdate:modelValue":p[0]||(p[0]=x=>e(s).enable=x),disabled:e(s).disabled,onChange:c},null,40,L5),[[Rt,e(s).enable]]),t("span",{class:pt(e(s).enable?"enable":"close")},N5,2)])])):(r(),l("div",z5,[t("span",P5,n(e(a)("\u672A\u5B89\u88C5")),1)]))],64)):D("",!0)]),((m=o.docker)==null?void 0:m.status)=="running"?(r(),l("li",O5,[t("div",V5,[t("span",null,n(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1)]),t("div",G5,[t("span",j5,n((h=o.docker)==null?void 0:h.path),1),(k=o.docker)!=null&&k.errorInfo?(r(),l("span",q5,[t("span",U5,[t("span",R5,[z(Tt)]),t("div",null,[t("div",W5,[t("span",H5,n(o.docker.errorInfo),1)])])])])):D("",!0)])])):D("",!0)])}}});var J5=M(Z5,[["__scopeId","data-v-b0e9cad0"]]);const K5={},Q5={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},X5=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),t6=[X5];function e6(o,i){return r(),l("svg",Q5,t6)}var a6=M(K5,[["render",e6]]);const o6={key:0,class:"action"},n6={class:"title"},i6={class:"desc"},r6={class:"roots"},s6={class:"roots_tit"},d6={class:"root"},l6={class:"move"},u6={class:"roots_tit"},c6={key:0},p6=["onSubmit"],f6={class:"select-editable"},m6={selected:"",value:null},v6=["value"],g6={value:"useInput"},b6=["placeholder"],h6={key:1,class:"tips"},_6={class:"tips_content"},x6={class:"tip"},k6={key:0,class:"btns"},w6={key:1,class:"btns"},y6={key:1,class:"action docker_success"},F6={class:"title"},E6={class:"finished"},C6={class:"successed"},$6={class:"btns"},D6={key:2,class:"action docker_download"},B6={class:"title"},Y6={class:"finished"},A6={class:"successed"},S6={class:"docker_moves"},z6={class:"moves change"},P6={for:"move"},T6={class:"moves"},I6={for:"cover"},L6={class:"btns"},M6=U({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(),s=E(),c=E(0),_=E("null"),g=E(""),p=E(),f=E(!1),m=E("");(()=>{O.Nas.Disk.Status.GET().then(F=>{F!=null&&F.data.result&&(p.value=F==null?void 0:F.data.result)}),O.Guide.DockerStatus.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const A=F.data.result;u.value=A}}),O.Guide.DockerPartitionList.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const A=F.data.result;s.value=A}})})();const k=F=>{let Y=_.value;if(Y=="useInput"&&(Y=g.value),Y==null||Y=="null"||Y=="")return;const A=C.Loading(a("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));O.Guide.DockerTransfer.POST({path:Y,force:F,overwriteDir:!!m.value}).then(B=>{var $;if(B!=null&&B.data){if((B.data.success||0)==0){if(($=B.data.result)!=null&&$.emptyPathWarning){f.value=!0,c.value=2;return}c.value=1;return}else if(B.data.error)throw B.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(B=>{C.Error(B)}).finally(()=>A.Close())},x=()=>{f.value=!1,k(!1)},w=F=>{F.preventDefault(),i.Close&&i.Close()},v=F=>{F.preventDefault(),location.reload()},b=F=>{F.preventDefault(),c.value=0},y=F=>{F.preventDefault(),k(!0)};return(F,Y)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>{var A,B,$,S,V,N;return[c.value==0?(r(),l("div",o6,[t("h2",n6,n(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",i6,n(e(a)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",r6,[t("span",s6,n(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",d6,n((A=u.value)==null?void 0:A.path),1)]),t("div",l6,[t("span",u6,n(e(a)("\u8FC1\u79FB\u5230\uFF1A")),1),($=(B=s.value)==null?void 0:B.partitionList)!=null&&$.length?(r(),l("div",c6,[t("form",{onSubmit:mt(x,["prevent"])},[t("label",null,[t("div",f6,[T(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=P=>_.value=P)},[t("option",m6,n(e(a)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(r(!0),l(G,null,et((S=s.value)==null?void 0:S.partitionList,(P,I)=>(r(),l("option",{value:P,key:I},n(P),9,v6))),128)),t("option",g6,n(e(a)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[dt,_.value,void 0,{trim:!0}]]),_.value=="useInput"?T((r(),l("input",{key:0,type:"text","onUpdate:modelValue":Y[1]||(Y[1]=P=>g.value=P),required:"",placeholder:e(a)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,b6)),[[ot,g.value,void 0,{trim:!0}]]):D("",!0)])])],40,p6)])):s.value?(r(),l("div",h6,[t("div",_6,[z(Tt),t("span",x6,n(e(a)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):D("",!0)]),(N=(V=s.value)==null?void 0:V.partitionList)!=null&&N.length?(r(),l("div",k6,[t("button",{class:"cbi-button cbi-button-apply",onClick:x},n(e(a)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},n(e(a)("\u53D6\u6D88")),1)])):(r(),l("div",w6,[t("button",{class:"cbi-button cbi-button-apply",onClick:w},n(e(a)("\u786E\u5B9A")),1)]))])):c.value==1?(r(),l("div",y6,[t("h2",F6,n(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",E6,[z(We)]),t("p",C6,n(e(a)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",$6,[t("button",{class:"cbi-button cbi-button-apply",onClick:v},n(e(a)("\u786E\u5B9A")),1)])])):c.value==2?(r(),l("div",D6,[t("h2",B6,n(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",Y6,[z(a6)]),t("p",A6,n(e(a)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",S6,[t("div",z6,[T(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":Y[2]||(Y[2]=P=>m.value=P),value:""},null,512),[[Et,m.value]]),t("label",P6,n(e(a)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",T6,[T(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":Y[3]||(Y[3]=P=>m.value=P),value:"true"},null,512),[[Et,m.value]]),t("label",I6,n(e(a)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",L6,[f.value?(r(),l("button",{key:0,class:"cbi-button cbi-button-apply",onClick:y},n(e(a)("\u786E\u5B9A")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:b},n(e(a)("\u8FD4\u56DE")),1),f.value?D("",!0):(r(),l("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:v},n(e(a)("\u53D6\u6D88")),1))])])):D("",!0)]}),_:1},8,["Close"]))}});var N6=M(M6,[["__scopeId","data-v-81932f72"]]);const O6=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=bt(N6,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},V6=o=>(rt("data-v-3b60633e"),o=o(),st(),o),G6={class:"app-container"},j6={class:"app-container_title"},q6=V6(()=>t("span",null,"Docker",-1)),U6={key:0,class:"app-container_tool"},R6=["title"],W6={class:"DeviceBlock"},H6={href:"/cgi-bin/luci/admin/docker/overview"},Z6={key:1,class:"loading_placeholder"},J6=U({props:{docker:{type:Object}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=E(!1),u=E(),s=E(!1),c=()=>{s.value=!s.value},_=()=>{O6()};return setTimeout(()=>{O.Guide.DockerStatus.GET().then(p=>{var f;if((f=p==null?void 0:p.data)!=null&&f.result){const m=p.data.result;u.value=m}}).finally(()=>{d.value=!0})},1100),(p,f)=>{var k,x;const m=ut("GlHelp"),h=ut("icon-loading");return r(),l("div",G6,[t("div",j6,[t("span",null,[q6,z(m,{type:"docker"})]),d.value?(r(),l("div",U6,[((k=u.value)==null?void 0:k.status)!="not installed"?(r(),l("div",{key:0,class:"app-container_configure",onClick:_},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),1)):D("",!0),((x=u.value)==null?void 0:x.status)==="running"?(r(),l("span",{key:1,class:"more_icon",title:e(i)("Docker\u7BA1\u7406")},[z(Vt,{onClick:c})],8,R6)):D("",!0)])):D("",!0),T(t("div",W6,[t("div",{class:"menu_background",onClick:c}),t("ul",null,[t("li",null,[t("a",H6,n(e(i)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[Yt,s.value]])]),t("div",null,[d.value?(r(),K(J5,{key:0,docker:u.value},null,8,["docker"])):(r(),l("div",Z6,[z(h,{size:50,color:"currentColor"})]))])])}}});var K6=M(J6,[["__scopeId","data-v-3b60633e"]]);const Q6={class:"app-container_aria2"},X6={class:"aria2-item"},tp={class:"aria2-item_name"},ep={class:"aria2-item_value"},ap={key:0,class:"configure"},op={key:1,class:"configure enabel"},np={class:"aria2-item"},ip={class:"aria2-item_name"},rp={class:"aria2-item_value"},sp=["href"],dp={class:"aria2-item"},lp={class:"aria2-item_name"},up={class:"aria2-item_value"},cp=["href"],pp={class:"aria2-item"},fp={class:"aria2-item_name right"},mp={class:"aria2-item_value"},vp=["href"],gp={class:"use-url_app"},bp={href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},hp=U({props:{aria2:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var c;return`${location.origin}${(c=i.aria2)==null?void 0:c.webPath}`}),s=tt(()=>{var g,p,f;let c=(g=i.aria2)==null?void 0:g.rpcToken;c?c=encodeURIComponent(btoa(c)):c="";const _=encodeURIComponent(location.hostname);return`${location.origin}${(p=i.aria2)==null?void 0:p.webPath}/#!/settings/rpc/set/http/${_}/${(f=i.aria2)==null?void 0:f.rpcPort}/jsonrpc/${c}`});return(c,_)=>{var g,p,f,m;return r(),l("ul",Q6,[t("li",X6,[t("div",tp,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",ep,[((g=o.aria2)==null?void 0:g.status)=="running"?(r(),l("span",ap,n(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),l("span",op,n(e(a)("\u672A\u542F\u52A8")),1))])]),((p=o.aria2)==null?void 0:p.status)=="running"?(r(),l(G,{key:0},[t("li",np,[t("div",ip,[t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",rp,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.aria2)==null?void 0:f.downloadPath)},n((m=o.aria2)==null?void 0:m.downloadPath),9,sp)])]),t("li",dp,[t("div",lp,[t("span",null,n(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",up,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,cp)])]),t("li",pp,[t("div",fp,[t("span",null,n(e(a)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",mp,[t("a",{href:e(s),target:"_blank",rel:"noopener noreferrer"},n(e(a)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,vp)])])],64)):D("",!0),t("div",gp,[t("a",bp,n(e(a)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var _p=M(hp,[["__scopeId","data-v-4d31c3c4"]]);const xp={class:"app-container_qbittorrent"},kp={class:"qbittorrent-item"},wp={class:"qbittorrent-item_name"},yp={class:"qbittorrent-item_value"},Fp={key:0,class:"configure"},Ep={key:1,class:"configure enabel"},Cp={class:"qbittorrent-item"},$p={class:"qbittorrent-item_name"},Dp={class:"qbittorrent-item_value"},Bp=["href"],Yp={class:"qbittorrent-item"},Ap={class:"qbittorrent-item_name"},Sp={class:"qbittorrent-item_value"},zp=["href"],Pp={class:"qbittorrent-item"},Tp={class:"qbittorrent-item_name right"},Ip={class:"qbittorrent-item_value"},Lp=U({props:{qbittorrent:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var s;return`http://${location.hostname}${(s=i.qbittorrent)==null?void 0:s.webPath}`});return(s,c)=>{var _,g,p,f;return r(),l("ul",xp,[t("li",kp,[t("div",wp,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",yp,[((_=o.qbittorrent)==null?void 0:_.status)=="running"?(r(),l("span",Fp,n(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),l("span",Ep,n(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.qbittorrent)==null?void 0:g.status)=="running"?(r(),l(G,{key:0},[t("li",Cp,[t("div",$p,[t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",Dp,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.qbittorrent)==null?void 0:p.downloadPath)},n((f=o.qbittorrent)==null?void 0:f.downloadPath),9,Bp)])]),t("li",Yp,[t("div",Ap,[t("span",null,n(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Sp,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,zp)])]),t("li",Pp,[t("div",Tp,[t("span",null,n(e(a)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",Ip,[t("span",null,n(e(a)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):D("",!0)])}}});var Mp=M(Lp,[["__scopeId","data-v-44bc5d56"]]);const Np={class:"app-container_transmission"},Op={class:"transmission-item"},Vp={class:"transmission-item_name"},Gp={class:"transmission-item_value"},jp={key:0,class:"configure"},qp={key:1,class:"configure enabel"},Up={class:"transmission-item"},Rp={class:"transmission-item_name"},Wp={class:"transmission-item_value"},Hp=["href"],Zp={class:"transmission-item"},Jp={class:"transmission-item_name"},Kp={class:"transmission-item_value"},Qp=["href"],Xp=U({props:{transmission:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var s;return`http://${location.hostname}${(s=i.transmission)==null?void 0:s.webPath}`});return(s,c)=>{var _,g,p,f;return r(),l("ul",Np,[t("li",Op,[t("div",Vp,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Gp,[((_=o.transmission)==null?void 0:_.status)=="running"?(r(),l("span",jp,n(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),l("span",qp,n(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.transmission)==null?void 0:g.status)=="running"?(r(),l(G,{key:0},[t("li",Up,[t("div",Rp,[t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",Wp,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.transmission)==null?void 0:p.downloadPath)},n((f=o.transmission)==null?void 0:f.downloadPath),9,Hp)])]),t("li",Zp,[t("div",Jp,[t("span",null,n(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Kp,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,Qp)])])],64)):D("",!0)])}}});var t3=M(Xp,[["__scopeId","data-v-ab5c1db0"]]);const e3={},a3={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},o3=t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6","fill-opacity":"0.65"},null,-1),n3=[o3];function i3(o,i){return r(),l("svg",a3,n3)}var Zt=M(e3,[["render",i3]]);const Ie=o=>(rt("data-v-395b81d2"),o=o(),st(),o),r3={key:0,class:"action"},s3={class:"title"},d3={class:"load_service input_row"},l3={class:"left"},u3={class:"radios"},c3=Ie(()=>t("label",{for:"Aria2"},"Aria2",-1)),p3={class:"radios"},f3=Ie(()=>t("label",{for:"qB"},"qBittorrent",-1)),m3={class:"radios"},v3=Ie(()=>t("label",{for:"Tr"},"Transmission",-1)),g3=["onSubmit"],b3={class:"input_row"},h3={class:"left"},_3={class:"tooltip-trigger"},x3={class:"tooltip-text tooltip-top"},k3={class:"dowload_dir_tip"},w3={class:"myinput_wrap"},y3={class:"input_row"},F3={class:"left"},E3={class:"tooltip-trigger"},C3={class:"tooltip-text tooltip-top"},$3={class:"dowload_dir_tip"},D3={class:"myinput_wrap"},B3={class:"input_row"},Y3={class:"left"},A3={class:"tooltip-trigger"},S3={class:"tooltip-text tooltip-bottom"},z3={class:"dowload_rpc_tip"},P3=["placeholder"],T3={class:"input_row"},I3={class:""},L3={class:"radios"},M3={for:"default"},N3={class:"radios"},O3={for:"add"},V3={class:"input_row"},G3=Ie(()=>t("div",{class:"left"},null,-1)),j3={class:"myinput_wrap Tracker_input"},q3=["placeholder"],U3=["onSubmit"],R3={class:"input_row"},W3={class:"left"},H3={class:"tooltip-trigger"},Z3={class:"tooltip-text tooltip-top"},J3={class:"dowload_dir_tip"},K3={class:"myinput_wrap"},Q3={class:"input_row"},X3={class:"left"},t8={class:"tooltip-trigger"},e8={class:"tooltip-text tooltip-top"},a8={class:"dowload_dir_tip"},o8={class:"myinput_wrap"},n8=["onSubmit"],i8={class:"input_row"},r8={class:"left"},s8={class:"tooltip-trigger"},d8={class:"tooltip-text tooltip-top"},l8={class:"dowload_dir_tip"},u8={class:"myinput_wrap"},c8={class:"input_row"},p8={class:"left"},f8={class:"tooltip-trigger"},m8={class:"tooltip-text tooltip-top"},v8={class:"dowload_dir_tip"},g8={class:"myinput_wrap"},b8={class:"btns"},h8={key:1,class:"action"},_8={class:"title"},x8={class:"finished"},k8={class:"successed"},w8={class:"btns"},y8=U({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(""),s=E(""),c=E(""),_=E(""),g=E("default"),p=E("Aria2"),f=E(""),m=E(""),h=E(""),k=E(""),x=E([]),w=E([]),v=E(0);At(()=>{var N,P,I,W,ht,Dt,ft,Kt,Qt,It;switch(i.defaultTab){case"aria2":p.value="Aria2";break;case"qbittorrent":p.value="qBittorrent";break;case"transmission":p.value="Transmission";break}x.value=i.partitionList.map(at=>({key:at})),w.value=i.partitionList.filter(at=>at.startsWith("/mnt/")).map(at=>at.replace(/(\/mnt\/[^/]+).*/,"$1")),c.value=((N=i.services.aria2)==null?void 0:N.configPath)||"";const B=((P=i.services.aria2)==null?void 0:P.downloadPath)||((I=i.services.qbittorrent)==null?void 0:I.downloadPath)||((W=i.services.transmission)==null?void 0:W.downloadPath);B&&(_.value=B);const $=(ht=i.services.aria2)==null?void 0:ht.rpcToken;$&&(u.value=$),f.value=((Dt=i.services.qbittorrent)==null?void 0:Dt.configPath)||"";const S=((ft=i.services.qbittorrent)==null?void 0:ft.downloadPath)||B||((Kt=i.services.transmission)==null?void 0:Kt.downloadPath);S&&(m.value=S),h.value=((Qt=i.services.transmission)==null?void 0:Qt.configPath)||"";const V=((It=i.services.transmission)==null?void 0:It.downloadPath)||B||S;V&&(k.value=V)});const b=()=>{let B=c.value,$=_.value;B==null||B==""||$==null||$==""||L(this,null,function*(){if(yield Ct.checkAndInstallApp("app-meta-aria2","Aria2")){const V=C.Loading(a("\u914D\u7F6E\u4E2D..."));O.Guide.Aria2Init.POST({configPath:B,downloadPath:$,rpcToken:u.value,btTracker:g.value=="add"?s.value:""}).then(N=>{var P;if(N!=null&&N.data){if((N.data.success||0)==0){v.value=1;return}else if((P=N.data)!=null&&P.error)throw N.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(N=>C.Error(N)).finally(()=>V.Close())}})},y=()=>{let B=f.value,$=m.value;B==null||B==""||$==null||$==""||L(this,null,function*(){if(yield Ct.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const V=C.Loading(a("\u914D\u7F6E\u4E2D..."));O.Guide.qbitorrentInit.POST({configPath:B,downloadPath:$}).then(N=>{var P;if(N!=null&&N.data){if((N.data.success||0)==0){v.value=1;return}else if((P=N.data)!=null&&P.error)throw N.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(N=>C.Error(N)).finally(()=>V.Close())}})},F=()=>{let B=h.value,$=k.value;B==null||B==""||$==null||$==""||L(this,null,function*(){if(yield Ct.checkAndInstallApp("app-meta-transmission","Transmission")){const V=C.Loading(a("\u914D\u7F6E\u4E2D..."));O.Guide.transmissionInit.POST({configPath:B,downloadPath:$}).then(N=>{var P;if(N!=null&&N.data){if((N.data.success||0)==0){v.value=1;return}else if((P=N.data)!=null&&P.error)throw N.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(N=>C.Error(N)).finally(()=>V.Close())}})},Y=B=>{B.preventDefault(),i.Close&&i.Close()},A=B=>{B.preventDefault(),location.reload()};return(B,$)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[v.value==0?(r(),l("div",r3,[t("h2",s3,n(e(a)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",d3,[t("div",l3,[t("span",null,n(e(a)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",u3,[T(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":$[0]||($[0]=S=>p.value=S),name:"download",id:"Aria2"},null,512),[[Et,p.value]]),c3]),t("div",p3,[T(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":$[1]||($[1]=S=>p.value=S),name:"download",id:"qB"},null,512),[[Et,p.value]]),f3]),t("div",m3,[T(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":$[2]||($[2]=S=>p.value=S),name:"download",id:"Tr"},null,512),[[Et,p.value]]),v3])])])]),p.value=="Aria2"?(r(),l("form",{key:0,onSubmit:mt(b,["prevent"])},[t("ul",null,[t("li",null,[t("div",b3,[t("div",h3,[t("span",_3,[z(Zt),t("div",null,[t("div",x3,[t("span",k3,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,n(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",w3,[z(Jt,{modelValue:c.value,"onUpdate:modelValue":$[3]||($[3]=S=>c.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:w.value.concat("/root").map(S=>({key:S+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",y3,[t("div",F3,[t("span",E3,[z(Zt),t("div",null,[t("div",C3,[t("span",$3,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",D3,[z(Jt,{modelValue:_.value,"onUpdate:modelValue":$[4]||($[4]=S=>_.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:x.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",B3,[t("div",Y3,[t("span",A3,[z(Zt),t("div",null,[t("div",S3,[t("span",z3,n(e(a)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,n(e(a)("RPC \u4EE4\u724C\uFF1A")),1)]),T(t("input",{type:"text",class:"RPC_input",placeholder:e(a)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":$[5]||($[5]=S=>u.value=S)},null,8,P3),[[ot,u.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",T3,[t("div",I3,[t("span",null,n(e(a)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",L3,[T(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":$[6]||($[6]=S=>g.value=S)},null,512),[[Et,g.value]]),t("label",M3,n(e(a)("\u9ED8\u8BA4")),1)]),t("div",N3,[T(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":$[7]||($[7]=S=>g.value=S)},null,512),[[Et,g.value]]),t("label",O3,n(e(a)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",V3,[G3,t("div",j3,[g.value=="add"?T((r(),l("textarea",{key:0,"onUpdate:modelValue":$[8]||($[8]=S=>s.value=S),rows:"4",placeholder:e(a)("\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694")},null,8,q3)),[[ot,s.value,void 0,{trim:!0}]]):D("",!0)])])])])],40,g3)):D("",!0),p.value=="qBittorrent"?(r(),l("form",{key:1,onSubmit:mt(y,["prevent"])},[t("ul",null,[t("li",null,[t("div",R3,[t("div",W3,[t("span",H3,[z(Zt),t("div",null,[t("div",Z3,[t("span",J3,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,n(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",K3,[z(Jt,{modelValue:f.value,"onUpdate:modelValue":$[9]||($[9]=S=>f.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:w.value.concat("/root").map(S=>({key:S+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Q3,[t("div",X3,[t("span",t8,[z(Zt),t("div",null,[t("div",e8,[t("span",a8,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",o8,[z(Jt,{modelValue:m.value,"onUpdate:modelValue":$[10]||($[10]=S=>m.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:x.value},null,8,["modelValue","title","options"])])])])])],40,U3)):D("",!0),p.value=="Transmission"?(r(),l("form",{key:2,onSubmit:mt(F,["prevent"])},[t("ul",null,[t("li",null,[t("div",i8,[t("div",r8,[t("span",s8,[z(Zt),t("div",null,[t("div",d8,[t("span",l8,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,n(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",u8,[z(Jt,{modelValue:h.value,"onUpdate:modelValue":$[11]||($[11]=S=>h.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:w.value.concat("/root").map(S=>({key:S+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",c8,[t("div",p8,[t("span",f8,[z(Zt),t("div",null,[t("div",m8,[t("span",v8,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",g8,[z(Jt,{modelValue:k.value,"onUpdate:modelValue":$[12]||($[12]=S=>k.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:x.value},null,8,["modelValue","title","options"])])])])])],40,n8)):D("",!0),t("div",b8,[p.value=="Aria2"?(r(),l("button",{key:0,class:"cbi-button cbi-button-apply",onClick:b},n(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="qBittorrent"?(r(),l("button",{key:1,class:"cbi-button cbi-button-apply",onClick:y},n(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="Transmission"?(r(),l("button",{key:2,class:"cbi-button cbi-button-apply",onClick:F},n(e(a)("\u542F\u7528")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},n(e(a)("\u53D6\u6D88")),1)])])):v.value==1?(r(),l("div",h8,[t("h2",_8,n(e(a)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:p.value})),1),t("div",x8,[z(We)]),t("p",k8,n(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",w8,[t("button",{class:"cbi-button cbi-button-apply",onClick:A},n(e(a)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var F8=M(y8,[["__scopeId","data-v-395b81d2"]]);const E8=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(F8,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},C8={class:"app-container"},$8={class:"app-container_title"},D8={class:"app-container_tool"},B8=["disabled"],Y8=["title"],A8={class:"DeviceBlock"},S8={class:"app-container_body"},z8={class:"app-container_nas-menu"},P8=U({setup(o){const{$gettext:i,$ngettext:a}=H();E(!1);const d=E("aria2"),u=E();ka(),setTimeout(()=>{O.Guide.DownloadService.Status.GET().then(x=>{var w;if((w=x==null?void 0:x.data)!=null&&w.result){const v=x.data.result;u.value=v}})},800);const c=E(!1),_=E(!1),g=()=>{_.value=!_.value},p=()=>{O.Guide.DownloadPartition.List.GET().then(x=>{var v,b;let w=[];(b=(v=x==null?void 0:x.data)==null?void 0:v.result)!=null&&b.partitionList&&(w=x.data.result.partitionList),E8({services:u.value,partitionList:w,defaultTab:d.value})})},f=(x,w,v)=>L(this,null,function*(){g(),Ct.installAndGo(x,w,v)}),m=()=>{f("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},h=()=>{f("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},k=()=>{f("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(x,w)=>{var b,y,F;const v=ut("GlHelp");return r(),l("div",C8,[t("div",$8,[t("span",null,[t("span",null,n(e(i)("\u4E0B\u8F7D\u670D\u52A1")),1),z(v,{type:"download"})]),t("div",D8,[u.value?(r(),l("div",{key:0,class:"app-container_configure",onClick:p,disabled:c.value},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),9,B8)):D("",!0),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E")},[z(Vt,{onClick:g})],8,Y8)]),T(t("div",A8,[t("div",{class:"menu_background",onClick:g}),t("ul",null,[t("li",null,[t("a",{onClick:m},n(e(i)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:h},n(e(i)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:k},n(e(i)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[Yt,_.value]])]),t("div",S8,[t("ul",z8,[t("button",{onClick:w[0]||(w[0]=Y=>d.value="aria2"),class:pt({on:d.value=="aria2"})},"Aria2",2),t("button",{onClick:w[1]||(w[1]=Y=>d.value="qbittorrent"),class:pt({on:d.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:w[2]||(w[2]=Y=>d.value="transmission"),class:pt({on:d.value=="transmission"})},"Transmission",2)]),d.value=="aria2"?(r(),K(_p,{key:0,aria2:(b=u.value)==null?void 0:b.aria2},null,8,["aria2"])):d.value=="qbittorrent"?(r(),K(Mp,{key:1,qbittorrent:(y=u.value)==null?void 0:y.qbittorrent},null,8,["qbittorrent"])):d.value=="transmission"?(r(),K(t3,{key:2,transmission:(F=u.value)==null?void 0:F.transmission},null,8,["transmission"])):D("",!0)])])}}});var T8=M(P8,[["__scopeId","data-v-17fab0f2"]]);const I8={class:"actioner-container"},L8={class:"actioner-container_header"},M8={class:"actioner-container_body"},N8={class:"label-item"},O8={class:"label_info"},V8={class:"label-item"},G8={class:"label_info"},j8={class:"label-item"},q8={class:"label_info"},U8={class:"label-item"},R8={class:"label_info"},W8={class:"actioner-container_footer"},H8=U({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=()=>{a.onSetup()},c=E(a.active),_=()=>{switch(i("update:active",c.value),c.value){case"ddnsto":a.onSetup("ddnsto");break;case"ali":a.onSetup("ddns-ali");break;case"dnspod":a.onSetup("ddns-dnspod");break;case"oray":a.onSetup("ddns-oray");break}};return(g,p)=>(r(),l("div",I8,[t("div",L8,[t("span",null,n(e(d)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",M8,[t("div",N8,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[0]||(p[0]=f=>c.value=f),value:"ddnsto"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("DDNSTO")),1)]),t("p",O8,n(e(d)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",V8,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[1]||(p[1]=f=>c.value=f),value:"ali"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("\u963F\u91CC\u4E91")),1)]),t("p",G8,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",j8,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[2]||(p[2]=f=>c.value=f),value:"dnspod"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("Dnspod")),1)]),t("p",q8,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",U8,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[3]||(p[3]=f=>c.value=f),value:"oray"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("\u82B1\u751F\u58F3")),1)]),t("p",R8,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",W8,[t("div",{class:"close",onClick:s},n(e(d)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:_},n(e(d)("\u4E0B\u4E00\u6B65")),1)])]))}});var Z8=M(H8,[["__scopeId","data-v-73552138"]]);const J8=o=>(rt("data-v-b9ee57da"),o=o(),st(),o),K8={class:"actioner-container"},Q8={class:"actioner-container_body"},X8=J8(()=>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)),t4={class:"body-title"},e4={class:"body-tips"},a4={class:"body-info"},o4=["href"],n4={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},i4={class:"actioner-container_footer"},r4=U({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,s)=>(r(),l("div",K8,[t("div",Q8,[X8,t("div",t4,n(e(i)("\u6DFB\u52A0\u6210\u529F")),1),t("p",e4,n(e(i)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",a4,[t("span",null,n(e(i)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},n(o.target),9,o4)]),t("div",null,[t("span",null,n(e(i)("\u53EF\u524D\u5F80")),1),t("a",n4,n(e(i)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,n(e(i)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",i4,[t("div",{class:"close",onClick:d},n(e(i)("\u5173\u95ED")),1)])]))}});var s4=M(r4,[["__scopeId","data-v-b9ee57da"]]);const d4=o=>(rt("data-v-aefb6fdc"),o=o(),st(),o),l4={class:"actioner-container"},u4={class:"actioner-container_header"},c4=d4(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),p4={class:"actioner-container_footer"},f4=U({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.onSetup()},s=c=>{if(c.data.auth=="ddnsto"){const _=c.data.sign,g=c.data.token;_&&g&&(removeEventListener("message",s),i.onDdnstoConfig(_,g),i.onSetup("ddnsto-run"))}};return At(()=>{window.addEventListener("message",s)}),jt(()=>{removeEventListener("message",s)}),(c,_)=>(r(),l("div",l4,[t("div",u4,[t("span",null,n(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),c4,t("div",p4,[t("div",{class:"close",onClick:u},n(e(a)("\u53D6\u6D88")),1)])]))}});var m4=M(f4,[["__scopeId","data-v-aefb6fdc"]]);const v4={class:"actioner-container"},g4={class:"actioner-container_header"},b4={class:"actioner-container_body ddnsto-bind"},h4=["src"],_4=U({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=tt(()=>{const{domain:g,token:p,sign:f,routerId:m,netaddr:h}=a.config,k=encodeURIComponent(g),x=encodeURIComponent(h);return`https://www.kooldns.cn/bind/#/domain?domain=${k}&sign=${f}&token=${p}&routerId=${m}&netaddr=${x}`}),c=g=>{if(g.data){const{auth:p,url:f}=g.data;p==="ddnsto"&&f&&_(f)}},_=g=>L(this,null,function*(){var p;try{const f=yield O.Guide.DdnstoAddress.POST({address:g});f!=null&&f.data&&(((p=f==null?void 0:f.data)==null?void 0:p.success)||0)==0&&(i("update:domain",g),a.onSetup("ddnsto-save"))}catch(f){}});return At(()=>{window.addEventListener("message",c)}),jt(()=>{removeEventListener("message",c)}),(g,p)=>(r(),l("div",v4,[t("div",g4,[t("span",null,n(e(d)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",b4,[t("iframe",{src:e(s)},null,8,h4)])]))}});var x4=M(_4,[["__scopeId","data-v-0e2b47e6"]]);const k4=o=>(rt("data-v-29e2aec8"),o=o(),st(),o),w4={class:"actioner-container"},y4={class:"actioner-container_body"},F4=k4(()=>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)),E4={class:"body-title"},C4={class:"body-tips"},$4={class:"body-info"},D4=["href"],B4={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},Y4={class:"actioner-container_footer"},A4=U({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,s)=>(r(),l("div",w4,[t("div",y4,[F4,t("div",E4,n(e(i)("\u6DFB\u52A0\u6210\u529F")),1),t("p",C4,n(e(i)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",$4,[t("span",null,n(e(i)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},n(o.target),9,D4)]),t("div",null,[t("span",null,n(e(i)("\u53EF\u524D\u5F80")),1),t("a",B4,n(e(i)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,n(e(i)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",Y4,[t("div",{class:"close",onClick:d},n(e(i)("\u5173\u95ED")),1)])]))}});var S4=M(A4,[["__scopeId","data-v-29e2aec8"]]);const z4={class:"actioner-container"},P4={class:"actioner-container_header"},T4={class:"actioner-container_body"},I4={class:"actioner-container_footer"},L4=U({props:{onSetup:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.onSetup()},s=()=>L(this,null,function*(){if(g.value)return;g.value=!0;const f=C.Loading(a("\u5B89\u88C5\u4E2D..."));try{if(yield Ct.installApp("app-meta-ddnsto",30)){i.onSetup("ddnsto-login");return}else c.value=a("\u5B89\u88C5\u5931\u8D25")}catch(m){c.value=m}finally{f.Close()}g.value=!1}),c=E(a("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),_=E(!1),g=E(!1);return(()=>L(this,null,function*(){try{const f=yield O.App.Check.POST({name:"ddnsto"});if(f!=null&&f.data){const{result:m,error:h}=f.data;if(h){c.value=h;return}if(m){if(m.status=="installed"){i.onSetup("ddnsto-login");return}m.status=="uninstalled"&&(c.value=a("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(f){c.value=f}_.value=!0}))(),(f,m)=>(r(),l("div",z4,[t("div",P4,[t("span",null,n(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",T4,[t("span",null,n(c.value),1)]),t("div",I4,[_.value?(r(),l(G,{key:0},[t("div",{class:"close",onClick:u},n(e(a)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:s},n(e(a)("\u786E\u5B9A")),1)],64)):D("",!0)])]))}});var M4=M(L4,[["__scopeId","data-v-169b4450"]]);const N4={class:"actioner-container"},O4={class:"actioner-container_header"},V4={class:"actioner-container_body"},G4=U({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(a("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(f=>L(this,null,function*(){var m;try{const h=yield O.Guide.Ddnsto.POST({token:i.token});h!=null&&h.data&&(h.data.error&&(u.value=h.data.error),(((m=h==null?void 0:h.data)==null?void 0:m.success)||0)==0&&_())}catch(h){u.value=h}}))(i.token);const c=E(),_=()=>{const f=()=>L(this,null,function*(){if((yield g())===!0){p();return}c.value=window.setTimeout(f,2e3)});f()},g=()=>L(this,null,function*(){try{const f=yield O.App.Check.POST({name:"ddnsto",checkRunning:!0});if(f!=null&&f.data){f.data.error&&(u.value=f.data.error);const m=f.data.result;if((m==null?void 0:m.status)=="running")return!0}}catch(f){u.value=f}return!1});jt(()=>{c.value&&clearInterval(c.value)});const p=()=>L(this,null,function*(){var f;try{const m=yield O.Guide.DdntoConfig.GET();if(m!=null&&m.data&&(m.data.error&&(u.value=m.data.error),(((f=m==null?void 0:m.data)==null?void 0:f.success)||0)==0&&m.data.result)){const h=m.data.result;i.onDdnstoLocalConfig(h.netAddr,h.deviceId),i.onSetup("ddnsto-bind")}}catch(m){u.value=m}});return(f,m)=>(r(),l("div",N4,[t("div",O4,[t("span",null,n(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",V4,n(u.value),1)]))}});var j4=M(G4,[["__scopeId","data-v-6590a3fa"]]);const q4={class:"action-main"},U4=U({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const i=o,a=E("ddnsto-install"),d=g=>{g!=null?a.value=g:u()},u=()=>{i.Close&&i.Close()},s=gt({sign:"",token:"",domain:i.url,netaddr:"",routerId:""}),c=(g,p)=>{s.sign=g,s.token=p},_=(g,p)=>{s.netaddr=g,s.routerId=p};return(g,p)=>(r(),K(_t,{type:1},{default:R(()=>[t("div",q4,[a.value=="ddnsto-install"?(r(),K(M4,{key:0,onSetup:d})):a.value=="ddnsto-login"?(r(),K(m4,{key:1,onSetup:d,onDdnstoConfig:c})):a.value=="ddnsto-run"?(r(),K(j4,{key:2,onSetup:d,token:e(s).token,onDdnstoLocalConfig:_},null,8,["token"])):a.value=="ddnsto-bind"?(r(),K(x4,{key:3,onSetup:d,config:{token:e(s).token,sign:e(s).sign,domain:e(s).domain,netaddr:e(s).netaddr,routerId:e(s).routerId},domain:e(s).domain,"onUpdate:domain":p[0]||(p[0]=f=>e(s).domain=f)},null,8,["config","domain"])):a.value=="ddnsto-save"?(r(),K(S4,{key:4,onSetup:d,target:e(s).domain},null,8,["target"])):D("",!0)])]),_:1}))}});var R4=M(U4,[["__scopeId","data-v-3b80943c"]]);const W4=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(R4,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},H4={class:"action"},Z4={class:"action-header"},J4=["innerHTML"],K4={class:"action-footer"},Q4=U({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.next&&i.next(),i.Close&&i.Close()},s=()=>{i.clear&&i.clear(),i.Close&&i.Close()},c=()=>{i.continuer&&i.continuer(),i.Close&&i.Close()};return(_,g)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[t("div",H4,[t("div",Z4,n(o.title||e(a)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,J4),t("div",K4,[o.clear?(r(),l("div",{key:0,class:"clear",onClick:s},n(o.clearTitle||e(a)("\u8FD4\u56DE")),1)):D("",!0),t("div",{class:"next",onClick:u},n(o.nextTitle||e(a)("\u786E\u5B9A")),1),o.continuer?(r(),l("div",{key:1,class:"next",onClick:c},n(o.continuerTitle||e(a)("\u7EE7\u7EED\u4FDD\u5B58")),1)):D("",!0)])])]),_:1},8,["Close"]))}});var X4=M(Q4,[["__scopeId","data-v-145a3c50"]]);const Be=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(X4,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},t7=o=>(rt("data-v-2c659599"),o=o(),st(),o),e7={class:"actioner-container"},a7=["onSubmit"],o7={class:"actioner-container_header"},n7={key:0,class:"title_info"},i7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},r7={key:1,class:"title_info"},s7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},d7={key:2,class:"title_info"},l7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},u7={class:"label-item"},c7={class:"label-item_key"},p7={class:"label-item_value"},f7={value:"ipv4"},m7={value:"ipv6"},v7={class:"label_tips"},g7=t7(()=>t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])],-1)),b7={class:"info"},h7={class:"label-item"},_7={class:"label-item_key"},x7={class:"label-item_value"},k7={class:"label-item"},w7={class:"label-item_key"},y7={class:"label-item_value"},F7=["placeholder"],E7={class:"label-item"},C7={class:"label-item_key"},$7={class:"label-item_value"},D7=["placeholder"],B7={class:"actioner-container_footer"},Y7=["disabled"],A7=U({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=E("ipv4"),c=E(a.name),_=E(""),g=E(""),p=E(""),f=E(!1),m=()=>{a.onSetup("index")},h=()=>{f.value=!0;const v=C.Loading(d("\u68C0\u6D4B\u4E2D..."));O.Network.CheckPublickNet.POST({ipVersion:s.value}).then(b=>{var y,F;if(b!=null&&b.data){if((y=b==null?void 0:b.data)!=null&&y.error){C.Warning(b==null?void 0:b.data.error);return}if((((F=b==null?void 0:b.data)==null?void 0:F.success)||0)==0){const Y=b.data.result;Y&&Y.address?w():k();return}}throw d("\u672A\u77E5\u9519\u8BEF")}).catch(b=>{C.Error(b)}).finally(()=>{v.Close(),f.value=!1})},k=()=>{Be({title:d("\u6E29\u99A8\u63D0\u793A"),nextTitle:d("\u4F7F\u7528DDNSTO"),continuerTitle:d("\u7EE7\u7EED\u4FDD\u5B58"),content:d("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){x()},continuer(){w()},clear(){}})},x=()=>{a.onSetup("ddnsto")},w=()=>{f.value=!0;const v=C.Loading(d("\u914D\u7F6E\u4E2D..."));O.Guide.PostDdns.POST({ipVersion:s.value,serviceName:c.value,domain:_.value,userName:g.value,password:p.value}).then(b=>{if(b!=null&&b.data){const{error:y,scope:F,success:Y}=b.data;if(y=="-100"&&F=="guide.ddns"){Be({title:d("\u6E29\u99A8\u63D0\u793A"),content:d("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(y){C.Warning(y);return}if((Y||0)==0){i("update:target",_.value),a.onSetup("ddns-success");return}}throw d("\u672A\u77E5\u9519\u8BEF")}).catch(b=>{C.Error(b)}).finally(()=>{v.Close(),f.value=!1})};return(v,b)=>(r(),l("div",e7,[t("form",{class:"actioner-dns",onSubmit:mt(h,["prevent"])},[t("div",o7,[t("span",null,n(e(d)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:pt(["actioner-container_body",o.name])},[o.name=="ali"?(r(),l("div",n7,[t("p",null,n(e(d)("\u963F\u91CC\u4E91")),1),t("span",null,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",i7,n(e(d)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(r(),l("div",r7,[t("p",null,n(e(d)("dnspod")),1),t("span",null,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",s7,n(e(d)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(r(),l("div",d7,[t("p",null,n(e(d)("\u82B1\u751F\u58F3")),1),t("span",null,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",l7,n(e(d)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):D("",!0),t("div",u7,[t("div",c7,[t("span",null,n(e(d)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",p7,[T(t("select",{name:"",id:"","onUpdate:modelValue":b[0]||(b[0]=y=>s.value=y)},[t("option",f7,n(e(d)("IPv4\u5730\u5740")),1),t("option",m7,n(e(d)("IPv6\u5730\u5740")),1)],512),[[dt,s.value]])]),t("div",v7,[g7,t("span",b7,n(e(d)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",h7,[t("div",_7,[t("span",null,n(e(d)("\u57DF\u540D\uFF1A")),1)]),t("div",x7,[T(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":b[1]||(b[1]=y=>_.value=y),required:""},null,512),[[ot,_.value,void 0,{trim:!0}]])])]),t("div",k7,[t("div",w7,[t("span",null,n(e(d)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",y7,[T(t("input",{type:"text","onUpdate:modelValue":b[2]||(b[2]=y=>g.value=y),placeholder:e(d)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,F7),[[ot,g.value,void 0,{trim:!0}]])])]),t("div",E7,[t("div",C7,[t("span",null,n(e(d)("\u5BC6\u7801\uFF1A")),1)]),t("div",$7,[T(t("input",{type:"password","onUpdate:modelValue":b[3]||(b[3]=y=>p.value=y),placeholder:e(d)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,D7),[[ot,p.value,void 0,{trim:!0}]])])])],2),t("div",B7,[t("div",{class:"close",onClick:m,type:"button"},n(e(d)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:f.value},n(e(d)("\u4FDD\u5B58")),9,Y7)])],40,a7)]))}});var Ge=M(A7,[["__scopeId","data-v-2c659599"]]);const S7={class:"action-main"},z7=U({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const i=o,a=E(""),d=E("index"),u=g=>{if(g!=null){if(g=="ddnsto"){s();return}d.value=g}else c()},s=()=>{c(),W4({url:i.url})},c=()=>{i.Close&&i.Close()},_=E("ddnsto");return(g,p)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[t("div",S7,[d.value=="index"?(r(),K(Z8,{key:0,onSetup:u,active:_.value,"onUpdate:active":p[0]||(p[0]=f=>_.value=f)},null,8,["active"])):d.value=="ddns-ali"?(r(),K(Ge,{key:1,onSetup:u,target:a.value,"onUpdate:target":p[1]||(p[1]=f=>a.value=f),name:"ali"},null,8,["target"])):d.value=="ddns-dnspod"?(r(),K(Ge,{key:2,onSetup:u,target:a.value,"onUpdate:target":p[2]||(p[2]=f=>a.value=f),name:"dnspod"},null,8,["target"])):d.value=="ddns-oray"?(r(),K(Ge,{key:3,onSetup:u,target:a.value,"onUpdate:target":p[3]||(p[3]=f=>a.value=f),name:"oray"},null,8,["target"])):d.value=="ddns-success"?(r(),K(s4,{key:4,onSetup:u,target:a.value},null,8,["target"])):D("",!0)])]),_:1},8,["Close"]))}});var P7=M(z7,[["__scopeId","data-v-8a1e6470"]]);const T7=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(P7,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},ke=o=>(rt("data-v-c59010b0"),o=o(),st(),o),I7={class:"app-container"},L7={class:"app-container_title"},M7={class:"app-container_tool"},N7={class:"app-container_domain"},O7={class:"domain-item"},V7=ke(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO: ")],-1)),G7={class:"domain-item_value"},j7=["href","title"],q7={key:1,class:"configure"},U7={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},R7={key:0,class:"domain-item"},W7=ke(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4: ")],-1)),H7={class:"domain-item_value"},Z7={key:0},J7=["href"],K7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},Q7=ke(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),X7=[Q7],tf={key:1,class:"domain-item"},ef=ke(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6: ")],-1)),af={class:"domain-item_value"},of={key:0},nf=["href"],rf={key:2,href:"/cgi-bin/luci/admin/services/ddns"},sf=ke(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),df=[sf],lf=U({setup(o){const{$gettext:i,$ngettext:a}=H();let d=!1,u;const s=E({}),c=function(){!d||(document.hidden?Promise.resolve():O.Guide.GetDdns.GET().then(f=>{var m;f!=null&&f.data&&(((m=f==null?void 0:f.data)==null?void 0:m.success)||0)==0&&f.data.result&&(s.value=f.data.result)})).then(()=>{!d||(u=window.setTimeout(c,3e3))})};At(()=>{d=!0,u=window.setTimeout(c,1100)}),jt(()=>{u!==void 0&&window.clearTimeout(u),d=!1});const _=()=>{T7({url:s.value.ddnstoDomain})},g=tt(()=>{const f=s.value.ipv4Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`}),p=tt(()=>{const f=s.value.ipv6Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`});return(f,m)=>{var k,x,w,v;const h=ut("GlHelp");return r(),l("div",I7,[t("div",L7,[t("span",null,[t("span",null,n(e(i)("\u8FDC\u7A0B\u57DF\u540D")),1),z(h,{type:"ddns"})]),t("div",M7,[t("div",{class:"app-container_configure",onClick:_},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),1)])]),t("ul",N7,[t("li",O7,[V7,t("div",G7,[(k=s.value)!=null&&k.ddnstoDomain?(r(),l("a",{key:0,class:"configure",href:(x=s.value)==null?void 0:x.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(w=s.value)==null?void 0:w.ddnstoDomain},n((v=s.value)==null?void 0:v.ddnstoDomain),9,j7)):(r(),l("span",q7,n(e(i)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("a",U7,n(e(i)("\u63A7\u5236\u53F0")),1)])]),e(g)?(r(),l("li",R7,[W7,t("div",H7,[e(g)=="Stopped"||e(g)=="Disabled"?(r(),l("span",Z7,n(e(g)),1)):(r(),l("a",{key:1,class:"configure",href:e(g),target:"_blank",rel:"noopener noreferrer"},n(e(g)),9,J7)),e(g)?(r(),l("a",K7,X7)):D("",!0)])])):D("",!0),e(p)?(r(),l("li",tf,[ef,t("div",af,[e(p)=="Stopped"||e(p)=="Disabled"?(r(),l("span",of,n(e(p)),1)):(r(),l("a",{key:1,class:"configure",href:e(p),target:"_blank",rel:"noopener noreferrer"},n(e(p)),9,nf)),e(p)?(r(),l("a",rf,df)):D("",!0)])])):D("",!0)])])}}});var uf=M(lf,[["__scopeId","data-v-c59010b0"]]);const cf={class:"nas-container"},pf={class:"nas-container_card"},ff={class:"nas-container_card"},mf={key:0,class:"nas-container_card"},vf={class:"nas-container_card"},gf={class:"nas-container_card"},bf=U({setup(o){return(i,a)=>(r(),l("div",cf,[t("div",pf,[z(Pc)]),t("div",ff,[z(D5)]),e(te)("dockerd")?(r(),l("div",mf,[z(K6)])):D("",!0),t("div",vf,[z(T8)]),t("div",gf,[z(uf)])]))}});var hf=M(bf,[["__scopeId","data-v-a221efb4"]]);const _f={class:"app-container"},xf={class:"app-container_title"},kf=["title"],wf={class:"DeviceBlock"},yf={href:"/cgi-bin/luci/admin/system/flash"},Ff={href:"/cgi-bin/luci/admin/store/pages/maintance"},Ef={class:"item-label"},Cf={class:"item-label_key"},$f={class:"item-label_value"},Df={class:"item-label"},Bf={class:"item-label_key"},Yf={class:"item-label_value"},Af={class:"item-label"},Sf={class:"item-label_key"},zf={class:"item-label_value"},Pf={class:"item-label"},Tf={class:"item-label_key"},If={class:"item-label_value"},Lf={class:"item-label"},Mf={class:"item-label_key"},Nf={class:"item-label_value"},Of={class:"item-label"},Vf={class:"item-label_key"},Gf={class:"item-label_value"},jf={class:"item-label"},qf={class:"item-label_key"},Uf={class:"item-label_value"},Rf={class:"item-label"},Wf={class:"item-label_key"},Hf={class:"item-label_value"},Zf=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=Re(),u=tt(()=>d.version),s=tt(()=>d.systemStatus),c=E(!1),_=tt(()=>{var k;return((k=s.value)==null?void 0:k.cpuUsage)||0}),g=tt(()=>{var k;return((k=s.value)==null?void 0:k.cpuTemperature)||0}),p=tt(()=>{var x;const k=((x=s.value)==null?void 0:x.memAvailablePercentage)||100;return 100-k}),f=Pt.stampForm;At(()=>{});const m=()=>{c.value=!c.value},h=()=>{m(),Ct.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(k,x)=>{var v,b,y,F,Y;const w=ut("progress-item");return r(),l("div",_f,[t("div",xf,[t("span",null,n(e(i)("\u7CFB\u7EDF\u4FE1\u606F")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F")},[z(Vt,{onClick:m})],8,kf),T(t("div",wf,[t("div",{class:"menu_background",onClick:m}),t("ul",null,[t("li",null,[t("a",{onClick:h},n(e(i)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("li",null,[t("a",yf,n(e(i)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("li",null,[t("a",Ff,n(e(i)("\u63D2\u4EF6\u5907\u4EFD")),1)])])],512),[[Yt,c.value]])]),t("div",Ef,[t("div",Cf,[t("span",null,n(e(i)("CPU\u6E29\u5EA6")),1)]),t("div",$f,[z(w,{value:e(g)/1.5,text:`${e(g)}\u2103`},null,8,["value","text"])])]),t("div",Df,[t("div",Bf,[t("span",null,n(e(i)("CPU\u4F7F\u7528\u7387")),1)]),t("div",Yf,[z(w,{value:e(_),text:`${e(_)}%`},null,8,["value","text"])])]),t("div",Af,[t("div",Sf,[t("span",null,n(e(i)("\u5185\u5B58\u4F7F\u7528\u7387")),1)]),t("div",zf,[z(w,{value:e(p),text:`${e(p)}%`},null,8,["value","text"])])]),t("div",Pf,[t("div",Tf,[t("span",null,n(e(i)("\u8BBE\u5907\u578B\u53F7")),1)]),t("div",If,[t("span",null,n((v=e(u))==null?void 0:v.model),1)])]),t("div",Lf,[t("div",Mf,[t("span",null,n(e(i)("\u56FA\u4EF6\u7248\u672C")),1)]),t("div",Nf,[t("span",null,n((b=e(u))==null?void 0:b.firmwareVersion),1)])]),t("div",Of,[t("div",Vf,[t("span",null,n(e(i)("\u5185\u6838\u7248\u672C")),1)]),t("div",Gf,[t("span",null,n((y=e(u))==null?void 0:y.kernelVersion),1)])]),t("div",jf,[t("div",qf,[t("span",null,n(e(i)("\u5DF2\u542F\u52A8")),1)]),t("div",Uf,[t("span",null,n(e(f)((F=e(s))==null?void 0:F.uptime)),1)])]),t("div",Rf,[t("div",Wf,[t("span",null,n(e(i)("\u7CFB\u7EDF\u65F6\u95F4")),1)]),t("div",Hf,[t("span",null,n((Y=e(s))==null?void 0:Y.localtime),1)])])])}}});var Jf=M(Zf,[["__scopeId","data-v-2baf3f98"]]);const za=/\d+\.\d+\.\d+\.\d+/,Kf=o=>za.test(o)&&xe.IPv4.isValid(o),Ut=o=>{const i=xe.IPv4.parse(o).toByteArray();return i[0]<<24|i[1]<<16|i[2]<<8|i[3]},ra=o=>xe.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),Qf=o=>{if(!za.test(o)||!xe.IPv4.isIPv4(o))return!1;let i=0,a=Ut(o);for(let d=31;d>=0&&(a&1<{let u=Ut(o)&Ut(i),s=Ut(a),c=Ut(d),g=~Ut(i);return su+1&&c{let a=Ut(i),d=Ut(o)&a,u=~a,s;return u>=105?(s=d|u-5,d=d|100):u>=3?(s=d|u-1,d=d|2):(d=d|1,s=d),[ra(d),ra(s)]},em=o=>xe.IPv4.subnetMaskFromPrefixLength(o).toString();var Mt={isValidMask:Qf,isValidIPv4:Kf,isValidMaskRange:Xf,calcMaskRange:tm,prefixToMask:em};const Ke=o=>(rt("data-v-0d919a1e"),o=o(),st(),o),am=["onSubmit"],om={class:"actioner-dns_header"},nm={class:"actioner-dns_body"},im={class:"label-item"},rm={class:"label-item_key"},sm={class:"label-item_value"},dm={class:"label-item"},lm={class:"label-item_key"},um={class:"label-item_value"},cm={key:0,class:"chose_dhcp"},pm={key:0,class:"dhcp_info"},fm={key:1,class:"dhcp_info"},mm={class:"label-item"},vm={class:"label-item_key"},gm={class:"label-item_value"},bm={class:"label-item"},hm={class:"label-item_key"},_m={class:"label-item_value"},xm={class:"actioner-dns_footer"},km=["disabled"],wm={key:1,class:"actioner-dns"},ym={class:"actioner-dns_header"},Fm={class:"actioner-dns_body"},Em={key:0,class:"setting_status"},Cm=Ke(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),$m={class:"config-message"},Dm=["href"],Bm={key:1,class:"setting_status"},Ym=Ke(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),Am={class:"config-message"},Sm={key:2,class:"setting_status"},zm=Ke(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),Pm={class:"config-message"},Tm=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const c=E(!1);E(!0),E(!1);const _=E(""),g=E(2),p=E(!1),f=E("timeout");let m=!0;(()=>{O.Guide.GetLan.GET().then(b=>{b.data.result&&(p.value=b.data.result.enableDhcp||!1,b.data.result.enableDhcp=!1,s.value=b.data.result,b.data.result.lanIp!==location.hostname&&(m=!1))})})();const k=()=>{const b=s.value;if(!Mt.isValidIPv4(b.lanIp)){C.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Mt.isValidMask(b.netMask)){C.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const y=Mt.calcMaskRange(b.lanIp,b.netMask);b.dhcpStart=y[0],b.dhcpEnd=y[1],s.value=b},x=()=>{const b=s.value;if(!Mt.isValidIPv4(b.lanIp)){C.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Mt.isValidMask(b.netMask)){C.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(b.enableDhcp&&!(Mt.isValidIPv4(b.dhcpStart)&&Mt.isValidIPv4(b.dhcpEnd)&&Mt.isValidMaskRange(b.lanIp,b.netMask,b.dhcpStart,b.dhcpEnd))){C.Warning(a("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const y=C.Loading(a("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let F=0;const Y=B=>{f.value=B,u.value=1,F=1,y.Close()},A=()=>{const B=new Date().getTime()+3e4,$=m?location.protocol+"//"+b.lanIp+(location.port?":"+location.port:""):location.origin,S=$+"/luci-static/resources/icons/loading.gif",V=()=>{F==0&&(new Date().getTime()>B?Y("timeout"):window.setTimeout(P,2e3))},N=()=>{F==0&&(_.value=$+location.pathname,Y("success"),window.setTimeout(()=>{g.value=1},1e3),window.setTimeout(()=>{location.href=_.value},2e3))},P=()=>{if(F!=0)return;console.log("check online ",S);const I=new Image;I.onload=N,I.onerror=V,I.src=S};window.setTimeout(P,5e3)};O.Guide.LanIp.POST(b).then(B=>{var $;if(B!=null&&B.data){if((B.data.success||0)==0)return;if(($=B.data)!=null&&$.error)throw B.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(B=>{F==0&&(Y("fail"),C.Error(B))}),A(),window.setTimeout(()=>{F==0&&Y("timeout")},3e4)},w=b=>{b.preventDefault(),i.Close&&i.Close()},v=b=>{location.reload()};return(b,y)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0?(r(),l("form",{key:0,class:"actioner-dns",onSubmit:mt(x,["prevent"])},[t("div",om,[t("span",null,n(e(a)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",nm,[t("div",im,[t("div",rm,[t("span",null,n(e(a)("IPv4\u5730\u5740")),1)]),t("div",sm,[T(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":y[0]||(y[0]=F=>s.value.lanIp=F),onChange:k},null,544),[[ot,s.value.lanIp,void 0,{trim:!0}]])])]),t("div",dm,[t("div",lm,[t("span",null,n(e(a)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",um,[T(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":y[1]||(y[1]=F=>s.value.netMask=F),onChange:k},null,544),[[ot,s.value.netMask,void 0,{trim:!0}]])])]),p.value?(r(),l("div",cm,[z(ya,{modelValue:s.value.enableDhcp,"onUpdate:modelValue":y[2]||(y[2]=F=>s.value.enableDhcp=F)},{default:R(()=>[s.value.enableDhcp?(r(),l("span",pm,n(e(a)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(r(),l("span",fm,n(e(a)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):D("",!0),s.value.enableDhcp?(r(),l(G,{key:1},[t("div",mm,[t("div",vm,[t("span",null,n(e(a)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",gm,[T(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[3]||(y[3]=F=>s.value.dhcpStart=F)},null,512),[[ot,s.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",bm,[t("div",hm,[t("span",null,n(e(a)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",_m,[T(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[4]||(y[4]=F=>s.value.dhcpEnd=F)},null,512),[[ot,s.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):D("",!0)]),t("div",xm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:c.value},n(e(a)("\u786E\u8BA4")),9,km),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},n(e(a)("\u53D6\u6D88")),1)])],40,am)):u.value==1?(r(),l("div",wm,[t("div",ym,[t("span",null,n(e(a)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",Fm,[f.value=="success"?(r(),l("div",Em,[Cm,t("div",$m,n(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:_.value,class:"NewAdress"},n(e(a)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+g.value})),9,Dm)])):f.value=="fail"?(r(),l("div",Bm,[Ym,t("div",Am,n(e(a)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,n(e(a)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},n(e(a)("\u6211\u77E5\u9053\u4E86")),1)])):f.value=="timeout"?(r(),l("div",Sm,[zm,t("div",Pm,n(e(a)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,n(e(a)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},n(e(a)("\u5237\u65B0\u9875\u9762")),1)])):D("",!0)])])):D("",!0)]),_:1},8,["Close"]))}});var Im=M(Tm,[["__scopeId","data-v-0d919a1e"]]);const Lm=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=bt(Im,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},Mm={key:0,class:"actioner-dns"},Nm={class:"actioner-dns_header"},Om={class:"actioner-dns_body"},Vm={class:"sandbox_info"},Gm={key:0,class:"disk_loading_icon"},jm={class:"disk_loading_info"},qm={key:1,class:"disk_tips"},Um={class:"label-item"},Rm={class:"label-item_key"},Wm={class:"label-item_value"},Hm={value:""},Zm=["value"],Jm={class:"label-item"},Km={class:"label-item_key"},Qm={class:"label-item_value"},Xm={selected:"true",value:""},t9=["value","disabled"],e9={class:"sandbox_tips"},a9={class:"sandbox_info timeout"},o9={class:"sandbox_roboot_tips"},n9={class:"sandbox_roboot_refresh"},i9={key:0,class:"actioner-dns_footer"},r9=["disabled"],s9={key:1,class:"actioner-tips"},d9={class:"actioner-tips_header"},l9={class:"actioner-tips_body"},u9={class:"sandbox_info"},c9={class:"actioner-tips_footer"},p9={key:2,class:"actioner-tips"},f9={class:"actioner-tips_header"},m9={class:"actioner-tips_body"},v9={class:"sandbox_info"},g9={class:"actioner-tips_footer"},b9=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0);E("disk");const s=E(""),c=E(3),_=E(""),g=E([]),p=E(""),f=E(null);(()=>{O.Nas.SandboxDisks.GET().then(F=>{var Y;if(F!=null&&F.data&&(Y=F.data)!=null&&Y.result){f.value=F.data.result;return}throw a("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch(F=>{s.value=F,u.value=3})})();const h=()=>O.System.Reboot.POST({name:_.value,path:p.value}).then(F=>{var Y;if(!(F!=null&&F.data&&(((Y=F==null?void 0:F.data)==null?void 0:Y.success)||0)==0))throw a("\u672A\u77E5\u9519\u8BEF")}),k=F=>{var Y,A;p.value="",g.value=_.value&&((A=(Y=f.value)==null?void 0:Y.disks.find(B=>B.path==_.value))==null?void 0:A.childrens)||[]},x=()=>{c.value>0&&(c.value-=1,window.setTimeout(x,1e3))},w=F=>{F.preventDefault(),i.Close&&i.Close()},v=()=>{new Promise((F,Y)=>{const A="/luci-static/resources/icons/loading.gif",B=()=>{window.setTimeout($,2e3)},$=()=>{const S=new Image;S.onload=F,S.onerror=B,S.src=A};window.setTimeout($,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},b=F=>{const Y=C.Loading(a("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));O.Nas.Sandbox.POST({path:p.value}).then(A=>{var B;if(A!=null&&A.data){if((A.data.success||0)==0)return u.value=2,window.setTimeout(x,1e3),h();if((B=A.data)!=null&&B.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).then(v).catch(A=>C.Warning(A)).finally(()=>Y.Close())},y=()=>{u.value=0};return(F,Y)=>{const A=ut("icon-loading");return r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0||u.value==2?(r(),l("div",Mm,[t("div",Nm,[t("span",null,n(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Om,[t("p",Vm,n(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),u.value==0?(r(),l(G,{key:0},[f.value?D("",!0):(r(),l("div",Gm,[z(A,{size:38,color:"currentColor"}),t("span",jm,n(e(a)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),f.value&&f.value.disks.length==0?(r(),l("div",qm,[z(Tt),t("span",null,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):D("",!0),f.value&&f.value.disks.length>0?(r(),l(G,{key:2},[t("div",Um,[t("div",Rm,[t("span",null,n(e(a)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",Wm,[T(t("select",{name:"",id:"",onChange:k,"onUpdate:modelValue":Y[0]||(Y[0]=B=>_.value=B)},[t("option",Hm,n(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(r(!0),l(G,null,et(f.value.disks,(B,$)=>(r(),l("option",{value:B.path,key:$},n(B.venderModel)+"\uFF08"+n(B.size)+"\uFF09 ",9,Zm))),128))],544),[[dt,_.value]])])]),t("div",Jm,[t("div",Km,[t("span",null,n(e(a)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",Qm,[T(t("select",{name:"",id:"","onUpdate:modelValue":Y[1]||(Y[1]=B=>p.value=B)},[t("option",Xm,n(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(r(!0),l(G,null,et(g.value,(B,$)=>(r(),l("option",{value:B.path,key:$,disabled:B.sizeInt<(1<<30)*1||B.isSystemRoot},n(B.name)+"\uFF08"+n(B.filesystem||e(a)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+n(B.total),9,t9))),128))],512),[[dt,p.value]])])]),t("div",e9,[z(Tt),t("span",null,n(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):D("",!0)],64)):D("",!0),u.value==2?(r(),l(G,{key:1},[t("p",a9,[it(n(e(a)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+n(c.value)+"s\uFF09",1)]),t("p",o9,[it(n(e(a)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",n9,n(e(a)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):D("",!0)]),u.value==0?(r(),l("div",i9,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!p.value,onClick:Y[2]||(Y[2]=B=>u.value=1)},n(e(a)("\u5F00\u542F\u6C99\u7BB1")),9,r9),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},n(e(a)("\u53D6\u6D88")),1)])):D("",!0)])):D("",!0),u.value==1?(r(),l("div",s9,[t("div",d9,[t("span",null,n(e(a)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",l9,[t("p",u9,n(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",c9,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},n(e(a)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0),u.value==3?(r(),l("div",p9,[t("div",f9,[t("span",null,n(e(a)("\u9519\u8BEF")),1)]),t("div",m9,[t("p",v9,n(s.value),1)]),t("div",g9,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"])}}});var h9=M(b9,[["__scopeId","data-v-59ad49e6"]]);const _9=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=bt(h9,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},x9={key:0,class:"actioner-dns"},k9={class:"actioner-dns_header"},w9={class:"actioner-dns_body"},y9={class:"sandbox_info"},F9={class:"sandbox_environment"},E9={class:"sandbox_environment_info"},C9={class:"sandbox_environment_reboot"},$9=["innerHTML"],D9={class:"actioner-dns_footer"},B9=["disabled"],Y9=["disabled"],A9=["disabled"],S9=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=E(!1),c=()=>{new Promise((m,h)=>{const k="/luci-static/resources/icons/loading.gif",x=()=>{window.setTimeout(w,2e3)},w=()=>{const v=new Image;v.onload=m,v.onerror=x,v.src=k};window.setTimeout(w,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},_=()=>{s.value=!0;const m=C.Loading(a("\u63D0\u4EA4\u4E2D..."));O.Nas.SandboxCommit.POST().then(h=>{var k,x;if(h!=null&&h.data)if((((k=h==null?void 0:h.data)==null?void 0:k.success)||0)==0){C.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(x=h==null?void 0:h.data)!=null&&x.error&&alert(h.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(h=>{C.Error(h),s.value=!1}).finally(()=>m.Close())},g=()=>{s.value=!0;const m=C.Loading(a("\u91CD\u7F6E\u4E2D..."));O.Nas.SandboxReset.POST().then(h=>{var k,x;if(h!=null&&h.data)if((((k=h==null?void 0:h.data)==null?void 0:k.success)||0)==0){C.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(x=h==null?void 0:h.data)!=null&&x.error&&alert(h.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(h=>{C.Error(h),s.value=!1}).finally(()=>m.Close())},p=()=>{if(!confirm(a("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;s.value=!0;const m=C.Loading(a("\u6267\u884C\u4E2D..."));O.Nas.SandboxExit.POST().then(h=>{var k,x;if(h!=null&&h.data)if((((k=h==null?void 0:h.data)==null?void 0:k.success)||0)==0){C.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(x=h==null?void 0:h.data)!=null&&x.error&&alert(h.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(h=>{C.Error(h),s.value=!1}).finally(()=>m.Close())},f=m=>{m.preventDefault(),i.Close&&i.Close()};return(m,h)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0?(r(),l("div",x9,[t("div",k9,[t("span",null,n(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",w9,[t("p",y9,n(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",F9,[t("p",null,n(e(a)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,n(e(a)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,n(e(a)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,n(e(a)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",E9,[it(n(e(a)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",C9,n(e(a)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(a)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,$9)])]),t("div",D9,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:_,disabled:s.value},n(e(a)("\u63D0\u4EA4")),9,B9),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:g,disabled:s.value},n(e(a)("\u91CD\u7F6E")),9,Y9),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:s.value},n(e(a)("\u9000\u51FA")),9,A9),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var z9=M(S9,[["__scopeId","data-v-3e084f0f"]]);const P9=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=bt(z9,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},T9={class:"nav-container"},I9=["onClick"],L9={key:1,class:"btn_styles color3 app-update-button-combind"},M9={class:"app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},N9={class:"app-update-button-text"},O9={key:0,style:{display:"inline-block"}},V9={key:1},G9=["title"],j9={class:"app-update-button-menu"},q9={class:"app-update-menu-item"},U9={key:0,class:"app-update-menu-item-loading"},R9=["disabled"],W9={key:0,style:{display:"inline-block"}},H9=U({setup(o){var F,Y;const{$gettext:i,$ngettext:a}=H(),d=E(!0);(Y=(F=window.quickstart_configs)==null?void 0:F.update)!=null&&Y.disable&&(d.value=!1);const u=E(!1),s=E(d.value),c=E(!1),_=Re(),g=ze(),p=tt(()=>g.status);E(!1),E(!0);const f=E(),m=()=>{Ca()};Nt(s,A=>{c.value=!0,O.System.AutoCheckUpdate.POST({enable:A}).catch(B=>{C.Warning(B)}).finally(()=>{c.value=!1})});const h=()=>{_9()},k=()=>{P9()},x=()=>{alert(i("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},w=()=>{Lm()},v=()=>{Ya()},b=()=>{var A,B,$,S;window.open(`${(B=(A=window.quickstart_configs)==null?void 0:A.ttyd)!=null&&B.ssl?"https":"http"}://${window.location.hostname}:${((S=($=window.quickstart_configs)==null?void 0:$.ttyd)==null?void 0:S.port)||7681}/`,"_blank")},y=()=>{u.value=!u.value};return d.value&&setTimeout(()=>{_.requestCheckUpdate()},1100),te("sandbox")&&O.Nas.GetSandbox.GET().then(B=>{var $,S,V;B!=null&&B.data&&(((($=B==null?void 0:B.data)==null?void 0:$.success)||0)==0?(S=B==null?void 0:B.data)!=null&&S.result&&(f.value=B.data.result):(V=B==null?void 0:B.data)!=null&&V.error&&alert(B.data.error))}).catch(B=>C.Warning(B)),(A,B)=>{var N,P,I,W,ht,Dt;const $=ut("router-link"),S=ut("icon-loading"),V=ut("switch-box");return r(),l("div",T9,[z($,{to:"/network",custom:""},{default:R(({navigate:ft})=>[t("button",{class:"btn_styles color1",onClick:ft},n(e(i)("\u7F51\u7EDC\u5411\u5BFC")),9,I9)]),_:1}),e(te)("ttyd")?(r(),l("button",{key:0,class:"btn_styles color2 app-btn-ttyd",onClick:b},n(e(i)("\u7EC8\u7AEF")),1)):D("",!0),e(te)("ota")?(r(),l("button",L9,[t("div",M9,[t("div",N9,[it(n(e(i)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),d.value&&e(_).checkUpdate==null?(r(),l("span",O9,[z(S,{size:"0.8em",color:"currentColor"})])):D("",!0),(N=e(_).checkUpdate)!=null&&N.needUpdate?(r(),l("i",V9)):D("",!0)])]),t("span",{class:"app-update-button-more",onClick:y,title:e(i)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[z(Vt)],8,G9),T(t("div",j9,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[z(V,{modelValue:s.value,"onUpdate:modelValue":B[0]||(B[0]=ft=>s.value=ft)},{default:R(()=>[t("span",q9,n(e(i)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),c.value?(r(),l("span",U9,[z(S,{size:"1em",color:"currentColor"})])):D("",!0)])])],512),[[Yt,u.value]])])):D("",!0),t("button",{class:"btn_styles color4",onClick:w},n(e(i)("\u5185\u7F51\u914D\u7F6E")),1),t("button",{class:"btn_styles color5",onClick:m,disabled:!((P=e(p))!=null&&P.proto)},[it(n(e(i)("DNS\u914D\u7F6E"))+" ",1),(I=e(p))!=null&&I.proto?D("",!0):(r(),l("span",W9,[z(S,{size:"0.8em",color:"currentColor"})]))],8,R9),t("button",{class:"btn_styles color1",onClick:v},n(e(i)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1),e(te)("sandbox")?(r(),l(G,{key:2},[((W=f.value)==null?void 0:W.status)=="unsupport"?(r(),l("button",{key:0,class:"btn_styles color2",onClick:x},n(e(i)("\u5F00\u542F\u6C99\u7BB1")),1)):((ht=f.value)==null?void 0:ht.status)=="stopped"?(r(),l("button",{key:1,class:"btn_styles color3",onClick:h},n(e(i)("\u5F00\u542F\u6C99\u7BB1")),1)):((Dt=f.value)==null?void 0:Dt.status)=="running"?(r(),l("button",{key:2,class:"btn_styles color4",onClick:k},n(e(i)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)):D("",!0)],64)):D("",!0)])}}});var Z9=M(H9,[["__scopeId","data-v-501131da"]]);const Qe=o=>(rt("data-v-21b135fc"),o=o(),st(),o),J9={id:"page"},K9={style:{height:"48px","text-align":"right"}},Q9={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},X9=Qe(()=>t("em",null,null,-1)),tv=Qe(()=>t("em",null,null,-1)),ev=Qe(()=>t("em",null,null,-1)),av=U({setup(o){Fo();const{$gettext:i,$ngettext:a}=H();E(0);const d=E(!1),u=E(1);return(()=>L(this,null,function*(){var c;try{const _=yield O.GuidePage.needSetup.GET();(c=_==null?void 0:_.data)!=null&&c.result&&(d.value=_.data.result.need||!1,u.value=_.data.result.wifi?1:2)}catch(_){console.log(_)}}))(),(c,_)=>(r(),l("div",J9,[t("div",K9,[t("a",Q9,n(e(i)("iStoreOS\u5B98\u7F51")),1)]),z(E0),X9,z(Z9),z(hf),tv,z(Jf),ev]))}});var ov=M(av,[["__scopeId","data-v-21b135fc"]]);const nv={};function iv(o,i){const a=ut("router-view");return r(),K(a)}var rv=M(nv,[["render",iv]]);const sv={},dv={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},lv=Wt('',2),uv=[lv];function cv(o,i){return r(),l("svg",dv,uv)}var pv=M(sv,[["render",cv]]);const fv={},mv={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},vv=Wt('',2),gv=[vv];function bv(o,i){return r(),l("svg",mv,gv)}var hv=M(fv,[["render",bv]]);const _v={},xv={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},kv=Wt('',2),wv=[kv];function yv(o,i){return r(),l("svg",xv,wv)}var Fv=M(_v,[["render",yv]]);const Ev={id:"page"},Cv={class:"title"},$v={class:"desc"},Dv={class:"network-containers"},Bv={class:"network-container_item"},Yv={class:"cover"},Av={class:"thumbnail"},Sv={class:"network-container_item"},zv={class:"cover"},Pv={class:"thumbnail"},Tv={class:"network-container_item"},Iv={class:"cover"},Lv={class:"thumbnail"},Mv=["innerHTML"],Nv=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=i("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+i("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(u,s)=>{const c=ut("router-link");return r(),l("div",Ev,[t("div",Cv,n(e(i)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",$v,n(e(i)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",Dv,[t("div",Bv,[z(c,{to:"/network/pppoe"},{default:R(()=>[t("div",Yv,[t("div",Av,[z(hv),t("span",null,n(e(i)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",Sv,[z(c,{to:"/network/dhcp"},{default:R(()=>[t("div",zv,[t("div",Pv,[z(pv),t("span",null,n(e(i)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",Tv,[z(c,{to:"/network/gateway"},{default:R(()=>[t("div",Iv,[t("div",Lv,[z(Fv),t("span",null,n(e(i)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(d)},null,8,Mv)])}}});var Ov=M(Nv,[["__scopeId","data-v-0b149a51"]]);const Vv={key:0,id:"page"},Gv={class:"title"},jv={class:"desc"},qv={class:"network-message"},Uv=["innerHTML"],Rv=["onSubmit"],Wv={class:"label-key"},Hv=["placeholder","disabled"],Zv={class:"label-key"},Jv=["placeholder","disabled"],Kv={key:0,class:"chose_dhcp"},Qv={class:"dhcp_info"},Xv={key:1,class:"msg"},tg={class:"btns"},eg=["disabled"],ag=["onClick"],og={key:1,id:"page"},ng={class:"title"},ig={class:"btns"},rg=["onClick"],sg=["onClick"],dg=U({setup(o){const{$gettext:i,$ngettext:a}=H(),u=Ye().query.type,s=i("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+i("\u94FE\u63A5")+""},!0),c=E(0),_=E({}),g=E(""),p=E(!1),f=E(0),m=E(!1);(()=>L(this,null,function*(){var x,w;p.value=!0;try{const v=yield Promise.all([O.Guide.Pppoe.GET(),O.Guide.GetLan.GET()]);if(v[0].data){const{success:b,error:y,result:F}=v[0].data;F&&(F.enableLanDhcp=!1,_.value=F),b==-1011&&(p.value=!0,f.value=b)}(x=v[1].data)!=null&&x.result&&(((w=v[1].data)==null?void 0:w.result).enableDhcp||(m.value=!0,_.value.enableLanDhcp=!0))}catch(v){g.value=v}f.value==0&&(p.value=!1)}))();const k=()=>L(this,null,function*(){const x=_.value.account||"",w=_.value.password||"";if(x==""){g.value=i("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(w==""){g.value=i("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}p.value=!0;const v=C.Loading(i("\u914D\u7F6E\u4E2D..."));try{const b=yield O.Guide.Pppoe.POST({account:x,password:w});if(b!=null&&b.data){const{error:y,success:F}=b.data;y&&(g.value=y),(F==null||F==0)&&(C.Success(i("\u914D\u7F6E\u6210\u529F")),c.value=1)}}catch(b){g.value=b}p.value=!1,v.Close()});return(x,w)=>{const v=ut("switch-box"),b=ut("router-link");return c.value==0?(r(),l("div",Vv,[t("h2",Gv,n(e(i)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",jv,n(e(i)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",qv,[f.value==-1011?(r(),l("li",{key:0,innerHTML:e(s)},null,8,Uv)):D("",!0)]),t("form",{onSubmit:mt(k,["prevent"])},[t("label",null,[t("div",Wv,[t("span",null,n(e(i)("\u5BBD\u5E26\u8D26\u53F7")),1)]),T(t("input",{type:"text","onUpdate:modelValue":w[0]||(w[0]=y=>_.value.account=y),placeholder:e(i)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:p.value},null,8,Hv),[[ot,_.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",Zv,[t("span",null,n(e(i)("\u5BC6\u7801")),1)]),T(t("input",{type:"password","onUpdate:modelValue":w[1]||(w[1]=y=>_.value.password=y),placeholder:e(i)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:p.value},null,8,Jv),[[ot,_.value.password,void 0,{trim:!0}]])]),m.value?(r(),l("div",Kv,[z(v,{modelValue:_.value.enableLanDhcp,"onUpdate:modelValue":w[2]||(w[2]=y=>_.value.enableLanDhcp=y)},{default:R(()=>[t("span",Qv,n(e(i)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),g.value?(r(),l("div",Xv,n(g.value),1)):D("",!0),t("div",tg,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},n(e(i)("\u4FDD\u5B58\u914D\u7F6E")),9,eg),z(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(i)("\u8FD4\u56DE")),9,ag)]),_:1},8,["to"])])],40,Rv)])):c.value==1?(r(),l("div",og,[t("h2",ng,n(e(i)("\u914D\u7F6E\u6210\u529F")),1),t("div",ig,[z(b,{to:"/",custom:""},{default:R(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},n(e(i)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,rg)]),_:1}),z(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(i)("\u8FD4\u56DE")),9,sg)]),_:1},8,["to"])])])):D("",!0)}}});var lg=M(dg,[["__scopeId","data-v-f442676c"]]);const ug={key:0,id:"page"},cg={class:"title"},pg={class:"desc"},fg={class:"network-message"},mg=["innerHTML"],vg=["onSubmit"],gg={class:"label-key"},bg={value:"dhcp"},hg={value:"static"},_g={class:"label-key"},xg=["placeholder","disabled"],kg={key:0,class:"msg"},wg={class:"label-key"},yg=["placeholder","disabled"],Fg={key:1,class:"msg"},Eg={class:"label-key"},Cg=["placeholder","disabled"],$g={class:"label-key"},Dg=["disabled"],Bg={value:"manual"},Yg={class:"label-key"},Ag=["onUpdate:modelValue","placeholder","disabled"],Sg={class:"label-key"},zg=["placeholder","disabled"],Pg={class:"label-key"},Tg=["placeholder","disabled"],Ig={key:2,class:"chose_dhcp"},Lg={class:"dhcp_info"},Mg={key:3,class:"msgs"},Ng={class:"btns"},Og=["disabled"],Vg=["onClick"],Gg={key:1,id:"page"},jg={class:"title"},qg={class:"btns"},Ug=["onClick"],Rg=["onClick"],Wg=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=i("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+i("\u94FE\u63A5")+""},!0),u=E(0),s=E({}),c=E(""),_=E(""),g=E(""),p=E(!1),f=E(""),m=E(""),h=E(0),k=Pt.checkIsIP,x=E(!1),v=Ye().query.type;(()=>L(this,null,function*(){var B,$;p.value=!0;try{const S=yield Promise.all([O.Guide.ClientModel.GET(),O.Guide.GetLan.GET()]);if(S[0]){const V=S[0];if(V.data){const{success:N,error:P,result:I}=V.data;I&&(I.wanProto!="dhcp"&&I.wanProto!="static"&&(I.wanProto="dhcp",I.dnsProto="auto"),I.enableLanDhcp=!1,s.value=I),N==-1011&&(h.value=N,p.value=!0)}}(B=S[1].data)!=null&&B.result&&((($=S[1].data)==null?void 0:$.result).enableDhcp||(x.value=!0,s.value.enableLanDhcp=!0))}catch(S){c.value=S}h.value==0&&(p.value=!1)}))();const y=B=>{B.target.value=="static"?((s.value.staticIp==null||s.value.staticIp=="")&&(s.value.staticIp="192.168.1.100"),(s.value.subnetMask==null||s.value.subnetMask=="")&&(s.value.subnetMask="255.255.255.0"),s.value.dnsProto=="auto"&&setTimeout(()=>s.value.dnsProto="manual",0)):s.value.dnsProto=="manual"&&setTimeout(()=>s.value.dnsProto="auto",0)},F=B=>{const $=B.target;if($.value==""){f.value="";return}k($.value)?f.value="":f.value=i("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},Y=B=>{const $=B.target;if($.value==""){m.value="";return}k($.value)?m.value="":m.value=i("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},A=()=>L(this,null,function*(){const B={};switch(s.value.wanProto){case"dhcp":break;case"static":B.staticIp=s.value.staticIp,B.subnetMask=s.value.subnetMask,B.gateway=s.value.gateway||"";break}switch(s.value.dnsProto){case"auto":break;case"manual":B.manualDnsIp=[],s.value.manualDnsIp!=null&&s.value.manualDnsIp.length>0?B.manualDnsIp=s.value.manualDnsIp:(B.manualDnsIp.push(_.value),g.value&&B.manualDnsIp.push(g.value));break}B.dnsProto=s.value.dnsProto,B.wanProto=s.value.wanProto,B.enableLanDhcp=s.value.enableLanDhcp;const $=C.Loading(i("\u914D\u7F6E\u4E2D...."));p.value=!0;try{const S=yield O.Guide.ClientModel.POST(B);if(S!=null&&S.data){const{success:V,error:N}=S==null?void 0:S.data;N&&(c.value=N),(V==null||V==0)&&(C.Success(i("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(S){c.value=S}p.value=!1,$.Close()});return(B,$)=>{const S=ut("switch-box"),V=ut("router-link");return u.value==0?(r(),l("div",ug,[t("h2",cg,n(e(i)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",pg,n(e(i)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",fg,[h.value==-1011?(r(),l("li",{key:0,innerHTML:e(d)},null,8,mg)):D("",!0)]),t("form",{onSubmit:mt(A,["prevent"])},[t("label",null,[t("div",gg,[t("span",null,n(e(i)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),T(t("select",{"onUpdate:modelValue":$[0]||($[0]=N=>s.value.wanProto=N),onInput:y},[t("option",bg,n(e(i)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",hg,n(e(i)("\u9759\u6001IP\u5730\u5740")),1)],544),[[dt,s.value.wanProto]])]),s.value.wanProto=="static"?(r(),l(G,{key:0},[t("label",null,[t("div",_g,[t("span",null,n(e(i)("IP\u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[1]||($[1]=N=>s.value.staticIp=N),placeholder:e(i)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:p.value,onInput:F},null,40,xg),[[ot,s.value.staticIp,void 0,{trim:!0}]])]),f.value?(r(),l("p",kg,n(f.value),1)):D("",!0),t("label",null,[t("div",wg,[t("span",null,n(e(i)("\u5B50\u7F51\u63A9\u7801")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[2]||($[2]=N=>s.value.subnetMask=N),placeholder:e(i)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:p.value,onInput:Y},null,40,yg),[[ot,s.value.subnetMask,void 0,{trim:!0}]])]),m.value?(r(),l("p",Fg,n(m.value),1)):D("",!0),t("label",null,[t("div",Eg,[t("span",null,n(e(i)("\u7F51\u5173\u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[3]||($[3]=N=>s.value.gateway=N),placeholder:e(i)("\u7F51\u5173\u5730\u5740"),required:"",disabled:p.value},null,8,Cg),[[ot,s.value.gateway,void 0,{trim:!0}]])])],64)):D("",!0),t("label",null,[t("div",$g,[t("span",null,n(e(i)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),T(t("select",{"onUpdate:modelValue":$[4]||($[4]=N=>s.value.dnsProto=N)},[t("option",{value:"auto",disabled:s.value.wanProto=="static"},n(e(i)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,Dg),t("option",Bg,n(e(i)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[dt,s.value.dnsProto]])]),s.value.dnsProto=="manual"?(r(),l(G,{key:1},[s.value.manualDnsIp!=null&&s.value.manualDnsIp.length>0?(r(!0),l(G,{key:0},et(s.value.manualDnsIp,(N,P)=>(r(),l("label",null,[t("div",Yg,[t("span",null,n(e(i)("DNS\u670D\u52A1\u5668")),1)]),T(t("input",{type:"text","onUpdate:modelValue":I=>s.value.manualDnsIp[P]=I,placeholder:e(i)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,Ag),[[ot,s.value.manualDnsIp[P],void 0,{trim:!0}]])]))),256)):(r(),l(G,{key:1},[t("label",null,[t("div",Sg,[t("span",null,n(e(i)("DNS\u670D\u52A1\u5668")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[5]||($[5]=N=>_.value=N),placeholder:e(i)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,zg),[[ot,_.value,void 0,{trim:!0}]])]),t("label",null,[t("div",Pg,n(e(i)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),T(t("input",{type:"text","onUpdate:modelValue":$[6]||($[6]=N=>g.value=N),placeholder:e(i)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:p.value},null,8,Tg),[[ot,g.value,void 0,{trim:!0}]])])],64))],64)):D("",!0),x.value?(r(),l("div",Ig,[z(S,{modelValue:s.value.enableLanDhcp,"onUpdate:modelValue":$[7]||($[7]=N=>s.value.enableLanDhcp=N)},{default:R(()=>[t("span",Lg,n(e(i)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),c.value?(r(),l("div",Mg,n(c.value),1)):D("",!0),t("div",Ng,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},n(e(i)("\u4FDD\u5B58\u914D\u7F6E")),9,Og),z(V,{to:e(v)=="index"?"/":"/network",custom:""},{default:R(({navigate:N})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:N},n(e(i)("\u8FD4\u56DE")),9,Vg)]),_:1},8,["to"])])],40,vg)])):u.value==1?(r(),l("div",Gg,[t("h2",jg,n(e(i)("\u914D\u7F6E\u6210\u529F")),1),t("div",qg,[z(V,{to:"/",custom:""},{default:R(({navigate:N})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:N},n(e(i)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,Ug)]),_:1}),z(V,{to:e(v)=="index"?"/":"/network",custom:""},{default:R(({navigate:N})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:N},n(e(i)("\u8FD4\u56DE")),9,Rg)]),_:1},8,["to"])])])):D("",!0)}}});var Hg=M(Wg,[["__scopeId","data-v-162eca5f"]]);const Zg=o=>(rt("data-v-2dee59a8"),o=o(),st(),o),Jg={key:0,id:"page"},Kg={class:"title"},Qg=Zg(()=>t("br",null,null,-1)),Xg={class:"btns"},tb=["onClick"],eb={key:1,id:"page"},ab={class:"title"},ob={class:"desc"},nb=["onSubmit"],ib={class:"label-key"},rb={class:"label-value"},sb={class:"label-key"},db=["placeholder"],lb={class:"label-key"},ub=["placeholder"],cb={class:"label-key"},pb=["placeholder"],fb={class:"label-key"},mb=["placeholder"],vb={key:0,class:"msgs"},gb={class:"switch_inline"},bb={key:0,class:"switch_info"},hb={key:1,class:"switch_info"},_b={class:"switch_inline"},xb={class:"switch_info"},kb={class:"switch_inline"},wb={class:"switch_info"},yb={class:"btns"},Fb={class:"cbi-button cbi-button-apply app-btn app-next"},Eb=["onClick"],Cb={key:2,id:"page"},$b={class:"title"},Db={class:"desc"},Bb={class:"btns"},Yb={key:3,id:"page"},Ab={class:"title"},Sb=["disabled"],zb={style:{"text-align":"left"}},Pb={class:"btns"},Tb=["disabled"],Ib=["onClick"],Lb=U({setup(o){const{$gettext:i,$ngettext:a}=H(),u=Ye().query.type,s=E(0),c=E(""),_=E(!1),g=tt(()=>{var w,v,b;return!(((w=f.value)==null?void 0:w.ipv4addr)&&((v=f.value)==null?void 0:v.ipv4mask)&&((b=f.value)==null?void 0:b.gateway))}),p=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),f=E(),m=()=>{_.value=!0,O.Network.Status.GET().then(w=>{if(w!=null&&w.data){const{result:v}=w==null?void 0:w.data;v&&(f.value=v)}}).finally(()=>{_.value=!1})},h=w=>{var v,b,y,F,Y;w&&(p.value.staticLanIp=((v=f.value)==null?void 0:v.ipv4addr)||"",p.value.subnetMask=((b=f.value)==null?void 0:b.ipv4mask)&&Mt.prefixToMask(f.value.ipv4mask)||"",p.value.gateway=((y=f.value)==null?void 0:y.gateway)||"",p.value.staticDnsIp=((F=f.value)==null?void 0:F.dnsList)&&((Y=f.value)==null?void 0:Y.dnsList[0])||"223.5.5.5"),s.value=1},k=w=>{window.location.href=location.protocol+"//"+p.value.staticLanIp+(location.port?":"+location.port:"")},x=()=>L(this,null,function*(){const w=p.value,v=C.Loading(i("\u914D\u7F6E\u4E2D..."));try{const b=yield O.Guide.GatewayRouter.POST(w);if(b!=null&&b.data){const{success:y,error:F}=b==null?void 0:b.data;if(F&&(c.value=F),y==null||y==0){setTimeout(()=>{s.value=2,v.Close()},5e3);return}}}catch(b){c.value=b}v.Close()});return(w,v)=>{var F,Y,A,B;const b=ut("router-link"),y=ut("switch-box");return s.value==0?(r(),l("div",Jg,[t("h2",Kg,n(e(i)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[it(n(e(i)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,n(e(i)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),Qg,t("p",null,n(e(i)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,n(e(i)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,n(e(i)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",Xg,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:v[0]||(v[0]=$=>s.value=3)},n(e(i)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:v[1]||(v[1]=$=>h(!1))},n(e(i)("\u624B\u52A8\u914D\u7F6E...")),1),z(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},n(e(i)("\u8FD4\u56DE")),9,tb)]),_:1},8,["to"])])])):s.value==1?(r(),l("div",eb,[t("h2",ab,n(e(i)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",ob,n(e(i)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:mt(x,["prevent"])},[t("label",null,[t("div",ib,[t("span",null,n(e(i)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",rb,[t("select",{disabled:"",style:Bt({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,n(e(i)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",sb,[t("span",null,n(e(i)("IP \u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":v[2]||(v[2]=$=>p.value.staticLanIp=$),placeholder:e(i)("IP\u5730\u5740"),required:""},null,8,db),[[ot,p.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",lb,[t("span",null,n(e(i)("\u5B50\u7F51\u63A9\u7801")),1)]),T(t("input",{type:"text","onUpdate:modelValue":v[3]||(v[3]=$=>p.value.subnetMask=$),placeholder:e(i)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,ub),[[ot,p.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",cb,[t("span",null,n(e(i)("\u7F51\u5173\u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":v[4]||(v[4]=$=>p.value.gateway=$),placeholder:e(i)("\u7F51\u5173\u5730\u5740"),required:""},null,8,pb),[[ot,p.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",fb,[t("span",null,n(e(i)("DNS\u670D\u52A1\u5668")),1)]),T(t("input",{type:"text","onUpdate:modelValue":v[5]||(v[5]=$=>p.value.staticDnsIp=$),placeholder:e(i)("223.5.5.5"),required:""},null,8,mb),[[ot,p.value.staticDnsIp,void 0,{trim:!0}]])]),c.value?(r(),l("div",vb,n(c.value),1)):D("",!0),t("div",gb,[z(y,{modelValue:p.value.enableDhcp,"onUpdate:modelValue":v[6]||(v[6]=$=>p.value.enableDhcp=$)},{default:R(()=>[p.value.enableDhcp?(r(),l("span",bb,n(e(i)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(r(),l("span",hb,n(e(i)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",_b,[z(y,{modelValue:p.value.dhcp6c,"onUpdate:modelValue":v[7]||(v[7]=$=>p.value.dhcp6c=$)},{default:R(()=>[t("span",xb,n(e(i)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",kb,[z(y,{modelValue:p.value.enableNat,"onUpdate:modelValue":v[8]||(v[8]=$=>p.value.enableNat=$)},{default:R(()=>[t("span",wb,n(e(i)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",yb,[t("button",Fb,n(e(i)("\u4FDD\u5B58\u914D\u7F6E")),1),z(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},n(e(i)("\u8FD4\u56DE")),9,Eb)]),_:1},8,["to"])])],40,nb)])):s.value==2?(r(),l("div",Cb,[t("h2",$b,n(e(i)("\u914D\u7F6E\u6210\u529F")),1),t("h3",Db,n(e(i)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",Bb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k},n(e(i)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):s.value==3?(r(),l("div",Yb,[t("h2",Ab,n(e(i)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,n(e(i)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),it(" "+n(e(i)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:pt(["cbi-button cbi-button-neutral",e(g)?"cbi-button-neutral":"cbi-button-success"]),disabled:_.value,onClick:m},[it(n(e(i)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",zb,[t("ul",null,[t("li",null,n(e(i)("IP \u5730\u5740: "))+n((F=f.value)==null?void 0:F.ipv4addr),1),t("li",null,n(e(i)("\u5B50\u7F51\u63A9\u7801: "))+n(((Y=f.value)==null?void 0:Y.ipv4mask)&&e(Mt).prefixToMask(f.value.ipv4mask)),1),t("li",null,n(e(i)("\u7F51\u5173\u5730\u5740: "))+n((A=f.value)==null?void 0:A.gateway),1),t("li",null,n(e(i)("DNS\u670D\u52A1\u5668: "))+n(((B=f.value)==null?void 0:B.dnsList)&&f.value.dnsList[0]||(e(g)?"":e(i)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,Sb),it(" "+n(e(i)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",Pb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(g),onClick:v[9]||(v[9]=$=>h(!0))},n(e(i)("\u81EA\u52A8\u586B\u5199..."))+n(e(g)?e(i)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,Tb),z(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},n(e(i)("\u8FD4\u56DE")),9,Ib)]),_:1},8,["to"])])])):D("",!0)}}});var Mb=M(Lb,[["__scopeId","data-v-2dee59a8"]]);const Nb={class:"actioner-container"},Ob={class:"actioner-container_header"},Vb={class:"actioner-container_body"},Gb={class:"label-item"},jb={class:"label-item_key"},qb={class:"label-item_value"},Ub=["value"],Rb={class:"label-item_tips"},Wb={class:"label-item"},Hb={class:"label-item_key"},Zb={key:0,class:"label-item_value"},Jb={class:"msg-warning"},Kb={key:1,class:"label-item_value"},Qb=["value"],Xb={key:1,class:"msg-warning"},th={class:"label-item_tips"},eh={class:"actioner-container_footer"},ah=["disabled"],oh=["disabled"],nh={key:1,class:"actioner-container_body setup-loading"},ih={class:"actioner-container_body setup-error"},rh={class:"actioner-container_footer"},sh=["disabled"],dh={class:"actioner-container_body setup-success"},lh={class:"body-title"},uh={class:"actioner-container_footer"},ch=U({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=E("init"),_=E(""),g=[{name:"jbod",title:a("JBOD (\u7EBF\u6027)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid0",title:a("RAID 0 (\u6761\u5E26)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid1",title:a("RAID 1 (\u955C\u50CF)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid5",title:"RAID 5 ",info:a("\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002"),select:3},{name:"raid6",title:"RAID 6 ",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002"),select:4},{name:"raid10",title:"RAID 10",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002"),select:4}],p=E("raid5"),f=E([]),m=b=>{let y="";return g.forEach(F=>{F.name===b&&(y=F.info)}),y},h=E(!1),k=gt({loading:!1,members:[]}),x=b=>{};(()=>L(this,null,function*(){k.loading=!0;try{const b=yield O.Raid.CreateList.GET();if(b!=null&&b.data){const{success:y,error:F,result:Y}=b.data;if(Y&&(k.members=Y.members||[]),F)throw F}}catch(b){console.log(b)}finally{k.loading=!1}}))();const v=()=>L(this,null,function*(){const b=g.filter(F=>F.name===p.value)[0],y=f.value;if(!b){C.Warning(a("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(y.length==0){C.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(b.select>y.length){C.Warning(a("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+b.select}));return}if(!!confirm(a("\u662F\u5426\u7ACB\u5373\u521B\u5EFA %{name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",{name:b.name}))&&!!confirm(a("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:b.name}))){h.value=!0,c.value="loading";try{const F=yield O.Raid.Create.POST({level:b.name,devicePaths:y});if(F.data){const{success:Y,error:A,result:B}=F.data;if(A)throw A;(Y||0)==0&&(c.value="success",s())}}catch(F){_.value=F,c.value="error"}finally{h.value=!1}}});return(b,y)=>{const F=ut("icon-loading"),Y=ut("icon-error"),A=ut("icon-success");return r(),l("div",Nb,[t("div",Ob,[t("span",null,n(e(a)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),c.value=="init"?(r(),l(G,{key:0},[t("div",Vb,[t("p",null,n(e(a)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",Gb,[t("div",jb,[t("span",null,n(e(a)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",qb,[T(t("select",{"onUpdate:modelValue":y[0]||(y[0]=B=>p.value=B),onChange:x},[(r(),l(G,null,et(g,B=>t("option",{value:B.name},n(B.title),9,Ub)),64))],544),[[dt,p.value]])]),t("div",Rb,[z(Tt),it(" "+n(m(p.value)),1)])]),t("div",Wb,[t("div",Hb,[t("span",null,n(e(a)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(k).loading?(r(),l("div",Zb,[t("span",Jb,n(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),l("div",Kb,[e(k).members.length>0?(r(!0),l(G,{key:0},et(e(k).members,B=>(r(),l("label",null,[T(t("input",{type:"checkbox","onUpdate:modelValue":y[1]||(y[1]=$=>f.value=$),value:B.path},null,8,Qb),[[Rt,f.value]]),it(" \u3010"+n(B.model)+"\u3011"+n(B.name)+" "+n(B.path)+" ["+n(B.sizeStr)+"] ",1)]))),256)):(r(),l("span",Xb,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",th,[z(Tt),it(" "+n(e(a)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",eh,[t("div",{class:"close",onClick:u,disabled:h.value},n(e(a)("\u53D6\u6D88")),9,ah),t("div",{class:"next",onClick:v,disabled:h.value},n(e(a)("\u521B\u5EFA")),9,oh)])],64)):c.value=="loading"?(r(),l("div",nh,[z(F,{size:60,color:"#666"}),t("span",null,n(e(a)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):c.value=="error"?(r(),l(G,{key:2},[t("div",ih,[z(Y),t("span",null,n(_.value),1)]),t("div",rh,[t("div",{class:"close",onClick:u},n(e(a)("\u5173\u95ED")),1),t("div",{class:"next",onClick:v,disabled:h.value},n(e(a)("\u91CD\u65B0\u521B\u5EFA")),9,sh)])],64)):c.value=="success"?(r(),l(G,{key:3},[t("div",dh,[z(A),t("div",lh,n(e(a)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",uh,[t("div",{class:"close",onClick:u},n(e(a)("\u5173\u95ED")),1)])],64)):D("",!0)])}}});var ph=M(ch,[["__scopeId","data-v-77451104"]]);const fh={class:"actioner-container"},mh={class:"actioner-container_body"},vh=["value"],gh={class:"actioner-container_footer"},bh=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=E("");return(()=>{O.Raid.Detail.POST({path:i.raid.path}).then(_=>{if(_.data){const{result:g,error:p}=_.data;p?s.value=p:s.value=(g==null?void 0:g.detail)||""}}).catch(_=>{s.value=_.message})})(),(_,g)=>(r(),l("div",fh,[t("div",mh,[t("textarea",{value:s.value},null,8,vh)]),t("div",gh,[t("div",{class:"close",onClick:u},n(e(a)("\u5173\u95ED")),1)])]))}});var hh=M(bh,[["__scopeId","data-v-5ec616d8"]]);const _h={class:"actioner-container"},xh={class:"actioner-container_header"},kh={class:"actioner-container_body"},wh={class:"label-item"},yh={class:"label-item_key"},Fh={class:"label-item_value"},Eh={disabled:""},Ch={class:"label-item"},$h={class:"label-item_key"},Dh={key:0,class:"label-item_value"},Bh={class:"msg-warning"},Yh={key:1,class:"label-item_value"},Ah=["value"],Sh={key:1,class:"msg-warning"},zh={class:"actioner-container_footer"},Ph=["disabled"],Th=["disabled"],Ih=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=()=>L(this,null,function*(){const m=p.value;if(m==""){C.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const h=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield O.Raid.Add.POST({path:i.raid.path,memberPath:m});if(k.data){const{error:x,success:w}=k.data;if(x)throw x;(w||0)==0&&(C.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(k){C.Error(`${k}`)}finally{g.value=!1,h.Close()}}),_=gt({loading:!1,members:[]}),g=E(!1),p=E("");return(()=>L(this,null,function*(){_.loading=!0,g.value=!0;try{const m=yield O.Raid.CreateList.GET();if(m!=null&&m.data){const{success:h,error:k,result:x}=m.data;if(x&&(_.members=x.members||[]),k)throw k}}catch(m){console.log(m)}finally{g.value=!1,_.loading=!1}}))(),(m,h)=>(r(),l("div",_h,[t("div",xh,[t("span",null,"RAID - "+n(o.raid.name)+" "+n(e(a)("\u4FEE\u6539")),1)]),t("div",kh,[t("div",wh,[t("div",yh,n(e(a)("\u8BBE\u5907")),1),t("div",Fh,[t("select",Eh,[t("option",null,n(o.raid.name)+"_"+n(o.raid.venderModel)+" ("+n(o.raid.path)+"\uFF0C"+n(o.raid.level)+"\uFF0C"+n(o.raid.size)+") ",1)])])]),t("div",Ch,[t("div",$h,n(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(_).loading?(r(),l("div",Dh,[t("span",Bh,n(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),l("div",Yh,[e(_).members.length>0?(r(!0),l(G,{key:0},et(e(_).members,k=>(r(),l("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":h[0]||(h[0]=x=>p.value=x),value:k.path},null,8,Ah),[[Et,p.value]]),it(" \u3010"+n(k.model)+"\u3011"+n(k.name)+" "+n(k.path)+" ["+n(k.sizeStr)+"] ",1)]))),256)):(r(),l("span",Sh,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",zh,[t("div",{class:"close",onClick:u,disabled:g.value},n(e(a)("\u53D6\u6D88")),9,Ph),t("div",{class:"next",onClick:c,disabled:g.value},n(e(a)("\u4FDD\u5B58")),9,Th)])]))}});var Lh=M(Ih,[["__scopeId","data-v-70cb932e"]]);const Mh={class:"actioner-container"},Nh={class:"actioner-container_header"},Oh={class:"actioner-container_body"},Vh={class:"label-item"},Gh={class:"label-item_key"},jh={class:"label-item_value"},qh={disabled:""},Uh={class:"label-item"},Rh={class:"label-item_key"},Wh={class:"label-item_value"},Hh=["value"],Zh={class:"actioner-container_footer"},Jh=["disabled"],Kh=["disabled"],Qh=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=()=>L(this,null,function*(){const p=g.value;if(p==""){C.Warning(a("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}_.value=!0;const f=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const m=yield O.Raid.Remove.POST({path:i.raid.path,memberPath:p});if(m.data){const{error:h,success:k}=m.data;if(h)throw h;(k||0)==0&&(C.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(m){C.Error(`${m}`)}finally{_.value=!1,f.Close()}}),_=E(!1),g=E("");return(p,f)=>(r(),l("div",Mh,[t("div",Nh,[t("span",null,"RAID - "+n(o.raid.name)+" "+n(e(a)("\u79FB\u9664")),1)]),t("div",Oh,[t("div",Vh,[t("div",Gh,n(e(a)("\u8BBE\u5907")),1),t("div",jh,[t("select",qh,[t("option",null,n(o.raid.name)+"_"+n(o.raid.venderModel)+" ("+n(o.raid.path)+"\uFF0C"+n(o.raid.level)+"\uFF0C"+n(o.raid.size)+") ",1)])])]),t("div",Uh,[t("div",Rh,n(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",Wh,[(r(!0),l(G,null,et(o.raid.members,m=>(r(),l("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=h=>g.value=h),value:m},null,8,Hh),[[Et,g.value]]),it(" "+n(m),1)]))),256))])])]),t("div",Zh,[t("div",{class:"close",onClick:u,disabled:_.value},n(e(a)("\u53D6\u6D88")),9,Jh),t("div",{class:"next",onClick:c,disabled:_.value},n(e(a)("\u4FDD\u5B58")),9,Kh)])]))}});var Xh=M(Qh,[["__scopeId","data-v-56c0f6fb"]]);const t_={class:"actioner-container"},e_={class:"actioner-container_header"},a_={class:"actioner-container_body"},o_={class:"label-item"},n_={class:"label-item_key"},i_={class:"label-item_value"},r_={disabled:""},s_={class:"label-item"},d_={class:"label-item_key"},l_={key:0,class:"label-item_value"},u_={class:"msg-warning"},c_={key:1,class:"label-item_value"},p_=["value"],f_={key:1,class:"msg-warning"},m_={class:"actioner-container_footer"},v_=["disabled"],g_=["disabled"],b_=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=()=>L(this,null,function*(){const m=p.value;if(m==""){C.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const h=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield O.Raid.Recover.POST({path:i.raid.path,memberPath:m});if(k.data){const{error:x,success:w}=k.data;if(x)throw x;(w||0)==0&&(C.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(k){C.Error(`${k}`)}finally{g.value=!1,h.Close()}}),_=gt({loading:!1,members:[]}),g=E(!1),p=E("");return(()=>L(this,null,function*(){_.loading=!0,g.value=!0;try{const m=yield O.Raid.CreateList.GET();if(m!=null&&m.data){const{success:h,error:k,result:x}=m.data;if(x&&(_.members=x.members||[]),k)throw k}}catch(m){console.log(m)}finally{g.value=!1,_.loading=!1}}))(),(m,h)=>(r(),l("div",t_,[t("div",e_,[t("span",null,"RAID - "+n(o.raid.name)+" "+n(e(a)("\u6062\u590D")),1)]),t("div",a_,[t("div",o_,[t("div",n_,n(e(a)("\u8BBE\u5907")),1),t("div",i_,[t("select",r_,[t("option",null,n(o.raid.name)+"_"+n(o.raid.venderModel)+" ("+n(o.raid.path)+"\uFF0C"+n(o.raid.level)+"\uFF0C"+n(o.raid.size)+") ",1)])])]),t("div",s_,[t("div",d_,n(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(_).loading?(r(),l("div",l_,[t("span",u_,n(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),l("div",c_,[e(_).members.length>0?(r(!0),l(G,{key:0},et(e(_).members,k=>(r(),l("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":h[0]||(h[0]=x=>p.value=x),value:k.path},null,8,p_),[[Et,p.value]]),it(" \u3010"+n(k.model)+"\u3011"+n(k.name)+" "+n(k.path)+" ["+n(k.sizeStr)+"] ",1)]))),256)):(r(),l("span",f_,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",m_,[t("div",{class:"close",onClick:u,disabled:g.value},n(e(a)("\u53D6\u6D88")),9,v_),t("div",{class:"next",onClick:c,disabled:g.value},n(e(a)("\u4FDD\u5B58")),9,g_)])]))}});var h_=M(b_,[["__scopeId","data-v-0586260e"]]);const __={class:"action-main"},x_=U({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(i,a)=>(r(),K(_t,{type:2},{default:R(()=>[t("div",__,[o.setup=="create"?(r(),K(ph,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(r(),K(hh,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(r(),K(Lh,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(r(),K(Xh,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(r(),K(h_,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):D("",!0)])]),_:1}))}});var k_=M(x_,[["__scopeId","data-v-e20ba082"]]);const ge=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(k_,vt(lt({},o),{Close:()=>{d()}}));a.use(Fa),a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},Pa=o=>(rt("data-v-f1411b40"),o=o(),st(),o),w_={id:"page"},y_={name:"content"},F_={class:"cbi-map-descr"},E_={style:{color:"#f5365b","margin-top":"10px"}},C_={style:{color:"#f5365b","margin-top":"10px"}},$_={class:"btns"},D_=["disabled"],B_={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Y_={class:"table cbi-section-table"},A_={style:{}},S_={class:"tr cbi-section-table-titles anonymous"},z_={class:"th cbi-section-table-cell","data-widget":"value"},P_={class:"th cbi-section-table-cell","data-widget":"value"},T_={class:"th cbi-section-table-cell","data-widget":"value"},I_={class:"th cbi-section-table-cell","data-widget":"value"},L_={class:"th cbi-section-table-cell","data-widget":"value"},M_={class:"th cbi-section-table-cell","data-widget":"value"},N_={class:"th cbi-section-table-cell","data-widget":"value"},O_={class:"th cbi-section-table-cell","data-widget":"value"},V_={class:"tr cbi-section-table-row"},G_={class:"td cbi-value-field"},j_={class:"td cbi-value-field"},q_=["title"],U_={class:"item-status"},R_={key:0,class:"item-status item-status-detail"},W_={class:"td cbi-value-field"},H_={class:"td cbi-value-field"},Z_={class:"td cbi-value-field"},J_=Pa(()=>t("br",null,null,-1)),K_={class:"td cbi-value-field"},Q_=Pa(()=>t("br",null,null,-1)),X_={key:1,href:"/cgi-bin/luci/admin/quickstart/"},tx={class:"td cbi-section-table-cell nowrap cbi-section-actions"},ex=["title","disabled","onClick"],ax=["title","disabled","onClick"],ox=["title","onClick"],nx=["title","onClick"],ix=["title","onClick"],rx=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=gt({disksList:[]}),u=()=>L(this,null,function*(){try{const v=yield O.Raid.List.GET();if(v!=null&&v.data){const{success:b,error:y,result:F}=v.data;if(F&&(d.disksList=F.disks||[]),y)throw y}}catch(v){console.log(v)}}),s=Pt.easyInterval(u,5e3);qe(()=>{s()});const c=v=>{switch(v.level){case"raid0":case"jbod":return!0}return v.status.indexOf("degraded")!=-1||v.status.indexOf("resyncing(")!=-1},_=v=>{let b=[];return v.childrens&&v.childrens.forEach(y=>{y.mountPoint&&b.push(`${y.name}(${y.mountPoint})`)}),b},g=()=>L(this,null,function*(){ge({setup:"create",success:()=>{u()}})}),p=v=>{ge({setup:"info",raid:v})},f=v=>L(this,null,function*(){if(v.childrens&&v.childrens.length>0&&v.childrens.filter(F=>F.mountPoint).length>0){Be({content:i("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:i("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:i("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(i("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:v.name}))||!confirm(i("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:v.name})))return;const b=C.Loading(i("\u5220\u9664\u4E2D..."));try{const y=yield O.Raid.Delete.POST({path:v.path,members:v.members});if(y.data){const{success:F,error:Y}=y.data;if(Y)throw Y;(F||0)==0&&(C.Success(i("\u5220\u9664\u6210\u529F")),u())}}catch(y){C.Error(`${y}`)}finally{b.Close()}}),m=v=>{ge({setup:"edit",raid:v,success:()=>{u()}})},h=v=>{ge({setup:"remove",raid:v,success:()=>{u()}})},k=v=>{ge({setup:"recover",raid:v,success:()=>{u()}})},x=E(!1),w=()=>{Be({content:i("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:i("\u786E\u5B9A"),next:()=>L(this,null,function*(){x.value=!0;const v=C.Loading(i("\u626B\u63CF\u4E2D..."));try{const b=yield O.Raid.Autofix.GET();if(b.data){const{error:y,success:F}=b.data;if(y)throw y;(F||0)==0&&(C.Success(i("\u6062\u590D\u5B8C\u6210")),u())}}catch(b){C.Error(`${b}`)}finally{v.Close(),x.value=!1}}),clearTitle:i("\u53D6\u6D88"),clear:()=>{}})};return(v,b)=>(r(),l("div",w_,[t("h2",y_,n(e(i)("RAID\u7BA1\u7406")),1),t("div",F_,[t("p",null,n(e(i)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",E_," * "+n(e(i)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",C_," * "+n(e(i)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",$_,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:b[0]||(b[0]=y=>g())},n(e(i)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:b[1]||(b[1]=y=>w()),disabled:x.value},n(e(i)("\u626B\u63CF\u6062\u590DRAID")),9,D_)]),t("div",null,[t("div",B_,[t("table",Y_,[t("tbody",A_,[t("tr",S_,[t("th",z_,n(e(i)("\u540D\u79F0")),1),t("th",P_,n(e(i)("\u8BBE\u5907")),1),t("th",T_,n(e(i)("\u72B6\u6001")),1),t("th",I_,n(e(i)("\u7EA7\u522B")),1),t("th",L_,n(e(i)("\u5BB9\u91CF")),1),t("th",M_,n(e(i)("\u6210\u5458")),1),t("th",N_,n(e(i)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",O_,n(e(i)("\u64CD\u4F5C")),1)]),(r(!0),l(G,null,et(e(d).disksList,y=>(r(),l("tr",V_,[t("td",G_,[t("b",null,n(y.name),1)]),t("td",j_,[t("b",null,n(y.path),1)]),t("td",{class:"td cbi-value-field",title:y.status+(y.rebuildStatus||"")},[t("b",U_,n(y.status),1),y.rebuildStatus?(r(),l("b",R_," \u2026 ")):D("",!0)],8,q_),t("td",W_,[t("b",null,n(y.level),1)]),t("td",H_,[t("b",null,n(y.size),1)]),t("td",Z_,[(r(!0),l(G,null,et(y.members,F=>(r(),l("b",null,[it(n(F)+" ",1),J_]))),256))]),t("td",K_,[_(y).length>0?(r(!0),l(G,{key:0},et(_(y),F=>(r(),l("b",null,[it(n(F)+" ",1),Q_]))),256)):(r(),l("a",X_,n(e(i)("\u53BB\u6302\u8F7D")),1))]),t("td",tx,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u6269\u5145"),disabled:c(y),onClick:F=>m(y)},n(e(i)("\u6269\u5145")),9,ex),t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u79FB\u9664"),disabled:c(y),onClick:F=>h(y)},n(e(i)("\u79FB\u9664")),9,ax),t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u6062\u590D"),onClick:F=>k(y)},n(e(i)("\u6062\u590D")),9,ox),t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u8BE6\u60C5"),onClick:F=>p(y)},n(e(i)("\u8BE6\u60C5")),9,nx),t("button",{class:"cbi-button cbi-button-remove",title:e(i)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:F=>f(y)},n(e(i)("\u5220\u9664")),9,ix)])]))),256))])])])])]))}});var sx=M(rx,[["__scopeId","data-v-f1411b40"]]);const dx=o=>(rt("data-v-2b6b4ef9"),o=o(),st(),o),lx={id:"page"},ux=dx(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),cx={class:"cbi-map-descr"},px={class:"tabs"},fx=["href","onClick"],mx=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=[{to:"/smart",name:i("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:i("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:i("\u67E5\u770B\u65E5\u5FD7")}],u=E(!1),s=gt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),c=p=>{const{global:f,devices:m,tasks:h}=p;f&&(s.global.enable=f.enable||!1,s.global.powermode=f.powermode||"never"),s.devices=m||[],s.tasks=h||[]};(()=>L(this,null,function*(){try{const p=yield O.Smart.Config.GET();if(p.data){const{result:f}=p.data;f&&c(f)}}catch(p){}finally{u.value=!0}}))();const g=p=>L(this,null,function*(){const f=C.Loading(i("\u4FDD\u5B58\u4E2D..."));try{const m=yield O.Smart.Config.POST(p);if(m.data){console.log(m.data);const{success:h,error:k,result:x}=m.data;if(k)throw k;(h||0)==0&&(C.Success(i("\u4FDD\u5B58\u6210\u529F")),x&&c(x))}}catch(m){C.Error(`${m}`)}finally{f.Close()}});return(p,f)=>{const m=ut("router-link"),h=ut("router-view");return r(),l("div",lx,[ux,t("div",cx,[t("p",null,n(e(i)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,n(e(i)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,n(e(i)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,n(e(i)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",px,[(r(),l(G,null,et(d,k=>z(m,{to:k.to,custom:"",key:k.to},{default:R(({route:x,href:w,navigate:v,isActive:b,isExactActive:y})=>[t("li",{class:pt({"active cbi-tab":b&&y})},[t("a",{href:w,onClick:v},n(k.name),9,fx)],2)]),_:2},1032,["to"])),64))]),u.value?(r(),K(h,{key:0,name:"default"},{default:R(({Component:k,route:x})=>[(r(),K(Ha,null,{default:R(()=>[(r(),K(Za(k),{key:x.path,config:e(s),saveData:g},null,8,["config"]))]),_:2},1024))]),_:1})):D("",!0)])}}});var vx=M(mx,[["__scopeId","data-v-2b6b4ef9"]]);const gx={class:"action-main"},bx=U({setup(o){return(i,a)=>(r(),K(_t,{type:2},{default:R(()=>[t("div",gx,[zt(i.$slots,"default",{},void 0,!0)])]),_:3}))}});var Le=M(bx,[["__scopeId","data-v-f3b0d6f0"]]);const hx={class:"actioner-container"},_x={class:"actioner-container_header"},xx={class:"actioner-container_body"},kx={class:"cbi-value"},wx={class:"cbi-value-title"},yx={class:"cbi-value-field"},Fx={class:"cbi-value-description"},Ex={class:"cbi-value"},Cx={class:"cbi-value-title"},$x={class:"cbi-value-field"},Dx={class:"cbi-checkbox"},Bx={value:-1},Yx={value:0},Ax=["value"],Sx={class:"cbi-value-description"},zx={class:"cbi-value"},Px={class:"cbi-value-title"},Tx={class:"cbi-value-field"},Ix={class:"cbi-checkbox"},Lx={value:-1},Mx={value:0},Nx=["value"],Ox={class:"cbi-value-description"},Vx={class:"actioner-container_footer"},Gx=["disabled"],jx=["disabled"],qx=U({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var g,p,f;const i=o,{$gettext:a,$ngettext:d}=H();console.log(i.device);const u=E(!1),s=gt({tmpDiff:((g=i.device)==null?void 0:g.tmpDiff)||0,tmpMax:((p=i.device)==null?void 0:p.tmpMax)||0,devicePath:((f=i.device)==null?void 0:f.devicePath)||""}),c=()=>{u.value=!0,i.close()},_=()=>L(this,null,function*(){u.value=!0;try{yield i.next({tmpDiff:s.tmpDiff,tmpMax:s.tmpMax,devicePath:s.devicePath}),u.value=!1,c()}catch(m){}});return(m,h)=>(r(),K(Le,null,{default:R(()=>[t("div",hx,[t("div",_x,[t("span",null," S.M.A.R.T. \xBB "+n(e(a)("\u8BBE\u5907"))+" \xBB "+n(o.disk.path),1)]),t("div",xx,[t("div",kx,[t("label",wx,n(e(a)("\u78C1\u76D8")),1),t("div",yx,[t("div",Fx,n(o.disk.model)+" [ "+n(o.disk.path)+"\uFF0C"+n(o.disk.sizeStr)+" ] ",1)])]),t("div",Ex,[t("label",Cx,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",$x,[t("div",Dx,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[0]||(h[0]=k=>e(s).tmpDiff=k)},[t("option",Bx,n(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Yx,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(20,k=>t("option",{value:k},n(k)+"\xB0C",9,Ax)),64))],512),[[dt,e(s).tmpDiff,void 0,{number:!0}]])]),t("div",Sx,n(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",zx,[t("label",Px,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",Tx,[t("div",Ix,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[1]||(h[1]=k=>e(s).tmpMax=k)},[t("option",Lx,n(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Mx,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(20,k=>t("option",{value:k*5},n(k*5)+"\xB0C",9,Nx)),64))],512),[[dt,e(s).tmpMax,void 0,{number:!0}]])]),t("div",Ox,n(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",Vx,[t("button",{class:"close",onClick:c,disabled:u.value},n(e(a)("\u53D6\u6D88")),9,Gx),t("button",{class:"next",onClick:_,disabled:u.value},n(e(a)("\u4FDD\u5B58")),9,jx)])])]),_:1}))}}),Ux={class:"actioner-container"},Rx={class:"actioner-container_header"},Wx={class:"actioner-container_body"},Hx={class:"cbi-value"},Zx={class:"cbi-value-title"},Jx={class:"cbi-value-field"},Kx={class:"cbi-checkbox"},Qx={value:""},Xx=["value"],tk={class:"cbi-value"},ek={class:"cbi-value-title"},ak={class:"cbi-value-field"},ok={class:"cbi-checkbox"},nk={value:"short"},ik={value:"long"},rk={value:"conveyance"},sk={value:"offline"},dk={class:"cbi-value"},lk={class:"cbi-value-title"},uk={class:"cbi-value-field"},ck={class:"cbi-checkbox"},pk=t("option",{value:"*"},"*",-1),fk=["value"],mk={class:"cbi-value-description"},vk={class:"cbi-value"},gk={class:"cbi-value-title"},bk={class:"cbi-value-field"},hk={class:"cbi-checkbox"},_k=t("option",{value:"*"},"*",-1),xk=["value"],kk={class:"cbi-value-description"},wk={class:"cbi-value"},yk={class:"cbi-value-title"},Fk={class:"cbi-value-field"},Ek={class:"cbi-checkbox"},Ck=t("option",{value:"*"},"*",-1),$k=["value"],Dk={class:"cbi-value-description"},Bk={class:"actioner-container_footer"},Yk=["disabled"],Ak=["disabled"],Sk=U({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=gt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),c=E([]);(()=>L(this,null,function*(){try{const f=yield O.Smart.List.GET();if(f.data){const{result:m,error:h}=f.data;m&&m.disks&&(c.value=m.disks)}}catch(f){}}))();const g=()=>{u.value=!0,i.close()},p=()=>L(this,null,function*(){if(s.devicePath==""){C.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}u.value=!0;try{yield i.next(s),g()}catch(f){}finally{u.value=!1}});return(f,m)=>(r(),K(Le,null,{default:R(()=>[t("div",Ux,[t("div",Rx,[t("span",null,n(e(a)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",Wx,[t("div",Hx,[t("label",Zx,n(e(a)("\u78C1\u76D8")),1),t("div",Jx,[t("div",Kx,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[0]||(m[0]=h=>e(s).devicePath=h)},[t("option",Qx,n(e(a)("\u9009\u62E9\u78C1\u76D8")),1),(r(!0),l(G,null,et(c.value,h=>(r(),l("option",{value:h.path},n(h.model)+" [ "+n(h.path)+"\uFF0C"+n(h.sizeStr)+" ] ",9,Xx))),256))],512),[[dt,e(s).devicePath,void 0,{trim:!0}]])])])]),t("div",tk,[t("label",ek,n(e(a)("\u7C7B\u578B")),1),t("div",ak,[t("div",ok,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[1]||(m[1]=h=>e(s).type=h)},[t("option",nk,n(e(a)("\u77ED\u6682\u81EA\u68C0")),1),t("option",ik,n(e(a)("\u957F\u65F6\u81EA\u68C0")),1),t("option",rk,n(e(a)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",sk,n(e(a)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[dt,e(s).type,void 0,{trim:!0}]])])])]),t("div",dk,[t("label",lk,n(e(a)("\u5C0F\u65F6")),1),t("div",uk,[t("div",ck,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[2]||(m[2]=h=>e(s).hour=h)},[pk,(r(),l(G,null,et(24,(h,k)=>t("option",{value:`${k}`},n(k),9,fk)),64))],512),[[dt,e(s).hour,void 0,{trim:!0}]])]),t("div",mk,n(e(a)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",vk,[t("label",gk,n(e(a)("\u5929")),1),t("div",bk,[t("div",hk,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[3]||(m[3]=h=>e(s).dayPerMonth=h)},[_k,(r(),l(G,null,et(31,h=>t("option",{value:`${h}`},n(h),9,xk)),64))],512),[[dt,e(s).dayPerMonth,void 0,{trim:!0}]])]),t("div",kk,n(e(a)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",wk,[t("label",yk,n(e(a)("\u6708")),1),t("div",Fk,[t("div",Ek,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[4]||(m[4]=h=>e(s).month=h)},[Ck,(r(),l(G,null,et(12,(h,k)=>t("option",{value:`${h}`},n(h),9,$k)),64))],512),[[dt,e(s).month,void 0,{trim:!0}]])]),t("div",Dk,n(e(a)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",Bk,[t("button",{class:"close",onClick:g,disabled:u.value},n(e(a)("\u53D6\u6D88")),9,Yk),t("button",{class:"next",onClick:p,disabled:u.value},n(e(a)("\u4FDD\u5B58")),9,Ak)])])]),_:1}))}}),zk={class:"actioner-container"},Pk={class:"actioner-container_header"},Tk={class:"actioner-container_body"},Ik=["value"],Lk={class:"actioner-container_footer"},Mk=["disabled"],Nk=["disabled"],Ok=U({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=E(""),c=E(""),_=E(""),g=()=>L(this,null,function*(){s.value+=".";try{const h=yield O.Smart.Test.Result.POST({type:"selftest",devicePath:i.task.devicePath||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(_.value=k.result),x&&(_.value=x)}}catch(h){h&&(_.value=h)}}),p=Pt.easyInterval(g,5e3);qe(()=>{p()});const f=()=>{u.value=!0,p(),i.close()},m=()=>L(this,null,function*(){u.value=!0;try{const h=yield O.Smart.Test.POST({type:i.task.type||"short",devicePath:i.task.devicePath||""});if(h.data){const{success:k,error:x,result:w}=h.data;x&&(c.value=x),w&&w.result&&(c.value=w.result)}}catch(h){c.value=h}finally{}});return(h,k)=>(r(),K(Le,null,{default:R(()=>[t("div",zk,[t("div",Pk,[t("span",null,n(e(a)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",Tk,[t("textarea",{value:c.value+` +var Na=Object.defineProperty,Oa=Object.defineProperties;var Va=Object.getOwnPropertyDescriptors;var aa=Object.getOwnPropertySymbols;var Ga=Object.prototype.hasOwnProperty,ja=Object.prototype.propertyIsEnumerable;var Oe=(o,i,a)=>i in o?Na(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,lt=(o,i)=>{for(var a in i||(i={}))Ga.call(i,a)&&Oe(o,a,i[a]);if(aa)for(var a of aa(i))ja.call(i,a)&&Oe(o,a,i[a]);return o},bt=(o,i)=>Oa(o,Va(i));var qa=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports);var me=(o,i,a)=>(Oe(o,typeof i!="symbol"?i+"":i,a),a);var L=(o,i,a)=>new Promise((d,u)=>{var s=v=>{try{_(a.next(v))}catch(p){u(p)}},c=v=>{try{_(a.throw(v))}catch(p){u(p)}},_=v=>v.done?d(v.value):Promise.resolve(v.value).then(s,c);_((a=a.apply(o,i)).next())});import{a as Ua,c as Ra,d as _e,b as U,e as tt,u as e,o as r,f as l,g as t,t as n,n as Bt,h as D,i as z,r as ut,j as pt,k as zt,w as T,v as Rt,l as Wa,m as K,p as R,q as E,s as Nt,x as At,y as dt,F as G,z as et,A as ot,B as Wt,C as rt,D as st,E as la,G as jt,H as ua,I as ca,J as pa,K as fa,L as ma,M as ba,N as va,O as mt,T as $t,P as gt,Q as je,R as vt,S as Yt,U as it,V as Et,W as xe,X as Ye,Y as qe,Z as Ha,_ as Za,$ as Ae,a0 as Ja,a1 as Ka,a2 as Qa,a3 as Xa,a4 as to,a5 as eo,a6 as ao,a7 as oo,a8 as no,a9 as io}from"./vendor.js?v=e039e7e7";var QY=qa(ee=>{const ro=function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))d(u);new MutationObserver(u=>{for(const s of u)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&d(c)}).observe(document,{childList:!0,subtree:!0});function a(u){const s={};return u.integrity&&(s.integrity=u.integrity),u.referrerpolicy&&(s.referrerPolicy=u.referrerpolicy),u.crossorigin==="use-credentials"?s.credentials="include":u.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function d(u){if(u.ep)return;u.ep=!0;const s=a(u);fetch(u.href,s)}};ro();const Ot={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},so=o=>L(ee,null,function*(){const i=window.vue_lang;new Date().getTime();let a={};try{const s=yield Ua({url:window.vue_lang_data,method:"GET"});s.data&&(a=s.data)}catch(s){console.log(s)}const d=Ra({defaultLanguage:i,mutedLanguages:["zh-cn"],translations:a,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(d),Ot.language=d;const{$gettext:u}=d;window.$i18n=u;try{Ot.numberFormat=new Intl.NumberFormat(i,{notation:"compact"})}catch(s){console.error("Intl.NumberFormat unsupported lang",i,s)}}),H=()=>{if(Ot.language)return Ot.language;throw new Error("I18N Uninitialized!")},Se=()=>({$gettext:(o,i,a)=>{if(Ot.language)return Ot.language.$gettext(o,i,a);throw new Error("I18N Uninitialized!")},$ngettext:(o,i,a,d,u)=>{if(Ot.language)return Ot.language.$ngettext(o,i,a,d,u);throw new Error("I18N Uninitialized!")}}),Ee=o=>typeof o=="number"?Ot.numberFormat.format(o):"?",{$gettext:lo,$ngettext:eA}=Se(),ga=(o,i)=>L(ee,null,function*(){return new Promise((a,d)=>L(ee,null,function*(){try{const u=yield fetch(o,i);if(Math.floor(u.status/100)!=2)throw u.status+" "+u.statusText;const s=lt({},u);s.data=yield u.json(),a(s)}catch(u){const s=u;d(lo("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((s==null?void 0:s.message)||u))}}))});class Ue{constructor(i){me(this,"config",{baseURL:"",headers:{}});me(this,"useRequest",i=>i);me(this,"useResponse",i=>i);me(this,"useError",i=>i);i.baseURL&&(this.config.baseURL=i.baseURL),i.headers&&(this.config.headers=i.headers)}static create(i){return new Ue(i)}Do(i,a){return L(this,null,function*(){return new Promise((d,u)=>L(this,null,function*(){try{const s=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});i=`${s.baseURL||""}${i}`,a.headers==null&&(a.headers={}),s.headers&&(a.headers=lt({},s.headers));const _=yield fetch(i,a),v=lt({},_);v.data=yield _.json(),d(this.useResponse(v))}catch(s){this.useError(s),u(s)}}))})}TEXT(i,a){return L(this,null,function*(){return new Promise((d,u)=>L(this,null,function*(){try{const s=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});i=`${s.baseURL||""}${i}`,a.headers==null&&(a.headers={}),s.headers&&(a.headers=lt({},s.headers));const _=yield fetch(i,a),v=lt({},_);v.data=yield _.text(),d(v)}catch(s){this.useError(s),u(s)}}))})}interceptors(){const i=this;return{requset:{use(a){i.useRequest=a}},response:{use(a,d){i.useResponse=a,d&&(i.useError=d)}}}}}const ha=Ue.create({});ha.interceptors().requset.use(o=>o);ha.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:_a,$ngettext:aA}=Se(),uo="/cgi-bin/luci/istore",co="/cgi-bin/luci/admin";let De=!1;const q=(o,i)=>(o.indexOf("//")==-1&&(o=`${uo}${o}`),ga(o,i).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(De||(De=!0,alert(_a("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),po=(o,i)=>(o.indexOf("//")==-1&&(o=`${co}${o}`),ga(o,i).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(De||(De=!0,alert(_a("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),fo={Statistics:{GET(){return q("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return q("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return q("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return q("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(o){return q("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetInterfaceConfig:{GET(){return q("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(o){return q("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},PortList:{GET(){return q("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},mo={Version:{GET(){return q("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return q("/system/check-update/",{method:"GET"})}},AutoCheckUpdate:{POST(o){return q("/system/auto-check-update/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Reboot:{POST(o){return q("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return q("/system/status/",{method:"GET"})}}},bo={Disk:{Status:{GET(){return q("/nas/disk/status/",{method:"GET"})}},Erase:{POST(o){return q("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Init:{POST:o=>q("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},InitRest:{POST:o=>q("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Partition:{Format:{POST:o=>q("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Mount:{POST:o=>q("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Service:{Status:{GET(){return q("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(o){return q("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Webdav:{Create:{POST(o){return q("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return q("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return q("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(o){return q("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSandbox:{GET(){return q("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return q("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return q("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return q("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return q("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},vo={Check:{POST(o){return q("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Install:{POST(o){return q("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},go={Pppoe:{GET(){return q("/guide/pppoe/",{method:"GET"})},POST(o){return q("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DnsConfig:{GET(){return q("/guide/dns-config/",{method:"GET"})},POST(o){return q("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DhcpClient:{POST(o){return q("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},ClientModel:{GET(){return q("/guide/client-mode/",{method:"GET"})},POST(o){return q("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GatewayRouter:{POST(o){return q("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerStatus:{GET(){return q("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return q("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(o){return q("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerSwitch:{POST(o){return q("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DownloadService:{Status:{GET(){return q("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return q("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(o){return q("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},qbitorrentInit:{POST(o){return q("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},transmissionInit:{POST(o){return q("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetLan:{GET(){return q("/guide/lan/",{method:"GET"})}},LanIp:{POST(o){return q("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},SoftSource:{POST(o){return q("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSoftSource:{GET(){return q("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return q("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(o){return q("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetDdns:{GET(){return q("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(o){return q("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DdntoConfig:{GET(){return q("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(o){return q("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},ho={Create:{POST(o){return q("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Delete:{POST(o){return q("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Add:{POST(o){return q("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Remove:{POST(o){return q("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Recover:{POST(o){return q("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Detail:{POST(o){return q("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},List:{GET(){return q("/raid/list/",{method:"GET"})}},CreateList:{GET(){return q("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return q("/raid/autofix/",{method:"GET"})}}},_o={Log:{GET(){return q("/smart/log/",{method:"GET"})}},List:{GET(){return q("/u/smart/list/",{method:"GET"})}},Config:{GET(){return q("/smart/config/",{method:"GET"})},POST(o){return q("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Test:{POST(o){return q("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Result:{POST(o){return q("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Attribute:{Result:{POST(o){return q("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Extend:{Result:{POST(o){return q("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}}},xo={List:{GET(){return q("/wireless/list-iface/",{method:"GET"})}},Switch:{POST(o){return q("/wireless/enable-iface/",{body:JSON.stringify(o),method:"POST"})}},Power:{POST(o){return q("/wireless/set-device-power/",{body:JSON.stringify(o),method:"POST"})}},Edit:{POST(o){return q("/wireless/edit-iface/",{body:JSON.stringify(o),method:"POST"})}},Setup:{POST(o){return q("/wireless/setup/",{body:JSON.stringify(o),method:"POST"})}}},ko={getInstalled:{GET(){return po("/store/installed/",{method:"GET"})}},needSetup:{GET(){return q("/guide/need/setup/",{method:"GET"})}},setPassword:{POST(o){return q("/system/setPassword/",{body:JSON.stringify(o),method:"POST"})}},completeGuide:{POST(){return q("/guide/finish/setup/",{method:"POST"})}}},wo={listDevices:{GET(){return q("/lanctrl/listDevices/",{method:"GET"})}},staticDeviceConfig:{POST(o){return q("/lanctrl/staticDeviceConfig/",{body:JSON.stringify(o),method:"POST"})}},globalConfigs:{GET(){return q("/lanctrl/globalConfigs/",{method:"GET"})}},speedLimitConfig:{POST(o){return q("/lanctrl/speedLimitConfig/",{body:JSON.stringify(o),method:"POST"})}},listStaticDevices:{GET(){return q("/lanctrl/listStaticDevices/",{method:"GET"})}},listSpeedLimitedDevices:{GET(){return q("/lanctrl/listSpeedLimitedDevices/",{method:"GET"})}},dhcpGatewayConfig:{POST(o){return q("/lanctrl/dhcpGatewayConfig/",{body:JSON.stringify(o),method:"POST"})}},dhcpTagsConfig:{POST(o){return q("/lanctrl/dhcpTagsConfig/",{body:JSON.stringify(o),method:"POST"})}},enableSpeedLimit:{POST(o){return q("/lanctrl/enableSpeedLimit/",{body:JSON.stringify(o),method:"POST"})}},enableFloatGateway:{POST(o){return q("/lanctrl/enableFloatGateway/",{body:JSON.stringify(o),method:"POST"})}},speedsForDevices:{GET(){return q("/lanctrl/speedsForDevices/",{method:"GET"})}},speedsForOneDevice:{POST(o){return q("/lanctrl/speedsForOneDevice/",{body:JSON.stringify(o),method:"POST"})}}};var yo=Object.freeze(Object.defineProperty({__proto__:null,Network:fo,System:mo,Nas:bo,App:vo,Guide:go,Raid:ho,Smart:_o,Quickwifi:xo,GuidePage:ko,DeviceMangement:wo},Symbol.toStringTag,{value:"Module"})),O=lt({},yo);const xa=_e("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});_e("guide",{});const ka=_e("nas",{state:()=>({webdav:{}})}),ze=_e("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){O.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:i}=o==null?void 0:o.data;i&&(this.deviceList=i)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Re=_e("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){O.System.Version.GET().then(o=>{var i;(i=o==null?void 0:o.data)!=null&&i.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,O.System.CheckUpdate.GET().then(o=>{var i;(i=o==null?void 0:o.data)!=null&&i.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let oa=!1;const Fo=()=>{if(oa)return;oa=!0;let o=!0,i=!0;const a=ze(),d=Re(),u=function(){return(!o&&document.hidden?Promise.resolve():O.System.Status.GET().then(c=>{c!=null&&c.data.result&&d.updateSystemStatus(c.data.result)})).finally(()=>{setTimeout(u,5e3),o&&(setInterval(()=>{d.incrTime()},1e3),o=!1)})},s=function(){return(!i&&document.hidden?Promise.resolve():O.Network.Status.GET().then(c=>{if(c!=null&&c.data){const{result:_}=c==null?void 0:c.data;_&&a.updateNetworkStatus(_)}})).finally(()=>{setTimeout(s,5e3),i&&(setInterval(()=>{a.incrTime()},1e3),i=!1)})};s(),a.requestDeviceList(),setTimeout(()=>{d.requestVersion(),u()},1100)};var M=(o,i)=>{const a=o.__vccOpts||o;for(const[d,u]of i)a[d]=u;return a};const Eo=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=xa(),u=tt(()=>d.portitemStyle.portitem),s=tt(()=>d.portitemStyle.show),c=tt(()=>({bottom:`calc(100% - ${d.portitemStyle.top}px)`,left:`${d.portitemStyle.left}px`})),_=f=>{switch(f){case"full":return i("\u5168\u53CC\u5DE5");case"half":return i("\u534A\u53CC\u5DE5")}},v=f=>{d.portitemStyle.show=!0},p=f=>{d.portitemStyle.show=!1};return(f,m)=>e(s)?(r(),l("div",{key:0,class:"disk-item-tooltip",style:Bt(e(c)),onMouseenter:v,onMouseleave:p},[t("div",null,n(_(e(u).duplex)),1),t("div",null,n(e(i)("\u540D\u79F0\uFF1A"))+n(e(u).name||"--"),1),t("div",null,n(e(i)("MAC\uFF1A"))+n(e(u).macAddress||"--"),1),t("div",null,n(e(i)("\u63A5\u6536\uFF1A"))+n(e(u).rx_packets||"--"),1),t("div",null,n(e(i)("\u53D1\u9001\uFF1A"))+n(e(u).tx_packets||"--"),1)],36)):D("",!0)}});var Co=M(Eo,[["__scopeId","data-v-41cbce66"]]);const $o={id:"main"},Do=U({setup(o){return(i,a)=>{const d=ut("router-view");return r(),l("div",$o,[z(d),z(Co)])}}});var Bo=M(Do,[["__scopeId","data-v-2d97dedc"]]);const Yo={},Ao={t:"1640593669834",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"54870",width:"128",height:"128"},So=t("path",{d:"M148.7872 57.4464h177.152c64.9216 0 118.0672 53.1456 118.0672 118.0672v295.2192H148.7872C83.8656 470.7328 30.72 417.5872 30.72 352.5632v-177.152C30.72 110.592 83.8656 57.4464 148.7872 57.4464z m0 531.3536h295.2192v295.2192c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152C83.8656 1001.984 30.72 948.9408 30.72 883.9168v-177.152C30.72 641.9456 83.8656 588.8 148.7872 588.8z m0 0M768.7168 559.2064L562.0736 346.7264c-23.6544-17.7152-35.4304-53.1456-35.4304-82.6368s11.776-59.0848 35.4304-82.6368L686.08 57.4464C733.2864 10.24 810.0864 10.24 851.3536 57.4464l124.0064 124.0064c23.6544 23.6544 35.4304 53.1456 35.4304 82.6368s-11.776 59.0848-35.4304 82.6368L768.7168 559.2064z m0-478.208c-17.7152 0-29.4912 5.9392-41.3696 17.7152l-123.904 124.0064c-11.776 11.776-17.7152 23.6544-17.7152 41.3696s5.9392 29.4912 17.7152 41.3696l165.2736 165.2736 165.2736-165.2736c11.776-11.776 17.7152-23.6544 17.7152-41.3696s-5.9392-29.4912-17.7152-41.3696L809.984 98.7136c-11.776-11.776-23.552-17.7152-41.2672-17.7152z m0 0","p-id":"54871"},null,-1),zo=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),Po=[So,zo];function To(o,i){return r(),l("svg",Ao,Po)}var Io=M(Yo,[["render",To]]);const Lo={},Mo={t:"1640598743438",class:"icon",viewBox:"0 0 1036 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"65341",width:"128",height:"128"},No=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),Oo=[No];function Vo(o,i){return r(),l("svg",Mo,Oo)}var Go=M(Lo,[["render",Vo]]);const jo={},qo={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"},Uo=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),Ro=[Uo];function Wo(o,i){return r(),l("svg",qo,Ro)}var Ho=M(jo,[["render",Wo]]);const Zo={},Jo={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"},Ko=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),Qo=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),Xo=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),tn=[Ko,Qo,Xo];function en(o,i){return r(),l("svg",Jo,tn)}var an=M(Zo,[["render",en]]);const on={},nn={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"},rn=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),sn=[rn];function dn(o,i){return r(),l("svg",nn,sn)}var ln=M(on,[["render",dn]]);const un={},cn={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"},pn=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),fn=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),mn=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),bn=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),vn=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),gn=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),hn=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),_n=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),xn=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),kn=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),wn=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),yn=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),Fn=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),En=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),Cn=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),$n=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),Dn=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),Bn=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),Yn=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),An=[pn,fn,mn,bn,vn,gn,hn,_n,xn,kn,wn,yn,Fn,En,Cn,$n,Dn,Bn,Yn];function Sn(o,i){return r(),l("svg",cn,An)}var zn=M(un,[["render",Sn]]);const Pn={},Tn={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"},In=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),Ln=[In];function Mn(o,i){return r(),l("svg",Tn,Ln)}var Nn=M(Pn,[["render",Mn]]);const On={class:"progress"},Vn=U({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const i=o,a=tt(()=>i.value>=80?"#e45e5e":i.value>=70?"#ff9800":i.value>=60?"#297ff3":i.value>0?"#53c31b":"");return(d,u)=>(r(),l("div",On,[t("div",{class:pt(["progress-value",`${o.value>50}`]),style:Bt({width:`${o.value}%`,backgroundColor:e(a)})},[t("span",null,n(o.text),1)],6),zt(d.$slots,"default",{},void 0,!0)]))}});var wa=M(Vn,[["__scopeId","data-v-3ee635ef"]]);const Gn={},jn={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},qn=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),Un=[qn];function Rn(o,i){return r(),l("svg",jn,Un)}var Wn=M(Gn,[["render",Rn]]);const Hn={},Zn={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},Jn=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),Kn=[Jn];function Qn(o,i){return r(),l("svg",Zn,Kn)}var Xn=M(Hn,[["render",Qn]]);const ti={class:"checkbox_switch"},ei={class:"checkbox_switch_on"},ai={class:"checkbox_switch_off"},oi=U({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:i}){const a=o,d=tt({get:()=>a.modelValue.valueOf(),set:u=>i("update:modelValue",u)});return(u,s)=>(r(),l("label",ti,[T(t("input",{type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=c=>Wa(d)?d.value=c:null)},null,512),[[Rt,e(d)]]),t("span",ei,[z(Wn)]),t("span",ai,[z(Xn)]),zt(u.$slots,"default",{},void 0,!0)]))}});var ya=M(oi,[["__scopeId","data-v-54af3568"]]);const ni={},ii={t:"1641369474206",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7685",width:"128",height:"128"},ri=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),si=[ri];function di(o,i){return r(),l("svg",ii,si)}var li=M(ni,[["render",di]]);const ui={},ci={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"},pi=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),fi=[pi];function mi(o,i){return r(),l("svg",ci,fi)}var bi=M(ui,[["render",mi]]);const vi={};function gi(o,i){return r(),l("article",null,[zt(o.$slots,"default",{},void 0,!0)])}var hi=M(vi,[["render",gi],["__scopeId","data-v-995510fc"]]);const _i={class:"cover"},xi={class:"thumbnail"},ki=U({emits:["click"],setup(o,{emit:i}){const a=()=>{i("click")};return(d,u)=>(r(),K(hi,null,{default:R(()=>[t("a",{onClick:a},[t("div",_i,[t("div",xi,[zt(d.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var wi=M(ki,[["__scopeId","data-v-782f97c0"]]);const yi={class:"select-editable"},Fi={selected:"",value:""},Ei=["value"],Ci={value:"useInput"},$i=["placeholder"],Di=U({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=E(""),c=E(""),_=tt({get:()=>a.modelValue.valueOf(),set:m=>i("update:modelValue",m)}),v=m=>{m===s.value||s.value==="useInput"&&m===c.value||(m===""||a.options.some(h=>h.key===m)?s.value=m:(c.value=m,s.value="useInput"))};Nt(()=>a.modelValue,m=>{v(m)}),At(()=>{const m=_.value;v(m)});const p=m=>{s.value==="useInput"?_.value=c.value:_.value=s.value},f=m=>{_.value=c.value};return(m,h)=>(r(),l("label",null,[t("div",yi,[T(t("select",{"onUpdate:modelValue":h[0]||(h[0]=k=>s.value=k),autocomplete:"off",onChange:p},[t("option",Fi,n(e(d)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(r(!0),l(G,null,et(o.options,(k,x)=>(r(),l("option",{value:k.key,key:x},n(k.value||k.key),9,Ei))),128)),t("option",Ci,n(e(d)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[dt,s.value,void 0,{trim:!0}]]),s.value=="useInput"?T((r(),l("input",{key:0,type:"text","onUpdate:modelValue":h[1]||(h[1]=k=>c.value=k),required:"",placeholder:e(d)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:f},null,40,$i)),[[ot,c.value,void 0,{trim:!0}]]):D("",!0)])]))}});var Jt=M(Di,[["__scopeId","data-v-c446588c"]]);const Bi={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},Yi=U({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const i=a=>{if(a==null)return;if(typeof a=="number")return a+"px";const d=a.toString();return parseInt(d)+""==d?d+"px":d};return(a,d)=>(r(),l("div",{class:"quick-loading",style:Bt({width:i(o.size),height:i(o.size)})},[(r(),l("svg",Bi,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:Bt({fill:o.color})},null,4)]))],4))}});var Ai=M(Yi,[["__scopeId","data-v-47c6049a"]]);const Si={},zi={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":""},Pi=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),Ti=[Pi];function Ii(o,i){return r(),l("svg",zi,Ti)}var Li=M(Si,[["render",Ii]]);const Mi={},Ni={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Oi=Wt('',1),Vi=[Oi];function Gi(o,i){return r(),l("svg",Ni,Vi)}var ji=M(Mi,[["render",Gi]]);const qi=o=>(rt("data-v-0cc5bf50"),o=o(),st(),o),Ui=["href","title"],Ri=qi(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),Wi=[Ri],Hi=U({props:{type:null},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{switch(i.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(s,c)=>(r(),l("a",{href:e(u),target:"_blank",title:e(a)("\u8DF3\u8F6C\u6559\u7A0B")},Wi,8,Ui))}});var Zi=M(Hi,[["__scopeId","data-v-0cc5bf50"]]),Fa={install:o=>{o.component("icon-loading",Ai),o.component("icon-success",Li),o.component("icon-error",ji),o.component("GlHelp",Zi)}};const{$gettext:be,$ngettext:Ce}=Se(),Ji=o=>{},Ki=()=>new Date().getTime(),Qi=o=>{if(o<1e3)return`${o} B`;let a=1e3,d=0;for(let c=o/1e3;c>=1e3;c/=1e3)a*=1e3,d++;let u=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(a/100)).toFixed(1)+u[d]},Xi=o=>{if(o==null)return 0;if(o<1e4)return o;let a=parseInt(`${o/1e4}`),d=o%1e4;return`${a}\u4E07${d}`},tr=o=>{if(o)try{var i=new Date(o),a=i.getHours(),d=i.getMinutes(),u=i.getSeconds();return a<10&&(a=`0${a}`),d<10&&(d=`0${d}`),u<10&&(u=`0${u}`),`${a}:${d}:${u}`}catch(s){}return""},er=o=>{if(o){let i=Math.floor(o/86400),a=Math.floor(o/3600)%24,d=Math.floor(o/60)%60,u=o%60;return(i>0?Ce("%{ days }\u5929","%{ days }\u5929",i,{days:Ee(i)}):"")+Ce("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",a,{hours:Ee(a)})+Ce("%{ minutes }\u5206","%{ minutes }\u5206",d,{minutes:Ee(d)})+Ce("%{ seconds }\u79D2","%{ seconds }\u79D2",u,{seconds:Ee(u)})}},ar=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),or=o=>o.length<3?be("\u7528\u6237\u540D\u592A\u77ED"):o.toLowerCase()!=o?be("\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199"):new RegExp("^\\d").exec(o)?be("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):new RegExp("^_").exec(o)?be("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934"):new RegExp("^[a-z0-9_]+$").exec(o)?!0:be("\u975E\u6CD5\u7684\u7528\u6237\u540D"),nr=(o,i)=>{let a=!0,d=null;const u=()=>{d=null,a&&o().finally(()=>{a&&(d=setTimeout(u,i))})};return d=setTimeout(u,0),()=>{a=!1,d!=null&&clearTimeout(d)}};var ir=Object.freeze(Object.defineProperty({__proto__:null,formatDate:Ji,UnixDate:Ki,byteToSize:Qi,numberToSum:Xi,dateForm:tr,stampForm:er,checkIsIP:ar,checkSmabaUserName:or,easyInterval:nr},Symbol.toStringTag,{value:"Module"})),Pt=lt({},ir);const rr=()=>{var i;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(i=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&i.matches?"dark":"light"},Ea=()=>rr()=="dark",sr={class:"flow"},dr={class:"flow-data"},lr={key:0},ur={key:1},cr=U({setup(o){const{$gettext:i,$ngettext:a}=H();la([ua,ca,pa,fa,ma,ba]);const d=E(),u=w=>{var g;const b=(g=d.value)==null?void 0:g[w];return!b||b.startTime==0?"":f(b.startTime*1e3)+"-"+f(b.endTime*1e3)},s=tt(()=>{var b;let w=[];return(b=d.value)==null||b.forEach(g=>{w.push({value:g.uploadSpeed})}),w}),c=tt(()=>{var b;let w=[];return(b=d.value)==null||b.forEach(g=>{w.push({value:g.downloadSpeed})}),w}),_=tt(()=>{var b;let w="";if(d.value){let g=((b=d.value)==null?void 0:b.length)||0;if(g>0){let y=d.value[g-1];w=m(y.uploadSpeed)+"/s"}}return w}),v=tt(()=>{var b;let w="";if(d.value){let g=((b=d.value)==null?void 0:b.length)||0;if(g>0){let y=d.value[g-1];w=m(y.downloadSpeed)+"/s"}}return w});tt(()=>{var b;let w=[];return(b=d.value)==null||b.forEach(g=>{w.push({value:g.downloadSpeed+g.uploadSpeed})}),w});const p=()=>L(this,null,function*(){var w;try{const b=yield O.Network.Statistics.GET();if(b.data&&(w=b.data.result)!=null&&w.items){const g=b.data.result.slots||10;if(b.data.result.items.lengthg?d.value=b.data.result.items.slice(g-b.data.result.items.length):d.value=b.data.result.items}}catch(b){console.log(b)}}),f=Pt.dateForm,m=Pt.byteToSize,h=E();let k=null;const x=w=>{const b=Ea();return k=va(w,b?"dark":"light"),k.setOption({animation:!1,backgroundColor:b?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:g=>{if(Array.isArray(g)){let y="";g.length>0&&(y=u(g[0].axisValue));for(let F=0;F${g[F].seriesName}: ${m(g[F].value)}/s`;return y.toString()}else{const y=g;return`${u(y.axisValue)}
${y.seriesName}: ${m(y.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:i("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(g,y){return`${m(g)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:i("\u4E0B\u8F7D"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:i("\u4E0A\u4F20"),data:s.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:i("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:i("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),k};return At(()=>{setTimeout(()=>L(this,null,function*(){if(h.value){yield p();const w=x(h.value),b=h.value;w.resize({width:b.clientWidth,height:b.clientHeight}),window.addEventListener("resize",()=>{w.resize({width:b.clientWidth,height:b.clientHeight})});const g=()=>L(this,null,function*(){if(k!=null){if(!document.hidden){if(yield p(),k==null)return;w.setOption({series:[{name:i("\u4E0B\u8F7D"),data:c.value,type:"line",areaStyle:{},smooth:!0},{name:i("\u4E0A\u4F20"),data:s.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(g,5e3)}});setTimeout(g,5e3)}}),900)}),jt(()=>{k!=null&&(k.dispose(),k=null)}),(w,b)=>(r(),l("div",sr,[t("div",{ref_key:"el",ref:h,class:"echart"},null,512),t("div",dr,[e(_)?(r(),l("span",lr,n(e(i)("\u4E0A\u4F20:"))+" "+n(e(_)),1)):D("",!0),e(v)?(r(),l("span",ur,n(e(i)("\u4E0B\u8F7D:"))+" "+n(e(v)),1)):D("",!0)])]))}});var pr=M(cr,[["__scopeId","data-v-770b811c"]]);const fr={},mr={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},br=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),vr=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),gr=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),hr=[br,vr,gr];function _r(o,i){return r(),l("svg",mr,hr)}var Vt=M(fr,[["render",_r]]);let $e=0;const xr={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,$e=window.setTimeout(o,1e3))};$e=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,$e!=0&&clearTimeout($e),this.Close())}}},Pe=o=>(rt("data-v-48bf84c6"),o=o(),st(),o),kr={key:0,class:"loading icon"},wr=Pe(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),yr=[wr],Fr={key:1,class:"success icon"},Er=Pe(()=>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)),Cr=[Er],$r={key:2,class:"error icon"},Dr=Pe(()=>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)),Br=[Dr],Yr={key:3,class:"warning icon"},Ar=Pe(()=>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)),Sr=[Ar];function zr(o,i,a,d,u,s){return r(),K($t,{name:"el-fade-in-linear"},{default:R(()=>[u.show?(r(),l("div",{key:0,class:"toast",onClick:i[1]||(i[1]=c=>s.Stop())},[a.type=="loading"?(r(),l("div",kr,yr)):a.type=="success"?(r(),l("div",Fr,Cr)):a.type=="error"?(r(),l("div",$r,Br)):a.type=="warning"?(r(),l("div",Yr,Sr)):D("",!0),t("div",{class:"message",onClick:i[0]||(i[0]=mt(()=>{},["stop"]))},n(s.Message),1)])):D("",!0)]),_:1})}var Pr=M(xr,[["render",zr],["__scopeId","data-v-48bf84c6"]]);const ge=new Map,ae=o=>{const i=gt(Pr,bt(lt({},o),{Close:()=>{d()}})),a=document.createElement("div");document.body.append(a),i.mount(a);const d=()=>{a.remove(),ge.get(i._uid)&&ge.delete(i._uid)};return o.type=="loading"&&ge.set(i._uid,{Close:d}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{d()},o==null?void 0:o.duration):setTimeout(()=>{d()},3e3)),{Close:d}},C=o=>ae(o);C.Loading=(o,i)=>ae({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:i||0});C.Success=o=>ae({type:"success",message:o});C.Error=o=>ae({type:"error",message:o,duration:0});C.Warning=o=>ae({type:"warning",message:o});C.Message=o=>ae({message:o});C.Clear=()=>{ge.forEach((o,i)=>{o.Close(),ge.delete(i)})};const{$gettext:Xt,$ngettext:oA}=Se(),Ct={installApp:(o,i)=>new Promise((a,d)=>{let u=0;O.App.Install.POST({name:o}).then(()=>{const s=setTimeout(()=>{u==0&&(u=1,a(!1))},(i||60)*1e3),c=()=>{u==0&&O.App.Check.POST({name:o}).then(_=>{if(u==0&&_!=null&&_.data){const{result:v}=_.data;if((v==null?void 0:v.status)=="installed"){clearTimeout(s),u=1,a(!0);return}}}).catch(_=>{}).finally(()=>{u==0&&setTimeout(c,3e3)})};setTimeout(c,3e3)}).catch(s=>{u==0&&(u=1,d(Xt("\u5B89\u88C5\u5931\u8D25\uFF0C")+s))})}),checkAndInstallApp:(o,i,a)=>L(ee,null,function*(){let d=C.Loading(Xt("\u68C0\u67E5\u4E2D..."));try{const u=yield O.App.Check.POST({name:o});if(d.Close(),u!=null&&u.data){const{result:s,error:c}=u.data;if(c)C.Warning(c);else if(s){if(s.status=="installed")return!0;if(confirm(Xt("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:i}))){d=C.Loading(Xt("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const _=yield Ct.installApp(a||o);if(d.Close(),_)return!0;C.Error(Xt("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else C.Warning(Xt("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(u){return d.Close(),C.Warning(u),!1}}),installAndGo:(o,i,a,d)=>L(ee,null,function*(){(yield Ct.checkAndInstallApp(o,i,d))&&(location.href=a)})},Tr={},Ir={t:"1640746738262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1216",width:"128",height:"128"},Lr=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),Mr=[Lr];function Nr(o,i){return r(),l("svg",Ir,Mr)}var Or=M(Tr,[["render",Nr]]);const Vr=o=>(rt("data-v-a96d68d4"),o=o(),st(),o),Gr={id:"actioner"},jr={key:0,class:"action-container"},qr={class:"action-container_header"},Ur=Vr(()=>t("div",null,null,-1)),Rr={class:"title"},Wr=["title"],Hr={class:"action-container_body"},Zr=U({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1);At(()=>{u.value=!0,document.body.setAttribute("lock-scroll","true")}),jt(()=>{document.body.removeAttribute("lock-scroll")});const s=()=>{i.Close&&(u.value=!1,setTimeout(()=>{i.Close&&i.Close()},300))};return(c,_)=>(r(),l("div",Gr,[t("div",{class:"bg",onClick:s}),o.type!=null?zt(c.$slots,"default",{key:0},void 0,!0):(r(),l(G,{key:1},[u.value?(r(),l("div",jr,[t("div",qr,[Ur,t("div",Rr,n(o.title),1),t("button",{class:"close",title:e(a)("\u5173\u95ED"),onClick:s},[z(Or)],8,Wr)]),t("div",Hr,[zt(c.$slots,"default",{},void 0,!0)])])):D("",!0)],64))]))}});var Jr=M(Zr,[["__scopeId","data-v-a96d68d4"]]);const _t=U({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(i,a)=>(r(),K(Jr,{Close:o.Close,type:o.type,title:o.title},{default:R(()=>[zt(i.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Kr=["onSubmit"],Qr={class:"actioner-dns_header"},Xr={class:"actioner-dns_body"},ts={class:"label-item"},es={class:"label-item_key"},as={class:"label-item_value"},os=["disabled"],ns={value:"manual"},is={class:"label-item"},rs={class:"label-item_key"},ss={class:"label-item_value"},ds=["placeholder","onUpdate:modelValue"],ls={class:"label-item_key"},us={class:"label-item_value"},cs=["placeholder","onUpdate:modelValue"],ps={key:1,class:"label-message"},fs={class:"actioner-dns_footer"},ms=["disabled"],bs={key:1,class:"actioner-dns"},vs={class:"actioner-dns_header"},gs={class:"actioner-dns_body"},hs={class:"config-message"},_s={class:"actioner-dns_footer"},xs=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=ze(),c=s.status,_=tt(()=>s.status.proto!="static"),v=()=>{let w=c.dnsList||[];for(w=w.filter(b=>b);w.length<2;)w.push("");return w},p=E({interfaceName:c.defaultInterface||"",dnsProto:c.dnsProto||"manual",manualDnsIp:v()}),f=E(""),m=E(!1),h=()=>L(this,null,function*(){f.value="";let w={};switch(p.value.dnsProto){case"auto":break;case"manual":if(w.manualDnsIp=[],!p.value.manualDnsIp[0]){C.Error(a("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}w.manualDnsIp=p.value.manualDnsIp.filter(g=>g);break}w.dnsProto=p.value.dnsProto,w.interfaceName=p.value.interfaceName;const b=C.Loading(a("\u914D\u7F6E\u4E2D..."));try{const g=yield O.Guide.DnsConfig.POST(w);if(g!=null&&g.data){const{success:y,error:F}=g==null?void 0:g.data;F&&(f.value=F),(y==null||y==0)&&(C.Success(a("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(g){f.value=g}b.Close()}),k=w=>{w.preventDefault(),i.Close&&i.Close()},x=w=>{location.reload()};return(w,b)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0?(r(),l("form",{key:0,class:"actioner-dns",onSubmit:mt(h,["prevent"])},[t("div",Qr,[t("span",null,n(e(a)("DNS\u914D\u7F6E")),1)]),t("div",Xr,[t("div",ts,[t("div",es,[t("span",null,n(e(a)("DNS\u9009\u9879")),1)]),t("div",as,[T(t("select",{"onUpdate:modelValue":b[0]||(b[0]=g=>p.value.dnsProto=g)},[t("option",{value:"auto",disabled:!e(_)},n(e(a)("\u81EA\u52A8\u83B7\u53D6DNS")),9,os),t("option",ns,n(e(a)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[dt,p.value.dnsProto]])])]),p.value.dnsProto=="manual"?(r(!0),l(G,{key:0},et(p.value.manualDnsIp,(g,y)=>(r(),l("div",is,[y==0?(r(),l(G,{key:0},[t("div",rs,[t("span",null,n(e(a)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",ss,[T(t("input",{type:"text",placeholder:e(a)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":F=>p.value.manualDnsIp[y]=F},null,8,ds),[[ot,p.value.manualDnsIp[y],void 0,{trim:!0}]])])],64)):(r(),l(G,{key:1},[t("div",ls,n(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",us,[T(t("input",{type:"text",placeholder:e(a)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":F=>p.value.manualDnsIp[y]=F},null,8,cs),[[ot,p.value.manualDnsIp[y],void 0,{trim:!0}]])])],64))]))),256)):D("",!0),f.value?(r(),l("div",ps,n(f.value),1)):D("",!0)]),t("div",fs,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:m.value},n(e(a)("\u786E\u8BA4")),9,ms),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},n(e(a)("\u53D6\u6D88")),1)])],40,Kr)):u.value==1?(r(),l("div",bs,[t("div",vs,[t("span",null,n(e(a)("DNS\u914D\u7F6E")),1)]),t("div",gs,[t("div",hs,n(e(a)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",_s,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:x},n(e(a)("\u5B8C\u6210")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var ks=M(xs,[["__scopeId","data-v-2ac87be2"]]);const Ca=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=gt(ks,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},ws=o=>(rt("data-v-4ca82311"),o=o(),st(),o),ys={class:"action"},Fs={class:"action-body"},Es=ws(()=>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)),Cs={class:"title"},$s={class:"info"},Ds=["href"],Bs={class:"btns"},Ys=U({props:{port:Number,Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>`http://${location.hostname}:${i.port}`),s=()=>{i.Close&&(i.Close(),location.reload())};return(c,_)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("div",ys,[t("div",Fs,[Es,t("h2",Cs,n(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",$s,[t("span",null,n(e(a)("\u524D\u5F80")),1),t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,Ds),t("span",null,n(e(a)("\u8FDB\u884C\u6D4B\u901F")),1)]),t("div",Bs,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:s},n(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var As=M(Ys,[["__scopeId","data-v-4ca82311"]]),Ss=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(As,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const $a=o=>(rt("data-v-17b89cb7"),o=o(),st(),o),zs=$a(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),Ps={class:"app-container_status-label_text"},Ts={class:"text_status"},Is={class:"text_info"},Ls=$a(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),Ms={class:"app-container_status-label_text"},Ns={class:"text_info"},Os=U({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=xa(),s=E(null),c=v=>{const p=v.target,{left:f,top:m}=p.getBoundingClientRect();u.portitemStyle.show=!0,u.portitemStyle.left=f,u.portitemStyle.top=m,u.portitemStyle.portitem=i.item},_=v=>{u.portitemStyle.show=!1};return(v,p)=>(r(),l("div",{class:"app-container_status-label_bg",style:Bt(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:s,onMouseenter:c,onMouseleave:_},[o.item.linkState=="DOWN"?(r(),l(G,{key:0},[zs,t("div",Ps,[t("div",Ts,n(e(a)("\u5DF2\u65AD\u5F00")),1),t("div",Is,n(o.item.name)+" "+n(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(r(),l(G,{key:1},[Ls,t("div",Ms,[t("div",null,n(o.item.linkSpeed),1),t("div",Ns,n(o.item.name)+" "+n(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var Da=M(Os,[["__scopeId","data-v-17b89cb7"]]);const Ba=o=>(rt("data-v-6f355f28"),o=o(),st(),o),Vs=Ba(()=>t("span",null,n("<"),-1)),Gs=[Vs],js=Ba(()=>t("span",null,n(">"),-1)),qs=[js],Us=U({props:{portList:{type:Array,required:!0}},setup(o){const i=E(),a=E(0),d=E(0),u=E(0),s=E(!1),c=()=>{if(u.value>=0){u.value=0;return}u.value+=100},_=()=>{if(u.value<=0-a.value+d.value){u.value=0-a.value+d.value;return}u.value-=100};return At(()=>{je(()=>{i.value&&(a.value=i.value.scrollWidth,d.value=i.value.clientWidth,s.value=a.value>d.value)})}),(v,p)=>(r(),l("div",{class:"app-interfaces",ref_key:"el",ref:i},[s.value?(r(),l(G,{key:0},[t("a",{class:"btn-f",onClick:c},Gs),t("a",{class:"btn-r",onClick:_},qs)],64)):D("",!0),(r(!0),l(G,null,et(o.portList,(f,m)=>(r(),K(Da,{item:f,transform:u.value},null,8,["item","transform"]))),256))],512))}});var Rs=M(Us,[["__scopeId","data-v-6f355f28"]]);const Ws={},Hs={width:"82px",height:"82px",viewBox:"0 0 82 82",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Zs=Wt('',1),Js=[Zs];function Ks(o,i){return r(),l("svg",Hs,Js)}var We=M(Ws,[["render",Ks]]);const Qs=["onSubmit"],Xs={class:"actioner-dns_header"},td={class:"actioner-dns_body"},ed={class:"label-item"},ad={class:"label-item_key"},od={class:"label-item_value"},nd={class:"item_info"},id={class:"label-item"},rd={class:"label-item_key"},sd={class:"label-item_value"},dd={selected:"true",value:""},ld=["value"],ud={class:"actioner-dns_footer"},cd=["disabled"],pd={key:1,class:"actioner-dns"},fd={class:"actioner-dns_header"},md={class:"softsource_tit"},bd={class:"actioner-dns_body"},vd={class:"finished"},gd={class:"successed"},hd={class:"btns"},_d=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=E(""),c=E(),_=E();(()=>{O.Guide.SoftSourceList.GET().then(h=>{var k,x;if((k=h==null?void 0:h.data)!=null&&k.result){const w=(x=h==null?void 0:h.data)==null?void 0:x.result;_.value=w}}).then(()=>O.Guide.GetSoftSource.GET()).then(h=>{var k,x;if((k=h==null?void 0:h.data)!=null&&k.result){const w=h.data.result;c.value=w.softSource,(x=_.value)!=null&&x.softSourceList.find(b=>b.identity==w.softSource.identity)&&(s.value=w.softSource.identity)}})})();const p=h=>{h.preventDefault(),i.Close&&i.Close()},f=h=>{const k=C.Loading(a("\u6B63\u5728\u5207\u6362\u4E2D..."));O.Guide.SoftSource.POST({softSourceIdentity:s.value}).then(x=>{if(x!=null&&x.data){if((x.data.success||0)==0){u.value=1;return}else if(x.data.error)throw x.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(x=>{C.Error(x)}).finally(()=>k.Close())},m=h=>{h.preventDefault(),location.reload()};return(h,k)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>{var x,w;return[u.value==0?(r(),l("form",{key:0,class:"actioner-dns",onSubmit:mt(f,["prevent"])},[t("div",Xs,[t("span",null,n(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",td,[t("div",ed,[t("div",ad,[t("span",null,n(e(a)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",od,[t("p",nd,n((x=c.value)==null?void 0:x.name),1)])]),t("div",id,[t("div",rd,[t("span",null,n(e(a)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",sd,[T(t("select",{name:"",id:"","onUpdate:modelValue":k[0]||(k[0]=b=>s.value=b)},[t("option",dd,n(e(a)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(r(!0),l(G,null,et((w=_.value)==null?void 0:w.softSourceList,(b,g)=>(r(),l("option",{value:b.identity,key:g},n(b.name),9,ld))),128))],512),[[dt,s.value,void 0,{trim:!0}]])])])]),t("div",ud,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:s.value==""},n(e(a)("\u786E\u8BA4")),9,cd),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},n(e(a)("\u53D6\u6D88")),1)])],40,Qs)):D("",!0),u.value==1?(r(),l("form",pd,[t("div",fd,[t("span",md,n(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",bd,[t("div",vd,[z(We)]),t("p",gd,n(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",hd,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:m},n(e(a)("\u786E\u5B9A")),1)])])])):D("",!0)]}),_:1},8,["Close"]))}});var xd=M(_d,[["__scopeId","data-v-2deed63d"]]);const Ya=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=gt(xd,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},Ht=o=>(rt("data-v-51765cb0"),o=o(),st(),o),kd={class:"app-container_status-label"},wd={class:"app-container_status-label_item",style:{"padding-right":"10px"}},yd={class:"app-container_status-container",style:{height:"100%"}},Fd={key:0,class:"app-container_status-container_body"},Ed=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),Cd={class:"app-container_status-info"},$d={class:"container_success"},Dd={class:"container_time"},Bd={key:1,class:"app-container_status-container_body"},Yd=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ad={class:"app-container_status-info"},Sd={class:"container_failure"},zd={class:"container_time"},Pd={key:2,class:"app-container_status-container_body"},Td=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Id={class:"app-container_status-info"},Ld={class:"container_failure"},Md={class:"container_time"},Nd={key:3,class:"app-container_status-container_body"},Od=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Vd={class:"app-container_status-info"},Gd={class:"container_failure"},jd={class:"container_time"},qd={key:4,class:"app-container_status-container_body"},Ud=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),Rd={class:"app-container_status-info"},Wd={class:"container_failure"},Hd={class:"app-container_status-label_item",style:{"padding-left":"10px"}},Zd={class:"app-container_status-container",style:{height:"100%"}},Jd=["title"],Kd={class:"DeviceBlock"},Qd={class:"app-container_status-container_body"},Xd=Ht(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),t0={class:"app-container_status-info"},e0={class:"container_content"},a0={class:"devise"},o0=Ht(()=>t("em",null,null,-1)),n0={class:"app-container_status-container"},i0=["title"],r0={class:"DeviceBlock"},s0={class:"app-container_title"},d0={class:"app-container_status-label_block"},l0={class:"app-container_status-label_block"},u0={class:"app-container_title"},c0={class:"app-container_status-label_block"},p0=Ht(()=>t("em",null,null,-1)),f0={class:"app-container_status-container"},m0={class:"app-container_title"},b0=["title"],v0={class:"DeviceBlock"},g0={class:"app-container_body"},h0=U({props:{homebox:{type:Object}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=ze(),u=()=>{Ca()},s=()=>{Ya()},c=tt(()=>d.status),_=tt(()=>d.deviceList),v=E(!1),p=E(!1),f=E(!1),m=vt({portList:[],load:!1}),h=B=>{switch(B){case"pppoe":return i("\u62E8\u53F7\u4E0A\u7F51");case"static":return i("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return B&&B.toUpperCase()},k=B=>{switch(B){case"manual":return i("\u624B\u52A8\u914D\u7F6E");case"auto":return i("\u81EA\u52A8\u83B7\u53D6");default:return""}},x=()=>{(m.load&&document.hidden?Promise.resolve():O.Network.PortList.GET().then(B=>{if(B!=null&&B.data){const{result:$}=B==null?void 0:B.data;$&&(m.portList=$.ports||[])}})).finally(()=>{m.load=!0,setTimeout(x,1e4)})};x();const w=Pt.stampForm,b=()=>{v.value=!v.value},g=()=>{p.value=!p.value},y=()=>{f.value=!f.value},F=()=>{b(),Ct.installAndGo("app-meta-nlbwmon",i("\u5E26\u5BBD\u76D1\u63A7"),"/cgi-bin/luci/admin/services/nlbw")},Y=()=>L(this,null,function*(){var B,$,S;if(g(),yield Ct.checkAndInstallApp("app-meta-homebox","Homebox"))try{const V=yield O.Network.Homebox.Enable.POST();($=(B=V==null?void 0:V.data)==null?void 0:B.result)!=null&&$.port?Ss({port:V.data.result.port,setup:0}):((S=V==null?void 0:V.data)==null?void 0:S.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":C.Warning(i("\u542F\u52A8\u5931\u8D25"))}catch(V){C.Warning(i("\u542F\u52A8\u5931\u8D25"))}}),A=()=>{g(),Ct.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return(B,$)=>{var V,N;const S=ut("router-link");return r(),l(G,null,[t("div",kd,[t("div",wd,[t("div",yd,[e(c)!=null?(r(),l(G,{key:0},[e(c).networkInfo=="netSuccess"?(r(),l("div",Fd,[Ed,t("div",Cd,[t("span",$d,n(e(i)("\u5DF2\u8054\u7F51")),1),t("span",Dd,n(e(w)(e(c).uptimeStamp)),1)])])):e(c).networkInfo=="dnsFailed"?(r(),l("div",Bd,[Yd,t("div",Ad,[t("span",Sd,n(e(i)("DNS\u9519\u8BEF")),1),t("span",zd,n(e(w)(e(c).uptimeStamp)),1),t("div",{onClick:u,class:"container_configure"},n(e(i)("DNS\u914D\u7F6E")),1)])])):e(c).networkInfo=="softSourceFailed"?(r(),l("div",Pd,[Td,t("div",Id,[t("span",Ld,n(e(i)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1),t("span",Md,n(e(w)(e(c).uptimeStamp)),1),t("div",{onClick:s,class:"container_configure"},n(e(i)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])])):e(c).networkInfo=="netFailed"?(r(),l("div",Nd,[Od,t("div",Vd,[t("span",Gd,n(e(i)("\u672A\u8054\u7F51")),1),t("span",jd,n(e(w)(e(c).uptimeStamp)),1)])])):(r(),l("div",qd,[Ud,t("div",Rd,[t("span",Wd,n(e(i)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):D("",!0)])]),t("div",Hd,[t("div",Zd,[t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u8BBE\u5907\u4FE1\u606F")},[z(Vt,{onClick:b})],8,Jd),T(t("div",Kd,[t("div",{class:"menu_background",onClick:b}),t("ul",null,[t("li",null,[z(S,{to:"/devicemanagement"},{default:R(()=>[it(n(e(i)("\u8BBE\u5907\u7BA1\u7406")),1)]),_:1})]),t("li",null,[t("a",{onClick:F},n(e(i)("\u5E26\u5BBD\u76D1\u63A7")),1)])])],512),[[Yt,v.value]]),t("div",Qd,[Xd,t("div",t0,[t("span",e0,n(((N=(V=e(_))==null?void 0:V.devices)==null?void 0:N.length)||0),1),t("span",a0,n(e(i)("\u5DF2\u8FDE\u63A5\u8BBE\u5907")),1)])])])])]),o0,t("div",n0,[t("span",{class:"more_icon",title:e(i)("\u6D4B\u901F")},[z(Vt,{onClick:g})],8,i0),T(t("div",r0,[t("div",{class:"menu_background",onClick:g}),t("ul",null,[t("li",null,[t("a",{onClick:Y},n(e(i)("\u5185\u7F51\u6D4B\u901F")),1)]),t("li",null,[t("a",{onClick:A},n(e(i)("\u5916\u7F51\u6D4B\u901F")),1)])])],512),[[Yt,p.value]]),t("div",s0,[t("span",null,n(e(i)("IP\u5730\u5740"))+"\uFF08"+n(e(c).defaultInterface)+"\uFF09",1)]),t("div",d0,[t("span",null," IPv4: "+n(e(c).ipv4addr)+" \uFF08"+n(h(e(c).proto||""))+"\uFF09 ",1)]),t("div",l0,[t("span",null,"IPv6: "+n(e(c).ipv6addr),1)]),t("div",u0,[t("span",null,"DNS\uFF08"+n(k(e(c).dnsProto))+"\uFF09",1)]),(r(!0),l(G,null,et(e(c).dnsList,P=>(r(),l("div",c0,[t("span",null,n(P),1)]))),256))]),p0,t("div",f0,[t("div",m0,[t("span",null,n(e(i)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F")},[z(Vt,{onClick:y})],8,b0),T(t("div",v0,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[z(S,{to:"/interfaceconfig"},{default:R(()=>[it(n(e(i)("\u7F51\u53E3\u914D\u7F6E")),1)]),_:1})])])],512),[[Yt,f.value]])]),t("div",g0,[e(m).load?(r(),K(Rs,{key:0,portList:e(m).portList},null,8,["portList"])):D("",!0)])])],64)}}});var _0=M(h0,[["__scopeId","data-v-51765cb0"]]);const x0={class:"network-container"},k0={class:"network-container_flow"},w0={class:"network-container_flow-container"},y0={class:"network-container_status"},F0=U({setup(o){return(i,a)=>(r(),l("div",x0,[t("div",k0,[t("div",w0,[z(pr)])]),t("div",y0,[z(_0)])]))}});var E0=M(F0,[["__scopeId","data-v-2d777a95"]]);const C0={},$0={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},D0=t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),B0=[D0];function Y0(o,i){return r(),l("svg",$0,B0)}var Tt=M(C0,[["render",Y0]]);const A0={},S0={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},z0=Wt('',1),P0=[z0];function T0(o,i){return r(),l("svg",S0,P0)}var na=M(A0,[["render",T0]]);const I0={},L0={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},M0=Wt('',1),N0=[M0];function O0(o,i){return r(),l("svg",L0,N0)}var V0=M(I0,[["render",O0]]);const He=o=>(rt("data-v-3dae3be2"),o=o(),st(),o),G0=["onSubmit"],j0={class:"action-header"},q0={class:"action-header_title"},U0={class:"action-body"},R0={class:"disk-info"},W0=He(()=>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)),H0={key:0,class:"disk-info_mount-name"},Z0={key:1,class:"disk-info_mount-name"},J0={key:0,class:"label-item"},K0={class:"label-item_key"},Q0={class:"label-item_path"},X0={class:"label-item"},tl={class:"label-item_key"},el={class:"label-item_value"},al=["disabled"],ol={key:0,value:""},nl={value:"format"},il={key:1,value:"default"},rl={class:"label-item_value"},sl={key:0,class:"msg"},dl={key:1,class:"msg"},ll={class:"action-footer"},ul=He(()=>t("div",{class:"auto"},null,-1)),cl=["disabled"],pl=["disabled"],fl={key:1,class:"action result"},ml={class:"action-body"},bl=He(()=>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)),vl={class:"action-body_msg"},gl={key:0,class:"action-body_info"},hl={key:1,class:"action-body_info"},_l={class:"btns"},xl=U({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close&&i.Close()},s=F=>{F.preventDefault(),i.Cancel&&i.Cancel(),u()},c=F=>{i.Next&&i.Next(F),u()},_=E(!1),v=E(0),p=F=>{v.value=F},f=E(i.action=="nas"?"":"format"),m=E(),h=E(),k=()=>{switch(f.value){case"format":w();return;case"default":x();return;default:C.Warning(a("\u8BF7\u9009\u62E9\u9009\u9879"));return}},x=()=>{let F="";const Y=i.mount;if(Y!=null&&Y.mountPoint!=null&&(F=Y.mountPoint),F!=""){c(F);return}C.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},w=()=>{const F=i.disk,Y=i.mount;if(Y){const A=Y.mountPoint||Y.path;if(!confirm(a("\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A %{partname} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{partname:A||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:A||""})))return;g(Y);return}if(F){if(!confirm(a("\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 %{model} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{model:F.venderModel||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;b(F);return}C.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},b=F=>L(this,null,function*(){if(F.name==null||F.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(F.path==null||F.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}_.value=!0;const Y=C.Loading(a("\u521D\u59CB\u5316\u4E2D..."));try{const A=yield O.Nas.Disk.Init.POST({name:F.name,path:F.path});if(A!=null&&A.data){const{result:B,error:$}=A==null?void 0:A.data;$&&C.Warning($),B&&(B.errorInfo?C.Warning(B.errorInfo):(C.Success(a("\u521D\u59CB\u5316\u6210\u529F")),B.childrens&&B.childrens.length>0&&(h.value=B.childrens[0]),m.value=B,p(1)))}}catch(A){C.Error(A)}Y.Close(),_.value=!1}),g=F=>L(this,null,function*(){if(F.path==null||F.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}_.value=!0;const Y=C.Loading(a("\u683C\u5F0F\u5316\u4E2D..."));try{const A=yield O.Nas.Disk.Partition.Format.POST({path:F.path,uuid:F.uuid,mountPoint:F.mountPoint});if(A!=null&&A.data){const{result:B,error:$}=A==null?void 0:A.data;$&&C.Warning($),B&&(C.Success(a("\u683C\u5F0F\u5316\u6210\u529F")),h.value=B,p(1))}}catch(A){C.Error(A)}Y.Close(),_.value=!1}),y=()=>{if(h.value&&h.value.mountPoint){c(h.value.mountPoint);return}C.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(F,Y)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>{var A;return[v.value==0?(r(),l("form",{key:0,class:"action format",onSubmit:mt(k,["prevent"])},[t("div",j0,[t("div",q0,n(e(a)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",U0,[t("div",R0,[W0,o.mount?(r(),l("div",H0,[t("span",null,"\u3010"+n(o.mount.total)+"\u3011",1),t("span",null,n(o.mount.mountPoint||o.mount.path),1)])):o.disk?(r(),l("div",Z0,[t("span",null,"\u3010"+n(o.disk.size)+"\u3011",1),t("span",null,n(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),l("div",J0,[t("div",K0,[t("span",null,n(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Q0,n(o.mount.mountPoint||o.mount.path)+"\uFF08"+n(o.mount.total)+"\uFF09",1)])):D("",!0),t("div",X0,[t("div",tl,[t("span",null,n(e(a)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",el,[T(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=B=>f.value=B),required:"",disabled:o.action=="disk"},[o.mount!=null?(r(),l("option",ol,n(e(a)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):D("",!0),t("option",nl,n(e(a)("\u683C\u5F0F\u5316")),1),o.mount!=null?(r(),l("option",il,n(e(a)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):D("",!0)],8,al),[[dt,f.value]])]),t("div",rl,[f.value=="format"?(r(),l("p",sl,n(e(a)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):f.value=="default"?(r(),l("p",dl)):D("",!0)])])]),t("div",ll,[ul,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button",disabled:_.value},n(e(a)("\u8FD4\u56DE")),9,cl),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:_.value},n(e(a)("\u4E0B\u4E00\u6B65")),9,pl)])],40,G0)):v.value==1?(r(),l("div",fl,[t("div",ml,[bl,t("div",vl,n(e(a)("\u683C\u5F0F\u5316\u6210\u529F")),1),m.value?(r(),l("div",gl,[it(n(e(a)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+n(m.value.venderModel)+" "+n(e(a)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,n((A=h.value)==null?void 0:A.mountPoint),1)])):D("",!0),h.value?(r(),l("div",hl,[it(n(e(a)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,n(h.value.mountPoint),1)])):D("",!0),t("div",_l,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},n(o.action=="nas"?e(a)("\u4E0B\u4E00\u6B65"):e(a)("\u5B8C\u6210")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var kl=M(xl,[["__scopeId","data-v-3dae3be2"]]),Ze=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(kl,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const Te=o=>(rt("data-v-5f5fb500"),o=o(),st(),o),wl=["onSubmit"],yl=Te(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),Fl={class:"action-body"},El={class:"disk-info"},Cl=Te(()=>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)),$l={key:0,class:"disk-info_mount-name"},Dl={key:1,class:"disk-info_mount-name"},Bl={key:0,class:"label-item"},Yl={class:"label-item_key"},Al={class:"label-item_path"},Sl={class:"label-item"},zl={class:"label-item_key"},Pl={class:"label-item_value"},Tl={class:"action-footer"},Il=Te(()=>t("div",{class:"auto"},null,-1)),Ll=["disabled"],Ml=["disabled"],Nl={key:1,class:"action result"},Ol={class:"action-body"},Vl=Te(()=>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)),Gl={class:"action-body_msg"},jl=["innerHTML"],ql={class:"btns"},Ul=U({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var w;const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close&&i.Close()},s=b=>{b.preventDefault(),i.Cancel&&i.Cancel(),u()},c=b=>{i.Next&&i.Next(b),u()},_=E(!1),v=E(0),p=E("/mnt/data_"+((w=i==null?void 0:i.mount)==null?void 0:w.name)),f=b=>{v.value=b};E(i.mount?"":"format"),E();const m=E(),h=()=>L(this,null,function*(){const b=i.mount;if(b==null){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(b.path==null||b.path==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(b.uuid==null||b.uuid==""){C.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}_.value=!0;const g=C.Loading(a("\u6302\u8F7D\u4E2D..."));try{const y=yield O.Nas.Disk.Partition.Mount.POST({path:b.path,uuid:b.uuid,mountPoint:p.value});if(y!=null&&y.data){const{result:F,error:Y}=y==null?void 0:y.data;Y&&C.Warning(Y),F&&(C.Success(a("\u6302\u8F7D\u6210\u529F")),m.value=F,f(1))}}catch(y){C.Error(y)}g.Close(),_.value=!1}),k=()=>{if(m.value&&m.value.mountPoint){c(m.value.mountPoint);return}C.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},x=()=>{};return(b,g)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>{var y,F;return[v.value==0?(r(),l("form",{key:0,class:"action format",onSubmit:mt(x,["prevent"])},[yl,t("div",Fl,[t("div",El,[Cl,o.mount?(r(),l("div",$l,[t("span",null,"\u3010"+n(o.mount.total)+"\u3011",1),t("span",null,n(o.mount.mountPoint),1)])):o.disk?(r(),l("div",Dl,[t("span",null,"\u3010"+n(o.disk.size)+"\u3011",1),t("span",null,n(o.disk.venderModel),1)])):D("",!0)]),o.mount?(r(),l("div",Bl,[t("div",Yl,[t("span",null,n(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Al,n(o.mount.path)+"\uFF08"+n(o.mount.total)+"\uFF0C"+n((F=(y=o.mount)==null?void 0:y.filesystem)==null?void 0:F.toUpperCase())+"\uFF09",1)])):D("",!0),t("div",Sl,[t("div",zl,[t("span",null,n(e(a)("\u6302\u8F7D\u70B9")),1)]),t("div",Pl,[T(t("input",{type:"text","onUpdate:modelValue":g[0]||(g[0]=Y=>p.value=Y)},null,512),[[ot,p.value,void 0,{trim:!0}]])])])]),t("div",Tl,[Il,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:_.value,onClick:h},n(e(a)("\u786E\u5B9A")),9,Ll),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button",disabled:_.value},n(e(a)("\u8FD4\u56DE")),9,Ml)])],40,wl)):v.value==1?(r(),l("div",Nl,[t("div",Ol,[Vl,t("div",Gl,n(e(a)("\u6302\u8F7D\u6210\u529F")),1),m.value?(r(),l("div",{key:0,class:"action-body_info",innerHTML:e(a)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:m.value.path||"",mount:m.value.mountPoint||""},!0)},null,8,jl)):D("",!0),t("div",ql,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:k},n(o.action=="nas"?e(a)("\u5B8C\u6210"):e(a)("\u4E0B\u4E00\u6B65")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var Rl=M(Ul,[["__scopeId","data-v-5f5fb500"]]),Aa=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(Rl,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const Wl={class:"disk-content"},Hl={class:"disk-item"},Zl={class:"disk-item_name"},Jl={key:0},Kl={key:1},Ql={key:2},Xl={class:"disk_value"},tu={class:"disk-item_value"},eu={class:"value-data"},au={key:0,class:"disk-item"},ou={class:"disk-item_name"},nu={key:0},iu=["href"],ru={key:0},su={class:"disk_status"},du={key:0,class:"disk_status_item"},lu={key:0,class:"tooltip-trigger disk_tip"},uu={class:"tooltip-text tooltip-top"},cu={class:"disk_dir_tip"},pu={class:"disk_status_item"},fu={key:0,class:"tooltip-trigger disk_tip"},mu={class:"tooltip-text tooltip-top"},bu={class:"disk_dir_tip"},vu=U({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>i.part.filesystem=="No FileSystem"),s=tt(()=>i.part.filesystem&&["ntfs","vfat","exfat"].indexOf(i.part.filesystem)>=0),c=tt(()=>i.part.mountPoint&&i.part.isReadOnly&&i.part.filesystem!="swap"),_=tt(()=>u.value||!i.part.isSystemRoot&&(c.value||s.value||!i.part.mountPoint&&i.part.filesystem=="swap")),v=function(){Ze({action:"disk",disk:i.disk,mount:i.part,Cancel:()=>{},Next:k=>{location.reload()}})},p=()=>{Aa({action:"nas",disk:i.disk,mount:i.part,Cancel:()=>{},Next:()=>{location.reload()}})},f=()=>L(this,null,function*(){const k=C.Loading(a("\u5904\u7406\u4E2D..."));try{const x=yield O.Nas.Disk.InitRest.POST({name:i.disk.name,path:i.disk.path});if(x!=null&&x.data){const{result:w,error:b}=x==null?void 0:x.data;b&&C.Warning(b),w&&(C.Success(a("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(x){C.Error(x)}k.Close()}),m=tt(()=>i.part.filesystem=="Free Space"),h=tt(()=>{const k=i.part.mountPoint?i.part.mountPoint:"";return k.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+k.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+k});return(k,x)=>{var b;const w=ut("progress-item");return r(),l("div",Wl,[t("li",Hl,[t("div",Zl,[e(m)?(r(),l("span",Jl,n(e(a)("\u672A\u5206\u533A")),1)):(r(),l("span",Kl,n(o.part.name)+n(o.part.mountPoint?"":e(u)?e(a)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(a)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(r(),l("span",Ql,n(e(a)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):D("",!0)]),t("div",Xl,[t("div",tu,[t("div",eu,[z(w,{value:e(m)||!o.part.usage?0:o.part.usage,text:e(m)?e(a)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(a)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(m)?(r(),l("button",{key:0,class:"cbi-button cbi-button-apply",onClick:f},n(e(a)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(_)?(r(),l("button",{key:1,class:"cbi-button cbi-button-apply",onClick:v},n(e(a)("\u683C\u5F0F\u5316\u5206\u533A")),1)):D("",!0)])]),!e(m)&&!e(u)?(r(),l("li",au,[t("span",ou,[o.part.mountPoint?(r(),l(G,{key:0},[o.part.filesystem=="swap"?(r(),l("span",nu,n(e(a)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(r(),l("a",{key:1,href:e(h),target:"_blank"},n(o.part.mountPoint),9,iu))],64)):(r(),l(G,{key:1},[o.part.filesystem=="swap"?(r(),l("span",ru,n(e(a)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(r(),l("span",{key:1,class:"value-data buttondiv",onClick:p},n(e(a)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",su,[o.part.mountPoint&&o.part.filesystem!="swap"?(r(),l("div",du,[t("div",null,n(e(a)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+n(o.part.isReadOnly?e(a)("\u53EA\u8BFB"):e(a)("\u8BFB\u5199")),1),e(c)?(r(),l("div",lu,[z(Tt),t("div",uu,[t("div",cu,n(e(a)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):D("",!0)])):D("",!0),t("div",pu,[t("div",null,n(e(a)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+n((b=o.part.filesystem)==null?void 0:b.toUpperCase()),1),!o.part.isSystemRoot&&e(s)?(r(),l("div",fu,[z(Tt),t("div",mu,[t("span",bu,n(e(a)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):D("",!0)])])])):D("",!0)])}}});var gu=M(vu,[["__scopeId","data-v-4e7285ca"]]);const hu=o=>(rt("data-v-56d0d562"),o=o(),st(),o),_u={key:0,class:"action"},xu={class:"title"},ku={class:"app-container_info"},wu={class:"app-container_body"},yu={class:"action-footer"},Fu=hu(()=>t("div",{class:"auto"},null,-1)),Eu=U({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=()=>{i.Close&&i.Close()},c=_=>{_.preventDefault(),i.Cancel&&i.Cancel(),s()};return(_,v)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[u.value==0?(r(),l("div",_u,[t("h2",xu,n(e(a)("\u5206\u533A\u4FE1\u606F"))+" - "+n((o.disk.name||"?")+(o.disk.isSystemRoot?e(a)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",ku,[t("span",null,n(e(a)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,n(e(a)("\u5BB9\u91CF")),1)]),t("div",wu,[(r(!0),l(G,null,et(o.disk.childrens,(p,f)=>(r(),K(gu,{key:f,part:p,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",yu,[Fu,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c,type:"button"},n(e(a)("\u8FD4\u56DE")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"]))}});var Cu=M(Eu,[["__scopeId","data-v-56d0d562"]]),$u=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(Cu,bt(lt({},o),{Close:()=>{d()}}));a.component("progress-item",wa),a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const Du={key:0,class:"disk-item error"},Bu=["title"],Yu={class:"disk-item_value"},Au={class:"value-data"},Su={class:"error"},zu={key:1,class:"disk-item"},Pu=["title"],Tu={key:0,class:"disk_value"},Iu={class:"value-data"},Lu={href:"/cgi-bin/luci/admin/nas/smart"},Mu={class:"error"},Nu={key:1,class:"disk_value"},Ou={class:"disk-item_value"},Vu={class:"value-data"},Gu={class:"disk-item-tooltip"},ju={class:"disk_icon"},qu={key:0,class:"tooltip-trigger"},Uu={class:"disk_tip"},Ru={class:"tooltip-text tooltip-top"},Wu={class:"disk_dir_tip"},Hu={key:1,class:"tooltip-trigger"},Zu={class:"disk_tip"},Ju={class:"tooltip-text tooltip-top"},Ku={class:"disk_dir_tip"},Qu={key:2,class:"disk-item load"},Xu=["title"],tc={class:"disk_value"},ec={class:"disk-item_value"},ac={class:"value-data"},oc={key:3,class:"disk-item load"},nc=["title"],ic={class:"disk_value"},rc={key:0,class:"disk-item_value"},sc={class:"value-data"},dc={class:"disk_icon"},lc=U({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>i.disk.errorInfo?"error":i.disk.childrens==null||i.disk.childrens.length==0||i.disk.childrens.length==1&&i.disk.childrens[0].filesystem=="No FileSystem"?"load":i.disk.childrens.filter(f=>f.mountPoint).length==0?"unmounted":"success"),s=tt(()=>{const f=i.disk;let m=f.name;return f.size&&(m+=`\u3010${f.size}\u3011`),f.venderModel&&(m+=`(${f.venderModel})`),m}),c=tt(()=>{var m;const f=i.disk;return!f.isSystemRoot&&(((m=f.childrens)==null?void 0:m.filter(h=>h.isReadOnly&&h.filesystem!="swap").length)||0)>0}),_=()=>{Ze({action:"disk",disk:i.disk,Cancel:()=>{},Next:()=>{location.reload()}})},v=()=>{$u({action:"disk",disk:i.disk,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>{const f=i.disk,m=f.childrens||[];Aa({action:"nas",disk:f,mount:m[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(f,m)=>{var k,x,w;const h=ut("progress-item");return e(u)=="error"?(r(),l("li",Du,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,Bu),t("div",Yu,[t("div",Au,[t("span",Su,n(o.disk.errorInfo),1)])])])):e(u)=="success"?(r(),l("li",zu,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,Pu),o.disk.smartWarning&&o.smartWarning?(r(),l("div",Tu,[t("div",Iu,[t("a",Lu,[t("span",Mu,n(e(a)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(r(),l("div",Nu,[t("div",Ou,[t("div",Vu,[z(h,{value:o.disk.usage||0,text:`${o.disk.used}/${o.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),t("div",Gu,[t("span",null,n(e(a)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",ju,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(r(),l("span",qu,[t("span",Uu,[z(Tt)]),t("div",null,[t("div",Ru,[t("span",Wu,n(e(a)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):D("",!0),e(c)?(r(),l("span",Hu,[t("span",Zu,[z(Tt)]),t("div",null,[t("div",Ju,[t("span",Ku,n(e(a)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):D("",!0),e(c)&&((k=o.disk.childrens)==null?void 0:k.length)==1?(r(),l("span",{key:2,class:"disk_infoicon",onClick:m[0]||(m[0]=b=>_())},[z(V0)])):D("",!0),t("span",{class:"disk_infoicon",onClick:m[1]||(m[1]=b=>v())},[z(na)])])]))])):e(u)=="load"?(r(),l("li",Qu,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,Xu),t("div",tc,[t("div",ec,[t("div",ac,[t("button",{onClick:m[2]||(m[2]=b=>_())},n(e(a)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(u)=="unmounted"?(r(),l("li",oc,[t("div",{class:"disk-item_name",title:e(s)},[t("span",null,n(e(s)),1)],8,nc),t("div",ic,[((x=o.disk.childrens)==null?void 0:x.length)==1?(r(),l("div",rc,[t("div",sc,[o.disk.childrens[0].filesystem=="swap"?(r(),l("button",{key:0,onClick:m[3]||(m[3]=b=>v())},n(e(a)("\u67E5\u770B\u8BE6\u60C5")),1)):(r(),l("button",{key:1,onClick:m[4]||(m[4]=b=>p())},n(e(a)("\u624B\u52A8\u6302\u8F7D")),1))])])):D("",!0),t("div",dc,[(((w=o.disk.childrens)==null?void 0:w.length)||0)>1?(r(),l("span",{key:0,class:"disk_infoicon",onClick:m[5]||(m[5]=b=>v())},[z(na)])):D("",!0)])])])):D("",!0)}}});var Ve=M(lc,[["__scopeId","data-v-5e9b583e"]]);const uc=o=>(rt("data-v-2b8c3ff1"),o=o(),st(),o),cc={class:"app-container"},pc={class:"app-container_title"},fc={class:"disk_info"},mc={class:"app-container_tool"},bc=["title"],vc={class:"DeviceBlock"},gc={href:"/cgi-bin/luci/admin/nas/raid"},hc=uc(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),_c={href:"/cgi-bin/luci/admin/system/diskman"},xc={href:"/cgi-bin/luci/admin/system/mounts"},kc={key:0},wc={class:"disk_loading_icon"},yc={class:"disk_loading_info"},Fc={key:1},Ec={class:"app-container_info"},Cc={class:"app-container_body"},$c={key:2},Dc={class:"app-container_info"},Bc={class:"app-container_body"},Yc={key:3},Ac={class:"app-container_info"},Sc={class:"app-container_body"},zc=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=E(!1),u=vt({disks:null,raidList:null}),s=()=>{O.Nas.Disk.Status.GET().then(p=>{var f;if((f=p==null?void 0:p.data)!=null&&f.result){const m=p.data.result;u.disks=m.disks||[]}})};(()=>L(this,null,function*(){try{const p=yield O.Raid.List.GET();if(p!=null&&p.data){const{success:f,error:m,result:h}=p.data;if(h&&(u.raidList=h.disks||[]),m)throw m}}catch(p){console.log(p)}}))(),s();const _=()=>{d.value=!d.value},v=()=>{Ct.installAndGo("luci-app-linkease",i("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(p,f)=>{var k,x;const m=ut("GlHelp"),h=ut("icon-loading");return r(),l("div",cc,[t("ul",null,[t("li",null,[t("div",pc,[t("span",fc,[it(n(e(i)("\u78C1\u76D8\u4FE1\u606F"))+" ",1),z(m,{type:"disk"})]),t("div",mc,[t("div",{class:"app-container_configure",onClick:v},n(e(i)("\u6587\u4EF6\u7BA1\u7406")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F")},[z(Vt,{onClick:_})],8,bc)]),T(t("div",vc,[t("div",{class:"menu_background",onClick:_}),t("ul",null,[t("li",null,[t("a",gc,n(e(i)("RAID\u7BA1\u7406")),1)]),hc,t("li",null,[t("a",_c,n(e(i)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("li",null,[t("a",xc,n(e(i)("\u6302\u8F7D\u70B9")),1)])])],512),[[Yt,d.value]])])]),!e(u).disks&&!e(u).raidList?(r(),l("li",kc,[t("div",wc,[z(h,{size:38,color:"currentColor"}),t("span",yc,n(e(i)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])])):D("",!0),e(u).disks?(r(),l("li",Fc,[t("div",Ec,[t("span",null,n(e(i)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",Cc,[(r(!0),l(G,null,et((k=e(u).disks)==null?void 0:k.filter(w=>w.isSystemRoot),(w,b)=>(r(),K(Ve,{key:b,disk:w},null,8,["disk"]))),128))])])):D("",!0),e(u).disks?(r(),l("li",$c,[t("div",Dc,[t("span",null,n(e(i)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",Bc,[(r(!0),l(G,null,et((x=e(u).disks)==null?void 0:x.filter(w=>!w.isSystemRoot),(w,b)=>(r(),K(Ve,{key:b,disk:w,smartWarning:!0},null,8,["disk"]))),128))])])):D("",!0),e(u).raidList&&e(u).raidList.length>0?(r(),l("li",Yc,[t("div",Ac,[t("span",null,n(e(i)("RAID\u8BBE\u5907")),1)]),t("div",Sc,[(r(!0),l(G,null,et(e(u).raidList,(w,b)=>(r(),K(Ve,{key:b,disk:w},null,8,["disk"]))),128))])])):D("",!0)])])}}});var Pc=M(zc,[["__scopeId","data-v-2b8c3ff1"]]);const Tc={class:"app-container_samba"},Ic={key:0,class:"sambas-item"},Lc={class:"sambas-item_name"},Mc={class:"sambas-item_value"},Nc={class:"sambas-item"},Oc={class:"sambas-item_name tit"},Vc={class:"sambas-item_value tit"},Gc={class:"samba-item"},jc={class:"samba-item_name"},qc=["title"],Uc=["href"],Rc=U({props:{sambas:{type:Array}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=window.location.hostname;return(u,s)=>{var c;return r(),l("ul",Tc,[o.sambas?(r(),l("li",Ic,[t("div",Lc,[t("span",null,n(e(i)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Mc,[t("span",null,n((c=o.sambas)!=null&&c.length?e(i)("\u5DF2\u542F\u7528"):e(i)("\u672A\u542F\u7528")),1)])])):D("",!0),t("li",Nc,[t("div",Oc,[t("span",null,n(e(i)("\u5730\u5740")),1)]),t("div",Vc,[t("span",null,n(e(i)("\u76EE\u5F55")),1)])]),(r(!0),l(G,null,et(o.sambas,_=>(r(),l("li",Gc,[t("div",jc,[t("span",null,"smb://"+n(e(d))+"/"+n(_.shareName),1)]),t("div",{class:"samba-item_value",title:_.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+_.path},n(_.path),9,Uc)],8,qc)]))),256))])}}});var Wc=M(Rc,[["__scopeId","data-v-8166802a"]]);const Hc={class:"webdav-item"},Zc={class:"webdav-item_name"},Jc={class:"webdav-item_value"},Kc={key:0,class:"webdav-item"},Qc={class:"webdav-item_name"},Xc={class:"webdav-item_value"},t1=["href"],e1={key:1,class:"webdav-item"},a1={class:"webdav-item_name"},o1={class:"webdav-item_value"},n1=["href"],i1={key:2,class:"webdav-item"},r1={class:"webdav-item_name"},s1={class:"webdav-item_value"},d1=U({props:{webdav:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var s;return`http://${location.hostname}:${(s=i.webdav)==null?void 0:s.port}`});return(s,c)=>{var _,v,p,f,m,h,k;return r(),l(G,null,[t("li",Hc,[t("div",Zc,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Jc,[t("span",null,n((_=o.webdav)!=null&&_.path?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])]),(v=o.webdav)!=null&&v.path?(r(),l("li",Kc,[t("div",Qc,[t("span",null,n(e(a)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",Xc,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.webdav)==null?void 0:p.path)},n((f=o.webdav)==null?void 0:f.path),9,t1)])])):D("",!0),(m=o.webdav)!=null&&m.port?(r(),l("li",e1,[t("div",a1,[t("span",null,n(e(a)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",o1,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,n1)])])):D("",!0),(h=o.webdav)!=null&&h.username?(r(),l("li",i1,[t("div",r1,[t("span",null,n(e(a)("\u8D26\u53F7:")),1)]),t("div",s1,[t("span",null,n((k=o.webdav)==null?void 0:k.username),1)])])):D("",!0)],64)}}});var l1=M(d1,[["__scopeId","data-v-45def11c"]]);const Je=o=>(rt("data-v-0bd83418"),o=o(),st(),o),u1={class:"disk-item"},c1=Je(()=>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)),p1={class:"disk-item_f"},f1={class:"disk-item_venderModel"},m1={class:"disk-item_used"},b1=Je(()=>t("div",{class:"auto"},null,-1)),v1={class:"disk-item-r"},g1={class:"disk-children"},h1=["onClick"],_1=Je(()=>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)),x1={key:0},k1={key:1},w1=U({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var c,_;const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1);i.currDisk!=null&&((c=i.currDisk)==null?void 0:c.venderModel)==((_=i.disk)==null?void 0:_.venderModel)&&(u.value=!0);const s=v=>{u.value=!u.value,i.onDisk(v,null)};return(v,p)=>{var f;return r(),l("ul",u1,[t("li",{class:pt(["disk-info",{on:o.disk.venderModel==((f=o.currDisk)==null?void 0:f.venderModel),nopoint:o.disk.childrens==null||o.disk.childrens.length==0}]),onClick:p[0]||(p[0]=m=>s(o.disk))},[c1,t("div",p1,[t("div",f1,n(o.disk.venderModel),1),t("div",m1,n(o.disk.used)+"/"+n(o.disk.size),1)]),b1,t("div",v1,n(o.disk.path),1)],2),T(t("div",g1,[(r(!0),l(G,null,et(o.disk.childrens,m=>{var h,k;return r(),l("li",{class:pt(["disk-children_item",{on:m.uuid==((h=o.currMountPoint)==null?void 0:h.uuid)&&m.path==((k=o.currMountPoint)==null?void 0:k.path)}]),onClick:x=>o.onDisk(o.disk,m)},[_1,m.mountPoint?(r(),l("span",x1," \u3010"+n(m.filesystem)+"\u3011 "+n(m.mountPoint)+" \uFF08"+n(m.used)+"/"+n(m.total)+"\uFF09 ["+n(m.uuid)+"] ",1)):(r(),l("span",k1," \u3010"+n(m.filesystem)+"\u3011 "+n(m.mountPoint||m.path||e(a)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+n(m.uuid)+"] ",1))],10,h1)}),256))],512),[[Yt,u.value]])])}}});var ia=M(w1,[["__scopeId","data-v-0bd83418"]]);const y1=o=>(rt("data-v-b222ef5e"),o=o(),st(),o),F1={class:"action list"},E1={class:"action-header"},C1={class:"action-header_title"},$1={class:"action-body"},D1={class:"disk-list"},B1={class:"action-msg"},Y1={href:"/cgi-bin/luci/admin/system/diskman"},A1={class:"action-footer"},S1=y1(()=>t("div",{class:"auto"},null,-1)),z1=U({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!0),s=vt({disks:[],raids:[]});(()=>L(this,null,function*(){const x=yield Promise.all([O.Nas.Disk.Status.GET(),O.Raid.List.GET()]);try{if(x[0]){const w=x[0];w!=null&&w.data.result&&(s.disks=(w==null?void 0:w.data.result.disks)||[])}if(x[1]){const w=x[1];w.data.result&&(s.raids=w.data.result.disks||[])}}catch(w){C.Warning(w)}}))();const _=E(),v=E(),p=(x,w)=>{_.value=x,v.value=w},f=()=>{i.Close&&i.Close()},m=()=>{i.Cancel&&i.Cancel(),f()},h=x=>{i.Next&&i.Next(x),f()},k=()=>{if(_.value==null){C.Warning(a("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(_.value.childrens!=null&&_.value.childrens.length>0&&v.value==null){C.Warning(a("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(v.value!=null&&(v.value.mountPoint==null||v.value.mountPoint=="")){C.Warning(a("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}u.value=!1,Ze({action:"nas",disk:_.value,mount:v.value,Cancel:()=>{u.value=!0},Next:x=>{h(x)}})};return(x,w)=>u.value?(r(),K(_t,{key:0,type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("div",F1,[t("div",E1,[t("div",C1,n(e(a)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",$1,[t("div",D1,[(r(!0),l(G,null,et(e(s).disks,b=>(r(),K(ia,{disk:b,onDisk:p,currDisk:_.value,currMountPoint:v.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(r(!0),l(G,null,et(e(s).raids,b=>(r(),K(ia,{disk:b,onDisk:p,currDisk:_.value,currMountPoint:v.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",B1,[t("span",null,[it(n(e(a)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",Y1,n(e(a)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",A1,[S1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m,type:"button"},n(e(a)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k,type:"button"},n(e(a)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):D("",!0)}});var P1=M(z1,[["__scopeId","data-v-b222ef5e"]]),T1=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(P1,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const I1=o=>(rt("data-v-45926ac6"),o=o(),st(),o),L1={class:"action"},M1={class:"action-body"},N1=I1(()=>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)),O1={class:"title"},V1={class:"info"},G1=["href"],j1={class:"btns"},q1=U({props:{Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(""),s=tt(()=>`http://${location.hostname}:${u.value}`);(()=>{O.Nas.Linkease.Enable.POST().then(v=>{var p,f;(p=v==null?void 0:v.data)!=null&&p.result&&(u.value=((f=v.data.result)==null?void 0:f.port)||"")})})();const _=()=>{i.Close&&i.Close(),location.reload()};return(v,p)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("div",L1,[t("div",M1,[N1,t("h2",O1,n(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",V1,[t("span",null,n(e(a)("\u524D\u5F80")),1),t("a",{href:e(s),target:"_blank",rel:"noopener noreferrer"},n(e(s)),9,G1),t("span",null,n(e(a)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",j1,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},n(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var U1=M(q1,[["__scopeId","data-v-45926ac6"]]),R1=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(U1,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const W1=o=>(rt("data-v-2b3974a4"),o=o(),st(),o),H1=["onSubmit"],Z1={class:"action-header"},J1={class:"action-header_title"},K1={class:"action-body"},Q1={class:"label-item"},X1={class:"label-item_key"},t2={class:"label-item_value"},e2=["value"],a2={class:"label-item"},o2={class:"label-item_key"},n2={class:"label-item_value"},i2=["placeholder"],r2={class:"label-item"},s2={class:"label-item_key"},d2={class:"label-item_value"},l2={class:"action-footer"},u2=W1(()=>t("div",{class:"auto"},null,-1)),c2=["disabled"],p2=["disabled"],f2=U({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=f=>{f.preventDefault(),i.Close&&i.Close()},s=E(!1),c=E({username:"root",password:"",rootPath:i.rootPath});(()=>L(this,null,function*(){const f=C.Loading(a("\u52A0\u8F7D\u4E2D..."));s.value=!0;try{const m=yield O.Nas.Webdav.Status.GET();if(m!=null&&m.data){const{result:h,error:k}=m.data;if(k){C.Warning(k);return}h&&(h.username&&(c.value.username=h.username),h.password&&(c.value.password=h.password))}}catch(m){C.Error(m)}s.value=!1,f.Close()}))();const v=()=>{const f=c.value;if(f.rootPath==""){C.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.username==""){C.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.password==""){C.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}p(f)},p=f=>L(this,null,function*(){s.value=!0;const m=C.Loading(a("\u521B\u5EFA\u4E2D..."));try{const h=yield O.Nas.Webdav.Create.POST(f);if(h!=null&&h.data){const{error:k,result:x}=h.data;k&&C.Warning(k),x&&(C.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(h){C.Error(h)}m.Close(),s.value=!1});return(f,m)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("form",{class:"action",onSubmit:mt(v,["prevent"])},[t("div",Z1,[t("div",J1,n(e(a)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",K1,[t("div",Q1,[t("div",X1,[t("span",null,n(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",t2,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,e2)])]),t("div",a2,[t("div",o2,[t("span",null,n(e(a)("\u7528\u6237\u540D")),1)]),t("div",n2,[T(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":m[0]||(m[0]=h=>c.value.username=h)},null,8,i2),[[ot,c.value.username,void 0,{trim:!0}]])])]),t("div",r2,[t("div",s2,[t("span",null,n(e(a)("\u5BC6\u7801")),1)]),t("div",d2,[T(t("input",{type:"password","onUpdate:modelValue":m[1]||(m[1]=h=>c.value.password=h)},null,512),[[ot,c.value.password,void 0,{trim:!0}]])])])]),t("div",l2,[u2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:s.value},n(e(a)("\u5173\u95ED")),9,c2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},n(e(a)("\u521B\u5EFA")),9,p2)])],40,H1)]),_:1})]),_:1}))}});var m2=M(f2,[["__scopeId","data-v-2b3974a4"]]),b2=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(m2,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const v2=o=>(rt("data-v-88275da0"),o=o(),st(),o),g2=["onSubmit"],h2={class:"action-header"},_2={class:"action-header_title"},x2={class:"action-body"},k2={class:"label-item"},w2={class:"label-item_key"},y2={class:"label-item_value"},F2=["value"],E2={class:"label-item"},C2={class:"label-item_key"},$2={class:"label-item_value"},D2=["placeholder"],B2={class:"label-item"},Y2={class:"label-item_key"},A2={class:"label-item_value"},S2=["placeholder"],z2={class:"label-item"},P2={class:"label-item_key"},T2={class:"label-item_value"},I2={class:"samba-item"},L2={class:"samba-item_allow"},M2={for:"allow",class:"samba-allow"},N2={class:"samba-item_tips"},O2={class:"tooltip-trigger"},V2={class:"samba_tip"},G2={class:"samba_dir_tip"},j2={class:"action-footer"},q2=v2(()=>t("div",{class:"auto"},null,-1)),U2=["disabled"],R2=["disabled"],W2=U({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=p=>{p.preventDefault(),i.Close&&i.Close()},s=E(!1),c=E({shareName:"",username:"",password:"",rootPath:i.rootPath,allowLegacy:!1}),_=()=>{const p=c.value;if(p.rootPath==""){C.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.shareName==""){C.Warning(a("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.username==""){C.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.password==""){C.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const f=Pt.checkSmabaUserName(p.username);if(f!==!0){C.Warning(`${f}`);return}v(p)},v=p=>L(this,null,function*(){s.value=!0;const f=C.Loading(a("\u521B\u5EFA\u4E2D..."));try{const m=yield O.Nas.Samba.Create.POST(p);if(m!=null&&m.data){const{error:h,result:k}=m.data;h&&C.Warning(h),k&&(C.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(m){C.Error(m)}f.Close(),s.value=!1});return(p,f)=>(r(),K(_t,{type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[t("form",{class:"action",onSubmit:mt(_,["prevent"])},[t("div",h2,[t("div",_2,n(e(a)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",x2,[t("div",k2,[t("div",w2,[t("span",null,n(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",y2,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,F2)])]),t("div",E2,[t("div",C2,[t("span",null,n(e(a)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",$2,[T(t("input",{type:"text","onUpdate:modelValue":f[0]||(f[0]=m=>c.value.shareName=m),required:"",placeholder:e(a)("\u5171\u4EAB\u540D\u79F0")},null,8,D2),[[ot,c.value.shareName,void 0,{trim:!0}]])])]),t("div",B2,[t("div",Y2,[t("span",null,n(e(a)("\u7528\u6237\u540D")),1)]),t("div",A2,[T(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":f[1]||(f[1]=m=>c.value.username=m)},null,8,S2),[[ot,c.value.username,void 0,{trim:!0}]])])]),t("div",z2,[t("div",P2,[t("span",null,n(e(a)("\u5BC6\u7801")),1)]),t("div",T2,[T(t("input",{type:"password","onUpdate:modelValue":f[2]||(f[2]=m=>c.value.password=m)},null,512),[[ot,c.value.password,void 0,{trim:!0}]])])]),t("div",I2,[t("div",L2,[T(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":f[3]||(f[3]=m=>c.value.allowLegacy=m)},null,512),[[Rt,c.value.allowLegacy]]),t("label",M2,n(e(a)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",N2,[t("span",O2,[t("span",V2,[z(Tt)]),t("span",G2,n(e(a)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",j2,[q2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:s.value},n(e(a)("\u5173\u95ED")),9,U2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},n(e(a)("\u521B\u5EFA")),9,R2)])],40,g2)]),_:1})]),_:1}))}});var H2=M(W2,[["__scopeId","data-v-88275da0"]]),Z2=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(H2,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const te=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,J2={key:0,class:"action"},K2={class:"title"},Q2={class:"desc"},X2={value:"linkease"},t5={value:"samba"},e5={value:"webdav"},a5=["innerHTML"],o5={class:"btns"},n5=["disabled"],i5=U({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!0),s=E("linkease"),c=E(!1),_=E(i.setup||0),v=()=>{i.Close&&i.Close()},p=()=>L(this,null,function*(){switch(s.value){case"webdav":yield f();break;case"samba":yield h();break;case"linkease":yield m();break}}),f=()=>L(this,null,function*(){c.value=!0,(yield Ct.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&k(),c.value=!1}),m=()=>L(this,null,function*(){c.value=!0,(yield Ct.checkAndInstallApp("linkease",a("\u6613\u6709\u4E91"),"app-meta-linkease"))&&x(),c.value=!1}),h=()=>L(this,null,function*(){c.value=!0;const g=C.Loading(a("\u914D\u7F6E\u4E2D..."));k(),g.Close(),c.value=!1}),k=()=>{c.value=!1,u.value=!1,T1({Cancel:()=>{u.value=!0},Next:g=>{switch(s.value){case"webdav":w(g);break;case"samba":b(g);break}}})},x=()=>{R1({}),v()},w=g=>{b2({rootPath:g}),v()},b=g=>{Z2({rootPath:g}),v()};return(g,y)=>u.value?(r(),K(_t,{key:0,Close:o.Close,type:1},{default:R(()=>[z($t,{name:"rotate",mode:"out-in"},{default:R(()=>[_.value==0?(r(),l("div",J2,[t("h2",K2,n(e(a)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",Q2,n(e(a)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[T(t("select",{"onUpdate:modelValue":y[0]||(y[0]=F=>s.value=F)},[t("option",X2,n(e(a)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",t5,n(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",e5,n(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[dt,s.value]])])]),e(te)("unishare")?(r(),l("div",{key:0,class:"tips",innerHTML:e(a)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(a)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,a5)):D("",!0),t("div",o5,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p,type:"button",disabled:c.value},n(e(a)("\u4E0B\u4E00\u6B65")),9,n5),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v,type:"button"},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"])):D("",!0)}});var r5=M(i5,[["__scopeId","data-v-3f686017"]]),Sa=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(r5,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}};const s5={class:"app-container_linkease"},d5={class:"linkease-item"},l5={class:"linkease-item_name"},u5={class:"linkease-item_value"},c5={key:0,class:"configure"},p5={key:0,class:"linkease-item"},f5={class:"linkease-item_name"},m5={class:"linkease-item_value"},b5=["href"],v5={href:" https://app.linkease.com/",target:"_blank"},g5=U({props:{linkease:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var c;return`http://${location.hostname}:${(c=i.linkease)==null?void 0:c.port}`}),s=()=>{Sa({setup:0})};return(c,_)=>{var v,p,f;return r(),l("ul",s5,[t("li",d5,[t("div",l5,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",u5,[(v=o.linkease)!=null&&v.enabel?(r(),l("span",c5,n(e(a)("\u5DF2\u914D\u7F6E")),1)):(r(),l("span",{key:1,class:"configure enabel",onClick:_[0]||(_[0]=m=>s())},n(e(a)("\u672A\u914D\u7F6E")),1))])]),(p=o.linkease)!=null&&p.enabel?(r(),l(G,{key:0},[(f=o.linkease)!=null&&f.port?(r(),l("li",p5,[t("div",f5,[t("span",null,n(e(a)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",m5,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,b5)])])):D("",!0)],64)):D("",!0),t("div",null,[t("a",v5,n(e(a)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var h5=M(g5,[["__scopeId","data-v-8b8d01c2"]]);const _5={class:"app-container"},x5={class:"app-container_title"},k5={class:"app-container_tool"},w5=["title"],y5={class:"DeviceBlock"},F5={href:"/cgi-bin/luci/admin/services/samba4"},E5={class:"app-container_body"},C5={class:"app-container_nas-menu"},$5=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=E(!1),u=E("linkease"),s=E(),c=ka();(()=>{O.Nas.Service.Status.GET().then(m=>{var h;if((h=m==null?void 0:m.data)!=null&&h.result){const k=m.data.result;s.value=k,k.webdav&&(c.webdav=k.webdav)}})})();const v=()=>{Sa({setup:0})},p=()=>{d.value=!d.value},f=()=>{p(),Ct.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(m,h)=>{var x,w,b;const k=ut("GlHelp");return r(),l("div",_5,[t("div",x5,[t("span",null,[t("span",null,n(e(i)("\u5B58\u50A8\u670D\u52A1")),1),z(k,{type:"store"})]),t("div",k5,[t("div",{class:"app-container_configure",onClick:v},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F")},[z(Vt,{onClick:p})],8,w5)]),T(t("div",y5,[t("div",{class:"menu_background",onClick:p}),t("ul",null,[t("li",null,[t("a",F5,n(e(i)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:f},n(e(i)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[Yt,d.value]])]),t("div",E5,[t("ul",C5,[t("button",{onClick:h[0]||(h[0]=g=>u.value="linkease"),class:pt({on:u.value=="linkease"})},n(e(i)("\u6613\u6709\u4E91")),3),t("button",{onClick:h[1]||(h[1]=g=>u.value="samba"),class:pt({on:u.value=="samba"})},n(e(i)("SAMBA")),3),t("button",{onClick:h[2]||(h[2]=g=>u.value="webdav"),class:pt({on:u.value=="webdav"})},n(e(i)("WEBDAV")),3)]),u.value=="samba"?(r(),K(Wc,{key:0,sambas:(x=s.value)==null?void 0:x.sambas},null,8,["sambas"])):u.value=="webdav"?(r(),K(l1,{key:1,webdav:(w=s.value)==null?void 0:w.webdav},null,8,["webdav"])):u.value=="linkease"?(r(),K(h5,{key:2,linkease:(b=s.value)==null?void 0:b.linkease},null,8,["linkease"])):D("",!0)])])}}});var D5=M($5,[["__scopeId","data-v-008c9ca2"]]);const B5=o=>(rt("data-v-b0e9cad0"),o=o(),st(),o),Y5={class:"app-container_docker"},A5={class:"docker-item"},S5={class:"docker-item_name"},z5={key:0,class:"docker-item_value"},P5={class:"configure"},T5={key:1,class:"docker-item_value"},I5={class:"input-switch"},L5=["value","disabled"],M5=B5(()=>t("em",null,null,-1)),N5=[M5],O5={key:0,class:"docker-item"},V5={class:"docker-item_name"},G5={class:"docker-item_value"},j5={class:"configure enabel"},q5={key:0},U5={class:"tooltip-trigger"},R5={class:"docker_tip"},W5={class:"tooltip-text tooltip-top"},H5={class:"docker_dir_tip"},Z5=U({props:{docker:{type:Object}},setup(o){var _;const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var v;return((v=i.docker)==null?void 0:v.status)!="not installed"}),s=vt({enable:((_=i.docker)==null?void 0:_.status)=="running",disabled:!1}),c=()=>L(this,null,function*(){s.disabled=!0;try{const v=yield O.Guide.DockerSwitch.POST({enable:s.enable});if(v!=null&&v.data){const{success:p,error:f}=v.data;if(f)throw s.enable=!s.enable,f;(p||0)==0}}catch(v){C.Warning(`${v}`)}finally{s.disabled=!1}});return(v,p)=>{var f,m,h,k;return r(),l("ul",Y5,[t("li",A5,[t("div",S5,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),(f=i.docker)!=null&&f.status?(r(),l(G,{key:0},[e(u)?(r(),l("div",T5,[t("label",I5,[T(t("input",{type:"checkbox",hidden:"",value:!e(s).enable,"onUpdate:modelValue":p[0]||(p[0]=x=>e(s).enable=x),disabled:e(s).disabled,onChange:c},null,40,L5),[[Rt,e(s).enable]]),t("span",{class:pt(e(s).enable?"enable":"close")},N5,2)])])):(r(),l("div",z5,[t("span",P5,n(e(a)("\u672A\u5B89\u88C5")),1)]))],64)):D("",!0)]),((m=o.docker)==null?void 0:m.status)=="running"?(r(),l("li",O5,[t("div",V5,[t("span",null,n(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1)]),t("div",G5,[t("span",j5,n((h=o.docker)==null?void 0:h.path),1),(k=o.docker)!=null&&k.errorInfo?(r(),l("span",q5,[t("span",U5,[t("span",R5,[z(Tt)]),t("div",null,[t("div",W5,[t("span",H5,n(o.docker.errorInfo),1)])])])])):D("",!0)])])):D("",!0)])}}});var J5=M(Z5,[["__scopeId","data-v-b0e9cad0"]]);const K5={},Q5={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},X5=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),t6=[X5];function e6(o,i){return r(),l("svg",Q5,t6)}var a6=M(K5,[["render",e6]]);const o6={key:0,class:"action"},n6={class:"title"},i6={class:"desc"},r6={class:"roots"},s6={class:"roots_tit"},d6={class:"root"},l6={class:"move"},u6={class:"roots_tit"},c6={key:0},p6=["onSubmit"],f6={class:"select-editable"},m6={selected:"",value:null},b6=["value"],v6={value:"useInput"},g6=["placeholder"],h6={key:1,class:"tips"},_6={class:"tips_content"},x6={class:"tip"},k6={key:0,class:"btns"},w6={key:1,class:"btns"},y6={key:1,class:"action docker_success"},F6={class:"title"},E6={class:"finished"},C6={class:"successed"},$6={class:"btns"},D6={key:2,class:"action docker_download"},B6={class:"title"},Y6={class:"finished"},A6={class:"successed"},S6={class:"docker_moves"},z6={class:"moves change"},P6={for:"move"},T6={class:"moves"},I6={for:"cover"},L6={class:"btns"},M6=U({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(),s=E(),c=E(0),_=E("null"),v=E(""),p=E(),f=E(!1),m=E("");(()=>{O.Nas.Disk.Status.GET().then(F=>{F!=null&&F.data.result&&(p.value=F==null?void 0:F.data.result)}),O.Guide.DockerStatus.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const A=F.data.result;u.value=A}}),O.Guide.DockerPartitionList.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const A=F.data.result;s.value=A}})})();const k=F=>{let Y=_.value;if(Y=="useInput"&&(Y=v.value),Y==null||Y=="null"||Y=="")return;const A=C.Loading(a("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));O.Guide.DockerTransfer.POST({path:Y,force:F,overwriteDir:!!m.value}).then(B=>{var $;if(B!=null&&B.data){if((B.data.success||0)==0){if(($=B.data.result)!=null&&$.emptyPathWarning){f.value=!0,c.value=2;return}c.value=1;return}else if(B.data.error)throw B.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(B=>{C.Error(B)}).finally(()=>A.Close())},x=()=>{f.value=!1,k(!1)},w=F=>{F.preventDefault(),i.Close&&i.Close()},b=F=>{F.preventDefault(),location.reload()},g=F=>{F.preventDefault(),c.value=0},y=F=>{F.preventDefault(),k(!0)};return(F,Y)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>{var A,B,$,S,V,N;return[c.value==0?(r(),l("div",o6,[t("h2",n6,n(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",i6,n(e(a)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",r6,[t("span",s6,n(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",d6,n((A=u.value)==null?void 0:A.path),1)]),t("div",l6,[t("span",u6,n(e(a)("\u8FC1\u79FB\u5230\uFF1A")),1),($=(B=s.value)==null?void 0:B.partitionList)!=null&&$.length?(r(),l("div",c6,[t("form",{onSubmit:mt(x,["prevent"])},[t("label",null,[t("div",f6,[T(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=P=>_.value=P)},[t("option",m6,n(e(a)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(r(!0),l(G,null,et((S=s.value)==null?void 0:S.partitionList,(P,I)=>(r(),l("option",{value:P,key:I},n(P),9,b6))),128)),t("option",v6,n(e(a)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[dt,_.value,void 0,{trim:!0}]]),_.value=="useInput"?T((r(),l("input",{key:0,type:"text","onUpdate:modelValue":Y[1]||(Y[1]=P=>v.value=P),required:"",placeholder:e(a)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,g6)),[[ot,v.value,void 0,{trim:!0}]]):D("",!0)])])],40,p6)])):s.value?(r(),l("div",h6,[t("div",_6,[z(Tt),t("span",x6,n(e(a)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):D("",!0)]),(N=(V=s.value)==null?void 0:V.partitionList)!=null&&N.length?(r(),l("div",k6,[t("button",{class:"cbi-button cbi-button-apply",onClick:x},n(e(a)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},n(e(a)("\u53D6\u6D88")),1)])):(r(),l("div",w6,[t("button",{class:"cbi-button cbi-button-apply",onClick:w},n(e(a)("\u786E\u5B9A")),1)]))])):c.value==1?(r(),l("div",y6,[t("h2",F6,n(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",E6,[z(We)]),t("p",C6,n(e(a)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",$6,[t("button",{class:"cbi-button cbi-button-apply",onClick:b},n(e(a)("\u786E\u5B9A")),1)])])):c.value==2?(r(),l("div",D6,[t("h2",B6,n(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",Y6,[z(a6)]),t("p",A6,n(e(a)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",S6,[t("div",z6,[T(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":Y[2]||(Y[2]=P=>m.value=P),value:""},null,512),[[Et,m.value]]),t("label",P6,n(e(a)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",T6,[T(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":Y[3]||(Y[3]=P=>m.value=P),value:"true"},null,512),[[Et,m.value]]),t("label",I6,n(e(a)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",L6,[f.value?(r(),l("button",{key:0,class:"cbi-button cbi-button-apply",onClick:y},n(e(a)("\u786E\u5B9A")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:g},n(e(a)("\u8FD4\u56DE")),1),f.value?D("",!0):(r(),l("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:b},n(e(a)("\u53D6\u6D88")),1))])])):D("",!0)]}),_:1},8,["Close"]))}});var N6=M(M6,[["__scopeId","data-v-81932f72"]]);const O6=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=gt(N6,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},V6=o=>(rt("data-v-3b60633e"),o=o(),st(),o),G6={class:"app-container"},j6={class:"app-container_title"},q6=V6(()=>t("span",null,"Docker",-1)),U6={key:0,class:"app-container_tool"},R6=["title"],W6={class:"DeviceBlock"},H6={href:"/cgi-bin/luci/admin/docker/overview"},Z6={key:1,class:"loading_placeholder"},J6=U({props:{docker:{type:Object}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=E(!1),u=E(),s=E(!1),c=()=>{s.value=!s.value},_=()=>{O6()};return setTimeout(()=>{O.Guide.DockerStatus.GET().then(p=>{var f;if((f=p==null?void 0:p.data)!=null&&f.result){const m=p.data.result;u.value=m}}).finally(()=>{d.value=!0})},1100),(p,f)=>{var k,x;const m=ut("GlHelp"),h=ut("icon-loading");return r(),l("div",G6,[t("div",j6,[t("span",null,[q6,z(m,{type:"docker"})]),d.value?(r(),l("div",U6,[((k=u.value)==null?void 0:k.status)!="not installed"?(r(),l("div",{key:0,class:"app-container_configure",onClick:_},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),1)):D("",!0),((x=u.value)==null?void 0:x.status)==="running"?(r(),l("span",{key:1,class:"more_icon",title:e(i)("Docker\u7BA1\u7406")},[z(Vt,{onClick:c})],8,R6)):D("",!0)])):D("",!0),T(t("div",W6,[t("div",{class:"menu_background",onClick:c}),t("ul",null,[t("li",null,[t("a",H6,n(e(i)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[Yt,s.value]])]),t("div",null,[d.value?(r(),K(J5,{key:0,docker:u.value},null,8,["docker"])):(r(),l("div",Z6,[z(h,{size:50,color:"currentColor"})]))])])}}});var K6=M(J6,[["__scopeId","data-v-3b60633e"]]);const Q6={class:"app-container_aria2"},X6={class:"aria2-item"},tp={class:"aria2-item_name"},ep={class:"aria2-item_value"},ap={key:0,class:"configure"},op={key:1,class:"configure enabel"},np={class:"aria2-item"},ip={class:"aria2-item_name"},rp={class:"aria2-item_value"},sp=["href"],dp={class:"aria2-item"},lp={class:"aria2-item_name"},up={class:"aria2-item_value"},cp=["href"],pp={class:"aria2-item"},fp={class:"aria2-item_name right"},mp={class:"aria2-item_value"},bp=["href"],vp={class:"use-url_app"},gp={href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},hp=U({props:{aria2:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var c;return`${location.origin}${(c=i.aria2)==null?void 0:c.webPath}`}),s=tt(()=>{var v,p,f;let c=(v=i.aria2)==null?void 0:v.rpcToken;c?c=encodeURIComponent(btoa(c)):c="";const _=encodeURIComponent(location.hostname);return`${location.origin}${(p=i.aria2)==null?void 0:p.webPath}/#!/settings/rpc/set/http/${_}/${(f=i.aria2)==null?void 0:f.rpcPort}/jsonrpc/${c}`});return(c,_)=>{var v,p,f,m;return r(),l("ul",Q6,[t("li",X6,[t("div",tp,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",ep,[((v=o.aria2)==null?void 0:v.status)=="running"?(r(),l("span",ap,n(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),l("span",op,n(e(a)("\u672A\u542F\u52A8")),1))])]),((p=o.aria2)==null?void 0:p.status)=="running"?(r(),l(G,{key:0},[t("li",np,[t("div",ip,[t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",rp,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.aria2)==null?void 0:f.downloadPath)},n((m=o.aria2)==null?void 0:m.downloadPath),9,sp)])]),t("li",dp,[t("div",lp,[t("span",null,n(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",up,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,cp)])]),t("li",pp,[t("div",fp,[t("span",null,n(e(a)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",mp,[t("a",{href:e(s),target:"_blank",rel:"noopener noreferrer"},n(e(a)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,bp)])])],64)):D("",!0),t("div",vp,[t("a",gp,n(e(a)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var _p=M(hp,[["__scopeId","data-v-4d31c3c4"]]);const xp={class:"app-container_qbittorrent"},kp={class:"qbittorrent-item"},wp={class:"qbittorrent-item_name"},yp={class:"qbittorrent-item_value"},Fp={key:0,class:"configure"},Ep={key:1,class:"configure enabel"},Cp={class:"qbittorrent-item"},$p={class:"qbittorrent-item_name"},Dp={class:"qbittorrent-item_value"},Bp=["href"],Yp={class:"qbittorrent-item"},Ap={class:"qbittorrent-item_name"},Sp={class:"qbittorrent-item_value"},zp=["href"],Pp={class:"qbittorrent-item"},Tp={class:"qbittorrent-item_name right"},Ip={class:"qbittorrent-item_value"},Lp=U({props:{qbittorrent:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var s;return`http://${location.hostname}${(s=i.qbittorrent)==null?void 0:s.webPath}`});return(s,c)=>{var _,v,p,f;return r(),l("ul",xp,[t("li",kp,[t("div",wp,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",yp,[((_=o.qbittorrent)==null?void 0:_.status)=="running"?(r(),l("span",Fp,n(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),l("span",Ep,n(e(a)("\u672A\u542F\u52A8")),1))])]),((v=o.qbittorrent)==null?void 0:v.status)=="running"?(r(),l(G,{key:0},[t("li",Cp,[t("div",$p,[t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",Dp,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.qbittorrent)==null?void 0:p.downloadPath)},n((f=o.qbittorrent)==null?void 0:f.downloadPath),9,Bp)])]),t("li",Yp,[t("div",Ap,[t("span",null,n(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Sp,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,zp)])]),t("li",Pp,[t("div",Tp,[t("span",null,n(e(a)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",Ip,[t("span",null,n(e(a)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):D("",!0)])}}});var Mp=M(Lp,[["__scopeId","data-v-44bc5d56"]]);const Np={class:"app-container_transmission"},Op={class:"transmission-item"},Vp={class:"transmission-item_name"},Gp={class:"transmission-item_value"},jp={key:0,class:"configure"},qp={key:1,class:"configure enabel"},Up={class:"transmission-item"},Rp={class:"transmission-item_name"},Wp={class:"transmission-item_value"},Hp=["href"],Zp={class:"transmission-item"},Jp={class:"transmission-item_name"},Kp={class:"transmission-item_value"},Qp=["href"],Xp=U({props:{transmission:{type:Object}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=tt(()=>{var s;return`http://${location.hostname}${(s=i.transmission)==null?void 0:s.webPath}`});return(s,c)=>{var _,v,p,f;return r(),l("ul",Np,[t("li",Op,[t("div",Vp,[t("span",null,n(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Gp,[((_=o.transmission)==null?void 0:_.status)=="running"?(r(),l("span",jp,n(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),l("span",qp,n(e(a)("\u672A\u542F\u52A8")),1))])]),((v=o.transmission)==null?void 0:v.status)=="running"?(r(),l(G,{key:0},[t("li",Up,[t("div",Rp,[t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",Wp,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.transmission)==null?void 0:p.downloadPath)},n((f=o.transmission)==null?void 0:f.downloadPath),9,Hp)])]),t("li",Zp,[t("div",Jp,[t("span",null,n(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Kp,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},n(e(u)),9,Qp)])])],64)):D("",!0)])}}});var t8=M(Xp,[["__scopeId","data-v-ab5c1db0"]]);const e8={},a8={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},o8=t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6","fill-opacity":"0.65"},null,-1),n8=[o8];function i8(o,i){return r(),l("svg",a8,n8)}var Zt=M(e8,[["render",i8]]);const Ie=o=>(rt("data-v-395b81d2"),o=o(),st(),o),r8={key:0,class:"action"},s8={class:"title"},d8={class:"load_service input_row"},l8={class:"left"},u8={class:"radios"},c8=Ie(()=>t("label",{for:"Aria2"},"Aria2",-1)),p8={class:"radios"},f8=Ie(()=>t("label",{for:"qB"},"qBittorrent",-1)),m8={class:"radios"},b8=Ie(()=>t("label",{for:"Tr"},"Transmission",-1)),v8=["onSubmit"],g8={class:"input_row"},h8={class:"left"},_8={class:"tooltip-trigger"},x8={class:"tooltip-text tooltip-top"},k8={class:"dowload_dir_tip"},w8={class:"myinput_wrap"},y8={class:"input_row"},F8={class:"left"},E8={class:"tooltip-trigger"},C8={class:"tooltip-text tooltip-top"},$8={class:"dowload_dir_tip"},D8={class:"myinput_wrap"},B8={class:"input_row"},Y8={class:"left"},A8={class:"tooltip-trigger"},S8={class:"tooltip-text tooltip-bottom"},z8={class:"dowload_rpc_tip"},P8=["placeholder"],T8={class:"input_row"},I8={class:""},L8={class:"radios"},M8={for:"default"},N8={class:"radios"},O8={for:"add"},V8={class:"input_row"},G8=Ie(()=>t("div",{class:"left"},null,-1)),j8={class:"myinput_wrap Tracker_input"},q8=["placeholder"],U8=["onSubmit"],R8={class:"input_row"},W8={class:"left"},H8={class:"tooltip-trigger"},Z8={class:"tooltip-text tooltip-top"},J8={class:"dowload_dir_tip"},K8={class:"myinput_wrap"},Q8={class:"input_row"},X8={class:"left"},t3={class:"tooltip-trigger"},e3={class:"tooltip-text tooltip-top"},a3={class:"dowload_dir_tip"},o3={class:"myinput_wrap"},n3=["onSubmit"],i3={class:"input_row"},r3={class:"left"},s3={class:"tooltip-trigger"},d3={class:"tooltip-text tooltip-top"},l3={class:"dowload_dir_tip"},u3={class:"myinput_wrap"},c3={class:"input_row"},p3={class:"left"},f3={class:"tooltip-trigger"},m3={class:"tooltip-text tooltip-top"},b3={class:"dowload_dir_tip"},v3={class:"myinput_wrap"},g3={class:"btns"},h3={key:1,class:"action"},_3={class:"title"},x3={class:"finished"},k3={class:"successed"},w3={class:"btns"},y3=U({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(""),s=E(""),c=E(""),_=E(""),v=E("default"),p=E("Aria2"),f=E(""),m=E(""),h=E(""),k=E(""),x=E([]),w=E([]),b=E(0);At(()=>{var N,P,I,W,ht,Dt,ft,Kt,Qt,It;switch(i.defaultTab){case"aria2":p.value="Aria2";break;case"qbittorrent":p.value="qBittorrent";break;case"transmission":p.value="Transmission";break}x.value=i.partitionList.map(at=>({key:at})),w.value=i.partitionList.filter(at=>at.startsWith("/mnt/")).map(at=>at.replace(/(\/mnt\/[^/]+).*/,"$1")),c.value=((N=i.services.aria2)==null?void 0:N.configPath)||"";const B=((P=i.services.aria2)==null?void 0:P.downloadPath)||((I=i.services.qbittorrent)==null?void 0:I.downloadPath)||((W=i.services.transmission)==null?void 0:W.downloadPath);B&&(_.value=B);const $=(ht=i.services.aria2)==null?void 0:ht.rpcToken;$&&(u.value=$),f.value=((Dt=i.services.qbittorrent)==null?void 0:Dt.configPath)||"";const S=((ft=i.services.qbittorrent)==null?void 0:ft.downloadPath)||B||((Kt=i.services.transmission)==null?void 0:Kt.downloadPath);S&&(m.value=S),h.value=((Qt=i.services.transmission)==null?void 0:Qt.configPath)||"";const V=((It=i.services.transmission)==null?void 0:It.downloadPath)||B||S;V&&(k.value=V)});const g=()=>{let B=c.value,$=_.value;B==null||B==""||$==null||$==""||L(this,null,function*(){if(yield Ct.checkAndInstallApp("app-meta-aria2","Aria2")){const V=C.Loading(a("\u914D\u7F6E\u4E2D..."));O.Guide.Aria2Init.POST({configPath:B,downloadPath:$,rpcToken:u.value,btTracker:v.value=="add"?s.value:""}).then(N=>{var P;if(N!=null&&N.data){if((N.data.success||0)==0){b.value=1;return}else if((P=N.data)!=null&&P.error)throw N.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(N=>C.Error(N)).finally(()=>V.Close())}})},y=()=>{let B=f.value,$=m.value;B==null||B==""||$==null||$==""||L(this,null,function*(){if(yield Ct.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const V=C.Loading(a("\u914D\u7F6E\u4E2D..."));O.Guide.qbitorrentInit.POST({configPath:B,downloadPath:$}).then(N=>{var P;if(N!=null&&N.data){if((N.data.success||0)==0){b.value=1;return}else if((P=N.data)!=null&&P.error)throw N.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(N=>C.Error(N)).finally(()=>V.Close())}})},F=()=>{let B=h.value,$=k.value;B==null||B==""||$==null||$==""||L(this,null,function*(){if(yield Ct.checkAndInstallApp("app-meta-transmission","Transmission")){const V=C.Loading(a("\u914D\u7F6E\u4E2D..."));O.Guide.transmissionInit.POST({configPath:B,downloadPath:$}).then(N=>{var P;if(N!=null&&N.data){if((N.data.success||0)==0){b.value=1;return}else if((P=N.data)!=null&&P.error)throw N.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(N=>C.Error(N)).finally(()=>V.Close())}})},Y=B=>{B.preventDefault(),i.Close&&i.Close()},A=B=>{B.preventDefault(),location.reload()};return(B,$)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[b.value==0?(r(),l("div",r8,[t("h2",s8,n(e(a)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",d8,[t("div",l8,[t("span",null,n(e(a)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",u8,[T(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":$[0]||($[0]=S=>p.value=S),name:"download",id:"Aria2"},null,512),[[Et,p.value]]),c8]),t("div",p8,[T(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":$[1]||($[1]=S=>p.value=S),name:"download",id:"qB"},null,512),[[Et,p.value]]),f8]),t("div",m8,[T(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":$[2]||($[2]=S=>p.value=S),name:"download",id:"Tr"},null,512),[[Et,p.value]]),b8])])])]),p.value=="Aria2"?(r(),l("form",{key:0,onSubmit:mt(g,["prevent"])},[t("ul",null,[t("li",null,[t("div",g8,[t("div",h8,[t("span",_8,[z(Zt),t("div",null,[t("div",x8,[t("span",k8,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,n(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",w8,[z(Jt,{modelValue:c.value,"onUpdate:modelValue":$[3]||($[3]=S=>c.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:w.value.concat("/root").map(S=>({key:S+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",y8,[t("div",F8,[t("span",E8,[z(Zt),t("div",null,[t("div",C8,[t("span",$8,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",D8,[z(Jt,{modelValue:_.value,"onUpdate:modelValue":$[4]||($[4]=S=>_.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:x.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",B8,[t("div",Y8,[t("span",A8,[z(Zt),t("div",null,[t("div",S8,[t("span",z8,n(e(a)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,n(e(a)("RPC \u4EE4\u724C\uFF1A")),1)]),T(t("input",{type:"text",class:"RPC_input",placeholder:e(a)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":$[5]||($[5]=S=>u.value=S)},null,8,P8),[[ot,u.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",T8,[t("div",I8,[t("span",null,n(e(a)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",L8,[T(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":$[6]||($[6]=S=>v.value=S)},null,512),[[Et,v.value]]),t("label",M8,n(e(a)("\u9ED8\u8BA4")),1)]),t("div",N8,[T(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":$[7]||($[7]=S=>v.value=S)},null,512),[[Et,v.value]]),t("label",O8,n(e(a)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",V8,[G8,t("div",j8,[v.value=="add"?T((r(),l("textarea",{key:0,"onUpdate:modelValue":$[8]||($[8]=S=>s.value=S),rows:"4",placeholder:e(a)("\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694")},null,8,q8)),[[ot,s.value,void 0,{trim:!0}]]):D("",!0)])])])])],40,v8)):D("",!0),p.value=="qBittorrent"?(r(),l("form",{key:1,onSubmit:mt(y,["prevent"])},[t("ul",null,[t("li",null,[t("div",R8,[t("div",W8,[t("span",H8,[z(Zt),t("div",null,[t("div",Z8,[t("span",J8,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,n(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",K8,[z(Jt,{modelValue:f.value,"onUpdate:modelValue":$[9]||($[9]=S=>f.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:w.value.concat("/root").map(S=>({key:S+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Q8,[t("div",X8,[t("span",t3,[z(Zt),t("div",null,[t("div",e3,[t("span",a3,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",o3,[z(Jt,{modelValue:m.value,"onUpdate:modelValue":$[10]||($[10]=S=>m.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:x.value},null,8,["modelValue","title","options"])])])])])],40,U8)):D("",!0),p.value=="Transmission"?(r(),l("form",{key:2,onSubmit:mt(F,["prevent"])},[t("ul",null,[t("li",null,[t("div",i3,[t("div",r3,[t("span",s3,[z(Zt),t("div",null,[t("div",d3,[t("span",l3,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,n(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",u3,[z(Jt,{modelValue:h.value,"onUpdate:modelValue":$[11]||($[11]=S=>h.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:w.value.concat("/root").map(S=>({key:S+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",c3,[t("div",p3,[t("span",f3,[z(Zt),t("div",null,[t("div",m3,[t("span",b3,n(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,n(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",v3,[z(Jt,{modelValue:k.value,"onUpdate:modelValue":$[12]||($[12]=S=>k.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:x.value},null,8,["modelValue","title","options"])])])])])],40,n3)):D("",!0),t("div",g3,[p.value=="Aria2"?(r(),l("button",{key:0,class:"cbi-button cbi-button-apply",onClick:g},n(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="qBittorrent"?(r(),l("button",{key:1,class:"cbi-button cbi-button-apply",onClick:y},n(e(a)("\u542F\u7528")),1)):D("",!0),p.value=="Transmission"?(r(),l("button",{key:2,class:"cbi-button cbi-button-apply",onClick:F},n(e(a)("\u542F\u7528")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},n(e(a)("\u53D6\u6D88")),1)])])):b.value==1?(r(),l("div",h3,[t("h2",_3,n(e(a)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:p.value})),1),t("div",x3,[z(We)]),t("p",k3,n(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",w3,[t("button",{class:"cbi-button cbi-button-apply",onClick:A},n(e(a)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var F3=M(y3,[["__scopeId","data-v-395b81d2"]]);const E3=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(F3,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},C3={class:"app-container"},$3={class:"app-container_title"},D3={class:"app-container_tool"},B3=["disabled"],Y3=["title"],A3={class:"DeviceBlock"},S3={class:"app-container_body"},z3={class:"app-container_nas-menu"},P3=U({setup(o){const{$gettext:i,$ngettext:a}=H();E(!1);const d=E("aria2"),u=E();ka(),setTimeout(()=>{O.Guide.DownloadService.Status.GET().then(x=>{var w;if((w=x==null?void 0:x.data)!=null&&w.result){const b=x.data.result;u.value=b}})},800);const c=E(!1),_=E(!1),v=()=>{_.value=!_.value},p=()=>{O.Guide.DownloadPartition.List.GET().then(x=>{var b,g;let w=[];(g=(b=x==null?void 0:x.data)==null?void 0:b.result)!=null&&g.partitionList&&(w=x.data.result.partitionList),E3({services:u.value,partitionList:w,defaultTab:d.value})})},f=(x,w,b)=>L(this,null,function*(){v(),Ct.installAndGo(x,w,b)}),m=()=>{f("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},h=()=>{f("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},k=()=>{f("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(x,w)=>{var g,y,F;const b=ut("GlHelp");return r(),l("div",C3,[t("div",$3,[t("span",null,[t("span",null,n(e(i)("\u4E0B\u8F7D\u670D\u52A1")),1),z(b,{type:"download"})]),t("div",D3,[u.value?(r(),l("div",{key:0,class:"app-container_configure",onClick:p,disabled:c.value},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),9,B3)):D("",!0),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E")},[z(Vt,{onClick:v})],8,Y3)]),T(t("div",A3,[t("div",{class:"menu_background",onClick:v}),t("ul",null,[t("li",null,[t("a",{onClick:m},n(e(i)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:h},n(e(i)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:k},n(e(i)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[Yt,_.value]])]),t("div",S3,[t("ul",z3,[t("button",{onClick:w[0]||(w[0]=Y=>d.value="aria2"),class:pt({on:d.value=="aria2"})},"Aria2",2),t("button",{onClick:w[1]||(w[1]=Y=>d.value="qbittorrent"),class:pt({on:d.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:w[2]||(w[2]=Y=>d.value="transmission"),class:pt({on:d.value=="transmission"})},"Transmission",2)]),d.value=="aria2"?(r(),K(_p,{key:0,aria2:(g=u.value)==null?void 0:g.aria2},null,8,["aria2"])):d.value=="qbittorrent"?(r(),K(Mp,{key:1,qbittorrent:(y=u.value)==null?void 0:y.qbittorrent},null,8,["qbittorrent"])):d.value=="transmission"?(r(),K(t8,{key:2,transmission:(F=u.value)==null?void 0:F.transmission},null,8,["transmission"])):D("",!0)])])}}});var T3=M(P3,[["__scopeId","data-v-17fab0f2"]]);const I3={class:"actioner-container"},L3={class:"actioner-container_header"},M3={class:"actioner-container_body"},N3={class:"label-item"},O3={class:"label_info"},V3={class:"label-item"},G3={class:"label_info"},j3={class:"label-item"},q3={class:"label_info"},U3={class:"label-item"},R3={class:"label_info"},W3={class:"actioner-container_footer"},H3=U({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=()=>{a.onSetup()},c=E(a.active),_=()=>{switch(i("update:active",c.value),c.value){case"ddnsto":a.onSetup("ddnsto");break;case"ali":a.onSetup("ddns-ali");break;case"dnspod":a.onSetup("ddns-dnspod");break;case"oray":a.onSetup("ddns-oray");break}};return(v,p)=>(r(),l("div",I3,[t("div",L3,[t("span",null,n(e(d)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",M3,[t("div",N3,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[0]||(p[0]=f=>c.value=f),value:"ddnsto"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("DDNSTO")),1)]),t("p",O3,n(e(d)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",V3,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[1]||(p[1]=f=>c.value=f),value:"ali"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("\u963F\u91CC\u4E91")),1)]),t("p",G3,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",j3,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[2]||(p[2]=f=>c.value=f),value:"dnspod"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("Dnspod")),1)]),t("p",q3,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",U3,[t("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":p[3]||(p[3]=f=>c.value=f),value:"oray"},null,512),[[Et,c.value]]),t("span",null,n(e(d)("\u82B1\u751F\u58F3")),1)]),t("p",R3,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",W3,[t("div",{class:"close",onClick:s},n(e(d)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:_},n(e(d)("\u4E0B\u4E00\u6B65")),1)])]))}});var Z3=M(H3,[["__scopeId","data-v-73552138"]]);const J3=o=>(rt("data-v-b9ee57da"),o=o(),st(),o),K3={class:"actioner-container"},Q3={class:"actioner-container_body"},X3=J3(()=>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)),t4={class:"body-title"},e4={class:"body-tips"},a4={class:"body-info"},o4=["href"],n4={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},i4={class:"actioner-container_footer"},r4=U({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,s)=>(r(),l("div",K3,[t("div",Q3,[X3,t("div",t4,n(e(i)("\u6DFB\u52A0\u6210\u529F")),1),t("p",e4,n(e(i)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",a4,[t("span",null,n(e(i)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},n(o.target),9,o4)]),t("div",null,[t("span",null,n(e(i)("\u53EF\u524D\u5F80")),1),t("a",n4,n(e(i)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,n(e(i)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",i4,[t("div",{class:"close",onClick:d},n(e(i)("\u5173\u95ED")),1)])]))}});var s4=M(r4,[["__scopeId","data-v-b9ee57da"]]);const d4=o=>(rt("data-v-aefb6fdc"),o=o(),st(),o),l4={class:"actioner-container"},u4={class:"actioner-container_header"},c4=d4(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),p4={class:"actioner-container_footer"},f4=U({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.onSetup()},s=c=>{if(c.data.auth=="ddnsto"){const _=c.data.sign,v=c.data.token;_&&v&&(removeEventListener("message",s),i.onDdnstoConfig(_,v),i.onSetup("ddnsto-run"))}};return At(()=>{window.addEventListener("message",s)}),jt(()=>{removeEventListener("message",s)}),(c,_)=>(r(),l("div",l4,[t("div",u4,[t("span",null,n(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),c4,t("div",p4,[t("div",{class:"close",onClick:u},n(e(a)("\u53D6\u6D88")),1)])]))}});var m4=M(f4,[["__scopeId","data-v-aefb6fdc"]]);const b4={class:"actioner-container"},v4={class:"actioner-container_header"},g4={class:"actioner-container_body ddnsto-bind"},h4=["src"],_4=U({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=tt(()=>{const{domain:v,token:p,sign:f,routerId:m,netaddr:h}=a.config,k=encodeURIComponent(v),x=encodeURIComponent(h);return`https://www.kooldns.cn/bind/#/domain?domain=${k}&sign=${f}&token=${p}&routerId=${m}&netaddr=${x}`}),c=v=>{if(v.data){const{auth:p,url:f}=v.data;p==="ddnsto"&&f&&_(f)}},_=v=>L(this,null,function*(){var p;try{const f=yield O.Guide.DdnstoAddress.POST({address:v});f!=null&&f.data&&(((p=f==null?void 0:f.data)==null?void 0:p.success)||0)==0&&(i("update:domain",v),a.onSetup("ddnsto-save"))}catch(f){}});return At(()=>{window.addEventListener("message",c)}),jt(()=>{removeEventListener("message",c)}),(v,p)=>(r(),l("div",b4,[t("div",v4,[t("span",null,n(e(d)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",g4,[t("iframe",{src:e(s)},null,8,h4)])]))}});var x4=M(_4,[["__scopeId","data-v-0e2b47e6"]]);const k4=o=>(rt("data-v-29e2aec8"),o=o(),st(),o),w4={class:"actioner-container"},y4={class:"actioner-container_body"},F4=k4(()=>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)),E4={class:"body-title"},C4={class:"body-tips"},$4={class:"body-info"},D4=["href"],B4={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},Y4={class:"actioner-container_footer"},A4=U({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:i,$ngettext:a}=H(),d=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,s)=>(r(),l("div",w4,[t("div",y4,[F4,t("div",E4,n(e(i)("\u6DFB\u52A0\u6210\u529F")),1),t("p",C4,n(e(i)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",$4,[t("span",null,n(e(i)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},n(o.target),9,D4)]),t("div",null,[t("span",null,n(e(i)("\u53EF\u524D\u5F80")),1),t("a",B4,n(e(i)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,n(e(i)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",Y4,[t("div",{class:"close",onClick:d},n(e(i)("\u5173\u95ED")),1)])]))}});var S4=M(A4,[["__scopeId","data-v-29e2aec8"]]);const z4={class:"actioner-container"},P4={class:"actioner-container_header"},T4={class:"actioner-container_body"},I4={class:"actioner-container_footer"},L4=U({props:{onSetup:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.onSetup()},s=()=>L(this,null,function*(){if(v.value)return;v.value=!0;const f=C.Loading(a("\u5B89\u88C5\u4E2D..."));try{if(yield Ct.installApp("app-meta-ddnsto",30)){i.onSetup("ddnsto-login");return}else c.value=a("\u5B89\u88C5\u5931\u8D25")}catch(m){c.value=m}finally{f.Close()}v.value=!1}),c=E(a("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),_=E(!1),v=E(!1);return(()=>L(this,null,function*(){try{const f=yield O.App.Check.POST({name:"ddnsto"});if(f!=null&&f.data){const{result:m,error:h}=f.data;if(h){c.value=h;return}if(m){if(m.status=="installed"){i.onSetup("ddnsto-login");return}m.status=="uninstalled"&&(c.value=a("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(f){c.value=f}_.value=!0}))(),(f,m)=>(r(),l("div",z4,[t("div",P4,[t("span",null,n(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",T4,[t("span",null,n(c.value),1)]),t("div",I4,[_.value?(r(),l(G,{key:0},[t("div",{class:"close",onClick:u},n(e(a)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:s},n(e(a)("\u786E\u5B9A")),1)],64)):D("",!0)])]))}});var M4=M(L4,[["__scopeId","data-v-169b4450"]]);const N4={class:"actioner-container"},O4={class:"actioner-container_header"},V4={class:"actioner-container_body"},G4=U({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(a("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(f=>L(this,null,function*(){var m;try{const h=yield O.Guide.Ddnsto.POST({token:i.token});h!=null&&h.data&&(h.data.error&&(u.value=h.data.error),(((m=h==null?void 0:h.data)==null?void 0:m.success)||0)==0&&_())}catch(h){u.value=h}}))(i.token);const c=E(),_=()=>{const f=()=>L(this,null,function*(){if((yield v())===!0){p();return}c.value=window.setTimeout(f,2e3)});f()},v=()=>L(this,null,function*(){try{const f=yield O.App.Check.POST({name:"ddnsto",checkRunning:!0});if(f!=null&&f.data){f.data.error&&(u.value=f.data.error);const m=f.data.result;if((m==null?void 0:m.status)=="running")return!0}}catch(f){u.value=f}return!1});jt(()=>{c.value&&clearInterval(c.value)});const p=()=>L(this,null,function*(){var f;try{const m=yield O.Guide.DdntoConfig.GET();if(m!=null&&m.data&&(m.data.error&&(u.value=m.data.error),(((f=m==null?void 0:m.data)==null?void 0:f.success)||0)==0&&m.data.result)){const h=m.data.result;i.onDdnstoLocalConfig(h.netAddr,h.deviceId),i.onSetup("ddnsto-bind")}}catch(m){u.value=m}});return(f,m)=>(r(),l("div",N4,[t("div",O4,[t("span",null,n(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",V4,n(u.value),1)]))}});var j4=M(G4,[["__scopeId","data-v-6590a3fa"]]);const q4={class:"action-main"},U4=U({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const i=o,a=E("ddnsto-install"),d=v=>{v!=null?a.value=v:u()},u=()=>{i.Close&&i.Close()},s=vt({sign:"",token:"",domain:i.url,netaddr:"",routerId:""}),c=(v,p)=>{s.sign=v,s.token=p},_=(v,p)=>{s.netaddr=v,s.routerId=p};return(v,p)=>(r(),K(_t,{type:1},{default:R(()=>[t("div",q4,[a.value=="ddnsto-install"?(r(),K(M4,{key:0,onSetup:d})):a.value=="ddnsto-login"?(r(),K(m4,{key:1,onSetup:d,onDdnstoConfig:c})):a.value=="ddnsto-run"?(r(),K(j4,{key:2,onSetup:d,token:e(s).token,onDdnstoLocalConfig:_},null,8,["token"])):a.value=="ddnsto-bind"?(r(),K(x4,{key:3,onSetup:d,config:{token:e(s).token,sign:e(s).sign,domain:e(s).domain,netaddr:e(s).netaddr,routerId:e(s).routerId},domain:e(s).domain,"onUpdate:domain":p[0]||(p[0]=f=>e(s).domain=f)},null,8,["config","domain"])):a.value=="ddnsto-save"?(r(),K(S4,{key:4,onSetup:d,target:e(s).domain},null,8,["target"])):D("",!0)])]),_:1}))}});var R4=M(U4,[["__scopeId","data-v-3b80943c"]]);const W4=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(R4,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},H4={class:"action"},Z4={class:"action-header"},J4=["innerHTML"],K4={class:"action-footer"},Q4=U({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.next&&i.next(),i.Close&&i.Close()},s=()=>{i.clear&&i.clear(),i.Close&&i.Close()},c=()=>{i.continuer&&i.continuer(),i.Close&&i.Close()};return(_,v)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[t("div",H4,[t("div",Z4,n(o.title||e(a)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,J4),t("div",K4,[o.clear?(r(),l("div",{key:0,class:"clear",onClick:s},n(o.clearTitle||e(a)("\u8FD4\u56DE")),1)):D("",!0),t("div",{class:"next",onClick:u},n(o.nextTitle||e(a)("\u786E\u5B9A")),1),o.continuer?(r(),l("div",{key:1,class:"next",onClick:c},n(o.continuerTitle||e(a)("\u7EE7\u7EED\u4FDD\u5B58")),1)):D("",!0)])])]),_:1},8,["Close"]))}});var X4=M(Q4,[["__scopeId","data-v-145a3c50"]]);const Be=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(X4,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},t7=o=>(rt("data-v-2c659599"),o=o(),st(),o),e7={class:"actioner-container"},a7=["onSubmit"],o7={class:"actioner-container_header"},n7={key:0,class:"title_info"},i7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},r7={key:1,class:"title_info"},s7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},d7={key:2,class:"title_info"},l7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},u7={class:"label-item"},c7={class:"label-item_key"},p7={class:"label-item_value"},f7={value:"ipv4"},m7={value:"ipv6"},b7={class:"label_tips"},v7=t7(()=>t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])],-1)),g7={class:"info"},h7={class:"label-item"},_7={class:"label-item_key"},x7={class:"label-item_value"},k7={class:"label-item"},w7={class:"label-item_key"},y7={class:"label-item_value"},F7=["placeholder"],E7={class:"label-item"},C7={class:"label-item_key"},$7={class:"label-item_value"},D7=["placeholder"],B7={class:"actioner-container_footer"},Y7=["disabled"],A7=U({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=E("ipv4"),c=E(a.name),_=E(""),v=E(""),p=E(""),f=E(!1),m=()=>{a.onSetup("index")},h=()=>{f.value=!0;const b=C.Loading(d("\u68C0\u6D4B\u4E2D..."));O.Network.CheckPublickNet.POST({ipVersion:s.value}).then(g=>{var y,F;if(g!=null&&g.data){if((y=g==null?void 0:g.data)!=null&&y.error){C.Warning(g==null?void 0:g.data.error);return}if((((F=g==null?void 0:g.data)==null?void 0:F.success)||0)==0){const Y=g.data.result;Y&&Y.address?w():k();return}}throw d("\u672A\u77E5\u9519\u8BEF")}).catch(g=>{C.Error(g)}).finally(()=>{b.Close(),f.value=!1})},k=()=>{Be({title:d("\u6E29\u99A8\u63D0\u793A"),nextTitle:d("\u4F7F\u7528DDNSTO"),continuerTitle:d("\u7EE7\u7EED\u4FDD\u5B58"),content:d("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){x()},continuer(){w()},clear(){}})},x=()=>{a.onSetup("ddnsto")},w=()=>{f.value=!0;const b=C.Loading(d("\u914D\u7F6E\u4E2D..."));O.Guide.PostDdns.POST({ipVersion:s.value,serviceName:c.value,domain:_.value,userName:v.value,password:p.value}).then(g=>{if(g!=null&&g.data){const{error:y,scope:F,success:Y}=g.data;if(y=="-100"&&F=="guide.ddns"){Be({title:d("\u6E29\u99A8\u63D0\u793A"),content:d("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(y){C.Warning(y);return}if((Y||0)==0){i("update:target",_.value),a.onSetup("ddns-success");return}}throw d("\u672A\u77E5\u9519\u8BEF")}).catch(g=>{C.Error(g)}).finally(()=>{b.Close(),f.value=!1})};return(b,g)=>(r(),l("div",e7,[t("form",{class:"actioner-dns",onSubmit:mt(h,["prevent"])},[t("div",o7,[t("span",null,n(e(d)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:pt(["actioner-container_body",o.name])},[o.name=="ali"?(r(),l("div",n7,[t("p",null,n(e(d)("\u963F\u91CC\u4E91")),1),t("span",null,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",i7,n(e(d)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(r(),l("div",r7,[t("p",null,n(e(d)("dnspod")),1),t("span",null,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",s7,n(e(d)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(r(),l("div",d7,[t("p",null,n(e(d)("\u82B1\u751F\u58F3")),1),t("span",null,n(e(d)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",l7,n(e(d)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):D("",!0),t("div",u7,[t("div",c7,[t("span",null,n(e(d)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",p7,[T(t("select",{name:"",id:"","onUpdate:modelValue":g[0]||(g[0]=y=>s.value=y)},[t("option",f7,n(e(d)("IPv4\u5730\u5740")),1),t("option",m7,n(e(d)("IPv6\u5730\u5740")),1)],512),[[dt,s.value]])]),t("div",b7,[v7,t("span",g7,n(e(d)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",h7,[t("div",_7,[t("span",null,n(e(d)("\u57DF\u540D\uFF1A")),1)]),t("div",x7,[T(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":g[1]||(g[1]=y=>_.value=y),required:""},null,512),[[ot,_.value,void 0,{trim:!0}]])])]),t("div",k7,[t("div",w7,[t("span",null,n(e(d)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",y7,[T(t("input",{type:"text","onUpdate:modelValue":g[2]||(g[2]=y=>v.value=y),placeholder:e(d)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,F7),[[ot,v.value,void 0,{trim:!0}]])])]),t("div",E7,[t("div",C7,[t("span",null,n(e(d)("\u5BC6\u7801\uFF1A")),1)]),t("div",$7,[T(t("input",{type:"password","onUpdate:modelValue":g[3]||(g[3]=y=>p.value=y),placeholder:e(d)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,D7),[[ot,p.value,void 0,{trim:!0}]])])])],2),t("div",B7,[t("div",{class:"close",onClick:m,type:"button"},n(e(d)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:f.value},n(e(d)("\u4FDD\u5B58")),9,Y7)])],40,a7)]))}});var Ge=M(A7,[["__scopeId","data-v-2c659599"]]);const S7={class:"action-main"},z7=U({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const i=o,a=E(""),d=E("index"),u=v=>{if(v!=null){if(v=="ddnsto"){s();return}d.value=v}else c()},s=()=>{c(),W4({url:i.url})},c=()=>{i.Close&&i.Close()},_=E("ddnsto");return(v,p)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[t("div",S7,[d.value=="index"?(r(),K(Z3,{key:0,onSetup:u,active:_.value,"onUpdate:active":p[0]||(p[0]=f=>_.value=f)},null,8,["active"])):d.value=="ddns-ali"?(r(),K(Ge,{key:1,onSetup:u,target:a.value,"onUpdate:target":p[1]||(p[1]=f=>a.value=f),name:"ali"},null,8,["target"])):d.value=="ddns-dnspod"?(r(),K(Ge,{key:2,onSetup:u,target:a.value,"onUpdate:target":p[2]||(p[2]=f=>a.value=f),name:"dnspod"},null,8,["target"])):d.value=="ddns-oray"?(r(),K(Ge,{key:3,onSetup:u,target:a.value,"onUpdate:target":p[3]||(p[3]=f=>a.value=f),name:"oray"},null,8,["target"])):d.value=="ddns-success"?(r(),K(s4,{key:4,onSetup:u,target:a.value},null,8,["target"])):D("",!0)])]),_:1},8,["Close"]))}});var P7=M(z7,[["__scopeId","data-v-8a1e6470"]]);const T7=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(P7,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},ke=o=>(rt("data-v-c59010b0"),o=o(),st(),o),I7={class:"app-container"},L7={class:"app-container_title"},M7={class:"app-container_tool"},N7={class:"app-container_domain"},O7={class:"domain-item"},V7=ke(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO: ")],-1)),G7={class:"domain-item_value"},j7=["href","title"],q7={key:1,class:"configure"},U7={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},R7={key:0,class:"domain-item"},W7=ke(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4: ")],-1)),H7={class:"domain-item_value"},Z7={key:0},J7=["href"],K7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},Q7=ke(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),X7=[Q7],tf={key:1,class:"domain-item"},ef=ke(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6: ")],-1)),af={class:"domain-item_value"},of={key:0},nf=["href"],rf={key:2,href:"/cgi-bin/luci/admin/services/ddns"},sf=ke(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),df=[sf],lf=U({setup(o){const{$gettext:i,$ngettext:a}=H();let d=!1,u;const s=E({}),c=function(){!d||(document.hidden?Promise.resolve():O.Guide.GetDdns.GET().then(f=>{var m;f!=null&&f.data&&(((m=f==null?void 0:f.data)==null?void 0:m.success)||0)==0&&f.data.result&&(s.value=f.data.result)})).then(()=>{!d||(u=window.setTimeout(c,3e3))})};At(()=>{d=!0,u=window.setTimeout(c,1100)}),jt(()=>{u!==void 0&&window.clearTimeout(u),d=!1});const _=()=>{T7({url:s.value.ddnstoDomain})},v=tt(()=>{const f=s.value.ipv4Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`}),p=tt(()=>{const f=s.value.ipv6Domain;return!f||f=="Stopped"||f=="Disabled"?f:`http://${f}`});return(f,m)=>{var k,x,w,b;const h=ut("GlHelp");return r(),l("div",I7,[t("div",L7,[t("span",null,[t("span",null,n(e(i)("\u8FDC\u7A0B\u57DF\u540D")),1),z(h,{type:"ddns"})]),t("div",M7,[t("div",{class:"app-container_configure",onClick:_},n(e(i)("\u5FEB\u901F\u914D\u7F6E")),1)])]),t("ul",N7,[t("li",O7,[V7,t("div",G7,[(k=s.value)!=null&&k.ddnstoDomain?(r(),l("a",{key:0,class:"configure",href:(x=s.value)==null?void 0:x.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(w=s.value)==null?void 0:w.ddnstoDomain},n((b=s.value)==null?void 0:b.ddnstoDomain),9,j7)):(r(),l("span",q7,n(e(i)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("a",U7,n(e(i)("\u63A7\u5236\u53F0")),1)])]),e(v)?(r(),l("li",R7,[W7,t("div",H7,[e(v)=="Stopped"||e(v)=="Disabled"?(r(),l("span",Z7,n(e(v)),1)):(r(),l("a",{key:1,class:"configure",href:e(v),target:"_blank",rel:"noopener noreferrer"},n(e(v)),9,J7)),e(v)?(r(),l("a",K7,X7)):D("",!0)])])):D("",!0),e(p)?(r(),l("li",tf,[ef,t("div",af,[e(p)=="Stopped"||e(p)=="Disabled"?(r(),l("span",of,n(e(p)),1)):(r(),l("a",{key:1,class:"configure",href:e(p),target:"_blank",rel:"noopener noreferrer"},n(e(p)),9,nf)),e(p)?(r(),l("a",rf,df)):D("",!0)])])):D("",!0)])])}}});var uf=M(lf,[["__scopeId","data-v-c59010b0"]]);const cf={class:"nas-container"},pf={class:"nas-container_card"},ff={class:"nas-container_card"},mf={key:0,class:"nas-container_card"},bf={class:"nas-container_card"},vf={class:"nas-container_card"},gf=U({setup(o){return(i,a)=>(r(),l("div",cf,[t("div",pf,[z(Pc)]),t("div",ff,[z(D5)]),e(te)("dockerd")?(r(),l("div",mf,[z(K6)])):D("",!0),t("div",bf,[z(T3)]),t("div",vf,[z(uf)])]))}});var hf=M(gf,[["__scopeId","data-v-a221efb4"]]);const _f={class:"app-container"},xf={class:"app-container_title"},kf=["title"],wf={class:"DeviceBlock"},yf={href:"/cgi-bin/luci/admin/system/flash"},Ff={href:"/cgi-bin/luci/admin/store/pages/maintance"},Ef={class:"item-label"},Cf={class:"item-label_key"},$f={class:"item-label_value"},Df={class:"item-label"},Bf={class:"item-label_key"},Yf={class:"item-label_value"},Af={class:"item-label"},Sf={class:"item-label_key"},zf={class:"item-label_value"},Pf={class:"item-label"},Tf={class:"item-label_key"},If={class:"item-label_value"},Lf={class:"item-label"},Mf={class:"item-label_key"},Nf={class:"item-label_value"},Of={class:"item-label"},Vf={class:"item-label_key"},Gf={class:"item-label_value"},jf={class:"item-label"},qf={class:"item-label_key"},Uf={class:"item-label_value"},Rf={class:"item-label"},Wf={class:"item-label_key"},Hf={class:"item-label_value"},Zf=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=Re(),u=tt(()=>d.version),s=tt(()=>d.systemStatus),c=E(!1),_=tt(()=>{var k;return((k=s.value)==null?void 0:k.cpuUsage)||0}),v=tt(()=>{var k;return((k=s.value)==null?void 0:k.cpuTemperature)||0}),p=tt(()=>{var x;const k=((x=s.value)==null?void 0:x.memAvailablePercentage)||100;return 100-k}),f=Pt.stampForm;At(()=>{});const m=()=>{c.value=!c.value},h=()=>{m(),Ct.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(k,x)=>{var b,g,y,F,Y;const w=ut("progress-item");return r(),l("div",_f,[t("div",xf,[t("span",null,n(e(i)("\u7CFB\u7EDF\u4FE1\u606F")),1),t("span",{class:"more_icon",title:e(i)("\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F")},[z(Vt,{onClick:m})],8,kf),T(t("div",wf,[t("div",{class:"menu_background",onClick:m}),t("ul",null,[t("li",null,[t("a",{onClick:h},n(e(i)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("li",null,[t("a",yf,n(e(i)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("li",null,[t("a",Ff,n(e(i)("\u63D2\u4EF6\u5907\u4EFD")),1)])])],512),[[Yt,c.value]])]),t("div",Ef,[t("div",Cf,[t("span",null,n(e(i)("CPU\u6E29\u5EA6")),1)]),t("div",$f,[z(w,{value:e(v)/1.5,text:`${e(v)}\u2103`},null,8,["value","text"])])]),t("div",Df,[t("div",Bf,[t("span",null,n(e(i)("CPU\u4F7F\u7528\u7387")),1)]),t("div",Yf,[z(w,{value:e(_),text:`${e(_)}%`},null,8,["value","text"])])]),t("div",Af,[t("div",Sf,[t("span",null,n(e(i)("\u5185\u5B58\u4F7F\u7528\u7387")),1)]),t("div",zf,[z(w,{value:e(p),text:`${e(p)}%`},null,8,["value","text"])])]),t("div",Pf,[t("div",Tf,[t("span",null,n(e(i)("\u8BBE\u5907\u578B\u53F7")),1)]),t("div",If,[t("span",null,n((b=e(u))==null?void 0:b.model),1)])]),t("div",Lf,[t("div",Mf,[t("span",null,n(e(i)("\u56FA\u4EF6\u7248\u672C")),1)]),t("div",Nf,[t("span",null,n((g=e(u))==null?void 0:g.firmwareVersion),1)])]),t("div",Of,[t("div",Vf,[t("span",null,n(e(i)("\u5185\u6838\u7248\u672C")),1)]),t("div",Gf,[t("span",null,n((y=e(u))==null?void 0:y.kernelVersion),1)])]),t("div",jf,[t("div",qf,[t("span",null,n(e(i)("\u5DF2\u542F\u52A8")),1)]),t("div",Uf,[t("span",null,n(e(f)((F=e(s))==null?void 0:F.uptime)),1)])]),t("div",Rf,[t("div",Wf,[t("span",null,n(e(i)("\u7CFB\u7EDF\u65F6\u95F4")),1)]),t("div",Hf,[t("span",null,n((Y=e(s))==null?void 0:Y.localtime),1)])])])}}});var Jf=M(Zf,[["__scopeId","data-v-2baf3f98"]]);const za=/\d+\.\d+\.\d+\.\d+/,Kf=o=>za.test(o)&&xe.IPv4.isValid(o),Ut=o=>{const i=xe.IPv4.parse(o).toByteArray();return i[0]<<24|i[1]<<16|i[2]<<8|i[3]},ra=o=>xe.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),Qf=o=>{if(!za.test(o)||!xe.IPv4.isIPv4(o))return!1;let i=0,a=Ut(o);for(let d=31;d>=0&&(a&1<{let u=Ut(o)&Ut(i),s=Ut(a),c=Ut(d),v=~Ut(i);return su+1&&c{let a=Ut(i),d=Ut(o)&a,u=~a,s;return u>=105?(s=d|u-5,d=d|100):u>=3?(s=d|u-1,d=d|2):(d=d|1,s=d),[ra(d),ra(s)]},em=o=>xe.IPv4.subnetMaskFromPrefixLength(o).toString();var Mt={isValidMask:Qf,isValidIPv4:Kf,isValidMaskRange:Xf,calcMaskRange:tm,prefixToMask:em};const Ke=o=>(rt("data-v-0d919a1e"),o=o(),st(),o),am=["onSubmit"],om={class:"actioner-dns_header"},nm={class:"actioner-dns_body"},im={class:"label-item"},rm={class:"label-item_key"},sm={class:"label-item_value"},dm={class:"label-item"},lm={class:"label-item_key"},um={class:"label-item_value"},cm={key:0,class:"chose_dhcp"},pm={key:0,class:"dhcp_info"},fm={key:1,class:"dhcp_info"},mm={class:"label-item"},bm={class:"label-item_key"},vm={class:"label-item_value"},gm={class:"label-item"},hm={class:"label-item_key"},_m={class:"label-item_value"},xm={class:"actioner-dns_footer"},km=["disabled"],wm={key:1,class:"actioner-dns"},ym={class:"actioner-dns_header"},Fm={class:"actioner-dns_body"},Em={key:0,class:"setting_status"},Cm=Ke(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),$m={class:"config-message"},Dm=["href"],Bm={key:1,class:"setting_status"},Ym=Ke(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),Am={class:"config-message"},Sm={key:2,class:"setting_status"},zm=Ke(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),Pm={class:"config-message"},Tm=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const c=E(!1);E(!0),E(!1);const _=E(""),v=E(2),p=E(!1),f=E("timeout");let m=!0;(()=>{O.Guide.GetLan.GET().then(g=>{g.data.result&&(p.value=g.data.result.enableDhcp||!1,g.data.result.enableDhcp=!1,s.value=g.data.result,g.data.result.lanIp!==location.hostname&&(m=!1))})})();const k=()=>{const g=s.value;if(!Mt.isValidIPv4(g.lanIp)){C.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Mt.isValidMask(g.netMask)){C.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const y=Mt.calcMaskRange(g.lanIp,g.netMask);g.dhcpStart=y[0],g.dhcpEnd=y[1],s.value=g},x=()=>{const g=s.value;if(!Mt.isValidIPv4(g.lanIp)){C.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!Mt.isValidMask(g.netMask)){C.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(g.enableDhcp&&!(Mt.isValidIPv4(g.dhcpStart)&&Mt.isValidIPv4(g.dhcpEnd)&&Mt.isValidMaskRange(g.lanIp,g.netMask,g.dhcpStart,g.dhcpEnd))){C.Warning(a("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const y=C.Loading(a("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let F=0;const Y=B=>{f.value=B,u.value=1,F=1,y.Close()},A=()=>{const B=new Date().getTime()+3e4,$=m?location.protocol+"//"+g.lanIp+(location.port?":"+location.port:""):location.origin,S=$+"/luci-static/resources/icons/loading.gif",V=()=>{F==0&&(new Date().getTime()>B?Y("timeout"):window.setTimeout(P,2e3))},N=()=>{F==0&&(_.value=$+location.pathname,Y("success"),window.setTimeout(()=>{v.value=1},1e3),window.setTimeout(()=>{location.href=_.value},2e3))},P=()=>{if(F!=0)return;console.log("check online ",S);const I=new Image;I.onload=N,I.onerror=V,I.src=S};window.setTimeout(P,5e3)};O.Guide.LanIp.POST(g).then(B=>{var $;if(B!=null&&B.data){if((B.data.success||0)==0)return;if(($=B.data)!=null&&$.error)throw B.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(B=>{F==0&&(Y("fail"),C.Error(B))}),A(),window.setTimeout(()=>{F==0&&Y("timeout")},3e4)},w=g=>{g.preventDefault(),i.Close&&i.Close()},b=g=>{location.reload()};return(g,y)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0?(r(),l("form",{key:0,class:"actioner-dns",onSubmit:mt(x,["prevent"])},[t("div",om,[t("span",null,n(e(a)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",nm,[t("div",im,[t("div",rm,[t("span",null,n(e(a)("IPv4\u5730\u5740")),1)]),t("div",sm,[T(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":y[0]||(y[0]=F=>s.value.lanIp=F),onChange:k},null,544),[[ot,s.value.lanIp,void 0,{trim:!0}]])])]),t("div",dm,[t("div",lm,[t("span",null,n(e(a)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",um,[T(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":y[1]||(y[1]=F=>s.value.netMask=F),onChange:k},null,544),[[ot,s.value.netMask,void 0,{trim:!0}]])])]),p.value?(r(),l("div",cm,[z(ya,{modelValue:s.value.enableDhcp,"onUpdate:modelValue":y[2]||(y[2]=F=>s.value.enableDhcp=F)},{default:R(()=>[s.value.enableDhcp?(r(),l("span",pm,n(e(a)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(r(),l("span",fm,n(e(a)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):D("",!0),s.value.enableDhcp?(r(),l(G,{key:1},[t("div",mm,[t("div",bm,[t("span",null,n(e(a)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",vm,[T(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[3]||(y[3]=F=>s.value.dhcpStart=F)},null,512),[[ot,s.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",gm,[t("div",hm,[t("span",null,n(e(a)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",_m,[T(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[4]||(y[4]=F=>s.value.dhcpEnd=F)},null,512),[[ot,s.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):D("",!0)]),t("div",xm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:c.value},n(e(a)("\u786E\u8BA4")),9,km),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},n(e(a)("\u53D6\u6D88")),1)])],40,am)):u.value==1?(r(),l("div",wm,[t("div",ym,[t("span",null,n(e(a)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",Fm,[f.value=="success"?(r(),l("div",Em,[Cm,t("div",$m,n(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:_.value,class:"NewAdress"},n(e(a)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+v.value})),9,Dm)])):f.value=="fail"?(r(),l("div",Bm,[Ym,t("div",Am,n(e(a)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,n(e(a)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},n(e(a)("\u6211\u77E5\u9053\u4E86")),1)])):f.value=="timeout"?(r(),l("div",Sm,[zm,t("div",Pm,n(e(a)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,n(e(a)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},n(e(a)("\u5237\u65B0\u9875\u9762")),1)])):D("",!0)])])):D("",!0)]),_:1},8,["Close"]))}});var Im=M(Tm,[["__scopeId","data-v-0d919a1e"]]);const Lm=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=gt(Im,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},Mm={key:0,class:"actioner-dns"},Nm={class:"actioner-dns_header"},Om={class:"actioner-dns_body"},Vm={class:"sandbox_info"},Gm={key:0,class:"disk_loading_icon"},jm={class:"disk_loading_info"},qm={key:1,class:"disk_tips"},Um={class:"label-item"},Rm={class:"label-item_key"},Wm={class:"label-item_value"},Hm={value:""},Zm=["value"],Jm={class:"label-item"},Km={class:"label-item_key"},Qm={class:"label-item_value"},Xm={selected:"true",value:""},tb=["value","disabled"],eb={class:"sandbox_tips"},ab={class:"sandbox_info timeout"},ob={class:"sandbox_roboot_tips"},nb={class:"sandbox_roboot_refresh"},ib={key:0,class:"actioner-dns_footer"},rb=["disabled"],sb={key:1,class:"actioner-tips"},db={class:"actioner-tips_header"},lb={class:"actioner-tips_body"},ub={class:"sandbox_info"},cb={class:"actioner-tips_footer"},pb={key:2,class:"actioner-tips"},fb={class:"actioner-tips_header"},mb={class:"actioner-tips_body"},bb={class:"sandbox_info"},vb={class:"actioner-tips_footer"},gb=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0);E("disk");const s=E(""),c=E(3),_=E(""),v=E([]),p=E(""),f=E(null);(()=>{O.Nas.SandboxDisks.GET().then(F=>{var Y;if(F!=null&&F.data&&(Y=F.data)!=null&&Y.result){f.value=F.data.result;return}throw a("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch(F=>{s.value=F,u.value=3})})();const h=()=>O.System.Reboot.POST({name:_.value,path:p.value}).then(F=>{var Y;if(!(F!=null&&F.data&&(((Y=F==null?void 0:F.data)==null?void 0:Y.success)||0)==0))throw a("\u672A\u77E5\u9519\u8BEF")}),k=F=>{var Y,A;p.value="",v.value=_.value&&((A=(Y=f.value)==null?void 0:Y.disks.find(B=>B.path==_.value))==null?void 0:A.childrens)||[]},x=()=>{c.value>0&&(c.value-=1,window.setTimeout(x,1e3))},w=F=>{F.preventDefault(),i.Close&&i.Close()},b=()=>{new Promise((F,Y)=>{const A="/luci-static/resources/icons/loading.gif",B=()=>{window.setTimeout($,2e3)},$=()=>{const S=new Image;S.onload=F,S.onerror=B,S.src=A};window.setTimeout($,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},g=F=>{const Y=C.Loading(a("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));O.Nas.Sandbox.POST({path:p.value}).then(A=>{var B;if(A!=null&&A.data){if((A.data.success||0)==0)return u.value=2,window.setTimeout(x,1e3),h();if((B=A.data)!=null&&B.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).then(b).catch(A=>C.Warning(A)).finally(()=>Y.Close())},y=()=>{u.value=0};return(F,Y)=>{const A=ut("icon-loading");return r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0||u.value==2?(r(),l("div",Mm,[t("div",Nm,[t("span",null,n(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Om,[t("p",Vm,n(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),u.value==0?(r(),l(G,{key:0},[f.value?D("",!0):(r(),l("div",Gm,[z(A,{size:38,color:"currentColor"}),t("span",jm,n(e(a)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),f.value&&f.value.disks.length==0?(r(),l("div",qm,[z(Tt),t("span",null,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):D("",!0),f.value&&f.value.disks.length>0?(r(),l(G,{key:2},[t("div",Um,[t("div",Rm,[t("span",null,n(e(a)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",Wm,[T(t("select",{name:"",id:"",onChange:k,"onUpdate:modelValue":Y[0]||(Y[0]=B=>_.value=B)},[t("option",Hm,n(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(r(!0),l(G,null,et(f.value.disks,(B,$)=>(r(),l("option",{value:B.path,key:$},n(B.venderModel)+"\uFF08"+n(B.size)+"\uFF09 ",9,Zm))),128))],544),[[dt,_.value]])])]),t("div",Jm,[t("div",Km,[t("span",null,n(e(a)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",Qm,[T(t("select",{name:"",id:"","onUpdate:modelValue":Y[1]||(Y[1]=B=>p.value=B)},[t("option",Xm,n(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(r(!0),l(G,null,et(v.value,(B,$)=>(r(),l("option",{value:B.path,key:$,disabled:B.sizeInt<(1<<30)*1||B.isSystemRoot},n(B.name)+"\uFF08"+n(B.filesystem||e(a)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+n(B.total),9,tb))),128))],512),[[dt,p.value]])])]),t("div",eb,[z(Tt),t("span",null,n(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):D("",!0)],64)):D("",!0),u.value==2?(r(),l(G,{key:1},[t("p",ab,[it(n(e(a)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+n(c.value)+"s\uFF09",1)]),t("p",ob,[it(n(e(a)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",nb,n(e(a)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):D("",!0)]),u.value==0?(r(),l("div",ib,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!p.value,onClick:Y[2]||(Y[2]=B=>u.value=1)},n(e(a)("\u5F00\u542F\u6C99\u7BB1")),9,rb),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},n(e(a)("\u53D6\u6D88")),1)])):D("",!0)])):D("",!0),u.value==1?(r(),l("div",sb,[t("div",db,[t("span",null,n(e(a)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",lb,[t("p",ub,n(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",cb,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:g},n(e(a)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0),u.value==3?(r(),l("div",pb,[t("div",fb,[t("span",null,n(e(a)("\u9519\u8BEF")),1)]),t("div",mb,[t("p",bb,n(s.value),1)]),t("div",vb,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"])}}});var hb=M(gb,[["__scopeId","data-v-59ad49e6"]]);const _b=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=gt(hb,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},xb={key:0,class:"actioner-dns"},kb={class:"actioner-dns_header"},wb={class:"actioner-dns_body"},yb={class:"sandbox_info"},Fb={class:"sandbox_environment"},Eb={class:"sandbox_environment_info"},Cb={class:"sandbox_environment_reboot"},$b=["innerHTML"],Db={class:"actioner-dns_footer"},Bb=["disabled"],Yb=["disabled"],Ab=["disabled"],Sb=U({props:{Close:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(0),s=E(!1),c=()=>{new Promise((m,h)=>{const k="/luci-static/resources/icons/loading.gif",x=()=>{window.setTimeout(w,2e3)},w=()=>{const b=new Image;b.onload=m,b.onerror=x,b.src=k};window.setTimeout(w,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},_=()=>{s.value=!0;const m=C.Loading(a("\u63D0\u4EA4\u4E2D..."));O.Nas.SandboxCommit.POST().then(h=>{var k,x;if(h!=null&&h.data)if((((k=h==null?void 0:h.data)==null?void 0:k.success)||0)==0){C.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(x=h==null?void 0:h.data)!=null&&x.error&&alert(h.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(h=>{C.Error(h),s.value=!1}).finally(()=>m.Close())},v=()=>{s.value=!0;const m=C.Loading(a("\u91CD\u7F6E\u4E2D..."));O.Nas.SandboxReset.POST().then(h=>{var k,x;if(h!=null&&h.data)if((((k=h==null?void 0:h.data)==null?void 0:k.success)||0)==0){C.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(x=h==null?void 0:h.data)!=null&&x.error&&alert(h.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(h=>{C.Error(h),s.value=!1}).finally(()=>m.Close())},p=()=>{if(!confirm(a("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;s.value=!0;const m=C.Loading(a("\u6267\u884C\u4E2D..."));O.Nas.SandboxExit.POST().then(h=>{var k,x;if(h!=null&&h.data)if((((k=h==null?void 0:h.data)==null?void 0:k.success)||0)==0){C.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(x=h==null?void 0:h.data)!=null&&x.error&&alert(h.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(h=>{C.Error(h),s.value=!1}).finally(()=>m.Close())},f=m=>{m.preventDefault(),i.Close&&i.Close()};return(m,h)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[u.value==0?(r(),l("div",xb,[t("div",kb,[t("span",null,n(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",wb,[t("p",yb,n(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",Fb,[t("p",null,n(e(a)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,n(e(a)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,n(e(a)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,n(e(a)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",Eb,[it(n(e(a)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",Cb,n(e(a)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(a)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,$b)])]),t("div",Db,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:_,disabled:s.value},n(e(a)("\u63D0\u4EA4")),9,Bb),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v,disabled:s.value},n(e(a)("\u91CD\u7F6E")),9,Yb),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:s.value},n(e(a)("\u9000\u51FA")),9,Ab),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},n(e(a)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var zb=M(Sb,[["__scopeId","data-v-3e084f0f"]]);const Pb=()=>{const o=document.createElement("div");document.body.appendChild(o);const i=gt(zb,{Close:()=>{a()}});i.mount(o);const a=()=>{i.unmount(),o.remove()};return{Close:a}},Tb={class:"nav-container"},Ib=["onClick"],Lb={key:1,class:"btn_styles color3 app-update-button-combind"},Mb={class:"app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},Nb={class:"app-update-button-text"},Ob={key:0,style:{display:"inline-block"}},Vb={key:1},Gb=["title"],jb={class:"app-update-button-menu"},qb={class:"app-update-menu-item"},Ub={key:0,class:"app-update-menu-item-loading"},Rb=["disabled"],Wb={key:0,style:{display:"inline-block"}},Hb=U({setup(o){var F,Y;const{$gettext:i,$ngettext:a}=H(),d=E(!0);(Y=(F=window.quickstart_configs)==null?void 0:F.update)!=null&&Y.disable&&(d.value=!1);const u=E(!1),s=E(d.value),c=E(!1),_=Re(),v=ze(),p=tt(()=>v.status);E(!1),E(!0);const f=E(),m=()=>{Ca()};Nt(s,A=>{c.value=!0,O.System.AutoCheckUpdate.POST({enable:A}).catch(B=>{C.Warning(B)}).finally(()=>{c.value=!1})});const h=()=>{_b()},k=()=>{Pb()},x=()=>{alert(i("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},w=()=>{Lm()},b=()=>{Ya()},g=()=>{var A,B,$,S;window.open(`${(B=(A=window.quickstart_configs)==null?void 0:A.ttyd)!=null&&B.ssl?"https":"http"}://${window.location.hostname}:${((S=($=window.quickstart_configs)==null?void 0:$.ttyd)==null?void 0:S.port)||7681}/`,"_blank")},y=()=>{u.value=!u.value};return d.value&&setTimeout(()=>{_.requestCheckUpdate()},1100),te("sandbox")&&O.Nas.GetSandbox.GET().then(B=>{var $,S,V;B!=null&&B.data&&(((($=B==null?void 0:B.data)==null?void 0:$.success)||0)==0?(S=B==null?void 0:B.data)!=null&&S.result&&(f.value=B.data.result):(V=B==null?void 0:B.data)!=null&&V.error&&alert(B.data.error))}).catch(B=>C.Warning(B)),(A,B)=>{var N,P,I,W,ht,Dt;const $=ut("router-link"),S=ut("icon-loading"),V=ut("switch-box");return r(),l("div",Tb,[z($,{to:"/network",custom:""},{default:R(({navigate:ft})=>[t("button",{class:"btn_styles color1",onClick:ft},n(e(i)("\u7F51\u7EDC\u5411\u5BFC")),9,Ib)]),_:1}),e(te)("ttyd")?(r(),l("button",{key:0,class:"btn_styles color2 app-btn-ttyd",onClick:g},n(e(i)("\u7EC8\u7AEF")),1)):D("",!0),e(te)("ota")?(r(),l("button",Lb,[t("div",Mb,[t("div",Nb,[it(n(e(i)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),d.value&&e(_).checkUpdate==null?(r(),l("span",Ob,[z(S,{size:"0.8em",color:"currentColor"})])):D("",!0),(N=e(_).checkUpdate)!=null&&N.needUpdate?(r(),l("i",Vb)):D("",!0)])]),t("span",{class:"app-update-button-more",onClick:y,title:e(i)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[z(Vt)],8,Gb),T(t("div",jb,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[z(V,{modelValue:s.value,"onUpdate:modelValue":B[0]||(B[0]=ft=>s.value=ft)},{default:R(()=>[t("span",qb,n(e(i)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),c.value?(r(),l("span",Ub,[z(S,{size:"1em",color:"currentColor"})])):D("",!0)])])],512),[[Yt,u.value]])])):D("",!0),t("button",{class:"btn_styles color4",onClick:w},n(e(i)("\u5185\u7F51\u914D\u7F6E")),1),t("button",{class:"btn_styles color5",onClick:m,disabled:!((P=e(p))!=null&&P.proto)},[it(n(e(i)("DNS\u914D\u7F6E"))+" ",1),(I=e(p))!=null&&I.proto?D("",!0):(r(),l("span",Wb,[z(S,{size:"0.8em",color:"currentColor"})]))],8,Rb),t("button",{class:"btn_styles color1",onClick:b},n(e(i)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1),e(te)("sandbox")?(r(),l(G,{key:2},[((W=f.value)==null?void 0:W.status)=="unsupport"?(r(),l("button",{key:0,class:"btn_styles color2",onClick:x},n(e(i)("\u5F00\u542F\u6C99\u7BB1")),1)):((ht=f.value)==null?void 0:ht.status)=="stopped"?(r(),l("button",{key:1,class:"btn_styles color3",onClick:h},n(e(i)("\u5F00\u542F\u6C99\u7BB1")),1)):((Dt=f.value)==null?void 0:Dt.status)=="running"?(r(),l("button",{key:2,class:"btn_styles color4",onClick:k},n(e(i)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)):D("",!0)],64)):D("",!0)])}}});var Zb=M(Hb,[["__scopeId","data-v-501131da"]]);const Qe=o=>(rt("data-v-21b135fc"),o=o(),st(),o),Jb={id:"page"},Kb={style:{height:"48px","text-align":"right"}},Qb={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},Xb=Qe(()=>t("em",null,null,-1)),t9=Qe(()=>t("em",null,null,-1)),e9=Qe(()=>t("em",null,null,-1)),a9=U({setup(o){Fo();const{$gettext:i,$ngettext:a}=H();E(0);const d=E(!1),u=E(1);return(()=>L(this,null,function*(){var c;try{const _=yield O.GuidePage.needSetup.GET();(c=_==null?void 0:_.data)!=null&&c.result&&(d.value=_.data.result.need||!1,u.value=_.data.result.wifi?1:2)}catch(_){console.log(_)}}))(),(c,_)=>(r(),l("div",Jb,[t("div",Kb,[t("a",Qb,n(e(i)("iStoreOS\u5B98\u7F51")),1)]),z(E0),Xb,z(Zb),z(hf),t9,z(Jf),e9]))}});var o9=M(a9,[["__scopeId","data-v-21b135fc"]]);const n9={};function i9(o,i){const a=ut("router-view");return r(),K(a)}var r9=M(n9,[["render",i9]]);const s9={},d9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},l9=Wt('',2),u9=[l9];function c9(o,i){return r(),l("svg",d9,u9)}var p9=M(s9,[["render",c9]]);const f9={},m9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},b9=Wt('',2),v9=[b9];function g9(o,i){return r(),l("svg",m9,v9)}var h9=M(f9,[["render",g9]]);const _9={},x9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},k9=Wt('',2),w9=[k9];function y9(o,i){return r(),l("svg",x9,w9)}var F9=M(_9,[["render",y9]]);const E9={id:"page"},C9={class:"title"},$9={class:"desc"},D9={class:"network-containers"},B9={class:"network-container_item"},Y9={class:"cover"},A9={class:"thumbnail"},S9={class:"network-container_item"},z9={class:"cover"},P9={class:"thumbnail"},T9={class:"network-container_item"},I9={class:"cover"},L9={class:"thumbnail"},M9=["innerHTML"],N9=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=i("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+i("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(u,s)=>{const c=ut("router-link");return r(),l("div",E9,[t("div",C9,n(e(i)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",$9,n(e(i)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",D9,[t("div",B9,[z(c,{to:"/network/pppoe"},{default:R(()=>[t("div",Y9,[t("div",A9,[z(h9),t("span",null,n(e(i)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",S9,[z(c,{to:"/network/dhcp"},{default:R(()=>[t("div",z9,[t("div",P9,[z(p9),t("span",null,n(e(i)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",T9,[z(c,{to:"/network/gateway"},{default:R(()=>[t("div",I9,[t("div",L9,[z(F9),t("span",null,n(e(i)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(d)},null,8,M9)])}}});var O9=M(N9,[["__scopeId","data-v-0b149a51"]]);const V9={key:0,id:"page"},G9={class:"title"},j9={class:"desc"},q9={class:"network-message"},U9=["innerHTML"],R9=["onSubmit"],W9={class:"label-key"},H9=["placeholder","disabled"],Z9={class:"label-key"},J9=["placeholder","disabled"],K9={key:0,class:"chose_dhcp"},Q9={class:"dhcp_info"},X9={key:1,class:"msg"},tv={class:"btns"},ev=["disabled"],av=["onClick"],ov={key:1,id:"page"},nv={class:"title"},iv={class:"btns"},rv=["onClick"],sv=["onClick"],dv=U({setup(o){const{$gettext:i,$ngettext:a}=H(),u=Ye().query.type,s=i("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+i("\u94FE\u63A5")+""},!0),c=E(0),_=E({}),v=E(""),p=E(!1),f=E(0),m=E(!1);(()=>L(this,null,function*(){var x,w;p.value=!0;try{const b=yield Promise.all([O.Guide.Pppoe.GET(),O.Guide.GetLan.GET()]);if(b[0].data){const{success:g,error:y,result:F}=b[0].data;F&&(F.enableLanDhcp=!1,_.value=F),g==-1011&&(p.value=!0,f.value=g)}(x=b[1].data)!=null&&x.result&&(((w=b[1].data)==null?void 0:w.result).enableDhcp||(m.value=!0,_.value.enableLanDhcp=!0))}catch(b){v.value=b}f.value==0&&(p.value=!1)}))();const k=()=>L(this,null,function*(){const x=_.value.account||"",w=_.value.password||"";if(x==""){v.value=i("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(w==""){v.value=i("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}p.value=!0;const b=C.Loading(i("\u914D\u7F6E\u4E2D..."));try{const g=yield O.Guide.Pppoe.POST({account:x,password:w});if(g!=null&&g.data){const{error:y,success:F}=g.data;y&&(v.value=y),(F==null||F==0)&&(C.Success(i("\u914D\u7F6E\u6210\u529F")),c.value=1)}}catch(g){v.value=g}p.value=!1,b.Close()});return(x,w)=>{const b=ut("switch-box"),g=ut("router-link");return c.value==0?(r(),l("div",V9,[t("h2",G9,n(e(i)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",j9,n(e(i)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",q9,[f.value==-1011?(r(),l("li",{key:0,innerHTML:e(s)},null,8,U9)):D("",!0)]),t("form",{onSubmit:mt(k,["prevent"])},[t("label",null,[t("div",W9,[t("span",null,n(e(i)("\u5BBD\u5E26\u8D26\u53F7")),1)]),T(t("input",{type:"text","onUpdate:modelValue":w[0]||(w[0]=y=>_.value.account=y),placeholder:e(i)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:p.value},null,8,H9),[[ot,_.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",Z9,[t("span",null,n(e(i)("\u5BC6\u7801")),1)]),T(t("input",{type:"password","onUpdate:modelValue":w[1]||(w[1]=y=>_.value.password=y),placeholder:e(i)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:p.value},null,8,J9),[[ot,_.value.password,void 0,{trim:!0}]])]),m.value?(r(),l("div",K9,[z(b,{modelValue:_.value.enableLanDhcp,"onUpdate:modelValue":w[2]||(w[2]=y=>_.value.enableLanDhcp=y)},{default:R(()=>[t("span",Q9,n(e(i)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),v.value?(r(),l("div",X9,n(v.value),1)):D("",!0),t("div",tv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},n(e(i)("\u4FDD\u5B58\u914D\u7F6E")),9,ev),z(g,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(i)("\u8FD4\u56DE")),9,av)]),_:1},8,["to"])])],40,R9)])):c.value==1?(r(),l("div",ov,[t("h2",nv,n(e(i)("\u914D\u7F6E\u6210\u529F")),1),t("div",iv,[z(g,{to:"/",custom:""},{default:R(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},n(e(i)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,rv)]),_:1}),z(g,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},n(e(i)("\u8FD4\u56DE")),9,sv)]),_:1},8,["to"])])])):D("",!0)}}});var lv=M(dv,[["__scopeId","data-v-f442676c"]]);const uv={key:0,id:"page"},cv={class:"title"},pv={class:"desc"},fv={class:"network-message"},mv=["innerHTML"],bv=["onSubmit"],vv={class:"label-key"},gv={value:"dhcp"},hv={value:"static"},_v={class:"label-key"},xv=["placeholder","disabled"],kv={key:0,class:"msg"},wv={class:"label-key"},yv=["placeholder","disabled"],Fv={key:1,class:"msg"},Ev={class:"label-key"},Cv=["placeholder","disabled"],$v={class:"label-key"},Dv=["disabled"],Bv={value:"manual"},Yv={class:"label-key"},Av=["onUpdate:modelValue","placeholder","disabled"],Sv={class:"label-key"},zv=["placeholder","disabled"],Pv={class:"label-key"},Tv=["placeholder","disabled"],Iv={key:2,class:"chose_dhcp"},Lv={class:"dhcp_info"},Mv={key:3,class:"msgs"},Nv={class:"btns"},Ov=["disabled"],Vv=["onClick"],Gv={key:1,id:"page"},jv={class:"title"},qv={class:"btns"},Uv=["onClick"],Rv=["onClick"],Wv=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=i("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+i("\u94FE\u63A5")+""},!0),u=E(0),s=E({}),c=E(""),_=E(""),v=E(""),p=E(!1),f=E(""),m=E(""),h=E(0),k=Pt.checkIsIP,x=E(!1),b=Ye().query.type;(()=>L(this,null,function*(){var B,$;p.value=!0;try{const S=yield Promise.all([O.Guide.ClientModel.GET(),O.Guide.GetLan.GET()]);if(S[0]){const V=S[0];if(V.data){const{success:N,error:P,result:I}=V.data;I&&(I.wanProto!="dhcp"&&I.wanProto!="static"&&(I.wanProto="dhcp",I.dnsProto="auto"),I.enableLanDhcp=!1,s.value=I),N==-1011&&(h.value=N,p.value=!0)}}(B=S[1].data)!=null&&B.result&&((($=S[1].data)==null?void 0:$.result).enableDhcp||(x.value=!0,s.value.enableLanDhcp=!0))}catch(S){c.value=S}h.value==0&&(p.value=!1)}))();const y=B=>{B.target.value=="static"?((s.value.staticIp==null||s.value.staticIp=="")&&(s.value.staticIp="192.168.1.100"),(s.value.subnetMask==null||s.value.subnetMask=="")&&(s.value.subnetMask="255.255.255.0"),s.value.dnsProto=="auto"&&setTimeout(()=>s.value.dnsProto="manual",0)):s.value.dnsProto=="manual"&&setTimeout(()=>s.value.dnsProto="auto",0)},F=B=>{const $=B.target;if($.value==""){f.value="";return}k($.value)?f.value="":f.value=i("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},Y=B=>{const $=B.target;if($.value==""){m.value="";return}k($.value)?m.value="":m.value=i("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},A=()=>L(this,null,function*(){const B={};switch(s.value.wanProto){case"dhcp":break;case"static":B.staticIp=s.value.staticIp,B.subnetMask=s.value.subnetMask,B.gateway=s.value.gateway||"";break}switch(s.value.dnsProto){case"auto":break;case"manual":B.manualDnsIp=[],s.value.manualDnsIp!=null&&s.value.manualDnsIp.length>0?B.manualDnsIp=s.value.manualDnsIp:(B.manualDnsIp.push(_.value),v.value&&B.manualDnsIp.push(v.value));break}B.dnsProto=s.value.dnsProto,B.wanProto=s.value.wanProto,B.enableLanDhcp=s.value.enableLanDhcp;const $=C.Loading(i("\u914D\u7F6E\u4E2D...."));p.value=!0;try{const S=yield O.Guide.ClientModel.POST(B);if(S!=null&&S.data){const{success:V,error:N}=S==null?void 0:S.data;N&&(c.value=N),(V==null||V==0)&&(C.Success(i("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(S){c.value=S}p.value=!1,$.Close()});return(B,$)=>{const S=ut("switch-box"),V=ut("router-link");return u.value==0?(r(),l("div",uv,[t("h2",cv,n(e(i)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",pv,n(e(i)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",fv,[h.value==-1011?(r(),l("li",{key:0,innerHTML:e(d)},null,8,mv)):D("",!0)]),t("form",{onSubmit:mt(A,["prevent"])},[t("label",null,[t("div",vv,[t("span",null,n(e(i)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),T(t("select",{"onUpdate:modelValue":$[0]||($[0]=N=>s.value.wanProto=N),onInput:y},[t("option",gv,n(e(i)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",hv,n(e(i)("\u9759\u6001IP\u5730\u5740")),1)],544),[[dt,s.value.wanProto]])]),s.value.wanProto=="static"?(r(),l(G,{key:0},[t("label",null,[t("div",_v,[t("span",null,n(e(i)("IP\u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[1]||($[1]=N=>s.value.staticIp=N),placeholder:e(i)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:p.value,onInput:F},null,40,xv),[[ot,s.value.staticIp,void 0,{trim:!0}]])]),f.value?(r(),l("p",kv,n(f.value),1)):D("",!0),t("label",null,[t("div",wv,[t("span",null,n(e(i)("\u5B50\u7F51\u63A9\u7801")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[2]||($[2]=N=>s.value.subnetMask=N),placeholder:e(i)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:p.value,onInput:Y},null,40,yv),[[ot,s.value.subnetMask,void 0,{trim:!0}]])]),m.value?(r(),l("p",Fv,n(m.value),1)):D("",!0),t("label",null,[t("div",Ev,[t("span",null,n(e(i)("\u7F51\u5173\u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[3]||($[3]=N=>s.value.gateway=N),placeholder:e(i)("\u7F51\u5173\u5730\u5740"),required:"",disabled:p.value},null,8,Cv),[[ot,s.value.gateway,void 0,{trim:!0}]])])],64)):D("",!0),t("label",null,[t("div",$v,[t("span",null,n(e(i)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),T(t("select",{"onUpdate:modelValue":$[4]||($[4]=N=>s.value.dnsProto=N)},[t("option",{value:"auto",disabled:s.value.wanProto=="static"},n(e(i)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,Dv),t("option",Bv,n(e(i)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[dt,s.value.dnsProto]])]),s.value.dnsProto=="manual"?(r(),l(G,{key:1},[s.value.manualDnsIp!=null&&s.value.manualDnsIp.length>0?(r(!0),l(G,{key:0},et(s.value.manualDnsIp,(N,P)=>(r(),l("label",null,[t("div",Yv,[t("span",null,n(e(i)("DNS\u670D\u52A1\u5668")),1)]),T(t("input",{type:"text","onUpdate:modelValue":I=>s.value.manualDnsIp[P]=I,placeholder:e(i)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,Av),[[ot,s.value.manualDnsIp[P],void 0,{trim:!0}]])]))),256)):(r(),l(G,{key:1},[t("label",null,[t("div",Sv,[t("span",null,n(e(i)("DNS\u670D\u52A1\u5668")),1)]),T(t("input",{type:"text","onUpdate:modelValue":$[5]||($[5]=N=>_.value=N),placeholder:e(i)("DNS\u670D\u52A1\u5668"),required:"",disabled:p.value},null,8,zv),[[ot,_.value,void 0,{trim:!0}]])]),t("label",null,[t("div",Pv,n(e(i)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),T(t("input",{type:"text","onUpdate:modelValue":$[6]||($[6]=N=>v.value=N),placeholder:e(i)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:p.value},null,8,Tv),[[ot,v.value,void 0,{trim:!0}]])])],64))],64)):D("",!0),x.value?(r(),l("div",Iv,[z(S,{modelValue:s.value.enableLanDhcp,"onUpdate:modelValue":$[7]||($[7]=N=>s.value.enableLanDhcp=N)},{default:R(()=>[t("span",Lv,n(e(i)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),c.value?(r(),l("div",Mv,n(c.value),1)):D("",!0),t("div",Nv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},n(e(i)("\u4FDD\u5B58\u914D\u7F6E")),9,Ov),z(V,{to:e(b)=="index"?"/":"/network",custom:""},{default:R(({navigate:N})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:N},n(e(i)("\u8FD4\u56DE")),9,Vv)]),_:1},8,["to"])])],40,bv)])):u.value==1?(r(),l("div",Gv,[t("h2",jv,n(e(i)("\u914D\u7F6E\u6210\u529F")),1),t("div",qv,[z(V,{to:"/",custom:""},{default:R(({navigate:N})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:N},n(e(i)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,Uv)]),_:1}),z(V,{to:e(b)=="index"?"/":"/network",custom:""},{default:R(({navigate:N})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:N},n(e(i)("\u8FD4\u56DE")),9,Rv)]),_:1},8,["to"])])])):D("",!0)}}});var Hv=M(Wv,[["__scopeId","data-v-162eca5f"]]);const Zv=o=>(rt("data-v-2dee59a8"),o=o(),st(),o),Jv={key:0,id:"page"},Kv={class:"title"},Qv=Zv(()=>t("br",null,null,-1)),Xv={class:"btns"},tg=["onClick"],eg={key:1,id:"page"},ag={class:"title"},og={class:"desc"},ng=["onSubmit"],ig={class:"label-key"},rg={class:"label-value"},sg={class:"label-key"},dg=["placeholder"],lg={class:"label-key"},ug=["placeholder"],cg={class:"label-key"},pg=["placeholder"],fg={class:"label-key"},mg=["placeholder"],bg={key:0,class:"msgs"},vg={class:"switch_inline"},gg={key:0,class:"switch_info"},hg={key:1,class:"switch_info"},_g={class:"switch_inline"},xg={class:"switch_info"},kg={class:"switch_inline"},wg={class:"switch_info"},yg={class:"btns"},Fg={class:"cbi-button cbi-button-apply app-btn app-next"},Eg=["onClick"],Cg={key:2,id:"page"},$g={class:"title"},Dg={class:"desc"},Bg={class:"btns"},Yg={key:3,id:"page"},Ag={class:"title"},Sg=["disabled"],zg={style:{"text-align":"left"}},Pg={class:"btns"},Tg=["disabled"],Ig=["onClick"],Lg=U({setup(o){const{$gettext:i,$ngettext:a}=H(),u=Ye().query.type,s=E(0),c=E(""),_=E(!1),v=tt(()=>{var w,b,g;return!(((w=f.value)==null?void 0:w.ipv4addr)&&((b=f.value)==null?void 0:b.ipv4mask)&&((g=f.value)==null?void 0:g.gateway))}),p=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),f=E(),m=()=>{_.value=!0,O.Network.Status.GET().then(w=>{if(w!=null&&w.data){const{result:b}=w==null?void 0:w.data;b&&(f.value=b)}}).finally(()=>{_.value=!1})},h=w=>{var b,g,y,F,Y;w&&(p.value.staticLanIp=((b=f.value)==null?void 0:b.ipv4addr)||"",p.value.subnetMask=((g=f.value)==null?void 0:g.ipv4mask)&&Mt.prefixToMask(f.value.ipv4mask)||"",p.value.gateway=((y=f.value)==null?void 0:y.gateway)||"",p.value.staticDnsIp=((F=f.value)==null?void 0:F.dnsList)&&((Y=f.value)==null?void 0:Y.dnsList[0])||"223.5.5.5"),s.value=1},k=w=>{window.location.href=location.protocol+"//"+p.value.staticLanIp+(location.port?":"+location.port:"")},x=()=>L(this,null,function*(){const w=p.value,b=C.Loading(i("\u914D\u7F6E\u4E2D..."));try{const g=yield O.Guide.GatewayRouter.POST(w);if(g!=null&&g.data){const{success:y,error:F}=g==null?void 0:g.data;if(F&&(c.value=F),y==null||y==0){setTimeout(()=>{s.value=2,b.Close()},5e3);return}}}catch(g){c.value=g}b.Close()});return(w,b)=>{var F,Y,A,B;const g=ut("router-link"),y=ut("switch-box");return s.value==0?(r(),l("div",Jv,[t("h2",Kv,n(e(i)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[it(n(e(i)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,n(e(i)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),Qv,t("p",null,n(e(i)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,n(e(i)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,n(e(i)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",Xv,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:b[0]||(b[0]=$=>s.value=3)},n(e(i)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:b[1]||(b[1]=$=>h(!1))},n(e(i)("\u624B\u52A8\u914D\u7F6E...")),1),z(g,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},n(e(i)("\u8FD4\u56DE")),9,tg)]),_:1},8,["to"])])])):s.value==1?(r(),l("div",eg,[t("h2",ag,n(e(i)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",og,n(e(i)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:mt(x,["prevent"])},[t("label",null,[t("div",ig,[t("span",null,n(e(i)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",rg,[t("select",{disabled:"",style:Bt({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,n(e(i)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",sg,[t("span",null,n(e(i)("IP \u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":b[2]||(b[2]=$=>p.value.staticLanIp=$),placeholder:e(i)("IP\u5730\u5740"),required:""},null,8,dg),[[ot,p.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",lg,[t("span",null,n(e(i)("\u5B50\u7F51\u63A9\u7801")),1)]),T(t("input",{type:"text","onUpdate:modelValue":b[3]||(b[3]=$=>p.value.subnetMask=$),placeholder:e(i)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,ug),[[ot,p.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",cg,[t("span",null,n(e(i)("\u7F51\u5173\u5730\u5740")),1)]),T(t("input",{type:"text","onUpdate:modelValue":b[4]||(b[4]=$=>p.value.gateway=$),placeholder:e(i)("\u7F51\u5173\u5730\u5740"),required:""},null,8,pg),[[ot,p.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",fg,[t("span",null,n(e(i)("DNS\u670D\u52A1\u5668")),1)]),T(t("input",{type:"text","onUpdate:modelValue":b[5]||(b[5]=$=>p.value.staticDnsIp=$),placeholder:e(i)("223.5.5.5"),required:""},null,8,mg),[[ot,p.value.staticDnsIp,void 0,{trim:!0}]])]),c.value?(r(),l("div",bg,n(c.value),1)):D("",!0),t("div",vg,[z(y,{modelValue:p.value.enableDhcp,"onUpdate:modelValue":b[6]||(b[6]=$=>p.value.enableDhcp=$)},{default:R(()=>[p.value.enableDhcp?(r(),l("span",gg,n(e(i)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(r(),l("span",hg,n(e(i)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",_g,[z(y,{modelValue:p.value.dhcp6c,"onUpdate:modelValue":b[7]||(b[7]=$=>p.value.dhcp6c=$)},{default:R(()=>[t("span",xg,n(e(i)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",kg,[z(y,{modelValue:p.value.enableNat,"onUpdate:modelValue":b[8]||(b[8]=$=>p.value.enableNat=$)},{default:R(()=>[t("span",wg,n(e(i)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",yg,[t("button",Fg,n(e(i)("\u4FDD\u5B58\u914D\u7F6E")),1),z(g,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},n(e(i)("\u8FD4\u56DE")),9,Eg)]),_:1},8,["to"])])],40,ng)])):s.value==2?(r(),l("div",Cg,[t("h2",$g,n(e(i)("\u914D\u7F6E\u6210\u529F")),1),t("h3",Dg,n(e(i)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",Bg,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k},n(e(i)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):s.value==3?(r(),l("div",Yg,[t("h2",Ag,n(e(i)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,n(e(i)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),it(" "+n(e(i)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:pt(["cbi-button cbi-button-neutral",e(v)?"cbi-button-neutral":"cbi-button-success"]),disabled:_.value,onClick:m},[it(n(e(i)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",zg,[t("ul",null,[t("li",null,n(e(i)("IP \u5730\u5740: "))+n((F=f.value)==null?void 0:F.ipv4addr),1),t("li",null,n(e(i)("\u5B50\u7F51\u63A9\u7801: "))+n(((Y=f.value)==null?void 0:Y.ipv4mask)&&e(Mt).prefixToMask(f.value.ipv4mask)),1),t("li",null,n(e(i)("\u7F51\u5173\u5730\u5740: "))+n((A=f.value)==null?void 0:A.gateway),1),t("li",null,n(e(i)("DNS\u670D\u52A1\u5668: "))+n(((B=f.value)==null?void 0:B.dnsList)&&f.value.dnsList[0]||(e(v)?"":e(i)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,Sg),it(" "+n(e(i)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",Pg,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(v),onClick:b[9]||(b[9]=$=>h(!0))},n(e(i)("\u81EA\u52A8\u586B\u5199..."))+n(e(v)?e(i)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,Tg),z(g,{to:e(u)=="index"?"/":"/network",custom:""},{default:R(({navigate:$})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:$},n(e(i)("\u8FD4\u56DE")),9,Ig)]),_:1},8,["to"])])])):D("",!0)}}});var Mg=M(Lg,[["__scopeId","data-v-2dee59a8"]]);const Ng={class:"actioner-container"},Og={class:"actioner-container_header"},Vg={class:"actioner-container_body"},Gg={class:"label-item"},jg={class:"label-item_key"},qg={class:"label-item_value"},Ug=["value"],Rg={class:"label-item_tips"},Wg={class:"label-item"},Hg={class:"label-item_key"},Zg={key:0,class:"label-item_value"},Jg={class:"msg-warning"},Kg={key:1,class:"label-item_value"},Qg=["value"],Xg={key:1,class:"msg-warning"},th={class:"label-item_tips"},eh={class:"actioner-container_footer"},ah=["disabled"],oh=["disabled"],nh={key:1,class:"actioner-container_body setup-loading"},ih={class:"actioner-container_body setup-error"},rh={class:"actioner-container_footer"},sh=["disabled"],dh={class:"actioner-container_body setup-success"},lh={class:"body-title"},uh={class:"actioner-container_footer"},ch=U({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=E("init"),_=E(""),v=[{name:"jbod",title:a("JBOD (\u7EBF\u6027)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid0",title:a("RAID 0 (\u6761\u5E26)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid1",title:a("RAID 1 (\u955C\u50CF)"),info:a("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid5",title:"RAID 5 ",info:a("\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002"),select:3},{name:"raid6",title:"RAID 6 ",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002"),select:4},{name:"raid10",title:"RAID 10",info:a("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002"),select:4}],p=E("raid5"),f=E([]),m=g=>{let y="";return v.forEach(F=>{F.name===g&&(y=F.info)}),y},h=E(!1),k=vt({loading:!1,members:[]}),x=g=>{};(()=>L(this,null,function*(){k.loading=!0;try{const g=yield O.Raid.CreateList.GET();if(g!=null&&g.data){const{success:y,error:F,result:Y}=g.data;if(Y&&(k.members=Y.members||[]),F)throw F}}catch(g){console.log(g)}finally{k.loading=!1}}))();const b=()=>L(this,null,function*(){const g=v.filter(F=>F.name===p.value)[0],y=f.value;if(!g){C.Warning(a("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(y.length==0){C.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(g.select>y.length){C.Warning(a("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+g.select}));return}if(!!confirm(a("\u662F\u5426\u7ACB\u5373\u521B\u5EFA %{name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",{name:g.name}))&&!!confirm(a("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:g.name}))){h.value=!0,c.value="loading";try{const F=yield O.Raid.Create.POST({level:g.name,devicePaths:y});if(F.data){const{success:Y,error:A,result:B}=F.data;if(A)throw A;(Y||0)==0&&(c.value="success",s())}}catch(F){_.value=F,c.value="error"}finally{h.value=!1}}});return(g,y)=>{const F=ut("icon-loading"),Y=ut("icon-error"),A=ut("icon-success");return r(),l("div",Ng,[t("div",Og,[t("span",null,n(e(a)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),c.value=="init"?(r(),l(G,{key:0},[t("div",Vg,[t("p",null,n(e(a)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",Gg,[t("div",jg,[t("span",null,n(e(a)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",qg,[T(t("select",{"onUpdate:modelValue":y[0]||(y[0]=B=>p.value=B),onChange:x},[(r(),l(G,null,et(v,B=>t("option",{value:B.name},n(B.title),9,Ug)),64))],544),[[dt,p.value]])]),t("div",Rg,[z(Tt),it(" "+n(m(p.value)),1)])]),t("div",Wg,[t("div",Hg,[t("span",null,n(e(a)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(k).loading?(r(),l("div",Zg,[t("span",Jg,n(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),l("div",Kg,[e(k).members.length>0?(r(!0),l(G,{key:0},et(e(k).members,B=>(r(),l("label",null,[T(t("input",{type:"checkbox","onUpdate:modelValue":y[1]||(y[1]=$=>f.value=$),value:B.path},null,8,Qg),[[Rt,f.value]]),it(" \u3010"+n(B.model)+"\u3011"+n(B.name)+" "+n(B.path)+" ["+n(B.sizeStr)+"] ",1)]))),256)):(r(),l("span",Xg,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",th,[z(Tt),it(" "+n(e(a)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",eh,[t("div",{class:"close",onClick:u,disabled:h.value},n(e(a)("\u53D6\u6D88")),9,ah),t("div",{class:"next",onClick:b,disabled:h.value},n(e(a)("\u521B\u5EFA")),9,oh)])],64)):c.value=="loading"?(r(),l("div",nh,[z(F,{size:60,color:"#666"}),t("span",null,n(e(a)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):c.value=="error"?(r(),l(G,{key:2},[t("div",ih,[z(Y),t("span",null,n(_.value),1)]),t("div",rh,[t("div",{class:"close",onClick:u},n(e(a)("\u5173\u95ED")),1),t("div",{class:"next",onClick:b,disabled:h.value},n(e(a)("\u91CD\u65B0\u521B\u5EFA")),9,sh)])],64)):c.value=="success"?(r(),l(G,{key:3},[t("div",dh,[z(A),t("div",lh,n(e(a)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",uh,[t("div",{class:"close",onClick:u},n(e(a)("\u5173\u95ED")),1)])],64)):D("",!0)])}}});var ph=M(ch,[["__scopeId","data-v-77451104"]]);const fh={class:"actioner-container"},mh={class:"actioner-container_body"},bh=["value"],vh={class:"actioner-container_footer"},gh=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=E("");return(()=>{O.Raid.Detail.POST({path:i.raid.path}).then(_=>{if(_.data){const{result:v,error:p}=_.data;p?s.value=p:s.value=(v==null?void 0:v.detail)||""}}).catch(_=>{s.value=_.message})})(),(_,v)=>(r(),l("div",fh,[t("div",mh,[t("textarea",{value:s.value},null,8,bh)]),t("div",vh,[t("div",{class:"close",onClick:u},n(e(a)("\u5173\u95ED")),1)])]))}});var hh=M(gh,[["__scopeId","data-v-5ec616d8"]]);const _h={class:"actioner-container"},xh={class:"actioner-container_header"},kh={class:"actioner-container_body"},wh={class:"label-item"},yh={class:"label-item_key"},Fh={class:"label-item_value"},Eh={disabled:""},Ch={class:"label-item"},$h={class:"label-item_key"},Dh={key:0,class:"label-item_value"},Bh={class:"msg-warning"},Yh={key:1,class:"label-item_value"},Ah=["value"],Sh={key:1,class:"msg-warning"},zh={class:"actioner-container_footer"},Ph=["disabled"],Th=["disabled"],Ih=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=()=>L(this,null,function*(){const m=p.value;if(m==""){C.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}v.value=!0;const h=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield O.Raid.Add.POST({path:i.raid.path,memberPath:m});if(k.data){const{error:x,success:w}=k.data;if(x)throw x;(w||0)==0&&(C.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(k){C.Error(`${k}`)}finally{v.value=!1,h.Close()}}),_=vt({loading:!1,members:[]}),v=E(!1),p=E("");return(()=>L(this,null,function*(){_.loading=!0,v.value=!0;try{const m=yield O.Raid.CreateList.GET();if(m!=null&&m.data){const{success:h,error:k,result:x}=m.data;if(x&&(_.members=x.members||[]),k)throw k}}catch(m){console.log(m)}finally{v.value=!1,_.loading=!1}}))(),(m,h)=>(r(),l("div",_h,[t("div",xh,[t("span",null,"RAID - "+n(o.raid.name)+" "+n(e(a)("\u4FEE\u6539")),1)]),t("div",kh,[t("div",wh,[t("div",yh,n(e(a)("\u8BBE\u5907")),1),t("div",Fh,[t("select",Eh,[t("option",null,n(o.raid.name)+"_"+n(o.raid.venderModel)+" ("+n(o.raid.path)+"\uFF0C"+n(o.raid.level)+"\uFF0C"+n(o.raid.size)+") ",1)])])]),t("div",Ch,[t("div",$h,n(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(_).loading?(r(),l("div",Dh,[t("span",Bh,n(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),l("div",Yh,[e(_).members.length>0?(r(!0),l(G,{key:0},et(e(_).members,k=>(r(),l("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":h[0]||(h[0]=x=>p.value=x),value:k.path},null,8,Ah),[[Et,p.value]]),it(" \u3010"+n(k.model)+"\u3011"+n(k.name)+" "+n(k.path)+" ["+n(k.sizeStr)+"] ",1)]))),256)):(r(),l("span",Sh,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",zh,[t("div",{class:"close",onClick:u,disabled:v.value},n(e(a)("\u53D6\u6D88")),9,Ph),t("div",{class:"next",onClick:c,disabled:v.value},n(e(a)("\u4FDD\u5B58")),9,Th)])]))}});var Lh=M(Ih,[["__scopeId","data-v-70cb932e"]]);const Mh={class:"actioner-container"},Nh={class:"actioner-container_header"},Oh={class:"actioner-container_body"},Vh={class:"label-item"},Gh={class:"label-item_key"},jh={class:"label-item_value"},qh={disabled:""},Uh={class:"label-item"},Rh={class:"label-item_key"},Wh={class:"label-item_value"},Hh=["value"],Zh={class:"actioner-container_footer"},Jh=["disabled"],Kh=["disabled"],Qh=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=()=>L(this,null,function*(){const p=v.value;if(p==""){C.Warning(a("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}_.value=!0;const f=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const m=yield O.Raid.Remove.POST({path:i.raid.path,memberPath:p});if(m.data){const{error:h,success:k}=m.data;if(h)throw h;(k||0)==0&&(C.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(m){C.Error(`${m}`)}finally{_.value=!1,f.Close()}}),_=E(!1),v=E("");return(p,f)=>(r(),l("div",Mh,[t("div",Nh,[t("span",null,"RAID - "+n(o.raid.name)+" "+n(e(a)("\u79FB\u9664")),1)]),t("div",Oh,[t("div",Vh,[t("div",Gh,n(e(a)("\u8BBE\u5907")),1),t("div",jh,[t("select",qh,[t("option",null,n(o.raid.name)+"_"+n(o.raid.venderModel)+" ("+n(o.raid.path)+"\uFF0C"+n(o.raid.level)+"\uFF0C"+n(o.raid.size)+") ",1)])])]),t("div",Uh,[t("div",Rh,n(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",Wh,[(r(!0),l(G,null,et(o.raid.members,m=>(r(),l("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=h=>v.value=h),value:m},null,8,Hh),[[Et,v.value]]),it(" "+n(m),1)]))),256))])])]),t("div",Zh,[t("div",{class:"close",onClick:u,disabled:_.value},n(e(a)("\u53D6\u6D88")),9,Jh),t("div",{class:"next",onClick:c,disabled:_.value},n(e(a)("\u4FDD\u5B58")),9,Kh)])]))}});var Xh=M(Qh,[["__scopeId","data-v-56c0f6fb"]]);const t_={class:"actioner-container"},e_={class:"actioner-container_header"},a_={class:"actioner-container_body"},o_={class:"label-item"},n_={class:"label-item_key"},i_={class:"label-item_value"},r_={disabled:""},s_={class:"label-item"},d_={class:"label-item_key"},l_={key:0,class:"label-item_value"},u_={class:"msg-warning"},c_={key:1,class:"label-item_value"},p_=["value"],f_={key:1,class:"msg-warning"},m_={class:"actioner-container_footer"},b_=["disabled"],v_=["disabled"],g_=U({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=()=>{i.Close()},s=()=>{i.success&&i.success()},c=()=>L(this,null,function*(){const m=p.value;if(m==""){C.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}v.value=!0;const h=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield O.Raid.Recover.POST({path:i.raid.path,memberPath:m});if(k.data){const{error:x,success:w}=k.data;if(x)throw x;(w||0)==0&&(C.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(k){C.Error(`${k}`)}finally{v.value=!1,h.Close()}}),_=vt({loading:!1,members:[]}),v=E(!1),p=E("");return(()=>L(this,null,function*(){_.loading=!0,v.value=!0;try{const m=yield O.Raid.CreateList.GET();if(m!=null&&m.data){const{success:h,error:k,result:x}=m.data;if(x&&(_.members=x.members||[]),k)throw k}}catch(m){console.log(m)}finally{v.value=!1,_.loading=!1}}))(),(m,h)=>(r(),l("div",t_,[t("div",e_,[t("span",null,"RAID - "+n(o.raid.name)+" "+n(e(a)("\u6062\u590D")),1)]),t("div",a_,[t("div",o_,[t("div",n_,n(e(a)("\u8BBE\u5907")),1),t("div",i_,[t("select",r_,[t("option",null,n(o.raid.name)+"_"+n(o.raid.venderModel)+" ("+n(o.raid.path)+"\uFF0C"+n(o.raid.level)+"\uFF0C"+n(o.raid.size)+") ",1)])])]),t("div",s_,[t("div",d_,n(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(_).loading?(r(),l("div",l_,[t("span",u_,n(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),l("div",c_,[e(_).members.length>0?(r(!0),l(G,{key:0},et(e(_).members,k=>(r(),l("label",null,[T(t("input",{type:"radio","onUpdate:modelValue":h[0]||(h[0]=x=>p.value=x),value:k.path},null,8,p_),[[Et,p.value]]),it(" \u3010"+n(k.model)+"\u3011"+n(k.name)+" "+n(k.path)+" ["+n(k.sizeStr)+"] ",1)]))),256)):(r(),l("span",f_,n(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",m_,[t("div",{class:"close",onClick:u,disabled:v.value},n(e(a)("\u53D6\u6D88")),9,b_),t("div",{class:"next",onClick:c,disabled:v.value},n(e(a)("\u4FDD\u5B58")),9,v_)])]))}});var h_=M(g_,[["__scopeId","data-v-0586260e"]]);const __={class:"action-main"},x_=U({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(i,a)=>(r(),K(_t,{type:2},{default:R(()=>[t("div",__,[o.setup=="create"?(r(),K(ph,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(r(),K(hh,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(r(),K(Lh,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(r(),K(Xh,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(r(),K(h_,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):D("",!0)])]),_:1}))}});var k_=M(x_,[["__scopeId","data-v-e20ba082"]]);const ve=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(k_,bt(lt({},o),{Close:()=>{d()}}));a.use(Fa),a.mount(i);const d=()=>{a.unmount(),i.remove()};return{Close:d}},Pa=o=>(rt("data-v-f1411b40"),o=o(),st(),o),w_={id:"page"},y_={name:"content"},F_={class:"cbi-map-descr"},E_={style:{color:"#f5365b","margin-top":"10px"}},C_={style:{color:"#f5365b","margin-top":"10px"}},$_={class:"btns"},D_=["disabled"],B_={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Y_={class:"table cbi-section-table"},A_={style:{}},S_={class:"tr cbi-section-table-titles anonymous"},z_={class:"th cbi-section-table-cell","data-widget":"value"},P_={class:"th cbi-section-table-cell","data-widget":"value"},T_={class:"th cbi-section-table-cell","data-widget":"value"},I_={class:"th cbi-section-table-cell","data-widget":"value"},L_={class:"th cbi-section-table-cell","data-widget":"value"},M_={class:"th cbi-section-table-cell","data-widget":"value"},N_={class:"th cbi-section-table-cell","data-widget":"value"},O_={class:"th cbi-section-table-cell","data-widget":"value"},V_={class:"tr cbi-section-table-row"},G_={class:"td cbi-value-field"},j_={class:"td cbi-value-field"},q_=["title"],U_={class:"item-status"},R_={key:0,class:"item-status item-status-detail"},W_={class:"td cbi-value-field"},H_={class:"td cbi-value-field"},Z_={class:"td cbi-value-field"},J_=Pa(()=>t("br",null,null,-1)),K_={class:"td cbi-value-field"},Q_=Pa(()=>t("br",null,null,-1)),X_={key:1,href:"/cgi-bin/luci/admin/quickstart/"},tx={class:"td cbi-section-table-cell nowrap cbi-section-actions"},ex=["title","disabled","onClick"],ax=["title","disabled","onClick"],ox=["title","onClick"],nx=["title","onClick"],ix=["title","onClick"],rx=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=vt({disksList:[]}),u=()=>L(this,null,function*(){try{const b=yield O.Raid.List.GET();if(b!=null&&b.data){const{success:g,error:y,result:F}=b.data;if(F&&(d.disksList=F.disks||[]),y)throw y}}catch(b){console.log(b)}}),s=Pt.easyInterval(u,5e3);qe(()=>{s()});const c=b=>{switch(b.level){case"raid0":case"jbod":return!0}return b.status.indexOf("degraded")!=-1||b.status.indexOf("resyncing(")!=-1},_=b=>{let g=[];return b.childrens&&b.childrens.forEach(y=>{y.mountPoint&&g.push(`${y.name}(${y.mountPoint})`)}),g},v=()=>L(this,null,function*(){ve({setup:"create",success:()=>{u()}})}),p=b=>{ve({setup:"info",raid:b})},f=b=>L(this,null,function*(){if(b.childrens&&b.childrens.length>0&&b.childrens.filter(F=>F.mountPoint).length>0){Be({content:i("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:i("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:i("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(i("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:b.name}))||!confirm(i("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:b.name})))return;const g=C.Loading(i("\u5220\u9664\u4E2D..."));try{const y=yield O.Raid.Delete.POST({path:b.path,members:b.members});if(y.data){const{success:F,error:Y}=y.data;if(Y)throw Y;(F||0)==0&&(C.Success(i("\u5220\u9664\u6210\u529F")),u())}}catch(y){C.Error(`${y}`)}finally{g.Close()}}),m=b=>{ve({setup:"edit",raid:b,success:()=>{u()}})},h=b=>{ve({setup:"remove",raid:b,success:()=>{u()}})},k=b=>{ve({setup:"recover",raid:b,success:()=>{u()}})},x=E(!1),w=()=>{Be({content:i("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:i("\u786E\u5B9A"),next:()=>L(this,null,function*(){x.value=!0;const b=C.Loading(i("\u626B\u63CF\u4E2D..."));try{const g=yield O.Raid.Autofix.GET();if(g.data){const{error:y,success:F}=g.data;if(y)throw y;(F||0)==0&&(C.Success(i("\u6062\u590D\u5B8C\u6210")),u())}}catch(g){C.Error(`${g}`)}finally{b.Close(),x.value=!1}}),clearTitle:i("\u53D6\u6D88"),clear:()=>{}})};return(b,g)=>(r(),l("div",w_,[t("h2",y_,n(e(i)("RAID\u7BA1\u7406")),1),t("div",F_,[t("p",null,n(e(i)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",E_," * "+n(e(i)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",C_," * "+n(e(i)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",$_,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:g[0]||(g[0]=y=>v())},n(e(i)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:g[1]||(g[1]=y=>w()),disabled:x.value},n(e(i)("\u626B\u63CF\u6062\u590DRAID")),9,D_)]),t("div",null,[t("div",B_,[t("table",Y_,[t("tbody",A_,[t("tr",S_,[t("th",z_,n(e(i)("\u540D\u79F0")),1),t("th",P_,n(e(i)("\u8BBE\u5907")),1),t("th",T_,n(e(i)("\u72B6\u6001")),1),t("th",I_,n(e(i)("\u7EA7\u522B")),1),t("th",L_,n(e(i)("\u5BB9\u91CF")),1),t("th",M_,n(e(i)("\u6210\u5458")),1),t("th",N_,n(e(i)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",O_,n(e(i)("\u64CD\u4F5C")),1)]),(r(!0),l(G,null,et(e(d).disksList,y=>(r(),l("tr",V_,[t("td",G_,[t("b",null,n(y.name),1)]),t("td",j_,[t("b",null,n(y.path),1)]),t("td",{class:"td cbi-value-field",title:y.status+(y.rebuildStatus||"")},[t("b",U_,n(y.status),1),y.rebuildStatus?(r(),l("b",R_," \u2026 ")):D("",!0)],8,q_),t("td",W_,[t("b",null,n(y.level),1)]),t("td",H_,[t("b",null,n(y.size),1)]),t("td",Z_,[(r(!0),l(G,null,et(y.members,F=>(r(),l("b",null,[it(n(F)+" ",1),J_]))),256))]),t("td",K_,[_(y).length>0?(r(!0),l(G,{key:0},et(_(y),F=>(r(),l("b",null,[it(n(F)+" ",1),Q_]))),256)):(r(),l("a",X_,n(e(i)("\u53BB\u6302\u8F7D")),1))]),t("td",tx,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u6269\u5145"),disabled:c(y),onClick:F=>m(y)},n(e(i)("\u6269\u5145")),9,ex),t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u79FB\u9664"),disabled:c(y),onClick:F=>h(y)},n(e(i)("\u79FB\u9664")),9,ax),t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u6062\u590D"),onClick:F=>k(y)},n(e(i)("\u6062\u590D")),9,ox),t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u8BE6\u60C5"),onClick:F=>p(y)},n(e(i)("\u8BE6\u60C5")),9,nx),t("button",{class:"cbi-button cbi-button-remove",title:e(i)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:F=>f(y)},n(e(i)("\u5220\u9664")),9,ix)])]))),256))])])])])]))}});var sx=M(rx,[["__scopeId","data-v-f1411b40"]]);const dx=o=>(rt("data-v-2b6b4ef9"),o=o(),st(),o),lx={id:"page"},ux=dx(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),cx={class:"cbi-map-descr"},px={class:"tabs"},fx=["href","onClick"],mx=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=[{to:"/smart",name:i("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:i("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:i("\u67E5\u770B\u65E5\u5FD7")}],u=E(!1),s=vt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),c=p=>{const{global:f,devices:m,tasks:h}=p;f&&(s.global.enable=f.enable||!1,s.global.powermode=f.powermode||"never"),s.devices=m||[],s.tasks=h||[]};(()=>L(this,null,function*(){try{const p=yield O.Smart.Config.GET();if(p.data){const{result:f}=p.data;f&&c(f)}}catch(p){}finally{u.value=!0}}))();const v=p=>L(this,null,function*(){const f=C.Loading(i("\u4FDD\u5B58\u4E2D..."));try{const m=yield O.Smart.Config.POST(p);if(m.data){console.log(m.data);const{success:h,error:k,result:x}=m.data;if(k)throw k;(h||0)==0&&(C.Success(i("\u4FDD\u5B58\u6210\u529F")),x&&c(x))}}catch(m){C.Error(`${m}`)}finally{f.Close()}});return(p,f)=>{const m=ut("router-link"),h=ut("router-view");return r(),l("div",lx,[ux,t("div",cx,[t("p",null,n(e(i)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,n(e(i)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,n(e(i)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,n(e(i)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",px,[(r(),l(G,null,et(d,k=>z(m,{to:k.to,custom:"",key:k.to},{default:R(({route:x,href:w,navigate:b,isActive:g,isExactActive:y})=>[t("li",{class:pt({"active cbi-tab":g&&y})},[t("a",{href:w,onClick:b},n(k.name),9,fx)],2)]),_:2},1032,["to"])),64))]),u.value?(r(),K(h,{key:0,name:"default"},{default:R(({Component:k,route:x})=>[(r(),K(Ha,null,{default:R(()=>[(r(),K(Za(k),{key:x.path,config:e(s),saveData:v},null,8,["config"]))]),_:2},1024))]),_:1})):D("",!0)])}}});var bx=M(mx,[["__scopeId","data-v-2b6b4ef9"]]);const vx={class:"action-main"},gx=U({setup(o){return(i,a)=>(r(),K(_t,{type:2},{default:R(()=>[t("div",vx,[zt(i.$slots,"default",{},void 0,!0)])]),_:3}))}});var Le=M(gx,[["__scopeId","data-v-f3b0d6f0"]]);const hx={class:"actioner-container"},_x={class:"actioner-container_header"},xx={class:"actioner-container_body"},kx={class:"cbi-value"},wx={class:"cbi-value-title"},yx={class:"cbi-value-field"},Fx={class:"cbi-value-description"},Ex={class:"cbi-value"},Cx={class:"cbi-value-title"},$x={class:"cbi-value-field"},Dx={class:"cbi-checkbox"},Bx={value:-1},Yx={value:0},Ax=["value"],Sx={class:"cbi-value-description"},zx={class:"cbi-value"},Px={class:"cbi-value-title"},Tx={class:"cbi-value-field"},Ix={class:"cbi-checkbox"},Lx={value:-1},Mx={value:0},Nx=["value"],Ox={class:"cbi-value-description"},Vx={class:"actioner-container_footer"},Gx=["disabled"],jx=["disabled"],qx=U({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var v,p,f;const i=o,{$gettext:a,$ngettext:d}=H();console.log(i.device);const u=E(!1),s=vt({tmpDiff:((v=i.device)==null?void 0:v.tmpDiff)||0,tmpMax:((p=i.device)==null?void 0:p.tmpMax)||0,devicePath:((f=i.device)==null?void 0:f.devicePath)||""}),c=()=>{u.value=!0,i.close()},_=()=>L(this,null,function*(){u.value=!0;try{yield i.next({tmpDiff:s.tmpDiff,tmpMax:s.tmpMax,devicePath:s.devicePath}),u.value=!1,c()}catch(m){}});return(m,h)=>(r(),K(Le,null,{default:R(()=>[t("div",hx,[t("div",_x,[t("span",null," S.M.A.R.T. \xBB "+n(e(a)("\u8BBE\u5907"))+" \xBB "+n(o.disk.path),1)]),t("div",xx,[t("div",kx,[t("label",wx,n(e(a)("\u78C1\u76D8")),1),t("div",yx,[t("div",Fx,n(o.disk.model)+" [ "+n(o.disk.path)+"\uFF0C"+n(o.disk.sizeStr)+" ] ",1)])]),t("div",Ex,[t("label",Cx,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",$x,[t("div",Dx,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[0]||(h[0]=k=>e(s).tmpDiff=k)},[t("option",Bx,n(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Yx,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(20,k=>t("option",{value:k},n(k)+"\xB0C",9,Ax)),64))],512),[[dt,e(s).tmpDiff,void 0,{number:!0}]])]),t("div",Sx,n(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",zx,[t("label",Px,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",Tx,[t("div",Ix,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[1]||(h[1]=k=>e(s).tmpMax=k)},[t("option",Lx,n(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Mx,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(20,k=>t("option",{value:k*5},n(k*5)+"\xB0C",9,Nx)),64))],512),[[dt,e(s).tmpMax,void 0,{number:!0}]])]),t("div",Ox,n(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",Vx,[t("button",{class:"close",onClick:c,disabled:u.value},n(e(a)("\u53D6\u6D88")),9,Gx),t("button",{class:"next",onClick:_,disabled:u.value},n(e(a)("\u4FDD\u5B58")),9,jx)])])]),_:1}))}}),Ux={class:"actioner-container"},Rx={class:"actioner-container_header"},Wx={class:"actioner-container_body"},Hx={class:"cbi-value"},Zx={class:"cbi-value-title"},Jx={class:"cbi-value-field"},Kx={class:"cbi-checkbox"},Qx={value:""},Xx=["value"],tk={class:"cbi-value"},ek={class:"cbi-value-title"},ak={class:"cbi-value-field"},ok={class:"cbi-checkbox"},nk={value:"short"},ik={value:"long"},rk={value:"conveyance"},sk={value:"offline"},dk={class:"cbi-value"},lk={class:"cbi-value-title"},uk={class:"cbi-value-field"},ck={class:"cbi-checkbox"},pk=t("option",{value:"*"},"*",-1),fk=["value"],mk={class:"cbi-value-description"},bk={class:"cbi-value"},vk={class:"cbi-value-title"},gk={class:"cbi-value-field"},hk={class:"cbi-checkbox"},_k=t("option",{value:"*"},"*",-1),xk=["value"],kk={class:"cbi-value-description"},wk={class:"cbi-value"},yk={class:"cbi-value-title"},Fk={class:"cbi-value-field"},Ek={class:"cbi-checkbox"},Ck=t("option",{value:"*"},"*",-1),$k=["value"],Dk={class:"cbi-value-description"},Bk={class:"actioner-container_footer"},Yk=["disabled"],Ak=["disabled"],Sk=U({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=vt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),c=E([]);(()=>L(this,null,function*(){try{const f=yield O.Smart.List.GET();if(f.data){const{result:m,error:h}=f.data;m&&m.disks&&(c.value=m.disks)}}catch(f){}}))();const v=()=>{u.value=!0,i.close()},p=()=>L(this,null,function*(){if(s.devicePath==""){C.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}u.value=!0;try{yield i.next(s),v()}catch(f){}finally{u.value=!1}});return(f,m)=>(r(),K(Le,null,{default:R(()=>[t("div",Ux,[t("div",Rx,[t("span",null,n(e(a)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",Wx,[t("div",Hx,[t("label",Zx,n(e(a)("\u78C1\u76D8")),1),t("div",Jx,[t("div",Kx,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[0]||(m[0]=h=>e(s).devicePath=h)},[t("option",Qx,n(e(a)("\u9009\u62E9\u78C1\u76D8")),1),(r(!0),l(G,null,et(c.value,h=>(r(),l("option",{value:h.path},n(h.model)+" [ "+n(h.path)+"\uFF0C"+n(h.sizeStr)+" ] ",9,Xx))),256))],512),[[dt,e(s).devicePath,void 0,{trim:!0}]])])])]),t("div",tk,[t("label",ek,n(e(a)("\u7C7B\u578B")),1),t("div",ak,[t("div",ok,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[1]||(m[1]=h=>e(s).type=h)},[t("option",nk,n(e(a)("\u77ED\u6682\u81EA\u68C0")),1),t("option",ik,n(e(a)("\u957F\u65F6\u81EA\u68C0")),1),t("option",rk,n(e(a)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",sk,n(e(a)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[dt,e(s).type,void 0,{trim:!0}]])])])]),t("div",dk,[t("label",lk,n(e(a)("\u5C0F\u65F6")),1),t("div",uk,[t("div",ck,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[2]||(m[2]=h=>e(s).hour=h)},[pk,(r(),l(G,null,et(24,(h,k)=>t("option",{value:`${k}`},n(k),9,fk)),64))],512),[[dt,e(s).hour,void 0,{trim:!0}]])]),t("div",mk,n(e(a)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",bk,[t("label",vk,n(e(a)("\u5929")),1),t("div",gk,[t("div",hk,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[3]||(m[3]=h=>e(s).dayPerMonth=h)},[_k,(r(),l(G,null,et(31,h=>t("option",{value:`${h}`},n(h),9,xk)),64))],512),[[dt,e(s).dayPerMonth,void 0,{trim:!0}]])]),t("div",kk,n(e(a)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",wk,[t("label",yk,n(e(a)("\u6708")),1),t("div",Fk,[t("div",Ek,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[4]||(m[4]=h=>e(s).month=h)},[Ck,(r(),l(G,null,et(12,(h,k)=>t("option",{value:`${h}`},n(h),9,$k)),64))],512),[[dt,e(s).month,void 0,{trim:!0}]])]),t("div",Dk,n(e(a)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",Bk,[t("button",{class:"close",onClick:v,disabled:u.value},n(e(a)("\u53D6\u6D88")),9,Yk),t("button",{class:"next",onClick:p,disabled:u.value},n(e(a)("\u4FDD\u5B58")),9,Ak)])])]),_:1}))}}),zk={class:"actioner-container"},Pk={class:"actioner-container_header"},Tk={class:"actioner-container_body"},Ik=["value"],Lk={class:"actioner-container_footer"},Mk=["disabled"],Nk=["disabled"],Ok=U({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=E(""),c=E(""),_=E(""),v=()=>L(this,null,function*(){s.value+=".";try{const h=yield O.Smart.Test.Result.POST({type:"selftest",devicePath:i.task.devicePath||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(_.value=k.result),x&&(_.value=x)}}catch(h){h&&(_.value=h)}}),p=Pt.easyInterval(v,5e3);qe(()=>{p()});const f=()=>{u.value=!0,p(),i.close()},m=()=>L(this,null,function*(){u.value=!0;try{const h=yield O.Smart.Test.POST({type:i.task.type||"short",devicePath:i.task.devicePath||""});if(h.data){const{success:k,error:x,result:w}=h.data;x&&(c.value=x),w&&w.result&&(c.value=w.result)}}catch(h){c.value=h}finally{}});return(h,k)=>(r(),K(Le,null,{default:R(()=>[t("div",zk,[t("div",Pk,[t("span",null,n(e(a)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",Tk,[t("textarea",{value:c.value+` `+_.value+` -`+s.value,disabled:""},null,8,Ik)]),t("div",Lk,[t("div",{class:"close",onClick:f,disabled:u.value},n(e(a)("\u5173\u95ED")),9,Mk),u.value?D("",!0):(r(),l("div",{key:0,class:"next",onClick:m,disabled:u.value},n(e(a)("\u8FD0\u884C")),9,Nk))])])]),_:1}))}});var Vk=M(Ok,[["__scopeId","data-v-abf07ee0"]]);const Gk={class:"actioner-container"},jk={class:"actioner-container_header"},qk={class:"tabs"},Uk={class:"actioner-container_body"},Rk={key:0,class:"table"},Wk={class:"tr"},Hk={class:"td left"},Zk={class:"td left"},Jk={class:"tr"},Kk={class:"td left"},Qk={class:"td left"},Xk={class:"tr"},tw={class:"td left"},ew={class:"td left"},aw=["value"],ow=["value"],nw=["value"],iw={class:"actioner-container_footer"},rw=["disabled"],sw=U({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=E("info"),c=h=>{switch(s.value=h,h){case"info":break;case"attribute":f();break;case"log":p();break;case"extend":m();break}},_=()=>{u.value=!0,i.close()},g=gt({log:"",attribute:"",extend:""}),p=()=>L(this,null,function*(){try{const h=yield O.Smart.Test.Result.POST({type:"selftest",devicePath:i.disk.path||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(g.log=k.result),x&&(g.log=x)}}catch(h){g.log=h}}),f=()=>L(this,null,function*(){try{const h=yield O.Smart.Attribute.Result.POST({devicePath:i.disk.path||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(g.attribute=k.result),x&&(g.attribute=x)}}catch(h){g.attribute=h}}),m=()=>L(this,null,function*(){try{const h=yield O.Smart.Extend.Result.POST({devicePath:i.disk.path||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(g.extend=k.result),x&&(g.extend=x)}}catch(h){g.extend=h}});return(h,k)=>(r(),K(Le,null,{default:R(()=>[t("div",Gk,[t("div",jk,[t("ul",qk,[t("li",{class:pt({"active cbi-tab":s.value=="info"}),onClick:k[0]||(k[0]=x=>c("info"))},[t("a",null,n(e(a)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:pt({"active cbi-tab":s.value=="attribute"}),onClick:k[1]||(k[1]=x=>c("attribute"))},[t("a",null,n(e(a)("\u5C5E\u6027")),1)],2),t("li",{class:pt({"active cbi-tab":s.value=="log"}),onClick:k[2]||(k[2]=x=>c("log"))},[t("a",null,n(e(a)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:pt({"active cbi-tab":s.value=="extend"}),onClick:k[3]||(k[3]=x=>c("extend"))},[t("a",null,n(e(a)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",Uk,[s.value=="info"?(r(),l("table",Rk,[t("tr",Wk,[t("td",Hk,n(e(a)("\u8BBE\u5907")),1),t("td",Zk,n(o.disk.path),1)]),t("tr",Jk,[t("td",Kk,n(e(a)("\u578B\u53F7")),1),t("td",Qk,n(o.disk.model),1)]),t("tr",Xk,[t("td",tw,n(e(a)("\u5E8F\u53F7")),1),t("td",ew,n(o.disk.serial),1)])])):s.value=="attribute"?(r(),l("textarea",{key:1,disabled:"",value:e(g).attribute},null,8,aw)):s.value=="log"?(r(),l("textarea",{key:2,disabled:"",value:e(g).log},null,8,ow)):s.value=="extend"?(r(),l("textarea",{key:3,disabled:"",value:e(g).extend},null,8,nw)):D("",!0)]),t("div",iw,[t("div",{class:"close",onClick:_,disabled:u.value},n(e(a)("\u5173\u95ED")),9,rw)])])]),_:1}))}});var dw=M(sw,[["__scopeId","data-v-4a646cde"]]);const lw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(qx,vt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},uw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(Sk,vt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},cw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(Vk,vt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},pw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(dw,vt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},fw={class:"cbi-section"},mw={class:"cbi-value"},vw={class:"cbi-value-title"},gw={class:"cbi-value-field"},bw={class:"cbi-checkbox"},hw=["value"],_w={class:"cbi-value"},xw={class:"cbi-value-title"},kw={class:"cbi-value-field"},ww={class:"cbi-checkbox"},yw={value:"never"},Fw={value:"sleep"},Ew={value:"standby"},Cw={value:"idle"},$w={class:"cbi-value-description"},Dw=t("br",null,null,-1),Bw=t("br",null,null,-1),Yw=t("br",null,null,-1),Aw=t("br",null,null,-1),Sw={class:"cbi-value"},zw={class:"cbi-value-title"},Pw={class:"cbi-value-field"},Tw={class:"cbi-checkbox"},Iw={value:0},Lw=["value"],Mw={class:"cbi-value-description"},Nw={class:"cbi-value"},Ow={class:"cbi-value-title"},Vw={class:"cbi-value-field"},Gw={class:"cbi-checkbox"},jw={value:0},qw=["value"],Uw={class:"cbi-value-description"},Rw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Ww={class:"table cbi-section-table"},Hw={class:"tr cbi-section-table-titles anonymous"},Zw={class:"th cbi-section-table-cell","data-widget":"value"},Jw={class:"th cbi-section-table-cell","data-widget":"value"},Kw={class:"th cbi-section-table-cell","data-widget":"value"},Qw={class:"th cbi-section-table-cell","data-widget":"value"},Xw={class:"th cbi-section-table-cell","data-widget":"value"},ty={class:"th cbi-section-table-cell","data-widget":"value"},ey={class:"th cbi-section-table-cell","data-widget":"value"},ay={class:"th cbi-section-table-cell","data-widget":"value"},oy={class:"tr cbi-section-table-row"},ny={class:"td cbi-value-field"},iy={class:"td cbi-value-field"},ry={class:"td cbi-value-field"},sy={class:"td cbi-value-field"},dy={class:"td cbi-value-field"},ly={class:"td cbi-value-field"},uy={class:"td cbi-value-field"},cy={class:"td cbi-value-field"},py=["title","onClick"],fy=["title","onClick"],my={class:"cbi-page-actions control-group"},vy=["value"],gy=U({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=gt(i.config),s=()=>{u.global.tmpDiff=i.config.global.tmpDiff||0,u.global.tmpMax=i.config.global.tmpMax||0,u.global.enable=i.config.global.enable||!1,u.global.powermode=i.config.global.powermode||"never",u.devices=i.config.devices||[],u.tasks=i.config.tasks||[]},c=E([]),_=()=>L(this,null,function*(){try{const h=yield O.Smart.List.GET();if(h.data){const{result:k,error:x}=h.data;k&&k.disks&&(c.value=k.disks||[])}}catch(h){}}),g=Pt.easyInterval(_,5e3);qe(()=>{g()});const p=()=>L(this,null,function*(){yield i.saveData({global:u.global,devices:i.config.devices,tasks:i.config.tasks}),s()}),f=h=>{pw({disk:h})},m=(h,k)=>L(this,null,function*(){let x=null,w=-1;if(u.devices){for(let v=0;vL(this,null,function*(){v.tmpDiff==-1&&(v.tmpDiff=u.global.tmpDiff),v.tmpMax==-1&&(v.tmpMax=u.global.tmpMax),v.devicePath==""&&(v.devicePath=h.path);let b=[...u.devices];w>=0&&(b[w]=v);const y=new Map;b.forEach(F=>{F.devicePath!=null&&y.set(F.devicePath,null)});for(let F=0;F(r(),l(G,null,[t("fieldset",fw,[t("div",mw,[t("label",vw,n(e(a)("\u542F\u7528")),1),t("div",gw,[t("div",bw,[T(t("input",{type:"checkbox","onUpdate:modelValue":k[0]||(k[0]=x=>e(u).global.enable=x),value:!e(u).global.enable},null,8,hw),[[Rt,e(u).global.enable]])])])]),t("div",_w,[t("label",xw,n(e(a)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",kw,[t("div",ww,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[1]||(k[1]=x=>e(u).global.powermode=x)},[t("option",yw,n(e(a)("\u603B\u662F")),1),t("option",Fw,n(e(a)("\u7761\u7720")),1),t("option",Ew,n(e(a)("\u5F85\u673A")),1),t("option",Cw,n(e(a)("\u95F2\u7F6E")),1)],512),[[dt,e(u).global.powermode,void 0,{trim:!0}]])]),t("div",$w,[t("span",null,n(e(a)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),Dw,t("span",null,"* "+n(e(a)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),Bw,t("span",null,"* "+n(e(a)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),Yw,t("span",null,"* "+n(e(a)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),Aw,t("span",null,"* "+n(e(a)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",Sw,[t("label",zw,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",Pw,[t("div",Tw,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[2]||(k[2]=x=>e(u).global.tmpDiff=x)},[t("option",Iw,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(15,x=>t("option",{value:x},n(x)+"\xB0C",9,Lw)),64))],512),[[dt,e(u).global.tmpDiff,void 0,{number:!0}]])]),t("div",Mw,n(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",Nw,[t("label",Ow,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",Vw,[t("div",Gw,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[3]||(k[3]=x=>e(u).global.tmpMax=x)},[t("option",jw,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(20,x=>t("option",{value:x*5},n(x*5)+"\xB0C",9,qw)),64))],512),[[dt,e(u).global.tmpMax,void 0,{number:!0}]])]),t("div",Uw,n(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",Rw,[t("table",Ww,[t("thead",null,[t("tr",Hw,[t("th",Zw,n(e(a)("\u8BBE\u5907")),1),t("th",Jw,n(e(a)("\u578B\u53F7")),1),t("th",Kw,n(e(a)("\u5E8F\u53F7")),1),t("th",Qw,n(e(a)("\u5BB9\u91CF")),1),t("th",Xw,n(e(a)("\u6E29\u5EA6")),1),t("th",ty,n(e(a)("\u72B6\u6001")),1),t("th",ey,n(e(a)("\u5065\u5EB7")),1),t("th",ay,n(e(a)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(r(!0),l(G,null,et(c.value,(x,w)=>(r(),l("tr",oy,[t("td",ny,[t("b",null,n(x.path),1)]),t("td",iy,[t("b",null,n(x.model),1)]),t("td",ry,[t("b",null,n(x.serial),1)]),t("td",sy,[t("b",null,n(x.sizeStr),1)]),t("td",dy,[t("b",null,n(x.temp),1)]),t("td",ly,[t("b",null,n(x.status),1)]),t("td",uy,[t("b",null,n(x.health),1)]),t("td",cy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:v=>m(x)},n(e(a)("\u7F16\u8F91")),9,py),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:v=>f(x)},n(e(a)("\u8BE6\u60C5")),9,fy)])]))),256))])])]),t("span",my,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:p},null,8,vy)])],64))}}),by={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},hy={class:"table cbi-section-table"},_y={class:"tr cbi-section-table-titles anonymous"},xy={class:"th cbi-section-table-cell","data-widget":"value"},ky={class:"th cbi-section-table-cell","data-widget":"value"},wy={class:"th cbi-section-table-cell","data-widget":"value"},yy={class:"th cbi-section-table-cell","data-widget":"value"},Fy={class:"tr cbi-section-table-row"},Ey={class:"td cbi-value-field"},Cy={class:"td cbi-value-field"},$y={class:"td cbi-value-field"},Dy={class:"td cbi-value-field"},By=["title","onClick"],Yy=["title","onClick"],Ay=U({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=gt(i.config),s=p=>{switch(p){case"short":return a("\u77ED\u6682\u81EA\u68C0");case"long":return a("\u957F\u65F6\u81EA\u68C0");case"conveyance":return a("\u4F20\u8F93\u65F6\u81EA\u68C0");case"offline":return a("\u79BB\u7EBF\u65F6\u81EA\u68C0");default:return a("\u672A\u77E5")}},c=()=>{uw({config:i.config,disks:[],next:p=>L(this,null,function*(){yield i.saveData({tasks:[...u.tasks,p],global:i.config.global,devices:i.config.devices}),u.tasks=i.config.tasks||[]})})},_=p=>L(this,null,function*(){const f=[...u.tasks];f.splice(p,1),yield i.saveData({tasks:f,global:i.config.global,devices:i.config.devices}),u.tasks=i.config.tasks||[]}),g=p=>{cw({task:p})};return(p,f)=>(r(),l(G,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:f[0]||(f[0]=m=>c())},n(e(a)("\u65B0\u5EFA")),1),t("div",by,[t("table",hy,[t("thead",null,[t("tr",_y,[t("th",xy,n(e(a)("\u8BBE\u5907")),1),t("th",ky,n(e(a)("\u7C7B\u578B")),1),t("th",wy,n(e(a)("\u8C03\u5EA6")),1),t("th",yy,n(e(a)("\u529F\u80FD")),1)])]),t("tbody",null,[(r(!0),l(G,null,et(e(u).tasks,(m,h)=>(r(),l("tr",Fy,[t("td",Ey,[t("b",null,n(m.devicePath),1)]),t("td",Cy,[t("b",null,n(s(m.type)),1)]),t("td",$y,[t("b",null,n(m.month)+"/"+n(m.dayPerMonth)+"/"+n(m.hour),1)]),t("td",Dy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8C03\u8BD5"),onClick:k=>g(m)},n(e(a)("\u9884\u89C8")),9,By),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5220\u9664"),onClick:k=>_(h)},n(e(a)("\u5220\u9664")),9,Yy)])]))),256))])])])],64))}}),Sy={class:"cbi-section"},zy=["value"],Py=U({setup(o){return L(this,null,function*(){let i,a;const d=E(""),u=()=>L(this,null,function*(){try{const s=yield O.Smart.Log.GET();if(s.data){const{result:c,error:_}=s.data;c&&c.result&&(d.value=c.result),_&&(d.value=_)}}catch(s){d.value=s}});return[i,a]=Ja(()=>u()),yield i,a(),(s,c)=>(r(),l("fieldset",Sy,[t("textarea",{value:d.value,disabled:""},null,8,zy)]))})}});var Ty=M(Py,[["__scopeId","data-v-997c3dee"]]);const Iy={},Ly={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},My=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),Ny=[My];function Oy(o,i){return r(),l("svg",Ly,Ny)}var sa=M(Iy,[["render",Oy]]);const Vy=["onSubmit"],Gy={class:"actioner-dns_header"},jy={key:0},qy={key:1},Uy={class:"actioner-dns_body"},Ry={class:"label-item"},Wy={class:"label-item_key"},Hy={class:"label-item_value"},Zy={class:"label-item"},Jy={class:"label-item_key"},Ky={class:"label-item_value"},Qy={value:"dhcp"},Xy={key:0,value:"pppoe"},tF={value:"static"},eF={class:"actioner-dns_footer"},aF=["disabled"],oF=U({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=E(i.inface),c=()=>L(this,null,function*(){C.Loading(a("\u914D\u7F6E\u4E2D...")).Close(),i.next(s.value),_()}),_=()=>{i.Close&&i.Close()};return(g,p)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[t("form",{class:"actioner-dns",onSubmit:mt(c,["prevent"])},[t("div",Gy,[o.name=="wan"?(r(),l("span",jy,n(o.e=="edit"?e(a)("\u7F16\u8F91WAN"):e(a)("\u6DFB\u52A0WAN")),1)):(r(),l("span",qy,n(o.e=="edit"?e(a)("\u7F16\u8F91LAN"):e(a)("\u6DFB\u52A0LAN")),1))]),t("div",Uy,[t("div",Ry,[t("div",Wy,[t("span",null,n(e(a)("\u540D\u79F0")),1)]),t("div",Hy,[t("span",null,n(s.value.name.toLocaleUpperCase()),1)])]),t("div",Zy,[t("div",Jy,[t("span",null,n(e(a)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",Ky,[T(t("select",{"onUpdate:modelValue":p[0]||(p[0]=f=>s.value.proto=f)},[t("option",Qy,n(e(a)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(r(),l("option",Xy,"PPPoE")):D("",!0),t("option",tF,n(e(a)("\u9759\u6001\u5730\u5740")),1)],512),[[dt,s.value.proto]])])])]),t("div",eF,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},n(e(a)("\u4FDD\u5B58")),9,aF),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},n(e(a)("\u53D6\u6D88")),1)])],40,Vy)]),_:1},8,["Close"]))}});var nF=M(oF,[["__scopeId","data-v-6f6071af"]]);const da=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=bt(nF,vt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()}},qt=o=>(rt("data-v-4ec945e0"),o=o(),st(),o),iF={id:"page"},rF={name:"content"},sF={class:"container"},dF={class:"table-wrapper"},lF={class:"table-header"},uF={class:"interface-device-flex"},cF=qt(()=>t("div",{class:"header-cell spacer-col"},null,-1)),pF=qt(()=>t("div",{class:"header-cell"},null,-1)),fF=qt(()=>t("div",{class:"header-cell action-col"},null,-1)),mF={class:"table-body"},vF=["name","value","onUpdate:modelValue","onInput"],gF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),bF={class:"table-cell name-col"},hF={class:"table-cell action-col"},_F=["title","onClick"],xF=["onClick"],kF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),wF=qt(()=>t("div",{class:"table-cell name-col"},null,-1)),yF={class:"table-cell action-col"},FF=["name","value","onUpdate:modelValue","onInput"],EF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),CF={class:"table-cell name-col"},$F={class:"table-cell action-col"},DF=["title","onClick"],BF=["onClick"],YF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),AF=qt(()=>t("div",{class:"table-cell name-col"},null,-1)),SF={class:"table-cell action-col"},zF={class:"cbi-page-actions control-group"},PF=["value","disabled"],TF=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=gt({devices:[],interfaces:[]}),u=E(!1),s=gt({lan:[],wan:[]});(()=>{O.Network.GetInterfaceConfig.GET().then(k=>{if(k.data){const{result:x}=k.data;if(x){d.devices=x.devices||[],d.interfaces=x.interfaces||[];for(let w=0;w{k=="wan"?s.wan.splice(x,1):k=="lan"&&s.lan.splice(x,1)},g=(k,x)=>{if(x==null){let w=k=="wan"?s.wan.length:s.lan.length;w==6&&k=="wan"&&w++,da({e:"add",name:k,inface:{name:k+`${w}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:k},next:v=>{k=="wan"?s.wan.push(v):s.lan.push(v),C.Message(i("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else da({e:"edit",name:k,inface:k=="wan"?s.wan[x]:s.lan[x],next:w=>{k=="wan"?s.wan[x]=w:s.lan[x]=w}})},p=(k,x)=>k?k.indexOf(x):-1,f=(k,x)=>{const v=k.target.value;for(let y=0;y{const v=k.target.value;for(let b=0;bL(this,null,function*(){u.value=!0;const k=[];for(let w=0;w(r(),l("div",iF,[t("h2",rF,n(e(i)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",sF,[t("div",dF,[t("div",lF,[(r(!0),l(G,null,et(e(d).devices,w=>(r(),l("div",{class:"header-cell device-col",key:w.name},[t("div",uF,[z(Da,{item:w},null,8,["item"])])]))),128)),cF,pF,fF]),t("div",mF,[(r(!0),l(G,null,et(e(s).lan,(w,v)=>(r(),l("div",{key:v,class:"table-row"},[(r(!0),l(G,null,et(e(d).devices,b=>(r(),l("div",{class:"table-cell device-col",key:b.name},[T(t("input",{type:"checkbox",name:b.name,value:b.name,"onUpdate:modelValue":y=>w.deviceNames=y,onInput:y=>f(y,v)},null,40,vF),[[Rt,w.deviceNames]])]))),128)),gF,t("div",bF,[t("b",null,n(w.name),1)]),t("div",hF,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u7F16\u8F91"),onClick:b=>g("lan",v)},n(e(i)("\u7F16\u8F91")),9,_F),v!==0?(r(),l("button",{key:0,class:"cbi-button cbi-button-remove",onClick:b=>_("lan",v)},n(e(i)("\u5220\u9664")),9,xF)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:x[0]||(x[0]=w=>g("lan"))},[(r(!0),l(G,null,et(e(d).devices,w=>(r(),l("div",{class:"table-cell device-col",key:w.name}))),128)),kF,wF,t("div",yF,[z(sa,{class:"icon"})])]),(r(!0),l(G,null,et(e(s).wan,(w,v)=>(r(),l("div",{key:v,class:"table-row"},[(r(!0),l(G,null,et(e(d).devices,b=>(r(),l("div",{class:"table-cell device-col",key:b.name},[T(t("input",{type:"checkbox",name:b.name,value:b.name,"onUpdate:modelValue":y=>w.deviceNames=y,onInput:y=>m(y,v)},null,40,FF),[[Rt,w.deviceNames]])]))),128)),EF,t("div",CF,[t("b",null,n(w.name),1)]),t("div",$F,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u7F16\u8F91"),onClick:b=>g("wan",v)},n(e(i)("\u7F16\u8F91")),9,DF),v!==0?(r(),l("button",{key:0,class:"cbi-button cbi-button-remove",onClick:b=>_("wan",v)},n(e(i)("\u5220\u9664")),9,BF)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:x[1]||(x[1]=w=>g("wan"))},[(r(!0),l(G,null,et(e(d).devices,w=>(r(),l("div",{class:"table-cell device-col",key:w.name}))),128)),YF,AF,t("div",SF,[z(sa,{class:"icon"})])])])])]),t("div",zF,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(i)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:h,disabled:u.value},null,8,PF)])]))}});var IF=M(TF,[["__scopeId","data-v-4ec945e0"]]);const LF={name:"CustomTable",props:{data:{type:Array,default:()=>[]},columns:{type:Array,required:!0,validator:o=>o.every(i=>i.label&&i.prop)},showSelection:{type:Boolean,default:!1},rowKey:{type:String,default:"id"},showPagination:{type:Boolean,default:!0},pageSize:{type:Number,default:10},currentPage:{type:Number,default:1},emptyText:{type:String,default:"\u6682\u65E0\u6570\u636E"},maxPagerCount:{type:Number,default:5},theadBgColor:{type:String,default:"#F8F8F8"}},emits:["selection-change","update:currentPage","page-change"],setup(o,{emit:i}){const{$gettext:a}=H(),d=E([]),u=E(!1),s=E(!1);E(null);const c=tt(()=>o.data.length),_=tt(()=>Math.ceil(c.value/o.pageSize)),g=tt(()=>{if(!o.showPagination)return o.data;const Y=(o.currentPage-1)*o.pageSize,A=Y+o.pageSize;return o.data.slice(Y,A)}),p=tt(()=>(o.currentPage-1)*o.pageSize+1),f=tt(()=>{const Y=o.currentPage*o.pageSize;return Y>c.value?c.value:Y}),m=tt(()=>({minWidth:`${o.columns.reduce((A,B)=>A+(parseInt(B.width)||50),o.showSelection?50:0)}px`})),h=tt(()=>{const Y=[],A=Math.floor(o.maxPagerCount/2);let B=o.currentPage-A,$=o.currentPage+A;B<1&&(B=1,$=Math.min(o.maxPagerCount,_.value)),$>_.value&&($=_.value,B=Math.max(1,$-o.maxPagerCount+1));for(let S=B;S<=$;S++)Y.push(S);return Y}),k=Y=>({width:Y.width?`${Math.max(50,parseInt(Y.width))}px`:"auto",minWidth:"50px",textAlign:Y.align||"center"}),x=()=>{u.value?d.value=[...g.value.map(Y=>Y[o.rowKey])]:d.value=[],b()},w=()=>{u.value=d.value.length===g.value.length&&g.value.length>0,b()},v=(Y,A)=>{A?d.value.includes(Y)||d.value.push(Y):d.value=d.value.filter(B=>B!==Y),w()},b=()=>{const Y=o.data.filter(A=>d.value.includes(A[o.rowKey]));i("selection-change",Y)},y=Y=>{Y<1||Y>_.value||(i("update:currentPage",Y),i("page-change",Y))},F=()=>{s.value=window.innerWidth<=768};return Nt(()=>o.data,()=>{d.value=[],u.value=!1},{deep:!0}),At(()=>{F(),window.addEventListener("resize",F)}),jt(()=>{window.removeEventListener("resize",F)}),{selectedRows:d,allSelected:u,isMobile:s,total:c,totalPages:_,paginatedData:g,startItem:p,endItem:f,visiblePages:h,tableStyle:m,gettext:a,getColumnStyle:k,toggleAllSelection:x,handleSelectionChange:w,changePage:y,updateSelection:v}}},MF={class:"custom-table-container"},NF={key:0,class:"selection-header"},OF={key:0,class:"selection-cell"},VF=["checked","onChange"],GF={key:0,class:"empty-row"},jF=["colspan"],qF={key:0,class:"pagination-wrapper"},UF={class:"pagination-info"},RF={class:"pagination-controls"},WF=["disabled"],HF=["onClick"],ZF=["disabled"];function JF(o,i,a,d,u,s){return r(),l("div",MF,[t("div",{class:"custom-table-wrapper",style:Bt({overflowX:d.isMobile?"auto":"hidden"})},[t("table",{class:pt(["custom-table",{"has-selection":a.showSelection}]),style:Bt(d.tableStyle)},[t("thead",{style:Bt({background:a.theadBgColor})},[t("tr",null,[a.showSelection?(r(),l("th",NF,[T(t("input",{type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=c=>d.allSelected=c),onChange:i[1]||(i[1]=(...c)=>d.toggleAllSelection&&d.toggleAllSelection(...c))},null,544),[[Rt,d.allSelected]])])):D("",!0),(r(!0),l(G,null,et(a.columns,(c,_)=>(r(),l("th",{key:_,style:Bt(d.getColumnStyle(c))},n(d.gettext(c.label)),5))),128))])],4),t("tbody",null,[(r(!0),l(G,null,et(d.paginatedData,(c,_)=>(r(),l("tr",{key:_,class:pt({"last-row":_===d.paginatedData.length-1})},[a.showSelection?(r(),l("td",OF,[t("input",{type:"checkbox",checked:d.selectedRows.includes(c[a.rowKey]),onChange:g=>d.updateSelection(c[a.rowKey],g.target.checked)},null,40,VF)])):D("",!0),(r(!0),l(G,null,et(a.columns,(g,p)=>(r(),l("td",{key:p,style:Bt({textAlign:g.align||"center"})},[g.slot?zt(o.$slots,g.slot,{key:0,row:c,index:_},void 0,!0):(r(),l(G,{key:1},[it(n(c[g.prop]),1)],64))],4))),128))],2))),128)),d.paginatedData.length===0?(r(),l("tr",GF,[t("td",{colspan:a.showSelection?a.columns.length+1:a.columns.length},n(a.emptyText),9,jF)])):D("",!0)])],6)],4),a.showPagination?(r(),l("div",qF,[t("div",UF,n(d.gettext("\u663E\u793A"))+" "+n(d.startItem)+" "+n(d.gettext("\u5230"))+" "+n(d.endItem)+" "+n(d.gettext("\u6761"))+"\uFF0C"+n(d.gettext("\u5171"))+" "+n(d.total)+" "+n(d.gettext("\u6761")),1),t("div",RF,[t("button",{disabled:a.currentPage===1,onClick:i[2]||(i[2]=c=>d.changePage(a.currentPage-1))},n(d.gettext("\u4E0A\u4E00\u9875")),9,WF),(r(!0),l(G,null,et(d.visiblePages,c=>(r(),l("button",{key:c,class:pt({active:c===a.currentPage}),onClick:_=>d.changePage(c)},n(c),11,HF))),128)),t("button",{disabled:a.currentPage===d.totalPages,onClick:i[3]||(i[3]=c=>d.changePage(a.currentPage+1))},n(d.gettext("\u4E0B\u4E00\u9875")),9,ZF)])])):D("",!0)])}var Me=M(LF,[["render",JF],["__scopeId","data-v-2c8ecf89"]]);const Ta=o=>(rt("data-v-d28f7d82"),o=o(),st(),o),KF={style:{display:"flex","align-items":"center"}},QF={class:"search_box"},XF={class:"search_container"},tE={class:"search_input_wrapper"},eE=["onKeyup","placeholder"],aE=Ta(()=>t("path",{d:"M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},null,-1)),oE=[aE],nE=Ta(()=>t("svg",{class:"refresh_icon",viewBox:"0 0 24 24",width:"26",height:"26"},[t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})],-1)),iE=[nE],rE=U({props:{showBatchDelete:{type:Boolean,default:!0},showAdd:{type:Boolean,default:!0}},emits:["refresh","batch-delete","search","handleAdd"],setup(o,{emit:i}){const a=o,{$gettext:d}=H(),u=E(""),s=E(!1),c=E(a.showBatchDelete),_=E(a.showAdd),g=()=>{i("refresh",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},p=()=>{i("search",String(u.value))},f=()=>{i("batch-delete",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},m=()=>{i("handleAdd")};return(h,k)=>(r(),l("div",KF,[_.value?(r(),l("button",{key:0,class:"del-button add-button--danger",style:{},onClick:m},[t("span",null,n(e(d)("\u6DFB\u52A0")),1)])):D("",!0),c.value?(r(),l("button",{key:1,class:"del-button del-button--danger",onClick:f},[t("span",null,n(e(d)("\u6279\u91CF\u5220\u9664")),1)])):D("",!0),t("div",QF,[t("div",XF,[t("div",tE,[T(t("input",{type:"text",onKeyup:Ka(p,["enter"]),"onUpdate:modelValue":k[0]||(k[0]=x=>u.value=x),class:"search_input",placeholder:e(d)("\u8BF7\u8F93\u5165\u540D\u79F0/IP/MAC\u2026")},null,40,eE),[[ot,u.value,void 0,{trim:!0}]]),t("svg",{class:"search_icon",viewBox:"0 0 24 24",width:"24",height:"24",onClick:p},oE)]),t("button",{class:pt(["refresh_button",{rotate:s.value}]),onClick:g},iE,2)])])]))}});var Xe=M(rE,[["__scopeId","data-v-d28f7d82"]]);const sE=o=>(rt("data-v-9ce78472"),o=o(),st(),o),dE=sE(()=>t("span",{class:"switch__button"},null,-1)),lE=[dE],uE=["checked","disabled"],cE=U({props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},activeColor:{default:"#409EFF"},inactiveColor:{default:"#DCDFE6"}},emits:["update:modelValue","change","beforeChange"],setup(o,{emit:i}){const a=o,d=()=>{if(i("beforeChange",!a.modelValue),a.disabled)return;const u=!a.modelValue;i("update:modelValue",u),i("change",u)};return tt(()=>a.modelValue),(u,s)=>(r(),l("div",{class:pt(["switch",{"is-checked":o.modelValue,"is-disabled":o.disabled}]),onClick:d},[t("span",{class:"switch__core",style:Bt({backgroundColor:o.modelValue?o.activeColor:o.inactiveColor,borderColor:o.modelValue?o.activeColor:o.inactiveColor})},lE,4),t("input",{type:"checkbox",class:"switch__input",checked:o.modelValue,disabled:o.disabled},null,8,uE)],2))}});var Gt=M(cE,[["__scopeId","data-v-9ce78472"]]);const pE={class:"flow"},fE={class:"flow-data"},mE={key:0},vE={key:1},gE=U({props:{ipParam:{type:String}},setup(o){const i=o,{$gettext:a}=H();la([ua,ca,pa,fa,ma,va]);const d=E(i.ipParam),u=E(),s=v=>{var y;const b=(y=u.value)==null?void 0:y[v];return!b||b.startTime==0?"":m(b.startTime*1e3)+"-"+m(b.endTime*1e3)},c=tt(()=>{var b;let v=[];return(b=u.value)==null||b.forEach(y=>{v.push({value:y.uploadSpeed})}),v}),_=tt(()=>{var b;let v=[];return(b=u.value)==null||b.forEach(y=>{v.push({value:y.downloadSpeed})}),v}),g=tt(()=>{var b;let v="";if(u.value){let y=((b=u.value)==null?void 0:b.length)||0;if(y>0){let F=u.value[y-1];v=h(F.uploadSpeed)+"/s"}}return v}),p=tt(()=>{var b;let v="";if(u.value){let y=((b=u.value)==null?void 0:b.length)||0;if(y>0){let F=u.value[y-1];v=h(F.downloadSpeed)+"/s"}}return v}),f=()=>L(this,null,function*(){var v;try{const b=yield O.DeviceMangement.speedsForOneDevice.POST({ip:d.value});if(b.data&&(v=b.data.result)!=null&&v.items){const y=b.data.result.slots||10;if(b.data.result.items.lengthy?u.value=b.data.result.items.slice(y-b.data.result.items.length):u.value=b.data.result.items}}catch(b){console.log(b)}}),m=Pt.dateForm,h=Pt.byteToSize,k=E();let x=null;const w=v=>{const b=Ea();return x=ga(v,b?"dark":"light"),x.setOption({animation:!1,backgroundColor:b?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:y=>{if(Array.isArray(y)){let F="";y.length>0&&(F=s(y[0].axisValue));for(let Y=0;Y${y[Y].seriesName}: ${h(y[Y].value)}/s`;return F.toString()}else{const F=y;return`${s(F.axisValue)}
${F.seriesName}: ${h(F.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:a("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(y,F){return`${h(y)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:_.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:a("\u4E0A\u4F20"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:a("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:a("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),x};return At(()=>{setTimeout(()=>L(this,null,function*(){if(k.value){yield f();const v=w(k.value),b=k.value;v.resize({width:b.clientWidth,height:b.clientHeight}),window.addEventListener("resize",()=>{v.resize({width:b.clientWidth,height:b.clientHeight})});const y=()=>L(this,null,function*(){if(x!=null){if(!document.hidden){if(yield f(),x==null)return;v.setOption({series:[{name:a("\u4E0B\u8F7D"),data:_.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:c.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(y,5e3)}});setTimeout(y,5e3)}}),900)}),jt(()=>{x!=null&&(x.dispose(),x=null)}),(v,b)=>(r(),l("div",pE,[t("div",{ref_key:"el",ref:k,class:"echart"},null,512),t("div",fE,[e(g)?(r(),l("span",mE,n(e(a)("\u4E0A\u4F20:"))+" "+n(e(g)),1)):D("",!0),e(p)?(r(),l("span",vE,n(e(a)("\u4E0B\u8F7D:"))+" "+n(e(p)),1)):D("",!0)])]))}});var bE=M(gE,[["__scopeId","data-v-529a02b0"]]);const hE=["onClick"],_E={class:"modal-header"},xE={class:"modal-title"},kE={class:"modal-content"},wE={key:0,class:"modal-footer"},he=U({props:{modelValue:{type:Boolean},title:{default:"\u63D0\u793A"},showClose:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1},footerShow:{type:Boolean,default:!0},width:{default:"500px"}},emits:["update:modelValue","confirm","cancel","close"],setup(o,{expose:i,emit:a}){const d=o;Qa(m=>({"1df87c10":e(s)}));const{$gettext:u}=H(),s=tt(()=>typeof d.width=="number"?`${d.width}px`:d.width),c=E(d.modelValue);Nt(()=>d.modelValue,m=>{c.value=m}),Nt(c,m=>{a("update:modelValue",m),m||a("close")}),tt(()=>typeof d.width=="number"?`${d.width}px`:d.width);const _=()=>{c.value=!1},g=()=>{d.closeOnClickOverlay&&f()},p=()=>{a("confirm")},f=()=>{a("cancel"),_()};return i({show:()=>c.value=!0,hide:()=>c.value=!1}),(m,h)=>(r(),K($t,{name:"fade"},{default:R(()=>[c.value?(r(),l("div",{key:0,class:"modal-overlay",onClick:mt(g,["self"])},[z($t,{name:"slide"},{default:R(()=>[t("div",{class:"modal-container",style:Bt({maxWidth:e(s)})},[t("div",_E,[t("h3",xE,n(e(u)(o.title)),1),o.showClose?(r(),l("button",{key:0,class:"modal-close",onClick:f,"aria-label":"Close"}," \xD7 ")):D("",!0)]),t("div",kE,[zt(m.$slots,"default")]),o.footerShow?(r(),l("div",wE,[zt(m.$slots,"footer",{},()=>[t("button",{class:"modal-button cancel",onClick:f},n(e(u)("\u53D6\u6D88")),1),t("button",{class:"modal-button confirm",onClick:p},n(e(u)("\u4FDD\u5B58")),1)])])):D("",!0)],4)]),_:3})],8,hE)):D("",!0)]),_:3}))}}),we=o=>(rt("data-v-2f8a90b2"),o=o(),st(),o),yE={class:"container"},FE={style:{display:"flex","justify-content":"end"}},EE=["onClick"],CE=["onClick"],$E=["onClick"],DE={class:"custom-content"},BE={class:"IP_address"},YE={class:"item_box"},AE={class:"item_left"},SE={key:0,class:"tip"},zE=["onClick"],PE={key:1},TE={class:"item_box"},IE={class:"item_left"},LE={class:"item_box"},ME={class:"item_left"},NE=["placeholder"],OE={class:"item_box"},VE={class:"item_left"},GE=["placeholder"],jE={class:"item_box"},qE={class:"item_left"},UE=["placeholder"],RE={class:"custom-content"},WE=we(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),HE={class:"item_box"},ZE={class:"item_left"},JE=["placeholder"],KE={class:"item_box"},QE=we(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),XE=["placeholder"],tC={class:"item_box"},eC={class:"item_left"},aC={key:0,value:null,disabled:""},oC=["value"],nC={class:"item_box"},iC={class:"item_left"},rC={key:0,class:"item_box"},sC=we(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),dC=["placeholder"],lC={class:"custom-content"},uC={class:"info-content"},cC=we(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),pC={style:{"margin-bottom":"16px",flex:"1"}},fC={class:"item_box"},mC={class:"item_left"},vC={class:"item_box"},gC={class:"item_left"},bC={class:"item_box"},hC=we(()=>t("div",{class:"item_left"}," MAC\uFF1A",-1)),_C={class:"item_box"},xC={class:"item_left"},kC={class:"item_box"},wC={class:"item_left"},yC={class:"item_box"},FC={class:"item_left"},EC=U({emits:["openGloba"],setup(o,{emit:i}){const{$gettext:a}=H(),d=j=>{V.hostname=j.target.value.replace(/[\u4e00-\u9fa5]/g,"")},u=E(null),s=()=>{c(),B(),u.value=setInterval(B,3e3)},c=()=>{u.value&&(clearInterval(u.value),u.value=null)};At(()=>L(this,null,function*(){yield Y(),p.value.length!==0&&s()})),jt(()=>{c()});const _=E({});(()=>L(this,null,function*(){try{const{data:j}=yield O.DeviceMangement.globalConfigs.GET();j.result&&(_.value=j.result||{})}catch(j){}}))();const p=E([]),f=E([]),m=E(!1),h=E(!1),k=E(!1),x=tt(()=>!V.dhcpGateway),w=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u4E0A\u4F20\u901F\u5EA6",prop:"uploadSpeedStr"},{label:"\u4E0B\u8F7D\u901F\u5EA6",prop:"downloadSpeedStr"},{label:"\u6807\u7B7E",prop:"staticAssigned",slot:"staticAssigned"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),v=j=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[j]||j,b=()=>{m.value=!1,i("openGloba")},y=j=>{var J,Q;if(j==!0&&!((Q=(J=_.value)==null?void 0:J.speedLimit)!=null&&Q.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},F=E([]),Y=()=>L(this,null,function*(){var J,Q,nt;let j=C.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:xt}=yield O.DeviceMangement.listDevices.GET();xt.result&&(p.value=((J=xt.result)==null?void 0:J.devices)||[],f.value=((Q=xt.result)==null?void 0:Q.devices)||[],F.value=((nt=xt.result)==null?void 0:nt.dhcpTags)||[])}catch(xt){}finally{j.Close()}}),A=(j,J)=>{const Q={};return j.forEach(nt=>{nt.ip&&(Q[nt.ip]={downloadSpeedStr:nt.downloadSpeedStr||"0 B",uploadSpeedStr:nt.uploadSpeedStr||"0 B"})}),J.map(nt=>nt.ip&&Q[nt.ip]?vt(lt({},nt),{downloadSpeedStr:Q[nt.ip].downloadSpeedStr,uploadSpeedStr:Q[nt.ip].uploadSpeedStr}):vt(lt({},nt),{downloadSpeedStr:nt.downloadSpeedStr||"0 B",uploadSpeedStr:nt.uploadSpeedStr||"0 B"}))},B=()=>L(this,null,function*(){try{const{data:j}=yield O.DeviceMangement.speedsForDevices.GET();j.result&&(f.value=A(j.result,f.value))}catch(j){}}),$=j=>/^[a-zA-Z\s]+$/.test(j)?j.toUpperCase():j,S=gt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),V=gt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),N=E(""),P=E({}),I=(j,J)=>{var Q,nt,xt,St,kt,oe,ne,ie,re,se,de,le,ue,ce,pe,wt;P.value=j,J===1?(S.ip=j.ip||"",S.mac=j.mac||"",S.uploadSpeed=((Q=j==null?void 0:j.speedLimit)==null?void 0:Q.uploadSpeed)||100,S.downloadSpeed=((nt=j==null?void 0:j.speedLimit)==null?void 0:nt.downloadSpeed)||1e3,S.networkAccess=!((xt=j==null?void 0:j.speedLimit)!=null&&xt.networkAccess)||!1,S.enabled=((St=j==null?void 0:j.speedLimit)==null?void 0:St.enabled)||!1,S.comment=((kt=j==null?void 0:j.speedLimit)==null?void 0:kt.comment)||"",S.action=((oe=j==null?void 0:j.speedLimit)==null?void 0:oe.action)||"add",m.value=!0):J===2?(V.hostname=((ne=j==null?void 0:j.staticAssigned)==null?void 0:ne.hostname)||"",V.assignedIP=((ie=j==null?void 0:j.staticAssigned)==null?void 0:ie.assignedIP)||"",V.assignedMac=((re=j==null?void 0:j.staticAssigned)==null?void 0:re.assignedMac)||"",V.bindIP=((se=j==null?void 0:j.staticAssigned)==null?void 0:se.bindIP)||!1,V.tagTitle=((de=j==null?void 0:j.staticAssigned)==null?void 0:de.tagTitle)||"",V.tagName=((le=j==null?void 0:j.staticAssigned)==null?void 0:le.tagName)||"",(ue=j==null?void 0:j.staticAssigned)!=null&&ue.dhcpGateway?(F.value.forEach(fe=>{var Fe;fe.gateway===((Fe=j==null?void 0:j.staticAssigned)==null?void 0:Fe.dhcpGateway)&&(W.value=fe)}),V.dhcpGateway=((pe=j==null?void 0:j.staticAssigned)==null?void 0:pe.dhcpGateway)||F.value[0]||""):(W.value=F.value[0]||null,V.dhcpGateway=((ce=W.value)==null?void 0:ce.gateway)||""),V.action=((wt=j==null?void 0:j.staticAssigned)==null?void 0:wt.action)||"add",h.value=!0):J===3&&(N.value="",N.value=j.ip,k.value=!0)},W=E(F.value[0]||null),ht=()=>{var j,J,Q;W.value?(V.dhcpGateway=((j=W.value)==null?void 0:j.gateway)||"",V.tagName=((J=W.value)==null?void 0:J.tagName)||"",V.tagTitle=((Q=W.value)==null?void 0:Q.tagTitle)||""):(V.dhcpGateway="",V.tagName="",V.tagTitle="")},Dt=(j,J)=>J?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[j].test(J.trim()):!1,ft=j=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(j.toString()),Kt=()=>L(this,null,function*(){if(!V.hostname)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u540D\u79F0")}`);if(!V.assignedMac)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!Dt("mac",V.assignedMac))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!V.dhcpGateway)return C.Warning(`${a("\u8BF7\u9009\u62E9")}${a("\u7F51\u5173")}`);if(V.bindIP){if(!V.assignedIP)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!Dt("ip",V.assignedIP))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else V.assignedIP="";let j=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield O.DeviceMangement.staticDeviceConfig.POST(V);JSON.stringify(J)==="{}"?(h.value=!1,It(),Ft(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){C.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{j.Close()}}),Qt=()=>L(this,null,function*(){var J,Q;if(!((Q=(J=_.value)==null?void 0:J.speedLimit)!=null&&Q.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(S.networkAccess)S.downloadSpeed=0,S.uploadSpeed=0;else{if(!S.downloadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!ft(S.downloadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S.uploadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!ft(S.uploadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);S.downloadSpeed=Number(S.downloadSpeed),S.uploadSpeed=Number(S.uploadSpeed)}let j=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{S.networkAccess=!S.networkAccess;const{data:nt}=yield O.DeviceMangement.speedLimitConfig.POST(S);JSON.stringify(nt)==="{}"?(m.value=!1,It(),Ft(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((nt==null?void 0:nt.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(nt){C.Warning(`${nt==null?void 0:nt.error} || ${nt==null?void 0:nt.message}`)}finally{S.downloadSpeed=1e3,S.uploadSpeed=100,j.Close()}}),It=()=>{P.value={},W.value=F.value[0]||null,V.hostname="",V.assignedIP="",V.assignedMac="",V.bindIP=!1,V.dhcpGateway="",V.tagName="",V.tagTitle="",V.action="add",S.ip="",S.mac="",S.uploadSpeed=100,S.downloadSpeed=1e3,S.networkAccess=!1,S.comment="",S.action="add"},at=E([]),Z=E(null),Ft=()=>L(this,null,function*(){p.value=[],yield Y()}),ct=j=>p.value.filter(J=>{const Q=J.ip.includes(j),nt=J.mac.toLowerCase().includes(j.toLowerCase());return Q||nt}),X=j=>{j===""&&(f.value=p.value),f.value=ct(j)},Lt=()=>{if(at.value.length===0)return C.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !")};return(j,J)=>(r(),l("div",yE,[t("div",FE,[z(Xe,{onRefresh:Ft,showAdd:!1,showBatchDelete:!1,ref_key:"searchRef",ref:Z,onBatchDelete:Lt,onSearch:X},null,512)]),t("div",null,[z(Me,{data:f.value,columns:w.value,showPagination:!1},{action:R(({row:Q})=>[t("span",{style:{color:"#553AFE",cursor:"pointer"},onClick:nt=>I(Q,2)},n(e(a)("\u9759\u6001\u5206\u914D")),9,EE),t("span",{style:{color:"#553AFE",cursor:"pointer",margin:"0 8px"},onClick:nt=>I(Q,1)},n(e(a)("\u9650\u901F\u914D\u7F6E")),9,CE),t("span",{style:{color:"#553AFE",margin:"0 8px",cursor:"pointer"},onClick:nt=>I(Q,3)},n(e(a)("\u8BE6\u60C5")),9,$E)]),staticAssigned:R(({row:Q})=>{var nt,xt;return[t("span",null,n(v((nt=Q==null?void 0:Q.staticAssigned)==null?void 0:nt.tagTitle)||v((xt=Q==null?void 0:Q.staticAssigned)==null?void 0:xt.tagName)||"-"),1)]}),_:1},8,["data","columns"])]),z(he,{modelValue:m.value,"onUpdate:modelValue":J[6]||(J[6]=Q=>m.value=Q),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:Qt,onCancel:It},{default:R(()=>{var Q,nt,xt,St;return[t("div",DE,[t("div",BE,"IP: "+n(P.value.ip),1),t("div",YE,[t("div",AE,n(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),z(Gt,{modelValue:e(S).enabled,"onUpdate:modelValue":J[0]||(J[0]=kt=>e(S).enabled=kt),disabled:!((nt=(Q=_.value)==null?void 0:Q.speedLimit)!=null&&nt.enabled),onBeforeChange:y},null,8,["modelValue","disabled"])]),(St=(xt=_.value)==null?void 0:xt.speedLimit)!=null&&St.enabled?D("",!0):(r(),l("div",SE,[t("a",{href:"",onClick:mt(b,["prevent"])},n(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,zE)])),e(S).enabled?(r(),l("div",PE,[t("div",TE,[t("div",IE,n(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),z(Gt,{modelValue:e(S).networkAccess,"onUpdate:modelValue":J[1]||(J[1]=kt=>e(S).networkAccess=kt),onChange:J[2]||(J[2]=()=>{})},null,8,["modelValue"])]),e(S).networkAccess?D("",!0):(r(),l(G,{key:0},[t("div",LE,[t("div",ME,n(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[3]||(J[3]=kt=>e(S).downloadSpeed=kt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,NE),[[ot,e(S).downloadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",OE,[t("div",VE,n(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[4]||(J[4]=kt=>e(S).uploadSpeed=kt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,GE),[[ot,e(S).uploadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",jE,[t("div",qE,n(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[5]||(J[5]=kt=>e(S).comment=kt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,UE),[[ot,e(S).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"]),z(he,{modelValue:h.value,"onUpdate:modelValue":J[12]||(J[12]=Q=>h.value=Q),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:Kt,onCancel:It},{default:R(()=>[t("div",RE,[WE,t("div",HE,[t("div",ZE,n(e(a)("\u540D\u79F0"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text",onInput:d,"onUpdate:modelValue":J[7]||(J[7]=Q=>e(V).hostname=Q),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,JE),[[ot,e(V).hostname,void 0,{trim:!0}]])]),t("div",KE,[QE,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[8]||(J[8]=Q=>e(V).assignedMac=Q),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,XE),[[ot,e(V).assignedMac,void 0,{trim:!0}]])]),t("div",tC,[t("div",eC,n(e(a)("\u7F51\u5173"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":J[9]||(J[9]=Q=>W.value=Q),onChange:ht},[e(x)?(r(),l("option",aC,n(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),l(G,null,et(F.value,Q=>(r(),l("option",{value:Q},n(Q.gateway)+"("+n(Q.tagTitle?v(Q.tagTitle):Q.tagName?Q.tagName:"-")+") ",9,oC))),256))],544),[[dt,W.value]])]),t("div",nC,[t("div",iC,n(e(a)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),z(Gt,{modelValue:e(V).bindIP,"onUpdate:modelValue":J[10]||(J[10]=Q=>e(V).bindIP=Q)},null,8,["modelValue"])]),e(V).bindIP?(r(),l("div",rC,[sC,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[11]||(J[11]=Q=>e(V).assignedIP=Q),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,dC),[[ot,e(V).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"]),z(he,{modelValue:k.value,"onUpdate:modelValue":J[13]||(J[13]=Q=>k.value=Q),title:"\u8BE6\u60C5",width:"550px",footerShow:!1,"show-close":!0,onCancel:It},{default:R(()=>{var Q,nt,xt,St,kt;return[t("div",lC,[t("div",uC,[cC,t("div",pC,[t("div",fC,[t("div",mC,n(e(a)("\u540D\u79F0"))+"\uFF1A",1),it(" "+n(P.value.hostname||"-"),1)]),t("div",vC,[t("div",gC,n(e(a)("IP\u5730\u5740"))+"\uFF1A",1),it(" "+n(P.value.ip),1)]),t("div",bC,[hC,it(" "+n(P.value.mac),1)]),t("div",_C,[t("div",xC,n(e(a)("\u7F51\u5173"))+"\uFF1A",1),it(" "+n(((Q=P.value)==null?void 0:Q.staticAssigned.dhcpGateway)||"-"),1)]),t("div",kC,[t("div",wC,n(e(a)("\u63A5\u53E3"))+"\uFF1A",1),it(" "+n($(P.value.intr)||"-"),1)]),t("div",yC,[t("div",FC,n(e(a)("\u6807\u7B7E"))+"\uFF1A",1),it(" "+n(((xt=(nt=P.value)==null?void 0:nt.staticAssigned)==null?void 0:xt.tagTitle)||((kt=(St=P.value)==null?void 0:St.staticAssigned)==null?void 0:kt.tagName)||"-"),1)])])]),N.value?(r(),K(bE,{key:0,ipParam:N.value},null,8,["ipParam"])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var CC=M(EC,[["__scopeId","data-v-2f8a90b2"]]);const ta=o=>(rt("data-v-0ad740fc"),o=o(),st(),o),$C={class:"container"},DC={style:{display:"flex","justify-content":"end"}},BC=["onClick"],YC={class:"custom-content"},AC=ta(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),SC={class:"item_box"},zC={class:"item_left"},PC=["placeholder"],TC={class:"item_box"},IC=ta(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),LC=["placeholder"],MC={class:"item_box"},NC={class:"item_left"},OC={key:0,value:null,disabled:""},VC=["value"],GC={class:"item_box"},jC={class:"item_left"},qC={key:0,class:"item_box"},UC=ta(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),RC=["placeholder"],WC=U({setup(o){const{$gettext:i}=H(),a=E([]);(()=>L(this,null,function*(){var P;try{const{data:I}=yield O.DeviceMangement.globalConfigs.GET();I.result&&(a.value=((P=I.result)==null?void 0:P.dhcpTags)||[])}catch(I){}}))();const u=E([]),s=E([]),c=E(!1),_=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"assignedIP"},{label:"MAC\u5730\u5740",prop:"assignedMac"},{label:"\u9759\u6001IP\u7ED1\u5B9A",prop:"bindIP",slot:"bindIP"},{label:"\u6807\u7B7E",prop:"tagTitle",slot:"tagTitle"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),g=P=>({default:i("\u9ED8\u8BA4\u7F51\u5173"),parent:i("\u4E0A\u7EA7\u8DEF\u7531"),myself:i("\u672C\u8BBE\u5907"),bypass:i("\u65C1\u8DEF\u7531"),floatip:i("\u6D6E\u52A8\u7F51\u5173")})[P]||P,p=P=>{$.hostname=P.target.value.replace(/[\u4e00-\u9fa5]/g,"")},f=()=>L(this,null,function*(){let P=C.Loading(i("\u52A0\u8F7D\u4E2D..."));try{const{data:I}=yield O.DeviceMangement.listStaticDevices.GET();I.result&&(u.value=I.result||[],s.value=I.result||[])}catch(I){}finally{P.Close()}});f();const m=E(!0),h=E([]),k=P=>{h.value=P},x=()=>L(this,null,function*(){u.value=[];let P=C.Loading(i("\u52A0\u8F7D\u4E2D..."));yield f(),P.Close()}),w=P=>u.value.filter(I=>{const W=I.assignedIP.includes(P),ht=I.assignedMac.toLowerCase().includes(P.toLowerCase());return W||ht}),v=P=>{P===""&&(s.value=u.value),s.value=w(P)},b=P=>L(this,null,function*(){if(confirm(i("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let I={hostname:P.hostname||"",assignedIP:P.assignedIP||"",assignedMac:P.assignedMac||"",tagTitle:P.tagTitle||"",bindIP:P.bindIP||!1,tagName:P.tagName||"",dhcpGateway:P.dhcpGateway||"",action:"delete"};y(I,1)}}),y=(P,I)=>L(this,null,function*(){let W=C.Loading(i("\u5220\u9664\u4E2D..."));try{const{data:ht}=yield O.DeviceMangement.staticDeviceConfig.POST(P);return I==1&&(JSON.stringify(ht)==="{}"?C.Success("\u5220\u9664\u6210\u529F !"):C.Success((ht==null?void 0:ht.error)||"\u5220\u9664\u5931\u8D25\uFF01"),f()),ht}catch(ht){}finally{W.Close()}}),F=()=>L(this,null,function*(){if(h.value.length===0)return C.Warning(i("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(i("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const P=h.value.map(I=>{const W={hostname:I.hostname||"",assignedIP:I.assignedIP||"",assignedMac:I.assignedMac||"",tagTitle:I.tagTitle||"",bindIP:I.bindIP||!1,tagName:I.tagName||"",dhcpGateway:I.dhcpGateway||"",action:"delete"};return y(W)});yield Promise.all(P),C.Success(i("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),f()}catch(P){}}),Y=tt(()=>!$.dhcpGateway),A=E(null),B=()=>{var P,I,W;A.value?($.dhcpGateway=((P=A.value)==null?void 0:P.gateway)||"",$.tagName=((I=A.value)==null?void 0:I.tagName)||"",$.tagTitle=((W=A.value)==null?void 0:W.tagTitle)||""):($.dhcpGateway="",$.tagName="",$.tagTitle="")},$=gt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),S=(P,I)=>I?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[P].test(I.trim()):!1,V=()=>L(this,null,function*(){if(!$.assignedMac)return C.Warning(`${i("\u8BF7\u8F93\u5165")}${i("MAC")}`);if(!S("mac",$.assignedMac))return C.Warning(`${i("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!$.dhcpGateway)return C.Warning(`${i("\u8BF7\u9009\u62E9")}${i("\u7F51\u5173")}`);if($.bindIP){if(!$.assignedIP)return C.Warning(`${i("\u8BF7\u8F93\u5165")}${i("IP")}`);if(!S("ip",$.assignedIP))return C.Warning(`${i("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else $.assignedIP="";let P=C.Loading(i("\u4FDD\u5B58\u4E2D..."));try{const{data:I}=yield O.DeviceMangement.staticDeviceConfig.POST($);JSON.stringify(I)==="{}"?(c.value=!1,N(),x(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((I==null?void 0:I.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(I){C.Warning(`${I==null?void 0:I.error} || ${I==null?void 0:I.message}`)}finally{P.Close()}}),N=()=>{A.value=null,$.hostname="",$.assignedIP="",$.assignedMac="",$.bindIP=!1,$.dhcpGateway="",$.tagName="",$.tagTitle="",$.action="add"};return(P,I)=>(r(),l("div",$C,[t("div",DC,[z(Xe,{onHandleAdd:I[0]||(I[0]=W=>c.value=!0),onRefresh:x,onBatchDelete:F,onSearch:v})]),t("div",null,[z(Me,{data:s.value,columns:_.value,rowKey:"assignedMac",showSelection:m.value,showPagination:!1,onSelectionChange:k},{action:R(({row:W})=>[t("button",{class:"del-button del-button--danger",onClick:ht=>b(W)},[t("span",null,n(e(i)("\u5220\u9664")),1)],8,BC)]),tagTitle:R(({row:W})=>[t("span",null,n(g(W==null?void 0:W.tagTitle)||g(W==null?void 0:W.tagName)||"-"),1)]),bindIP:R(({row:W})=>[t("span",null,n(W!=null&&W.bindIP?e(i)("\u662F"):e(i)("\u5426")),1)]),_:1},8,["data","columns","showSelection"])]),z(he,{modelValue:c.value,"onUpdate:modelValue":I[6]||(I[6]=W=>c.value=W),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:V,onCancel:N},{default:R(()=>[t("div",YC,[AC,t("div",SC,[t("div",zC,n(e(i)("\u540D\u79F0"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text",onInput:p,"onUpdate:modelValue":I[1]||(I[1]=W=>e($).hostname=W),placeholder:e(i)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,PC),[[ot,e($).hostname,void 0,{trim:!0}]])]),t("div",TC,[IC,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":I[2]||(I[2]=W=>e($).assignedMac=W),placeholder:e(i)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,LC),[[ot,e($).assignedMac,void 0,{trim:!0}]])]),t("div",MC,[t("div",NC,n(e(i)("\u7F51\u5173"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":I[3]||(I[3]=W=>A.value=W),onChange:B},[e(Y)?(r(),l("option",OC,n(e(i)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),l(G,null,et(a.value,W=>(r(),l("option",{value:W},n(W.gateway)+"("+n(W.tagTitle?g(W.tagTitle):W.tagName?W.tagName:"-")+") ",9,VC))),256))],544),[[dt,A.value]])]),t("div",GC,[t("div",jC,n(e(i)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),z(Gt,{modelValue:e($).bindIP,"onUpdate:modelValue":I[4]||(I[4]=W=>e($).bindIP=W)},null,8,["modelValue"])]),e($).bindIP?(r(),l("div",qC,[UC,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":I[5]||(I[5]=W=>e($).assignedIP=W),placeholder:e(i)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,RC),[[ot,e($).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"])]))}});var HC=M(WC,[["__scopeId","data-v-0ad740fc"]]);const ZC={class:"container"},JC={style:{display:"flex","justify-content":"end"}},KC=["onClick"],QC={class:"custom-content"},XC={class:"item_box"},t$={class:"item_left"},e$={class:"item_box"},a$={class:"item_left"},o$=["placeholder"],n$={class:"item_box"},i$={class:"item_left"},r$=["placeholder"],s$={key:0,class:"tip"},d$=["onClick"],l$={key:1},u$={class:"item_box"},c$={class:"item_left"},p$={class:"item_box"},f$={class:"item_left"},m$=["placeholder"],v$={class:"item_box"},g$={class:"item_left"},b$=["placeholder"],h$={class:"item_box"},_$={class:"item_left"},x$=["placeholder"],k$=U({emits:["openGloba"],setup(o,{emit:i}){const{$gettext:a}=H(),d=E({});(()=>L(this,null,function*(){try{const{data:N}=yield O.DeviceMangement.globalConfigs.GET();N.result&&(d.value=N.result||{})}catch(N){}}))();const s=E([]),c=E([]),_=E(!1),g=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u7981\u6B62\u7F51\u7EDC\u8BBF\u95EE",prop:"enabled",slot:"enabled"},{label:"\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09",prop:"uploadSpeed",slot:"uploadSpeed"},{label:"\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09",prop:"downloadSpeed",slot:"downloadSpeed"},{label:"\u6CE8\u89E3",prop:"comment"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),p=()=>L(this,null,function*(){let N=C.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:P}=yield O.DeviceMangement.listSpeedLimitedDevices.GET();P.result&&(s.value=P.result||[],c.value=P.result||[])}catch(P){}finally{N.Close()}});p();const f=E(!0),m=E([]),h=N=>{m.value=N},k=()=>L(this,null,function*(){s.value=[];let N=C.Loading(a("\u52A0\u8F7D\u4E2D..."));yield p(),N.Close()}),x=N=>s.value.filter(P=>{const I=P.ip.includes(N),W=P.mac.toLowerCase().includes(N.toLowerCase());return I||W}),w=N=>{N===""&&(c.value=s.value),c.value=x(N)},v=N=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let P={ip:N.ip||"",mac:N.mac||"",uploadSpeed:N.uploadSpeed||0,downloadSpeed:N.downloadSpeed||0,networkAccess:N.networkAccess||!1,comment:"",action:"delete"};b(P,1)}}),b=(N,P)=>L(this,null,function*(){let I=C.Loading(a("\u5220\u9664\u4E2D..."));try{const{data:W}=yield O.DeviceMangement.speedLimitConfig.POST(N);return P==1&&(JSON.stringify(W)==="{}"?C.Success("\u5220\u9664\u6210\u529F !"):C.Success((W==null?void 0:W.error)||"\u5220\u9664\u5931\u8D25\uFF01"),p()),W}catch(W){}finally{I.Close()}}),y=()=>L(this,null,function*(){if(m.value.length===0)return C.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const N=m.value.map(P=>{const I={ip:P.ip||"",mac:P.mac||"",uploadSpeed:P.uploadSpeed||0,downloadSpeed:P.downloadSpeed||0,networkAccess:P.networkAccess||!1,comment:"",action:"delete"};return b(I)});yield Promise.all(N),C.Success(a("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),p()}catch(N){}}),F=()=>{_.value=!1,i("openGloba")},Y=N=>{var P,I;if(N==!0&&!((I=(P=d.value)==null?void 0:P.speedLimit)!=null&&I.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},A=gt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),B=N=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(N.toString()),$=(N,P)=>P?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[N].test(P.trim()):!1,S=()=>L(this,null,function*(){var P,I;if(!((I=(P=d.value)==null?void 0:P.speedLimit)!=null&&I.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(!A.ip)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!$("ip",A.ip))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);if(!A.mac)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!$("mac",A.mac))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(A.networkAccess)A.downloadSpeed=0,A.uploadSpeed=0;else{if(!A.downloadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!B(A.downloadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!A.uploadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!B(A.uploadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);A.downloadSpeed=Number(A.downloadSpeed),A.uploadSpeed=Number(A.uploadSpeed)}let N=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{A.networkAccess=!A.networkAccess;const{data:W}=yield O.DeviceMangement.speedLimitConfig.POST(A);JSON.stringify(W)==="{}"?(k(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((W==null?void 0:W.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01"),_.value=!1,V()}catch(W){C.Warning(`${W==null?void 0:W.error} || ${W==null?void 0:W.message}`)}finally{A.downloadSpeed=1e3,A.uploadSpeed=100,N.Close()}}),V=()=>{A.ip="",A.mac="",A.uploadSpeed=100,A.downloadSpeed=1e3,A.networkAccess=!1,A.comment="",A.action="add"};return(N,P)=>(r(),l("div",ZC,[t("div",JC,[z(Xe,{onHandleAdd:P[0]||(P[0]=I=>_.value=!0),onRefresh:k,onBatchDelete:y,onSearch:w})]),t("div",null,[z(Me,{data:c.value,columns:g.value,rowKey:"mac",showSelection:f.value,showPagination:!1,onSelectionChange:h},{action:R(({row:I})=>[t("button",{class:"del-button del-button--danger",onClick:W=>v(I)},[t("span",null,n(e(a)("\u5220\u9664")),1)],8,KC)]),enabled:R(({row:I})=>[t("span",null,n(I!=null&&I.enabled?e(a)("\u662F"):e(a)("\u5426")),1)]),uploadSpeed:R(({row:I})=>[t("span",null,n((I==null?void 0:I.uploadSpeed)||"-")+" "+n(I!=null&&I.uploadSpeed?"Mbit/s":""),1)]),downloadSpeed:R(({row:I})=>[t("span",null,n((I==null?void 0:I.downloadSpeed)||"-")+" "+n(I!=null&&I.downloadSpeed?"Mbit/s":""),1)]),_:1},8,["data","columns","showSelection"])]),z(he,{modelValue:_.value,"onUpdate:modelValue":P[9]||(P[9]=I=>_.value=I),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:S,onCancel:V},{default:R(()=>{var I,W,ht,Dt;return[t("div",QC,[t("div",XC,[t("div",t$,n(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),z(Gt,{modelValue:e(A).enabled,"onUpdate:modelValue":P[1]||(P[1]=ft=>e(A).enabled=ft),disabled:!((W=(I=d.value)==null?void 0:I.speedLimit)!=null&&W.enabled),onBeforeChange:Y},null,8,["modelValue","disabled"])]),t("div",e$,[t("div",a$,n(e(a)("IP\u5730\u5740"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[2]||(P[2]=ft=>e(A).ip=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,o$),[[ot,e(A).ip,void 0,{trim:!0}]])]),t("div",n$,[t("div",i$,n(e(a)("MAC\u5730\u5740"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[3]||(P[3]=ft=>e(A).mac=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,r$),[[ot,e(A).mac,void 0,{trim:!0}]])]),(Dt=(ht=d.value)==null?void 0:ht.speedLimit)!=null&&Dt.enabled?D("",!0):(r(),l("div",s$,[t("a",{href:"",onClick:mt(F,["prevent"])},n(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,d$)])),e(A).enabled?(r(),l("div",l$,[t("div",u$,[t("div",c$,n(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),z(Gt,{modelValue:e(A).networkAccess,"onUpdate:modelValue":P[4]||(P[4]=ft=>e(A).networkAccess=ft),onChange:P[5]||(P[5]=()=>{})},null,8,["modelValue"])]),e(A).networkAccess?D("",!0):(r(),l(G,{key:0},[t("div",p$,[t("div",f$,n(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[6]||(P[6]=ft=>e(A).downloadSpeed=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,m$),[[ot,e(A).downloadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",v$,[t("div",g$,n(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[7]||(P[7]=ft=>e(A).uploadSpeed=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,b$),[[ot,e(A).uploadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",h$,[t("div",_$,n(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[8]||(P[8]=ft=>e(A).comment=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,x$),[[ot,e(A).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var w$=M(k$,[["__scopeId","data-v-517a8ecc"]]);const ea=o=>(rt("data-v-3d247530"),o=o(),st(),o),y$={key:0,class:"dialog-overlay"},F$={class:"dialog-container"},E$={class:"dialog-title"},C$=ea(()=>t("div",{class:"loading-animation"},[t("div",{class:"spinner"})],-1)),$$={class:"dialog-message"},D$={key:0,class:"dialog-overlay"},B$={class:"dialog-container"},Y$={class:"dialog-title"},A$=ea(()=>t("div",{style:{display:"flex","justify-content":"center"}},[t("svg",{t:"1752661662572",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5921",width:"50",height:"50"},[t("path",{d:"M0 512C0 229.234759 229.234759 0 512 0s512 229.234759 512 512-229.234759 512-512 512S0 794.765241 0 512z m419.310345 194.630621a35.310345 35.310345 0 0 0 49.399172 1.271172l335.518897-311.931586a35.310345 35.310345 0 0 0-48.075035-51.729655l-309.124413 289.544827-145.125518-149.645241a35.310345 35.310345 0 1 0-50.688 49.169655l168.112552 173.320828z",fill:"#553afe","p-id":"5922"})])],-1)),S$={class:"dialog-message"},z$={key:0,class:"dialog-overlay"},P$={class:"dialog-container tag-dialog"},T$={class:"dialog-title"},I$={class:"warning-message"},L$=ea(()=>t("svg",{class:"warning-icon",viewBox:"0 0 24 24"},[t("path",{fill:"currentColor",d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"})],-1)),M$={class:"input-group"},N$={for:"tagName"},O$=["placeholder"],V$={class:"input-group"},G$={for:"tagName"},j$=["disabled","placeholder"],q$={class:"input-group"},U$={for:"tagName"},R$=["placeholder"],W$={class:"button-group"},H$=U({emits:["confirm","update:modelValue"],setup(o,{expose:i,emit:a}){const{$gettext:d}=H(),u=E("install"),s=E("\u6D6E\u52A8\u7F51\u5173"),c=E(!1),_=E(!1),g=E(!1),p=E(""),f=E(""),m=E(""),h=()=>{u.value="install",c.value=!0},k=()=>{c.value=!1},x=()=>{c.value=!1,setTimeout(()=>{_.value=!0},300)},w=()=>{_.value=!1},v=E("1"),b=()=>{u.value="tag",v.value="1",f.value="",p.value="",m.value="",g.value=!0},y=()=>{u.value="tag",v.value="2",g.value=!0},F=()=>{g.value=!1},Y=$=>{f.value=$.target.value.replace(/[\u4e00-\u9fa5]/g,"")},A=($,S)=>S?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[$].test(S.trim()):!1,B=()=>{if(!A("ip",m.value.trim()))return C.Warning(`${d("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);p.value.trim()&&f.value.trim()&&m.value.trim()&&(a("confirm",{tagTitle:p.value.trim(),tagName:f.value.trim(),gateway:m.value.trim(),type:v.value}),F())};return Nt(p,$=>{a("update:modelValue",$)}),Nt(f,$=>{a("update:modelValue",$)}),Nt(m,$=>{a("update:modelValue",$)}),i({tagTitle:p,tagName:f,gateway:m,openInstallDialog:h,showInstallResult:x,openTagDialog:b,closeTagDialog:F,cancelInstall:k,openEditTagDialog:y,title:s}),($,S)=>(r(),l(G,null,[z($t,{name:"fade"},{default:R(()=>[c.value&&u.value==="install"?(r(),l("div",y$,[t("div",F$,[t("div",E$,n(e(d)(`${s.value}`)),1),C$,t("p",$$,n(e(d)("\u6B63\u5728\u5B89\u88C5"))+"...",1),t("button",{class:"dialog-button",onClick:k},n(e(d)(""))+"\u5173\u95ED",1)])])):D("",!0)]),_:1}),z($t,{name:"fade"},{default:R(()=>[_.value&&u.value==="install"?(r(),l("div",D$,[t("div",B$,[t("div",Y$,n(e(d)("\u7ED3\u679C")),1),A$,t("p",S$,n(e(d)("\u5B89\u88C5\u6210\u529F"))+"\uFF01",1),t("button",{class:"dialog-button",onClick:w},n(e(d)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1}),z($t,{name:"fade"},{default:R(()=>[g.value&&u.value==="tag"?(r(),l("div",z$,[t("div",P$,[t("div",T$,n(e(d)(v.value==="1"?"\u6DFB\u52A0\u6807\u7B7E":"\u7F16\u8F91\u6807\u7B7E")),1),t("div",I$,[L$,t("span",null,n(e(d)("\u6CE8\u610F\uFF1A\u6DFB\u52A0ID\u65F6\uFF0C\u8BF7\u52FF\u5C06\u201Codhcpd\u201D\u6216\u7F51\u7EDC\u63A5\u53E3\uFF08\u4F8B\u5982\u201Clan\u201D,\u201Cwan\u201D,\u201Cwan6\u201D\u7B49\uFF09\u4F5C\u4E3AID\uFF0C\u6B64\u4E3E\u5C06\u4EA7\u751F\u51B2\u7A81\u3002\u5EFA\u8BAE\u5728ID\u524D\u9762\u52A0\u4E0A\u524D\u7F00\u201Ct_\u201D\u4EE5\u675C\u7EDD\u6B64\u7C7B\u51B2\u7A81\u3002")),1)]),t("div",M$,[t("label",N$,n(e(d)("\u6807\u9898"))+"\uFF1A",1),T(t("input",{id:"tagName","onUpdate:modelValue":S[0]||(S[0]=V=>p.value=V),type:"text",placeholder:e(d)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,O$),[[ot,p.value]])]),t("div",V$,[t("label",G$,n(e(d)("ID"))+"\uFF1A",1),T(t("input",{id:"tagName","onUpdate:modelValue":S[1]||(S[1]=V=>f.value=V),onInput:Y,disabled:v.value==="2",type:"text",placeholder:e(d)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,j$),[[ot,f.value]])]),t("div",q$,[t("label",U$,n(e(d)("\u7F51\u5173"))+"\uFF1A",1),T(t("input",{id:"tagName","onUpdate:modelValue":S[2]||(S[2]=V=>m.value=V),type:"text",placeholder:e(d)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,R$),[[ot,m.value]])]),t("div",W$,[t("button",{class:"cancel-button",onClick:F},n(e(d)("\u53D6\u6D88")),1),t("button",{class:"confirm-button",onClick:B},n(e(d)("\u786E\u5B9A")),1)])])])):D("",!0)]),_:1})],64))}});var Z$=M(H$,[["__scopeId","data-v-3d247530"]]);const Ia=o=>(rt("data-v-7ea05c92"),o=o(),st(),o),J$={class:"tab-container"},K$={class:"tab-header"},Q$=["onClick"],X$={class:"tab-content_g"},tD={key:0,class:"not_installed"},eD=Ia(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),aD={key:1},oD={class:"item_box"},nD={class:"item_left"},iD={class:"item_box"},rD={class:"item_left"},sD=["placeholder"],dD={class:"item_box"},lD={class:"item_left"},uD=["placeholder"],cD={class:"item_box"},pD={class:"item_left"},fD={key:0,class:"not_installed"},mD=Ia(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),vD={key:1},gD={class:"item_box"},bD={class:"item_left"},hD={class:"item_box"},_D={class:"item_left"},xD={key:0,value:"",disabled:""},kD=["value"],wD={class:"item_box"},yD={class:"item_left"},FD=["placeholder"],ED={class:"item_box"},CD={class:"item_left"},$D=["placeholder"],DD={class:"item_box"},BD={class:"item_left"},YD={style:{"margin-bottom":"16px"}},AD={class:"item_box"},SD={class:"item_left"},zD={class:"item_box"},PD={class:"item_left"},TD=["value"],ID={class:"item_box"},LD={class:"item_left"},MD={style:{display:"flex","justify-content":"end","margin-bottom":"8px"}},ND=["onClick"],OD=["onClick"],VD=U({setup(o,{expose:i}){const{$gettext:a}=H(),d=tt(()=>!p.role),u=E([]),s=E([{label:"\u6807\u9898",prop:"tagTitle",slot:"tagTitle"},{label:"ID",prop:"tagName",slot:"tagName"},{label:"\u7F51\u5173",prop:"gateway",slot:"gateway"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),c=E([{name:a("\u4E3B\u8DEF\u7531"),value:"fallback"},{name:a("\u65C1\u8DEF\u7531"),value:"main"}]),_=gt({dhcpEnabled:!1,dhcpGateway:""}),g=gt({enabled:!1,uploadSpeed:"",downloadSpeed:"",installed:!0}),p=gt({enabled:!1,role:"",setIP:"",checkIP:""}),f=E({}),m=()=>L(this,null,function*(){var at,Z,Ft,ct,X,Lt,j,J,Q,nt,xt,St,kt,oe,ne,ie,re,se,de,le,ue,ce,pe;try{const{data:wt}=yield O.DeviceMangement.globalConfigs.GET();if(wt.result){if(f.value=wt.result||{},_.dhcpEnabled=((Z=(at=wt.result)==null?void 0:at.dhcpGlobal)==null?void 0:Z.dhcpEnabled)||!1,(ct=(Ft=wt.result)==null?void 0:Ft.dhcpGlobal)!=null&&ct.dhcpGateway)_.dhcpGateway=(Lt=(X=wt.result)==null?void 0:X.dhcpGlobal)==null?void 0:Lt.dhcpGateway;else{const fe=(J=(j=wt.result)==null?void 0:j.dhcpGlobal)==null?void 0:J.gatewaySels.find(Fe=>Fe.title==="myself");fe?_.dhcpGateway=fe.gateway:_.dhcpGateway=""}u.value=((Q=wt.result)==null?void 0:Q.dhcpTags)||[],g.enabled=((xt=(nt=wt.result)==null?void 0:nt.speedLimit)==null?void 0:xt.enabled)||!1,g.uploadSpeed=((kt=(St=wt.result)==null?void 0:St.speedLimit)==null?void 0:kt.uploadSpeed)||"",g.downloadSpeed=((ne=(oe=wt.result)==null?void 0:oe.speedLimit)==null?void 0:ne.downloadSpeed)||"",p.enabled=((re=(ie=wt.result)==null?void 0:ie.floatGateway)==null?void 0:re.enabled)||!1,p.role=((de=(se=wt.result)==null?void 0:se.floatGateway)==null?void 0:de.role)||"",p.setIP=((ue=(le=wt.result)==null?void 0:le.floatGateway)==null?void 0:ue.setIP)||"",p.checkIP=((pe=(ce=wt.result)==null?void 0:ce.floatGateway)==null?void 0:pe.checkIP)||""}}catch(wt){}});m();const h=()=>L(this,null,function*(){let at=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:Z}=yield O.DeviceMangement.dhcpGatewayConfig.POST(_);JSON.stringify(Z)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((Z==null?void 0:Z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(Z){C.Warning(`${Z==null?void 0:Z.error} || ${Z==null?void 0:Z.message}`)}finally{at.Close()}}),k=(at,Z)=>L(this,null,function*(){let Ft=C.Loading(a("\u68C0\u67E5\u4E2D..."));try{const ct=yield O.App.Check.POST({name:at});if(Ft.Close(),ct!=null&&ct.data){const{result:X,error:Lt}=ct.data;if(Lt)C.Warning(Lt);else{if(X)return X.status=="installed";C.Warning(a("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}}return!1}catch(ct){return Ft.Close(),C.Warning(ct),!1}}),x=E(!1),w=E(!1),v=()=>L(this,null,function*(){(yield k("app-meta-floatip"))&&(w.value=!0)}),b=()=>L(this,null,function*(){(yield k("app-meta-eqos"))&&(x.value=!0)});v(),b();const y=[{id:"tag",label:"DHCP"},{id:"gateway",label:"\u6D6E\u52A8\u7F51\u5173"},{id:"ip",label:"IP\u9650\u901F"}],F=E("tag");i({activeTab:F});const Y=at=>{F.value=at},A=E(),B=at=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[at]||at,$=at=>L(this,null,function*(){if(at=="app-meta-floatip"?A.value.title="\u6D6E\u52A8\u7F51\u5173":A.value.title="IP\u9650\u901F",A.value.openInstallDialog(),yield Ct.installApp(at))return at=="app-meta-floatip"?v():b(),A.value.showInstallResult(),!0;A.value.cancelInstall(),C.Error(a("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}),S=at=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(at.toString()),V=()=>L(this,null,function*(){if(g.enabled){if(!g.downloadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S(g.downloadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!g.uploadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!S(g.uploadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);g.downloadSpeed=Number(g.downloadSpeed),g.uploadSpeed=Number(g.uploadSpeed)}else g.downloadSpeed=0,g.uploadSpeed=0;let at=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:Z}=yield O.DeviceMangement.enableSpeedLimit.POST(g);JSON.stringify(Z)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((Z==null?void 0:Z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(Z){C.Warning(`${Z==null?void 0:Z.error} || ${Z==null?void 0:Z.message}`)}finally{at.Close()}}),N=(at,Z)=>Z?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\/([0-9]|[1-2][0-9]|3[0-2]))?$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[at].test(Z.trim()):!1,P=()=>L(this,null,function*(){if(!p.role)return C.Warning(a("\u8BF7\u9009\u62E9\u8282\u70B9\u89D2\u8272"));if(!p.setIP)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u6D6E\u52A8\u7F51\u5173")}IP`);if(!N("ip",p.setIP))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6D6E\u52A8\u7F51\u5173IP\u5730\u5740")}`);if(!p.checkIP)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u65C1\u8DEF\u7531")}IP`);if(!N("ip",p.checkIP))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65C1\u8DEF\u7531IP\u5730\u5740")}`);let at=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:Z}=yield O.DeviceMangement.enableFloatGateway.POST(p);JSON.stringify(Z)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((Z==null?void 0:Z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(Z){C.Warning(`${Z==null?void 0:Z.error} || ${Z==null?void 0:Z.message}`)}finally{at.Close()}}),I=at=>{at||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95EDDHCP\u53EF\u80FD\u5F71\u54CD\u5C40\u57DF\u7F51\u5185\u8BBE\u5907\u7684IP\u5206\u914D\u548C\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(_.dhcpEnabled=!0)},W=at=>{at||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u6D6E\u52A8\u7F51\u5173\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6D6E\u52A8\u7F51\u5173\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(p.enabled=!0)},ht=at=>{at||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u9650\u901F\u4F1A\u8BA9\u5DF2\u914D\u7F6E\u9650\u901F\u7684\u8BBE\u5907\u7684\u5E26\u5BBD\u9650\u5236\u5168\u90E8\u5931\u6548\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(g.enabled=!0)},Dt=at=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u7F51\u5173\u6807\u7B7E\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6B64\u6807\u7B7E\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let Z=C.Loading(a("\u5220\u9664\u4E2D...")),Ft={action:"delete",tagTitle:at.tagTitle||"",tagName:at.tagName||"",dhcpOption:(at==null?void 0:at.dhcpOption)||[]};try{const{data:ct}=yield O.DeviceMangement.dhcpTagsConfig.POST(Ft);JSON.stringify(ct)==="{}"?(C.Success(a("\u5220\u9664\u6210\u529F")),m()):C.Success((ct==null?void 0:ct.error)||"\u5220\u9664\u5931\u8D25\uFF01")}catch(ct){C.Warning(`${ct==null?void 0:ct.error} || ${ct==null?void 0:ct.message}`)}finally{Z.Close()}}}),ft=()=>{A.value.openTagDialog()},Kt=E([]),Qt=at=>L(this,null,function*(){Kt.value=at.dhcpOption?at.dhcpOption:[],A.value.tagTitle=at.tagTitle||"",A.value.tagName=at.tagName||"",A.value.gateway=at.gateway||"",yield je(),A.value.openEditTagDialog()}),It=at=>L(this,null,function*(){let Z=C.Loading(a("\u4FDD\u5B58\u4E2D..."));const Ft=[`3,${at.gateway}`,`6,${at.gateway}`];let ct={action:at.type==1?"add":"modify",tagTitle:at.tagTitle,tagName:at.tagName,dhcpOption:Ft};try{const{data:X}=yield O.DeviceMangement.dhcpTagsConfig.POST(ct);JSON.stringify(X)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((X==null?void 0:X.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(X){C.Warning(`${X==null?void 0:X.error} || ${X==null?void 0:X.message}`)}finally{Z.Close()}});return(at,Z)=>{var Ft,ct;return r(),l("div",J$,[t("div",K$,[(r(),l(G,null,et(y,X=>t("button",{key:X.id,class:pt(["tab-button",{active:F.value===X.id}]),onClick:Lt=>Y(X.id)},n(e(a)(X.label)),11,Q$)),64))]),t("div",X$,[T(t("div",null,[x.value?(r(),l("div",aD,[t("div",oD,[t("div",nD,n(e(a)("IP\u9650\u901F"))+"\uFF1A",1),z(Gt,{modelValue:e(g).enabled,"onUpdate:modelValue":Z[1]||(Z[1]=X=>e(g).enabled=X),onChange:ht},null,8,["modelValue"])]),e(g).enabled?(r(),l(G,{key:0},[t("div",iD,[t("div",rD,n(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[2]||(Z[2]=X=>e(g).downloadSpeed=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,sD),[[ot,e(g).downloadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",dD,[t("div",lD,n(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[3]||(Z[3]=X=>e(g).uploadSpeed=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,uD),[[ot,e(g).uploadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)])],64)):D("",!0),t("div",cD,[t("div",pD,[t("button",{class:"add-button add-button--danger",onClick:V},n(e(a)("\u4FDD\u5B58")),1)])])])):(r(),l("div",tD,[eD,t("span",null,n(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:Z[0]||(Z[0]=X=>$("app-meta-eqos"))},n(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[Yt,F.value==="ip"]]),T(t("div",null,[w.value?(r(),l("div",vD,[t("div",gD,[t("div",bD,n(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"\uFF1A",1),z(Gt,{modelValue:e(p).enabled,"onUpdate:modelValue":Z[5]||(Z[5]=X=>e(p).enabled=X),onChange:W},null,8,["modelValue"])]),t("div",hD,[t("div",_D,n(e(a)("\u8282\u70B9\u89D2\u8272"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":Z[6]||(Z[6]=X=>e(p).role=X),onChange:Z[7]||(Z[7]=()=>{})},[e(d)?(r(),l("option",xD,n(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),l(G,null,et(c.value,X=>(r(),l("option",{value:X.value},n(X.name),9,kD))),256))],544),[[dt,e(p).role]])]),t("div",wD,[t("div",yD,n(e(a)("\u6D6E\u52A8\u7F51\u5173IP"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[8]||(Z[8]=X=>e(p).setIP=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,FD),[[ot,e(p).setIP,void 0,{trim:!0}]])]),t("div",ED,[t("div",CD,n(e(a)("\u65C1\u8DEF\u7531IP"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[9]||(Z[9]=X=>e(p).checkIP=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,$D),[[ot,e(p).checkIP,void 0,{trim:!0}]])]),t("div",DD,[t("div",BD,[t("button",{class:"add-button add-button--danger",onClick:P},n(e(a)("\u4FDD\u5B58")),1)])])])):(r(),l("div",fD,[mD,t("span",null,n(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:Z[4]||(Z[4]=X=>$("app-meta-floatip"))},n(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[Yt,F.value==="gateway"]]),T(t("div",null,[t("div",YD,[t("div",AD,[t("div",SD,n(e(a)("\u542F\u7528"))+"DHCP\uFF1A",1),z(Gt,{modelValue:e(_).dhcpEnabled,"onUpdate:modelValue":Z[10]||(Z[10]=X=>e(_).dhcpEnabled=X),onChange:I},null,8,["modelValue"])]),t("div",zD,[t("div",PD,"DHCP"+n(e(a)("\u7F51\u5173"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":Z[11]||(Z[11]=X=>e(_).dhcpGateway=X),onChange:Z[12]||(Z[12]=()=>{})},[(r(!0),l(G,null,et((ct=(Ft=f.value)==null?void 0:Ft.dhcpGlobal)==null?void 0:ct.gatewaySels,X=>(r(),l("option",{value:X.gateway},n(X.gateway)+" ("+n(X.title?B(X.title):"")+") ",9,TD))),256))],544),[[dt,e(_).dhcpGateway]])]),t("div",ID,[t("div",LD,[t("button",{class:"add-button add-button--danger",onClick:h},n(e(a)("\u4FDD\u5B58")),1)])])]),t("div",MD,[t("button",{class:"add-button add-button--danger",onClick:ft},[t("span",null,n(e(a)("\u6DFB\u52A0")),1)])]),z(Me,{data:u.value,columns:s.value,showSelection:!1,showPagination:!1,theadBgColor:"#e8e6f9"},{action:R(({row:X})=>[X.autoCreated?D("",!0):(r(),l("span",{key:0,style:{color:"#553AFE",cursor:"pointer"},onClick:Lt=>Qt(X)},n(e(a)("\u7F16\u8F91")),9,ND)),X.autoCreated?D("",!0):(r(),l("span",{key:1,style:{color:"#F04134",cursor:"pointer","margin-left":"18px"},onClick:Lt=>Dt(X)},n(e(a)("\u5220\u9664")),9,OD))]),tagTitle:R(({row:X})=>[t("span",null,n(B(X.tagTitle)),1)]),tagName:R(({row:X})=>[t("span",null,n(X.tagName||"-"),1)]),gateway:R(({row:X})=>[t("span",null,n(X.gateway||"-"),1)]),_:1},8,["data","columns"])],512),[[Yt,F.value==="tag"]])]),z(Z$,{ref_key:"tagDialogRef",ref:A,onConfirm:It},null,512)])}}});var GD=M(VD,[["__scopeId","data-v-7ea05c92"]]);const La=o=>(rt("data-v-a5a78984"),o=o(),st(),o),jD={id:"page"},qD={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},UD=La(()=>t("svg",{width:"20",height:"20",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M20 30 L50 50 L20 70",stroke:"#d6dbf8","stroke-width":"8","stroke-linecap":"round",fill:"none"})],-1)),RD={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},WD={class:"device_container",style:{color:"black"}},HD={class:"tab-container"},ZD={class:"tabs_box_g"},JD=["onClick"],KD={class:"tab-content_g"},QD={key:0,class:"content-item"},XD={key:1,class:"content-item"},tB={key:2,class:"content-item"},eB={key:3,class:"content-item"},aB=La(()=>t("div",{style:{height:"30px"}},null,-1)),oB=U({setup(o){const{$gettext:i}=H(),a=E(["\u8BBE\u5907\u5217\u8868","\u9759\u6001\u5206\u914D\u5217\u8868","\u9650\u901F\u8BBE\u5907\u5217\u8868","\u5168\u5C40\u8BBE\u7F6E"]),d=E(0),u=E(null),s=()=>L(this,null,function*(){d.value=3,yield je(),u.value&&(u.value.activeTab="ip")});return(c,_)=>{const g=ut("router-link");return r(),l(G,null,[t("div",jD,[t("div",qD,[z(g,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:R(()=>[it(n(e(i)("\u9996\u9875")),1)]),_:1}),UD,t("a",RD,n(e(i)("\u8BBE\u5907\u7BA1\u7406")),1)])]),t("div",WD,[t("div",HD,[t("div",ZD,[(r(!0),l(G,null,et(a.value,(p,f)=>(r(),l("button",{key:f,onClick:m=>d.value=f,class:pt({active:d.value===f})},n(e(i)(p)),11,JD))),128))]),t("div",KD,[d.value===0?(r(),l("div",QD,[z(CC,{onOpenGloba:s})])):D("",!0),d.value===1?(r(),l("div",XD,[z(HC)])):D("",!0),d.value===2?(r(),l("div",tB,[z(w$,{onOpenGloba:s})])):D("",!0),d.value===3?(r(),l("div",eB,[z(GD,{ref_key:"configureRef",ref:u},null,512)])):D("",!0)]),aB])])],64)}}});var nB=M(oB,[["__scopeId","data-v-a5a78984"]]);const ye=o=>(rt("data-v-1f11eeec"),o=o(),st(),o),iB=["onSubmit"],rB={class:"form-item"},sB={class:"label-name"},dB={class:"label-value switch_label"},lB={class:"label-flex pc-radio"},uB=["disabled"],cB=["disabled"],pB=ye(()=>t("div",{class:"switch-button"},null,-1)),fB=[pB],mB={key:0,class:"form-item"},vB={class:"label-name"},gB={class:"label-value"},bB=["disabled"],hB={value:100},_B={value:70},xB={value:50},kB={value:30},wB={key:0,class:"select-arrow"},yB={class:"form-item"},FB={class:"label-name"},EB={class:"label-value"},CB=["disabled","placeholder"],$B={class:"form-item"},DB={class:"label-name"},BB={class:"label-value"},YB=["disabled"],AB=["value"],SB={key:0,class:"select-arrow"},zB={class:"form-item"},PB={class:"label-name"},TB={class:"label-value"},IB=["type","disabled","placeholder"],LB={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},MB=ye(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),NB=[MB],OB={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},VB=ye(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),GB=[VB],jB={class:"form-item"},qB={class:"label-name"},UB={class:"label-value"},RB=["disabled"],WB={value:!1},HB={value:!0},ZB={key:0,class:"select-arrow"},JB={key:1,class:"form-item"},KB={class:"label-name"},QB={class:"label-value"},XB=["disabled"],tY=["value"],eY={key:0,class:"select-arrow"},aY={key:2,class:"form-item"},oY={class:"label-name"},nY={class:"label-value"},iY=["disabled"],rY=ye(()=>t("option",{value:"20"},"20 MHz",-1)),sY=ye(()=>t("option",{value:"40"},"40 MHz",-1)),dY={key:0,value:"auto"},lY={key:1,value:"80"},uY={key:2,value:"160"},cY={key:0,class:"select-arrow"},pY={key:3,class:"form-item"},fY={class:"label-name"},mY={class:"label-value"},vY=["disabled"],gY={value:0},bY=["value"],hY=["disabled"],_Y={value:0},xY=Wt('',12),kY={key:2,class:"select-arrow"},wY={key:4,class:"form-item"},yY={class:"label-name"},FY={class:"label-value"},EY=["placeholder","disabled"],CY={class:"label-btns"},$Y=["disabled"],DY=U({props:{data:null},emits:["getData"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=E(Object.assign({},a.data)),c=Xa("disabled"),_=E(!0),g=()=>{c.value||(s.value.disabled=!s.value.disabled)};Nt(()=>s.value.disabled,k=>{f()});const p=()=>L(this,null,function*(){if(s.value.txpower===a.data.txpower)return;const k=C.Loading("\u914D\u7F6E\u4E2D...");try{const{data:x}=yield O.Quickwifi.Power.POST({device:s.value.device||"",txpower:s.value.txpower||0}),{error:w,success:v}=x;if(w)throw w;(v==null||v==0)&&C.Success("\u914D\u7F6E\u5B8C\u6210")}catch(x){throw C.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),x}finally{k.Close()}}),f=()=>L(this,null,function*(){const k=C.Loading("\u914D\u7F6E\u4E2D...");try{const{data:x}=yield O.Quickwifi.Switch.POST({ifaceName:s.value.ifaceName||"",enable:!s.value.disabled}),{error:w,success:v}=x;if(w)throw w;(v==null||v==0)&&C.Success("\u914D\u7F6E\u5B8C\u6210")}catch(x){throw console.error("\u8BF7\u6C42\u51FA\u9519:",x),C.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),x}finally{k.Close()}}),m=()=>L(this,null,function*(){const k=lt({},s.value);delete k.encryptSelects,delete k.hwmodeSelects,delete k.disabled,delete k.txpower;const{data:x}=yield O.Quickwifi.Edit.POST(k),{error:w,success:v}=x;if(w)throw w;(v==null||v==0)&&C.Success("\u914D\u7F6E\u5B8C\u6210")}),h=()=>L(this,null,function*(){if(c.value)return;c.value=!0;const k=C.Loading("\u914D\u7F6E\u4E2D...");try{yield m(),yield i("getData")}catch(x){const w=C.Error(`${x}`);setTimeout(()=>{w.Close()},2e3)}finally{k.Close(),c.value=!1}});return(k,x)=>(r(),l("form",{class:"form-container",onSubmit:mt(h,["prevent"])},[t("div",rB,[t("div",sB,[t("span",null,n(e(d)("\u542F\u7528Wi-Fi")),1)]),t("div",dB,[t("div",lB,[t("label",null,[T(t("input",{type:"radio",value:!1,"onUpdate:modelValue":x[0]||(x[0]=w=>s.value.disabled=w),disabled:e(c)},null,8,uB),[[Et,s.value.disabled]]),it(" "+n(e(d)("\u5F00\u542F")),1)]),t("label",null,[T(t("input",{type:"radio",value:!0,"onUpdate:modelValue":x[1]||(x[1]=w=>s.value.disabled=w),disabled:e(c)},null,8,cB),[[Et,s.value.disabled]]),it(" "+n(e(d)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:g},[t("div",{class:pt(["switch-core",{"is-checked":!s.value.disabled,"is-disabled":e(c)}])},fB,2)])])]),s.value.isGuest?D("",!0):(r(),l("div",mB,[t("div",vB,[t("span",null,n(e(d)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",gB,[T(t("select",{"onUpdate:modelValue":x[2]||(x[2]=w=>s.value.txpower=w),disabled:e(c),onChange:p},[t("option",hB,n(e(d)("\u6700\u5927")),1),t("option",_B,n(e(d)("\u9AD8")),1),t("option",xB,n(e(d)("\u4E2D")),1),t("option",kB,n(e(d)("\u4F4E")),1)],40,bB),[[dt,s.value.txpower]]),e(c)?D("",!0):(r(),l("div",wB))])])),t("div",yB,[t("div",FB,[t("span",null,n(e(d)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",EB,[T(t("input",{"onUpdate:modelValue":x[3]||(x[3]=w=>s.value.ssid=w),disabled:e(c),placeholder:e(d)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,CB),[[ot,s.value.ssid]])])]),t("div",$B,[t("div",DB,[t("span",null,n(e(d)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",BB,[T(t("select",{"onUpdate:modelValue":x[4]||(x[4]=w=>s.value.encryption=w),disabled:e(c)},[(r(!0),l(G,null,et(s.value.encryptSelects,w=>(r(),l("option",{value:w},n(w),9,AB))),256))],8,YB),[[dt,s.value.encryption]]),e(c)?D("",!0):(r(),l("div",SB))])]),t("div",zB,[t("div",PB,[t("span",null,n(e(d)("Wi-Fi \u5BC6\u7801")),1)]),t("div",TB,[T(t("input",{"onUpdate:modelValue":x[5]||(x[5]=w=>s.value.key=w),class:"password_input",type:_.value?"password":"",disabled:e(c),placeholder:e(d)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,IB),[[to,s.value.key]]),e(c)?D("",!0):(r(),l("div",{key:0,onClick:x[6]||(x[6]=w=>_.value=!_.value)},[_.value?(r(),l("svg",LB,NB)):(r(),l("svg",OB,GB))]))])]),t("div",jB,[t("div",qB,[t("span",null,n(e(d)("SSID \u53EF\u89C1\u6027")),1)]),t("div",UB,[T(t("select",{"onUpdate:modelValue":x[7]||(x[7]=w=>s.value.hidden=w),disabled:e(c)},[t("option",WB,n(e(d)("\u663E\u793A")),1),t("option",HB,n(e(d)("\u9690\u85CF")),1)],8,RB),[[dt,s.value.hidden]]),e(c)?D("",!0):(r(),l("div",ZB))])]),s.value.isGuest?D("",!0):(r(),l("div",JB,[t("div",KB,[t("span",null,n(e(d)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",QB,[T(t("select",{"onUpdate:modelValue":x[8]||(x[8]=w=>s.value.hwmode=w),disabled:e(c)},[(r(!0),l(G,null,et(s.value.hwmodeSelects,w=>(r(),l("option",{value:w},n(w),9,tY))),256))],8,XB),[[dt,s.value.hwmode]]),e(c)?D("",!0):(r(),l("div",eY))])])),s.value.isGuest?D("",!0):(r(),l("div",aY,[t("div",oY,[t("span",null,n(e(d)("\u9891\u5BBD")),1)]),t("div",nY,[T(t("select",{"onUpdate:modelValue":x[9]||(x[9]=w=>s.value.htmode=w),disabled:e(c)},[rY,sY,s.value.band==="2g"?(r(),l("option",dY," 20/40 MHz ")):D("",!0),s.value.band==="5g"?(r(),l("option",lY," 80 MHz ")):D("",!0),s.value.band==="5g"?(r(),l("option",uY," 160 MHz ")):D("",!0)],8,iY),[[dt,s.value.htmode]]),e(c)?D("",!0):(r(),l("div",cY))])])),s.value.isGuest?D("",!0):(r(),l("div",pY,[t("div",fY,[t("span",null,n(e(d)("\u4FE1\u9053")),1)]),t("div",mY,[s.value.band==="2g"?T((r(),l("select",{key:0,"onUpdate:modelValue":x[10]||(x[10]=w=>s.value.channel=w),disabled:e(c)},[t("option",gY,n(e(d)("\u81EA\u52A8")),1),(r(),l(G,null,et(13,w=>t("option",{value:w},n(w),9,bY)),64))],8,vY)),[[dt,s.value.channel,void 0,{number:!0}]]):D("",!0),s.value.band==="5g"?T((r(),l("select",{key:1,"onUpdate:modelValue":x[11]||(x[11]=w=>s.value.channel=w),disabled:e(c)},[t("option",_Y,n(e(d)("\u81EA\u52A8")),1),xY],8,hY)),[[dt,s.value.channel,void 0,{number:!0}]]):D("",!0),e(c)?D("",!0):(r(),l("div",kY))])])),s.value.isGuest?D("",!0):(r(),l("div",wY,[t("div",yY,[t("span",null,n(e(d)("\u7F51\u7EDC")),1)]),t("div",FY,[T(t("input",{type:"text",placeholder:e(d)("\u8BF7\u914D\u7F6E\u7F51\u7EDC\u540D\u79F0"),required:"","onUpdate:modelValue":x[12]||(x[12]=w=>s.value.network=w),disabled:e(c)},null,8,EY),[[ot,s.value.network]])])])),t("div",CY,[t("button",{class:"btn primary-btn",disabled:e(c),onClick:h},n(e(d)("\u4FDD\u5B58\u914D\u7F6E")),9,$Y)])],40,iB))}});var BY=M(DY,[["__scopeId","data-v-1f11eeec"]]);const Ne=o=>(rt("data-v-40cb5302"),o=o(),st(),o),YY={id:"page",class:"page-container"},AY={class:"mobile-tags-container"},SY={class:"tags-wrapper"},zY={class:"tags-scroll"},PY=["onClick"],TY={class:"more-btn-wrapper"},IY=Ne(()=>t("div",{class:"fade-overlay"},null,-1)),LY=Ne(()=>t("div",{class:"line"},null,-1)),MY=Ne(()=>t("div",{class:"line"},null,-1)),NY=Ne(()=>t("div",{class:"line"},null,-1)),OY=[LY,MY,NY],VY={class:"page-flex"},GY={class:"page-sidebar"},jY=["onClick"],qY={class:"page-main"},UY={class:"popup-content"},RY={class:"popup-tags"},WY=["onClick"],HY={class:"popup-footer"},ZY=U({setup(o){var w;const{$gettext:i}=H(),a=E(!1);eo("disabled",a);const d=E([]),u=Ye(),s=ao(),c=E(String((w=u==null?void 0:u.query)==null?void 0:w.tab)),_=E(!1),g=v=>{var b;return(b=v.band)==null?void 0:b.toUpperCase()},p=v=>v.isGuest?v.band+"_Guest":v.ssid,f=v=>{a.value||(c.value=p(v),_.value=!1,c.value!==u.query.tab&&s.push({query:{tab:c.value}}))},m=E(),h=v=>{a.value||(m.value=p(v))},k=()=>{_.value=!1,m.value!==u.query.tab&&s.push({query:{tab:m.value}})};Nt(()=>_.value,v=>{v?m.value=c.value:c.value=m.value});const x=()=>L(this,null,function*(){try{const{data:v}=yield O.Quickwifi.List.GET(),{error:b,result:y}=v;if(b)throw b;y!=null&&y.ifaces&&(d.value=y.ifaces.map(Y=>vt(lt({},Y),{hidden:Y.hidden||!1,disabled:Y.disabled||!1,isGuest:Y.isGuest||!1,channel:Y.channel||0,txpower:Y.txpower||0,ifaceIndex:Y.ifaceIndex||0})));let F=!1;for(let Y=0;Y0&&f(d.value[0])}catch(v){console.log(v)}});return x(),(v,b)=>(r(),l("div",YY,[t("div",AY,[t("div",SY,[t("div",zY,[(r(!0),l(G,null,et(d.value,y=>(r(),l("div",{key:p(y),class:pt(c.value===p(y)?"tag-item active":"tag-item"),onClick:mt(F=>f(y),["stop"])},n(g(y))+" "+n(y.isGuest?` ${e(i)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+n(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,PY))),128))]),t("div",TY,[IY,t("div",{class:"more-btn",onClick:b[0]||(b[0]=y=>_.value=!0)},OY)])])]),t("div",VY,[t("div",GY,[(r(!0),l(G,null,et(d.value,y=>(r(),l("div",{key:p(y),class:pt(c.value===p(y)?"item activeItem":"item"),onClick:mt(F=>f(y),["stop"])},n(g(y))+" "+n(y.isGuest?` ${e(i)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+n(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,jY))),128))]),t("div",qY,[(r(!0),l(G,null,et(d.value,y=>(r(),l(G,{key:p(y)},[c.value===p(y)?(r(),K(BY,{key:0,data:y,onGetData:x},null,8,["data"])):D("",!0)],64))),128))])]),_.value?(r(),l("div",{key:0,class:"popup-overlay",onClick:b[2]||(b[2]=mt(y=>_.value=!1,["self"]))},[t("div",UY,[t("div",RY,[(r(!0),l(G,null,et(d.value,y=>(r(),l("div",{key:p(y),class:pt(m.value===p(y)?"popup-tag-item active":"popup-tag-item"),onClick:mt(F=>h(y),["stop"])},n(g(y))+" "+n(y.isGuest?` ${e(i)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+n(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,WY))),128))]),t("div",HY,[t("button",{class:"cancel-btn",onClick:b[1]||(b[1]=y=>_.value=!1)},n(e(i)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:k},n(e(i)("\u786E\u5B9A")),1)])])])):D("",!0)]))}});var JY=M(ZY,[["__scopeId","data-v-40cb5302"]]);const KY=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",Ma=oo({history:no(KY()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:ov},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:rv,children:[{path:"",component:Ov},{path:"pppoe",component:lg},{path:"dhcp",component:Hg},{path:"gateway",component:Mb}]},{path:"/quickwifi",component:JY},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:sx},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:vx,children:[{path:"",component:gy},{path:"task",component:Ay},{path:"log",component:Ty}]},{path:"/interfaceconfig",component:IF},{path:"/devicemanagement",component:nB}]});Ma.beforeEach((o,i)=>(o.meta.title,!0));const yt=bt(Bo);yt.component("svg-menu",Io);yt.component("svg-system",Go);yt.component("svg-download",Ho);yt.component("svg-store",an);yt.component("svg-info",ln);yt.component("svg-disk",zn);yt.component("svg-nav",Nn);yt.component("progress-item",wa);yt.component("svg-view-show",li);yt.component("svg-view-hidden",vi);yt.component("article-item",wi);yt.component("switch-box",ya);yt.component("editable-select",Jt);yt.use(Fa);yt.use(Ma);yt.use(io());so(yt).finally(()=>yt.mount("#app"))});export default QY(); +`+s.value,disabled:""},null,8,Ik)]),t("div",Lk,[t("div",{class:"close",onClick:f,disabled:u.value},n(e(a)("\u5173\u95ED")),9,Mk),u.value?D("",!0):(r(),l("div",{key:0,class:"next",onClick:m,disabled:u.value},n(e(a)("\u8FD0\u884C")),9,Nk))])])]),_:1}))}});var Vk=M(Ok,[["__scopeId","data-v-abf07ee0"]]);const Gk={class:"actioner-container"},jk={class:"actioner-container_header"},qk={class:"tabs"},Uk={class:"actioner-container_body"},Rk={key:0,class:"table"},Wk={class:"tr"},Hk={class:"td left"},Zk={class:"td left"},Jk={class:"tr"},Kk={class:"td left"},Qk={class:"td left"},Xk={class:"tr"},tw={class:"td left"},ew={class:"td left"},aw=["value"],ow=["value"],nw=["value"],iw={class:"actioner-container_footer"},rw=["disabled"],sw=U({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=E("info"),c=h=>{switch(s.value=h,h){case"info":break;case"attribute":f();break;case"log":p();break;case"extend":m();break}},_=()=>{u.value=!0,i.close()},v=vt({log:"",attribute:"",extend:""}),p=()=>L(this,null,function*(){try{const h=yield O.Smart.Test.Result.POST({type:"selftest",devicePath:i.disk.path||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(v.log=k.result),x&&(v.log=x)}}catch(h){v.log=h}}),f=()=>L(this,null,function*(){try{const h=yield O.Smart.Attribute.Result.POST({devicePath:i.disk.path||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(v.attribute=k.result),x&&(v.attribute=x)}}catch(h){v.attribute=h}}),m=()=>L(this,null,function*(){try{const h=yield O.Smart.Extend.Result.POST({devicePath:i.disk.path||""});if(h.data){const{result:k,error:x}=h.data;k&&k.result&&(v.extend=k.result),x&&(v.extend=x)}}catch(h){v.extend=h}});return(h,k)=>(r(),K(Le,null,{default:R(()=>[t("div",Gk,[t("div",jk,[t("ul",qk,[t("li",{class:pt({"active cbi-tab":s.value=="info"}),onClick:k[0]||(k[0]=x=>c("info"))},[t("a",null,n(e(a)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:pt({"active cbi-tab":s.value=="attribute"}),onClick:k[1]||(k[1]=x=>c("attribute"))},[t("a",null,n(e(a)("\u5C5E\u6027")),1)],2),t("li",{class:pt({"active cbi-tab":s.value=="log"}),onClick:k[2]||(k[2]=x=>c("log"))},[t("a",null,n(e(a)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:pt({"active cbi-tab":s.value=="extend"}),onClick:k[3]||(k[3]=x=>c("extend"))},[t("a",null,n(e(a)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",Uk,[s.value=="info"?(r(),l("table",Rk,[t("tr",Wk,[t("td",Hk,n(e(a)("\u8BBE\u5907")),1),t("td",Zk,n(o.disk.path),1)]),t("tr",Jk,[t("td",Kk,n(e(a)("\u578B\u53F7")),1),t("td",Qk,n(o.disk.model),1)]),t("tr",Xk,[t("td",tw,n(e(a)("\u5E8F\u53F7")),1),t("td",ew,n(o.disk.serial),1)])])):s.value=="attribute"?(r(),l("textarea",{key:1,disabled:"",value:e(v).attribute},null,8,aw)):s.value=="log"?(r(),l("textarea",{key:2,disabled:"",value:e(v).log},null,8,ow)):s.value=="extend"?(r(),l("textarea",{key:3,disabled:"",value:e(v).extend},null,8,nw)):D("",!0)]),t("div",iw,[t("div",{class:"close",onClick:_,disabled:u.value},n(e(a)("\u5173\u95ED")),9,rw)])])]),_:1}))}});var dw=M(sw,[["__scopeId","data-v-4a646cde"]]);const lw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(qx,bt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},uw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(Sk,bt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},cw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(Vk,bt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},pw=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=z(dw,bt(lt({},o),{close:()=>{d()}})),d=()=>{i.remove()};Ae(a,i)},fw={class:"cbi-section"},mw={class:"cbi-value"},bw={class:"cbi-value-title"},vw={class:"cbi-value-field"},gw={class:"cbi-checkbox"},hw=["value"],_w={class:"cbi-value"},xw={class:"cbi-value-title"},kw={class:"cbi-value-field"},ww={class:"cbi-checkbox"},yw={value:"never"},Fw={value:"sleep"},Ew={value:"standby"},Cw={value:"idle"},$w={class:"cbi-value-description"},Dw=t("br",null,null,-1),Bw=t("br",null,null,-1),Yw=t("br",null,null,-1),Aw=t("br",null,null,-1),Sw={class:"cbi-value"},zw={class:"cbi-value-title"},Pw={class:"cbi-value-field"},Tw={class:"cbi-checkbox"},Iw={value:0},Lw=["value"],Mw={class:"cbi-value-description"},Nw={class:"cbi-value"},Ow={class:"cbi-value-title"},Vw={class:"cbi-value-field"},Gw={class:"cbi-checkbox"},jw={value:0},qw=["value"],Uw={class:"cbi-value-description"},Rw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Ww={class:"table cbi-section-table"},Hw={class:"tr cbi-section-table-titles anonymous"},Zw={class:"th cbi-section-table-cell","data-widget":"value"},Jw={class:"th cbi-section-table-cell","data-widget":"value"},Kw={class:"th cbi-section-table-cell","data-widget":"value"},Qw={class:"th cbi-section-table-cell","data-widget":"value"},Xw={class:"th cbi-section-table-cell","data-widget":"value"},ty={class:"th cbi-section-table-cell","data-widget":"value"},ey={class:"th cbi-section-table-cell","data-widget":"value"},ay={class:"th cbi-section-table-cell","data-widget":"value"},oy={class:"tr cbi-section-table-row"},ny={class:"td cbi-value-field"},iy={class:"td cbi-value-field"},ry={class:"td cbi-value-field"},sy={class:"td cbi-value-field"},dy={class:"td cbi-value-field"},ly={class:"td cbi-value-field"},uy={class:"td cbi-value-field"},cy={class:"td cbi-value-field"},py=["title","onClick"],fy=["title","onClick"],my={class:"cbi-page-actions control-group"},by=["value"],vy=U({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=vt(i.config),s=()=>{u.global.tmpDiff=i.config.global.tmpDiff||0,u.global.tmpMax=i.config.global.tmpMax||0,u.global.enable=i.config.global.enable||!1,u.global.powermode=i.config.global.powermode||"never",u.devices=i.config.devices||[],u.tasks=i.config.tasks||[]},c=E([]),_=()=>L(this,null,function*(){try{const h=yield O.Smart.List.GET();if(h.data){const{result:k,error:x}=h.data;k&&k.disks&&(c.value=k.disks||[])}}catch(h){}}),v=Pt.easyInterval(_,5e3);qe(()=>{v()});const p=()=>L(this,null,function*(){yield i.saveData({global:u.global,devices:i.config.devices,tasks:i.config.tasks}),s()}),f=h=>{pw({disk:h})},m=(h,k)=>L(this,null,function*(){let x=null,w=-1;if(u.devices){for(let b=0;bL(this,null,function*(){b.tmpDiff==-1&&(b.tmpDiff=u.global.tmpDiff),b.tmpMax==-1&&(b.tmpMax=u.global.tmpMax),b.devicePath==""&&(b.devicePath=h.path);let g=[...u.devices];w>=0&&(g[w]=b);const y=new Map;g.forEach(F=>{F.devicePath!=null&&y.set(F.devicePath,null)});for(let F=0;F(r(),l(G,null,[t("fieldset",fw,[t("div",mw,[t("label",bw,n(e(a)("\u542F\u7528")),1),t("div",vw,[t("div",gw,[T(t("input",{type:"checkbox","onUpdate:modelValue":k[0]||(k[0]=x=>e(u).global.enable=x),value:!e(u).global.enable},null,8,hw),[[Rt,e(u).global.enable]])])])]),t("div",_w,[t("label",xw,n(e(a)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",kw,[t("div",ww,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[1]||(k[1]=x=>e(u).global.powermode=x)},[t("option",yw,n(e(a)("\u603B\u662F")),1),t("option",Fw,n(e(a)("\u7761\u7720")),1),t("option",Ew,n(e(a)("\u5F85\u673A")),1),t("option",Cw,n(e(a)("\u95F2\u7F6E")),1)],512),[[dt,e(u).global.powermode,void 0,{trim:!0}]])]),t("div",$w,[t("span",null,n(e(a)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),Dw,t("span",null,"* "+n(e(a)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),Bw,t("span",null,"* "+n(e(a)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),Yw,t("span",null,"* "+n(e(a)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),Aw,t("span",null,"* "+n(e(a)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",Sw,[t("label",zw,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",Pw,[t("div",Tw,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[2]||(k[2]=x=>e(u).global.tmpDiff=x)},[t("option",Iw,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(15,x=>t("option",{value:x},n(x)+"\xB0C",9,Lw)),64))],512),[[dt,e(u).global.tmpDiff,void 0,{number:!0}]])]),t("div",Mw,n(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",Nw,[t("label",Ow,n(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",Vw,[t("div",Gw,[T(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[3]||(k[3]=x=>e(u).global.tmpMax=x)},[t("option",jw,n(e(a)("\u7981\u7528")),1),(r(),l(G,null,et(20,x=>t("option",{value:x*5},n(x*5)+"\xB0C",9,qw)),64))],512),[[dt,e(u).global.tmpMax,void 0,{number:!0}]])]),t("div",Uw,n(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",Rw,[t("table",Ww,[t("thead",null,[t("tr",Hw,[t("th",Zw,n(e(a)("\u8BBE\u5907")),1),t("th",Jw,n(e(a)("\u578B\u53F7")),1),t("th",Kw,n(e(a)("\u5E8F\u53F7")),1),t("th",Qw,n(e(a)("\u5BB9\u91CF")),1),t("th",Xw,n(e(a)("\u6E29\u5EA6")),1),t("th",ty,n(e(a)("\u72B6\u6001")),1),t("th",ey,n(e(a)("\u5065\u5EB7")),1),t("th",ay,n(e(a)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(r(!0),l(G,null,et(c.value,(x,w)=>(r(),l("tr",oy,[t("td",ny,[t("b",null,n(x.path),1)]),t("td",iy,[t("b",null,n(x.model),1)]),t("td",ry,[t("b",null,n(x.serial),1)]),t("td",sy,[t("b",null,n(x.sizeStr),1)]),t("td",dy,[t("b",null,n(x.temp),1)]),t("td",ly,[t("b",null,n(x.status),1)]),t("td",uy,[t("b",null,n(x.health),1)]),t("td",cy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:b=>m(x)},n(e(a)("\u7F16\u8F91")),9,py),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:b=>f(x)},n(e(a)("\u8BE6\u60C5")),9,fy)])]))),256))])])]),t("span",my,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:p},null,8,by)])],64))}}),gy={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},hy={class:"table cbi-section-table"},_y={class:"tr cbi-section-table-titles anonymous"},xy={class:"th cbi-section-table-cell","data-widget":"value"},ky={class:"th cbi-section-table-cell","data-widget":"value"},wy={class:"th cbi-section-table-cell","data-widget":"value"},yy={class:"th cbi-section-table-cell","data-widget":"value"},Fy={class:"tr cbi-section-table-row"},Ey={class:"td cbi-value-field"},Cy={class:"td cbi-value-field"},$y={class:"td cbi-value-field"},Dy={class:"td cbi-value-field"},By=["title","onClick"],Yy=["title","onClick"],Ay=U({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=vt(i.config),s=p=>{switch(p){case"short":return a("\u77ED\u6682\u81EA\u68C0");case"long":return a("\u957F\u65F6\u81EA\u68C0");case"conveyance":return a("\u4F20\u8F93\u65F6\u81EA\u68C0");case"offline":return a("\u79BB\u7EBF\u65F6\u81EA\u68C0");default:return a("\u672A\u77E5")}},c=()=>{uw({config:i.config,disks:[],next:p=>L(this,null,function*(){yield i.saveData({tasks:[...u.tasks,p],global:i.config.global,devices:i.config.devices}),u.tasks=i.config.tasks||[]})})},_=p=>L(this,null,function*(){const f=[...u.tasks];f.splice(p,1),yield i.saveData({tasks:f,global:i.config.global,devices:i.config.devices}),u.tasks=i.config.tasks||[]}),v=p=>{cw({task:p})};return(p,f)=>(r(),l(G,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:f[0]||(f[0]=m=>c())},n(e(a)("\u65B0\u5EFA")),1),t("div",gy,[t("table",hy,[t("thead",null,[t("tr",_y,[t("th",xy,n(e(a)("\u8BBE\u5907")),1),t("th",ky,n(e(a)("\u7C7B\u578B")),1),t("th",wy,n(e(a)("\u8C03\u5EA6")),1),t("th",yy,n(e(a)("\u529F\u80FD")),1)])]),t("tbody",null,[(r(!0),l(G,null,et(e(u).tasks,(m,h)=>(r(),l("tr",Fy,[t("td",Ey,[t("b",null,n(m.devicePath),1)]),t("td",Cy,[t("b",null,n(s(m.type)),1)]),t("td",$y,[t("b",null,n(m.month)+"/"+n(m.dayPerMonth)+"/"+n(m.hour),1)]),t("td",Dy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8C03\u8BD5"),onClick:k=>v(m)},n(e(a)("\u9884\u89C8")),9,By),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5220\u9664"),onClick:k=>_(h)},n(e(a)("\u5220\u9664")),9,Yy)])]))),256))])])])],64))}}),Sy={class:"cbi-section"},zy=["value"],Py=U({setup(o){return L(this,null,function*(){let i,a;const d=E(""),u=()=>L(this,null,function*(){try{const s=yield O.Smart.Log.GET();if(s.data){const{result:c,error:_}=s.data;c&&c.result&&(d.value=c.result),_&&(d.value=_)}}catch(s){d.value=s}});return[i,a]=Ja(()=>u()),yield i,a(),(s,c)=>(r(),l("fieldset",Sy,[t("textarea",{value:d.value,disabled:""},null,8,zy)]))})}});var Ty=M(Py,[["__scopeId","data-v-997c3dee"]]);const Iy={},Ly={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},My=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),Ny=[My];function Oy(o,i){return r(),l("svg",Ly,Ny)}var sa=M(Iy,[["render",Oy]]);const Vy=["onSubmit"],Gy={class:"actioner-dns_header"},jy={key:0},qy={key:1},Uy={class:"actioner-dns_body"},Ry={class:"label-item"},Wy={class:"label-item_key"},Hy={class:"label-item_value"},Zy={class:"label-item"},Jy={class:"label-item_key"},Ky={class:"label-item_value"},Qy={value:"dhcp"},Xy={key:0,value:"pppoe"},tF={value:"static"},eF={class:"actioner-dns_footer"},aF=["disabled"],oF=U({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const i=o,{$gettext:a,$ngettext:d}=H(),u=E(!1),s=E(i.inface),c=()=>L(this,null,function*(){C.Loading(a("\u914D\u7F6E\u4E2D...")).Close(),i.next(s.value),_()}),_=()=>{i.Close&&i.Close()};return(v,p)=>(r(),K(_t,{Close:o.Close,type:1},{default:R(()=>[t("form",{class:"actioner-dns",onSubmit:mt(c,["prevent"])},[t("div",Gy,[o.name=="wan"?(r(),l("span",jy,n(o.e=="edit"?e(a)("\u7F16\u8F91WAN"):e(a)("\u6DFB\u52A0WAN")),1)):(r(),l("span",qy,n(o.e=="edit"?e(a)("\u7F16\u8F91LAN"):e(a)("\u6DFB\u52A0LAN")),1))]),t("div",Uy,[t("div",Ry,[t("div",Wy,[t("span",null,n(e(a)("\u540D\u79F0")),1)]),t("div",Hy,[t("span",null,n(s.value.name.toLocaleUpperCase()),1)])]),t("div",Zy,[t("div",Jy,[t("span",null,n(e(a)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",Ky,[T(t("select",{"onUpdate:modelValue":p[0]||(p[0]=f=>s.value.proto=f)},[t("option",Qy,n(e(a)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(r(),l("option",Xy,"PPPoE")):D("",!0),t("option",tF,n(e(a)("\u9759\u6001\u5730\u5740")),1)],512),[[dt,s.value.proto]])])])]),t("div",eF,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},n(e(a)("\u4FDD\u5B58")),9,aF),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},n(e(a)("\u53D6\u6D88")),1)])],40,Vy)]),_:1},8,["Close"]))}});var nF=M(oF,[["__scopeId","data-v-6f6071af"]]);const da=o=>{const i=document.createElement("div");document.body.appendChild(i);const a=gt(nF,bt(lt({},o),{Close:()=>{d()}}));a.mount(i);const d=()=>{a.unmount(),i.remove()}},qt=o=>(rt("data-v-4ec945e0"),o=o(),st(),o),iF={id:"page"},rF={name:"content"},sF={class:"container"},dF={class:"table-wrapper"},lF={class:"table-header"},uF={class:"interface-device-flex"},cF=qt(()=>t("div",{class:"header-cell spacer-col"},null,-1)),pF=qt(()=>t("div",{class:"header-cell"},null,-1)),fF=qt(()=>t("div",{class:"header-cell action-col"},null,-1)),mF={class:"table-body"},bF=["name","value","onUpdate:modelValue","onInput"],vF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),gF={class:"table-cell name-col"},hF={class:"table-cell action-col"},_F=["title","onClick"],xF=["onClick"],kF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),wF=qt(()=>t("div",{class:"table-cell name-col"},null,-1)),yF={class:"table-cell action-col"},FF=["name","value","onUpdate:modelValue","onInput"],EF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),CF={class:"table-cell name-col"},$F={class:"table-cell action-col"},DF=["title","onClick"],BF=["onClick"],YF=qt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),AF=qt(()=>t("div",{class:"table-cell name-col"},null,-1)),SF={class:"table-cell action-col"},zF={class:"cbi-page-actions control-group"},PF=["value","disabled"],TF=U({setup(o){const{$gettext:i,$ngettext:a}=H(),d=vt({devices:[],interfaces:[]}),u=E(!1),s=vt({lan:[],wan:[]});(()=>{O.Network.GetInterfaceConfig.GET().then(k=>{if(k.data){const{result:x}=k.data;if(x){d.devices=x.devices||[],d.interfaces=x.interfaces||[];for(let w=0;w{k=="wan"?s.wan.splice(x,1):k=="lan"&&s.lan.splice(x,1)},v=(k,x)=>{if(x==null){let w=k=="wan"?s.wan.length:s.lan.length;w==6&&k=="wan"&&w++,da({e:"add",name:k,inface:{name:k+`${w}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:k},next:b=>{k=="wan"?s.wan.push(b):s.lan.push(b),C.Message(i("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else da({e:"edit",name:k,inface:k=="wan"?s.wan[x]:s.lan[x],next:w=>{k=="wan"?s.wan[x]=w:s.lan[x]=w}})},p=(k,x)=>k?k.indexOf(x):-1,f=(k,x)=>{const b=k.target.value;for(let y=0;y{const b=k.target.value;for(let g=0;gL(this,null,function*(){u.value=!0;const k=[];for(let w=0;w(r(),l("div",iF,[t("h2",rF,n(e(i)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",sF,[t("div",dF,[t("div",lF,[(r(!0),l(G,null,et(e(d).devices,w=>(r(),l("div",{class:"header-cell device-col",key:w.name},[t("div",uF,[z(Da,{item:w},null,8,["item"])])]))),128)),cF,pF,fF]),t("div",mF,[(r(!0),l(G,null,et(e(s).lan,(w,b)=>(r(),l("div",{key:b,class:"table-row"},[(r(!0),l(G,null,et(e(d).devices,g=>(r(),l("div",{class:"table-cell device-col",key:g.name},[T(t("input",{type:"checkbox",name:g.name,value:g.name,"onUpdate:modelValue":y=>w.deviceNames=y,onInput:y=>f(y,b)},null,40,bF),[[Rt,w.deviceNames]])]))),128)),vF,t("div",gF,[t("b",null,n(w.name),1)]),t("div",hF,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u7F16\u8F91"),onClick:g=>v("lan",b)},n(e(i)("\u7F16\u8F91")),9,_F),b!==0?(r(),l("button",{key:0,class:"cbi-button cbi-button-remove",onClick:g=>_("lan",b)},n(e(i)("\u5220\u9664")),9,xF)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:x[0]||(x[0]=w=>v("lan"))},[(r(!0),l(G,null,et(e(d).devices,w=>(r(),l("div",{class:"table-cell device-col",key:w.name}))),128)),kF,wF,t("div",yF,[z(sa,{class:"icon"})])]),(r(!0),l(G,null,et(e(s).wan,(w,b)=>(r(),l("div",{key:b,class:"table-row"},[(r(!0),l(G,null,et(e(d).devices,g=>(r(),l("div",{class:"table-cell device-col",key:g.name},[T(t("input",{type:"checkbox",name:g.name,value:g.name,"onUpdate:modelValue":y=>w.deviceNames=y,onInput:y=>m(y,b)},null,40,FF),[[Rt,w.deviceNames]])]))),128)),EF,t("div",CF,[t("b",null,n(w.name),1)]),t("div",$F,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(i)("\u7F16\u8F91"),onClick:g=>v("wan",b)},n(e(i)("\u7F16\u8F91")),9,DF),b!==0?(r(),l("button",{key:0,class:"cbi-button cbi-button-remove",onClick:g=>_("wan",b)},n(e(i)("\u5220\u9664")),9,BF)):D("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:x[1]||(x[1]=w=>v("wan"))},[(r(!0),l(G,null,et(e(d).devices,w=>(r(),l("div",{class:"table-cell device-col",key:w.name}))),128)),YF,AF,t("div",SF,[z(sa,{class:"icon"})])])])])]),t("div",zF,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(i)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:h,disabled:u.value},null,8,PF)])]))}});var IF=M(TF,[["__scopeId","data-v-4ec945e0"]]);const LF={name:"CustomTable",props:{data:{type:Array,default:()=>[]},columns:{type:Array,required:!0,validator:o=>o.every(i=>i.label&&i.prop)},showSelection:{type:Boolean,default:!1},rowKey:{type:String,default:"id"},showPagination:{type:Boolean,default:!0},pageSize:{type:Number,default:10},currentPage:{type:Number,default:1},emptyText:{type:String,default:"\u6682\u65E0\u6570\u636E"},maxPagerCount:{type:Number,default:5},theadBgColor:{type:String,default:"#F8F8F8"}},emits:["selection-change","update:currentPage","page-change"],setup(o,{emit:i}){const{$gettext:a}=H(),d=E([]),u=E(!1),s=E(!1);E(null);const c=tt(()=>o.data.length),_=tt(()=>Math.ceil(c.value/o.pageSize)),v=tt(()=>{if(!o.showPagination)return o.data;const Y=(o.currentPage-1)*o.pageSize,A=Y+o.pageSize;return o.data.slice(Y,A)}),p=tt(()=>(o.currentPage-1)*o.pageSize+1),f=tt(()=>{const Y=o.currentPage*o.pageSize;return Y>c.value?c.value:Y}),m=tt(()=>({minWidth:`${o.columns.reduce((A,B)=>A+(parseInt(B.width)||50),o.showSelection?50:0)}px`})),h=tt(()=>{const Y=[],A=Math.floor(o.maxPagerCount/2);let B=o.currentPage-A,$=o.currentPage+A;B<1&&(B=1,$=Math.min(o.maxPagerCount,_.value)),$>_.value&&($=_.value,B=Math.max(1,$-o.maxPagerCount+1));for(let S=B;S<=$;S++)Y.push(S);return Y}),k=Y=>({width:Y.width?`${Math.max(50,parseInt(Y.width))}px`:"auto",minWidth:"50px",textAlign:Y.align||"center"}),x=()=>{u.value?d.value=[...v.value.map(Y=>Y[o.rowKey])]:d.value=[],g()},w=()=>{u.value=d.value.length===v.value.length&&v.value.length>0,g()},b=(Y,A)=>{A?d.value.includes(Y)||d.value.push(Y):d.value=d.value.filter(B=>B!==Y),w()},g=()=>{const Y=o.data.filter(A=>d.value.includes(A[o.rowKey]));i("selection-change",Y)},y=Y=>{Y<1||Y>_.value||(i("update:currentPage",Y),i("page-change",Y))},F=()=>{s.value=window.innerWidth<=768};return Nt(()=>o.data,()=>{d.value=[],u.value=!1},{deep:!0}),At(()=>{F(),window.addEventListener("resize",F)}),jt(()=>{window.removeEventListener("resize",F)}),{selectedRows:d,allSelected:u,isMobile:s,total:c,totalPages:_,paginatedData:v,startItem:p,endItem:f,visiblePages:h,tableStyle:m,gettext:a,getColumnStyle:k,toggleAllSelection:x,handleSelectionChange:w,changePage:y,updateSelection:b}}},MF={class:"custom-table-container"},NF={key:0,class:"selection-header"},OF={key:0,class:"selection-cell"},VF=["checked","onChange"],GF={key:0,class:"empty-row"},jF=["colspan"],qF={key:0,class:"pagination-wrapper"},UF={class:"pagination-info"},RF={class:"pagination-controls"},WF=["disabled"],HF=["onClick"],ZF=["disabled"];function JF(o,i,a,d,u,s){return r(),l("div",MF,[t("div",{class:"custom-table-wrapper",style:Bt({overflowX:d.isMobile?"auto":"hidden"})},[t("table",{class:pt(["custom-table",{"has-selection":a.showSelection}]),style:Bt(d.tableStyle)},[t("thead",{style:Bt({background:a.theadBgColor})},[t("tr",null,[a.showSelection?(r(),l("th",NF,[T(t("input",{type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=c=>d.allSelected=c),onChange:i[1]||(i[1]=(...c)=>d.toggleAllSelection&&d.toggleAllSelection(...c))},null,544),[[Rt,d.allSelected]])])):D("",!0),(r(!0),l(G,null,et(a.columns,(c,_)=>(r(),l("th",{key:_,style:Bt(d.getColumnStyle(c))},n(d.gettext(c.label)),5))),128))])],4),t("tbody",null,[(r(!0),l(G,null,et(d.paginatedData,(c,_)=>(r(),l("tr",{key:_,class:pt({"last-row":_===d.paginatedData.length-1})},[a.showSelection?(r(),l("td",OF,[t("input",{type:"checkbox",checked:d.selectedRows.includes(c[a.rowKey]),onChange:v=>d.updateSelection(c[a.rowKey],v.target.checked)},null,40,VF)])):D("",!0),(r(!0),l(G,null,et(a.columns,(v,p)=>(r(),l("td",{key:p,style:Bt({textAlign:v.align||"center"})},[v.slot?zt(o.$slots,v.slot,{key:0,row:c,index:_},void 0,!0):(r(),l(G,{key:1},[it(n(c[v.prop]),1)],64))],4))),128))],2))),128)),d.paginatedData.length===0?(r(),l("tr",GF,[t("td",{colspan:a.showSelection?a.columns.length+1:a.columns.length},n(a.emptyText),9,jF)])):D("",!0)])],6)],4),a.showPagination?(r(),l("div",qF,[t("div",UF,n(d.gettext("\u663E\u793A"))+" "+n(d.startItem)+" "+n(d.gettext("\u5230"))+" "+n(d.endItem)+" "+n(d.gettext("\u6761"))+"\uFF0C"+n(d.gettext("\u5171"))+" "+n(d.total)+" "+n(d.gettext("\u6761")),1),t("div",RF,[t("button",{disabled:a.currentPage===1,onClick:i[2]||(i[2]=c=>d.changePage(a.currentPage-1))},n(d.gettext("\u4E0A\u4E00\u9875")),9,WF),(r(!0),l(G,null,et(d.visiblePages,c=>(r(),l("button",{key:c,class:pt({active:c===a.currentPage}),onClick:_=>d.changePage(c)},n(c),11,HF))),128)),t("button",{disabled:a.currentPage===d.totalPages,onClick:i[3]||(i[3]=c=>d.changePage(a.currentPage+1))},n(d.gettext("\u4E0B\u4E00\u9875")),9,ZF)])])):D("",!0)])}var Me=M(LF,[["render",JF],["__scopeId","data-v-2c8ecf89"]]);const Ta=o=>(rt("data-v-d28f7d82"),o=o(),st(),o),KF={style:{display:"flex","align-items":"center"}},QF={class:"search_box"},XF={class:"search_container"},tE={class:"search_input_wrapper"},eE=["onKeyup","placeholder"],aE=Ta(()=>t("path",{d:"M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},null,-1)),oE=[aE],nE=Ta(()=>t("svg",{class:"refresh_icon",viewBox:"0 0 24 24",width:"26",height:"26"},[t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})],-1)),iE=[nE],rE=U({props:{showBatchDelete:{type:Boolean,default:!0},showAdd:{type:Boolean,default:!0}},emits:["refresh","batch-delete","search","handleAdd"],setup(o,{emit:i}){const a=o,{$gettext:d}=H(),u=E(""),s=E(!1),c=E(a.showBatchDelete),_=E(a.showAdd),v=()=>{i("refresh",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},p=()=>{i("search",String(u.value))},f=()=>{i("batch-delete",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},m=()=>{i("handleAdd")};return(h,k)=>(r(),l("div",KF,[_.value?(r(),l("button",{key:0,class:"del-button add-button--danger",style:{},onClick:m},[t("span",null,n(e(d)("\u6DFB\u52A0")),1)])):D("",!0),c.value?(r(),l("button",{key:1,class:"del-button del-button--danger",onClick:f},[t("span",null,n(e(d)("\u6279\u91CF\u5220\u9664")),1)])):D("",!0),t("div",QF,[t("div",XF,[t("div",tE,[T(t("input",{type:"text",onKeyup:Ka(p,["enter"]),"onUpdate:modelValue":k[0]||(k[0]=x=>u.value=x),class:"search_input",placeholder:e(d)("\u8BF7\u8F93\u5165\u540D\u79F0/IP/MAC\u2026")},null,40,eE),[[ot,u.value,void 0,{trim:!0}]]),t("svg",{class:"search_icon",viewBox:"0 0 24 24",width:"24",height:"24",onClick:p},oE)]),t("button",{class:pt(["refresh_button",{rotate:s.value}]),onClick:v},iE,2)])])]))}});var Xe=M(rE,[["__scopeId","data-v-d28f7d82"]]);const sE=o=>(rt("data-v-9ce78472"),o=o(),st(),o),dE=sE(()=>t("span",{class:"switch__button"},null,-1)),lE=[dE],uE=["checked","disabled"],cE=U({props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},activeColor:{default:"#409EFF"},inactiveColor:{default:"#DCDFE6"}},emits:["update:modelValue","change","beforeChange"],setup(o,{emit:i}){const a=o,d=()=>{if(i("beforeChange",!a.modelValue),a.disabled)return;const u=!a.modelValue;i("update:modelValue",u),i("change",u)};return tt(()=>a.modelValue),(u,s)=>(r(),l("div",{class:pt(["switch",{"is-checked":o.modelValue,"is-disabled":o.disabled}]),onClick:d},[t("span",{class:"switch__core",style:Bt({backgroundColor:o.modelValue?o.activeColor:o.inactiveColor,borderColor:o.modelValue?o.activeColor:o.inactiveColor})},lE,4),t("input",{type:"checkbox",class:"switch__input",checked:o.modelValue,disabled:o.disabled},null,8,uE)],2))}});var Gt=M(cE,[["__scopeId","data-v-9ce78472"]]);const pE={class:"flow"},fE={class:"flow-data"},mE={key:0},bE={key:1},vE=U({props:{ipParam:{type:String}},setup(o){const i=o,{$gettext:a}=H();la([ua,ca,pa,fa,ma,ba]);const d=E(i.ipParam),u=E(),s=b=>{var y;const g=(y=u.value)==null?void 0:y[b];return!g||g.startTime==0?"":m(g.startTime*1e3)+"-"+m(g.endTime*1e3)},c=tt(()=>{var g;let b=[];return(g=u.value)==null||g.forEach(y=>{b.push({value:y.uploadSpeed})}),b}),_=tt(()=>{var g;let b=[];return(g=u.value)==null||g.forEach(y=>{b.push({value:y.downloadSpeed})}),b}),v=tt(()=>{var g;let b="";if(u.value){let y=((g=u.value)==null?void 0:g.length)||0;if(y>0){let F=u.value[y-1];b=h(F.uploadSpeed)+"/s"}}return b}),p=tt(()=>{var g;let b="";if(u.value){let y=((g=u.value)==null?void 0:g.length)||0;if(y>0){let F=u.value[y-1];b=h(F.downloadSpeed)+"/s"}}return b}),f=()=>L(this,null,function*(){var b;try{const g=yield O.DeviceMangement.speedsForOneDevice.POST({ip:d.value});if(g.data&&(b=g.data.result)!=null&&b.items){const y=g.data.result.slots||10;if(g.data.result.items.lengthy?u.value=g.data.result.items.slice(y-g.data.result.items.length):u.value=g.data.result.items}}catch(g){console.log(g)}}),m=Pt.dateForm,h=Pt.byteToSize,k=E();let x=null;const w=b=>{const g=Ea();return x=va(b,g?"dark":"light"),x.setOption({animation:!1,backgroundColor:g?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:y=>{if(Array.isArray(y)){let F="";y.length>0&&(F=s(y[0].axisValue));for(let Y=0;Y${y[Y].seriesName}: ${h(y[Y].value)}/s`;return F.toString()}else{const F=y;return`${s(F.axisValue)}
${F.seriesName}: ${h(F.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:a("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:g?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(y,F){return`${h(y)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:_.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:a("\u4E0A\u4F20"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:a("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:a("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:g?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),x};return At(()=>{setTimeout(()=>L(this,null,function*(){if(k.value){yield f();const b=w(k.value),g=k.value;b.resize({width:g.clientWidth,height:g.clientHeight}),window.addEventListener("resize",()=>{b.resize({width:g.clientWidth,height:g.clientHeight})});const y=()=>L(this,null,function*(){if(x!=null){if(!document.hidden){if(yield f(),x==null)return;b.setOption({series:[{name:a("\u4E0B\u8F7D"),data:_.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:c.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(y,5e3)}});setTimeout(y,5e3)}}),900)}),jt(()=>{x!=null&&(x.dispose(),x=null)}),(b,g)=>(r(),l("div",pE,[t("div",{ref_key:"el",ref:k,class:"echart"},null,512),t("div",fE,[e(v)?(r(),l("span",mE,n(e(a)("\u4E0A\u4F20:"))+" "+n(e(v)),1)):D("",!0),e(p)?(r(),l("span",bE,n(e(a)("\u4E0B\u8F7D:"))+" "+n(e(p)),1)):D("",!0)])]))}});var gE=M(vE,[["__scopeId","data-v-529a02b0"]]);const hE=["onClick"],_E={class:"modal-header"},xE={class:"modal-title"},kE={class:"modal-content"},wE={key:0,class:"modal-footer"},he=U({props:{modelValue:{type:Boolean},title:{default:"\u63D0\u793A"},showClose:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1},footerShow:{type:Boolean,default:!0},width:{default:"500px"}},emits:["update:modelValue","confirm","cancel","close"],setup(o,{expose:i,emit:a}){const d=o;Qa(m=>({"1df87c10":e(s)}));const{$gettext:u}=H(),s=tt(()=>typeof d.width=="number"?`${d.width}px`:d.width),c=E(d.modelValue);Nt(()=>d.modelValue,m=>{c.value=m}),Nt(c,m=>{a("update:modelValue",m),m||a("close")}),tt(()=>typeof d.width=="number"?`${d.width}px`:d.width);const _=()=>{c.value=!1},v=()=>{d.closeOnClickOverlay&&f()},p=()=>{a("confirm")},f=()=>{a("cancel"),_()};return i({show:()=>c.value=!0,hide:()=>c.value=!1}),(m,h)=>(r(),K($t,{name:"fade"},{default:R(()=>[c.value?(r(),l("div",{key:0,class:"modal-overlay",onClick:mt(v,["self"])},[z($t,{name:"slide"},{default:R(()=>[t("div",{class:"modal-container",style:Bt({maxWidth:e(s)})},[t("div",_E,[t("h3",xE,n(e(u)(o.title)),1),o.showClose?(r(),l("button",{key:0,class:"modal-close",onClick:f,"aria-label":"Close"}," \xD7 ")):D("",!0)]),t("div",kE,[zt(m.$slots,"default")]),o.footerShow?(r(),l("div",wE,[zt(m.$slots,"footer",{},()=>[t("button",{class:"modal-button cancel",onClick:f},n(e(u)("\u53D6\u6D88")),1),t("button",{class:"modal-button confirm",onClick:p},n(e(u)("\u4FDD\u5B58")),1)])])):D("",!0)],4)]),_:3})],8,hE)):D("",!0)]),_:3}))}}),we=o=>(rt("data-v-2f8a90b2"),o=o(),st(),o),yE={class:"container"},FE={style:{display:"flex","justify-content":"end"}},EE=["onClick"],CE=["onClick"],$E=["onClick"],DE={class:"custom-content"},BE={class:"IP_address"},YE={class:"item_box"},AE={class:"item_left"},SE={key:0,class:"tip"},zE=["onClick"],PE={key:1},TE={class:"item_box"},IE={class:"item_left"},LE={class:"item_box"},ME={class:"item_left"},NE=["placeholder"],OE={class:"item_box"},VE={class:"item_left"},GE=["placeholder"],jE={class:"item_box"},qE={class:"item_left"},UE=["placeholder"],RE={class:"custom-content"},WE=we(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),HE={class:"item_box"},ZE={class:"item_left"},JE=["placeholder"],KE={class:"item_box"},QE=we(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),XE=["placeholder"],tC={class:"item_box"},eC={class:"item_left"},aC={key:0,value:null,disabled:""},oC=["value"],nC={class:"item_box"},iC={class:"item_left"},rC={key:0,class:"item_box"},sC=we(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),dC=["placeholder"],lC={class:"custom-content"},uC={class:"info-content"},cC=we(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),pC={style:{"margin-bottom":"16px",flex:"1"}},fC={class:"item_box"},mC={class:"item_left"},bC={class:"item_box"},vC={class:"item_left"},gC={class:"item_box"},hC=we(()=>t("div",{class:"item_left"}," MAC\uFF1A",-1)),_C={class:"item_box"},xC={class:"item_left"},kC={class:"item_box"},wC={class:"item_left"},yC={class:"item_box"},FC={class:"item_left"},EC=U({emits:["openGloba"],setup(o,{emit:i}){const{$gettext:a}=H(),d=j=>{V.hostname=j.target.value.replace(/[\u4e00-\u9fa5]/g,"")},u=E(null),s=()=>{c(),B(),u.value=setInterval(B,3e3)},c=()=>{u.value&&(clearInterval(u.value),u.value=null)};At(()=>L(this,null,function*(){yield Y(),p.value.length!==0&&s()})),jt(()=>{c()});const _=E({});(()=>L(this,null,function*(){try{const{data:j}=yield O.DeviceMangement.globalConfigs.GET();j.result&&(_.value=j.result||{})}catch(j){}}))();const p=E([]),f=E([]),m=E(!1),h=E(!1),k=E(!1),x=tt(()=>!V.dhcpGateway),w=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u4E0A\u4F20\u901F\u5EA6",prop:"uploadSpeedStr"},{label:"\u4E0B\u8F7D\u901F\u5EA6",prop:"downloadSpeedStr"},{label:"\u6807\u7B7E",prop:"staticAssigned",slot:"staticAssigned"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),b=j=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[j]||j,g=()=>{m.value=!1,i("openGloba")},y=j=>{var J,Q;if(j==!0&&!((Q=(J=_.value)==null?void 0:J.speedLimit)!=null&&Q.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},F=E([]),Y=()=>L(this,null,function*(){var J,Q,nt;let j=C.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:xt}=yield O.DeviceMangement.listDevices.GET();xt.result&&(p.value=((J=xt.result)==null?void 0:J.devices)||[],f.value=((Q=xt.result)==null?void 0:Q.devices)||[],F.value=((nt=xt.result)==null?void 0:nt.dhcpTags)||[])}catch(xt){}finally{j.Close()}}),A=(j,J)=>{const Q={};return j.forEach(nt=>{nt.ip&&(Q[nt.ip]={downloadSpeedStr:nt.downloadSpeedStr||"0 B",uploadSpeedStr:nt.uploadSpeedStr||"0 B"})}),J.map(nt=>nt.ip&&Q[nt.ip]?bt(lt({},nt),{downloadSpeedStr:Q[nt.ip].downloadSpeedStr,uploadSpeedStr:Q[nt.ip].uploadSpeedStr}):bt(lt({},nt),{downloadSpeedStr:nt.downloadSpeedStr||"0 B",uploadSpeedStr:nt.uploadSpeedStr||"0 B"}))},B=()=>L(this,null,function*(){try{const{data:j}=yield O.DeviceMangement.speedsForDevices.GET();j.result&&(f.value=A(j.result,f.value))}catch(j){}}),$=j=>/^[a-zA-Z\s]+$/.test(j)?j.toUpperCase():j,S=vt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),V=vt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),N=E(""),P=E({}),I=(j,J)=>{var Q,nt,xt,St,kt,oe,ne,ie,re,se,de,le,ue,ce,pe,wt;P.value=j,J===1?(S.ip=j.ip||"",S.mac=j.mac||"",S.uploadSpeed=((Q=j==null?void 0:j.speedLimit)==null?void 0:Q.uploadSpeed)||100,S.downloadSpeed=((nt=j==null?void 0:j.speedLimit)==null?void 0:nt.downloadSpeed)||1e3,S.networkAccess=!((xt=j==null?void 0:j.speedLimit)!=null&&xt.networkAccess)||!1,S.enabled=((St=j==null?void 0:j.speedLimit)==null?void 0:St.enabled)||!1,S.comment=((kt=j==null?void 0:j.speedLimit)==null?void 0:kt.comment)||"",S.action=((oe=j==null?void 0:j.speedLimit)==null?void 0:oe.action)||"add",m.value=!0):J===2?(V.hostname=((ne=j==null?void 0:j.staticAssigned)==null?void 0:ne.hostname)||"",V.assignedIP=((ie=j==null?void 0:j.staticAssigned)==null?void 0:ie.assignedIP)||"",V.assignedMac=((re=j==null?void 0:j.staticAssigned)==null?void 0:re.assignedMac)||"",V.bindIP=((se=j==null?void 0:j.staticAssigned)==null?void 0:se.bindIP)||!1,V.tagTitle=((de=j==null?void 0:j.staticAssigned)==null?void 0:de.tagTitle)||"",V.tagName=((le=j==null?void 0:j.staticAssigned)==null?void 0:le.tagName)||"",(ue=j==null?void 0:j.staticAssigned)!=null&&ue.dhcpGateway?(F.value.forEach(fe=>{var Fe;fe.gateway===((Fe=j==null?void 0:j.staticAssigned)==null?void 0:Fe.dhcpGateway)&&(W.value=fe)}),V.dhcpGateway=((pe=j==null?void 0:j.staticAssigned)==null?void 0:pe.dhcpGateway)||F.value[0]||""):(W.value=F.value[0]||null,V.dhcpGateway=((ce=W.value)==null?void 0:ce.gateway)||""),V.action=((wt=j==null?void 0:j.staticAssigned)==null?void 0:wt.action)||"add",h.value=!0):J===3&&(N.value="",N.value=j.ip,k.value=!0)},W=E(F.value[0]||null),ht=()=>{var j,J,Q;W.value?(V.dhcpGateway=((j=W.value)==null?void 0:j.gateway)||"",V.tagName=((J=W.value)==null?void 0:J.tagName)||"",V.tagTitle=((Q=W.value)==null?void 0:Q.tagTitle)||""):(V.dhcpGateway="",V.tagName="",V.tagTitle="")},Dt=(j,J)=>J?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[j].test(J.trim()):!1,ft=j=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(j.toString()),Kt=()=>L(this,null,function*(){if(!V.hostname)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u540D\u79F0")}`);if(!V.assignedMac)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!Dt("mac",V.assignedMac))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!V.dhcpGateway)return C.Warning(`${a("\u8BF7\u9009\u62E9")}${a("\u7F51\u5173")}`);if(V.bindIP){if(!V.assignedIP)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!Dt("ip",V.assignedIP))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else V.assignedIP="";let j=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield O.DeviceMangement.staticDeviceConfig.POST(V);JSON.stringify(J)==="{}"?(h.value=!1,It(),Ft(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){C.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{j.Close()}}),Qt=()=>L(this,null,function*(){var J,Q;if(!((Q=(J=_.value)==null?void 0:J.speedLimit)!=null&&Q.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(S.networkAccess)S.downloadSpeed=0,S.uploadSpeed=0;else{if(!S.downloadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!ft(S.downloadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S.uploadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!ft(S.uploadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);S.downloadSpeed=Number(S.downloadSpeed),S.uploadSpeed=Number(S.uploadSpeed)}let j=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{S.networkAccess=!S.networkAccess;const{data:nt}=yield O.DeviceMangement.speedLimitConfig.POST(S);JSON.stringify(nt)==="{}"?(m.value=!1,It(),Ft(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((nt==null?void 0:nt.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(nt){C.Warning(`${nt==null?void 0:nt.error} || ${nt==null?void 0:nt.message}`)}finally{S.downloadSpeed=1e3,S.uploadSpeed=100,j.Close()}}),It=()=>{P.value={},W.value=F.value[0]||null,V.hostname="",V.assignedIP="",V.assignedMac="",V.bindIP=!1,V.dhcpGateway="",V.tagName="",V.tagTitle="",V.action="add",S.ip="",S.mac="",S.uploadSpeed=100,S.downloadSpeed=1e3,S.networkAccess=!1,S.comment="",S.action="add"},at=E([]),Z=E(null),Ft=()=>L(this,null,function*(){p.value=[],yield Y()}),ct=j=>p.value.filter(J=>{const Q=J.ip.includes(j),nt=J.mac.toLowerCase().includes(j.toLowerCase());return Q||nt}),X=j=>{j===""&&(f.value=p.value),f.value=ct(j)},Lt=()=>{if(at.value.length===0)return C.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !")};return(j,J)=>(r(),l("div",yE,[t("div",FE,[z(Xe,{onRefresh:Ft,showAdd:!1,showBatchDelete:!1,ref_key:"searchRef",ref:Z,onBatchDelete:Lt,onSearch:X},null,512)]),t("div",null,[z(Me,{data:f.value,columns:w.value,showPagination:!1},{action:R(({row:Q})=>[t("span",{style:{color:"#553AFE",cursor:"pointer"},onClick:nt=>I(Q,2)},n(e(a)("\u9759\u6001\u5206\u914D")),9,EE),t("span",{style:{color:"#553AFE",cursor:"pointer",margin:"0 8px"},onClick:nt=>I(Q,1)},n(e(a)("\u9650\u901F\u914D\u7F6E")),9,CE),t("span",{style:{color:"#553AFE",margin:"0 8px",cursor:"pointer"},onClick:nt=>I(Q,3)},n(e(a)("\u8BE6\u60C5")),9,$E)]),staticAssigned:R(({row:Q})=>{var nt,xt;return[t("span",null,n(b((nt=Q==null?void 0:Q.staticAssigned)==null?void 0:nt.tagTitle)||b((xt=Q==null?void 0:Q.staticAssigned)==null?void 0:xt.tagName)||"-"),1)]}),_:1},8,["data","columns"])]),z(he,{modelValue:m.value,"onUpdate:modelValue":J[6]||(J[6]=Q=>m.value=Q),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:Qt,onCancel:It},{default:R(()=>{var Q,nt,xt,St;return[t("div",DE,[t("div",BE,"IP: "+n(P.value.ip),1),t("div",YE,[t("div",AE,n(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),z(Gt,{modelValue:e(S).enabled,"onUpdate:modelValue":J[0]||(J[0]=kt=>e(S).enabled=kt),disabled:!((nt=(Q=_.value)==null?void 0:Q.speedLimit)!=null&&nt.enabled),onBeforeChange:y},null,8,["modelValue","disabled"])]),(St=(xt=_.value)==null?void 0:xt.speedLimit)!=null&&St.enabled?D("",!0):(r(),l("div",SE,[t("a",{href:"",onClick:mt(g,["prevent"])},n(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,zE)])),e(S).enabled?(r(),l("div",PE,[t("div",TE,[t("div",IE,n(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),z(Gt,{modelValue:e(S).networkAccess,"onUpdate:modelValue":J[1]||(J[1]=kt=>e(S).networkAccess=kt),onChange:J[2]||(J[2]=()=>{})},null,8,["modelValue"])]),e(S).networkAccess?D("",!0):(r(),l(G,{key:0},[t("div",LE,[t("div",ME,n(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[3]||(J[3]=kt=>e(S).downloadSpeed=kt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,NE),[[ot,e(S).downloadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",OE,[t("div",VE,n(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[4]||(J[4]=kt=>e(S).uploadSpeed=kt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,GE),[[ot,e(S).uploadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",jE,[t("div",qE,n(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[5]||(J[5]=kt=>e(S).comment=kt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,UE),[[ot,e(S).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"]),z(he,{modelValue:h.value,"onUpdate:modelValue":J[12]||(J[12]=Q=>h.value=Q),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:Kt,onCancel:It},{default:R(()=>[t("div",RE,[WE,t("div",HE,[t("div",ZE,n(e(a)("\u540D\u79F0"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text",onInput:d,"onUpdate:modelValue":J[7]||(J[7]=Q=>e(V).hostname=Q),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,JE),[[ot,e(V).hostname,void 0,{trim:!0}]])]),t("div",KE,[QE,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[8]||(J[8]=Q=>e(V).assignedMac=Q),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,XE),[[ot,e(V).assignedMac,void 0,{trim:!0}]])]),t("div",tC,[t("div",eC,n(e(a)("\u7F51\u5173"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":J[9]||(J[9]=Q=>W.value=Q),onChange:ht},[e(x)?(r(),l("option",aC,n(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),l(G,null,et(F.value,Q=>(r(),l("option",{value:Q},n(Q.gateway)+"("+n(Q.tagTitle?b(Q.tagTitle):Q.tagName?Q.tagName:"-")+") ",9,oC))),256))],544),[[dt,W.value]])]),t("div",nC,[t("div",iC,n(e(a)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),z(Gt,{modelValue:e(V).bindIP,"onUpdate:modelValue":J[10]||(J[10]=Q=>e(V).bindIP=Q)},null,8,["modelValue"])]),e(V).bindIP?(r(),l("div",rC,[sC,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[11]||(J[11]=Q=>e(V).assignedIP=Q),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,dC),[[ot,e(V).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"]),z(he,{modelValue:k.value,"onUpdate:modelValue":J[13]||(J[13]=Q=>k.value=Q),title:"\u8BE6\u60C5",width:"550px",footerShow:!1,"show-close":!0,onCancel:It},{default:R(()=>{var Q,nt,xt,St,kt;return[t("div",lC,[t("div",uC,[cC,t("div",pC,[t("div",fC,[t("div",mC,n(e(a)("\u540D\u79F0"))+"\uFF1A",1),it(" "+n(P.value.hostname||"-"),1)]),t("div",bC,[t("div",vC,n(e(a)("IP\u5730\u5740"))+"\uFF1A",1),it(" "+n(P.value.ip),1)]),t("div",gC,[hC,it(" "+n(P.value.mac),1)]),t("div",_C,[t("div",xC,n(e(a)("\u7F51\u5173"))+"\uFF1A",1),it(" "+n(((Q=P.value)==null?void 0:Q.staticAssigned.dhcpGateway)||"-"),1)]),t("div",kC,[t("div",wC,n(e(a)("\u63A5\u53E3"))+"\uFF1A",1),it(" "+n($(P.value.intr)||"-"),1)]),t("div",yC,[t("div",FC,n(e(a)("\u6807\u7B7E"))+"\uFF1A",1),it(" "+n(((xt=(nt=P.value)==null?void 0:nt.staticAssigned)==null?void 0:xt.tagTitle)||((kt=(St=P.value)==null?void 0:St.staticAssigned)==null?void 0:kt.tagName)||"-"),1)])])]),N.value?(r(),K(gE,{key:0,ipParam:N.value},null,8,["ipParam"])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var CC=M(EC,[["__scopeId","data-v-2f8a90b2"]]);const ta=o=>(rt("data-v-0ad740fc"),o=o(),st(),o),$C={class:"container"},DC={style:{display:"flex","justify-content":"end"}},BC=["onClick"],YC={class:"custom-content"},AC=ta(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),SC={class:"item_box"},zC={class:"item_left"},PC=["placeholder"],TC={class:"item_box"},IC=ta(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),LC=["placeholder"],MC={class:"item_box"},NC={class:"item_left"},OC={key:0,value:null,disabled:""},VC=["value"],GC={class:"item_box"},jC={class:"item_left"},qC={key:0,class:"item_box"},UC=ta(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),RC=["placeholder"],WC=U({setup(o){const{$gettext:i}=H(),a=E([]);(()=>L(this,null,function*(){var P;try{const{data:I}=yield O.DeviceMangement.globalConfigs.GET();I.result&&(a.value=((P=I.result)==null?void 0:P.dhcpTags)||[])}catch(I){}}))();const u=E([]),s=E([]),c=E(!1),_=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"assignedIP"},{label:"MAC\u5730\u5740",prop:"assignedMac"},{label:"\u9759\u6001IP\u7ED1\u5B9A",prop:"bindIP",slot:"bindIP"},{label:"\u6807\u7B7E",prop:"tagTitle",slot:"tagTitle"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),v=P=>({default:i("\u9ED8\u8BA4\u7F51\u5173"),parent:i("\u4E0A\u7EA7\u8DEF\u7531"),myself:i("\u672C\u8BBE\u5907"),bypass:i("\u65C1\u8DEF\u7531"),floatip:i("\u6D6E\u52A8\u7F51\u5173")})[P]||P,p=P=>{$.hostname=P.target.value.replace(/[\u4e00-\u9fa5]/g,"")},f=()=>L(this,null,function*(){let P=C.Loading(i("\u52A0\u8F7D\u4E2D..."));try{const{data:I}=yield O.DeviceMangement.listStaticDevices.GET();I.result&&(u.value=I.result||[],s.value=I.result||[])}catch(I){}finally{P.Close()}});f();const m=E(!0),h=E([]),k=P=>{h.value=P},x=()=>L(this,null,function*(){u.value=[];let P=C.Loading(i("\u52A0\u8F7D\u4E2D..."));yield f(),P.Close()}),w=P=>u.value.filter(I=>{const W=I.assignedIP.includes(P),ht=I.assignedMac.toLowerCase().includes(P.toLowerCase());return W||ht}),b=P=>{P===""&&(s.value=u.value),s.value=w(P)},g=P=>L(this,null,function*(){if(confirm(i("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let I={hostname:P.hostname||"",assignedIP:P.assignedIP||"",assignedMac:P.assignedMac||"",tagTitle:P.tagTitle||"",bindIP:P.bindIP||!1,tagName:P.tagName||"",dhcpGateway:P.dhcpGateway||"",action:"delete"};y(I,1)}}),y=(P,I)=>L(this,null,function*(){let W=C.Loading(i("\u5220\u9664\u4E2D..."));try{const{data:ht}=yield O.DeviceMangement.staticDeviceConfig.POST(P);return I==1&&(JSON.stringify(ht)==="{}"?C.Success("\u5220\u9664\u6210\u529F !"):C.Success((ht==null?void 0:ht.error)||"\u5220\u9664\u5931\u8D25\uFF01"),f()),ht}catch(ht){}finally{W.Close()}}),F=()=>L(this,null,function*(){if(h.value.length===0)return C.Warning(i("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(i("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const P=h.value.map(I=>{const W={hostname:I.hostname||"",assignedIP:I.assignedIP||"",assignedMac:I.assignedMac||"",tagTitle:I.tagTitle||"",bindIP:I.bindIP||!1,tagName:I.tagName||"",dhcpGateway:I.dhcpGateway||"",action:"delete"};return y(W)});yield Promise.all(P),C.Success(i("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),f()}catch(P){}}),Y=tt(()=>!$.dhcpGateway),A=E(null),B=()=>{var P,I,W;A.value?($.dhcpGateway=((P=A.value)==null?void 0:P.gateway)||"",$.tagName=((I=A.value)==null?void 0:I.tagName)||"",$.tagTitle=((W=A.value)==null?void 0:W.tagTitle)||""):($.dhcpGateway="",$.tagName="",$.tagTitle="")},$=vt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),S=(P,I)=>I?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[P].test(I.trim()):!1,V=()=>L(this,null,function*(){if(!$.assignedMac)return C.Warning(`${i("\u8BF7\u8F93\u5165")}${i("MAC")}`);if(!S("mac",$.assignedMac))return C.Warning(`${i("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!$.dhcpGateway)return C.Warning(`${i("\u8BF7\u9009\u62E9")}${i("\u7F51\u5173")}`);if($.bindIP){if(!$.assignedIP)return C.Warning(`${i("\u8BF7\u8F93\u5165")}${i("IP")}`);if(!S("ip",$.assignedIP))return C.Warning(`${i("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else $.assignedIP="";let P=C.Loading(i("\u4FDD\u5B58\u4E2D..."));try{const{data:I}=yield O.DeviceMangement.staticDeviceConfig.POST($);JSON.stringify(I)==="{}"?(c.value=!1,N(),x(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((I==null?void 0:I.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(I){C.Warning(`${I==null?void 0:I.error} || ${I==null?void 0:I.message}`)}finally{P.Close()}}),N=()=>{A.value=null,$.hostname="",$.assignedIP="",$.assignedMac="",$.bindIP=!1,$.dhcpGateway="",$.tagName="",$.tagTitle="",$.action="add"};return(P,I)=>(r(),l("div",$C,[t("div",DC,[z(Xe,{onHandleAdd:I[0]||(I[0]=W=>c.value=!0),onRefresh:x,onBatchDelete:F,onSearch:b})]),t("div",null,[z(Me,{data:s.value,columns:_.value,rowKey:"assignedMac",showSelection:m.value,showPagination:!1,onSelectionChange:k},{action:R(({row:W})=>[t("button",{class:"del-button del-button--danger",onClick:ht=>g(W)},[t("span",null,n(e(i)("\u5220\u9664")),1)],8,BC)]),tagTitle:R(({row:W})=>[t("span",null,n(v(W==null?void 0:W.tagTitle)||v(W==null?void 0:W.tagName)||"-"),1)]),bindIP:R(({row:W})=>[t("span",null,n(W!=null&&W.bindIP?e(i)("\u662F"):e(i)("\u5426")),1)]),_:1},8,["data","columns","showSelection"])]),z(he,{modelValue:c.value,"onUpdate:modelValue":I[6]||(I[6]=W=>c.value=W),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:V,onCancel:N},{default:R(()=>[t("div",YC,[AC,t("div",SC,[t("div",zC,n(e(i)("\u540D\u79F0"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text",onInput:p,"onUpdate:modelValue":I[1]||(I[1]=W=>e($).hostname=W),placeholder:e(i)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,PC),[[ot,e($).hostname,void 0,{trim:!0}]])]),t("div",TC,[IC,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":I[2]||(I[2]=W=>e($).assignedMac=W),placeholder:e(i)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,LC),[[ot,e($).assignedMac,void 0,{trim:!0}]])]),t("div",MC,[t("div",NC,n(e(i)("\u7F51\u5173"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":I[3]||(I[3]=W=>A.value=W),onChange:B},[e(Y)?(r(),l("option",OC,n(e(i)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),l(G,null,et(a.value,W=>(r(),l("option",{value:W},n(W.gateway)+"("+n(W.tagTitle?v(W.tagTitle):W.tagName?W.tagName:"-")+") ",9,VC))),256))],544),[[dt,A.value]])]),t("div",GC,[t("div",jC,n(e(i)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),z(Gt,{modelValue:e($).bindIP,"onUpdate:modelValue":I[4]||(I[4]=W=>e($).bindIP=W)},null,8,["modelValue"])]),e($).bindIP?(r(),l("div",qC,[UC,T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":I[5]||(I[5]=W=>e($).assignedIP=W),placeholder:e(i)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,RC),[[ot,e($).assignedIP,void 0,{trim:!0}]])])):D("",!0)])]),_:1},8,["modelValue"])]))}});var HC=M(WC,[["__scopeId","data-v-0ad740fc"]]);const ZC={class:"container"},JC={style:{display:"flex","justify-content":"end"}},KC=["onClick"],QC={class:"custom-content"},XC={class:"item_box"},t$={class:"item_left"},e$={class:"item_box"},a$={class:"item_left"},o$=["placeholder"],n$={class:"item_box"},i$={class:"item_left"},r$=["placeholder"],s$={key:0,class:"tip"},d$=["onClick"],l$={key:1},u$={class:"item_box"},c$={class:"item_left"},p$={class:"item_box"},f$={class:"item_left"},m$=["placeholder"],b$={class:"item_box"},v$={class:"item_left"},g$=["placeholder"],h$={class:"item_box"},_$={class:"item_left"},x$=["placeholder"],k$=U({emits:["openGloba"],setup(o,{emit:i}){const{$gettext:a}=H(),d=E({});(()=>L(this,null,function*(){try{const{data:N}=yield O.DeviceMangement.globalConfigs.GET();N.result&&(d.value=N.result||{})}catch(N){}}))();const s=E([]),c=E([]),_=E(!1),v=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"ip"},{label:"MAC\u5730\u5740",prop:"mac"},{label:"\u7981\u6B62\u7F51\u7EDC\u8BBF\u95EE",prop:"enabled",slot:"enabled"},{label:"\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09",prop:"uploadSpeed",slot:"uploadSpeed"},{label:"\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09",prop:"downloadSpeed",slot:"downloadSpeed"},{label:"\u6CE8\u89E3",prop:"comment"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),p=()=>L(this,null,function*(){let N=C.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:P}=yield O.DeviceMangement.listSpeedLimitedDevices.GET();P.result&&(s.value=P.result||[],c.value=P.result||[])}catch(P){}finally{N.Close()}});p();const f=E(!0),m=E([]),h=N=>{m.value=N},k=()=>L(this,null,function*(){s.value=[];let N=C.Loading(a("\u52A0\u8F7D\u4E2D..."));yield p(),N.Close()}),x=N=>s.value.filter(P=>{const I=P.ip.includes(N),W=P.mac.toLowerCase().includes(N.toLowerCase());return I||W}),w=N=>{N===""&&(c.value=s.value),c.value=x(N)},b=N=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let P={ip:N.ip||"",mac:N.mac||"",uploadSpeed:N.uploadSpeed||0,downloadSpeed:N.downloadSpeed||0,networkAccess:N.networkAccess||!1,comment:"",action:"delete"};g(P,1)}}),g=(N,P)=>L(this,null,function*(){let I=C.Loading(a("\u5220\u9664\u4E2D..."));try{const{data:W}=yield O.DeviceMangement.speedLimitConfig.POST(N);return P==1&&(JSON.stringify(W)==="{}"?C.Success("\u5220\u9664\u6210\u529F !"):C.Success((W==null?void 0:W.error)||"\u5220\u9664\u5931\u8D25\uFF01"),p()),W}catch(W){}finally{I.Close()}}),y=()=>L(this,null,function*(){if(m.value.length===0)return C.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const N=m.value.map(P=>{const I={ip:P.ip||"",mac:P.mac||"",uploadSpeed:P.uploadSpeed||0,downloadSpeed:P.downloadSpeed||0,networkAccess:P.networkAccess||!1,comment:"",action:"delete"};return g(I)});yield Promise.all(N),C.Success(a("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),p()}catch(N){}}),F=()=>{_.value=!1,i("openGloba")},Y=N=>{var P,I;if(N==!0&&!((I=(P=d.value)==null?void 0:P.speedLimit)!=null&&I.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},A=vt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),B=N=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(N.toString()),$=(N,P)=>P?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[N].test(P.trim()):!1,S=()=>L(this,null,function*(){var P,I;if(!((I=(P=d.value)==null?void 0:P.speedLimit)!=null&&I.enabled))return C.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(!A.ip)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!$("ip",A.ip))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);if(!A.mac)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!$("mac",A.mac))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(A.networkAccess)A.downloadSpeed=0,A.uploadSpeed=0;else{if(!A.downloadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!B(A.downloadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!A.uploadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!B(A.uploadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);A.downloadSpeed=Number(A.downloadSpeed),A.uploadSpeed=Number(A.uploadSpeed)}let N=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{A.networkAccess=!A.networkAccess;const{data:W}=yield O.DeviceMangement.speedLimitConfig.POST(A);JSON.stringify(W)==="{}"?(k(),C.Success("\u4FDD\u5B58\u6210\u529F !")):C.Success((W==null?void 0:W.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01"),_.value=!1,V()}catch(W){C.Warning(`${W==null?void 0:W.error} || ${W==null?void 0:W.message}`)}finally{A.downloadSpeed=1e3,A.uploadSpeed=100,N.Close()}}),V=()=>{A.ip="",A.mac="",A.uploadSpeed=100,A.downloadSpeed=1e3,A.networkAccess=!1,A.comment="",A.action="add"};return(N,P)=>(r(),l("div",ZC,[t("div",JC,[z(Xe,{onHandleAdd:P[0]||(P[0]=I=>_.value=!0),onRefresh:k,onBatchDelete:y,onSearch:w})]),t("div",null,[z(Me,{data:c.value,columns:v.value,rowKey:"mac",showSelection:f.value,showPagination:!1,onSelectionChange:h},{action:R(({row:I})=>[t("button",{class:"del-button del-button--danger",onClick:W=>b(I)},[t("span",null,n(e(a)("\u5220\u9664")),1)],8,KC)]),enabled:R(({row:I})=>[t("span",null,n(I!=null&&I.enabled?e(a)("\u662F"):e(a)("\u5426")),1)]),uploadSpeed:R(({row:I})=>[t("span",null,n((I==null?void 0:I.uploadSpeed)||"-")+" "+n(I!=null&&I.uploadSpeed?"Mbit/s":""),1)]),downloadSpeed:R(({row:I})=>[t("span",null,n((I==null?void 0:I.downloadSpeed)||"-")+" "+n(I!=null&&I.downloadSpeed?"Mbit/s":""),1)]),_:1},8,["data","columns","showSelection"])]),z(he,{modelValue:_.value,"onUpdate:modelValue":P[9]||(P[9]=I=>_.value=I),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:S,onCancel:V},{default:R(()=>{var I,W,ht,Dt;return[t("div",QC,[t("div",XC,[t("div",t$,n(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),z(Gt,{modelValue:e(A).enabled,"onUpdate:modelValue":P[1]||(P[1]=ft=>e(A).enabled=ft),disabled:!((W=(I=d.value)==null?void 0:I.speedLimit)!=null&&W.enabled),onBeforeChange:Y},null,8,["modelValue","disabled"])]),t("div",e$,[t("div",a$,n(e(a)("IP\u5730\u5740"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[2]||(P[2]=ft=>e(A).ip=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,o$),[[ot,e(A).ip,void 0,{trim:!0}]])]),t("div",n$,[t("div",i$,n(e(a)("MAC\u5730\u5740"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[3]||(P[3]=ft=>e(A).mac=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,r$),[[ot,e(A).mac,void 0,{trim:!0}]])]),(Dt=(ht=d.value)==null?void 0:ht.speedLimit)!=null&&Dt.enabled?D("",!0):(r(),l("div",s$,[t("a",{href:"",onClick:mt(F,["prevent"])},n(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,d$)])),e(A).enabled?(r(),l("div",l$,[t("div",u$,[t("div",c$,n(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),z(Gt,{modelValue:e(A).networkAccess,"onUpdate:modelValue":P[4]||(P[4]=ft=>e(A).networkAccess=ft),onChange:P[5]||(P[5]=()=>{})},null,8,["modelValue"])]),e(A).networkAccess?D("",!0):(r(),l(G,{key:0},[t("div",p$,[t("div",f$,n(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[6]||(P[6]=ft=>e(A).downloadSpeed=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,m$),[[ot,e(A).downloadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",b$,[t("div",v$,n(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[7]||(P[7]=ft=>e(A).uploadSpeed=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,g$),[[ot,e(A).uploadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",h$,[t("div",_$,n(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":P[8]||(P[8]=ft=>e(A).comment=ft),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,x$),[[ot,e(A).comment,void 0,{trim:!0}]])])],64))])):D("",!0)])]}),_:1},8,["modelValue"])]))}});var w$=M(k$,[["__scopeId","data-v-517a8ecc"]]);const ea=o=>(rt("data-v-7e024b67"),o=o(),st(),o),y$={key:0,class:"dialog-overlay"},F$={class:"dialog-container"},E$={class:"dialog-title"},C$=ea(()=>t("div",{class:"loading-animation"},[t("div",{class:"spinner"})],-1)),$$={class:"dialog-message"},D$={key:0,class:"dialog-overlay"},B$={class:"dialog-container"},Y$={class:"dialog-title"},A$=ea(()=>t("div",{style:{display:"flex","justify-content":"center"}},[t("svg",{t:"1752661662572",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5921",width:"50",height:"50"},[t("path",{d:"M0 512C0 229.234759 229.234759 0 512 0s512 229.234759 512 512-229.234759 512-512 512S0 794.765241 0 512z m419.310345 194.630621a35.310345 35.310345 0 0 0 49.399172 1.271172l335.518897-311.931586a35.310345 35.310345 0 0 0-48.075035-51.729655l-309.124413 289.544827-145.125518-149.645241a35.310345 35.310345 0 1 0-50.688 49.169655l168.112552 173.320828z",fill:"#553afe","p-id":"5922"})])],-1)),S$={class:"dialog-message"},z$={key:0,class:"dialog-overlay"},P$={class:"dialog-container tag-dialog"},T$={class:"dialog-title"},I$={class:"warning-message"},L$=ea(()=>t("svg",{class:"warning-icon",viewBox:"0 0 24 24"},[t("path",{fill:"currentColor",d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"})],-1)),M$={class:"input-group"},N$={for:"tagTitle"},O$=["placeholder"],V$={class:"input-group"},G$={for:"tagName"},j$=["disabled","placeholder"],q$={class:"input-group"},U$={for:"gateway"},R$=["placeholder"],W$={class:"button-group"},H$=U({emits:["confirm","update:modelValue"],setup(o,{expose:i,emit:a}){const{$gettext:d}=H(),u=E("install"),s=E("\u6D6E\u52A8\u7F51\u5173"),c=E(!1),_=E(!1),v=E(!1),p=E(""),f=E(""),m=E(""),h=()=>{u.value="install",c.value=!0},k=()=>{c.value=!1},x=()=>{c.value=!1,setTimeout(()=>{_.value=!0},300)},w=()=>{_.value=!1},b=E("1"),g=()=>{u.value="tag",b.value="1",f.value="",p.value="",m.value="",v.value=!0},y=()=>{u.value="tag",b.value="2",v.value=!0},F=()=>{v.value=!1},Y=$=>{f.value=$.target.value.replace(/[\u4e00-\u9fa5]/g,"")},A=($,S)=>S?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[$].test(S.trim()):!1,B=()=>{if(!A("ip",m.value.trim()))return C.Warning(`${d("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);p.value.trim()&&f.value.trim()&&m.value.trim()&&(a("confirm",{tagTitle:p.value.trim(),tagName:f.value.trim(),gateway:m.value.trim(),type:b.value}),F())};return Nt(p,$=>{a("update:modelValue",$)}),Nt(f,$=>{a("update:modelValue",$)}),Nt(m,$=>{a("update:modelValue",$)}),i({tagTitle:p,tagName:f,gateway:m,openInstallDialog:h,showInstallResult:x,openTagDialog:g,closeTagDialog:F,cancelInstall:k,openEditTagDialog:y,title:s}),($,S)=>(r(),l(G,null,[z($t,{name:"fade"},{default:R(()=>[c.value&&u.value==="install"?(r(),l("div",y$,[t("div",F$,[t("div",E$,n(e(d)(`${s.value}`)),1),C$,t("p",$$,n(e(d)("\u6B63\u5728\u5B89\u88C5"))+"...",1),t("button",{class:"dialog-button",onClick:k},n(e(d)(""))+"\u5173\u95ED",1)])])):D("",!0)]),_:1}),z($t,{name:"fade"},{default:R(()=>[_.value&&u.value==="install"?(r(),l("div",D$,[t("div",B$,[t("div",Y$,n(e(d)("\u7ED3\u679C")),1),A$,t("p",S$,n(e(d)("\u5B89\u88C5\u6210\u529F"))+"\uFF01",1),t("button",{class:"dialog-button",onClick:w},n(e(d)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1}),z($t,{name:"fade"},{default:R(()=>[v.value&&u.value==="tag"?(r(),l("div",z$,[t("div",P$,[t("div",T$,n(e(d)(b.value==="1"?"\u6DFB\u52A0\u6807\u7B7E":"\u7F16\u8F91\u6807\u7B7E")),1),t("div",I$,[L$,t("span",null,n(e(d)("\u6CE8\u610F\uFF1A\u6DFB\u52A0ID\u65F6\uFF0C\u8BF7\u52FF\u5C06\u201Codhcpd\u201D\u6216\u7F51\u7EDC\u63A5\u53E3\uFF08\u4F8B\u5982\u201Clan\u201D,\u201Cwan\u201D,\u201Cwan6\u201D\u7B49\uFF09\u4F5C\u4E3AID\uFF0C\u6B64\u4E3E\u5C06\u4EA7\u751F\u51B2\u7A81\u3002\u5EFA\u8BAE\u5728ID\u524D\u9762\u52A0\u4E0A\u524D\u7F00\u201Ct_\u201D\u4EE5\u675C\u7EDD\u6B64\u7C7B\u51B2\u7A81\u3002")),1)]),t("div",M$,[t("label",N$,n(e(d)("\u6807\u9898"))+"\uFF1A",1),T(t("input",{id:"tagTitle","onUpdate:modelValue":S[0]||(S[0]=V=>p.value=V),type:"text",placeholder:e(d)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,O$),[[ot,p.value]])]),t("div",V$,[t("label",G$,n(e(d)("ID"))+"\uFF1A",1),T(t("input",{id:"tagName","onUpdate:modelValue":S[1]||(S[1]=V=>f.value=V),onInput:Y,disabled:b.value=="2",type:"text",placeholder:e(d)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,j$),[[ot,f.value]])]),t("div",q$,[t("label",U$,n(e(d)("\u7F51\u5173"))+"\uFF1A",1),T(t("input",{id:"gateway","onUpdate:modelValue":S[2]||(S[2]=V=>m.value=V),type:"text",placeholder:e(d)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,R$),[[ot,m.value]])]),t("div",W$,[t("button",{class:"cancel-button",onClick:F},n(e(d)("\u53D6\u6D88")),1),t("button",{class:"confirm-button",onClick:B},n(e(d)("\u786E\u5B9A")),1)])])])):D("",!0)]),_:1})],64))}});var Z$=M(H$,[["__scopeId","data-v-7e024b67"]]);const Ia=o=>(rt("data-v-7ea05c92"),o=o(),st(),o),J$={class:"tab-container"},K$={class:"tab-header"},Q$=["onClick"],X$={class:"tab-content_g"},tD={key:0,class:"not_installed"},eD=Ia(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),aD={key:1},oD={class:"item_box"},nD={class:"item_left"},iD={class:"item_box"},rD={class:"item_left"},sD=["placeholder"],dD={class:"item_box"},lD={class:"item_left"},uD=["placeholder"],cD={class:"item_box"},pD={class:"item_left"},fD={key:0,class:"not_installed"},mD=Ia(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),bD={key:1},vD={class:"item_box"},gD={class:"item_left"},hD={class:"item_box"},_D={class:"item_left"},xD={key:0,value:"",disabled:""},kD=["value"],wD={class:"item_box"},yD={class:"item_left"},FD=["placeholder"],ED={class:"item_box"},CD={class:"item_left"},$D=["placeholder"],DD={class:"item_box"},BD={class:"item_left"},YD={style:{"margin-bottom":"16px"}},AD={class:"item_box"},SD={class:"item_left"},zD={class:"item_box"},PD={class:"item_left"},TD=["value"],ID={class:"item_box"},LD={class:"item_left"},MD={style:{display:"flex","justify-content":"end","margin-bottom":"8px"}},ND=["onClick"],OD=["onClick"],VD=U({setup(o,{expose:i}){const{$gettext:a}=H(),d=tt(()=>!p.role),u=E([]),s=E([{label:"\u6807\u9898",prop:"tagTitle",slot:"tagTitle"},{label:"ID",prop:"tagName",slot:"tagName"},{label:"\u7F51\u5173",prop:"gateway",slot:"gateway"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),c=E([{name:a("\u4E3B\u8DEF\u7531"),value:"fallback"},{name:a("\u65C1\u8DEF\u7531"),value:"main"}]),_=vt({dhcpEnabled:!1,dhcpGateway:""}),v=vt({enabled:!1,uploadSpeed:"",downloadSpeed:"",installed:!0}),p=vt({enabled:!1,role:"",setIP:"",checkIP:""}),f=E({}),m=()=>L(this,null,function*(){var at,Z,Ft,ct,X,Lt,j,J,Q,nt,xt,St,kt,oe,ne,ie,re,se,de,le,ue,ce,pe;try{const{data:wt}=yield O.DeviceMangement.globalConfigs.GET();if(wt.result){if(f.value=wt.result||{},_.dhcpEnabled=((Z=(at=wt.result)==null?void 0:at.dhcpGlobal)==null?void 0:Z.dhcpEnabled)||!1,(ct=(Ft=wt.result)==null?void 0:Ft.dhcpGlobal)!=null&&ct.dhcpGateway)_.dhcpGateway=(Lt=(X=wt.result)==null?void 0:X.dhcpGlobal)==null?void 0:Lt.dhcpGateway;else{const fe=(J=(j=wt.result)==null?void 0:j.dhcpGlobal)==null?void 0:J.gatewaySels.find(Fe=>Fe.title==="myself");fe?_.dhcpGateway=fe.gateway:_.dhcpGateway=""}u.value=((Q=wt.result)==null?void 0:Q.dhcpTags)||[],v.enabled=((xt=(nt=wt.result)==null?void 0:nt.speedLimit)==null?void 0:xt.enabled)||!1,v.uploadSpeed=((kt=(St=wt.result)==null?void 0:St.speedLimit)==null?void 0:kt.uploadSpeed)||"",v.downloadSpeed=((ne=(oe=wt.result)==null?void 0:oe.speedLimit)==null?void 0:ne.downloadSpeed)||"",p.enabled=((re=(ie=wt.result)==null?void 0:ie.floatGateway)==null?void 0:re.enabled)||!1,p.role=((de=(se=wt.result)==null?void 0:se.floatGateway)==null?void 0:de.role)||"",p.setIP=((ue=(le=wt.result)==null?void 0:le.floatGateway)==null?void 0:ue.setIP)||"",p.checkIP=((pe=(ce=wt.result)==null?void 0:ce.floatGateway)==null?void 0:pe.checkIP)||""}}catch(wt){}});m();const h=()=>L(this,null,function*(){let at=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:Z}=yield O.DeviceMangement.dhcpGatewayConfig.POST(_);JSON.stringify(Z)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((Z==null?void 0:Z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(Z){C.Warning(`${Z==null?void 0:Z.error} || ${Z==null?void 0:Z.message}`)}finally{at.Close()}}),k=(at,Z)=>L(this,null,function*(){let Ft=C.Loading(a("\u68C0\u67E5\u4E2D..."));try{const ct=yield O.App.Check.POST({name:at});if(Ft.Close(),ct!=null&&ct.data){const{result:X,error:Lt}=ct.data;if(Lt)C.Warning(Lt);else{if(X)return X.status=="installed";C.Warning(a("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}}return!1}catch(ct){return Ft.Close(),C.Warning(ct),!1}}),x=E(!1),w=E(!1),b=()=>L(this,null,function*(){(yield k("app-meta-floatip"))&&(w.value=!0)}),g=()=>L(this,null,function*(){(yield k("app-meta-eqos"))&&(x.value=!0)});b(),g();const y=[{id:"tag",label:"DHCP"},{id:"gateway",label:"\u6D6E\u52A8\u7F51\u5173"},{id:"ip",label:"IP\u9650\u901F"}],F=E("tag");i({activeTab:F});const Y=at=>{F.value=at},A=E(),B=at=>({default:a("\u9ED8\u8BA4\u7F51\u5173"),parent:a("\u4E0A\u7EA7\u8DEF\u7531"),myself:a("\u672C\u8BBE\u5907"),bypass:a("\u65C1\u8DEF\u7531"),floatip:a("\u6D6E\u52A8\u7F51\u5173")})[at]||at,$=at=>L(this,null,function*(){if(at=="app-meta-floatip"?A.value.title="\u6D6E\u52A8\u7F51\u5173":A.value.title="IP\u9650\u901F",A.value.openInstallDialog(),yield Ct.installApp(at))return at=="app-meta-floatip"?b():g(),A.value.showInstallResult(),!0;A.value.cancelInstall(),C.Error(a("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}),S=at=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(at.toString()),V=()=>L(this,null,function*(){if(v.enabled){if(!v.downloadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S(v.downloadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!v.uploadSpeed)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!S(v.uploadSpeed))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);v.downloadSpeed=Number(v.downloadSpeed),v.uploadSpeed=Number(v.uploadSpeed)}else v.downloadSpeed=0,v.uploadSpeed=0;let at=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:Z}=yield O.DeviceMangement.enableSpeedLimit.POST(v);JSON.stringify(Z)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((Z==null?void 0:Z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(Z){C.Warning(`${Z==null?void 0:Z.error} || ${Z==null?void 0:Z.message}`)}finally{at.Close()}}),N=(at,Z)=>Z?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\/([0-9]|[1-2][0-9]|3[0-2]))?$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[at].test(Z.trim()):!1,P=()=>L(this,null,function*(){if(!p.role)return C.Warning(a("\u8BF7\u9009\u62E9\u8282\u70B9\u89D2\u8272"));if(!p.setIP)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u6D6E\u52A8\u7F51\u5173")}IP`);if(!N("ip",p.setIP))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6D6E\u52A8\u7F51\u5173IP\u5730\u5740")}`);if(!p.checkIP)return C.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u65C1\u8DEF\u7531")}IP`);if(!N("ip",p.checkIP))return C.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65C1\u8DEF\u7531IP\u5730\u5740")}`);let at=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:Z}=yield O.DeviceMangement.enableFloatGateway.POST(p);JSON.stringify(Z)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((Z==null?void 0:Z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(Z){C.Warning(`${Z==null?void 0:Z.error} || ${Z==null?void 0:Z.message}`)}finally{at.Close()}}),I=at=>{at||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95EDDHCP\u53EF\u80FD\u5F71\u54CD\u5C40\u57DF\u7F51\u5185\u8BBE\u5907\u7684IP\u5206\u914D\u548C\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(_.dhcpEnabled=!0)},W=at=>{at||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u6D6E\u52A8\u7F51\u5173\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6D6E\u52A8\u7F51\u5173\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(p.enabled=!0)},ht=at=>{at||confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5173\u95ED\u9650\u901F\u4F1A\u8BA9\u5DF2\u914D\u7F6E\u9650\u901F\u7684\u8BBE\u5907\u7684\u5E26\u5BBD\u9650\u5236\u5168\u90E8\u5931\u6548\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))||(v.enabled=!0)},Dt=at=>L(this,null,function*(){if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u7F51\u5173\u6807\u7B7E\u53EF\u80FD\u5F71\u54CD\u6B63\u5728\u4F7F\u7528\u6B64\u6807\u7B7E\u7684\u8BBE\u5907\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let Z=C.Loading(a("\u5220\u9664\u4E2D...")),Ft={action:"delete",tagTitle:at.tagTitle||"",tagName:at.tagName||"",dhcpOption:(at==null?void 0:at.dhcpOption)||[]};try{const{data:ct}=yield O.DeviceMangement.dhcpTagsConfig.POST(Ft);JSON.stringify(ct)==="{}"?(C.Success(a("\u5220\u9664\u6210\u529F")),m()):C.Success((ct==null?void 0:ct.error)||"\u5220\u9664\u5931\u8D25\uFF01")}catch(ct){C.Warning(`${ct==null?void 0:ct.error} || ${ct==null?void 0:ct.message}`)}finally{Z.Close()}}}),ft=()=>{A.value.openTagDialog()},Kt=E([]),Qt=at=>L(this,null,function*(){Kt.value=at.dhcpOption?at.dhcpOption:[],A.value.tagTitle=at.tagTitle||"",A.value.tagName=at.tagName||"",A.value.gateway=at.gateway||"",yield je(),A.value.openEditTagDialog()}),It=at=>L(this,null,function*(){let Z=C.Loading(a("\u4FDD\u5B58\u4E2D..."));const Ft=[`3,${at.gateway}`,`6,${at.gateway}`];let ct={action:at.type==1?"add":"modify",tagTitle:at.tagTitle,tagName:at.tagName,dhcpOption:Ft};try{const{data:X}=yield O.DeviceMangement.dhcpTagsConfig.POST(ct);JSON.stringify(X)==="{}"?(C.Success(a("\u4FDD\u5B58\u6210\u529F")),m()):C.Success((X==null?void 0:X.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(X){C.Warning(`${X==null?void 0:X.error} || ${X==null?void 0:X.message}`)}finally{Z.Close()}});return(at,Z)=>{var Ft,ct;return r(),l("div",J$,[t("div",K$,[(r(),l(G,null,et(y,X=>t("button",{key:X.id,class:pt(["tab-button",{active:F.value===X.id}]),onClick:Lt=>Y(X.id)},n(e(a)(X.label)),11,Q$)),64))]),t("div",X$,[T(t("div",null,[x.value?(r(),l("div",aD,[t("div",oD,[t("div",nD,n(e(a)("IP\u9650\u901F"))+"\uFF1A",1),z(Gt,{modelValue:e(v).enabled,"onUpdate:modelValue":Z[1]||(Z[1]=X=>e(v).enabled=X),onChange:ht},null,8,["modelValue"])]),e(v).enabled?(r(),l(G,{key:0},[t("div",iD,[t("div",rD,n(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[2]||(Z[2]=X=>e(v).downloadSpeed=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,sD),[[ot,e(v).downloadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",dD,[t("div",lD,n(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[3]||(Z[3]=X=>e(v).uploadSpeed=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,uD),[[ot,e(v).uploadSpeed,void 0,{trim:!0}]]),it(" \xA0 "+n(e(a)("\u603B\u5E26\u5BBD")),1)])],64)):D("",!0),t("div",cD,[t("div",pD,[t("button",{class:"add-button add-button--danger",onClick:V},n(e(a)("\u4FDD\u5B58")),1)])])])):(r(),l("div",tD,[eD,t("span",null,n(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:Z[0]||(Z[0]=X=>$("app-meta-eqos"))},n(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[Yt,F.value==="ip"]]),T(t("div",null,[w.value?(r(),l("div",bD,[t("div",vD,[t("div",gD,n(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"\uFF1A",1),z(Gt,{modelValue:e(p).enabled,"onUpdate:modelValue":Z[5]||(Z[5]=X=>e(p).enabled=X),onChange:W},null,8,["modelValue"])]),t("div",hD,[t("div",_D,n(e(a)("\u8282\u70B9\u89D2\u8272"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":Z[6]||(Z[6]=X=>e(p).role=X),onChange:Z[7]||(Z[7]=()=>{})},[e(d)?(r(),l("option",xD,n(e(a)("\u8BF7\u9009\u62E9")),1)):D("",!0),(r(!0),l(G,null,et(c.value,X=>(r(),l("option",{value:X.value},n(X.name),9,kD))),256))],544),[[dt,e(p).role]])]),t("div",wD,[t("div",yD,n(e(a)("\u6D6E\u52A8\u7F51\u5173IP"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[8]||(Z[8]=X=>e(p).setIP=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,FD),[[ot,e(p).setIP,void 0,{trim:!0}]])]),t("div",ED,[t("div",CD,n(e(a)("\u65C1\u8DEF\u7531IP"))+"\uFF1A",1),T(t("input",{id:"tagName",type:"text","onUpdate:modelValue":Z[9]||(Z[9]=X=>e(p).checkIP=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,$D),[[ot,e(p).checkIP,void 0,{trim:!0}]])]),t("div",DD,[t("div",BD,[t("button",{class:"add-button add-button--danger",onClick:P},n(e(a)("\u4FDD\u5B58")),1)])])])):(r(),l("div",fD,[mD,t("span",null,n(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:Z[4]||(Z[4]=X=>$("app-meta-floatip"))},n(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[Yt,F.value==="gateway"]]),T(t("div",null,[t("div",YD,[t("div",AD,[t("div",SD,n(e(a)("\u542F\u7528"))+"DHCP\uFF1A",1),z(Gt,{modelValue:e(_).dhcpEnabled,"onUpdate:modelValue":Z[10]||(Z[10]=X=>e(_).dhcpEnabled=X),onChange:I},null,8,["modelValue"])]),t("div",zD,[t("div",PD,"DHCP"+n(e(a)("\u7F51\u5173"))+"\uFF1A",1),T(t("select",{"onUpdate:modelValue":Z[11]||(Z[11]=X=>e(_).dhcpGateway=X),onChange:Z[12]||(Z[12]=()=>{})},[(r(!0),l(G,null,et((ct=(Ft=f.value)==null?void 0:Ft.dhcpGlobal)==null?void 0:ct.gatewaySels,X=>(r(),l("option",{value:X.gateway},n(X.gateway)+" ("+n(X.title?B(X.title):"")+") ",9,TD))),256))],544),[[dt,e(_).dhcpGateway]])]),t("div",ID,[t("div",LD,[t("button",{class:"add-button add-button--danger",onClick:h},n(e(a)("\u4FDD\u5B58")),1)])])]),t("div",MD,[t("button",{class:"add-button add-button--danger",onClick:ft},[t("span",null,n(e(a)("\u6DFB\u52A0")),1)])]),z(Me,{data:u.value,columns:s.value,showSelection:!1,showPagination:!1,theadBgColor:"#e8e6f9"},{action:R(({row:X})=>[X.autoCreated?D("",!0):(r(),l("span",{key:0,style:{color:"#553AFE",cursor:"pointer"},onClick:Lt=>Qt(X)},n(e(a)("\u7F16\u8F91")),9,ND)),X.autoCreated?D("",!0):(r(),l("span",{key:1,style:{color:"#F04134",cursor:"pointer","margin-left":"18px"},onClick:Lt=>Dt(X)},n(e(a)("\u5220\u9664")),9,OD))]),tagTitle:R(({row:X})=>[t("span",null,n(B(X.tagTitle)),1)]),tagName:R(({row:X})=>[t("span",null,n(X.tagName||"-"),1)]),gateway:R(({row:X})=>[t("span",null,n(X.gateway||"-"),1)]),_:1},8,["data","columns"])],512),[[Yt,F.value==="tag"]])]),z(Z$,{ref_key:"tagDialogRef",ref:A,onConfirm:It},null,512)])}}});var GD=M(VD,[["__scopeId","data-v-7ea05c92"]]);const La=o=>(rt("data-v-a5a78984"),o=o(),st(),o),jD={id:"page"},qD={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},UD=La(()=>t("svg",{width:"20",height:"20",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M20 30 L50 50 L20 70",stroke:"#d6dbf8","stroke-width":"8","stroke-linecap":"round",fill:"none"})],-1)),RD={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},WD={class:"device_container",style:{color:"black"}},HD={class:"tab-container"},ZD={class:"tabs_box_g"},JD=["onClick"],KD={class:"tab-content_g"},QD={key:0,class:"content-item"},XD={key:1,class:"content-item"},tB={key:2,class:"content-item"},eB={key:3,class:"content-item"},aB=La(()=>t("div",{style:{height:"30px"}},null,-1)),oB=U({setup(o){const{$gettext:i}=H(),a=E(["\u8BBE\u5907\u5217\u8868","\u9759\u6001\u5206\u914D\u5217\u8868","\u9650\u901F\u8BBE\u5907\u5217\u8868","\u5168\u5C40\u8BBE\u7F6E"]),d=E(0),u=E(null),s=()=>L(this,null,function*(){d.value=3,yield je(),u.value&&(u.value.activeTab="ip")});return(c,_)=>{const v=ut("router-link");return r(),l(G,null,[t("div",jD,[t("div",qD,[z(v,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:R(()=>[it(n(e(i)("\u9996\u9875")),1)]),_:1}),UD,t("a",RD,n(e(i)("\u8BBE\u5907\u7BA1\u7406")),1)])]),t("div",WD,[t("div",HD,[t("div",ZD,[(r(!0),l(G,null,et(a.value,(p,f)=>(r(),l("button",{key:f,onClick:m=>d.value=f,class:pt({active:d.value===f})},n(e(i)(p)),11,JD))),128))]),t("div",KD,[d.value===0?(r(),l("div",QD,[z(CC,{onOpenGloba:s})])):D("",!0),d.value===1?(r(),l("div",XD,[z(HC)])):D("",!0),d.value===2?(r(),l("div",tB,[z(w$,{onOpenGloba:s})])):D("",!0),d.value===3?(r(),l("div",eB,[z(GD,{ref_key:"configureRef",ref:u},null,512)])):D("",!0)]),aB])])],64)}}});var nB=M(oB,[["__scopeId","data-v-a5a78984"]]);const ye=o=>(rt("data-v-1f11eeec"),o=o(),st(),o),iB=["onSubmit"],rB={class:"form-item"},sB={class:"label-name"},dB={class:"label-value switch_label"},lB={class:"label-flex pc-radio"},uB=["disabled"],cB=["disabled"],pB=ye(()=>t("div",{class:"switch-button"},null,-1)),fB=[pB],mB={key:0,class:"form-item"},bB={class:"label-name"},vB={class:"label-value"},gB=["disabled"],hB={value:100},_B={value:70},xB={value:50},kB={value:30},wB={key:0,class:"select-arrow"},yB={class:"form-item"},FB={class:"label-name"},EB={class:"label-value"},CB=["disabled","placeholder"],$B={class:"form-item"},DB={class:"label-name"},BB={class:"label-value"},YB=["disabled"],AB=["value"],SB={key:0,class:"select-arrow"},zB={class:"form-item"},PB={class:"label-name"},TB={class:"label-value"},IB=["type","disabled","placeholder"],LB={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},MB=ye(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),NB=[MB],OB={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},VB=ye(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),GB=[VB],jB={class:"form-item"},qB={class:"label-name"},UB={class:"label-value"},RB=["disabled"],WB={value:!1},HB={value:!0},ZB={key:0,class:"select-arrow"},JB={key:1,class:"form-item"},KB={class:"label-name"},QB={class:"label-value"},XB=["disabled"],tY=["value"],eY={key:0,class:"select-arrow"},aY={key:2,class:"form-item"},oY={class:"label-name"},nY={class:"label-value"},iY=["disabled"],rY=ye(()=>t("option",{value:"20"},"20 MHz",-1)),sY=ye(()=>t("option",{value:"40"},"40 MHz",-1)),dY={key:0,value:"auto"},lY={key:1,value:"80"},uY={key:2,value:"160"},cY={key:0,class:"select-arrow"},pY={key:3,class:"form-item"},fY={class:"label-name"},mY={class:"label-value"},bY=["disabled"],vY={value:0},gY=["value"],hY=["disabled"],_Y={value:0},xY=Wt('',12),kY={key:2,class:"select-arrow"},wY={key:4,class:"form-item"},yY={class:"label-name"},FY={class:"label-value"},EY=["placeholder","disabled"],CY={class:"label-btns"},$Y=["disabled"],DY=U({props:{data:null},emits:["getData"],setup(o,{emit:i}){const a=o,{$gettext:d,$ngettext:u}=H(),s=E(Object.assign({},a.data)),c=Xa("disabled"),_=E(!0),v=()=>{c.value||(s.value.disabled=!s.value.disabled)};Nt(()=>s.value.disabled,k=>{f()});const p=()=>L(this,null,function*(){if(s.value.txpower===a.data.txpower)return;const k=C.Loading("\u914D\u7F6E\u4E2D...");try{const{data:x}=yield O.Quickwifi.Power.POST({device:s.value.device||"",txpower:s.value.txpower||0}),{error:w,success:b}=x;if(w)throw w;(b==null||b==0)&&C.Success("\u914D\u7F6E\u5B8C\u6210")}catch(x){throw C.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),x}finally{k.Close()}}),f=()=>L(this,null,function*(){const k=C.Loading("\u914D\u7F6E\u4E2D...");try{const{data:x}=yield O.Quickwifi.Switch.POST({ifaceName:s.value.ifaceName||"",enable:!s.value.disabled}),{error:w,success:b}=x;if(w)throw w;(b==null||b==0)&&C.Success("\u914D\u7F6E\u5B8C\u6210")}catch(x){throw console.error("\u8BF7\u6C42\u51FA\u9519:",x),C.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),x}finally{k.Close()}}),m=()=>L(this,null,function*(){const k=lt({},s.value);delete k.encryptSelects,delete k.hwmodeSelects,delete k.disabled,delete k.txpower;const{data:x}=yield O.Quickwifi.Edit.POST(k),{error:w,success:b}=x;if(w)throw w;(b==null||b==0)&&C.Success("\u914D\u7F6E\u5B8C\u6210")}),h=()=>L(this,null,function*(){if(c.value)return;c.value=!0;const k=C.Loading("\u914D\u7F6E\u4E2D...");try{yield m(),yield i("getData")}catch(x){const w=C.Error(`${x}`);setTimeout(()=>{w.Close()},2e3)}finally{k.Close(),c.value=!1}});return(k,x)=>(r(),l("form",{class:"form-container",onSubmit:mt(h,["prevent"])},[t("div",rB,[t("div",sB,[t("span",null,n(e(d)("\u542F\u7528Wi-Fi")),1)]),t("div",dB,[t("div",lB,[t("label",null,[T(t("input",{type:"radio",value:!1,"onUpdate:modelValue":x[0]||(x[0]=w=>s.value.disabled=w),disabled:e(c)},null,8,uB),[[Et,s.value.disabled]]),it(" "+n(e(d)("\u5F00\u542F")),1)]),t("label",null,[T(t("input",{type:"radio",value:!0,"onUpdate:modelValue":x[1]||(x[1]=w=>s.value.disabled=w),disabled:e(c)},null,8,cB),[[Et,s.value.disabled]]),it(" "+n(e(d)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:v},[t("div",{class:pt(["switch-core",{"is-checked":!s.value.disabled,"is-disabled":e(c)}])},fB,2)])])]),s.value.isGuest?D("",!0):(r(),l("div",mB,[t("div",bB,[t("span",null,n(e(d)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",vB,[T(t("select",{"onUpdate:modelValue":x[2]||(x[2]=w=>s.value.txpower=w),disabled:e(c),onChange:p},[t("option",hB,n(e(d)("\u6700\u5927")),1),t("option",_B,n(e(d)("\u9AD8")),1),t("option",xB,n(e(d)("\u4E2D")),1),t("option",kB,n(e(d)("\u4F4E")),1)],40,gB),[[dt,s.value.txpower]]),e(c)?D("",!0):(r(),l("div",wB))])])),t("div",yB,[t("div",FB,[t("span",null,n(e(d)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",EB,[T(t("input",{"onUpdate:modelValue":x[3]||(x[3]=w=>s.value.ssid=w),disabled:e(c),placeholder:e(d)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,CB),[[ot,s.value.ssid]])])]),t("div",$B,[t("div",DB,[t("span",null,n(e(d)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",BB,[T(t("select",{"onUpdate:modelValue":x[4]||(x[4]=w=>s.value.encryption=w),disabled:e(c)},[(r(!0),l(G,null,et(s.value.encryptSelects,w=>(r(),l("option",{value:w},n(w),9,AB))),256))],8,YB),[[dt,s.value.encryption]]),e(c)?D("",!0):(r(),l("div",SB))])]),t("div",zB,[t("div",PB,[t("span",null,n(e(d)("Wi-Fi \u5BC6\u7801")),1)]),t("div",TB,[T(t("input",{"onUpdate:modelValue":x[5]||(x[5]=w=>s.value.key=w),class:"password_input",type:_.value?"password":"",disabled:e(c),placeholder:e(d)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,IB),[[to,s.value.key]]),e(c)?D("",!0):(r(),l("div",{key:0,onClick:x[6]||(x[6]=w=>_.value=!_.value)},[_.value?(r(),l("svg",LB,NB)):(r(),l("svg",OB,GB))]))])]),t("div",jB,[t("div",qB,[t("span",null,n(e(d)("SSID \u53EF\u89C1\u6027")),1)]),t("div",UB,[T(t("select",{"onUpdate:modelValue":x[7]||(x[7]=w=>s.value.hidden=w),disabled:e(c)},[t("option",WB,n(e(d)("\u663E\u793A")),1),t("option",HB,n(e(d)("\u9690\u85CF")),1)],8,RB),[[dt,s.value.hidden]]),e(c)?D("",!0):(r(),l("div",ZB))])]),s.value.isGuest?D("",!0):(r(),l("div",JB,[t("div",KB,[t("span",null,n(e(d)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",QB,[T(t("select",{"onUpdate:modelValue":x[8]||(x[8]=w=>s.value.hwmode=w),disabled:e(c)},[(r(!0),l(G,null,et(s.value.hwmodeSelects,w=>(r(),l("option",{value:w},n(w),9,tY))),256))],8,XB),[[dt,s.value.hwmode]]),e(c)?D("",!0):(r(),l("div",eY))])])),s.value.isGuest?D("",!0):(r(),l("div",aY,[t("div",oY,[t("span",null,n(e(d)("\u9891\u5BBD")),1)]),t("div",nY,[T(t("select",{"onUpdate:modelValue":x[9]||(x[9]=w=>s.value.htmode=w),disabled:e(c)},[rY,sY,s.value.band==="2g"?(r(),l("option",dY," 20/40 MHz ")):D("",!0),s.value.band==="5g"?(r(),l("option",lY," 80 MHz ")):D("",!0),s.value.band==="5g"?(r(),l("option",uY," 160 MHz ")):D("",!0)],8,iY),[[dt,s.value.htmode]]),e(c)?D("",!0):(r(),l("div",cY))])])),s.value.isGuest?D("",!0):(r(),l("div",pY,[t("div",fY,[t("span",null,n(e(d)("\u4FE1\u9053")),1)]),t("div",mY,[s.value.band==="2g"?T((r(),l("select",{key:0,"onUpdate:modelValue":x[10]||(x[10]=w=>s.value.channel=w),disabled:e(c)},[t("option",vY,n(e(d)("\u81EA\u52A8")),1),(r(),l(G,null,et(13,w=>t("option",{value:w},n(w),9,gY)),64))],8,bY)),[[dt,s.value.channel,void 0,{number:!0}]]):D("",!0),s.value.band==="5g"?T((r(),l("select",{key:1,"onUpdate:modelValue":x[11]||(x[11]=w=>s.value.channel=w),disabled:e(c)},[t("option",_Y,n(e(d)("\u81EA\u52A8")),1),xY],8,hY)),[[dt,s.value.channel,void 0,{number:!0}]]):D("",!0),e(c)?D("",!0):(r(),l("div",kY))])])),s.value.isGuest?D("",!0):(r(),l("div",wY,[t("div",yY,[t("span",null,n(e(d)("\u7F51\u7EDC")),1)]),t("div",FY,[T(t("input",{type:"text",placeholder:e(d)("\u8BF7\u914D\u7F6E\u7F51\u7EDC\u540D\u79F0"),required:"","onUpdate:modelValue":x[12]||(x[12]=w=>s.value.network=w),disabled:e(c)},null,8,EY),[[ot,s.value.network]])])])),t("div",CY,[t("button",{class:"btn primary-btn",disabled:e(c),onClick:h},n(e(d)("\u4FDD\u5B58\u914D\u7F6E")),9,$Y)])],40,iB))}});var BY=M(DY,[["__scopeId","data-v-1f11eeec"]]);const Ne=o=>(rt("data-v-40cb5302"),o=o(),st(),o),YY={id:"page",class:"page-container"},AY={class:"mobile-tags-container"},SY={class:"tags-wrapper"},zY={class:"tags-scroll"},PY=["onClick"],TY={class:"more-btn-wrapper"},IY=Ne(()=>t("div",{class:"fade-overlay"},null,-1)),LY=Ne(()=>t("div",{class:"line"},null,-1)),MY=Ne(()=>t("div",{class:"line"},null,-1)),NY=Ne(()=>t("div",{class:"line"},null,-1)),OY=[LY,MY,NY],VY={class:"page-flex"},GY={class:"page-sidebar"},jY=["onClick"],qY={class:"page-main"},UY={class:"popup-content"},RY={class:"popup-tags"},WY=["onClick"],HY={class:"popup-footer"},ZY=U({setup(o){var w;const{$gettext:i}=H(),a=E(!1);eo("disabled",a);const d=E([]),u=Ye(),s=ao(),c=E(String((w=u==null?void 0:u.query)==null?void 0:w.tab)),_=E(!1),v=b=>{var g;return(g=b.band)==null?void 0:g.toUpperCase()},p=b=>b.isGuest?b.band+"_Guest":b.ssid,f=b=>{a.value||(c.value=p(b),_.value=!1,c.value!==u.query.tab&&s.push({query:{tab:c.value}}))},m=E(),h=b=>{a.value||(m.value=p(b))},k=()=>{_.value=!1,m.value!==u.query.tab&&s.push({query:{tab:m.value}})};Nt(()=>_.value,b=>{b?m.value=c.value:c.value=m.value});const x=()=>L(this,null,function*(){try{const{data:b}=yield O.Quickwifi.List.GET(),{error:g,result:y}=b;if(g)throw g;y!=null&&y.ifaces&&(d.value=y.ifaces.map(Y=>bt(lt({},Y),{hidden:Y.hidden||!1,disabled:Y.disabled||!1,isGuest:Y.isGuest||!1,channel:Y.channel||0,txpower:Y.txpower||0,ifaceIndex:Y.ifaceIndex||0})));let F=!1;for(let Y=0;Y0&&f(d.value[0])}catch(b){console.log(b)}});return x(),(b,g)=>(r(),l("div",YY,[t("div",AY,[t("div",SY,[t("div",zY,[(r(!0),l(G,null,et(d.value,y=>(r(),l("div",{key:p(y),class:pt(c.value===p(y)?"tag-item active":"tag-item"),onClick:mt(F=>f(y),["stop"])},n(v(y))+" "+n(y.isGuest?` ${e(i)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+n(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,PY))),128))]),t("div",TY,[IY,t("div",{class:"more-btn",onClick:g[0]||(g[0]=y=>_.value=!0)},OY)])])]),t("div",VY,[t("div",GY,[(r(!0),l(G,null,et(d.value,y=>(r(),l("div",{key:p(y),class:pt(c.value===p(y)?"item activeItem":"item"),onClick:mt(F=>f(y),["stop"])},n(v(y))+" "+n(y.isGuest?` ${e(i)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+n(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,jY))),128))]),t("div",qY,[(r(!0),l(G,null,et(d.value,y=>(r(),l(G,{key:p(y)},[c.value===p(y)?(r(),K(BY,{key:0,data:y,onGetData:x},null,8,["data"])):D("",!0)],64))),128))])]),_.value?(r(),l("div",{key:0,class:"popup-overlay",onClick:g[2]||(g[2]=mt(y=>_.value=!1,["self"]))},[t("div",UY,[t("div",RY,[(r(!0),l(G,null,et(d.value,y=>(r(),l("div",{key:p(y),class:pt(m.value===p(y)?"popup-tag-item active":"popup-tag-item"),onClick:mt(F=>h(y),["stop"])},n(v(y))+" "+n(y.isGuest?` ${e(i)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+n(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,WY))),128))]),t("div",HY,[t("button",{class:"cancel-btn",onClick:g[1]||(g[1]=y=>_.value=!1)},n(e(i)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:k},n(e(i)("\u786E\u5B9A")),1)])])])):D("",!0)]))}});var JY=M(ZY,[["__scopeId","data-v-40cb5302"]]);const KY=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",Ma=oo({history:no(KY()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:o9},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:r9,children:[{path:"",component:O9},{path:"pppoe",component:lv},{path:"dhcp",component:Hv},{path:"gateway",component:Mg}]},{path:"/quickwifi",component:JY},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:sx},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:bx,children:[{path:"",component:vy},{path:"task",component:Ay},{path:"log",component:Ty}]},{path:"/interfaceconfig",component:IF},{path:"/devicemanagement",component:nB}]});Ma.beforeEach((o,i)=>(o.meta.title,!0));const yt=gt(Bo);yt.component("svg-menu",Io);yt.component("svg-system",Go);yt.component("svg-download",Ho);yt.component("svg-store",an);yt.component("svg-info",ln);yt.component("svg-disk",zn);yt.component("svg-nav",Nn);yt.component("progress-item",wa);yt.component("svg-view-show",li);yt.component("svg-view-hidden",bi);yt.component("article-item",wi);yt.component("switch-box",ya);yt.component("editable-select",Jt);yt.use(Fa);yt.use(Ma);yt.use(io());so(yt).finally(()=>yt.mount("#app"))});export default QY(); diff --git a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css index aa716c3785..57d74926eb 100644 --- a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css +++ b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css @@ -1 +1 @@ -@keyframes bganimation-41cbce66{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-41cbce66{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-41cbce66{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-41cbce66]{animation:rotateEnter-41cbce66 .7s;position:relative}.rotate-leave-active[data-v-41cbce66]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-41cbce66]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-41cbce66]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-41cbce66]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-2d97dedc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2d97dedc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2d97dedc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2d97dedc]{animation:rotateEnter-2d97dedc .7s;position:relative}.rotate-leave-active[data-v-2d97dedc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2d97dedc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-2d97dedc]{width:100%}#main[data-v-2d97dedc],#main[data-v-2d97dedc] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}@keyframes bganimation-3ee635ef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ee635ef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ee635ef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ee635ef]{animation:rotateEnter-3ee635ef .7s;position:relative}.rotate-leave-active[data-v-3ee635ef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ee635ef]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-3ee635ef]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-3ee635ef]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-54af3568{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-54af3568{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-54af3568{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-54af3568]{animation:rotateEnter-54af3568 .7s;position:relative}.rotate-leave-active[data-v-54af3568]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-54af3568]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-54af3568]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-54af3568]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-54af3568],label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-54af3568]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-54af3568]{display:none!important}label.checkbox_switch svg[data-v-54af3568]{height:1em;width:2em}article[data-v-995510fc]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-995510fc]{max-width:33.333%}}@keyframes bganimation-995510fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-995510fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-995510fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-995510fc]{animation:rotateEnter-995510fc .7s;position:relative}.rotate-leave-active[data-v-995510fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-995510fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-995510fc]{max-width:50%}}@keyframes bganimation-782f97c0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-782f97c0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-782f97c0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-782f97c0]{animation:rotateEnter-782f97c0 .7s;position:relative}.rotate-leave-active[data-v-782f97c0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-782f97c0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-782f97c0]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-782f97c0]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-782f97c0]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-782f97c0]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-782f97c0] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-782f97c0] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-782f97c0] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-782f97c0]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-782f97c0]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-782f97c0]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-782f97c0]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-782f97c0]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-782f97c0]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-782f97c0]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-782f97c0]{background-color:#439c07}@keyframes bganimation-c446588c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c446588c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c446588c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c446588c]{animation:rotateEnter-c446588c .7s;position:relative}.rotate-leave-active[data-v-c446588c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c446588c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-c446588c]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-c446588c],.select-editable input[data-v-c446588c]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-c446588c]{position:relative;width:100%}.select-editable input[data-v-c446588c]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-c446588c]:focus,.select-editable input[data-v-c446588c]:focus{outline:none;box-shadow:none}@keyframes bganimation-47c6049a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-47c6049a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-47c6049a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-47c6049a]{animation:rotateEnter-47c6049a .7s;position:relative}.rotate-leave-active[data-v-47c6049a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-47c6049a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-47c6049a{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-47c6049a]{animation:turn-47c6049a 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-47c6049a]{width:100%;height:100%}.quick-loading svg path[data-v-47c6049a]{fill:#fff}@keyframes bganimation-0cc5bf50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0cc5bf50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0cc5bf50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0cc5bf50]{animation:rotateEnter-0cc5bf50 .7s;position:relative}.rotate-leave-active[data-v-0cc5bf50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0cc5bf50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-0cc5bf50]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-0cc5bf50]{width:22px;height:22px}a:hover svg path[data-v-0cc5bf50]{fill:#3688ff}@keyframes bganimation-770b811c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-770b811c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-770b811c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-770b811c]{animation:rotateEnter-770b811c .7s;position:relative}.rotate-leave-active[data-v-770b811c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-770b811c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-770b811c]{position:relative;height:460px}.flow .echart[data-v-770b811c]{width:100%;height:100%}.flow .flow-data[data-v-770b811c]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-770b811c]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-770b811c]{height:76.6vw}}@keyframes bganimation-48bf84c6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-48bf84c6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-48bf84c6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-48bf84c6]{animation:rotateEnter-48bf84c6 .7s;position:relative}.rotate-leave-active[data-v-48bf84c6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-48bf84c6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-48bf84c6{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-48bf84c6]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-48bf84c6]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-48bf84c6]{width:100%;height:100%}.toast div.icon svg path[data-v-48bf84c6]{fill:#fff}.toast .loading[data-v-48bf84c6]{animation:turn-48bf84c6 1s steps(12,end) infinite}.toast .message[data-v-48bf84c6]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-a96d68d4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a96d68d4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a96d68d4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a96d68d4]{animation:rotateEnter-a96d68d4 .7s;position:relative}.rotate-leave-active[data-v-a96d68d4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a96d68d4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-a96d68d4]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-a96d68d4]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-a96d68d4],#actioner[data-v-a96d68d4] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-a96d68d4]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-a96d68d4]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-a96d68d4]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-a96d68d4]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-a96d68d4] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-a96d68d4] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-a96d68d4]:hover{opacity:.9}.action-container .action-container_body[data-v-a96d68d4]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}.actioner-dns[data-v-2ac87be2]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2ac87be2]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2ac87be2]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2ac87be2]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2ac87be2]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2ac87be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2ac87be2]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2ac87be2]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2ac87be2],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2ac87be2]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2ac87be2]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2ac87be2]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2ac87be2]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2ac87be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-2ac87be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2ac87be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2ac87be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2ac87be2]{animation:rotateEnter-2ac87be2 .7s;position:relative}.rotate-leave-active[data-v-2ac87be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2ac87be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2ac87be2]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-2ac87be2]{width:100%}}.action[data-v-4ca82311]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-4ca82311]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-4ca82311]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-4ca82311]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-4ca82311]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-4ca82311]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-4ca82311{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4ca82311{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4ca82311{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4ca82311]{animation:rotateEnter-4ca82311 .7s;position:relative}.rotate-leave-active[data-v-4ca82311]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4ca82311]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@keyframes bganimation-17b89cb7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17b89cb7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17b89cb7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17b89cb7]{animation:rotateEnter-17b89cb7 .7s;position:relative}.rotate-leave-active[data-v-17b89cb7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17b89cb7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-17b89cb7]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-17b89cb7]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-17b89cb7]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-17b89cb7]{font-weight:700;font-size:14px}@keyframes bganimation-6f355f28{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f355f28{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f355f28{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f355f28]{animation:rotateEnter-6f355f28 .7s;position:relative}.rotate-leave-active[data-v-6f355f28]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f355f28]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-6f355f28]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-6f355f28]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-6f355f28]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-6f355f28]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-6f355f28]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-6f355f28]:hover{opacity:1;transition:.3s}@keyframes bganimation-2deed63d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2deed63d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2deed63d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2deed63d]{animation:rotateEnter-2deed63d .7s;position:relative}.rotate-leave-active[data-v-2deed63d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2deed63d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-2deed63d]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2deed63d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2deed63d]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2deed63d]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2deed63d]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2deed63d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2deed63d]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2deed63d]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2deed63d],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2deed63d]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2deed63d]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2deed63d]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2deed63d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2deed63d]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-2deed63d]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-2deed63d]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-2deed63d]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-2deed63d]:focus,.actioner-dns .select-editable input[data-v-2deed63d]:focus{outline:none}.actioner-dns[data-v-2deed63d] ::placeholder{color:#999}.successed[data-v-2deed63d]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-2deed63d]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-2deed63d]{text-align:center}.docker_moves .moves[data-v-2deed63d]{margin-top:10px}.docker_moves .moves input[data-v-2deed63d]{cursor:pointer}.docker_moves .moves label[data-v-2deed63d]{margin-left:10px;cursor:pointer}.btns[data-v-2deed63d]{text-align:center}.item_info[data-v-2deed63d]{margin-left:10px}.softsource_tit[data-v-2deed63d]{margin:0 auto}.softsource_successed[data-v-2deed63d]{width:20%!important}@keyframes bganimation-2deed63d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2deed63d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2deed63d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2deed63d]{animation:rotateEnter-2deed63d .7s;position:relative}.rotate-leave-active[data-v-2deed63d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2deed63d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2deed63d]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-2deed63d]{width:100%}}@keyframes bganimation-51765cb0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-51765cb0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-51765cb0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-51765cb0]{animation:rotateEnter-51765cb0 .7s;position:relative}.rotate-leave-active[data-v-51765cb0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-51765cb0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-51765cb0]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-51765cb0]{width:100%;background-color:var(--card-bg-color);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-51765cb0]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-51765cb0]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-51765cb0]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-51765cb0]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-51765cb0]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-51765cb0]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-51765cb0]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-51765cb0]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-51765cb0]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-51765cb0]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-51765cb0]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-51765cb0]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-51765cb0]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-51765cb0]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-51765cb0]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-51765cb0]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-51765cb0]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-51765cb0]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-51765cb0]{display:block;color:var(--app-container_status-label_block);margin:10px 0 8px}.app-container_status-container_body[data-v-51765cb0]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-51765cb0]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-51765cb0]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-51765cb0]{width:50px;height:50px}.app-container_status-container_body span[data-v-51765cb0]{width:100%;margin:5px 0}.menu_background[data-v-51765cb0]{position:fixed;inset:0}.app-container_body[data-v-51765cb0]{width:100%}.network-container[data-v-2d777a95]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-2d777a95]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-2d777a95]{border-radius:6px;overflow:hidden;position:relative;background-color:var(--flow-bg-color);box-shadow:var(--card-box-shadow)}.network-container .network-container_status[data-v-2d777a95]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-2d777a95{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2d777a95{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2d777a95{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2d777a95]{animation:rotateEnter-2d777a95 .7s;position:relative}.rotate-leave-active[data-v-2d777a95]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2d777a95]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-2d777a95]{width:100%}.network-container .network-container_flow[data-v-2d777a95]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-2d777a95]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-3dae3be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-3dae3be2]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-3dae3be2]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-3dae3be2]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-3dae3be2]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-3dae3be2]{flex:auto}.action.format .disk-list[data-v-3dae3be2]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-3dae3be2]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-3dae3be2]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-3dae3be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-3dae3be2]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-3dae3be2]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-3dae3be2],.action.format .label-item .label-item_value input[data-v-3dae3be2]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-3dae3be2]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-3dae3be2]{flex:auto}.action.format p.msg[data-v-3dae3be2]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-3dae3be2]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-3dae3be2]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-3dae3be2]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-3dae3be2]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-3dae3be2]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-3dae3be2]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-3dae3be2]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-3dae3be2]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-3dae3be2]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-3dae3be2]{color:#0000fb}.action.result .btns[data-v-3dae3be2]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-3dae3be2]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-3dae3be2]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-3dae3be2]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-3dae3be2]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-3dae3be2]{width:100%}}.action .action-footer button[data-v-5f5fb500]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-5f5fb500]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-5f5fb500]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-5f5fb500]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-5f5fb500]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-5f5fb500]{flex:auto}.action.format .disk-list[data-v-5f5fb500]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-5f5fb500]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-5f5fb500]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-5f5fb500]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-5f5fb500]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-5f5fb500]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-5f5fb500],.action.format .label-item .label-item_value input[data-v-5f5fb500]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-5f5fb500]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-5f5fb500]{flex:auto}.action.format p.msg[data-v-5f5fb500]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-5f5fb500]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-5f5fb500]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-5f5fb500]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-5f5fb500]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-5f5fb500]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-5f5fb500]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-5f5fb500]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-5f5fb500]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-5f5fb500]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-5f5fb500]{color:#0000fb}.action.result .btns[data-v-5f5fb500]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-4e7285ca]{color:red}.disk-content[data-v-4e7285ca]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-4e7285ca]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-4e7285ca]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-4e7285ca]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-4e7285ca]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-4e7285ca]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-4e7285ca]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-4e7285ca]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-4e7285ca]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-4e7285ca]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-4e7285ca]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-4e7285ca]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-4e7285ca]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-4e7285ca]{display:flex;align-items:center}.disk_infoicon[data-v-4e7285ca]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-4e7285ca]{flex:none}.tooltip-trigger[data-v-4e7285ca]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-4e7285ca]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-4e7285ca]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-4e7285ca]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-4e7285ca]{visibility:visible;opacity:1}.tooltip-top[data-v-4e7285ca]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-4e7285ca]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-4e7285ca]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-4e7285ca]{display:block}.disk-content .disk_status[data-v-4e7285ca]{flex-wrap:wrap}}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-56d0d562]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-56d0d562]{overflow:auto}.action ul .app-container_info[data-v-56d0d562]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-56d0d562]{width:100%;height:100%}.action .action-footer[data-v-56d0d562]{text-align:center;margin-top:46px}.action .action-footer button[data-v-56d0d562]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-56d0d562]{width:160%}}@media screen and (max-width: 800px){.action[data-v-56d0d562]{width:138%}}@media screen and (max-width: 700px){.action[data-v-56d0d562]{width:132%}}@media screen and (max-width: 600px){.action[data-v-56d0d562]{width:116%}}@media screen and (max-width: 500px){.action[data-v-56d0d562]{width:100%}}@media screen and (max-width: 400px){.action[data-v-56d0d562]{width:90%}}@media screen and (max-width: 300px){.action[data-v-56d0d562]{width:100%}}@keyframes bganimation-5e9b583e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5e9b583e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5e9b583e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5e9b583e]{animation:rotateEnter-5e9b583e .7s;position:relative}.rotate-leave-active[data-v-5e9b583e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5e9b583e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-5e9b583e]{color:red}li.disk-item[data-v-5e9b583e]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-5e9b583e]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-5e9b583e]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-5e9b583e]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-5e9b583e]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-5e9b583e]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-5e9b583e]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-5e9b583e]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-5e9b583e]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-5e9b583e]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-5e9b583e]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-5e9b583e]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-5e9b583e]{flex:none;cursor:help}.tooltip-trigger[data-v-5e9b583e]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-5e9b583e]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-5e9b583e]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-5e9b583e]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-5e9b583e]{visibility:visible;opacity:1}.tooltip-top[data-v-5e9b583e]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-5e9b583e]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-5e9b583e]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-2b8c3ff1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b8c3ff1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b8c3ff1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b8c3ff1]{animation:rotateEnter-2b8c3ff1 .7s;position:relative}.rotate-leave-active[data-v-2b8c3ff1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b8c3ff1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-2b8c3ff1]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-2b8c3ff1]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-2b8c3ff1]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-2b8c3ff1]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-2b8c3ff1] svg path{fill:var(--item_btn-color)}.app-container ul .app-container_title .DeviceBlock[data-v-2b8c3ff1]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-2b8c3ff1]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-2b8c3ff1]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-2b8c3ff1]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-2b8c3ff1]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-2b8c3ff1]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-2b8c3ff1]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-2b8c3ff1]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:1var --item_btn-border;border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-2b8c3ff1] svg path{fill:var(--item_btn-color)}.app-container ul .disk_loading_icon[data-v-2b8c3ff1]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-2b8c3ff1]{margin-top:5px}.refresh[data-v-2b8c3ff1]{margin-left:20px}.app-container_info[data-v-2b8c3ff1]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-2b8c3ff1]{width:100%;height:100%}.menu_background[data-v-2b8c3ff1]{position:fixed;inset:0}@keyframes bganimation-8166802a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8166802a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8166802a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8166802a]{animation:rotateEnter-8166802a .7s;position:relative}.rotate-leave-active[data-v-8166802a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8166802a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-8166802a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-8166802a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-8166802a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-8166802a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-8166802a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-8166802a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-8166802a]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-8166802a]:hover{opacity:.7}.tit[data-v-8166802a]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-45def11c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45def11c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45def11c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45def11c]{animation:rotateEnter-45def11c .7s;position:relative}.rotate-leave-active[data-v-45def11c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45def11c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-45def11c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-45def11c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-45def11c]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-0bd83418{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0bd83418{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0bd83418{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0bd83418]{animation:rotateEnter-0bd83418 .7s;position:relative}.rotate-leave-active[data-v-0bd83418]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0bd83418]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-0bd83418]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-0bd83418]{flex:auto}ul.disk-item .disk-item_icon[data-v-0bd83418]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-0bd83418]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-0bd83418]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-0bd83418]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-0bd83418]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-0bd83418]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-0bd83418],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-0bd83418]{width:100%}ul.disk-item li.disk-info.on[data-v-0bd83418]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-0bd83418]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-0bd83418]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-0bd83418]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-0bd83418]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-0bd83418]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-0bd83418]{border-left:3px solid #ff9c08;background-color:#ecf5ff}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-b222ef5e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-b222ef5e]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.list .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.format .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b222ef5e]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b222ef5e]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b222ef5e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b222ef5e]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b222ef5e]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b222ef5e],.action.format .label-item .label-item_value input[data-v-b222ef5e]{width:100%;height:36px}.action.format .auto[data-v-b222ef5e]{flex:auto}.action.format p.msg[data-v-b222ef5e]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b222ef5e]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b222ef5e]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b222ef5e]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b222ef5e]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-b222ef5e]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-b222ef5e]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-b222ef5e]{color:#f70324}.action.result .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-b222ef5e]{flex:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-b222ef5e]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-b222ef5e]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-b222ef5e]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-b222ef5e]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-b222ef5e]{width:80%}}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-45926ac6]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-45926ac6]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-45926ac6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-45926ac6]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-45926ac6]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-45926ac6]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@keyframes bganimation-2b3974a4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b3974a4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b3974a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b3974a4]{animation:rotateEnter-2b3974a4 .7s;position:relative}.rotate-leave-active[data-v-2b3974a4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b3974a4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2b3974a4]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2b3974a4]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2b3974a4]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2b3974a4]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2b3974a4]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2b3974a4]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2b3974a4]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2b3974a4],.action .action-body .label-item .label-item_value input[data-v-2b3974a4]{width:100%;height:36px}.action .action-footer[data-v-2b3974a4]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2b3974a4]{flex:auto}.action .action-footer button[data-v-2b3974a4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-88275da0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-88275da0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-88275da0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-88275da0]{animation:rotateEnter-88275da0 .7s;position:relative}.rotate-leave-active[data-v-88275da0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-88275da0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-88275da0]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-88275da0]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-88275da0]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-88275da0]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-88275da0]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-88275da0]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-88275da0]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-88275da0]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-88275da0]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-88275da0],.action .action-body .label-item .label-item_value input[data-v-88275da0]{width:100%;height:36px}.action .action-body .samba-item[data-v-88275da0]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-88275da0]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-88275da0]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-88275da0]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-88275da0]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-88275da0]{margin-left:10px}.action .action-footer[data-v-88275da0]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-88275da0]{flex:auto}.action .action-footer button[data-v-88275da0]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3f686017]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-3f686017]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-3f686017]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-3f686017]{width:100%;display:block;padding:2rem 0}.action form label[data-v-3f686017]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-3f686017],.action form label select[data-v-3f686017]{width:100%;display:block;height:42px}.action .btns[data-v-3f686017]{width:100%;margin-top:3rem}.action .btns button[data-v-3f686017]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-3f686017]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-3f686017]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-3f686017]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-3f686017],.action li.disk-item .disk-item_f .disk-item_used[data-v-3f686017]{width:100%}.action .tips[data-v-3f686017]{float:right;font-size:.8em}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-3f686017]{font-size:2em}}@keyframes bganimation-8b8d01c2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8b8d01c2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8b8d01c2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8b8d01c2]{animation:rotateEnter-8b8d01c2 .7s;position:relative}.rotate-leave-active[data-v-8b8d01c2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8b8d01c2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-8b8d01c2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-8b8d01c2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-8b8d01c2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-8b8d01c2]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-8b8d01c2]{cursor:pointer}a[data-v-8b8d01c2]{text-decoration:none;color:#297ff3}@keyframes bganimation-008c9ca2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-008c9ca2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-008c9ca2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-008c9ca2]{animation:rotateEnter-008c9ca2 .7s;position:relative}.rotate-leave-active[data-v-008c9ca2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-008c9ca2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-008c9ca2]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-008c9ca2]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-008c9ca2]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-008c9ca2]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-008c9ca2]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-008c9ca2] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-008c9ca2]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-008c9ca2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-008c9ca2]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-008c9ca2]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-008c9ca2]:hover{background-color:#eee}.app-container .app-container_title button[data-v-008c9ca2]{margin-left:10px}.app-container .app-container_body[data-v-008c9ca2]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-008c9ca2]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-008c9ca2]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-008c9ca2],.app-container ul.app-container_nas-menu button[data-v-008c9ca2]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-008c9ca2]{position:fixed;inset:0}@keyframes bganimation-b0e9cad0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b0e9cad0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b0e9cad0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b0e9cad0]{animation:rotateEnter-b0e9cad0 .7s;position:relative}.rotate-leave-active[data-v-b0e9cad0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b0e9cad0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-b0e9cad0]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-b0e9cad0]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-b0e9cad0]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-b0e9cad0]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-b0e9cad0]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-b0e9cad0]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-b0e9cad0]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-b0e9cad0]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-b0e9cad0]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-b0e9cad0]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-b0e9cad0]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-b0e9cad0]{visibility:visible;opacity:1}.tooltip-top[data-v-b0e9cad0]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-b0e9cad0]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-b0e9cad0]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-b0e9cad0]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-b0e9cad0]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-b0e9cad0]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-b0e9cad0]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-b0e9cad0]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-b0e9cad0]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-b0e9cad0]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-b0e9cad0]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-b0e9cad0]{transform:translate(0);transition:.3s}@keyframes bganimation-81932f72{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-81932f72{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-81932f72{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-81932f72]{animation:rotateEnter-81932f72 .7s;position:relative}.rotate-leave-active[data-v-81932f72]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-81932f72]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-81932f72]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-81932f72]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-81932f72]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-81932f72]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-81932f72]{display:flex;justify-content:left;align-items:center}.action .change[data-v-81932f72]{width:678px}.action .desc[data-v-81932f72]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-81932f72]{width:100%;display:block}.action .tips[data-v-81932f72]{width:477px}.action .tips .tip[data-v-81932f72]{color:#faad14;padding-left:6px}.action .btns[data-v-81932f72]{width:100%;margin:104px auto 0}.action .btns button[data-v-81932f72]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-81932f72]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-81932f72]{text-align:center;font-size:14px}.action .finished[data-v-81932f72]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-81932f72]{text-align:center}.action .docker_moves .moves[data-v-81932f72]{margin-top:10px}.action .docker_moves .moves input[data-v-81932f72]{cursor:pointer}.action .docker_moves .moves label[data-v-81932f72]{margin-left:10px;cursor:pointer}.select-editable[data-v-81932f72]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-81932f72]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-81932f72]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-81932f72]:focus,.select-editable input[data-v-81932f72]:focus{outline:none}[data-v-81932f72]::placeholder{color:#999}@keyframes bganimation-81932f72{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-81932f72{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-81932f72{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-81932f72]{animation:rotateEnter-81932f72 .7s;position:relative}.rotate-leave-active[data-v-81932f72]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-81932f72]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-81932f72]{width:100%}.docker_download[data-v-81932f72]{width:80%}}@keyframes bganimation-3b60633e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b60633e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b60633e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b60633e]{animation:rotateEnter-3b60633e .7s;position:relative}.rotate-leave-active[data-v-3b60633e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b60633e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-3b60633e]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-3b60633e]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-3b60633e]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-3b60633e]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b60633e]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b60633e] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-3b60633e]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-3b60633e]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-3b60633e]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-3b60633e]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-3b60633e]:hover{background-color:#eee}.app-container button[data-v-3b60633e],.app-container .refresh[data-v-3b60633e]{margin-left:20px}.app-container .app-container_body[data-v-3b60633e]{width:100%;height:100%}.app-container .loading_placeholder[data-v-3b60633e]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-3b60633e]{position:fixed;inset:0}@keyframes bganimation-4d31c3c4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4d31c3c4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4d31c3c4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4d31c3c4]{animation:rotateEnter-4d31c3c4 .7s;position:relative}.rotate-leave-active[data-v-4d31c3c4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4d31c3c4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-4d31c3c4]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-4d31c3c4]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-4d31c3c4]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-4d31c3c4]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-4d31c3c4]{color:#888}.use-url_app[data-v-4d31c3c4]{padding-bottom:14px}.use-url_app a[data-v-4d31c3c4]{text-decoration:none;color:#297ff3}@keyframes bganimation-44bc5d56{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-44bc5d56{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-44bc5d56{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-44bc5d56]{animation:rotateEnter-44bc5d56 .7s;position:relative}.rotate-leave-active[data-v-44bc5d56]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-44bc5d56]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-44bc5d56]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-44bc5d56]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-44bc5d56]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-44bc5d56]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-44bc5d56]{color:#888}a[data-v-44bc5d56]{text-decoration:none;color:#297ff3}@keyframes bganimation-ab5c1db0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ab5c1db0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ab5c1db0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ab5c1db0]{animation:rotateEnter-ab5c1db0 .7s;position:relative}.rotate-leave-active[data-v-ab5c1db0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ab5c1db0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-ab5c1db0]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-ab5c1db0]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-ab5c1db0]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-ab5c1db0]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-ab5c1db0]{color:#888}a[data-v-ab5c1db0]{text-decoration:none;color:#297ff3}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-395b81d2]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-395b81d2]{color:#999;font-size:14px}.action input[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-395b81d2]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-395b81d2]{width:100%}.action form label input[data-v-395b81d2],.action form label select[data-v-395b81d2]{height:100%;font-size:14px}.action .myinput_wrap[data-v-395b81d2],.action .RPC_input[data-v-395b81d2]{width:85%}.action .myinput_wrap textarea[data-v-395b81d2]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-395b81d2]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-395b81d2]{margin-right:10px}.action .input_row .radios input[data-v-395b81d2],.action .input_row .radios label[data-v-395b81d2]{cursor:pointer}.action .Tracker label[data-v-395b81d2]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-395b81d2]{padding:6px 2px}.action .btns[data-v-395b81d2]{width:100%;margin:42px auto 0}.action .btns button[data-v-395b81d2]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-395b81d2]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-395b81d2]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-395b81d2]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-395b81d2]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-395b81d2]{visibility:visible;opacity:1}.action .tooltip-top[data-v-395b81d2]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-395b81d2]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-395b81d2]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-395b81d2]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-395b81d2]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-395b81d2]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-395b81d2]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-395b81d2]{text-align:center;font-size:14px}.action .finished[data-v-395b81d2]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-395b81d2]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-395b81d2]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-395b81d2]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-395b81d2]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-395b81d2]:focus,.select-editable input[data-v-395b81d2]:focus{outline:none}[data-v-395b81d2]::placeholder{color:#999}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-395b81d2]{width:100%}.action .input_row[data-v-395b81d2]{display:block}.action .input_row .myinput_wrap[data-v-395b81d2],.action .input_row .RPC_input[data-v-395b81d2]{width:100%}}@keyframes bganimation-17fab0f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17fab0f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17fab0f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17fab0f2]{animation:rotateEnter-17fab0f2 .7s;position:relative}.rotate-leave-active[data-v-17fab0f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17fab0f2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-17fab0f2]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-17fab0f2]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-17fab0f2]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-17fab0f2]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-17fab0f2]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-17fab0f2] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-17fab0f2]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-17fab0f2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-17fab0f2]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-17fab0f2]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-17fab0f2]:hover{background-color:#eee}.app-container .app-container_title button[data-v-17fab0f2]{margin-left:10px}.app-container .app-container_body[data-v-17fab0f2]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-17fab0f2]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-17fab0f2]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-17fab0f2],.app-container ul.app-container_nas-menu button[data-v-17fab0f2]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-17fab0f2]{position:fixed;inset:0}@keyframes bganimation-73552138{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-73552138{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-73552138{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-73552138]{animation:rotateEnter-73552138 .7s;position:relative}.rotate-leave-active[data-v-73552138]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-73552138]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-73552138]{text-align:center;margin-bottom:20px}.label-item[data-v-73552138]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-73552138]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-73552138]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-73552138]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b9ee57da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b9ee57da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b9ee57da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b9ee57da]{animation:rotateEnter-b9ee57da .7s;position:relative}.rotate-leave-active[data-v-b9ee57da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b9ee57da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b9ee57da]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b9ee57da]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b9ee57da]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{text-align:center}.actioner-container_body .body-info[data-v-b9ee57da]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b9ee57da]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b9ee57da]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-aefb6fdc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aefb6fdc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-aefb6fdc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-aefb6fdc]{animation:rotateEnter-aefb6fdc .7s;position:relative}.rotate-leave-active[data-v-aefb6fdc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aefb6fdc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-aefb6fdc]{width:100%;height:100%;border:none}@keyframes bganimation-0e2b47e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0e2b47e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0e2b47e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0e2b47e6]{animation:rotateEnter-0e2b47e6 .7s;position:relative}.rotate-leave-active[data-v-0e2b47e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0e2b47e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-0e2b47e6]{width:100%;height:100%;border:none}@keyframes bganimation-29e2aec8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-29e2aec8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-29e2aec8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-29e2aec8]{animation:rotateEnter-29e2aec8 .7s;position:relative}.rotate-leave-active[data-v-29e2aec8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-29e2aec8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-29e2aec8]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-29e2aec8]{width:100px;height:100px}.actioner-container_body .body-title[data-v-29e2aec8]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-29e2aec8]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-29e2aec8]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-29e2aec8]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-29e2aec8]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-169b4450{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169b4450{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169b4450{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169b4450]{animation:rotateEnter-169b4450 .7s;position:relative}.rotate-leave-active[data-v-169b4450]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169b4450]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-169b4450]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-6590a3fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6590a3fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6590a3fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6590a3fa]{animation:rotateEnter-6590a3fa .7s;position:relative}.rotate-leave-active[data-v-6590a3fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6590a3fa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-6590a3fa]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-3b80943c]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-3b80943c] .actioner-container{width:100%}.action-main[data-v-3b80943c] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-3b80943c]{width:90%}}@keyframes bganimation-145a3c50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-145a3c50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-145a3c50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-145a3c50]{animation:rotateEnter-145a3c50 .7s;position:relative}.rotate-leave-active[data-v-145a3c50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-145a3c50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-145a3c50]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-145a3c50]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-145a3c50]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-145a3c50]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-145a3c50]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-145a3c50]:hover{opacity:.8}.action .clear[data-v-145a3c50]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-145a3c50]:hover{opacity:.8}@keyframes bganimation-2c659599{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c659599{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c659599{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c659599]{animation:rotateEnter-2c659599 .7s;position:relative}.rotate-leave-active[data-v-2c659599]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c659599]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-2c659599]{display:block;width:100%;text-align:center}.title_info p[data-v-2c659599]{font-size:20px;margin-bottom:10px}.label-item[data-v-2c659599]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-2c659599]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-2c659599]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-2c659599]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-2c659599]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-2c659599],.label-item .label-item_value input[data-v-2c659599]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-2c659599]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-2c659599]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-2c659599]{margin-left:8px}.label-message[data-v-2c659599]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-8a1e6470]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-8a1e6470] .actioner-container{width:100%}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.ali,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-8a1e6470]{width:90%}}@keyframes bganimation-c59010b0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c59010b0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c59010b0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c59010b0]{animation:rotateEnter-c59010b0 .7s;position:relative}.rotate-leave-active[data-v-c59010b0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c59010b0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-c59010b0]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-c59010b0]{text-decoration:none}.app-container .app-container_title[data-v-c59010b0]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-c59010b0]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-c59010b0]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-c59010b0]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-c59010b0] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-c59010b0]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-c59010b0]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-c59010b0]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-c59010b0]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-c59010b0]:hover{background-color:#eee}.app-container button[data-v-c59010b0],.app-container .refresh[data-v-c59010b0]{margin-left:20px}.app-container .app-container_body[data-v-c59010b0]{width:100%;height:100%}.menu_background[data-v-c59010b0]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-c59010b0]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-c59010b0]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-c59010b0]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-c59010b0]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-c59010b0]{border:var(--item_btn-border);border-radius:4px;font-size:12px;padding:7px;color:var(--item_btn-color);text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-c59010b0]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-c59010b0]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-c59010b0]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-c59010b0]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-c59010b0]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-c59010b0]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-c59010b0]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-c59010b0]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-c59010b0]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-c59010b0]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-c59010b0]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-c59010b0]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-c59010b0]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-a221efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a221efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a221efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a221efb4]{animation:rotateEnter-a221efb4 .7s;position:relative}.rotate-leave-active[data-v-a221efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a221efb4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-a221efb4]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-a221efb4]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-a221efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a221efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a221efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a221efb4]{animation:rotateEnter-a221efb4 .7s;position:relative}.rotate-leave-active[data-v-a221efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a221efb4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-a221efb4]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-2baf3f98{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2baf3f98{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2baf3f98{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2baf3f98]{animation:rotateEnter-2baf3f98 .7s;position:relative}.rotate-leave-active[data-v-2baf3f98]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2baf3f98]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-2baf3f98]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-2baf3f98]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-2baf3f98]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-2baf3f98]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-2baf3f98]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-2baf3f98]:hover{background-color:#eee}.item-label[data-v-2baf3f98]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-2baf3f98]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-2baf3f98]{font-size:14px;color:var(--item-label_key-span-color)}.item-label .item-label_value[data-v-2baf3f98]{flex:1;text-align:left}.item-label .item-label_value span[data-v-2baf3f98]{font-size:14px;color:var(--item-label_value-span-color)}.item-title span[data-v-2baf3f98]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-2baf3f98]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-2baf3f98]{flex:auto}.item-flex button.app-editor[data-v-2baf3f98]{padding:8px 1.3rem}.menu_background[data-v-2baf3f98]{position:fixed;inset:0}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0d919a1e]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-0d919a1e]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-0d919a1e]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0d919a1e]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0d919a1e]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0d919a1e],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0d919a1e]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-0d919a1e]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-0d919a1e]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-0d919a1e]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-0d919a1e]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-0d919a1e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-0d919a1e]{text-align:center}.setting_status p[data-v-0d919a1e]{margin:10px 0}.setting_status a[data-v-0d919a1e]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-0d919a1e]{margin-top:10px}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-0d919a1e]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-0d919a1e]{width:100%}}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-59ad49e6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-59ad49e6]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-59ad49e6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-59ad49e6]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-59ad49e6]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-59ad49e6]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-59ad49e6]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-59ad49e6]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-59ad49e6]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-59ad49e6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-59ad49e6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-59ad49e6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-59ad49e6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-59ad49e6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-59ad49e6]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-59ad49e6]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-59ad49e6]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-59ad49e6]{margin-top:114px}.timeout span[data-v-59ad49e6],.sandbox_roboot_refresh[data-v-59ad49e6]{color:#5e72e4}option[data-v-59ad49e6]:disabled{background-color:#e0e0e0}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-59ad49e6]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-59ad49e6]{min-height:42vh}.actioner-tips[data-v-59ad49e6]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:3px 10px}}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3e084f0f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-3e084f0f]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-3e084f0f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-3e084f0f]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-3e084f0f]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-3e084f0f]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-3e084f0f]{margin-top:114px}.timeout span[data-v-3e084f0f]{color:#5e72e4}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-3e084f0f]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-3e084f0f]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-3e084f0f]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:12px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:3px 10px}}@keyframes bganimation-501131da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-501131da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-501131da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-501131da]{animation:rotateEnter-501131da .7s;position:relative}.rotate-leave-active[data-v-501131da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-501131da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-501131da]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-501131da]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button-combind[data-v-501131da]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;position:relative;padding:0}.nav-container .app-update-button-combind .app-update-button[data-v-501131da]{flex:auto;display:flex;align-items:center;height:100%}.nav-container .app-update-button-combind .app-update-button .app-update-button-text[data-v-501131da]{flex:auto}.nav-container .app-update-button-combind .app-update-button .app-update-button-text i[data-v-501131da]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .app-update-button-combind .app-update-button-more[data-v-501131da]{display:inline-flex;width:28px;border-left:solid 1px;align-items:center;justify-content:center;flex-wrap:nowrap;height:100%}.nav-container .app-update-button-combind .app-update-button-more[data-v-501131da] svg path{color:inherit!important;fill:currentColor}.nav-container .app-update-button-combind .app-update-button-menu[data-v-501131da]{position:absolute;z-index:999;width:30%;right:0;top:100%}.nav-container .app-update-button-combind .app-update-button-menu ul[data-v-501131da]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.nav-container .app-update-button-combind .app-update-button-menu ul li[data-v-501131da]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item[data-v-501131da]{padding:5px 2px;white-space:nowrap}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item-loading[data-v-501131da]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}.nav-container .cover-buttob[data-v-501131da]{margin-left:0;margin-right:5px}.nav-container a[data-v-501131da]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-501131da]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-501131da]:before{content:"\276f "}.nav-container .MoreMenu[data-v-501131da]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-501131da]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-501131da]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-501131da]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-501131da]{visibility:hidden}.color1[data-v-501131da]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-501131da]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-501131da]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-501131da]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-501131da]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}.menu_background[data-v-501131da]{position:fixed;inset:0}@keyframes bganimation-21b135fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-21b135fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-21b135fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-21b135fc]{animation:rotateEnter-21b135fc .7s;position:relative}.rotate-leave-active[data-v-21b135fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-21b135fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-21b135fc]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-21b135fc] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:var(--app-container_title-color);font-size:1.5em}[data-v-21b135fc] .more_icon{z-index:0}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0b149a51]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-0b149a51]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-0b149a51]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-0b149a51]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-0b149a51]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-0b149a51]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-0b149a51]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-0b149a51]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-0b149a51]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-0b149a51]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-0b149a51]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-0b149a51]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-0b149a51]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-0b149a51]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-0b149a51]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-0b149a51]{background-color:#439c07}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-f442676c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f442676c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f442676c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f442676c]{animation:rotateEnter-f442676c .7s;position:relative}.rotate-leave-active[data-v-f442676c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f442676c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-f442676c]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-f442676c]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-f442676c]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-f442676c]{margin:.5rem 0}#page .network-message li[data-v-f442676c]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-f442676c]{color:red}#page .network-message li a[data-v-f442676c]{color:#00f}#page form[data-v-f442676c]{display:block;width:100%;margin:3rem 0}#page form label[data-v-f442676c]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-f442676c]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-f442676c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-f442676c]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-f442676c]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-f442676c]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-f442676c]{margin-left:10px;user-select:none}#page .msg[data-v-f442676c]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-f442676c]{width:100%;margin-top:3rem}#page .btns button[data-v-f442676c]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-162eca5f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-162eca5f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-162eca5f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-162eca5f]{animation:rotateEnter-162eca5f .7s;position:relative}.rotate-leave-active[data-v-162eca5f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-162eca5f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-162eca5f]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-162eca5f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-162eca5f]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-162eca5f]{margin:.5rem 0}#page .network-message li[data-v-162eca5f]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-162eca5f]{color:red}#page .network-message li a[data-v-162eca5f]{color:#00f}#page form[data-v-162eca5f]{display:block;width:100%;margin:3rem 0}#page form label[data-v-162eca5f]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-162eca5f]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-162eca5f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-162eca5f]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-162eca5f],#page form label select[data-v-162eca5f]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-162eca5f]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-162eca5f]{margin-left:10px;user-select:none}#page .msgs[data-v-162eca5f]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-162eca5f]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-162eca5f]{width:100%;margin-top:3rem}#page .btns button[data-v-162eca5f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-2dee59a8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2dee59a8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2dee59a8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2dee59a8]{animation:rotateEnter-2dee59a8 .7s;position:relative}.rotate-leave-active[data-v-2dee59a8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2dee59a8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-2dee59a8]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-2dee59a8]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-2dee59a8]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-2dee59a8]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-2dee59a8]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-2dee59a8]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-2dee59a8]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-2dee59a8]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-2dee59a8]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-2dee59a8]{display:block;width:100%;margin:3rem 0}#page form label[data-v-2dee59a8]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-2dee59a8]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-2dee59a8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-2dee59a8]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-2dee59a8],#page form label select[data-v-2dee59a8]{width:100%;display:block;height:42px}.switch_inline[data-v-2dee59a8]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-2dee59a8]{margin-left:10px;user-select:none}@keyframes bganimation-77451104{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77451104{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77451104{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77451104]{animation:rotateEnter-77451104 .7s;position:relative}.rotate-leave-active[data-v-77451104]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77451104]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-77451104]{line-height:22px;font-size:14px}.label-item[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77451104]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77451104]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77451104]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-77451104],.label-item .label-item_value input[data-v-77451104]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-77451104]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-77451104]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-77451104]{top:0}.label-item .label-item_tips[data-v-77451104]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77451104]{vertical-align:top}span.msg-warning[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-77451104]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-77451104]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-77451104]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-77451104]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-77451104]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-77451104]{display:block}.actioner-container_body.setup-success .body-tips[data-v-77451104]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-77451104]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-77451104]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5ec616d8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ec616d8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ec616d8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ec616d8]{animation:rotateEnter-5ec616d8 .7s;position:relative}.rotate-leave-active[data-v-5ec616d8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ec616d8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-5ec616d8]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-70cb932e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70cb932e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70cb932e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70cb932e]{animation:rotateEnter-70cb932e .7s;position:relative}.rotate-leave-active[data-v-70cb932e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70cb932e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-70cb932e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-70cb932e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-70cb932e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-70cb932e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-70cb932e]{width:100%}.label-item .label-item_value select[data-v-70cb932e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-70cb932e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-70cb932e]{top:0;margin:0}.label-item .label-item_tips[data-v-70cb932e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-70cb932e]{vertical-align:top}span.msg-warning[data-v-70cb932e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-56c0f6fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56c0f6fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56c0f6fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56c0f6fb]{animation:rotateEnter-56c0f6fb .7s;position:relative}.rotate-leave-active[data-v-56c0f6fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56c0f6fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-56c0f6fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-56c0f6fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-56c0f6fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-56c0f6fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-56c0f6fb]{width:100%}.label-item .label-item_value select[data-v-56c0f6fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-56c0f6fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-56c0f6fb]{top:0;margin:0}.label-item .label-item_tips[data-v-56c0f6fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-56c0f6fb]{vertical-align:top}span.msg-warning[data-v-56c0f6fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-0586260e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0586260e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0586260e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0586260e]{animation:rotateEnter-0586260e .7s;position:relative}.rotate-leave-active[data-v-0586260e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0586260e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-0586260e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-0586260e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-0586260e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-0586260e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-0586260e]{width:100%}.label-item .label-item_value select[data-v-0586260e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-0586260e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-0586260e]{top:0;margin:0}.label-item .label-item_tips[data-v-0586260e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-0586260e]{vertical-align:top}span.msg-warning[data-v-0586260e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-e20ba082]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-e20ba082] .actioner-container{width:100%}.action-main[data-v-e20ba082] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-e20ba082] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-e20ba082]{width:90%}}@keyframes bganimation-f1411b40{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f1411b40{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f1411b40{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f1411b40]{animation:rotateEnter-f1411b40 .7s;position:relative}.rotate-leave-active[data-v-f1411b40]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f1411b40]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-f1411b40]{margin-bottom:32px}.item-status[data-v-f1411b40]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-f1411b40]{text-decoration:underline;cursor:help}@keyframes bganimation-2b6b4ef9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b6b4ef9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b6b4ef9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b6b4ef9]{animation:rotateEnter-2b6b4ef9 .7s;position:relative}.rotate-leave-active[data-v-2b6b4ef9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b6b4ef9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2b6b4ef9]{margin-bottom:1rem}#page[data-v-2b6b4ef9] .cbi-section{padding:1rem}#page[data-v-2b6b4ef9] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-f3b0d6f0]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-f3b0d6f0] .actioner-container{width:100%}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-f3b0d6f0]{width:90%}}@keyframes bganimation-abf07ee0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-abf07ee0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-abf07ee0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-abf07ee0]{animation:rotateEnter-abf07ee0 .7s;position:relative}.rotate-leave-active[data-v-abf07ee0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-abf07ee0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-abf07ee0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-4a646cde{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a646cde{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a646cde{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a646cde]{animation:rotateEnter-4a646cde .7s;position:relative}.rotate-leave-active[data-v-4a646cde]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a646cde]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-4a646cde]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-997c3dee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-997c3dee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-997c3dee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-997c3dee]{animation:rotateEnter-997c3dee .7s;position:relative}.rotate-leave-active[data-v-997c3dee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-997c3dee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-997c3dee]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-6f6071af]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-6f6071af]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-6f6071af]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-6f6071af]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-6f6071af]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-6f6071af],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-6f6071af]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-6f6071af]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-6f6071af]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-6f6071af]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-6f6071af]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-6f6071af]{width:100%}}@keyframes bganimation-4ec945e0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4ec945e0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4ec945e0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4ec945e0]{animation:rotateEnter-4ec945e0 .7s;position:relative}.rotate-leave-active[data-v-4ec945e0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4ec945e0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 170px;height:80px;justify-content:start}[data-v-4ec945e0] .interface-device-flex{justify-content:start}.container[data-v-4ec945e0]{width:100%;overflow-x:auto}.container .table-wrapper[data-v-4ec945e0]{min-width:1280px;width:max-content}.container .table-wrapper .table-body[data-v-4ec945e0]{display:flex;flex-direction:column;min-width:100%}.container .table-wrapper .table-header[data-v-4ec945e0]{display:flex;border-bottom:2px solid #e5e7eb;background-color:#f8fafc;padding-left:10px}.container .table-wrapper .table-row[data-v-4ec945e0]{display:flex;min-width:100%;align-items:center;border-bottom:1px solid #e5e7eb;transition:background-color .2s}.container .table-wrapper .table-row[data-v-4ec945e0]:hover{background-color:#f3f4f6}.container .table-wrapper .add-row[data-v-4ec945e0]{cursor:pointer}.container .table-wrapper .add-row[data-v-4ec945e0]:hover{background-color:#f0f9ff}.container .table-wrapper .table-cell[data-v-4ec945e0]{padding:12px 16px;box-sizing:border-box;display:flex;justify-content:center}.container .table-wrapper .device-col[data-v-4ec945e0]{flex:0 0 200px;min-width:200px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:first-of-type{flex:0 0 10px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:last-of-type{flex:0 0 32px}.container .table-wrapper .name-col[data-v-4ec945e0]{flex:0 0 150px;min-width:150px;text-align:left}.container .table-wrapper .action-col[data-v-4ec945e0]{flex:0 0 auto;text-align:right;min-width:160px}.container .table-wrapper .icon[data-v-4ec945e0]{width:48px;height:100%;cursor:pointer}.container .table-wrapper .interface-device-flex[data-v-4ec945e0]{display:flex;justify-content:center;width:100%}.container .cbi-page-actions[data-v-4ec945e0]{margin-top:20px;display:flex;justify-content:flex-end}@media (max-width: 768px){.container[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 80px;width:120px;height:80px;justify-content:start}.container .table-wrapper[data-v-4ec945e0]{min-width:100%}.container .table-cell[data-v-4ec945e0]{padding:8px 12px}.container .device-col[data-v-4ec945e0]{flex:0 0 120px!important;min-width:120px!important;margin-right:16px}.container .name-col[data-v-4ec945e0]{flex:0 0 80px!important;min-width:80px!important}.container .action-col[data-v-4ec945e0]{min-width:120px}.container .interface-device-flex[data-v-4ec945e0]{flex-direction:column;gap:4px}}tr>td,tr>th,.tr>.td,.tr>.th,.cbi-section-table-row:before,#cbi-wireless>#wifi_assoclist_table>.tr:nth-child(2){border:none}@keyframes bganimation-2c8ecf89{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c8ecf89{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c8ecf89{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c8ecf89]{animation:rotateEnter-2c8ecf89 .7s;position:relative}.rotate-leave-active[data-v-2c8ecf89]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c8ecf89]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-table-container[data-v-2c8ecf89]{width:100%;font-size:14px;color:var(--flow-span-color)}.custom-table-container input[data-v-2c8ecf89]{margin:0}.custom-table-container .custom-table-wrapper[data-v-2c8ecf89]{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.custom-table-container .custom-table[data-v-2c8ecf89]{width:100%;border-collapse:collapse;table-layout:auto}.custom-table-container .custom-table thead[data-v-2c8ecf89]{border-radius:8px!important;background:#F8F8F8}.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{color:var(--flow-span-color)!important;font-weight:500!important;border:none!important;padding:18px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]{background:transparent;border-bottom:1px solid #f8f8f8!important}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]:last-child{border-bottom:none!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:24px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr:hover td[data-v-2c8ecf89]{background-color:#00000005!important}.custom-table-container .custom-table tbody tr.empty-row td[data-v-2c8ecf89]{text-align:center!important;padding:30px 0!important;color:#c98d8d66!important;border-bottom:none!important}.custom-table-container .custom-table .selection-header[data-v-2c8ecf89],.custom-table-container .custom-table .selection-cell[data-v-2c8ecf89]{width:50px!important;min-width:50px!important;text-align:center!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:0 8px}.custom-table-container .pagination-wrapper .pagination-info[data-v-2c8ecf89]{color:#0009;font-size:13px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:32px;height:32px;margin:0 4px;padding:0 8px;background:#fff;color:#000000a6;cursor:pointer;transition:all .3s}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:hover:not(:disabled){color:#1890ff;border-color:#1890ff}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.custom-table-container .pagination-wrapper .pagination-controls button.active[data-v-2c8ecf89]{color:#fff;background-color:#1890ff;border-color:#1890ff}@media (max-width: 768px){.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{padding:8px 4px!important;font-size:13px!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:12px 4px!important;font-size:13px!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{flex-direction:column;align-items:flex-start;gap:12px}.custom-table-container .pagination-wrapper .pagination-controls[data-v-2c8ecf89]{display:flex;flex-wrap:wrap;gap:4px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:28px;height:28px;margin:0;padding:0 6px;font-size:13px}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.del-button[data-v-d28f7d82]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 15px;font-size:14px;border-radius:4px}.add-button--danger[data-v-d28f7d82]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-d28f7d82]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-d28f7d82]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.del-button--danger[data-v-d28f7d82]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-d28f7d82]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-d28f7d82]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.search_box[data-v-d28f7d82]{width:350px}.search_box .search_container[data-v-d28f7d82]{display:flex;align-items:center;gap:8px}.search_box .search_container .search_input_wrapper[data-v-d28f7d82]{position:relative;flex-grow:1}.search_box .search_container .search_input_wrapper .search_icon[data-v-d28f7d82]{position:absolute;right:10px;top:50%;transform:translateY(-50%);fill:#000c;cursor:pointer}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]{width:100%;padding:4px 35px 4px 12px;border-radius:4px;border:1px solid rgba(0,0,0,.6);font-size:14px;outline:none;transition:border-color .3s;color:#222;background:transparent}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]:focus{border-color:#4a90e2}.search_box .search_container .refresh_button[data-v-d28f7d82]{background:none;border:none;cursor:pointer;padding:8px;border-radius:50%;transition:background-color .3s;display:flex;align-items:center;justify-content:center}.search_box .search_container .refresh_button[data-v-d28f7d82]:hover{background-color:#f0f0f0}.search_box .search_container .refresh_button .refresh_icon[data-v-d28f7d82]{fill:#000c;transition:transform .3s}.search_box .search_container .refresh_button.rotate .refresh_icon[data-v-d28f7d82]{animation:spin-d28f7d82 1s linear infinite}@keyframes spin-d28f7d82{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.search_box[data-v-d28f7d82]{width:80%}.del-button[data-v-d28f7d82]{padding:6px 8px}}@keyframes bganimation-9ce78472{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9ce78472{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9ce78472{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9ce78472]{animation:rotateEnter-9ce78472 .7s;position:relative}.rotate-leave-active[data-v-9ce78472]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9ce78472]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.switch[data-v-9ce78472]{display:inline-flex;align-items:center;position:relative;font-size:14px;height:20px}.switch.is-disabled[data-v-9ce78472]{opacity:.6;cursor:not-allowed}.switch.is-disabled .switch__core[data-v-9ce78472]{cursor:not-allowed}.switch__input[data-v-9ce78472]{position:absolute;width:0;height:0;opacity:0;margin:0;z-index:-1}.switch__core[data-v-9ce78472]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid;outline:none;border-radius:10px;box-sizing:border-box;cursor:pointer;transition:border-color .3s,background-color .3s}.switch__button[data-v-9ce78472]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff;box-shadow:0 1px 2px #0003}.switch.is-checked .switch__button[data-v-9ce78472]{transform:translate(20px)}@keyframes bganimation-529a02b0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-529a02b0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-529a02b0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-529a02b0]{animation:rotateEnter-529a02b0 .7s;position:relative}.rotate-leave-active[data-v-529a02b0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-529a02b0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-529a02b0]{position:relative;height:260px}.flow .echart[data-v-529a02b0]{width:100%;height:100%}.flow .flow-data[data-v-529a02b0]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-529a02b0]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-529a02b0]{height:55vw}}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:999;backdrop-filter:blur(2px)}.modal-container{background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:90%;max-width:var(--1df87c10);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-container .modal-header{padding:8px 12px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.modal-container .modal-header .modal-title{margin:0;font-size:18px;color:#333;padding:0;text-align:center;background:transparent!important}.modal-container .modal-header .modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#999;transition:color .2s}.modal-container .modal-header .modal-close:hover{color:#666}.modal-container .modal-content{padding:18px;overflow-y:auto;flex:1}.modal-container .modal-footer{padding:8px 12px;border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;gap:12px}.modal-container .modal-footer .modal-button{padding:4px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s;border:1px solid transparent}.modal-container .modal-footer .modal-button.cancel{background-color:#fff;border-color:#ddd;color:#666}.modal-container .modal-footer .modal-button.cancel:hover{background-color:#f5f5f5}.modal-container .modal-footer .modal-button.confirm{background-color:#553afe;color:#fff}.modal-container .modal-footer .modal-button.confirm:hover{background-color:#3f21fe}@media (max-width: 768px){.modal-container{width:95%;max-width:none;max-height:90vh;margin:0 10px}.modal-container .modal-header{padding:12px 16px}.modal-container .modal-header .modal-title{font-size:16px;background:transparent!important}.modal-container .modal-header .modal-close{font-size:20px}.modal-container .modal-content{padding:16px}.modal-container .modal-footer{padding:12px 16px;flex-direction:column-reverse;gap:8px}.modal-container .modal-footer .modal-button{width:100%;padding:10px;font-size:15px}}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.slide-enter-active,.slide-leave-active{transition:transform .3s ease,opacity .3s ease}.slide-enter-from,.slide-leave-to{transform:translateY(-20px);opacity:0}@keyframes bganimation-2f8a90b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2f8a90b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2f8a90b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2f8a90b2]{animation:rotateEnter-2f8a90b2 .7s;position:relative}.rotate-leave-active[data-v-2f8a90b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2f8a90b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-2f8a90b2] .tag-input{padding:4px 12px}.custom-content[data-v-2f8a90b2]{position:relative}.custom-content .img_box[data-v-2f8a90b2]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-2f8a90b2]{width:100%;height:100%}.custom-content .IP_address[data-v-2f8a90b2]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-2f8a90b2]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-2f8a90b2]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-2f8a90b2]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-2f8a90b2]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-2f8a90b2]{width:45%;background:transparent!important;color:var(--card-box-shadow)}.custom-content .item_box>select>option[data-v-2f8a90b2]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-2f8a90b2]{width:140px;text-align:right}.info-content[data-v-2f8a90b2]{display:flex}.info-content .img_box[data-v-2f8a90b2]{position:relative}.info-content .item_box .item_left[data-v-2f8a90b2]{width:100px}@keyframes bganimation-2f8a90b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2f8a90b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2f8a90b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2f8a90b2]{animation:rotateEnter-2f8a90b2 .7s;position:relative}.rotate-leave-active[data-v-2f8a90b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2f8a90b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-0ad740fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ad740fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ad740fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ad740fc]{animation:rotateEnter-0ad740fc .7s;position:relative}.rotate-leave-active[data-v-0ad740fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ad740fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-0ad740fc]{position:relative}.custom-content .img_box[data-v-0ad740fc]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-0ad740fc]{width:100%;height:100%}.custom-content .IP_address[data-v-0ad740fc]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-0ad740fc]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-0ad740fc]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-0ad740fc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-0ad740fc]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-0ad740fc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-0ad740fc]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-0ad740fc]{width:140px;text-align:right}.del-button[data-v-0ad740fc]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-0ad740fc]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-0ad740fc]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-0ad740fc]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-0ad740fc]{opacity:.5;cursor:not-allowed}@keyframes bganimation-0ad740fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ad740fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ad740fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ad740fc]{animation:rotateEnter-0ad740fc .7s;position:relative}.rotate-leave-active[data-v-0ad740fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ad740fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-517a8ecc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-517a8ecc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-517a8ecc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-517a8ecc]{animation:rotateEnter-517a8ecc .7s;position:relative}.rotate-leave-active[data-v-517a8ecc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-517a8ecc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-517a8ecc]{position:relative}.custom-content .img_box[data-v-517a8ecc]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-517a8ecc]{width:100%;height:100%}.custom-content .IP_address[data-v-517a8ecc]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-517a8ecc]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-517a8ecc]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-517a8ecc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-517a8ecc]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-517a8ecc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-517a8ecc]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-517a8ecc]{width:140px;text-align:right}.del-button[data-v-517a8ecc]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-517a8ecc]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-517a8ecc]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-517a8ecc]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-517a8ecc]{opacity:.5;cursor:not-allowed}@keyframes bganimation-517a8ecc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-517a8ecc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-517a8ecc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-517a8ecc]{animation:rotateEnter-517a8ecc .7s;position:relative}.rotate-leave-active[data-v-517a8ecc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-517a8ecc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-3d247530{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3d247530{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3d247530{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3d247530]{animation:rotateEnter-3d247530 .7s;position:relative}.rotate-leave-active[data-v-3d247530]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3d247530]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.dialog-overlay[data-v-3d247530]{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:16px}.dialog-container[data-v-3d247530]{background-color:#fff;border-radius:12px;padding:16px;width:100%;max-width:400px;box-shadow:0 4px 12px #00000026}.dialog-container .dialog-title[data-v-3d247530]{margin:0 0 20px;font-size:1.2rem;font-weight:500;color:#333;text-align:left}.dialog-container .dialog-message[data-v-3d247530]{margin:20px 0;font-size:1rem;color:#666;text-align:center}.dialog-container .loading-animation[data-v-3d247530]{margin:20px 0}.dialog-container .loading-animation .spinner[data-v-3d247530]{width:40px;height:40px;margin:0 auto;border:4px solid rgba(110,72,170,.2);border-radius:50%;border-top-color:#8d78fa;animation:spin-3d247530 1s linear infinite}.dialog-container .dialog-button[data-v-3d247530]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s;margin:0 auto;display:block}.dialog-container .dialog-button[data-v-3d247530]:hover{background-color:#553afe;opacity:.9}.dialog-container .dialog-button[data-v-3d247530]:active{transform:scale(.98)}.dialog-container .warning-message[data-v-3d247530]{display:flex;gap:8px;background-color:#fff8e1;border-left:4px solid #FFC107;padding:12px;margin-bottom:20px;border-radius:4px;font-size:.9rem;color:#333;text-align:left}.dialog-container .warning-message .warning-icon[data-v-3d247530]{flex-shrink:0;width:20px;height:20px;color:#ffa000}.dialog-container .input-group[data-v-3d247530]{margin-bottom:16px;text-align:left}.dialog-container .input-group label[data-v-3d247530]{display:block;margin-bottom:8px;font-size:.95rem;color:#333}.dialog-container .input-group .tag-input[data-v-3d247530]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .2s}.dialog-container .input-group .tag-input[data-v-3d247530]:focus{outline:none;border-color:#6e48aa}.dialog-container .button-group[data-v-3d247530]{display:flex;justify-content:flex-end;gap:12px}.dialog-container .button-group .cancel-button[data-v-3d247530]{background-color:#fff;color:#333;border:1px solid #ddd;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .cancel-button[data-v-3d247530]:hover{background-color:#e0e0e0}.dialog-container .button-group .cancel-button[data-v-3d247530]:active{transform:scale(.98)}.dialog-container .button-group .confirm-button[data-v-3d247530]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .confirm-button[data-v-3d247530]:hover{background-color:#553afe;opacity:.9}.dialog-container .button-group .confirm-button[data-v-3d247530]:active{transform:scale(.98)}.tag-dialog[data-v-3d247530]{max-width:500px}.fade-enter-active[data-v-3d247530],.fade-leave-active[data-v-3d247530]{transition:opacity .3s ease}.fade-enter-from[data-v-3d247530],.fade-leave-to[data-v-3d247530]{opacity:0}@keyframes spin-3d247530{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-circle-3d247530{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}@keyframes icon-line-tip-3d247530{0%{width:0;left:1px;top:15px}54%{width:0;left:1px;top:15px}70%{width:40px;left:-6px;top:30px}84%{width:14px;left:17px;top:38px}to{width:12px;left:8px;top:22px}}@keyframes icon-line-long-3d247530{0%{width:0;right:37px;top:43px}65%{width:0;right:37px;top:43px}84%{width:44px;right:0;top:28px}to{width:20px;right:8px;top:20px}}@media (max-width: 480px){.dialog-container[data-v-3d247530]{padding:16px}.dialog-container .dialog-title[data-v-3d247530]{font-size:1.1rem;margin-bottom:16px}.dialog-container .dialog-message[data-v-3d247530]{font-size:.95rem;margin:16px 0}.dialog-container .warning-message[data-v-3d247530]{font-size:.85rem;padding:10px}.dialog-container .input-group[data-v-3d247530]{margin-bottom:20px}.dialog-container .input-group label[data-v-3d247530]{font-size:.9rem}.dialog-container .input-group .tag-input[data-v-3d247530]{padding:8px 10px;font-size:.95rem}.dialog-container .button-group[data-v-3d247530]{gap:8px}.dialog-container .button-group .cancel-button[data-v-3d247530],.dialog-container .button-group .confirm-button[data-v-3d247530]{padding:4px 16px;font-size:.95rem}.dialog-container .loading-animation .spinner[data-v-3d247530]{width:36px;height:36px}}@keyframes bganimation-7ea05c92{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7ea05c92{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7ea05c92{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7ea05c92]{animation:rotateEnter-7ea05c92 .7s;position:relative}.rotate-leave-active[data-v-7ea05c92]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7ea05c92]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.add-button[data-v-7ea05c92]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 12px;font-size:14px;border-radius:4px}.add-button--danger[data-v-7ea05c92]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-7ea05c92]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-7ea05c92]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-7ea05c92]{opacity:.5;cursor:not-allowed}.tab-container[data-v-7ea05c92]{display:flex;flex-direction:row;width:100%;margin:0 auto;border-radius:8px;overflow:hidden}@media (max-width: 768px){.tab-container[data-v-7ea05c92]{flex-direction:column}}.tab-header[data-v-7ea05c92]{display:flex;flex-direction:column;width:120px}@media (max-width: 768px){.tab-header[data-v-7ea05c92]{flex-direction:row;width:100%;overflow-x:auto;white-space:nowrap}}.tab-button[data-v-7ea05c92]{padding:12px 16px;text-align:left;border:none;background:transparent!important;cursor:pointer;font-size:14px;color:var(--flow-span-color);transition:all .3s ease;border-radius:8px 0 0 8px}.tab-button[data-v-7ea05c92]:hover{background:var(--tag-bg-color)!important}.tab-button.active[data-v-7ea05c92]{background:var(--tag-bg-color)!important;font-weight:500;margin:0}@media (max-width: 768px){.tab-button[data-v-7ea05c92]{border-radius:8px 8px 0 0;text-align:center;flex:1;min-width:max-content}.tab-button.active[data-v-7ea05c92]{border-radius:8px 8px 0 0}}.tab-content_g[data-v-7ea05c92]{flex:1;padding:20px;background:var(--tag-bg-color);border-radius:0 8px 8px 0;min-height:60vh}.tab-content_g .not_installed[data-v-7ea05c92]{display:flex;flex-direction:column;align-items:center}.tab-content_g .not_installed>span[data-v-7ea05c92]{color:var(--tit-color);margin:20px 0}.tab-content_g .not_installed .not_installed_btn[data-v-7ea05c92]{padding:6px 16px;background:#553AFE;border-radius:4px;font-size:14px;color:#fff;cursor:pointer}@media (max-width: 768px){.tab-content_g[data-v-7ea05c92]{border-radius:0 0 8px 8px}}.item_box[data-v-7ea05c92]{margin-top:12px;display:flex;align-items:center;color:var(--tit-color)!important}.item_box>input[data-v-7ea05c92]{width:40%;color:var(--card-box-shadow);background:transparent!important;color:var(--tit-color)!important}@media (max-width: 768px){.item_box>input[data-v-7ea05c92]{width:70%}}.item_box>input[data-v-7ea05c92]::placeholder{color:var(--item-label_key-span-color)}.item_box>select[data-v-7ea05c92]{background:transparent!important;width:40%;color:var(--card-box-shadow)}@media (max-width: 768px){.item_box>select[data-v-7ea05c92]{width:70%}}.item_box>select>option[data-v-7ea05c92]{padding:4px 12px!important}.item_box .item_left[data-v-7ea05c92]{width:140px;text-align:right}@media (max-width: 768px){.item_box .item_left[data-v-7ea05c92]{width:100px}}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.tab-container[data-v-a5a78984]{margin:0 auto}.tabs_box_g[data-v-a5a78984]{display:flex}.tabs_box_g button[data-v-a5a78984]{padding:14px 24px;border:none;background:none;cursor:pointer;font-size:14px;border-radius:8px 8px 0 0;margin:0;transition:all .3s ease}.tabs_box_g button.active[data-v-a5a78984]{background:var(--card-bg-color);color:#553afe;font-weight:700;position:relative}.tab-content_g[data-v-a5a78984]{background:var(--card-bg-color);padding:16px;border-radius:0 8px 8px}.content-item[data-v-a5a78984]{min-height:60vh}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.tabs_box_g button[data-v-a5a78984]{padding:7px 12px!important}.tab-content_g[data-v-a5a78984]{border-radius:0 0 8px 8px}}@keyframes bganimation-1f11eeec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f11eeec{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f11eeec{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f11eeec]{animation:rotateEnter-1f11eeec .7s;position:relative}.rotate-leave-active[data-v-1f11eeec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f11eeec]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-1f11eeec]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-1f11eeec]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-1f11eeec]{display:none;align-items:center}.switch-core[data-v-1f11eeec]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-1f11eeec]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-1f11eeec]{opacity:.6;cursor:not-allowed}.switch-button[data-v-1f11eeec]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(20px)}.switch-label[data-v-1f11eeec]{font-size:14px;color:#999}.switch-label.active[data-v-1f11eeec]{color:#409eff}form.form-container[data-v-1f11eeec]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-name[data-v-1f11eeec]{display:block;width:100%;margin-bottom:.5rem;color:var(--item-label_key-span-color)}form.form-container .label-name span[data-v-1f11eeec]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-1f11eeec]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-1f11eeec],form.form-container .label-value select[data-v-1f11eeec]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:var(--item-label_key-span-color);font-size:14px}form.form-container .label-value input>option[data-v-1f11eeec],form.form-container .label-value select>option[data-v-1f11eeec]{color:#8898aa}form.form-container .label-value input[data-v-1f11eeec]:focus,form.form-container .label-value select[data-v-1f11eeec]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-1f11eeec]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-1f11eeec]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-1f11eeec],form.form-container .label-value input[type=radio][data-v-1f11eeec]{width:auto}form.form-container .label-value input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-1f11eeec]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-1f11eeec]::placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]:-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]::-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-btns[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-1f11eeec]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-1f11eeec]{color:#f9ad1e}form.form-container .label-flex[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-1f11eeec]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-1f11eeec]{width:200px!important}.form-item .label-value[data-v-1f11eeec]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-1f11eeec]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-1f11eeec]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-1f11eeec]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-1f11eeec]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-1f11eeec]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-1f11eeec]:hover{opacity:.9;transition:.3}select[data-v-1f11eeec]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-1f11eeec]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-1f11eeec]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-1f11eeec]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-1f11eeec]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-1f11eeec]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-1f11eeec]{color:var(--item-label_key-span-color)}form.form-container .form-item .label-value[data-v-1f11eeec]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-1f11eeec],form.form-container .form-item .label-value select[data-v-1f11eeec]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-1f11eeec]{padding-right:24px}form.form-container .form-item .label-value input[data-v-1f11eeec]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-1f11eeec]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-1f11eeec]{padding-right:16px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-1f11eeec] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-1f11eeec] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-1f11eeec]{display:flex}form.form-container .label-flex label[data-v-1f11eeec]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-1f11eeec]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-1f11eeec]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-1f11eeec]{width:20px;height:20px;right:0}.pc-radio[data-v-1f11eeec],.label-flex[data-v-1f11eeec]{display:none!important}.mobile-switch[data-v-1f11eeec]{display:flex;align-items:center;height:50px}.switch_label[data-v-1f11eeec]{display:flex;justify-content:end}.switch-core[data-v-1f11eeec]{width:50px;height:24px}.switch-button[data-v-1f11eeec]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(26px)}.select-arrow[data-v-1f11eeec]{position:absolute;right:6px;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-40cb5302{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40cb5302{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40cb5302{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40cb5302]{animation:rotateEnter-40cb5302 .7s;position:relative}.rotate-leave-active[data-v-40cb5302]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-40cb5302]{display:none}.page-flex[data-v-40cb5302]{display:flex}.page-flex .page-sidebar[data-v-40cb5302]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-40cb5302]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:var(--item-label_key-span-color);display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-40cb5302]:hover,.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-40cb5302]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-40cb5302]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-40cb5302]{display:block}.page-flex .page-sidebar[data-v-40cb5302]{display:none}.page-flex .page-main[data-v-40cb5302]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-40cb5302]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-40cb5302]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-40cb5302]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-40cb5302]::-webkit-scrollbar{display:none}.tag-item[data-v-40cb5302]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:var(--tag-bg-color);color:var(--item-label_key-span-color);font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-40cb5302]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-40cb5302]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:var(--gradient-bg-color)}.more-btn[data-v-40cb5302]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-40cb5302]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-40cb5302] .showSide{z-index:1!important}.popup-overlay[data-v-40cb5302]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-40cb5302]{width:100%;max-height:85vh;background-color:var(--popup-bg-color);border-radius:0 0 4px 4px;animation:slideDown-40cb5302 .3s ease-out;overflow-y:auto;padding-top:25px}.popup-content .popup-tag-item[data-v-40cb5302],.popup-content .active[data-v-40cb5302]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-40cb5302{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-40cb5302]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-40cb5302]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.popup-footer[data-v-40cb5302]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-40cb5302]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-40cb5302]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-40cb5302]{background-color:#5279f7;color:#fff;border:none}} +@keyframes bganimation-41cbce66{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-41cbce66{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-41cbce66{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-41cbce66]{animation:rotateEnter-41cbce66 .7s;position:relative}.rotate-leave-active[data-v-41cbce66]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-41cbce66]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-41cbce66]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-41cbce66]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-2d97dedc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2d97dedc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2d97dedc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2d97dedc]{animation:rotateEnter-2d97dedc .7s;position:relative}.rotate-leave-active[data-v-2d97dedc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2d97dedc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-2d97dedc]{width:100%}#main[data-v-2d97dedc],#main[data-v-2d97dedc] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9}@keyframes bganimation-3ee635ef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ee635ef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ee635ef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ee635ef]{animation:rotateEnter-3ee635ef .7s;position:relative}.rotate-leave-active[data-v-3ee635ef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ee635ef]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-3ee635ef]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-3ee635ef]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-54af3568{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-54af3568{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-54af3568{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-54af3568]{animation:rotateEnter-54af3568 .7s;position:relative}.rotate-leave-active[data-v-54af3568]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-54af3568]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-54af3568]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-54af3568]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-54af3568],label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-54af3568]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-54af3568]{display:none!important}label.checkbox_switch svg[data-v-54af3568]{height:1em;width:2em}article[data-v-995510fc]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-995510fc]{max-width:33.333%}}@keyframes bganimation-995510fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-995510fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-995510fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-995510fc]{animation:rotateEnter-995510fc .7s;position:relative}.rotate-leave-active[data-v-995510fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-995510fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-995510fc]{max-width:50%}}@keyframes bganimation-782f97c0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-782f97c0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-782f97c0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-782f97c0]{animation:rotateEnter-782f97c0 .7s;position:relative}.rotate-leave-active[data-v-782f97c0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-782f97c0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-782f97c0]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-782f97c0]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-782f97c0]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-782f97c0]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-782f97c0] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-782f97c0] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-782f97c0] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-782f97c0]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-782f97c0]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-782f97c0]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-782f97c0]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-782f97c0]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-782f97c0]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-782f97c0]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-782f97c0]{background-color:#439c07}@keyframes bganimation-c446588c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c446588c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c446588c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c446588c]{animation:rotateEnter-c446588c .7s;position:relative}.rotate-leave-active[data-v-c446588c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c446588c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-c446588c]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-c446588c],.select-editable input[data-v-c446588c]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-c446588c]{position:relative;width:100%}.select-editable input[data-v-c446588c]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-c446588c]:focus,.select-editable input[data-v-c446588c]:focus{outline:none;box-shadow:none}@keyframes bganimation-47c6049a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-47c6049a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-47c6049a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-47c6049a]{animation:rotateEnter-47c6049a .7s;position:relative}.rotate-leave-active[data-v-47c6049a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-47c6049a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-47c6049a{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-47c6049a]{animation:turn-47c6049a 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-47c6049a]{width:100%;height:100%}.quick-loading svg path[data-v-47c6049a]{fill:#fff}@keyframes bganimation-0cc5bf50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0cc5bf50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0cc5bf50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0cc5bf50]{animation:rotateEnter-0cc5bf50 .7s;position:relative}.rotate-leave-active[data-v-0cc5bf50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0cc5bf50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-0cc5bf50]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-0cc5bf50]{width:22px;height:22px}a:hover svg path[data-v-0cc5bf50]{fill:#3688ff}@keyframes bganimation-770b811c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-770b811c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-770b811c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-770b811c]{animation:rotateEnter-770b811c .7s;position:relative}.rotate-leave-active[data-v-770b811c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-770b811c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-770b811c]{position:relative;height:460px}.flow .echart[data-v-770b811c]{width:100%;height:100%}.flow .flow-data[data-v-770b811c]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-770b811c]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-770b811c]{height:76.6vw}}@keyframes bganimation-48bf84c6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-48bf84c6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-48bf84c6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-48bf84c6]{animation:rotateEnter-48bf84c6 .7s;position:relative}.rotate-leave-active[data-v-48bf84c6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-48bf84c6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-48bf84c6{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-48bf84c6]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-48bf84c6]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-48bf84c6]{width:100%;height:100%}.toast div.icon svg path[data-v-48bf84c6]{fill:#fff}.toast .loading[data-v-48bf84c6]{animation:turn-48bf84c6 1s steps(12,end) infinite}.toast .message[data-v-48bf84c6]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-a96d68d4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a96d68d4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a96d68d4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a96d68d4]{animation:rotateEnter-a96d68d4 .7s;position:relative}.rotate-leave-active[data-v-a96d68d4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a96d68d4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-a96d68d4]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-a96d68d4]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-a96d68d4],#actioner[data-v-a96d68d4] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-a96d68d4]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-a96d68d4]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-a96d68d4]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-a96d68d4]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-a96d68d4] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-a96d68d4] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-a96d68d4]:hover{opacity:.9}.action-container .action-container_body[data-v-a96d68d4]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}.actioner-dns[data-v-2ac87be2]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2ac87be2]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2ac87be2]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2ac87be2]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2ac87be2]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2ac87be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2ac87be2]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2ac87be2]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2ac87be2],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2ac87be2]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2ac87be2]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2ac87be2]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2ac87be2]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2ac87be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-2ac87be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2ac87be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2ac87be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2ac87be2]{animation:rotateEnter-2ac87be2 .7s;position:relative}.rotate-leave-active[data-v-2ac87be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2ac87be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2ac87be2]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-2ac87be2]{width:100%}}.action[data-v-4ca82311]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-4ca82311]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-4ca82311]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-4ca82311]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-4ca82311]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-4ca82311]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-4ca82311{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4ca82311{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4ca82311{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4ca82311]{animation:rotateEnter-4ca82311 .7s;position:relative}.rotate-leave-active[data-v-4ca82311]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4ca82311]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-4ca82311]{font-size:20px}}@keyframes bganimation-17b89cb7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17b89cb7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17b89cb7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17b89cb7]{animation:rotateEnter-17b89cb7 .7s;position:relative}.rotate-leave-active[data-v-17b89cb7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17b89cb7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-17b89cb7]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-17b89cb7]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-17b89cb7]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-17b89cb7]{font-weight:700;font-size:14px}@keyframes bganimation-6f355f28{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f355f28{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f355f28{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f355f28]{animation:rotateEnter-6f355f28 .7s;position:relative}.rotate-leave-active[data-v-6f355f28]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f355f28]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-6f355f28]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-6f355f28]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-6f355f28]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-6f355f28]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-6f355f28]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-6f355f28]:hover{opacity:1;transition:.3s}@keyframes bganimation-2deed63d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2deed63d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2deed63d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2deed63d]{animation:rotateEnter-2deed63d .7s;position:relative}.rotate-leave-active[data-v-2deed63d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2deed63d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-2deed63d]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2deed63d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2deed63d]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2deed63d]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2deed63d]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2deed63d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2deed63d]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2deed63d]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2deed63d],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2deed63d]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2deed63d]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2deed63d]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2deed63d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2deed63d]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-2deed63d]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-2deed63d]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-2deed63d]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-2deed63d]:focus,.actioner-dns .select-editable input[data-v-2deed63d]:focus{outline:none}.actioner-dns[data-v-2deed63d] ::placeholder{color:#999}.successed[data-v-2deed63d]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-2deed63d]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-2deed63d]{text-align:center}.docker_moves .moves[data-v-2deed63d]{margin-top:10px}.docker_moves .moves input[data-v-2deed63d]{cursor:pointer}.docker_moves .moves label[data-v-2deed63d]{margin-left:10px;cursor:pointer}.btns[data-v-2deed63d]{text-align:center}.item_info[data-v-2deed63d]{margin-left:10px}.softsource_tit[data-v-2deed63d]{margin:0 auto}.softsource_successed[data-v-2deed63d]{width:20%!important}@keyframes bganimation-2deed63d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2deed63d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2deed63d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2deed63d]{animation:rotateEnter-2deed63d .7s;position:relative}.rotate-leave-active[data-v-2deed63d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2deed63d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2deed63d]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-2deed63d]{width:100%}}@keyframes bganimation-51765cb0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-51765cb0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-51765cb0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-51765cb0]{animation:rotateEnter-51765cb0 .7s;position:relative}.rotate-leave-active[data-v-51765cb0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-51765cb0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-51765cb0]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-51765cb0]{width:100%;background-color:var(--card-bg-color);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-51765cb0]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-51765cb0]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-51765cb0]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-51765cb0]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-51765cb0]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-51765cb0]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-51765cb0]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-51765cb0]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-51765cb0]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-51765cb0]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-51765cb0]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-51765cb0]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-51765cb0]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-51765cb0]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-51765cb0]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-51765cb0]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-51765cb0]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-51765cb0]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-51765cb0]{display:block;color:var(--app-container_status-label_block);margin:10px 0 8px}.app-container_status-container_body[data-v-51765cb0]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-51765cb0]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-51765cb0]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-51765cb0]{width:50px;height:50px}.app-container_status-container_body span[data-v-51765cb0]{width:100%;margin:5px 0}.menu_background[data-v-51765cb0]{position:fixed;inset:0}.app-container_body[data-v-51765cb0]{width:100%}.network-container[data-v-2d777a95]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-2d777a95]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-2d777a95]{border-radius:6px;overflow:hidden;position:relative;background-color:var(--flow-bg-color);box-shadow:var(--card-box-shadow)}.network-container .network-container_status[data-v-2d777a95]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-2d777a95{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2d777a95{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2d777a95{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2d777a95]{animation:rotateEnter-2d777a95 .7s;position:relative}.rotate-leave-active[data-v-2d777a95]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2d777a95]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-2d777a95]{width:100%}.network-container .network-container_flow[data-v-2d777a95]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-2d777a95]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-3dae3be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-3dae3be2]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-3dae3be2]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-3dae3be2]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-3dae3be2]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-3dae3be2]{flex:auto}.action.format .disk-list[data-v-3dae3be2]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-3dae3be2]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-3dae3be2]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-3dae3be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-3dae3be2]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-3dae3be2]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-3dae3be2],.action.format .label-item .label-item_value input[data-v-3dae3be2]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-3dae3be2]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-3dae3be2]{flex:auto}.action.format p.msg[data-v-3dae3be2]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-3dae3be2]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-3dae3be2]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-3dae3be2]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-3dae3be2]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-3dae3be2]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-3dae3be2]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-3dae3be2]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-3dae3be2]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-3dae3be2]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-3dae3be2]{color:#0000fb}.action.result .btns[data-v-3dae3be2]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-3dae3be2]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-3dae3be2]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-3dae3be2]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-3dae3be2]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-3dae3be2]{width:100%}}.action .action-footer button[data-v-5f5fb500]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-5f5fb500]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-5f5fb500]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-5f5fb500]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-5f5fb500]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-5f5fb500]{flex:auto}.action.format .disk-list[data-v-5f5fb500]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-5f5fb500]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-5f5fb500]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-5f5fb500]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-5f5fb500]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-5f5fb500]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-5f5fb500],.action.format .label-item .label-item_value input[data-v-5f5fb500]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-5f5fb500]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-5f5fb500]{flex:auto}.action.format p.msg[data-v-5f5fb500]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-5f5fb500]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-5f5fb500]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-5f5fb500]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-5f5fb500]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-5f5fb500]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-5f5fb500]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-5f5fb500]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-5f5fb500]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-5f5fb500]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-5f5fb500]{color:#0000fb}.action.result .btns[data-v-5f5fb500]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-4e7285ca]{color:red}.disk-content[data-v-4e7285ca]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-4e7285ca]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-4e7285ca]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-4e7285ca]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-4e7285ca]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-4e7285ca]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-4e7285ca]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-4e7285ca]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-4e7285ca]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-4e7285ca]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-4e7285ca]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-4e7285ca]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-4e7285ca]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-4e7285ca]{display:flex;align-items:center}.disk_infoicon[data-v-4e7285ca]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-4e7285ca]{flex:none}.tooltip-trigger[data-v-4e7285ca]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-4e7285ca]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-4e7285ca]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-4e7285ca]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-4e7285ca]{visibility:visible;opacity:1}.tooltip-top[data-v-4e7285ca]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-4e7285ca]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-4e7285ca]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-4e7285ca]{display:block}.disk-content .disk_status[data-v-4e7285ca]{flex-wrap:wrap}}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-56d0d562]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-56d0d562]{overflow:auto}.action ul .app-container_info[data-v-56d0d562]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-56d0d562]{width:100%;height:100%}.action .action-footer[data-v-56d0d562]{text-align:center;margin-top:46px}.action .action-footer button[data-v-56d0d562]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-56d0d562]{width:160%}}@media screen and (max-width: 800px){.action[data-v-56d0d562]{width:138%}}@media screen and (max-width: 700px){.action[data-v-56d0d562]{width:132%}}@media screen and (max-width: 600px){.action[data-v-56d0d562]{width:116%}}@media screen and (max-width: 500px){.action[data-v-56d0d562]{width:100%}}@media screen and (max-width: 400px){.action[data-v-56d0d562]{width:90%}}@media screen and (max-width: 300px){.action[data-v-56d0d562]{width:100%}}@keyframes bganimation-5e9b583e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5e9b583e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5e9b583e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5e9b583e]{animation:rotateEnter-5e9b583e .7s;position:relative}.rotate-leave-active[data-v-5e9b583e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5e9b583e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-5e9b583e]{color:red}li.disk-item[data-v-5e9b583e]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-5e9b583e]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-5e9b583e]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-5e9b583e]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-5e9b583e]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-5e9b583e]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-5e9b583e]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-5e9b583e]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-5e9b583e]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-5e9b583e]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-5e9b583e]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-5e9b583e]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-5e9b583e]{flex:none;cursor:help}.tooltip-trigger[data-v-5e9b583e]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-5e9b583e]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-5e9b583e]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-5e9b583e]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-5e9b583e]{visibility:visible;opacity:1}.tooltip-top[data-v-5e9b583e]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-5e9b583e]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-5e9b583e]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-2b8c3ff1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b8c3ff1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b8c3ff1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b8c3ff1]{animation:rotateEnter-2b8c3ff1 .7s;position:relative}.rotate-leave-active[data-v-2b8c3ff1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b8c3ff1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-2b8c3ff1]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-2b8c3ff1]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-2b8c3ff1]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-2b8c3ff1]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-2b8c3ff1] svg path{fill:var(--item_btn-color)}.app-container ul .app-container_title .DeviceBlock[data-v-2b8c3ff1]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-2b8c3ff1]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-2b8c3ff1]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-2b8c3ff1]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-2b8c3ff1]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-2b8c3ff1]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-2b8c3ff1]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-2b8c3ff1]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:1var --item_btn-border;border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-2b8c3ff1] svg path{fill:var(--item_btn-color)}.app-container ul .disk_loading_icon[data-v-2b8c3ff1]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-2b8c3ff1]{margin-top:5px}.refresh[data-v-2b8c3ff1]{margin-left:20px}.app-container_info[data-v-2b8c3ff1]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-2b8c3ff1]{width:100%;height:100%}.menu_background[data-v-2b8c3ff1]{position:fixed;inset:0}@keyframes bganimation-8166802a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8166802a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8166802a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8166802a]{animation:rotateEnter-8166802a .7s;position:relative}.rotate-leave-active[data-v-8166802a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8166802a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-8166802a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-8166802a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-8166802a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-8166802a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-8166802a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-8166802a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-8166802a]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-8166802a]:hover{opacity:.7}.tit[data-v-8166802a]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-45def11c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45def11c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45def11c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45def11c]{animation:rotateEnter-45def11c .7s;position:relative}.rotate-leave-active[data-v-45def11c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45def11c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-45def11c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-45def11c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-45def11c]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-0bd83418{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0bd83418{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0bd83418{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0bd83418]{animation:rotateEnter-0bd83418 .7s;position:relative}.rotate-leave-active[data-v-0bd83418]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0bd83418]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-0bd83418]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-0bd83418]{flex:auto}ul.disk-item .disk-item_icon[data-v-0bd83418]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-0bd83418]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-0bd83418]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-0bd83418]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-0bd83418]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-0bd83418]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-0bd83418],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-0bd83418]{width:100%}ul.disk-item li.disk-info.on[data-v-0bd83418]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-0bd83418]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-0bd83418]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-0bd83418]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-0bd83418]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-0bd83418]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-0bd83418]{border-left:3px solid #ff9c08;background-color:#ecf5ff}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-b222ef5e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-b222ef5e]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.list .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.format .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b222ef5e]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b222ef5e]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b222ef5e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b222ef5e]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b222ef5e]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b222ef5e],.action.format .label-item .label-item_value input[data-v-b222ef5e]{width:100%;height:36px}.action.format .auto[data-v-b222ef5e]{flex:auto}.action.format p.msg[data-v-b222ef5e]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b222ef5e]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b222ef5e]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b222ef5e]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b222ef5e]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-b222ef5e]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-b222ef5e]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-b222ef5e]{color:#f70324}.action.result .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-b222ef5e]{flex:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-b222ef5e]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-b222ef5e]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-b222ef5e]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-b222ef5e]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-b222ef5e]{width:80%}}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-45926ac6]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-45926ac6]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-45926ac6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-45926ac6]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-45926ac6]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-45926ac6]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@keyframes bganimation-2b3974a4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b3974a4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b3974a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b3974a4]{animation:rotateEnter-2b3974a4 .7s;position:relative}.rotate-leave-active[data-v-2b3974a4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b3974a4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2b3974a4]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2b3974a4]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2b3974a4]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2b3974a4]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2b3974a4]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2b3974a4]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2b3974a4]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2b3974a4],.action .action-body .label-item .label-item_value input[data-v-2b3974a4]{width:100%;height:36px}.action .action-footer[data-v-2b3974a4]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2b3974a4]{flex:auto}.action .action-footer button[data-v-2b3974a4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-88275da0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-88275da0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-88275da0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-88275da0]{animation:rotateEnter-88275da0 .7s;position:relative}.rotate-leave-active[data-v-88275da0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-88275da0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-88275da0]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-88275da0]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-88275da0]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-88275da0]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-88275da0]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-88275da0]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-88275da0]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-88275da0]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-88275da0]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-88275da0],.action .action-body .label-item .label-item_value input[data-v-88275da0]{width:100%;height:36px}.action .action-body .samba-item[data-v-88275da0]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-88275da0]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-88275da0]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-88275da0]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-88275da0]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-88275da0]{margin-left:10px}.action .action-footer[data-v-88275da0]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-88275da0]{flex:auto}.action .action-footer button[data-v-88275da0]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3f686017]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-3f686017]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-3f686017]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-3f686017]{width:100%;display:block;padding:2rem 0}.action form label[data-v-3f686017]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-3f686017],.action form label select[data-v-3f686017]{width:100%;display:block;height:42px}.action .btns[data-v-3f686017]{width:100%;margin-top:3rem}.action .btns button[data-v-3f686017]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-3f686017]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-3f686017]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-3f686017]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-3f686017],.action li.disk-item .disk-item_f .disk-item_used[data-v-3f686017]{width:100%}.action .tips[data-v-3f686017]{float:right;font-size:.8em}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-3f686017]{font-size:2em}}@keyframes bganimation-8b8d01c2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8b8d01c2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8b8d01c2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8b8d01c2]{animation:rotateEnter-8b8d01c2 .7s;position:relative}.rotate-leave-active[data-v-8b8d01c2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8b8d01c2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-8b8d01c2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-8b8d01c2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-8b8d01c2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-8b8d01c2]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-8b8d01c2]{cursor:pointer}a[data-v-8b8d01c2]{text-decoration:none;color:#297ff3}@keyframes bganimation-008c9ca2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-008c9ca2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-008c9ca2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-008c9ca2]{animation:rotateEnter-008c9ca2 .7s;position:relative}.rotate-leave-active[data-v-008c9ca2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-008c9ca2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-008c9ca2]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-008c9ca2]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-008c9ca2]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-008c9ca2]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-008c9ca2]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-008c9ca2] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-008c9ca2]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-008c9ca2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-008c9ca2]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-008c9ca2]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-008c9ca2]:hover{background-color:#eee}.app-container .app-container_title button[data-v-008c9ca2]{margin-left:10px}.app-container .app-container_body[data-v-008c9ca2]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-008c9ca2]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-008c9ca2]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-008c9ca2],.app-container ul.app-container_nas-menu button[data-v-008c9ca2]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-008c9ca2]{position:fixed;inset:0}@keyframes bganimation-b0e9cad0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b0e9cad0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b0e9cad0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b0e9cad0]{animation:rotateEnter-b0e9cad0 .7s;position:relative}.rotate-leave-active[data-v-b0e9cad0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b0e9cad0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-b0e9cad0]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-b0e9cad0]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-b0e9cad0]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-b0e9cad0]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-b0e9cad0]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-b0e9cad0]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-b0e9cad0]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-b0e9cad0]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-b0e9cad0]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-b0e9cad0]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-b0e9cad0]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-b0e9cad0]{visibility:visible;opacity:1}.tooltip-top[data-v-b0e9cad0]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-b0e9cad0]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-b0e9cad0]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-b0e9cad0]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-b0e9cad0]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-b0e9cad0]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-b0e9cad0]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-b0e9cad0]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-b0e9cad0]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-b0e9cad0]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-b0e9cad0]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-b0e9cad0]{transform:translate(0);transition:.3s}@keyframes bganimation-81932f72{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-81932f72{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-81932f72{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-81932f72]{animation:rotateEnter-81932f72 .7s;position:relative}.rotate-leave-active[data-v-81932f72]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-81932f72]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-81932f72]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-81932f72]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-81932f72]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-81932f72]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-81932f72]{display:flex;justify-content:left;align-items:center}.action .change[data-v-81932f72]{width:678px}.action .desc[data-v-81932f72]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-81932f72]{width:100%;display:block}.action .tips[data-v-81932f72]{width:477px}.action .tips .tip[data-v-81932f72]{color:#faad14;padding-left:6px}.action .btns[data-v-81932f72]{width:100%;margin:104px auto 0}.action .btns button[data-v-81932f72]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-81932f72]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-81932f72]{text-align:center;font-size:14px}.action .finished[data-v-81932f72]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-81932f72]{text-align:center}.action .docker_moves .moves[data-v-81932f72]{margin-top:10px}.action .docker_moves .moves input[data-v-81932f72]{cursor:pointer}.action .docker_moves .moves label[data-v-81932f72]{margin-left:10px;cursor:pointer}.select-editable[data-v-81932f72]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-81932f72]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-81932f72]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-81932f72]:focus,.select-editable input[data-v-81932f72]:focus{outline:none}[data-v-81932f72]::placeholder{color:#999}@keyframes bganimation-81932f72{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-81932f72{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-81932f72{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-81932f72]{animation:rotateEnter-81932f72 .7s;position:relative}.rotate-leave-active[data-v-81932f72]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-81932f72]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-81932f72]{width:100%}.docker_download[data-v-81932f72]{width:80%}}@keyframes bganimation-3b60633e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b60633e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b60633e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b60633e]{animation:rotateEnter-3b60633e .7s;position:relative}.rotate-leave-active[data-v-3b60633e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b60633e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-3b60633e]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-3b60633e]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-3b60633e]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-3b60633e]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b60633e]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-3b60633e] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-3b60633e]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-3b60633e]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-3b60633e]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-3b60633e]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-3b60633e]:hover{background-color:#eee}.app-container button[data-v-3b60633e],.app-container .refresh[data-v-3b60633e]{margin-left:20px}.app-container .app-container_body[data-v-3b60633e]{width:100%;height:100%}.app-container .loading_placeholder[data-v-3b60633e]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-3b60633e]{position:fixed;inset:0}@keyframes bganimation-4d31c3c4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4d31c3c4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4d31c3c4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4d31c3c4]{animation:rotateEnter-4d31c3c4 .7s;position:relative}.rotate-leave-active[data-v-4d31c3c4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4d31c3c4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-4d31c3c4]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-4d31c3c4]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-4d31c3c4]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-4d31c3c4]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-4d31c3c4]{color:#888}.use-url_app[data-v-4d31c3c4]{padding-bottom:14px}.use-url_app a[data-v-4d31c3c4]{text-decoration:none;color:#297ff3}@keyframes bganimation-44bc5d56{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-44bc5d56{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-44bc5d56{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-44bc5d56]{animation:rotateEnter-44bc5d56 .7s;position:relative}.rotate-leave-active[data-v-44bc5d56]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-44bc5d56]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-44bc5d56]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-44bc5d56]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-44bc5d56]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-44bc5d56]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-44bc5d56]{color:#888}a[data-v-44bc5d56]{text-decoration:none;color:#297ff3}@keyframes bganimation-ab5c1db0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ab5c1db0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ab5c1db0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ab5c1db0]{animation:rotateEnter-ab5c1db0 .7s;position:relative}.rotate-leave-active[data-v-ab5c1db0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ab5c1db0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-ab5c1db0]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-ab5c1db0]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-ab5c1db0]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-ab5c1db0]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-ab5c1db0]{color:#888}a[data-v-ab5c1db0]{text-decoration:none;color:#297ff3}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-395b81d2]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-395b81d2]{color:#999;font-size:14px}.action input[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-395b81d2]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-395b81d2]{width:100%}.action form label input[data-v-395b81d2],.action form label select[data-v-395b81d2]{height:100%;font-size:14px}.action .myinput_wrap[data-v-395b81d2],.action .RPC_input[data-v-395b81d2]{width:85%}.action .myinput_wrap textarea[data-v-395b81d2]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-395b81d2]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-395b81d2]{margin-right:10px}.action .input_row .radios input[data-v-395b81d2],.action .input_row .radios label[data-v-395b81d2]{cursor:pointer}.action .Tracker label[data-v-395b81d2]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-395b81d2]{padding:6px 2px}.action .btns[data-v-395b81d2]{width:100%;margin:42px auto 0}.action .btns button[data-v-395b81d2]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-395b81d2]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-395b81d2]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-395b81d2]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-395b81d2]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-395b81d2]{visibility:visible;opacity:1}.action .tooltip-top[data-v-395b81d2]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-395b81d2]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-395b81d2]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-395b81d2]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-395b81d2]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-395b81d2]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-395b81d2]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-395b81d2]{text-align:center;font-size:14px}.action .finished[data-v-395b81d2]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-395b81d2]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-395b81d2]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-395b81d2]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-395b81d2]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-395b81d2]:focus,.select-editable input[data-v-395b81d2]:focus{outline:none}[data-v-395b81d2]::placeholder{color:#999}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-395b81d2]{width:100%}.action .input_row[data-v-395b81d2]{display:block}.action .input_row .myinput_wrap[data-v-395b81d2],.action .input_row .RPC_input[data-v-395b81d2]{width:100%}}@keyframes bganimation-17fab0f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17fab0f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17fab0f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17fab0f2]{animation:rotateEnter-17fab0f2 .7s;position:relative}.rotate-leave-active[data-v-17fab0f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17fab0f2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-17fab0f2]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-17fab0f2]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-17fab0f2]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-17fab0f2]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-17fab0f2]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-17fab0f2] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-17fab0f2]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-17fab0f2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-17fab0f2]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-17fab0f2]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-17fab0f2]:hover{background-color:#eee}.app-container .app-container_title button[data-v-17fab0f2]{margin-left:10px}.app-container .app-container_body[data-v-17fab0f2]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-17fab0f2]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-17fab0f2]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-17fab0f2],.app-container ul.app-container_nas-menu button[data-v-17fab0f2]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-17fab0f2]{position:fixed;inset:0}@keyframes bganimation-73552138{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-73552138{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-73552138{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-73552138]{animation:rotateEnter-73552138 .7s;position:relative}.rotate-leave-active[data-v-73552138]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-73552138]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-73552138]{text-align:center;margin-bottom:20px}.label-item[data-v-73552138]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-73552138]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-73552138]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-73552138]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b9ee57da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b9ee57da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b9ee57da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b9ee57da]{animation:rotateEnter-b9ee57da .7s;position:relative}.rotate-leave-active[data-v-b9ee57da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b9ee57da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b9ee57da]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b9ee57da]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b9ee57da]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{text-align:center}.actioner-container_body .body-info[data-v-b9ee57da]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b9ee57da]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b9ee57da]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-aefb6fdc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aefb6fdc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-aefb6fdc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-aefb6fdc]{animation:rotateEnter-aefb6fdc .7s;position:relative}.rotate-leave-active[data-v-aefb6fdc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aefb6fdc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-aefb6fdc]{width:100%;height:100%;border:none}@keyframes bganimation-0e2b47e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0e2b47e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0e2b47e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0e2b47e6]{animation:rotateEnter-0e2b47e6 .7s;position:relative}.rotate-leave-active[data-v-0e2b47e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0e2b47e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-0e2b47e6]{width:100%;height:100%;border:none}@keyframes bganimation-29e2aec8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-29e2aec8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-29e2aec8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-29e2aec8]{animation:rotateEnter-29e2aec8 .7s;position:relative}.rotate-leave-active[data-v-29e2aec8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-29e2aec8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-29e2aec8]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-29e2aec8]{width:100px;height:100px}.actioner-container_body .body-title[data-v-29e2aec8]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-29e2aec8]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-29e2aec8]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-29e2aec8]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-29e2aec8]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-169b4450{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169b4450{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169b4450{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169b4450]{animation:rotateEnter-169b4450 .7s;position:relative}.rotate-leave-active[data-v-169b4450]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169b4450]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-169b4450]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-6590a3fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6590a3fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6590a3fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6590a3fa]{animation:rotateEnter-6590a3fa .7s;position:relative}.rotate-leave-active[data-v-6590a3fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6590a3fa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-6590a3fa]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-3b80943c]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-3b80943c] .actioner-container{width:100%}.action-main[data-v-3b80943c] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-3b80943c]{width:90%}}@keyframes bganimation-145a3c50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-145a3c50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-145a3c50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-145a3c50]{animation:rotateEnter-145a3c50 .7s;position:relative}.rotate-leave-active[data-v-145a3c50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-145a3c50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-145a3c50]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-145a3c50]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-145a3c50]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-145a3c50]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-145a3c50]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-145a3c50]:hover{opacity:.8}.action .clear[data-v-145a3c50]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-145a3c50]:hover{opacity:.8}@keyframes bganimation-2c659599{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c659599{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c659599{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c659599]{animation:rotateEnter-2c659599 .7s;position:relative}.rotate-leave-active[data-v-2c659599]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c659599]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-2c659599]{display:block;width:100%;text-align:center}.title_info p[data-v-2c659599]{font-size:20px;margin-bottom:10px}.label-item[data-v-2c659599]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-2c659599]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-2c659599]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-2c659599]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-2c659599]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-2c659599],.label-item .label-item_value input[data-v-2c659599]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-2c659599]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-2c659599]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-2c659599]{margin-left:8px}.label-message[data-v-2c659599]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-8a1e6470]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-8a1e6470] .actioner-container{width:100%}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.ali,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-8a1e6470]{width:90%}}@keyframes bganimation-c59010b0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c59010b0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c59010b0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c59010b0]{animation:rotateEnter-c59010b0 .7s;position:relative}.rotate-leave-active[data-v-c59010b0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c59010b0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-c59010b0]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-c59010b0]{text-decoration:none}.app-container .app-container_title[data-v-c59010b0]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-c59010b0]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-c59010b0]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-c59010b0]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-c59010b0] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-c59010b0]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-c59010b0]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-c59010b0]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-c59010b0]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-c59010b0]:hover{background-color:#eee}.app-container button[data-v-c59010b0],.app-container .refresh[data-v-c59010b0]{margin-left:20px}.app-container .app-container_body[data-v-c59010b0]{width:100%;height:100%}.menu_background[data-v-c59010b0]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-c59010b0]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-c59010b0]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-c59010b0]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-c59010b0]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-c59010b0]{border:var(--item_btn-border);border-radius:4px;font-size:12px;padding:7px;color:var(--item_btn-color);text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-c59010b0]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-c59010b0]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-c59010b0]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-c59010b0]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-c59010b0]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-c59010b0]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-c59010b0]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-c59010b0]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-c59010b0]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-c59010b0]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-c59010b0]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-c59010b0]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-c59010b0]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-a221efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a221efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a221efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a221efb4]{animation:rotateEnter-a221efb4 .7s;position:relative}.rotate-leave-active[data-v-a221efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a221efb4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-a221efb4]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-a221efb4]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-a221efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a221efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a221efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a221efb4]{animation:rotateEnter-a221efb4 .7s;position:relative}.rotate-leave-active[data-v-a221efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a221efb4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-a221efb4]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-2baf3f98{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2baf3f98{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2baf3f98{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2baf3f98]{animation:rotateEnter-2baf3f98 .7s;position:relative}.rotate-leave-active[data-v-2baf3f98]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2baf3f98]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-2baf3f98]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-2baf3f98]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-2baf3f98]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-2baf3f98]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-2baf3f98]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-2baf3f98]:hover{background-color:#eee}.item-label[data-v-2baf3f98]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-2baf3f98]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-2baf3f98]{font-size:14px;color:var(--item-label_key-span-color)}.item-label .item-label_value[data-v-2baf3f98]{flex:1;text-align:left}.item-label .item-label_value span[data-v-2baf3f98]{font-size:14px;color:var(--item-label_value-span-color)}.item-title span[data-v-2baf3f98]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-2baf3f98]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-2baf3f98]{flex:auto}.item-flex button.app-editor[data-v-2baf3f98]{padding:8px 1.3rem}.menu_background[data-v-2baf3f98]{position:fixed;inset:0}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0d919a1e]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-0d919a1e]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-0d919a1e]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0d919a1e]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0d919a1e]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0d919a1e],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0d919a1e]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-0d919a1e]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-0d919a1e]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-0d919a1e]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-0d919a1e]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-0d919a1e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-0d919a1e]{text-align:center}.setting_status p[data-v-0d919a1e]{margin:10px 0}.setting_status a[data-v-0d919a1e]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-0d919a1e]{margin-top:10px}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-0d919a1e]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-0d919a1e]{width:100%}}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-59ad49e6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-59ad49e6]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-59ad49e6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-59ad49e6]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-59ad49e6]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-59ad49e6]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-59ad49e6]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-59ad49e6]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-59ad49e6]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-59ad49e6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-59ad49e6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-59ad49e6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-59ad49e6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-59ad49e6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-59ad49e6]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-59ad49e6]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-59ad49e6]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-59ad49e6]{margin-top:114px}.timeout span[data-v-59ad49e6],.sandbox_roboot_refresh[data-v-59ad49e6]{color:#5e72e4}option[data-v-59ad49e6]:disabled{background-color:#e0e0e0}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-59ad49e6]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-59ad49e6]{min-height:42vh}.actioner-tips[data-v-59ad49e6]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:3px 10px}}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3e084f0f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-3e084f0f]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-3e084f0f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-3e084f0f]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-3e084f0f]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-3e084f0f]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-3e084f0f]{margin-top:114px}.timeout span[data-v-3e084f0f]{color:#5e72e4}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-3e084f0f]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-3e084f0f]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-3e084f0f]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:12px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:3px 10px}}@keyframes bganimation-501131da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-501131da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-501131da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-501131da]{animation:rotateEnter-501131da .7s;position:relative}.rotate-leave-active[data-v-501131da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-501131da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-501131da]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-501131da]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button-combind[data-v-501131da]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;position:relative;padding:0}.nav-container .app-update-button-combind .app-update-button[data-v-501131da]{flex:auto;display:flex;align-items:center;height:100%}.nav-container .app-update-button-combind .app-update-button .app-update-button-text[data-v-501131da]{flex:auto}.nav-container .app-update-button-combind .app-update-button .app-update-button-text i[data-v-501131da]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .app-update-button-combind .app-update-button-more[data-v-501131da]{display:inline-flex;width:28px;border-left:solid 1px;align-items:center;justify-content:center;flex-wrap:nowrap;height:100%}.nav-container .app-update-button-combind .app-update-button-more[data-v-501131da] svg path{color:inherit!important;fill:currentColor}.nav-container .app-update-button-combind .app-update-button-menu[data-v-501131da]{position:absolute;z-index:999;width:30%;right:0;top:100%}.nav-container .app-update-button-combind .app-update-button-menu ul[data-v-501131da]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.nav-container .app-update-button-combind .app-update-button-menu ul li[data-v-501131da]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item[data-v-501131da]{padding:5px 2px;white-space:nowrap}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item-loading[data-v-501131da]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}.nav-container .cover-buttob[data-v-501131da]{margin-left:0;margin-right:5px}.nav-container a[data-v-501131da]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-501131da]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-501131da]:before{content:"\276f "}.nav-container .MoreMenu[data-v-501131da]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-501131da]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-501131da]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-501131da]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-501131da]{visibility:hidden}.color1[data-v-501131da]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-501131da]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-501131da]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-501131da]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-501131da]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}.menu_background[data-v-501131da]{position:fixed;inset:0}@keyframes bganimation-21b135fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-21b135fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-21b135fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-21b135fc]{animation:rotateEnter-21b135fc .7s;position:relative}.rotate-leave-active[data-v-21b135fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-21b135fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-21b135fc]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-21b135fc] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:var(--app-container_title-color);font-size:1.5em}[data-v-21b135fc] .more_icon{z-index:0}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0b149a51]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-0b149a51]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-0b149a51]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-0b149a51]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-0b149a51]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-0b149a51]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-0b149a51]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-0b149a51]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-0b149a51]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-0b149a51]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-0b149a51]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-0b149a51]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-0b149a51]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-0b149a51]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-0b149a51]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-0b149a51]{background-color:#439c07}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-f442676c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f442676c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f442676c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f442676c]{animation:rotateEnter-f442676c .7s;position:relative}.rotate-leave-active[data-v-f442676c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f442676c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-f442676c]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-f442676c]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-f442676c]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-f442676c]{margin:.5rem 0}#page .network-message li[data-v-f442676c]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-f442676c]{color:red}#page .network-message li a[data-v-f442676c]{color:#00f}#page form[data-v-f442676c]{display:block;width:100%;margin:3rem 0}#page form label[data-v-f442676c]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-f442676c]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-f442676c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-f442676c]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-f442676c]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-f442676c]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-f442676c]{margin-left:10px;user-select:none}#page .msg[data-v-f442676c]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-f442676c]{width:100%;margin-top:3rem}#page .btns button[data-v-f442676c]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-162eca5f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-162eca5f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-162eca5f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-162eca5f]{animation:rotateEnter-162eca5f .7s;position:relative}.rotate-leave-active[data-v-162eca5f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-162eca5f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-162eca5f]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-162eca5f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-162eca5f]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-162eca5f]{margin:.5rem 0}#page .network-message li[data-v-162eca5f]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-162eca5f]{color:red}#page .network-message li a[data-v-162eca5f]{color:#00f}#page form[data-v-162eca5f]{display:block;width:100%;margin:3rem 0}#page form label[data-v-162eca5f]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-162eca5f]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-162eca5f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-162eca5f]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-162eca5f],#page form label select[data-v-162eca5f]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-162eca5f]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-162eca5f]{margin-left:10px;user-select:none}#page .msgs[data-v-162eca5f]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-162eca5f]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-162eca5f]{width:100%;margin-top:3rem}#page .btns button[data-v-162eca5f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-2dee59a8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2dee59a8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2dee59a8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2dee59a8]{animation:rotateEnter-2dee59a8 .7s;position:relative}.rotate-leave-active[data-v-2dee59a8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2dee59a8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-2dee59a8]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-2dee59a8]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-2dee59a8]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-2dee59a8]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-2dee59a8]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-2dee59a8]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-2dee59a8]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-2dee59a8]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-2dee59a8]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-2dee59a8]{display:block;width:100%;margin:3rem 0}#page form label[data-v-2dee59a8]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-2dee59a8]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-2dee59a8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-2dee59a8]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-2dee59a8],#page form label select[data-v-2dee59a8]{width:100%;display:block;height:42px}.switch_inline[data-v-2dee59a8]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-2dee59a8]{margin-left:10px;user-select:none}@keyframes bganimation-77451104{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77451104{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77451104{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77451104]{animation:rotateEnter-77451104 .7s;position:relative}.rotate-leave-active[data-v-77451104]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77451104]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-77451104]{line-height:22px;font-size:14px}.label-item[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77451104]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77451104]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77451104]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-77451104],.label-item .label-item_value input[data-v-77451104]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-77451104]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-77451104]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-77451104]{top:0}.label-item .label-item_tips[data-v-77451104]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77451104]{vertical-align:top}span.msg-warning[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-77451104]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-77451104]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-77451104]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-77451104]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-77451104]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-77451104]{display:block}.actioner-container_body.setup-success .body-tips[data-v-77451104]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-77451104]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-77451104]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5ec616d8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ec616d8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ec616d8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ec616d8]{animation:rotateEnter-5ec616d8 .7s;position:relative}.rotate-leave-active[data-v-5ec616d8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ec616d8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-5ec616d8]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-70cb932e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70cb932e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70cb932e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70cb932e]{animation:rotateEnter-70cb932e .7s;position:relative}.rotate-leave-active[data-v-70cb932e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70cb932e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-70cb932e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-70cb932e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-70cb932e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-70cb932e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-70cb932e]{width:100%}.label-item .label-item_value select[data-v-70cb932e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-70cb932e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-70cb932e]{top:0;margin:0}.label-item .label-item_tips[data-v-70cb932e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-70cb932e]{vertical-align:top}span.msg-warning[data-v-70cb932e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-56c0f6fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56c0f6fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56c0f6fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56c0f6fb]{animation:rotateEnter-56c0f6fb .7s;position:relative}.rotate-leave-active[data-v-56c0f6fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56c0f6fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-56c0f6fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-56c0f6fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-56c0f6fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-56c0f6fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-56c0f6fb]{width:100%}.label-item .label-item_value select[data-v-56c0f6fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-56c0f6fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-56c0f6fb]{top:0;margin:0}.label-item .label-item_tips[data-v-56c0f6fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-56c0f6fb]{vertical-align:top}span.msg-warning[data-v-56c0f6fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-0586260e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0586260e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0586260e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0586260e]{animation:rotateEnter-0586260e .7s;position:relative}.rotate-leave-active[data-v-0586260e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0586260e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-0586260e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-0586260e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-0586260e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-0586260e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-0586260e]{width:100%}.label-item .label-item_value select[data-v-0586260e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-0586260e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-0586260e]{top:0;margin:0}.label-item .label-item_tips[data-v-0586260e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-0586260e]{vertical-align:top}span.msg-warning[data-v-0586260e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-e20ba082]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-e20ba082] .actioner-container{width:100%}.action-main[data-v-e20ba082] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-e20ba082] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-e20ba082]{width:90%}}@keyframes bganimation-f1411b40{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f1411b40{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f1411b40{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f1411b40]{animation:rotateEnter-f1411b40 .7s;position:relative}.rotate-leave-active[data-v-f1411b40]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f1411b40]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-f1411b40]{margin-bottom:32px}.item-status[data-v-f1411b40]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-f1411b40]{text-decoration:underline;cursor:help}@keyframes bganimation-2b6b4ef9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b6b4ef9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b6b4ef9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b6b4ef9]{animation:rotateEnter-2b6b4ef9 .7s;position:relative}.rotate-leave-active[data-v-2b6b4ef9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b6b4ef9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2b6b4ef9]{margin-bottom:1rem}#page[data-v-2b6b4ef9] .cbi-section{padding:1rem}#page[data-v-2b6b4ef9] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-f3b0d6f0]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-f3b0d6f0] .actioner-container{width:100%}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-f3b0d6f0]{width:90%}}@keyframes bganimation-abf07ee0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-abf07ee0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-abf07ee0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-abf07ee0]{animation:rotateEnter-abf07ee0 .7s;position:relative}.rotate-leave-active[data-v-abf07ee0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-abf07ee0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-abf07ee0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-4a646cde{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a646cde{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a646cde{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a646cde]{animation:rotateEnter-4a646cde .7s;position:relative}.rotate-leave-active[data-v-4a646cde]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a646cde]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-4a646cde]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-997c3dee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-997c3dee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-997c3dee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-997c3dee]{animation:rotateEnter-997c3dee .7s;position:relative}.rotate-leave-active[data-v-997c3dee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-997c3dee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-997c3dee]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-6f6071af]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-6f6071af]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-6f6071af]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-6f6071af]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-6f6071af]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-6f6071af],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-6f6071af]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-6f6071af]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-6f6071af]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-6f6071af]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-6f6071af]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-6f6071af]{width:100%}}@keyframes bganimation-4ec945e0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4ec945e0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4ec945e0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4ec945e0]{animation:rotateEnter-4ec945e0 .7s;position:relative}.rotate-leave-active[data-v-4ec945e0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4ec945e0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 170px;height:80px;justify-content:start}[data-v-4ec945e0] .interface-device-flex{justify-content:start}.container[data-v-4ec945e0]{width:100%;overflow-x:auto}.container .table-wrapper[data-v-4ec945e0]{min-width:1280px;width:max-content}.container .table-wrapper .table-body[data-v-4ec945e0]{display:flex;flex-direction:column;min-width:100%}.container .table-wrapper .table-header[data-v-4ec945e0]{display:flex;border-bottom:2px solid #e5e7eb;background-color:#f8fafc;padding-left:10px}.container .table-wrapper .table-row[data-v-4ec945e0]{display:flex;min-width:100%;align-items:center;border-bottom:1px solid #e5e7eb;transition:background-color .2s}.container .table-wrapper .table-row[data-v-4ec945e0]:hover{background-color:#f3f4f6}.container .table-wrapper .add-row[data-v-4ec945e0]{cursor:pointer}.container .table-wrapper .add-row[data-v-4ec945e0]:hover{background-color:#f0f9ff}.container .table-wrapper .table-cell[data-v-4ec945e0]{padding:12px 16px;box-sizing:border-box;display:flex;justify-content:center}.container .table-wrapper .device-col[data-v-4ec945e0]{flex:0 0 200px;min-width:200px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:first-of-type{flex:0 0 10px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:last-of-type{flex:0 0 32px}.container .table-wrapper .name-col[data-v-4ec945e0]{flex:0 0 150px;min-width:150px;text-align:left}.container .table-wrapper .action-col[data-v-4ec945e0]{flex:0 0 auto;text-align:right;min-width:160px}.container .table-wrapper .icon[data-v-4ec945e0]{width:48px;height:100%;cursor:pointer}.container .table-wrapper .interface-device-flex[data-v-4ec945e0]{display:flex;justify-content:center;width:100%}.container .cbi-page-actions[data-v-4ec945e0]{margin-top:20px;display:flex;justify-content:flex-end}@media (max-width: 768px){.container[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 80px;width:120px;height:80px;justify-content:start}.container .table-wrapper[data-v-4ec945e0]{min-width:100%}.container .table-cell[data-v-4ec945e0]{padding:8px 12px}.container .device-col[data-v-4ec945e0]{flex:0 0 120px!important;min-width:120px!important;margin-right:16px}.container .name-col[data-v-4ec945e0]{flex:0 0 80px!important;min-width:80px!important}.container .action-col[data-v-4ec945e0]{min-width:120px}.container .interface-device-flex[data-v-4ec945e0]{flex-direction:column;gap:4px}}tr>td,tr>th,.tr>.td,.tr>.th,.cbi-section-table-row:before,#cbi-wireless>#wifi_assoclist_table>.tr:nth-child(2){border:none}@keyframes bganimation-2c8ecf89{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c8ecf89{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c8ecf89{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c8ecf89]{animation:rotateEnter-2c8ecf89 .7s;position:relative}.rotate-leave-active[data-v-2c8ecf89]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c8ecf89]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-table-container[data-v-2c8ecf89]{width:100%;font-size:14px;color:var(--flow-span-color)}.custom-table-container input[data-v-2c8ecf89]{margin:0}.custom-table-container .custom-table-wrapper[data-v-2c8ecf89]{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.custom-table-container .custom-table[data-v-2c8ecf89]{width:100%;border-collapse:collapse;table-layout:auto}.custom-table-container .custom-table thead[data-v-2c8ecf89]{border-radius:8px!important;background:#F8F8F8}.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{color:var(--flow-span-color)!important;font-weight:500!important;border:none!important;padding:18px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]{background:transparent;border-bottom:1px solid #f8f8f8!important}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]:last-child{border-bottom:none!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:24px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr:hover td[data-v-2c8ecf89]{background-color:#00000005!important}.custom-table-container .custom-table tbody tr.empty-row td[data-v-2c8ecf89]{text-align:center!important;padding:30px 0!important;color:#c98d8d66!important;border-bottom:none!important}.custom-table-container .custom-table .selection-header[data-v-2c8ecf89],.custom-table-container .custom-table .selection-cell[data-v-2c8ecf89]{width:50px!important;min-width:50px!important;text-align:center!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:0 8px}.custom-table-container .pagination-wrapper .pagination-info[data-v-2c8ecf89]{color:#0009;font-size:13px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:32px;height:32px;margin:0 4px;padding:0 8px;background:#fff;color:#000000a6;cursor:pointer;transition:all .3s}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:hover:not(:disabled){color:#1890ff;border-color:#1890ff}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.custom-table-container .pagination-wrapper .pagination-controls button.active[data-v-2c8ecf89]{color:#fff;background-color:#1890ff;border-color:#1890ff}@media (max-width: 768px){.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{padding:8px 4px!important;font-size:13px!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:12px 4px!important;font-size:13px!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{flex-direction:column;align-items:flex-start;gap:12px}.custom-table-container .pagination-wrapper .pagination-controls[data-v-2c8ecf89]{display:flex;flex-wrap:wrap;gap:4px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:28px;height:28px;margin:0;padding:0 6px;font-size:13px}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.del-button[data-v-d28f7d82]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 15px;font-size:14px;border-radius:4px}.add-button--danger[data-v-d28f7d82]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-d28f7d82]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-d28f7d82]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.del-button--danger[data-v-d28f7d82]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-d28f7d82]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-d28f7d82]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.search_box[data-v-d28f7d82]{width:350px}.search_box .search_container[data-v-d28f7d82]{display:flex;align-items:center;gap:8px}.search_box .search_container .search_input_wrapper[data-v-d28f7d82]{position:relative;flex-grow:1}.search_box .search_container .search_input_wrapper .search_icon[data-v-d28f7d82]{position:absolute;right:10px;top:50%;transform:translateY(-50%);fill:#000c;cursor:pointer}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]{width:100%;padding:4px 35px 4px 12px;border-radius:4px;border:1px solid rgba(0,0,0,.6);font-size:14px;outline:none;transition:border-color .3s;color:#222;background:transparent}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]:focus{border-color:#4a90e2}.search_box .search_container .refresh_button[data-v-d28f7d82]{background:none;border:none;cursor:pointer;padding:8px;border-radius:50%;transition:background-color .3s;display:flex;align-items:center;justify-content:center}.search_box .search_container .refresh_button[data-v-d28f7d82]:hover{background-color:#f0f0f0}.search_box .search_container .refresh_button .refresh_icon[data-v-d28f7d82]{fill:#000c;transition:transform .3s}.search_box .search_container .refresh_button.rotate .refresh_icon[data-v-d28f7d82]{animation:spin-d28f7d82 1s linear infinite}@keyframes spin-d28f7d82{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.search_box[data-v-d28f7d82]{width:80%}.del-button[data-v-d28f7d82]{padding:6px 8px}}@keyframes bganimation-9ce78472{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9ce78472{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9ce78472{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9ce78472]{animation:rotateEnter-9ce78472 .7s;position:relative}.rotate-leave-active[data-v-9ce78472]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9ce78472]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.switch[data-v-9ce78472]{display:inline-flex;align-items:center;position:relative;font-size:14px;height:20px}.switch.is-disabled[data-v-9ce78472]{opacity:.6;cursor:not-allowed}.switch.is-disabled .switch__core[data-v-9ce78472]{cursor:not-allowed}.switch__input[data-v-9ce78472]{position:absolute;width:0;height:0;opacity:0;margin:0;z-index:-1}.switch__core[data-v-9ce78472]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid;outline:none;border-radius:10px;box-sizing:border-box;cursor:pointer;transition:border-color .3s,background-color .3s}.switch__button[data-v-9ce78472]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff;box-shadow:0 1px 2px #0003}.switch.is-checked .switch__button[data-v-9ce78472]{transform:translate(20px)}@keyframes bganimation-529a02b0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-529a02b0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-529a02b0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-529a02b0]{animation:rotateEnter-529a02b0 .7s;position:relative}.rotate-leave-active[data-v-529a02b0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-529a02b0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-529a02b0]{position:relative;height:260px}.flow .echart[data-v-529a02b0]{width:100%;height:100%}.flow .flow-data[data-v-529a02b0]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-529a02b0]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-529a02b0]{height:55vw}}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:999;backdrop-filter:blur(2px)}.modal-container{background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:90%;max-width:var(--1df87c10);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-container .modal-header{padding:8px 12px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.modal-container .modal-header .modal-title{margin:0;font-size:18px;color:#333;padding:0;text-align:center;background:transparent!important}.modal-container .modal-header .modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#999;transition:color .2s}.modal-container .modal-header .modal-close:hover{color:#666}.modal-container .modal-content{padding:18px;overflow-y:auto;flex:1}.modal-container .modal-footer{padding:8px 12px;border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;gap:12px}.modal-container .modal-footer .modal-button{padding:4px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s;border:1px solid transparent}.modal-container .modal-footer .modal-button.cancel{background-color:#fff;border-color:#ddd;color:#666}.modal-container .modal-footer .modal-button.cancel:hover{background-color:#f5f5f5}.modal-container .modal-footer .modal-button.confirm{background-color:#553afe;color:#fff}.modal-container .modal-footer .modal-button.confirm:hover{background-color:#3f21fe}@media (max-width: 768px){.modal-container{width:95%;max-width:none;max-height:90vh;margin:0 10px}.modal-container .modal-header{padding:12px 16px}.modal-container .modal-header .modal-title{font-size:16px;background:transparent!important}.modal-container .modal-header .modal-close{font-size:20px}.modal-container .modal-content{padding:16px}.modal-container .modal-footer{padding:12px 16px;flex-direction:column-reverse;gap:8px}.modal-container .modal-footer .modal-button{width:100%;padding:10px;font-size:15px}}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.slide-enter-active,.slide-leave-active{transition:transform .3s ease,opacity .3s ease}.slide-enter-from,.slide-leave-to{transform:translateY(-20px);opacity:0}@keyframes bganimation-2f8a90b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2f8a90b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2f8a90b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2f8a90b2]{animation:rotateEnter-2f8a90b2 .7s;position:relative}.rotate-leave-active[data-v-2f8a90b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2f8a90b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-2f8a90b2] .tag-input{padding:4px 12px}.custom-content[data-v-2f8a90b2]{position:relative}.custom-content .img_box[data-v-2f8a90b2]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-2f8a90b2]{width:100%;height:100%}.custom-content .IP_address[data-v-2f8a90b2]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-2f8a90b2]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-2f8a90b2]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-2f8a90b2]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-2f8a90b2]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-2f8a90b2]{width:45%;background:transparent!important;color:var(--card-box-shadow)}.custom-content .item_box>select>option[data-v-2f8a90b2]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-2f8a90b2]{width:140px;text-align:right}.info-content[data-v-2f8a90b2]{display:flex}.info-content .img_box[data-v-2f8a90b2]{position:relative}.info-content .item_box .item_left[data-v-2f8a90b2]{width:100px}@keyframes bganimation-2f8a90b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2f8a90b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2f8a90b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2f8a90b2]{animation:rotateEnter-2f8a90b2 .7s;position:relative}.rotate-leave-active[data-v-2f8a90b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2f8a90b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-0ad740fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ad740fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ad740fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ad740fc]{animation:rotateEnter-0ad740fc .7s;position:relative}.rotate-leave-active[data-v-0ad740fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ad740fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-0ad740fc]{position:relative}.custom-content .img_box[data-v-0ad740fc]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-0ad740fc]{width:100%;height:100%}.custom-content .IP_address[data-v-0ad740fc]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-0ad740fc]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-0ad740fc]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-0ad740fc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-0ad740fc]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-0ad740fc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-0ad740fc]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-0ad740fc]{width:140px;text-align:right}.del-button[data-v-0ad740fc]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-0ad740fc]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-0ad740fc]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-0ad740fc]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-0ad740fc]{opacity:.5;cursor:not-allowed}@keyframes bganimation-0ad740fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ad740fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ad740fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ad740fc]{animation:rotateEnter-0ad740fc .7s;position:relative}.rotate-leave-active[data-v-0ad740fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ad740fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-517a8ecc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-517a8ecc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-517a8ecc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-517a8ecc]{animation:rotateEnter-517a8ecc .7s;position:relative}.rotate-leave-active[data-v-517a8ecc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-517a8ecc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-517a8ecc]{position:relative}.custom-content .img_box[data-v-517a8ecc]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-517a8ecc]{width:100%;height:100%}.custom-content .IP_address[data-v-517a8ecc]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-517a8ecc]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-517a8ecc]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-517a8ecc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-517a8ecc]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-517a8ecc]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-517a8ecc]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-517a8ecc]{width:140px;text-align:right}.del-button[data-v-517a8ecc]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-517a8ecc]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-517a8ecc]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-517a8ecc]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-517a8ecc]{opacity:.5;cursor:not-allowed}@keyframes bganimation-517a8ecc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-517a8ecc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-517a8ecc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-517a8ecc]{animation:rotateEnter-517a8ecc .7s;position:relative}.rotate-leave-active[data-v-517a8ecc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-517a8ecc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-7e024b67{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7e024b67{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7e024b67{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7e024b67]{animation:rotateEnter-7e024b67 .7s;position:relative}.rotate-leave-active[data-v-7e024b67]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7e024b67]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.dialog-overlay[data-v-7e024b67]{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:16px}.dialog-container[data-v-7e024b67]{background-color:#fff;border-radius:12px;padding:16px;width:100%;max-width:400px;box-shadow:0 4px 12px #00000026}.dialog-container .dialog-title[data-v-7e024b67]{margin:0 0 20px;font-size:1.2rem;font-weight:500;color:#333;text-align:left}.dialog-container .dialog-message[data-v-7e024b67]{margin:20px 0;font-size:1rem;color:#666;text-align:center}.dialog-container .loading-animation[data-v-7e024b67]{margin:20px 0}.dialog-container .loading-animation .spinner[data-v-7e024b67]{width:40px;height:40px;margin:0 auto;border:4px solid rgba(110,72,170,.2);border-radius:50%;border-top-color:#8d78fa;animation:spin-7e024b67 1s linear infinite}.dialog-container .dialog-button[data-v-7e024b67]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s;margin:0 auto;display:block}.dialog-container .dialog-button[data-v-7e024b67]:hover{background-color:#553afe;opacity:.9}.dialog-container .dialog-button[data-v-7e024b67]:active{transform:scale(.98)}.dialog-container .warning-message[data-v-7e024b67]{display:flex;gap:8px;background-color:#fff8e1;border-left:4px solid #FFC107;padding:12px;margin-bottom:20px;border-radius:4px;font-size:.9rem;color:#333;text-align:left}.dialog-container .warning-message .warning-icon[data-v-7e024b67]{flex-shrink:0;width:20px;height:20px;color:#ffa000}.dialog-container .input-group[data-v-7e024b67]{margin-bottom:16px;text-align:left}.dialog-container .input-group label[data-v-7e024b67]{display:block;margin-bottom:8px;font-size:.95rem;color:#333}.dialog-container .input-group .tag-input[data-v-7e024b67]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .2s}.dialog-container .input-group .tag-input[data-v-7e024b67]:focus{outline:none;border-color:#6e48aa}.dialog-container .button-group[data-v-7e024b67]{display:flex;justify-content:flex-end;gap:12px}.dialog-container .button-group .cancel-button[data-v-7e024b67]{background-color:#fff;color:#333;border:1px solid #ddd;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .cancel-button[data-v-7e024b67]:hover{background-color:#e0e0e0}.dialog-container .button-group .cancel-button[data-v-7e024b67]:active{transform:scale(.98)}.dialog-container .button-group .confirm-button[data-v-7e024b67]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .confirm-button[data-v-7e024b67]:hover{background-color:#553afe;opacity:.9}.dialog-container .button-group .confirm-button[data-v-7e024b67]:active{transform:scale(.98)}.tag-dialog[data-v-7e024b67]{max-width:500px}.fade-enter-active[data-v-7e024b67],.fade-leave-active[data-v-7e024b67]{transition:opacity .3s ease}.fade-enter-from[data-v-7e024b67],.fade-leave-to[data-v-7e024b67]{opacity:0}@keyframes spin-7e024b67{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-circle-7e024b67{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}@keyframes icon-line-tip-7e024b67{0%{width:0;left:1px;top:15px}54%{width:0;left:1px;top:15px}70%{width:40px;left:-6px;top:30px}84%{width:14px;left:17px;top:38px}to{width:12px;left:8px;top:22px}}@keyframes icon-line-long-7e024b67{0%{width:0;right:37px;top:43px}65%{width:0;right:37px;top:43px}84%{width:44px;right:0;top:28px}to{width:20px;right:8px;top:20px}}@media (max-width: 480px){.dialog-container[data-v-7e024b67]{padding:16px}.dialog-container .dialog-title[data-v-7e024b67]{font-size:1.1rem;margin-bottom:16px}.dialog-container .dialog-message[data-v-7e024b67]{font-size:.95rem;margin:16px 0}.dialog-container .warning-message[data-v-7e024b67]{font-size:.85rem;padding:10px}.dialog-container .input-group[data-v-7e024b67]{margin-bottom:20px}.dialog-container .input-group label[data-v-7e024b67]{font-size:.9rem}.dialog-container .input-group .tag-input[data-v-7e024b67]{padding:8px 10px;font-size:.95rem}.dialog-container .button-group[data-v-7e024b67]{gap:8px}.dialog-container .button-group .cancel-button[data-v-7e024b67],.dialog-container .button-group .confirm-button[data-v-7e024b67]{padding:4px 16px;font-size:.95rem}.dialog-container .loading-animation .spinner[data-v-7e024b67]{width:36px;height:36px}}@keyframes bganimation-7ea05c92{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7ea05c92{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7ea05c92{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7ea05c92]{animation:rotateEnter-7ea05c92 .7s;position:relative}.rotate-leave-active[data-v-7ea05c92]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7ea05c92]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.add-button[data-v-7ea05c92]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 12px;font-size:14px;border-radius:4px}.add-button--danger[data-v-7ea05c92]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-7ea05c92]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-7ea05c92]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-7ea05c92]{opacity:.5;cursor:not-allowed}.tab-container[data-v-7ea05c92]{display:flex;flex-direction:row;width:100%;margin:0 auto;border-radius:8px;overflow:hidden}@media (max-width: 768px){.tab-container[data-v-7ea05c92]{flex-direction:column}}.tab-header[data-v-7ea05c92]{display:flex;flex-direction:column;width:120px}@media (max-width: 768px){.tab-header[data-v-7ea05c92]{flex-direction:row;width:100%;overflow-x:auto;white-space:nowrap}}.tab-button[data-v-7ea05c92]{padding:12px 16px;text-align:left;border:none;background:transparent!important;cursor:pointer;font-size:14px;color:var(--flow-span-color);transition:all .3s ease;border-radius:8px 0 0 8px}.tab-button[data-v-7ea05c92]:hover{background:var(--tag-bg-color)!important}.tab-button.active[data-v-7ea05c92]{background:var(--tag-bg-color)!important;font-weight:500;margin:0}@media (max-width: 768px){.tab-button[data-v-7ea05c92]{border-radius:8px 8px 0 0;text-align:center;flex:1;min-width:max-content}.tab-button.active[data-v-7ea05c92]{border-radius:8px 8px 0 0}}.tab-content_g[data-v-7ea05c92]{flex:1;padding:20px;background:var(--tag-bg-color);border-radius:0 8px 8px 0;min-height:60vh}.tab-content_g .not_installed[data-v-7ea05c92]{display:flex;flex-direction:column;align-items:center}.tab-content_g .not_installed>span[data-v-7ea05c92]{color:var(--tit-color);margin:20px 0}.tab-content_g .not_installed .not_installed_btn[data-v-7ea05c92]{padding:6px 16px;background:#553AFE;border-radius:4px;font-size:14px;color:#fff;cursor:pointer}@media (max-width: 768px){.tab-content_g[data-v-7ea05c92]{border-radius:0 0 8px 8px}}.item_box[data-v-7ea05c92]{margin-top:12px;display:flex;align-items:center;color:var(--tit-color)!important}.item_box>input[data-v-7ea05c92]{width:40%;color:var(--card-box-shadow);background:transparent!important;color:var(--tit-color)!important}@media (max-width: 768px){.item_box>input[data-v-7ea05c92]{width:70%}}.item_box>input[data-v-7ea05c92]::placeholder{color:var(--item-label_key-span-color)}.item_box>select[data-v-7ea05c92]{background:transparent!important;width:40%;color:var(--card-box-shadow)}@media (max-width: 768px){.item_box>select[data-v-7ea05c92]{width:70%}}.item_box>select>option[data-v-7ea05c92]{padding:4px 12px!important}.item_box .item_left[data-v-7ea05c92]{width:140px;text-align:right}@media (max-width: 768px){.item_box .item_left[data-v-7ea05c92]{width:100px}}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.tab-container[data-v-a5a78984]{margin:0 auto}.tabs_box_g[data-v-a5a78984]{display:flex}.tabs_box_g button[data-v-a5a78984]{padding:14px 24px;border:none;background:none;cursor:pointer;font-size:14px;border-radius:8px 8px 0 0;margin:0;transition:all .3s ease}.tabs_box_g button.active[data-v-a5a78984]{background:var(--card-bg-color);color:#553afe;font-weight:700;position:relative}.tab-content_g[data-v-a5a78984]{background:var(--card-bg-color);padding:16px;border-radius:0 8px 8px}.content-item[data-v-a5a78984]{min-height:60vh}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.tabs_box_g button[data-v-a5a78984]{padding:7px 12px!important}.tab-content_g[data-v-a5a78984]{border-radius:0 0 8px 8px}}@keyframes bganimation-1f11eeec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f11eeec{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f11eeec{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f11eeec]{animation:rotateEnter-1f11eeec .7s;position:relative}.rotate-leave-active[data-v-1f11eeec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f11eeec]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-1f11eeec]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-1f11eeec]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-1f11eeec]{display:none;align-items:center}.switch-core[data-v-1f11eeec]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-1f11eeec]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-1f11eeec]{opacity:.6;cursor:not-allowed}.switch-button[data-v-1f11eeec]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(20px)}.switch-label[data-v-1f11eeec]{font-size:14px;color:#999}.switch-label.active[data-v-1f11eeec]{color:#409eff}form.form-container[data-v-1f11eeec]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-name[data-v-1f11eeec]{display:block;width:100%;margin-bottom:.5rem;color:var(--item-label_key-span-color)}form.form-container .label-name span[data-v-1f11eeec]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-1f11eeec]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-1f11eeec],form.form-container .label-value select[data-v-1f11eeec]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:var(--item-label_key-span-color);font-size:14px}form.form-container .label-value input>option[data-v-1f11eeec],form.form-container .label-value select>option[data-v-1f11eeec]{color:#8898aa}form.form-container .label-value input[data-v-1f11eeec]:focus,form.form-container .label-value select[data-v-1f11eeec]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-1f11eeec]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-1f11eeec]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-1f11eeec],form.form-container .label-value input[type=radio][data-v-1f11eeec]{width:auto}form.form-container .label-value input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-1f11eeec]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-1f11eeec]::placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]:-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]::-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-btns[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-1f11eeec]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-1f11eeec]{color:#f9ad1e}form.form-container .label-flex[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-1f11eeec]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-1f11eeec]{width:200px!important}.form-item .label-value[data-v-1f11eeec]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-1f11eeec]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-1f11eeec]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-1f11eeec]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-1f11eeec]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-1f11eeec]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-1f11eeec]:hover{opacity:.9;transition:.3}select[data-v-1f11eeec]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-1f11eeec]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-1f11eeec]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-1f11eeec]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-1f11eeec]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-1f11eeec]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-1f11eeec]{color:var(--item-label_key-span-color)}form.form-container .form-item .label-value[data-v-1f11eeec]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-1f11eeec],form.form-container .form-item .label-value select[data-v-1f11eeec]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-1f11eeec]{padding-right:24px}form.form-container .form-item .label-value input[data-v-1f11eeec]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-1f11eeec]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-1f11eeec]{padding-right:16px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-1f11eeec] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-1f11eeec] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-1f11eeec]{display:flex}form.form-container .label-flex label[data-v-1f11eeec]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-1f11eeec]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-1f11eeec]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-1f11eeec]{width:20px;height:20px;right:0}.pc-radio[data-v-1f11eeec],.label-flex[data-v-1f11eeec]{display:none!important}.mobile-switch[data-v-1f11eeec]{display:flex;align-items:center;height:50px}.switch_label[data-v-1f11eeec]{display:flex;justify-content:end}.switch-core[data-v-1f11eeec]{width:50px;height:24px}.switch-button[data-v-1f11eeec]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(26px)}.select-arrow[data-v-1f11eeec]{position:absolute;right:6px;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-40cb5302{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40cb5302{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40cb5302{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40cb5302]{animation:rotateEnter-40cb5302 .7s;position:relative}.rotate-leave-active[data-v-40cb5302]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-40cb5302]{display:none}.page-flex[data-v-40cb5302]{display:flex}.page-flex .page-sidebar[data-v-40cb5302]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-40cb5302]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:var(--item-label_key-span-color);display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-40cb5302]:hover,.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-40cb5302]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-40cb5302]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-40cb5302]{display:block}.page-flex .page-sidebar[data-v-40cb5302]{display:none}.page-flex .page-main[data-v-40cb5302]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-40cb5302]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-40cb5302]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-40cb5302]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-40cb5302]::-webkit-scrollbar{display:none}.tag-item[data-v-40cb5302]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:var(--tag-bg-color);color:var(--item-label_key-span-color);font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-40cb5302]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-40cb5302]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:var(--gradient-bg-color)}.more-btn[data-v-40cb5302]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-40cb5302]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-40cb5302] .showSide{z-index:1!important}.popup-overlay[data-v-40cb5302]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-40cb5302]{width:100%;max-height:85vh;background-color:var(--popup-bg-color);border-radius:0 0 4px 4px;animation:slideDown-40cb5302 .3s ease-out;overflow-y:auto;padding-top:25px}.popup-content .popup-tag-item[data-v-40cb5302],.popup-content .active[data-v-40cb5302]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-40cb5302{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-40cb5302]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-40cb5302]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.popup-footer[data-v-40cb5302]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-40cb5302]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-40cb5302]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-40cb5302]{background-color:#5279f7;color:#fff;border:none}} diff --git a/openwrt-packages/quickstart/Makefile b/openwrt-packages/quickstart/Makefile index 08aaeb04a3..7547055369 100644 --- a/openwrt-packages/quickstart/Makefile +++ b/openwrt-packages/quickstart/Makefile @@ -10,11 +10,11 @@ include $(TOPDIR)/rules.mk PKG_ARCH_quickstart:=$(ARCH) PKG_NAME:=quickstart -PKG_VERSION:=0.11.5 +PKG_VERSION:=0.11.6 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/linkease/istore-packages/releases/download/prebuilt/ -PKG_HASH:=22f112c0af75fa687f7c9838344a0faf0ca39baa4e15bffd69969e53f21ac2a6 +PKG_HASH:=1b3d206156b615cc227b3936d4e2cabba429f205b8cbd4d1a297ebc6870efce6 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION) diff --git a/small/luci-app-fchomo/htdocs/luci-static/resources/fchomo.js b/small/luci-app-fchomo/htdocs/luci-static/resources/fchomo.js index 459a108dd3..274efc7a32 100644 --- a/small/luci-app-fchomo/htdocs/luci-static/resources/fchomo.js +++ b/small/luci-app-fchomo/htdocs/luci-static/resources/fchomo.js @@ -456,6 +456,7 @@ const CBIHandleImport = baseclass.extend(/** @lends hm.HandleImport.prototype */ this.description = description ?? ''; this.placeholder = ''; this.appendcommand = ''; + this.overridecommand = ''; }, calcID(field, name) { @@ -467,7 +468,7 @@ const CBIHandleImport = baseclass.extend(/** @lends hm.HandleImport.prototype */ const field = this.section.hm_field; let content = textarea.getValue().trim(); - let command = `.["${field}"]` + this.appendcommand; + let command = this.overridecommand || `.["${field}"]` + this.appendcommand; if (['proxy-providers', 'rule-providers'].includes(field)) content = content.replace(/(\s*payload:)/g, "$1 |-") /* payload to text */ diff --git a/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js b/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js index 9e8ae82d68..f2c6382174 100644 --- a/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js +++ b/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js @@ -229,7 +229,7 @@ function parseDNSYaml(field, name, cfg) { let detour = addr.parseParam('detour'); if (detour) - addr.setParam('detour', hm.preset_outbound.full.map(([key, label]) => key).includes(detour) ? detour : this.calcID(hm.glossary["proxy_group"].field, detour)) + addr.setParam('detour', hm.preset_outbound.full.map(([key, label]) => key).includes(detour) ? detour : this.calcID(hm.glossary["proxy_group"].field, detour)); // key mapping let config = { @@ -268,7 +268,7 @@ function parseDNSPolicyYaml(field, name, cfg) { type: type, ...Object.fromEntries([[type, rules]]), server: (Array.isArray(cfg) ? cfg : [cfg]).map((dns) => this.calcID(hm.glossary["dns_server"].field, dns)), - //proxy: null + //proxy: null // fchomo unique features }; return config; @@ -1305,12 +1305,28 @@ return view.extend({ const o = new hm.HandleImport(this.map, this, _('Import mihomo config'), _('Please type %s fields of mihomo config.
') .format(field)); - o.placeholder = 'nameserver:\n' + - '- 223.5.5.5\n' + - '- tls://8.8.4.4:853\n' + - '- https://doh.pub/dns-query#DIRECT\n' + - '- https://dns.alidns.com/dns-query#auto&h3=true&ecs=1.1.1.1/24\n' + + o.placeholder = 'dns:\n' + + ' default-nameserver:\n' + + ' - 223.5.5.5\n' + + ' - tls://8.8.4.4:853\n' + + ' - https://doh.pub/dns-query#DIRECT\n' + + ' - https://dns.alidns.com/dns-query#auto&h3=true&ecs=1.1.1.1/24\n' + + ' nameserver-policy:\n' + + " 'geosite:category-ads-all': rcode://refused\n" + + " '+.arpa': '10.0.0.1'\n" + + " 'rule-set:cn':\n" + + ' - https://doh.pub/dns-query\n' + + ' - https://dns.alidns.com/dns-query\n' + + ' nameserver:\n' + + ' - https://doh.pub/dns-query\n' + + ' - https://dns.alidns.com/dns-query\n' + + ' fallback:\n' + + ' - tls://8.8.4.4\n' + + ' - tls://1.1.1.1\n' + + ' proxy-server-nameserver:\n' + + ' - https://doh.pub/dns-query\n' + ' ...' + o.overridecommand = '.dns | pick(["default-nameserver", "proxy-server-nameserver", "nameserver", "fallback", "nameserver-policy"]) | with(.["nameserver-policy"]; . = [.[]] | flatten) | [.[][]] | unique' o.parseYaml = function(field, name, cfg) { let config = hm.HandleImport.prototype.parseYaml.call(this, field, name, cfg); diff --git a/small/v2ray-geodata/Makefile b/small/v2ray-geodata/Makefile index 85617d0e31..c630b184b8 100644 --- a/small/v2ray-geodata/Makefile +++ b/small/v2ray-geodata/Makefile @@ -12,13 +12,13 @@ PKG_MAINTAINER:=Tianling Shen include $(INCLUDE_DIR)/package.mk -GEOIP_VER:=202508140022 +GEOIP_VER:=202509050142 GEOIP_FILE:=geoip.dat.$(GEOIP_VER) define Download/geoip URL:=https://github.com/v2fly/geoip/releases/download/$(GEOIP_VER)/ URL_FILE:=geoip.dat FILE:=$(GEOIP_FILE) - HASH:=54761d8691a5756fdb08d2cd4d0a9c889dbaab786e1cf758592e09fb00377f53 + HASH:=a01e09150b456cb2f3819d29d6e6c34572420aaee3ff9ef23977c4e9596c20ec endef GEOSITE_VER:=20250829121920 diff --git a/small/xray-core/Makefile b/small/xray-core/Makefile index 8920893a26..72ccf408df 100644 --- a/small/xray-core/Makefile +++ b/small/xray-core/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xray-core -PKG_VERSION:=25.8.31 +PKG_VERSION:=25.9.5 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=69f2586627b95c772cc640850db5786def538c547dc5fa22f7fa8025bae302d2 +PKG_HASH:=5c215908982635cc507629e1d366f72a3bf42f1237bcab6687c7a1e8f757bc0d PKG_MAINTAINER:=Tianling Shen PKG_LICENSE:=MPL-2.0 diff --git a/v2ray-rules-dat/.github/workflows/run.yml b/v2ray-rules-dat/.github/workflows/run.yml index 78dcff78a6..4687e568a7 100644 --- a/v2ray-rules-dat/.github/workflows/run.yml +++ b/v2ray-rules-dat/.github/workflows/run.yml @@ -54,7 +54,7 @@ jobs: path: gfwlist2dnsmasq - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: ./custom/go.mod cache-dependency-path: ./custom/go.sum diff --git a/v2rayn/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayn/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 9df5f6b45d..e488720ffb 100644 --- a/v2rayn/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayn/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -2321,10 +2321,22 @@ public static class ConfigHandler config.ConstItem.SrsSourceUrl = Global.SingboxRulesetSources[1]; config.ConstItem.RouteRulesTemplateSourceUrl = Global.RoutingRulesSources[1]; - await SaveDNSItems(config, await GetExternalDNSItem(ECoreType.Xray, Global.DNSTemplateSources[1] + "v2ray.json")); - await SaveDNSItems(config, await GetExternalDNSItem(ECoreType.sing_box, Global.DNSTemplateSources[1] + "sing_box.json")); + var xrayDnsRussia = await GetExternalDNSItem(ECoreType.Xray, Global.DNSTemplateSources[1] + "v2ray.json"); + var singboxDnsRussia = await GetExternalDNSItem(ECoreType.sing_box, Global.DNSTemplateSources[1] + "sing_box.json"); + var simpleDnsRussia = await GetExternalSimpleDNSItem(Global.DNSTemplateSources[1] + "simple_dns.json"); - config.SimpleDNSItem = await GetExternalSimpleDNSItem(Global.DNSTemplateSources[1] + "simple_dns.json") ?? InitBuiltinSimpleDNS(); + if (simpleDnsRussia == null) + { + xrayDnsRussia.Enabled = true; + singboxDnsRussia.Enabled = true; + config.SimpleDNSItem = InitBuiltinSimpleDNS(); + } + else + { + config.SimpleDNSItem = simpleDnsRussia; + } + await SaveDNSItems(config, xrayDnsRussia); + await SaveDNSItems(config, singboxDnsRussia); break; case EPresetType.Iran: @@ -2332,10 +2344,22 @@ public static class ConfigHandler config.ConstItem.SrsSourceUrl = Global.SingboxRulesetSources[2]; config.ConstItem.RouteRulesTemplateSourceUrl = Global.RoutingRulesSources[2]; - await SaveDNSItems(config, await GetExternalDNSItem(ECoreType.Xray, Global.DNSTemplateSources[2] + "v2ray.json")); - await SaveDNSItems(config, await GetExternalDNSItem(ECoreType.sing_box, Global.DNSTemplateSources[2] + "sing_box.json")); + var xrayDnsIran = await GetExternalDNSItem(ECoreType.Xray, Global.DNSTemplateSources[2] + "v2ray.json"); + var singboxDnsIran = await GetExternalDNSItem(ECoreType.sing_box, Global.DNSTemplateSources[2] + "sing_box.json"); + var simpleDnsIran = await GetExternalSimpleDNSItem(Global.DNSTemplateSources[2] + "simple_dns.json"); - config.SimpleDNSItem = await GetExternalSimpleDNSItem(Global.DNSTemplateSources[2] + "simple_dns.json") ?? InitBuiltinSimpleDNS(); + if (simpleDnsIran == null) + { + xrayDnsIran.Enabled = true; + singboxDnsIran.Enabled = true; + config.SimpleDNSItem = InitBuiltinSimpleDNS(); + } + else + { + config.SimpleDNSItem = simpleDnsIran; + } + await SaveDNSItems(config, xrayDnsIran); + await SaveDNSItems(config, singboxDnsIran); break; } diff --git a/v2rayng/AndroidLibXrayLite/go.mod b/v2rayng/AndroidLibXrayLite/go.mod index a4a597a6c8..4ecf184989 100644 --- a/v2rayng/AndroidLibXrayLite/go.mod +++ b/v2rayng/AndroidLibXrayLite/go.mod @@ -3,7 +3,7 @@ module github.com/2dust/AndroidLibXrayLite go 1.25 require ( - github.com/xtls/xray-core v1.250831.0 + github.com/xtls/xray-core v1.250905.0 golang.org/x/mobile v0.0.0-20250813145510-f12310a0cfd9 ) @@ -26,13 +26,13 @@ require ( github.com/refraction-networking/utls v1.8.0 // indirect github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3 // indirect github.com/rogpeppe/go-internal v1.14.1 // indirect - github.com/sagernet/sing v0.7.5 // indirect - github.com/sagernet/sing-shadowsocks v0.2.8 // indirect + github.com/sagernet/sing v0.7.7 // indirect + github.com/sagernet/sing-shadowsocks v0.2.9 // indirect github.com/seiflotfy/cuckoofilter v0.0.0-20240715131351-a2f2c23f1771 // indirect github.com/v2fly/ss-bloomring v0.0.0-20210312155135-28617310f63e // indirect github.com/vishvananda/netlink v1.3.1 // indirect github.com/vishvananda/netns v0.0.5 // indirect - github.com/xtls/reality v0.0.0-20250828044527-046fad5ab64f // indirect + github.com/xtls/reality v0.0.0-20250904214705-431b6ff8c67c // indirect go.uber.org/mock v0.6.0 // indirect go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect golang.org/x/crypto v0.41.0 // indirect diff --git a/v2rayng/AndroidLibXrayLite/go.sum b/v2rayng/AndroidLibXrayLite/go.sum index 3871b0951f..909b34b4a9 100644 --- a/v2rayng/AndroidLibXrayLite/go.sum +++ b/v2rayng/AndroidLibXrayLite/go.sum @@ -55,10 +55,10 @@ github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3 h1:f/FNXud6gA3MNr github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3/go.mod h1:HgjTstvQsPGkxUsCd2KWxErBblirPizecHcpD3ffK+s= github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= -github.com/sagernet/sing v0.7.5 h1:gNMwZCLPqR+4e0g6dwi0sSsrvOmoMjpZgqxKsuJZatc= -github.com/sagernet/sing v0.7.5/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak= -github.com/sagernet/sing-shadowsocks v0.2.8 h1:PURj5PRoAkqeHh2ZW205RWzN9E9RtKCVCzByXruQWfE= -github.com/sagernet/sing-shadowsocks v0.2.8/go.mod h1:lo7TWEMDcN5/h5B8S0ew+r78ZODn6SwVaFhvB6H+PTI= +github.com/sagernet/sing v0.7.7 h1:o46FzVZS+wKbBMEkMEdEHoVZxyM9jvfRpKXc7pEgS/c= +github.com/sagernet/sing v0.7.7/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak= +github.com/sagernet/sing-shadowsocks v0.2.9 h1:Paep5zCszRKsEn8587O0MnhFWKJwDW1Y4zOYYlIxMkM= +github.com/sagernet/sing-shadowsocks v0.2.9/go.mod h1:TE/Z6401Pi8tgr0nBZcM/xawAI6u3F6TTbz4nH/qw+8= github.com/seiflotfy/cuckoofilter v0.0.0-20240715131351-a2f2c23f1771 h1:emzAzMZ1L9iaKCTxdy3Em8Wv4ChIAGnfiz18Cda70g4= github.com/seiflotfy/cuckoofilter v0.0.0-20240715131351-a2f2c23f1771/go.mod h1:bR6DqgcAl1zTcOX8/pE2Qkj9XO00eCNqmKb7lXP8EAg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -71,10 +71,10 @@ github.com/vishvananda/netlink v1.3.1 h1:3AEMt62VKqz90r0tmNhog0r/PpWKmrEShJU0wJW github.com/vishvananda/netlink v1.3.1/go.mod h1:ARtKouGSTGchR8aMwmkzC0qiNPrrWO5JS/XMVl45+b4= github.com/vishvananda/netns v0.0.5 h1:DfiHV+j8bA32MFM7bfEunvT8IAqQ/NzSJHtcmW5zdEY= github.com/vishvananda/netns v0.0.5/go.mod h1:SpkAiCQRtJ6TvvxPnOSyH3BMl6unz3xZlaprSwhNNJM= -github.com/xtls/reality v0.0.0-20250828044527-046fad5ab64f h1:o1Kryl9qEYYzNep9RId9DM1kBn8tBrcK5UJnti/l0NI= -github.com/xtls/reality v0.0.0-20250828044527-046fad5ab64f/go.mod h1:XxvnCCgBee4WWE0bc4E+a7wbk8gkJ/rS0vNVNtC5qp0= -github.com/xtls/xray-core v1.250831.0 h1:0EWgE0eflLNqIudM/5c9SWA0Gegc3mgVsD5VNUqDHGE= -github.com/xtls/xray-core v1.250831.0/go.mod h1:WB/73DmN9Vs7lxtx4Xc/D0Ub1VUu06hAh1mMh8JN2uM= +github.com/xtls/reality v0.0.0-20250904214705-431b6ff8c67c h1:LHLhQY3mKXSpTcQAkjFR4/6ar3rXjQryNeM7khK3AHU= +github.com/xtls/reality v0.0.0-20250904214705-431b6ff8c67c/go.mod h1:XxvnCCgBee4WWE0bc4E+a7wbk8gkJ/rS0vNVNtC5qp0= +github.com/xtls/xray-core v1.250905.0 h1:VNL3l/6fcwyeYXJTRbf+TYqPfJYkk0Wmmz7qoQNkxY8= +github.com/xtls/xray-core v1.250905.0/go.mod h1:WB/73DmN9Vs7lxtx4Xc/D0Ub1VUu06hAh1mMh8JN2uM= github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E= go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= diff --git a/v2rayng/V2rayNG/app/build.gradle.kts b/v2rayng/V2rayNG/app/build.gradle.kts index a3f167ef4b..cad2d56440 100644 --- a/v2rayng/V2rayNG/app/build.gradle.kts +++ b/v2rayng/V2rayNG/app/build.gradle.kts @@ -12,8 +12,8 @@ android { applicationId = "com.v2ray.ang" minSdk = 21 targetSdk = 35 - versionCode = 671 - versionName = "1.10.21" + versionCode = 672 + versionName = "1.10.22" multiDexEnabled = true val abiFilterList = (properties["ABI_FILTERS"] as? String)?.split(';') diff --git a/v2rayng/V2rayNG/gradle/libs.versions.toml b/v2rayng/V2rayNG/gradle/libs.versions.toml index 6ffe5c2163..34ea1c9685 100644 --- a/v2rayng/V2rayNG/gradle/libs.versions.toml +++ b/v2rayng/V2rayNG/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.12.1" +agp = "8.12.2" desugarJdkLibs = "2.1.5" gradleLicensePlugin = "0.9.8" kotlin = "2.2.10" diff --git a/xray-core/app/reverse/bridge.go b/xray-core/app/reverse/bridge.go index 5cc60ad70c..20719ef198 100644 --- a/xray-core/app/reverse/bridge.go +++ b/xray-core/app/reverse/bridge.go @@ -149,25 +149,23 @@ func (w *BridgeWorker) Connections() uint32 { } func (w *BridgeWorker) handleInternalConn(link *transport.Link) { - go func() { - reader := link.Reader - for { - mb, err := reader.ReadMultiBuffer() - if err != nil { + reader := link.Reader + for { + mb, err := reader.ReadMultiBuffer() + if err != nil { + break + } + for _, b := range mb { + var ctl Control + if err := proto.Unmarshal(b.Bytes(), &ctl); err != nil { + errors.LogInfoInner(context.Background(), err, "failed to parse proto message") break } - for _, b := range mb { - var ctl Control - if err := proto.Unmarshal(b.Bytes(), &ctl); err != nil { - errors.LogInfoInner(context.Background(), err, "failed to parse proto message") - break - } - if ctl.State != w.state { - w.state = ctl.State - } + if ctl.State != w.state { + w.state = ctl.State } } - }() + } } func (w *BridgeWorker) Dispatch(ctx context.Context, dest net.Destination) (*transport.Link, error) { @@ -182,7 +180,7 @@ func (w *BridgeWorker) Dispatch(ctx context.Context, dest net.Destination) (*tra uplinkReader, uplinkWriter := pipe.New(opt...) downlinkReader, downlinkWriter := pipe.New(opt...) - w.handleInternalConn(&transport.Link{ + go w.handleInternalConn(&transport.Link{ Reader: downlinkReader, Writer: uplinkWriter, }) diff --git a/xray-core/core/core.go b/xray-core/core/core.go index 2604f4b621..594fa2fc04 100644 --- a/xray-core/core/core.go +++ b/xray-core/core/core.go @@ -18,8 +18,8 @@ import ( var ( Version_x byte = 25 - Version_y byte = 8 - Version_z byte = 31 + Version_y byte = 9 + Version_z byte = 5 ) var ( diff --git a/xray-core/main/commands/all/curve25519.go b/xray-core/main/commands/all/curve25519.go index a5199f60a1..6729439a16 100644 --- a/xray-core/main/commands/all/curve25519.go +++ b/xray-core/main/commands/all/curve25519.go @@ -21,7 +21,7 @@ func Curve25519Genkey(StdEncoding bool, input_base64 string) { if len(input_base64) > 0 { privateKey, _ = encoding.DecodeString(input_base64) if len(privateKey) != 32 { - fmt.Println("invalid length of X25519 private key") + fmt.Println("Invalid length of X25519 private key.") return } } diff --git a/xray-core/proxy/dns/dns.go b/xray-core/proxy/dns/dns.go index 40db53a8ab..9ae19cbeba 100644 --- a/xray-core/proxy/dns/dns.go +++ b/xray-core/proxy/dns/dns.go @@ -4,6 +4,7 @@ import ( "context" go_errors "errors" "io" + "strings" "sync" "time" @@ -168,11 +169,15 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, d internet. } ctx, cancel := context.WithCancel(ctx) - timer := signal.CancelAfterInactivity(ctx, cancel, h.timeout) + terminate := func() { + cancel() + conn.Close() + } + timer := signal.CancelAfterInactivity(ctx, terminate, h.timeout) + defer timer.SetTimeout(0) request := func() error { - defer conn.Close() - + defer timer.SetTimeout(0) for { b, err := reader.ReadMessage() if err == io.EOF { @@ -190,24 +195,33 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, d internet. if len(h.blockTypes) > 0 { for _, blocktype := range h.blockTypes { if blocktype == int32(qType) { - if h.nonIPQuery == "reject" { - go h.rejectNonIPQuery(id, qType, domain, writer) - } + b.Release() errors.LogInfo(ctx, "blocked type ", qType, " query for domain ", domain) + if h.nonIPQuery == "reject" { + err := h.rejectNonIPQuery(id, qType, domain, writer) + if err != nil { + return err + } + } return nil } } } if isIPQuery { - go h.handleIPQuery(id, qType, domain, writer) + b.Release() + go h.handleIPQuery(id, qType, domain, writer, timer) + continue } - if isIPQuery || h.nonIPQuery == "drop" { + if h.nonIPQuery == "drop" { b.Release() continue } if h.nonIPQuery == "reject" { - go h.rejectNonIPQuery(id, qType, domain, writer) b.Release() + err := h.rejectNonIPQuery(id, qType, domain, writer) + if err != nil { + return err + } continue } } @@ -219,6 +233,7 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, d internet. } response := func() error { + defer timer.SetTimeout(0) for { b, err := connReader.ReadMessage() if err == io.EOF { @@ -244,7 +259,7 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, d internet. return nil } -func (h *Handler) handleIPQuery(id uint16, qType dnsmessage.Type, domain string, writer dns_proto.MessageWriter) { +func (h *Handler) handleIPQuery(id uint16, qType dnsmessage.Type, domain string, writer dns_proto.MessageWriter, timer *signal.ActivityTimer) { var ips []net.IP var err error @@ -319,16 +334,21 @@ func (h *Handler) handleIPQuery(id uint16, qType dnsmessage.Type, domain string, if err != nil { errors.LogInfoInner(context.Background(), err, "pack message") b.Release() - return + timer.SetTimeout(0) } b.Resize(0, int32(len(msgBytes))) if err := writer.WriteMessage(b); err != nil { errors.LogInfoInner(context.Background(), err, "write IP answer") + timer.SetTimeout(0) } } -func (h *Handler) rejectNonIPQuery(id uint16, qType dnsmessage.Type, domain string, writer dns_proto.MessageWriter) { +func (h *Handler) rejectNonIPQuery(id uint16, qType dnsmessage.Type, domain string, writer dns_proto.MessageWriter) error { + domainT := strings.TrimSuffix(domain, ".") + if domainT == "" { + return errors.New("empty domain name") + } b := buf.New() rawBytes := b.Extend(buf.Size) builder := dnsmessage.NewBuilder(rawBytes[:0], dnsmessage.Header{ @@ -349,20 +369,22 @@ func (h *Handler) rejectNonIPQuery(id uint16, qType dnsmessage.Type, domain stri if err != nil { errors.LogInfo(context.Background(), "unexpected domain ", domain, " when building reject message: ", err) b.Release() - return + return err } msgBytes, err := builder.Finish() if err != nil { errors.LogInfoInner(context.Background(), err, "pack reject message") b.Release() - return + return err } b.Resize(0, int32(len(msgBytes))) if err := writer.WriteMessage(b); err != nil { errors.LogInfoInner(context.Background(), err, "write reject answer") + return err } + return nil } type outboundConn struct { @@ -371,6 +393,7 @@ type outboundConn struct { conn net.Conn connReady chan struct{} + closed bool } func (c *outboundConn) dial() error { @@ -385,12 +408,16 @@ func (c *outboundConn) dial() error { func (c *outboundConn) Write(b []byte) (int, error) { c.access.Lock() + if c.closed { + c.access.Unlock() + return 0, errors.New("outbound connection closed") + } if c.conn == nil { if err := c.dial(); err != nil { c.access.Unlock() errors.LogWarningInner(context.Background(), err, "failed to dial outbound connection") - return len(b), nil + return 0, err } } @@ -400,24 +427,27 @@ func (c *outboundConn) Write(b []byte) (int, error) { } func (c *outboundConn) Read(b []byte) (int, error) { - var conn net.Conn c.access.Lock() - conn = c.conn - c.access.Unlock() + if c.closed { + c.access.Unlock() + return 0, io.EOF + } - if conn == nil { + if c.conn == nil { + c.access.Unlock() _, open := <-c.connReady if !open { return 0, io.EOF } - conn = c.conn + return c.conn.Read(b) } - - return conn.Read(b) + c.access.Unlock() + return c.conn.Read(b) } func (c *outboundConn) Close() error { c.access.Lock() + c.closed = true close(c.connReady) if c.conn != nil { c.conn.Close()