diff --git a/.github/update.log b/.github/update.log index d2585f1be9..0834fb350a 100644 --- a/.github/update.log +++ b/.github/update.log @@ -1152,3 +1152,4 @@ Update On Sun Oct 12 20:34:03 CEST 2025 Update On Mon Oct 13 20:35:44 CEST 2025 Update On Tue Oct 14 20:41:12 CEST 2025 Update On Wed Oct 15 20:47:46 CEST 2025 +Update On Thu Oct 16 20:51:10 CEST 2025 diff --git a/clash-nyanpasu/backend/Cargo.lock b/clash-nyanpasu/backend/Cargo.lock index ed63f20e73..51d547e684 100644 --- a/clash-nyanpasu/backend/Cargo.lock +++ b/clash-nyanpasu/backend/Cargo.lock @@ -10,9 +10,9 @@ checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" [[package]] name = "ab_glyph" -version = "0.2.31" +version = "0.2.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e074464580a518d16a7126262fffaaa47af89d4099d4cb403f8ed938ba12ee7d" +checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" dependencies = [ "ab_glyph_rasterizer", "owned_ttf_parser", @@ -26,15 +26,15 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" [[package]] name = "accesskit" -version = "0.19.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e25ae84c0260bdf5df07796d7cc4882460de26a2b406ec0e6c42461a723b271b" +checksum = "cf203f9d3bd8f29f98833d1fbef628df18f759248a547e7e01cfbf63cda36a99" [[package]] name = "accesskit_atspi_common" -version = "0.12.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29bd41de2e54451a8ca0dd95ebf45b54d349d29ebceb7f20be264eee14e3d477" +checksum = "29f73a9b855b6f4af4962a94553ef0c092b80cf5e17038724d5e30945d036f69" dependencies = [ "accesskit", "accesskit_consumer", @@ -46,9 +46,9 @@ dependencies = [ [[package]] name = "accesskit_consumer" -version = "0.28.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bfae7c152994a31dc7d99b8eeac7784a919f71d1b306f4b83217e110fd3824c" +checksum = "bdd06f5fea9819250fffd4debf926709f3593ac22f8c1541a2573e5ee0ca01cd" dependencies = [ "accesskit", "hashbrown 0.15.5", @@ -56,9 +56,9 @@ dependencies = [ [[package]] name = "accesskit_macos" -version = "0.20.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692dd318ff8a7a0ffda67271c4bd10cf32249656f4e49390db0b26ca92b095f2" +checksum = "93fbaf15815f39084e0cb24950c232f0e3634702c2dfbf182ae3b4919a4a1d45" dependencies = [ "accesskit", "accesskit_consumer", @@ -70,9 +70,9 @@ dependencies = [ [[package]] name = "accesskit_unix" -version = "0.15.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f7474c36606d0fe4f438291d667bae7042ea2760f506650ad2366926358fc8" +checksum = "64926a930368d52d95422b822ede15014c04536cabaa2394f99567a1f4788dc6" dependencies = [ "accesskit", "accesskit_atspi_common", @@ -88,9 +88,9 @@ dependencies = [ [[package]] name = "accesskit_windows" -version = "0.27.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a042b62c9c05bf7b616f015515c17d2813f3ba89978d6f4fc369735d60700a" +checksum = "792991159fa9ba57459de59e12e918bb90c5346fea7d40ac1a11f8632b41e63a" dependencies = [ "accesskit", "accesskit_consumer", @@ -102,9 +102,9 @@ dependencies = [ [[package]] name = "accesskit_winit" -version = "0.27.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1f0d3d13113d8857542a4f8d1a1c24d1dc1527b77aee8426127f4901588708" +checksum = "cd9db0ea66997e3f4eae4a5f2c6b6486cf206642639ee629dbbb860ace1dec87" dependencies = [ "accesskit", "accesskit_macos", @@ -226,7 +226,7 @@ dependencies = [ "log", "ndk", "ndk-context", - "ndk-sys 0.6.0+11769913", + "ndk-sys", "num_enum", "thiserror 1.0.69", ] @@ -346,7 +346,7 @@ dependencies = [ "objc2-foundation 0.3.2", "parking_lot", "percent-encoding", - "windows-sys 0.60.2", + "windows-sys 0.52.0", "wl-clipboard-rs", "x11rb", ] @@ -1181,18 +1181,18 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.23.2" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3995eaeebcdf32f91f980d360f78732ddc061097ab4e39991ae7a6ace9194677" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" dependencies = [ "bytemuck_derive", ] [[package]] name = "bytemuck_derive" -version = "1.10.1" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f154e572231cb6ba2bd1176980827e3d5dc04cc183a75dea38109fbdd672d29" +checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" dependencies = [ "proc-macro2", "quote", @@ -1433,7 +1433,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -1593,7 +1593,7 @@ dependencies = [ "single-instance", "specta", "specta-typescript", - "strum 0.27.2", + "strum", "sysinfo", "sysproxy", "tauri", @@ -1688,7 +1688,7 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] @@ -2024,7 +2024,7 @@ checksum = "881c5d0a13b2f1498e2306e82cbada78390e152d4b1378fb28a84f4dcd0dc4f3" dependencies = [ "dispatch", "nix 0.30.1", - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -2294,7 +2294,7 @@ dependencies = [ "libc", "option-ext", "redox_users 0.5.2", - "windows-sys 0.60.2", + "windows-sys 0.59.0", ] [[package]] @@ -2328,9 +2328,9 @@ dependencies = [ [[package]] name = "display-info" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b9a83e760a3d6a54987450a263ac332db155010c0850d446178f09a8507735" +checksum = "b35269e5d1f477f90f9f6c353943e3464466271369ac8499cc17b8dbb82289f3" dependencies = [ "fxhash", "log", @@ -2364,7 +2364,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" dependencies = [ - "libloading 0.8.8", + "libloading 0.7.4", ] [[package]] @@ -2455,9 +2455,9 @@ checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "ecolor" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb57dec02e4cca6d70d02e29865f7e52dbd471383f4c3444dda7ee78d467360" +checksum = "adf31f99fad93fe83c1055b92b5c1b135f1ecfa464789817c372000e768d4bd1" dependencies = [ "bytemuck", "emath", @@ -2465,9 +2465,9 @@ dependencies = [ [[package]] name = "eframe" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990e96866be6346eff496e4f450616f2a00e462742ad64d955454842dd7aa006" +checksum = "b829d302a09deb4acde242262a1840ba14fadd0371980ebf713060077a1987bc" dependencies = [ "ahash", "bytemuck", @@ -2494,16 +2494,15 @@ dependencies = [ "wasm-bindgen-futures", "web-sys", "web-time", - "winapi", - "windows-sys 0.59.0", + "windows-sys 0.61.2", "winit", ] [[package]] name = "egui" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40df1115b8b0f3d4f1f9134a26287fd3d0e067fc18f879b8c9641aedf3eecef7" +checksum = "ab9b5d3376c79439f53a78bf7da1e3c0b862ffa3e29f46ab0f3e107430f2e576" dependencies = [ "accesskit", "ahash", @@ -2519,9 +2518,9 @@ dependencies = [ [[package]] name = "egui-wgpu" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80b8ac3f985e46f485daa9c2c357311ac0d13098e08630ec55f3a6ad95192717" +checksum = "cef1fe83ba30b3d045814b2d811804f2a7e50a832034c975408f71c20df596e4" dependencies = [ "ahash", "bytemuck", @@ -2530,7 +2529,7 @@ dependencies = [ "epaint", "log", "profiling", - "thiserror 1.0.69", + "thiserror 2.0.17", "type-map", "web-time", "wgpu", @@ -2539,16 +2538,18 @@ dependencies = [ [[package]] name = "egui-winit" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1abd8326d2be6d0e945dcfe8acd2c07d64be4c977c5e1115f902dc9cd3ff7bf5" +checksum = "bb4ea8cb063c00d8f23ce11279c01eb63a195a72be0e21d429148246dab7983e" dependencies = [ "accesskit_winit", - "ahash", "arboard", "bytemuck", "egui", "log", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-ui-kit 0.2.2", "profiling", "raw-window-handle", "smithay-clipboard", @@ -2559,9 +2560,9 @@ dependencies = [ [[package]] name = "egui_extras" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "170cac579b8a89dbf128e704afc0aa5c7283c4c462483d07d3564c8070c2a99f" +checksum = "bdced1964ad8a02a116b1307f7b4f73dbe408c5f53dcdd488f527609f261da60" dependencies = [ "ahash", "egui", @@ -2576,11 +2577,10 @@ dependencies = [ [[package]] name = "egui_glow" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7baca67871a8b808e2eb0849282f56149673b6842702306860916bf2dd83fca1" +checksum = "668c0d4f726cc33838f0915f6b8c00af0ca0910e975ab58cf34b3e39c614552c" dependencies = [ - "ahash", "bytemuck", "egui", "glow", @@ -2614,9 +2614,9 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "emath" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5c95b6d5571099bfa0ae9f4fdaef2c239bccb01d55339a082070259dc6f3b05" +checksum = "c615516cdceec867065f20d7db13d8eb8aedd65c9e32cc0c7c379380fa42e6e8" dependencies = [ "bytemuck", ] @@ -2738,9 +2738,9 @@ dependencies = [ [[package]] name = "epaint" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "695fd7b458f31fe515d6a308f46b2936cae9316dc40c960a7ee31ce3a97866b9" +checksum = "9926b9500ccb917adb070207ec722dd8ea78b8321f94a85ebec776f501f2930c" dependencies = [ "ab_glyph", "ahash", @@ -2756,9 +2756,9 @@ dependencies = [ [[package]] name = "epaint_default_fonts" -version = "0.32.2" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbc9f86ce3eaf9b7fc7179a578af21a6a5cd2d4fd21965564e82a2d009a7dab0" +checksum = "66054d943c66715c6003a27a3dc152d87cadf714ef2597ccd79f550413009b97" [[package]] name = "equator" @@ -2803,7 +2803,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -3008,6 +3008,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + [[package]] name = "fontconfig-parser" version = "0.5.8" @@ -3853,7 +3859,7 @@ checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ "allocator-api2", "equivalent", - "foldhash", + "foldhash 0.1.5", ] [[package]] @@ -3863,6 +3869,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d" dependencies = [ "allocator-api2", + "foldhash 0.2.0", ] [[package]] @@ -4536,17 +4543,6 @@ dependencies = [ "memoffset 0.9.1", ] -[[package]] -name = "io-uring" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b" -dependencies = [ - "bitflags 2.9.4", - "cfg-if", - "libc", -] - [[package]] name = "ipc-channel" version = "0.20.1" @@ -4984,11 +4980,10 @@ checksum = "f5e54036fe321fd421e10d732f155734c4e4afd610dd556d9a82833ab3ee0bed" [[package]] name = "lock_api" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] @@ -5218,13 +5213,13 @@ dependencies = [ [[package]] name = "metal" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f569fb946490b5743ad69813cb19629130ce9374034abe31614a36402d18f99e" +checksum = "00c15a6f673ff72ddcc22394663290f870fb224c1bfce55734a75c414150e605" dependencies = [ "bitflags 2.9.4", "block", - "core-graphics-types 0.1.3", + "core-graphics-types 0.2.0", "foreign-types", "log", "objc", @@ -5348,25 +5343,26 @@ dependencies = [ [[package]] name = "naga" -version = "25.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b977c445f26e49757f9aca3631c3b8b836942cb278d69a92e7b80d3b24da632" +checksum = "12b2e757b11b47345d44e7760e45458339bc490463d9548cd8651c53ae523153" dependencies = [ "arrayvec", "bit-set", "bitflags 2.9.4", + "cfg-if", "cfg_aliases", "codespan-reporting", "half", - "hashbrown 0.15.5", + "hashbrown 0.16.0", "hexf-parse", "indexmap 2.11.4", + "libm", "log", "num-traits", "once_cell", "rustc-hash 1.1.0", "spirv", - "strum 0.26.3", "thiserror 2.0.17", "unicode-ident", ] @@ -5389,7 +5385,7 @@ dependencies = [ "bitflags 2.9.4", "jni-sys", "log", - "ndk-sys 0.6.0+11769913", + "ndk-sys", "num_enum", "raw-window-handle", "thiserror 1.0.69", @@ -5401,15 +5397,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" -[[package]] -name = "ndk-sys" -version = "0.5.0+25.2.9519653" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691" -dependencies = [ - "jni-sys", -] - [[package]] name = "ndk-sys" version = "0.6.0+11769913" @@ -6639,9 +6626,9 @@ checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", "parking_lot_core", @@ -6649,9 +6636,9 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.11" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ "backtrace", "cfg-if", @@ -6659,8 +6646,7 @@ dependencies = [ "petgraph", "redox_syscall 0.5.17", "smallvec", - "thread-id", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -7060,6 +7046,15 @@ version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + [[package]] name = "postcard" version = "1.1.3" @@ -7328,7 +7323,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -7895,7 +7890,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.9.4", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -8825,35 +8820,13 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" -[[package]] -name = "strum" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" -dependencies = [ - "strum_macros 0.26.4", -] - [[package]] name = "strum" version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" dependencies = [ - "strum_macros 0.27.2", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" -dependencies = [ - "heck 0.5.0", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.106", + "strum_macros", ] [[package]] @@ -9031,7 +9004,7 @@ dependencies = [ "log", "ndk", "ndk-context", - "ndk-sys 0.6.0+11769913", + "ndk-sys", "objc2 0.6.3", "objc2-app-kit 0.3.2", "objc2-foundation 0.3.2", @@ -9573,7 +9546,7 @@ dependencies = [ "getrandom 0.3.3", "once_cell", "rustix 1.0.8", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -9729,16 +9702,6 @@ dependencies = [ "syn 2.0.106", ] -[[package]] -name = "thread-id" -version = "4.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe8f25bbdd100db7e1d34acf7fd2dc59c4bf8f7483f505eaa7d4f12f76cc0ea" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "thread_local" version = "1.1.9" @@ -9869,30 +9832,27 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.47.1" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", - "io-uring", "libc", "mio", "parking_lot", "pin-project-lite", "signal-hook-registry", - "slab", "socket2", "tokio-macros", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", @@ -11085,15 +11045,16 @@ checksum = "a751b3277700db47d3e574514de2eced5e54dc8a5436a3bf7a0b248b2cee16f3" [[package]] name = "wgpu" -version = "25.0.2" +version = "27.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8fb398f119472be4d80bc3647339f56eb63b2a331f6a3d16e25d8144197dd9" +checksum = "bfe68bac7cde125de7a731c3400723cadaaf1703795ad3f4805f187459cd7a77" dependencies = [ "arrayvec", "bitflags 2.9.4", + "cfg-if", "cfg_aliases", "document-features", - "hashbrown 0.15.5", + "hashbrown 0.16.0", "js-sys", "log", "naga", @@ -11113,17 +11074,18 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "25.0.2" +version = "27.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7b882196f8368511d613c6aeec80655160db6646aebddf8328879a88d54e500" +checksum = "e3d654c0b6c6335edfca18c11bdaed964def641b8e9997d3a495a2ff4077c922" dependencies = [ "arrayvec", "bit-set", "bit-vec", "bitflags 2.9.4", + "bytemuck", "cfg_aliases", "document-features", - "hashbrown 0.15.5", + "hashbrown 0.16.0", "indexmap 2.11.4", "log", "naga", @@ -11144,36 +11106,36 @@ dependencies = [ [[package]] name = "wgpu-core-deps-apple" -version = "25.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfd488b3239b6b7b185c3b045c39ca6bf8af34467a4c5de4e0b1a564135d093d" +checksum = "0772ae958e9be0c729561d5e3fd9a19679bcdfb945b8b1a1969d9bfe8056d233" dependencies = [ "wgpu-hal", ] [[package]] name = "wgpu-core-deps-emscripten" -version = "25.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f09ad7aceb3818e52539acc679f049d3475775586f3f4e311c30165cf2c00445" +checksum = "b06ac3444a95b0813ecfd81ddb2774b66220b264b3e2031152a4a29fda4da6b5" dependencies = [ "wgpu-hal", ] [[package]] name = "wgpu-core-deps-windows-linux-android" -version = "25.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cba5fb5f7f9c98baa7c889d444f63ace25574833df56f5b817985f641af58e46" +checksum = "71197027d61a71748e4120f05a9242b2ad142e3c01f8c1b47707945a879a03c3" dependencies = [ "wgpu-hal", ] [[package]] name = "wgpu-hal" -version = "25.0.2" +version = "27.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f968767fe4d3d33747bbd1473ccd55bf0f6451f55d733b5597e67b5deab4ad17" +checksum = "2618a2d6b8a5964ecc1ac32a5db56cb3b1e518725fcd773fd9a782e023453f2b" dependencies = [ "android_system_properties", "arrayvec", @@ -11184,13 +11146,13 @@ dependencies = [ "bytemuck", "cfg-if", "cfg_aliases", - "core-graphics-types 0.1.3", + "core-graphics-types 0.2.0", "glow", "glutin_wgl_sys", "gpu-alloc", "gpu-allocator", "gpu-descriptor", - "hashbrown 0.15.5", + "hashbrown 0.16.0", "js-sys", "khronos-egl", "libc", @@ -11198,11 +11160,13 @@ dependencies = [ "log", "metal", "naga", - "ndk-sys 0.5.0+25.2.9519653", + "ndk-sys", "objc", + "once_cell", "ordered-float 4.6.0", "parking_lot", "portable-atomic", + "portable-atomic-util", "profiling", "range-alloc", "raw-window-handle", @@ -11218,9 +11182,9 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "25.0.0" +version = "27.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aa49460c2a8ee8edba3fca54325540d904dd85b2e086ada762767e17d06e8bc" +checksum = "afdcf84c395990db737f2dd91628706cb31e86d72e53482320d368e52b5da5eb" dependencies = [ "bitflags 2.9.4", "bytemuck", @@ -11376,7 +11340,7 @@ dependencies = [ "windows-collections 0.3.0", "windows-core 0.62.0", "windows-future 0.3.0", - "windows-link 0.2.0", + "windows-link 0.2.1", "windows-numerics 0.3.0", ] @@ -11441,7 +11405,7 @@ checksum = "57fe7168f7de578d2d8a05b07fd61870d2e73b4020e9f49aa00da8471723497c" dependencies = [ "windows-implement 0.60.0", "windows-interface 0.59.1", - "windows-link 0.2.0", + "windows-link 0.2.1", "windows-result 0.4.0", "windows-strings 0.5.0", ] @@ -11464,7 +11428,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2194dee901458cb79e1148a4e9aac2b164cc95fa431891e7b296ff0b2f1d8a6" dependencies = [ "windows-core 0.62.0", - "windows-link 0.2.0", + "windows-link 0.2.1", "windows-threading 0.2.0", ] @@ -11520,9 +11484,9 @@ checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" [[package]] name = "windows-link" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-numerics" @@ -11541,7 +11505,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ce3498fe0aba81e62e477408383196b4b0363db5e0c27646f932676283b43d8" dependencies = [ "windows-core 0.62.0", - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -11590,7 +11554,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f" dependencies = [ - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -11627,7 +11591,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda" dependencies = [ - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -11677,11 +11641,11 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.61.0" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -11762,7 +11726,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab47f085ad6932defa48855254c758cdd0e2f2d48e62a34118a268d8f345e118" dependencies = [ - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -11771,7 +11735,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69e061eb0a22b4a1d778ad70f7575ec7845490abb35b08fa320df7895882cacb" dependencies = [ - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] diff --git a/clash-nyanpasu/frontend/nyanpasu/package.json b/clash-nyanpasu/frontend/nyanpasu/package.json index 6cacc3a434..6148be57d4 100644 --- a/clash-nyanpasu/frontend/nyanpasu/package.json +++ b/clash-nyanpasu/frontend/nyanpasu/package.json @@ -56,12 +56,12 @@ "@csstools/normalize.css": "12.1.1", "@emotion/babel-plugin": "11.13.5", "@emotion/react": "11.14.0", - "@iconify/json": "2.2.395", + "@iconify/json": "2.2.396", "@monaco-editor/react": "4.7.0", "@tanstack/react-query": "5.90.3", - "@tanstack/react-router": "1.132.47", - "@tanstack/react-router-devtools": "1.133.1", - "@tanstack/router-plugin": "1.132.56", + "@tanstack/react-router": "1.133.3", + "@tanstack/react-router-devtools": "1.133.3", + "@tanstack/router-plugin": "1.133.3", "@tauri-apps/plugin-clipboard-manager": "2.3.0", "@tauri-apps/plugin-dialog": "2.4.0", "@tauri-apps/plugin-fs": "2.4.2", diff --git a/clash-nyanpasu/package.json b/clash-nyanpasu/package.json index 83969bfe5a..1f62ac54ee 100644 --- a/clash-nyanpasu/package.json +++ b/clash-nyanpasu/package.json @@ -100,7 +100,7 @@ "react-devtools": "6.1.5", "stylelint": "16.25.0", "stylelint-config-html": "1.1.0", - "stylelint-config-recess-order": "7.3.0", + "stylelint-config-recess-order": "7.4.0", "stylelint-config-standard": "39.0.1", "stylelint-declaration-block-no-ignored-properties": "2.8.0", "stylelint-order": "7.0.0", diff --git a/clash-nyanpasu/pnpm-lock.yaml b/clash-nyanpasu/pnpm-lock.yaml index caac5c071a..737ec1dc04 100644 --- a/clash-nyanpasu/pnpm-lock.yaml +++ b/clash-nyanpasu/pnpm-lock.yaml @@ -149,8 +149,8 @@ importers: specifier: 1.1.0 version: 1.1.0(postcss-html@1.8.0)(stylelint@16.25.0(typescript@5.9.2)) stylelint-config-recess-order: - specifier: 7.3.0 - version: 7.3.0(stylelint-order@7.0.0(stylelint@16.25.0(typescript@5.9.2)))(stylelint@16.25.0(typescript@5.9.2)) + specifier: 7.4.0 + version: 7.4.0(stylelint-order@7.0.0(stylelint@16.25.0(typescript@5.9.2)))(stylelint@16.25.0(typescript@5.9.2)) stylelint-config-standard: specifier: 39.0.1 version: 39.0.1(stylelint@16.25.0(typescript@5.9.2)) @@ -253,7 +253,7 @@ importers: version: 4.1.14 '@tanstack/router-zod-adapter': specifier: 1.81.5 - version: 1.81.5(@tanstack/react-router@1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(zod@4.1.12) + version: 1.81.5(@tanstack/react-router@1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(zod@4.1.12) '@tauri-apps/api': specifier: 2.8.0 version: 2.8.0 @@ -346,8 +346,8 @@ importers: specifier: 11.14.0 version: 11.14.0(@types/react@19.1.14)(react@19.1.1) '@iconify/json': - specifier: 2.2.395 - version: 2.2.395 + specifier: 2.2.396 + version: 2.2.396 '@monaco-editor/react': specifier: 4.7.0 version: 4.7.0(monaco-editor@0.54.0)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) @@ -355,14 +355,14 @@ importers: specifier: 5.90.3 version: 5.90.3(react@19.1.1) '@tanstack/react-router': - specifier: 1.132.47 - version: 1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: 1.133.3 + version: 1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@tanstack/react-router-devtools': - specifier: 1.133.1 - version: 1.133.1(@tanstack/react-router@1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@tanstack/router-core@1.132.47)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1) + specifier: 1.133.3 + version: 1.133.3(@tanstack/react-router@1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@tanstack/router-core@1.133.3)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1) '@tanstack/router-plugin': - specifier: 1.132.56 - version: 1.132.56(@tanstack/react-router@1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(vite@7.1.10(@types/node@24.5.2)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(stylus@0.62.0)(terser@5.36.0)(tsx@4.20.6)(yaml@2.8.1)) + specifier: 1.133.3 + version: 1.133.3(@tanstack/react-router@1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(vite@7.1.10(@types/node@24.5.2)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(stylus@0.62.0)(terser@5.36.0)(tsx@4.20.6)(yaml@2.8.1)) '@tauri-apps/plugin-clipboard-manager': specifier: 2.3.0 version: 2.3.0 @@ -1825,8 +1825,8 @@ packages: prettier-plugin-ember-template-tag: optional: true - '@iconify/json@2.2.395': - resolution: {integrity: sha512-XSYOnlGqiZhJkFFBUiVK4C5VIiv4rxyKtCmkQ9nS4zfMpS4xT0BF9+qWUKOHYgeCzCLghyWfrm6Eti3Sv5kfqQ==} + '@iconify/json@2.2.396': + resolution: {integrity: sha512-tijg77JFuYIt32S9N8p7La8C0zp9zKZsX6UP8ip5GVB1F6Mp3pZA5Vc5eAquTY50NoDJX58U6z4Qn3d6Wyossg==} '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -3086,8 +3086,8 @@ packages: '@tailwindcss/postcss@4.1.14': resolution: {integrity: sha512-BdMjIxy7HUNThK87C7BC8I1rE8BVUsfNQSI5siQ4JK3iIa3w0XyVvVL9SXLWO//CtYTcp1v7zci0fYwJOjB+Zg==} - '@tanstack/history@1.132.31': - resolution: {integrity: sha512-UCHM2uS0t/uSszqPEo+SBSSoQVeQ+LlOWAVBl5SA7+AedeAbKafIPjFn8huZCXNLAYb0WKV2+wETr7lDK9uz7g==} + '@tanstack/history@1.133.3': + resolution: {integrity: sha512-zFQnGdX0S4g5xRuS+95iiEXM+qlGvYG7ksmOKx7LaMv60lDWa0imR8/24WwXXvBWJT1KnwVdZcjvhCwz9IiJCw==} engines: {node: '>=12'} '@tanstack/match-sorter-utils@8.19.4': @@ -3102,16 +3102,16 @@ packages: peerDependencies: react: ^18 || ^19 - '@tanstack/react-router-devtools@1.133.1': - resolution: {integrity: sha512-yfdRfakcuXyeFeIzjHGr95xYc05T5jiuU7i7AmgAF2GGkrAkSCEVY4fsbQ7a4aqHmQ3Y3Fn1Lc/N+2PRYY7czQ==} + '@tanstack/react-router-devtools@1.133.3': + resolution: {integrity: sha512-lThQySAuTnCX+a3+nljVaIeeT9WHk+1o9YDGhxrOv03ENXWRSruSZ0r0fKquruag/WyTCUqjnYL0PH7uHJz62Q==} engines: {node: '>=12'} peerDependencies: - '@tanstack/react-router': ^1.132.47 + '@tanstack/react-router': ^1.133.3 react: '>=18.0.0 || >=19.0.0' react-dom: '>=18.0.0 || >=19.0.0' - '@tanstack/react-router@1.132.47': - resolution: {integrity: sha512-mjCN1ueVLHBOK1gqLeacCrUPBZietMKTkr7xZlC32dCGn4e+83zMSlRTS2TrEl7+wEH+bqjnoyx8ALYTSiQ1Cg==} + '@tanstack/react-router@1.133.3': + resolution: {integrity: sha512-m83U/KbCtcFhjeF0+TFt7L3h4aKoq9e4ikfGwEIoNZn3JyKv9LoUEz0ofXbIswCY034xpnMWW0WHqPvpodOPvQ==} engines: {node: '>=12'} peerDependencies: react: '>=18.0.0 || >=19.0.0' @@ -3136,15 +3136,15 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - '@tanstack/router-core@1.132.47': - resolution: {integrity: sha512-8YKFHmG6VUqXaWAJzEqjyW6w31dARS2USd2mtI5ZeZcihqMbskK28N4iotBXNn+sSKJnPRjc7A4jTnnEf8Mn8Q==} + '@tanstack/router-core@1.133.3': + resolution: {integrity: sha512-S9vigHZ+eOz197cHd5tRNHk2OUieBJJB7TKFGHf8bWcAYEV5XU/dsC2CD9HbToLgjP9xWkh3ogAfvEW1rEA9hw==} engines: {node: '>=12'} - '@tanstack/router-devtools-core@1.133.1': - resolution: {integrity: sha512-q7WHYDjxTgTVyDGrDGyRCu6s9lyIiFyVNyvqHNPm5DCQDK+fFVjekZ61foFbe1B6loZC/ZX67ZGge5Eb4NYIfQ==} + '@tanstack/router-devtools-core@1.133.3': + resolution: {integrity: sha512-QmUZu/Dof1ek1XIpZ1ryLljpP8Ox0NV7ctkwuJUxpfdn75v+y9SHXGXLwxkTB2l7chKKqskYVmVv7VZVXBzKTQ==} engines: {node: '>=12'} peerDependencies: - '@tanstack/router-core': ^1.132.47 + '@tanstack/router-core': ^1.133.3 csstype: ^3.0.10 solid-js: '>=1.9.5' tiny-invariant: ^1.3.3 @@ -3152,16 +3152,16 @@ packages: csstype: optional: true - '@tanstack/router-generator@1.132.51': - resolution: {integrity: sha512-iAGz2IZ2rr38o+7cgE33qPyNFJFx7PcPOvUXk5kcX1TtXeyTgVLoe7vqQzKYbungZmht2V8xSFmy6kakUJhxOA==} + '@tanstack/router-generator@1.133.3': + resolution: {integrity: sha512-McE6YfwIErLPCeWEfvtsDAOZfDOIyhZ+xPL4G+dKz8xW3K/ofnb/iXUWc93/pYLas5fd03tSFtb02ve4G6bZNw==} engines: {node: '>=12'} - '@tanstack/router-plugin@1.132.56': - resolution: {integrity: sha512-kwW2NWMoxMMOoxbRPAxYoEjB+iy4vnYTS9VctKMcwYDtIGK1pQuLR3XtpdhNt0S5reKXfqJG2hEj6yTHUcJs7g==} + '@tanstack/router-plugin@1.133.3': + resolution: {integrity: sha512-AESS2RadL16HbLuQWQT1AInXC+w7x/jEWFqcENXwBpcxR4twzK328TmhnL24C91RQu5Tw+lFRR7mBykc/7nOHA==} engines: {node: '>=12'} peerDependencies: '@rsbuild/core': '>=1.0.2' - '@tanstack/react-router': ^1.132.47 + '@tanstack/react-router': ^1.133.3 vite: '>=5.0.0 || >=6.0.0 || >=7.0.0' vite-plugin-solid: ^2.11.8 webpack: '>=5.92.0' @@ -3177,8 +3177,8 @@ packages: webpack: optional: true - '@tanstack/router-utils@1.132.51': - resolution: {integrity: sha512-8wmYmc8LY0MhgNw1jfwjTdpYgl5CmvvkamoHOUcz4odFiAWOXLhwo3UBOwKihw+6SxJ/M7l9tEcq5PdLUOUi0Q==} + '@tanstack/router-utils@1.133.3': + resolution: {integrity: sha512-miPFlt0aG6ID5VDolYuRXgLS7cofvbZGMvHwf2Wmyxjo6GLp/kxxpkQrfM4T1I5cwjwYZZAQmdUKbVHwFZz9sQ==} engines: {node: '>=12'} '@tanstack/router-zod-adapter@1.81.5': @@ -3198,8 +3198,8 @@ packages: '@tanstack/virtual-core@3.13.9': resolution: {integrity: sha512-3jztt0jpaoJO5TARe2WIHC1UQC3VMLAFUW5mmMo0yrkwtDB2AQP0+sh10BVUpWrnvHjSLvzFizydtEGLCJKFoQ==} - '@tanstack/virtual-file-routes@1.132.31': - resolution: {integrity: sha512-rxS8Cm2nIXroLqkm9pE/8X2lFNuvcTIIiFi5VH4PwzvKscAuaW3YRMN1WmaGDI2mVEn+GLaoY6Kc3jOczL5i4w==} + '@tanstack/virtual-file-routes@1.133.3': + resolution: {integrity: sha512-6d2AP9hAjEi8mcIew2RkxBX+wClH1xedhfaYhs8fUiX+V2Cedk7RBD9E9ww2z6BGUYD8Es4fS0OIrzXZWHKGhw==} engines: {node: '>=12'} '@taplo/core@0.2.0': @@ -7928,8 +7928,8 @@ packages: postcss-html: ^1.0.0 stylelint: '>=14.0.0' - stylelint-config-recess-order@7.3.0: - resolution: {integrity: sha512-1LZhQi/D6OljSLRKejMEzbZA8h0AKkJH7p2y+eValc9ltWRGVznjnZsNLVCOwYpKk7GlYMLNVYTc9WpA0W3TYQ==} + stylelint-config-recess-order@7.4.0: + resolution: {integrity: sha512-W3G517cBaMDYRX5Fzhro4fhRkkLafLgVSPfQnhxbiLyMnbLq47RMF/NRaOJ4OQsKWYhsIHOIc2Q3VL0X3Q7oPg==} peerDependencies: stylelint: '>=16.18' stylelint-order: '>=7' @@ -10273,7 +10273,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@iconify/json@2.2.395': + '@iconify/json@2.2.396': dependencies: '@iconify/types': 2.0.0 pathe: 2.0.3 @@ -11425,7 +11425,7 @@ snapshots: postcss: 8.5.6 tailwindcss: 4.1.14 - '@tanstack/history@1.132.31': {} + '@tanstack/history@1.133.3': {} '@tanstack/match-sorter-utils@8.19.4': dependencies: @@ -11438,10 +11438,10 @@ snapshots: '@tanstack/query-core': 5.90.3 react: 19.1.1 - '@tanstack/react-router-devtools@1.133.1(@tanstack/react-router@1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@tanstack/router-core@1.132.47)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1)': + '@tanstack/react-router-devtools@1.133.3(@tanstack/react-router@1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(@tanstack/router-core@1.133.3)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1)': dependencies: - '@tanstack/react-router': 1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1) - '@tanstack/router-devtools-core': 1.133.1(@tanstack/router-core@1.132.47)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1) + '@tanstack/react-router': 1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + '@tanstack/router-devtools-core': 1.133.3(@tanstack/router-core@1.133.3)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1) react: 19.1.1 react-dom: 19.1.1(react@19.1.1) vite: 7.1.10(@types/node@24.5.2)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(stylus@0.62.0)(terser@5.36.0)(tsx@4.20.6)(yaml@2.8.1) @@ -11462,11 +11462,11 @@ snapshots: - tsx - yaml - '@tanstack/react-router@1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1)': + '@tanstack/react-router@1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1)': dependencies: - '@tanstack/history': 1.132.31 + '@tanstack/history': 1.133.3 '@tanstack/react-store': 0.7.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1) - '@tanstack/router-core': 1.132.47 + '@tanstack/router-core': 1.133.3 isbot: 5.1.28 react: 19.1.1 react-dom: 19.1.1(react@19.1.1) @@ -11478,7 +11478,7 @@ snapshots: '@tanstack/store': 0.7.0 react: 19.1.1 react-dom: 19.1.1(react@19.1.1) - use-sync-external-store: 1.5.0(react@19.1.1) + use-sync-external-store: 1.6.0(react@19.1.1) '@tanstack/react-table@8.21.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1)': dependencies: @@ -11492,9 +11492,9 @@ snapshots: react: 19.1.1 react-dom: 19.1.1(react@19.1.1) - '@tanstack/router-core@1.132.47': + '@tanstack/router-core@1.133.3': dependencies: - '@tanstack/history': 1.132.31 + '@tanstack/history': 1.133.3 '@tanstack/store': 0.7.0 cookie-es: 2.0.0 seroval: 1.3.2 @@ -11502,9 +11502,9 @@ snapshots: tiny-invariant: 1.3.3 tiny-warning: 1.0.3 - '@tanstack/router-devtools-core@1.133.1(@tanstack/router-core@1.132.47)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1)': + '@tanstack/router-devtools-core@1.133.3(@tanstack/router-core@1.133.3)(@types/node@24.5.2)(csstype@3.1.3)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(solid-js@1.9.5)(stylus@0.62.0)(terser@5.36.0)(tiny-invariant@1.3.3)(tsx@4.20.6)(yaml@2.8.1)': dependencies: - '@tanstack/router-core': 1.132.47 + '@tanstack/router-core': 1.133.3 clsx: 2.1.1 goober: 2.1.16(csstype@3.1.3) solid-js: 1.9.5 @@ -11525,11 +11525,11 @@ snapshots: - tsx - yaml - '@tanstack/router-generator@1.132.51': + '@tanstack/router-generator@1.133.3': dependencies: - '@tanstack/router-core': 1.132.47 - '@tanstack/router-utils': 1.132.51 - '@tanstack/virtual-file-routes': 1.132.31 + '@tanstack/router-core': 1.133.3 + '@tanstack/router-utils': 1.133.3 + '@tanstack/virtual-file-routes': 1.133.3 prettier: 3.6.2 recast: 0.23.11 source-map: 0.7.4 @@ -11538,7 +11538,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@tanstack/router-plugin@1.132.56(@tanstack/react-router@1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(vite@7.1.10(@types/node@24.5.2)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(stylus@0.62.0)(terser@5.36.0)(tsx@4.20.6)(yaml@2.8.1))': + '@tanstack/router-plugin@1.133.3(@tanstack/react-router@1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(vite@7.1.10(@types/node@24.5.2)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(stylus@0.62.0)(terser@5.36.0)(tsx@4.20.6)(yaml@2.8.1))': dependencies: '@babel/core': 7.28.4 '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.4) @@ -11546,21 +11546,21 @@ snapshots: '@babel/template': 7.27.2 '@babel/traverse': 7.28.4 '@babel/types': 7.28.4 - '@tanstack/router-core': 1.132.47 - '@tanstack/router-generator': 1.132.51 - '@tanstack/router-utils': 1.132.51 - '@tanstack/virtual-file-routes': 1.132.31 + '@tanstack/router-core': 1.133.3 + '@tanstack/router-generator': 1.133.3 + '@tanstack/router-utils': 1.133.3 + '@tanstack/virtual-file-routes': 1.133.3 babel-dead-code-elimination: 1.0.10 chokidar: 3.6.0 unplugin: 2.3.10 zod: 3.25.76 optionalDependencies: - '@tanstack/react-router': 1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + '@tanstack/react-router': 1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1) vite: 7.1.10(@types/node@24.5.2)(jiti@2.6.0)(less@4.2.0)(lightningcss@1.30.1)(sass-embedded@1.93.2)(sass@1.93.2)(stylus@0.62.0)(terser@5.36.0)(tsx@4.20.6)(yaml@2.8.1) transitivePeerDependencies: - supports-color - '@tanstack/router-utils@1.132.51': + '@tanstack/router-utils@1.133.3': dependencies: '@babel/core': 7.28.4 '@babel/generator': 7.28.3 @@ -11573,9 +11573,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@tanstack/router-zod-adapter@1.81.5(@tanstack/react-router@1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(zod@4.1.12)': + '@tanstack/router-zod-adapter@1.81.5(@tanstack/react-router@1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(zod@4.1.12)': dependencies: - '@tanstack/react-router': 1.132.47(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + '@tanstack/react-router': 1.133.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1) zod: 4.1.12 '@tanstack/store@0.7.0': {} @@ -11584,7 +11584,7 @@ snapshots: '@tanstack/virtual-core@3.13.9': {} - '@tanstack/virtual-file-routes@1.132.31': {} + '@tanstack/virtual-file-routes@1.133.3': {} '@taplo/core@0.2.0': {} @@ -16903,7 +16903,7 @@ snapshots: postcss-html: 1.8.0 stylelint: 16.25.0(typescript@5.9.2) - stylelint-config-recess-order@7.3.0(stylelint-order@7.0.0(stylelint@16.25.0(typescript@5.9.2)))(stylelint@16.25.0(typescript@5.9.2)): + stylelint-config-recess-order@7.4.0(stylelint-order@7.0.0(stylelint@16.25.0(typescript@5.9.2)))(stylelint@16.25.0(typescript@5.9.2)): dependencies: stylelint: 16.25.0(typescript@5.9.2) stylelint-order: 7.0.0(stylelint@16.25.0(typescript@5.9.2)) diff --git a/lede/package/boot/uboot-rockchip/Makefile b/lede/package/boot/uboot-rockchip/Makefile index fea4af993f..5ad7be0e74 100644 --- a/lede/package/boot/uboot-rockchip/Makefile +++ b/lede/package/boot/uboot-rockchip/Makefile @@ -5,10 +5,10 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk -PKG_VERSION:=2025.07 +PKG_VERSION:=2025.10 PKG_RELEASE:=1 -PKG_HASH:=0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7 +PKG_HASH:=b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a PKG_MAINTAINER:=Tobias Maedel @@ -345,11 +345,38 @@ define U-Boot/station-p2-rk3568 firefly_station-p2 endef +# RK3576 boards + +define U-Boot/rk3576/Default + BUILD_SUBTARGET:=armv8 + DEPENDS:=+PACKAGE_u-boot-$(1):rkbin-rk3576 \ + +PACKAGE_u-boot-$(1):trusted-firmware-a-rk3576 + ATF:=rk3576_bl31.elf + TPL:=rk3576_ddr_lp4_2112MHz_lp5_2736MHz_v1.08.bin +endef + +define U-Boot/generic-rk3576 + $(U-Boot/rk3576/Default) + NAME:=Generic RK3576 + BUILD_DEVICES:= \ + ariaboard_photonicat2 \ + friendlyarm_nanopi-m5 \ + friendlyarm_nanopi-r76s +endef + +define U-Boot/sige5-rk3576 + $(U-Boot/rk3576/Default) + NAME:=Sige5 + BUILD_DEVICES:= \ + armsom_sige5 +endef + # RK3588 boards define U-Boot/rk3588/Default BUILD_SUBTARGET:=armv8 - DEPENDS:=+PACKAGE_u-boot-$(1):trusted-firmware-a-rk3588 + DEPENDS:=+PACKAGE_u-boot-$(1):rkbin-rk3588 \ + +PACKAGE_u-boot-$(1):trusted-firmware-a-rk3588 ATF:=rk3588_bl31.elf TPL:=rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin endef @@ -442,6 +469,8 @@ UBOOT_TARGETS := \ rock-3a-rk3568 \ rock-3b-rk3568 \ station-p2-rk3568 \ + generic-rk3576 \ + sige5-rk3576 \ generic-rk3588 \ nanopc-t6-rk3588 \ orangepi-5-plus-rk3588 \ @@ -478,20 +507,6 @@ UBOOT_MAKE_FLAGS += \ PATH=$(STAGING_DIR_HOST)/bin:$(PATH) \ $(if $(TPL),ROCKCHIP_TPL=$(STAGING_DIR_IMAGE)/$(TPL)) -RKBIN_URL:=https://raw.githubusercontent.com/rockchip-linux/rkbin/385bf9f1700cc4b7ab8af1ec96da02f4837c525a - -define Download/rk3588-ddr - FILE:=rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin - URL:=$(RKBIN_URL)/bin/rk35/ - HASH:=d89d40a8183b099589bfcffc5cc2ce9d874eb5b1d19b78bdad2cfcf45b9cb68f -endef -$(eval $(call Download,rk3588-ddr)) - -define Build/Prepare - $(call Build/Prepare/Default) - $(CP) $(DL_DIR)/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin $(STAGING_DIR_IMAGE)/ -endef - define Build/Configure $(call Build/Configure/U-Boot) diff --git a/lede/package/boot/uboot-rockchip/patches/110-force-pylibfdt-build.patch b/lede/package/boot/uboot-rockchip/patches/110-force-pylibfdt-build.patch index 7c785c626a..5283e91f7a 100644 --- a/lede/package/boot/uboot-rockchip/patches/110-force-pylibfdt-build.patch +++ b/lede/package/boot/uboot-rockchip/patches/110-force-pylibfdt-build.patch @@ -1,6 +1,6 @@ --- a/Makefile +++ b/Makefile -@@ -2076,26 +2076,7 @@ endif +@@ -2315,26 +2315,7 @@ endif # Check dtc and pylibfdt, if DTC is provided, else build them PHONY += scripts_dtc scripts_dtc: scripts_basic diff --git a/lede/package/boot/uboot-rockchip/patches/202-rockchip-Add-initial-RK3582-support.patch b/lede/package/boot/uboot-rockchip/patches/202-rockchip-Add-initial-RK3582-support.patch index 3619a86cb7..3696c4530b 100644 --- a/lede/package/boot/uboot-rockchip/patches/202-rockchip-Add-initial-RK3582-support.patch +++ b/lede/package/boot/uboot-rockchip/patches/202-rockchip-Add-initial-RK3582-support.patch @@ -29,7 +29,7 @@ Signed-off-by: Jonas Karlman #include #include #include -@@ -192,6 +193,16 @@ int arch_cpu_init(void) +@@ -200,6 +201,16 @@ int arch_cpu_init(void) #define RK3588_OTP_CPU_CODE_OFFSET 0x02 #define RK3588_OTP_SPECIFICATION_OFFSET 0x06 @@ -46,7 +46,7 @@ Signed-off-by: Jonas Karlman int checkboard(void) { -@@ -237,3 +248,213 @@ int checkboard(void) +@@ -245,3 +256,213 @@ int checkboard(void) return 0; } diff --git a/lede/package/boot/uboot-rockchip/patches/203-rockchip-rk3588-generic-Enable-support-for.patch b/lede/package/boot/uboot-rockchip/patches/203-rockchip-rk3588-generic-Enable-support-for.patch index fb884006ba..044686a7b5 100644 --- a/lede/package/boot/uboot-rockchip/patches/203-rockchip-rk3588-generic-Enable-support-for.patch +++ b/lede/package/boot/uboot-rockchip/patches/203-rockchip-rk3588-generic-Enable-support-for.patch @@ -69,10 +69,10 @@ Signed-off-by: Jonas Karlman CONFIG_SPL_MAX_SIZE=0x40000 --- a/doc/board/rockchip/rockchip.rst +++ b/doc/board/rockchip/rockchip.rst -@@ -145,7 +145,7 @@ List of mainline supported Rockchip boar - - FriendlyElec NanoPC-T6 (nanopc-t6-rk3588) +@@ -148,7 +148,7 @@ List of mainline supported Rockchip boar - FriendlyElec NanoPi R6C (nanopi-r6c-rk3588s) - FriendlyElec NanoPi R6S (nanopi-r6s-rk3588s) + - GameForce Ace (gameforce-ace-rk3588s) - - Generic RK3588S/RK3588 (generic-rk3588) + - Generic RK3582/RK3588S/RK3588 (generic-rk3588) - Hardkernel ODROID-M2 (odroid-m2-rk3588s) diff --git a/lede/package/boot/uboot-rockchip/patches/210-rockchip-rk3588-disable-policy-for-rk3582.patch b/lede/package/boot/uboot-rockchip/patches/210-rockchip-rk3588-disable-policy-for-rk3582.patch index 7b54f7e23b..c039ff9861 100644 --- a/lede/package/boot/uboot-rockchip/patches/210-rockchip-rk3588-disable-policy-for-rk3582.patch +++ b/lede/package/boot/uboot-rockchip/patches/210-rockchip-rk3588-disable-policy-for-rk3582.patch @@ -1,6 +1,6 @@ --- a/arch/arm/mach-rockchip/rk3588/rk3588.c +++ b/arch/arm/mach-rockchip/rk3588/rk3588.c -@@ -335,6 +335,7 @@ int ft_system_setup(void *blob, struct b +@@ -343,6 +343,7 @@ int ft_system_setup(void *blob, struct b if (ip_state[0] & FAIL_CPU_CLUSTER2) ip_state[0] |= FAIL_CPU_CLUSTER2; @@ -8,7 +8,7 @@ /* policy: always fail one big core cluster on rk3582/rk3583 */ if (!(ip_state[0] & (FAIL_CPU_CLUSTER1 | FAIL_CPU_CLUSTER2))) ip_state[0] |= FAIL_CPU_CLUSTER2; -@@ -354,6 +355,7 @@ int ft_system_setup(void *blob, struct b +@@ -362,6 +363,7 @@ int ft_system_setup(void *blob, struct b /* policy: always fail one rkvenc core on rk3582/rk3583 */ if (!(ip_state[2] & (FAIL_RKVENC0 | FAIL_RKVENC1))) ip_state[2] |= FAIL_RKVENC1; diff --git a/nodepass/.github/copilot-instructions.md b/nodepass/.github/copilot-instructions.md new file mode 100644 index 0000000000..54b5d328c3 --- /dev/null +++ b/nodepass/.github/copilot-instructions.md @@ -0,0 +1,214 @@ +# NodePass AI Coding Agent Instructions + +## Project Overview + +NodePass is an enterprise-grade TCP/UDP network tunneling solution with a three-tier architecture supporting server, client, and master modes. The core is written in Go with a focus on performance, security, and minimal configuration. + +## Architecture Essentials + +### Three-Tier S/C/M Architecture + +1. **Server Mode** (`internal/server.go`): Accepts tunnel connections, manages connection pools, forwards traffic bidirectionally +2. **Client Mode** (`internal/client.go`): Connects to servers, supports single-end forwarding or dual-end handshake modes +3. **Master Mode** (`internal/master.go`): RESTful API for dynamic instance management with persistent state in `nodepass.gob` + +### Critical Design Patterns + +- **Separation of Control/Data Channels**: + - Control channel: Unencrypted TCP for signaling (`np://` scheme with fragments) + - Data channel: Configurable TLS (modes 0/1/2) for actual traffic + +- **Connection Pooling**: Pre-established connections via `github.com/NodePassProject/pool` library + - Server controls `max` pool capacity, passes to client during handshake + - Client manages `min` capacity for persistent connections + +- **Bidirectional Data Flow**: Automatic mode detection in `Common.runMode` + - Mode 0: Auto-detect based on target address bindability + - Mode 1: Reverse/single-end (server receives OR client listens locally) + - Mode 2: Forward/dual-end (server sends OR client connects remotely) + +### External Dependencies (NodePassProject Ecosystem) + +All critical networking primitives are in separate libraries: +- `github.com/NodePassProject/cert`: TLS certificate generation and management +- `github.com/NodePassProject/conn`: Custom connection types (`StatConn`, `TimeoutReader`, `DataExchange`) +- `github.com/NodePassProject/logs`: Structured logging with levels (None/Debug/Info/Warn/Error/Event) +- `github.com/NodePassProject/pool`: Connection pool management for both server and client + +**Never modify these libraries directly** - they're external dependencies. Use their exported APIs only. + +## Configuration System + +### URL-Based Configuration + +All modes use URL-style configuration: `scheme://[password@]host:port/target?param=value` + +**Server**: `server://bind_addr:port/target_addr:port?max=1024&tls=1&log=debug` +**Client**: `client://server_addr:port/local_addr:port?min=128&mode=0&rate=100` +**Master**: `master://api_addr:port/prefix?log=info&tls=2&crt=path&key=path` + +### Query Parameters + +- `log`: none|debug|info|warn|error|event (default: info) +- `tls`: 0=plain, 1=self-signed, 2=custom cert (server/master only) +- `min`/`max`: Connection pool capacity (client sets min, server sets max) +- `mode`: 0=auto, 1=reverse/single-end, 2=forward/dual-end +- `read`: Timeout duration (e.g., 1h, 30m, 15s) +- `rate`: Mbps bandwidth limit (0=unlimited) +- `slot`: Max concurrent connections (default: 65536) +- `proxy`: PROXY protocol v1 support (0=off, 1=on) + +### Environment Variables for Tuning + +See `internal/common.go` for all `NP_*` environment variables: +- `NP_TCP_DATA_BUF_SIZE`: TCP buffer size (default: 16384) +- `NP_UDP_DATA_BUF_SIZE`: UDP buffer size (default: 2048) +- `NP_HANDSHAKE_TIMEOUT`: Handshake timeout (default: 5s) +- `NP_POOL_GET_TIMEOUT`: Pool connection timeout (default: 5s) +- `NP_REPORT_INTERVAL`: Health check interval (default: 5s) +- `NP_RELOAD_INTERVAL`: TLS cert reload interval (default: 1h) + +## Development Workflow + +### Building + +```bash +# Development build +go build -o nodepass ./cmd/nodepass + +# Release build (mimics .goreleaser.yml) +go build -trimpath -ldflags="-s -w -X main.version=dev" -o nodepass ./cmd/nodepass +``` + +### Testing Manually + +No automated test suite exists currently. Test via real-world scenarios: + +```bash +# Terminal 1: Server with debug logging +./nodepass "server://0.0.0.0:10101/127.0.0.1:8080?log=debug&tls=1&max=256" + +# Terminal 2: Client +./nodepass "client://localhost:10101/127.0.0.1:9090?log=debug&min=64" + +# Terminal 3: Master mode for API testing +./nodepass "master://0.0.0.0:9090/api?log=debug&tls=0" +``` + +Test all TLS modes (0, 1, 2) and protocol types (TCP, UDP). Verify graceful shutdown with SIGTERM/SIGINT. + +### Release Process + +Uses GoReleaser on tag push (`v*.*.*`). See `.goreleaser.yml` for build matrix (Linux, Windows, macOS, FreeBSD across multiple architectures). + +## Code Patterns & Conventions + +### Error Handling + +Always wrap errors with context using `fmt.Errorf("function: operation failed: %w", err)` + +### Logging + +Use the injected `logger` instance with appropriate levels: +```go +logger.Debug("Detailed info: %v", detail) // Verbose debugging +logger.Info("Operation: %v", status) // Normal operations +logger.Warn("Non-critical issue: %v", err) // Recoverable problems +logger.Error("Critical error: %v", err) // Functionality affected +logger.Event("Traffic stats: %v", stats) // Important events +``` + +### Goroutine Management + +All long-running goroutines must: +1. Check `ctx.Err()` regularly for cancellation +2. Use proper cleanup with `defer` statements +3. Handle panics in critical sections +4. Release resources (slots, buffers, connections) on exit + +### Buffer Pooling + +Always use `Common.getTCPBuffer()` / `Common.putTCPBuffer()` or UDP equivalents to minimize allocations: +```go +buf := c.getTCPBuffer() +defer c.putTCPBuffer(buf) +// ... use buf +``` + +### Connection Slot Management + +Before creating connections: +```go +if !c.tryAcquireSlot(isUDP) { + return fmt.Errorf("slot limit reached") +} +defer c.releaseSlot(isUDP) +``` + +### Comments Style + +Maintain bilingual (Chinese/English) comments for public APIs and exported functions: +```go +// NewServer 创建新的服务端实例 +// NewServer creates a new server instance +func NewServer(parsedURL *url.URL, ...) (*Server, error) { ... } +``` + +## Master Mode Specifics + +### API Structure + +RESTful endpoints at `/{prefix}/*` (default `/api/*`): +- Instance CRUD: POST/GET/PATCH/PUT/DELETE on `/instances` and `/instances/{id}` +- Real-time events: SSE stream at `/events` (types: initial, create, update, delete, shutdown, log) +- OpenAPI docs: `/openapi.json` and `/docs` (Swagger UI) + +### State Persistence + +All instances stored in `nodepass.gob` using Go's `encoding/gob`: +- Auto-saved on instance changes via `saveMasterState()` +- Restored on startup via `restoreMasterState()` +- Mutex-protected writes with `stateMu` + +### API Authentication + +API Key in `X-API-Key` header. Special instance ID `********` for key regeneration via PATCH action `restart`. + +## Common Pitfalls + +1. **Don't modify NodePassProject libraries**: These are external dependencies, not internal packages +2. **Always decode before using tunnel URLs**: Use `Common.decode()` for base64+XOR encoded data +3. **TLS mode is server-controlled**: Clients receive TLS mode during handshake, don't override +4. **Pool capacity coordination**: Server sets `max`, client sets `min` - they must align correctly +5. **UDP session cleanup**: Sessions in `targetUDPSession` require explicit cleanup with timeouts +6. **Certificate hot-reload**: Only applies to `tls=2` mode with periodic checks every `ReloadInterval` +7. **Graceful shutdown**: Use context cancellation propagation, don't abruptly close connections + +## Key Files Reference + +- `cmd/nodepass/main.go`: Entry point, version variable injection +- `cmd/nodepass/core.go`: Mode dispatch, TLS setup, CLI help formatting +- `internal/common.go`: Shared primitives (buffer pools, slot management, encoding, config init) +- `internal/server.go`: Server lifecycle, tunnel handshake, forward/reverse modes +- `internal/client.go`: Client lifecycle, single-end/dual-end modes, tunnel connection +- `internal/master.go`: HTTP API, SSE events, instance subprocess management, state persistence +- `docs/en/how-it-works.md`: Detailed architecture documentation +- `docs/en/configuration.md`: Complete parameter reference +- `docs/en/api.md`: Master mode API specification + +## Documentation Requirements + +When adding features: +1. Update relevant `docs/en/*.md` and `docs/zh/*.md` files +2. Add examples to `docs/en/examples.md` +3. Document new query parameters in `docs/en/configuration.md` +4. Update API endpoints in `docs/en/api.md` if touching master mode +5. Keep README.md feature list current + +## Additional Notes + +- Project uses Go 1.25+ features, maintain compatibility +- Single binary with no external runtime dependencies (except TLS cert files for mode 2) +- Focus on zero-configuration deployment - defaults should work for most use cases +- Performance-critical paths: buffer allocation, connection pooling, data transfer loops +- Security considerations: TLS mode selection, API key protection, input validation on master API diff --git a/nodepass/README.md b/nodepass/README.md index b2f1bb5c3a..9418d6c4e5 100644 --- a/nodepass/README.md +++ b/nodepass/README.md @@ -47,7 +47,7 @@ English | [简体中文](README_zh.md) - **📈 Performance** - Intelligent scheduling, auto-tuning, ultra-low resource usage. - Stable under high concurrency and heavy load. - - Health checks, auto-reconnect, self-healing. + - Load balancing, health checks, self-healing and more. - **💡 Visualization** - Rich cross-platform visual frontends. @@ -100,7 +100,7 @@ The [NodePassProject](https://github.com/NodePassProject) organization develops - **[npsh](https://github.com/NodePassProject/npsh)**: A collection of one-click scripts that provide simple deployment for API or Dashboard with flexible configuration and management. -- **[NodePass-ApplePlatforms](https://github.com/NodePassProject/NodePass-ApplePlatforms)**: An iOS/macOS application that offers a native experience for Apple users. +- **[NodePass-ApplePlatforms](https://github.com/NodePassProject/NodePass-ApplePlatforms)**: A service-oriented iOS/macOS application that offers a native experience for Apple users. - **[nodepass-core](https://github.com/NodePassProject/nodepass-core)**: Development branch, featuring previews of new functionalities and performance optimizations, suitable for advanced users and developers. @@ -112,12 +112,16 @@ The [NodePassProject](https://github.com/NodePassProject) organization develops ## 📄 License -Project `NodePass` is licensed under the [BSD 3-Clause License](LICENSE). +Project **NodePass** is licensed under the [BSD 3-Clause License](LICENSE). ## ⚖️ Disclaimer This project is provided "as is" without any warranties. Users assume all risks and must comply with local laws for legal use only. Developers are not liable for any direct, indirect, incidental, or consequential damages. Secondary development requires commitment to legal use and self-responsibility for legal compliance. Developers reserve the right to modify software features and this disclaimer at any time. Final interpretation rights belong to developers. +## 🔗 NFT Support + +Support **NodePass** in a unique way by checking out our NFT collection on [OpenSea](https://opensea.io/collection/nodepass). + ## 🤝 Sponsors diff --git a/nodepass/README_zh.md b/nodepass/README_zh.md index f264de7c30..7fe90bb058 100644 --- a/nodepass/README_zh.md +++ b/nodepass/README_zh.md @@ -47,7 +47,7 @@ - **📈 高性能优化** - 智能流量调度与自动连接调优,极低资源占用。 - 高并发、高负载状态下卓越的系统稳定性能。 - - 健康检查、断线重连、故障自愈,确保持续高可用。 + - 负载均衡、健康检查、故障自愈,确保持续高可用。 - **💡 可视化管理** - 配套跨平台、多样化的管理前端应用,具备可视化配置能力。 @@ -100,7 +100,7 @@ nodepass "master://:10101/api?log=debug&tls=1" - **[npsh](https://github.com/NodePassProject/npsh)**: 简单易用的 NodePass 一键脚本合集,包括 API 主控、Dash 面板的安装部署、灵活配置和辅助管理。 -- **[NodePass-ApplePlatforms](https://github.com/NodePassProject/NodePass-ApplePlatforms)**: 一款为 Apple 用户提供原生体验的 iOS/macOS 应用程序。 +- **[NodePass-ApplePlatforms](https://github.com/NodePassProject/NodePass-ApplePlatforms)**: 面向服务的 iOS/macOS 应用,为 Apple 用户提供原生体验。 - **[nodepass-core](https://github.com/NodePassProject/nodepass-core)**: 开发分支,包含新功能预览和性能优化测试,适合高级用户和开发者。 @@ -112,11 +112,15 @@ nodepass "master://:10101/api?log=debug&tls=1" ## 📄 许可协议 -`NodePass`项目根据[BSD 3-Clause许可证](LICENSE)授权。 +**NodePass** 项目根据 [BSD 3-Clause 许可证](LICENSE)授权。 ## ⚖️ 免责声明 -本项目以“现状”提供,开发者不提供任何明示或暗示的保证。用户使用风险自担,需遵守当地法律法规,仅限合法用途。开发者对任何直接、间接、偶然或后果性损害概不负责。进行二次开发须承诺合法使用并自负法律责任。开发者保留随时修改软件功能及本声明的权利。最终解释权归开发者所有。 +本项目以"现状"提供,开发者不提供任何明示或暗示的保证。用户使用风险自担,需遵守当地法律法规,仅限合法用途。开发者对任何直接、间接、偶然或后果性损害概不负责。进行二次开发须承诺合法使用并自负法律责任。开发者保留随时修改软件功能及本声明的权利。最终解释权归开发者所有。 + +## 🔗 NFT 支持 + +以独特方式支持 **NodePass**,查看我们在 [OpenSea](https://opensea.io/collection/nodepass) 上的 NFT 收藏。 ## 🤝 赞助商 diff --git a/nodepass/docs/en/api.md b/nodepass/docs/en/api.md index 56e197bb9c..7f76137967 100644 --- a/nodepass/docs/en/api.md +++ b/nodepass/docs/en/api.md @@ -67,6 +67,18 @@ API Key authentication is enabled by default, automatically generated and saved "url": "...", "config": "server://0.0.0.0:8080/localhost:3000?log=info&tls=1&max=1024&mode=0&read=1h&rate=0&slot=65536&proxy=0", "restart": true, + "meta": { + "peer": { + "sid": "550e8400-e29b-41d4-a716-446655440000", + "type": "1", + "alias": "remote-service" + }, + "tags": { + "environment": "production", + "region": "us-west", + "owner": "team-alpha" + } + }, "mode": 0, "ping": 0, "pool": 0, @@ -85,6 +97,15 @@ API Key authentication is enabled by default, automatically generated and saved - `tcprx`/`tcptx`/`udprx`/`udptx`: Cumulative traffic statistics - `config`: Instance configuration URL with complete startup configuration - `restart`: Auto-restart policy +- `meta`: Metadata information for instance organization and peer identification + - `peer`: Peer connection information (remote endpoint details) + - `sid`: Service ID of the remote service, using UUID v4 format (e.g., `550e8400-e29b-41d4-a716-446655440000`) + - `type`: Remote service type, using standard enumeration values + - `"0"`: Single-end Forwarding mode + - `"1"`: NAT Traversal mode + - `"2"`: Tunnel Forwarding mode + - `alias`: Service alias of the remote endpoint (no format restriction) + - `tags`: Custom key-value tags for flexible categorization and filtering ### Instance URL Format @@ -131,9 +152,25 @@ async function regenerateApiKey() { const result = await response.json(); return result.url; // New API Key } + +// Get Master ID +async function getMasterID() { + const response = await fetch(`${API_URL}/instances/${apiKeyID}`, { + method: 'GET', + headers: { + 'X-API-Key': 'current-api-key' + } + }); + + const result = await response.json(); + return result.data.config; // Master ID (16-character hex) +} ``` -**Note**: API Key ID is fixed as `********` (eight asterisks). In the internal implementation, this is a special instance ID used to store and manage the API Key. +**Note**: +- API Key ID is fixed as `********` (eight asterisks). In the internal implementation, this is a special instance ID used to store and manage the API Key. +- The API Key instance's `config` field stores the **Master ID**, which is a 16-character hexadecimal string (e.g., `1a2b3c4d5e6f7890`) used to uniquely identify the master service. +- The Master ID is automatically generated on first startup and persisted, remaining constant throughout the master service's lifecycle. ### Using SSE for Real-time Event Monitoring @@ -531,9 +568,91 @@ To properly manage lifecycles: const data = await response.json(); return data.success; } + + // Update instance metadata + async function updateInstanceMetadata(instanceId, metadata) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey // If API Key is enabled + }, + body: JSON.stringify({ meta: metadata }) + }); + + const data = await response.json(); + return data.success; + } ``` -5. **Auto-restart Policy Management**: Configure automatic startup behavior +5. **Metadata Management**: Organize and categorize instances with metadata + ```javascript + // Set peer connection information + async function setPeerInfo(instanceId, peerInfo) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: { + sid: peerInfo.serviceId, // UUID v4 format + type: peerInfo.type, // "0" | "1" | "2" + alias: peerInfo.alias + }, + tags: {} // Preserve existing tags + } + }) + }); + + const data = await response.json(); + return data.success; + } + + // Add or update instance tags + async function updateInstanceTags(instanceId, tags) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: {}, // Preserve existing peer info + tags: tags + } + }) + }); + + const data = await response.json(); + return data.success; + } + + // Complete metadata update + async function updateCompleteMetadata(instanceId, peerInfo, tags) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: peerInfo, + tags: tags + } + }) + }); + + const data = await response.json(); + return data.success; + } + ``` + +6. **Auto-restart Policy Management**: Configure automatic startup behavior ```javascript async function setAutoStartPolicy(instanceId, enableAutoStart) { const response = await fetch(`${API_URL}/instances/${instanceId}`, { @@ -585,6 +704,201 @@ To properly manage lifecycles: } ``` +#### Metadata Management Usage Examples + +Here are comprehensive examples showing how to use metadata for instance organization and management: + +```javascript +// Example 1: Establish peer-to-peer tunnel with metadata +async function establishPeerTunnel(localConfig, remoteConfig) { + // Create local server instance + const localInstance = await createNodePassInstance({ + type: 'server', + port: localConfig.port, + target: localConfig.target + }); + + // Create remote client instance + const remoteInstance = await createNodePassInstance({ + type: 'client', + serverHost: localConfig.serverHost, + port: remoteConfig.port, + target: remoteConfig.target + }); + + if (localInstance.success && remoteInstance.success) { + // Set peer information on local instance + await updateCompleteMetadata( + localInstance.data.id, + { + sid: remoteConfig.serviceId, // UUID format + type: "2", // Tunnel forwarding + alias: remoteConfig.serviceName + }, + { + tunnel_type: 'peer-to-peer', + protocol: 'tcp', + encryption: 'tls' + } + ); + + // Set peer information on remote instance + await updateCompleteMetadata( + remoteInstance.data.id, + { + sid: localConfig.serviceId, // UUID format + type: "2", // Tunnel forwarding + alias: localConfig.serviceName + }, + { + tunnel_type: 'peer-to-peer', + protocol: 'tcp', + encryption: 'tls' + } + ); + + console.log('Peer tunnel established with metadata'); + } +} + +// Example 2: Organize instances by environment and region +async function organizeInstancesByEnvironment(instances) { + for (const instance of instances) { + const tags = { + environment: instance.isProduction ? 'production' : 'development', + region: instance.deploymentRegion, + team: instance.owningTeam, + cost_center: instance.costCenter, + criticality: instance.isCritical ? 'high' : 'normal' + }; + + await updateInstanceTags(instance.id, tags); + console.log(`Tagged instance ${instance.id} with environment metadata`); + } +} + +// Example 3: Query instances by metadata tags +async function findInstancesByTags(requiredTags) { + const response = await fetch(`${API_URL}/instances`, { + headers: { 'X-API-Key': apiKey } + }); + const data = await response.json(); + + if (data.success) { + return data.data.filter(instance => { + if (!instance.meta || !instance.meta.tags) return false; + + // Check if all required tags match + return Object.entries(requiredTags).every(([key, value]) => + instance.meta.tags[key] === value + ); + }); + } + return []; +} + +// Example 4: Update metadata based on operational status +async function updateMetadataOnStatusChange(instanceId, newStatus) { + const instance = await fetch(`${API_URL}/instances/${instanceId}`, { + headers: { 'X-API-Key': apiKey } + }); + const data = await instance.json(); + + if (data.success && data.data.meta) { + const updatedTags = { + ...data.data.meta.tags, + last_status_change: new Date().toISOString(), + current_status: newStatus, + status_change_count: (parseInt(data.data.meta.tags.status_change_count || '0') + 1).toString() + }; + + await updateInstanceTags(instanceId, updatedTags); + } +} +``` + +#### Metadata Best Practices + +1. **Peer Information**: Use the `peer` object to track connections between instances + - `sid`: Service unique identifier (required, UUID v4 format, e.g., `550e8400-e29b-41d4-a716-446655440000`) + - Use standard UUID v4 format to ensure global uniqueness + - Can use JavaScript's `crypto.randomUUID()` or third-party libraries to generate + - `type`: Service type identifier (required, string enumeration value) + - `"0"`: Single-end Forwarding - For simple client forwarding scenarios + - `"1"`: NAT Traversal - For scenarios requiring NAT traversal + - `"2"`: Tunnel Forwarding - For establishing encrypted tunnels + - `alias`: Friendly name of the remote service (no format restriction, max 256 chars) + +2. **Frontend Integration Standards**: To ensure consistency, frontends should follow these standards + + **Service ID (sid) Generation Standards:** + ```javascript + // Use browser native API to generate UUID v4 + const serviceId = crypto.randomUUID(); + // Example output: "550e8400-e29b-41d4-a716-446655440000" + + // Or use third-party library (e.g., uuid) + import { v4 as uuidv4 } from 'uuid'; + const serviceId = uuidv4(); + ``` + + **Service Type (type) Usage Standards:** + ```javascript + // Define service type enumeration + const ServiceType = { + SINGLE_END: "0", // Single-end forwarding: client unidirectional forwarding, no server callback needed + NAT_TRAVERSAL: "1", // NAT traversal: traverse NAT for internal network access + TUNNEL: "2" // Tunnel forwarding: establish end-to-end encrypted tunnel + }; + + // Usage example + const peerInfo = { + sid: crypto.randomUUID(), + type: ServiceType.NAT_TRAVERSAL, + alias: "Web Server" + }; + ``` + + **Type Selection Guide:** + - **Single-end Forwarding ("0")**: + - Scenario: Client only needs to forward traffic to remote server + - Feature: One-way connection, no server callback required + - Example: Local app connecting to cloud database + + - **NAT Traversal ("1")**: + - Scenario: Need to access internal network services from external network + - Feature: Traverse NAT and firewall restrictions + - Example: Remote access to home NAS, internal web services + + - **Tunnel Forwarding ("2")**: + - Scenario: Need to establish secure end-to-end connection + - Feature: Encrypted transmission, bidirectional communication + - Example: Secure interconnection between branch offices and headquarters + +3. **Tags Organization**: Design a consistent tagging strategy + - Use lowercase keys with underscores (e.g., `cost_center`, `deployment_region`) + - Limit tag values to meaningful, searchable strings + - Common tag categories: + - Environment: `production`, `staging`, `development` + - Location: `us-west`, `eu-central`, `ap-southeast` + - Ownership: `team-alpha`, `ops-team`, `platform-team` + - Function: `database-tunnel`, `web-proxy`, `api-gateway` + - Criticality: `high`, `medium`, `low` + +4. **Field Length Limits**: All metadata fields have length requirements + - `peer.sid`: Fixed 36 characters (UUID v4 format, e.g., `550e8400-e29b-41d4-a716-446655440000`) + - `peer.type`: Fixed 1 character (enumeration value: `"0"` | `"1"` | `"2"`) + - `peer.alias`: Max 256 chars (no specific format required) + - Tag keys and values: Max 256 chars each + +5. **Tag Uniqueness**: Ensure tag keys are unique within an instance + - Duplicate keys will result in a 400 Bad Request error + +6. **Filtering and Search**: Use metadata for instance filtering + - Client-side filtering by tags for dashboard views + - Query instances by peer information for relationship mapping + - Group instances by tags for batch operations + #### Complete Auto-restart Policy Usage Example Here's a comprehensive example showing how to implement auto-restart policy management in real scenarios: @@ -798,6 +1112,18 @@ The instance object in API responses contains the following fields: "url": "server://...", // Instance configuration URL "config": "server://0.0.0.0:8080/localhost:3000?log=info&tls=1&max=1024&mode=0&read=1h&rate=0&slot=65536&proxy=0", // Complete configuration URL "restart": true, // Auto-restart policy + "meta": { // Metadata for organization and peer tracking + "peer": { + "sid": "550e8400-e29b-41d4-a716-446655440000", // Remote service ID (UUID format) + "type": "1", // Remote service type (0=Single-end, 1=NAT Traversal, 2=Tunnel) + "alias": "remote-service" // Remote service friendly name + }, + "tags": { // Custom key-value tags + "environment": "production", + "region": "us-west", + "team": "platform" + } + }, "mode": 0, // Instance mode "tcprx": 1024, // TCP received bytes "tcptx": 2048, // TCP transmitted bytes @@ -811,6 +1137,17 @@ The instance object in API responses contains the following fields: - `config` field contains the instance's complete configuration URL, auto-generated by the system - `mode` field indicates the current runtime mode of the instance - `restart` field controls the auto-restart behavior of the instance +- `meta` field contains structured metadata for instance organization + - `peer` object tracks remote endpoint information for peer-to-peer connections + - `sid`: Service unique identifier, must use UUID v4 format (36 chars, e.g., `550e8400-e29b-41d4-a716-446655440000`) + - `type`: Service type identifier, string enumeration value (`"0"` | `"1"` | `"2"`) + - `"0"`: Single-end Forwarding - Client unidirectional forwarding + - `"1"`: NAT Traversal - Traverse NAT for internal network access + - `"2"`: Tunnel Forwarding - Establish end-to-end encrypted tunnel + - `alias`: Custom string, max 256 chars, no format restriction + - `tags` map allows flexible categorization with custom key-value pairs + - Tag keys and values have a 256-character maximum length + - Tag keys must be unique within an instance ### Instance Configuration Field @@ -1018,9 +1355,18 @@ const instance = await fetch(`${API_URL}/instances/abc123`, { ``` #### PATCH /instances/{id} -- **Description**: Update instance state, alias, or perform control operations +- **Description**: Update instance state, alias, metadata, or perform control operations - **Authentication**: Requires API Key -- **Request body**: `{ "alias": "new alias", "action": "start|stop|restart|reset", "restart": true|false }` +- **Request body**: `{ "alias": "new alias", "action": "start|stop|restart|reset", "restart": true|false, "meta": {...} }` +- **Metadata Structure**: + - `peer`: Object with fields (all optional): + - `sid`: Service ID (UUID v4 format, 36 chars, e.g., `550e8400-e29b-41d4-a716-446655440000`) + - `type`: Service type (enumeration value: `"0"` | `"1"` | `"2"`) + - `"0"`: Single-end Forwarding + - `"1"`: NAT Traversal + - `"2"`: Tunnel Forwarding + - `alias`: Service alias (max 256 chars, no format restriction) + - `tags`: Object with custom key-value pairs (keys and values max 256 chars, keys must be unique) - **Example**: ```javascript // Update alias and restart policy @@ -1047,6 +1393,48 @@ await fetch(`${API_URL}/instances/abc123`, { action: "restart" }) }); + +// Update metadata with peer information and tags +await fetch(`${API_URL}/instances/abc123`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: { + sid: "550e8400-e29b-41d4-a716-446655440000", // UUID format + type: "1", // NAT Traversal + alias: "remote-api-server" + }, + tags: { + environment: "production", + region: "us-east", + team: "backend", + criticality: "high" + } + } + }) +}); + +// Update only tags (peer info remains unchanged) +await fetch(`${API_URL}/instances/abc123`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: {}, // Empty object preserves existing peer info + tags: { + environment: "staging", + updated_at: new Date().toISOString() + } + } + }) +}); ``` #### PUT /instances/{id} @@ -1101,6 +1489,7 @@ await fetch(`${API_URL}/instances/abc123`, { - **Authentication**: Requires API Key - **Request body**: `{ "alias": "new alias" }` - **Response**: Complete master information (same as GET /info) +- **Note**: Master alias is stored in the `alias` field of the API Key instance (ID `********`) - **Example**: ```javascript // Update master alias @@ -1118,6 +1507,18 @@ console.log('Updated alias:', data.alias); // Response contains full system info with updated alias ``` +**Retrieving Master ID**: The Master ID is stored in the `config` field of the API Key instance and can be retrieved as follows: +```javascript +// Get Master ID +async function getMasterID() { + const response = await fetch(`${API_URL}/instances/********`, { + headers: { 'X-API-Key': apiKey } + }); + const data = await response.json(); + return data.data.config; // Returns 16-character hex Master ID +} +``` + #### GET /tcping - **Description**: TCP connection test, checks connectivity and latency to target address - **Authentication**: Requires API Key diff --git a/nodepass/docs/en/configuration.md b/nodepass/docs/en/configuration.md index b2a51ebc1d..9c567d4fe3 100644 --- a/nodepass/docs/en/configuration.md +++ b/nodepass/docs/en/configuration.md @@ -264,6 +264,63 @@ nodepass "server://0.0.0.0:10101/0.0.0.0:8080?log=info&tls=1&proxy=1&rate=100" - The header format follows the HAProxy PROXY protocol v1 specification - If the target service doesn't support PROXY protocol, connections may fail or behave unexpectedly +## Target Address Groups and Load Balancing + +NodePass supports configuring multiple target addresses to achieve high availability and load balancing. Target address groups are only applicable to the egress side (the final destination of traffic) and should not be used on the ingress side. + +### Target Address Group Configuration + +Target address groups are configured by separating multiple addresses with commas. NodePass automatically performs round-robin and failover across these addresses: + +```bash +# Server with multiple backend targets (forward mode, mode=2) +nodepass "server://0.0.0.0:10101/backend1.example.com:8080,backend2.example.com:8080,backend3.example.com:8080?mode=2&tls=1" + +# Client with multiple local services (single-end forwarding mode, mode=1) +nodepass "client://127.0.0.1:1080/app1.local:8080,app2.local:8080?mode=1" +``` + +### Rotation Strategy + +NodePass employs a Round-Robin algorithm that combines failover and load balancing features: + +- **Load Balancing**: After each successful connection establishment, automatically switches to the next target address for even traffic distribution +- **Failover**: When a connection to an address fails, immediately tries the next address to ensure service availability +- **Automatic Recovery**: Failed addresses are retried in subsequent rotation cycles and automatically resume receiving traffic after recovery + +### Use Cases + +Target address groups are suitable for the following scenarios: + +- **High Availability Deployment**: Multiple backend servers for automatic failover +- **Load Balancing**: Even traffic distribution across multiple backend instances +- **Canary Releases**: Gradually shifting traffic to new service versions +- **Geographic Distribution**: Selecting optimal paths based on network topology + +### Important Notes + +- **Egress Only**: Target address groups can only be configured at the final traffic destination + - ✓ Server forward mode (mode=2): `server://0.0.0.0:10101/target1:80,target2:80` + - ✓ Client single-end forwarding mode (mode=1): `client://127.0.0.1:1080/target1:80,target2:80` + - ✗ Tunnel addresses do not support: Do not use multi-address configuration for tunnel addresses + +- **Address Format**: All addresses must use the same port or explicitly specify the port for each address +- **Protocol Consistency**: All addresses in the group must support the same protocol (TCP/UDP) +- **Thread Safety**: Rotation index uses atomic operations, supporting high-concurrency scenarios + +Example configurations: + +```bash +# Correct example: Server with 3 backend web servers +nodepass "server://0.0.0.0:10101/web1.internal:8080,web2.internal:8080,web3.internal:8080?mode=2&log=info" + +# Correct example: Client with 2 local database instances +nodepass "client://127.0.0.1:3306/db-primary.local:3306,db-secondary.local:3306?mode=1&log=warn" + +# Incorrect example: Do not use multi-address for tunnel addresses (will cause parsing errors) +# nodepass "server://host1:10101,host2:10101/target:8080" # ✗ Wrong usage +``` + ## URL Query Parameter Scope and Applicability NodePass allows flexible configuration via URL query parameters. The following table shows which parameters are applicable in server, client, and master modes: @@ -301,10 +358,10 @@ NodePass behavior can be fine-tuned using environment variables. Below is the co | `NP_SEMAPHORE_LIMIT` | Signal channel buffer size | 65536 | `export NP_SEMAPHORE_LIMIT=2048` | | `NP_TCP_DATA_BUF_SIZE` | Buffer size for TCP data transfer | 16384 | `export NP_TCP_DATA_BUF_SIZE=65536` | | `NP_UDP_DATA_BUF_SIZE` | Buffer size for UDP packets | 2048 | `export NP_UDP_DATA_BUF_SIZE=16384` | -| `NP_HANDSHAKE_TIMEOUT` | Timeout for handshake operations | 10s | `export NP_HANDSHAKE_TIMEOUT=30s` | +| `NP_HANDSHAKE_TIMEOUT` | Timeout for handshake operations | 5s | `export NP_HANDSHAKE_TIMEOUT=30s` | | `NP_UDP_READ_TIMEOUT` | Timeout for UDP read operations | 30s | `export NP_UDP_READ_TIMEOUT=60s` | -| `NP_TCP_DIAL_TIMEOUT` | Timeout for establishing TCP connections | 30s | `export NP_TCP_DIAL_TIMEOUT=60s` | -| `NP_UDP_DIAL_TIMEOUT` | Timeout for establishing UDP connections | 10s | `export NP_UDP_DIAL_TIMEOUT=30s` | +| `NP_TCP_DIAL_TIMEOUT` | Timeout for establishing TCP connections | 5s | `export NP_TCP_DIAL_TIMEOUT=60s` | +| `NP_UDP_DIAL_TIMEOUT` | Timeout for establishing UDP connections | 5s | `export NP_UDP_DIAL_TIMEOUT=30s` | | `NP_POOL_GET_TIMEOUT` | Timeout for getting connections from pool | 5s | `export NP_POOL_GET_TIMEOUT=60s` | | `NP_MIN_POOL_INTERVAL` | Minimum interval between connection creations | 100ms | `export NP_MIN_POOL_INTERVAL=200ms` | | `NP_MAX_POOL_INTERVAL` | Maximum interval between connection creations | 1s | `export NP_MAX_POOL_INTERVAL=3s` | @@ -362,7 +419,7 @@ For applications relying heavily on UDP traffic: - For applications allowing intermittent transmission, increase this value to avoid false timeout detection - `NP_UDP_DIAL_TIMEOUT`: Timeout for establishing UDP connections - - Default (10s) provides good balance for most applications + - Default (5s) provides good balance for most applications - Increase for high-latency networks or applications with slow response times - Decrease for low-latency applications requiring quick failover @@ -376,14 +433,14 @@ For optimizing TCP connections: - Consider increasing to 65536 or higher for bulk data transfers and streaming - `NP_TCP_DIAL_TIMEOUT`: Timeout for establishing TCP connections - - Default (30s) is suitable for most network conditions + - Default (5s) is suitable for most network conditions - Increase for unstable network conditions - Decrease for applications that need quick connection success/failure determination ### Pool Management Settings - `NP_POOL_GET_TIMEOUT`: Maximum time to wait when getting connections from pool - - Default (30s) provides sufficient time for connection establishment + - Default (5s) provides sufficient time for connection establishment - Increase for high-latency environments or when using large pool sizes - Decrease for applications requiring fast failure detection - In client single-end forwarding mode, connection pools are not used and this parameter is ignored diff --git a/nodepass/docs/en/examples.md b/nodepass/docs/en/examples.md index 1b578fa819..8c4f0068f8 100644 --- a/nodepass/docs/en/examples.md +++ b/nodepass/docs/en/examples.md @@ -235,9 +235,84 @@ This setup: - Enables developers to access environments without direct network exposure - Maps remote services to different local ports for easy identification +## High Availability and Load Balancing + +### Example 14: Multi-Backend Server Load Balancing + +Use target address groups for even traffic distribution and automatic failover: + +```bash +# Server side: Configure 3 backend web servers +nodepass "server://0.0.0.0:10101/web1.internal:8080,web2.internal:8080,web3.internal:8080?mode=2&tls=1&log=info" + +# Client side: Connect to server +nodepass "client://server.example.com:10101/127.0.0.1:8080?log=info" +``` + +This configuration: +- Automatically distributes traffic across 3 backend servers using round-robin for load balancing +- Automatically switches to other available servers when one backend fails +- Automatically resumes sending traffic to recovered servers +- Uses TLS encryption to secure the tunnel + +### Example 15: Database Primary-Replica Failover + +Configure primary and replica database instances for high availability access: + +```bash +# Client side: Configure primary and replica database addresses (single-end forwarding mode) +nodepass "client://127.0.0.1:3306/db-primary.local:3306,db-secondary.local:3306?mode=1&log=warn" +``` + +This setup: +- Prioritizes connections to primary database, automatically switches to replica on primary failure +- Single-end forwarding mode provides high-performance local proxy +- Application requires no modification for transparent failover +- Logs only warnings and errors to reduce output + +### Example 16: API Gateway Backend Pool + +Configure multiple backend service instances for an API gateway: + +```bash +# Server side: Configure 4 API service instances +nodepass "server://0.0.0.0:10101/api1.backend:8080,api2.backend:8080,api3.backend:8080,api4.backend:8080?mode=2&tls=1&rate=200&slot=5000" + +# Client side: Connect from API gateway +nodepass "client://apigateway.example.com:10101/127.0.0.1:8080?rate=100&slot=2000" +``` + +This configuration: +- 4 API service instances form backend pool with round-robin request distribution +- Server limits bandwidth to 200 Mbps with maximum 5000 concurrent connections +- Client limits bandwidth to 100 Mbps with maximum 2000 concurrent connections +- Single instance failure doesn't affect overall service availability + +### Example 17: Geo-Distributed Services + +Configure multi-region service nodes to optimize network latency: + +```bash +# Server side: Configure multi-region nodes +nodepass "server://0.0.0.0:10101/us-west.service:8080,us-east.service:8080,eu-central.service:8080?mode=2&log=debug" +``` + +This setup: +- Configures 3 service nodes in different regions +- Round-robin algorithm automatically distributes traffic across regions +- Debug logging helps analyze traffic distribution and failure scenarios +- Suitable for globally distributed application scenarios + +**Target Address Group Best Practices:** +- **Address Count**: Recommend configuring 2-5 addresses; too many increases failure detection time +- **Health Checks**: Ensure backend services have their own health check mechanisms +- **Port Consistency**: All addresses use the same port or explicitly specify port for each address +- **Monitoring & Alerts**: Configure monitoring systems to track failover events +- **Testing & Validation**: Verify failover and load balancing behavior in test environments before deployment + ## PROXY Protocol Integration -### Example 14: Load Balancer Integration with PROXY Protocol +### Example 18: Load Balancer Integration with PROXY Protocol Enable PROXY protocol support for integration with load balancers and reverse proxies: @@ -256,7 +331,7 @@ This configuration: - Compatible with HAProxy, Nginx, and other PROXY protocol aware services - Useful for maintaining accurate access logs and IP-based access controls -### Example 15: Reverse Proxy Support for Web Applications +### Example 19: Reverse Proxy Support for Web Applications Enable web applications behind NodePass to receive original client information: @@ -280,7 +355,7 @@ This setup: - Supports compliance requirements for connection auditing - Works with web servers that support PROXY protocol (Nginx, HAProxy, etc.) -### Example 16: Database Access with Client IP Preservation +### Example 20: Database Access with Client IP Preservation Maintain client IP information for database access logging and security: @@ -307,7 +382,7 @@ Benefits: ## Container Deployment -### Example 17: Containerized NodePass +### Example 21: Containerized NodePass Deploy NodePass in a Docker environment: @@ -342,7 +417,7 @@ This configuration: ## Master API Management -### Example 18: Centralized Management +### Example 22: Centralized Management Set up a central controller for multiple NodePass instances: @@ -379,7 +454,7 @@ This setup: - Offers a RESTful API for automation and integration - Includes a built-in Swagger UI at http://localhost:9090/api/v1/docs -### Example 19: Custom API Prefix +### Example 23: Custom API Prefix Use a custom API prefix for the master mode: @@ -398,7 +473,7 @@ This allows: - Custom URL paths for security or organizational purposes - Swagger UI access at http://localhost:9090/admin/v1/docs -### Example 20: Real-time Connection and Traffic Monitoring +### Example 24: Real-time Connection and Traffic Monitoring Monitor instance connection counts and traffic statistics through the master API: diff --git a/nodepass/docs/zh/api.md b/nodepass/docs/zh/api.md index 30b134f9f7..48e8371cc4 100644 --- a/nodepass/docs/zh/api.md +++ b/nodepass/docs/zh/api.md @@ -67,6 +67,18 @@ API Key 认证默认启用,首次启动自动生成并保存在 `nodepass.gob` "url": "...", "config": "server://0.0.0.0:8080/localhost:3000?log=info&tls=1&max=1024&mode=0&read=1h&rate=0&slot=65536&proxy=0", "restart": true, + "meta": { + "peer": { + "sid": "550e8400-e29b-41d4-a716-446655440000", + "type": "1", + "alias": "远程服务" + }, + "tags": { + "environment": "production", + "region": "us-west", + "owner": "team-alpha" + } + }, "mode": 0, "ping": 0, "pool": 0, @@ -85,6 +97,15 @@ API Key 认证默认启用,首次启动自动生成并保存在 `nodepass.gob` - `tcprx`/`tcptx`/`udprx`/`udptx`:累计流量统计 - `config`:实例配置URL,包含完整的启动配置 - `restart`:自启动策略 +- `meta`:元数据信息,用于实例组织和对端识别 + - `peer`:对端连接信息(远程端点详情) + - `sid`:远程服务的服务ID,使用UUID v4格式(如 `550e8400-e29b-41d4-a716-446655440000`) + - `type`:远程服务类型,使用标准枚举值 + - `"0"`:单端转发模式(Single-end Forwarding) + - `"1"`:内网穿透模式(NAT Traversal) + - `"2"`:隧道转发模式(Tunnel Forwarding) + - `alias`:远程端点的服务别名(无格式限制) + - `tags`:自定义键值对标签,用于灵活分类和筛选 ### 实例 URL 格式 @@ -131,9 +152,25 @@ async function regenerateApiKey() { const result = await response.json(); return result.url; // 新的API Key } + +// 获取主控ID(Master ID) +async function getMasterID() { + const response = await fetch(`${API_URL}/instances/${apiKeyID}`, { + method: 'GET', + headers: { + 'X-API-Key': 'current-api-key' + } + }); + + const result = await response.json(); + return result.data.config; // 主控ID(16位十六进制) +} ``` -**注意**: API Key ID 固定为 `********`(八个星号)。在内部实现中,这是一个特殊的实例ID,用于存储和管理API Key。 +**注意**: +- API Key ID 固定为 `********`(八个星号)。在内部实现中,这是一个特殊的实例ID,用于存储和管理API Key。 +- API Key实例的 `config` 字段存储**主控ID**(Master ID),这是一个16位十六进制字符串(如 `1a2b3c4d5e6f7890`),用于唯一标识主控服务。 +- 主控ID在首次启动时自动生成并持久化保存,在主控服务的整个生命周期中保持不变。 ### 使用SSE实时事件监控 @@ -531,6 +568,88 @@ NodePass主控模式提供自动备份功能,定期备份状态文件以防止 const data = await response.json(); return data.success; } + + // 更新实例元数据 + async function updateInstanceMetadata(instanceId, metadata) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey // 如果启用了API Key + }, + body: JSON.stringify({ meta: metadata }) + }); + + const data = await response.json(); + return data.success; + } + ``` + +5. **元数据管理**:使用元数据组织和分类实例 + ```javascript + // 设置对端连接信息 + async function setPeerInfo(instanceId, peerInfo) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: { + sid: peerInfo.serviceId, // UUID v4 格式 + type: peerInfo.type, // "0" | "1" | "2" + alias: peerInfo.alias + }, + tags: {} // 保留现有标签 + } + }) + }); + + const data = await response.json(); + return data.success; + } + + // 添加或更新实例标签 + async function updateInstanceTags(instanceId, tags) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: {}, // 保留现有对端信息 + tags: tags + } + }) + }); + + const data = await response.json(); + return data.success; + } + + // 完整元数据更新 + async function updateCompleteMetadata(instanceId, peerInfo, tags) { + const response = await fetch(`${API_URL}/instances/${instanceId}`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: peerInfo, + tags: tags + } + }) + }); + + const data = await response.json(); + return data.success; + } ``` 6. **自启动策略管理**:配置自动启动行为 @@ -585,6 +704,201 @@ NodePass主控模式提供自动备份功能,定期备份状态文件以防止 } ``` +#### 元数据管理使用示例 + +以下是展示如何使用元数据进行实例组织和管理的综合示例: + +```javascript +// 示例1:建立带有元数据的点对点隧道 +async function establishPeerTunnel(localConfig, remoteConfig) { + // 创建本地服务器实例 + const localInstance = await createNodePassInstance({ + type: 'server', + port: localConfig.port, + target: localConfig.target + }); + + // 创建远程客户端实例 + const remoteInstance = await createNodePassInstance({ + type: 'client', + serverHost: localConfig.serverHost, + port: remoteConfig.port, + target: remoteConfig.target + }); + + if (localInstance.success && remoteInstance.success) { + // 在本地实例上设置对端信息 + await updateCompleteMetadata( + localInstance.data.id, + { + sid: remoteConfig.serviceId, // UUID格式 + type: "2", // 隧道转发 + alias: remoteConfig.serviceName + }, + { + tunnel_type: 'peer-to-peer', + protocol: 'tcp', + encryption: 'tls' + } + ); + + // 在远程实例上设置对端信息 + await updateCompleteMetadata( + remoteInstance.data.id, + { + sid: localConfig.serviceId, // UUID格式 + type: "2", // 隧道转发 + alias: localConfig.serviceName + }, + { + tunnel_type: 'peer-to-peer', + protocol: 'tcp', + encryption: 'tls' + } + ); + + console.log('已建立带有元数据的对等隧道'); + } +} + +// 示例2:按环境和区域组织实例 +async function organizeInstancesByEnvironment(instances) { + for (const instance of instances) { + const tags = { + environment: instance.isProduction ? 'production' : 'development', + region: instance.deploymentRegion, + team: instance.owningTeam, + cost_center: instance.costCenter, + criticality: instance.isCritical ? 'high' : 'normal' + }; + + await updateInstanceTags(instance.id, tags); + console.log(`已为实例 ${instance.id} 设置环境元数据标签`); + } +} + +// 示例3:通过元数据标签查询实例 +async function findInstancesByTags(requiredTags) { + const response = await fetch(`${API_URL}/instances`, { + headers: { 'X-API-Key': apiKey } + }); + const data = await response.json(); + + if (data.success) { + return data.data.filter(instance => { + if (!instance.meta || !instance.meta.tags) return false; + + // 检查所有必需标签是否匹配 + return Object.entries(requiredTags).every(([key, value]) => + instance.meta.tags[key] === value + ); + }); + } + return []; +} + +// 示例4:根据运行状态更新元数据 +async function updateMetadataOnStatusChange(instanceId, newStatus) { + const instance = await fetch(`${API_URL}/instances/${instanceId}`, { + headers: { 'X-API-Key': apiKey } + }); + const data = await instance.json(); + + if (data.success && data.data.meta) { + const updatedTags = { + ...data.data.meta.tags, + last_status_change: new Date().toISOString(), + current_status: newStatus, + status_change_count: (parseInt(data.data.meta.tags.status_change_count || '0') + 1).toString() + }; + + await updateInstanceTags(instanceId, updatedTags); + } +} +``` + +#### 元数据最佳实践 + +1. **对端信息**:使用 `peer` 对象跟踪实例之间的连接 + - `sid`:服务唯一标识符(必填,UUID v4格式,如 `550e8400-e29b-41d4-a716-446655440000`) + - 使用标准UUID v4格式确保全局唯一性 + - 可使用JavaScript的 `crypto.randomUUID()` 或第三方库生成 + - `type`:服务类型标识(必填,字符串枚举值) + - `"0"`:单端转发(Single-end Forwarding)- 适用于简单的客户端转发场景 + - `"1"`:内网穿透(NAT Traversal)- 适用于需要穿透NAT的场景 + - `"2"`:隧道转发(Tunnel Forwarding)- 适用于建立加密隧道的场景 + - `alias`:远程服务的友好名称(无格式限制,最多256字符) + +2. **前端集成标准**:为确保一致性,前端应遵循以下标准 + + **服务ID(sid)生成标准:** + ```javascript + // 使用浏览器原生API生成UUID v4 + const serviceId = crypto.randomUUID(); + // 示例输出: "550e8400-e29b-41d4-a716-446655440000" + + // 或使用第三方库(如uuid) + import { v4 as uuidv4 } from 'uuid'; + const serviceId = uuidv4(); + ``` + + **服务类型(type)使用标准:** + ```javascript + // 定义服务类型枚举 + const ServiceType = { + SINGLE_END: "0", // 单端转发:客户端单向转发,无需服务端回连 + NAT_TRAVERSAL: "1", // 内网穿透:穿透NAT进行内网访问 + TUNNEL: "2" // 隧道转发:建立端到端加密隧道 + }; + + // 使用示例 + const peerInfo = { + sid: crypto.randomUUID(), + type: ServiceType.NAT_TRAVERSAL, + alias: "Web服务器" + }; + ``` + + **类型选择指南:** + - **单端转发("0")**: + - 场景:客户端仅需要将流量转发到远程服务器 + - 特点:单向连接,无需服务端主动回连 + - 示例:本地应用连接到云端数据库 + + - **内网穿透("1")**: + - 场景:需要从外网访问内网服务 + - 特点:穿透NAT和防火墙限制 + - 示例:远程访问家庭NAS、内网Web服务 + + - **隧道转发("2")**: + - 场景:需要建立安全的端到端连接 + - 特点:加密传输,双向通信 + - 示例:分支机构与总部的安全互联 + +3. **标签组织**:设计一致的标签策略 + - 使用小写字母和下划线的键名(如 `cost_center`、`deployment_region`) + - 将标签值限制为有意义的、可搜索的字符串 + - 常见标签类别: + - 环境:`production`、`staging`、`development` + - 位置:`us-west`、`eu-central`、`ap-southeast` + - 所有权:`team-alpha`、`ops-team`、`platform-team` + - 功能:`database-tunnel`、`web-proxy`、`api-gateway` + - 重要性:`high`、`medium`、`low` + +4. **字段长度限制**:元数据字段的长度要求 + - `peer.sid`:固定36字符(UUID v4格式,如 `550e8400-e29b-41d4-a716-446655440000`) + - `peer.type`:固定1字符(枚举值:`"0"` | `"1"` | `"2"`) + - `peer.alias`:最多256字符(无特定格式要求) + - 标签键和值:每个最多256字符 + +5. **标签唯一性**:确保实例内的标签键唯一 + - 重复的键将导致400 Bad Request错误 + +6. **过滤和搜索**:使用元数据进行实例过滤 + - 客户端按标签过滤以显示仪表板视图 + - 通过对端信息查询实例以进行关系映射 + - 按标签分组实例以进行批量操作 + #### 自启动策略完整使用示例 以下是一个全面的示例,展示了如何在实际场景中实现自启动策略管理: @@ -798,6 +1112,18 @@ API响应中的实例对象包含以下字段: "url": "server://...", // 实例配置URL "config": "server://0.0.0.0:8080/localhost:3000?log=info&tls=1&max=1024&mode=0&read=1h&rate=0&slot=65536&proxy=0", // 完整配置URL "restart": true, // 自启动策略 + "meta": { // 用于组织和对端跟踪的元数据 + "peer": { + "sid": "550e8400-e29b-41d4-a716-446655440000", // 远程服务ID(UUID格式) + "type": "1", // 远程服务类型(0=单端转发,1=内网穿透,2=隧道转发) + "alias": "远程服务" // 远程服务友好名称 + }, + "tags": { // 自定义键值对标签 + "environment": "production", + "region": "us-west", + "team": "platform" + } + }, "mode": 0, // 运行模式 "tcprx": 1024, // TCP接收字节数 "tcptx": 2048, // TCP发送字节数 @@ -811,6 +1137,17 @@ API响应中的实例对象包含以下字段: - `config` 字段包含实例的完整配置URL,由系统自动生成 - `mode` 字段表示实例当前的运行模式 - `restart` 字段控制实例的自启动行为 +- `meta` 字段包含用于实例组织的结构化元数据 + - `peer` 对象跟踪点对点连接的远程端点信息 + - `sid`:服务唯一标识符,必须使用UUID v4格式(36字符,如 `550e8400-e29b-41d4-a716-446655440000`) + - `type`:服务类型标识,字符串枚举值(`"0"` | `"1"` | `"2"`) + - `"0"`:单端转发(Single-end Forwarding) - 客户端单向转发流量 + - `"1"`:内网穿透(NAT Traversal) - 穿透NAT进行内网访问 + - `"2"`:隧道转发(Tunnel Forwarding) - 建立端到端加密隧道 + - `alias`:自定义字符串,最多256字符,无格式限制 + - `tags` 映射允许使用自定义键值对进行灵活分类 + - 标签键和值最大长度为256个字符 + - 标签键在实例内必须唯一 ### 实例配置字段 @@ -1018,9 +1355,18 @@ const instance = await fetch(`${API_URL}/instances/abc123`, { ``` #### PATCH /instances/{id} -- **描述**:更新实例状态、别名或执行控制操作 +- **描述**:更新实例状态、别名、元数据或执行控制操作 - **认证**:需要API Key -- **请求体**:`{ "alias": "新别名", "action": "start|stop|restart|reset", "restart": true|false }` +- **请求体**:`{ "alias": "新别名", "action": "start|stop|restart|reset", "restart": true|false, "meta": {...} }` +- **元数据结构**: + - `peer`:对象,包含以下字段(均为可选): + - `sid`:服务ID(UUID v4格式,36字符,如 `550e8400-e29b-41d4-a716-446655440000`) + - `type`:服务类型(枚举值:`"0"` | `"1"` | `"2"`) + - `"0"`:单端转发(Single-end Forwarding) + - `"1"`:内网穿透(NAT Traversal) + - `"2"`:隧道转发(Tunnel Forwarding) + - `alias`:服务别名(最多256字符,无格式限制) + - `tags`:自定义键值对对象(键和值最多256字符,键必须唯一) - **示例**: ```javascript // 更新别名和自启动策略 @@ -1047,6 +1393,48 @@ await fetch(`${API_URL}/instances/abc123`, { action: "restart" }) }); + +// 更新元数据(包含对端信息和标签) +await fetch(`${API_URL}/instances/abc123`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: { + sid: "550e8400-e29b-41d4-a716-446655440000", // UUID格式 + type: "1", // 内网穿透 + alias: "远程API服务器" + }, + tags: { + environment: "production", + region: "us-east", + team: "backend", + criticality: "high" + } + } + }) +}); + +// 仅更新标签(对端信息保持不变) +await fetch(`${API_URL}/instances/abc123`, { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + 'X-API-Key': apiKey + }, + body: JSON.stringify({ + meta: { + peer: {}, // 空对象保留现有对端信息 + tags: { + environment: "staging", + updated_at: new Date().toISOString() + } + } + }) +}); ``` #### PUT /instances/{id} @@ -1101,6 +1489,7 @@ await fetch(`${API_URL}/instances/abc123`, { - **认证**:需要API Key - **请求体**:`{ "alias": "新别名" }` - **响应**:完整的主控信息(与GET /info相同) +- **说明**:主控别名存储在API Key实例(ID为`********`)的 `alias` 字段中 - **示例**: ```javascript // 更新主控别名 @@ -1118,6 +1507,18 @@ console.log('更新后的别名:', data.alias); // 响应包含完整的系统信息,包括更新后的别名 ``` +**主控ID获取**:主控ID存储在API Key实例的 `config` 字段中,可以通过以下方式获取: +```javascript +// 获取主控ID +async function getMasterID() { + const response = await fetch(`${API_URL}/instances/********`, { + headers: { 'X-API-Key': apiKey } + }); + const data = await response.json(); + return data.data.config; // 返回16位十六进制的主控ID +} +``` + #### GET /tcping - **描述**:TCP连接测试,检测目标地址的连通性和延迟 - **认证**:需要API Key diff --git a/nodepass/docs/zh/configuration.md b/nodepass/docs/zh/configuration.md index fe56cdf6a3..7b37668da3 100644 --- a/nodepass/docs/zh/configuration.md +++ b/nodepass/docs/zh/configuration.md @@ -264,6 +264,63 @@ nodepass "server://0.0.0.0:10101/0.0.0.0:8080?log=info&tls=1&proxy=1&rate=100" - 头部格式遵循HAProxy PROXY协议v1规范 - 如果目标服务不支持PROXY协议,将导致连接失败 +## 目标地址组与负载均衡 + +NodePass支持配置多个目标地址以实现高可用性和负载均衡。目标地址组功能仅适用于出口端(流量最终到达的目的地),不应在入口端使用。 + +### 目标地址组配置 + +目标地址组通过逗号分隔多个地址来配置,NodePass会自动在这些地址之间进行轮询和故障转移: + +```bash +# 服务端配置多个后端目标(正向模式,mode=2) +nodepass "server://0.0.0.0:10101/backend1.example.com:8080,backend2.example.com:8080,backend3.example.com:8080?mode=2&tls=1" + +# 客户端配置多个本地服务(单端转发模式,mode=1) +nodepass "client://127.0.0.1:1080/app1.local:8080,app2.local:8080?mode=1" +``` + +### 轮询策略 + +NodePass采用轮询(Round-Robin)算法,结合故障转移和负载均衡特性: + +- **负载均衡**:每次成功建立连接后,自动切换到下一个目标地址,实现流量均匀分布 +- **故障转移**:当某个地址连接失败时,立即尝试下一个地址,确保服务高可用 +- **自动恢复**:失败的地址会在轮询周期中重新尝试,故障恢复后自动接入流量 + +### 使用场景 + +目标地址组适用于以下场景: + +- **高可用性部署**:多个后端服务器实现故障自动切换 +- **负载均衡**:流量均匀分布到多个后端实例 +- **灰度发布**:逐步将流量切换到新版本服务 +- **地域分布**:根据网络拓扑选择最优路径 + +### 重要说明 + +- **仅适用于出口**:目标地址组只能配置在流量的最终目的地 + - ✓ 服务端正向模式(mode=2):`server://0.0.0.0:10101/target1:80,target2:80` + - ✓ 客户端单端转发模式(mode=1):`client://127.0.0.1:1080/target1:80,target2:80` + - ✗ 隧道地址不支持:不要在隧道地址使用多地址配置 + +- **地址格式**:所有地址必须使用相同的端口或明确指定每个地址的端口 +- **协议一致性**:地址组中的所有地址必须支持相同的协议(TCP/UDP) +- **线程安全**:轮询索引使用原子操作,支持高并发场景 + +示例配置: + +```bash +# 正确示例:服务端配置3个后端Web服务器 +nodepass "server://0.0.0.0:10101/web1.internal:8080,web2.internal:8080,web3.internal:8080?mode=2&log=info" + +# 正确示例:客户端配置2个本地数据库实例 +nodepass "client://127.0.0.1:3306/db-primary.local:3306,db-secondary.local:3306?mode=1&log=warn" + +# 错误示例:不要在隧道地址使用多地址(会导致解析错误) +# nodepass "server://host1:10101,host2:10101/target:8080" # ✗ 错误用法 +``` + ## URL查询参数配置及作用范围 NodePass支持通过URL查询参数进行灵活配置,不同参数在 server、client、master 模式下的适用性如下表: @@ -282,7 +339,6 @@ NodePass支持通过URL查询参数进行灵活配置,不同参数在 server | `slot` | 最大连接数限制 | `65536` | O | O | X | | `proxy` | PROXY协议支持 | `0` | O | O | X | - - O:参数有效,推荐根据实际场景配置 - X:参数无效,忽略设置 @@ -302,10 +358,10 @@ NodePass支持通过URL查询参数进行灵活配置,不同参数在 server | `NP_SEMAPHORE_LIMIT` | 信号缓冲区大小 | 65536 | `export NP_SEMAPHORE_LIMIT=2048` | | `NP_TCP_DATA_BUF_SIZE` | TCP数据传输缓冲区大小 | 16384 | `export NP_TCP_DATA_BUF_SIZE=65536` | | `NP_UDP_DATA_BUF_SIZE` | UDP数据包缓冲区大小 | 2048 | `export NP_UDP_DATA_BUF_SIZE=16384` | -| `NP_HANDSHAKE_TIMEOUT` | 握手操作超时 | 10s | `export NP_HANDSHAKE_TIMEOUT=30s` | +| `NP_HANDSHAKE_TIMEOUT` | 握手操作超时 | 5s | `export NP_HANDSHAKE_TIMEOUT=30s` | | `NP_UDP_READ_TIMEOUT` | UDP读取操作超时 | 30s | `export NP_UDP_READ_TIMEOUT=60s` | -| `NP_TCP_DIAL_TIMEOUT` | TCP连接建立超时 | 30s | `export NP_TCP_DIAL_TIMEOUT=60s` | -| `NP_UDP_DIAL_TIMEOUT` | UDP连接建立超时 | 10s | `export NP_UDP_DIAL_TIMEOUT=30s` | +| `NP_TCP_DIAL_TIMEOUT` | TCP连接建立超时 | 5s | `export NP_TCP_DIAL_TIMEOUT=60s` | +| `NP_UDP_DIAL_TIMEOUT` | UDP连接建立超时 | 5s | `export NP_UDP_DIAL_TIMEOUT=30s` | | `NP_POOL_GET_TIMEOUT` | 从连接池获取连接的超时时间 | 5s | `export NP_POOL_GET_TIMEOUT=60s` | | `NP_MIN_POOL_INTERVAL` | 连接创建之间的最小间隔 | 100ms | `export NP_MIN_POOL_INTERVAL=200ms` | | `NP_MAX_POOL_INTERVAL` | 连接创建之间的最大间隔 | 1s | `export NP_MAX_POOL_INTERVAL=3s` | @@ -363,7 +419,7 @@ NodePass支持通过URL查询参数进行灵活配置,不同参数在 server - 对于允许间歇性传输的应用可以增加此值以避免误判超时 - `NP_UDP_DIAL_TIMEOUT`:UDP连接建立超时 - - 默认值(10s)为大多数应用提供良好平衡 + - 默认值(5s)为大多数应用提供良好平衡 - 对于高延迟网络或响应缓慢的应用增加此值 - 对于需要快速故障切换的低延迟应用减少此值 @@ -377,14 +433,14 @@ NodePass支持通过URL查询参数进行灵活配置,不同参数在 server - 考虑为批量数据传输和流媒体增加到65536或更高 - `NP_TCP_DIAL_TIMEOUT`:TCP连接建立超时 - - 默认值(30s)适用于大多数网络条件 + - 默认值(5s)适用于大多数网络条件 - 对于网络条件不稳定的环境增加此值 - 对于需要快速判断连接成功与否的应用减少此值 ### 连接池管理设置 - `NP_POOL_GET_TIMEOUT`:从连接池获取连接时的最大等待时间 - - 默认值(30s)为连接建立提供充足时间 + - 默认值(5s)为连接建立提供充足时间 - 对于高延迟环境或使用大型连接池时增加此值 - 对于需要快速故障检测的应用减少此值 - 在客户端单端转发模式下不使用连接池,此参数被忽略 diff --git a/nodepass/docs/zh/examples.md b/nodepass/docs/zh/examples.md index cc2f9014be..5abe97b5b6 100644 --- a/nodepass/docs/zh/examples.md +++ b/nodepass/docs/zh/examples.md @@ -235,9 +235,84 @@ nodepass "server://tunnel.example.com:10101/127.0.0.1:3001?log=warn&tls=1" - 使开发人员能够访问环境而无需直接网络暴露 - 将远程服务映射到不同的本地端口,便于识别 +## 高可用性与负载均衡 + +### 示例14:多后端服务器负载均衡 + +使用目标地址组实现流量均衡分配和自动故障转移: + +```bash +# 服务端:配置3个后端Web服务器 +nodepass "server://0.0.0.0:10101/web1.internal:8080,web2.internal:8080,web3.internal:8080?mode=2&tls=1&log=info" + +# 客户端:连接到服务端 +nodepass "client://server.example.com:10101/127.0.0.1:8080?log=info" +``` + +此配置: +- 流量自动轮询分配到3个后端服务器,实现负载均衡 +- 当某个后端服务器故障时,自动切换到其他可用服务器 +- 故障服务器恢复后自动重新接入流量 +- 使用TLS加密确保隧道安全 + +### 示例15:数据库主从切换 + +为数据库配置主从实例,实现高可用访问: + +```bash +# 客户端:配置主从数据库地址(单端转发模式) +nodepass "client://127.0.0.1:3306/db-primary.local:3306,db-secondary.local:3306?mode=1&log=warn" +``` + +此设置: +- 优先连接主数据库,主库故障时自动切换到从库 +- 单端转发模式提供高性能本地代理 +- 应用程序无需修改,透明地实现故障转移 +- 仅记录警告和错误,减少日志输出 + +### 示例16:API网关后端池 + +为API网关配置多个后端服务实例: + +```bash +# 服务端:配置4个API服务实例 +nodepass "server://0.0.0.0:10101/api1.backend:8080,api2.backend:8080,api3.backend:8080,api4.backend:8080?mode=2&tls=1&rate=200&slot=5000" + +# 客户端:从API网关连接 +nodepass "client://apigateway.example.com:10101/127.0.0.1:8080?rate=100&slot=2000" +``` + +此配置: +- 4个API服务实例形成后端池,轮询分配请求 +- 服务端限制带宽200 Mbps,最大5000并发连接 +- 客户端限制带宽100 Mbps,最大2000并发连接 +- 单个实例故障不影响整体服务可用性 + +### 示例17:地域分布式服务 + +配置多地域服务节点,优化网络延迟: + +```bash +# 服务端:配置多地域节点 +nodepass "server://0.0.0.0:10101/us-west.service:8080,us-east.service:8080,eu-central.service:8080?mode=2&log=debug" +``` + +此设置: +- 配置3个不同地域的服务节点 +- 轮询算法自动分配流量到各个地域 +- Debug日志帮助分析流量分布和故障情况 +- 适用于全球分布式应用场景 + +**目标地址组最佳实践:** +- **地址数量**:建议配置2-5个地址,过多会增加故障检测时间 +- **健康检查**:确保后端服务有自己的健康检查机制 +- **端口一致性**:所有地址使用相同端口或明确指定每个地址的端口 +- **监控告警**:配置监控系统跟踪故障转移事件 +- **测试验证**:部署前在测试环境验证故障转移和负载均衡行为 + ## PROXY协议集成 -### 示例14:负载均衡器与PROXY协议集成 +### 示例18:负载均衡器与PROXY协议集成 启用PROXY协议支持,与负载均衡器和反向代理集成: @@ -256,7 +331,7 @@ nodepass "client://tunnel.example.com:10101/127.0.0.1:3000?log=info&proxy=1" - 兼容HAProxy、Nginx和其他支持PROXY协议的服务 - 有助于维护准确的访问日志和基于IP的访问控制 -### 示例15:Web应用的反向代理支持 +### 示例19:Web应用的反向代理支持 使NodePass后的Web应用能够接收原始客户端信息: @@ -280,7 +355,7 @@ nodepass "server://0.0.0.0:10101/127.0.0.1:8080?log=warn&tls=2&crt=/path/to/cert - 支持连接审计的合规性要求 - 适用于支持PROXY协议的Web服务器(Nginx、HAProxy等) -### 示例16:数据库访问与客户端IP保留 +### 示例20:数据库访问与客户端IP保留 为数据库访问日志记录和安全维护客户端IP信息: @@ -307,7 +382,7 @@ nodepass "client://dbproxy.example.com:10101/127.0.0.1:5432?proxy=1" ## 容器部署 -### 示例17:容器化NodePass +### 示例21:容器化NodePass 在Docker环境中部署NodePass: @@ -342,7 +417,7 @@ docker run -d --name nodepass-client \ ## 主控API管理 -### 示例18:集中化管理 +### 示例22:集中化管理 为多个NodePass实例设置中央控制器: @@ -379,7 +454,7 @@ curl -X PUT http://localhost:9090/api/v1/instances/{id} \ - 提供用于自动化和集成的RESTful API - 包含内置的Swagger UI,位于http://localhost:9090/api/v1/docs -### 示例19:自定义API前缀 +### 示例23:自定义API前缀 为主控模式使用自定义API前缀: @@ -398,7 +473,7 @@ curl -X POST http://localhost:9090/admin/v1/instances \ - 用于安全或组织目的的自定义URL路径 - 在http://localhost:9090/admin/v1/docs访问Swagger UI -### 示例20:实时连接和流量监控 +### 示例24:实时连接和流量监控 通过主控API监控实例的连接数和流量统计: diff --git a/nodepass/internal/client.go b/nodepass/internal/client.go index d5637fa121..0ff35a276d 100644 --- a/nodepass/internal/client.go +++ b/nodepass/internal/client.go @@ -63,7 +63,7 @@ func NewClient(parsedURL *url.URL, logger *logs.Logger) (*Client, error) { func (c *Client) Run() { logInfo := func(prefix string) { c.logger.Info("%v: client://%v@%v/%v?min=%v&mode=%v&read=%v&rate=%v&slot=%v&proxy=%v", - prefix, c.tunnelKey, c.tunnelTCPAddr, c.targetTCPAddr, + prefix, c.tunnelKey, c.tunnelTCPAddr, c.getTargetAddrsString(), c.minPoolCapacity, c.runMode, c.readTimeout, c.rateLimit/125000, c.slotLimit, c.proxyProtocol) } logInfo("Client started") diff --git a/nodepass/internal/common.go b/nodepass/internal/common.go index 32a4acaf65..9c53a13deb 100644 --- a/nodepass/internal/common.go +++ b/nodepass/internal/common.go @@ -33,8 +33,9 @@ type Common struct { tunnelKey string // 隧道密钥 tunnelTCPAddr *net.TCPAddr // 隧道TCP地址 tunnelUDPAddr *net.UDPAddr // 隧道UDP地址 - targetTCPAddr *net.TCPAddr // 目标TCP地址 - targetUDPAddr *net.UDPAddr // 目标UDP地址 + targetTCPAddrs []*net.TCPAddr // 目标TCP地址组 + targetUDPAddrs []*net.UDPAddr // 目标UDP地址组 + targetIdx uint64 // 目标地址索引 targetListener *net.TCPListener // 目标监听器 tunnelListener net.Listener // 隧道监听器 tunnelTCPConn *net.TCPConn // 隧道TCP连接 @@ -75,9 +76,9 @@ var ( semaphoreLimit = getEnvAsInt("NP_SEMAPHORE_LIMIT", 65536) // 信号量限制 tcpDataBufSize = getEnvAsInt("NP_TCP_DATA_BUF_SIZE", 16384) // TCP缓冲区大小 udpDataBufSize = getEnvAsInt("NP_UDP_DATA_BUF_SIZE", 2048) // UDP缓冲区大小 - handshakeTimeout = getEnvAsDuration("NP_HANDSHAKE_TIMEOUT", 10*time.Second) // 握手超时 - tcpDialTimeout = getEnvAsDuration("NP_TCP_DIAL_TIMEOUT", 30*time.Second) // TCP拨号超时 - udpDialTimeout = getEnvAsDuration("NP_UDP_DIAL_TIMEOUT", 10*time.Second) // UDP拨号超时 + handshakeTimeout = getEnvAsDuration("NP_HANDSHAKE_TIMEOUT", 5*time.Second) // 握手超时 + tcpDialTimeout = getEnvAsDuration("NP_TCP_DIAL_TIMEOUT", 5*time.Second) // TCP拨号超时 + udpDialTimeout = getEnvAsDuration("NP_UDP_DIAL_TIMEOUT", 5*time.Second) // UDP拨号超时 udpReadTimeout = getEnvAsDuration("NP_UDP_READ_TIMEOUT", 30*time.Second) // UDP读取超时 poolGetTimeout = getEnvAsDuration("NP_POOL_GET_TIMEOUT", 5*time.Second) // 池连接获取超时 minPoolInterval = getEnvAsDuration("NP_MIN_POOL_INTERVAL", 100*time.Millisecond) // 最小池间隔 @@ -207,6 +208,9 @@ func (c *Common) decode(data []byte) ([]byte, error) { func (c *Common) getAddress(parsedURL *url.URL) error { // 解析隧道地址 tunnelAddr := parsedURL.Host + if tunnelAddr == "" { + return fmt.Errorf("getAddress: no valid tunnel address found") + } // 解析隧道TCP地址 if tunnelTCPAddr, err := net.ResolveTCPAddr("tcp", tunnelAddr); err == nil { @@ -222,26 +226,101 @@ func (c *Common) getAddress(parsedURL *url.URL) error { return fmt.Errorf("getAddress: resolveUDPAddr failed: %w", err) } - // 处理目标地址 + // 处理目标地址组 targetAddr := strings.TrimPrefix(parsedURL.Path, "/") - - // 解析目标TCP地址 - if targetTCPAddr, err := net.ResolveTCPAddr("tcp", targetAddr); err == nil { - c.targetTCPAddr = targetTCPAddr - } else { - return fmt.Errorf("getAddress: resolveTCPAddr failed: %w", err) + if targetAddr == "" { + return fmt.Errorf("getAddress: no valid target address found") } - // 解析目标UDP地址 - if targetUDPAddr, err := net.ResolveUDPAddr("udp", targetAddr); err == nil { - c.targetUDPAddr = targetUDPAddr - } else { - return fmt.Errorf("getAddress: resolveUDPAddr failed: %w", err) + addrList := strings.Split(targetAddr, ",") + tempTCPAddrs := make([]*net.TCPAddr, 0, len(addrList)) + tempUDPAddrs := make([]*net.UDPAddr, 0, len(addrList)) + + for _, addr := range addrList { + addr = strings.TrimSpace(addr) + if addr == "" { + continue + } + + // 解析目标TCP地址 + tcpAddr, err := net.ResolveTCPAddr("tcp", addr) + if err != nil { + return fmt.Errorf("getAddress: resolveTCPAddr failed for %s: %w", addr, err) + } + + // 解析目标UDP地址 + udpAddr, err := net.ResolveUDPAddr("udp", addr) + if err != nil { + return fmt.Errorf("getAddress: resolveUDPAddr failed for %s: %w", addr, err) + } + + tempTCPAddrs = append(tempTCPAddrs, tcpAddr) + tempUDPAddrs = append(tempUDPAddrs, udpAddr) } + if len(tempTCPAddrs) == 0 || len(tempUDPAddrs) == 0 || len(tempTCPAddrs) != len(tempUDPAddrs) { + return fmt.Errorf("getAddress: no valid target address found") + } + + // 设置目标地址组 + c.targetTCPAddrs = tempTCPAddrs + c.targetUDPAddrs = tempUDPAddrs + c.targetIdx = 0 + return nil } +// getTargetAddrsString 获取目标地址组的字符串表示 +func (c *Common) getTargetAddrsString() string { + addrs := make([]string, len(c.targetTCPAddrs)) + for i, addr := range c.targetTCPAddrs { + addrs[i] = addr.String() + } + return strings.Join(addrs, ",") +} + +// nextTargetIdx 获取下一个目标地址索引 +func (c *Common) nextTargetIdx() int { + if len(c.targetTCPAddrs) <= 1 { + return 0 + } + return int((atomic.AddUint64(&c.targetIdx, 1) - 1) % uint64(len(c.targetTCPAddrs))) +} + +// dialWithRotation 轮询拨号到目标地址组 +func (c *Common) dialWithRotation(network string, timeout time.Duration) (net.Conn, error) { + var addrCount int + var getAddr func(int) string + + if network == "tcp" { + addrCount = len(c.targetTCPAddrs) + getAddr = func(i int) string { return c.targetTCPAddrs[i].String() } + } else { + addrCount = len(c.targetUDPAddrs) + getAddr = func(i int) string { return c.targetUDPAddrs[i].String() } + } + + // 单目标地址:快速路径 + if addrCount == 1 { + return net.DialTimeout(network, getAddr(0), timeout) + } + + // 多目标地址:负载均衡 + 故障转移 + startIdx := c.nextTargetIdx() + var lastErr error + + for i := range addrCount { + currentIdx := (startIdx + i) % addrCount + conn, err := net.DialTimeout(network, getAddr(currentIdx), timeout) + if err == nil { + return conn, nil + } + lastErr = err + } + + return nil, fmt.Errorf("dialWithRotation: all %d targets failed: %w", addrCount, lastErr) +} + // getTunnelKey 从URL中获取隧道密钥 func (c *Common) getTunnelKey(parsedURL *url.URL) { if key := parsedURL.User.Username(); key != "" { @@ -418,19 +497,19 @@ func (c *Common) initTunnelListener() error { // initTargetListener 初始化目标监听器 func (c *Common) initTargetListener() error { - if c.targetTCPAddr == nil || c.targetUDPAddr == nil { - return fmt.Errorf("initTargetListener: nil target address") + if len(c.targetTCPAddrs) == 0 || len(c.targetUDPAddrs) == 0 { + return fmt.Errorf("initTargetListener: no target address") } // 初始化目标TCP监听器 - targetListener, err := net.ListenTCP("tcp", c.targetTCPAddr) + targetListener, err := net.ListenTCP("tcp", c.targetTCPAddrs[0]) if err != nil { return fmt.Errorf("initTargetListener: listenTCP failed: %w", err) } c.targetListener = targetListener // 初始化目标UDP监听器 - targetUDPConn, err := net.ListenUDP("udp", c.targetUDPAddr) + targetUDPConn, err := net.ListenUDP("udp", c.targetUDPAddrs[0]) if err != nil { return fmt.Errorf("initTargetListener: listenUDP failed: %w", err) } @@ -510,11 +589,6 @@ func (c *Common) stop() { if c.rateLimiter != nil { c.rateLimiter.Reset() } - - // 发送检查点事件 - c.logger.Event("CHECK_POINT|MODE=%v|PING=0ms|POOL=0|TCPS=0|UDPS=0|TCPRX=%v|TCPTX=%v|UDPRX=%v|UDPTX=%v", c.runMode, - atomic.LoadUint64(&c.tcpRX), atomic.LoadUint64(&c.tcpTX), - atomic.LoadUint64(&c.udpRX), atomic.LoadUint64(&c.udpTX)) } // shutdown 共用优雅关闭 @@ -1045,9 +1119,9 @@ func (c *Common) commonTCPOnce(signalURL *url.URL) { defer c.releaseSlot(false) // 连接到目标TCP地址 - targetConn, err := net.DialTimeout("tcp", c.targetTCPAddr.String(), tcpDialTimeout) + targetConn, err := c.dialWithRotation("tcp", tcpDialTimeout) if err != nil { - c.logger.Error("commonTCPOnce: dialTimeout failed: %v", err) + c.logger.Error("commonTCPOnce: dialWithRotation failed: %v", err) return } @@ -1130,9 +1204,10 @@ func (c *Common) commonUDPOnce(signalURL *url.URL) { return } - newSession, err := net.DialTimeout("udp", c.targetUDPAddr.String(), udpDialTimeout) + // 创建新的会话 + newSession, err := c.dialWithRotation("udp", udpDialTimeout) if err != nil { - c.logger.Error("commonUDPOnce: dialTimeout failed: %v", err) + c.logger.Error("commonUDPOnce: dialWithRotation failed: %v", err) c.releaseSlot(true) return } @@ -1250,7 +1325,7 @@ func (c *Common) singleEventLoop() error { now := time.Now() // 尝试连接到目标地址 - if conn, err := net.DialTimeout("tcp", c.targetTCPAddr.String(), reportInterval); err == nil { + if conn, err := net.DialTimeout("tcp", c.targetTCPAddrs[c.nextTargetIdx()].String(), reportInterval); err == nil { ping = int(time.Since(now).Milliseconds()) conn.Close() } @@ -1312,9 +1387,9 @@ func (c *Common) singleTCPLoop() error { defer c.releaseSlot(false) // 尝试建立目标连接 - targetConn, err := net.DialTimeout("tcp", c.targetTCPAddr.String(), tcpDialTimeout) + targetConn, err := c.dialWithRotation("tcp", tcpDialTimeout) if err != nil { - c.logger.Error("singleTCPLoop: dialTimeout failed: %v", err) + c.logger.Error("singleTCPLoop: dialWithRotation failed: %v", err) return } @@ -1391,9 +1466,9 @@ func (c *Common) singleUDPLoop() error { } // 创建新的会话 - newSession, err := net.DialTimeout("udp", c.targetUDPAddr.String(), udpDialTimeout) + newSession, err := c.dialWithRotation("udp", udpDialTimeout) if err != nil { - c.logger.Error("singleUDPLoop: dialTimeout failed: %v", err) + c.logger.Error("singleUDPLoop: dialWithRotation failed: %v", err) c.releaseSlot(true) c.putUDPBuffer(buffer) continue diff --git a/nodepass/internal/master.go b/nodepass/internal/master.go index dc5f1d569e..9063144dd2 100644 --- a/nodepass/internal/master.go +++ b/nodepass/internal/master.go @@ -65,6 +65,7 @@ const swaggerUIHTML = ` // Master 实现主控模式功能 type Master struct { Common // 继承通用功能 + mid string // 主控ID alias string // 主控别名 prefix string // API前缀 version string // NP版本 @@ -94,7 +95,7 @@ type Instance struct { URL string `json:"url"` // 实例URL Config string `json:"config"` // 实例配置 Restart bool `json:"restart"` // 是否自启动 - Tags []Tag `json:"tags"` // 标签数组 + Meta Meta `json:"meta"` // 元数据信息 Mode int32 `json:"mode"` // 实例模式 Ping int32 `json:"ping"` // 端内延迟 Pool int32 `json:"pool"` // 池连接数 @@ -108,6 +109,10 @@ type Instance struct { TCPTXBase uint64 `json:"-" gob:"-"` // TCP发送字节数基线(不序列化) UDPRXBase uint64 `json:"-" gob:"-"` // UDP接收字节数基线(不序列化) UDPTXBase uint64 `json:"-" gob:"-"` // UDP发送字节数基线(不序列化) + TCPRXReset uint64 `json:"-" gob:"-"` // TCP接收重置偏移量(不序列化) + TCPTXReset uint64 `json:"-" gob:"-"` // TCP发送重置偏移量(不序列化) + UDPRXReset uint64 `json:"-" gob:"-"` // UDP接收重置偏移量(不序列化) + UDPTXReset uint64 `json:"-" gob:"-"` // UDP发送重置偏移量(不序列化) cmd *exec.Cmd `json:"-" gob:"-"` // 命令对象(不序列化) stopped chan struct{} `json:"-" gob:"-"` // 停止信号通道(不序列化) deleted bool `json:"-" gob:"-"` // 删除标志(不序列化) @@ -115,10 +120,17 @@ type Instance struct { lastCheckPoint time.Time `json:"-" gob:"-"` // 上次检查点时间(不序列化) } -// Tag 标签结构体 -type Tag struct { - Key string `json:"key"` // 标签键 - Value string `json:"value"` // 标签值 +// Meta 元数据信息 +type Meta struct { + Peer Peer `json:"peer"` // 对端信息 + Tags map[string]string `json:"tags"` // 标签映射 +} + +// Peer 对端信息 +type Peer struct { + SID string `json:"sid"` // 服务ID + Type string `json:"type"` // 服务类型 + Alias string `json:"alias"` // 服务别名 } // InstanceEvent 实例事件信息 @@ -250,13 +262,27 @@ func (w *InstanceLogWriter) Write(p []byte) (n int, err error) { stats := []*uint64{&w.instance.TCPRX, &w.instance.TCPTX, &w.instance.UDPRX, &w.instance.UDPTX} bases := []uint64{w.instance.TCPRXBase, w.instance.TCPTXBase, w.instance.UDPRXBase, w.instance.UDPTXBase} + resets := []*uint64{&w.instance.TCPRXReset, &w.instance.TCPTXReset, &w.instance.UDPRXReset, &w.instance.UDPTXReset} for i, stat := range stats { if v, err := strconv.ParseUint(matches[i+6], 10, 64); err == nil { - *stat = bases[i] + v + // 累计值 = 基线 + 检查点值 - 重置偏移 + if v >= *resets[i] { + *stat = bases[i] + v - *resets[i] + } else { + // 发生重启,更新算法,清零偏移 + *stat = bases[i] + v + *resets[i] = 0 + } } } w.instance.lastCheckPoint = time.Now() + + // 自动恢复运行状态 + if w.instance.Status == "error" { + w.instance.Status = "running" + } + // 仅当实例未被删除时才存储和发送更新事件 if !w.instance.deleted { w.master.instances.Store(w.instanceID, w.instance) @@ -266,6 +292,13 @@ func (w *InstanceLogWriter) Write(p []byte) (n int, err error) { continue } + // 检测实例错误并标记状态 + if w.instance.Status != "error" && !w.instance.deleted && + (strings.Contains(line, "Server error:") || strings.Contains(line, "Client error:")) { + w.instance.Status = "error" + w.master.instances.Store(w.instanceID, w.instance) + } + // 输出日志加实例ID fmt.Fprintf(w.target, "%s [%s]\n", line, w.instanceID) @@ -355,13 +388,26 @@ func (m *Master) Run() { if !ok { // 如果不存在API Key实例,则创建一个 apiKey = &Instance{ - ID: apiKeyID, - URL: generateAPIKey(), + ID: apiKeyID, + URL: generateAPIKey(), + Config: generateMID(), + Meta: Meta{Tags: make(map[string]string)}, } m.instances.Store(apiKeyID, apiKey) m.saveState() m.logger.Info("API Key created: %v", apiKey.URL) } else { + // 从API Key实例加载别名和主控ID + m.alias = apiKey.Alias + + if apiKey.Config == "" { + apiKey.Config = generateMID() + m.instances.Store(apiKeyID, apiKey) + m.saveState() + m.logger.Info("Master ID created: %v", apiKey.Config) + } + m.mid = apiKey.Config + m.logger.Info("API Key loaded: %v", apiKey.URL) } @@ -734,7 +780,10 @@ func (m *Master) loadState() { instance.Config = m.generateConfigURL(instance) } - instance.Tags = nil + // 初始化标签映射 + if instance.Meta.Tags == nil { + instance.Meta.Tags = make(map[string]string) + } m.instances.Store(id, instance) @@ -742,6 +791,7 @@ func (m *Master) loadState() { if instance.Restart { m.logger.Info("Auto-starting instance: %v [%v]", instance.URL, instance.ID) m.startInstance(instance) + time.Sleep(baseDuration) } } @@ -784,6 +834,13 @@ func (m *Master) handleInfo(w http.ResponseWriter, r *http.Request) { } m.alias = reqData.Alias + // 持久化别名到API Key实例 + if apiKey, ok := m.findInstance(apiKeyID); ok { + apiKey.Alias = m.alias + m.instances.Store(apiKeyID, apiKey) + go m.saveState() + } + writeJSON(w, http.StatusOK, m.getMasterInfo()) default: @@ -794,6 +851,7 @@ func (m *Master) handleInfo(w http.ResponseWriter, r *http.Request) { // getMasterInfo 获取完整的主控信息 func (m *Master) getMasterInfo() map[string]any { info := map[string]any{ + "mid": m.mid, "alias": m.alias, "os": runtime.GOOS, "arch": runtime.GOARCH, @@ -1013,6 +1071,7 @@ func (m *Master) handleInstances(w http.ResponseWriter, r *http.Request) { URL: m.enhanceURL(reqData.URL, instanceType), Status: "stopped", Restart: true, + Meta: Meta{Tags: make(map[string]string)}, stopped: make(chan struct{}), } @@ -1078,6 +1137,10 @@ func (m *Master) handlePatchInstance(w http.ResponseWriter, r *http.Request, id Alias string `json:"alias,omitempty"` Action string `json:"action,omitempty"` Restart *bool `json:"restart,omitempty"` + Meta *struct { + Peer *Peer `json:"peer,omitempty"` + Tags map[string]string `json:"tags,omitempty"` + } `json:"meta,omitempty"` } if err := json.NewDecoder(r.Body).Decode(&reqData); err == nil { if id == apiKeyID { @@ -1088,31 +1151,6 @@ func (m *Master) handlePatchInstance(w http.ResponseWriter, r *http.Request, id m.sendSSEEvent("update", instance) } } else { - // 重置流量统计 - if reqData.Action == "reset" { - instance.TCPRX = 0 - instance.TCPTX = 0 - instance.UDPRX = 0 - instance.UDPTX = 0 - m.instances.Store(id, instance) - go m.saveState() - m.logger.Info("Traffic stats reset: [%v]", instance.ID) - - // 发送流量统计重置事件 - m.sendSSEEvent("update", instance) - } - - // 更新自启动设置 - if reqData.Restart != nil && instance.Restart != *reqData.Restart { - instance.Restart = *reqData.Restart - m.instances.Store(id, instance) - go m.saveState() - m.logger.Info("Restart policy updated: %v [%v]", *reqData.Restart, instance.ID) - - // 发送restart策略变更事件 - m.sendSSEEvent("update", instance) - } - // 更新实例别名 if reqData.Alias != "" && instance.Alias != reqData.Alias { if len(reqData.Alias) > maxValueLen { @@ -1128,10 +1166,106 @@ func (m *Master) handlePatchInstance(w http.ResponseWriter, r *http.Request, id m.sendSSEEvent("update", instance) } - // 处理当前实例操作 - if reqData.Action != "" && reqData.Action != "reset" { - m.processInstanceAction(instance, reqData.Action) + // 处理实例操作 + if reqData.Action != "" { + // 验证 action 是否合法 + validActions := map[string]bool{ + "start": true, + "stop": true, + "restart": true, + "reset": true, + } + if !validActions[reqData.Action] { + httpError(w, fmt.Sprintf("Invalid action: %s", reqData.Action), http.StatusBadRequest) + return + } + + // 重置流量统计 + if reqData.Action == "reset" { + instance.TCPRXReset = instance.TCPRX - instance.TCPRXBase + instance.TCPTXReset = instance.TCPTX - instance.TCPTXBase + instance.UDPRXReset = instance.UDPRX - instance.UDPRXBase + instance.UDPTXReset = instance.UDPTX - instance.UDPTXBase + instance.TCPRX = 0 + instance.TCPTX = 0 + instance.UDPRX = 0 + instance.UDPTX = 0 + instance.TCPRXBase = 0 + instance.TCPTXBase = 0 + instance.UDPRXBase = 0 + instance.UDPTXBase = 0 + m.instances.Store(id, instance) + go m.saveState() + m.logger.Info("Traffic stats reset: 0 [%v]", instance.ID) + + // 发送流量统计重置事件 + m.sendSSEEvent("update", instance) + } else { + // 处理 start/stop/restart 操作 + m.processInstanceAction(instance, reqData.Action) + } } + + // 更新自启动设置 + if reqData.Restart != nil && instance.Restart != *reqData.Restart { + instance.Restart = *reqData.Restart + m.instances.Store(id, instance) + go m.saveState() + m.logger.Info("Restart policy updated: %v [%v]", *reqData.Restart, instance.ID) + + // 发送restart策略变更事件 + m.sendSSEEvent("update", instance) + } + + // 更新元数据 + if reqData.Meta != nil { + // 验证并更新 Peer 信息 + if reqData.Meta.Peer != nil { + if len(reqData.Meta.Peer.SID) > maxValueLen { + httpError(w, fmt.Sprintf("Meta peer.sid exceeds maximum length %d", maxValueLen), http.StatusBadRequest) + return + } + if len(reqData.Meta.Peer.Type) > maxValueLen { + httpError(w, fmt.Sprintf("Meta peer.type exceeds maximum length %d", maxValueLen), http.StatusBadRequest) + return + } + if len(reqData.Meta.Peer.Alias) > maxValueLen { + httpError(w, fmt.Sprintf("Meta peer.alias exceeds maximum length %d", maxValueLen), http.StatusBadRequest) + return + } + instance.Meta.Peer = *reqData.Meta.Peer + } + + // 验证并更新 Tags 信息 + if reqData.Meta.Tags != nil { + // 检查键值对的唯一性和长度 + seen := make(map[string]bool) + for key, value := range reqData.Meta.Tags { + if len(key) > maxValueLen { + httpError(w, fmt.Sprintf("Meta tag key exceeds maximum length %d", maxValueLen), http.StatusBadRequest) + return + } + if len(value) > maxValueLen { + httpError(w, fmt.Sprintf("Meta tag value exceeds maximum length %d", maxValueLen), http.StatusBadRequest) + return + } + if seen[key] { + httpError(w, fmt.Sprintf("Duplicate meta tag key: %s", key), http.StatusBadRequest) + return + } + seen[key] = true + } + instance.Meta.Tags = reqData.Meta.Tags + } + + m.instances.Store(id, instance) + go m.saveState() + m.logger.Info("Meta updated [%v]", instance.ID) + + // 发送元数据更新事件 + m.sendSSEEvent("update", instance) + } + } } writeJSON(w, http.StatusOK, instance) @@ -1681,13 +1815,20 @@ func (m *Master) generateConfigURL(instance *Instance) string { return parsedURL.String() } -// generateID 生成随机ID +// generateID 生成实例ID func generateID() string { bytes := make([]byte, 4) rand.Read(bytes) return hex.EncodeToString(bytes) } +// generateMID 生成主控ID +func generateMID() string { + bytes := make([]byte, 8) + rand.Read(bytes) + return hex.EncodeToString(bytes) +} + // generateAPIKey 生成API Key func generateAPIKey() string { bytes := make([]byte, 16) @@ -1889,6 +2030,7 @@ func (m *Master) generateOpenAPISpec() string { "url": {"type": "string", "description": "Command string or API Key"}, "config": {"type": "string", "description": "Instance configuration URL"}, "restart": {"type": "boolean", "description": "Restart policy"}, + "meta": {"$ref": "#/components/schemas/Meta"}, "mode": {"type": "integer", "description": "Instance mode"}, "ping": {"type": "integer", "description": "TCPing latency"}, "pool": {"type": "integer", "description": "Pool active count"}, @@ -1910,7 +2052,8 @@ func (m *Master) generateOpenAPISpec() string { "properties": { "alias": {"type": "string", "description": "Instance alias"}, "action": {"type": "string", "enum": ["start", "stop", "restart", "reset"], "description": "Action for the instance"}, - "restart": {"type": "boolean", "description": "Instance restart policy"} + "restart": {"type": "boolean", "description": "Instance restart policy"}, + "meta": {"$ref": "#/components/schemas/Meta"} } }, "PutInstanceRequest": { @@ -1918,9 +2061,25 @@ func (m *Master) generateOpenAPISpec() string { "required": ["url"], "properties": {"url": {"type": "string", "description": "New command string(scheme://host:port/host:port)"}} }, + "Meta": { + "type": "object", + "properties": { + "peer": {"$ref": "#/components/schemas/Peer"}, + "tags": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Key-value tags"} + } + }, + "Peer": { + "type": "object", + "properties": { + "sid": {"type": "string", "description": "Service ID"}, + "type": {"type": "string", "description": "Service type"}, + "alias": {"type": "string", "description": "Service alias"} + } + }, "MasterInfo": { "type": "object", "properties": { + "mid": {"type": "string", "description": "Master ID"}, "alias": {"type": "string", "description": "Master alias"}, "os": {"type": "string", "description": "Operating system"}, "arch": {"type": "string", "description": "System architecture"}, diff --git a/nodepass/internal/server.go b/nodepass/internal/server.go index 37100e83d1..ee991a8f9d 100644 --- a/nodepass/internal/server.go +++ b/nodepass/internal/server.go @@ -65,7 +65,7 @@ func NewServer(parsedURL *url.URL, tlsCode string, tlsConfig *tls.Config, logger func (s *Server) Run() { logInfo := func(prefix string) { s.logger.Info("%v: server://%v@%v/%v?max=%v&mode=%v&read=%v&rate=%v&slot=%v&proxy=%v", - prefix, s.tunnelKey, s.tunnelTCPAddr, s.targetTCPAddr, + prefix, s.tunnelKey, s.tunnelTCPAddr, s.getTargetAddrsString(), s.maxPoolCapacity, s.runMode, s.readTimeout, s.rateLimit/125000, s.slotLimit, s.proxyProtocol) } logInfo("Server started") diff --git a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/en.json b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/en.json index 576ee8957d..fa28e3dc6a 100644 --- a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/en.json +++ b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/en.json @@ -1 +1 @@ -{"en":{"- -自定义- -":"- -Custom- -","(请先获取IPv4上游信息)":"(Please obtain IPv4 upstream information first)","(未格式化)":"(Not formatted)","(未挂载)":"(Not mounted)","(无DNS服务器,请之后自行填写公共DNS服务器,例如 223.5.5.5)":"(No DNS server, please fill in the public DNS server later, such as 223.5.5.5)","(系统分区)":"(System partition)","(系统盘)":"(System disk)","* 表示每天":"* Means daily","* 表示每小时":"* Means hourly","* 表示每月":"* Means monthly","%{ countdown }s后 跳转新地址":"%{ countdown }s before redirecting to new address","%{ days }天":["%{ days } d ","%{ days } d "],"%{ hours }小时":["%{ hours } h","%{ hours } h"],"%{ minutes }分":[" %{ minutes } min"," %{ minutes } min"],"%{ seconds }秒":[" %{ seconds } sec"," %{ seconds } sec"],"%{status}下载服务配置向导":"%{status} download service configuration wizard","1、点击“提交”可将变更合并到非沙箱环境":"1. Click 'Submit' to merge changes into non-sandbox environment","1. 满足上述条件以后,点击“当前 IPv4 上游信息”以刷新当前连接信息,成功以后,“自动填写”按钮将被激活。(失败可再次点击)":"1. After the above conditions are met, click 'Current IPv4 Upstream Information' to refresh the current connection information. After success, the 'Auto Fill' button will be activated. (Click again if failed)","2、点击“重置”可将沙箱恢复到初始状态":"2. Click 'Reset' to restore the sandbox to its initial state","2. 点击“自动填写”,将切换到参数页并自动填写。此时依然可以自行调整参数。":"2. Click 'Auto-fill' to switch to the parameter page and auto-fill. Parameters can still be adjusted manually.","223.5.5.5":"223.5.5.5","3、点击“退出”可退出沙箱环境,并放弃沙箱中的数据":"3. Click 'Exit' to exit the sandbox environment and abandon the data in the sandbox","阿里云":"Aliyun","安装失败":"Installation Failed","安装失败,":"Installation Failed,","安装失败或超时,请检查软件源或稍候重试":"Installation Failed or Timed Out, Please Check Software Source or Retry Later","安装中...":"Installing...","半双工":"Half Duplex","保持DHCP服务设置":"Keep DHCP Service Settings","保存":"Save","保存并应用":"Save and Apply","保存成功":"Saved Successfully","保存配置":"Save Configuration","保存中...":"Saving...","备份升级":"Backup/Flash","备用DNS地址":"Backup DNS Address","备用DNS服务器":"Backup DNS Server","备用DNS服务器地址":"Backup DNS Server Address","本向导支持自动或手动配置:":"This wizard supports automatic or manual configuration:","编辑":"Edit","编辑LAN":"Edit LAN","编辑WAN":"Edit WAN","并挂载到":"And Mount to","访客":"visitor","拨号上网":"PPPoE","不格式化,使用原文件系统":"Do Not Format, Use Original File System","不支持挂载":"Not Supported for Mounting","操作":"Operation","测试时磁盘会转动,请选择合适的模式来控制磁盘转动。":"Disk will spin during testing, please choose the appropriate mode to control disk spinning.","测速":"Speedtest","插件备份":"APP Backup","查看磁盘管理信息":"Disk Actions","查看存储服务信息":"Actions","查看高级配置":"Acrions","查看更多详情":" to check details","查看教程":"View tutorial","查看日志":"View log","查看设备信息":"Check Clients","查看网络接口信息":"NIC Info","查看系统信息":"System Utils","查看详情":"View details","常规设置":"General Settings","成员":"Member","初始化成功":"Initialized Successfully","初始化中...":"Initializing...","处理中...":"Processing...","传输时自检":"Self-Test During Transfer","窗口 %{ item }":"Window %{ item }","创建":"Create","创建成功":"Created Successfully","创建计划任务":"Create Scheduled Task","创建中...":"Creating...","创建RAID":"Create RAID","磁盘":"Disk","磁盘管理":"Disk Manager","磁盘信息":"Disk Info","磁盘阵列成员:":"RAID array members:","此操作会将会删除该分区全部数据":"This operation will delete all data on this partition","此操作会将会删除该分区全部数据,并格式化成EXT4,随后自动重启进入沙箱模式,是否继续?":"This operation will delete all data on the partition and format it to EXT4, then automatically reboot into sandbox mode. Do you want to continue?","此分区为只读状态,可能无法写入数据":"This partition is read-only, data may not be writable","此文件系统不支持Docker等应用数据,建议格式化成EXT4文件系统":"This file system does not support Docker and other application data, it is recommended to format as EXT4 file system","存储服务":"Share","错误":"Error","带宽监控":"Bandwidth Monitor","待机":"Standby","待机-处于待机和睡眠模式下不检查设备。此模式下磁盘一般不旋转,如果你不想每次检查都转动磁盘,那么这个模式比较适合。":"Standby - The device is not checked in standby and sleep mode. In this mode, the disk generally does not rotate. If you do not want to spin the disk every time you check, then this mode is more suitable.","当前 IPv4 上游信息(点此刷新)":"Current IPv4 upstream information (click here to refresh)","当前处于沙箱环境:":"Currently in sandbox environment:","当前软件源":"Current software source","当前状态:":"Current status:","当系统根目录空间不足时,可将Docker根目录迁移到外置硬盘,以保证系统的正常运行(目标分区不支持NTFS,FAT等文件系统)":"When the system root directory space is insufficient, you can migrate the Docker root directory to an external hard disk to ensure the normal operation of the system (the target partition does not support NTFS, FAT and other file systems)","地址":"Address","登录过期,请重新登录":"Login expired, please log in again","等待设备重启,重启完成后":"Waiting for device to restart, after restart","点此自动配置 AriaNg":"Click here to auto-configure AriaNg","点击“自动配置”按钮开始自动配置向导;":"Click the 'Auto' button to start the automatic configuration wizard;","电路的运行情况进行监控、记录并与厂商所设定的预设安全值进行比较,若监控情况将要或已超出预设安全值的安全范围,":"and compared with the preset safety value set by the manufacturer. If the monitoring situation is about to or has exceeded the safety range of the preset safety value, ","电源模式":"Power mode","调度":"Schedule","调试":"Debug","读取结果失败":"Failed to read result","读写":"Read/write","短暂自检":"Short self-test","发送:":"Send:","返回":"Return","访问地址:":"Access address:","非法的用户名":"Invalid username","分区 / 挂载点":"Partition / Mount Point","分区并格式化":"Partition and Format","分区存在异常,点击分区列表查看错误":"Partition Abnormal, Click Partition List to View Errors","分区信息":"Partition Information","服务-动态DNS":"Service - Dynamic DNS","服务地址:":"Service address:","服务路径:":"Service path:","服务目录路径":"Service directory path","服务已启动":"Service started","附加的 BT Tracker:":"Additional BT Tracker:","覆盖迁移(覆盖目标路径,继续迁移会清空该目标路径下的文件)":"Overwrite migration (overwrite target path, continuing migration will clear files under the target path)","该分区尚未挂载,请先去挂载":"This partition is not yet mounted, please mount it first","该固件不支持沙箱模式":"Current firmware does not support sandbox","该目标路径不为空":"The target path is not empty","高级模式":"Advanced mode","高级设置":"Advanced settings","格式化":"Format","格式化并挂载":"Format and mount","格式化成功":"Format successful","格式化分区":"Format partition","格式化为EXT4文件系统":"Format as EXT4 file system","格式化选项":"Format options","格式化中...":"Formatting...","更换目录(不覆盖目标路径,仅将Docker目录修改为目标路径)":"Change directory (does not overwrite target path, only changes Docker directory to target path)","更换配置":"Change configuration","功能":"Function","共享路径不能为空":"Share Path Cannot Be Empty","共享名(建议使用英文字母)":"Share Name (Recommended to Use English Letters)","共享名称":"Share Name","共享名称不能为空":"Share Name Cannot Be Empty","固件版本":"Firmware Ver.","固件更新":"OTA","固件更新选项":"OTA Options","挂载成功":"Mount successful","挂载点":"Mount Points","挂载路径:":"Mount path:","挂载信息":"Mount information","挂载中...":"Mounting...","关闭":"Close","花生壳":"Oray","欢迎使用 NAS 配置向导":"Welcome to the NAS configuration wizard","欢迎使用网络配置向导":"Welcome to the network configuration wizard","恢复":"Restore","恢复完成":"Restore complete","获取不到分区":"Cannot get partition","获取不到分区路径":"Cannot get partition path","获取不到分区ID":"Cannot get partition ID","获取不到设备路径":"Cannot get device path","获取不到设备名称":"Cannot get device name","级别":"Level","即将重启设备":"Device Will Restart Soon","计划任务":"Scheduled tasks","继续":"Continue","继续保存":"Continue saving","继续配置":" to continue configuration","加载磁盘信息失败":"Load disk info failed","加载中...":"Loading...","兼容一些电视或者电视盒子":"Compatible with Some TVs or TV Boxes","检测不到挂载的磁盘信息,请先插上磁盘,建议使用U盘或者移动硬盘,方便装卸":"No mounted disk information detected, please insert a disk, recommended to use a USB drive or external hard drive for easy mounting/unmounting","检测不到可用磁盘阵列成员":"No available RAID array members detected","检测到你尚未安装 %{name} 插件,是否安装?":"Detected that you have not installed %{name} plugin, install now?","检测到你有未保存的配置,可前往页面右上角点击查看,保存并应用或者恢复配置后继续":"It is detected that you have unsaved configuration. You can go to the upper right corner of the page and click View, Save and Apply, or Restore the configuration to continue","检测到您的wan口没有公网IP或者IPv6地址,可以使用DDNSTO配置远程域名访问":"Detected that your WAN port has no public IP or IPv6 address, you can use DDNSTO to configure remote domain access","检测到您还没有挂载外置硬盘或分区小于8GB,需要您接上硬盘并格式化或手动挂载硬盘后,再执行Docker迁移向导,将Docker迁移到目标硬盘。":"It is detected that you have not mounted the external hard disk or the partition is less than 8GB. You need to connect the hard disk and format it or manually mount the hard disk, and then execute the Docker Migration Wizard to migrate Docker to the target hard disk.","检测中...":"Detecting ...","检查插件状态失败":"Failed to check plugin status","检查中...":"Checking ...","健康":"Healthy","将扫描磁盘里 RAID 的磁盘阵列配置并恢复,确定要恢复 RAID 磁盘阵列吗?":"Will Scan Disk RAID Array Configuration and Restore, Are You Sure to Restore RAID Array?","接收:":"Receive:","仅统计已挂载分区":"Only Count Mounted Partitions","进入控制台":"Enter console","进行测速":" to test speed","禁用":"Disable","警告:该操作将初始化 %{model} 硬盘并创建分区,请你谨慎操作":"Warning: This operation will initialize %{model} hard drive and create partitions, please proceed with caution","警告:格式化会清空 %{partname} 分区数据,请你谨慎操作":"Warning: Formatting will clear all data on %{partname} partition, please proceed with caution","静态地址":"Static","静态网络":"Static","静态IP地址":"Static IP Address","就可以通过主机的监控硬件或软件自动向用户作出警告并进行轻微的自动修复,以提前保障硬盘数据的安全。":"the host's monitoring hardware or software can automatically warn the user and perform minor automatic repairs to ensure the safety of the hard disk data in advance.","局域网文件共享(Samba)":"Local Network File Sharing (Samba)","局域网文件共享(WebDAV)":"Local Network File Sharing (WebDAV)","开启 NAT(可修复某些无线热点不能访问外网问题)":"Enable NAT (Can Fix Some Wireless Hotspots Not Accessing the Internet Issue)","开启沙箱":"Enable Sandbox","可读写状态:":"R/W Status: ","可前往":"Can Go","控制台":"Dashboard","跨设备共享(易有云)":"Cross-device sharing (Linkease)","快速配置":"Guide","宽带拨号连接":"PPPoE","宽带密码":"PPPoE Password","宽带账号":"PPPoE Account","扩充":"Expand","扩展信息":"Extended information","类型":"Type","离线时自检":"Self-test while offline","连接现有路由器":"Connect to existing router","链接":"Link","流量统计":"Traffic","路由器 IP 可能已经修改成功。若刷新页面失败,请重新连接路由器,否则请尝试重新配置。":"The router IP may have been modified successfully. If refreshing the page fails, please reconnect to the router, otherwise try to reconfigure it.","没找到想要的配置?请使用%{link}":"Couldn't find the desired configuration? Please use %{link}","密码":"Password","密码:":"Password:","密码不能为空":"Password Cannot Be Empty","名称":"Name","名称:":"Name:","默认":"Default","默认密码:":"Default password:","默认用户名:":"Default username:","目标磁盘(建议选择U盘或者移动硬盘,方便装卸)":"Target disk (recommended to use USB drive or external hard drive for easy mounting/unmounting)","目标分区":"Target partition","目标分区(分区大小须大于2G,将此分区作为外部 overlay 使用)":"Target partition (partition size must be greater than 2G, use this partition as an external overlay)","目录":"Directory","内存使用率":"Mem. Usage","内核版本":"Kernel Ver.","内网测速":"LAN Speedtest","内网配置":"LAN Settings","您的系统空间已不足,检测到您的Docker根目录位于系统根目录上,可能会影响系统的正常运行,建议使用Docker迁移向导将Docker根目录迁移到外置硬盘上。":"Your system space is insufficient. It is detected that your Docker root directory is located on the system root directory, which may affect the normal operation of the system. It is recommended to use the Docker Migration Wizard to migrate the Docker root directory to an external hard disk.","您可以用上一级路由(主路由)拨号,然后用本路由来实现一些高级功能。":"You can dial using the upper level router (main router), and then use this router to implement some advanced functions.","旁路由模式,也叫单臂路由模式。":"Bypass routing mode, also called single-arm routing mode.","旁路由模式仅支持静态IP地址":"Bypass routing mode only supports static IP addresses","旁路由配置前的准备工作":"Preparation before bypass routing configuration","旁路由自动配置":"Bypass routing auto-configuration","配置超时":"Configuration timeout","配置成功":"Configuration successful","配置成功!":"Configuration successful!","配置互联网":"Configure internet","配置宽带账号":"Configure PPPoE account","配置目录":"Configure directory","配置目录:":"Configure directory:","配置旁路由网络":"Configure bypass router network","配置沙箱重启中...":"Configuring sandbox rebooting...","配置失败":"Configuration failed","配置为旁路由":"Configure as bypass router","配置中...":"Configuring...","配置中....":"Configuring....","启动失败":"Start failed","启用":"Enable","启用LAN口DHCP服务(用于从旁路由模式恢复成默认状态)":"Enable LAN Port DHCP Service (Used to Restore from Bypass Routing Mode to Default State)","迁移成功!":"Migration successful!","迁移到:":"Migrate to: ","前往":"Go to ","切换软件源":"Switch Software Source","请尝试重新配置":"Please try to reconfigure","请确保您已将本设备 WAN 口连接到上级路由器局域网( LAN )接口":"Please ensure that the WAN port of this device is connected to the LAN port of the upstream router","请确保您已将路由 WAN 口连接到光猫":"Please ensure that the router's WAN port is connected to the optical modem","请稍等1分钟生效后再使用。":"Please wait 1 minute for the settings to take effect before using.","请输入%{title}":"Please enter %{title}","请输入合法的地址":"Please enter a valid address","请输入合法的IP地址":"Please enter a valid IP address","请输入密码":"Please enter the password","请输入迁移路径":"Please enter the migration path","请输入用户名":"Please enter the username","请输入BT Tracker服务器地址,多个地址使用换行或者英文逗号分隔":"Please enter the BT Tracker server address, use newline or comma to separate multiple addresses","请输入DNS地址":"Please enter the DNS address","请输入RPC令牌":"Please enter the RPC token","请刷新界面":"Please refresh the interface","请选择%{title}":"Please choose %{title}","请选择磁盘":"Please select the disk","请选择目标磁盘":"Please select the target disk","请选择目标分区":"Please select the target partition","请选择目标硬盘":"Please select the target hard drive","请选择迁移路径":"Please select the migration path","请选择软件源":"Please select the software source","请选择需要添加的NAS服务":"Please select the NAS service to add","请选择选项":"Please select an option","请选择要删除的硬盘":"Please select the hard drive to delete","请选择要添加的硬盘":"Please select the hard drive to add","请选择一个硬盘或分区":"Please select a hard drive or partition","请选择硬盘分区":"Please select the hard drive partition","请选择至少%{min}块磁盘":"Please select at least %{min} disks","请选择raid类型":"Please select the RAID type","请在保存以后前往'网络-接口'页面配置接口详细参数":"Please go to the 'Network - Interface' page to configure interface details after saving","取消":"Cancel","去挂载":"Mount","去卸载":"Umount","全双工":"Full Duplex","确定":"Confirm","确定创建 %{name}?该操作不可逆,请谨慎操作":"Confirm to create %{name}? This operation is irreversible, please proceed with caution","确定放弃沙箱中的数据?再次进入沙箱需要重新格式化相应磁盘分区":"Confirm to abandon data in the sandbox? Re-entering the sandbox requires reformatting the corresponding disk partition","确定要删除 %{name} 该磁盘阵列吗?删除操作可能会导致数据丢失,请谨慎操作。删除成功后,如需另外组RAID,建议稍等几分钟后再试。":"Are you sure you want to delete the disk array %{name}? Deletion may result in data loss, so please proceed with caution. If you need to create another RAID after successful deletion, it is recommended that you wait a few minutes and try again.","确定要删除 %{name} 吗?":"Are you sure to delete %{name}?","确认":"Confirm","认证失败?":"Authentication failed?","容量":"Capacity","如果您在RAID磁盘阵列中创建了文件系统,先卸载文件系统,后删除文件系统删除操作可能会导致数据丢失,请谨慎操作。":"If you have created a file system in the RAID disk array, uninstall the file system first and then delete the file system. Deleting the file system may result in data loss, so proceed with caution.","如果温度大于或等于 N 摄氏度则报告.":"Report if Temperature is Greater Than or Equal to N Degrees Celsius.","如果由于系统重置或重启导致的RAID设备丢失可以尝试通过下方'扫描恢复RAID'按钮恢复":"If the RAID device is lost due to system reset or restart, you can try to recover it by clicking the 'Scan and Recover RAID' button below.","如需临时退出沙箱环境,请将设备关机后拔出相关磁盘,启动前插入相关磁盘可再次进入沙箱。
注意临时退出沙箱环境以后升级固件会导致之前的沙箱数据无效":"If you need to temporarily exit the sandbox environment, please shut down the device and unplug the relevant disk. Insert the relevant disk before starting to enter the sandbox again.
Note that upgrading the firmware after temporarily exiting the sandbox environment will cause the previous sandbox data to become invalid","如需对 Samba 或 WebDAV 进行更细致的权限控制,请使用“%{unishare}”":"For More Detailed Permission Control of Samba or WebDAV, Please Use '%{unishare}'","软件源错误":"Feeds Inaccessible","软件源配置":"Feeds Mirror","扫描恢复RAID":"Scan to restore RAID","扫描中...":"Scanning ...","沙箱模式配置向导":"Sandbox mode configuration wizard","沙箱已开启":"In Sandbox","删除":"Delete","删除 RAID 设备之前请先卸载文件系统":"Please Uninstall File System Before Deleting RAID Device","删除成功":"Deleted Successfully","删除中...":"Deleting...","上传":"Upload","上传:":"Upload:","设备":"Device","设备路由":"Routes","设备信息":"Device Info","设备型号":"Model","设备重启中...":"Device rebooting...","设备重启中... 若页面长时间未刷新可能需要手动填写地址":"Device rebooting... If the page does not refresh for a long time, you may need to manually enter the address","设定哪一个 IP 地址(IPv4 或 IPv6)会被发送给 DDNS 提供商":"Specify which IP address (IPv4 or IPv6) will be sent to the DDNS provider","使用全局配置":"Use Global Configuration","使用易有云APP,随时随地远程下载":"Use Linkease APP for Remote Downloads Anytime, Anywhere","使用DDNSTO":"Use DDNSTO","是否立即创建 %{name}?选择的硬盘所有分区将会被清除,此操作可能会导致硬盘数据丢失,请谨慎操作。":"Do you want to create %{name} now? All partitions of the selected hard disk will be cleared. This operation may cause hard disk data loss. Please operate with caution.","是否确定初始化?":"Are you sure to initialize?","是否确定格式化 %{partname}?":"Are you sure to format %{partname}?","是一种自动的硬盘状态检测与预警系统和规范。通过在硬盘硬件内的检测指令对硬盘的硬件如磁头、盘片、马达、":"Through the detection instructions in the hard disk hardware, the operation of the hard disk hardware such as the head, disk, motor, and circuit is monitored, recorded,","手动挂载":"Manual mount","手动配置":"Manual","手动配置...":"Manual...","手动配置则需自行获取主路由器的IP地址(例如 192.168.2.1 )和子网掩码,记录以备后续填写,点击“手动配置”按钮,切换到参数配置页,按实际情况自行填写。":"For manual configuration, you need to obtain the IP address of the main router (for example, 192.168.2.1) and subnet mask, record them for later filling, click the 'Manual' button, switch to the parameter configuration page, and fill in the information according to the actual situation.","手动在地址栏输入地址":"manually enter address in the address bar","手工配置":"Manual configuration","首先确认主路由开启了 DHCP 服务,确认本路由 WAN 口是 DHCP 客户端模式(默认即是,如果不是可使用“连接现有路由器”向导改成 DHCP 客户端),然后将本路由 WAN 口与主路由的 LAN 连接,以自动获取配置。":"First, make sure that the DHCP service is turned on on the main router, and confirm that the WAN port of this router is in DHCP client mode (it is by default. If not, you can use the 'Connect to an Existing Router' wizard to change it to DHCP client). Then connect the WAN port of this router to the LAN of the main router to automatically obtain the configuration.","属性":"Attributes","刷新页面":"Refresh Page","睡眠":"Sleep","睡眠-处于睡眠模式下不检查设备。":"Sleep - Do not check devices in sleep mode.","提供 DHCPv4 服务":"Provide DHCPv4 service","提供 DHCPv4 服务(需要关闭主路由 DHCP 服务)":"Provide DHCPv4 service (need to turn off main router DHCP service)","提交":"Submit","提交中...":"Submitting...","提示":"Tip","天":"Day","添加成功":"Added successfully","添加LAN":"Add LAN","添加WAN":"Add WAN","跳转教程":"Jump to tutorial","统一文件共享":"Unified file sharing","退出":"Exit","外网测速":"Internet Speedtest","完成":"Complete","网关地址":"Gateway address","网关地址: ":"Gateway address: ","网口配置":"NIC Assignment","网络地址:":"Network address:","网络接口状态":"NIC Status","网络向导":"Network Guide","网络异常:":"Network abnormality:","为拥有动态IP的主机配置一个固定的可访问域名":"Configure a fixed accessible domain name for hosts with dynamic IPs","未安装":"Not Installed","未安装或未配置":"Uninitialized","未分区":"Unpartitioned","未分区(%{total})":"Unpartitioned (%{total})","未格式化":"Not formatted","未挂载磁盘":"Not Mounted","未联网":"Internet Down","未配置":"Not Configured","未启动":"Not Started","未启用":"Not enabled","未知":"Unknown","未知错误":"Unknown error","温度":"Temp.","温度监测(差异)":"Temperature monitoring (difference)","温度监测(最大)":"Temperature monitoring (max)","温馨提示":"Kind reminder","文件管理":"File Manager","文件系统:":"File System: ","我知道了":"Got it","无法识别路径":"Unrecognized path","无法识别数据":"Unrecognized data","系统根目录":"Rootfs","系统监控":"System Monitor","系统时间":"System Time","系统信息":"System Info","下一步":"Next","下载":"Download","下载:":"Download:","下载服务":"Download Services","下载服务:":"Download Services: ","下载服务配置向导":"Download Services Guide","下载目录":"Download Directory","下载目录:":"Download Directory:","下载目录:":"Download Directory:","下载易有云客户端,随时随地相册备份、远程访问":"Download Linkease client for anytime, anywhere photo backup, remote access","闲置":"Idle","闲置-处于待机、睡眠、闲置模式下不检查设备,在闲置状态下,大多数磁盘还在转动,所以这可能不适合你。":"Idle - Does not check devices in standby, sleep, or idle modes. Most disks are still spinning in idle mode, so this may not be suitable for you.","现在,将本路由WAN口断开,将其中一个LAN口与主路由连接,并将当前浏览器设备连接到主路由。点击“进入控制台”浏览器将跳转到新的路由IP":"Now, disconnect the WAN port of this router, connect one of the LAN ports to the main router, and connect the current browser device to the main router. Click 'Enter Console' and the browser will redirect to the new router IP","现在,请你配置旁路由信息":"Now, please configure bypass routing information","详情":"Details","想要更精确的配置?请前往":"Want more precise configuration? Please go to ","小时":"Hour","协议(网络获取方式)":"Protocol (Network Acquisition Method)","新建":"Create new","型号":"Model","修改":"Modify","修改DHCP服务":"Modify DHCP Service","需要安装DDNSTO插件,点击“确定”开始安装":"DDNSTO plugin needs to be installed, click 'OK' to start installation","序号":"Serial Number","选择磁盘":"Choose disk","选择将要用于创建 RAID 的硬盘,通过 USB 接入的设备不会在列表中显示(USB接入不稳定)。":"Select the hard disk that will be used to create the RAID. Devices connected via USB will not be displayed in the list (USB connection is unstable).","选择一种连接方式以开始":"Choose a connection method to start","选择硬盘(选择被添加到RAID的硬盘):":"Choose a hard drive (select the hard drive to be added to RAID):","选择硬盘(选择空闲的硬盘恢复RAID设备):":"Choose a hard drive (select idle hard drive to restore RAID device):","选择硬盘(选择要从RAID阵列中删除的硬盘):":"Choose a hard drive (select the hard drive to be removed from RAID array):","一个简易沙箱,方便用来实验系统配置和程序,方便开发未完成的软件,但不保护 Docker 和硬盘的数据":"A simple sandbox, convenient for experimenting with system configuration and programs, and for developing unfinished software, but does not protect Docker and hard disk data","移除":"Remove","已成功将分区 %{dev} 挂载到 %{mount}":"Successfully Mounted Partition %{dev} to %{mount}","已断开":"Disconnected","已挂载磁盘":"Mounted Disks","已挂载为交换区":"Mounted as Swap Area","已经成功初始化分区":"Partition Initialized Successfully","已经成功格式化磁盘":"Disk Formatted Successfully","已连接设备":"Connected Devices","已联网":"Internet Connected","已配置":"Configured","已启动":"Started","已启用":"Started","以上操作都将重启设备,设备重启完成后会自动刷新页面。如果 IP 变化可能需要":"The above operations will restart the device, and the page will automatically refresh after the device restarts. If the IP changes, you may need to ","易有云":"LinkEase","硬盘配置":"Hard disk configuration","用户名":"Username","用户名:":"Username:","用户名不能为空":"Username cannot be empty","用户名不能以_开头":"Username cannot start with _","用户名不能以数字开头":"Username cannot start with a number","用户名太短":"Username is too short","用户名只能为小写":"Username must be lowercase","用于放置配置文件的目录。例如:/mnt/sda1/Configs/aria2;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/aria2; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置配置文件的目录。例如:/mnt/sda1/Configs/qb;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/qb; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置配置文件的目录。例如:/mnt/sda1/Configs/tr;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/tr; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置下载文件的目录。例如:/mnt/sda1/download":"Directory for placing download files. For example: /mnt/sda1/download","用于远程访问的令牌。":"Token for remote access.","由于您的设备没有 WAN 口,无法使用本设置向导,具体请看%{link}":"Since your device does not have a WAN port, you cannot use this setup wizard. For details, please see %{link}","预览":"Preview","域名:":"Domain Name:","域名配置":"DDNS","域名配置向导":"DDNS Guide","远程域名":"DDNS","月":"Month","允许旧协议与身份验证(不安全)":"Allow Old Protocols and Authentication (Not Secure)","运行":"Run","运行调试":"Run debugging","长时自检":"Long self-test","账号:":"Account:","账号不能为空":"Account cannot be empty","账号用户名":"Account username","正在安装中...":"Installing...","正在创建中...":"Creating...","正在获取磁盘信息...":"Fetching Disk List...","正在加载中...":"Loading...","正在检测插件是否已启动...":"Checking if plugin has started...","正在检测中...":"Detecting ...","正在配置…请稍等":"Configuring...please wait","正在迁移中...":"Migrating...","正在切换中...":"Switching ...","执行中...":"Executing...","只读":"Read-Only","至少需要2块硬盘,“区块延展”功能是将数据分成多个块,并将数据块分散到组成的多个硬盘上以提高性能的过程。不提供数据冗余。":"At least 2 hard disks are required. The 'Block Stretch' function is the process of dividing data into multiple blocks and spreading the data blocks across multiple hard disks to improve performance. No data redundancy is provided.","至少需要2块硬盘,将多个硬盘合并为单个存储空间,其容量等于所有硬盘容量的总和。不提供数据冗余。":"At least 2 hard disks are required to combine multiple hard disks into a single storage space with a capacity equal to the sum of all hard disk capacities. No data redundancy is provided.","至少需要2块硬盘,同时向所有硬盘写入相同的数据。提供数据冗余。":"At least 2 hard drives are required, write the same data to all drives. Provides data redundancy.","至少需要3块硬盘,执行段落分块延展,并对分布到所有组成硬盘上的数据执行奇偶校验,从而提供比 RAID 1 更有效的数据冗余。":"Requires at least 3 hard disks, performs block stretching, and performs parity checking on data distributed across all component hard disks, providing more effective data redundancy than RAID 1.","至少需要4块硬盘,提供 RAID 0 的性能和 RAID 1 的数据保护级别,将硬盘组合进镜像数据的由两个硬盘组成的组。":"Requires at least 4 hard drives, provides the performance of RAID 0 and the data protection level of RAID 1, combining the hard drives into groups of two hard drives that mirror data.","至少需要4块硬盘,执行两个层级的数据奇偶校验以存储等于 2 个硬盘容量的冗余数据,提供比 RAID 5 更大程度的数据冗余。":"Requires at least 4 hard drives, performs two levels of data parity to store redundant data equal to the capacity of 2 hard drives, and provides a greater degree of data redundancy than RAID 5.","至少需要填写一个DNS":"At least one DNS must be filled in","终端":"Terminal","重新创建":"Recreate","重置":"Reset","重置中...":"Reseting…","状态":"Status","自定义DNS":"Custom DNS","自动获取":"Auto","自动获取 IPV6(即开启 DHCPv6 客户端)":"Automatically obtain IPv6 (i.e. enable DHCPv6 client)","自动获取(DHCP)":"DHCP","自动获取DNS":"Auto","自动获取IP地址(DHCP)":"Automatically obtain IP address (DHCP)","自动检查更新":"Auto check update","自动配置...":"Auto...","自动填写...":"Auto-fill...","自己添加":"Custom","自检日志":"Self-test log","自上次报告以来温度变化至少 N 度,则需报告.":"Report if temperature changes by at least N degrees since the last report.","子网掩码":"Subnet Mask","子网掩码: ":"Subnet Mask: ","总是":"Always","总是-无论是什么功耗模式下都测试(检查)磁盘,当检查时,这可能会使停转的磁盘开始转动。":"Always - Tests (checks) the disk regardless of power mode. When checking, this may spin up a stalled disk.","Aria2高级配置":"Aria2 Adv.","CPU使用率":"CPU Usage","CPU温度":"CPU Temp.","DDNSTO":"DDNSTO","DDNSTO 是一个不需要公网IP也可以在外网访问的穿透域名服务,一个浏览器搞定内网穿透,远程访问Openwrt、远程终端、远程桌面...":"DDNSTO is a domain name penetration service that can be accessed from the Internet without a public IP. A browser can handle intranet penetration and remote access to Openwrt, remote terminal, remote desktop...","DDNSTO控制台":"DDNSTO Console","DHCP的IP池格式错误或超出子网范围":"DHCP IP pool format error or out of subnet range","DHCP客户端":"DHCP Client","DNS 配置方式":"DNS Configuration Method","DNS错误":"DNS Error","DNS服务器":"DNS Server","DNS服务器: ":"DNS Server: ","DNS服务器地址":"DNS Server Address","DNS配置":"DNS Settings","DNS配置已保存":"DNS Saved","DNS选项":"DNS Options","dnspod":"dnspod","Dnspod":"Dnspod","Docker高级配置":"Docker Adv.","Docker根目录:":"Docker Root Directory: ","Docker管理":"Docker Actions","Docker迁移向导":"Docker Migration Wizard","IP 地址":"IP Address","IP 地址: ":"IP Address: ","IP池结束地址":"IP Pool End Address","IP池起始地址":"IP Pool Start Address","IP地址":"IP Address","IP地址版本:":"IP Version: ","IPv4地址":"IPv4 Address","IPv4地址格式错误":"IPv4 Address Format Error","IPv4子网掩码":"IPv4 Subnet Mask","IPv4子网掩码格式错误":"IPv4 Subnet Mask Format Error","IPv6地址":"IPv6 Address","iStoreOS官网":"iStoreOS","JBOD (线性)":"JBOD (Linear)","LAN 接口配置方式":"LAN Interface Configuration Method","LAN口未关联任何物理网口,可能导致路由器失联,是否继续操作?":"LAN port not associated with any physical network port, may cause router disconnection, continue?","MAC:":"MAC:","qBittorrent高级配置":"qBittorrent Adv.","RAID ( Redundant Array of Independent Disks )即独立磁盘冗余阵列,简称为「磁盘阵列」,就是用多个独立的磁盘组成在一起形成一个大的磁盘系统,从而实现比单块磁盘更好的存储性能和更高的可靠性。":"RAID (Redundant Array of Independent Disks) is a redundant array of independent disks, which uses multiple independent disks to form a large disk system, thereby achieving better storage performance and higher reliability than a single disk.","RAID 0 (条带)":"RAID 0 (Striping)","RAID 1 (镜像)":"RAID 1 (Mirroring)","RAID创建向导":"RAID Creation Wizard","RAID磁盘阵列是用多个独立的磁盘组成在一起形成一个大的磁盘系统,从而实现比单块磁盘更好的存储性能和更高的可靠性。":"RAID disk array uses multiple independent disks together to form a large disk system, thereby achieving better storage performance and higher reliability than a single disk.","RAID功能正在公测中,使用过程中如造成数据丢失等问题,概不负责,请谨慎使用。":"The RAID function is currently in public beta testing. We are not responsible for any data loss or other issues caused during use. Please use it with caution.","RAID管理":"RAID Mananger","RAID级别:":"RAID Level:","RAID设备":"RAID","RPC 令牌:":"RPC Token:","S.M.A.R.T.,全称为“Self-Monitoring Analysis and Reporting Technology”,即“自我监测、分析及报告技术”,":"S.M.A.R.T., the full name of which is 'Self-Monitoring Analysis and Reporting Technology', is an automatic hard disk status detection and early warning system and specification. ","S.M.A.R.T异常":"S.M.A.R.T Exception","SAMBA":"SAMBA","SAMBA高级配置":"SAMBA Adv.","Samba共享配置":"Samba Share Configuration","Transmission高级配置":"Transmission Adv.","WAN 接口配置方式":"WAN Interface Configuration Method","WEBDAV":"WEBDAV","WebDAV高级配置":"WebDAV Adv.","Webdav共享配置":"Webdav Share Configuration","限速配置":"Speed limit configuration","静态分配":"Static allocation","请输入": "Please enter","设备列表": "Equipment List","静态分配列表": "Statically allocated lists","限速设备列表": "List of speed limiting devices","全局设置": "Global Settings","对设备开启限速": "Enable speed limit for the device","点我跳转全局配置": "Click me to jump to global configuration","禁止该设备访问网络": "Block this device from accessing the network","下载速度": "Download speed","总带宽": "Total bandwidth","上传速度": "Upload speed","注解": "Comment","请选择": "Please select","MAC地址与IP绑定": "MAC address and IP binding","网关": "Gateway","接口": "Interface","标签": "Label","设备图片": "Equipment Pictures","主机名称": "Host Name","MAC地址": "MAC Address","默认网关": "default","上级路由": "parent","本设备": "myself","旁路由": "bypass","浮动网关": "floatip","请前往全局配置开启限速": "Please go to global configuration to enable speed limit","请输入正确的MAC地址": "Please enter a valid MAC address","请输入正确的IP地址": "Please enter a valid IP address","请输入正确的下载速度": "Please enter the correct download speed","请输入正确的上传速度": "Please enter the correct upload speed","请勾选要删除的数据": "Please check the data you want to delete","设备管理":"Device Management","首页":"Front Page","批量删除":"Batch Deletion","请输入搜索词":"Please enter a search term","请输入名称/IP/MAC…":"Please enter name/IP/MAC...", "显示": "Show","到": "To","条": "Strip","共": "Total","上一页": "Previous page","下一页": "Next Page","暂无数据": "No Data","IP限速": "IP speed limit","正在安装": "Installing","结果": "Result","安装成功": "Installation Successful","添加标签": "Add tags","注意:添加ID时,请勿将“odhcpd”或网络接口(例如“lan”,“wan”,“wan6”等)作为ID,此举将产生冲突。建议在ID前面加上前缀“t_”以杜绝此类冲突。": "Note: When adding an ID, do not use odhcpd or a network interface (such as lan, wan, wan6, etc.) as the ID, as this will cause a conflict. It is recommended to prefix the ID with 't_' to prevent such conflicts.","标签名称": "Tag Name","软件暂未安装": "The software is not installed yet","立即安装": "Install Now","节点角色": "Node Role","浮动网格IP": "Floating Grid IP","旁路由IP": "Bypass IP","添加": "Add to","局域网DHCP": "LAN DHCP", "是": "Yes","否": "No","禁止网络访问": "Disable network access","上传限速": "Upload speed limit","下载限速": "Download speed limit","静态IP绑定": "Static IP Binding","请选择节点角色":"Please select a node role","请输入正确的浮动网关IP地址":"Please enter the correct floating gateway IP address","请输入正确的旁路由IP地址":"Please enter the correct bypass router IP address","系统创建":"System Creation","删除失败!":"Deletion failed!","主路由":"Main Router","所有删除操作已完成":"All deletions completed","保存失败!":"Save failed!","编辑标签":"Edit Tags","温馨提示:删除设备的限速配置可能影响此设备的带宽,请谨慎操作!":"Warm reminder: Deleting the speed limit configuration of a device may affect the bandwidth of this device, please proceed with caution!","温馨提示:删除设备的静态分配可能影响此设备的联网,请谨慎操作!":"Tips: Deleting a device's static allocation may affect the device's networking, so proceed with caution!","温馨提示:删除网关标签可能影响正在使用此标签的设备,请谨慎操作!":"Warm reminder: Deleting the gateway tag may affect devices that are using this tag, please proceed with caution!","温馨提示:关闭浮动网关可能影响正在使用浮动网关的设备,请谨慎操作!":"Warm reminder: Disabling the floating gateway may affect devices that are using the floating gateway, please operate with caution!","温馨提示:关闭限速会让已配置限速的设备的带宽限制全部失效,请谨慎操作!":"Warm reminder: Turning off speed limit will invalidate all bandwidth restrictions of devices that have configured speed limit. Please operate with caution!","温馨提示:关闭DHCP可能影响局域网内设备的IP分配和联网,请谨慎操作!":"Tips: Turning off DHCP may affect the IP allocation and networking of devices in the LAN, so please operate with caution!","标题":"Title","上传限速(Mbit/s)":"Upload speed limit (Mbit/s)","下载限速(Mbit/s)":"Download speed limit (Mbit/s)","网络连接正常":"The network connection is normal","连接设备数量":"Number of connected devices","台设备":"Device","已连接":"Connected","未连接":"Not connected","配置网络接口":"NIC Assignment","使用率":"Utilization rate","可用":"Available","系统更新可用":"System update available","检测到新版本":"New version detected","包含安全修复和性能改进":"Includes security fixes and performance improvements","立即更新":"Update Now","稍后提醒":"Remind me later","网络配置引导":"Network configuration guide","智能配置":"Intelligent configuration","局域网设备管理":"LAN device management","管理网络中的所有设备":"Manage all devices on the network","推荐":"Recommend","无线网络":"Wireless network","WiFi设置与管理":"WiFi settings and management","2.4G/5G双频":"2.4G/5G dual-band","家长控制":"Parental Controls","儿童上网保护":"Child Online Protection","保护":"Protect","网络测速":"Network speed test","检测网络速度":"Detect network speed","点击测试":"Click Test","网络流量":"Network traffic","今日下载":"Download today","今日上传":"Uploaded today","峰值下载":"Peak downloads","峰值上传":"Peak upload","网络连接和IP地址":"Network connections and IP addresses","今日数据":"Today's data","网络延迟":"Network latency","信号强度":"Signal strength","日志查看":"View log","运行中":"Running","Docker容器目录":"Docker container directory","容器数量":"Number of containers","镜像数量":"Number of images","管理容器":"Managing Containers","下载管理":"Download Management","操作系统":"operating system","正常":"Normal","离线":"Offline","动态域名解析":"Dynamic DNS","智能内网穿透服务":"Intelligent intranet penetration service","配置存储服务":"Configuring storage services","内网访问地址":"Intranet access address","检测本地网络环境,获取内网访问地址":"Detect the local network environment and obtain the intranet access address","点击按钮获取内网测速地址,通过访问这些地址来测试内网连接速度":"Click the button to obtain the intranet speed test address and test the intranet connection speed by accessing these addresses","选择测速节点,进行网络速度和连接质量测试":"Select a speed test node to test network speed and connection quality","选择测速节点":"Select the speed test node","请选择测速节点":"Please select a speed test node","测速日志":"Speed ​​test log","实时测速过程记录":"Real-time speed measurement process recording","测速节点":"Speed ​​test node","测速进度":"Speed ​​test progress","至少保留一个网络接口!":"Keep at least one network interface!","系统维护":"System Maintenance","应用商店":"App Store","百款应用,自由选择":"Hundreds of apps, free to choose","内核":"Kernel Ver."}} \ No newline at end of file +{"en":{"- -自定义- -":"- -Custom- -","(请先获取IPv4上游信息)":"(Please obtain IPv4 upstream information first)","(未格式化)":"(Not formatted)","(未挂载)":"(Not mounted)","(无DNS服务器,请之后自行填写公共DNS服务器,例如 223.5.5.5)":"(No DNS server, please fill in the public DNS server later, such as 223.5.5.5)","(系统分区)":"(System partition)","(系统盘)":"(System disk)","* 表示每天":"* Means daily","* 表示每小时":"* Means hourly","* 表示每月":"* Means monthly","%{ countdown }s后 跳转新地址":"%{ countdown }s before redirecting to new address","%{ days }天":["%{ days } d ","%{ days } d "],"%{ hours }小时":["%{ hours } h","%{ hours } h"],"%{ minutes }分":[" %{ minutes } min"," %{ minutes } min"],"%{ seconds }秒":[" %{ seconds } sec"," %{ seconds } sec"],"%{status}下载服务配置向导":"%{status} download service configuration wizard","1、点击“提交”可将变更合并到非沙箱环境":"1. Click 'Submit' to merge changes into non-sandbox environment","1. 满足上述条件以后,点击“当前 IPv4 上游信息”以刷新当前连接信息,成功以后,“自动填写”按钮将被激活。(失败可再次点击)":"1. After the above conditions are met, click 'Current IPv4 Upstream Information' to refresh the current connection information. After success, the 'Auto Fill' button will be activated. (Click again if failed)","2、点击“重置”可将沙箱恢复到初始状态":"2. Click 'Reset' to restore the sandbox to its initial state","2. 点击“自动填写”,将切换到参数页并自动填写。此时依然可以自行调整参数。":"2. Click 'Auto-fill' to switch to the parameter page and auto-fill. Parameters can still be adjusted manually.","223.5.5.5":"223.5.5.5","3、点击“退出”可退出沙箱环境,并放弃沙箱中的数据":"3. Click 'Exit' to exit the sandbox environment and abandon the data in the sandbox","阿里云":"Aliyun","安装失败":"Installation Failed","安装失败,":"Installation Failed,","安装失败或超时,请检查软件源或稍候重试":"Installation Failed or Timed Out, Please Check Software Source or Retry Later","安装中...":"Installing...","半双工":"Half Duplex","保持DHCP服务设置":"Keep DHCP Service Settings","保存":"Save","保存并应用":"Save and Apply","保存成功":"Saved Successfully","保存配置":"Save Configuration","保存中...":"Saving...","备份升级":"Backup/Flash","备用DNS地址":"Backup DNS Address","备用DNS服务器":"Backup DNS Server","备用DNS服务器地址":"Backup DNS Server Address","本向导支持自动或手动配置:":"This wizard supports automatic or manual configuration:","编辑":"Edit","编辑LAN":"Edit LAN","编辑WAN":"Edit WAN","并挂载到":"And Mount to","访客":"visitor","拨号上网":"PPPoE","不格式化,使用原文件系统":"Do Not Format, Use Original File System","不支持挂载":"Not Supported for Mounting","操作":"Operation","测试时磁盘会转动,请选择合适的模式来控制磁盘转动。":"Disk will spin during testing, please choose the appropriate mode to control disk spinning.","测速":"Speedtest","插件备份":"APP Backup","查看磁盘管理信息":"Disk Actions","查看存储服务信息":"Actions","查看高级配置":"Acrions","查看更多详情":" to check details","查看教程":"View tutorial","查看日志":"View log","查看设备信息":"Check Clients","查看网络接口信息":"NIC Info","查看系统信息":"System Utils","查看详情":"View details","常规设置":"General Settings","成员":"Member","初始化成功":"Initialized Successfully","初始化中...":"Initializing...","处理中...":"Processing...","传输时自检":"Self-Test During Transfer","窗口 %{ item }":"Window %{ item }","创建":"Create","创建成功":"Created Successfully","创建计划任务":"Create Scheduled Task","创建中...":"Creating...","创建RAID":"Create RAID","磁盘":"Disk","磁盘管理":"Disk Manager","磁盘信息":"Disk Info","磁盘阵列成员:":"RAID array members:","此操作会将会删除该分区全部数据":"This operation will delete all data on this partition","此操作会将会删除该分区全部数据,并格式化成EXT4,随后自动重启进入沙箱模式,是否继续?":"This operation will delete all data on the partition and format it to EXT4, then automatically reboot into sandbox mode. Do you want to continue?","此分区为只读状态,可能无法写入数据":"This partition is read-only, data may not be writable","此文件系统不支持Docker等应用数据,建议格式化成EXT4文件系统":"This file system does not support Docker and other application data, it is recommended to format as EXT4 file system","存储服务":"Share","错误":"Error","带宽监控":"Bandwidth Monitor","待机":"Standby","待机-处于待机和睡眠模式下不检查设备。此模式下磁盘一般不旋转,如果你不想每次检查都转动磁盘,那么这个模式比较适合。":"Standby - The device is not checked in standby and sleep mode. In this mode, the disk generally does not rotate. If you do not want to spin the disk every time you check, then this mode is more suitable.","当前 IPv4 上游信息(点此刷新)":"Current IPv4 upstream information (click here to refresh)","当前处于沙箱环境:":"Currently in sandbox environment:","当前软件源":"Current software source","当前状态:":"Current status:","当系统根目录空间不足时,可将Docker根目录迁移到外置硬盘,以保证系统的正常运行(目标分区不支持NTFS,FAT等文件系统)":"When the system root directory space is insufficient, you can migrate the Docker root directory to an external hard disk to ensure the normal operation of the system (the target partition does not support NTFS, FAT and other file systems)","地址":"Address","登录过期,请重新登录":"Login expired, please log in again","等待设备重启,重启完成后":"Waiting for device to restart, after restart","点此自动配置 AriaNg":"Click here to auto-configure AriaNg","点击“自动配置”按钮开始自动配置向导;":"Click the 'Auto' button to start the automatic configuration wizard;","电路的运行情况进行监控、记录并与厂商所设定的预设安全值进行比较,若监控情况将要或已超出预设安全值的安全范围,":"and compared with the preset safety value set by the manufacturer. If the monitoring situation is about to or has exceeded the safety range of the preset safety value, ","电源模式":"Power mode","调度":"Schedule","调试":"Debug","读取结果失败":"Failed to read result","读写":"Read/write","短暂自检":"Short self-test","发送:":"Send:","返回":"Return","访问地址:":"Access address:","非法的用户名":"Invalid username","分区 / 挂载点":"Partition / Mount Point","分区并格式化":"Partition and Format","分区存在异常,点击分区列表查看错误":"Partition Abnormal, Click Partition List to View Errors","分区信息":"Partition Information","服务-动态DNS":"Service - Dynamic DNS","服务地址:":"Service address:","服务路径:":"Service path:","服务目录路径":"Service directory path","服务已启动":"Service started","附加的 BT Tracker:":"Additional BT Tracker:","覆盖迁移(覆盖目标路径,继续迁移会清空该目标路径下的文件)":"Overwrite migration (overwrite target path, continuing migration will clear files under the target path)","该分区尚未挂载,请先去挂载":"This partition is not yet mounted, please mount it first","该固件不支持沙箱模式":"Current firmware does not support sandbox","该目标路径不为空":"The target path is not empty","高级模式":"Advanced mode","高级设置":"Advanced settings","格式化":"Format","格式化并挂载":"Format and mount","格式化成功":"Format successful","格式化分区":"Format partition","格式化为EXT4文件系统":"Format as EXT4 file system","格式化选项":"Format options","格式化中...":"Formatting...","更换目录(不覆盖目标路径,仅将Docker目录修改为目标路径)":"Change directory (does not overwrite target path, only changes Docker directory to target path)","更换配置":"Change configuration","功能":"Function","共享路径不能为空":"Share Path Cannot Be Empty","共享名(建议使用英文字母)":"Share Name (Recommended to Use English Letters)","共享名称":"Share Name","共享名称不能为空":"Share Name Cannot Be Empty","固件版本":"Firmware Ver.","固件更新":"OTA","固件更新选项":"OTA Options","挂载成功":"Mount successful","挂载点":"Mount Points","挂载路径:":"Mount path:","挂载信息":"Mount information","挂载中...":"Mounting...","关闭":"Close","花生壳":"Oray","欢迎使用 NAS 配置向导":"Welcome to the NAS configuration wizard","欢迎使用网络配置向导":"Welcome to the network configuration wizard","恢复":"Restore","恢复完成":"Restore complete","获取不到分区":"Cannot get partition","获取不到分区路径":"Cannot get partition path","获取不到分区ID":"Cannot get partition ID","获取不到设备路径":"Cannot get device path","获取不到设备名称":"Cannot get device name","级别":"Level","即将重启设备":"Device Will Restart Soon","计划任务":"Scheduled tasks","继续":"Continue","继续保存":"Continue saving","继续配置":" to continue configuration","加载磁盘信息失败":"Load disk info failed","加载中...":"Loading...","兼容一些电视或者电视盒子":"Compatible with Some TVs or TV Boxes","检测不到挂载的磁盘信息,请先插上磁盘,建议使用U盘或者移动硬盘,方便装卸":"No mounted disk information detected, please insert a disk, recommended to use a USB drive or external hard drive for easy mounting/unmounting","检测不到可用磁盘阵列成员":"No available RAID array members detected","检测到你尚未安装 %{name} 插件,是否安装?":"Detected that you have not installed %{name} plugin, install now?","检测到你有未保存的配置,可前往页面右上角点击查看,保存并应用或者恢复配置后继续":"It is detected that you have unsaved configuration. You can go to the upper right corner of the page and click View, Save and Apply, or Restore the configuration to continue","检测到您的wan口没有公网IP或者IPv6地址,可以使用DDNSTO配置远程域名访问":"Detected that your WAN port has no public IP or IPv6 address, you can use DDNSTO to configure remote domain access","检测到您还没有挂载外置硬盘或分区小于8GB,需要您接上硬盘并格式化或手动挂载硬盘后,再执行Docker迁移向导,将Docker迁移到目标硬盘。":"It is detected that you have not mounted the external hard disk or the partition is less than 8GB. You need to connect the hard disk and format it or manually mount the hard disk, and then execute the Docker Migration Wizard to migrate Docker to the target hard disk.","检测中...":"Detecting ...","检查插件状态失败":"Failed to check plugin status","检查中...":"Checking ...","健康":"Healthy","将扫描磁盘里 RAID 的磁盘阵列配置并恢复,确定要恢复 RAID 磁盘阵列吗?":"Will Scan Disk RAID Array Configuration and Restore, Are You Sure to Restore RAID Array?","接收:":"Receive:","仅统计已挂载分区":"Only Count Mounted Partitions","进入控制台":"Enter console","进行测速":" to test speed","禁用":"Disable","警告:该操作将初始化 %{model} 硬盘并创建分区,请你谨慎操作":"Warning: This operation will initialize %{model} hard drive and create partitions, please proceed with caution","警告:格式化会清空 %{partname} 分区数据,请你谨慎操作":"Warning: Formatting will clear all data on %{partname} partition, please proceed with caution","静态地址":"Static","静态网络":"Static","静态IP地址":"Static IP Address","就可以通过主机的监控硬件或软件自动向用户作出警告并进行轻微的自动修复,以提前保障硬盘数据的安全。":"the host's monitoring hardware or software can automatically warn the user and perform minor automatic repairs to ensure the safety of the hard disk data in advance.","局域网文件共享(Samba)":"Local Network File Sharing (Samba)","局域网文件共享(WebDAV)":"Local Network File Sharing (WebDAV)","开启 NAT(可修复某些无线热点不能访问外网问题)":"Enable NAT (Can Fix Some Wireless Hotspots Not Accessing the Internet Issue)","开启沙箱":"Enable Sandbox","可读写状态:":"R/W Status: ","可前往":"Can Go","控制台":"Dashboard","跨设备共享(易有云)":"Cross-device sharing (Linkease)","快速配置":"Guide","宽带拨号连接":"PPPoE","宽带密码":"PPPoE Password","宽带账号":"PPPoE Account","扩充":"Expand","扩展信息":"Extended information","类型":"Type","离线时自检":"Self-test while offline","连接现有路由器":"Connect to existing router","链接":"Link","流量统计":"Traffic","路由器 IP 可能已经修改成功。若刷新页面失败,请重新连接路由器,否则请尝试重新配置。":"The router IP may have been modified successfully. If refreshing the page fails, please reconnect to the router, otherwise try to reconfigure it.","没找到想要的配置?请使用%{link}":"Couldn't find the desired configuration? Please use %{link}","密码":"Password","密码:":"Password:","密码不能为空":"Password Cannot Be Empty","名称":"Name","名称:":"Name:","默认":"Default","默认密码:":"Default password:","默认用户名:":"Default username:","目标磁盘(建议选择U盘或者移动硬盘,方便装卸)":"Target disk (recommended to use USB drive or external hard drive for easy mounting/unmounting)","目标分区":"Target partition","目标分区(分区大小须大于2G,将此分区作为外部 overlay 使用)":"Target partition (partition size must be greater than 2G, use this partition as an external overlay)","目录":"Directory","内存使用率":"Mem. Usage","内核版本":"Kernel Ver.","内网测速":"LAN Speedtest","内网配置":"LAN Settings","您的系统空间已不足,检测到您的Docker根目录位于系统根目录上,可能会影响系统的正常运行,建议使用Docker迁移向导将Docker根目录迁移到外置硬盘上。":"Your system space is insufficient. It is detected that your Docker root directory is located on the system root directory, which may affect the normal operation of the system. It is recommended to use the Docker Migration Wizard to migrate the Docker root directory to an external hard disk.","您可以用上一级路由(主路由)拨号,然后用本路由来实现一些高级功能。":"You can dial using the upper level router (main router), and then use this router to implement some advanced functions.","旁路由模式,也叫单臂路由模式。":"Bypass routing mode, also called single-arm routing mode.","旁路由模式仅支持静态IP地址":"Bypass routing mode only supports static IP addresses","旁路由配置前的准备工作":"Preparation before bypass routing configuration","旁路由自动配置":"Bypass routing auto-configuration","配置超时":"Configuration timeout","配置成功":"Configuration successful","配置成功!":"Configuration successful!","配置互联网":"Configure internet","配置宽带账号":"Configure PPPoE account","配置目录":"Configure directory","配置目录:":"Configure directory:","配置旁路由网络":"Configure bypass router network","配置沙箱重启中...":"Configuring sandbox rebooting...","配置失败":"Configuration failed","配置为旁路由":"Configure as bypass router","配置中...":"Configuring...","配置中....":"Configuring....","启动失败":"Start failed","启用":"Enable","启用LAN口DHCP服务(用于从旁路由模式恢复成默认状态)":"Enable LAN Port DHCP Service (Used to Restore from Bypass Routing Mode to Default State)","迁移成功!":"Migration successful!","迁移到:":"Migrate to: ","前往":"Go to ","切换软件源":"Switch Software Source","请尝试重新配置":"Please try to reconfigure","请确保您已将本设备 WAN 口连接到上级路由器局域网( LAN )接口":"Please ensure that the WAN port of this device is connected to the LAN port of the upstream router","请确保您已将路由 WAN 口连接到光猫":"Please ensure that the router's WAN port is connected to the optical modem","请稍等1分钟生效后再使用。":"Please wait 1 minute for the settings to take effect before using.","请输入%{title}":"Please enter %{title}","请输入合法的地址":"Please enter a valid address","请输入合法的IP地址":"Please enter a valid IP address","请输入密码":"Please enter the password","请输入迁移路径":"Please enter the migration path","请输入用户名":"Please enter the username","请输入BT Tracker服务器地址,多个地址使用换行或者英文逗号分隔":"Please enter the BT Tracker server address, use newline or comma to separate multiple addresses","请输入DNS地址":"Please enter the DNS address","请输入RPC令牌":"Please enter the RPC token","请刷新界面":"Please refresh the interface","请选择%{title}":"Please choose %{title}","请选择磁盘":"Please select the disk","请选择目标磁盘":"Please select the target disk","请选择目标分区":"Please select the target partition","请选择目标硬盘":"Please select the target hard drive","请选择迁移路径":"Please select the migration path","请选择软件源":"Please select the software source","请选择需要添加的NAS服务":"Please select the NAS service to add","请选择选项":"Please select an option","请选择要删除的硬盘":"Please select the hard drive to delete","请选择要添加的硬盘":"Please select the hard drive to add","请选择一个硬盘或分区":"Please select a hard drive or partition","请选择硬盘分区":"Please select the hard drive partition","请选择至少%{min}块磁盘":"Please select at least %{min} disks","请选择raid类型":"Please select the RAID type","请在保存以后前往'网络-接口'页面配置接口详细参数":"Please go to the 'Network - Interface' page to configure interface details after saving","取消":"Cancel","去挂载":"Mount","去卸载":"Umount","全双工":"Full Duplex","确定":"Confirm","确定创建 %{name}?该操作不可逆,请谨慎操作":"Confirm to create %{name}? This operation is irreversible, please proceed with caution","确定放弃沙箱中的数据?再次进入沙箱需要重新格式化相应磁盘分区":"Confirm to abandon data in the sandbox? Re-entering the sandbox requires reformatting the corresponding disk partition","确定要删除 %{name} 该磁盘阵列吗?删除操作可能会导致数据丢失,请谨慎操作。删除成功后,如需另外组RAID,建议稍等几分钟后再试。":"Are you sure you want to delete the disk array %{name}? Deletion may result in data loss, so please proceed with caution. If you need to create another RAID after successful deletion, it is recommended that you wait a few minutes and try again.","确定要删除 %{name} 吗?":"Are you sure to delete %{name}?","确认":"Confirm","认证失败?":"Authentication failed?","容量":"Capacity","如果您在RAID磁盘阵列中创建了文件系统,先卸载文件系统,后删除文件系统删除操作可能会导致数据丢失,请谨慎操作。":"If you have created a file system in the RAID disk array, uninstall the file system first and then delete the file system. Deleting the file system may result in data loss, so proceed with caution.","如果温度大于或等于 N 摄氏度则报告.":"Report if Temperature is Greater Than or Equal to N Degrees Celsius.","如果由于系统重置或重启导致的RAID设备丢失可以尝试通过下方'扫描恢复RAID'按钮恢复":"If the RAID device is lost due to system reset or restart, you can try to recover it by clicking the 'Scan and Recover RAID' button below.","如需临时退出沙箱环境,请将设备关机后拔出相关磁盘,启动前插入相关磁盘可再次进入沙箱。
注意临时退出沙箱环境以后升级固件会导致之前的沙箱数据无效":"If you need to temporarily exit the sandbox environment, please shut down the device and unplug the relevant disk. Insert the relevant disk before starting to enter the sandbox again.
Note that upgrading the firmware after temporarily exiting the sandbox environment will cause the previous sandbox data to become invalid","如需对 Samba 或 WebDAV 进行更细致的权限控制,请使用“%{unishare}”":"For More Detailed Permission Control of Samba or WebDAV, Please Use '%{unishare}'","软件源错误":"Feeds Inaccessible","软件源配置":"Feeds Mirror","扫描恢复RAID":"Scan to restore RAID","扫描中...":"Scanning ...","沙箱模式配置向导":"Sandbox mode configuration wizard","沙箱已开启":"In Sandbox","删除":"Delete","删除 RAID 设备之前请先卸载文件系统":"Please Uninstall File System Before Deleting RAID Device","删除成功":"Deleted Successfully","删除中...":"Deleting...","上传":"Upload","上传:":"Upload:","设备":"Device","设备路由":"Routes","设备信息":"Device Info","设备型号":"Model","设备重启中...":"Device rebooting...","设备重启中... 若页面长时间未刷新可能需要手动填写地址":"Device rebooting... If the page does not refresh for a long time, you may need to manually enter the address","设定哪一个 IP 地址(IPv4 或 IPv6)会被发送给 DDNS 提供商":"Specify which IP address (IPv4 or IPv6) will be sent to the DDNS provider","使用全局配置":"Use Global Configuration","使用易有云APP,随时随地远程下载":"Use Linkease APP for Remote Downloads Anytime, Anywhere","使用DDNSTO":"Use DDNSTO","是否立即创建 %{name}?选择的硬盘所有分区将会被清除,此操作可能会导致硬盘数据丢失,请谨慎操作。":"Do you want to create %{name} now? All partitions of the selected hard disk will be cleared. This operation may cause hard disk data loss. Please operate with caution.","是否确定初始化?":"Are you sure to initialize?","是否确定格式化 %{partname}?":"Are you sure to format %{partname}?","是一种自动的硬盘状态检测与预警系统和规范。通过在硬盘硬件内的检测指令对硬盘的硬件如磁头、盘片、马达、":"Through the detection instructions in the hard disk hardware, the operation of the hard disk hardware such as the head, disk, motor, and circuit is monitored, recorded,","手动挂载":"Manual mount","手动配置":"Manual","手动配置...":"Manual...","手动配置则需自行获取主路由器的IP地址(例如 192.168.2.1 )和子网掩码,记录以备后续填写,点击“手动配置”按钮,切换到参数配置页,按实际情况自行填写。":"For manual configuration, you need to obtain the IP address of the main router (for example, 192.168.2.1) and subnet mask, record them for later filling, click the 'Manual' button, switch to the parameter configuration page, and fill in the information according to the actual situation.","手动在地址栏输入地址":"manually enter address in the address bar","手工配置":"Manual configuration","首先确认主路由开启了 DHCP 服务,确认本路由 WAN 口是 DHCP 客户端模式(默认即是,如果不是可使用“连接现有路由器”向导改成 DHCP 客户端),然后将本路由 WAN 口与主路由的 LAN 连接,以自动获取配置。":"First, make sure that the DHCP service is turned on on the main router, and confirm that the WAN port of this router is in DHCP client mode (it is by default. If not, you can use the 'Connect to an Existing Router' wizard to change it to DHCP client). Then connect the WAN port of this router to the LAN of the main router to automatically obtain the configuration.","属性":"Attributes","刷新页面":"Refresh Page","睡眠":"Sleep","睡眠-处于睡眠模式下不检查设备。":"Sleep - Do not check devices in sleep mode.","提供 DHCPv4 服务":"Provide DHCPv4 service","提供 DHCPv4 服务(需要关闭主路由 DHCP 服务)":"Provide DHCPv4 service (need to turn off main router DHCP service)","提交":"Submit","提交中...":"Submitting...","提示":"Tip","天":"Day","添加成功":"Added successfully","添加LAN":"Add LAN","添加WAN":"Add WAN","跳转教程":"Jump to tutorial","统一文件共享":"Unified file sharing","退出":"Exit","外网测速":"Internet Speedtest","完成":"Complete","网关地址":"Gateway address","网关地址: ":"Gateway address: ","网口配置":"NIC Assignment","网络地址:":"Network address:","网络接口状态":"NIC Status","网络向导":"Network Guide","网络异常:":"Network abnormality:","为拥有动态IP的主机配置一个固定的可访问域名":"Configure a fixed accessible domain name for hosts with dynamic IPs","未安装":"Not Installed","未安装或未配置":"Uninitialized","未分区":"Unpartitioned","未分区(%{total})":"Unpartitioned (%{total})","未格式化":"Not formatted","未挂载磁盘":"Not Mounted","未联网":"Internet Down","未配置":"Not Configured","未启动":"Not Started","未启用":"Not enabled","未知":"Unknown","未知错误":"Unknown error","温度":"Temp.","温度监测(差异)":"Temperature monitoring (difference)","温度监测(最大)":"Temperature monitoring (max)","温馨提示":"Kind reminder","文件管理":"File Manager","文件系统:":"File System: ","我知道了":"Got it","无法识别路径":"Unrecognized path","无法识别数据":"Unrecognized data","系统根目录":"Rootfs","系统监控":"System Monitor","系统时间":"System Time","系统信息":"System Info","下一步":"Next","下载":"Download","下载:":"Download:","下载服务":"Download Services","下载服务:":"Download Services: ","下载服务配置向导":"Download Services Guide","下载目录":"Download Directory","下载目录:":"Download Directory:","下载目录:":"Download Directory:","下载易有云客户端,随时随地相册备份、远程访问":"Download Linkease client for anytime, anywhere photo backup, remote access","闲置":"Idle","闲置-处于待机、睡眠、闲置模式下不检查设备,在闲置状态下,大多数磁盘还在转动,所以这可能不适合你。":"Idle - Does not check devices in standby, sleep, or idle modes. Most disks are still spinning in idle mode, so this may not be suitable for you.","现在,将本路由WAN口断开,将其中一个LAN口与主路由连接,并将当前浏览器设备连接到主路由。点击“进入控制台”浏览器将跳转到新的路由IP":"Now, disconnect the WAN port of this router, connect one of the LAN ports to the main router, and connect the current browser device to the main router. Click 'Enter Console' and the browser will redirect to the new router IP","现在,请你配置旁路由信息":"Now, please configure bypass routing information","详情":"Details","想要更精确的配置?请前往":"Want more precise configuration? Please go to ","小时":"Hour","协议(网络获取方式)":"Protocol (Network Acquisition Method)","新建":"Create new","型号":"Model","修改":"Modify","修改DHCP服务":"Modify DHCP Service","需要安装DDNSTO插件,点击“确定”开始安装":"DDNSTO plugin needs to be installed, click 'OK' to start installation","序号":"Serial Number","选择磁盘":"Choose disk","选择将要用于创建 RAID 的硬盘,通过 USB 接入的设备不会在列表中显示(USB接入不稳定)。":"Select the hard disk that will be used to create the RAID. Devices connected via USB will not be displayed in the list (USB connection is unstable).","选择一种连接方式以开始":"Choose a connection method to start","选择硬盘(选择被添加到RAID的硬盘):":"Choose a hard drive (select the hard drive to be added to RAID):","选择硬盘(选择空闲的硬盘恢复RAID设备):":"Choose a hard drive (select idle hard drive to restore RAID device):","选择硬盘(选择要从RAID阵列中删除的硬盘):":"Choose a hard drive (select the hard drive to be removed from RAID array):","一个简易沙箱,方便用来实验系统配置和程序,方便开发未完成的软件,但不保护 Docker 和硬盘的数据":"A simple sandbox, convenient for experimenting with system configuration and programs, and for developing unfinished software, but does not protect Docker and hard disk data","移除":"Remove","已成功将分区 %{dev} 挂载到 %{mount}":"Successfully Mounted Partition %{dev} to %{mount}","已断开":"Disconnected","已挂载磁盘":"Mounted Disks","已挂载为交换区":"Mounted as Swap Area","已经成功初始化分区":"Partition Initialized Successfully","已经成功格式化磁盘":"Disk Formatted Successfully","已连接设备":"Connected Devices","已联网":"Internet Connected","已配置":"Configured","已启动":"Started","已启用":"Started","以上操作都将重启设备,设备重启完成后会自动刷新页面。如果 IP 变化可能需要":"The above operations will restart the device, and the page will automatically refresh after the device restarts. If the IP changes, you may need to ","易有云":"LinkEase","硬盘配置":"Hard disk configuration","用户名":"Username","用户名:":"Username:","用户名不能为空":"Username cannot be empty","用户名不能以_开头":"Username cannot start with _","用户名不能以数字开头":"Username cannot start with a number","用户名太短":"Username is too short","用户名只能为小写":"Username must be lowercase","用于放置配置文件的目录。例如:/mnt/sda1/Configs/aria2;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/aria2; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置配置文件的目录。例如:/mnt/sda1/Configs/qb;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/qb; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置配置文件的目录。例如:/mnt/sda1/Configs/tr;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/tr; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置下载文件的目录。例如:/mnt/sda1/download":"Directory for placing download files. For example: /mnt/sda1/download","用于远程访问的令牌。":"Token for remote access.","由于您的设备没有 WAN 口,无法使用本设置向导,具体请看%{link}":"Since your device does not have a WAN port, you cannot use this setup wizard. For details, please see %{link}","预览":"Preview","域名:":"Domain Name:","域名配置":"DDNS","域名配置向导":"DDNS Guide","远程域名":"DDNS","月":"Month","允许旧协议与身份验证(不安全)":"Allow Old Protocols and Authentication (Not Secure)","运行":"Run","运行调试":"Run debugging","长时自检":"Long self-test","账号:":"Account:","账号不能为空":"Account cannot be empty","账号用户名":"Account username","正在安装中...":"Installing...","正在创建中...":"Creating...","正在获取磁盘信息...":"Fetching Disk List...","正在加载中...":"Loading...","正在检测插件是否已启动...":"Checking if plugin has started...","正在检测中...":"Detecting ...","正在配置…请稍等":"Configuring...please wait","正在迁移中...":"Migrating...","正在切换中...":"Switching ...","执行中...":"Executing...","只读":"Read-Only","至少需要2块硬盘,“区块延展”功能是将数据分成多个块,并将数据块分散到组成的多个硬盘上以提高性能的过程。不提供数据冗余。":"At least 2 hard disks are required. The 'Block Stretch' function is the process of dividing data into multiple blocks and spreading the data blocks across multiple hard disks to improve performance. No data redundancy is provided.","至少需要2块硬盘,将多个硬盘合并为单个存储空间,其容量等于所有硬盘容量的总和。不提供数据冗余。":"At least 2 hard disks are required to combine multiple hard disks into a single storage space with a capacity equal to the sum of all hard disk capacities. No data redundancy is provided.","至少需要2块硬盘,同时向所有硬盘写入相同的数据。提供数据冗余。":"At least 2 hard drives are required, write the same data to all drives. Provides data redundancy.","至少需要3块硬盘,执行段落分块延展,并对分布到所有组成硬盘上的数据执行奇偶校验,从而提供比 RAID 1 更有效的数据冗余。":"Requires at least 3 hard disks, performs block stretching, and performs parity checking on data distributed across all component hard disks, providing more effective data redundancy than RAID 1.","至少需要4块硬盘,提供 RAID 0 的性能和 RAID 1 的数据保护级别,将硬盘组合进镜像数据的由两个硬盘组成的组。":"Requires at least 4 hard drives, provides the performance of RAID 0 and the data protection level of RAID 1, combining the hard drives into groups of two hard drives that mirror data.","至少需要4块硬盘,执行两个层级的数据奇偶校验以存储等于 2 个硬盘容量的冗余数据,提供比 RAID 5 更大程度的数据冗余。":"Requires at least 4 hard drives, performs two levels of data parity to store redundant data equal to the capacity of 2 hard drives, and provides a greater degree of data redundancy than RAID 5.","至少需要填写一个DNS":"At least one DNS must be filled in","终端":"Terminal","重新创建":"Recreate","重置":"Reset","重置中...":"Reseting…","状态":"Status","自定义DNS":"Custom DNS","自动获取":"Auto","自动获取 IPV6(即开启 DHCPv6 客户端)":"Automatically obtain IPv6 (i.e. enable DHCPv6 client)","自动获取(DHCP)":"DHCP","自动获取DNS":"Auto","自动获取IP地址(DHCP)":"Automatically obtain IP address (DHCP)","自动检查更新":"Auto check update","自动配置...":"Auto...","自动填写...":"Auto-fill...","自己添加":"Custom","自检日志":"Self-test log","自上次报告以来温度变化至少 N 度,则需报告.":"Report if temperature changes by at least N degrees since the last report.","子网掩码":"Subnet Mask","子网掩码: ":"Subnet Mask: ","总是":"Always","总是-无论是什么功耗模式下都测试(检查)磁盘,当检查时,这可能会使停转的磁盘开始转动。":"Always - Tests (checks) the disk regardless of power mode. When checking, this may spin up a stalled disk.","Aria2高级配置":"Aria2 Adv.","CPU使用率":"CPU Usage","CPU温度":"CPU Temp.","DDNSTO":"DDNSTO","DDNSTO 是一个不需要公网IP也可以在外网访问的穿透域名服务,一个浏览器搞定内网穿透,远程访问Openwrt、远程终端、远程桌面...":"DDNSTO is a domain name penetration service that can be accessed from the Internet without a public IP. A browser can handle intranet penetration and remote access to Openwrt, remote terminal, remote desktop...","DDNSTO控制台":"DDNSTO Console","DHCP的IP池格式错误或超出子网范围":"DHCP IP pool format error or out of subnet range","DHCP客户端":"DHCP Client","DNS 配置方式":"DNS Configuration Method","DNS错误":"DNS Error","DNS服务器":"DNS Server","DNS服务器: ":"DNS Server: ","DNS服务器地址":"DNS Server Address","DNS配置":"DNS Settings","DNS配置已保存":"DNS Saved","DNS选项":"DNS Options","dnspod":"dnspod","Dnspod":"Dnspod","Docker高级配置":"Docker Adv.","Docker根目录:":"Docker Root Directory: ","Docker管理":"Docker Actions","Docker迁移向导":"Docker Migration Wizard","IP 地址":"IP Address","IP 地址: ":"IP Address: ","IP池结束地址":"IP Pool End Address","IP池起始地址":"IP Pool Start Address","IP地址":"IP Address","IP地址版本:":"IP Version: ","IPv4地址":"IPv4 Address","IPv4地址格式错误":"IPv4 Address Format Error","IPv4子网掩码":"IPv4 Subnet Mask","IPv4子网掩码格式错误":"IPv4 Subnet Mask Format Error","IPv6地址":"IPv6 Address","iStoreOS官网":"iStoreOS","JBOD (线性)":"JBOD (Linear)","LAN 接口配置方式":"LAN Interface Configuration Method","LAN口未关联任何物理网口,可能导致路由器失联,是否继续操作?":"LAN port not associated with any physical network port, may cause router disconnection, continue?","MAC:":"MAC:","qBittorrent高级配置":"qBittorrent Adv.","RAID ( Redundant Array of Independent Disks )即独立磁盘冗余阵列,简称为「磁盘阵列」,就是用多个独立的磁盘组成在一起形成一个大的磁盘系统,从而实现比单块磁盘更好的存储性能和更高的可靠性。":"RAID (Redundant Array of Independent Disks) is a redundant array of independent disks, which uses multiple independent disks to form a large disk system, thereby achieving better storage performance and higher reliability than a single disk.","RAID 0 (条带)":"RAID 0 (Striping)","RAID 1 (镜像)":"RAID 1 (Mirroring)","RAID创建向导":"RAID Creation Wizard","RAID磁盘阵列是用多个独立的磁盘组成在一起形成一个大的磁盘系统,从而实现比单块磁盘更好的存储性能和更高的可靠性。":"RAID disk array uses multiple independent disks together to form a large disk system, thereby achieving better storage performance and higher reliability than a single disk.","RAID功能正在公测中,使用过程中如造成数据丢失等问题,概不负责,请谨慎使用。":"The RAID function is currently in public beta testing. We are not responsible for any data loss or other issues caused during use. Please use it with caution.","RAID管理":"RAID Mananger","RAID级别:":"RAID Level:","RAID设备":"RAID","RPC 令牌:":"RPC Token:","S.M.A.R.T.,全称为“Self-Monitoring Analysis and Reporting Technology”,即“自我监测、分析及报告技术”,":"S.M.A.R.T., the full name of which is 'Self-Monitoring Analysis and Reporting Technology', is an automatic hard disk status detection and early warning system and specification. ","S.M.A.R.T异常":"S.M.A.R.T Exception","SAMBA":"SAMBA","SAMBA高级配置":"SAMBA Adv.","Samba共享配置":"Samba Share Configuration","Transmission高级配置":"Transmission Adv.","WAN 接口配置方式":"WAN Interface Configuration Method","WEBDAV":"WEBDAV","WebDAV高级配置":"WebDAV Adv.","Webdav共享配置":"Webdav Share Configuration","限速配置":"Speed limit configuration","静态分配":"Static allocation","请输入": "Please enter","设备列表": "Equipment List","静态分配列表": "Statically allocated lists","限速设备列表": "List of speed limiting devices","全局设置": "Global Settings","对设备开启限速": "Enable speed limit for the device","点我跳转全局配置": "Click me to jump to global configuration","禁止该设备访问网络": "Block this device from accessing the network","下载速度": "Download speed","总带宽": "Total bandwidth","上传速度": "Upload speed","注解": "Comment","请选择": "Please select","MAC地址与IP绑定": "MAC address and IP binding","网关": "Gateway","接口": "Interface","标签": "Label","设备图片": "Equipment Pictures","主机名称": "Host Name","MAC地址": "MAC Address","默认网关": "default","上级路由": "parent","本设备": "myself","旁路由": "bypass","浮动网关": "floatip","请前往全局配置开启限速": "Please go to global configuration to enable speed limit","请输入正确的MAC地址": "Please enter a valid MAC address","请输入正确的IP地址": "Please enter a valid IP address","请输入正确的下载速度": "Please enter the correct download speed","请输入正确的上传速度": "Please enter the correct upload speed","请勾选要删除的数据": "Please check the data you want to delete","设备管理":"Device Management","首页":"Front Page","批量删除":"Batch Deletion","请输入搜索词":"Please enter a search term","请输入名称/IP/MAC…":"Please enter name/IP/MAC...", "显示": "Show","到": "To","条": "Strip","共": "Total","上一页": "Previous page","下一页": "Next Page","暂无数据": "No Data","IP限速": "IP speed limit","正在安装": "Installing","结果": "Result","安装成功": "Installation Successful","添加标签": "Add tags","注意:添加ID时,请勿将“odhcpd”或网络接口(例如“lan”,“wan”,“wan6”等)作为ID,此举将产生冲突。建议在ID前面加上前缀“t_”以杜绝此类冲突。": "Note: When adding an ID, do not use odhcpd or a network interface (such as lan, wan, wan6, etc.) as the ID, as this will cause a conflict. It is recommended to prefix the ID with 't_' to prevent such conflicts.","标签名称": "Tag Name","软件暂未安装": "The software is not installed yet","立即安装": "Install Now","节点角色": "Node Role","浮动网格IP": "Floating Grid IP","旁路由IP": "Bypass IP","添加": "Add to","局域网DHCP": "LAN DHCP", "是": "Yes","否": "No","禁止网络访问": "Disable network access","上传限速": "Upload speed limit","下载限速": "Download speed limit","静态IP绑定": "Static IP Binding","请选择节点角色":"Please select a node role","请输入正确的浮动网关IP地址":"Please enter the correct floating gateway IP address","请输入正确的旁路由IP地址":"Please enter the correct bypass router IP address","系统创建":"System Creation","删除失败!":"Deletion failed!","主路由":"Main Router","所有删除操作已完成":"All deletions completed","保存失败!":"Save failed!","编辑标签":"Edit Tags","温馨提示:删除设备的限速配置可能影响此设备的带宽,请谨慎操作!":"Warm reminder: Deleting the speed limit configuration of a device may affect the bandwidth of this device, please proceed with caution!","温馨提示:删除设备的静态分配可能影响此设备的联网,请谨慎操作!":"Tips: Deleting a device's static allocation may affect the device's networking, so proceed with caution!","温馨提示:删除网关标签可能影响正在使用此标签的设备,请谨慎操作!":"Warm reminder: Deleting the gateway tag may affect devices that are using this tag, please proceed with caution!","温馨提示:关闭浮动网关可能影响正在使用浮动网关的设备,请谨慎操作!":"Warm reminder: Disabling the floating gateway may affect devices that are using the floating gateway, please operate with caution!","温馨提示:关闭限速会让已配置限速的设备的带宽限制全部失效,请谨慎操作!":"Warm reminder: Turning off speed limit will invalidate all bandwidth restrictions of devices that have configured speed limit. Please operate with caution!","温馨提示:关闭DHCP可能影响局域网内设备的IP分配和联网,请谨慎操作!":"Tips: Turning off DHCP may affect the IP allocation and networking of devices in the LAN, so please operate with caution!","标题":"Title","上传限速(Mbit/s)":"Upload speed limit (Mbit/s)","下载限速(Mbit/s)":"Download speed limit (Mbit/s)","网络连接正常":"The network connection is normal","连接设备数量":"Number of connected devices","台设备":"Device","已连接":"Connected","未连接":"Not connected","配置网络接口":"NIC Assignment","使用率":"Utilization rate","可用":"Available","系统更新可用":"System update available","检测到新版本":"New version detected","包含安全修复和性能改进":"Includes security fixes and performance improvements","立即更新":"Update Now","稍后提醒":"Remind me later","网络配置引导":"Network configuration guide","智能配置":"Intelligent configuration","局域网设备管理":"LAN device management","管理网络中的所有设备":"Manage all devices on the network","推荐":"Recommend","无线网络":"Wireless network","WiFi设置与管理":"WiFi settings and management","2.4G/5G双频":"2.4G/5G dual-band","家长控制":"Parental Controls","儿童上网保护":"Child Online Protection","保护":"Protect","网络测速":"Network speed test","检测网络速度":"Detect network speed","点击测试":"Click Test","网络流量":"Network traffic","今日下载":"Download today","今日上传":"Uploaded today","峰值下载":"Peak downloads","峰值上传":"Peak upload","网络连接和IP地址":"Network connections and IP addresses","今日数据":"Today's data","网络延迟":"Network latency","信号强度":"Signal strength","日志查看":"View log","运行中":"Running","Docker容器目录":"Docker container directory","容器数量":"Number of containers","镜像数量":"Number of images","管理容器":"Managing Containers","下载管理":"Download Management","操作系统":"operating system","正常":"Normal","离线":"Offline","动态域名解析":"Dynamic DNS","智能内网穿透服务":"Intelligent intranet penetration service","配置存储服务":"Configuring storage services","内网访问地址":"Intranet access address","检测本地网络环境,获取内网访问地址":"Detect the local network environment and obtain the intranet access address","点击按钮获取内网测速地址,通过访问这些地址来测试内网连接速度":"Click the button to obtain the intranet speed test address and test the intranet connection speed by accessing these addresses","选择测速节点,进行网络速度和连接质量测试":"Select a speed test node to test network speed and connection quality","选择测速节点":"Select the speed test node","请选择测速节点":"Please select a speed test node","测速日志":"Speed ​​test log","实时测速过程记录":"Real-time speed measurement process recording","测速节点":"Speed ​​test node","测速进度":"Speed ​​test progress","至少保留一个网络接口!":"Keep at least one network interface!","系统维护":"System Maintenance","应用商店":"App Store","百款应用,自由选择":"Hundreds of apps, free to choose","内核":"Kernel Ver.","台设备在线":"Devices online"}} \ No newline at end of file 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 281bc8fe75..21a5630aa5 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 uo=Object.defineProperty,co=Object.defineProperties;var po=Object.getOwnPropertyDescriptors;var ha=Object.getOwnPropertySymbols;var fo=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable;var Re=(o,n,a)=>n in o?uo(o,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[n]=a,lt=(o,n)=>{for(var a in n||(n={}))fo.call(n,a)&&Re(o,a,n[a]);if(ha)for(var a of ha(n))mo.call(n,a)&&Re(o,a,n[a]);return o},pt=(o,n)=>co(o,po(n));var go=(o,n)=>()=>(n||o((n={exports:{}}).exports,n),n.exports);var ve=(o,n,a)=>(Re(o,typeof n!="symbol"?n+"":n,a),a);var O=(o,n,a)=>new Promise((l,u)=>{var s=m=>{try{w(a.next(m))}catch(c){u(c)}},p=m=>{try{w(a.throw(m))}catch(c){u(c)}},w=m=>m.done?l(m.value):Promise.resolve(m.value).then(s,p);w((a=a.apply(o,n)).next())});import{a as vo,c as bo,d as we,b as I,e as Q,u as e,o as r,f as d,g as t,t as i,n as ft,h as C,i as D,r as ht,j as st,k as Et,w as L,v as Rt,l as ho,m as Z,p as j,q as F,s as At,x as Yt,y as dt,F as U,z as tt,A as et,B as Vt,C as it,D as rt,E as ut,T as $t,G as vt,H as Gt,I as ke,J as Xt,K as nt,L as mt,M as Ft,N as Qe,O as Ba,P as Ya,Q as Aa,R as Xe,S as ta,U as Sa,V as ea,W as aa,X as _o,Y as za,Z as ye,_ as xo,$ as wo,a0 as oa,a1 as Pe,a2 as ko,a3 as Te,a4 as yo,a5 as Fo,a6 as Eo,a7 as $o,a8 as Co,a9 as Do,aa as Bo,ab as Yo,ac as Ao}from"./vendor.js?v=ad84974d";var MP=go(ae=>{const So=function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))l(u);new MutationObserver(u=>{for(const s of u)if(s.type==="childList")for(const p of s.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&l(p)}).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 l(u){if(u.ep)return;u.ep=!0;const s=a(u);fetch(u.href,s)}};So();const Nt={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},zo=o=>O(ae,null,function*(){const n=window.vue_lang;new Date().getTime();let a={};try{const s=yield vo({url:window.vue_lang_data,method:"GET"});s.data&&(a=s.data)}catch(s){console.log(s)}const l=bo({defaultLanguage:n,mutedLanguages:["zh-cn"],translations:a,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(l),Nt.language=l;const{$gettext:u}=l;window.$i18n=u;try{Nt.numberFormat=new Intl.NumberFormat(n,{notation:"compact"})}catch(s){console.error("Intl.NumberFormat unsupported lang",n,s)}}),H=()=>{if(Nt.language)return Nt.language;throw new Error("I18N Uninitialized!")},Ie=()=>({$gettext:(o,n,a)=>{if(Nt.language)return Nt.language.$gettext(o,n,a);throw new Error("I18N Uninitialized!")},$ngettext:(o,n,a,l,u)=>{if(Nt.language)return Nt.language.$ngettext(o,n,a,l,u);throw new Error("I18N Uninitialized!")}}),De=o=>typeof o=="number"?Nt.numberFormat.format(o):"?",{$gettext:Po,$ngettext:OP}=Ie(),Pa=(o,n)=>O(ae,null,function*(){return new Promise((a,l)=>O(ae,null,function*(){try{const u=yield fetch(o,n);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;l(Po("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((s==null?void 0:s.message)||u))}}))});class na{constructor(n){ve(this,"config",{baseURL:"",headers:{}});ve(this,"useRequest",n=>n);ve(this,"useResponse",n=>n);ve(this,"useError",n=>n);n.baseURL&&(this.config.baseURL=n.baseURL),n.headers&&(this.config.headers=n.headers)}static create(n){return new na(n)}Do(n,a){return O(this,null,function*(){return new Promise((l,u)=>O(this,null,function*(){try{const s=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${s.baseURL||""}${n}`,a.headers==null&&(a.headers={}),s.headers&&(a.headers=lt({},s.headers));const w=yield fetch(n,a),m=lt({},w);m.data=yield w.json(),l(this.useResponse(m))}catch(s){this.useError(s),u(s)}}))})}TEXT(n,a){return O(this,null,function*(){return new Promise((l,u)=>O(this,null,function*(){try{const s=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${s.baseURL||""}${n}`,a.headers==null&&(a.headers={}),s.headers&&(a.headers=lt({},s.headers));const w=yield fetch(n,a),m=lt({},w);m.data=yield w.text(),l(m)}catch(s){this.useError(s),u(s)}}))})}interceptors(){const n=this;return{requset:{use(a){n.useRequest=a}},response:{use(a,l){n.useResponse=a,l&&(n.useError=l)}}}}}const Ta=na.create({});Ta.interceptors().requset.use(o=>o);Ta.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:Ia,$ngettext:VP}=Ie(),To="/cgi-bin/luci/istore",Io="/cgi-bin/luci/admin";let Ae=!1;const q=(o,n)=>(o.indexOf("//")==-1&&(o=`${To}${o}`),Pa(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(Ia("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Mo=(o,n)=>(o.indexOf("//")==-1&&(o=`${Io}${o}`),Pa(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(Ia("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Lo={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"}})}}},No={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"})}}},Oo={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)})}}},jo={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"})}}},Uo={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)})}}}},qo={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"})}}},Ro={getInstalled:{GET(){return Mo("/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 Ho=Object.freeze(Object.defineProperty({__proto__:null,Network:Lo,System:No,Nas:Oo,App:Vo,Guide:Go,Raid:jo,Smart:Uo,Quickwifi:qo,GuidePage:Ro,DeviceMangement:Wo},Symbol.toStringTag,{value:"Module"})),G=lt({},Ho);const ia=we("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});we("guide",{});const Jo=we("nas",{state:()=>({webdav:{}})}),Fe=we("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){G.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:n}=o==null?void 0:o.data;n&&(this.deviceList=n)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Me=we("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){G.System.Version.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,G.System.CheckUpdate.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let _a=!1;const Zo=()=>{if(_a)return;_a=!0;let o=!0,n=!0;const a=Fe(),l=Me(),u=function(){return(!o&&document.hidden?Promise.resolve():G.System.Status.GET().then(p=>{p!=null&&p.data.result&&l.updateSystemStatus(p.data.result)})).finally(()=>{setTimeout(u,5e3),o&&(setInterval(()=>{l.incrTime()},1e3),o=!1)})},s=function(){return(!n&&document.hidden?Promise.resolve():G.Network.Status.GET().then(p=>{if(p!=null&&p.data){const{result:w}=p==null?void 0:p.data;w&&a.updateNetworkStatus(w)}})).finally(()=>{setTimeout(s,5e3),n&&(setInterval(()=>{a.incrTime()},1e3),n=!1)})};s(),a.requestDeviceList(),setTimeout(()=>{l.requestVersion(),u()},1100)};var N=(o,n)=>{const a=o.__vccOpts||o;for(const[l,u]of n)a[l]=u;return a};const Ko=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=ia(),u=Q(()=>l.portitemStyle.portitem),s=Q(()=>l.portitemStyle.show),p=Q(()=>({bottom:`calc(100% - ${l.portitemStyle.top}px)`,left:`${l.portitemStyle.left}px`})),w=f=>{switch(f){case"full":return n("\u5168\u53CC\u5DE5");case"half":return n("\u534A\u53CC\u5DE5")}},m=f=>{l.portitemStyle.show=!0},c=f=>{l.portitemStyle.show=!1};return(f,g)=>e(s)?(r(),d("div",{key:0,class:"disk-item-tooltip",style:ft(e(p)),onMouseenter:m,onMouseleave:c},[t("div",null,i(w(e(u).duplex)),1),t("div",null,i(e(n)("\u540D\u79F0\uFF1A"))+i(e(u).name||"--"),1),t("div",null,i(e(n)("MAC\uFF1A"))+i(e(u).macAddress||"--"),1),t("div",null,i(e(n)("\u63A5\u6536\uFF1A"))+i(e(u).rx_packets||"--"),1),t("div",null,i(e(n)("\u53D1\u9001\uFF1A"))+i(e(u).tx_packets||"--"),1)],36)):C("",!0)}});var Qo=N(Ko,[["__scopeId","data-v-41cbce66"]]);const Xo={id:"main"},tn=I({setup(o){return(n,a)=>{const l=ht("router-view");return r(),d("div",Xo,[D(l),D(Qo)])}}});var en=N(tn,[["__scopeId","data-v-2d97dedc"]]);const an={},on={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"},nn=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),rn=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),sn=[nn,rn];function dn(o,n){return r(),d("svg",on,sn)}var ln=N(an,[["render",dn]]);const un={},cn={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"},pn=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),fn=[pn];function mn(o,n){return r(),d("svg",cn,fn)}var gn=N(un,[["render",mn]]);const vn={},bn={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"},hn=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),_n=[hn];function xn(o,n){return r(),d("svg",bn,_n)}var wn=N(vn,[["render",xn]]);const kn={},yn={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"},Fn=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),En=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),$n=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),Cn=[Fn,En,$n];function Dn(o,n){return r(),d("svg",yn,Cn)}var Bn=N(kn,[["render",Dn]]);const Yn={},An={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"},Sn=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),zn=[Sn];function Pn(o,n){return r(),d("svg",An,zn)}var Tn=N(Yn,[["render",Pn]]);const In={},Mn={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"},Ln=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),Nn=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),On=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),jn=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),Un=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),qn=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),Rn=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),Wn=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),Hn=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),Jn=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),Zn=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),Kn=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),Qn=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),Xn=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),ti=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),ei=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),ai=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),oi=[Ln,Nn,On,Vn,Gn,jn,Un,qn,Rn,Wn,Hn,Jn,Zn,Kn,Qn,Xn,ti,ei,ai];function ni(o,n){return r(),d("svg",Mn,oi)}var ii=N(In,[["render",ni]]);const ri={},si={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"},di=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),li=[di];function ui(o,n){return r(),d("svg",si,li)}var ci=N(ri,[["render",ui]]);const pi={class:"progress"},fi=I({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const n=o,a=Q(()=>n.value>=80?"#e45e5e":n.value>=70?"#ff9800":n.value>=60?"#297ff3":n.value>0?"#53c31b":"");return(l,u)=>(r(),d("div",pi,[t("div",{class:st(["progress-value",`${o.value>50}`]),style:ft({width:`${o.value}%`,backgroundColor:e(a)})},[t("span",null,i(o.text),1)],6),Et(l.$slots,"default",{},void 0,!0)]))}});var Ma=N(fi,[["__scopeId","data-v-3ee635ef"]]);const mi={},gi={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"},vi=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),bi=[vi];function hi(o,n){return r(),d("svg",gi,bi)}var _i=N(mi,[["render",hi]]);const xi={},wi={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"},ki=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),yi=[ki];function Fi(o,n){return r(),d("svg",wi,yi)}var Ei=N(xi,[["render",Fi]]);const $i={class:"checkbox_switch"},Ci={class:"checkbox_switch_on"},Di={class:"checkbox_switch_off"},Bi=I({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,l=Q({get:()=>a.modelValue.valueOf(),set:u=>n("update:modelValue",u)});return(u,s)=>(r(),d("label",$i,[L(t("input",{type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=p=>ho(l)?l.value=p:null)},null,512),[[Rt,e(l)]]),t("span",Ci,[D(_i)]),t("span",Di,[D(Ei)]),Et(u.$slots,"default",{},void 0,!0)]))}});var La=N(Bi,[["__scopeId","data-v-54af3568"]]);const Yi={},Ai={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"},Si=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),zi=[Si];function Pi(o,n){return r(),d("svg",Ai,zi)}var Ti=N(Yi,[["render",Pi]]);const Ii={},Mi={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"},Li=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),Ni=[Li];function Oi(o,n){return r(),d("svg",Mi,Ni)}var Vi=N(Ii,[["render",Oi]]);const Gi={};function ji(o,n){return r(),d("article",null,[Et(o.$slots,"default",{},void 0,!0)])}var Ui=N(Gi,[["render",ji],["__scopeId","data-v-995510fc"]]);const qi={class:"cover"},Ri={class:"thumbnail"},Wi=I({emits:["click"],setup(o,{emit:n}){const a=()=>{n("click")};return(l,u)=>(r(),Z(Ui,null,{default:j(()=>[t("a",{onClick:a},[t("div",qi,[t("div",Ri,[Et(l.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Hi=N(Wi,[["__scopeId","data-v-782f97c0"]]);const Ji={class:"select-editable"},Zi={selected:"",value:""},Ki=["value"],Qi={value:"useInput"},Xi=["placeholder"],tr=I({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),s=F(""),p=F(""),w=Q({get:()=>a.modelValue.valueOf(),set:g=>n("update:modelValue",g)}),m=g=>{g===s.value||s.value==="useInput"&&g===p.value||(g===""||a.options.some(_=>_.key===g)?s.value=g:(p.value=g,s.value="useInput"))};At(()=>a.modelValue,g=>{m(g)}),Yt(()=>{const g=w.value;m(g)});const c=g=>{s.value==="useInput"?w.value=p.value:w.value=s.value},f=g=>{w.value=p.value};return(g,_)=>(r(),d("label",null,[t("div",Ji,[L(t("select",{"onUpdate:modelValue":_[0]||(_[0]=k=>s.value=k),autocomplete:"off",onChange:c},[t("option",Zi,i(e(l)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(r(!0),d(U,null,tt(o.options,(k,b)=>(r(),d("option",{value:k.key,key:b},i(k.value||k.key),9,Ki))),128)),t("option",Qi,i(e(l)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[dt,s.value,void 0,{trim:!0}]]),s.value=="useInput"?L((r(),d("input",{key:0,type:"text","onUpdate:modelValue":_[1]||(_[1]=k=>p.value=k),required:"",placeholder:e(l)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:f},null,40,Xi)),[[et,p.value,void 0,{trim:!0}]]):C("",!0)])]))}});var Zt=N(tr,[["__scopeId","data-v-c446588c"]]);const er={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"},ar=I({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const n=a=>{if(a==null)return;if(typeof a=="number")return a+"px";const l=a.toString();return parseInt(l)+""==l?l+"px":l};return(a,l)=>(r(),d("div",{class:"quick-loading",style:ft({width:n(o.size),height:n(o.size)})},[(r(),d("svg",er,[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:ft({fill:o.color})},null,4)]))],4))}});var or=N(ar,[["__scopeId","data-v-47c6049a"]]);const nr={},ir={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":""},rr=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),sr=[rr];function dr(o,n){return r(),d("svg",ir,sr)}var lr=N(nr,[["render",dr]]);const ur={},cr={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"},pr=Vt('',1),fr=[pr];function mr(o,n){return r(),d("svg",cr,fr)}var gr=N(ur,[["render",mr]]);const vr=o=>(it("data-v-0cc5bf50"),o=o(),rt(),o),br=["href","title"],hr=vr(()=>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)),_r=[hr],xr=I({props:{type:null},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{switch(n.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(s,p)=>(r(),d("a",{href:e(u),target:"_blank",title:e(a)("\u8DF3\u8F6C\u6559\u7A0B")},_r,8,br))}});var wr=N(xr,[["__scopeId","data-v-0cc5bf50"]]),Na={install:o=>{o.component("icon-loading",or),o.component("icon-success",lr),o.component("icon-error",gr),o.component("GlHelp",wr)}};const kr={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},yr=["fill"],ra=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),d("svg",kr,[t("path",{d:"M680.64 960a61.184 61.184 0 0 1-44.864-19.072c-14.72-16.192-61.568-58.24-99.84-58.24-38.016 0-85.504 42.24-99.2 57.088a61.184 61.184 0 0 1-67.328 14.08l-1.28-0.448-116.352-65.088-1.152-0.832a55.872 55.872 0 0 1-18.752-67.456c0.064-0.192 10.752-24.768 10.752-47.232a123.52 123.52 0 0 0-123.392-123.328h-4.864c-19.52 0-35.392-17.28-40.448-44.096C73.6 603.2 64 552.384 64 512.384c0-40.064 9.536-90.88 9.92-92.992 5.12-27.136 21.376-44.544 41.152-44.096h4.16A123.52 123.52 0 0 0 242.56 251.904c0-22.4-10.688-46.976-10.816-47.232a55.68 55.68 0 0 1 18.944-67.392l1.216-0.832L374.72 68.992l1.28-0.576a62.336 62.336 0 0 1 67.2 13.888c14.528 15.296 60.48 54.848 97.664 54.848 36.8 0 82.496-38.784 96.96-53.76a62.336 62.336 0 0 1 67.264-13.44l1.28 0.64 118.592 65.92 1.152 0.768a55.808 55.808 0 0 1 18.816 67.456c-0.064 0.192-10.752 24.768-10.752 47.168a123.52 123.52 0 0 0 123.392 123.392h4.096c19.84-0.448 36.096 16.96 41.216 44.096 0.384 2.112 9.92 52.928 9.92 92.992 0 40-9.536 90.88-9.92 92.992-5.12 27.136-21.376 44.48-41.216 44.096h-4.096A123.52 123.52 0 0 0 834.176 772.8c0 22.4 10.688 47.04 10.752 47.232a55.808 55.808 0 0 1-18.816 67.456l-1.216 0.832-120.64 66.624-1.28 0.576a56.32 56.32 0 0 1-22.4 4.48z m-3.648-56.832a7.68 7.68 0 0 0 3.84 0.96l112.704-62.336c-2.688-6.272-15.168-36.992-15.168-68.928a179.456 179.456 0 0 1 169.856-179.008c1.344-7.552 8.768-49.792 8.768-81.472 0-31.68-7.424-73.92-8.768-81.472a179.456 179.456 0 0 1-169.856-179.008c0-32 12.48-62.72 15.168-68.992L682.688 121.28h-0.448c-1.92 0-3.648 0.64-4.288 1.088-1.856 1.92-17.92 18.24-40.96 34.432-34.24 24.064-66.56 36.224-96.064 36.224-29.888 0-62.464-12.416-96.832-36.928a313.792 313.792 0 0 1-41.216-35.072 8.832 8.832 0 0 0-4.736-1.152l-114.816 63.104c2.752 6.4 15.168 36.992 15.168 68.928A179.456 179.456 0 0 1 128.64 430.912c-1.344 7.552-8.768 49.792-8.768 81.472 0 31.68 7.424 73.92 8.768 81.408A179.456 179.456 0 0 1 298.496 772.8c0 32.128-12.544 62.912-15.232 69.12L392 902.72a7.68 7.68 0 0 0 3.84-0.896c2.048-2.24 18.304-19.456 41.6-36.608 34.944-25.536 68.032-38.464 98.56-38.464 30.72 0 64.064 13.184 99.2 39.232 23.488 17.472 39.744 34.944 41.792 37.184zM536.32 676.032a164.48 164.48 0 0 1-164.288-164.288A164.48 164.48 0 0 1 536.32 347.52a164.48 164.48 0 0 1 164.352 164.288A164.48 164.48 0 0 1 536.32 676.096z m0-272.64c-59.776 0-108.352 48.64-108.352 108.352 0 59.776 48.64 108.416 108.352 108.416 59.84 0 108.416-48.64 108.416-108.416 0-59.776-48.64-108.416-108.416-108.416z",fill:o.color,"p-id":"4508"},null,8,yr)]))}});let Be=0;const Fr={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,Be=window.setTimeout(o,1e3))};Be=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,Be!=0&&clearTimeout(Be),this.Close())}}},Le=o=>(it("data-v-48bf84c6"),o=o(),rt(),o),Er={key:0,class:"loading icon"},$r=Le(()=>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)),Cr=[$r],Dr={key:1,class:"success icon"},Br=Le(()=>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)),Yr=[Br],Ar={key:2,class:"error icon"},Sr=Le(()=>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)),zr=[Sr],Pr={key:3,class:"warning icon"},Tr=Le(()=>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)),Ir=[Tr];function Mr(o,n,a,l,u,s){return r(),Z($t,{name:"el-fade-in-linear"},{default:j(()=>[u.show?(r(),d("div",{key:0,class:"toast",onClick:n[1]||(n[1]=p=>s.Stop())},[a.type=="loading"?(r(),d("div",Er,Cr)):a.type=="success"?(r(),d("div",Dr,Yr)):a.type=="error"?(r(),d("div",Ar,zr)):a.type=="warning"?(r(),d("div",Pr,Ir)):C("",!0),t("div",{class:"message",onClick:n[0]||(n[0]=ut(()=>{},["stop"]))},i(s.Message),1)])):C("",!0)]),_:1})}var Lr=N(Fr,[["render",Mr],["__scopeId","data-v-48bf84c6"]]);const _e=new Map,oe=o=>{const n=vt(Lr,pt(lt({},o),{Close:()=>{l()}})),a=document.createElement("div");document.body.append(a),n.mount(a);const l=()=>{a.remove(),_e.get(n._uid)&&_e.delete(n._uid)};return o.type=="loading"&&_e.set(n._uid,{Close:l}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{l()},o==null?void 0:o.duration):setTimeout(()=>{l()},3e3)),{Close:l}},E=o=>oe(o);E.Loading=(o,n)=>oe({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:n||0});E.Success=o=>oe({type:"success",message:o});E.Error=o=>oe({type:"error",message:o,duration:0});E.Warning=o=>oe({type:"warning",message:o});E.Message=o=>oe({message:o});E.Clear=()=>{_e.forEach((o,n)=>{o.Close(),_e.delete(n)})};const Nr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none",width:"128",height:"128"},Or=["fill"],Vr=I({props:{color:{type:String,default:"#000000"}},setup(o){return(n,a)=>(r(),d("svg",Nr,[t("path",{d:"M511.232 438.8352L112.9984 40.6016A51.2 51.2 0 0 0 40.6016 112.9984L438.784 511.232 40.6016 909.4656a51.2 51.2 0 1 0 72.3968 72.448l398.2336-398.2848 398.2336 398.2848a51.2 51.2 0 1 0 72.448-72.448l-398.2848-398.2336 398.2848-398.2336A51.2 51.2 0 0 0 909.4656 40.6016L511.232 438.784z","p-id":"1217",fill:o.color},null,8,Or)]))}}),Gr=o=>(it("data-v-a96d68d4"),o=o(),rt(),o),jr={id:"actioner"},Ur={key:0,class:"action-container"},qr={class:"action-container_header"},Rr=Gr(()=>t("div",null,null,-1)),Wr={class:"title"},Hr=["title"],Jr={class:"action-container_body"},Zr=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!1);Yt(()=>{u.value=!0,document.body.setAttribute("lock-scroll","true")}),Gt(()=>{document.body.removeAttribute("lock-scroll")});const s=()=>{n.Close&&(u.value=!1,setTimeout(()=>{n.Close&&n.Close()},300))};return(p,w)=>(r(),d("div",jr,[t("div",{class:"bg",onClick:s}),o.type!=null?Et(p.$slots,"default",{key:0},void 0,!0):(r(),d(U,{key:1},[u.value?(r(),d("div",Ur,[t("div",qr,[Rr,t("div",Wr,i(o.title),1),t("button",{class:"close",title:e(a)("\u5173\u95ED"),onClick:s},[D(Vr)],8,Hr)]),t("div",Jr,[Et(p.$slots,"default",{},void 0,!0)])])):C("",!0)],64))]))}});var Kr=N(Zr,[["__scopeId","data-v-a96d68d4"]]);const _t=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(n,a)=>(r(),Z(Kr,{Close:o.Close,type:o.type,title:o.title},{default:j(()=>[Et(n.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Qr=["onSubmit"],Xr={class:"actioner-dns_header"},ts={class:"actioner-dns_body"},es={class:"label-item"},as={class:"label-item_key"},os={class:"label-item_value"},ns=["disabled"],is={value:"manual"},rs={class:"label-item"},ss={class:"label-item_key"},ds={class:"label-item_value"},ls=["placeholder","onUpdate:modelValue"],us={class:"label-item_key"},cs={class:"label-item_value"},ps=["placeholder","onUpdate:modelValue"],fs={key:1,class:"label-message"},ms={class:"actioner-dns_footer"},gs=["disabled"],vs={key:1,class:"actioner-dns"},bs={class:"actioner-dns_header"},hs={class:"actioner-dns_body"},_s={class:"config-message"},xs={class:"actioner-dns_footer"},ws=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(0),s=Fe(),p=s.status,w=Q(()=>s.status.proto!="static"),m=()=>{let h=p.dnsList||[];for(h=h.filter(v=>v);h.length<2;)h.push("");return h},c=F({interfaceName:p.defaultInterface||"",dnsProto:p.dnsProto||"manual",manualDnsIp:m()}),f=F(""),g=F(!1),_=()=>O(this,null,function*(){f.value="";let h={};switch(c.value.dnsProto){case"auto":break;case"manual":if(h.manualDnsIp=[],!c.value.manualDnsIp[0]){E.Error(a("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}h.manualDnsIp=c.value.manualDnsIp.filter(x=>x);break}h.dnsProto=c.value.dnsProto,h.interfaceName=c.value.interfaceName;const v=E.Loading(a("\u914D\u7F6E\u4E2D..."));try{const x=yield G.Guide.DnsConfig.POST(h);if(x!=null&&x.data){const{success:y,error:$}=x==null?void 0:x.data;$&&(f.value=$),(y==null||y==0)&&(E.Success(a("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(x){f.value=x}v.Close()}),k=h=>{h.preventDefault(),n.Close&&n.Close()},b=h=>{location.reload()};return(h,v)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0?(r(),d("form",{key:0,class:"actioner-dns",onSubmit:ut(_,["prevent"])},[t("div",Xr,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",ts,[t("div",es,[t("div",as,[t("span",null,i(e(a)("DNS\u9009\u9879")),1)]),t("div",os,[L(t("select",{"onUpdate:modelValue":v[0]||(v[0]=x=>c.value.dnsProto=x)},[t("option",{value:"auto",disabled:!e(w)},i(e(a)("\u81EA\u52A8\u83B7\u53D6DNS")),9,ns),t("option",is,i(e(a)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[dt,c.value.dnsProto]])])]),c.value.dnsProto=="manual"?(r(!0),d(U,{key:0},tt(c.value.manualDnsIp,(x,y)=>(r(),d("div",rs,[y==0?(r(),d(U,{key:0},[t("div",ss,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",ds,[L(t("input",{type:"text",placeholder:e(a)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":$=>c.value.manualDnsIp[y]=$},null,8,ls),[[et,c.value.manualDnsIp[y],void 0,{trim:!0}]])])],64)):(r(),d(U,{key:1},[t("div",us,i(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",cs,[L(t("input",{type:"text",placeholder:e(a)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":$=>c.value.manualDnsIp[y]=$},null,8,ps),[[et,c.value.manualDnsIp[y],void 0,{trim:!0}]])])],64))]))),256)):C("",!0),f.value?(r(),d("div",fs,i(f.value),1)):C("",!0)]),t("div",ms,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:g.value},i(e(a)("\u786E\u8BA4")),9,gs),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},i(e(a)("\u53D6\u6D88")),1)])],40,Qr)):u.value==1?(r(),d("div",vs,[t("div",bs,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",hs,[t("div",_s,i(e(a)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",xs,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:b},i(e(a)("\u5B8C\u6210")),1)])])):C("",!0)]),_:1},8,["Close"]))}});var ks=N(ws,[["__scopeId","data-v-2ac87be2"]]);const Oa=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(ks,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},ys={},Fs={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"},Es=Vt('',1),$s=[Es];function Cs(o,n){return r(),d("svg",Fs,$s)}var sa=N(ys,[["render",Cs]]);const Ds=["onSubmit"],Bs={class:"actioner-dns_header"},Ys={class:"actioner-dns_body"},As={class:"label-item"},Ss={class:"label-item_key"},zs={class:"label-item_value"},Ps={class:"item_info"},Ts={class:"label-item"},Is={class:"label-item_key"},Ms={class:"label-item_value"},Ls={selected:"true",value:""},Ns=["value"],Os={class:"actioner-dns_footer"},Vs=["disabled"],Gs={key:1,class:"actioner-dns"},js={class:"actioner-dns_header"},Us={class:"softsource_tit"},qs={class:"actioner-dns_body"},Rs={class:"finished"},Ws={class:"successed"},Hs={class:"btns"},Js=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(0),s=F(""),p=F(),w=F();(()=>{G.Guide.SoftSourceList.GET().then(_=>{var k,b;if((k=_==null?void 0:_.data)!=null&&k.result){const h=(b=_==null?void 0:_.data)==null?void 0:b.result;w.value=h}}).then(()=>G.Guide.GetSoftSource.GET()).then(_=>{var k,b;if((k=_==null?void 0:_.data)!=null&&k.result){const h=_.data.result;p.value=h.softSource,(b=w.value)!=null&&b.softSourceList.find(v=>v.identity==h.softSource.identity)&&(s.value=h.softSource.identity)}})})();const c=_=>{_.preventDefault(),n.Close&&n.Close()},f=_=>{const k=E.Loading(a("\u6B63\u5728\u5207\u6362\u4E2D..."));G.Guide.SoftSource.POST({softSourceIdentity:s.value}).then(b=>{if(b!=null&&b.data){if((b.data.success||0)==0){u.value=1;return}else if(b.data.error)throw b.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(b=>{E.Error(b)}).finally(()=>k.Close())},g=_=>{_.preventDefault(),location.reload()};return(_,k)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>{var b,h;return[u.value==0?(r(),d("form",{key:0,class:"actioner-dns",onSubmit:ut(f,["prevent"])},[t("div",Bs,[t("span",null,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",Ys,[t("div",As,[t("div",Ss,[t("span",null,i(e(a)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",zs,[t("p",Ps,i((b=p.value)==null?void 0:b.name),1)])]),t("div",Ts,[t("div",Is,[t("span",null,i(e(a)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",Ms,[L(t("select",{name:"",id:"","onUpdate:modelValue":k[0]||(k[0]=v=>s.value=v)},[t("option",Ls,i(e(a)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(r(!0),d(U,null,tt((h=w.value)==null?void 0:h.softSourceList,(v,x)=>(r(),d("option",{value:v.identity,key:x},i(v.name),9,Ns))),128))],512),[[dt,s.value,void 0,{trim:!0}]])])])]),t("div",Os,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:s.value==""},i(e(a)("\u786E\u8BA4")),9,Vs),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c},i(e(a)("\u53D6\u6D88")),1)])],40,Ds)):C("",!0),u.value==1?(r(),d("form",Gs,[t("div",js,[t("span",Us,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",qs,[t("div",Rs,[D(sa)]),t("p",Ws,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Hs,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:g},i(e(a)("\u786E\u5B9A")),1)])])])):C("",!0)]}),_:1},8,["Close"]))}});var Zs=N(Js,[["__scopeId","data-v-2deed63d"]]);const Va=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(Zs,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},Ks={class:"reusable-card",role:"group"},Qs={class:"card-header"},Xs={class:"left"},td={class:"title"},ed={class:"settings-wrapper"},ad={key:0,class:"settings-btn"},od={class:"dropdown-menu"},nd={key:1,class:"dns-btn"},id={key:2,class:"dns-btn"},rd={class:"card-body"},sd={props:{title:{type:String,required:!0},showSettings:{type:Boolean,default:!0},showDns:{type:Boolean,default:!1},showSoftware:{type:Boolean,default:!1},isSettingsMenuOpen:{type:Boolean,default:!1}},emits:["settings","update:isSettingsMenuOpen"],setup(o,{emit:n}){const a=o,{$gettext:l}=H();Yt(()=>document.addEventListener("click",s)),ke(()=>document.removeEventListener("click",s));const u=Q({get:()=>a.isSettingsMenuOpen,set:m=>n("update:isSettingsMenuOpen",m)}),s=m=>{m.target.closest(".settings-wrapper")||(u.value=!1)},p=()=>{Oa()},w=()=>{Va()};return(m,c)=>(r(),d("div",Ks,[t("div",Qs,[t("div",Xs,[Et(m.$slots,"icon",{},void 0,!0),t("div",td,i(o.title),1)]),t("div",ed,[o.showSettings?(r(),d("div",ad,[Et(m.$slots,"settings",{},void 0,!0)])):C("",!0),D($t,{name:"fade"},{default:j(()=>[L(t("div",od,[Et(m.$slots,"settings-menu",{},void 0,!0)],512),[[Xt,e(u)]])]),_:3}),o.showDns?(r(),d("div",nd,[t("button",{class:"btn-primary",onClick:p},i(e(l)("DNS\u914D\u7F6E")),1)])):C("",!0),o.showSoftware?(r(),d("div",id,[t("button",{class:"btn-pink",onClick:w},i(e(l)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])):C("",!0)])]),t("div",rd,[Et(m.$slots,"default",{},void 0,!0)])]))}};var Wt=N(sd,[["__scopeId","data-v-bb194020"]]);const dd={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},ld=["fill"],ud=["fill"],cd=["fill"],Kt=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",dd,[t("path",{d:"M665.6 911.36H358.4c-76.8 0-117.76 0-153.6-20.48-30.72-15.36-56.32-40.96-71.68-71.68-20.48-35.84-20.48-76.8-20.48-153.6v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 61.44 0 97.28 10.24 117.76 10.24 15.36 20.48 30.72 40.96 40.96 20.48 10.24 56.32 10.24 117.76 10.24h307.2c61.44 0 97.28 0 117.76-10.24 15.36-10.24 30.72-20.48 40.96-40.96 10.24-20.48 10.24-56.32 10.24-117.76v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 76.8 0 117.76-20.48 153.6-15.36 30.72-40.96 56.32-71.68 71.68-35.84 20.48-76.8 20.48-153.6 20.48z","p-id":"4906",fill:o.color},null,8,ld),t("path",{d:"M512 645.12c-10.24 0-15.36 0-20.48-10.24l-204.8-204.8c-10.24-10.24-10.24-30.72 0-46.08s30.72-10.24 46.08 0l184.32 184.32 184.32-184.32c10.24-10.24 30.72-10.24 46.08 0 10.24 10.24 10.24 30.72 0 46.08l-204.8 204.8c-5.12 5.12-15.36 10.24-20.48 10.24z","p-id":"4907",fill:o.color},null,8,ud),t("path",{d:"M512 645.12c-15.36 0-30.72-15.36-30.72-30.72V153.6c0-15.36 15.36-30.72 30.72-30.72s30.72 15.36 30.72 30.72v460.8c0 15.36-15.36 30.72-30.72 30.72z","p-id":"4908",fill:o.color},null,8,cd)]))}}),pd={},fd={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"},md=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),gd=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),vd=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),bd=[md,gd,vd];function hd(o,n){return r(),d("svg",fd,bd)}var Ee=N(pd,[["render",hd]]);const da=o=>(it("data-v-0bd83418"),o=o(),rt(),o),_d={class:"disk-item"},xd=da(()=>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)),wd={class:"disk-item_f"},kd={class:"disk-item_venderModel"},yd={class:"disk-item_used"},Fd=da(()=>t("div",{class:"auto"},null,-1)),Ed={class:"disk-item-r"},$d={class:"disk-children"},Cd=["onClick"],Dd=da(()=>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)),Bd={key:0},Yd={key:1},Ad=I({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var p,w;const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!1);n.currDisk!=null&&((p=n.currDisk)==null?void 0:p.venderModel)==((w=n.disk)==null?void 0:w.venderModel)&&(u.value=!0);const s=m=>{u.value=!u.value,n.onDisk(m,null)};return(m,c)=>{var f;return r(),d("ul",_d,[t("li",{class:st(["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:c[0]||(c[0]=g=>s(o.disk))},[xd,t("div",wd,[t("div",kd,i(o.disk.venderModel),1),t("div",yd,i(o.disk.used)+"/"+i(o.disk.size),1)]),Fd,t("div",Ed,i(o.disk.path),1)],2),L(t("div",$d,[(r(!0),d(U,null,tt(o.disk.childrens,g=>{var _,k;return r(),d("li",{class:st(["disk-children_item",{on:g.uuid==((_=o.currMountPoint)==null?void 0:_.uuid)&&g.path==((k=o.currMountPoint)==null?void 0:k.path)}]),onClick:b=>o.onDisk(o.disk,g)},[Dd,g.mountPoint?(r(),d("span",Bd," \u3010"+i(g.filesystem)+"\u3011 "+i(g.mountPoint)+" \uFF08"+i(g.used)+"/"+i(g.total)+"\uFF09 ["+i(g.uuid)+"] ",1)):(r(),d("span",Yd," \u3010"+i(g.filesystem)+"\u3011 "+i(g.mountPoint||g.path||e(a)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+i(g.uuid)+"] ",1))],10,Cd)}),256))],512),[[Xt,u.value]])])}}});var xa=N(Ad,[["__scopeId","data-v-0bd83418"]]);const la=o=>(it("data-v-3dae3be2"),o=o(),rt(),o),Sd=["onSubmit"],zd={class:"action-header"},Pd={class:"action-header_title"},Td={class:"action-body"},Id={class:"disk-info"},Md=la(()=>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)),Ld={key:0,class:"disk-info_mount-name"},Nd={key:1,class:"disk-info_mount-name"},Od={key:0,class:"label-item"},Vd={class:"label-item_key"},Gd={class:"label-item_path"},jd={class:"label-item"},Ud={class:"label-item_key"},qd={class:"label-item_value"},Rd=["disabled"],Wd={key:0,value:""},Hd={value:"format"},Jd={key:1,value:"default"},Zd={class:"label-item_value"},Kd={key:0,class:"msg"},Qd={key:1,class:"msg"},Xd={class:"action-footer"},t0=la(()=>t("div",{class:"auto"},null,-1)),e0=["disabled"],a0=["disabled"],o0={key:1,class:"action result"},n0={class:"action-body"},i0=la(()=>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)),r0={class:"action-body_msg"},s0={key:0,class:"action-body_info"},d0={key:1,class:"action-body_info"},l0={class:"btns"},u0=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close&&n.Close()},s=$=>{$.preventDefault(),n.Cancel&&n.Cancel(),u()},p=$=>{n.Next&&n.Next($),u()},w=F(!1),m=F(0),c=$=>{m.value=$},f=F(n.action=="nas"?"":"format"),g=F(),_=F(),k=()=>{switch(f.value){case"format":h();return;case"default":b();return;default:E.Warning(a("\u8BF7\u9009\u62E9\u9009\u9879"));return}},b=()=>{let $="";const Y=n.mount;if(Y!=null&&Y.mountPoint!=null&&($=Y.mountPoint),$!=""){p($);return}E.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},h=()=>{const $=n.disk,Y=n.mount;if(Y){const P=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:P||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:P||""})))return;x(Y);return}if($){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:$.venderModel||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;v($);return}E.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},v=$=>O(this,null,function*(){if($.name==null||$.path==""){E.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if($.path==null||$.path==""){E.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}w.value=!0;const Y=E.Loading(a("\u521D\u59CB\u5316\u4E2D..."));try{const P=yield G.Nas.Disk.Init.POST({name:$.name,path:$.path});if(P!=null&&P.data){const{result:A,error:B}=P==null?void 0:P.data;B&&E.Warning(B),A&&(A.errorInfo?E.Warning(A.errorInfo):(E.Success(a("\u521D\u59CB\u5316\u6210\u529F")),A.childrens&&A.childrens.length>0&&(_.value=A.childrens[0]),g.value=A,c(1)))}}catch(P){E.Error(P)}Y.Close(),w.value=!1}),x=$=>O(this,null,function*(){if($.path==null||$.path==""){E.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}w.value=!0;const Y=E.Loading(a("\u683C\u5F0F\u5316\u4E2D..."));try{const P=yield G.Nas.Disk.Partition.Format.POST({path:$.path,uuid:$.uuid,mountPoint:$.mountPoint});if(P!=null&&P.data){const{result:A,error:B}=P==null?void 0:P.data;B&&E.Warning(B),A&&(E.Success(a("\u683C\u5F0F\u5316\u6210\u529F")),_.value=A,c(1))}}catch(P){E.Error(P)}Y.Close(),w.value=!1}),y=()=>{if(_.value&&_.value.mountPoint){p(_.value.mountPoint);return}E.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return($,Y)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>{var P;return[m.value==0?(r(),d("form",{key:0,class:"action format",onSubmit:ut(k,["prevent"])},[t("div",zd,[t("div",Pd,i(e(a)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",Td,[t("div",Id,[Md,o.mount?(r(),d("div",Ld,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint||o.mount.path),1)])):o.disk?(r(),d("div",Nd,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):C("",!0)]),o.mount?(r(),d("div",Od,[t("div",Vd,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Gd,i(o.mount.mountPoint||o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF09",1)])):C("",!0),t("div",jd,[t("div",Ud,[t("span",null,i(e(a)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",qd,[L(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=A=>f.value=A),required:"",disabled:o.action=="disk"},[o.mount!=null?(r(),d("option",Wd,i(e(a)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):C("",!0),t("option",Hd,i(e(a)("\u683C\u5F0F\u5316")),1),o.mount!=null?(r(),d("option",Jd,i(e(a)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):C("",!0)],8,Rd),[[dt,f.value]])]),t("div",Zd,[f.value=="format"?(r(),d("p",Kd,i(e(a)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):f.value=="default"?(r(),d("p",Qd)):C("",!0)])])]),t("div",Xd,[t0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button",disabled:w.value},i(e(a)("\u8FD4\u56DE")),9,e0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,a0)])],40,Sd)):m.value==1?(r(),d("div",o0,[t("div",n0,[i0,t("div",r0,i(e(a)("\u683C\u5F0F\u5316\u6210\u529F")),1),g.value?(r(),d("div",s0,[nt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+i(g.value.venderModel)+" "+i(e(a)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,i((P=_.value)==null?void 0:P.mountPoint),1)])):C("",!0),_.value?(r(),d("div",d0,[nt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,i(_.value.mountPoint),1)])):C("",!0),t("div",l0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},i(o.action=="nas"?e(a)("\u4E0B\u4E00\u6B65"):e(a)("\u5B8C\u6210")),1)])])])):C("",!0)]}),_:1})]),_:1}))}});var c0=N(u0,[["__scopeId","data-v-3dae3be2"]]),ua=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(c0,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const p0=o=>(it("data-v-b222ef5e"),o=o(),rt(),o),f0={class:"action list"},m0={class:"action-header"},g0={class:"action-header_title"},v0={class:"action-body"},b0={class:"disk-list"},h0={class:"action-msg"},_0={href:"/cgi-bin/luci/admin/system/diskman"},x0={class:"action-footer"},w0=p0(()=>t("div",{class:"auto"},null,-1)),k0=I({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!0),s=mt({disks:[],raids:[]});(()=>O(this,null,function*(){const b=yield Promise.all([G.Nas.Disk.Status.GET(),G.Raid.List.GET()]);try{if(b[0]){const h=b[0];h!=null&&h.data.result&&(s.disks=(h==null?void 0:h.data.result.disks)||[])}if(b[1]){const h=b[1];h.data.result&&(s.raids=h.data.result.disks||[])}}catch(h){E.Warning(h)}}))();const w=F(),m=F(),c=(b,h)=>{w.value=b,m.value=h},f=()=>{n.Close&&n.Close()},g=()=>{n.Cancel&&n.Cancel(),f()},_=b=>{n.Next&&n.Next(b),f()},k=()=>{if(w.value==null){E.Warning(a("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(w.value.childrens!=null&&w.value.childrens.length>0&&m.value==null){E.Warning(a("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(m.value!=null&&(m.value.mountPoint==null||m.value.mountPoint=="")){E.Warning(a("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}u.value=!1,ua({action:"nas",disk:w.value,mount:m.value,Cancel:()=>{u.value=!0},Next:b=>{_(b)}})};return(b,h)=>u.value?(r(),Z(_t,{key:0,type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",f0,[t("div",m0,[t("div",g0,i(e(a)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",v0,[t("div",b0,[(r(!0),d(U,null,tt(e(s).disks,v=>(r(),Z(xa,{disk:v,onDisk:c,currDisk:w.value,currMountPoint:m.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(r(!0),d(U,null,tt(e(s).raids,v=>(r(),Z(xa,{disk:v,onDisk:c,currDisk:w.value,currMountPoint:m.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",h0,[t("span",null,[nt(i(e(a)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",_0,i(e(a)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",x0,[w0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g,type:"button"},i(e(a)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k,type:"button"},i(e(a)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):C("",!0)}});var y0=N(k0,[["__scopeId","data-v-b222ef5e"]]),F0=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(y0,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const E0=o=>(it("data-v-45926ac6"),o=o(),rt(),o),$0={class:"action"},C0={class:"action-body"},D0=E0(()=>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)),B0={class:"title"},Y0={class:"info"},A0=["href"],S0={class:"btns"},z0=I({props:{Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(""),s=Q(()=>`http://${location.hostname}:${u.value}`);(()=>{G.Nas.Linkease.Enable.POST().then(m=>{var c,f;(c=m==null?void 0:m.data)!=null&&c.result&&(u.value=((f=m.data.result)==null?void 0:f.port)||"")})})();const w=()=>{n.Close&&n.Close(),location.reload()};return(m,c)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",$0,[t("div",C0,[D0,t("h2",B0,i(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Y0,[t("span",null,i(e(a)("\u524D\u5F80")),1),t("a",{href:e(s),target:"_blank",rel:"noopener noreferrer"},i(e(s)),9,A0),t("span",null,i(e(a)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",S0,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},i(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var P0=N(z0,[["__scopeId","data-v-45926ac6"]]),T0=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(P0,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const I0=o=>(it("data-v-2b3974a4"),o=o(),rt(),o),M0=["onSubmit"],L0={class:"action-header"},N0={class:"action-header_title"},O0={class:"action-body"},V0={class:"label-item"},G0={class:"label-item_key"},j0={class:"label-item_value"},U0=["value"],q0={class:"label-item"},R0={class:"label-item_key"},W0={class:"label-item_value"},H0=["placeholder"],J0={class:"label-item"},Z0={class:"label-item_key"},K0={class:"label-item_value"},Q0={class:"action-footer"},X0=I0(()=>t("div",{class:"auto"},null,-1)),tl=["disabled"],el=["disabled"],al=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=f=>{f.preventDefault(),n.Close&&n.Close()},s=F(!1),p=F({username:"root",password:"",rootPath:n.rootPath});(()=>O(this,null,function*(){const f=E.Loading(a("\u52A0\u8F7D\u4E2D..."));s.value=!0;try{const g=yield G.Nas.Webdav.Status.GET();if(g!=null&&g.data){const{result:_,error:k}=g.data;if(k){E.Warning(k);return}_&&(_.username&&(p.value.username=_.username),_.password&&(p.value.password=_.password))}}catch(g){E.Error(g)}s.value=!1,f.Close()}))();const m=()=>{const f=p.value;if(f.rootPath==""){E.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.username==""){E.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.password==""){E.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}c(f)},c=f=>O(this,null,function*(){s.value=!0;const g=E.Loading(a("\u521B\u5EFA\u4E2D..."));try{const _=yield G.Nas.Webdav.Create.POST(f);if(_!=null&&_.data){const{error:k,result:b}=_.data;k&&E.Warning(k),b&&(E.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(_){E.Error(_)}g.Close(),s.value=!1});return(f,g)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:ut(m,["prevent"])},[t("div",L0,[t("div",N0,i(e(a)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",O0,[t("div",V0,[t("div",G0,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",j0,[t("input",{type:"text",value:p.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,U0)])]),t("div",q0,[t("div",R0,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",W0,[L(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":g[0]||(g[0]=_=>p.value.username=_)},null,8,H0),[[et,p.value.username,void 0,{trim:!0}]])])]),t("div",J0,[t("div",Z0,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",K0,[L(t("input",{type:"password","onUpdate:modelValue":g[1]||(g[1]=_=>p.value.password=_)},null,512),[[et,p.value.password,void 0,{trim:!0}]])])])]),t("div",Q0,[X0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:s.value},i(e(a)("\u5173\u95ED")),9,tl),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},i(e(a)("\u521B\u5EFA")),9,el)])],40,M0)]),_:1})]),_:1}))}});var ol=N(al,[["__scopeId","data-v-2b3974a4"]]),nl=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(ol,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const il={},rl={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"},sl=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),dl=[sl];function ll(o,n){return r(),d("svg",rl,dl)}var zt=N(il,[["render",ll]]);const{$gettext:be,$ngettext:Ye}=Ie(),ul=o=>{},cl=()=>new Date().getTime(),pl=o=>{if(o<1e3)return`${o} B`;let a=1e3,l=0;for(let p=o/1e3;p>=1e3;p/=1e3)a*=1e3,l++;let u=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(a/100)).toFixed(1)+u[l]},fl=o=>{if(o==null)return 0;if(o<1e4)return o;let a=parseInt(`${o/1e4}`),l=o%1e4;return`${a}\u4E07${l}`},ml=o=>{if(o)try{var n=new Date(o),a=n.getHours(),l=n.getMinutes(),u=n.getSeconds();return a<10&&(a=`0${a}`),l<10&&(l=`0${l}`),u<10&&(u=`0${u}`),`${a}:${l}:${u}`}catch(s){}return""},gl=o=>{if(o){let n=Math.floor(o/86400),a=Math.floor(o/3600)%24,l=Math.floor(o/60)%60,u=o%60;return(n>0?Ye("%{ days }\u5929","%{ days }\u5929",n,{days:De(n)}):"")+Ye("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",a,{hours:De(a)})+Ye("%{ minutes }\u5206","%{ minutes }\u5206",l,{minutes:De(l)})+Ye("%{ seconds }\u79D2","%{ seconds }\u79D2",u,{seconds:De(u)})}},vl=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),bl=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"),hl=(o,n)=>{let a=!0,l=null;const u=()=>{l=null,a&&o().finally(()=>{a&&(l=setTimeout(u,n))})};return l=setTimeout(u,0),()=>{a=!1,l!=null&&clearTimeout(l)}};var _l=Object.freeze(Object.defineProperty({__proto__:null,formatDate:ul,UnixDate:cl,byteToSize:pl,numberToSum:fl,dateForm:ml,stampForm:gl,checkIsIP:vl,checkSmabaUserName:bl,easyInterval:hl},Symbol.toStringTag,{value:"Module"})),Pt=lt({},_l);const xl=o=>(it("data-v-88275da0"),o=o(),rt(),o),wl=["onSubmit"],kl={class:"action-header"},yl={class:"action-header_title"},Fl={class:"action-body"},El={class:"label-item"},$l={class:"label-item_key"},Cl={class:"label-item_value"},Dl=["value"],Bl={class:"label-item"},Yl={class:"label-item_key"},Al={class:"label-item_value"},Sl=["placeholder"],zl={class:"label-item"},Pl={class:"label-item_key"},Tl={class:"label-item_value"},Il=["placeholder"],Ml={class:"label-item"},Ll={class:"label-item_key"},Nl={class:"label-item_value"},Ol={class:"samba-item"},Vl={class:"samba-item_allow"},Gl={for:"allow",class:"samba-allow"},jl={class:"samba-item_tips"},Ul={class:"tooltip-trigger"},ql={class:"samba_tip"},Rl={class:"samba_dir_tip"},Wl={class:"action-footer"},Hl=xl(()=>t("div",{class:"auto"},null,-1)),Jl=["disabled"],Zl=["disabled"],Kl=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=c=>{c.preventDefault(),n.Close&&n.Close()},s=F(!1),p=F({shareName:"",username:"",password:"",rootPath:n.rootPath,allowLegacy:!1}),w=()=>{const c=p.value;if(c.rootPath==""){E.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(c.shareName==""){E.Warning(a("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(c.username==""){E.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(c.password==""){E.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const f=Pt.checkSmabaUserName(c.username);if(f!==!0){E.Warning(`${f}`);return}m(c)},m=c=>O(this,null,function*(){s.value=!0;const f=E.Loading(a("\u521B\u5EFA\u4E2D..."));try{const g=yield G.Nas.Samba.Create.POST(c);if(g!=null&&g.data){const{error:_,result:k}=g.data;_&&E.Warning(_),k&&(E.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(g){E.Error(g)}f.Close(),s.value=!1});return(c,f)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:ut(w,["prevent"])},[t("div",kl,[t("div",yl,i(e(a)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",Fl,[t("div",El,[t("div",$l,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",Cl,[t("input",{type:"text",value:p.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Dl)])]),t("div",Bl,[t("div",Yl,[t("span",null,i(e(a)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",Al,[L(t("input",{type:"text","onUpdate:modelValue":f[0]||(f[0]=g=>p.value.shareName=g),required:"",placeholder:e(a)("\u5171\u4EAB\u540D\u79F0")},null,8,Sl),[[et,p.value.shareName,void 0,{trim:!0}]])])]),t("div",zl,[t("div",Pl,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",Tl,[L(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":f[1]||(f[1]=g=>p.value.username=g)},null,8,Il),[[et,p.value.username,void 0,{trim:!0}]])])]),t("div",Ml,[t("div",Ll,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",Nl,[L(t("input",{type:"password","onUpdate:modelValue":f[2]||(f[2]=g=>p.value.password=g)},null,512),[[et,p.value.password,void 0,{trim:!0}]])])]),t("div",Ol,[t("div",Vl,[L(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":f[3]||(f[3]=g=>p.value.allowLegacy=g)},null,512),[[Rt,p.value.allowLegacy]]),t("label",Gl,i(e(a)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",jl,[t("span",Ul,[t("span",ql,[D(zt)]),t("span",Rl,i(e(a)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",Wl,[Hl,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:s.value},i(e(a)("\u5173\u95ED")),9,Jl),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},i(e(a)("\u521B\u5EFA")),9,Zl)])],40,wl)]),_:1})]),_:1}))}});var Ql=N(Kl,[["__scopeId","data-v-88275da0"]]),Xl=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(Ql,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const{$gettext:Qt,$ngettext:GP}=Ie(),Dt={installApp:(o,n)=>new Promise((a,l)=>{let u=0;G.App.Install.POST({name:o}).then(()=>{const s=setTimeout(()=>{u==0&&(u=1,a(!1))},(n||60)*1e3),p=()=>{u==0&&G.App.Check.POST({name:o}).then(w=>{if(u==0&&w!=null&&w.data){const{result:m}=w.data;if((m==null?void 0:m.status)=="installed"){clearTimeout(s),u=1,a(!0);return}}}).catch(w=>{}).finally(()=>{u==0&&setTimeout(p,3e3)})};setTimeout(p,3e3)}).catch(s=>{u==0&&(u=1,l(Qt("\u5B89\u88C5\u5931\u8D25\uFF0C")+s))})}),checkAndInstallApp:(o,n,a)=>O(ae,null,function*(){let l=E.Loading(Qt("\u68C0\u67E5\u4E2D..."));try{const u=yield G.App.Check.POST({name:o});if(l.Close(),u!=null&&u.data){const{result:s,error:p}=u.data;if(p)E.Warning(p);else if(s){if(s.status=="installed")return!0;if(confirm(Qt("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:n}))){l=E.Loading(Qt("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const w=yield Dt.installApp(a||o);if(l.Close(),w)return!0;E.Error(Qt("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else E.Warning(Qt("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(u){return l.Close(),E.Warning(u),!1}}),installAndGo:(o,n,a,l)=>O(ae,null,function*(){(yield Dt.checkAndInstallApp(o,n,l))&&(location.href=a)})},te=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,tu={key:0,class:"action"},eu={class:"title"},au={class:"desc"},ou={value:"linkease"},nu={value:"samba"},iu={value:"webdav"},ru=["innerHTML"],su={class:"btns"},du=["disabled"],lu=I({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!0),s=F("linkease"),p=F(!1),w=F(n.setup||0),m=()=>{n.Close&&n.Close()},c=()=>O(this,null,function*(){switch(s.value){case"webdav":yield f();break;case"samba":yield _();break;case"linkease":yield g();break}}),f=()=>O(this,null,function*(){p.value=!0,(yield Dt.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&k(),p.value=!1}),g=()=>O(this,null,function*(){p.value=!0,(yield Dt.checkAndInstallApp("linkease",a("\u6613\u6709\u4E91"),"app-meta-linkease"))&&b(),p.value=!1}),_=()=>O(this,null,function*(){p.value=!0;const x=E.Loading(a("\u914D\u7F6E\u4E2D..."));k(),x.Close(),p.value=!1}),k=()=>{p.value=!1,u.value=!1,F0({Cancel:()=>{u.value=!0},Next:x=>{switch(s.value){case"webdav":h(x);break;case"samba":v(x);break}}})},b=()=>{T0({}),m()},h=x=>{nl({rootPath:x}),m()},v=x=>{Xl({rootPath:x}),m()};return(x,y)=>u.value?(r(),Z(_t,{key:0,Close:o.Close,type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[w.value==0?(r(),d("div",tu,[t("h2",eu,i(e(a)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",au,i(e(a)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[L(t("select",{"onUpdate:modelValue":y[0]||(y[0]=$=>s.value=$)},[t("option",ou,i(e(a)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",nu,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",iu,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[dt,s.value]])])]),e(te)("unishare")?(r(),d("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,ru)):C("",!0),t("div",su,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:c,type:"button",disabled:p.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,du),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m,type:"button"},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0)]),_:1})]),_:1},8,["Close"])):C("",!0)}});var uu=N(lu,[["__scopeId","data-v-3f686017"]]),Ga=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(uu,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const cu={class:"app-container_aria2"},pu={class:"aria2-item"},fu={class:"aria2-item_name"},mu={class:"aria2-item_value"},gu={key:0,class:"configure"},vu={key:1,class:"configure enabel"},bu={class:"aria2-item"},hu={class:"aria2-item_name"},_u={class:"aria2-item_value"},xu=["href"],wu={class:"aria2-item"},ku={class:"aria2-item_name"},yu={class:"aria2-item_value"},Fu=["href"],Eu={class:"aria2-item"},$u={class:"aria2-item_name right"},Cu={class:"aria2-item_value"},Du=["href"],Bu={class:"use-url_app"},Yu={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"},Au=I({props:{aria2:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var p;return`${location.origin}${(p=n.aria2)==null?void 0:p.webPath}`}),s=Q(()=>{var m,c,f;let p=(m=n.aria2)==null?void 0:m.rpcToken;p?p=encodeURIComponent(btoa(p)):p="";const w=encodeURIComponent(location.hostname);return`${location.origin}${(c=n.aria2)==null?void 0:c.webPath}/#!/settings/rpc/set/http/${w}/${(f=n.aria2)==null?void 0:f.rpcPort}/jsonrpc/${p}`});return(p,w)=>{var m,c,f,g;return r(),d("ul",cu,[t("li",pu,[t("div",fu,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",mu,[((m=o.aria2)==null?void 0:m.status)=="running"?(r(),d("span",gu,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),d("span",vu,i(e(a)("\u672A\u542F\u52A8")),1))])]),((c=o.aria2)==null?void 0:c.status)=="running"?(r(),d(U,{key:0},[t("li",bu,[t("div",hu,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",_u,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.aria2)==null?void 0:f.downloadPath)},i((g=o.aria2)==null?void 0:g.downloadPath),9,xu)])]),t("li",wu,[t("div",ku,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",yu,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,Fu)])]),t("li",Eu,[t("div",$u,[t("span",null,i(e(a)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",Cu,[t("a",{href:e(s),target:"_blank",rel:"noopener noreferrer"},i(e(a)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,Du)])])],64)):C("",!0),t("div",Bu,[t("a",Yu,i(e(a)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var Su=N(Au,[["__scopeId","data-v-376759fb"]]);const zu={class:"app-container_qbittorrent"},Pu={class:"qbittorrent-item"},Tu={class:"qbittorrent-item_name"},Iu={class:"qbittorrent-item_value"},Mu={key:0,class:"configure"},Lu={key:1,class:"configure enabel"},Nu={class:"qbittorrent-item"},Ou={class:"qbittorrent-item_name"},Vu={class:"qbittorrent-item_value"},Gu=["href"],ju={class:"qbittorrent-item"},Uu={class:"qbittorrent-item_name"},qu={class:"qbittorrent-item_value"},Ru=["href"],Wu={class:"qbittorrent-item"},Hu={class:"qbittorrent-item_name right"},Ju={class:"qbittorrent-item_value"},Zu=I({props:{qbittorrent:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var s;return`http://${location.hostname}${(s=n.qbittorrent)==null?void 0:s.webPath}`});return(s,p)=>{var w,m,c,f;return r(),d("ul",zu,[t("li",Pu,[t("div",Tu,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",Iu,[((w=o.qbittorrent)==null?void 0:w.status)=="running"?(r(),d("span",Mu,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),d("span",Lu,i(e(a)("\u672A\u542F\u52A8")),1))])]),((m=o.qbittorrent)==null?void 0:m.status)=="running"?(r(),d(U,{key:0},[t("li",Nu,[t("div",Ou,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",Vu,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((c=o.qbittorrent)==null?void 0:c.downloadPath)},i((f=o.qbittorrent)==null?void 0:f.downloadPath),9,Gu)])]),t("li",ju,[t("div",Uu,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",qu,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,Ru)])]),t("li",Wu,[t("div",Hu,[t("span",null,i(e(a)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",Ju,[t("span",null,i(e(a)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):C("",!0)])}}});var Ku=N(Zu,[["__scopeId","data-v-086db06c"]]);const Qu={class:"app-container_transmission"},Xu={class:"transmission-item"},tc={class:"transmission-item_name"},ec={class:"transmission-item_value"},ac={key:0,class:"configure"},oc={key:1,class:"configure enabel"},nc={class:"transmission-item"},ic={class:"transmission-item_name"},rc={class:"transmission-item_value"},sc=["href"],dc={class:"transmission-item"},lc={class:"transmission-item_name"},uc={class:"transmission-item_value"},cc=["href"],pc=I({props:{transmission:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var s;return`http://${location.hostname}${(s=n.transmission)==null?void 0:s.webPath}`});return(s,p)=>{var w,m,c,f;return r(),d("ul",Qu,[t("li",Xu,[t("div",tc,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",ec,[((w=o.transmission)==null?void 0:w.status)=="running"?(r(),d("span",ac,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),d("span",oc,i(e(a)("\u672A\u542F\u52A8")),1))])]),((m=o.transmission)==null?void 0:m.status)=="running"?(r(),d(U,{key:0},[t("li",nc,[t("div",ic,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",rc,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((c=o.transmission)==null?void 0:c.downloadPath)},i((f=o.transmission)==null?void 0:f.downloadPath),9,sc)])]),t("li",dc,[t("div",lc,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",uc,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,cc)])])],64)):C("",!0)])}}});var fc=N(pc,[["__scopeId","data-v-3232162a"]]);const mc={},gc={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"},vc=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),bc=[vc];function hc(o,n){return r(),d("svg",gc,bc)}var Jt=N(mc,[["render",hc]]);const Ne=o=>(it("data-v-395b81d2"),o=o(),rt(),o),_c={key:0,class:"action"},xc={class:"title"},wc={class:"load_service input_row"},kc={class:"left"},yc={class:"radios"},Fc=Ne(()=>t("label",{for:"Aria2"},"Aria2",-1)),Ec={class:"radios"},$c=Ne(()=>t("label",{for:"qB"},"qBittorrent",-1)),Cc={class:"radios"},Dc=Ne(()=>t("label",{for:"Tr"},"Transmission",-1)),Bc=["onSubmit"],Yc={class:"input_row"},Ac={class:"left"},Sc={class:"tooltip-trigger"},zc={class:"tooltip-text tooltip-top"},Pc={class:"dowload_dir_tip"},Tc={class:"myinput_wrap"},Ic={class:"input_row"},Mc={class:"left"},Lc={class:"tooltip-trigger"},Nc={class:"tooltip-text tooltip-top"},Oc={class:"dowload_dir_tip"},Vc={class:"myinput_wrap"},Gc={class:"input_row"},jc={class:"left"},Uc={class:"tooltip-trigger"},qc={class:"tooltip-text tooltip-bottom"},Rc={class:"dowload_rpc_tip"},Wc=["placeholder"],Hc={class:"input_row"},Jc={class:""},Zc={class:"radios"},Kc={for:"default"},Qc={class:"radios"},Xc={for:"add"},t1={class:"input_row"},e1=Ne(()=>t("div",{class:"left"},null,-1)),a1={class:"myinput_wrap Tracker_input"},o1=["placeholder"],n1=["onSubmit"],i1={class:"input_row"},r1={class:"left"},s1={class:"tooltip-trigger"},d1={class:"tooltip-text tooltip-top"},l1={class:"dowload_dir_tip"},u1={class:"myinput_wrap"},c1={class:"input_row"},p1={class:"left"},f1={class:"tooltip-trigger"},m1={class:"tooltip-text tooltip-top"},g1={class:"dowload_dir_tip"},v1={class:"myinput_wrap"},b1=["onSubmit"],h1={class:"input_row"},_1={class:"left"},x1={class:"tooltip-trigger"},w1={class:"tooltip-text tooltip-top"},k1={class:"dowload_dir_tip"},y1={class:"myinput_wrap"},F1={class:"input_row"},E1={class:"left"},$1={class:"tooltip-trigger"},C1={class:"tooltip-text tooltip-top"},D1={class:"dowload_dir_tip"},B1={class:"myinput_wrap"},Y1={class:"btns"},A1={key:1,class:"action"},S1={class:"title"},z1={class:"finished"},P1={class:"successed"},T1={class:"btns"},I1=I({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(""),s=F(""),p=F(""),w=F(""),m=F("default"),c=F("Aria2"),f=F(""),g=F(""),_=F(""),k=F(""),b=F([]),h=F([]),v=F(0);Yt(()=>{var V,T,M,W,bt,Bt,gt,Mt,Ut,Tt;switch(n.defaultTab){case"aria2":c.value="Aria2";break;case"qbittorrent":c.value="qBittorrent";break;case"transmission":c.value="Transmission";break}b.value=n.partitionList.map(Lt=>({key:Lt})),h.value=n.partitionList.filter(Lt=>Lt.startsWith("/mnt/")).map(Lt=>Lt.replace(/(\/mnt\/[^/]+).*/,"$1")),p.value=((V=n.services.aria2)==null?void 0:V.configPath)||"";const A=((T=n.services.aria2)==null?void 0:T.downloadPath)||((M=n.services.qbittorrent)==null?void 0:M.downloadPath)||((W=n.services.transmission)==null?void 0:W.downloadPath);A&&(w.value=A);const B=(bt=n.services.aria2)==null?void 0:bt.rpcToken;B&&(u.value=B),f.value=((Bt=n.services.qbittorrent)==null?void 0:Bt.configPath)||"";const S=((gt=n.services.qbittorrent)==null?void 0:gt.downloadPath)||A||((Mt=n.services.transmission)==null?void 0:Mt.downloadPath);S&&(g.value=S),_.value=((Ut=n.services.transmission)==null?void 0:Ut.configPath)||"";const R=((Tt=n.services.transmission)==null?void 0:Tt.downloadPath)||A||S;R&&(k.value=R)});const x=()=>{let A=p.value,B=w.value;A==null||A==""||B==null||B==""||O(this,null,function*(){if(yield Dt.checkAndInstallApp("app-meta-aria2","Aria2")){const R=E.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.Aria2Init.POST({configPath:A,downloadPath:B,rpcToken:u.value,btTracker:m.value=="add"?s.value:""}).then(V=>{var T;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((T=V.data)!=null&&T.error)throw V.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(V=>E.Error(V)).finally(()=>R.Close())}})},y=()=>{let A=f.value,B=g.value;A==null||A==""||B==null||B==""||O(this,null,function*(){if(yield Dt.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const R=E.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.qbitorrentInit.POST({configPath:A,downloadPath:B}).then(V=>{var T;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((T=V.data)!=null&&T.error)throw V.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(V=>E.Error(V)).finally(()=>R.Close())}})},$=()=>{let A=_.value,B=k.value;A==null||A==""||B==null||B==""||O(this,null,function*(){if(yield Dt.checkAndInstallApp("app-meta-transmission","Transmission")){const R=E.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.transmissionInit.POST({configPath:A,downloadPath:B}).then(V=>{var T;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((T=V.data)!=null&&T.error)throw V.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(V=>E.Error(V)).finally(()=>R.Close())}})},Y=A=>{A.preventDefault(),n.Close&&n.Close()},P=A=>{A.preventDefault(),location.reload()};return(A,B)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[v.value==0?(r(),d("div",_c,[t("h2",xc,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",wc,[t("div",kc,[t("span",null,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",yc,[L(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":B[0]||(B[0]=S=>c.value=S),name:"download",id:"Aria2"},null,512),[[Ft,c.value]]),Fc]),t("div",Ec,[L(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":B[1]||(B[1]=S=>c.value=S),name:"download",id:"qB"},null,512),[[Ft,c.value]]),$c]),t("div",Cc,[L(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":B[2]||(B[2]=S=>c.value=S),name:"download",id:"Tr"},null,512),[[Ft,c.value]]),Dc])])])]),c.value=="Aria2"?(r(),d("form",{key:0,onSubmit:ut(x,["prevent"])},[t("ul",null,[t("li",null,[t("div",Yc,[t("div",Ac,[t("span",Sc,[D(Jt),t("div",null,[t("div",zc,[t("span",Pc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",Tc,[D(Zt,{modelValue:p.value,"onUpdate:modelValue":B[3]||(B[3]=S=>p.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:h.value.concat("/root").map(S=>({key:S+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Ic,[t("div",Mc,[t("span",Lc,[D(Jt),t("div",null,[t("div",Nc,[t("span",Oc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",Vc,[D(Zt,{modelValue:w.value,"onUpdate:modelValue":B[4]||(B[4]=S=>w.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:b.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Gc,[t("div",jc,[t("span",Uc,[D(Jt),t("div",null,[t("div",qc,[t("span",Rc,i(e(a)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,i(e(a)("RPC \u4EE4\u724C\uFF1A")),1)]),L(t("input",{type:"text",class:"RPC_input",placeholder:e(a)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":B[5]||(B[5]=S=>u.value=S)},null,8,Wc),[[et,u.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",Hc,[t("div",Jc,[t("span",null,i(e(a)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",Zc,[L(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":B[6]||(B[6]=S=>m.value=S)},null,512),[[Ft,m.value]]),t("label",Kc,i(e(a)("\u9ED8\u8BA4")),1)]),t("div",Qc,[L(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":B[7]||(B[7]=S=>m.value=S)},null,512),[[Ft,m.value]]),t("label",Xc,i(e(a)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",t1,[e1,t("div",a1,[m.value=="add"?L((r(),d("textarea",{key:0,"onUpdate:modelValue":B[8]||(B[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,o1)),[[et,s.value,void 0,{trim:!0}]]):C("",!0)])])])])],40,Bc)):C("",!0),c.value=="qBittorrent"?(r(),d("form",{key:1,onSubmit:ut(y,["prevent"])},[t("ul",null,[t("li",null,[t("div",i1,[t("div",r1,[t("span",s1,[D(Jt),t("div",null,[t("div",d1,[t("span",l1,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",u1,[D(Zt,{modelValue:f.value,"onUpdate:modelValue":B[9]||(B[9]=S=>f.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:h.value.concat("/root").map(S=>({key:S+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",c1,[t("div",p1,[t("span",f1,[D(Jt),t("div",null,[t("div",m1,[t("span",g1,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",v1,[D(Zt,{modelValue:g.value,"onUpdate:modelValue":B[10]||(B[10]=S=>g.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:b.value},null,8,["modelValue","title","options"])])])])])],40,n1)):C("",!0),c.value=="Transmission"?(r(),d("form",{key:2,onSubmit:ut($,["prevent"])},[t("ul",null,[t("li",null,[t("div",h1,[t("div",_1,[t("span",x1,[D(Jt),t("div",null,[t("div",w1,[t("span",k1,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",y1,[D(Zt,{modelValue:_.value,"onUpdate:modelValue":B[11]||(B[11]=S=>_.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:h.value.concat("/root").map(S=>({key:S+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",F1,[t("div",E1,[t("span",$1,[D(Jt),t("div",null,[t("div",C1,[t("span",D1,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",B1,[D(Zt,{modelValue:k.value,"onUpdate:modelValue":B[12]||(B[12]=S=>k.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:b.value},null,8,["modelValue","title","options"])])])])])],40,b1)):C("",!0),t("div",Y1,[c.value=="Aria2"?(r(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:x},i(e(a)("\u542F\u7528")),1)):C("",!0),c.value=="qBittorrent"?(r(),d("button",{key:1,class:"cbi-button cbi-button-apply",onClick:y},i(e(a)("\u542F\u7528")),1)):C("",!0),c.value=="Transmission"?(r(),d("button",{key:2,class:"cbi-button cbi-button-apply",onClick:$},i(e(a)("\u542F\u7528")),1)):C("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},i(e(a)("\u53D6\u6D88")),1)])])):v.value==1?(r(),d("div",A1,[t("h2",S1,i(e(a)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:c.value})),1),t("div",z1,[D(sa)]),t("p",P1,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",T1,[t("button",{class:"cbi-button cbi-button-apply",onClick:P},i(e(a)("\u786E\u5B9A")),1)])])):C("",!0)]),_:1},8,["Close"]))}});var M1=N(I1,[["__scopeId","data-v-395b81d2"]]);const L1=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(M1,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},ca=o=>(it("data-v-2299b58c"),o=o(),rt(),o),N1={class:"content"},O1={class:"tab"},V1=ca(()=>t("div",{class:"title"},"Aria2",-1)),G1={key:0},j1={key:1},U1=ca(()=>t("div",{class:"title"},"qBittorrent",-1)),q1={key:0},R1={key:1},W1=ca(()=>t("div",{class:"title"},"Transmission",-1)),H1={key:0},J1={key:1},Z1=I({setup(o){const{$gettext:n}=H(),a=F(!1),l=F("aria2"),u=b=>{l.value=b},s=F();setTimeout(()=>{G.Guide.DownloadService.Status.GET().then(b=>{var h;if((h=b==null?void 0:b.data)!=null&&h.result){const v=b.data.result;s.value=v}})},800),F(!1);const w=F(!1),m=()=>{w.value=!w.value},c=()=>{G.Guide.DownloadPartition.List.GET().then(b=>{var v,x;let h=[];(x=(v=b==null?void 0:b.data)==null?void 0:v.result)!=null&&x.partitionList&&(h=b.data.result.partitionList),L1({services:s.value,partitionList:h,defaultTab:l.value})})},f=(b,h,v)=>O(this,null,function*(){m(),Dt.installAndGo(b,h,v)}),g=()=>{f("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},_=()=>{f("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},k=()=>{f("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(b,h)=>(r(),Z(Wt,{title:e(n)("\u4E0B\u8F7D\u670D\u52A1"),showSettings:!0,onFooterClick:c,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":h[4]||(h[4]=v=>a.value=v)},{icon:j(()=>[D(Kt,{color:"#00a63e",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:c},[D(Kt,{color:"#0a0a0a",class:"icon1 downloadIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u4E0B\u8F7D\u7BA1\u7406")),1),Boolean(s.value)?(r(),d("div",{key:0,class:"rotation",onClick:h[0]||(h[0]=ut(v=>a.value=!a.value,["stop"]))},[D(Ee,{class:"moreIcon"})])):C("",!0)])]),"settings-menu":j(()=>[t("div",null,[t("a",{onClick:g},i(e(n)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:_},i(e(n)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:k},i(e(n)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:j(()=>{var v,x,y,$,Y,P,A,B,S;return[t("div",N1,[t("div",O1,[t("div",{class:st(["item cloud",{active:l.value=="aria2"}]),onClick:h[1]||(h[1]=R=>u("aria2"))},[D(Kt,{color:"#f54900",class:"icon2"}),V1,((x=(v=s.value)==null?void 0:v.aria2)==null?void 0:x.status)=="running"?(r(),d("span",G1,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),d("span",j1,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:st(["item memory",{active:l.value=="qbittorrent"}]),onClick:h[2]||(h[2]=R=>u("qbittorrent"))},[D(Kt,{color:"#4a5565",class:"icon2"}),U1,(($=(y=s.value)==null?void 0:y.qbittorrent)==null?void 0:$.status)=="running"?(r(),d("span",q1,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),d("span",R1,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:st(["item network",{active:l.value=="transmission"}]),onClick:h[3]||(h[3]=R=>u("transmission"))},[D(Kt,{color:"#009689",class:"icon2"}),W1,((P=(Y=s.value)==null?void 0:Y.transmission)==null?void 0:P.status)=="running"?(r(),d("span",H1,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),d("span",J1,i(e(n)("\u672A\u542F\u7528")),1))],2)]),l.value=="aria2"?(r(),Z(Su,{key:0,aria2:(A=s.value)==null?void 0:A.aria2},null,8,["aria2"])):l.value=="qbittorrent"?(r(),Z(Ku,{key:1,qbittorrent:(B=s.value)==null?void 0:B.qbittorrent},null,8,["qbittorrent"])):l.value=="transmission"?(r(),Z(fc,{key:2,transmission:(S=s.value)==null?void 0:S.transmission},null,8,["transmission"])):C("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var K1=N(Z1,[["__scopeId","data-v-2299b58c"]]);const Q1={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},X1=["fill"],We=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",Q1,[t("path",{d:"M584.675 134.868C561.143 130.36 536.847 128 512 128a392 392 0 0 0-3.783 0.018l-24.19 169.685A32 32 0 0 1 466.68 321.8l-99.807 49.992-50.81 127.247a32 32 0 0 1-24.45 19.697l-162.145 27.069c8.105 92.926 49.308 176.368 111.754 238.473L223.089 657.52c-2.323-16.238 8.01-31.603 23.924-35.578l226.491-56.558a32 32 0 0 1 30.368 8.407l96.768 96.662a8 8 0 0 0 8.728 1.726l150.425-62.602 31.42-0.772c17.669-0.434 32.343 13.536 32.777 31.204 0.007 0.262 0.01 0.524 0.01 0.786v95.11c45.314-63.03 72-140.351 72-223.906 0-40.5-6.27-79.535-17.891-116.188l-103.215 27.656a32 32 0 0 1-23.36-2.684l-127.842-68.287a32 32 0 0 1-16.712-24.553l-22.305-193.076z m58.509 16.124l18.31 159.176 109.262 56.623 86.458-23.166c-43.44-88.897-120.207-158.532-214.03-192.633z m-336.132 685.8C366.357 874.295 436.644 896 512 896c94.536 0 181.093-34.162 248-90.814V683.96a8 8 0 0 0-11.074-7.386l-138.21 57.53a32 32 0 0 1-34.913-6.903l-99.24-99.132a8 8 0 0 0-7.592-2.102l-178.437 44.563a8 8 0 0 0-5.981 8.894l22.499 157.37zM128.65 489.473l140.726-23.504 49.219-123.244a32 32 0 0 1 15.386-16.744l96.748-48.46 20.65-144.762C275.347 160.675 139.137 308.212 128.65 489.47zM512 960C264.576 960 64 759.424 64 512S264.576 64 512 64s448 200.576 448 448-200.576 448-448 448z",fill:o.color,"p-id":"8679"},null,8,X1)]))}}),t2={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},e2=["fill"],a2=["fill"],o2=["fill"],ja=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",t2,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,e2),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,a2),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,o2)]))}}),n2={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},i2=["fill"],r2=["fill"],s2=["fill"],d2=I({props:{color:{type:String,default:"#4a5565"}},setup(o){return(n,a)=>(r(),d("svg",n2,[t("path",{d:"M909.1 499.1h-797c-27.5 0-50 22.5-50 50v351.5c0 27.5 22.5 50 50 50h797c27.5 0 50-22.5 50-50V549.1c0-27.5-22.5-50-50-50z m-14 387.5h-769V563.1h769v323.5z",fill:o.color,"p-id":"19594"},null,8,i2),t("path",{d:"M191.932 734.691a63 63 0 1 0 124.375-20.173 63 63 0 1 0-124.375 20.173zM395.56 774.136a63 63 0 1 0 89.093-89.097 63 63 0 1 0-89.094 89.097zM702.8 296.6c-19.4 0-35.2 8.4-35.2 18.7v198c0 10.3 15.9 18.7 35.2 18.7 19.4 0 35.2-8.4 35.2-18.7v-198c0.1-10.3-15.8-18.7-35.2-18.7z",fill:o.color,"p-id":"19595"},null,8,r2),t("path",{d:"M701.8 218.6c-49.7 0-93.2 31.8-117.7 79.5h41.5c19.3-24.3 46.3-39.5 76.2-39.5 29.9 0 56.9 15.2 76.2 39.5h41.5c-24.4-47.7-68-79.5-117.7-79.5z m5.3-45.5c41.1 0 78.3 15.2 104.8 39.5H869c-33.7-47.7-93.7-79.5-162-79.5s-128.3 31.8-162 79.5h57.1c26.6-24.3 63.8-39.5 105-39.5z",fill:o.color,"p-id":"19596"},null,8,s2)]))}}),l2={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},u2=["fill"],wa=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),d("svg",l2,[t("path",{d:"M526.41 117.029v58.514a7.314 7.314 0 0 1-7.315 7.314H219.429a36.571 36.571 0 0 0-35.987 29.989l-0.585 6.583V804.57a36.571 36.571 0 0 0 29.989 35.987l6.583 0.585H804.57a36.571 36.571 0 0 0 35.987-29.989l0.585-6.583v-317.44a7.314 7.314 0 0 1 7.314-7.314h58.514a7.314 7.314 0 0 1 7.315 7.314v317.44a109.714 109.714 0 0 1-99.182 109.203l-10.533 0.512H219.43a109.714 109.714 0 0 1-109.203-99.182l-0.512-10.533V219.43a109.714 109.714 0 0 1 99.182-109.203l10.533-0.512h299.666a7.314 7.314 0 0 1 7.314 7.315z m307.345 31.817l41.4 41.399a7.314 7.314 0 0 1 0 10.313L419.985 655.726a7.314 7.314 0 0 1-10.313 0l-41.399-41.4a7.314 7.314 0 0 1 0-10.312l455.168-455.168a7.314 7.314 0 0 1 10.313 0z","p-id":"4497",fill:o.color},null,8,u2)]))}}),c2={class:"actioner-container"},p2={class:"actioner-container_header"},f2={class:"actioner-container_body"},m2={class:"label-item"},g2={class:"label_info"},v2={class:"label-item"},b2={class:"label_info"},h2={class:"label-item"},_2={class:"label_info"},x2={class:"label-item"},w2={class:"label_info"},k2={class:"actioner-container_footer"},y2=I({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),s=()=>{a.onSetup()},p=F(a.active),w=()=>{switch(n("update:active",p.value),p.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(m,c)=>(r(),d("div",c2,[t("div",p2,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",f2,[t("div",m2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[0]||(c[0]=f=>p.value=f),value:"ddnsto"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("DDNSTO")),1)]),t("p",g2,i(e(l)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",v2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[1]||(c[1]=f=>p.value=f),value:"ali"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("\u963F\u91CC\u4E91")),1)]),t("p",b2,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",h2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[2]||(c[2]=f=>p.value=f),value:"dnspod"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("Dnspod")),1)]),t("p",_2,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",x2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[3]||(c[3]=f=>p.value=f),value:"oray"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("\u82B1\u751F\u58F3")),1)]),t("p",w2,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",k2,[t("div",{class:"close",onClick:s},i(e(l)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:w},i(e(l)("\u4E0B\u4E00\u6B65")),1)])]))}});var F2=N(y2,[["__scopeId","data-v-73552138"]]);const E2=o=>(it("data-v-b9ee57da"),o=o(),rt(),o),$2={class:"actioner-container"},C2={class:"actioner-container_body"},D2=E2(()=>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)),B2={class:"body-title"},Y2={class:"body-tips"},A2={class:"body-info"},S2=["href"],z2={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},P2={class:"actioner-container_footer"},T2=I({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=H(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,s)=>(r(),d("div",$2,[t("div",C2,[D2,t("div",B2,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",Y2,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",A2,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,S2)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",z2,i(e(n)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",P2,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var I2=N(T2,[["__scopeId","data-v-b9ee57da"]]);const M2=o=>(it("data-v-aefb6fdc"),o=o(),rt(),o),L2={class:"actioner-container"},N2={class:"actioner-container_header"},O2=M2(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),V2={class:"actioner-container_footer"},G2=I({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.onSetup()},s=p=>{if(p.data.auth=="ddnsto"){const w=p.data.sign,m=p.data.token;w&&m&&(removeEventListener("message",s),n.onDdnstoConfig(w,m),n.onSetup("ddnsto-run"))}};return Yt(()=>{window.addEventListener("message",s)}),Gt(()=>{removeEventListener("message",s)}),(p,w)=>(r(),d("div",L2,[t("div",N2,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),O2,t("div",V2,[t("div",{class:"close",onClick:u},i(e(a)("\u53D6\u6D88")),1)])]))}});var j2=N(G2,[["__scopeId","data-v-aefb6fdc"]]);const U2={class:"actioner-container"},q2={class:"actioner-container_header"},R2={class:"actioner-container_body ddnsto-bind"},W2=["src"],H2=I({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),s=Q(()=>{const{domain:m,token:c,sign:f,routerId:g,netaddr:_}=a.config,k=encodeURIComponent(m),b=encodeURIComponent(_);return`https://www.kooldns.cn/bind/#/domain?domain=${k}&sign=${f}&token=${c}&routerId=${g}&netaddr=${b}`}),p=m=>{if(m.data){const{auth:c,url:f}=m.data;c==="ddnsto"&&f&&w(f)}},w=m=>O(this,null,function*(){var c;try{const f=yield G.Guide.DdnstoAddress.POST({address:m});f!=null&&f.data&&(((c=f==null?void 0:f.data)==null?void 0:c.success)||0)==0&&(n("update:domain",m),a.onSetup("ddnsto-save"))}catch(f){}});return Yt(()=>{window.addEventListener("message",p)}),Gt(()=>{removeEventListener("message",p)}),(m,c)=>(r(),d("div",U2,[t("div",q2,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",R2,[t("iframe",{src:e(s)},null,8,W2)])]))}});var J2=N(H2,[["__scopeId","data-v-0e2b47e6"]]);const Z2=o=>(it("data-v-29e2aec8"),o=o(),rt(),o),K2={class:"actioner-container"},Q2={class:"actioner-container_body"},X2=Z2(()=>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)),t6={class:"body-title"},e6={class:"body-tips"},a6={class:"body-info"},o6=["href"],n6={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},i6={class:"actioner-container_footer"},r6=I({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=H(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,s)=>(r(),d("div",K2,[t("div",Q2,[X2,t("div",t6,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",e6,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",a6,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,o6)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",n6,i(e(n)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",i6,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var s6=N(r6,[["__scopeId","data-v-29e2aec8"]]);const d6={class:"actioner-container"},l6={class:"actioner-container_header"},u6={class:"actioner-container_body"},c6={class:"actioner-container_footer"},p6=I({props:{onSetup:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.onSetup()},s=()=>O(this,null,function*(){if(m.value)return;m.value=!0;const f=E.Loading(a("\u5B89\u88C5\u4E2D..."));try{if(yield Dt.installApp("app-meta-ddnsto",30)){n.onSetup("ddnsto-login");return}else p.value=a("\u5B89\u88C5\u5931\u8D25")}catch(g){p.value=g}finally{f.Close()}m.value=!1}),p=F(a("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),w=F(!1),m=F(!1);return(()=>O(this,null,function*(){try{const f=yield G.App.Check.POST({name:"ddnsto"});if(f!=null&&f.data){const{result:g,error:_}=f.data;if(_){p.value=_;return}if(g){if(g.status=="installed"){n.onSetup("ddnsto-login");return}g.status=="uninstalled"&&(p.value=a("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(f){p.value=f}w.value=!0}))(),(f,g)=>(r(),d("div",d6,[t("div",l6,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",u6,[t("span",null,i(p.value),1)]),t("div",c6,[w.value?(r(),d(U,{key:0},[t("div",{class:"close",onClick:u},i(e(a)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:s},i(e(a)("\u786E\u5B9A")),1)],64)):C("",!0)])]))}});var f6=N(p6,[["__scopeId","data-v-169b4450"]]);const m6={class:"actioner-container"},g6={class:"actioner-container_header"},v6={class:"actioner-container_body"},b6=I({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(a("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(f=>O(this,null,function*(){var g;try{const _=yield G.Guide.Ddnsto.POST({token:n.token});_!=null&&_.data&&(_.data.error&&(u.value=_.data.error),(((g=_==null?void 0:_.data)==null?void 0:g.success)||0)==0&&w())}catch(_){u.value=_}}))(n.token);const p=F(),w=()=>{const f=()=>O(this,null,function*(){if((yield m())===!0){c();return}p.value=window.setTimeout(f,2e3)});f()},m=()=>O(this,null,function*(){try{const f=yield G.App.Check.POST({name:"ddnsto",checkRunning:!0});if(f!=null&&f.data){f.data.error&&(u.value=f.data.error);const g=f.data.result;if((g==null?void 0:g.status)=="running")return!0}}catch(f){u.value=f}return!1});Gt(()=>{p.value&&clearInterval(p.value)});const c=()=>O(this,null,function*(){var f;try{const g=yield G.Guide.DdntoConfig.GET();if(g!=null&&g.data&&(g.data.error&&(u.value=g.data.error),(((f=g==null?void 0:g.data)==null?void 0:f.success)||0)==0&&g.data.result)){const _=g.data.result;n.onDdnstoLocalConfig(_.netAddr,_.deviceId),n.onSetup("ddnsto-bind")}}catch(g){u.value=g}});return(f,g)=>(r(),d("div",m6,[t("div",g6,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",v6,i(u.value),1)]))}});var h6=N(b6,[["__scopeId","data-v-6590a3fa"]]);const _6={class:"action-main"},x6=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=F("ddnsto-install"),l=m=>{m!=null?a.value=m:u()},u=()=>{n.Close&&n.Close()},s=mt({sign:"",token:"",domain:n.url,netaddr:"",routerId:""}),p=(m,c)=>{s.sign=m,s.token=c},w=(m,c)=>{s.netaddr=m,s.routerId=c};return(m,c)=>(r(),Z(_t,{type:1},{default:j(()=>[t("div",_6,[a.value=="ddnsto-install"?(r(),Z(f6,{key:0,onSetup:l})):a.value=="ddnsto-login"?(r(),Z(j2,{key:1,onSetup:l,onDdnstoConfig:p})):a.value=="ddnsto-run"?(r(),Z(h6,{key:2,onSetup:l,token:e(s).token,onDdnstoLocalConfig:w},null,8,["token"])):a.value=="ddnsto-bind"?(r(),Z(J2,{key:3,onSetup:l,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":c[0]||(c[0]=f=>e(s).domain=f)},null,8,["config","domain"])):a.value=="ddnsto-save"?(r(),Z(s6,{key:4,onSetup:l,target:e(s).domain},null,8,["target"])):C("",!0)])]),_:1}))}});var w6=N(x6,[["__scopeId","data-v-3b80943c"]]);const k6=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(w6,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},y6={class:"action"},F6={class:"action-header"},E6=["innerHTML"],$6={class:"action-footer"},C6=I({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.next&&n.next(),n.Close&&n.Close()},s=()=>{n.clear&&n.clear(),n.Close&&n.Close()},p=()=>{n.continuer&&n.continuer(),n.Close&&n.Close()};return(w,m)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[t("div",y6,[t("div",F6,i(o.title||e(a)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,E6),t("div",$6,[o.clear?(r(),d("div",{key:0,class:"clear",onClick:s},i(o.clearTitle||e(a)("\u8FD4\u56DE")),1)):C("",!0),t("div",{class:"next",onClick:u},i(o.nextTitle||e(a)("\u786E\u5B9A")),1),o.continuer?(r(),d("div",{key:1,class:"next",onClick:p},i(o.continuerTitle||e(a)("\u7EE7\u7EED\u4FDD\u5B58")),1)):C("",!0)])])]),_:1},8,["Close"]))}});var D6=N(C6,[["__scopeId","data-v-145a3c50"]]);const Se=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(D6,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},B6=o=>(it("data-v-2c659599"),o=o(),rt(),o),Y6={class:"actioner-container"},A6=["onSubmit"],S6={class:"actioner-container_header"},z6={key:0,class:"title_info"},P6={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},T6={key:1,class:"title_info"},I6={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},M6={key:2,class:"title_info"},L6={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},N6={class:"label-item"},O6={class:"label-item_key"},V6={class:"label-item_value"},G6={value:"ipv4"},j6={value:"ipv6"},U6={class:"label_tips"},q6=B6(()=>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)),R6={class:"info"},W6={class:"label-item"},H6={class:"label-item_key"},J6={class:"label-item_value"},Z6={class:"label-item"},K6={class:"label-item_key"},Q6={class:"label-item_value"},X6=["placeholder"],t5={class:"label-item"},e5={class:"label-item_key"},a5={class:"label-item_value"},o5=["placeholder"],n5={class:"actioner-container_footer"},i5=["disabled"],r5=I({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),s=F("ipv4"),p=F(a.name),w=F(""),m=F(""),c=F(""),f=F(!1),g=()=>{a.onSetup("index")},_=()=>{f.value=!0;const v=E.Loading(l("\u68C0\u6D4B\u4E2D..."));G.Network.CheckPublickNet.POST({ipVersion:s.value}).then(x=>{var y,$;if(x!=null&&x.data){if((y=x==null?void 0:x.data)!=null&&y.error){E.Warning(x==null?void 0:x.data.error);return}if(((($=x==null?void 0:x.data)==null?void 0:$.success)||0)==0){const Y=x.data.result;Y&&Y.address?h():k();return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(x=>{E.Error(x)}).finally(()=>{v.Close(),f.value=!1})},k=()=>{Se({title:l("\u6E29\u99A8\u63D0\u793A"),nextTitle:l("\u4F7F\u7528DDNSTO"),continuerTitle:l("\u7EE7\u7EED\u4FDD\u5B58"),content:l("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){b()},continuer(){h()},clear(){}})},b=()=>{a.onSetup("ddnsto")},h=()=>{f.value=!0;const v=E.Loading(l("\u914D\u7F6E\u4E2D..."));G.Guide.PostDdns.POST({ipVersion:s.value,serviceName:p.value,domain:w.value,userName:m.value,password:c.value}).then(x=>{if(x!=null&&x.data){const{error:y,scope:$,success:Y}=x.data;if(y=="-100"&&$=="guide.ddns"){Se({title:l("\u6E29\u99A8\u63D0\u793A"),content:l("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(y){E.Warning(y);return}if((Y||0)==0){n("update:target",w.value),a.onSetup("ddns-success");return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(x=>{E.Error(x)}).finally(()=>{v.Close(),f.value=!1})};return(v,x)=>(r(),d("div",Y6,[t("form",{class:"actioner-dns",onSubmit:ut(_,["prevent"])},[t("div",S6,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:st(["actioner-container_body",o.name])},[o.name=="ali"?(r(),d("div",z6,[t("p",null,i(e(l)("\u963F\u91CC\u4E91")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",P6,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(r(),d("div",T6,[t("p",null,i(e(l)("dnspod")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",I6,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(r(),d("div",M6,[t("p",null,i(e(l)("\u82B1\u751F\u58F3")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",L6,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):C("",!0),t("div",N6,[t("div",O6,[t("span",null,i(e(l)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",V6,[L(t("select",{name:"",id:"","onUpdate:modelValue":x[0]||(x[0]=y=>s.value=y)},[t("option",G6,i(e(l)("IPv4\u5730\u5740")),1),t("option",j6,i(e(l)("IPv6\u5730\u5740")),1)],512),[[dt,s.value]])]),t("div",U6,[q6,t("span",R6,i(e(l)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",W6,[t("div",H6,[t("span",null,i(e(l)("\u57DF\u540D\uFF1A")),1)]),t("div",J6,[L(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":x[1]||(x[1]=y=>w.value=y),required:""},null,512),[[et,w.value,void 0,{trim:!0}]])])]),t("div",Z6,[t("div",K6,[t("span",null,i(e(l)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",Q6,[L(t("input",{type:"text","onUpdate:modelValue":x[2]||(x[2]=y=>m.value=y),placeholder:e(l)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,X6),[[et,m.value,void 0,{trim:!0}]])])]),t("div",t5,[t("div",e5,[t("span",null,i(e(l)("\u5BC6\u7801\uFF1A")),1)]),t("div",a5,[L(t("input",{type:"password","onUpdate:modelValue":x[3]||(x[3]=y=>c.value=y),placeholder:e(l)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,o5),[[et,c.value,void 0,{trim:!0}]])])])],2),t("div",n5,[t("div",{class:"close",onClick:g,type:"button"},i(e(l)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:f.value},i(e(l)("\u4FDD\u5B58")),9,i5)])],40,A6)]))}});var He=N(r5,[["__scopeId","data-v-2c659599"]]);const s5={class:"action-main"},d5=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=F(""),l=F("index"),u=m=>{if(m!=null){if(m=="ddnsto"){s();return}l.value=m}else p()},s=()=>{p(),k6({url:n.url})},p=()=>{n.Close&&n.Close()},w=F("ddnsto");return(m,c)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[t("div",s5,[l.value=="index"?(r(),Z(F2,{key:0,onSetup:u,active:w.value,"onUpdate:active":c[0]||(c[0]=f=>w.value=f)},null,8,["active"])):l.value=="ddns-ali"?(r(),Z(He,{key:1,onSetup:u,target:a.value,"onUpdate:target":c[1]||(c[1]=f=>a.value=f),name:"ali"},null,8,["target"])):l.value=="ddns-dnspod"?(r(),Z(He,{key:2,onSetup:u,target:a.value,"onUpdate:target":c[2]||(c[2]=f=>a.value=f),name:"dnspod"},null,8,["target"])):l.value=="ddns-oray"?(r(),Z(He,{key:3,onSetup:u,target:a.value,"onUpdate:target":c[3]||(c[3]=f=>a.value=f),name:"oray"},null,8,["target"])):l.value=="ddns-success"?(r(),Z(I2,{key:4,onSetup:u,target:a.value},null,8,["target"])):C("",!0)])]),_:1},8,["Close"]))}});var l5=N(d5,[["__scopeId","data-v-8a1e6470"]]);const u5=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(l5,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},Oe=o=>(it("data-v-d3a8d744"),o=o(),rt(),o),c5={class:"content"},p5={class:"tab"},f5=Oe(()=>t("div",{class:"title"},"DDNSTO",-1)),m5={key:0},g5={key:1},v5=Oe(()=>t("div",{class:"title"},"IPv4",-1)),b5={key:0},h5={key:1},_5=Oe(()=>t("div",{class:"title"},"IPv6",-1)),x5={key:0},w5={key:1},k5={key:0,class:"info"},y5={class:"status"},F5=Oe(()=>t("div",null,"DDNSTO",-1)),E5={key:0},$5={key:1,class:"offline"},C5={class:"title_box"},D5={class:"title"},B5={class:"path"},Y5=["href","title"],A5={key:1},S5={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},z5={key:1,class:"info"},P5={class:"status"},T5={key:0,class:"offline"},I5={key:1},M5={class:"title_box"},L5={class:"title"},N5={class:"path"},O5={key:0},V5=["href"],G5={key:2,href:"/cgi-bin/luci/admin/services/ddns"},j5={key:2,class:"info"},U5={class:"status"},q5={key:0,class:"offline"},R5={key:1},W5={class:"title_box"},H5={class:"title"},J5={class:"path"},Z5={key:0},K5=["href"],Q5={key:2,href:"/cgi-bin/luci/admin/services/ddns"},X5=I({setup(o){const{$gettext:n}=H(),a=F(0),l=g=>{a.value=g};let u=!1,s;const p=F({}),w=function(){!u||(document.hidden?Promise.resolve():G.Guide.GetDdns.GET().then(g=>{var _;g!=null&&g.data&&(((_=g==null?void 0:g.data)==null?void 0:_.success)||0)==0&&g.data.result&&(p.value=g.data.result)})).then(()=>{!u||(s=window.setTimeout(w,3e3))})};Yt(()=>{u=!0,s=window.setTimeout(w,1100)}),Gt(()=>{s!==void 0&&window.clearTimeout(s),u=!1});const m=()=>{u5({url:p.value.ddnstoDomain})},c=Q(()=>{const g=p.value.ipv4Domain;return!g||g=="Stopped"||g=="Disabled"?g:`http://${g}`}),f=Q(()=>{const g=p.value.ipv6Domain;return!g||g=="Stopped"||g=="Disabled"?g:`http://${g}`});return(g,_)=>(r(),Z(Wt,{title:e(n)("\u8FDC\u7A0B\u57DF\u540D"),showSettings:!0,style:{width:"100%",height:"100%",display:"block"}},{icon:j(()=>[D(We,{color:"#00a63e",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:m},[D(We,{color:"#0a0a0a",class:"icon1 earthIcon",style:{"margin-right":"6px"}}),nt(" "+i(e(n)("\u57DF\u540D\u914D\u7F6E")),1)])]),default:j(()=>{var k,b,h,v,x,y;return[t("div",c5,[t("div",p5,[t("div",{class:st(["item cloud",{active:a.value==0}]),style:ft({border:e(c)||e(f)?"":"none"}),onClick:_[0]||(_[0]=$=>l(0))},[D(We,{color:"#155dfc",class:"icon2"}),f5,(k=p.value)!=null&&k.ddnstoDomain?(r(),d("span",m5,i(e(n)("\u6B63\u5E38")),1)):(r(),d("span",g5,i(e(n)("\u672A\u542F\u52A8")),1))],6),e(c)?(r(),d("div",{key:0,class:st(["item memory",{active:a.value==1}]),onClick:_[1]||(_[1]=$=>l(1))},[D(ja,{color:"#00a63e",class:"icon2"}),v5,e(c)=="Stopped"||e(c)=="Disabled"?(r(),d("span",b5,i(e(n)("\u79BB\u7EBF")),1)):(r(),d("span",h5,i(e(n)("\u6B63\u5E38")),1))],2)):C("",!0),e(f)?(r(),d("div",{key:1,class:st(["item network",{active:a.value==2}]),onClick:_[2]||(_[2]=$=>l(2))},[D(d2,{class:"icon2"}),_5,e(f)=="Stopped"||e(f)=="Disabled"?(r(),d("span",x5,i(e(n)("\u79BB\u7EBF")),1)):(r(),d("span",w5,i(e(n)("\u6B63\u5E38")),1))],2)):C("",!0)]),a.value==0?(r(),d("div",k5,[t("div",y5,[F5,(b=p.value)!=null&&b.ddnstoDomain?(r(),d("span",E5,i(e(n)("\u6B63\u5E38")),1)):(r(),d("span",$5,i(e(n)("\u672A\u542F\u52A8")),1))]),t("div",C5,[t("div",D5,i(e(n)("\u667A\u80FD\u5185\u7F51\u7A7F\u900F\u670D\u52A1")),1),t("div",B5,[(h=p.value)!=null&&h.ddnstoDomain?(r(),d("a",{key:0,class:"configure",href:(v=p.value)==null?void 0:v.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(x=p.value)==null?void 0:x.ddnstoDomain},i((y=p.value)==null?void 0:y.ddnstoDomain),9,Y5)):(r(),d("div",A5,i(e(n)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("span",null,[t("a",S5,i(e(n)("\u63A7\u5236\u53F0")),1)])])])])):C("",!0),a.value==1?(r(),d("div",z5,[t("div",P5,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(c)=="Stopped"||e(c)=="Disabled"?(r(),d("span",T5,i(e(n)("\u79BB\u7EBF")),1)):(r(),d("span",I5,i(e(n)("\u6B63\u5E38")),1))]),t("div",M5,[t("div",L5,"IPv4 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",N5,[e(c)=="Stopped"||e(c)=="Disabled"?(r(),d("div",O5,i(e(c)),1)):(r(),d("a",{key:1,class:"configure",href:e(c),target:"_blank",rel:"noopener noreferrer"},i(e(c)),9,V5)),e(c)?(r(),d("a",G5,[D(wa,{class:"icon3"})])):C("",!0)])])])):C("",!0),a.value==2?(r(),d("div",j5,[t("div",U5,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(f)=="Stopped"||e(f)=="Disabled"?(r(),d("span",q5,i(e(n)("\u79BB\u7EBF")),1)):(r(),d("span",R5,i(e(n)("\u6B63\u5E38")),1))]),t("div",W5,[t("div",H5,"IPv6 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",J5,[e(f)=="Stopped"||e(f)=="Disabled"?(r(),d("div",Z5,i(e(f)),1)):(r(),d("a",{key:1,class:"configure",href:e(f),target:"_blank",rel:"noopener noreferrer"},i(e(f)),9,K5)),e(f)?(r(),d("a",Q5,[D(wa,{class:"icon3"})])):C("",!0)])])])):C("",!0)])]}),_:1},8,["title"]))}});var t3=N(X5,[["__scopeId","data-v-d3a8d744"]]);const e3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},a3=["fill"],o3=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),d("svg",e3,[t("path",{d:"M879.674 544.51l-158.254-0.221c-8.534 2.287-17.305-2.776-19.588-11.307l-23.862-75.877-74.742 350.891c0 0-1.523 18.507-11.518 18.507s-26.9 0.281-26.9 0.281c-8.259 2.213-16.748-2.687-18.961-10.949l-92.741-457.648-70.305 330.634c-2.261 8.291-11.94 15.206-20.385 12.986l-24.876 0.339c-8.723 2.293-17.685-2.789-20.023-11.349L270.629 544.51 143.993 544.51c-8.831 0-15.993-7.159-15.993-15.993l0-31.986c0-8.831 7.162-15.993 15.993-15.993l157.429-0.516c9.565-0.304 17.685 0.788 20.023 9.351l24.386 76.092 68.642-358.907c0 0 3.4-10.894 14.397-10.894 10.994 0 34.107-0.448 34.107-0.448 8.262-2.213 16.751 2.687 18.965 10.949l91.912 454.126 67.948-326.182c2.213-8.262 8.707-15.161 16.965-12.948l27.316-0.333c8.531-2.287 17.301 2.776 19.588 11.31l46.665 148.4 127.337 0c8.835 0 15.993 7.162 15.993 15.993l0 31.986C895.667 537.352 888.508 544.51 879.674 544.51z","p-id":"5314",fill:o.color},null,8,a3)]))}}),n3=()=>{var n;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(n=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&n.matches?"dark":"light"},Ua=()=>n3()=="dark",qa=o=>(it("data-v-a2c6d680"),o=o(),rt(),o),i3={class:"network_container"},r3={class:"title_box"},s3={class:"display_flex"},d3={class:"network_tag"},l3={class:"tag_item"},u3=qa(()=>t("div",{class:"tag_dn"},null,-1)),c3={class:"tag_item"},p3=qa(()=>t("div",{class:"tag_up"},null,-1)),f3={class:"speed"},m3={class:"speed_item"},g3={style:{color:"#1596fd"}},v3={class:"speed_item"},b3={style:{color:"#00a63e"}},h3=I({setup(o){const{$gettext:n}=H();Qe([Ba,Ya,Aa,Xe,ta,Sa]);const a=F(),l=b=>{var v;const h=(v=a.value)==null?void 0:v[b];return!h||h.startTime==0?"":c(h.startTime*1e3)+"-"+c(h.endTime*1e3)},u=Q(()=>{var h;let b=[];return(h=a.value)==null||h.forEach(v=>{b.push({value:v.uploadSpeed})}),b}),s=Q(()=>{var h;let b=[];return(h=a.value)==null||h.forEach(v=>{b.push({value:v.downloadSpeed})}),b}),p=Q(()=>{var h;let b="";if(a.value){let v=((h=a.value)==null?void 0:h.length)||0;if(v>0){let x=a.value[v-1];b=f(x.uploadSpeed)+"/s"}}return b}),w=Q(()=>{var h;let b="";if(a.value){let v=((h=a.value)==null?void 0:h.length)||0;if(v>0){let x=a.value[v-1];b=f(x.downloadSpeed)+"/s"}}return b});Q(()=>{var h;let b=[];return(h=a.value)==null||h.forEach(v=>{b.push({value:v.downloadSpeed+v.uploadSpeed})}),b});const m=()=>O(this,null,function*(){var b;try{const h=yield G.Network.Statistics.GET();if(h.data&&(b=h.data.result)!=null&&b.items){const v=h.data.result.slots||10;if(h.data.result.items.lengthv?a.value=h.data.result.items.slice(v-h.data.result.items.length):a.value=h.data.result.items}}catch(h){console.log(h)}}),c=Pt.dateForm,f=Pt.byteToSize,g=F();let _=null;const k=b=>{const h=Ua();return _=ea(b,h?"dark":"light"),_.setOption({animation:!1,backgroundColor:h?"#2c2c2c":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:v=>{if(Array.isArray(v)){let x="";v.length>0&&(x=l(v[0].axisValue));for(let y=0;y${v[y].seriesName}: ${f(v[y].value)}/s`;return x.toString()}else{const x=v;return`${l(x.axisValue)}
${x.seriesName}: ${f(x.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:"",textStyle:{fontSize:12,color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(v,x){return`${f(v)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:n("\u4E0B\u8F7D"),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(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:n("\u4E0A\u4F20"),data:u.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),_};return Yt(()=>{setTimeout(()=>O(this,null,function*(){if(g.value){yield m();const b=k(g.value),h=g.value;b.resize({width:h.clientWidth,height:h.clientHeight}),window.addEventListener("resize",()=>{b.resize({width:h.clientWidth,height:h.clientHeight})});const v=()=>O(this,null,function*(){if(_!=null){if(!document.hidden){if(yield m(),_==null)return;b.setOption({series:[{name:n("\u4E0B\u8F7D"),data:s.value,type:"line",areaStyle:{},smooth:!0},{name:n("\u4E0A\u4F20"),data:u.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(v,5e3)}});setTimeout(v,5e3)}}),900)}),Gt(()=>{_!=null&&(_.dispose(),_=null)}),(b,h)=>(r(),d("div",i3,[t("div",r3,[t("div",s3,[D(o3,{color:"#20c7f7",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u6D41\u91CF")),1)]),t("div",d3,[t("div",l3,[u3,t("span",null,i(e(n)("\u4E0B\u8F7D")),1)]),t("div",c3,[p3,t("span",null,i(e(n)("\u4E0A\u4F20")),1)])])]),t("div",f3,[t("div",m3,[t("span",null,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1),t("div",g3,i(e(w)),1)]),t("div",v3,[t("span",null,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1),t("div",b3,i(e(p)),1)])]),t("div",{ref_key:"el",ref:g,class:"echart"},null,512)]))}});var _3=N(h3,[["__scopeId","data-v-a2c6d680"]]);const x3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},w3=["fill"],xe=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",x3,[t("path",{d:"M512 96c229.76 0 416 186.24 416 416S741.76 928 512 928 96 741.76 96 512 282.24 96 512 96z m-32 448l-127.317333 0.021333c0.896 20.48 2.624 40.405333 5.12 59.669334l1.984 14.293333 2.474666 15.253333c19.754667 112.896 65.728 197.738667 117.76 222.997334L480 544z m191.317333 0.021333L544 544v312.234667c50.858667-24.725333 95.936-106.368 116.373333-215.509334l1.365334-7.488 2.474666-15.232a701.013333 701.013333 0 0 0 7.104-73.984z m-382.698666 0H161.429333c11.648 129.066667 92.992 238.08 206.101334 289.066667-22.122667-34.282667-40.362667-76.416-53.76-124.032l-3.029334-11.093333-3.52-14.165334-3.242666-14.464a744.490667 744.490667 0 0 1-15.36-125.312z m573.952 0H735.36a752.661333 752.661333 0 0 1-12.672 112.128l-2.688 13.184-3.242667 14.464-3.52 14.186667c-13.653333 52.138667-32.96 98.197333-56.789333 135.104 113.109333-50.986667 194.453333-160 206.08-289.066667zM367.530667 190.890667l-2.858667 1.301333C253.013333 243.733333 172.970667 352 161.429333 480h127.189334c1.536-39.04 5.866667-76.693333 12.672-112.149333l2.688-13.184 3.242666-14.464 3.52-14.186667c13.653333-52.138667 32.96-98.197333 56.789334-135.104zM480 167.765333c-50.709333 24.618667-95.68 105.898667-116.202667 214.592l-1.536 8.405334-2.474666 15.232a701.034667 701.034667 0 0 0-7.104 74.005333H480V167.765333z m176.469333 23.146667l2.56 4.053333c20.906667 33.429333 38.229333 73.984 51.093334 119.552l3.136 11.52 3.52 14.165334 3.242666 14.464c8.362667 39.253333 13.632 81.408 15.36 125.333333h127.189334c-11.626667-129.088-92.970667-238.101333-206.101334-289.066667zM544 167.765333L544 480h127.317333a707.136 707.136 0 0 0-5.333333-61.376l-1.770667-12.629333-2.474666-15.232c-19.754667-112.874667-65.706667-197.717333-117.717334-222.997334z","p-id":"4600",fill:o.color},null,8,w3)]))}}),k3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},y3=["fill"],F3=["fill"],E3=I({props:{color:{type:String,default:"#00a63e"}},setup(o){return(n,a)=>(r(),d("svg",k3,[t("path",{d:"M986.112 179.2c-12.288-12.288-31.744-12.288-44.032 0l-472.064 471.04-180.224-180.224c-12.288-12.288-31.744-12.288-44.032 0-12.288 12.288-12.288 31.744 0 44.032l202.752 201.728c6.144 6.144 12.288 9.216 22.528 9.216 9.216 0 15.36-3.072 22.528-9.216l494.592-492.544c10.24-12.288 10.24-31.744-2.048-44.032z",fill:o.color,"p-id":"11312"},null,8,y3),t("path",{d:"M1024 548.864c0-17.408-14.336-31.744-31.744-31.744-17.408 0-31.744 14.336-31.744 31.744C941.056 779.264 747.52 959.488 513.024 959.488 265.216 959.488 64.512 759.808 64.512 512c0-247.808 200.704-447.488 448.512-447.488 69.632 0 135.168 15.36 194.56 44.032h1.024c4.096 1.024 7.168 2.048 11.264 2.048 17.408 0 31.744-14.336 31.744-31.744 0-12.288-7.168-23.552-17.408-28.672C665.6 17.408 590.848 0 513.024 0 229.376 0 0 229.376 0 512s229.376 512 513.024 512c270.336 0 491.52-208.896 510.976-475.136z",fill:o.color,"p-id":"11313"},null,8,F3)]))}}),$3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},C3=["fill"],D3=I({props:{color:{type:String,default:"#e7000b"}},setup(o){return(n,a)=>(r(),d("svg",$3,[t("path",{d:"M511.9744 706.6624a57.2672 57.2672 0 0 1 56.96 57.5488c0 20.5568-10.8544 39.552-28.4672 49.8432a56.4736 56.4736 0 0 1-56.9856 0 57.6512 57.6512 0 0 1-28.4928-49.8432c0-31.7696 25.4976-57.5488 56.9856-57.5488zM190.1824 147.3024l2.4832 2.2272 614.4 614.4a30.72 30.72 0 0 1-40.96 45.696l-2.4832-2.2528-229.4528-229.504a189.6704 189.6704 0 0 0-180.864 83.8912 29.3376 29.3376 0 0 1-40.9344 7.3728 30.976 30.976 0 0 1-8.32-41.6768 248.8576 248.8576 0 0 1 170.624-109.056l-78.7968-78.7968a346.8288 346.8288 0 0 0-156.7744 112.128 29.4144 29.4144 0 0 1-50.944-8.4224 31.0784 31.0784 0 0 1 4.736-30.0544 406.9888 406.9888 0 0 1 156.1088-120.4736l-71.9872-72.0128a504.7808 504.7808 0 0 0-150.6816 120.32 29.2864 29.2864 0 0 1-41.9328 2.7904 31.0016 31.0016 0 0 1-2.9184-42.88 564.608 564.608 0 0 1 150.8608-124.928L149.2224 192.9472a30.72 30.72 0 0 1 40.96-45.6704z m321.792 211.6352a404.992 404.992 0 0 1 319.0528 154.368 30.976 30.976 0 0 1-4.3008 42.8288 29.184 29.184 0 0 1-41.9072-4.4032 345.984 345.984 0 0 0-229.7088-129.2032l-63.1552-63.104c6.656-0.3328 13.312-0.4864 20.0192-0.4864z m0-156.6976c166.1184 0 322.9952 72.448 430.4896 198.8608 10.752 12.672 9.472 31.872-2.8416 42.9312a29.184 29.184 0 0 1-42.0352-2.9184 505.344 505.344 0 0 0-385.6128-177.92 509.184 509.184 0 0 0-105.2672 11.008l-50.2272-50.2784A566.656 566.656 0 0 1 512 202.24z","p-id":"5359",fill:o.color},null,8,C3)]))}}),B3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y3=["fill"],A3=["fill"],S3=["fill"],z3=I({props:{color:{type:String,default:"#f54900"}},setup(o){return(n,a)=>(r(),d("svg",B3,[t("path",{d:"M512 179.2l390.4 627.2H128l384-627.2m0-64c-19.2 0-44.8 12.8-51.2 32l-390.4 627.2c-25.6 44.8 6.4 96 51.2 96H896c51.2 0 83.2-57.6 51.2-96l-384-627.2c-6.4-19.2-32-32-51.2-32z",fill:o.color,"p-id":"4490"},null,8,Y3),t("path",{d:"M512 640c-19.2 0-32-12.8-32-32v-192c0-19.2 12.8-32 32-32s32 12.8 32 32v192c0 19.2-12.8 32-32 32z",fill:o.color,"p-id":"4491"},null,8,A3),t("path",{d:"M512 723.2m-32 0a32 32 0 1 0 64 0 32 32 0 1 0-64 0Z",fill:o.color,"p-id":"4492"},null,8,S3)]))}}),P3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},T3=["fill"],Ra=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",P3,[t("path",{d:"M511.3 116.7l339.1 193.8v387.6L511.3 891.9 172.2 698.1V310.5l339.1-193.8zM802 345.6L535.5 516.7v305.5L802 670V345.6z m-581.4 0.3V670l266.5 152.3V516.7L220.6 345.9z m434.1-87.3L401.1 405l110.3 71.4 248.9-161.5L658 256.4c-1.1 0.7-2.2 1.5-3.3 2.2z m-143.4-86L262.2 314.9l93.4 60.5c0.5-0.4 1.1-0.7 1.6-1l252.3-145.7-98.2-56.1z m0 0",fill:o.color,"p-id":"14790"},null,8,T3)]))}}),I3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},M3=["fill"],L3=["fill"],N3=["fill"],ze=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",I3,[t("path",{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6c-3.2 2.8-3.6 7.8-0.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4 0.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-0.9l36-42.9c2.8-3.3 2.4-8.3-0.9-11.2zM840.4 480.4C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4c-3.4 2.8-3.8 7.9-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3z","p-id":"5126",fill:o.color},null,8,M3),t("path",{d:"M957.1 341.4C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4-3.5 2.8-4 7.9-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3z","p-id":"5127",fill:o.color},null,8,L3),t("path",{d:"M512 778m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"5128",fill:o.color},null,8,N3)]))}}),O3=o=>(it("data-v-4eb7fe63"),o=o(),rt(),o),V3={class:"info_content"},G3={key:0,class:"status_box"},j3={class:"status_name"},U3={class:"status_time"},q3={key:1,class:"status_box"},R3={class:"status_name"},W3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},H3={key:2,class:"status_box"},J3={class:"status_name"},Z3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},K3={key:3,class:"status_box"},Q3={class:"status_name"},X3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},t8={key:4,class:"status_box"},e8={class:"status_name"},a8={class:"ip_info"},o8={class:"ip_item"},n8={class:"ip_tag"},i8={class:"ip_address"},r8={class:"ip_info"},s8={class:"ip_item"},d8=O3(()=>t("div",null,"IPv6",-1)),l8={key:0,class:"ip_tag"},u8={key:1,class:"ip_tag"},c8={class:"ip_address"},p8={class:"ip_info",style:{"margin-bottom":"0"}},f8={class:"ip_item"},m8={class:"ip_address"},g8=I({setup(o){const{$gettext:n}=H(),a=Fe(),l=Q(()=>a.status);Q(()=>a.deviceList);const u=mt({portList:[],load:!1}),s=c=>{switch(c){case"pppoe":return n("\u62E8\u53F7\u4E0A\u7F51");case"static":return n("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return c&&c.toUpperCase()},p=c=>{switch(c){case"manual":return n("\u624B\u52A8\u914D\u7F6E");case"auto":return n("\u81EA\u52A8\u83B7\u53D6");default:return""}},w=()=>{(u.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(c=>{if(c!=null&&c.data){const{result:f}=c==null?void 0:c.data;f&&(u.portList=f.ports||[])}})).finally(()=>{u.load=!0,setTimeout(w,1e4)})};w();const m=Pt.stampForm;return(c,f)=>(r(),d("div",null,[D(Wt,{title:e(n)("\u7F51\u7EDC\u8FDE\u63A5\u548CIP\u5730\u5740"),showSettings:!1},{icon:j(()=>[D(xe,{color:"#0a0a0a",class:"icon networkIcon"})]),default:j(()=>[t("div",V3,[e(l)!=null?(r(),d(U,{key:0},[e(l).networkInfo=="netSuccess"?(r(),d("div",G3,[t("div",j3,[D(E3,{color:"#00a63e",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u8FDE\u63A5\u6B63\u5E38")),1)]),t("div",U3,i(e(m)(e(l).uptimeStamp)),1)])):e(l).networkInfo=="dnsFailed"?(r(),d("div",q3,[t("div",R3,[D(z3,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("DNS\u9519\u8BEF")),1)]),t("div",W3,i(e(m)(e(l).uptimeStamp)),1)])):e(l).networkInfo=="softSourceFailed"?(r(),d("div",H3,[t("div",J3,[D(Ra,{color:"#9810fa",style:{width:"1.5rem",height:"1.5rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1)]),t("div",Z3,i(e(m)(e(l).uptimeStamp)),1)])):e(l).networkInfo=="netFailed"?(r(),d("div",K3,[t("div",Q3,[D(D3,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u672A\u8054\u7F51")),1)]),t("div",X3,i(e(m)(e(l).uptimeStamp)),1)])):(r(),d("div",t8,[t("div",e8,[D(ze,{color:"#d08700",class:"icon"}),t("span",null,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):C("",!0),t("div",a8,[t("div",o8,[t("div",null,"IPv4 \uFF08"+i(e(l).defaultInterface)+"\uFF09",1),t("div",n8,i(s(e(l).proto||"")),1)]),t("div",i8,i(e(l).ipv4addr),1)]),t("div",r8,[t("div",s8,[d8,e(l).ipv6addr?(r(),d("div",l8,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),d("div",u8,i(e(n)("\u672A\u542F\u7528")),1))]),t("div",c8,i(e(l).ipv6addr?e(l).ipv6addr:"-"),1)]),t("div",p8,[t("div",f8,[t("div",null,"DNS\uFF08"+i(p(e(l).dnsProto))+"\uFF09",1)]),(r(!0),d(U,null,tt(e(l).dnsList,g=>(r(),d("div",m8,i(g),1))),256))])])]),_:1},8,["title"])]))}});var v8=N(g8,[["__scopeId","data-v-4eb7fe63"]]);const b8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},h8=["fill"],ka=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",b8,[t("path",{d:"M170.666667 647.253333a128.042667 128.042667 0 1 0 85.333333 0V256c0-71.850667 49.109333-128 106.666667-128S469.333333 184.149333 469.333333 256v512c0 116.650667 84.608 213.333333 192 213.333333s192-96.682667 192-213.333333V376.746667a128.042667 128.042667 0 1 0-85.333333 0V768c0 71.850667-49.109333 128-106.666667 128S554.666667 839.850667 554.666667 768V256c0-116.650667-84.608-213.333333-192-213.333333S170.666667 139.349333 170.666667 256v391.253333zM768 256a42.666667 42.666667 0 1 1 85.333333 0 42.666667 42.666667 0 0 1-85.333333 0zM213.333333 810.666667a42.666667 42.666667 0 1 1 0-85.333334 42.666667 42.666667 0 0 1 0 85.333334z",fill:o.color,"p-id":"39967"},null,8,h8)]))}}),_8=["value","checked","onChange"],x8={class:"content"},w8={class:"name"},k8={key:0,class:"speed",style:{background:"#f3f4f6",color:"#4a5565"}},y8={style:{display:"flex","align-items":"center"}},F8={key:0,class:"status"},E8={key:1,class:"status"},$8={key:2,class:"speed",style:{"margin-left":"6px"}},C8=I({setup(o){const{$gettext:n}=H(),a=aa(),l=F(!1);ia();const u=mt({portList:[],load:!1}),s=()=>{a.push("/interfaceconfig")},p=()=>{window.location.href="/cgi-bin/luci/admin/network/network"},w=(h,v)=>{localStorage.setItem(h,JSON.stringify(v))},m=h=>{const v=localStorage.getItem(h);try{return v?JSON.parse(v):[]}catch(x){return[]}},c="checkedPorts",f=F(m(c)),g=F([]),_=()=>{(u.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(h=>{if(h!=null&&h.data){const{result:v}=h==null?void 0:h.data;v&&(u.portList=v.ports||[],g.value=v.ports||[])}})).finally(()=>{u.load=!0,setTimeout(_,1e4)})};_(),At(f,h=>{g.value=u.portList.filter(v=>h.includes(v.name)),console.log(h,"newVal"),w(c,h)});const k=(h,v)=>{v.target.checked?f.value.includes(h)||(f.value=[...f.value,h]):f.value.length>1?f.value=f.value.filter(x=>x!==h):(E.Warning(n("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A\u7F51\u7EDC\u63A5\u53E3\uFF01")),v.target.checked=!0)},b=F(null);return(h,v)=>(r(),Z(Wt,{title:e(n)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001"),showSettings:!0,"is-settings-menu-open":l.value,"onUpdate:isSettingsMenuOpen":v[0]||(v[0]=x=>l.value=x)},{icon:j(()=>[D(ka,{color:"#0a0a0a",class:"icon interfaceIcon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:s},[D(ra,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u7F51\u7EDC\u63A5\u53E3")),1)])]),"settings-menu":j(()=>[t("div",null,[(r(!0),d(U,null,tt(e(u).portList,x=>(r(),d("div",{key:x.name,class:"row"},[t("input",{type:"checkbox",value:x.name,checked:f.value.includes(x.name),onChange:y=>k(x.name,y)},null,40,_8),t("span",null,i(x.name),1)]))),128))])]),default:j(()=>[t("div",x8,[e(u).load?(r(!0),d(U,{key:0},tt(g.value,x=>(r(),d("div",{class:"item",ref_for:!0,ref_key:"el",ref:b,onClick:p},[t("div",{class:"icon_box",style:ft({backgroundColor:x.linkState=="DOWN"?"#f3f4f6":"#dbfce7"})},[D(ka,{color:x.linkState=="DOWN"?"#99a1af":"#00a63e",class:"icon2"},null,8,["color"])],4),t("div",null,[t("div",w8,[nt(i(x.name)+" "+i(x.interfaceNames?`(${x.interfaceNames.join(",").toLocaleUpperCase()})`:""),1),x.linkState=="DOWN"?(r(),d("div",k8,i(e(n)("\u5DF2\u65AD\u5F00")),1)):C("",!0)]),t("div",y8,[x.linkState=="DOWN"?(r(),d("div",F8,i(e(n)("\u672A\u8FDE\u63A5")),1)):(r(),d("div",E8,i(e(n)("\u5DF2\u8FDE\u63A5")),1)),x.linkSpeed?(r(),d("div",$8,i(x.linkSpeed),1)):C("",!0)])])],512))),256)):C("",!0)])]),_:1},8,["title","is-settings-menu-open"]))}});var D8=N(C8,[["__scopeId","data-v-a22762d6"]]);const B8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y8=["fill"],A8=["fill"],S8=["fill"],z8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",B8,[t("path",{d:"M123.92 555.9a32 32 0 0 1-14.82-60.38l719.19-374.9a32 32 0 0 1 29.59 56.76l-719.2 374.89a31.87 31.87 0 0 1-14.76 3.63z",fill:o.color,"p-id":"5084"},null,8,Y8),t("path",{d:"M608.6 957.7a32 32 0 0 1-30.6-41.27l234.64-776.34a32 32 0 0 1 61.26 18.52L639.22 935a32 32 0 0 1-30.62 22.7zM505.92 580.44c-0.68 0-1.36 0-2.05-0.07l-381.46-24.12a32 32 0 1 1 4-63.88l381.5 24.13a32 32 0 0 1-2 63.94z",fill:o.color,"p-id":"5085"},null,8,A8),t("path",{d:"M608.14 957.32a32 32 0 0 1-30.87-23.63L475 556.82a32 32 0 1 1 61.77-16.76L639 916.93a32 32 0 0 1-22.51 39.26 31.61 31.61 0 0 1-8.35 1.13z",fill:o.color,"p-id":"5086"},null,8,S8)]))}}),P8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},T8=["fill"],I8=["fill"],M8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",P8,[t("path",{d:"M748 469.97l-283.81 248.1c-3.96 1.98-5.94 5.94-9.9 9.9-17.82 29.71-9.9 67.34 19.8 85.16 29.71 15.84 65.35 5.94 83.18-21.79L757.9 477.89c1.98-5.95-3.96-11.88-9.9-7.92z","p-id":"9627",fill:o.color},null,8,T8),t("path",{d:"M512 181.96c-247.23 0-448.35 201.13-448.35 448.34 0 63.85 13.31 125.74 39.59 183.94 10.72 23.74 38.61 34.37 62.41 23.59 23.74-10.72 34.31-38.67 23.59-62.41C168.5 729.5 158 680.67 158 630.3c0-195.18 158.8-353.99 354-353.99 195.18 0 354 158.8 354 353.99 0 50.37-10.5 99.2-31.24 145.12-10.72 23.74-0.15 51.69 23.59 62.41 6.3 2.86 12.9 4.18 19.38 4.18 17.97 0 35.17-10.32 43.03-27.76 26.26-58.2 39.59-120.09 39.59-183.94 0-247.23-201.14-448.35-448.35-448.35z","p-id":"9628",fill:o.color},null,8,I8)]))}}),L8={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},N8=["fill"],O8=["fill"],V8=["fill"],G8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",L8,[t("path",{d:"M880.213333 395.093333a31.786667 31.786667 0 0 1-26.88-15.573333 385.706667 385.706667 0 0 0-91.52-104.32 32.426667 32.426667 0 0 1-5.12-45.013333 32 32 0 0 1 45.013334-5.12 449.92 449.92 0 0 1 106.666666 121.6A31.786667 31.786667 0 0 1 896 390.4a30.293333 30.293333 0 0 1-15.786667 4.693333zM165.12 395.093333A30.293333 30.293333 0 0 1 149.333333 390.4a31.786667 31.786667 0 0 1-11.093333-43.733333A450.56 450.56 0 0 1 522.666667 128a32 32 0 0 1 0 64A386.56 386.56 0 0 0 192 379.52a31.786667 31.786667 0 0 1-26.88 15.573333z","p-id":"17913",fill:o.color},null,8,N8),t("path",{d:"M565.333333 341.333333a32 32 0 0 1 0-64A101.76 101.76 0 0 0 661.333333 170.666667a101.76 101.76 0 0 0-96-106.666667 32 32 0 0 1 0-64A165.76 165.76 0 0 1 725.333333 170.666667a165.76 165.76 0 0 1-160 170.666666zM522.666667 1024C362.666667 1024 220.8 936.106667 139.946667 787.84 61.013333 776.746667 0 700.373333 0 608 0 507.946667 71.68 426.666667 160 426.666667a32 32 0 0 1 0 64C106.666667 490.666667 64 543.36 64 608S106.666667 725.333333 160 725.333333a31.786667 31.786667 0 0 1 28.586667 17.706667C256 878.933333 381.653333 960 522.666667 960a384 384 0 0 0 354.56-236.373333 31.146667 31.146667 0 0 1 14.506666-16 106.666667 106.666667 0 0 0 57.6-99.626667c0-64-42.666667-117.333333-96-117.333333a32 32 0 0 1 0-64c88.32 0 160 81.28 160 181.333333a170.666667 170.666667 0 0 1-81.706666 150.613333A448 448 0 0 1 522.666667 1024z","p-id":"17914",fill:o.color},null,8,O8),t("path",{d:"M394.666667 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM629.333333 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM512 822.186667A131.2 131.2 0 0 1 391.466667 746.666667a32 32 0 1 1 58.24-26.453334 70.186667 70.186667 0 0 0 124.586666 0A32 32 0 1 1 632.533333 746.666667 131.2 131.2 0 0 1 512 822.186667z","p-id":"17915",fill:o.color},null,8,V8)]))}}),j8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},U8=["fill"],q8=["fill"],R8=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),d("svg",j8,[t("path",{d:"M771.328 320.896H258.986667a64 64 0 0 0-63.701334 57.856l-41.386666 427.178667a64 64 0 0 0 57.472 69.888l5.12 0.256h590.592a64 64 0 0 0 64-64l-0.170667-4.394667-35.797333-428.117333a64 64 0 0 0-63.786667-58.666667z m-512.341333 42.666667h512.341333a21.333333 21.333333 0 0 1 21.290667 19.584l35.712 427.178666 0.085333 2.688c0 10.88-9.557333 20.437333-21.333333 20.437334H217.557333l-3.072-0.170667a21.162667 21.162667 0 0 1-18.176-23.210667l41.472-427.221333a21.333333 21.333333 0 0 1 21.205334-19.285333z",fill:o.color,"p-id":"8134"},null,8,U8),t("path",{d:"M685.013333 429.312a21.333333 21.333333 0 0 1 21.333334 21.333333 194.346667 194.346667 0 1 1-388.693334 0 21.333333 21.333333 0 1 1 42.666667 0 151.68 151.68 0 0 0 303.36 0 21.333333 21.333333 0 0 1 21.333333-21.333333zM512 147.882667a194.346667 194.346667 0 0 1 194.346667 194.346666 21.333333 21.333333 0 1 1-42.666667 0 151.68 151.68 0 1 0-303.36 0 21.333333 21.333333 0 1 1-42.666667 0A194.346667 194.346667 0 0 1 512 147.882667z",fill:o.color,"p-id":"8135"},null,8,q8)]))}}),W8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},H8=["fill"],J8=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),d("svg",W8,[t("path",{d:"M353.323071 246.407016L620.37222 510.637979l-265.320785 268.146133c-11.776208 11.775184-11.73425201 30.908964 0.091074 42.73429l0.001023 0c11.825326 11.82635 30.958082 11.867282 42.72815-2.930749L680.899758 535.559579c3.817955-4.273327 8.205892-9.321296 8.933463-12.045337 4.470825-11.112082 2.232854-24.76503301-6.710842-35.987632l-286.98213-286.98213c-11.875468-8.847505-31.096229-8.893554-42.922578 2.932796C341.393367 215.303624 341.439416 234.523361 353.323071 246.407016z","p-id":"5051",fill:o.color},null,8,H8)]))}}),Z8={class:"header"},K8={class:"icon-wrapper"},Q8={class:"content"},X8={class:"title"},t4={class:"subtitle"},e4={class:"footer"},a4={key:1,class:"extra"},o4={key:2,class:"extra badge"},n4={class:"extra_num"},i4=nt(" \u53F0\u8BBE\u5907\u5728\u7EBF"),r4={key:3,class:"badge"},s4=I({props:{card:{type:Object,required:!0}},setup(o){H();const n=F(2);(()=>O(this,null,function*(){try{const u=yield G.App.Check.POST({name:"luci-app-oaf"});if(u!=null&&u.data){const{result:s,error:p}=u.data;p?n.value=2:s&&s.status=="installed"?n.value=1:n.value=2}}catch(u){n.value=2}}))();const l={navigation:{component:z8,props:{color:"#ffffff"}},wifi:{component:ze,props:{color:"#ffffff"}},topology:{component:ja,props:{color:"#ffffff"}},speed:{component:M8,props:{color:"#ffffff"}},baby:{component:G8,props:{color:"#ffffff"}},appStore:{component:R8,props:{color:"#ffffff"}}};return(u,s)=>(r(),d("div",{class:st(["feature-card",o.card.color]),onClick:s[0]||(s[0]=p=>u.$emit("click",o.card))},[t("div",null,[t("div",Z8,[t("div",K8,[Et(u.$slots,"icon",{},()=>{var p;return[o.card.icon&&l[o.card.icon]?(r(),Z(za((p=l[o.card.icon])==null?void 0:p.component),_o({key:0},l[o.card.icon].props,{class:"icon-svg"}),null,16)):C("",!0)]},!0)])]),t("div",Q8,[t("div",X8,i(o.card.title),1),t("div",t4,i(o.card.subtitle),1)]),t("div",e4,[o.card.status?(r(),d("span",{key:0,class:st(["status",{active:o.card.isActive}])},i(o.card.status),3)):C("",!0),o.card.extra?(r(),d("div",a4,i(o.card.extra),1)):C("",!0),o.card.num?(r(),d("div",o4,[t("span",n4,i(o.card.num),1),i4])):C("",!0),o.card.tag?(r(),d("span",r4,i(o.card.tag),1)):C("",!0)])]),D(J8,{class:"right-arrow",color:"#99a1af"})],2))}});var d4=N(s4,[["__scopeId","data-v-0048c7ce"]]);const l4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},u4=["fill"],c4=["fill"],p4=["fill"],f4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",l4,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,u4),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,c4),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,p4)]))}}),m4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},g4=["fill"],v4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",m4,[t("path",{d:"M853.333333 768a42.666667 42.666667 0 0 1 0 85.333333h-341.333333a42.666667 42.666667 0 0 1 0-85.333333h341.333333zM200.832 183.168L426.666667 409.002667l30.165333 30.165333a42.666667 42.666667 0 0 1 0 60.330667l-14.634667 14.634666-241.365333 241.365334a42.666667 42.666667 0 1 1-60.330667-60.330667l225.792-225.877333-225.792-225.792a42.666667 42.666667 0 0 1 60.330667-60.330667z",fill:o.color,"p-id":"5439"},null,8,g4)]))}}),b4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},h4=["fill"],_4=["fill"],Je=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",b4,[t("path",{d:"M531.216667 77.336366c0 0-8.147564-10.313903-16.938788-10.709923-8.791224-0.396019-18.070564 9.133008-18.070564 9.133008-96.577592 77.010955-246.112304 97.021707-345.075223 110.281709 0 0-14.838963 2.062985-22.257933 3.094478-11.189853 1.555425-21.184485 3.125177-27.569916 8.241708-6.385431 5.117554-5.999644 18.659989-5.999644 18.659989 0 476.176097 84.005252 627.530246 410.888138 736.639247 0 0 4.438079 1.619894 8.085142 1.373277 3.647063-0.042979 7.195889-1.980097 7.195889-1.980097 324.821947-108.462271 408.826176-259.857353 408.826176-736.033449 0 0-1.264806-13.920034-6.709819-18.659989-5.445012-4.739954-13.812587-6.433526-24.073278-7.864108-8.308223-1.157359-24.923646-3.473101-24.923646-3.473101C775.550465 172.782182 626.055662 152.771429 531.216667 77.336366zM486.388692 884.038318c-260.550131-96.030124-328.494593-228.237191-332.62875-628.806309-0.045025-4.400217 0.357134-6.599302 1.663896-8.667404 1.306762-2.068102 3.713578-2.836605 3.713578-2.836605 91.436502-12.233626 223.901443-29.972639 328.759629-91.828428 8.445346-4.982478 17.749246-11.634991 25.087375-11.634991 7.338129 0 15.890922 6.689353 24.289196 11.686157 103.57496 61.632709 234.845703 79.437214 327.058894 91.777263 0 0 4.41659 0.768503 5.910617 2.836605 1.494027 2.068102 2.324952 4.094248 2.309602 6.16542-2.819209 380.861264-55.186903 527.575744-329.520969 630.016881-9.733689 3.634784-19.105127 8.231475-27.533077 8.231475C507.070734 890.978381 495.039723 887.22694 486.388692 884.038318z",fill:o.color,"p-id":"5082"},null,8,h4),t("path",{d:"M763.882728 456.981942c-32.383548 146.597823-101.757568 233.810117-243.305375 299.834856-14.22191 1.440815-25.321712 13.450337-25.321712 28.051893 0 15.572674 12.624529 28.197202 28.197202 28.197202 4.321422 0 8.41567-0.972141 12.076036-2.709715l0.143263 0.393973c158.820192-71.15048 242.084571-167.561273 280.661168-345.308537 0.969071-2.781346 1.496074-5.7694 1.496074-8.881274 0-14.898315-12.07706-26.975375-26.975375-26.975375-14.898315 0-26.975375 12.07706-26.975375 26.975375C763.878634 456.701556 763.879658 456.841749 763.882728 456.981942z",fill:o.color,"p-id":"5083"},null,8,_4)]))}}),x4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},w4=["fill"],k4=["fill"],Wa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",x4,[t("path",{d:"M762 942H262c-71.68 0-130-58.32-130-130V212c0-71.68 58.32-130 130-130h350c16.56 0 30 13.43 30 30v151.56c0 38.59 31.41 70 70 70h150c16.56 0 30 13.43 30 30V812c0 71.68-58.32 130-130 130zM262 142c-38.59 0-70 31.41-70 70v600c0 38.59 31.41 70 70 70h500c38.59 0 70-31.41 70-70V393.57H712c-71.68 0-130-58.32-130-130V142H262z","p-id":"13142",fill:o.color},null,8,w4),t("path",{d:"M862 393.57H712c-71.68 0-130-58.32-130-130V112c0-12.15 7.32-23.11 18.55-27.73a29.938 29.938 0 0 1 32.71 6.59l250 251.56c8.55 8.59 11.07 21.47 6.43 32.67s-15.58 18.48-27.69 18.48zM642 184.75v78.82c0 38.59 31.41 70 70 70h77.89L642 184.75zM487 379.5H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h175c16.57 0 30 13.43 30 30s-13.43 30-30 30zM712 542H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h400c16.56 0 30 13.43 30 30s-13.44 30-30 30zM712 704.5H312c-16.57 0-30-13.44-30-30s13.43-30 30-30h400c16.56 0 30 13.44 30 30s-13.44 30-30 30z","p-id":"13143",fill:o.color},null,8,k4)]))}}),Ha=/\d+\.\d+\.\d+\.\d+/,y4=o=>Ha.test(o)&&ye.IPv4.isValid(o),qt=o=>{const n=ye.IPv4.parse(o).toByteArray();return n[0]<<24|n[1]<<16|n[2]<<8|n[3]},ya=o=>ye.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),F4=o=>{if(!Ha.test(o)||!ye.IPv4.isIPv4(o))return!1;let n=0,a=qt(o);for(let l=31;l>=0&&(a&1<{let u=qt(o)&qt(n),s=qt(a),p=qt(l),m=~qt(n);return su+1&&p{let a=qt(n),l=qt(o)&a,u=~a,s;return u>=105?(s=l|u-5,l=l|100):u>=3?(s=l|u-1,l=l|2):(l=l|1,s=l),[ya(l),ya(s)]},C4=o=>ye.IPv4.subnetMaskFromPrefixLength(o).toString();var It={isValidMask:F4,isValidIPv4:y4,isValidMaskRange:E4,calcMaskRange:$4,prefixToMask:C4};const pa=o=>(it("data-v-0d919a1e"),o=o(),rt(),o),D4=["onSubmit"],B4={class:"actioner-dns_header"},Y4={class:"actioner-dns_body"},A4={class:"label-item"},S4={class:"label-item_key"},z4={class:"label-item_value"},P4={class:"label-item"},T4={class:"label-item_key"},I4={class:"label-item_value"},M4={key:0,class:"chose_dhcp"},L4={key:0,class:"dhcp_info"},N4={key:1,class:"dhcp_info"},O4={class:"label-item"},V4={class:"label-item_key"},G4={class:"label-item_value"},j4={class:"label-item"},U4={class:"label-item_key"},q4={class:"label-item_value"},R4={class:"actioner-dns_footer"},W4=["disabled"],H4={key:1,class:"actioner-dns"},J4={class:"actioner-dns_header"},Z4={class:"actioner-dns_body"},K4={key:0,class:"setting_status"},Q4=pa(()=>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)),X4={class:"config-message"},tp=["href"],ep={key:1,class:"setting_status"},ap=pa(()=>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)),op={class:"config-message"},np={key:2,class:"setting_status"},ip=pa(()=>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)),rp={class:"config-message"},sp=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(0),s=F({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});F("");const p=F(!1);F(!0),F(!1);const w=F(""),m=F(2),c=F(!1),f=F("timeout");let g=!0;(()=>{G.Guide.GetLan.GET().then(x=>{x.data.result&&(c.value=x.data.result.enableDhcp||!1,x.data.result.enableDhcp=!1,s.value=x.data.result,x.data.result.lanIp!==location.hostname&&(g=!1))})})();const k=()=>{const x=s.value;if(!It.isValidIPv4(x.lanIp)){E.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!It.isValidMask(x.netMask)){E.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const y=It.calcMaskRange(x.lanIp,x.netMask);x.dhcpStart=y[0],x.dhcpEnd=y[1],s.value=x},b=()=>{const x=s.value;if(!It.isValidIPv4(x.lanIp)){E.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!It.isValidMask(x.netMask)){E.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(x.enableDhcp&&!(It.isValidIPv4(x.dhcpStart)&&It.isValidIPv4(x.dhcpEnd)&&It.isValidMaskRange(x.lanIp,x.netMask,x.dhcpStart,x.dhcpEnd))){E.Warning(a("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const y=E.Loading(a("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let $=0;const Y=A=>{f.value=A,u.value=1,$=1,y.Close()},P=()=>{const A=new Date().getTime()+3e4,B=g?location.protocol+"//"+x.lanIp+(location.port?":"+location.port:""):location.origin,S=B+"/luci-static/resources/icons/loading.gif",R=()=>{$==0&&(new Date().getTime()>A?Y("timeout"):window.setTimeout(T,2e3))},V=()=>{$==0&&(w.value=B+location.pathname,Y("success"),window.setTimeout(()=>{m.value=1},1e3),window.setTimeout(()=>{location.href=w.value},2e3))},T=()=>{if($!=0)return;console.log("check online ",S);const M=new Image;M.onload=V,M.onerror=R,M.src=S};window.setTimeout(T,5e3)};G.Guide.LanIp.POST(x).then(A=>{var B;if(A!=null&&A.data){if((A.data.success||0)==0)return;if((B=A.data)!=null&&B.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{$==0&&(Y("fail"),E.Error(A))}),P(),window.setTimeout(()=>{$==0&&Y("timeout")},3e4)},h=x=>{x.preventDefault(),n.Close&&n.Close()},v=x=>{location.reload()};return(x,y)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0?(r(),d("form",{key:0,class:"actioner-dns",onSubmit:ut(b,["prevent"])},[t("div",B4,[t("span",null,i(e(a)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",Y4,[t("div",A4,[t("div",S4,[t("span",null,i(e(a)("IPv4\u5730\u5740")),1)]),t("div",z4,[L(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":y[0]||(y[0]=$=>s.value.lanIp=$),onChange:k},null,544),[[et,s.value.lanIp,void 0,{trim:!0}]])])]),t("div",P4,[t("div",T4,[t("span",null,i(e(a)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",I4,[L(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":y[1]||(y[1]=$=>s.value.netMask=$),onChange:k},null,544),[[et,s.value.netMask,void 0,{trim:!0}]])])]),c.value?(r(),d("div",M4,[D(La,{modelValue:s.value.enableDhcp,"onUpdate:modelValue":y[2]||(y[2]=$=>s.value.enableDhcp=$)},{default:j(()=>[s.value.enableDhcp?(r(),d("span",L4,i(e(a)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(r(),d("span",N4,i(e(a)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):C("",!0),s.value.enableDhcp?(r(),d(U,{key:1},[t("div",O4,[t("div",V4,[t("span",null,i(e(a)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",G4,[L(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[3]||(y[3]=$=>s.value.dhcpStart=$)},null,512),[[et,s.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",j4,[t("div",U4,[t("span",null,i(e(a)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",q4,[L(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[4]||(y[4]=$=>s.value.dhcpEnd=$)},null,512),[[et,s.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):C("",!0)]),t("div",R4,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:p.value},i(e(a)("\u786E\u8BA4")),9,W4),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(a)("\u53D6\u6D88")),1)])],40,D4)):u.value==1?(r(),d("div",H4,[t("div",J4,[t("span",null,i(e(a)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",Z4,[f.value=="success"?(r(),d("div",K4,[Q4,t("div",X4,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:w.value,class:"NewAdress"},i(e(a)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+m.value})),9,tp)])):f.value=="fail"?(r(),d("div",ep,[ap,t("div",op,i(e(a)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,i(e(a)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},i(e(a)("\u6211\u77E5\u9053\u4E86")),1)])):f.value=="timeout"?(r(),d("div",np,[ip,t("div",rp,i(e(a)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,i(e(a)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},i(e(a)("\u5237\u65B0\u9875\u9762")),1)])):C("",!0)])])):C("",!0)]),_:1},8,["Close"]))}});var dp=N(sp,[["__scopeId","data-v-0d919a1e"]]);const lp=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(dp,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},up={key:0,class:"actioner-dns"},cp={class:"actioner-dns_header"},pp={class:"actioner-dns_body"},fp={class:"sandbox_info"},mp={key:0,class:"disk_loading_icon"},gp={class:"disk_loading_info"},vp={key:1,class:"disk_tips"},bp={class:"label-item"},hp={class:"label-item_key"},_p={class:"label-item_value"},xp={value:""},wp=["value"],kp={class:"label-item"},yp={class:"label-item_key"},Fp={class:"label-item_value"},Ep={selected:"true",value:""},$p=["value","disabled"],Cp={class:"sandbox_tips"},Dp={class:"sandbox_info timeout"},Bp={class:"sandbox_roboot_tips"},Yp={class:"sandbox_roboot_refresh"},Ap={key:0,class:"actioner-dns_footer"},Sp=["disabled"],zp={key:1,class:"actioner-tips"},Pp={class:"actioner-tips_header"},Tp={class:"actioner-tips_body"},Ip={class:"sandbox_info"},Mp={class:"actioner-tips_footer"},Lp={key:2,class:"actioner-tips"},Np={class:"actioner-tips_header"},Op={class:"actioner-tips_body"},Vp={class:"sandbox_info"},Gp={class:"actioner-tips_footer"},jp=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(0);F("disk");const s=F(""),p=F(3),w=F(""),m=F([]),c=F(""),f=F(null);(()=>{G.Nas.SandboxDisks.GET().then($=>{var Y;if($!=null&&$.data&&(Y=$.data)!=null&&Y.result){f.value=$.data.result;return}throw a("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch($=>{s.value=$,u.value=3})})();const _=()=>G.System.Reboot.POST({name:w.value,path:c.value}).then($=>{var Y;if(!($!=null&&$.data&&(((Y=$==null?void 0:$.data)==null?void 0:Y.success)||0)==0))throw a("\u672A\u77E5\u9519\u8BEF")}),k=$=>{var Y,P;c.value="",m.value=w.value&&((P=(Y=f.value)==null?void 0:Y.disks.find(A=>A.path==w.value))==null?void 0:P.childrens)||[]},b=()=>{p.value>0&&(p.value-=1,window.setTimeout(b,1e3))},h=$=>{$.preventDefault(),n.Close&&n.Close()},v=()=>{new Promise(($,Y)=>{const P="/luci-static/resources/icons/loading.gif",A=()=>{window.setTimeout(B,2e3)},B=()=>{const S=new Image;S.onload=$,S.onerror=A,S.src=P};window.setTimeout(B,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},x=$=>{const Y=E.Loading(a("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));G.Nas.Sandbox.POST({path:c.value}).then(P=>{var A;if(P!=null&&P.data){if((P.data.success||0)==0)return u.value=2,window.setTimeout(b,1e3),_();if((A=P.data)!=null&&A.error)throw P.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).then(v).catch(P=>E.Warning(P)).finally(()=>Y.Close())},y=()=>{u.value=0};return($,Y)=>{const P=ht("icon-loading");return r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0||u.value==2?(r(),d("div",up,[t("div",cp,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",pp,[t("p",fp,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),u.value==0?(r(),d(U,{key:0},[f.value?C("",!0):(r(),d("div",mp,[D(P,{size:38,color:"currentColor"}),t("span",gp,i(e(a)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),f.value&&f.value.disks.length==0?(r(),d("div",vp,[D(zt),t("span",null,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):C("",!0),f.value&&f.value.disks.length>0?(r(),d(U,{key:2},[t("div",bp,[t("div",hp,[t("span",null,i(e(a)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",_p,[L(t("select",{name:"",id:"",onChange:k,"onUpdate:modelValue":Y[0]||(Y[0]=A=>w.value=A)},[t("option",xp,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(r(!0),d(U,null,tt(f.value.disks,(A,B)=>(r(),d("option",{value:A.path,key:B},i(A.venderModel)+"\uFF08"+i(A.size)+"\uFF09 ",9,wp))),128))],544),[[dt,w.value]])])]),t("div",kp,[t("div",yp,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",Fp,[L(t("select",{name:"",id:"","onUpdate:modelValue":Y[1]||(Y[1]=A=>c.value=A)},[t("option",Ep,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(r(!0),d(U,null,tt(m.value,(A,B)=>(r(),d("option",{value:A.path,key:B,disabled:A.sizeInt<(1<<30)*1||A.isSystemRoot},i(A.name)+"\uFF08"+i(A.filesystem||e(a)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+i(A.total),9,$p))),128))],512),[[dt,c.value]])])]),t("div",Cp,[D(zt),t("span",null,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):C("",!0)],64)):C("",!0),u.value==2?(r(),d(U,{key:1},[t("p",Dp,[nt(i(e(a)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+i(p.value)+"s\uFF09",1)]),t("p",Bp,[nt(i(e(a)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",Yp,i(e(a)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):C("",!0)]),u.value==0?(r(),d("div",Ap,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!c.value,onClick:Y[2]||(Y[2]=A=>u.value=1)},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),9,Sp),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(a)("\u53D6\u6D88")),1)])):C("",!0)])):C("",!0),u.value==1?(r(),d("div",zp,[t("div",Pp,[t("span",null,i(e(a)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",Tp,[t("p",Ip,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",Mp,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:x},i(e(a)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0),u.value==3?(r(),d("div",Lp,[t("div",Np,[t("span",null,i(e(a)("\u9519\u8BEF")),1)]),t("div",Op,[t("p",Vp,i(s.value),1)]),t("div",Gp,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0)]),_:1},8,["Close"])}}});var Up=N(jp,[["__scopeId","data-v-59ad49e6"]]);const qp=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(Up,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},Rp={key:0,class:"actioner-dns"},Wp={class:"actioner-dns_header"},Hp={class:"actioner-dns_body"},Jp={class:"sandbox_info"},Zp={class:"sandbox_environment"},Kp={class:"sandbox_environment_info"},Qp={class:"sandbox_environment_reboot"},Xp=["innerHTML"],t7={class:"actioner-dns_footer"},e7=["disabled"],a7=["disabled"],o7=["disabled"],n7=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(0),s=F(!1),p=()=>{new Promise((g,_)=>{const k="/luci-static/resources/icons/loading.gif",b=()=>{window.setTimeout(h,2e3)},h=()=>{const v=new Image;v.onload=g,v.onerror=b,v.src=k};window.setTimeout(h,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},w=()=>{s.value=!0;const g=E.Loading(a("\u63D0\u4EA4\u4E2D..."));G.Nas.SandboxCommit.POST().then(_=>{var k,b;if(_!=null&&_.data)if((((k=_==null?void 0:_.data)==null?void 0:k.success)||0)==0){E.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(b=_==null?void 0:_.data)!=null&&b.error&&alert(_.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(_=>{E.Error(_),s.value=!1}).finally(()=>g.Close())},m=()=>{s.value=!0;const g=E.Loading(a("\u91CD\u7F6E\u4E2D..."));G.Nas.SandboxReset.POST().then(_=>{var k,b;if(_!=null&&_.data)if((((k=_==null?void 0:_.data)==null?void 0:k.success)||0)==0){E.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(b=_==null?void 0:_.data)!=null&&b.error&&alert(_.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(_=>{E.Error(_),s.value=!1}).finally(()=>g.Close())},c=()=>{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 g=E.Loading(a("\u6267\u884C\u4E2D..."));G.Nas.SandboxExit.POST().then(_=>{var k,b;if(_!=null&&_.data)if((((k=_==null?void 0:_.data)==null?void 0:k.success)||0)==0){E.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(b=_==null?void 0:_.data)!=null&&b.error&&alert(_.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(_=>{E.Error(_),s.value=!1}).finally(()=>g.Close())},f=g=>{g.preventDefault(),n.Close&&n.Close()};return(g,_)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0?(r(),d("div",Rp,[t("div",Wp,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Hp,[t("p",Jp,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",Zp,[t("p",null,i(e(a)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,i(e(a)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,i(e(a)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,i(e(a)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",Kp,[nt(i(e(a)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",Qp,i(e(a)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(a)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,Xp)])]),t("div",t7,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w,disabled:s.value},i(e(a)("\u63D0\u4EA4")),9,e7),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:m,disabled:s.value},i(e(a)("\u91CD\u7F6E")),9,a7),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:c,disabled:s.value},i(e(a)("\u9000\u51FA")),9,o7),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0)]),_:1},8,["Close"]))}});var i7=N(n7,[["__scopeId","data-v-3e084f0f"]]);const r7=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(i7,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},s7={class:"item_container"},d7=["onClick","title"],l7={class:"renew"},u7={key:0},c7={key:1,style:{display:"inline-block","margin-left":"4px"}},p7={class:"app-update-button-menu"},f7=["onClick"],m7={class:"app-update-menu-item"},g7={key:0,class:"app-update-menu-item-loading"},v7=["disabled"],b7={class:"dns_txt"},h7={key:0,style:{display:"inline-block","margin-left":"4px"}},_7=I({setup(o){var P,A;const{$gettext:n}=H(),a=F(!0);(A=(P=window.quickstart_configs)==null?void 0:P.update)!=null&&A.disable&&(a.value=!1);const l=F(!1),u=F(a.value),s=F(!1),p=Me(),w=Fe(),m=Q(()=>w.status),c=F(),f=()=>{Oa()};At(u,B=>{s.value=!0,G.System.AutoCheckUpdate.POST({enable:B}).catch(S=>{E.Warning(S)}).finally(()=>{s.value=!1})});const g=()=>{window.location.href="/cgi-bin/luci/admin/system/ota"},_=()=>{window.location.href="/cgi-bin/luci/admin/status/logs"},k=()=>{window.location.href="/cgi-bin/luci/admin/store/pages/maintance"},b=()=>{qp()},h=()=>{r7()},v=()=>{alert(n("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},x=()=>{lp()},y=()=>{Va()},$=()=>{var B,S,R,V;window.open(`${(S=(B=window.quickstart_configs)==null?void 0:B.ttyd)!=null&&S.ssl?"https":"http"}://${window.location.hostname}:${((V=(R=window.quickstart_configs)==null?void 0:R.ttyd)==null?void 0:V.port)||7681}/`,"_blank")},Y=()=>{l.value=!l.value};return a.value&&setTimeout(()=>{p.requestCheckUpdate()},1100),te("sandbox")&&G.Nas.GetSandbox.GET().then(S=>{var R,V,T;S!=null&&S.data&&((((R=S==null?void 0:S.data)==null?void 0:R.success)||0)==0?(V=S==null?void 0:S.data)!=null&&V.result&&(c.value=S.data.result):(T=S==null?void 0:S.data)!=null&&T.error&&alert(S.data.error))}).catch(S=>E.Warning(S)),(B,S)=>{var T,M,W,bt,Bt,gt,Mt;const R=ht("icon-loading"),V=ht("switch-box");return r(),d("div",s7,[t("div",{class:"item",style:{backgroundColor:"#f3f7fd"},onClick:x},[D(f4,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u914D\u7F6E")),1)]),e(te)("ttyd")?(r(),d("div",{key:0,class:"item",style:{backgroundColor:"#f4fbf7"},onClick:$},[D(v4,{color:"#00c850",class:"icon"}),t("span",null,i(e(n)("\u7EC8\u7AEF")),1)])):C("",!0),t("div",{class:"item",style:{backgroundColor:"#f9f7fd"},onClick:g},[t("span",{class:"app-update-button-more",onClick:ut(Y,["stop","prevent"]),title:e(n)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[D(Ee)],8,d7),D(Kt,{color:"#ad46ff",class:"icon"}),t("span",l7,[(T=e(p).checkUpdate)!=null&&T.needUpdate?(r(),d("i",u7)):C("",!0),nt(" "+i(e(n)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),a.value&&e(p).checkUpdate==null?(r(),d("span",c7,[D(R,{size:"1em",color:"currentColor"})])):C("",!0)]),L(t("div",p7,[t("div",{class:"menu_background",onClick:ut(Y,["stop","prevent"])},null,8,f7),t("ul",{onClick:S[1]||(S[1]=ut(()=>{},["stop"]))},[t("li",null,[D(V,{modelValue:u.value,"onUpdate:modelValue":S[0]||(S[0]=Ut=>u.value=Ut)},{default:j(()=>[t("span",m7,i(e(n)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),s.value?(r(),d("span",g7,[D(R,{size:"1em",color:"currentColor"})])):C("",!0)])])],512),[[Xt,l.value]])]),t("button",{class:st(["item",{"disabled-style":!((M=e(m))!=null&&M.proto)}]),style:{backgroundColor:"#f1fbfd"},onClick:f,disabled:!((W=e(m))!=null&&W.proto)},[D(xe,{color:"#00b8db",class:"icon"}),t("span",b7,[nt(i(e(n)("DNS\u914D\u7F6E"))+" ",1),(bt=e(m))!=null&&bt.proto?C("",!0):(r(),d("span",h7,[D(R,{size:"1em",color:"currentColor"})]))])],10,v7),t("div",{class:"item",style:{backgroundColor:"#fbf5fa"},onClick:y},[D(Ra,{color:"#f6339a",class:"icon"}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),e(te)("sandbox")?(r(),d(U,{key:1},[((Bt=c.value)==null?void 0:Bt.status)=="unsupport"?(r(),d("div",{key:0,class:"item",style:{backgroundColor:"#f9fafb"},onClick:v},[D(Je,{color:"#cac9cd",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((gt=c.value)==null?void 0:gt.status)=="stopped"?(r(),d("div",{key:1,class:"item",style:{backgroundColor:"#fbf4f5"},onClick:b},[D(Je,{color:"#fb2c36",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((Mt=c.value)==null?void 0:Mt.status)=="running"?(r(),d("div",{key:2,class:"item",style:{backgroundColor:"#dae8fd"},onClick:h},[D(Je,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)])):C("",!0)],64)):C("",!0),t("div",{class:"item",style:{backgroundColor:"#fcf7f2"},onClick:_},[D(Wa,{color:"#ff6900",class:"icon"}),t("span",null,i(e(n)("\u65E5\u5FD7\u67E5\u770B")),1)]),t("div",{class:"item",style:{backgroundColor:"#eff5ff"},onClick:k},[D(ra,{color:"#553afe",class:"icon"}),t("span",null,i(e(n)("\u7CFB\u7EDF\u7EF4\u62A4")),1)])])}}});var x7=N(_7,[["__scopeId","data-v-7bdb8244"]]);const w7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},k7=["fill"],y7=["fill"],F7=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),d("svg",w7,[t("path",{d:"M746 112c82.84 0 150 67.16 150 150S828.84 412 746 412 596 344.84 596 262 663.16 112 746 112z m0 48C689.668 160 644 205.668 644 262S689.668 364 746 364 848 318.332 848 262 802.332 160 746 160zM746 612c82.84 0 150 67.16 150 150S828.84 912 746 912 596 844.84 596 762s67.16-150 150-150z m0 48c-56.332 0-102 45.668-102 102s45.668 102 102 102 102-45.668 102-102-45.668-102-102-102zM262 364c82.84 0 150 67.16 150 150S344.84 664 262 664 112 596.84 112 514 179.16 364 262 364z m0 48C205.668 412 160 457.668 160 514S205.668 616 262 616 364 570.332 364 514 318.332 412 262 412z",fill:o.color,"p-id":"5059"},null,8,k7),t("path",{d:"M337.7 442.744l293.488-169.62 40.464 70.16-293.484 169.62zM387.708 526.728l277.02 160.12-40.468 70.156-277.02-160.12z",fill:o.color,"p-id":"5060"},null,8,y7)]))}}),E7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},$7=["fill"],Ja=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",E7,[t("path",{d:"M827.84 886.4H187.9184375c-32.2659375 0-53.76-21.51375-53.76-53.784375V714.28625a53.889375 53.889375 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.35375a53.8940625 53.8940625 0 0 1-53.76 53.76z m-5.375625-172.11375H187.9184375v118.35375h634.5309375V714.28625z m-570 32.664375a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.865-26.88z m78.3403125 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875z m78.6 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875zM827.215625 624.9490625H187.2846875c-32.2603125 0-53.76-21.51375-53.76-53.784375V452.8353125a53.8940625 53.8940625 0 0 1 53.76-53.784375H827.196875a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.784375z m-5.38125-172.11375H187.285625v118.329375H821.815625V452.8353125z m-569.994375 31.9921875a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m77.889375 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8565625-26.88z m76.963125-0.403125a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.163125z m419.7890625-120.744375H186.56c-32.2509375 0-53.76-21.5278125-53.76-53.7984375V191.5521875a53.8940625 53.8940625 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.7984375z m-5.3615625-172.1278125H186.56v118.329375h634.56V191.5521875z m-570.0140625 32.2753125a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8753125-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8846875-26.88z",fill:o.color,"p-id":"19012"},null,8,$7)]))}}),C7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},D7=["fill"],B7=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),d("svg",C7,[t("path",{d:"M716.8 750.933333c47.786667 0 95.573333-27.306667 119.466667-68.266666 23.893333-40.96 23.893333-95.573333 0-136.533334-23.893333-40.96-68.266667-68.266667-119.466667-68.266666-10.24 0-17.066667-3.413333-23.893333-10.24-6.826667-6.826667-10.24-13.653333-10.24-23.893334 0-95.573333-75.093333-170.666667-170.666667-170.666666s-170.666667 75.093333-170.666667 170.666666v6.826667c81.92 23.893333 136.533333 95.573333 136.533334 180.906667 0 13.653333-6.826667 23.893333-17.066667 30.72-10.24 6.826667-23.893333 6.826667-34.133333 0-10.24-6.826667-17.066667-17.066667-17.066667-30.72 0-64.853333-54.613333-119.466667-119.466667-119.466667S170.666667 566.613333 170.666667 631.466667 225.28 750.933333 290.133333 750.933333H716.8zM296.96 819.2c-102.4 3.413333-187.733333-75.093333-194.56-177.493333-3.413333-102.4 75.093333-191.146667 177.493333-194.56 0-126.293333 95.573333-228.693333 221.866667-238.933334 122.88-6.826667 232.106667 81.92 249.173333 208.213334 105.813333 17.066667 180.906667 112.64 170.666667 218.453333-10.24 102.4-98.986667 184.32-204.8 184.32H296.96z",fill:o.color,"p-id":"8044"},null,8,D7)]))}}),Y7={class:"app-container_samba"},A7={key:0,class:"sambas-item"},S7={class:"sambas-item_name"},z7={class:"sambas-item_value"},P7={class:"sambas-item"},T7={class:"sambas-item_name tit"},I7={class:"sambas-item_value tit"},M7={class:"samba-item"},L7={class:"samba-item_name"},N7=["title"],O7=["href"],V7=I({props:{sambas:{type:Array}},setup(o){const{$gettext:n,$ngettext:a}=H(),l=window.location.hostname;return(u,s)=>{var p;return r(),d("ul",Y7,[o.sambas?(r(),d("li",A7,[t("div",S7,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",z7,[t("span",null,i((p=o.sambas)!=null&&p.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)])])):C("",!0),t("li",P7,[t("div",T7,[t("span",null,i(e(n)("\u5730\u5740")),1)]),t("div",I7,[t("span",null,i(e(n)("\u76EE\u5F55")),1)])]),(r(!0),d(U,null,tt(o.sambas,w=>(r(),d("li",M7,[t("div",L7,[t("span",null,"smb://"+i(e(l))+"/"+i(w.shareName),1)]),t("div",{class:"samba-item_value",title:w.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+w.path},i(w.path),9,O7)],8,N7)]))),256))])}}});var G7=N(V7,[["__scopeId","data-v-6c80f0b7"]]);const j7={class:"webdav-item"},U7={class:"webdav-item_name"},q7={class:"webdav-item_value"},R7={key:0,class:"webdav-item"},W7={class:"webdav-item_name"},H7={class:"webdav-item_value"},J7=["href"],Z7={key:1,class:"webdav-item"},K7={class:"webdav-item_name"},Q7={class:"webdav-item_value"},X7=["href"],tf={key:2,class:"webdav-item"},ef={class:"webdav-item_name"},af={class:"webdav-item_value"},of=I({props:{webdav:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var s;return`http://${location.hostname}:${(s=n.webdav)==null?void 0:s.port}`});return(s,p)=>{var w,m,c,f,g,_,k;return r(),d(U,null,[t("li",j7,[t("div",U7,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",q7,[t("span",null,i((w=o.webdav)!=null&&w.path?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])]),(m=o.webdav)!=null&&m.path?(r(),d("li",R7,[t("div",W7,[t("span",null,i(e(a)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",H7,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((c=o.webdav)==null?void 0:c.path)},i((f=o.webdav)==null?void 0:f.path),9,J7)])])):C("",!0),(g=o.webdav)!=null&&g.port?(r(),d("li",Z7,[t("div",K7,[t("span",null,i(e(a)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",Q7,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,X7)])])):C("",!0),(_=o.webdav)!=null&&_.username?(r(),d("li",tf,[t("div",ef,[t("span",null,i(e(a)("\u8D26\u53F7:")),1)]),t("div",af,[t("span",null,i((k=o.webdav)==null?void 0:k.username),1)])])):C("",!0)],64)}}});var nf=N(of,[["__scopeId","data-v-9e39e9b2"]]);const rf={class:"app-container_linkease"},sf={class:"linkease-item"},df={class:"linkease-item_name"},lf={class:"linkease-item_value"},uf={key:0,class:"configure"},cf={key:0,class:"linkease-item"},pf={class:"linkease-item_name"},ff={class:"linkease-item_value"},mf=["href"],gf={href:" https://app.linkease.com/",target:"_blank"},vf=I({props:{linkease:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var p;return`http://${location.hostname}:${(p=n.linkease)==null?void 0:p.port}`}),s=()=>{Ga({setup:0})};return(p,w)=>{var m,c,f;return r(),d("ul",rf,[t("li",sf,[t("div",df,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",lf,[(m=o.linkease)!=null&&m.enabel?(r(),d("span",uf,i(e(a)("\u5DF2\u914D\u7F6E")),1)):(r(),d("span",{key:1,class:"configure enabel",onClick:w[0]||(w[0]=g=>s())},i(e(a)("\u672A\u914D\u7F6E")),1))])]),(c=o.linkease)!=null&&c.enabel?(r(),d(U,{key:0},[(f=o.linkease)!=null&&f.port?(r(),d("li",cf,[t("div",pf,[t("span",null,i(e(a)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",ff,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,mf)])])):C("",!0)],64)):C("",!0),t("div",null,[t("a",gf,i(e(a)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var bf=N(vf,[["__scopeId","data-v-485e1494"]]);const Za=o=>(it("data-v-7ee59a9a"),o=o(),rt(),o),hf={href:"/cgi-bin/luci/admin/services/samba4"},_f={class:"content"},xf={class:"tab"},wf={class:"title"},kf={key:0},yf={key:1},Ff=Za(()=>t("div",{class:"title"},"SAMBA",-1)),Ef=Za(()=>t("div",{class:"title"},"WEBDAV",-1)),$f=I({setup(o){const{$gettext:n}=H(),a=F(!1);F("linkease");const l=F(),u=Jo(),s=F(!1);(()=>{G.Nas.Service.Status.GET().then(_=>{var k;if((k=_==null?void 0:_.data)!=null&&k.result){const b=_.data.result;l.value=b,b.webdav&&(u.webdav=b.webdav)}})})();const w=()=>{Ga({setup:0})},m=()=>{a.value=!a.value},c=()=>{m(),Dt.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")},f=F(0),g=_=>{f.value=_};return(_,k)=>(r(),Z(Wt,{title:e(n)("\u5B58\u50A8\u670D\u52A1"),style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":s.value,"onUpdate:isSettingsMenuOpen":k[4]||(k[4]=b=>s.value=b)},{icon:j(()=>[D(F7,{color:"#4f39f6",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:w},[D(ra,{color:"#0a0a0a",class:"icon1 settings-icon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u5B58\u50A8\u670D\u52A1")),1),t("div",{class:"rotation",onClick:k[0]||(k[0]=ut(b=>s.value=!s.value,["stop"]))},[D(Ee,{class:"moreIcon"})])])]),"settings-menu":j(()=>[t("div",null,[t("a",hf,i(e(n)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:c},i(e(n)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:j(()=>{var b,h,v,x,y,$,Y,P,A;return[t("div",_f,[t("div",xf,[t("div",{class:st(["item cloud",{active:f.value==0}]),onClick:k[1]||(k[1]=B=>g(0))},[D(B7,{color:"#155dfc",class:"icon2"}),t("div",wf,i(e(n)("\u6613\u6709\u4E91")),1),(h=(b=l.value)==null?void 0:b.linkease)!=null&&h.enabel?(r(),d("span",kf,i(e(n)("\u5DF2\u914D\u7F6E")),1)):(r(),d("span",yf,i(e(n)("\u672A\u914D\u7F6E")),1))],2),t("div",{class:st(["item memory",{active:f.value==1}]),onClick:k[2]||(k[2]=B=>g(1))},[D(Ja,{color:"#0bab47",class:"icon2"}),Ff,t("span",null,i((x=(v=l.value)==null?void 0:v.sambas)!=null&&x.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2),t("div",{class:st(["item network",{active:f.value==2}]),onClick:k[3]||(k[3]=B=>g(2))},[D(xe,{color:"#9810fa",class:"icon2"}),Ef,t("span",null,i(($=(y=l.value)==null?void 0:y.webdav)!=null&&$.path?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2)]),f.value==0?(r(),Z(bf,{key:0,linkease:(Y=l.value)==null?void 0:Y.linkease},null,8,["linkease"])):f.value==1?(r(),Z(G7,{key:1,sambas:(P=l.value)==null?void 0:P.sambas},null,8,["sambas"])):f.value==2?(r(),Z(nf,{key:2,webdav:(A=l.value)==null?void 0:A.webdav},null,8,["webdav"])):C("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var Cf=N($f,[["__scopeId","data-v-7ee59a9a"]]);const Df={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Bf=["fill"],Yf=["fill"],Fa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",Df,[t("path",{d:"M554.688 682.624a42.688 42.688 0 0 0 0 85.376h0.448a42.688 42.688 0 1 0 0-85.376h-0.448zM767.488 682.624a42.688 42.688 0 0 0 0 85.376H768a42.688 42.688 0 1 0 0-85.376h-0.512z",fill:o.color,"p-id":"5230"},null,8,Bf),t("path",{d:"M465.28 96h93.44c59.456 0 106.88 0 144.96 4.48 39.36 4.48 72.128 14.08 100.992 35.584 28.8 21.44 47.424 50.112 63.104 86.464 15.232 35.2 28.8 80.64 45.952 137.6l52.48 174.848c1.28 4.48 2.752 9.28 3.584 14.336v0.32l0.192 1.216c0.64 5.12 0.64 10.048 0.64 14.72v3.392c0 72.704 0 130.304-5.632 175.68-5.824 46.592-18.112 84.736-45.952 115.84-4.992 5.568-10.304 10.88-15.936 15.872-31.104 27.84-69.184 40.128-115.84 45.952-45.312 5.696-102.912 5.696-175.616 5.696H412.352c-72.704 0-130.304 0-175.68-5.696-46.592-5.824-84.672-18.112-115.84-45.888a202.944 202.944 0 0 1-15.872-16c-27.84-31.04-40.128-69.12-45.952-115.84-5.696-45.312-5.696-102.912-5.696-175.616v-3.328c0-4.672 0-9.664 0.704-14.784v-0.32l0.192-1.216c0.832-5.056 2.24-9.856 3.584-14.272l52.48-174.912c17.088-56.96 30.72-102.4 45.952-137.6 15.68-36.352 34.304-65.024 63.104-86.4 28.8-21.504 61.632-31.104 100.992-35.712C358.4 96 405.76 96 465.28 96zM327.68 164.032c-33.152 3.84-53.632 11.072-70.144 23.36-16.512 12.288-29.376 29.824-42.56 60.48-13.568 31.424-26.176 73.28-43.968 132.544l-42.688 142.272h767.36l-42.688-142.272c-17.792-59.264-30.4-101.12-43.968-132.48-13.184-30.72-26.048-48.256-42.56-60.544-16.512-12.288-36.992-19.52-70.144-23.36C662.336 160 618.624 160 556.736 160H467.328c-61.952 0-105.6 0-139.648 4.032zM122.496 736.64c5.056 40.128 14.528 63.616 30.144 81.088 3.456 3.84 7.04 7.488 10.88 10.88 17.536 15.68 40.96 25.088 81.152 30.144 40.96 5.12 94.464 5.184 169.92 5.184h194.816c75.456 0 129.024 0 169.92-5.184 40.128-5.056 63.616-14.464 81.152-30.08 3.84-3.456 7.424-7.104 10.88-10.944 15.616-17.536 25.088-40.96 30.08-81.088 4.672-37.248 5.12-84.928 5.248-150.016H117.312c0.064 65.088 0.512 112.768 5.184 150.016z",fill:o.color,"p-id":"5231"},null,8,Yf)]))}}),Af={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Sf=["fill"],zf=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),d("svg",Af,[t("path",{d:"M912 208H427.872l-50.368-94.176A63.936 63.936 0 0 0 321.056 80H112c-35.296 0-64 28.704-64 64v736c0 35.296 28.704 64 64 64h800c35.296 0 64-28.704 64-64v-608c0-35.296-28.704-64-64-64z m-800-64h209.056l68.448 128H912v97.984c-0.416 0-0.8-0.128-1.216-0.128H113.248c-0.416 0-0.8 0.128-1.248 0.128V144z m0 736v-96l1.248-350.144 798.752 1.216V784h0.064v96H112z",fill:o.color,"p-id":"5094"},null,8,Sf)]))}}),Pf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Tf=["fill"],If=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",Pf,[t("path",{d:"M136.12 251.958a83.054 83.054 0 0 1-0.12-4.458c0-32.903 19.447-58.344 41.115-75.981 21.984-17.893 51.365-32.231 84.13-43.511C327.163 105.315 415.641 92 511.5 92c95.859 0 184.337 13.315 250.255 36.008 32.765 11.28 62.146 25.618 84.13 43.511 20.221 16.458 38.506 39.713 40.86 69.485l0.255 0.002v532.88c0 32.888-19.031 58.62-40.776 76.719-21.978 18.294-51.385 32.976-84.207 44.53C696.011 918.373 607.438 932 511.5 932c-95.938 0-184.511-13.627-250.517-36.865-32.822-11.554-62.229-26.236-84.207-44.53C155.031 832.506 136 806.774 136 773.886V251.96l0.12-0.002z m79.88-4.459v0.002c0 0.016-0.003 0.151 0.098 0.491 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.49 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 310.459 422.067 323 511.5 323c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.606 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-0.014-0.012c-0.001-0.042-0.01-0.182-0.098-0.479-0.112-0.379-0.397-1.16-1.103-2.347-1.479-2.49-4.55-6.323-10.415-11.096-11.97-9.743-31.722-20.293-59.67-29.914C680.204 184.541 600.933 172 511.5 172c-89.433 0-168.704 12.541-224.214 31.651-27.948 9.621-47.7 20.171-59.67 29.914-5.865 4.773-8.936 8.606-10.415 11.096-0.706 1.187-0.991 1.968-1.103 2.347-0.101 0.34-0.098 0.475-0.098 0.491z m591 100.656c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 389.685 607.359 403 511.5 403c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v85.359c0.001 0.042 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 496.459 422.067 509 511.5 509c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-85.358z m-45.245 204.837C695.837 575.685 607.359 589 511.5 589c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v70.359c0.001 0.041 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 667.459 422.067 680 511.5 680c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-70.358c-13.955 7.052-29.194 13.311-45.245 18.837zM807 705.155c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 746.685 607.359 760 511.5 760c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837V773.894c0 0.181-0.003 1.283 1.399 3.695 1.555 2.675 4.69 6.646 10.556 11.529 11.976 9.968 31.701 20.738 59.594 30.557C342.97 839.186 422.146 852 511.5 852c89.354 0 168.53-12.814 223.951-32.325 27.893-9.819 47.618-20.589 59.594-30.557 5.866-4.883 9.001-8.854 10.556-11.529 1.402-2.412 1.399-3.514 1.399-3.695v-68.739z",fill:o.color,"p-id":"9960"},null,8,Tf)]))}}),Mf={},Lf={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"},Nf=Vt('',1),Of=[Nf];function Vf(o,n){return r(),d("svg",Lf,Of)}var Ea=N(Mf,[["render",Vf]]);const Gf={},jf={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"},Uf=Vt('',1),qf=[Uf];function Rf(o,n){return r(),d("svg",jf,qf)}var Wf=N(Gf,[["render",Rf]]);const Ve=o=>(it("data-v-5f5fb500"),o=o(),rt(),o),Hf=["onSubmit"],Jf=Ve(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),Zf={class:"action-body"},Kf={class:"disk-info"},Qf=Ve(()=>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)),Xf={key:0,class:"disk-info_mount-name"},t9={key:1,class:"disk-info_mount-name"},e9={key:0,class:"label-item"},a9={class:"label-item_key"},o9={class:"label-item_path"},n9={class:"label-item"},i9={class:"label-item_key"},r9={class:"label-item_value"},s9={class:"action-footer"},d9=Ve(()=>t("div",{class:"auto"},null,-1)),l9=["disabled"],u9=["disabled"],c9={key:1,class:"action result"},p9={class:"action-body"},f9=Ve(()=>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)),m9={class:"action-body_msg"},g9=["innerHTML"],v9={class:"btns"},b9=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var h;const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close&&n.Close()},s=v=>{v.preventDefault(),n.Cancel&&n.Cancel(),u()},p=v=>{n.Next&&n.Next(v),u()},w=F(!1),m=F(0),c=F("/mnt/data_"+((h=n==null?void 0:n.mount)==null?void 0:h.name)),f=v=>{m.value=v};F(n.mount?"":"format"),F();const g=F(),_=()=>O(this,null,function*(){const v=n.mount;if(v==null){E.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(v.path==null||v.path==""){E.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(v.uuid==null||v.uuid==""){E.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}w.value=!0;const x=E.Loading(a("\u6302\u8F7D\u4E2D..."));try{const y=yield G.Nas.Disk.Partition.Mount.POST({path:v.path,uuid:v.uuid,mountPoint:c.value});if(y!=null&&y.data){const{result:$,error:Y}=y==null?void 0:y.data;Y&&E.Warning(Y),$&&(E.Success(a("\u6302\u8F7D\u6210\u529F")),g.value=$,f(1))}}catch(y){E.Error(y)}x.Close(),w.value=!1}),k=()=>{if(g.value&&g.value.mountPoint){p(g.value.mountPoint);return}E.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},b=()=>{};return(v,x)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>{var y,$;return[m.value==0?(r(),d("form",{key:0,class:"action format",onSubmit:ut(b,["prevent"])},[Jf,t("div",Zf,[t("div",Kf,[Qf,o.mount?(r(),d("div",Xf,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint),1)])):o.disk?(r(),d("div",t9,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):C("",!0)]),o.mount?(r(),d("div",e9,[t("div",a9,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",o9,i(o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF0C"+i(($=(y=o.mount)==null?void 0:y.filesystem)==null?void 0:$.toUpperCase())+"\uFF09",1)])):C("",!0),t("div",n9,[t("div",i9,[t("span",null,i(e(a)("\u6302\u8F7D\u70B9")),1)]),t("div",r9,[L(t("input",{type:"text","onUpdate:modelValue":x[0]||(x[0]=Y=>c.value=Y)},null,512),[[et,c.value,void 0,{trim:!0}]])])])]),t("div",s9,[d9,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value,onClick:_},i(e(a)("\u786E\u5B9A")),9,l9),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button",disabled:w.value},i(e(a)("\u8FD4\u56DE")),9,u9)])],40,Hf)):m.value==1?(r(),d("div",c9,[t("div",p9,[f9,t("div",m9,i(e(a)("\u6302\u8F7D\u6210\u529F")),1),g.value?(r(),d("div",{key:0,class:"action-body_info",innerHTML:e(a)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:g.value.path||"",mount:g.value.mountPoint||""},!0)},null,8,g9)):C("",!0),t("div",v9,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:k},i(o.action=="nas"?e(a)("\u5B8C\u6210"):e(a)("\u4E0B\u4E00\u6B65")),1)])])])):C("",!0)]}),_:1})]),_:1}))}});var h9=N(b9,[["__scopeId","data-v-5f5fb500"]]),Ka=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(h9,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const _9={class:"disk-content"},x9={class:"disk-item"},w9={class:"disk-item_name"},k9={key:0},y9={key:1},F9={key:2},E9={class:"disk_value"},$9={class:"disk-item_value"},C9={class:"value-data"},D9={key:0,class:"disk-item"},B9={class:"disk-item_name"},Y9={key:0},A9=["href"],S9={key:0},z9={class:"disk_status"},P9={key:0,class:"disk_status_item"},T9={key:0,class:"tooltip-trigger disk_tip"},I9={class:"tooltip-text tooltip-top"},M9={class:"disk_dir_tip"},L9={class:"disk_status_item"},N9={key:0,class:"tooltip-trigger disk_tip"},O9={class:"tooltip-text tooltip-top"},V9={class:"disk_dir_tip"},G9=I({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>n.part.filesystem=="No FileSystem"),s=Q(()=>n.part.filesystem&&["ntfs","vfat","exfat"].indexOf(n.part.filesystem)>=0),p=Q(()=>n.part.mountPoint&&n.part.isReadOnly&&n.part.filesystem!="swap"),w=Q(()=>u.value||!n.part.isSystemRoot&&(p.value||s.value||!n.part.mountPoint&&n.part.filesystem=="swap")),m=function(){ua({action:"disk",disk:n.disk,mount:n.part,Cancel:()=>{},Next:k=>{location.reload()}})},c=()=>{Ka({action:"nas",disk:n.disk,mount:n.part,Cancel:()=>{},Next:()=>{location.reload()}})},f=()=>O(this,null,function*(){const k=E.Loading(a("\u5904\u7406\u4E2D..."));try{const b=yield G.Nas.Disk.InitRest.POST({name:n.disk.name,path:n.disk.path});if(b!=null&&b.data){const{result:h,error:v}=b==null?void 0:b.data;v&&E.Warning(v),h&&(E.Success(a("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(b){E.Error(b)}k.Close()}),g=Q(()=>n.part.filesystem=="Free Space"),_=Q(()=>{const k=n.part.mountPoint?n.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,b)=>{var v;const h=ht("progress-item");return r(),d("div",_9,[t("li",x9,[t("div",w9,[e(g)?(r(),d("span",k9,i(e(a)("\u672A\u5206\u533A")),1)):(r(),d("span",y9,i(o.part.name)+i(o.part.mountPoint?"":e(u)?e(a)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(a)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(r(),d("span",F9,i(e(a)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):C("",!0)]),t("div",E9,[t("div",$9,[t("div",C9,[D(h,{value:e(g)||!o.part.usage?0:o.part.usage,text:e(g)?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(g)?(r(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:f},i(e(a)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(w)?(r(),d("button",{key:1,class:"cbi-button cbi-button-apply",onClick:m},i(e(a)("\u683C\u5F0F\u5316\u5206\u533A")),1)):C("",!0)])]),!e(g)&&!e(u)?(r(),d("li",D9,[t("span",B9,[o.part.mountPoint?(r(),d(U,{key:0},[o.part.filesystem=="swap"?(r(),d("span",Y9,i(e(a)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(r(),d("a",{key:1,href:e(_),target:"_blank"},i(o.part.mountPoint),9,A9))],64)):(r(),d(U,{key:1},[o.part.filesystem=="swap"?(r(),d("span",S9,i(e(a)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(r(),d("span",{key:1,class:"value-data buttondiv",onClick:c},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",z9,[o.part.mountPoint&&o.part.filesystem!="swap"?(r(),d("div",P9,[t("div",null,i(e(a)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+i(o.part.isReadOnly?e(a)("\u53EA\u8BFB"):e(a)("\u8BFB\u5199")),1),e(p)?(r(),d("div",T9,[D(zt),t("div",I9,[t("div",M9,i(e(a)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):C("",!0)])):C("",!0),t("div",L9,[t("div",null,i(e(a)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+i((v=o.part.filesystem)==null?void 0:v.toUpperCase()),1),!o.part.isSystemRoot&&e(s)?(r(),d("div",N9,[D(zt),t("div",O9,[t("span",V9,i(e(a)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):C("",!0)])])])):C("",!0)])}}});var j9=N(G9,[["__scopeId","data-v-4e7285ca"]]);const U9=o=>(it("data-v-56d0d562"),o=o(),rt(),o),q9={key:0,class:"action"},R9={class:"title"},W9={class:"app-container_info"},H9={class:"app-container_body"},J9={class:"action-footer"},Z9=U9(()=>t("div",{class:"auto"},null,-1)),K9=I({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(0),s=()=>{n.Close&&n.Close()},p=w=>{w.preventDefault(),n.Cancel&&n.Cancel(),s()};return(w,m)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[u.value==0?(r(),d("div",q9,[t("h2",R9,i(e(a)("\u5206\u533A\u4FE1\u606F"))+" - "+i((o.disk.name||"?")+(o.disk.isSystemRoot?e(a)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",W9,[t("span",null,i(e(a)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,i(e(a)("\u5BB9\u91CF")),1)]),t("div",H9,[(r(!0),d(U,null,tt(o.disk.childrens,(c,f)=>(r(),Z(j9,{key:f,part:c,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",J9,[Z9,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p,type:"button"},i(e(a)("\u8FD4\u56DE")),1)])])):C("",!0)]),_:1})]),_:1},8,["Close"]))}});var Q9=N(K9,[["__scopeId","data-v-56d0d562"]]),X9=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(Q9,pt(lt({},o),{Close:()=>{l()}}));a.component("progress-item",Ma),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const tm={class:"progress-bar-wrapper"},em={key:0,class:"percentage-text"},am={props:{percentage:{type:Number,default:0,validator:o=>o>=0&&o<=100},color:{type:String,default:"#4CAF50"},backgroundColor:{type:String,default:"#e0e0e0"},height:{type:[String,Number],default:"20px"},borderRadius:{type:[String,Number],default:"4px"},showPercentage:{type:Boolean,default:!0},gradient:{type:Boolean,default:!1},gradientColors:{type:String,default:"linear-gradient(90deg, #4CAF50, #45a049)"},duration:{type:Number,default:1e3}},setup(o){const n=o,a=Q(()=>({height:typeof n.height=="number"?`${n.height}px`:n.height,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,backgroundColor:n.backgroundColor,overflow:"hidden"})),l=Q(()=>{const u={height:"100%",width:`${n.percentage}%`,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,transition:`width ${n.duration}ms cubic-bezier(0.4, 0, 0.2, 1)`,position:"relative",overflow:"hidden"};return n.gradient?pt(lt({},u),{background:n.gradientColors}):pt(lt({},u),{background:n.color})});return(u,s)=>(r(),d("div",tm,[t("div",{class:"progress-bar",style:ft(e(a))},[t("div",{class:"progress-fill",style:ft(e(l))},[o.showPercentage?(r(),d("span",em,i(Math.round(o.percentage))+"% ",1)):C("",!0)],4)],4)]))}};var Qa=N(am,[["__scopeId","data-v-2691c876"]]);const om={key:0,class:"disk-item error"},nm=["title"],im={class:"disk-item_value"},rm={class:"value-data"},sm={class:"error"},dm={key:1,class:"disk-item"},lm=["title"],um={key:0,class:"disk_value"},cm={class:"value-data"},pm={href:"/cgi-bin/luci/admin/nas/smart"},fm={class:"error"},mm={key:1,class:"disk_value"},gm={class:"disk-item_value"},vm={class:"value-data"},bm={class:"disk-item-tooltip"},hm={class:"disk_icon"},_m={key:0,class:"tooltip-trigger"},xm={class:"disk_tip"},wm={class:"tooltip-text tooltip-top"},km={class:"disk_dir_tip"},ym={key:1,class:"tooltip-trigger"},Fm={class:"disk_tip"},Em={class:"tooltip-text tooltip-top"},$m={class:"disk_dir_tip"},Cm={key:2,class:"disk-item load"},Dm=["title"],Bm={class:"disk_value"},Ym={class:"disk-item_value"},Am={class:"value-data"},Sm={key:3,class:"disk-item load"},zm=["title"],Pm={class:"disk_value"},Tm={key:0,class:"disk-item_value"},Im={class:"value-data"},Mm={class:"disk_icon"},Lm=I({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const n=o,{$gettext:a}=H(),l=Q(()=>n.disk.errorInfo?"error":n.disk.childrens==null||n.disk.childrens.length==0||n.disk.childrens.length==1&&n.disk.childrens[0].filesystem=="No FileSystem"?"load":n.disk.childrens.filter(c=>c.mountPoint).length==0?"unmounted":"success"),u=Q(()=>{const c=n.disk;let f=c.name;return c.size&&(f+=`\u3010${c.size}\u3011`),c.venderModel&&(f+=`(${c.venderModel})`),f}),s=Q(()=>{var f;const c=n.disk;return!c.isSystemRoot&&(((f=c.childrens)==null?void 0:f.filter(g=>g.isReadOnly&&g.filesystem!="swap").length)||0)>0}),p=()=>{ua({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},w=()=>{X9({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},m=()=>{const c=n.disk,f=c.childrens||[];Ka({action:"nas",disk:c,mount:f[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(c,f)=>{var g,_,k;return e(l)=="error"?(r(),d("li",om,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,nm),t("div",im,[t("div",rm,[t("span",sm,i(o.disk.errorInfo),1)])])])):e(l)=="success"?(r(),d("li",dm,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,lm),o.disk.smartWarning&&o.smartWarning?(r(),d("div",um,[t("div",cm,[t("a",pm,[t("span",fm,i(e(a)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(r(),d("div",mm,[t("div",gm,[t("div",vm,[D(Qa,{percentage:o.disk.usage||0,showPercentage:!1,height:"10px",borderRadius:"10px",color:"#030213",backgroundColor:"#cdccd0"},null,8,["percentage"]),t("div",null,[t("span",null,i(e(a)("\u4F7F\u7528\u7387"))+"\uFF1A"+i(o.disk.usage||0)+"%",1),t("span",null,i(e(a)("\u53EF\u7528"))+"\uFF1A"+i(o.disk.total),1)])]),t("div",bm,[t("span",null,i(e(a)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",hm,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(r(),d("span",_m,[t("span",xm,[D(zt)]),t("div",null,[t("div",wm,[t("span",km,i(e(a)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):C("",!0),e(s)?(r(),d("span",ym,[t("span",Fm,[D(zt)]),t("div",null,[t("div",Em,[t("span",$m,i(e(a)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):C("",!0),e(s)&&((g=o.disk.childrens)==null?void 0:g.length)==1?(r(),d("span",{key:2,class:"disk_infoicon",onClick:f[0]||(f[0]=b=>p())},[D(Wf)])):C("",!0),t("span",{class:"disk_infoicon",onClick:f[1]||(f[1]=b=>w())},[D(Ea,{style:{color:"var(--app-container_title-color)"}})])])]))])):e(l)=="load"?(r(),d("li",Cm,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,Dm),t("div",Bm,[t("div",Ym,[t("div",Am,[t("button",{onClick:f[2]||(f[2]=b=>p())},i(e(a)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(l)=="unmounted"?(r(),d("li",Sm,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,zm),t("div",Pm,[((_=o.disk.childrens)==null?void 0:_.length)==1?(r(),d("div",Tm,[t("div",Im,[o.disk.childrens[0].filesystem=="swap"?(r(),d("button",{key:0,onClick:f[3]||(f[3]=b=>w())},i(e(a)("\u67E5\u770B\u8BE6\u60C5")),1)):(r(),d("button",{key:1,onClick:f[4]||(f[4]=b=>m())},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))])])):C("",!0),t("div",Mm,[(((k=o.disk.childrens)==null?void 0:k.length)||0)>1?(r(),d("span",{key:0,class:"disk_infoicon",onClick:f[5]||(f[5]=b=>w())},[D(Ea,{style:{color:"var(--app-container_title-color)"}})])):C("",!0)])])])):C("",!0)}}});var Ze=N(Lm,[["__scopeId","data-v-bf7bcc14"]]);const Xa=o=>(it("data-v-30806f07"),o=o(),rt(),o),Nm={href:"/cgi-bin/luci/admin/nas/raid"},Om=Xa(()=>t("div",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),Vm={href:"/cgi-bin/luci/admin/system/diskman"},Gm={href:"/cgi-bin/luci/admin/system/mounts"},jm={class:"content"},Um={key:0,class:"disk_loading_icon"},qm={class:"disk_loading_info"},Rm={class:"item",style:{"margin-top":"4px","padding-bottom":"0"}},Wm={class:"icon_box"},Hm={class:"info"},Jm={class:"name"},Zm={class:"schedule"},Km=Xa(()=>t("div",{class:"line"},null,-1)),Qm={class:"item"},Xm={class:"icon_box",style:{background:"#f3e8ff"}},tg={class:"info"},eg={class:"name"},ag={class:"schedule"},og={key:2,class:"item"},ng={class:"icon_box",style:{background:"#dbfce7"}},ig={class:"info"},rg={class:"name"},sg={class:"schedule"},dg=I({setup(o){const{$gettext:n}=H(),a=F(!1),l=mt({disks:null,raidList:null}),u=()=>{G.Nas.Disk.Status.GET().then(w=>{var m;if((m=w==null?void 0:w.data)!=null&&m.result){const c=w.data.result;l.disks=c.disks||[]}})};(()=>O(this,null,function*(){try{const w=yield G.Raid.List.GET();if(w!=null&&w.data){const{success:m,error:c,result:f}=w.data;if(f&&(l.raidList=f.disks||[]),c)throw c}}catch(w){console.log(w)}}))(),u();const p=()=>{Dt.installAndGo("luci-app-linkease",n("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(w,m)=>{const c=ht("icon-loading");return r(),Z(Wt,{title:e(n)("\u78C1\u76D8\u4FE1\u606F"),style:{width:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":m[1]||(m[1]=f=>a.value=f)},{icon:j(()=>[D(Fa,{color:"#45556c",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:p},[D(zf,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u6587\u4EF6\u7BA1\u7406")),1),t("div",{class:"rotation",onClick:m[0]||(m[0]=ut(f=>a.value=!a.value,["stop"]))},[D(Ee,{class:"moreIcon"})])])]),"settings-menu":j(()=>[t("div",null,[t("a",Nm,i(e(n)("RAID\u7BA1\u7406")),1)]),Om,t("div",null,[t("a",Vm,i(e(n)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("div",null,[t("a",Gm,i(e(n)("\u6302\u8F7D\u70B9")),1)])]),default:j(()=>{var f,g;return[t("div",jm,[!e(l).disks&&!e(l).raidList?(r(),d("div",Um,[D(c,{size:38,color:"#888888"}),t("span",qm,i(e(n)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])):C("",!0),e(l).disks?(r(),d(U,{key:1},[t("div",Rm,[t("div",Wm,[D(Fa,{color:"#2b6cfc",class:"icon"})]),t("div",Hm,[t("div",Jm,[t("div",null,i(e(n)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",Zm,[(r(!0),d(U,null,tt((f=e(l).disks)==null?void 0:f.filter(_=>_.isSystemRoot),(_,k)=>(r(),Z(Ze,{key:k,disk:_},null,8,["disk"]))),128))])])]),Km,t("div",Qm,[t("div",Xm,[D(If,{class:"icon"})]),t("div",tg,[t("div",eg,[t("div",null,i(e(n)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",ag,[(r(!0),d(U,null,tt((g=e(l).disks)==null?void 0:g.filter(_=>!_.isSystemRoot),(_,k)=>(r(),Z(Ze,{key:k,disk:_,smartWarning:!0},null,8,["disk"]))),128))])])])],64)):C("",!0),e(l).raidList&&e(l).raidList.length>0?(r(),d("div",og,[t("div",ng,[D(Ja,{color:"#0bab47",class:"icon"})]),t("div",ig,[t("div",rg,[t("div",null,i(e(n)("RAID\u8BBE\u5907")),1)]),t("div",sg,[(r(!0),d(U,null,tt(e(l).raidList,(_,k)=>(r(),Z(Ze,{key:k,disk:_},null,8,["disk"]))),128))])])])):C("",!0)])]}),_:1},8,["title","is-settings-menu-open"])}}});var lg=N(dg,[["__scopeId","data-v-30806f07"]]);const ug={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},cg=["fill"],$a=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",ug,[t("path",{d:"M473.950316 63.164632l488.070737 234.226526v414.234947l-337.92 200.111158-502.837895-295.019789V223.447579l352.687158-160.282947zM200.434526 306.661053V571.284211l383.892211 225.28V510.113684L200.434526 306.661053z m682.253474 82.728421l-219.082105 120.400842v286.396631l219.082105-129.670736V389.335579z m-409.761684-238.753685L258.910316 247.915789l364.759579 193.374316 212.075789-116.520421-362.819368-174.08z",fill:o.color,"p-id":"6174"},null,8,cg)]))}}),pg=o=>(it("data-v-5d803f28"),o=o(),rt(),o),fg={class:"app-container_docker"},mg={class:"docker-item"},gg={class:"docker-item_name"},vg={key:0,class:"docker-item_value"},bg={class:"configure"},hg={key:1,class:"docker-item_value"},_g={class:"input-switch"},xg=["value","disabled"],wg=pg(()=>t("em",null,null,-1)),kg=[wg],yg={key:0,class:"status-icon"},Fg={key:1,class:"status-icon",style:{background:"#e9ebef",color:"#4a5565"}},Eg={key:0,class:"content"},$g={class:"docker-item_name"},Cg={class:"docker_box"},Dg={class:"path"},Bg={key:0},Yg={class:"tooltip-trigger"},Ag={class:"docker_tip"},Sg={class:"tooltip-text tooltip-top"},zg={class:"docker_dir_tip"},Pg=I({props:{docker:{type:Object}},setup(o){var w;const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var m;return((m=n.docker)==null?void 0:m.status)!="not installed"}),s=mt({enable:((w=n.docker)==null?void 0:w.status)=="running",disabled:!1}),p=()=>O(this,null,function*(){s.disabled=!0;try{const m=yield G.Guide.DockerSwitch.POST({enable:s.enable});if(m!=null&&m.data){const{success:c,error:f}=m.data;if(f)throw s.enable=!s.enable,f;(c||0)==0}}catch(m){E.Warning(`${m}`)}finally{s.disabled=!1}});return(m,c)=>{var f,g,_,k;return r(),d("ul",fg,[t("li",mg,[t("div",gg,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),(f=n.docker)!=null&&f.status?(r(),d(U,{key:0},[e(u)?(r(),d("div",hg,[t("label",_g,[L(t("input",{type:"checkbox",hidden:"",value:!e(s).enable,"onUpdate:modelValue":c[0]||(c[0]=b=>e(s).enable=b),disabled:e(s).disabled,onChange:p},null,40,xg),[[Rt,e(s).enable]]),t("span",{class:st(e(s).enable?"enable":"close")},kg,2)]),e(s).enable?(r(),d("span",yg,i(e(a)("\u8FD0\u884C\u4E2D")),1)):C("",!0),e(s).enable?C("",!0):(r(),d("span",Fg,i(e(a)("\u672A\u542F\u7528")),1))])):(r(),d("div",vg,[t("span",bg,i(e(a)("\u672A\u5B89\u88C5")),1)]))],64)):C("",!0)]),((g=o.docker)==null?void 0:g.status)=="running"?(r(),d("li",Eg,[t("div",$g,[t("span",{style:ft({color:"var(--app-container_title-color)"})},i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),5)]),t("div",Cg,[t("div",Dg,i((_=o.docker)==null?void 0:_.path),1),(k=o.docker)!=null&&k.errorInfo?(r(),d("span",Bg,[t("span",Yg,[t("span",Ag,[D(zt)]),t("div",null,[t("div",Sg,[t("span",zg,i(o.docker.errorInfo),1)])])])])):C("",!0)])])):C("",!0)])}}});var Tg=N(Pg,[["__scopeId","data-v-5d803f28"]]);const Ig={},Mg={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"},Lg=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),Ng=[Lg];function Og(o,n){return r(),d("svg",Mg,Ng)}var Vg=N(Ig,[["render",Og]]);const Gg={key:0,class:"action"},jg={class:"title"},Ug={class:"desc"},qg={class:"roots"},Rg={class:"roots_tit"},Wg={class:"root"},Hg={class:"move"},Jg={class:"roots_tit"},Zg={key:0},Kg=["onSubmit"],Qg={class:"select-editable"},Xg={selected:"",value:null},tv=["value"],ev={value:"useInput"},av=["placeholder"],ov={key:1,class:"tips"},nv={class:"tips_content"},iv={class:"tip"},rv={key:0,class:"btns"},sv={key:1,class:"btns"},dv={key:1,class:"action docker_success"},lv={class:"title"},uv={class:"finished"},cv={class:"successed"},pv={class:"btns"},fv={key:2,class:"action docker_download"},mv={class:"title"},gv={class:"finished"},vv={class:"successed"},bv={class:"docker_moves"},hv={class:"moves change"},_v={for:"move"},xv={class:"moves"},wv={for:"cover"},kv={class:"btns"},yv=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(),s=F(),p=F(0),w=F("null"),m=F(""),c=F(),f=F(!1),g=F("");(()=>{G.Nas.Disk.Status.GET().then($=>{$!=null&&$.data.result&&(c.value=$==null?void 0:$.data.result)}),G.Guide.DockerStatus.GET().then($=>{var Y;if((Y=$==null?void 0:$.data)!=null&&Y.result){const P=$.data.result;u.value=P}}),G.Guide.DockerPartitionList.GET().then($=>{var Y;if((Y=$==null?void 0:$.data)!=null&&Y.result){const P=$.data.result;s.value=P}})})();const k=$=>{let Y=w.value;if(Y=="useInput"&&(Y=m.value),Y==null||Y=="null"||Y=="")return;const P=E.Loading(a("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));G.Guide.DockerTransfer.POST({path:Y,force:$,overwriteDir:!!g.value}).then(A=>{var B;if(A!=null&&A.data){if((A.data.success||0)==0){if((B=A.data.result)!=null&&B.emptyPathWarning){f.value=!0,p.value=2;return}p.value=1;return}else if(A.data.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{E.Error(A)}).finally(()=>P.Close())},b=()=>{f.value=!1,k(!1)},h=$=>{$.preventDefault(),n.Close&&n.Close()},v=$=>{$.preventDefault(),location.reload()},x=$=>{$.preventDefault(),p.value=0},y=$=>{$.preventDefault(),k(!0)};return($,Y)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>{var P,A,B,S,R,V;return[p.value==0?(r(),d("div",Gg,[t("h2",jg,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",Ug,i(e(a)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",qg,[t("span",Rg,i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",Wg,i((P=u.value)==null?void 0:P.path),1)]),t("div",Hg,[t("span",Jg,i(e(a)("\u8FC1\u79FB\u5230\uFF1A")),1),(B=(A=s.value)==null?void 0:A.partitionList)!=null&&B.length?(r(),d("div",Zg,[t("form",{onSubmit:ut(b,["prevent"])},[t("label",null,[t("div",Qg,[L(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=T=>w.value=T)},[t("option",Xg,i(e(a)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(r(!0),d(U,null,tt((S=s.value)==null?void 0:S.partitionList,(T,M)=>(r(),d("option",{value:T,key:M},i(T),9,tv))),128)),t("option",ev,i(e(a)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[dt,w.value,void 0,{trim:!0}]]),w.value=="useInput"?L((r(),d("input",{key:0,type:"text","onUpdate:modelValue":Y[1]||(Y[1]=T=>m.value=T),required:"",placeholder:e(a)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,av)),[[et,m.value,void 0,{trim:!0}]]):C("",!0)])])],40,Kg)])):s.value?(r(),d("div",ov,[t("div",nv,[D(zt),t("span",iv,i(e(a)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):C("",!0)]),(V=(R=s.value)==null?void 0:R.partitionList)!=null&&V.length?(r(),d("div",rv,[t("button",{class:"cbi-button cbi-button-apply",onClick:b},i(e(a)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:h},i(e(a)("\u53D6\u6D88")),1)])):(r(),d("div",sv,[t("button",{class:"cbi-button cbi-button-apply",onClick:h},i(e(a)("\u786E\u5B9A")),1)]))])):p.value==1?(r(),d("div",dv,[t("h2",lv,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",uv,[D(sa)]),t("p",cv,i(e(a)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",pv,[t("button",{class:"cbi-button cbi-button-apply",onClick:v},i(e(a)("\u786E\u5B9A")),1)])])):p.value==2?(r(),d("div",fv,[t("h2",mv,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",gv,[D(Vg)]),t("p",vv,i(e(a)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",bv,[t("div",hv,[L(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":Y[2]||(Y[2]=T=>g.value=T),value:""},null,512),[[Ft,g.value]]),t("label",_v,i(e(a)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",xv,[L(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":Y[3]||(Y[3]=T=>g.value=T),value:"true"},null,512),[[Ft,g.value]]),t("label",wv,i(e(a)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",kv,[f.value?(r(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:y},i(e(a)("\u786E\u5B9A")),1)):C("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:x},i(e(a)("\u8FD4\u56DE")),1),f.value?C("",!0):(r(),d("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:v},i(e(a)("\u53D6\u6D88")),1))])])):C("",!0)]}),_:1},8,["Close"]))}});var Fv=N(yv,[["__scopeId","data-v-81932f72"]]);const Ev=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(Fv,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},$v={href:"/cgi-bin/luci/admin/docker/overview"},Cv={key:0,class:"content"},Dv={key:1,class:"content",style:{display:"flex","justify-content":"center"}},Bv=I({setup(o){const{$gettext:n}=H(),a=F(!1),l=F(),u=F(!1),s=()=>{Ev()};return setTimeout(()=>{G.Guide.DockerStatus.GET().then(w=>{var m;if((m=w==null?void 0:w.data)!=null&&m.result){const c=w.data.result;l.value=c}}).finally(()=>{a.value=!0})},1100),(w,m)=>{var f;const c=ht("icon-loading");return r(),Z(Wt,{title:"Docker",showSettings:!0,onFooterClick:s,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":u.value,"onUpdate:isSettingsMenuOpen":m[1]||(m[1]=g=>u.value=g)},xo({icon:j(()=>[D($a,{color:"#155dfc",class:"icon"})]),settings:j(()=>{var g;return[t("div",{class:"btn_settings",onClick:s},[D($a,{color:"#0a0a0a",class:"icon1 dockerIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u7BA1\u7406\u5BB9\u5668")),1),((g=l.value)==null?void 0:g.status)==="running"?(r(),d("div",{key:0,class:"rotation",onClick:m[0]||(m[0]=ut(_=>u.value=!u.value,["stop"]))},[D(Ee,{class:"moreIcon"})])):C("",!0)])]}),default:j(()=>[a.value?(r(),d("div",Cv,[D(Tg,{docker:l.value},null,8,["docker"])])):(r(),d("div",Dv,[D(c,{size:40,color:"currentColor"})]))]),_:2},[((f=l.value)==null?void 0:f.status)==="running"?{name:"settings-menu",fn:j(()=>[t("div",null,[t("a",$v,i(e(n)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])}:void 0]),1032,["is-settings-menu-open"])}}});var Yv=N(Bv,[["__scopeId","data-v-faa89494"]]);const Av={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Sv=["fill"],zv=["fill"],to=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",Av,[t("path",{d:"M577.78 355.55H449.62c-52.93 0-96 43.07-96 96V579.7c0 52.93 43.07 96 96 96h128.15c52.93 0 96-43.07 96-96V451.55c0.01-52.93-43.06-96-95.99-96z m32 224.15c0 17.64-14.36 32-32 32H449.62c-17.65 0-32-14.36-32-32V451.55c0-17.65 14.35-32 32-32h128.15c17.64 0 32 14.35 32 32V579.7z",fill:o.color,"p-id":"5378"},null,8,Sv),t("path",{d:"M927.33 547.13c17.67 0 32-14.33 32-32s-14.33-32-32-32h-62.44V355.2h62.44c17.67 0 32-14.33 32-32s-14.33-32-32-32h-64.37c-10.34-64.43-61.3-115.45-125.69-125.87v-64.19c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H545.34v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H353.2v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v64.16c-64.46 10.37-115.49 61.42-125.83 125.9H99.14c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v127.93h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v128.14h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h64.28c10.45 64.34 61.42 115.25 125.79 125.61v64.46c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h128.14v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h127.93v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-64.48c64.3-10.41 115.2-61.29 125.64-125.58h64.42c17.67 0 32-14.33 32-32s-14.33-32-32-32H864.9V547.13h62.43zM800.89 714.82c0 48.52-39.48 88-88 88H313.44c-48.52 0-88-39.48-88-88V315.36c0-48.52 39.48-88 88-88H712.9c48.52 0 88 39.48 88 88v399.46z",fill:o.color,"p-id":"5379"},null,8,zv)]))}}),Pv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Tv=["fill"],Iv=I({props:{color:{type:String,default:"#ef4444"}},setup(o){return(n,a)=>(r(),d("svg",Pv,[t("path",{d:"M520 75c72.899 0 132.133 58.543 133.31 131.209l0.018 2.206v399.237C700.759 646.978 729 705.514 729 768.714c0 84.846-50.493 157.892-123.051 190.69C579.509 971.959 549.966 979 518.85 979c-57.133 0-108.962-23.737-146.008-61.784C334.65 879.324 311 826.783 311 768.714c0-63.27 28.313-121.806 75.67-161.065l0.002-399.234C386.672 134.732 446.365 75 520 75z m0 59.807c-40.22 0-72.9 32.3-73.55 72.39l-0.01 1.218v403.457c4.008 12.048-0.02 25.747-10.721 33.573l-0.619 0.441c-40.008 27.753-64.332 73.214-64.332 122.828 0 82.472 66.813 149.33 149.232 149.33s149.232-66.858 149.232-149.33c0-47.591-22.367-91.397-59.645-119.44l-1.134-0.846a29.773 29.773 0 0 1-10.972-15.751 29.763 29.763 0 0 1-3.913-14.111l-0.008-0.706V208.415c0-40.653-32.934-73.608-73.56-73.608z m-2.299 236.926c4.41 0 8.66 0.69 12.647 1.968 16.826 4.965 29.19 20.52 29.19 38.81l0.002 240.184c47.972 17.182 82.294 63.07 82.294 116.982 0 6.94-0.568 13.747-1.662 20.376-6.746 60.536-58.728 108.02-121.321 108.02-47.223 0-88.407-27.027-108.683-66.296-10.557-18.27-16.6-39.479-16.6-62.1 0-54.083 34.542-100.093 82.754-117.145l0.002-239.422c0-22.852 18.525-41.377 41.377-41.377z",fill:o.color,"p-id":"4599"},null,8,Tv)]))}}),Mv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Lv=["fill"],eo=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),d("svg",Mv,[t("path",{d:"M760.1 64l-150 262.7-41 71.8c-6.1 10.7 1.6 23.9 13.9 23.9h104.7c13.9 0 21.2 16.6 11.8 26.9L410.8 761.9l59.5-178.5 21.1-63.2c3.5-10.4-4.3-21.1-15.2-21.1H277.8c-11.6 0-19.4-12-14.6-22.6l179-393.8c5.2-11.4 16.6-18.8 29.1-18.8h288.8M450.8 0c-25.1 0-47.9 14.7-58.3 37.5L194.7 472.7c-19.3 42.4 11.7 90.5 58.3 90.5h145.5c5.5 0 9.3 5.3 7.6 10.5L256 1024l515.3-558.2c37.8-41 8.8-107.4-47-107.4h-44.8c-6.1 0-10-6.6-6.9-12L870.4 0H450.8z","p-id":"4712",fill:o.color},null,8,Lv)]))}}),Nv={key:0,class:"center-content"},Ov=I({props:{value:null,color:null,icon:null,label:null,width:null,height:null},setup(o){const n=o;Qe([wo,Xe,ta]);const a=F(null);let l=null;function u(w,m){return{tooltip:{show:!1},series:[{type:"pie",radius:["75%","90%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},z:1,zlevel:0,data:[{value:w,itemStyle:{color:m||"#409EFF"}},{value:Math.max(0,100-w),itemStyle:{color:"#f0f0f0"}}]}]}}const s=()=>{!a.value||(l=l!=null?l:ea(a.value),l.setOption(u(n.value,n.color)))};Yt(()=>O(this,null,function*(){yield oa(),s(),window.addEventListener("resize",p)}));function p(){l==null||l.resize()}return At(()=>[n.value,n.color],()=>{l?l.setOption({series:[{z:1,zlevel:0,data:[{value:n.value,itemStyle:{color:n.color||"#409EFF"}},{value:Math.max(0,100-n.value),itemStyle:{color:"#f0f0f0"}}]}]}):s()},{immediate:!0}),ke(()=>{window.removeEventListener("resize",p),l==null||l.dispose(),l=null}),(w,m)=>(r(),d("div",{class:"pie-chart-wrapper",style:ft({width:o.width||"120px",height:o.height||"120px"})},[t("div",{ref_key:"chartDom",ref:a,class:"chart-dom"},null,512),o.icon||o.label?(r(),d("div",Nv,[o.icon==="chip"?(r(),Z(to,{key:0,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="temperature"?(r(),Z(Iv,{key:1,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="lightning"?(r(),Z(eo,{key:2,color:o.color,class:"center-icon"},null,8,["color"])):C("",!0),o.label?(r(),d("div",{key:3,class:"center-label",style:ft({color:o.color})},i(o.label),5)):C("",!0)])):C("",!0)],4))}});var Ke=N(Ov,[["__scopeId","data-v-a9cd39ac"]]);const Vv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Gv=["fill"],jv=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),d("svg",Vv,[t("path",{d:"M868.95177918 215.34678468H274.11312994c-10.26749627 0-19.00277466 3.6151618-26.30943653 10.88910739-7.22487113 7.23032433-10.89456058 15.97650768-10.89456059 26.20583515v370.75858453c0 10.24023245 3.66968946 18.95370022 10.89456059 26.22764579 7.30666259 7.22487113 16.04194099 10.86184429 26.30943653 10.86184429h594.83864924c10.28385442 0 19.04094415-3.63697315 26.28217344-10.86184429 7.30120941-7.27394558 10.9218244-15.98741334 10.92182439-26.22764579V252.44172722c0-10.2293275-3.62061501-18.97551083-10.92727686-26.20583516-7.23577681-7.27394558-15.99286582-10.8891081-26.27672097-10.88910738M274.09131931 141.21142578h594.83864924c30.77522572 0 57.07375657 10.86729676 78.86287773 32.59643853 21.78912116 21.74004671 32.66187112 47.91861806 32.66187114 78.62841045v370.76403699c0 30.68798176-10.87274996 56.91562756-32.66187114 78.63386293-21.78912116 21.72914105-48.08765274 32.59643853-78.86287773 32.59643851H608.68737796v74.15716953h111.5465602c10.26204379 0 19.03003849 3.6151618 26.28217344 10.8891081 7.29030445 7.22487113 10.91091874 15.97650768 10.91091872 26.20583518 0 10.24023245-3.62061501 18.98641651-10.91637192 26.20038195-7.25213496 7.28485125-16.01467717 10.90001305-26.27672024 10.90001379H422.80370787c-10.27840195 0-19.0191328-3.6151618-26.30943728-10.90001379-7.25213496-7.21396618-10.89456058-15.96014952-10.89456056-26.20038195 0-10.23477998 3.6478781-18.97551083 10.89456056-26.20583518 7.29030445-7.27394558 16.03103531-10.8891081 26.30943728-10.8891081h111.53565452v-74.15716953H274.09131931c-30.79703633 0-57.09011544-10.86729676-78.86287845-32.59643851C173.43931968 680.11593931 162.54475911 653.88829351 162.54475911 623.20031175V252.44172722C162.54475911 221.72648236 173.43931968 195.54791102 195.22844086 173.80786431 217.00665706 152.07872254 243.29428298 141.21142578 274.09131931 141.21142578","p-id":"6454",fill:o.color},null,8,Gv)]))}}),Uv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},qv=["fill"],Rv=["fill"],Wv=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),d("svg",Uv,[t("path",{d:"M512 458.67c-8.66 0-15.69 7.02-15.69 15.69v125.49c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-125.5c0-8.66-7.03-15.68-15.69-15.68z m-31.37-26.98h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v103.53h-15.69c-8.66 0-15.69 7.02-15.69 15.69 0.01 8.66 7.03 15.69 15.7 15.69z m219.61 53.33c-8.66 0-15.69 7.02-15.69 15.69V601.1c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-99.76c0.35-8.66-6.39-15.95-15.05-16.3-0.22-0.02-0.43-0.02-0.64-0.02z m-31.38-27.61h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-14.43V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v125.49h-16.94c-8.66 0-15.69 7.02-15.69 15.69 0 8.66 7.02 15.69 15.69 15.69v3.76z m-376.47 32.63h62.75c8.66 0 15.69-7.02 15.69-15.69s-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69-8.66 0-15.69 7.02-15.69 15.69v161.88h-15.69c-8.66 0-15.69 7.02-15.69 15.69s7.04 15.69 15.7 15.69z m31.37 32c-8.66 0-15.69 7.02-15.69 15.69v62.75c0 8.66 7.02 15.69 15.69 15.69 8.66 0 15.69-7.02 15.69-15.69v-62.75c0-8.67-7.02-15.69-15.69-15.69z",fill:o.color,"p-id":"15217"},null,8,qv),t("path",{d:"M870 116.39H154c-49.71 0-90 40.29-90 90v485.1c0 49.71 40.29 90 90 90h716c49.71 0 90-40.29 90-90v-485.1c0-49.7-40.29-90-90-90z m50 565.1c0 33.14-26.86 60-60 60H164c-33.14 0-60-26.86-60-60v-465.1c0-33.14 26.86-60 60-60h696c33.14 0 60 26.86 60 60v465.1zM680.24 907.61H343.76c-11.05 0-20-8.95-20-20s8.95-20 20-20h336.48c11.05 0 20 8.95 20 20 0 11.04-8.96 20-20 20z",fill:o.color,"p-id":"15218"},null,8,Rv)]))}}),Hv={href:"/cgi-bin/luci/admin/system/flash"},Jv={href:"/cgi-bin/luci/admin/store/pages/maintance"},Zv={class:"content"},Kv={class:"chart_box"},Qv={class:"chart"},Xv={class:"chart"},tb={class:"chart"},eb={class:"info"},ab={class:"item1 bgcolor1"},ob={style:{"font-weight":"bold","margin-top":"2px"}},nb={class:"item1 bgcolor2"},ib={style:{"font-weight":"bold","margin-top":"2px"}},rb={class:"item"},sb={class:"item"},db=I({setup(o){const{$gettext:n}=H(),a=Me(),l=Q(()=>a.version),u=Q(()=>a.systemStatus),s=F(!1),p=Q(()=>{var h;return((h=u.value)==null?void 0:h.cpuUsage)||0}),w=Q(()=>{var h;return((h=u.value)==null?void 0:h.cpuTemperature)||0}),m=Q(()=>{var v;const h=((v=u.value)==null?void 0:v.memAvailablePercentage)||100;return 100-h}),c=Q(()=>{const h=p.value;return h<31?"#3b82f6":h>=31&&h<60?"#f59e0b":"#ef4444"}),f=Q(()=>{const h=w.value;return h<=55?"#22c55e":h>55&&h<=70?"#f97316":"#dc2626"}),g=Q(()=>{const h=m.value;return h<31?"#8b5cf6":h>=31&&h<60?"#fb923c":"#b91c1c"}),_=Pt.stampForm;Yt(()=>{});const k=()=>{s.value=!s.value},b=()=>{k(),Dt.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(h,v)=>(r(),Z(Wt,{title:e(n)("\u7CFB\u7EDF\u4FE1\u606F"),showFooter:!1,style:{width:"100%",height:"100%",display:"block"}},{icon:j(()=>[D(jv,{class:"icon computerIcon"})]),"settings-menu":j(()=>[t("div",null,[t("a",{onClick:b},i(e(n)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("div",null,[t("a",Hv,i(e(n)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("div",null,[t("a",Jv,i(e(n)("\u63D2\u4EF6\u5907\u4EFD")),1)])]),default:j(()=>{var x,y,$,Y,P;return[t("div",Zv,[t("div",Kv,[t("div",Qv,[D(Ke,{value:e(p),color:e(c),icon:"chip",label:`${e(p)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u4F7F\u7528\u7387")),1)]),t("div",Xv,[D(Ke,{value:e(w)/1.5,color:e(f),icon:"temperature",label:`${e(w)}\u2103`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u6E29\u5EA6")),1)]),t("div",tb,[D(Ke,{value:e(m),color:e(g),icon:"lightning",label:`${e(m)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("\u5185\u5B58\u4F7F\u7528\u7387")),1)])]),t("div",eb,[t("div",ab,[t("div",null,[D(to,{color:"#155dfc",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u8BBE\u5907\u578B\u53F7")),1)]),t("span",ob,i((x=e(l))==null?void 0:x.model),1)]),t("div",nb,[t("div",null,[D(Wv,{color:"#00a63e",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u56FA\u4EF6\u7248\u672C")),1)]),t("span",ib,i((y=e(l))==null?void 0:y.firmwareVersion)+"\uFF08"+i(e(n)("\u5185\u6838"))+"\uFF1A"+i(($=e(l))==null?void 0:$.kernelVersion)+"\uFF09",1)]),t("div",rb,[t("div",null,i(e(n)("\u7CFB\u7EDF\u65F6\u95F4"))+"\uFF1A",1),t("span",null,i((Y=e(u))==null?void 0:Y.localtime),1)]),t("div",sb,[t("div",null,i(e(n)("\u5DF2\u542F\u52A8"))+"\uFF1A",1),t("span",null,i(e(_)((P=e(u))==null?void 0:P.uptime)),1)])])])]}),_:1},8,["title"]))}});var lb=N(db,[["__scopeId","data-v-0aa90746"]]);const ub=o=>(it("data-v-4ca82311"),o=o(),rt(),o),cb={class:"action"},pb={class:"action-body"},fb=ub(()=>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)),mb={class:"title"},gb={class:"info"},vb=["href"],bb={class:"btns"},hb=I({props:{port:Number,Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>`http://${location.hostname}:${n.port}`),s=()=>{n.Close&&(n.Close(),location.reload())};return(p,w)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",cb,[t("div",pb,[fb,t("h2",mb,i(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",gb,[t("span",null,i(e(a)("\u524D\u5F80")),1),t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,vb),t("span",null,i(e(a)("\u8FDB\u884C\u6D4B\u901F")),1)]),t("div",bb,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:s},i(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var _b=N(hb,[["__scopeId","data-v-4ca82311"]]),xb=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(_b,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const wb={class:"page-container"},kb={style:{height:"48px","text-align":"right"}},yb={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},Fb={class:"card-container"},Eb={class:"network-container",style:{"margin-top":"10px"}},$b={class:"left-box"},Cb={class:"right-box",style:{overflow:"visible"}},Db={class:"network-container align-c"},Bb={class:"left-box"},Yb={class:"other-container"},Ab={class:"grid-container"},Sb={class:"system"},zb=I({setup(o){var _,k;const{$gettext:n}=H(),a=aa();Zo();const l=Me(),u=F(!0);(k=(_=window.quickstart_configs)==null?void 0:_.update)!=null&&k.disable&&(u.value=!1),u.value&&setTimeout(()=>{l.requestCheckUpdate()},1100);const s=Fe(),p=Q(()=>s.deviceList),w=Q(()=>{var b,h;return[{icon:"navigation",title:n("\u7F51\u7EDC\u5411\u5BFC"),subtitle:n("\u7F51\u7EDC\u914D\u7F6E\u5F15\u5BFC"),tag:n("\u667A\u80FD\u914D\u7F6E"),status:"",extra:"",color:"purple",link:"/network"},{icon:"topology",title:n("\u5C40\u57DF\u7F51\u8BBE\u5907\u7BA1\u7406"),subtitle:n("\u7BA1\u7406\u7F51\u7EDC\u4E2D\u7684\u6240\u6709\u8BBE\u5907"),badge:n("\u63A8\u8350"),status:"",num:((h=(b=p.value)==null?void 0:b.devices)==null?void 0:h.length)||0,color:"blue",link:"/devicemanagement"},{icon:"speed",title:n("\u7F51\u7EDC\u6D4B\u901F"),subtitle:n("\u68C0\u6D4B\u7F51\u7EDC\u901F\u5EA6"),status:"",tag:n("\u70B9\u51FB\u6D4B\u8BD5"),color:"skyblue",link:"/networkSpeedTest"},{icon:"baby",title:n("\u5BB6\u957F\u63A7\u5236"),subtitle:n("\u513F\u7AE5\u4E0A\u7F51\u4FDD\u62A4"),badge:n("\u4FDD\u62A4"),status:"",extra:"",color:"pink",isActive:!0,alink:"/cgi-bin/luci/admin/services/appfilter"},{icon:"appStore",title:n("\u5E94\u7528\u5546\u5E97"),subtitle:n("\u767E\u6B3E\u5E94\u7528\uFF0C\u81EA\u7531\u9009\u62E9"),status:"",color:"orange",alink:"/cgi-bin/luci/admin/store/pages/store"}]}),m=b=>{if(!!b.title){if(b.icon=="speed")return f();if(b.icon=="baby")return c();b.link?a.push(b.link):b.alink&&(window.location.href=b.alink)}},c=()=>O(this,null,function*(){(yield Dt.checkAndInstallApp("luci-app-oaf","\u5E94\u7528\u8FC7\u6EE4"))&&(window.location.href="/cgi-bin/luci/admin/services/appfilter")}),f=()=>O(this,null,function*(){var b,h,v;if(yield Dt.checkAndInstallApp("app-meta-homebox","Homebox"))try{const x=yield G.Network.Homebox.Enable.POST();(h=(b=x==null?void 0:x.data)==null?void 0:b.result)!=null&&h.port?xb({port:x.data.result.port,setup:0}):((v=x==null?void 0:x.data)==null?void 0:v.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":E.Warning(n("\u542F\u52A8\u5931\u8D25"))}catch(x){E.Warning(n("\u542F\u52A8\u5931\u8D25"))}}),g=b=>{const h=te("dockerd")?5:4;if(h<=2)return`calc((100% - ${(h-1)*24}px) / ${h})`;if(b<2){const v=Math.min(2,h);return`calc((100% - ${(v-1)*24}px) / ${v})`}else{const v=h-2;return`calc((100% - ${(v-1)*24}px) / ${v})`}};return(b,h)=>(r(),d("div",wb,[t("div",kb,[t("a",yb,i(e(n)("iStoreOS\u5B98\u7F51")),1)]),t("div",Fb,[(r(!0),d(U,null,tt(e(w),(v,x)=>(r(),Z(d4,{key:x,card:v,onClick:m},null,8,["card"]))),128))]),t("div",Eb,[t("div",$b,[D(_3)]),t("div",Cb,[D(v8),D(D8,{style:{"margin-top":"10px"}})])]),t("div",Db,[t("div",Bb,[D(x7)])]),t("div",Yb,[t("div",Ab,[t("div",{class:"grid-item",style:ft({flexBasis:g(0)})},[D(lg)],4),t("div",{class:"grid-item",style:ft({flexBasis:g(1)})},[D(Cf)],4),e(te)("dockerd")?(r(),d("div",{key:0,class:"grid-item",style:ft({flexBasis:g(2)})},[D(Yv)],4)):C("",!0),t("div",{class:"grid-item",style:ft({flexBasis:g(3)})},[D(K1)],4),t("div",{class:"grid-item",style:ft({flexBasis:g(4)})},[D(t3)],4)])]),t("div",Sb,[D(lb)])]))}});var Pb=N(zb,[["__scopeId","data-v-cd964ae0"]]);const Tb={};function Ib(o,n){const a=ht("router-view");return r(),Z(a)}var Mb=N(Tb,[["render",Ib]]);const Lb={},Nb={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"},Ob=Vt('',2),Vb=[Ob];function Gb(o,n){return r(),d("svg",Nb,Vb)}var jb=N(Lb,[["render",Gb]]);const Ub={},qb={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"},Rb=Vt('',2),Wb=[Rb];function Hb(o,n){return r(),d("svg",qb,Wb)}var Jb=N(Ub,[["render",Hb]]);const Zb={},Kb={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"},Qb=Vt('',2),Xb=[Qb];function th(o,n){return r(),d("svg",Kb,Xb)}var eh=N(Zb,[["render",th]]);const ah={id:"page"},oh={class:"title"},nh={class:"desc"},ih={class:"network-containers"},rh={class:"network-container_item"},sh={class:"cover"},dh={class:"thumbnail"},lh={class:"network-container_item"},uh={class:"cover"},ch={class:"thumbnail"},ph={class:"network-container_item"},fh={class:"cover"},mh={class:"thumbnail"},gh=["innerHTML"],vh=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=n("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+n("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(u,s)=>{const p=ht("router-link");return r(),d("div",ah,[t("div",oh,i(e(n)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",nh,i(e(n)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",ih,[t("div",rh,[D(p,{to:"/network/pppoe"},{default:j(()=>[t("div",sh,[t("div",dh,[D(Jb),t("span",null,i(e(n)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",lh,[D(p,{to:"/network/dhcp"},{default:j(()=>[t("div",uh,[t("div",ch,[D(jb),t("span",null,i(e(n)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",ph,[D(p,{to:"/network/gateway"},{default:j(()=>[t("div",fh,[t("div",mh,[D(eh),t("span",null,i(e(n)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(l)},null,8,gh)])}}});var bh=N(vh,[["__scopeId","data-v-0b149a51"]]);const hh={key:0,id:"page"},_h={class:"title"},xh={class:"desc"},wh={class:"network-message"},kh=["innerHTML"],yh=["onSubmit"],Fh={class:"label-key"},Eh=["placeholder","disabled"],$h={class:"label-key"},Ch=["placeholder","disabled"],Dh={key:0,class:"chose_dhcp"},Bh={class:"dhcp_info"},Yh={key:1,class:"msg"},Ah={class:"btns"},Sh=["disabled"],zh=["onClick"],Ph={key:1,id:"page"},Th={class:"title"},Ih={class:"btns"},Mh=["onClick"],Lh=["onClick"],Nh=I({setup(o){const{$gettext:n,$ngettext:a}=H(),u=Pe().query.type,s=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),p=F(0),w=F({}),m=F(""),c=F(!1),f=F(0),g=F(!1);(()=>O(this,null,function*(){var b,h;c.value=!0;try{const v=yield Promise.all([G.Guide.Pppoe.GET(),G.Guide.GetLan.GET()]);if(v[0].data){const{success:x,error:y,result:$}=v[0].data;$&&($.enableLanDhcp=!1,w.value=$),x==-1011&&(c.value=!0,f.value=x)}(b=v[1].data)!=null&&b.result&&(((h=v[1].data)==null?void 0:h.result).enableDhcp||(g.value=!0,w.value.enableLanDhcp=!0))}catch(v){m.value=v}f.value==0&&(c.value=!1)}))();const k=()=>O(this,null,function*(){const b=w.value.account||"",h=w.value.password||"";if(b==""){m.value=n("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(h==""){m.value=n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}c.value=!0;const v=E.Loading(n("\u914D\u7F6E\u4E2D..."));try{const x=yield G.Guide.Pppoe.POST({account:b,password:h});if(x!=null&&x.data){const{error:y,success:$}=x.data;y&&(m.value=y),($==null||$==0)&&(E.Success(n("\u914D\u7F6E\u6210\u529F")),p.value=1)}}catch(x){m.value=x}c.value=!1,v.Close()});return(b,h)=>{const v=ht("switch-box"),x=ht("router-link");return p.value==0?(r(),d("div",hh,[t("h2",_h,i(e(n)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",xh,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",wh,[f.value==-1011?(r(),d("li",{key:0,innerHTML:e(s)},null,8,kh)):C("",!0)]),t("form",{onSubmit:ut(k,["prevent"])},[t("label",null,[t("div",Fh,[t("span",null,i(e(n)("\u5BBD\u5E26\u8D26\u53F7")),1)]),L(t("input",{type:"text","onUpdate:modelValue":h[0]||(h[0]=y=>w.value.account=y),placeholder:e(n)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:c.value},null,8,Eh),[[et,w.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",$h,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),L(t("input",{type:"password","onUpdate:modelValue":h[1]||(h[1]=y=>w.value.password=y),placeholder:e(n)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:c.value},null,8,Ch),[[et,w.value.password,void 0,{trim:!0}]])]),g.value?(r(),d("div",Dh,[D(v,{modelValue:w.value.enableLanDhcp,"onUpdate:modelValue":h[2]||(h[2]=y=>w.value.enableLanDhcp=y)},{default:j(()=>[t("span",Bh,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):C("",!0),m.value?(r(),d("div",Yh,i(m.value),1)):C("",!0),t("div",Ah,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,Sh),D(x,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u8FD4\u56DE")),9,zh)]),_:1},8,["to"])])],40,yh)])):p.value==1?(r(),d("div",Ph,[t("h2",Th,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",Ih,[D(x,{to:"/",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,Mh)]),_:1}),D(x,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u8FD4\u56DE")),9,Lh)]),_:1},8,["to"])])])):C("",!0)}}});var Oh=N(Nh,[["__scopeId","data-v-f442676c"]]);const Vh={key:0,id:"page"},Gh={class:"title"},jh={class:"desc"},Uh={class:"network-message"},qh=["innerHTML"],Rh=["onSubmit"],Wh={class:"label-key"},Hh={value:"dhcp"},Jh={value:"static"},Zh={class:"label-key"},Kh=["placeholder","disabled"],Qh={key:0,class:"msg"},Xh={class:"label-key"},t_=["placeholder","disabled"],e_={key:1,class:"msg"},a_={class:"label-key"},o_=["placeholder","disabled"],n_={class:"label-key"},i_=["disabled"],r_={value:"manual"},s_={class:"label-key"},d_=["onUpdate:modelValue","placeholder","disabled"],l_={class:"label-key"},u_=["placeholder","disabled"],c_={class:"label-key"},p_=["placeholder","disabled"],f_={key:2,class:"chose_dhcp"},m_={class:"dhcp_info"},g_={key:3,class:"msgs"},v_={class:"btns"},b_=["disabled"],h_=["onClick"],__={key:1,id:"page"},x_={class:"title"},w_={class:"btns"},k_=["onClick"],y_=["onClick"],F_=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),u=F(0),s=F({}),p=F(""),w=F(""),m=F(""),c=F(!1),f=F(""),g=F(""),_=F(0),k=Pt.checkIsIP,b=F(!1),v=Pe().query.type;(()=>O(this,null,function*(){var A,B;c.value=!0;try{const S=yield Promise.all([G.Guide.ClientModel.GET(),G.Guide.GetLan.GET()]);if(S[0]){const R=S[0];if(R.data){const{success:V,error:T,result:M}=R.data;M&&(M.wanProto!="dhcp"&&M.wanProto!="static"&&(M.wanProto="dhcp",M.dnsProto="auto"),M.enableLanDhcp=!1,s.value=M),V==-1011&&(_.value=V,c.value=!0)}}(A=S[1].data)!=null&&A.result&&(((B=S[1].data)==null?void 0:B.result).enableDhcp||(b.value=!0,s.value.enableLanDhcp=!0))}catch(S){p.value=S}_.value==0&&(c.value=!1)}))();const y=A=>{A.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)},$=A=>{const B=A.target;if(B.value==""){f.value="";return}k(B.value)?f.value="":f.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},Y=A=>{const B=A.target;if(B.value==""){g.value="";return}k(B.value)?g.value="":g.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},P=()=>O(this,null,function*(){const A={};switch(s.value.wanProto){case"dhcp":break;case"static":A.staticIp=s.value.staticIp,A.subnetMask=s.value.subnetMask,A.gateway=s.value.gateway||"";break}switch(s.value.dnsProto){case"auto":break;case"manual":A.manualDnsIp=[],s.value.manualDnsIp!=null&&s.value.manualDnsIp.length>0?A.manualDnsIp=s.value.manualDnsIp:(A.manualDnsIp.push(w.value),m.value&&A.manualDnsIp.push(m.value));break}A.dnsProto=s.value.dnsProto,A.wanProto=s.value.wanProto,A.enableLanDhcp=s.value.enableLanDhcp;const B=E.Loading(n("\u914D\u7F6E\u4E2D...."));c.value=!0;try{const S=yield G.Guide.ClientModel.POST(A);if(S!=null&&S.data){const{success:R,error:V}=S==null?void 0:S.data;V&&(p.value=V),(R==null||R==0)&&(E.Success(n("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(S){p.value=S}c.value=!1,B.Close()});return(A,B)=>{const S=ht("switch-box"),R=ht("router-link");return u.value==0?(r(),d("div",Vh,[t("h2",Gh,i(e(n)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",jh,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",Uh,[_.value==-1011?(r(),d("li",{key:0,innerHTML:e(l)},null,8,qh)):C("",!0)]),t("form",{onSubmit:ut(P,["prevent"])},[t("label",null,[t("div",Wh,[t("span",null,i(e(n)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),L(t("select",{"onUpdate:modelValue":B[0]||(B[0]=V=>s.value.wanProto=V),onInput:y},[t("option",Hh,i(e(n)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",Jh,i(e(n)("\u9759\u6001IP\u5730\u5740")),1)],544),[[dt,s.value.wanProto]])]),s.value.wanProto=="static"?(r(),d(U,{key:0},[t("label",null,[t("div",Zh,[t("span",null,i(e(n)("IP\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[1]||(B[1]=V=>s.value.staticIp=V),placeholder:e(n)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:c.value,onInput:$},null,40,Kh),[[et,s.value.staticIp,void 0,{trim:!0}]])]),f.value?(r(),d("p",Qh,i(f.value),1)):C("",!0),t("label",null,[t("div",Xh,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[2]||(B[2]=V=>s.value.subnetMask=V),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:c.value,onInput:Y},null,40,t_),[[et,s.value.subnetMask,void 0,{trim:!0}]])]),g.value?(r(),d("p",e_,i(g.value),1)):C("",!0),t("label",null,[t("div",a_,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[3]||(B[3]=V=>s.value.gateway=V),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:"",disabled:c.value},null,8,o_),[[et,s.value.gateway,void 0,{trim:!0}]])])],64)):C("",!0),t("label",null,[t("div",n_,[t("span",null,i(e(n)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),L(t("select",{"onUpdate:modelValue":B[4]||(B[4]=V=>s.value.dnsProto=V)},[t("option",{value:"auto",disabled:s.value.wanProto=="static"},i(e(n)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,i_),t("option",r_,i(e(n)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[dt,s.value.dnsProto]])]),s.value.dnsProto=="manual"?(r(),d(U,{key:1},[s.value.manualDnsIp!=null&&s.value.manualDnsIp.length>0?(r(!0),d(U,{key:0},tt(s.value.manualDnsIp,(V,T)=>(r(),d("label",null,[t("div",s_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":M=>s.value.manualDnsIp[T]=M,placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:c.value},null,8,d_),[[et,s.value.manualDnsIp[T],void 0,{trim:!0}]])]))),256)):(r(),d(U,{key:1},[t("label",null,[t("div",l_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[5]||(B[5]=V=>w.value=V),placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:c.value},null,8,u_),[[et,w.value,void 0,{trim:!0}]])]),t("label",null,[t("div",c_,i(e(n)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),L(t("input",{type:"text","onUpdate:modelValue":B[6]||(B[6]=V=>m.value=V),placeholder:e(n)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:c.value},null,8,p_),[[et,m.value,void 0,{trim:!0}]])])],64))],64)):C("",!0),b.value?(r(),d("div",f_,[D(S,{modelValue:s.value.enableLanDhcp,"onUpdate:modelValue":B[7]||(B[7]=V=>s.value.enableLanDhcp=V)},{default:j(()=>[t("span",m_,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):C("",!0),p.value?(r(),d("div",g_,i(p.value),1)):C("",!0),t("div",v_,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,b_),D(R,{to:e(v)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(n)("\u8FD4\u56DE")),9,h_)]),_:1},8,["to"])])],40,Rh)])):u.value==1?(r(),d("div",__,[t("h2",x_,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",w_,[D(R,{to:"/",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:V},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,k_)]),_:1}),D(R,{to:e(v)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(n)("\u8FD4\u56DE")),9,y_)]),_:1},8,["to"])])])):C("",!0)}}});var E_=N(F_,[["__scopeId","data-v-162eca5f"]]);const $_=o=>(it("data-v-2dee59a8"),o=o(),rt(),o),C_={key:0,id:"page"},D_={class:"title"},B_=$_(()=>t("br",null,null,-1)),Y_={class:"btns"},A_=["onClick"],S_={key:1,id:"page"},z_={class:"title"},P_={class:"desc"},T_=["onSubmit"],I_={class:"label-key"},M_={class:"label-value"},L_={class:"label-key"},N_=["placeholder"],O_={class:"label-key"},V_=["placeholder"],G_={class:"label-key"},j_=["placeholder"],U_={class:"label-key"},q_=["placeholder"],R_={key:0,class:"msgs"},W_={class:"switch_inline"},H_={key:0,class:"switch_info"},J_={key:1,class:"switch_info"},Z_={class:"switch_inline"},K_={class:"switch_info"},Q_={class:"switch_inline"},X_={class:"switch_info"},tx={class:"btns"},ex={class:"cbi-button cbi-button-apply app-btn app-next"},ax=["onClick"],ox={key:2,id:"page"},nx={class:"title"},ix={class:"desc"},rx={class:"btns"},sx={key:3,id:"page"},dx={class:"title"},lx=["disabled"],ux={style:{"text-align":"left"}},cx={class:"btns"},px=["disabled"],fx=["onClick"],mx=I({setup(o){const{$gettext:n,$ngettext:a}=H(),u=Pe().query.type,s=F(0),p=F(""),w=F(!1),m=Q(()=>{var h,v,x;return!(((h=f.value)==null?void 0:h.ipv4addr)&&((v=f.value)==null?void 0:v.ipv4mask)&&((x=f.value)==null?void 0:x.gateway))}),c=F({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),f=F(),g=()=>{w.value=!0,G.Network.Status.GET().then(h=>{if(h!=null&&h.data){const{result:v}=h==null?void 0:h.data;v&&(f.value=v)}}).finally(()=>{w.value=!1})},_=h=>{var v,x,y,$,Y;h&&(c.value.staticLanIp=((v=f.value)==null?void 0:v.ipv4addr)||"",c.value.subnetMask=((x=f.value)==null?void 0:x.ipv4mask)&&It.prefixToMask(f.value.ipv4mask)||"",c.value.gateway=((y=f.value)==null?void 0:y.gateway)||"",c.value.staticDnsIp=(($=f.value)==null?void 0:$.dnsList)&&((Y=f.value)==null?void 0:Y.dnsList[0])||"223.5.5.5"),s.value=1},k=h=>{window.location.href=location.protocol+"//"+c.value.staticLanIp+(location.port?":"+location.port:"")},b=()=>O(this,null,function*(){const h=c.value,v=E.Loading(n("\u914D\u7F6E\u4E2D..."));try{const x=yield G.Guide.GatewayRouter.POST(h);if(x!=null&&x.data){const{success:y,error:$}=x==null?void 0:x.data;if($&&(p.value=$),y==null||y==0){setTimeout(()=>{s.value=2,v.Close()},5e3);return}}}catch(x){p.value=x}v.Close()});return(h,v)=>{var $,Y,P,A;const x=ht("router-link"),y=ht("switch-box");return s.value==0?(r(),d("div",C_,[t("h2",D_,i(e(n)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[nt(i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,i(e(n)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),B_,t("p",null,i(e(n)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,i(e(n)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,i(e(n)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",Y_,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:v[0]||(v[0]=B=>s.value=3)},i(e(n)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:v[1]||(v[1]=B=>_(!1))},i(e(n)("\u624B\u52A8\u914D\u7F6E...")),1),D(x,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(n)("\u8FD4\u56DE")),9,A_)]),_:1},8,["to"])])])):s.value==1?(r(),d("div",S_,[t("h2",z_,i(e(n)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",P_,i(e(n)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:ut(b,["prevent"])},[t("label",null,[t("div",I_,[t("span",null,i(e(n)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",M_,[t("select",{disabled:"",style:ft({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",L_,[t("span",null,i(e(n)("IP \u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":v[2]||(v[2]=B=>c.value.staticLanIp=B),placeholder:e(n)("IP\u5730\u5740"),required:""},null,8,N_),[[et,c.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",O_,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),L(t("input",{type:"text","onUpdate:modelValue":v[3]||(v[3]=B=>c.value.subnetMask=B),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,V_),[[et,c.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",G_,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":v[4]||(v[4]=B=>c.value.gateway=B),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:""},null,8,j_),[[et,c.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",U_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":v[5]||(v[5]=B=>c.value.staticDnsIp=B),placeholder:e(n)("223.5.5.5"),required:""},null,8,q_),[[et,c.value.staticDnsIp,void 0,{trim:!0}]])]),p.value?(r(),d("div",R_,i(p.value),1)):C("",!0),t("div",W_,[D(y,{modelValue:c.value.enableDhcp,"onUpdate:modelValue":v[6]||(v[6]=B=>c.value.enableDhcp=B)},{default:j(()=>[c.value.enableDhcp?(r(),d("span",H_,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(r(),d("span",J_,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",Z_,[D(y,{modelValue:c.value.dhcp6c,"onUpdate:modelValue":v[7]||(v[7]=B=>c.value.dhcp6c=B)},{default:j(()=>[t("span",K_,i(e(n)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Q_,[D(y,{modelValue:c.value.enableNat,"onUpdate:modelValue":v[8]||(v[8]=B=>c.value.enableNat=B)},{default:j(()=>[t("span",X_,i(e(n)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",tx,[t("button",ex,i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),1),D(x,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(n)("\u8FD4\u56DE")),9,ax)]),_:1},8,["to"])])],40,T_)])):s.value==2?(r(),d("div",ox,[t("h2",nx,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("h3",ix,i(e(n)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",rx,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):s.value==3?(r(),d("div",sx,[t("h2",dx,i(e(n)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,i(e(n)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),nt(" "+i(e(n)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:st(["cbi-button cbi-button-neutral",e(m)?"cbi-button-neutral":"cbi-button-success"]),disabled:w.value,onClick:g},[nt(i(e(n)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",ux,[t("ul",null,[t("li",null,i(e(n)("IP \u5730\u5740: "))+i(($=f.value)==null?void 0:$.ipv4addr),1),t("li",null,i(e(n)("\u5B50\u7F51\u63A9\u7801: "))+i(((Y=f.value)==null?void 0:Y.ipv4mask)&&e(It).prefixToMask(f.value.ipv4mask)),1),t("li",null,i(e(n)("\u7F51\u5173\u5730\u5740: "))+i((P=f.value)==null?void 0:P.gateway),1),t("li",null,i(e(n)("DNS\u670D\u52A1\u5668: "))+i(((A=f.value)==null?void 0:A.dnsList)&&f.value.dnsList[0]||(e(m)?"":e(n)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,lx),nt(" "+i(e(n)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",cx,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(m),onClick:v[9]||(v[9]=B=>_(!0))},i(e(n)("\u81EA\u52A8\u586B\u5199..."))+i(e(m)?e(n)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,px),D(x,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(n)("\u8FD4\u56DE")),9,fx)]),_:1},8,["to"])])])):C("",!0)}}});var gx=N(mx,[["__scopeId","data-v-2dee59a8"]]);const vx={class:"actioner-container"},bx={class:"actioner-container_header"},hx={class:"actioner-container_body"},_x={class:"label-item"},xx={class:"label-item_key"},wx={class:"label-item_value"},kx=["value"],yx={class:"label-item_tips"},Fx={class:"label-item"},Ex={class:"label-item_key"},$x={key:0,class:"label-item_value"},Cx={class:"msg-warning"},Dx={key:1,class:"label-item_value"},Bx=["value"],Yx={key:1,class:"msg-warning"},Ax={class:"label-item_tips"},Sx={class:"actioner-container_footer"},zx=["disabled"],Px=["disabled"],Tx={key:1,class:"actioner-container_body setup-loading"},Ix={class:"actioner-container_body setup-error"},Mx={class:"actioner-container_footer"},Lx=["disabled"],Nx={class:"actioner-container_body setup-success"},Ox={class:"body-title"},Vx={class:"actioner-container_footer"},Gx=I({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},s=()=>{n.success&&n.success()},p=F("init"),w=F(""),m=[{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}],c=F("raid5"),f=F([]),g=x=>{let y="";return m.forEach($=>{$.name===x&&(y=$.info)}),y},_=F(!1),k=mt({loading:!1,members:[]}),b=x=>{};(()=>O(this,null,function*(){k.loading=!0;try{const x=yield G.Raid.CreateList.GET();if(x!=null&&x.data){const{success:y,error:$,result:Y}=x.data;if(Y&&(k.members=Y.members||[]),$)throw $}}catch(x){console.log(x)}finally{k.loading=!1}}))();const v=()=>O(this,null,function*(){const x=m.filter($=>$.name===c.value)[0],y=f.value;if(!x){E.Warning(a("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(y.length==0){E.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(x.select>y.length){E.Warning(a("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+x.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:x.name}))&&!!confirm(a("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:x.name}))){_.value=!0,p.value="loading";try{const $=yield G.Raid.Create.POST({level:x.name,devicePaths:y});if($.data){const{success:Y,error:P,result:A}=$.data;if(P)throw P;(Y||0)==0&&(p.value="success",s())}}catch($){w.value=$,p.value="error"}finally{_.value=!1}}});return(x,y)=>{const $=ht("icon-loading"),Y=ht("icon-error"),P=ht("icon-success");return r(),d("div",vx,[t("div",bx,[t("span",null,i(e(a)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),p.value=="init"?(r(),d(U,{key:0},[t("div",hx,[t("p",null,i(e(a)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",_x,[t("div",xx,[t("span",null,i(e(a)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",wx,[L(t("select",{"onUpdate:modelValue":y[0]||(y[0]=A=>c.value=A),onChange:b},[(r(),d(U,null,tt(m,A=>t("option",{value:A.name},i(A.title),9,kx)),64))],544),[[dt,c.value]])]),t("div",yx,[D(zt),nt(" "+i(g(c.value)),1)])]),t("div",Fx,[t("div",Ex,[t("span",null,i(e(a)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(k).loading?(r(),d("div",$x,[t("span",Cx,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),d("div",Dx,[e(k).members.length>0?(r(!0),d(U,{key:0},tt(e(k).members,A=>(r(),d("label",null,[L(t("input",{type:"checkbox","onUpdate:modelValue":y[1]||(y[1]=B=>f.value=B),value:A.path},null,8,Bx),[[Rt,f.value]]),nt(" \u3010"+i(A.model)+"\u3011"+i(A.name)+" "+i(A.path)+" ["+i(A.sizeStr)+"] ",1)]))),256)):(r(),d("span",Yx,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",Ax,[D(zt),nt(" "+i(e(a)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",Sx,[t("div",{class:"close",onClick:u,disabled:_.value},i(e(a)("\u53D6\u6D88")),9,zx),t("div",{class:"next",onClick:v,disabled:_.value},i(e(a)("\u521B\u5EFA")),9,Px)])],64)):p.value=="loading"?(r(),d("div",Tx,[D($,{size:60,color:"#666"}),t("span",null,i(e(a)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):p.value=="error"?(r(),d(U,{key:2},[t("div",Ix,[D(Y),t("span",null,i(w.value),1)]),t("div",Mx,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1),t("div",{class:"next",onClick:v,disabled:_.value},i(e(a)("\u91CD\u65B0\u521B\u5EFA")),9,Lx)])],64)):p.value=="success"?(r(),d(U,{key:3},[t("div",Nx,[D(P),t("div",Ox,i(e(a)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",Vx,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])],64)):C("",!0)])}}});var jx=N(Gx,[["__scopeId","data-v-77451104"]]);const Ux={class:"actioner-container"},qx={class:"actioner-container_body"},Rx=["value"],Wx={class:"actioner-container_footer"},Hx=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},s=F("");return(()=>{G.Raid.Detail.POST({path:n.raid.path}).then(w=>{if(w.data){const{result:m,error:c}=w.data;c?s.value=c:s.value=(m==null?void 0:m.detail)||""}}).catch(w=>{s.value=w.message})})(),(w,m)=>(r(),d("div",Ux,[t("div",qx,[t("textarea",{value:s.value},null,8,Rx)]),t("div",Wx,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])]))}});var Jx=N(Hx,[["__scopeId","data-v-5ec616d8"]]);const Zx={class:"actioner-container"},Kx={class:"actioner-container_header"},Qx={class:"actioner-container_body"},Xx={class:"label-item"},tw={class:"label-item_key"},ew={class:"label-item_value"},aw={disabled:""},ow={class:"label-item"},nw={class:"label-item_key"},iw={key:0,class:"label-item_value"},rw={class:"msg-warning"},sw={key:1,class:"label-item_value"},dw=["value"],lw={key:1,class:"msg-warning"},uw={class:"actioner-container_footer"},cw=["disabled"],pw=["disabled"],fw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},s=()=>{n.success&&n.success()},p=()=>O(this,null,function*(){const g=c.value;if(g==""){E.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}m.value=!0;const _=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield G.Raid.Add.POST({path:n.raid.path,memberPath:g});if(k.data){const{error:b,success:h}=k.data;if(b)throw b;(h||0)==0&&(E.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(k){E.Error(`${k}`)}finally{m.value=!1,_.Close()}}),w=mt({loading:!1,members:[]}),m=F(!1),c=F("");return(()=>O(this,null,function*(){w.loading=!0,m.value=!0;try{const g=yield G.Raid.CreateList.GET();if(g!=null&&g.data){const{success:_,error:k,result:b}=g.data;if(b&&(w.members=b.members||[]),k)throw k}}catch(g){console.log(g)}finally{m.value=!1,w.loading=!1}}))(),(g,_)=>(r(),d("div",Zx,[t("div",Kx,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u4FEE\u6539")),1)]),t("div",Qx,[t("div",Xx,[t("div",tw,i(e(a)("\u8BBE\u5907")),1),t("div",ew,[t("select",aw,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",ow,[t("div",nw,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(w).loading?(r(),d("div",iw,[t("span",rw,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),d("div",sw,[e(w).members.length>0?(r(!0),d(U,{key:0},tt(e(w).members,k=>(r(),d("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":_[0]||(_[0]=b=>c.value=b),value:k.path},null,8,dw),[[Ft,c.value]]),nt(" \u3010"+i(k.model)+"\u3011"+i(k.name)+" "+i(k.path)+" ["+i(k.sizeStr)+"] ",1)]))),256)):(r(),d("span",lw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",uw,[t("div",{class:"close",onClick:u,disabled:m.value},i(e(a)("\u53D6\u6D88")),9,cw),t("div",{class:"next",onClick:p,disabled:m.value},i(e(a)("\u4FDD\u5B58")),9,pw)])]))}});var mw=N(fw,[["__scopeId","data-v-70cb932e"]]);const gw={class:"actioner-container"},vw={class:"actioner-container_header"},bw={class:"actioner-container_body"},hw={class:"label-item"},_w={class:"label-item_key"},xw={class:"label-item_value"},ww={disabled:""},kw={class:"label-item"},yw={class:"label-item_key"},Fw={class:"label-item_value"},Ew=["value"],$w={class:"actioner-container_footer"},Cw=["disabled"],Dw=["disabled"],Bw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},s=()=>{n.success&&n.success()},p=()=>O(this,null,function*(){const c=m.value;if(c==""){E.Warning(a("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}w.value=!0;const f=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const g=yield G.Raid.Remove.POST({path:n.raid.path,memberPath:c});if(g.data){const{error:_,success:k}=g.data;if(_)throw _;(k||0)==0&&(E.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(g){E.Error(`${g}`)}finally{w.value=!1,f.Close()}}),w=F(!1),m=F("");return(c,f)=>(r(),d("div",gw,[t("div",vw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u79FB\u9664")),1)]),t("div",bw,[t("div",hw,[t("div",_w,i(e(a)("\u8BBE\u5907")),1),t("div",xw,[t("select",ww,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",kw,[t("div",yw,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",Fw,[(r(!0),d(U,null,tt(o.raid.members,g=>(r(),d("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=_=>m.value=_),value:g},null,8,Ew),[[Ft,m.value]]),nt(" "+i(g),1)]))),256))])])]),t("div",$w,[t("div",{class:"close",onClick:u,disabled:w.value},i(e(a)("\u53D6\u6D88")),9,Cw),t("div",{class:"next",onClick:p,disabled:w.value},i(e(a)("\u4FDD\u5B58")),9,Dw)])]))}});var Yw=N(Bw,[["__scopeId","data-v-56c0f6fb"]]);const Aw={class:"actioner-container"},Sw={class:"actioner-container_header"},zw={class:"actioner-container_body"},Pw={class:"label-item"},Tw={class:"label-item_key"},Iw={class:"label-item_value"},Mw={disabled:""},Lw={class:"label-item"},Nw={class:"label-item_key"},Ow={key:0,class:"label-item_value"},Vw={class:"msg-warning"},Gw={key:1,class:"label-item_value"},jw=["value"],Uw={key:1,class:"msg-warning"},qw={class:"actioner-container_footer"},Rw=["disabled"],Ww=["disabled"],Hw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},s=()=>{n.success&&n.success()},p=()=>O(this,null,function*(){const g=c.value;if(g==""){E.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}m.value=!0;const _=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield G.Raid.Recover.POST({path:n.raid.path,memberPath:g});if(k.data){const{error:b,success:h}=k.data;if(b)throw b;(h||0)==0&&(E.Success(a("\u4FDD\u5B58\u6210\u529F")),s(),u())}}catch(k){E.Error(`${k}`)}finally{m.value=!1,_.Close()}}),w=mt({loading:!1,members:[]}),m=F(!1),c=F("");return(()=>O(this,null,function*(){w.loading=!0,m.value=!0;try{const g=yield G.Raid.CreateList.GET();if(g!=null&&g.data){const{success:_,error:k,result:b}=g.data;if(b&&(w.members=b.members||[]),k)throw k}}catch(g){console.log(g)}finally{m.value=!1,w.loading=!1}}))(),(g,_)=>(r(),d("div",Aw,[t("div",Sw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u6062\u590D")),1)]),t("div",zw,[t("div",Pw,[t("div",Tw,i(e(a)("\u8BBE\u5907")),1),t("div",Iw,[t("select",Mw,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Lw,[t("div",Nw,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(w).loading?(r(),d("div",Ow,[t("span",Vw,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),d("div",Gw,[e(w).members.length>0?(r(!0),d(U,{key:0},tt(e(w).members,k=>(r(),d("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":_[0]||(_[0]=b=>c.value=b),value:k.path},null,8,jw),[[Ft,c.value]]),nt(" \u3010"+i(k.model)+"\u3011"+i(k.name)+" "+i(k.path)+" ["+i(k.sizeStr)+"] ",1)]))),256)):(r(),d("span",Uw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",qw,[t("div",{class:"close",onClick:u,disabled:m.value},i(e(a)("\u53D6\u6D88")),9,Rw),t("div",{class:"next",onClick:p,disabled:m.value},i(e(a)("\u4FDD\u5B58")),9,Ww)])]))}});var Jw=N(Hw,[["__scopeId","data-v-0586260e"]]);const Zw={class:"action-main"},Kw=I({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(n,a)=>(r(),Z(_t,{type:2},{default:j(()=>[t("div",Zw,[o.setup=="create"?(r(),Z(jx,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(r(),Z(Jx,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(r(),Z(mw,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(r(),Z(Yw,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(r(),Z(Jw,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):C("",!0)])]),_:1}))}});var Qw=N(Kw,[["__scopeId","data-v-e20ba082"]]);const he=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(Qw,pt(lt({},o),{Close:()=>{l()}}));a.use(Na),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},ao=o=>(it("data-v-f1411b40"),o=o(),rt(),o),Xw={id:"page"},tk={name:"content"},ek={class:"cbi-map-descr"},ak={style:{color:"#f5365b","margin-top":"10px"}},ok={style:{color:"#f5365b","margin-top":"10px"}},nk={class:"btns"},ik=["disabled"],rk={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},sk={class:"table cbi-section-table"},dk={style:{}},lk={class:"tr cbi-section-table-titles anonymous"},uk={class:"th cbi-section-table-cell","data-widget":"value"},ck={class:"th cbi-section-table-cell","data-widget":"value"},pk={class:"th cbi-section-table-cell","data-widget":"value"},fk={class:"th cbi-section-table-cell","data-widget":"value"},mk={class:"th cbi-section-table-cell","data-widget":"value"},gk={class:"th cbi-section-table-cell","data-widget":"value"},vk={class:"th cbi-section-table-cell","data-widget":"value"},bk={class:"th cbi-section-table-cell","data-widget":"value"},hk={class:"tr cbi-section-table-row"},_k={class:"td cbi-value-field"},xk={class:"td cbi-value-field"},wk=["title"],kk={class:"item-status"},yk={key:0,class:"item-status item-status-detail"},Fk={class:"td cbi-value-field"},Ek={class:"td cbi-value-field"},$k={class:"td cbi-value-field"},Ck=ao(()=>t("br",null,null,-1)),Dk={class:"td cbi-value-field"},Bk=ao(()=>t("br",null,null,-1)),Yk={key:1,href:"/cgi-bin/luci/admin/quickstart/"},Ak={class:"td cbi-section-table-cell nowrap cbi-section-actions"},Sk=["title","disabled","onClick"],zk=["title","disabled","onClick"],Pk=["title","onClick"],Tk=["title","onClick"],Ik=["title","onClick"],Mk=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=mt({disksList:[]}),u=()=>O(this,null,function*(){try{const v=yield G.Raid.List.GET();if(v!=null&&v.data){const{success:x,error:y,result:$}=v.data;if($&&(l.disksList=$.disks||[]),y)throw y}}catch(v){console.log(v)}}),s=Pt.easyInterval(u,5e3);ke(()=>{s()});const p=v=>{switch(v.level){case"raid0":case"jbod":return!0}return v.status.indexOf("degraded")!=-1||v.status.indexOf("resyncing(")!=-1},w=v=>{let x=[];return v.childrens&&v.childrens.forEach(y=>{y.mountPoint&&x.push(`${y.name}(${y.mountPoint})`)}),x},m=()=>O(this,null,function*(){he({setup:"create",success:()=>{u()}})}),c=v=>{he({setup:"info",raid:v})},f=v=>O(this,null,function*(){if(v.childrens&&v.childrens.length>0&&v.childrens.filter($=>$.mountPoint).length>0){Se({content:n("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:n("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:n("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:v.name}))||!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:v.name})))return;const x=E.Loading(n("\u5220\u9664\u4E2D..."));try{const y=yield G.Raid.Delete.POST({path:v.path,members:v.members});if(y.data){const{success:$,error:Y}=y.data;if(Y)throw Y;($||0)==0&&(E.Success(n("\u5220\u9664\u6210\u529F")),u())}}catch(y){E.Error(`${y}`)}finally{x.Close()}}),g=v=>{he({setup:"edit",raid:v,success:()=>{u()}})},_=v=>{he({setup:"remove",raid:v,success:()=>{u()}})},k=v=>{he({setup:"recover",raid:v,success:()=>{u()}})},b=F(!1),h=()=>{Se({content:n("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:n("\u786E\u5B9A"),next:()=>O(this,null,function*(){b.value=!0;const v=E.Loading(n("\u626B\u63CF\u4E2D..."));try{const x=yield G.Raid.Autofix.GET();if(x.data){const{error:y,success:$}=x.data;if(y)throw y;($||0)==0&&(E.Success(n("\u6062\u590D\u5B8C\u6210")),u())}}catch(x){E.Error(`${x}`)}finally{v.Close(),b.value=!1}}),clearTitle:n("\u53D6\u6D88"),clear:()=>{}})};return(v,x)=>(r(),d("div",Xw,[t("h2",tk,i(e(n)("RAID\u7BA1\u7406")),1),t("div",ek,[t("p",null,i(e(n)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",ak," * "+i(e(n)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",ok," * "+i(e(n)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",nk,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:x[0]||(x[0]=y=>m())},i(e(n)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:x[1]||(x[1]=y=>h()),disabled:b.value},i(e(n)("\u626B\u63CF\u6062\u590DRAID")),9,ik)]),t("div",null,[t("div",rk,[t("table",sk,[t("tbody",dk,[t("tr",lk,[t("th",uk,i(e(n)("\u540D\u79F0")),1),t("th",ck,i(e(n)("\u8BBE\u5907")),1),t("th",pk,i(e(n)("\u72B6\u6001")),1),t("th",fk,i(e(n)("\u7EA7\u522B")),1),t("th",mk,i(e(n)("\u5BB9\u91CF")),1),t("th",gk,i(e(n)("\u6210\u5458")),1),t("th",vk,i(e(n)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",bk,i(e(n)("\u64CD\u4F5C")),1)]),(r(!0),d(U,null,tt(e(l).disksList,y=>(r(),d("tr",hk,[t("td",_k,[t("b",null,i(y.name),1)]),t("td",xk,[t("b",null,i(y.path),1)]),t("td",{class:"td cbi-value-field",title:y.status+(y.rebuildStatus||"")},[t("b",kk,i(y.status),1),y.rebuildStatus?(r(),d("b",yk," \u2026 ")):C("",!0)],8,wk),t("td",Fk,[t("b",null,i(y.level),1)]),t("td",Ek,[t("b",null,i(y.size),1)]),t("td",$k,[(r(!0),d(U,null,tt(y.members,$=>(r(),d("b",null,[nt(i($)+" ",1),Ck]))),256))]),t("td",Dk,[w(y).length>0?(r(!0),d(U,{key:0},tt(w(y),$=>(r(),d("b",null,[nt(i($)+" ",1),Bk]))),256)):(r(),d("a",Yk,i(e(n)("\u53BB\u6302\u8F7D")),1))]),t("td",Ak,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6269\u5145"),disabled:p(y),onClick:$=>g(y)},i(e(n)("\u6269\u5145")),9,Sk),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u79FB\u9664"),disabled:p(y),onClick:$=>_(y)},i(e(n)("\u79FB\u9664")),9,zk),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6062\u590D"),onClick:$=>k(y)},i(e(n)("\u6062\u590D")),9,Pk),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8BE6\u60C5"),onClick:$=>c(y)},i(e(n)("\u8BE6\u60C5")),9,Tk),t("button",{class:"cbi-button cbi-button-remove",title:e(n)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:$=>f(y)},i(e(n)("\u5220\u9664")),9,Ik)])]))),256))])])])])]))}});var Lk=N(Mk,[["__scopeId","data-v-f1411b40"]]);const Nk=o=>(it("data-v-2b6b4ef9"),o=o(),rt(),o),Ok={id:"page"},Vk=Nk(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),Gk={class:"cbi-map-descr"},jk={class:"tabs"},Uk=["href","onClick"],qk=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=[{to:"/smart",name:n("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:n("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:n("\u67E5\u770B\u65E5\u5FD7")}],u=F(!1),s=mt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),p=c=>{const{global:f,devices:g,tasks:_}=c;f&&(s.global.enable=f.enable||!1,s.global.powermode=f.powermode||"never"),s.devices=g||[],s.tasks=_||[]};(()=>O(this,null,function*(){try{const c=yield G.Smart.Config.GET();if(c.data){const{result:f}=c.data;f&&p(f)}}catch(c){}finally{u.value=!0}}))();const m=c=>O(this,null,function*(){const f=E.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const g=yield G.Smart.Config.POST(c);if(g.data){console.log(g.data);const{success:_,error:k,result:b}=g.data;if(k)throw k;(_||0)==0&&(E.Success(n("\u4FDD\u5B58\u6210\u529F")),b&&p(b))}}catch(g){E.Error(`${g}`)}finally{f.Close()}});return(c,f)=>{const g=ht("router-link"),_=ht("router-view");return r(),d("div",Ok,[Vk,t("div",Gk,[t("p",null,i(e(n)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,i(e(n)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,i(e(n)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,i(e(n)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",jk,[(r(),d(U,null,tt(l,k=>D(g,{to:k.to,custom:"",key:k.to},{default:j(({route:b,href:h,navigate:v,isActive:x,isExactActive:y})=>[t("li",{class:st({"active cbi-tab":x&&y})},[t("a",{href:h,onClick:v},i(k.name),9,Uk)],2)]),_:2},1032,["to"])),64))]),u.value?(r(),Z(_,{key:0,name:"default"},{default:j(({Component:k,route:b})=>[(r(),Z(ko,null,{default:j(()=>[(r(),Z(za(k),{key:b.path,config:e(s),saveData:m},null,8,["config"]))]),_:2},1024))]),_:1})):C("",!0)])}}});var Rk=N(qk,[["__scopeId","data-v-2b6b4ef9"]]);const Wk={class:"action-main"},Hk=I({setup(o){return(n,a)=>(r(),Z(_t,{type:2},{default:j(()=>[t("div",Wk,[Et(n.$slots,"default",{},void 0,!0)])]),_:3}))}});var Ge=N(Hk,[["__scopeId","data-v-f3b0d6f0"]]);const Jk={class:"actioner-container"},Zk={class:"actioner-container_header"},Kk={class:"actioner-container_body"},Qk={class:"cbi-value"},Xk={class:"cbi-value-title"},ty={class:"cbi-value-field"},ey={class:"cbi-value-description"},ay={class:"cbi-value"},oy={class:"cbi-value-title"},ny={class:"cbi-value-field"},iy={class:"cbi-checkbox"},ry={value:-1},sy={value:0},dy=["value"],ly={class:"cbi-value-description"},uy={class:"cbi-value"},cy={class:"cbi-value-title"},py={class:"cbi-value-field"},fy={class:"cbi-checkbox"},my={value:-1},gy={value:0},vy=["value"],by={class:"cbi-value-description"},hy={class:"actioner-container_footer"},_y=["disabled"],xy=["disabled"],wy=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var m,c,f;const n=o,{$gettext:a,$ngettext:l}=H();console.log(n.device);const u=F(!1),s=mt({tmpDiff:((m=n.device)==null?void 0:m.tmpDiff)||0,tmpMax:((c=n.device)==null?void 0:c.tmpMax)||0,devicePath:((f=n.device)==null?void 0:f.devicePath)||""}),p=()=>{u.value=!0,n.close()},w=()=>O(this,null,function*(){u.value=!0;try{yield n.next({tmpDiff:s.tmpDiff,tmpMax:s.tmpMax,devicePath:s.devicePath}),u.value=!1,p()}catch(g){}});return(g,_)=>(r(),Z(Ge,null,{default:j(()=>[t("div",Jk,[t("div",Zk,[t("span",null," S.M.A.R.T. \xBB "+i(e(a)("\u8BBE\u5907"))+" \xBB "+i(o.disk.path),1)]),t("div",Kk,[t("div",Qk,[t("label",Xk,i(e(a)("\u78C1\u76D8")),1),t("div",ty,[t("div",ey,i(o.disk.model)+" [ "+i(o.disk.path)+"\uFF0C"+i(o.disk.sizeStr)+" ] ",1)])]),t("div",ay,[t("label",oy,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",ny,[t("div",iy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":_[0]||(_[0]=k=>e(s).tmpDiff=k)},[t("option",ry,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",sy,i(e(a)("\u7981\u7528")),1),(r(),d(U,null,tt(20,k=>t("option",{value:k},i(k)+"\xB0C",9,dy)),64))],512),[[dt,e(s).tmpDiff,void 0,{number:!0}]])]),t("div",ly,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",uy,[t("label",cy,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",py,[t("div",fy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":_[1]||(_[1]=k=>e(s).tmpMax=k)},[t("option",my,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",gy,i(e(a)("\u7981\u7528")),1),(r(),d(U,null,tt(20,k=>t("option",{value:k*5},i(k*5)+"\xB0C",9,vy)),64))],512),[[dt,e(s).tmpMax,void 0,{number:!0}]])]),t("div",by,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",hy,[t("button",{class:"close",onClick:p,disabled:u.value},i(e(a)("\u53D6\u6D88")),9,_y),t("button",{class:"next",onClick:w,disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,xy)])])]),_:1}))}}),ky={class:"actioner-container"},yy={class:"actioner-container_header"},Fy={class:"actioner-container_body"},Ey={class:"cbi-value"},$y={class:"cbi-value-title"},Cy={class:"cbi-value-field"},Dy={class:"cbi-checkbox"},By={value:""},Yy=["value"],Ay={class:"cbi-value"},Sy={class:"cbi-value-title"},zy={class:"cbi-value-field"},Py={class:"cbi-checkbox"},Ty={value:"short"},Iy={value:"long"},My={value:"conveyance"},Ly={value:"offline"},Ny={class:"cbi-value"},Oy={class:"cbi-value-title"},Vy={class:"cbi-value-field"},Gy={class:"cbi-checkbox"},jy=t("option",{value:"*"},"*",-1),Uy=["value"],qy={class:"cbi-value-description"},Ry={class:"cbi-value"},Wy={class:"cbi-value-title"},Hy={class:"cbi-value-field"},Jy={class:"cbi-checkbox"},Zy=t("option",{value:"*"},"*",-1),Ky=["value"],Qy={class:"cbi-value-description"},Xy={class:"cbi-value"},tF={class:"cbi-value-title"},eF={class:"cbi-value-field"},aF={class:"cbi-checkbox"},oF=t("option",{value:"*"},"*",-1),nF=["value"],iF={class:"cbi-value-description"},rF={class:"actioner-container_footer"},sF=["disabled"],dF=["disabled"],lF=I({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!1),s=mt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),p=F([]);(()=>O(this,null,function*(){try{const f=yield G.Smart.List.GET();if(f.data){const{result:g,error:_}=f.data;g&&g.disks&&(p.value=g.disks)}}catch(f){}}))();const m=()=>{u.value=!0,n.close()},c=()=>O(this,null,function*(){if(s.devicePath==""){E.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}u.value=!0;try{yield n.next(s),m()}catch(f){}finally{u.value=!1}});return(f,g)=>(r(),Z(Ge,null,{default:j(()=>[t("div",ky,[t("div",yy,[t("span",null,i(e(a)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",Fy,[t("div",Ey,[t("label",$y,i(e(a)("\u78C1\u76D8")),1),t("div",Cy,[t("div",Dy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":g[0]||(g[0]=_=>e(s).devicePath=_)},[t("option",By,i(e(a)("\u9009\u62E9\u78C1\u76D8")),1),(r(!0),d(U,null,tt(p.value,_=>(r(),d("option",{value:_.path},i(_.model)+" [ "+i(_.path)+"\uFF0C"+i(_.sizeStr)+" ] ",9,Yy))),256))],512),[[dt,e(s).devicePath,void 0,{trim:!0}]])])])]),t("div",Ay,[t("label",Sy,i(e(a)("\u7C7B\u578B")),1),t("div",zy,[t("div",Py,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":g[1]||(g[1]=_=>e(s).type=_)},[t("option",Ty,i(e(a)("\u77ED\u6682\u81EA\u68C0")),1),t("option",Iy,i(e(a)("\u957F\u65F6\u81EA\u68C0")),1),t("option",My,i(e(a)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",Ly,i(e(a)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[dt,e(s).type,void 0,{trim:!0}]])])])]),t("div",Ny,[t("label",Oy,i(e(a)("\u5C0F\u65F6")),1),t("div",Vy,[t("div",Gy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":g[2]||(g[2]=_=>e(s).hour=_)},[jy,(r(),d(U,null,tt(24,(_,k)=>t("option",{value:`${k}`},i(k),9,Uy)),64))],512),[[dt,e(s).hour,void 0,{trim:!0}]])]),t("div",qy,i(e(a)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",Ry,[t("label",Wy,i(e(a)("\u5929")),1),t("div",Hy,[t("div",Jy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":g[3]||(g[3]=_=>e(s).dayPerMonth=_)},[Zy,(r(),d(U,null,tt(31,_=>t("option",{value:`${_}`},i(_),9,Ky)),64))],512),[[dt,e(s).dayPerMonth,void 0,{trim:!0}]])]),t("div",Qy,i(e(a)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",Xy,[t("label",tF,i(e(a)("\u6708")),1),t("div",eF,[t("div",aF,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":g[4]||(g[4]=_=>e(s).month=_)},[oF,(r(),d(U,null,tt(12,(_,k)=>t("option",{value:`${_}`},i(_),9,nF)),64))],512),[[dt,e(s).month,void 0,{trim:!0}]])]),t("div",iF,i(e(a)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",rF,[t("button",{class:"close",onClick:m,disabled:u.value},i(e(a)("\u53D6\u6D88")),9,sF),t("button",{class:"next",onClick:c,disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,dF)])])]),_:1}))}}),uF={class:"actioner-container"},cF={class:"actioner-container_header"},pF={class:"actioner-container_body"},fF=["value"],mF={class:"actioner-container_footer"},gF=["disabled"],vF=["disabled"],bF=I({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!1),s=F(""),p=F(""),w=F(""),m=()=>O(this,null,function*(){s.value+=".";try{const _=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.task.devicePath||""});if(_.data){const{result:k,error:b}=_.data;k&&k.result&&(w.value=k.result),b&&(w.value=b)}}catch(_){_&&(w.value=_)}}),c=Pt.easyInterval(m,5e3);ke(()=>{c()});const f=()=>{u.value=!0,c(),n.close()},g=()=>O(this,null,function*(){u.value=!0;try{const _=yield G.Smart.Test.POST({type:n.task.type||"short",devicePath:n.task.devicePath||""});if(_.data){const{success:k,error:b,result:h}=_.data;b&&(p.value=b),h&&h.result&&(p.value=h.result)}}catch(_){p.value=_}finally{}});return(_,k)=>(r(),Z(Ge,null,{default:j(()=>[t("div",uF,[t("div",cF,[t("span",null,i(e(a)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",pF,[t("textarea",{value:p.value+` +var uo=Object.defineProperty,co=Object.defineProperties;var po=Object.getOwnPropertyDescriptors;var ha=Object.getOwnPropertySymbols;var fo=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable;var Re=(o,n,a)=>n in o?uo(o,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[n]=a,lt=(o,n)=>{for(var a in n||(n={}))fo.call(n,a)&&Re(o,a,n[a]);if(ha)for(var a of ha(n))mo.call(n,a)&&Re(o,a,n[a]);return o},pt=(o,n)=>co(o,po(n));var go=(o,n)=>()=>(n||o((n={exports:{}}).exports,n),n.exports);var ve=(o,n,a)=>(Re(o,typeof n!="symbol"?n+"":n,a),a);var O=(o,n,a)=>new Promise((l,u)=>{var d=g=>{try{w(a.next(g))}catch(c){u(c)}},p=g=>{try{w(a.throw(g))}catch(c){u(c)}},w=g=>g.done?l(g.value):Promise.resolve(g.value).then(d,p);w((a=a.apply(o,n)).next())});import{a as vo,c as bo,d as we,b as I,e as Q,u as e,o as r,f as s,g as t,t as i,n as ft,h as C,i as D,r as ht,j as st,k as Et,w as L,v as qt,l as ho,m as Z,p as j,q as E,s as At,x as Yt,y as dt,F as U,z as tt,A as et,B as Ot,C as it,D as rt,E as ut,T as $t,G as vt,H as Vt,I as ke,J as te,K as nt,L as mt,M as Ft,N as Qe,O as Ba,P as Ya,Q as Aa,R as Xe,S as ta,U as Sa,V as ea,W as aa,X as _o,Y as za,Z as ye,_ as xo,$ as wo,a0 as oa,a1 as Pe,a2 as ko,a3 as Te,a4 as yo,a5 as Fo,a6 as Eo,a7 as $o,a8 as Co,a9 as Do,aa as Bo,ab as Yo,ac as Ao}from"./vendor.js?v=ad84974d";var TP=go(ae=>{const So=function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))l(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const p of d.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&l(p)}).observe(document,{childList:!0,subtree:!0});function a(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerpolicy&&(d.referrerPolicy=u.referrerpolicy),u.crossorigin==="use-credentials"?d.credentials="include":u.crossorigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(u){if(u.ep)return;u.ep=!0;const d=a(u);fetch(u.href,d)}};So();const Lt={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},zo=o=>O(ae,null,function*(){const n=window.vue_lang;new Date().getTime();let a={};try{const d=yield vo({url:window.vue_lang_data,method:"GET"});d.data&&(a=d.data)}catch(d){console.log(d)}const l=bo({defaultLanguage:n,mutedLanguages:["zh-cn"],translations:a,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(l),Lt.language=l;const{$gettext:u}=l;window.$i18n=u;try{Lt.numberFormat=new Intl.NumberFormat(n,{notation:"compact"})}catch(d){console.error("Intl.NumberFormat unsupported lang",n,d)}}),H=()=>{if(Lt.language)return Lt.language;throw new Error("I18N Uninitialized!")},Ie=()=>({$gettext:(o,n,a)=>{if(Lt.language)return Lt.language.$gettext(o,n,a);throw new Error("I18N Uninitialized!")},$ngettext:(o,n,a,l,u)=>{if(Lt.language)return Lt.language.$ngettext(o,n,a,l,u);throw new Error("I18N Uninitialized!")}}),De=o=>typeof o=="number"?Lt.numberFormat.format(o):"?",{$gettext:Po,$ngettext:LP}=Ie(),Pa=(o,n)=>O(ae,null,function*(){return new Promise((a,l)=>O(ae,null,function*(){try{const u=yield fetch(o,n);if(Math.floor(u.status/100)!=2)throw u.status+" "+u.statusText;const d=lt({},u);d.data=yield u.json(),a(d)}catch(u){const d=u;l(Po("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((d==null?void 0:d.message)||u))}}))});class na{constructor(n){ve(this,"config",{baseURL:"",headers:{}});ve(this,"useRequest",n=>n);ve(this,"useResponse",n=>n);ve(this,"useError",n=>n);n.baseURL&&(this.config.baseURL=n.baseURL),n.headers&&(this.config.headers=n.headers)}static create(n){return new na(n)}Do(n,a){return O(this,null,function*(){return new Promise((l,u)=>O(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${d.baseURL||""}${n}`,a.headers==null&&(a.headers={}),d.headers&&(a.headers=lt({},d.headers));const w=yield fetch(n,a),g=lt({},w);g.data=yield w.json(),l(this.useResponse(g))}catch(d){this.useError(d),u(d)}}))})}TEXT(n,a){return O(this,null,function*(){return new Promise((l,u)=>O(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});n=`${d.baseURL||""}${n}`,a.headers==null&&(a.headers={}),d.headers&&(a.headers=lt({},d.headers));const w=yield fetch(n,a),g=lt({},w);g.data=yield w.text(),l(g)}catch(d){this.useError(d),u(d)}}))})}interceptors(){const n=this;return{requset:{use(a){n.useRequest=a}},response:{use(a,l){n.useResponse=a,l&&(n.useError=l)}}}}}const Ta=na.create({});Ta.interceptors().requset.use(o=>o);Ta.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:Ia,$ngettext:NP}=Ie(),To="/cgi-bin/luci/istore",Io="/cgi-bin/luci/admin";let Ae=!1;const q=(o,n)=>(o.indexOf("//")==-1&&(o=`${To}${o}`),Pa(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(Ia("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Mo=(o,n)=>(o.indexOf("//")==-1&&(o=`${Io}${o}`),Pa(o,n).then(a=>(a!=null&&a.data&&a.data.success==-1001&&a.data.error=="Forbidden"&&(Ae||(Ae=!0,alert(Ia("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),a))),Lo={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"}})}}},No={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"})}}},Oo={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)})}}},jo={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"})}}},Uo={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)})}}}},qo={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"})}}},Ro={getInstalled:{GET(){return Mo("/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 Ho=Object.freeze(Object.defineProperty({__proto__:null,Network:Lo,System:No,Nas:Oo,App:Vo,Guide:Go,Raid:jo,Smart:Uo,Quickwifi:qo,GuidePage:Ro,DeviceMangement:Wo},Symbol.toStringTag,{value:"Module"})),G=lt({},Ho);const ia=we("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});we("guide",{});const Jo=we("nas",{state:()=>({webdav:{}})}),Fe=we("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){G.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:n}=o==null?void 0:o.data;n&&(this.deviceList=n)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Me=we("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){G.System.Version.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,G.System.CheckUpdate.GET().then(o=>{var n;(n=o==null?void 0:o.data)!=null&&n.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let _a=!1;const Zo=()=>{if(_a)return;_a=!0;let o=!0,n=!0;const a=Fe(),l=Me(),u=function(){return(!o&&document.hidden?Promise.resolve():G.System.Status.GET().then(p=>{p!=null&&p.data.result&&l.updateSystemStatus(p.data.result)})).finally(()=>{setTimeout(u,5e3),o&&(setInterval(()=>{l.incrTime()},1e3),o=!1)})},d=function(){return(!n&&document.hidden?Promise.resolve():G.Network.Status.GET().then(p=>{if(p!=null&&p.data){const{result:w}=p==null?void 0:p.data;w&&a.updateNetworkStatus(w)}})).finally(()=>{setTimeout(d,5e3),n&&(setInterval(()=>{a.incrTime()},1e3),n=!1)})};d(),a.requestDeviceList(),setTimeout(()=>{l.requestVersion(),u()},1100)};var N=(o,n)=>{const a=o.__vccOpts||o;for(const[l,u]of n)a[l]=u;return a};const Ko=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=ia(),u=Q(()=>l.portitemStyle.portitem),d=Q(()=>l.portitemStyle.show),p=Q(()=>({bottom:`calc(100% - ${l.portitemStyle.top}px)`,left:`${l.portitemStyle.left}px`})),w=f=>{switch(f){case"full":return n("\u5168\u53CC\u5DE5");case"half":return n("\u534A\u53CC\u5DE5")}},g=f=>{l.portitemStyle.show=!0},c=f=>{l.portitemStyle.show=!1};return(f,v)=>e(d)?(r(),s("div",{key:0,class:"disk-item-tooltip",style:ft(e(p)),onMouseenter:g,onMouseleave:c},[t("div",null,i(w(e(u).duplex)),1),t("div",null,i(e(n)("\u540D\u79F0\uFF1A"))+i(e(u).name||"--"),1),t("div",null,i(e(n)("MAC\uFF1A"))+i(e(u).macAddress||"--"),1),t("div",null,i(e(n)("\u63A5\u6536\uFF1A"))+i(e(u).rx_packets||"--"),1),t("div",null,i(e(n)("\u53D1\u9001\uFF1A"))+i(e(u).tx_packets||"--"),1)],36)):C("",!0)}});var Qo=N(Ko,[["__scopeId","data-v-41cbce66"]]);const Xo={id:"main"},tn=I({setup(o){return(n,a)=>{const l=ht("router-view");return r(),s("div",Xo,[D(l),D(Qo)])}}});var en=N(tn,[["__scopeId","data-v-2d97dedc"]]);const an={},on={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"},nn=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),rn=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),sn=[nn,rn];function dn(o,n){return r(),s("svg",on,sn)}var ln=N(an,[["render",dn]]);const un={},cn={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"},pn=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),fn=[pn];function mn(o,n){return r(),s("svg",cn,fn)}var gn=N(un,[["render",mn]]);const vn={},bn={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"},hn=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),_n=[hn];function xn(o,n){return r(),s("svg",bn,_n)}var wn=N(vn,[["render",xn]]);const kn={},yn={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"},Fn=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),En=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),$n=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),Cn=[Fn,En,$n];function Dn(o,n){return r(),s("svg",yn,Cn)}var Bn=N(kn,[["render",Dn]]);const Yn={},An={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"},Sn=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),zn=[Sn];function Pn(o,n){return r(),s("svg",An,zn)}var Tn=N(Yn,[["render",Pn]]);const In={},Mn={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"},Ln=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),Nn=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),On=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),jn=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),Un=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),qn=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),Rn=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),Wn=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),Hn=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),Jn=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),Zn=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),Kn=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),Qn=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),Xn=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),ti=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),ei=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),ai=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),oi=[Ln,Nn,On,Vn,Gn,jn,Un,qn,Rn,Wn,Hn,Jn,Zn,Kn,Qn,Xn,ti,ei,ai];function ni(o,n){return r(),s("svg",Mn,oi)}var ii=N(In,[["render",ni]]);const ri={},si={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"},di=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),li=[di];function ui(o,n){return r(),s("svg",si,li)}var ci=N(ri,[["render",ui]]);const pi={class:"progress"},fi=I({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const n=o,a=Q(()=>n.value>=80?"#e45e5e":n.value>=70?"#ff9800":n.value>=60?"#297ff3":n.value>0?"#53c31b":"");return(l,u)=>(r(),s("div",pi,[t("div",{class:st(["progress-value",`${o.value>50}`]),style:ft({width:`${o.value}%`,backgroundColor:e(a)})},[t("span",null,i(o.text),1)],6),Et(l.$slots,"default",{},void 0,!0)]))}});var Ma=N(fi,[["__scopeId","data-v-3ee635ef"]]);const mi={},gi={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"},vi=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),bi=[vi];function hi(o,n){return r(),s("svg",gi,bi)}var _i=N(mi,[["render",hi]]);const xi={},wi={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"},ki=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),yi=[ki];function Fi(o,n){return r(),s("svg",wi,yi)}var Ei=N(xi,[["render",Fi]]);const $i={class:"checkbox_switch"},Ci={class:"checkbox_switch_on"},Di={class:"checkbox_switch_off"},Bi=I({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,l=Q({get:()=>a.modelValue.valueOf(),set:u=>n("update:modelValue",u)});return(u,d)=>(r(),s("label",$i,[L(t("input",{type:"checkbox","onUpdate:modelValue":d[0]||(d[0]=p=>ho(l)?l.value=p:null)},null,512),[[qt,e(l)]]),t("span",Ci,[D(_i)]),t("span",Di,[D(Ei)]),Et(u.$slots,"default",{},void 0,!0)]))}});var La=N(Bi,[["__scopeId","data-v-54af3568"]]);const Yi={},Ai={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"},Si=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),zi=[Si];function Pi(o,n){return r(),s("svg",Ai,zi)}var Ti=N(Yi,[["render",Pi]]);const Ii={},Mi={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"},Li=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),Ni=[Li];function Oi(o,n){return r(),s("svg",Mi,Ni)}var Vi=N(Ii,[["render",Oi]]);const Gi={};function ji(o,n){return r(),s("article",null,[Et(o.$slots,"default",{},void 0,!0)])}var Ui=N(Gi,[["render",ji],["__scopeId","data-v-995510fc"]]);const qi={class:"cover"},Ri={class:"thumbnail"},Wi=I({emits:["click"],setup(o,{emit:n}){const a=()=>{n("click")};return(l,u)=>(r(),Z(Ui,null,{default:j(()=>[t("a",{onClick:a},[t("div",qi,[t("div",Ri,[Et(l.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Hi=N(Wi,[["__scopeId","data-v-782f97c0"]]);const Ji={class:"select-editable"},Zi={selected:"",value:""},Ki=["value"],Qi={value:"useInput"},Xi=["placeholder"],tr=I({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),d=E(""),p=E(""),w=Q({get:()=>a.modelValue.valueOf(),set:v=>n("update:modelValue",v)}),g=v=>{v===d.value||d.value==="useInput"&&v===p.value||(v===""||a.options.some(x=>x.key===v)?d.value=v:(p.value=v,d.value="useInput"))};At(()=>a.modelValue,v=>{g(v)}),Yt(()=>{const v=w.value;g(v)});const c=v=>{d.value==="useInput"?w.value=p.value:w.value=d.value},f=v=>{w.value=p.value};return(v,x)=>(r(),s("label",null,[t("div",Ji,[L(t("select",{"onUpdate:modelValue":x[0]||(x[0]=k=>d.value=k),autocomplete:"off",onChange:c},[t("option",Zi,i(e(l)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(r(!0),s(U,null,tt(o.options,(k,_)=>(r(),s("option",{value:k.key,key:_},i(k.value||k.key),9,Ki))),128)),t("option",Qi,i(e(l)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[dt,d.value,void 0,{trim:!0}]]),d.value=="useInput"?L((r(),s("input",{key:0,type:"text","onUpdate:modelValue":x[1]||(x[1]=k=>p.value=k),required:"",placeholder:e(l)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:f},null,40,Xi)),[[et,p.value,void 0,{trim:!0}]]):C("",!0)])]))}});var Jt=N(tr,[["__scopeId","data-v-c446588c"]]);const er={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"},ar=I({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const n=a=>{if(a==null)return;if(typeof a=="number")return a+"px";const l=a.toString();return parseInt(l)+""==l?l+"px":l};return(a,l)=>(r(),s("div",{class:"quick-loading",style:ft({width:n(o.size),height:n(o.size)})},[(r(),s("svg",er,[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:ft({fill:o.color})},null,4)]))],4))}});var or=N(ar,[["__scopeId","data-v-47c6049a"]]);const nr={},ir={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":""},rr=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),sr=[rr];function dr(o,n){return r(),s("svg",ir,sr)}var lr=N(nr,[["render",dr]]);const ur={},cr={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"},pr=Ot('',1),fr=[pr];function mr(o,n){return r(),s("svg",cr,fr)}var gr=N(ur,[["render",mr]]);const vr=o=>(it("data-v-0cc5bf50"),o=o(),rt(),o),br=["href","title"],hr=vr(()=>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)),_r=[hr],xr=I({props:{type:null},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{switch(n.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(d,p)=>(r(),s("a",{href:e(u),target:"_blank",title:e(a)("\u8DF3\u8F6C\u6559\u7A0B")},_r,8,br))}});var wr=N(xr,[["__scopeId","data-v-0cc5bf50"]]),Na={install:o=>{o.component("icon-loading",or),o.component("icon-success",lr),o.component("icon-error",gr),o.component("GlHelp",wr)}};const kr={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},yr=["fill"],ra=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",kr,[t("path",{d:"M680.64 960a61.184 61.184 0 0 1-44.864-19.072c-14.72-16.192-61.568-58.24-99.84-58.24-38.016 0-85.504 42.24-99.2 57.088a61.184 61.184 0 0 1-67.328 14.08l-1.28-0.448-116.352-65.088-1.152-0.832a55.872 55.872 0 0 1-18.752-67.456c0.064-0.192 10.752-24.768 10.752-47.232a123.52 123.52 0 0 0-123.392-123.328h-4.864c-19.52 0-35.392-17.28-40.448-44.096C73.6 603.2 64 552.384 64 512.384c0-40.064 9.536-90.88 9.92-92.992 5.12-27.136 21.376-44.544 41.152-44.096h4.16A123.52 123.52 0 0 0 242.56 251.904c0-22.4-10.688-46.976-10.816-47.232a55.68 55.68 0 0 1 18.944-67.392l1.216-0.832L374.72 68.992l1.28-0.576a62.336 62.336 0 0 1 67.2 13.888c14.528 15.296 60.48 54.848 97.664 54.848 36.8 0 82.496-38.784 96.96-53.76a62.336 62.336 0 0 1 67.264-13.44l1.28 0.64 118.592 65.92 1.152 0.768a55.808 55.808 0 0 1 18.816 67.456c-0.064 0.192-10.752 24.768-10.752 47.168a123.52 123.52 0 0 0 123.392 123.392h4.096c19.84-0.448 36.096 16.96 41.216 44.096 0.384 2.112 9.92 52.928 9.92 92.992 0 40-9.536 90.88-9.92 92.992-5.12 27.136-21.376 44.48-41.216 44.096h-4.096A123.52 123.52 0 0 0 834.176 772.8c0 22.4 10.688 47.04 10.752 47.232a55.808 55.808 0 0 1-18.816 67.456l-1.216 0.832-120.64 66.624-1.28 0.576a56.32 56.32 0 0 1-22.4 4.48z m-3.648-56.832a7.68 7.68 0 0 0 3.84 0.96l112.704-62.336c-2.688-6.272-15.168-36.992-15.168-68.928a179.456 179.456 0 0 1 169.856-179.008c1.344-7.552 8.768-49.792 8.768-81.472 0-31.68-7.424-73.92-8.768-81.472a179.456 179.456 0 0 1-169.856-179.008c0-32 12.48-62.72 15.168-68.992L682.688 121.28h-0.448c-1.92 0-3.648 0.64-4.288 1.088-1.856 1.92-17.92 18.24-40.96 34.432-34.24 24.064-66.56 36.224-96.064 36.224-29.888 0-62.464-12.416-96.832-36.928a313.792 313.792 0 0 1-41.216-35.072 8.832 8.832 0 0 0-4.736-1.152l-114.816 63.104c2.752 6.4 15.168 36.992 15.168 68.928A179.456 179.456 0 0 1 128.64 430.912c-1.344 7.552-8.768 49.792-8.768 81.472 0 31.68 7.424 73.92 8.768 81.408A179.456 179.456 0 0 1 298.496 772.8c0 32.128-12.544 62.912-15.232 69.12L392 902.72a7.68 7.68 0 0 0 3.84-0.896c2.048-2.24 18.304-19.456 41.6-36.608 34.944-25.536 68.032-38.464 98.56-38.464 30.72 0 64.064 13.184 99.2 39.232 23.488 17.472 39.744 34.944 41.792 37.184zM536.32 676.032a164.48 164.48 0 0 1-164.288-164.288A164.48 164.48 0 0 1 536.32 347.52a164.48 164.48 0 0 1 164.352 164.288A164.48 164.48 0 0 1 536.32 676.096z m0-272.64c-59.776 0-108.352 48.64-108.352 108.352 0 59.776 48.64 108.416 108.352 108.416 59.84 0 108.416-48.64 108.416-108.416 0-59.776-48.64-108.416-108.416-108.416z",fill:o.color,"p-id":"4508"},null,8,yr)]))}});let Be=0;const Fr={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,Be=window.setTimeout(o,1e3))};Be=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,Be!=0&&clearTimeout(Be),this.Close())}}},Le=o=>(it("data-v-48bf84c6"),o=o(),rt(),o),Er={key:0,class:"loading icon"},$r=Le(()=>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)),Cr=[$r],Dr={key:1,class:"success icon"},Br=Le(()=>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)),Yr=[Br],Ar={key:2,class:"error icon"},Sr=Le(()=>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)),zr=[Sr],Pr={key:3,class:"warning icon"},Tr=Le(()=>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)),Ir=[Tr];function Mr(o,n,a,l,u,d){return r(),Z($t,{name:"el-fade-in-linear"},{default:j(()=>[u.show?(r(),s("div",{key:0,class:"toast",onClick:n[1]||(n[1]=p=>d.Stop())},[a.type=="loading"?(r(),s("div",Er,Cr)):a.type=="success"?(r(),s("div",Dr,Yr)):a.type=="error"?(r(),s("div",Ar,zr)):a.type=="warning"?(r(),s("div",Pr,Ir)):C("",!0),t("div",{class:"message",onClick:n[0]||(n[0]=ut(()=>{},["stop"]))},i(d.Message),1)])):C("",!0)]),_:1})}var Lr=N(Fr,[["render",Mr],["__scopeId","data-v-48bf84c6"]]);const _e=new Map,oe=o=>{const n=vt(Lr,pt(lt({},o),{Close:()=>{l()}})),a=document.createElement("div");document.body.append(a),n.mount(a);const l=()=>{a.remove(),_e.get(n._uid)&&_e.delete(n._uid)};return o.type=="loading"&&_e.set(n._uid,{Close:l}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{l()},o==null?void 0:o.duration):setTimeout(()=>{l()},3e3)),{Close:l}},$=o=>oe(o);$.Loading=(o,n)=>oe({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:n||0});$.Success=o=>oe({type:"success",message:o});$.Error=o=>oe({type:"error",message:o,duration:0});$.Warning=o=>oe({type:"warning",message:o});$.Message=o=>oe({message:o});$.Clear=()=>{_e.forEach((o,n)=>{o.Close(),_e.delete(n)})};const Nr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none",width:"128",height:"128"},Or=["fill"],Vr=I({props:{color:{type:String,default:"#000000"}},setup(o){return(n,a)=>(r(),s("svg",Nr,[t("path",{d:"M511.232 438.8352L112.9984 40.6016A51.2 51.2 0 0 0 40.6016 112.9984L438.784 511.232 40.6016 909.4656a51.2 51.2 0 1 0 72.3968 72.448l398.2336-398.2848 398.2336 398.2848a51.2 51.2 0 1 0 72.448-72.448l-398.2848-398.2336 398.2848-398.2336A51.2 51.2 0 0 0 909.4656 40.6016L511.232 438.784z","p-id":"1217",fill:o.color},null,8,Or)]))}}),Gr=o=>(it("data-v-a96d68d4"),o=o(),rt(),o),jr={id:"actioner"},Ur={key:0,class:"action-container"},qr={class:"action-container_header"},Rr=Gr(()=>t("div",null,null,-1)),Wr={class:"title"},Hr=["title"],Jr={class:"action-container_body"},Zr=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!1);Yt(()=>{u.value=!0,document.body.setAttribute("lock-scroll","true")}),Vt(()=>{document.body.removeAttribute("lock-scroll")});const d=()=>{n.Close&&(u.value=!1,setTimeout(()=>{n.Close&&n.Close()},300))};return(p,w)=>(r(),s("div",jr,[t("div",{class:"bg",onClick:d}),o.type!=null?Et(p.$slots,"default",{key:0},void 0,!0):(r(),s(U,{key:1},[u.value?(r(),s("div",Ur,[t("div",qr,[Rr,t("div",Wr,i(o.title),1),t("button",{class:"close",title:e(a)("\u5173\u95ED"),onClick:d},[D(Vr)],8,Hr)]),t("div",Jr,[Et(p.$slots,"default",{},void 0,!0)])])):C("",!0)],64))]))}});var Kr=N(Zr,[["__scopeId","data-v-a96d68d4"]]);const _t=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(n,a)=>(r(),Z(Kr,{Close:o.Close,type:o.type,title:o.title},{default:j(()=>[Et(n.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Qr=["onSubmit"],Xr={class:"actioner-dns_header"},ts={class:"actioner-dns_body"},es={class:"label-item"},as={class:"label-item_key"},os={class:"label-item_value"},ns=["disabled"],is={value:"manual"},rs={class:"label-item"},ss={class:"label-item_key"},ds={class:"label-item_value"},ls=["placeholder","onUpdate:modelValue"],us={class:"label-item_key"},cs={class:"label-item_value"},ps=["placeholder","onUpdate:modelValue"],fs={key:1,class:"label-message"},ms={class:"actioner-dns_footer"},gs=["disabled"],vs={key:1,class:"actioner-dns"},bs={class:"actioner-dns_header"},hs={class:"actioner-dns_body"},_s={class:"config-message"},xs={class:"actioner-dns_footer"},ws=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(0),d=Fe(),p=d.status,w=Q(()=>d.status.proto!="static"),g=()=>{let h=p.dnsList||[];for(h=h.filter(m=>m);h.length<2;)h.push("");return h},c=E({interfaceName:p.defaultInterface||"",dnsProto:p.dnsProto||"manual",manualDnsIp:g()}),f=E(""),v=E(!1),x=()=>O(this,null,function*(){f.value="";let h={};switch(c.value.dnsProto){case"auto":break;case"manual":if(h.manualDnsIp=[],!c.value.manualDnsIp[0]){$.Error(a("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}h.manualDnsIp=c.value.manualDnsIp.filter(b=>b);break}h.dnsProto=c.value.dnsProto,h.interfaceName=c.value.interfaceName;const m=$.Loading(a("\u914D\u7F6E\u4E2D..."));try{const b=yield G.Guide.DnsConfig.POST(h);if(b!=null&&b.data){const{success:y,error:F}=b==null?void 0:b.data;F&&(f.value=F),(y==null||y==0)&&($.Success(a("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(b){f.value=b}m.Close()}),k=h=>{h.preventDefault(),n.Close&&n.Close()},_=h=>{location.reload()};return(h,m)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ut(x,["prevent"])},[t("div",Xr,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",ts,[t("div",es,[t("div",as,[t("span",null,i(e(a)("DNS\u9009\u9879")),1)]),t("div",os,[L(t("select",{"onUpdate:modelValue":m[0]||(m[0]=b=>c.value.dnsProto=b)},[t("option",{value:"auto",disabled:!e(w)},i(e(a)("\u81EA\u52A8\u83B7\u53D6DNS")),9,ns),t("option",is,i(e(a)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[dt,c.value.dnsProto]])])]),c.value.dnsProto=="manual"?(r(!0),s(U,{key:0},tt(c.value.manualDnsIp,(b,y)=>(r(),s("div",rs,[y==0?(r(),s(U,{key:0},[t("div",ss,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",ds,[L(t("input",{type:"text",placeholder:e(a)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":F=>c.value.manualDnsIp[y]=F},null,8,ls),[[et,c.value.manualDnsIp[y],void 0,{trim:!0}]])])],64)):(r(),s(U,{key:1},[t("div",us,i(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",cs,[L(t("input",{type:"text",placeholder:e(a)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":F=>c.value.manualDnsIp[y]=F},null,8,ps),[[et,c.value.manualDnsIp[y],void 0,{trim:!0}]])])],64))]))),256)):C("",!0),f.value?(r(),s("div",fs,i(f.value),1)):C("",!0)]),t("div",ms,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:v.value},i(e(a)("\u786E\u8BA4")),9,gs),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},i(e(a)("\u53D6\u6D88")),1)])],40,Qr)):u.value==1?(r(),s("div",vs,[t("div",bs,[t("span",null,i(e(a)("DNS\u914D\u7F6E")),1)]),t("div",hs,[t("div",_s,i(e(a)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",xs,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(a)("\u5B8C\u6210")),1)])])):C("",!0)]),_:1},8,["Close"]))}});var ks=N(ws,[["__scopeId","data-v-2ac87be2"]]);const Oa=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(ks,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},ys={},Fs={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"},Es=Ot('',1),$s=[Es];function Cs(o,n){return r(),s("svg",Fs,$s)}var sa=N(ys,[["render",Cs]]);const Ds=["onSubmit"],Bs={class:"actioner-dns_header"},Ys={class:"actioner-dns_body"},As={class:"label-item"},Ss={class:"label-item_key"},zs={class:"label-item_value"},Ps={class:"item_info"},Ts={class:"label-item"},Is={class:"label-item_key"},Ms={class:"label-item_value"},Ls={selected:"true",value:""},Ns=["value"],Os={class:"actioner-dns_footer"},Vs=["disabled"],Gs={key:1,class:"actioner-dns"},js={class:"actioner-dns_header"},Us={class:"softsource_tit"},qs={class:"actioner-dns_body"},Rs={class:"finished"},Ws={class:"successed"},Hs={class:"btns"},Js=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(0),d=E(""),p=E(),w=E();(()=>{G.Guide.SoftSourceList.GET().then(x=>{var k,_;if((k=x==null?void 0:x.data)!=null&&k.result){const h=(_=x==null?void 0:x.data)==null?void 0:_.result;w.value=h}}).then(()=>G.Guide.GetSoftSource.GET()).then(x=>{var k,_;if((k=x==null?void 0:x.data)!=null&&k.result){const h=x.data.result;p.value=h.softSource,(_=w.value)!=null&&_.softSourceList.find(m=>m.identity==h.softSource.identity)&&(d.value=h.softSource.identity)}})})();const c=x=>{x.preventDefault(),n.Close&&n.Close()},f=x=>{const k=$.Loading(a("\u6B63\u5728\u5207\u6362\u4E2D..."));G.Guide.SoftSource.POST({softSourceIdentity:d.value}).then(_=>{if(_!=null&&_.data){if((_.data.success||0)==0){u.value=1;return}else if(_.data.error)throw _.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(_=>{$.Error(_)}).finally(()=>k.Close())},v=x=>{x.preventDefault(),location.reload()};return(x,k)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>{var _,h;return[u.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ut(f,["prevent"])},[t("div",Bs,[t("span",null,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",Ys,[t("div",As,[t("div",Ss,[t("span",null,i(e(a)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",zs,[t("p",Ps,i((_=p.value)==null?void 0:_.name),1)])]),t("div",Ts,[t("div",Is,[t("span",null,i(e(a)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",Ms,[L(t("select",{name:"",id:"","onUpdate:modelValue":k[0]||(k[0]=m=>d.value=m)},[t("option",Ls,i(e(a)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(r(!0),s(U,null,tt((h=w.value)==null?void 0:h.softSourceList,(m,b)=>(r(),s("option",{value:m.identity,key:b},i(m.name),9,Ns))),128))],512),[[dt,d.value,void 0,{trim:!0}]])])])]),t("div",Os,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:d.value==""},i(e(a)("\u786E\u8BA4")),9,Vs),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c},i(e(a)("\u53D6\u6D88")),1)])],40,Ds)):C("",!0),u.value==1?(r(),s("form",Gs,[t("div",js,[t("span",Us,i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",qs,[t("div",Rs,[D(sa)]),t("p",Ws,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Hs,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:v},i(e(a)("\u786E\u5B9A")),1)])])])):C("",!0)]}),_:1},8,["Close"]))}});var Zs=N(Js,[["__scopeId","data-v-2deed63d"]]);const Va=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(Zs,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},Ks={class:"reusable-card",role:"group"},Qs={class:"card-header"},Xs={class:"left"},td={class:"title"},ed={class:"settings-wrapper"},ad={key:0,class:"settings-btn"},od={class:"dropdown-menu"},nd={key:1,class:"dns-btn"},id={key:2,class:"dns-btn"},rd={class:"card-body"},sd={props:{title:{type:String,required:!0},showSettings:{type:Boolean,default:!0},showDns:{type:Boolean,default:!1},showSoftware:{type:Boolean,default:!1},isSettingsMenuOpen:{type:Boolean,default:!1}},emits:["settings","update:isSettingsMenuOpen"],setup(o,{emit:n}){const a=o,{$gettext:l}=H();Yt(()=>document.addEventListener("click",d)),ke(()=>document.removeEventListener("click",d));const u=Q({get:()=>a.isSettingsMenuOpen,set:g=>n("update:isSettingsMenuOpen",g)}),d=g=>{g.target.closest(".settings-wrapper")||(u.value=!1)},p=()=>{Oa()},w=()=>{Va()};return(g,c)=>(r(),s("div",Ks,[t("div",Qs,[t("div",Xs,[Et(g.$slots,"icon",{},void 0,!0),t("div",td,i(o.title),1)]),t("div",ed,[o.showSettings?(r(),s("div",ad,[Et(g.$slots,"settings",{},void 0,!0)])):C("",!0),D($t,{name:"fade"},{default:j(()=>[L(t("div",od,[Et(g.$slots,"settings-menu",{},void 0,!0)],512),[[te,e(u)]])]),_:3}),o.showDns?(r(),s("div",nd,[t("button",{class:"btn-primary",onClick:p},i(e(l)("DNS\u914D\u7F6E")),1)])):C("",!0),o.showSoftware?(r(),s("div",id,[t("button",{class:"btn-pink",onClick:w},i(e(l)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])):C("",!0)])]),t("div",rd,[Et(g.$slots,"default",{},void 0,!0)])]))}};var Rt=N(sd,[["__scopeId","data-v-bb194020"]]);const dd={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},ld=["fill"],ud=["fill"],cd=["fill"],Zt=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",dd,[t("path",{d:"M665.6 911.36H358.4c-76.8 0-117.76 0-153.6-20.48-30.72-15.36-56.32-40.96-71.68-71.68-20.48-35.84-20.48-76.8-20.48-153.6v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 61.44 0 97.28 10.24 117.76 10.24 15.36 20.48 30.72 40.96 40.96 20.48 10.24 56.32 10.24 117.76 10.24h307.2c61.44 0 97.28 0 117.76-10.24 15.36-10.24 30.72-20.48 40.96-40.96 10.24-20.48 10.24-56.32 10.24-117.76v-51.2c0-20.48 15.36-40.96 40.96-40.96s40.96 15.36 40.96 40.96v51.2c0 76.8 0 117.76-20.48 153.6-15.36 30.72-40.96 56.32-71.68 71.68-35.84 20.48-76.8 20.48-153.6 20.48z","p-id":"4906",fill:o.color},null,8,ld),t("path",{d:"M512 645.12c-10.24 0-15.36 0-20.48-10.24l-204.8-204.8c-10.24-10.24-10.24-30.72 0-46.08s30.72-10.24 46.08 0l184.32 184.32 184.32-184.32c10.24-10.24 30.72-10.24 46.08 0 10.24 10.24 10.24 30.72 0 46.08l-204.8 204.8c-5.12 5.12-15.36 10.24-20.48 10.24z","p-id":"4907",fill:o.color},null,8,ud),t("path",{d:"M512 645.12c-15.36 0-30.72-15.36-30.72-30.72V153.6c0-15.36 15.36-30.72 30.72-30.72s30.72 15.36 30.72 30.72v460.8c0 15.36-15.36 30.72-30.72 30.72z","p-id":"4908",fill:o.color},null,8,cd)]))}}),pd={},fd={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"},md=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),gd=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),vd=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),bd=[md,gd,vd];function hd(o,n){return r(),s("svg",fd,bd)}var Ee=N(pd,[["render",hd]]);const da=o=>(it("data-v-0bd83418"),o=o(),rt(),o),_d={class:"disk-item"},xd=da(()=>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)),wd={class:"disk-item_f"},kd={class:"disk-item_venderModel"},yd={class:"disk-item_used"},Fd=da(()=>t("div",{class:"auto"},null,-1)),Ed={class:"disk-item-r"},$d={class:"disk-children"},Cd=["onClick"],Dd=da(()=>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)),Bd={key:0},Yd={key:1},Ad=I({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var p,w;const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!1);n.currDisk!=null&&((p=n.currDisk)==null?void 0:p.venderModel)==((w=n.disk)==null?void 0:w.venderModel)&&(u.value=!0);const d=g=>{u.value=!u.value,n.onDisk(g,null)};return(g,c)=>{var f;return r(),s("ul",_d,[t("li",{class:st(["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:c[0]||(c[0]=v=>d(o.disk))},[xd,t("div",wd,[t("div",kd,i(o.disk.venderModel),1),t("div",yd,i(o.disk.used)+"/"+i(o.disk.size),1)]),Fd,t("div",Ed,i(o.disk.path),1)],2),L(t("div",$d,[(r(!0),s(U,null,tt(o.disk.childrens,v=>{var x,k;return r(),s("li",{class:st(["disk-children_item",{on:v.uuid==((x=o.currMountPoint)==null?void 0:x.uuid)&&v.path==((k=o.currMountPoint)==null?void 0:k.path)}]),onClick:_=>o.onDisk(o.disk,v)},[Dd,v.mountPoint?(r(),s("span",Bd," \u3010"+i(v.filesystem)+"\u3011 "+i(v.mountPoint)+" \uFF08"+i(v.used)+"/"+i(v.total)+"\uFF09 ["+i(v.uuid)+"] ",1)):(r(),s("span",Yd," \u3010"+i(v.filesystem)+"\u3011 "+i(v.mountPoint||v.path||e(a)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+i(v.uuid)+"] ",1))],10,Cd)}),256))],512),[[te,u.value]])])}}});var xa=N(Ad,[["__scopeId","data-v-0bd83418"]]);const la=o=>(it("data-v-3dae3be2"),o=o(),rt(),o),Sd=["onSubmit"],zd={class:"action-header"},Pd={class:"action-header_title"},Td={class:"action-body"},Id={class:"disk-info"},Md=la(()=>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)),Ld={key:0,class:"disk-info_mount-name"},Nd={key:1,class:"disk-info_mount-name"},Od={key:0,class:"label-item"},Vd={class:"label-item_key"},Gd={class:"label-item_path"},jd={class:"label-item"},Ud={class:"label-item_key"},qd={class:"label-item_value"},Rd=["disabled"],Wd={key:0,value:""},Hd={value:"format"},Jd={key:1,value:"default"},Zd={class:"label-item_value"},Kd={key:0,class:"msg"},Qd={key:1,class:"msg"},Xd={class:"action-footer"},t0=la(()=>t("div",{class:"auto"},null,-1)),e0=["disabled"],a0=["disabled"],o0={key:1,class:"action result"},n0={class:"action-body"},i0=la(()=>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)),r0={class:"action-body_msg"},s0={key:0,class:"action-body_info"},d0={key:1,class:"action-body_info"},l0={class:"btns"},u0=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close&&n.Close()},d=F=>{F.preventDefault(),n.Cancel&&n.Cancel(),u()},p=F=>{n.Next&&n.Next(F),u()},w=E(!1),g=E(0),c=F=>{g.value=F},f=E(n.action=="nas"?"":"format"),v=E(),x=E(),k=()=>{switch(f.value){case"format":h();return;case"default":_();return;default:$.Warning(a("\u8BF7\u9009\u62E9\u9009\u9879"));return}},_=()=>{let F="";const Y=n.mount;if(Y!=null&&Y.mountPoint!=null&&(F=Y.mountPoint),F!=""){p(F);return}$.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},h=()=>{const F=n.disk,Y=n.mount;if(Y){const P=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:P||""}))||!confirm(a("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:P||""})))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;m(F);return}$.Warning(a("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},m=F=>O(this,null,function*(){if(F.name==null||F.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(F.path==null||F.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}w.value=!0;const Y=$.Loading(a("\u521D\u59CB\u5316\u4E2D..."));try{const P=yield G.Nas.Disk.Init.POST({name:F.name,path:F.path});if(P!=null&&P.data){const{result:A,error:B}=P==null?void 0:P.data;B&&$.Warning(B),A&&(A.errorInfo?$.Warning(A.errorInfo):($.Success(a("\u521D\u59CB\u5316\u6210\u529F")),A.childrens&&A.childrens.length>0&&(x.value=A.childrens[0]),v.value=A,c(1)))}}catch(P){$.Error(P)}Y.Close(),w.value=!1}),b=F=>O(this,null,function*(){if(F.path==null||F.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}w.value=!0;const Y=$.Loading(a("\u683C\u5F0F\u5316\u4E2D..."));try{const P=yield G.Nas.Disk.Partition.Format.POST({path:F.path,uuid:F.uuid,mountPoint:F.mountPoint});if(P!=null&&P.data){const{result:A,error:B}=P==null?void 0:P.data;B&&$.Warning(B),A&&($.Success(a("\u683C\u5F0F\u5316\u6210\u529F")),x.value=A,c(1))}}catch(P){$.Error(P)}Y.Close(),w.value=!1}),y=()=>{if(x.value&&x.value.mountPoint){p(x.value.mountPoint);return}$.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(F,Y)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>{var P;return[g.value==0?(r(),s("form",{key:0,class:"action format",onSubmit:ut(k,["prevent"])},[t("div",zd,[t("div",Pd,i(e(a)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",Td,[t("div",Id,[Md,o.mount?(r(),s("div",Ld,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint||o.mount.path),1)])):o.disk?(r(),s("div",Nd,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):C("",!0)]),o.mount?(r(),s("div",Od,[t("div",Vd,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",Gd,i(o.mount.mountPoint||o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF09",1)])):C("",!0),t("div",jd,[t("div",Ud,[t("span",null,i(e(a)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",qd,[L(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=A=>f.value=A),required:"",disabled:o.action=="disk"},[o.mount!=null?(r(),s("option",Wd,i(e(a)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):C("",!0),t("option",Hd,i(e(a)("\u683C\u5F0F\u5316")),1),o.mount!=null?(r(),s("option",Jd,i(e(a)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):C("",!0)],8,Rd),[[dt,f.value]])]),t("div",Zd,[f.value=="format"?(r(),s("p",Kd,i(e(a)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):f.value=="default"?(r(),s("p",Qd)):C("",!0)])])]),t("div",Xd,[t0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d,type:"button",disabled:w.value},i(e(a)("\u8FD4\u56DE")),9,e0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,a0)])],40,Sd)):g.value==1?(r(),s("div",o0,[t("div",n0,[i0,t("div",r0,i(e(a)("\u683C\u5F0F\u5316\u6210\u529F")),1),v.value?(r(),s("div",s0,[nt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+i(v.value.venderModel)+" "+i(e(a)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,i((P=x.value)==null?void 0:P.mountPoint),1)])):C("",!0),x.value?(r(),s("div",d0,[nt(i(e(a)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,i(x.value.mountPoint),1)])):C("",!0),t("div",l0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},i(o.action=="nas"?e(a)("\u4E0B\u4E00\u6B65"):e(a)("\u5B8C\u6210")),1)])])])):C("",!0)]}),_:1})]),_:1}))}});var c0=N(u0,[["__scopeId","data-v-3dae3be2"]]),ua=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(c0,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const p0=o=>(it("data-v-b222ef5e"),o=o(),rt(),o),f0={class:"action list"},m0={class:"action-header"},g0={class:"action-header_title"},v0={class:"action-body"},b0={class:"disk-list"},h0={class:"action-msg"},_0={href:"/cgi-bin/luci/admin/system/diskman"},x0={class:"action-footer"},w0=p0(()=>t("div",{class:"auto"},null,-1)),k0=I({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!0),d=mt({disks:[],raids:[]});(()=>O(this,null,function*(){const _=yield Promise.all([G.Nas.Disk.Status.GET(),G.Raid.List.GET()]);try{if(_[0]){const h=_[0];h!=null&&h.data.result&&(d.disks=(h==null?void 0:h.data.result.disks)||[])}if(_[1]){const h=_[1];h.data.result&&(d.raids=h.data.result.disks||[])}}catch(h){$.Warning(h)}}))();const w=E(),g=E(),c=(_,h)=>{w.value=_,g.value=h},f=()=>{n.Close&&n.Close()},v=()=>{n.Cancel&&n.Cancel(),f()},x=_=>{n.Next&&n.Next(_),f()},k=()=>{if(w.value==null){$.Warning(a("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(w.value.childrens!=null&&w.value.childrens.length>0&&g.value==null){$.Warning(a("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(g.value!=null&&(g.value.mountPoint==null||g.value.mountPoint=="")){$.Warning(a("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}u.value=!1,ua({action:"nas",disk:w.value,mount:g.value,Cancel:()=>{u.value=!0},Next:_=>{x(_)}})};return(_,h)=>u.value?(r(),Z(_t,{key:0,type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",f0,[t("div",m0,[t("div",g0,i(e(a)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",v0,[t("div",b0,[(r(!0),s(U,null,tt(e(d).disks,m=>(r(),Z(xa,{disk:m,onDisk:c,currDisk:w.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(r(!0),s(U,null,tt(e(d).raids,m=>(r(),Z(xa,{disk:m,onDisk:c,currDisk:w.value,currMountPoint:g.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",h0,[t("span",null,[nt(i(e(a)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",_0,i(e(a)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",x0,[w0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v,type:"button"},i(e(a)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k,type:"button"},i(e(a)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):C("",!0)}});var y0=N(k0,[["__scopeId","data-v-b222ef5e"]]),F0=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(y0,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const E0=o=>(it("data-v-45926ac6"),o=o(),rt(),o),$0={class:"action"},C0={class:"action-body"},D0=E0(()=>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)),B0={class:"title"},Y0={class:"info"},A0=["href"],S0={class:"btns"},z0=I({props:{Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(""),d=Q(()=>`http://${location.hostname}:${u.value}`);(()=>{G.Nas.Linkease.Enable.POST().then(g=>{var c,f;(c=g==null?void 0:g.data)!=null&&c.result&&(u.value=((f=g.data.result)==null?void 0:f.port)||"")})})();const w=()=>{n.Close&&n.Close(),location.reload()};return(g,c)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",$0,[t("div",C0,[D0,t("h2",B0,i(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Y0,[t("span",null,i(e(a)("\u524D\u5F80")),1),t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,A0),t("span",null,i(e(a)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",S0,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},i(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var P0=N(z0,[["__scopeId","data-v-45926ac6"]]),T0=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(P0,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const I0=o=>(it("data-v-2b3974a4"),o=o(),rt(),o),M0=["onSubmit"],L0={class:"action-header"},N0={class:"action-header_title"},O0={class:"action-body"},V0={class:"label-item"},G0={class:"label-item_key"},j0={class:"label-item_value"},U0=["value"],q0={class:"label-item"},R0={class:"label-item_key"},W0={class:"label-item_value"},H0=["placeholder"],J0={class:"label-item"},Z0={class:"label-item_key"},K0={class:"label-item_value"},Q0={class:"action-footer"},X0=I0(()=>t("div",{class:"auto"},null,-1)),tl=["disabled"],el=["disabled"],al=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=f=>{f.preventDefault(),n.Close&&n.Close()},d=E(!1),p=E({username:"root",password:"",rootPath:n.rootPath});(()=>O(this,null,function*(){const f=$.Loading(a("\u52A0\u8F7D\u4E2D..."));d.value=!0;try{const v=yield G.Nas.Webdav.Status.GET();if(v!=null&&v.data){const{result:x,error:k}=v.data;if(k){$.Warning(k);return}x&&(x.username&&(p.value.username=x.username),x.password&&(p.value.password=x.password))}}catch(v){$.Error(v)}d.value=!1,f.Close()}))();const g=()=>{const f=p.value;if(f.rootPath==""){$.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.username==""){$.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.password==""){$.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}c(f)},c=f=>O(this,null,function*(){d.value=!0;const v=$.Loading(a("\u521B\u5EFA\u4E2D..."));try{const x=yield G.Nas.Webdav.Create.POST(f);if(x!=null&&x.data){const{error:k,result:_}=x.data;k&&$.Warning(k),_&&($.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(x){$.Error(x)}v.Close(),d.value=!1});return(f,v)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:ut(g,["prevent"])},[t("div",L0,[t("div",N0,i(e(a)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",O0,[t("div",V0,[t("div",G0,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",j0,[t("input",{type:"text",value:p.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,U0)])]),t("div",q0,[t("div",R0,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",W0,[L(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":v[0]||(v[0]=x=>p.value.username=x)},null,8,H0),[[et,p.value.username,void 0,{trim:!0}]])])]),t("div",J0,[t("div",Z0,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",K0,[L(t("input",{type:"password","onUpdate:modelValue":v[1]||(v[1]=x=>p.value.password=x)},null,512),[[et,p.value.password,void 0,{trim:!0}]])])])]),t("div",Q0,[X0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:d.value},i(e(a)("\u5173\u95ED")),9,tl),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},i(e(a)("\u521B\u5EFA")),9,el)])],40,M0)]),_:1})]),_:1}))}});var ol=N(al,[["__scopeId","data-v-2b3974a4"]]),nl=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(ol,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const il={},rl={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"},sl=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),dl=[sl];function ll(o,n){return r(),s("svg",rl,dl)}var zt=N(il,[["render",ll]]);const{$gettext:be,$ngettext:Ye}=Ie(),ul=o=>{},cl=()=>new Date().getTime(),pl=o=>{if(o<1e3)return`${o} B`;let a=1e3,l=0;for(let p=o/1e3;p>=1e3;p/=1e3)a*=1e3,l++;let u=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(a/100)).toFixed(1)+u[l]},fl=o=>{if(o==null)return 0;if(o<1e4)return o;let a=parseInt(`${o/1e4}`),l=o%1e4;return`${a}\u4E07${l}`},ml=o=>{if(o)try{var n=new Date(o),a=n.getHours(),l=n.getMinutes(),u=n.getSeconds();return a<10&&(a=`0${a}`),l<10&&(l=`0${l}`),u<10&&(u=`0${u}`),`${a}:${l}:${u}`}catch(d){}return""},gl=o=>{if(o){let n=Math.floor(o/86400),a=Math.floor(o/3600)%24,l=Math.floor(o/60)%60,u=o%60;return(n>0?Ye("%{ days }\u5929","%{ days }\u5929",n,{days:De(n)}):"")+Ye("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",a,{hours:De(a)})+Ye("%{ minutes }\u5206","%{ minutes }\u5206",l,{minutes:De(l)})+Ye("%{ seconds }\u79D2","%{ seconds }\u79D2",u,{seconds:De(u)})}},vl=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),bl=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"),hl=(o,n)=>{let a=!0,l=null;const u=()=>{l=null,a&&o().finally(()=>{a&&(l=setTimeout(u,n))})};return l=setTimeout(u,0),()=>{a=!1,l!=null&&clearTimeout(l)}};var _l=Object.freeze(Object.defineProperty({__proto__:null,formatDate:ul,UnixDate:cl,byteToSize:pl,numberToSum:fl,dateForm:ml,stampForm:gl,checkIsIP:vl,checkSmabaUserName:bl,easyInterval:hl},Symbol.toStringTag,{value:"Module"})),Pt=lt({},_l);const xl=o=>(it("data-v-88275da0"),o=o(),rt(),o),wl=["onSubmit"],kl={class:"action-header"},yl={class:"action-header_title"},Fl={class:"action-body"},El={class:"label-item"},$l={class:"label-item_key"},Cl={class:"label-item_value"},Dl=["value"],Bl={class:"label-item"},Yl={class:"label-item_key"},Al={class:"label-item_value"},Sl=["placeholder"],zl={class:"label-item"},Pl={class:"label-item_key"},Tl={class:"label-item_value"},Il=["placeholder"],Ml={class:"label-item"},Ll={class:"label-item_key"},Nl={class:"label-item_value"},Ol={class:"samba-item"},Vl={class:"samba-item_allow"},Gl={for:"allow",class:"samba-allow"},jl={class:"samba-item_tips"},Ul={class:"tooltip-trigger"},ql={class:"samba_tip"},Rl={class:"samba_dir_tip"},Wl={class:"action-footer"},Hl=xl(()=>t("div",{class:"auto"},null,-1)),Jl=["disabled"],Zl=["disabled"],Kl=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=c=>{c.preventDefault(),n.Close&&n.Close()},d=E(!1),p=E({shareName:"",username:"",password:"",rootPath:n.rootPath,allowLegacy:!1}),w=()=>{const c=p.value;if(c.rootPath==""){$.Warning(a("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(c.shareName==""){$.Warning(a("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(c.username==""){$.Warning(a("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(c.password==""){$.Warning(a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const f=Pt.checkSmabaUserName(c.username);if(f!==!0){$.Warning(`${f}`);return}g(c)},g=c=>O(this,null,function*(){d.value=!0;const f=$.Loading(a("\u521B\u5EFA\u4E2D..."));try{const v=yield G.Nas.Samba.Create.POST(c);if(v!=null&&v.data){const{error:x,result:k}=v.data;x&&$.Warning(x),k&&($.Success(a("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(v){$.Error(v)}f.Close(),d.value=!1});return(c,f)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:ut(w,["prevent"])},[t("div",kl,[t("div",yl,i(e(a)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",Fl,[t("div",El,[t("div",$l,[t("span",null,i(e(a)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",Cl,[t("input",{type:"text",value:p.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Dl)])]),t("div",Bl,[t("div",Yl,[t("span",null,i(e(a)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",Al,[L(t("input",{type:"text","onUpdate:modelValue":f[0]||(f[0]=v=>p.value.shareName=v),required:"",placeholder:e(a)("\u5171\u4EAB\u540D\u79F0")},null,8,Sl),[[et,p.value.shareName,void 0,{trim:!0}]])])]),t("div",zl,[t("div",Pl,[t("span",null,i(e(a)("\u7528\u6237\u540D")),1)]),t("div",Tl,[L(t("input",{type:"text",required:"",placeholder:e(a)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":f[1]||(f[1]=v=>p.value.username=v)},null,8,Il),[[et,p.value.username,void 0,{trim:!0}]])])]),t("div",Ml,[t("div",Ll,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),t("div",Nl,[L(t("input",{type:"password","onUpdate:modelValue":f[2]||(f[2]=v=>p.value.password=v)},null,512),[[et,p.value.password,void 0,{trim:!0}]])])]),t("div",Ol,[t("div",Vl,[L(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":f[3]||(f[3]=v=>p.value.allowLegacy=v)},null,512),[[qt,p.value.allowLegacy]]),t("label",Gl,i(e(a)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",jl,[t("span",Ul,[t("span",ql,[D(zt)]),t("span",Rl,i(e(a)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",Wl,[Hl,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:d.value},i(e(a)("\u5173\u95ED")),9,Jl),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},i(e(a)("\u521B\u5EFA")),9,Zl)])],40,wl)]),_:1})]),_:1}))}});var Ql=N(Kl,[["__scopeId","data-v-88275da0"]]),Xl=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(Ql,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const{$gettext:Xt,$ngettext:OP}=Ie(),Dt={installApp:(o,n)=>new Promise((a,l)=>{let u=0;G.App.Install.POST({name:o}).then(()=>{const d=setTimeout(()=>{u==0&&(u=1,a(!1))},(n||60)*1e3),p=()=>{u==0&&G.App.Check.POST({name:o}).then(w=>{if(u==0&&w!=null&&w.data){const{result:g}=w.data;if((g==null?void 0:g.status)=="installed"){clearTimeout(d),u=1,a(!0);return}}}).catch(w=>{}).finally(()=>{u==0&&setTimeout(p,3e3)})};setTimeout(p,3e3)}).catch(d=>{u==0&&(u=1,l(Xt("\u5B89\u88C5\u5931\u8D25\uFF0C")+d))})}),checkAndInstallApp:(o,n,a)=>O(ae,null,function*(){let l=$.Loading(Xt("\u68C0\u67E5\u4E2D..."));try{const u=yield G.App.Check.POST({name:o});if(l.Close(),u!=null&&u.data){const{result:d,error:p}=u.data;if(p)$.Warning(p);else if(d){if(d.status=="installed")return!0;if(confirm(Xt("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:n}))){l=$.Loading(Xt("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const w=yield Dt.installApp(a||o);if(l.Close(),w)return!0;$.Error(Xt("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else $.Warning(Xt("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(u){return l.Close(),$.Warning(u),!1}}),installAndGo:(o,n,a,l)=>O(ae,null,function*(){(yield Dt.checkAndInstallApp(o,n,l))&&(location.href=a)})},Kt=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,t1={key:0,class:"action"},e1={class:"title"},a1={class:"desc"},o1={value:"linkease"},n1={value:"samba"},i1={value:"webdav"},r1=["innerHTML"],s1={class:"btns"},d1=["disabled"],l1=I({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!0),d=E("linkease"),p=E(!1),w=E(n.setup||0),g=()=>{n.Close&&n.Close()},c=()=>O(this,null,function*(){switch(d.value){case"webdav":yield f();break;case"samba":yield x();break;case"linkease":yield v();break}}),f=()=>O(this,null,function*(){p.value=!0,(yield Dt.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&k(),p.value=!1}),v=()=>O(this,null,function*(){p.value=!0,(yield Dt.checkAndInstallApp("linkease",a("\u6613\u6709\u4E91"),"app-meta-linkease"))&&_(),p.value=!1}),x=()=>O(this,null,function*(){p.value=!0;const b=$.Loading(a("\u914D\u7F6E\u4E2D..."));k(),b.Close(),p.value=!1}),k=()=>{p.value=!1,u.value=!1,F0({Cancel:()=>{u.value=!0},Next:b=>{switch(d.value){case"webdav":h(b);break;case"samba":m(b);break}}})},_=()=>{T0({}),g()},h=b=>{nl({rootPath:b}),g()},m=b=>{Xl({rootPath:b}),g()};return(b,y)=>u.value?(r(),Z(_t,{key:0,Close:o.Close,type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[w.value==0?(r(),s("div",t1,[t("h2",e1,i(e(a)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",a1,i(e(a)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[L(t("select",{"onUpdate:modelValue":y[0]||(y[0]=F=>d.value=F)},[t("option",o1,i(e(a)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",n1,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",i1,i(e(a)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[dt,d.value]])])]),e(Kt)("unishare")?(r(),s("div",{key:0,class:"tips",innerHTML:e(a)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(a)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,r1)):C("",!0),t("div",s1,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:c,type:"button",disabled:p.value},i(e(a)("\u4E0B\u4E00\u6B65")),9,d1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g,type:"button"},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0)]),_:1})]),_:1},8,["Close"])):C("",!0)}});var u1=N(l1,[["__scopeId","data-v-3f686017"]]),Ga=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(u1,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const c1={class:"app-container_aria2"},p1={class:"aria2-item"},f1={class:"aria2-item_name"},m1={class:"aria2-item_value"},g1={key:0,class:"configure"},v1={key:1,class:"configure enabel"},b1={class:"aria2-item"},h1={class:"aria2-item_name"},_1={class:"aria2-item_value"},x1=["href"],w1={class:"aria2-item"},k1={class:"aria2-item_name"},y1={class:"aria2-item_value"},F1=["href"],E1={class:"aria2-item"},$1={class:"aria2-item_name right"},C1={class:"aria2-item_value"},D1=["href"],B1={class:"use-url_app"},Y1={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"},A1=I({props:{aria2:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var p;return`${location.origin}${(p=n.aria2)==null?void 0:p.webPath}`}),d=Q(()=>{var g,c,f;let p=(g=n.aria2)==null?void 0:g.rpcToken;p?p=encodeURIComponent(btoa(p)):p="";const w=encodeURIComponent(location.hostname);return`${location.origin}${(c=n.aria2)==null?void 0:c.webPath}/#!/settings/rpc/set/http/${w}/${(f=n.aria2)==null?void 0:f.rpcPort}/jsonrpc/${p}`});return(p,w)=>{var g,c,f,v;return r(),s("ul",c1,[t("li",p1,[t("div",f1,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",m1,[((g=o.aria2)==null?void 0:g.status)=="running"?(r(),s("span",g1,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",v1,i(e(a)("\u672A\u542F\u52A8")),1))])]),((c=o.aria2)==null?void 0:c.status)=="running"?(r(),s(U,{key:0},[t("li",b1,[t("div",h1,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",_1,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.aria2)==null?void 0:f.downloadPath)},i((v=o.aria2)==null?void 0:v.downloadPath),9,x1)])]),t("li",w1,[t("div",k1,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",y1,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,F1)])]),t("li",E1,[t("div",$1,[t("span",null,i(e(a)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",C1,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(a)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,D1)])])],64)):C("",!0),t("div",B1,[t("a",Y1,i(e(a)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var S1=N(A1,[["__scopeId","data-v-376759fb"]]);const z1={class:"app-container_qbittorrent"},P1={class:"qbittorrent-item"},T1={class:"qbittorrent-item_name"},I1={class:"qbittorrent-item_value"},M1={key:0,class:"configure"},L1={key:1,class:"configure enabel"},N1={class:"qbittorrent-item"},O1={class:"qbittorrent-item_name"},V1={class:"qbittorrent-item_value"},G1=["href"],j1={class:"qbittorrent-item"},U1={class:"qbittorrent-item_name"},q1={class:"qbittorrent-item_value"},R1=["href"],W1={class:"qbittorrent-item"},H1={class:"qbittorrent-item_name right"},J1={class:"qbittorrent-item_value"},Z1=I({props:{qbittorrent:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var d;return`http://${location.hostname}${(d=n.qbittorrent)==null?void 0:d.webPath}`});return(d,p)=>{var w,g,c,f;return r(),s("ul",z1,[t("li",P1,[t("div",T1,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",I1,[((w=o.qbittorrent)==null?void 0:w.status)=="running"?(r(),s("span",M1,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",L1,i(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.qbittorrent)==null?void 0:g.status)=="running"?(r(),s(U,{key:0},[t("li",N1,[t("div",O1,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",V1,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((c=o.qbittorrent)==null?void 0:c.downloadPath)},i((f=o.qbittorrent)==null?void 0:f.downloadPath),9,G1)])]),t("li",j1,[t("div",U1,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",q1,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,R1)])]),t("li",W1,[t("div",H1,[t("span",null,i(e(a)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",J1,[t("span",null,i(e(a)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):C("",!0)])}}});var K1=N(Z1,[["__scopeId","data-v-086db06c"]]);const Q1={class:"app-container_transmission"},X1={class:"transmission-item"},tu={class:"transmission-item_name"},eu={class:"transmission-item_value"},au={key:0,class:"configure"},ou={key:1,class:"configure enabel"},nu={class:"transmission-item"},iu={class:"transmission-item_name"},ru={class:"transmission-item_value"},su=["href"],du={class:"transmission-item"},lu={class:"transmission-item_name"},uu={class:"transmission-item_value"},cu=["href"],pu=I({props:{transmission:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var d;return`http://${location.hostname}${(d=n.transmission)==null?void 0:d.webPath}`});return(d,p)=>{var w,g,c,f;return r(),s("ul",Q1,[t("li",X1,[t("div",tu,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",eu,[((w=o.transmission)==null?void 0:w.status)=="running"?(r(),s("span",au,i(e(a)("\u5DF2\u542F\u52A8")),1)):(r(),s("span",ou,i(e(a)("\u672A\u542F\u52A8")),1))])]),((g=o.transmission)==null?void 0:g.status)=="running"?(r(),s(U,{key:0},[t("li",nu,[t("div",iu,[t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",ru,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((c=o.transmission)==null?void 0:c.downloadPath)},i((f=o.transmission)==null?void 0:f.downloadPath),9,su)])]),t("li",du,[t("div",lu,[t("span",null,i(e(a)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",uu,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,cu)])])],64)):C("",!0)])}}});var fu=N(pu,[["__scopeId","data-v-3232162a"]]);const mu={},gu={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"},vu=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),bu=[vu];function hu(o,n){return r(),s("svg",gu,bu)}var Ht=N(mu,[["render",hu]]);const Ne=o=>(it("data-v-395b81d2"),o=o(),rt(),o),_u={key:0,class:"action"},xu={class:"title"},wu={class:"load_service input_row"},ku={class:"left"},yu={class:"radios"},Fu=Ne(()=>t("label",{for:"Aria2"},"Aria2",-1)),Eu={class:"radios"},$u=Ne(()=>t("label",{for:"qB"},"qBittorrent",-1)),Cu={class:"radios"},Du=Ne(()=>t("label",{for:"Tr"},"Transmission",-1)),Bu=["onSubmit"],Yu={class:"input_row"},Au={class:"left"},Su={class:"tooltip-trigger"},zu={class:"tooltip-text tooltip-top"},Pu={class:"dowload_dir_tip"},Tu={class:"myinput_wrap"},Iu={class:"input_row"},Mu={class:"left"},Lu={class:"tooltip-trigger"},Nu={class:"tooltip-text tooltip-top"},Ou={class:"dowload_dir_tip"},Vu={class:"myinput_wrap"},Gu={class:"input_row"},ju={class:"left"},Uu={class:"tooltip-trigger"},qu={class:"tooltip-text tooltip-bottom"},Ru={class:"dowload_rpc_tip"},Wu=["placeholder"],Hu={class:"input_row"},Ju={class:""},Zu={class:"radios"},Ku={for:"default"},Qu={class:"radios"},Xu={for:"add"},tc={class:"input_row"},ec=Ne(()=>t("div",{class:"left"},null,-1)),ac={class:"myinput_wrap Tracker_input"},oc=["placeholder"],nc=["onSubmit"],ic={class:"input_row"},rc={class:"left"},sc={class:"tooltip-trigger"},dc={class:"tooltip-text tooltip-top"},lc={class:"dowload_dir_tip"},uc={class:"myinput_wrap"},cc={class:"input_row"},pc={class:"left"},fc={class:"tooltip-trigger"},mc={class:"tooltip-text tooltip-top"},gc={class:"dowload_dir_tip"},vc={class:"myinput_wrap"},bc=["onSubmit"],hc={class:"input_row"},_c={class:"left"},xc={class:"tooltip-trigger"},wc={class:"tooltip-text tooltip-top"},kc={class:"dowload_dir_tip"},yc={class:"myinput_wrap"},Fc={class:"input_row"},Ec={class:"left"},$c={class:"tooltip-trigger"},Cc={class:"tooltip-text tooltip-top"},Dc={class:"dowload_dir_tip"},Bc={class:"myinput_wrap"},Yc={class:"btns"},Ac={key:1,class:"action"},Sc={class:"title"},zc={class:"finished"},Pc={class:"successed"},Tc={class:"btns"},Ic=I({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(""),d=E(""),p=E(""),w=E(""),g=E("default"),c=E("Aria2"),f=E(""),v=E(""),x=E(""),k=E(""),_=E([]),h=E([]),m=E(0);Yt(()=>{var V,T,M,W,bt,Bt,gt,jt,Qt,Tt;switch(n.defaultTab){case"aria2":c.value="Aria2";break;case"qbittorrent":c.value="qBittorrent";break;case"transmission":c.value="Transmission";break}_.value=n.partitionList.map(Mt=>({key:Mt})),h.value=n.partitionList.filter(Mt=>Mt.startsWith("/mnt/")).map(Mt=>Mt.replace(/(\/mnt\/[^/]+).*/,"$1")),p.value=((V=n.services.aria2)==null?void 0:V.configPath)||"";const A=((T=n.services.aria2)==null?void 0:T.downloadPath)||((M=n.services.qbittorrent)==null?void 0:M.downloadPath)||((W=n.services.transmission)==null?void 0:W.downloadPath);A&&(w.value=A);const B=(bt=n.services.aria2)==null?void 0:bt.rpcToken;B&&(u.value=B),f.value=((Bt=n.services.qbittorrent)==null?void 0:Bt.configPath)||"";const S=((gt=n.services.qbittorrent)==null?void 0:gt.downloadPath)||A||((jt=n.services.transmission)==null?void 0:jt.downloadPath);S&&(v.value=S),x.value=((Qt=n.services.transmission)==null?void 0:Qt.configPath)||"";const R=((Tt=n.services.transmission)==null?void 0:Tt.downloadPath)||A||S;R&&(k.value=R)});const b=()=>{let A=p.value,B=w.value;A==null||A==""||B==null||B==""||O(this,null,function*(){if(yield Dt.checkAndInstallApp("app-meta-aria2","Aria2")){const R=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.Aria2Init.POST({configPath:A,downloadPath:B,rpcToken:u.value,btTracker:g.value=="add"?d.value:""}).then(V=>{var T;if(V!=null&&V.data){if((V.data.success||0)==0){m.value=1;return}else if((T=V.data)!=null&&T.error)throw V.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(V=>$.Error(V)).finally(()=>R.Close())}})},y=()=>{let A=f.value,B=v.value;A==null||A==""||B==null||B==""||O(this,null,function*(){if(yield Dt.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const R=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.qbitorrentInit.POST({configPath:A,downloadPath:B}).then(V=>{var T;if(V!=null&&V.data){if((V.data.success||0)==0){m.value=1;return}else if((T=V.data)!=null&&T.error)throw V.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(V=>$.Error(V)).finally(()=>R.Close())}})},F=()=>{let A=x.value,B=k.value;A==null||A==""||B==null||B==""||O(this,null,function*(){if(yield Dt.checkAndInstallApp("app-meta-transmission","Transmission")){const R=$.Loading(a("\u914D\u7F6E\u4E2D..."));G.Guide.transmissionInit.POST({configPath:A,downloadPath:B}).then(V=>{var T;if(V!=null&&V.data){if((V.data.success||0)==0){m.value=1;return}else if((T=V.data)!=null&&T.error)throw V.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(V=>$.Error(V)).finally(()=>R.Close())}})},Y=A=>{A.preventDefault(),n.Close&&n.Close()},P=A=>{A.preventDefault(),location.reload()};return(A,B)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[m.value==0?(r(),s("div",_u,[t("h2",xu,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",wu,[t("div",ku,[t("span",null,i(e(a)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",yu,[L(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":B[0]||(B[0]=S=>c.value=S),name:"download",id:"Aria2"},null,512),[[Ft,c.value]]),Fu]),t("div",Eu,[L(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":B[1]||(B[1]=S=>c.value=S),name:"download",id:"qB"},null,512),[[Ft,c.value]]),$u]),t("div",Cu,[L(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":B[2]||(B[2]=S=>c.value=S),name:"download",id:"Tr"},null,512),[[Ft,c.value]]),Du])])])]),c.value=="Aria2"?(r(),s("form",{key:0,onSubmit:ut(b,["prevent"])},[t("ul",null,[t("li",null,[t("div",Yu,[t("div",Au,[t("span",Su,[D(Ht),t("div",null,[t("div",zu,[t("span",Pu,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",Tu,[D(Jt,{modelValue:p.value,"onUpdate:modelValue":B[3]||(B[3]=S=>p.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:h.value.concat("/root").map(S=>({key:S+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Iu,[t("div",Mu,[t("span",Lu,[D(Ht),t("div",null,[t("div",Nu,[t("span",Ou,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",Vu,[D(Jt,{modelValue:w.value,"onUpdate:modelValue":B[4]||(B[4]=S=>w.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:_.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Gu,[t("div",ju,[t("span",Uu,[D(Ht),t("div",null,[t("div",qu,[t("span",Ru,i(e(a)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,i(e(a)("RPC \u4EE4\u724C\uFF1A")),1)]),L(t("input",{type:"text",class:"RPC_input",placeholder:e(a)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":B[5]||(B[5]=S=>u.value=S)},null,8,Wu),[[et,u.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",Hu,[t("div",Ju,[t("span",null,i(e(a)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",Zu,[L(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":B[6]||(B[6]=S=>g.value=S)},null,512),[[Ft,g.value]]),t("label",Ku,i(e(a)("\u9ED8\u8BA4")),1)]),t("div",Qu,[L(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":B[7]||(B[7]=S=>g.value=S)},null,512),[[Ft,g.value]]),t("label",Xu,i(e(a)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",tc,[ec,t("div",ac,[g.value=="add"?L((r(),s("textarea",{key:0,"onUpdate:modelValue":B[8]||(B[8]=S=>d.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,oc)),[[et,d.value,void 0,{trim:!0}]]):C("",!0)])])])])],40,Bu)):C("",!0),c.value=="qBittorrent"?(r(),s("form",{key:1,onSubmit:ut(y,["prevent"])},[t("ul",null,[t("li",null,[t("div",ic,[t("div",rc,[t("span",sc,[D(Ht),t("div",null,[t("div",dc,[t("span",lc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",uc,[D(Jt,{modelValue:f.value,"onUpdate:modelValue":B[9]||(B[9]=S=>f.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:h.value.concat("/root").map(S=>({key:S+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",cc,[t("div",pc,[t("span",fc,[D(Ht),t("div",null,[t("div",mc,[t("span",gc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",vc,[D(Jt,{modelValue:v.value,"onUpdate:modelValue":B[10]||(B[10]=S=>v.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:_.value},null,8,["modelValue","title","options"])])])])])],40,nc)):C("",!0),c.value=="Transmission"?(r(),s("form",{key:2,onSubmit:ut(F,["prevent"])},[t("ul",null,[t("li",null,[t("div",hc,[t("div",_c,[t("span",xc,[D(Ht),t("div",null,[t("div",wc,[t("span",kc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(a)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",yc,[D(Jt,{modelValue:x.value,"onUpdate:modelValue":B[11]||(B[11]=S=>x.value=S),modelModifiers:{trim:!0},title:e(a)("\u914D\u7F6E\u76EE\u5F55"),options:h.value.concat("/root").map(S=>({key:S+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Fc,[t("div",Ec,[t("span",$c,[D(Ht),t("div",null,[t("div",Cc,[t("span",Dc,i(e(a)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(a)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",Bc,[D(Jt,{modelValue:k.value,"onUpdate:modelValue":B[12]||(B[12]=S=>k.value=S),modelModifiers:{trim:!0},title:e(a)("\u4E0B\u8F7D\u76EE\u5F55"),options:_.value},null,8,["modelValue","title","options"])])])])])],40,bc)):C("",!0),t("div",Yc,[c.value=="Aria2"?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:b},i(e(a)("\u542F\u7528")),1)):C("",!0),c.value=="qBittorrent"?(r(),s("button",{key:1,class:"cbi-button cbi-button-apply",onClick:y},i(e(a)("\u542F\u7528")),1)):C("",!0),c.value=="Transmission"?(r(),s("button",{key:2,class:"cbi-button cbi-button-apply",onClick:F},i(e(a)("\u542F\u7528")),1)):C("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},i(e(a)("\u53D6\u6D88")),1)])])):m.value==1?(r(),s("div",Ac,[t("h2",Sc,i(e(a)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:c.value})),1),t("div",zc,[D(sa)]),t("p",Pc,i(e(a)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Tc,[t("button",{class:"cbi-button cbi-button-apply",onClick:P},i(e(a)("\u786E\u5B9A")),1)])])):C("",!0)]),_:1},8,["Close"]))}});var Mc=N(Ic,[["__scopeId","data-v-395b81d2"]]);const Lc=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(Mc,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},ca=o=>(it("data-v-2299b58c"),o=o(),rt(),o),Nc={class:"content"},Oc={class:"tab"},Vc=ca(()=>t("div",{class:"title"},"Aria2",-1)),Gc={key:0},jc={key:1},Uc=ca(()=>t("div",{class:"title"},"qBittorrent",-1)),qc={key:0},Rc={key:1},Wc=ca(()=>t("div",{class:"title"},"Transmission",-1)),Hc={key:0},Jc={key:1},Zc=I({setup(o){const{$gettext:n}=H(),a=E(!1),l=E("aria2"),u=_=>{l.value=_},d=E();setTimeout(()=>{G.Guide.DownloadService.Status.GET().then(_=>{var h;if((h=_==null?void 0:_.data)!=null&&h.result){const m=_.data.result;d.value=m}})},800),E(!1);const w=E(!1),g=()=>{w.value=!w.value},c=()=>{G.Guide.DownloadPartition.List.GET().then(_=>{var m,b;let h=[];(b=(m=_==null?void 0:_.data)==null?void 0:m.result)!=null&&b.partitionList&&(h=_.data.result.partitionList),Lc({services:d.value,partitionList:h,defaultTab:l.value})})},f=(_,h,m)=>O(this,null,function*(){g(),Dt.installAndGo(_,h,m)}),v=()=>{f("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},x=()=>{f("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},k=()=>{f("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(_,h)=>(r(),Z(Rt,{title:e(n)("\u4E0B\u8F7D\u670D\u52A1"),showSettings:!0,onFooterClick:c,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":h[4]||(h[4]=m=>a.value=m)},{icon:j(()=>[D(Zt,{color:"#00a63e",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:c},[D(Zt,{color:"#0a0a0a",class:"icon1 downloadIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u4E0B\u8F7D\u7BA1\u7406")),1),Boolean(d.value)?(r(),s("div",{key:0,class:"rotation",onClick:h[0]||(h[0]=ut(m=>a.value=!a.value,["stop"]))},[D(Ee,{class:"moreIcon"})])):C("",!0)])]),"settings-menu":j(()=>[t("div",null,[t("a",{onClick:v},i(e(n)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:x},i(e(n)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:k},i(e(n)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:j(()=>{var m,b,y,F,Y,P,A,B,S;return[t("div",Nc,[t("div",Oc,[t("div",{class:st(["item cloud",{active:l.value=="aria2"}]),onClick:h[1]||(h[1]=R=>u("aria2"))},[D(Zt,{color:"#f54900",class:"icon2"}),Vc,((b=(m=d.value)==null?void 0:m.aria2)==null?void 0:b.status)=="running"?(r(),s("span",Gc,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",jc,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:st(["item memory",{active:l.value=="qbittorrent"}]),onClick:h[2]||(h[2]=R=>u("qbittorrent"))},[D(Zt,{color:"#4a5565",class:"icon2"}),Uc,((F=(y=d.value)==null?void 0:y.qbittorrent)==null?void 0:F.status)=="running"?(r(),s("span",qc,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",Rc,i(e(n)("\u672A\u542F\u7528")),1))],2),t("div",{class:st(["item network",{active:l.value=="transmission"}]),onClick:h[3]||(h[3]=R=>u("transmission"))},[D(Zt,{color:"#009689",class:"icon2"}),Wc,((P=(Y=d.value)==null?void 0:Y.transmission)==null?void 0:P.status)=="running"?(r(),s("span",Hc,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("span",Jc,i(e(n)("\u672A\u542F\u7528")),1))],2)]),l.value=="aria2"?(r(),Z(S1,{key:0,aria2:(A=d.value)==null?void 0:A.aria2},null,8,["aria2"])):l.value=="qbittorrent"?(r(),Z(K1,{key:1,qbittorrent:(B=d.value)==null?void 0:B.qbittorrent},null,8,["qbittorrent"])):l.value=="transmission"?(r(),Z(fu,{key:2,transmission:(S=d.value)==null?void 0:S.transmission},null,8,["transmission"])):C("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var Kc=N(Zc,[["__scopeId","data-v-2299b58c"]]);const Qc={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Xc=["fill"],We=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Qc,[t("path",{d:"M584.675 134.868C561.143 130.36 536.847 128 512 128a392 392 0 0 0-3.783 0.018l-24.19 169.685A32 32 0 0 1 466.68 321.8l-99.807 49.992-50.81 127.247a32 32 0 0 1-24.45 19.697l-162.145 27.069c8.105 92.926 49.308 176.368 111.754 238.473L223.089 657.52c-2.323-16.238 8.01-31.603 23.924-35.578l226.491-56.558a32 32 0 0 1 30.368 8.407l96.768 96.662a8 8 0 0 0 8.728 1.726l150.425-62.602 31.42-0.772c17.669-0.434 32.343 13.536 32.777 31.204 0.007 0.262 0.01 0.524 0.01 0.786v95.11c45.314-63.03 72-140.351 72-223.906 0-40.5-6.27-79.535-17.891-116.188l-103.215 27.656a32 32 0 0 1-23.36-2.684l-127.842-68.287a32 32 0 0 1-16.712-24.553l-22.305-193.076z m58.509 16.124l18.31 159.176 109.262 56.623 86.458-23.166c-43.44-88.897-120.207-158.532-214.03-192.633z m-336.132 685.8C366.357 874.295 436.644 896 512 896c94.536 0 181.093-34.162 248-90.814V683.96a8 8 0 0 0-11.074-7.386l-138.21 57.53a32 32 0 0 1-34.913-6.903l-99.24-99.132a8 8 0 0 0-7.592-2.102l-178.437 44.563a8 8 0 0 0-5.981 8.894l22.499 157.37zM128.65 489.473l140.726-23.504 49.219-123.244a32 32 0 0 1 15.386-16.744l96.748-48.46 20.65-144.762C275.347 160.675 139.137 308.212 128.65 489.47zM512 960C264.576 960 64 759.424 64 512S264.576 64 512 64s448 200.576 448 448-200.576 448-448 448z",fill:o.color,"p-id":"8679"},null,8,Xc)]))}}),t2={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},e2=["fill"],a2=["fill"],o2=["fill"],ja=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",t2,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,e2),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,a2),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,o2)]))}}),n2={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},i2=["fill"],r2=["fill"],s2=["fill"],d2=I({props:{color:{type:String,default:"#4a5565"}},setup(o){return(n,a)=>(r(),s("svg",n2,[t("path",{d:"M909.1 499.1h-797c-27.5 0-50 22.5-50 50v351.5c0 27.5 22.5 50 50 50h797c27.5 0 50-22.5 50-50V549.1c0-27.5-22.5-50-50-50z m-14 387.5h-769V563.1h769v323.5z",fill:o.color,"p-id":"19594"},null,8,i2),t("path",{d:"M191.932 734.691a63 63 0 1 0 124.375-20.173 63 63 0 1 0-124.375 20.173zM395.56 774.136a63 63 0 1 0 89.093-89.097 63 63 0 1 0-89.094 89.097zM702.8 296.6c-19.4 0-35.2 8.4-35.2 18.7v198c0 10.3 15.9 18.7 35.2 18.7 19.4 0 35.2-8.4 35.2-18.7v-198c0.1-10.3-15.8-18.7-35.2-18.7z",fill:o.color,"p-id":"19595"},null,8,r2),t("path",{d:"M701.8 218.6c-49.7 0-93.2 31.8-117.7 79.5h41.5c19.3-24.3 46.3-39.5 76.2-39.5 29.9 0 56.9 15.2 76.2 39.5h41.5c-24.4-47.7-68-79.5-117.7-79.5z m5.3-45.5c41.1 0 78.3 15.2 104.8 39.5H869c-33.7-47.7-93.7-79.5-162-79.5s-128.3 31.8-162 79.5h57.1c26.6-24.3 63.8-39.5 105-39.5z",fill:o.color,"p-id":"19596"},null,8,s2)]))}}),l2={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},u2=["fill"],wa=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",l2,[t("path",{d:"M526.41 117.029v58.514a7.314 7.314 0 0 1-7.315 7.314H219.429a36.571 36.571 0 0 0-35.987 29.989l-0.585 6.583V804.57a36.571 36.571 0 0 0 29.989 35.987l6.583 0.585H804.57a36.571 36.571 0 0 0 35.987-29.989l0.585-6.583v-317.44a7.314 7.314 0 0 1 7.314-7.314h58.514a7.314 7.314 0 0 1 7.315 7.314v317.44a109.714 109.714 0 0 1-99.182 109.203l-10.533 0.512H219.43a109.714 109.714 0 0 1-109.203-99.182l-0.512-10.533V219.43a109.714 109.714 0 0 1 99.182-109.203l10.533-0.512h299.666a7.314 7.314 0 0 1 7.314 7.315z m307.345 31.817l41.4 41.399a7.314 7.314 0 0 1 0 10.313L419.985 655.726a7.314 7.314 0 0 1-10.313 0l-41.399-41.4a7.314 7.314 0 0 1 0-10.312l455.168-455.168a7.314 7.314 0 0 1 10.313 0z","p-id":"4497",fill:o.color},null,8,u2)]))}}),c2={class:"actioner-container"},p2={class:"actioner-container_header"},f2={class:"actioner-container_body"},m2={class:"label-item"},g2={class:"label_info"},v2={class:"label-item"},b2={class:"label_info"},h2={class:"label-item"},_2={class:"label_info"},x2={class:"label-item"},w2={class:"label_info"},k2={class:"actioner-container_footer"},y2=I({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),d=()=>{a.onSetup()},p=E(a.active),w=()=>{switch(n("update:active",p.value),p.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,c)=>(r(),s("div",c2,[t("div",p2,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",f2,[t("div",m2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[0]||(c[0]=f=>p.value=f),value:"ddnsto"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("DDNSTO")),1)]),t("p",g2,i(e(l)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",v2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[1]||(c[1]=f=>p.value=f),value:"ali"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("\u963F\u91CC\u4E91")),1)]),t("p",b2,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",h2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[2]||(c[2]=f=>p.value=f),value:"dnspod"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("Dnspod")),1)]),t("p",_2,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",x2,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":c[3]||(c[3]=f=>p.value=f),value:"oray"},null,512),[[Ft,p.value]]),t("span",null,i(e(l)("\u82B1\u751F\u58F3")),1)]),t("p",w2,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",k2,[t("div",{class:"close",onClick:d},i(e(l)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:w},i(e(l)("\u4E0B\u4E00\u6B65")),1)])]))}});var F2=N(y2,[["__scopeId","data-v-73552138"]]);const E2=o=>(it("data-v-b9ee57da"),o=o(),rt(),o),$2={class:"actioner-container"},C2={class:"actioner-container_body"},D2=E2(()=>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)),B2={class:"body-title"},Y2={class:"body-tips"},A2={class:"body-info"},S2=["href"],z2={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},P2={class:"actioner-container_footer"},T2=I({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=H(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,d)=>(r(),s("div",$2,[t("div",C2,[D2,t("div",B2,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",Y2,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",A2,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,S2)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",z2,i(e(n)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",P2,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var I2=N(T2,[["__scopeId","data-v-b9ee57da"]]);const M2=o=>(it("data-v-aefb6fdc"),o=o(),rt(),o),L2={class:"actioner-container"},N2={class:"actioner-container_header"},O2=M2(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),V2={class:"actioner-container_footer"},G2=I({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.onSetup()},d=p=>{if(p.data.auth=="ddnsto"){const w=p.data.sign,g=p.data.token;w&&g&&(removeEventListener("message",d),n.onDdnstoConfig(w,g),n.onSetup("ddnsto-run"))}};return Yt(()=>{window.addEventListener("message",d)}),Vt(()=>{removeEventListener("message",d)}),(p,w)=>(r(),s("div",L2,[t("div",N2,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),O2,t("div",V2,[t("div",{class:"close",onClick:u},i(e(a)("\u53D6\u6D88")),1)])]))}});var j2=N(G2,[["__scopeId","data-v-aefb6fdc"]]);const U2={class:"actioner-container"},q2={class:"actioner-container_header"},R2={class:"actioner-container_body ddnsto-bind"},W2=["src"],H2=I({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),d=Q(()=>{const{domain:g,token:c,sign:f,routerId:v,netaddr:x}=a.config,k=encodeURIComponent(g),_=encodeURIComponent(x);return`https://www.kooldns.cn/bind/#/domain?domain=${k}&sign=${f}&token=${c}&routerId=${v}&netaddr=${_}`}),p=g=>{if(g.data){const{auth:c,url:f}=g.data;c==="ddnsto"&&f&&w(f)}},w=g=>O(this,null,function*(){var c;try{const f=yield G.Guide.DdnstoAddress.POST({address:g});f!=null&&f.data&&(((c=f==null?void 0:f.data)==null?void 0:c.success)||0)==0&&(n("update:domain",g),a.onSetup("ddnsto-save"))}catch(f){}});return Yt(()=>{window.addEventListener("message",p)}),Vt(()=>{removeEventListener("message",p)}),(g,c)=>(r(),s("div",U2,[t("div",q2,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",R2,[t("iframe",{src:e(d)},null,8,W2)])]))}});var J2=N(H2,[["__scopeId","data-v-0e2b47e6"]]);const Z2=o=>(it("data-v-29e2aec8"),o=o(),rt(),o),K2={class:"actioner-container"},Q2={class:"actioner-container_body"},X2=Z2(()=>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)),t6={class:"body-title"},e6={class:"body-tips"},a6={class:"body-info"},o6=["href"],n6={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},i6={class:"actioner-container_footer"},r6=I({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:n,$ngettext:a}=H(),l=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(u,d)=>(r(),s("div",K2,[t("div",Q2,[X2,t("div",t6,i(e(n)("\u6DFB\u52A0\u6210\u529F")),1),t("p",e6,i(e(n)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",a6,[t("span",null,i(e(n)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,o6)]),t("div",null,[t("span",null,i(e(n)("\u53EF\u524D\u5F80")),1),t("a",n6,i(e(n)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,i(e(n)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",i6,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var s6=N(r6,[["__scopeId","data-v-29e2aec8"]]);const d6={class:"actioner-container"},l6={class:"actioner-container_header"},u6={class:"actioner-container_body"},c6={class:"actioner-container_footer"},p6=I({props:{onSetup:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.onSetup()},d=()=>O(this,null,function*(){if(g.value)return;g.value=!0;const f=$.Loading(a("\u5B89\u88C5\u4E2D..."));try{if(yield Dt.installApp("app-meta-ddnsto",30)){n.onSetup("ddnsto-login");return}else p.value=a("\u5B89\u88C5\u5931\u8D25")}catch(v){p.value=v}finally{f.Close()}g.value=!1}),p=E(a("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),w=E(!1),g=E(!1);return(()=>O(this,null,function*(){try{const f=yield G.App.Check.POST({name:"ddnsto"});if(f!=null&&f.data){const{result:v,error:x}=f.data;if(x){p.value=x;return}if(v){if(v.status=="installed"){n.onSetup("ddnsto-login");return}v.status=="uninstalled"&&(p.value=a("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(f){p.value=f}w.value=!0}))(),(f,v)=>(r(),s("div",d6,[t("div",l6,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",u6,[t("span",null,i(p.value),1)]),t("div",c6,[w.value?(r(),s(U,{key:0},[t("div",{class:"close",onClick:u},i(e(a)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:d},i(e(a)("\u786E\u5B9A")),1)],64)):C("",!0)])]))}});var f6=N(p6,[["__scopeId","data-v-169b4450"]]);const m6={class:"actioner-container"},g6={class:"actioner-container_header"},v6={class:"actioner-container_body"},b6=I({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(a("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(f=>O(this,null,function*(){var v;try{const x=yield G.Guide.Ddnsto.POST({token:n.token});x!=null&&x.data&&(x.data.error&&(u.value=x.data.error),(((v=x==null?void 0:x.data)==null?void 0:v.success)||0)==0&&w())}catch(x){u.value=x}}))(n.token);const p=E(),w=()=>{const f=()=>O(this,null,function*(){if((yield g())===!0){c();return}p.value=window.setTimeout(f,2e3)});f()},g=()=>O(this,null,function*(){try{const f=yield G.App.Check.POST({name:"ddnsto",checkRunning:!0});if(f!=null&&f.data){f.data.error&&(u.value=f.data.error);const v=f.data.result;if((v==null?void 0:v.status)=="running")return!0}}catch(f){u.value=f}return!1});Vt(()=>{p.value&&clearInterval(p.value)});const c=()=>O(this,null,function*(){var f;try{const v=yield G.Guide.DdntoConfig.GET();if(v!=null&&v.data&&(v.data.error&&(u.value=v.data.error),(((f=v==null?void 0:v.data)==null?void 0:f.success)||0)==0&&v.data.result)){const x=v.data.result;n.onDdnstoLocalConfig(x.netAddr,x.deviceId),n.onSetup("ddnsto-bind")}}catch(v){u.value=v}});return(f,v)=>(r(),s("div",m6,[t("div",g6,[t("span",null,i(e(a)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",v6,i(u.value),1)]))}});var h6=N(b6,[["__scopeId","data-v-6590a3fa"]]);const _6={class:"action-main"},x6=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=E("ddnsto-install"),l=g=>{g!=null?a.value=g:u()},u=()=>{n.Close&&n.Close()},d=mt({sign:"",token:"",domain:n.url,netaddr:"",routerId:""}),p=(g,c)=>{d.sign=g,d.token=c},w=(g,c)=>{d.netaddr=g,d.routerId=c};return(g,c)=>(r(),Z(_t,{type:1},{default:j(()=>[t("div",_6,[a.value=="ddnsto-install"?(r(),Z(f6,{key:0,onSetup:l})):a.value=="ddnsto-login"?(r(),Z(j2,{key:1,onSetup:l,onDdnstoConfig:p})):a.value=="ddnsto-run"?(r(),Z(h6,{key:2,onSetup:l,token:e(d).token,onDdnstoLocalConfig:w},null,8,["token"])):a.value=="ddnsto-bind"?(r(),Z(J2,{key:3,onSetup:l,config:{token:e(d).token,sign:e(d).sign,domain:e(d).domain,netaddr:e(d).netaddr,routerId:e(d).routerId},domain:e(d).domain,"onUpdate:domain":c[0]||(c[0]=f=>e(d).domain=f)},null,8,["config","domain"])):a.value=="ddnsto-save"?(r(),Z(s6,{key:4,onSetup:l,target:e(d).domain},null,8,["target"])):C("",!0)])]),_:1}))}});var w6=N(x6,[["__scopeId","data-v-3b80943c"]]);const k6=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(w6,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},y6={class:"action"},F6={class:"action-header"},E6=["innerHTML"],$6={class:"action-footer"},C6=I({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.next&&n.next(),n.Close&&n.Close()},d=()=>{n.clear&&n.clear(),n.Close&&n.Close()},p=()=>{n.continuer&&n.continuer(),n.Close&&n.Close()};return(w,g)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[t("div",y6,[t("div",F6,i(o.title||e(a)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,E6),t("div",$6,[o.clear?(r(),s("div",{key:0,class:"clear",onClick:d},i(o.clearTitle||e(a)("\u8FD4\u56DE")),1)):C("",!0),t("div",{class:"next",onClick:u},i(o.nextTitle||e(a)("\u786E\u5B9A")),1),o.continuer?(r(),s("div",{key:1,class:"next",onClick:p},i(o.continuerTitle||e(a)("\u7EE7\u7EED\u4FDD\u5B58")),1)):C("",!0)])])]),_:1},8,["Close"]))}});var D6=N(C6,[["__scopeId","data-v-145a3c50"]]);const Se=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(D6,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},B6=o=>(it("data-v-2c659599"),o=o(),rt(),o),Y6={class:"actioner-container"},A6=["onSubmit"],S6={class:"actioner-container_header"},z6={key:0,class:"title_info"},P6={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},T6={key:1,class:"title_info"},I6={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},M6={key:2,class:"title_info"},L6={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},N6={class:"label-item"},O6={class:"label-item_key"},V6={class:"label-item_value"},G6={value:"ipv4"},j6={value:"ipv6"},U6={class:"label_tips"},q6=B6(()=>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)),R6={class:"info"},W6={class:"label-item"},H6={class:"label-item_key"},J6={class:"label-item_value"},Z6={class:"label-item"},K6={class:"label-item_key"},Q6={class:"label-item_value"},X6=["placeholder"],t5={class:"label-item"},e5={class:"label-item_key"},a5={class:"label-item_value"},o5=["placeholder"],n5={class:"actioner-container_footer"},i5=["disabled"],r5=I({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),d=E("ipv4"),p=E(a.name),w=E(""),g=E(""),c=E(""),f=E(!1),v=()=>{a.onSetup("index")},x=()=>{f.value=!0;const m=$.Loading(l("\u68C0\u6D4B\u4E2D..."));G.Network.CheckPublickNet.POST({ipVersion:d.value}).then(b=>{var y,F;if(b!=null&&b.data){if((y=b==null?void 0:b.data)!=null&&y.error){$.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?h():k();return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(b=>{$.Error(b)}).finally(()=>{m.Close(),f.value=!1})},k=()=>{Se({title:l("\u6E29\u99A8\u63D0\u793A"),nextTitle:l("\u4F7F\u7528DDNSTO"),continuerTitle:l("\u7EE7\u7EED\u4FDD\u5B58"),content:l("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){_()},continuer(){h()},clear(){}})},_=()=>{a.onSetup("ddnsto")},h=()=>{f.value=!0;const m=$.Loading(l("\u914D\u7F6E\u4E2D..."));G.Guide.PostDdns.POST({ipVersion:d.value,serviceName:p.value,domain:w.value,userName:g.value,password:c.value}).then(b=>{if(b!=null&&b.data){const{error:y,scope:F,success:Y}=b.data;if(y=="-100"&&F=="guide.ddns"){Se({title:l("\u6E29\u99A8\u63D0\u793A"),content:l("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(y){$.Warning(y);return}if((Y||0)==0){n("update:target",w.value),a.onSetup("ddns-success");return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(b=>{$.Error(b)}).finally(()=>{m.Close(),f.value=!1})};return(m,b)=>(r(),s("div",Y6,[t("form",{class:"actioner-dns",onSubmit:ut(x,["prevent"])},[t("div",S6,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:st(["actioner-container_body",o.name])},[o.name=="ali"?(r(),s("div",z6,[t("p",null,i(e(l)("\u963F\u91CC\u4E91")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",P6,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(r(),s("div",T6,[t("p",null,i(e(l)("dnspod")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",I6,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(r(),s("div",M6,[t("p",null,i(e(l)("\u82B1\u751F\u58F3")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",L6,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):C("",!0),t("div",N6,[t("div",O6,[t("span",null,i(e(l)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",V6,[L(t("select",{name:"",id:"","onUpdate:modelValue":b[0]||(b[0]=y=>d.value=y)},[t("option",G6,i(e(l)("IPv4\u5730\u5740")),1),t("option",j6,i(e(l)("IPv6\u5730\u5740")),1)],512),[[dt,d.value]])]),t("div",U6,[q6,t("span",R6,i(e(l)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",W6,[t("div",H6,[t("span",null,i(e(l)("\u57DF\u540D\uFF1A")),1)]),t("div",J6,[L(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":b[1]||(b[1]=y=>w.value=y),required:""},null,512),[[et,w.value,void 0,{trim:!0}]])])]),t("div",Z6,[t("div",K6,[t("span",null,i(e(l)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",Q6,[L(t("input",{type:"text","onUpdate:modelValue":b[2]||(b[2]=y=>g.value=y),placeholder:e(l)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,X6),[[et,g.value,void 0,{trim:!0}]])])]),t("div",t5,[t("div",e5,[t("span",null,i(e(l)("\u5BC6\u7801\uFF1A")),1)]),t("div",a5,[L(t("input",{type:"password","onUpdate:modelValue":b[3]||(b[3]=y=>c.value=y),placeholder:e(l)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,o5),[[et,c.value,void 0,{trim:!0}]])])])],2),t("div",n5,[t("div",{class:"close",onClick:v,type:"button"},i(e(l)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:f.value},i(e(l)("\u4FDD\u5B58")),9,i5)])],40,A6)]))}});var He=N(r5,[["__scopeId","data-v-2c659599"]]);const s5={class:"action-main"},d5=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const n=o,a=E(""),l=E("index"),u=g=>{if(g!=null){if(g=="ddnsto"){d();return}l.value=g}else p()},d=()=>{p(),k6({url:n.url})},p=()=>{n.Close&&n.Close()},w=E("ddnsto");return(g,c)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[t("div",s5,[l.value=="index"?(r(),Z(F2,{key:0,onSetup:u,active:w.value,"onUpdate:active":c[0]||(c[0]=f=>w.value=f)},null,8,["active"])):l.value=="ddns-ali"?(r(),Z(He,{key:1,onSetup:u,target:a.value,"onUpdate:target":c[1]||(c[1]=f=>a.value=f),name:"ali"},null,8,["target"])):l.value=="ddns-dnspod"?(r(),Z(He,{key:2,onSetup:u,target:a.value,"onUpdate:target":c[2]||(c[2]=f=>a.value=f),name:"dnspod"},null,8,["target"])):l.value=="ddns-oray"?(r(),Z(He,{key:3,onSetup:u,target:a.value,"onUpdate:target":c[3]||(c[3]=f=>a.value=f),name:"oray"},null,8,["target"])):l.value=="ddns-success"?(r(),Z(I2,{key:4,onSetup:u,target:a.value},null,8,["target"])):C("",!0)])]),_:1},8,["Close"]))}});var l5=N(d5,[["__scopeId","data-v-8a1e6470"]]);const u5=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(l5,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},Oe=o=>(it("data-v-d3a8d744"),o=o(),rt(),o),c5={class:"content"},p5={class:"tab"},f5=Oe(()=>t("div",{class:"title"},"DDNSTO",-1)),m5={key:0},g5={key:1},v5=Oe(()=>t("div",{class:"title"},"IPv4",-1)),b5={key:0},h5={key:1},_5=Oe(()=>t("div",{class:"title"},"IPv6",-1)),x5={key:0},w5={key:1},k5={key:0,class:"info"},y5={class:"status"},F5=Oe(()=>t("div",null,"DDNSTO",-1)),E5={key:0},$5={key:1,class:"offline"},C5={class:"title_box"},D5={class:"title"},B5={class:"path"},Y5=["href","title"],A5={key:1},S5={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},z5={key:1,class:"info"},P5={class:"status"},T5={key:0,class:"offline"},I5={key:1},M5={class:"title_box"},L5={class:"title"},N5={class:"path"},O5={key:0},V5=["href"],G5={key:2,href:"/cgi-bin/luci/admin/services/ddns"},j5={key:2,class:"info"},U5={class:"status"},q5={key:0,class:"offline"},R5={key:1},W5={class:"title_box"},H5={class:"title"},J5={class:"path"},Z5={key:0},K5=["href"],Q5={key:2,href:"/cgi-bin/luci/admin/services/ddns"},X5=I({setup(o){const{$gettext:n}=H(),a=E(0),l=v=>{a.value=v};let u=!1,d;const p=E({}),w=function(){!u||(document.hidden?Promise.resolve():G.Guide.GetDdns.GET().then(v=>{var x;v!=null&&v.data&&(((x=v==null?void 0:v.data)==null?void 0:x.success)||0)==0&&v.data.result&&(p.value=v.data.result)})).then(()=>{!u||(d=window.setTimeout(w,3e3))})};Yt(()=>{u=!0,d=window.setTimeout(w,1100)}),Vt(()=>{d!==void 0&&window.clearTimeout(d),u=!1});const g=()=>{u5({url:p.value.ddnstoDomain})},c=Q(()=>{const v=p.value.ipv4Domain;return!v||v=="Stopped"||v=="Disabled"?v:`http://${v}`}),f=Q(()=>{const v=p.value.ipv6Domain;return!v||v=="Stopped"||v=="Disabled"?v:`http://${v}`});return(v,x)=>(r(),Z(Rt,{title:e(n)("\u8FDC\u7A0B\u57DF\u540D"),showSettings:!0,style:{width:"100%",height:"100%",display:"block"}},{icon:j(()=>[D(We,{color:"#00a63e",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:g},[D(We,{color:"#0a0a0a",class:"icon1 earthIcon",style:{"margin-right":"6px"}}),nt(" "+i(e(n)("\u57DF\u540D\u914D\u7F6E")),1)])]),default:j(()=>{var k,_,h,m,b,y;return[t("div",c5,[t("div",p5,[t("div",{class:st(["item cloud",{active:a.value==0}]),style:ft({border:e(c)||e(f)?"":"none"}),onClick:x[0]||(x[0]=F=>l(0))},[D(We,{color:"#155dfc",class:"icon2"}),f5,(k=p.value)!=null&&k.ddnstoDomain?(r(),s("span",m5,i(e(n)("\u6B63\u5E38")),1)):(r(),s("span",g5,i(e(n)("\u672A\u542F\u52A8")),1))],6),e(c)?(r(),s("div",{key:0,class:st(["item memory",{active:a.value==1}]),onClick:x[1]||(x[1]=F=>l(1))},[D(ja,{color:"#00a63e",class:"icon2"}),v5,e(c)=="Stopped"||e(c)=="Disabled"?(r(),s("span",b5,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",h5,i(e(n)("\u6B63\u5E38")),1))],2)):C("",!0),e(f)?(r(),s("div",{key:1,class:st(["item network",{active:a.value==2}]),onClick:x[2]||(x[2]=F=>l(2))},[D(d2,{class:"icon2"}),_5,e(f)=="Stopped"||e(f)=="Disabled"?(r(),s("span",x5,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",w5,i(e(n)("\u6B63\u5E38")),1))],2)):C("",!0)]),a.value==0?(r(),s("div",k5,[t("div",y5,[F5,(_=p.value)!=null&&_.ddnstoDomain?(r(),s("span",E5,i(e(n)("\u6B63\u5E38")),1)):(r(),s("span",$5,i(e(n)("\u672A\u542F\u52A8")),1))]),t("div",C5,[t("div",D5,i(e(n)("\u667A\u80FD\u5185\u7F51\u7A7F\u900F\u670D\u52A1")),1),t("div",B5,[(h=p.value)!=null&&h.ddnstoDomain?(r(),s("a",{key:0,class:"configure",href:(m=p.value)==null?void 0:m.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(b=p.value)==null?void 0:b.ddnstoDomain},i((y=p.value)==null?void 0:y.ddnstoDomain),9,Y5)):(r(),s("div",A5,i(e(n)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("span",null,[t("a",S5,i(e(n)("\u63A7\u5236\u53F0")),1)])])])])):C("",!0),a.value==1?(r(),s("div",z5,[t("div",P5,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(c)=="Stopped"||e(c)=="Disabled"?(r(),s("span",T5,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",I5,i(e(n)("\u6B63\u5E38")),1))]),t("div",M5,[t("div",L5,"IPv4 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",N5,[e(c)=="Stopped"||e(c)=="Disabled"?(r(),s("div",O5,i(e(c)),1)):(r(),s("a",{key:1,class:"configure",href:e(c),target:"_blank",rel:"noopener noreferrer"},i(e(c)),9,V5)),e(c)?(r(),s("a",G5,[D(wa,{class:"icon3"})])):C("",!0)])])])):C("",!0),a.value==2?(r(),s("div",j5,[t("div",U5,[t("div",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1),e(f)=="Stopped"||e(f)=="Disabled"?(r(),s("span",q5,i(e(n)("\u79BB\u7EBF")),1)):(r(),s("span",R5,i(e(n)("\u6B63\u5E38")),1))]),t("div",W5,[t("div",H5,"IPv6 "+i(e(n)("\u52A8\u6001\u57DF\u540D\u89E3\u6790")),1),t("div",J5,[e(f)=="Stopped"||e(f)=="Disabled"?(r(),s("div",Z5,i(e(f)),1)):(r(),s("a",{key:1,class:"configure",href:e(f),target:"_blank",rel:"noopener noreferrer"},i(e(f)),9,K5)),e(f)?(r(),s("a",Q5,[D(wa,{class:"icon3"})])):C("",!0)])])])):C("",!0)])]}),_:1},8,["title"]))}});var t3=N(X5,[["__scopeId","data-v-d3a8d744"]]);const e3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},a3=["fill"],o3=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",e3,[t("path",{d:"M879.674 544.51l-158.254-0.221c-8.534 2.287-17.305-2.776-19.588-11.307l-23.862-75.877-74.742 350.891c0 0-1.523 18.507-11.518 18.507s-26.9 0.281-26.9 0.281c-8.259 2.213-16.748-2.687-18.961-10.949l-92.741-457.648-70.305 330.634c-2.261 8.291-11.94 15.206-20.385 12.986l-24.876 0.339c-8.723 2.293-17.685-2.789-20.023-11.349L270.629 544.51 143.993 544.51c-8.831 0-15.993-7.159-15.993-15.993l0-31.986c0-8.831 7.162-15.993 15.993-15.993l157.429-0.516c9.565-0.304 17.685 0.788 20.023 9.351l24.386 76.092 68.642-358.907c0 0 3.4-10.894 14.397-10.894 10.994 0 34.107-0.448 34.107-0.448 8.262-2.213 16.751 2.687 18.965 10.949l91.912 454.126 67.948-326.182c2.213-8.262 8.707-15.161 16.965-12.948l27.316-0.333c8.531-2.287 17.301 2.776 19.588 11.31l46.665 148.4 127.337 0c8.835 0 15.993 7.162 15.993 15.993l0 31.986C895.667 537.352 888.508 544.51 879.674 544.51z","p-id":"5314",fill:o.color},null,8,a3)]))}}),n3=()=>{var n;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(n=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&n.matches?"dark":"light"},Ua=()=>n3()=="dark",qa=o=>(it("data-v-a2c6d680"),o=o(),rt(),o),i3={class:"network_container"},r3={class:"title_box"},s3={class:"display_flex"},d3={class:"network_tag"},l3={class:"tag_item"},u3=qa(()=>t("div",{class:"tag_dn"},null,-1)),c3={class:"tag_item"},p3=qa(()=>t("div",{class:"tag_up"},null,-1)),f3={class:"speed"},m3={class:"speed_item"},g3={style:{color:"#1596fd"}},v3={class:"speed_item"},b3={style:{color:"#00a63e"}},h3=I({setup(o){const{$gettext:n}=H();Qe([Ba,Ya,Aa,Xe,ta,Sa]);const a=E(),l=_=>{var m;const h=(m=a.value)==null?void 0:m[_];return!h||h.startTime==0?"":c(h.startTime*1e3)+"-"+c(h.endTime*1e3)},u=Q(()=>{var h;let _=[];return(h=a.value)==null||h.forEach(m=>{_.push({value:m.uploadSpeed})}),_}),d=Q(()=>{var h;let _=[];return(h=a.value)==null||h.forEach(m=>{_.push({value:m.downloadSpeed})}),_}),p=Q(()=>{var h;let _="";if(a.value){let m=((h=a.value)==null?void 0:h.length)||0;if(m>0){let b=a.value[m-1];_=f(b.uploadSpeed)+"/s"}}return _}),w=Q(()=>{var h;let _="";if(a.value){let m=((h=a.value)==null?void 0:h.length)||0;if(m>0){let b=a.value[m-1];_=f(b.downloadSpeed)+"/s"}}return _});Q(()=>{var h;let _=[];return(h=a.value)==null||h.forEach(m=>{_.push({value:m.downloadSpeed+m.uploadSpeed})}),_});const g=()=>O(this,null,function*(){var _;try{const h=yield G.Network.Statistics.GET();if(h.data&&(_=h.data.result)!=null&&_.items){const m=h.data.result.slots||10;if(h.data.result.items.lengthm?a.value=h.data.result.items.slice(m-h.data.result.items.length):a.value=h.data.result.items}}catch(h){console.log(h)}}),c=Pt.dateForm,f=Pt.byteToSize,v=E();let x=null;const k=_=>{const h=Ua();return x=ea(_,h?"dark":"light"),x.setOption({animation:!1,backgroundColor:h?"#2c2c2c":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:m=>{if(Array.isArray(m)){let b="";m.length>0&&(b=l(m[0].axisValue));for(let y=0;y${m[y].seriesName}: ${f(m[y].value)}/s`;return b.toString()}else{const b=m;return`${l(b.axisValue)}
${b.seriesName}: ${f(b.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:"",textStyle:{fontSize:12,color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(m,b){return`${f(m)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:n("\u4E0B\u8F7D"),data:d.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:n("\u4E0A\u4F20"),data:u.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),x};return Yt(()=>{setTimeout(()=>O(this,null,function*(){if(v.value){yield g();const _=k(v.value),h=v.value;_.resize({width:h.clientWidth,height:h.clientHeight}),window.addEventListener("resize",()=>{_.resize({width:h.clientWidth,height:h.clientHeight})});const m=()=>O(this,null,function*(){if(x!=null){if(!document.hidden){if(yield g(),x==null)return;_.setOption({series:[{name:n("\u4E0B\u8F7D"),data:d.value,type:"line",areaStyle:{},smooth:!0},{name:n("\u4E0A\u4F20"),data:u.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(m,5e3)}});setTimeout(m,5e3)}}),900)}),Vt(()=>{x!=null&&(x.dispose(),x=null)}),(_,h)=>(r(),s("div",i3,[t("div",r3,[t("div",s3,[D(o3,{color:"#20c7f7",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u6D41\u91CF")),1)]),t("div",d3,[t("div",l3,[u3,t("span",null,i(e(n)("\u4E0B\u8F7D")),1)]),t("div",c3,[p3,t("span",null,i(e(n)("\u4E0A\u4F20")),1)])])]),t("div",f3,[t("div",m3,[t("span",null,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1),t("div",g3,i(e(w)),1)]),t("div",v3,[t("span",null,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1),t("div",b3,i(e(p)),1)])]),t("div",{ref_key:"el",ref:v,class:"echart"},null,512)]))}});var _3=N(h3,[["__scopeId","data-v-a2c6d680"]]);const x3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},w3=["fill"],xe=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",x3,[t("path",{d:"M512 96c229.76 0 416 186.24 416 416S741.76 928 512 928 96 741.76 96 512 282.24 96 512 96z m-32 448l-127.317333 0.021333c0.896 20.48 2.624 40.405333 5.12 59.669334l1.984 14.293333 2.474666 15.253333c19.754667 112.896 65.728 197.738667 117.76 222.997334L480 544z m191.317333 0.021333L544 544v312.234667c50.858667-24.725333 95.936-106.368 116.373333-215.509334l1.365334-7.488 2.474666-15.232a701.013333 701.013333 0 0 0 7.104-73.984z m-382.698666 0H161.429333c11.648 129.066667 92.992 238.08 206.101334 289.066667-22.122667-34.282667-40.362667-76.416-53.76-124.032l-3.029334-11.093333-3.52-14.165334-3.242666-14.464a744.490667 744.490667 0 0 1-15.36-125.312z m573.952 0H735.36a752.661333 752.661333 0 0 1-12.672 112.128l-2.688 13.184-3.242667 14.464-3.52 14.186667c-13.653333 52.138667-32.96 98.197333-56.789333 135.104 113.109333-50.986667 194.453333-160 206.08-289.066667zM367.530667 190.890667l-2.858667 1.301333C253.013333 243.733333 172.970667 352 161.429333 480h127.189334c1.536-39.04 5.866667-76.693333 12.672-112.149333l2.688-13.184 3.242666-14.464 3.52-14.186667c13.653333-52.138667 32.96-98.197333 56.789334-135.104zM480 167.765333c-50.709333 24.618667-95.68 105.898667-116.202667 214.592l-1.536 8.405334-2.474666 15.232a701.034667 701.034667 0 0 0-7.104 74.005333H480V167.765333z m176.469333 23.146667l2.56 4.053333c20.906667 33.429333 38.229333 73.984 51.093334 119.552l3.136 11.52 3.52 14.165334 3.242666 14.464c8.362667 39.253333 13.632 81.408 15.36 125.333333h127.189334c-11.626667-129.088-92.970667-238.101333-206.101334-289.066667zM544 167.765333L544 480h127.317333a707.136 707.136 0 0 0-5.333333-61.376l-1.770667-12.629333-2.474666-15.232c-19.754667-112.874667-65.706667-197.717333-117.717334-222.997334z","p-id":"4600",fill:o.color},null,8,w3)]))}}),k3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},y3=["fill"],F3=["fill"],E3=I({props:{color:{type:String,default:"#00a63e"}},setup(o){return(n,a)=>(r(),s("svg",k3,[t("path",{d:"M986.112 179.2c-12.288-12.288-31.744-12.288-44.032 0l-472.064 471.04-180.224-180.224c-12.288-12.288-31.744-12.288-44.032 0-12.288 12.288-12.288 31.744 0 44.032l202.752 201.728c6.144 6.144 12.288 9.216 22.528 9.216 9.216 0 15.36-3.072 22.528-9.216l494.592-492.544c10.24-12.288 10.24-31.744-2.048-44.032z",fill:o.color,"p-id":"11312"},null,8,y3),t("path",{d:"M1024 548.864c0-17.408-14.336-31.744-31.744-31.744-17.408 0-31.744 14.336-31.744 31.744C941.056 779.264 747.52 959.488 513.024 959.488 265.216 959.488 64.512 759.808 64.512 512c0-247.808 200.704-447.488 448.512-447.488 69.632 0 135.168 15.36 194.56 44.032h1.024c4.096 1.024 7.168 2.048 11.264 2.048 17.408 0 31.744-14.336 31.744-31.744 0-12.288-7.168-23.552-17.408-28.672C665.6 17.408 590.848 0 513.024 0 229.376 0 0 229.376 0 512s229.376 512 513.024 512c270.336 0 491.52-208.896 510.976-475.136z",fill:o.color,"p-id":"11313"},null,8,F3)]))}}),$3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},C3=["fill"],D3=I({props:{color:{type:String,default:"#e7000b"}},setup(o){return(n,a)=>(r(),s("svg",$3,[t("path",{d:"M511.9744 706.6624a57.2672 57.2672 0 0 1 56.96 57.5488c0 20.5568-10.8544 39.552-28.4672 49.8432a56.4736 56.4736 0 0 1-56.9856 0 57.6512 57.6512 0 0 1-28.4928-49.8432c0-31.7696 25.4976-57.5488 56.9856-57.5488zM190.1824 147.3024l2.4832 2.2272 614.4 614.4a30.72 30.72 0 0 1-40.96 45.696l-2.4832-2.2528-229.4528-229.504a189.6704 189.6704 0 0 0-180.864 83.8912 29.3376 29.3376 0 0 1-40.9344 7.3728 30.976 30.976 0 0 1-8.32-41.6768 248.8576 248.8576 0 0 1 170.624-109.056l-78.7968-78.7968a346.8288 346.8288 0 0 0-156.7744 112.128 29.4144 29.4144 0 0 1-50.944-8.4224 31.0784 31.0784 0 0 1 4.736-30.0544 406.9888 406.9888 0 0 1 156.1088-120.4736l-71.9872-72.0128a504.7808 504.7808 0 0 0-150.6816 120.32 29.2864 29.2864 0 0 1-41.9328 2.7904 31.0016 31.0016 0 0 1-2.9184-42.88 564.608 564.608 0 0 1 150.8608-124.928L149.2224 192.9472a30.72 30.72 0 0 1 40.96-45.6704z m321.792 211.6352a404.992 404.992 0 0 1 319.0528 154.368 30.976 30.976 0 0 1-4.3008 42.8288 29.184 29.184 0 0 1-41.9072-4.4032 345.984 345.984 0 0 0-229.7088-129.2032l-63.1552-63.104c6.656-0.3328 13.312-0.4864 20.0192-0.4864z m0-156.6976c166.1184 0 322.9952 72.448 430.4896 198.8608 10.752 12.672 9.472 31.872-2.8416 42.9312a29.184 29.184 0 0 1-42.0352-2.9184 505.344 505.344 0 0 0-385.6128-177.92 509.184 509.184 0 0 0-105.2672 11.008l-50.2272-50.2784A566.656 566.656 0 0 1 512 202.24z","p-id":"5359",fill:o.color},null,8,C3)]))}}),B3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y3=["fill"],A3=["fill"],S3=["fill"],z3=I({props:{color:{type:String,default:"#f54900"}},setup(o){return(n,a)=>(r(),s("svg",B3,[t("path",{d:"M512 179.2l390.4 627.2H128l384-627.2m0-64c-19.2 0-44.8 12.8-51.2 32l-390.4 627.2c-25.6 44.8 6.4 96 51.2 96H896c51.2 0 83.2-57.6 51.2-96l-384-627.2c-6.4-19.2-32-32-51.2-32z",fill:o.color,"p-id":"4490"},null,8,Y3),t("path",{d:"M512 640c-19.2 0-32-12.8-32-32v-192c0-19.2 12.8-32 32-32s32 12.8 32 32v192c0 19.2-12.8 32-32 32z",fill:o.color,"p-id":"4491"},null,8,A3),t("path",{d:"M512 723.2m-32 0a32 32 0 1 0 64 0 32 32 0 1 0-64 0Z",fill:o.color,"p-id":"4492"},null,8,S3)]))}}),P3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},T3=["fill"],Ra=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",P3,[t("path",{d:"M511.3 116.7l339.1 193.8v387.6L511.3 891.9 172.2 698.1V310.5l339.1-193.8zM802 345.6L535.5 516.7v305.5L802 670V345.6z m-581.4 0.3V670l266.5 152.3V516.7L220.6 345.9z m434.1-87.3L401.1 405l110.3 71.4 248.9-161.5L658 256.4c-1.1 0.7-2.2 1.5-3.3 2.2z m-143.4-86L262.2 314.9l93.4 60.5c0.5-0.4 1.1-0.7 1.6-1l252.3-145.7-98.2-56.1z m0 0",fill:o.color,"p-id":"14790"},null,8,T3)]))}}),I3={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},M3=["fill"],L3=["fill"],N3=["fill"],ze=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",I3,[t("path",{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6c-3.2 2.8-3.6 7.8-0.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4 0.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-0.9l36-42.9c2.8-3.3 2.4-8.3-0.9-11.2zM840.4 480.4C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4c-3.4 2.8-3.8 7.9-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3z","p-id":"5126",fill:o.color},null,8,M3),t("path",{d:"M957.1 341.4C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4-3.5 2.8-4 7.9-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3z","p-id":"5127",fill:o.color},null,8,L3),t("path",{d:"M512 778m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"5128",fill:o.color},null,8,N3)]))}}),O3=o=>(it("data-v-4eb7fe63"),o=o(),rt(),o),V3={class:"info_content"},G3={key:0,class:"status_box"},j3={class:"status_name"},U3={class:"status_time"},q3={key:1,class:"status_box"},R3={class:"status_name"},W3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},H3={key:2,class:"status_box"},J3={class:"status_name"},Z3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},K3={key:3,class:"status_box"},Q3={class:"status_name"},X3={class:"status_time",style:{background:"#ffe2e2",color:"#c10007"}},t8={key:4,class:"status_box"},e8={class:"status_name"},a8={class:"ip_info"},o8={class:"ip_item"},n8={class:"ip_tag"},i8={class:"ip_address"},r8={class:"ip_info"},s8={class:"ip_item"},d8=O3(()=>t("div",null,"IPv6",-1)),l8={key:0,class:"ip_tag"},u8={key:1,class:"ip_tag"},c8={class:"ip_address"},p8={class:"ip_info",style:{"margin-bottom":"0"}},f8={class:"ip_item"},m8={class:"ip_address"},g8=I({setup(o){const{$gettext:n}=H(),a=Fe(),l=Q(()=>a.status);Q(()=>a.deviceList);const u=mt({portList:[],load:!1}),d=c=>{switch(c){case"pppoe":return n("\u62E8\u53F7\u4E0A\u7F51");case"static":return n("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return c&&c.toUpperCase()},p=c=>{switch(c){case"manual":return n("\u624B\u52A8\u914D\u7F6E");case"auto":return n("\u81EA\u52A8\u83B7\u53D6");default:return""}},w=()=>{(u.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(c=>{if(c!=null&&c.data){const{result:f}=c==null?void 0:c.data;f&&(u.portList=f.ports||[])}})).finally(()=>{u.load=!0,setTimeout(w,1e4)})};w();const g=Pt.stampForm;return(c,f)=>(r(),s("div",null,[D(Rt,{title:e(n)("\u7F51\u7EDC\u8FDE\u63A5\u548CIP\u5730\u5740"),showSettings:!1},{icon:j(()=>[D(xe,{color:"#0a0a0a",class:"icon networkIcon"})]),default:j(()=>[t("div",V3,[e(l)!=null?(r(),s(U,{key:0},[e(l).networkInfo=="netSuccess"?(r(),s("div",G3,[t("div",j3,[D(E3,{color:"#00a63e",class:"icon"}),t("span",null,i(e(n)("\u7F51\u7EDC\u8FDE\u63A5\u6B63\u5E38")),1)]),t("div",U3,i(e(g)(e(l).uptimeStamp)),1)])):e(l).networkInfo=="dnsFailed"?(r(),s("div",q3,[t("div",R3,[D(z3,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("DNS\u9519\u8BEF")),1)]),t("div",W3,i(e(g)(e(l).uptimeStamp)),1)])):e(l).networkInfo=="softSourceFailed"?(r(),s("div",H3,[t("div",J3,[D(Ra,{color:"#9810fa",style:{width:"1.5rem",height:"1.5rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1)]),t("div",Z3,i(e(g)(e(l).uptimeStamp)),1)])):e(l).networkInfo=="netFailed"?(r(),s("div",K3,[t("div",Q3,[D(D3,{style:{width:"1.2rem",height:"1.2rem","margin-right":"4px"}}),t("span",null,i(e(n)("\u672A\u8054\u7F51")),1)]),t("div",X3,i(e(g)(e(l).uptimeStamp)),1)])):(r(),s("div",t8,[t("div",e8,[D(ze,{color:"#d08700",class:"icon"}),t("span",null,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):C("",!0),t("div",a8,[t("div",o8,[t("div",null,"IPv4 \uFF08"+i(e(l).defaultInterface)+"\uFF09",1),t("div",n8,i(d(e(l).proto||"")),1)]),t("div",i8,i(e(l).ipv4addr),1)]),t("div",r8,[t("div",s8,[d8,e(l).ipv6addr?(r(),s("div",l8,i(e(n)("\u5DF2\u542F\u7528")),1)):(r(),s("div",u8,i(e(n)("\u672A\u542F\u7528")),1))]),t("div",c8,i(e(l).ipv6addr?e(l).ipv6addr:"-"),1)]),t("div",p8,[t("div",f8,[t("div",null,"DNS\uFF08"+i(p(e(l).dnsProto))+"\uFF09",1)]),(r(!0),s(U,null,tt(e(l).dnsList,v=>(r(),s("div",m8,i(v),1))),256))])])]),_:1},8,["title"])]))}});var v8=N(g8,[["__scopeId","data-v-4eb7fe63"]]);const b8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},h8=["fill"],ka=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",b8,[t("path",{d:"M170.666667 647.253333a128.042667 128.042667 0 1 0 85.333333 0V256c0-71.850667 49.109333-128 106.666667-128S469.333333 184.149333 469.333333 256v512c0 116.650667 84.608 213.333333 192 213.333333s192-96.682667 192-213.333333V376.746667a128.042667 128.042667 0 1 0-85.333333 0V768c0 71.850667-49.109333 128-106.666667 128S554.666667 839.850667 554.666667 768V256c0-116.650667-84.608-213.333333-192-213.333333S170.666667 139.349333 170.666667 256v391.253333zM768 256a42.666667 42.666667 0 1 1 85.333333 0 42.666667 42.666667 0 0 1-85.333333 0zM213.333333 810.666667a42.666667 42.666667 0 1 1 0-85.333334 42.666667 42.666667 0 0 1 0 85.333334z",fill:o.color,"p-id":"39967"},null,8,h8)]))}}),_8=["value","checked","onChange"],x8={class:"content"},w8={class:"name"},k8={key:0,class:"speed",style:{background:"#f3f4f6",color:"#4a5565"}},y8={style:{display:"flex","align-items":"center"}},F8={key:0,class:"status"},E8={key:1,class:"status"},$8={key:2,class:"speed",style:{"margin-left":"6px"}},C8=I({setup(o){const{$gettext:n}=H(),a=aa(),l=E(!1);ia();const u=mt({portList:[],load:!1}),d=()=>{a.push("/interfaceconfig")},p=()=>{window.location.href="/cgi-bin/luci/admin/network/network"},w=(h,m)=>{localStorage.setItem(h,JSON.stringify(m))},g=h=>{const m=localStorage.getItem(h);try{return m?JSON.parse(m):[]}catch(b){return[]}},c="checkedPorts",f=E(g(c)),v=E([]),x=()=>{(u.load&&document.hidden?Promise.resolve():G.Network.PortList.GET().then(h=>{if(h!=null&&h.data){const{result:m}=h==null?void 0:h.data;m&&(u.portList=m.ports||[],v.value=m.ports||[])}})).finally(()=>{u.load=!0,setTimeout(x,1e4)})};x(),At(f,h=>{v.value=u.portList.filter(m=>h.includes(m.name)),console.log(h,"newVal"),w(c,h)});const k=(h,m)=>{m.target.checked?f.value.includes(h)||(f.value=[...f.value,h]):f.value.length>1?f.value=f.value.filter(b=>b!==h):($.Warning(n("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A\u7F51\u7EDC\u63A5\u53E3\uFF01")),m.target.checked=!0)},_=E(null);return(h,m)=>(r(),Z(Rt,{title:e(n)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001"),showSettings:!0,"is-settings-menu-open":l.value,"onUpdate:isSettingsMenuOpen":m[0]||(m[0]=b=>l.value=b)},{icon:j(()=>[D(ka,{color:"#0a0a0a",class:"icon interfaceIcon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:d},[D(ra,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u7F51\u7EDC\u63A5\u53E3")),1)])]),"settings-menu":j(()=>[t("div",null,[(r(!0),s(U,null,tt(e(u).portList,b=>(r(),s("div",{key:b.name,class:"row"},[t("input",{type:"checkbox",value:b.name,checked:f.value.includes(b.name),onChange:y=>k(b.name,y)},null,40,_8),t("span",null,i(b.name),1)]))),128))])]),default:j(()=>[t("div",x8,[e(u).load?(r(!0),s(U,{key:0},tt(v.value,b=>(r(),s("div",{class:"item",ref_for:!0,ref_key:"el",ref:_,onClick:p},[t("div",{class:"icon_box",style:ft({backgroundColor:b.linkState=="DOWN"?"#f3f4f6":"#dbfce7"})},[D(ka,{color:b.linkState=="DOWN"?"#99a1af":"#00a63e",class:"icon2"},null,8,["color"])],4),t("div",null,[t("div",w8,[nt(i(b.name)+" "+i(b.interfaceNames?`(${b.interfaceNames.join(",").toLocaleUpperCase()})`:""),1),b.linkState=="DOWN"?(r(),s("div",k8,i(e(n)("\u5DF2\u65AD\u5F00")),1)):C("",!0)]),t("div",y8,[b.linkState=="DOWN"?(r(),s("div",F8,i(e(n)("\u672A\u8FDE\u63A5")),1)):(r(),s("div",E8,i(e(n)("\u5DF2\u8FDE\u63A5")),1)),b.linkSpeed?(r(),s("div",$8,i(b.linkSpeed),1)):C("",!0)])])],512))),256)):C("",!0)])]),_:1},8,["title","is-settings-menu-open"]))}});var D8=N(C8,[["__scopeId","data-v-a22762d6"]]);const B8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Y8=["fill"],A8=["fill"],S8=["fill"],z8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",B8,[t("path",{d:"M123.92 555.9a32 32 0 0 1-14.82-60.38l719.19-374.9a32 32 0 0 1 29.59 56.76l-719.2 374.89a31.87 31.87 0 0 1-14.76 3.63z",fill:o.color,"p-id":"5084"},null,8,Y8),t("path",{d:"M608.6 957.7a32 32 0 0 1-30.6-41.27l234.64-776.34a32 32 0 0 1 61.26 18.52L639.22 935a32 32 0 0 1-30.62 22.7zM505.92 580.44c-0.68 0-1.36 0-2.05-0.07l-381.46-24.12a32 32 0 1 1 4-63.88l381.5 24.13a32 32 0 0 1-2 63.94z",fill:o.color,"p-id":"5085"},null,8,A8),t("path",{d:"M608.14 957.32a32 32 0 0 1-30.87-23.63L475 556.82a32 32 0 1 1 61.77-16.76L639 916.93a32 32 0 0 1-22.51 39.26 31.61 31.61 0 0 1-8.35 1.13z",fill:o.color,"p-id":"5086"},null,8,S8)]))}}),P8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},T8=["fill"],I8=["fill"],M8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",P8,[t("path",{d:"M748 469.97l-283.81 248.1c-3.96 1.98-5.94 5.94-9.9 9.9-17.82 29.71-9.9 67.34 19.8 85.16 29.71 15.84 65.35 5.94 83.18-21.79L757.9 477.89c1.98-5.95-3.96-11.88-9.9-7.92z","p-id":"9627",fill:o.color},null,8,T8),t("path",{d:"M512 181.96c-247.23 0-448.35 201.13-448.35 448.34 0 63.85 13.31 125.74 39.59 183.94 10.72 23.74 38.61 34.37 62.41 23.59 23.74-10.72 34.31-38.67 23.59-62.41C168.5 729.5 158 680.67 158 630.3c0-195.18 158.8-353.99 354-353.99 195.18 0 354 158.8 354 353.99 0 50.37-10.5 99.2-31.24 145.12-10.72 23.74-0.15 51.69 23.59 62.41 6.3 2.86 12.9 4.18 19.38 4.18 17.97 0 35.17-10.32 43.03-27.76 26.26-58.2 39.59-120.09 39.59-183.94 0-247.23-201.14-448.35-448.35-448.35z","p-id":"9628",fill:o.color},null,8,I8)]))}}),L8={width:"32",height:"32",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},N8=["fill"],O8=["fill"],V8=["fill"],G8=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",L8,[t("path",{d:"M880.213333 395.093333a31.786667 31.786667 0 0 1-26.88-15.573333 385.706667 385.706667 0 0 0-91.52-104.32 32.426667 32.426667 0 0 1-5.12-45.013333 32 32 0 0 1 45.013334-5.12 449.92 449.92 0 0 1 106.666666 121.6A31.786667 31.786667 0 0 1 896 390.4a30.293333 30.293333 0 0 1-15.786667 4.693333zM165.12 395.093333A30.293333 30.293333 0 0 1 149.333333 390.4a31.786667 31.786667 0 0 1-11.093333-43.733333A450.56 450.56 0 0 1 522.666667 128a32 32 0 0 1 0 64A386.56 386.56 0 0 0 192 379.52a31.786667 31.786667 0 0 1-26.88 15.573333z","p-id":"17913",fill:o.color},null,8,N8),t("path",{d:"M565.333333 341.333333a32 32 0 0 1 0-64A101.76 101.76 0 0 0 661.333333 170.666667a101.76 101.76 0 0 0-96-106.666667 32 32 0 0 1 0-64A165.76 165.76 0 0 1 725.333333 170.666667a165.76 165.76 0 0 1-160 170.666666zM522.666667 1024C362.666667 1024 220.8 936.106667 139.946667 787.84 61.013333 776.746667 0 700.373333 0 608 0 507.946667 71.68 426.666667 160 426.666667a32 32 0 0 1 0 64C106.666667 490.666667 64 543.36 64 608S106.666667 725.333333 160 725.333333a31.786667 31.786667 0 0 1 28.586667 17.706667C256 878.933333 381.653333 960 522.666667 960a384 384 0 0 0 354.56-236.373333 31.146667 31.146667 0 0 1 14.506666-16 106.666667 106.666667 0 0 0 57.6-99.626667c0-64-42.666667-117.333333-96-117.333333a32 32 0 0 1 0-64c88.32 0 160 81.28 160 181.333333a170.666667 170.666667 0 0 1-81.706666 150.613333A448 448 0 0 1 522.666667 1024z","p-id":"17914",fill:o.color},null,8,O8),t("path",{d:"M394.666667 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM629.333333 640a32 32 0 0 1-32-32v-42.666667a32 32 0 0 1 64 0v42.666667a32 32 0 0 1-32 32zM512 822.186667A131.2 131.2 0 0 1 391.466667 746.666667a32 32 0 1 1 58.24-26.453334 70.186667 70.186667 0 0 0 124.586666 0A32 32 0 1 1 632.533333 746.666667 131.2 131.2 0 0 1 512 822.186667z","p-id":"17915",fill:o.color},null,8,V8)]))}}),j8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},U8=["fill"],q8=["fill"],R8=I({props:{color:{type:String,default:"#2c2c2c"}},setup(o){return(n,a)=>(r(),s("svg",j8,[t("path",{d:"M771.328 320.896H258.986667a64 64 0 0 0-63.701334 57.856l-41.386666 427.178667a64 64 0 0 0 57.472 69.888l5.12 0.256h590.592a64 64 0 0 0 64-64l-0.170667-4.394667-35.797333-428.117333a64 64 0 0 0-63.786667-58.666667z m-512.341333 42.666667h512.341333a21.333333 21.333333 0 0 1 21.290667 19.584l35.712 427.178666 0.085333 2.688c0 10.88-9.557333 20.437333-21.333333 20.437334H217.557333l-3.072-0.170667a21.162667 21.162667 0 0 1-18.176-23.210667l41.472-427.221333a21.333333 21.333333 0 0 1 21.205334-19.285333z",fill:o.color,"p-id":"8134"},null,8,U8),t("path",{d:"M685.013333 429.312a21.333333 21.333333 0 0 1 21.333334 21.333333 194.346667 194.346667 0 1 1-388.693334 0 21.333333 21.333333 0 1 1 42.666667 0 151.68 151.68 0 0 0 303.36 0 21.333333 21.333333 0 0 1 21.333333-21.333333zM512 147.882667a194.346667 194.346667 0 0 1 194.346667 194.346666 21.333333 21.333333 0 1 1-42.666667 0 151.68 151.68 0 1 0-303.36 0 21.333333 21.333333 0 1 1-42.666667 0A194.346667 194.346667 0 0 1 512 147.882667z",fill:o.color,"p-id":"8135"},null,8,q8)]))}}),W8={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},H8=["fill"],J8=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),s("svg",W8,[t("path",{d:"M353.323071 246.407016L620.37222 510.637979l-265.320785 268.146133c-11.776208 11.775184-11.73425201 30.908964 0.091074 42.73429l0.001023 0c11.825326 11.82635 30.958082 11.867282 42.72815-2.930749L680.899758 535.559579c3.817955-4.273327 8.205892-9.321296 8.933463-12.045337 4.470825-11.112082 2.232854-24.76503301-6.710842-35.987632l-286.98213-286.98213c-11.875468-8.847505-31.096229-8.893554-42.922578 2.932796C341.393367 215.303624 341.439416 234.523361 353.323071 246.407016z","p-id":"5051",fill:o.color},null,8,H8)]))}}),Z8={class:"header"},K8={class:"icon-wrapper"},Q8={class:"content"},X8={class:"title"},t4={class:"subtitle"},e4={class:"footer"},a4={key:1,class:"extra"},o4={key:2,class:"extra badge"},n4={class:"extra_num"},i4={key:3,class:"badge"},r4=I({props:{card:{type:Object,required:!0}},setup(o){const{$gettext:n}=H(),a={navigation:{component:z8,props:{color:"#ffffff"}},wifi:{component:ze,props:{color:"#ffffff"}},topology:{component:ja,props:{color:"#ffffff"}},speed:{component:M8,props:{color:"#ffffff"}},baby:{component:G8,props:{color:"#ffffff"}},appStore:{component:R8,props:{color:"#ffffff"}}};return(l,u)=>(r(),s("div",{class:st(["feature-card",o.card.color]),onClick:u[0]||(u[0]=d=>l.$emit("click",o.card))},[t("div",null,[t("div",Z8,[t("div",K8,[Et(l.$slots,"icon",{},()=>{var d;return[o.card.icon&&a[o.card.icon]?(r(),Z(za((d=a[o.card.icon])==null?void 0:d.component),_o({key:0},a[o.card.icon].props,{class:"icon-svg"}),null,16)):C("",!0)]},!0)])]),t("div",Q8,[t("div",X8,i(o.card.title),1),t("div",t4,i(o.card.subtitle),1)]),t("div",e4,[o.card.status?(r(),s("span",{key:0,class:st(["status",{active:o.card.isActive}])},i(o.card.status),3)):C("",!0),o.card.extra?(r(),s("div",a4,i(o.card.extra),1)):C("",!0),o.card.num?(r(),s("div",o4,[t("span",n4,i(o.card.num),1),nt(" "+i(e(n)("\u53F0\u8BBE\u5907\u5728\u7EBF")),1)])):C("",!0),o.card.tag?(r(),s("span",i4,i(o.card.tag),1)):C("",!0)])]),D(J8,{class:"right-arrow",color:"#99a1af"})],2))}});var s4=N(r4,[["__scopeId","data-v-adc89aea"]]);const d4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},l4=["fill"],u4=["fill"],c4=["fill"],p4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",d4,[t("path",{d:"M298.894222 482.417778c-35.271111 0-65.649778 12.231111-90.624 36.636444-25.031111 24.462222-37.603556 54.158222-37.603555 88.746667v87.153778h60.359111V607.857778c0-18.318222 6.599111-33.848889 19.854222-46.762667a65.991111 65.991111 0 0 1 48.014222-19.456h426.382222c18.887111 0 34.759111 6.428444 48.014223 19.399111 13.312 13.027556 19.854222 28.444444 19.854222 46.819556v87.04h60.359111v-87.04c0-34.702222-12.572444-64.341333-37.546667-88.746667a125.098667 125.098667 0 0 0-90.680889-36.750222H298.894222z",fill:o.color,"p-id":"8894"},null,8,l4),t("path",{d:"M488.049778 334.734222h47.900444V512h-47.900444V334.734222z",fill:o.color,"p-id":"8895"},null,8,u4),t("path",{d:"M597.333333 142.222222v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666zM284.444444 711.111111H113.777778v170.666667h170.666666v-170.666667z m-170.666666-56.888889h170.666666a56.888889 56.888889 0 0 1 56.888889 56.888889v170.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H113.777778a56.888889 56.888889 0 0 1-56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 1 56.888889-56.888889zM910.222222 711.111111v170.666667h-170.666666v-170.666667h170.666666z m-170.666666-56.888889a56.888889 56.888889 0 0 0-56.888889 56.888889v170.666667a56.888889 56.888889 0 0 0 56.888889 56.888889h170.666666a56.888889 56.888889 0 0 0 56.888889-56.888889v-170.666667a56.888889 56.888889 0 0 0-56.888889-56.888889h-170.666666z",fill:o.color,"p-id":"8896"},null,8,c4)]))}}),f4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},m4=["fill"],g4=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",f4,[t("path",{d:"M853.333333 768a42.666667 42.666667 0 0 1 0 85.333333h-341.333333a42.666667 42.666667 0 0 1 0-85.333333h341.333333zM200.832 183.168L426.666667 409.002667l30.165333 30.165333a42.666667 42.666667 0 0 1 0 60.330667l-14.634667 14.634666-241.365333 241.365334a42.666667 42.666667 0 1 1-60.330667-60.330667l225.792-225.877333-225.792-225.792a42.666667 42.666667 0 0 1 60.330667-60.330667z",fill:o.color,"p-id":"5439"},null,8,m4)]))}}),v4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},b4=["fill"],h4=["fill"],Je=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",v4,[t("path",{d:"M531.216667 77.336366c0 0-8.147564-10.313903-16.938788-10.709923-8.791224-0.396019-18.070564 9.133008-18.070564 9.133008-96.577592 77.010955-246.112304 97.021707-345.075223 110.281709 0 0-14.838963 2.062985-22.257933 3.094478-11.189853 1.555425-21.184485 3.125177-27.569916 8.241708-6.385431 5.117554-5.999644 18.659989-5.999644 18.659989 0 476.176097 84.005252 627.530246 410.888138 736.639247 0 0 4.438079 1.619894 8.085142 1.373277 3.647063-0.042979 7.195889-1.980097 7.195889-1.980097 324.821947-108.462271 408.826176-259.857353 408.826176-736.033449 0 0-1.264806-13.920034-6.709819-18.659989-5.445012-4.739954-13.812587-6.433526-24.073278-7.864108-8.308223-1.157359-24.923646-3.473101-24.923646-3.473101C775.550465 172.782182 626.055662 152.771429 531.216667 77.336366zM486.388692 884.038318c-260.550131-96.030124-328.494593-228.237191-332.62875-628.806309-0.045025-4.400217 0.357134-6.599302 1.663896-8.667404 1.306762-2.068102 3.713578-2.836605 3.713578-2.836605 91.436502-12.233626 223.901443-29.972639 328.759629-91.828428 8.445346-4.982478 17.749246-11.634991 25.087375-11.634991 7.338129 0 15.890922 6.689353 24.289196 11.686157 103.57496 61.632709 234.845703 79.437214 327.058894 91.777263 0 0 4.41659 0.768503 5.910617 2.836605 1.494027 2.068102 2.324952 4.094248 2.309602 6.16542-2.819209 380.861264-55.186903 527.575744-329.520969 630.016881-9.733689 3.634784-19.105127 8.231475-27.533077 8.231475C507.070734 890.978381 495.039723 887.22694 486.388692 884.038318z",fill:o.color,"p-id":"5082"},null,8,b4),t("path",{d:"M763.882728 456.981942c-32.383548 146.597823-101.757568 233.810117-243.305375 299.834856-14.22191 1.440815-25.321712 13.450337-25.321712 28.051893 0 15.572674 12.624529 28.197202 28.197202 28.197202 4.321422 0 8.41567-0.972141 12.076036-2.709715l0.143263 0.393973c158.820192-71.15048 242.084571-167.561273 280.661168-345.308537 0.969071-2.781346 1.496074-5.7694 1.496074-8.881274 0-14.898315-12.07706-26.975375-26.975375-26.975375-14.898315 0-26.975375 12.07706-26.975375 26.975375C763.878634 456.701556 763.879658 456.841749 763.882728 456.981942z",fill:o.color,"p-id":"5083"},null,8,h4)]))}}),_4={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},x4=["fill"],w4=["fill"],Wa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",_4,[t("path",{d:"M762 942H262c-71.68 0-130-58.32-130-130V212c0-71.68 58.32-130 130-130h350c16.56 0 30 13.43 30 30v151.56c0 38.59 31.41 70 70 70h150c16.56 0 30 13.43 30 30V812c0 71.68-58.32 130-130 130zM262 142c-38.59 0-70 31.41-70 70v600c0 38.59 31.41 70 70 70h500c38.59 0 70-31.41 70-70V393.57H712c-71.68 0-130-58.32-130-130V142H262z","p-id":"13142",fill:o.color},null,8,x4),t("path",{d:"M862 393.57H712c-71.68 0-130-58.32-130-130V112c0-12.15 7.32-23.11 18.55-27.73a29.938 29.938 0 0 1 32.71 6.59l250 251.56c8.55 8.59 11.07 21.47 6.43 32.67s-15.58 18.48-27.69 18.48zM642 184.75v78.82c0 38.59 31.41 70 70 70h77.89L642 184.75zM487 379.5H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h175c16.57 0 30 13.43 30 30s-13.43 30-30 30zM712 542H312c-16.57 0-30-13.43-30-30s13.43-30 30-30h400c16.56 0 30 13.43 30 30s-13.44 30-30 30zM712 704.5H312c-16.57 0-30-13.44-30-30s13.43-30 30-30h400c16.56 0 30 13.44 30 30s-13.44 30-30 30z","p-id":"13143",fill:o.color},null,8,w4)]))}}),Ha=/\d+\.\d+\.\d+\.\d+/,k4=o=>Ha.test(o)&&ye.IPv4.isValid(o),Ut=o=>{const n=ye.IPv4.parse(o).toByteArray();return n[0]<<24|n[1]<<16|n[2]<<8|n[3]},ya=o=>ye.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),y4=o=>{if(!Ha.test(o)||!ye.IPv4.isIPv4(o))return!1;let n=0,a=Ut(o);for(let l=31;l>=0&&(a&1<{let u=Ut(o)&Ut(n),d=Ut(a),p=Ut(l),g=~Ut(n);return du+1&&p{let a=Ut(n),l=Ut(o)&a,u=~a,d;return u>=105?(d=l|u-5,l=l|100):u>=3?(d=l|u-1,l=l|2):(l=l|1,d=l),[ya(l),ya(d)]},$4=o=>ye.IPv4.subnetMaskFromPrefixLength(o).toString();var It={isValidMask:y4,isValidIPv4:k4,isValidMaskRange:F4,calcMaskRange:E4,prefixToMask:$4};const pa=o=>(it("data-v-0d919a1e"),o=o(),rt(),o),C4=["onSubmit"],D4={class:"actioner-dns_header"},B4={class:"actioner-dns_body"},Y4={class:"label-item"},A4={class:"label-item_key"},S4={class:"label-item_value"},z4={class:"label-item"},P4={class:"label-item_key"},T4={class:"label-item_value"},I4={key:0,class:"chose_dhcp"},M4={key:0,class:"dhcp_info"},L4={key:1,class:"dhcp_info"},N4={class:"label-item"},O4={class:"label-item_key"},V4={class:"label-item_value"},G4={class:"label-item"},j4={class:"label-item_key"},U4={class:"label-item_value"},q4={class:"actioner-dns_footer"},R4=["disabled"],W4={key:1,class:"actioner-dns"},H4={class:"actioner-dns_header"},J4={class:"actioner-dns_body"},Z4={key:0,class:"setting_status"},K4=pa(()=>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)),Q4={class:"config-message"},X4=["href"],tp={key:1,class:"setting_status"},ep=pa(()=>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)),ap={class:"config-message"},op={key:2,class:"setting_status"},np=pa(()=>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)),ip={class:"config-message"},rp=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(0),d=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const p=E(!1);E(!0),E(!1);const w=E(""),g=E(2),c=E(!1),f=E("timeout");let v=!0;(()=>{G.Guide.GetLan.GET().then(b=>{b.data.result&&(c.value=b.data.result.enableDhcp||!1,b.data.result.enableDhcp=!1,d.value=b.data.result,b.data.result.lanIp!==location.hostname&&(v=!1))})})();const k=()=>{const b=d.value;if(!It.isValidIPv4(b.lanIp)){$.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!It.isValidMask(b.netMask)){$.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const y=It.calcMaskRange(b.lanIp,b.netMask);b.dhcpStart=y[0],b.dhcpEnd=y[1],d.value=b},_=()=>{const b=d.value;if(!It.isValidIPv4(b.lanIp)){$.Warning(a("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!It.isValidMask(b.netMask)){$.Warning(a("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(b.enableDhcp&&!(It.isValidIPv4(b.dhcpStart)&&It.isValidIPv4(b.dhcpEnd)&&It.isValidMaskRange(b.lanIp,b.netMask,b.dhcpStart,b.dhcpEnd))){$.Warning(a("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const y=$.Loading(a("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let F=0;const Y=A=>{f.value=A,u.value=1,F=1,y.Close()},P=()=>{const A=new Date().getTime()+3e4,B=v?location.protocol+"//"+b.lanIp+(location.port?":"+location.port:""):location.origin,S=B+"/luci-static/resources/icons/loading.gif",R=()=>{F==0&&(new Date().getTime()>A?Y("timeout"):window.setTimeout(T,2e3))},V=()=>{F==0&&(w.value=B+location.pathname,Y("success"),window.setTimeout(()=>{g.value=1},1e3),window.setTimeout(()=>{location.href=w.value},2e3))},T=()=>{if(F!=0)return;console.log("check online ",S);const M=new Image;M.onload=V,M.onerror=R,M.src=S};window.setTimeout(T,5e3)};G.Guide.LanIp.POST(b).then(A=>{var B;if(A!=null&&A.data){if((A.data.success||0)==0)return;if((B=A.data)!=null&&B.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{F==0&&(Y("fail"),$.Error(A))}),P(),window.setTimeout(()=>{F==0&&Y("timeout")},3e4)},h=b=>{b.preventDefault(),n.Close&&n.Close()},m=b=>{location.reload()};return(b,y)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0?(r(),s("form",{key:0,class:"actioner-dns",onSubmit:ut(_,["prevent"])},[t("div",D4,[t("span",null,i(e(a)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",B4,[t("div",Y4,[t("div",A4,[t("span",null,i(e(a)("IPv4\u5730\u5740")),1)]),t("div",S4,[L(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":y[0]||(y[0]=F=>d.value.lanIp=F),onChange:k},null,544),[[et,d.value.lanIp,void 0,{trim:!0}]])])]),t("div",z4,[t("div",P4,[t("span",null,i(e(a)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",T4,[L(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":y[1]||(y[1]=F=>d.value.netMask=F),onChange:k},null,544),[[et,d.value.netMask,void 0,{trim:!0}]])])]),c.value?(r(),s("div",I4,[D(La,{modelValue:d.value.enableDhcp,"onUpdate:modelValue":y[2]||(y[2]=F=>d.value.enableDhcp=F)},{default:j(()=>[d.value.enableDhcp?(r(),s("span",M4,i(e(a)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(r(),s("span",L4,i(e(a)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):C("",!0),d.value.enableDhcp?(r(),s(U,{key:1},[t("div",N4,[t("div",O4,[t("span",null,i(e(a)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",V4,[L(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[3]||(y[3]=F=>d.value.dhcpStart=F)},null,512),[[et,d.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",G4,[t("div",j4,[t("span",null,i(e(a)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",U4,[L(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[4]||(y[4]=F=>d.value.dhcpEnd=F)},null,512),[[et,d.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):C("",!0)]),t("div",q4,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:p.value},i(e(a)("\u786E\u8BA4")),9,R4),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(a)("\u53D6\u6D88")),1)])],40,C4)):u.value==1?(r(),s("div",W4,[t("div",H4,[t("span",null,i(e(a)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",J4,[f.value=="success"?(r(),s("div",Z4,[K4,t("div",Q4,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:w.value,class:"NewAdress"},i(e(a)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+g.value})),9,X4)])):f.value=="fail"?(r(),s("div",tp,[ep,t("div",ap,i(e(a)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,i(e(a)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:m},i(e(a)("\u6211\u77E5\u9053\u4E86")),1)])):f.value=="timeout"?(r(),s("div",op,[np,t("div",ip,i(e(a)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,i(e(a)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:m},i(e(a)("\u5237\u65B0\u9875\u9762")),1)])):C("",!0)])])):C("",!0)]),_:1},8,["Close"]))}});var sp=N(rp,[["__scopeId","data-v-0d919a1e"]]);const dp=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(sp,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},lp={key:0,class:"actioner-dns"},up={class:"actioner-dns_header"},cp={class:"actioner-dns_body"},pp={class:"sandbox_info"},fp={key:0,class:"disk_loading_icon"},mp={class:"disk_loading_info"},gp={key:1,class:"disk_tips"},vp={class:"label-item"},bp={class:"label-item_key"},hp={class:"label-item_value"},_p={value:""},xp=["value"],wp={class:"label-item"},kp={class:"label-item_key"},yp={class:"label-item_value"},Fp={selected:"true",value:""},Ep=["value","disabled"],$p={class:"sandbox_tips"},Cp={class:"sandbox_info timeout"},Dp={class:"sandbox_roboot_tips"},Bp={class:"sandbox_roboot_refresh"},Yp={key:0,class:"actioner-dns_footer"},Ap=["disabled"],Sp={key:1,class:"actioner-tips"},zp={class:"actioner-tips_header"},Pp={class:"actioner-tips_body"},Tp={class:"sandbox_info"},Ip={class:"actioner-tips_footer"},Mp={key:2,class:"actioner-tips"},Lp={class:"actioner-tips_header"},Np={class:"actioner-tips_body"},Op={class:"sandbox_info"},Vp={class:"actioner-tips_footer"},Gp=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(0);E("disk");const d=E(""),p=E(3),w=E(""),g=E([]),c=E(""),f=E(null);(()=>{G.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=>{d.value=F,u.value=3})})();const x=()=>G.System.Reboot.POST({name:w.value,path:c.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,P;c.value="",g.value=w.value&&((P=(Y=f.value)==null?void 0:Y.disks.find(A=>A.path==w.value))==null?void 0:P.childrens)||[]},_=()=>{p.value>0&&(p.value-=1,window.setTimeout(_,1e3))},h=F=>{F.preventDefault(),n.Close&&n.Close()},m=()=>{new Promise((F,Y)=>{const P="/luci-static/resources/icons/loading.gif",A=()=>{window.setTimeout(B,2e3)},B=()=>{const S=new Image;S.onload=F,S.onerror=A,S.src=P};window.setTimeout(B,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},b=F=>{const Y=$.Loading(a("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));G.Nas.Sandbox.POST({path:c.value}).then(P=>{var A;if(P!=null&&P.data){if((P.data.success||0)==0)return u.value=2,window.setTimeout(_,1e3),x();if((A=P.data)!=null&&A.error)throw P.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).then(m).catch(P=>$.Warning(P)).finally(()=>Y.Close())},y=()=>{u.value=0};return(F,Y)=>{const P=ht("icon-loading");return r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0||u.value==2?(r(),s("div",lp,[t("div",up,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",cp,[t("p",pp,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),u.value==0?(r(),s(U,{key:0},[f.value?C("",!0):(r(),s("div",fp,[D(P,{size:38,color:"currentColor"}),t("span",mp,i(e(a)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),f.value&&f.value.disks.length==0?(r(),s("div",gp,[D(zt),t("span",null,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):C("",!0),f.value&&f.value.disks.length>0?(r(),s(U,{key:2},[t("div",vp,[t("div",bp,[t("span",null,i(e(a)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",hp,[L(t("select",{name:"",id:"",onChange:k,"onUpdate:modelValue":Y[0]||(Y[0]=A=>w.value=A)},[t("option",_p,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(r(!0),s(U,null,tt(f.value.disks,(A,B)=>(r(),s("option",{value:A.path,key:B},i(A.venderModel)+"\uFF08"+i(A.size)+"\uFF09 ",9,xp))),128))],544),[[dt,w.value]])])]),t("div",wp,[t("div",kp,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",yp,[L(t("select",{name:"",id:"","onUpdate:modelValue":Y[1]||(Y[1]=A=>c.value=A)},[t("option",Fp,i(e(a)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(r(!0),s(U,null,tt(g.value,(A,B)=>(r(),s("option",{value:A.path,key:B,disabled:A.sizeInt<(1<<30)*1||A.isSystemRoot},i(A.name)+"\uFF08"+i(A.filesystem||e(a)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+i(A.total),9,Ep))),128))],512),[[dt,c.value]])])]),t("div",$p,[D(zt),t("span",null,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):C("",!0)],64)):C("",!0),u.value==2?(r(),s(U,{key:1},[t("p",Cp,[nt(i(e(a)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+i(p.value)+"s\uFF09",1)]),t("p",Dp,[nt(i(e(a)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",Bp,i(e(a)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):C("",!0)]),u.value==0?(r(),s("div",Yp,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!c.value,onClick:Y[2]||(Y[2]=A=>u.value=1)},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),9,Ap),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(a)("\u53D6\u6D88")),1)])):C("",!0)])):C("",!0),u.value==1?(r(),s("div",Sp,[t("div",zp,[t("span",null,i(e(a)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",Pp,[t("p",Tp,i(e(a)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",Ip,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},i(e(a)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0),u.value==3?(r(),s("div",Mp,[t("div",Lp,[t("span",null,i(e(a)("\u9519\u8BEF")),1)]),t("div",Np,[t("p",Op,i(d.value),1)]),t("div",Vp,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0)]),_:1},8,["Close"])}}});var jp=N(Gp,[["__scopeId","data-v-59ad49e6"]]);const Up=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(jp,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},qp={key:0,class:"actioner-dns"},Rp={class:"actioner-dns_header"},Wp={class:"actioner-dns_body"},Hp={class:"sandbox_info"},Jp={class:"sandbox_environment"},Zp={class:"sandbox_environment_info"},Kp={class:"sandbox_environment_reboot"},Qp=["innerHTML"],Xp={class:"actioner-dns_footer"},t7=["disabled"],e7=["disabled"],a7=["disabled"],o7=I({props:{Close:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(0),d=E(!1),p=()=>{new Promise((v,x)=>{const k="/luci-static/resources/icons/loading.gif",_=()=>{window.setTimeout(h,2e3)},h=()=>{const m=new Image;m.onload=v,m.onerror=_,m.src=k};window.setTimeout(h,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},w=()=>{d.value=!0;const v=$.Loading(a("\u63D0\u4EA4\u4E2D..."));G.Nas.SandboxCommit.POST().then(x=>{var k,_;if(x!=null&&x.data)if((((k=x==null?void 0:x.data)==null?void 0:k.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(_=x==null?void 0:x.data)!=null&&_.error&&alert(x.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(x=>{$.Error(x),d.value=!1}).finally(()=>v.Close())},g=()=>{d.value=!0;const v=$.Loading(a("\u91CD\u7F6E\u4E2D..."));G.Nas.SandboxReset.POST().then(x=>{var k,_;if(x!=null&&x.data)if((((k=x==null?void 0:x.data)==null?void 0:k.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(_=x==null?void 0:x.data)!=null&&_.error&&alert(x.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(x=>{$.Error(x),d.value=!1}).finally(()=>v.Close())},c=()=>{if(!confirm(a("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;d.value=!0;const v=$.Loading(a("\u6267\u884C\u4E2D..."));G.Nas.SandboxExit.POST().then(x=>{var k,_;if(x!=null&&x.data)if((((k=x==null?void 0:x.data)==null?void 0:k.success)||0)==0){$.Loading(a("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(_=x==null?void 0:x.data)!=null&&_.error&&alert(x.data.error);throw a("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(x=>{$.Error(x),d.value=!1}).finally(()=>v.Close())},f=v=>{v.preventDefault(),n.Close&&n.Close()};return(v,x)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[u.value==0?(r(),s("div",qp,[t("div",Rp,[t("span",null,i(e(a)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Wp,[t("p",Hp,i(e(a)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",Jp,[t("p",null,i(e(a)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,i(e(a)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,i(e(a)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,i(e(a)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",Zp,[nt(i(e(a)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",Kp,i(e(a)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(a)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,Qp)])]),t("div",Xp,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w,disabled:d.value},i(e(a)("\u63D0\u4EA4")),9,t7),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:g,disabled:d.value},i(e(a)("\u91CD\u7F6E")),9,e7),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:c,disabled:d.value},i(e(a)("\u9000\u51FA")),9,a7),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},i(e(a)("\u53D6\u6D88")),1)])])):C("",!0)]),_:1},8,["Close"]))}});var n7=N(o7,[["__scopeId","data-v-3e084f0f"]]);const i7=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(n7,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},r7={class:"item_container"},s7=["onClick","title"],d7={class:"renew"},l7={key:0},u7={key:1,style:{display:"inline-block","margin-left":"4px"}},c7={class:"app-update-button-menu"},p7=["onClick"],f7={class:"app-update-menu-item"},m7={key:0,class:"app-update-menu-item-loading"},g7={class:"dns_txt"},v7={key:0,style:{display:"inline-block","margin-left":"4px"}},b7=I({setup(o){var P,A;const{$gettext:n}=H(),a=E(!0);(A=(P=window.quickstart_configs)==null?void 0:P.update)!=null&&A.disable&&(a.value=!1);const l=E(!1),u=E(a.value),d=E(!1),p=Me(),w=Fe(),g=Q(()=>w.status),c=E(),f=()=>{Oa()};At(u,B=>{d.value=!0,G.System.AutoCheckUpdate.POST({enable:B}).catch(S=>{$.Warning(S)}).finally(()=>{d.value=!1})});const v=()=>{window.location.href="/cgi-bin/luci/admin/system/ota"},x=()=>{window.location.href="/cgi-bin/luci/admin/status/logs"},k=()=>{window.location.href="/cgi-bin/luci/admin/store/pages/maintance"},_=()=>{Up()},h=()=>{i7()},m=()=>{alert(n("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},b=()=>{dp()},y=()=>{Va()},F=()=>{var B,S,R,V;window.open(`${(S=(B=window.quickstart_configs)==null?void 0:B.ttyd)!=null&&S.ssl?"https":"http"}://${window.location.hostname}:${((V=(R=window.quickstart_configs)==null?void 0:R.ttyd)==null?void 0:V.port)||7681}/`,"_blank")},Y=()=>{l.value=!l.value};return a.value&&setTimeout(()=>{p.requestCheckUpdate()},1100),Kt("sandbox")&&G.Nas.GetSandbox.GET().then(S=>{var R,V,T;S!=null&&S.data&&((((R=S==null?void 0:S.data)==null?void 0:R.success)||0)==0?(V=S==null?void 0:S.data)!=null&&V.result&&(c.value=S.data.result):(T=S==null?void 0:S.data)!=null&&T.error&&alert(S.data.error))}).catch(S=>$.Warning(S)),(B,S)=>{var T,M,W,bt,Bt,gt;const R=ht("icon-loading"),V=ht("switch-box");return r(),s("div",r7,[t("div",{class:"item",style:{backgroundColor:"#f3f7fd"},onClick:b},[D(p4,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u914D\u7F6E")),1)]),e(Kt)("ttyd")?(r(),s("div",{key:0,class:"item",style:{backgroundColor:"#f4fbf7"},onClick:F},[D(g4,{color:"#00c850",class:"icon"}),t("span",null,i(e(n)("\u7EC8\u7AEF")),1)])):C("",!0),e(Kt)("ota")?(r(),s("div",{key:1,class:"item",style:{backgroundColor:"#f9f7fd"},onClick:v},[t("span",{class:"app-update-button-more",onClick:ut(Y,["stop","prevent"]),title:e(n)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[D(Ee)],8,s7),D(Zt,{color:"#ad46ff",class:"icon"}),t("span",d7,[(T=e(p).checkUpdate)!=null&&T.needUpdate?(r(),s("i",l7)):C("",!0),nt(" "+i(e(n)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),a.value&&e(p).checkUpdate==null?(r(),s("span",u7,[D(R,{size:"1em",color:"currentColor"})])):C("",!0)]),L(t("div",c7,[t("div",{class:"menu_background",onClick:ut(Y,["stop","prevent"])},null,8,p7),t("ul",{onClick:S[1]||(S[1]=ut(()=>{},["stop"]))},[t("li",null,[D(V,{modelValue:u.value,"onUpdate:modelValue":S[0]||(S[0]=jt=>u.value=jt)},{default:j(()=>[t("span",f7,i(e(n)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),d.value?(r(),s("span",m7,[D(R,{size:"1em",color:"currentColor"})])):C("",!0)])])],512),[[te,l.value]])])):C("",!0),t("div",{class:st(["item",{"disabled-style":!((M=e(g))!=null&&M.proto)}]),style:{backgroundColor:"#f1fbfd"},onClick:f},[D(xe,{color:"#00b8db",class:"icon"}),t("span",g7,[nt(i(e(n)("DNS\u914D\u7F6E"))+" ",1),(W=e(g))!=null&&W.proto?C("",!0):(r(),s("span",v7,[D(R,{size:"1em",color:"currentColor"})]))])],2),t("div",{class:"item",style:{backgroundColor:"#fbf5fa"},onClick:y},[D(Ra,{color:"#f6339a",class:"icon"}),t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),e(Kt)("sandbox")?(r(),s(U,{key:2},[((bt=c.value)==null?void 0:bt.status)=="unsupport"?(r(),s("div",{key:0,class:"item",style:{backgroundColor:"#f9fafb"},onClick:m},[D(Je,{color:"#cac9cd",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((Bt=c.value)==null?void 0:Bt.status)=="stopped"?(r(),s("div",{key:1,class:"item",style:{backgroundColor:"#fbf4f5"},onClick:_},[D(Je,{color:"#fb2c36",class:"icon"}),t("span",null,i(e(n)("\u5F00\u542F\u6C99\u7BB1")),1)])):((gt=c.value)==null?void 0:gt.status)=="running"?(r(),s("div",{key:2,class:"item",style:{backgroundColor:"#dae8fd"},onClick:h},[D(Je,{color:"#2b7fff",class:"icon"}),t("span",null,i(e(n)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)])):C("",!0)],64)):C("",!0),t("div",{class:"item",style:{backgroundColor:"#fcf7f2"},onClick:x},[D(Wa,{color:"#ff6900",class:"icon"}),t("span",null,i(e(n)("\u65E5\u5FD7\u67E5\u770B")),1)]),t("div",{class:"item",style:{backgroundColor:"#eff5ff"},onClick:k},[D(ra,{color:"#553afe",class:"icon"}),t("span",null,i(e(n)("\u7CFB\u7EDF\u7EF4\u62A4")),1)])])}}});var h7=N(b7,[["__scopeId","data-v-c1428106"]]);const _7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},x7=["fill"],w7=["fill"],k7=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),s("svg",_7,[t("path",{d:"M746 112c82.84 0 150 67.16 150 150S828.84 412 746 412 596 344.84 596 262 663.16 112 746 112z m0 48C689.668 160 644 205.668 644 262S689.668 364 746 364 848 318.332 848 262 802.332 160 746 160zM746 612c82.84 0 150 67.16 150 150S828.84 912 746 912 596 844.84 596 762s67.16-150 150-150z m0 48c-56.332 0-102 45.668-102 102s45.668 102 102 102 102-45.668 102-102-45.668-102-102-102zM262 364c82.84 0 150 67.16 150 150S344.84 664 262 664 112 596.84 112 514 179.16 364 262 364z m0 48C205.668 412 160 457.668 160 514S205.668 616 262 616 364 570.332 364 514 318.332 412 262 412z",fill:o.color,"p-id":"5059"},null,8,x7),t("path",{d:"M337.7 442.744l293.488-169.62 40.464 70.16-293.484 169.62zM387.708 526.728l277.02 160.12-40.468 70.156-277.02-160.12z",fill:o.color,"p-id":"5060"},null,8,w7)]))}}),y7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},F7=["fill"],Ja=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",y7,[t("path",{d:"M827.84 886.4H187.9184375c-32.2659375 0-53.76-21.51375-53.76-53.784375V714.28625a53.889375 53.889375 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.35375a53.8940625 53.8940625 0 0 1-53.76 53.76z m-5.375625-172.11375H187.9184375v118.35375h634.5309375V714.28625z m-570 32.664375a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.865-26.88z m78.3403125 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875z m78.6 0a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.16875zM827.215625 624.9490625H187.2846875c-32.2603125 0-53.76-21.51375-53.76-53.784375V452.8353125a53.8940625 53.8940625 0 0 1 53.76-53.784375H827.196875a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.784375z m-5.38125-172.11375H187.285625v118.329375H821.815625V452.8353125z m-569.994375 31.9921875a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m77.889375 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8565625-26.88z m76.963125-0.403125a26.88 26.88 0 1 1-26.60625 27.1678125 26.88 26.88 0 0 1 26.5875-27.163125z m419.7890625-120.744375H186.56c-32.2509375 0-53.76-21.5278125-53.76-53.7984375V191.5521875a53.8940625 53.8940625 0 0 1 53.76-53.784375h639.9215625a53.8940625 53.8940625 0 0 1 53.76 53.784375v118.329375a53.8940625 53.8940625 0 0 1-53.76 53.7984375z m-5.3615625-172.1278125H186.56v118.329375h634.56V191.5521875z m-570.0140625 32.2753125a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.88-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8753125-26.88z m78.6046875 0a26.88 26.88 0 1 1-26.88 26.88 26.88 26.88 0 0 1 26.8846875-26.88z",fill:o.color,"p-id":"19012"},null,8,F7)]))}}),E7={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},$7=["fill"],C7=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),s("svg",E7,[t("path",{d:"M716.8 750.933333c47.786667 0 95.573333-27.306667 119.466667-68.266666 23.893333-40.96 23.893333-95.573333 0-136.533334-23.893333-40.96-68.266667-68.266667-119.466667-68.266666-10.24 0-17.066667-3.413333-23.893333-10.24-6.826667-6.826667-10.24-13.653333-10.24-23.893334 0-95.573333-75.093333-170.666667-170.666667-170.666666s-170.666667 75.093333-170.666667 170.666666v6.826667c81.92 23.893333 136.533333 95.573333 136.533334 180.906667 0 13.653333-6.826667 23.893333-17.066667 30.72-10.24 6.826667-23.893333 6.826667-34.133333 0-10.24-6.826667-17.066667-17.066667-17.066667-30.72 0-64.853333-54.613333-119.466667-119.466667-119.466667S170.666667 566.613333 170.666667 631.466667 225.28 750.933333 290.133333 750.933333H716.8zM296.96 819.2c-102.4 3.413333-187.733333-75.093333-194.56-177.493333-3.413333-102.4 75.093333-191.146667 177.493333-194.56 0-126.293333 95.573333-228.693333 221.866667-238.933334 122.88-6.826667 232.106667 81.92 249.173333 208.213334 105.813333 17.066667 180.906667 112.64 170.666667 218.453333-10.24 102.4-98.986667 184.32-204.8 184.32H296.96z",fill:o.color,"p-id":"8044"},null,8,$7)]))}}),D7={class:"app-container_samba"},B7={key:0,class:"sambas-item"},Y7={class:"sambas-item_name"},A7={class:"sambas-item_value"},S7={class:"sambas-item"},z7={class:"sambas-item_name tit"},P7={class:"sambas-item_value tit"},T7={class:"samba-item"},I7={class:"samba-item_name"},M7=["title"],L7=["href"],N7=I({props:{sambas:{type:Array}},setup(o){const{$gettext:n,$ngettext:a}=H(),l=window.location.hostname;return(u,d)=>{var p;return r(),s("ul",D7,[o.sambas?(r(),s("li",B7,[t("div",Y7,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",A7,[t("span",null,i((p=o.sambas)!=null&&p.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)])])):C("",!0),t("li",S7,[t("div",z7,[t("span",null,i(e(n)("\u5730\u5740")),1)]),t("div",P7,[t("span",null,i(e(n)("\u76EE\u5F55")),1)])]),(r(!0),s(U,null,tt(o.sambas,w=>(r(),s("li",T7,[t("div",I7,[t("span",null,"smb://"+i(e(l))+"/"+i(w.shareName),1)]),t("div",{class:"samba-item_value",title:w.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+w.path},i(w.path),9,L7)],8,M7)]))),256))])}}});var O7=N(N7,[["__scopeId","data-v-6c80f0b7"]]);const V7={class:"webdav-item"},G7={class:"webdav-item_name"},j7={class:"webdav-item_value"},U7={key:0,class:"webdav-item"},q7={class:"webdav-item_name"},R7={class:"webdav-item_value"},W7=["href"],H7={key:1,class:"webdav-item"},J7={class:"webdav-item_name"},Z7={class:"webdav-item_value"},K7=["href"],Q7={key:2,class:"webdav-item"},X7={class:"webdav-item_name"},tf={class:"webdav-item_value"},ef=I({props:{webdav:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var d;return`http://${location.hostname}:${(d=n.webdav)==null?void 0:d.port}`});return(d,p)=>{var w,g,c,f,v,x,k;return r(),s(U,null,[t("li",V7,[t("div",G7,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",j7,[t("span",null,i((w=o.webdav)!=null&&w.path?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])]),(g=o.webdav)!=null&&g.path?(r(),s("li",U7,[t("div",q7,[t("span",null,i(e(a)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",R7,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((c=o.webdav)==null?void 0:c.path)},i((f=o.webdav)==null?void 0:f.path),9,W7)])])):C("",!0),(v=o.webdav)!=null&&v.port?(r(),s("li",H7,[t("div",J7,[t("span",null,i(e(a)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",Z7,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,K7)])])):C("",!0),(x=o.webdav)!=null&&x.username?(r(),s("li",Q7,[t("div",X7,[t("span",null,i(e(a)("\u8D26\u53F7:")),1)]),t("div",tf,[t("span",null,i((k=o.webdav)==null?void 0:k.username),1)])])):C("",!0)],64)}}});var af=N(ef,[["__scopeId","data-v-9e39e9b2"]]);const of={class:"app-container_linkease"},nf={class:"linkease-item"},rf={class:"linkease-item_name"},sf={class:"linkease-item_value"},df={key:0,class:"configure"},lf={key:0,class:"linkease-item"},uf={class:"linkease-item_name"},cf={class:"linkease-item_value"},pf=["href"],ff={href:" https://app.linkease.com/",target:"_blank"},mf=I({props:{linkease:{type:Object}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var p;return`http://${location.hostname}:${(p=n.linkease)==null?void 0:p.port}`}),d=()=>{Ga({setup:0})};return(p,w)=>{var g,c,f;return r(),s("ul",of,[t("li",nf,[t("div",rf,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",sf,[(g=o.linkease)!=null&&g.enabel?(r(),s("span",df,i(e(a)("\u5DF2\u914D\u7F6E")),1)):(r(),s("span",{key:1,class:"configure enabel",onClick:w[0]||(w[0]=v=>d())},i(e(a)("\u672A\u914D\u7F6E")),1))])]),(c=o.linkease)!=null&&c.enabel?(r(),s(U,{key:0},[(f=o.linkease)!=null&&f.port?(r(),s("li",lf,[t("div",uf,[t("span",null,i(e(a)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",cf,[t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,pf)])])):C("",!0)],64)):C("",!0),t("div",null,[t("a",ff,i(e(a)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var gf=N(mf,[["__scopeId","data-v-485e1494"]]);const Za=o=>(it("data-v-7ee59a9a"),o=o(),rt(),o),vf={href:"/cgi-bin/luci/admin/services/samba4"},bf={class:"content"},hf={class:"tab"},_f={class:"title"},xf={key:0},wf={key:1},kf=Za(()=>t("div",{class:"title"},"SAMBA",-1)),yf=Za(()=>t("div",{class:"title"},"WEBDAV",-1)),Ff=I({setup(o){const{$gettext:n}=H(),a=E(!1);E("linkease");const l=E(),u=Jo(),d=E(!1);(()=>{G.Nas.Service.Status.GET().then(x=>{var k;if((k=x==null?void 0:x.data)!=null&&k.result){const _=x.data.result;l.value=_,_.webdav&&(u.webdav=_.webdav)}})})();const w=()=>{Ga({setup:0})},g=()=>{a.value=!a.value},c=()=>{g(),Dt.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")},f=E(0),v=x=>{f.value=x};return(x,k)=>(r(),Z(Rt,{title:e(n)("\u5B58\u50A8\u670D\u52A1"),style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":d.value,"onUpdate:isSettingsMenuOpen":k[4]||(k[4]=_=>d.value=_)},{icon:j(()=>[D(k7,{color:"#4f39f6",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:w},[D(ra,{color:"#0a0a0a",class:"icon1 settings-icon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u914D\u7F6E\u5B58\u50A8\u670D\u52A1")),1),t("div",{class:"rotation",onClick:k[0]||(k[0]=ut(_=>d.value=!d.value,["stop"]))},[D(Ee,{class:"moreIcon"})])])]),"settings-menu":j(()=>[t("div",null,[t("a",vf,i(e(n)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("div",null,[t("a",{onClick:c},i(e(n)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])]),default:j(()=>{var _,h,m,b,y,F,Y,P,A;return[t("div",bf,[t("div",hf,[t("div",{class:st(["item cloud",{active:f.value==0}]),onClick:k[1]||(k[1]=B=>v(0))},[D(C7,{color:"#155dfc",class:"icon2"}),t("div",_f,i(e(n)("\u6613\u6709\u4E91")),1),(h=(_=l.value)==null?void 0:_.linkease)!=null&&h.enabel?(r(),s("span",xf,i(e(n)("\u5DF2\u914D\u7F6E")),1)):(r(),s("span",wf,i(e(n)("\u672A\u914D\u7F6E")),1))],2),t("div",{class:st(["item memory",{active:f.value==1}]),onClick:k[2]||(k[2]=B=>v(1))},[D(Ja,{color:"#0bab47",class:"icon2"}),kf,t("span",null,i((b=(m=l.value)==null?void 0:m.sambas)!=null&&b.length?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2),t("div",{class:st(["item network",{active:f.value==2}]),onClick:k[3]||(k[3]=B=>v(2))},[D(xe,{color:"#9810fa",class:"icon2"}),yf,t("span",null,i((F=(y=l.value)==null?void 0:y.webdav)!=null&&F.path?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)],2)]),f.value==0?(r(),Z(gf,{key:0,linkease:(Y=l.value)==null?void 0:Y.linkease},null,8,["linkease"])):f.value==1?(r(),Z(O7,{key:1,sambas:(P=l.value)==null?void 0:P.sambas},null,8,["sambas"])):f.value==2?(r(),Z(af,{key:2,webdav:(A=l.value)==null?void 0:A.webdav},null,8,["webdav"])):C("",!0)])]}),_:1},8,["title","is-settings-menu-open"]))}});var Ef=N(Ff,[["__scopeId","data-v-7ee59a9a"]]);const $f={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Cf=["fill"],Df=["fill"],Fa=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",$f,[t("path",{d:"M554.688 682.624a42.688 42.688 0 0 0 0 85.376h0.448a42.688 42.688 0 1 0 0-85.376h-0.448zM767.488 682.624a42.688 42.688 0 0 0 0 85.376H768a42.688 42.688 0 1 0 0-85.376h-0.512z",fill:o.color,"p-id":"5230"},null,8,Cf),t("path",{d:"M465.28 96h93.44c59.456 0 106.88 0 144.96 4.48 39.36 4.48 72.128 14.08 100.992 35.584 28.8 21.44 47.424 50.112 63.104 86.464 15.232 35.2 28.8 80.64 45.952 137.6l52.48 174.848c1.28 4.48 2.752 9.28 3.584 14.336v0.32l0.192 1.216c0.64 5.12 0.64 10.048 0.64 14.72v3.392c0 72.704 0 130.304-5.632 175.68-5.824 46.592-18.112 84.736-45.952 115.84-4.992 5.568-10.304 10.88-15.936 15.872-31.104 27.84-69.184 40.128-115.84 45.952-45.312 5.696-102.912 5.696-175.616 5.696H412.352c-72.704 0-130.304 0-175.68-5.696-46.592-5.824-84.672-18.112-115.84-45.888a202.944 202.944 0 0 1-15.872-16c-27.84-31.04-40.128-69.12-45.952-115.84-5.696-45.312-5.696-102.912-5.696-175.616v-3.328c0-4.672 0-9.664 0.704-14.784v-0.32l0.192-1.216c0.832-5.056 2.24-9.856 3.584-14.272l52.48-174.912c17.088-56.96 30.72-102.4 45.952-137.6 15.68-36.352 34.304-65.024 63.104-86.4 28.8-21.504 61.632-31.104 100.992-35.712C358.4 96 405.76 96 465.28 96zM327.68 164.032c-33.152 3.84-53.632 11.072-70.144 23.36-16.512 12.288-29.376 29.824-42.56 60.48-13.568 31.424-26.176 73.28-43.968 132.544l-42.688 142.272h767.36l-42.688-142.272c-17.792-59.264-30.4-101.12-43.968-132.48-13.184-30.72-26.048-48.256-42.56-60.544-16.512-12.288-36.992-19.52-70.144-23.36C662.336 160 618.624 160 556.736 160H467.328c-61.952 0-105.6 0-139.648 4.032zM122.496 736.64c5.056 40.128 14.528 63.616 30.144 81.088 3.456 3.84 7.04 7.488 10.88 10.88 17.536 15.68 40.96 25.088 81.152 30.144 40.96 5.12 94.464 5.184 169.92 5.184h194.816c75.456 0 129.024 0 169.92-5.184 40.128-5.056 63.616-14.464 81.152-30.08 3.84-3.456 7.424-7.104 10.88-10.944 15.616-17.536 25.088-40.96 30.08-81.088 4.672-37.248 5.12-84.928 5.248-150.016H117.312c0.064 65.088 0.512 112.768 5.184 150.016z",fill:o.color,"p-id":"5231"},null,8,Df)]))}}),Bf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Yf=["fill"],Af=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",Bf,[t("path",{d:"M912 208H427.872l-50.368-94.176A63.936 63.936 0 0 0 321.056 80H112c-35.296 0-64 28.704-64 64v736c0 35.296 28.704 64 64 64h800c35.296 0 64-28.704 64-64v-608c0-35.296-28.704-64-64-64z m-800-64h209.056l68.448 128H912v97.984c-0.416 0-0.8-0.128-1.216-0.128H113.248c-0.416 0-0.8 0.128-1.248 0.128V144z m0 736v-96l1.248-350.144 798.752 1.216V784h0.064v96H112z",fill:o.color,"p-id":"5094"},null,8,Yf)]))}}),Sf={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},zf=["fill"],Pf=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Sf,[t("path",{d:"M136.12 251.958a83.054 83.054 0 0 1-0.12-4.458c0-32.903 19.447-58.344 41.115-75.981 21.984-17.893 51.365-32.231 84.13-43.511C327.163 105.315 415.641 92 511.5 92c95.859 0 184.337 13.315 250.255 36.008 32.765 11.28 62.146 25.618 84.13 43.511 20.221 16.458 38.506 39.713 40.86 69.485l0.255 0.002v532.88c0 32.888-19.031 58.62-40.776 76.719-21.978 18.294-51.385 32.976-84.207 44.53C696.011 918.373 607.438 932 511.5 932c-95.938 0-184.511-13.627-250.517-36.865-32.822-11.554-62.229-26.236-84.207-44.53C155.031 832.506 136 806.774 136 773.886V251.96l0.12-0.002z m79.88-4.459v0.002c0 0.016-0.003 0.151 0.098 0.491 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.49 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 310.459 422.067 323 511.5 323c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.606 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-0.014-0.012c-0.001-0.042-0.01-0.182-0.098-0.479-0.112-0.379-0.397-1.16-1.103-2.347-1.479-2.49-4.55-6.323-10.415-11.096-11.97-9.743-31.722-20.293-59.67-29.914C680.204 184.541 600.933 172 511.5 172c-89.433 0-168.704 12.541-224.214 31.651-27.948 9.621-47.7 20.171-59.67 29.914-5.865 4.773-8.936 8.606-10.415 11.096-0.706 1.187-0.991 1.968-1.103 2.347-0.101 0.34-0.098 0.475-0.098 0.491z m591 100.656c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 389.685 607.359 403 511.5 403c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v85.359c0.001 0.042 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 496.459 422.067 509 511.5 509c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-85.358z m-45.245 204.837C695.837 575.685 607.359 589 511.5 589c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837v70.359c0.001 0.041 0.01 0.182 0.098 0.478 0.112 0.379 0.397 1.16 1.103 2.347 1.479 2.489 4.55 6.323 10.415 11.096 11.97 9.743 31.722 20.293 59.67 29.914C342.796 667.459 422.067 680 511.5 680c89.433 0 168.704-12.541 224.214-31.651 27.948-9.621 47.7-20.171 59.67-29.914 5.865-4.773 8.936-8.607 10.415-11.096 0.706-1.187 0.991-1.968 1.103-2.347 0.088-0.297 0.097-0.437 0.098-0.479v-70.358c-13.955 7.052-29.194 13.311-45.245 18.837zM807 705.155c-13.955 7.052-29.194 13.311-45.245 18.837C695.837 746.685 607.359 760 511.5 760c-95.859 0-184.337-13.315-250.255-36.008-16.051-5.526-31.29-11.785-45.245-18.837V773.894c0 0.181-0.003 1.283 1.399 3.695 1.555 2.675 4.69 6.646 10.556 11.529 11.976 9.968 31.701 20.738 59.594 30.557C342.97 839.186 422.146 852 511.5 852c89.354 0 168.53-12.814 223.951-32.325 27.893-9.819 47.618-20.589 59.594-30.557 5.866-4.883 9.001-8.854 10.556-11.529 1.402-2.412 1.399-3.514 1.399-3.695v-68.739z",fill:o.color,"p-id":"9960"},null,8,zf)]))}}),Tf={},If={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"},Mf=Ot('',1),Lf=[Mf];function Nf(o,n){return r(),s("svg",If,Lf)}var Ea=N(Tf,[["render",Nf]]);const Of={},Vf={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"},Gf=Ot('',1),jf=[Gf];function Uf(o,n){return r(),s("svg",Vf,jf)}var qf=N(Of,[["render",Uf]]);const Ve=o=>(it("data-v-5f5fb500"),o=o(),rt(),o),Rf=["onSubmit"],Wf=Ve(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),Hf={class:"action-body"},Jf={class:"disk-info"},Zf=Ve(()=>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)),Kf={key:0,class:"disk-info_mount-name"},Qf={key:1,class:"disk-info_mount-name"},Xf={key:0,class:"label-item"},t9={class:"label-item_key"},e9={class:"label-item_path"},a9={class:"label-item"},o9={class:"label-item_key"},n9={class:"label-item_value"},i9={class:"action-footer"},r9=Ve(()=>t("div",{class:"auto"},null,-1)),s9=["disabled"],d9=["disabled"],l9={key:1,class:"action result"},u9={class:"action-body"},c9=Ve(()=>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)),p9={class:"action-body_msg"},f9=["innerHTML"],m9={class:"btns"},g9=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var h;const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close&&n.Close()},d=m=>{m.preventDefault(),n.Cancel&&n.Cancel(),u()},p=m=>{n.Next&&n.Next(m),u()},w=E(!1),g=E(0),c=E("/mnt/data_"+((h=n==null?void 0:n.mount)==null?void 0:h.name)),f=m=>{g.value=m};E(n.mount?"":"format"),E();const v=E(),x=()=>O(this,null,function*(){const m=n.mount;if(m==null){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(m.path==null||m.path==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(m.uuid==null||m.uuid==""){$.Warning(a("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}w.value=!0;const b=$.Loading(a("\u6302\u8F7D\u4E2D..."));try{const y=yield G.Nas.Disk.Partition.Mount.POST({path:m.path,uuid:m.uuid,mountPoint:c.value});if(y!=null&&y.data){const{result:F,error:Y}=y==null?void 0:y.data;Y&&$.Warning(Y),F&&($.Success(a("\u6302\u8F7D\u6210\u529F")),v.value=F,f(1))}}catch(y){$.Error(y)}b.Close(),w.value=!1}),k=()=>{if(v.value&&v.value.mountPoint){p(v.value.mountPoint);return}$.Warning(a("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},_=()=>{};return(m,b)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>{var y,F;return[g.value==0?(r(),s("form",{key:0,class:"action format",onSubmit:ut(_,["prevent"])},[Wf,t("div",Hf,[t("div",Jf,[Zf,o.mount?(r(),s("div",Kf,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint),1)])):o.disk?(r(),s("div",Qf,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):C("",!0)]),o.mount?(r(),s("div",Xf,[t("div",t9,[t("span",null,i(e(a)("\u76EE\u6807\u5206\u533A")),1)]),t("div",e9,i(o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF0C"+i((F=(y=o.mount)==null?void 0:y.filesystem)==null?void 0:F.toUpperCase())+"\uFF09",1)])):C("",!0),t("div",a9,[t("div",o9,[t("span",null,i(e(a)("\u6302\u8F7D\u70B9")),1)]),t("div",n9,[L(t("input",{type:"text","onUpdate:modelValue":b[0]||(b[0]=Y=>c.value=Y)},null,512),[[et,c.value,void 0,{trim:!0}]])])])]),t("div",i9,[r9,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value,onClick:x},i(e(a)("\u786E\u5B9A")),9,s9),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d,type:"button",disabled:w.value},i(e(a)("\u8FD4\u56DE")),9,d9)])],40,Rf)):g.value==1?(r(),s("div",l9,[t("div",u9,[c9,t("div",p9,i(e(a)("\u6302\u8F7D\u6210\u529F")),1),v.value?(r(),s("div",{key:0,class:"action-body_info",innerHTML:e(a)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:v.value.path||"",mount:v.value.mountPoint||""},!0)},null,8,f9)):C("",!0),t("div",m9,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:k},i(o.action=="nas"?e(a)("\u5B8C\u6210"):e(a)("\u4E0B\u4E00\u6B65")),1)])])])):C("",!0)]}),_:1})]),_:1}))}});var v9=N(g9,[["__scopeId","data-v-5f5fb500"]]),Ka=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(v9,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const b9={class:"disk-content"},h9={class:"disk-item"},_9={class:"disk-item_name"},x9={key:0},w9={key:1},k9={key:2},y9={class:"disk_value"},F9={class:"disk-item_value"},E9={class:"value-data"},$9={key:0,class:"disk-item"},C9={class:"disk-item_name"},D9={key:0},B9=["href"],Y9={key:0},A9={class:"disk_status"},S9={key:0,class:"disk_status_item"},z9={key:0,class:"tooltip-trigger disk_tip"},P9={class:"tooltip-text tooltip-top"},T9={class:"disk_dir_tip"},I9={class:"disk_status_item"},M9={key:0,class:"tooltip-trigger disk_tip"},L9={class:"tooltip-text tooltip-top"},N9={class:"disk_dir_tip"},O9=I({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>n.part.filesystem=="No FileSystem"),d=Q(()=>n.part.filesystem&&["ntfs","vfat","exfat"].indexOf(n.part.filesystem)>=0),p=Q(()=>n.part.mountPoint&&n.part.isReadOnly&&n.part.filesystem!="swap"),w=Q(()=>u.value||!n.part.isSystemRoot&&(p.value||d.value||!n.part.mountPoint&&n.part.filesystem=="swap")),g=function(){ua({action:"disk",disk:n.disk,mount:n.part,Cancel:()=>{},Next:k=>{location.reload()}})},c=()=>{Ka({action:"nas",disk:n.disk,mount:n.part,Cancel:()=>{},Next:()=>{location.reload()}})},f=()=>O(this,null,function*(){const k=$.Loading(a("\u5904\u7406\u4E2D..."));try{const _=yield G.Nas.Disk.InitRest.POST({name:n.disk.name,path:n.disk.path});if(_!=null&&_.data){const{result:h,error:m}=_==null?void 0:_.data;m&&$.Warning(m),h&&($.Success(a("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(_){$.Error(_)}k.Close()}),v=Q(()=>n.part.filesystem=="Free Space"),x=Q(()=>{const k=n.part.mountPoint?n.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,_)=>{var m;const h=ht("progress-item");return r(),s("div",b9,[t("li",h9,[t("div",_9,[e(v)?(r(),s("span",x9,i(e(a)("\u672A\u5206\u533A")),1)):(r(),s("span",w9,i(o.part.name)+i(o.part.mountPoint?"":e(u)?e(a)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(a)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(r(),s("span",k9,i(e(a)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):C("",!0)]),t("div",y9,[t("div",F9,[t("div",E9,[D(h,{value:e(v)||!o.part.usage?0:o.part.usage,text:e(v)?e(a)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(a)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(v)?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:f},i(e(a)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(w)?(r(),s("button",{key:1,class:"cbi-button cbi-button-apply",onClick:g},i(e(a)("\u683C\u5F0F\u5316\u5206\u533A")),1)):C("",!0)])]),!e(v)&&!e(u)?(r(),s("li",$9,[t("span",C9,[o.part.mountPoint?(r(),s(U,{key:0},[o.part.filesystem=="swap"?(r(),s("span",D9,i(e(a)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(r(),s("a",{key:1,href:e(x),target:"_blank"},i(o.part.mountPoint),9,B9))],64)):(r(),s(U,{key:1},[o.part.filesystem=="swap"?(r(),s("span",Y9,i(e(a)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(r(),s("span",{key:1,class:"value-data buttondiv",onClick:c},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",A9,[o.part.mountPoint&&o.part.filesystem!="swap"?(r(),s("div",S9,[t("div",null,i(e(a)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+i(o.part.isReadOnly?e(a)("\u53EA\u8BFB"):e(a)("\u8BFB\u5199")),1),e(p)?(r(),s("div",z9,[D(zt),t("div",P9,[t("div",T9,i(e(a)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):C("",!0)])):C("",!0),t("div",I9,[t("div",null,i(e(a)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+i((m=o.part.filesystem)==null?void 0:m.toUpperCase()),1),!o.part.isSystemRoot&&e(d)?(r(),s("div",M9,[D(zt),t("div",L9,[t("span",N9,i(e(a)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):C("",!0)])])])):C("",!0)])}}});var V9=N(O9,[["__scopeId","data-v-4e7285ca"]]);const G9=o=>(it("data-v-56d0d562"),o=o(),rt(),o),j9={key:0,class:"action"},U9={class:"title"},q9={class:"app-container_info"},R9={class:"app-container_body"},W9={class:"action-footer"},H9=G9(()=>t("div",{class:"auto"},null,-1)),J9=I({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(0),d=()=>{n.Close&&n.Close()},p=w=>{w.preventDefault(),n.Cancel&&n.Cancel(),d()};return(w,g)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[u.value==0?(r(),s("div",j9,[t("h2",U9,i(e(a)("\u5206\u533A\u4FE1\u606F"))+" - "+i((o.disk.name||"?")+(o.disk.isSystemRoot?e(a)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",q9,[t("span",null,i(e(a)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,i(e(a)("\u5BB9\u91CF")),1)]),t("div",R9,[(r(!0),s(U,null,tt(o.disk.childrens,(c,f)=>(r(),Z(V9,{key:f,part:c,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",W9,[H9,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p,type:"button"},i(e(a)("\u8FD4\u56DE")),1)])])):C("",!0)]),_:1})]),_:1},8,["Close"]))}});var Z9=N(J9,[["__scopeId","data-v-56d0d562"]]),K9=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(Z9,pt(lt({},o),{Close:()=>{l()}}));a.component("progress-item",Ma),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const Q9={class:"progress-bar-wrapper"},X9={key:0,class:"percentage-text"},tm={props:{percentage:{type:Number,default:0,validator:o=>o>=0&&o<=100},color:{type:String,default:"#4CAF50"},backgroundColor:{type:String,default:"#e0e0e0"},height:{type:[String,Number],default:"20px"},borderRadius:{type:[String,Number],default:"4px"},showPercentage:{type:Boolean,default:!0},gradient:{type:Boolean,default:!1},gradientColors:{type:String,default:"linear-gradient(90deg, #4CAF50, #45a049)"},duration:{type:Number,default:1e3}},setup(o){const n=o,a=Q(()=>({height:typeof n.height=="number"?`${n.height}px`:n.height,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,backgroundColor:n.backgroundColor,overflow:"hidden"})),l=Q(()=>{const u={height:"100%",width:`${n.percentage}%`,borderRadius:typeof n.borderRadius=="number"?`${n.borderRadius}px`:n.borderRadius,transition:`width ${n.duration}ms cubic-bezier(0.4, 0, 0.2, 1)`,position:"relative",overflow:"hidden"};return n.gradient?pt(lt({},u),{background:n.gradientColors}):pt(lt({},u),{background:n.color})});return(u,d)=>(r(),s("div",Q9,[t("div",{class:"progress-bar",style:ft(e(a))},[t("div",{class:"progress-fill",style:ft(e(l))},[o.showPercentage?(r(),s("span",X9,i(Math.round(o.percentage))+"% ",1)):C("",!0)],4)],4)]))}};var Qa=N(tm,[["__scopeId","data-v-2691c876"]]);const em={key:0,class:"disk-item error"},am=["title"],om={class:"disk-item_value"},nm={class:"value-data"},im={class:"error"},rm={key:1,class:"disk-item"},sm=["title"],dm={key:0,class:"disk_value"},lm={class:"value-data"},um={href:"/cgi-bin/luci/admin/nas/smart"},cm={class:"error"},pm={key:1,class:"disk_value"},fm={class:"disk-item_value"},mm={class:"value-data"},gm={class:"disk-item-tooltip"},vm={class:"disk_icon"},bm={key:0,class:"tooltip-trigger"},hm={class:"disk_tip"},_m={class:"tooltip-text tooltip-top"},xm={class:"disk_dir_tip"},wm={key:1,class:"tooltip-trigger"},km={class:"disk_tip"},ym={class:"tooltip-text tooltip-top"},Fm={class:"disk_dir_tip"},Em={key:2,class:"disk-item load"},$m=["title"],Cm={class:"disk_value"},Dm={class:"disk-item_value"},Bm={class:"value-data"},Ym={key:3,class:"disk-item load"},Am=["title"],Sm={class:"disk_value"},zm={key:0,class:"disk-item_value"},Pm={class:"value-data"},Tm={class:"disk_icon"},Im=I({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const n=o,{$gettext:a}=H(),l=Q(()=>n.disk.errorInfo?"error":n.disk.childrens==null||n.disk.childrens.length==0||n.disk.childrens.length==1&&n.disk.childrens[0].filesystem=="No FileSystem"?"load":n.disk.childrens.filter(c=>c.mountPoint).length==0?"unmounted":"success"),u=Q(()=>{const c=n.disk;let f=c.name;return c.size&&(f+=`\u3010${c.size}\u3011`),c.venderModel&&(f+=`(${c.venderModel})`),f}),d=Q(()=>{var f;const c=n.disk;return!c.isSystemRoot&&(((f=c.childrens)==null?void 0:f.filter(v=>v.isReadOnly&&v.filesystem!="swap").length)||0)>0}),p=()=>{ua({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},w=()=>{K9({action:"disk",disk:n.disk,Cancel:()=>{},Next:()=>{location.reload()}})},g=()=>{const c=n.disk,f=c.childrens||[];Ka({action:"nas",disk:c,mount:f[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(c,f)=>{var v,x,k;return e(l)=="error"?(r(),s("li",em,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,am),t("div",om,[t("div",nm,[t("span",im,i(o.disk.errorInfo),1)])])])):e(l)=="success"?(r(),s("li",rm,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,sm),o.disk.smartWarning&&o.smartWarning?(r(),s("div",dm,[t("div",lm,[t("a",um,[t("span",cm,i(e(a)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(r(),s("div",pm,[t("div",fm,[t("div",mm,[D(Qa,{percentage:o.disk.usage||0,showPercentage:!1,height:"10px",borderRadius:"10px",color:"#030213",backgroundColor:"#cdccd0"},null,8,["percentage"]),t("div",null,[t("span",null,i(e(a)("\u4F7F\u7528\u7387"))+"\uFF1A"+i(o.disk.usage||0)+"%",1),t("span",null,i(e(a)("\u53EF\u7528"))+"\uFF1A"+i(o.disk.total),1)])]),t("div",gm,[t("span",null,i(e(a)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",vm,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(r(),s("span",bm,[t("span",hm,[D(zt)]),t("div",null,[t("div",_m,[t("span",xm,i(e(a)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):C("",!0),e(d)?(r(),s("span",wm,[t("span",km,[D(zt)]),t("div",null,[t("div",ym,[t("span",Fm,i(e(a)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):C("",!0),e(d)&&((v=o.disk.childrens)==null?void 0:v.length)==1?(r(),s("span",{key:2,class:"disk_infoicon",onClick:f[0]||(f[0]=_=>p())},[D(qf)])):C("",!0),t("span",{class:"disk_infoicon",onClick:f[1]||(f[1]=_=>w())},[D(Ea,{style:{color:"var(--app-container_title-color)"}})])])]))])):e(l)=="load"?(r(),s("li",Em,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,$m),t("div",Cm,[t("div",Dm,[t("div",Bm,[t("button",{onClick:f[2]||(f[2]=_=>p())},i(e(a)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(l)=="unmounted"?(r(),s("li",Ym,[t("div",{class:"disk-item_name",title:e(u)},[t("span",null,i(e(u)),1)],8,Am),t("div",Sm,[((x=o.disk.childrens)==null?void 0:x.length)==1?(r(),s("div",zm,[t("div",Pm,[o.disk.childrens[0].filesystem=="swap"?(r(),s("button",{key:0,onClick:f[3]||(f[3]=_=>w())},i(e(a)("\u67E5\u770B\u8BE6\u60C5")),1)):(r(),s("button",{key:1,onClick:f[4]||(f[4]=_=>g())},i(e(a)("\u624B\u52A8\u6302\u8F7D")),1))])])):C("",!0),t("div",Tm,[(((k=o.disk.childrens)==null?void 0:k.length)||0)>1?(r(),s("span",{key:0,class:"disk_infoicon",onClick:f[5]||(f[5]=_=>w())},[D(Ea,{style:{color:"var(--app-container_title-color)"}})])):C("",!0)])])])):C("",!0)}}});var Ze=N(Im,[["__scopeId","data-v-bf7bcc14"]]);const Xa=o=>(it("data-v-30806f07"),o=o(),rt(),o),Mm={href:"/cgi-bin/luci/admin/nas/raid"},Lm=Xa(()=>t("div",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),Nm={href:"/cgi-bin/luci/admin/system/diskman"},Om={href:"/cgi-bin/luci/admin/system/mounts"},Vm={class:"content"},Gm={key:0,class:"disk_loading_icon"},jm={class:"disk_loading_info"},Um={class:"item",style:{"margin-top":"4px","padding-bottom":"0"}},qm={class:"icon_box"},Rm={class:"info"},Wm={class:"name"},Hm={class:"schedule"},Jm=Xa(()=>t("div",{class:"line"},null,-1)),Zm={class:"item"},Km={class:"icon_box",style:{background:"#f3e8ff"}},Qm={class:"info"},Xm={class:"name"},tg={class:"schedule"},eg={key:2,class:"item"},ag={class:"icon_box",style:{background:"#dbfce7"}},og={class:"info"},ng={class:"name"},ig={class:"schedule"},rg=I({setup(o){const{$gettext:n}=H(),a=E(!1),l=mt({disks:null,raidList:null}),u=()=>{G.Nas.Disk.Status.GET().then(w=>{var g;if((g=w==null?void 0:w.data)!=null&&g.result){const c=w.data.result;l.disks=c.disks||[]}})};(()=>O(this,null,function*(){try{const w=yield G.Raid.List.GET();if(w!=null&&w.data){const{success:g,error:c,result:f}=w.data;if(f&&(l.raidList=f.disks||[]),c)throw c}}catch(w){console.log(w)}}))(),u();const p=()=>{Dt.installAndGo("luci-app-linkease",n("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(w,g)=>{const c=ht("icon-loading");return r(),Z(Rt,{title:e(n)("\u78C1\u76D8\u4FE1\u606F"),style:{width:"100%",display:"block"},"is-settings-menu-open":a.value,"onUpdate:isSettingsMenuOpen":g[1]||(g[1]=f=>a.value=f)},{icon:j(()=>[D(Fa,{color:"#45556c",class:"icon"})]),settings:j(()=>[t("div",{class:"btn_settings",onClick:p},[D(Af,{color:"#0a0a0a",class:"icon1 interfaceIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u6587\u4EF6\u7BA1\u7406")),1),t("div",{class:"rotation",onClick:g[0]||(g[0]=ut(f=>a.value=!a.value,["stop"]))},[D(Ee,{class:"moreIcon"})])])]),"settings-menu":j(()=>[t("div",null,[t("a",Mm,i(e(n)("RAID\u7BA1\u7406")),1)]),Lm,t("div",null,[t("a",Nm,i(e(n)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("div",null,[t("a",Om,i(e(n)("\u6302\u8F7D\u70B9")),1)])]),default:j(()=>{var f,v;return[t("div",Vm,[!e(l).disks&&!e(l).raidList?(r(),s("div",Gm,[D(c,{size:38,color:"#888888"}),t("span",jm,i(e(n)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])):C("",!0),e(l).disks?(r(),s(U,{key:1},[t("div",Um,[t("div",qm,[D(Fa,{color:"#2b6cfc",class:"icon"})]),t("div",Rm,[t("div",Wm,[t("div",null,i(e(n)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",Hm,[(r(!0),s(U,null,tt((f=e(l).disks)==null?void 0:f.filter(x=>x.isSystemRoot),(x,k)=>(r(),Z(Ze,{key:k,disk:x},null,8,["disk"]))),128))])])]),Jm,t("div",Zm,[t("div",Km,[D(Pf,{class:"icon"})]),t("div",Qm,[t("div",Xm,[t("div",null,i(e(n)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",tg,[(r(!0),s(U,null,tt((v=e(l).disks)==null?void 0:v.filter(x=>!x.isSystemRoot),(x,k)=>(r(),Z(Ze,{key:k,disk:x,smartWarning:!0},null,8,["disk"]))),128))])])])],64)):C("",!0),e(l).raidList&&e(l).raidList.length>0?(r(),s("div",eg,[t("div",ag,[D(Ja,{color:"#0bab47",class:"icon"})]),t("div",og,[t("div",ng,[t("div",null,i(e(n)("RAID\u8BBE\u5907")),1)]),t("div",ig,[(r(!0),s(U,null,tt(e(l).raidList,(x,k)=>(r(),Z(Ze,{key:k,disk:x},null,8,["disk"]))),128))])])])):C("",!0)])]}),_:1},8,["title","is-settings-menu-open"])}}});var sg=N(rg,[["__scopeId","data-v-30806f07"]]);const dg={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},lg=["fill"],$a=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",dg,[t("path",{d:"M473.950316 63.164632l488.070737 234.226526v414.234947l-337.92 200.111158-502.837895-295.019789V223.447579l352.687158-160.282947zM200.434526 306.661053V571.284211l383.892211 225.28V510.113684L200.434526 306.661053z m682.253474 82.728421l-219.082105 120.400842v286.396631l219.082105-129.670736V389.335579z m-409.761684-238.753685L258.910316 247.915789l364.759579 193.374316 212.075789-116.520421-362.819368-174.08z",fill:o.color,"p-id":"6174"},null,8,lg)]))}}),ug=o=>(it("data-v-5d803f28"),o=o(),rt(),o),cg={class:"app-container_docker"},pg={class:"docker-item"},fg={class:"docker-item_name"},mg={key:0,class:"docker-item_value"},gg={class:"configure"},vg={key:1,class:"docker-item_value"},bg={class:"input-switch"},hg=["value","disabled"],_g=ug(()=>t("em",null,null,-1)),xg=[_g],wg={key:0,class:"status-icon"},kg={key:1,class:"status-icon",style:{background:"#e9ebef",color:"#4a5565"}},yg={key:0,class:"content"},Fg={class:"docker-item_name"},Eg={class:"docker_box"},$g={class:"path"},Cg={key:0},Dg={class:"tooltip-trigger"},Bg={class:"docker_tip"},Yg={class:"tooltip-text tooltip-top"},Ag={class:"docker_dir_tip"},Sg=I({props:{docker:{type:Object}},setup(o){var w;const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>{var g;return((g=n.docker)==null?void 0:g.status)!="not installed"}),d=mt({enable:((w=n.docker)==null?void 0:w.status)=="running",disabled:!1}),p=()=>O(this,null,function*(){d.disabled=!0;try{const g=yield G.Guide.DockerSwitch.POST({enable:d.enable});if(g!=null&&g.data){const{success:c,error:f}=g.data;if(f)throw d.enable=!d.enable,f;(c||0)==0}}catch(g){$.Warning(`${g}`)}finally{d.disabled=!1}});return(g,c)=>{var f,v,x,k;return r(),s("ul",cg,[t("li",pg,[t("div",fg,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),(f=n.docker)!=null&&f.status?(r(),s(U,{key:0},[e(u)?(r(),s("div",vg,[t("label",bg,[L(t("input",{type:"checkbox",hidden:"",value:!e(d).enable,"onUpdate:modelValue":c[0]||(c[0]=_=>e(d).enable=_),disabled:e(d).disabled,onChange:p},null,40,hg),[[qt,e(d).enable]]),t("span",{class:st(e(d).enable?"enable":"close")},xg,2)]),e(d).enable?(r(),s("span",wg,i(e(a)("\u8FD0\u884C\u4E2D")),1)):C("",!0),e(d).enable?C("",!0):(r(),s("span",kg,i(e(a)("\u672A\u542F\u7528")),1))])):(r(),s("div",mg,[t("span",gg,i(e(a)("\u672A\u5B89\u88C5")),1)]))],64)):C("",!0)]),((v=o.docker)==null?void 0:v.status)=="running"?(r(),s("li",yg,[t("div",Fg,[t("span",{style:ft({color:"var(--app-container_title-color)"})},i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),5)]),t("div",Eg,[t("div",$g,i((x=o.docker)==null?void 0:x.path),1),(k=o.docker)!=null&&k.errorInfo?(r(),s("span",Cg,[t("span",Dg,[t("span",Bg,[D(zt)]),t("div",null,[t("div",Yg,[t("span",Ag,i(o.docker.errorInfo),1)])])])])):C("",!0)])])):C("",!0)])}}});var zg=N(Sg,[["__scopeId","data-v-5d803f28"]]);const Pg={},Tg={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"},Ig=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),Mg=[Ig];function Lg(o,n){return r(),s("svg",Tg,Mg)}var Ng=N(Pg,[["render",Lg]]);const Og={key:0,class:"action"},Vg={class:"title"},Gg={class:"desc"},jg={class:"roots"},Ug={class:"roots_tit"},qg={class:"root"},Rg={class:"move"},Wg={class:"roots_tit"},Hg={key:0},Jg=["onSubmit"],Zg={class:"select-editable"},Kg={selected:"",value:null},Qg=["value"],Xg={value:"useInput"},tv=["placeholder"],ev={key:1,class:"tips"},av={class:"tips_content"},ov={class:"tip"},nv={key:0,class:"btns"},iv={key:1,class:"btns"},rv={key:1,class:"action docker_success"},sv={class:"title"},dv={class:"finished"},lv={class:"successed"},uv={class:"btns"},cv={key:2,class:"action docker_download"},pv={class:"title"},fv={class:"finished"},mv={class:"successed"},gv={class:"docker_moves"},vv={class:"moves change"},bv={for:"move"},hv={class:"moves"},_v={for:"cover"},xv={class:"btns"},wv=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(),d=E(),p=E(0),w=E("null"),g=E(""),c=E(),f=E(!1),v=E("");(()=>{G.Nas.Disk.Status.GET().then(F=>{F!=null&&F.data.result&&(c.value=F==null?void 0:F.data.result)}),G.Guide.DockerStatus.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const P=F.data.result;u.value=P}}),G.Guide.DockerPartitionList.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const P=F.data.result;d.value=P}})})();const k=F=>{let Y=w.value;if(Y=="useInput"&&(Y=g.value),Y==null||Y=="null"||Y=="")return;const P=$.Loading(a("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));G.Guide.DockerTransfer.POST({path:Y,force:F,overwriteDir:!!v.value}).then(A=>{var B;if(A!=null&&A.data){if((A.data.success||0)==0){if((B=A.data.result)!=null&&B.emptyPathWarning){f.value=!0,p.value=2;return}p.value=1;return}else if(A.data.error)throw A.data.error}throw a("\u672A\u77E5\u9519\u8BEF")}).catch(A=>{$.Error(A)}).finally(()=>P.Close())},_=()=>{f.value=!1,k(!1)},h=F=>{F.preventDefault(),n.Close&&n.Close()},m=F=>{F.preventDefault(),location.reload()},b=F=>{F.preventDefault(),p.value=0},y=F=>{F.preventDefault(),k(!0)};return(F,Y)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>{var P,A,B,S,R,V;return[p.value==0?(r(),s("div",Og,[t("h2",Vg,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",Gg,i(e(a)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",jg,[t("span",Ug,i(e(a)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",qg,i((P=u.value)==null?void 0:P.path),1)]),t("div",Rg,[t("span",Wg,i(e(a)("\u8FC1\u79FB\u5230\uFF1A")),1),(B=(A=d.value)==null?void 0:A.partitionList)!=null&&B.length?(r(),s("div",Hg,[t("form",{onSubmit:ut(_,["prevent"])},[t("label",null,[t("div",Zg,[L(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=T=>w.value=T)},[t("option",Kg,i(e(a)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(r(!0),s(U,null,tt((S=d.value)==null?void 0:S.partitionList,(T,M)=>(r(),s("option",{value:T,key:M},i(T),9,Qg))),128)),t("option",Xg,i(e(a)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[dt,w.value,void 0,{trim:!0}]]),w.value=="useInput"?L((r(),s("input",{key:0,type:"text","onUpdate:modelValue":Y[1]||(Y[1]=T=>g.value=T),required:"",placeholder:e(a)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,tv)),[[et,g.value,void 0,{trim:!0}]]):C("",!0)])])],40,Jg)])):d.value?(r(),s("div",ev,[t("div",av,[D(zt),t("span",ov,i(e(a)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):C("",!0)]),(V=(R=d.value)==null?void 0:R.partitionList)!=null&&V.length?(r(),s("div",nv,[t("button",{class:"cbi-button cbi-button-apply",onClick:_},i(e(a)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:h},i(e(a)("\u53D6\u6D88")),1)])):(r(),s("div",iv,[t("button",{class:"cbi-button cbi-button-apply",onClick:h},i(e(a)("\u786E\u5B9A")),1)]))])):p.value==1?(r(),s("div",rv,[t("h2",sv,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",dv,[D(sa)]),t("p",lv,i(e(a)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",uv,[t("button",{class:"cbi-button cbi-button-apply",onClick:m},i(e(a)("\u786E\u5B9A")),1)])])):p.value==2?(r(),s("div",cv,[t("h2",pv,i(e(a)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",fv,[D(Ng)]),t("p",mv,i(e(a)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",gv,[t("div",vv,[L(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":Y[2]||(Y[2]=T=>v.value=T),value:""},null,512),[[Ft,v.value]]),t("label",bv,i(e(a)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",hv,[L(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":Y[3]||(Y[3]=T=>v.value=T),value:"true"},null,512),[[Ft,v.value]]),t("label",_v,i(e(a)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",xv,[f.value?(r(),s("button",{key:0,class:"cbi-button cbi-button-apply",onClick:y},i(e(a)("\u786E\u5B9A")),1)):C("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:b},i(e(a)("\u8FD4\u56DE")),1),f.value?C("",!0):(r(),s("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:m},i(e(a)("\u53D6\u6D88")),1))])])):C("",!0)]}),_:1},8,["Close"]))}});var kv=N(wv,[["__scopeId","data-v-81932f72"]]);const yv=()=>{const o=document.createElement("div");document.body.appendChild(o);const n=vt(kv,{Close:()=>{a()}});n.mount(o);const a=()=>{n.unmount(),o.remove()};return{Close:a}},Fv={href:"/cgi-bin/luci/admin/docker/overview"},Ev={key:0,class:"content"},$v={key:1,class:"content",style:{display:"flex","justify-content":"center"}},Cv=I({setup(o){const{$gettext:n}=H(),a=E(!1),l=E(),u=E(!1),d=()=>{yv()};return setTimeout(()=>{G.Guide.DockerStatus.GET().then(w=>{var g;if((g=w==null?void 0:w.data)!=null&&g.result){const c=w.data.result;l.value=c}}).finally(()=>{a.value=!0})},1100),(w,g)=>{var f;const c=ht("icon-loading");return r(),Z(Rt,{title:"Docker",showSettings:!0,onFooterClick:d,style:{width:"100%",height:"100%",display:"block"},"is-settings-menu-open":u.value,"onUpdate:isSettingsMenuOpen":g[1]||(g[1]=v=>u.value=v)},xo({icon:j(()=>[D($a,{color:"#155dfc",class:"icon"})]),settings:j(()=>{var v;return[t("div",{class:"btn_settings",onClick:d},[D($a,{color:"#0a0a0a",class:"icon1 dockerIcon",style:{"margin-right":"6px"}}),t("span",null,i(e(n)("\u7BA1\u7406\u5BB9\u5668")),1),((v=l.value)==null?void 0:v.status)==="running"?(r(),s("div",{key:0,class:"rotation",onClick:g[0]||(g[0]=ut(x=>u.value=!u.value,["stop"]))},[D(Ee,{class:"moreIcon"})])):C("",!0)])]}),default:j(()=>[a.value?(r(),s("div",Ev,[D(zg,{docker:l.value},null,8,["docker"])])):(r(),s("div",$v,[D(c,{size:40,color:"currentColor"})]))]),_:2},[((f=l.value)==null?void 0:f.status)==="running"?{name:"settings-menu",fn:j(()=>[t("div",null,[t("a",Fv,i(e(n)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])}:void 0]),1032,["is-settings-menu-open"])}}});var Dv=N(Cv,[["__scopeId","data-v-faa89494"]]);const Bv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Yv=["fill"],Av=["fill"],to=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",Bv,[t("path",{d:"M577.78 355.55H449.62c-52.93 0-96 43.07-96 96V579.7c0 52.93 43.07 96 96 96h128.15c52.93 0 96-43.07 96-96V451.55c0.01-52.93-43.06-96-95.99-96z m32 224.15c0 17.64-14.36 32-32 32H449.62c-17.65 0-32-14.36-32-32V451.55c0-17.65 14.35-32 32-32h128.15c17.64 0 32 14.35 32 32V579.7z",fill:o.color,"p-id":"5378"},null,8,Yv),t("path",{d:"M927.33 547.13c17.67 0 32-14.33 32-32s-14.33-32-32-32h-62.44V355.2h62.44c17.67 0 32-14.33 32-32s-14.33-32-32-32h-64.37c-10.34-64.43-61.3-115.45-125.69-125.87v-64.19c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H545.34v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v62.22H353.2v-62.22c0-17.67-14.33-32-32-32s-32 14.33-32 32v64.16c-64.46 10.37-115.49 61.42-125.83 125.9H99.14c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v127.93h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h62.3v128.14h-62.3c-17.67 0-32 14.33-32 32s14.33 32 32 32h64.28c10.45 64.34 61.42 115.25 125.79 125.61v64.46c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h128.14v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-62.51h127.93v62.51c0 17.67 14.33 32 32 32s32-14.33 32-32v-64.48c64.3-10.41 115.2-61.29 125.64-125.58h64.42c17.67 0 32-14.33 32-32s-14.33-32-32-32H864.9V547.13h62.43zM800.89 714.82c0 48.52-39.48 88-88 88H313.44c-48.52 0-88-39.48-88-88V315.36c0-48.52 39.48-88 88-88H712.9c48.52 0 88 39.48 88 88v399.46z",fill:o.color,"p-id":"5379"},null,8,Av)]))}}),Sv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},zv=["fill"],Pv=I({props:{color:{type:String,default:"#ef4444"}},setup(o){return(n,a)=>(r(),s("svg",Sv,[t("path",{d:"M520 75c72.899 0 132.133 58.543 133.31 131.209l0.018 2.206v399.237C700.759 646.978 729 705.514 729 768.714c0 84.846-50.493 157.892-123.051 190.69C579.509 971.959 549.966 979 518.85 979c-57.133 0-108.962-23.737-146.008-61.784C334.65 879.324 311 826.783 311 768.714c0-63.27 28.313-121.806 75.67-161.065l0.002-399.234C386.672 134.732 446.365 75 520 75z m0 59.807c-40.22 0-72.9 32.3-73.55 72.39l-0.01 1.218v403.457c4.008 12.048-0.02 25.747-10.721 33.573l-0.619 0.441c-40.008 27.753-64.332 73.214-64.332 122.828 0 82.472 66.813 149.33 149.232 149.33s149.232-66.858 149.232-149.33c0-47.591-22.367-91.397-59.645-119.44l-1.134-0.846a29.773 29.773 0 0 1-10.972-15.751 29.763 29.763 0 0 1-3.913-14.111l-0.008-0.706V208.415c0-40.653-32.934-73.608-73.56-73.608z m-2.299 236.926c4.41 0 8.66 0.69 12.647 1.968 16.826 4.965 29.19 20.52 29.19 38.81l0.002 240.184c47.972 17.182 82.294 63.07 82.294 116.982 0 6.94-0.568 13.747-1.662 20.376-6.746 60.536-58.728 108.02-121.321 108.02-47.223 0-88.407-27.027-108.683-66.296-10.557-18.27-16.6-39.479-16.6-62.1 0-54.083 34.542-100.093 82.754-117.145l0.002-239.422c0-22.852 18.525-41.377 41.377-41.377z",fill:o.color,"p-id":"4599"},null,8,zv)]))}}),Tv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Iv=["fill"],eo=I({props:{color:{type:String,default:"#222222"}},setup(o){return(n,a)=>(r(),s("svg",Tv,[t("path",{d:"M760.1 64l-150 262.7-41 71.8c-6.1 10.7 1.6 23.9 13.9 23.9h104.7c13.9 0 21.2 16.6 11.8 26.9L410.8 761.9l59.5-178.5 21.1-63.2c3.5-10.4-4.3-21.1-15.2-21.1H277.8c-11.6 0-19.4-12-14.6-22.6l179-393.8c5.2-11.4 16.6-18.8 29.1-18.8h288.8M450.8 0c-25.1 0-47.9 14.7-58.3 37.5L194.7 472.7c-19.3 42.4 11.7 90.5 58.3 90.5h145.5c5.5 0 9.3 5.3 7.6 10.5L256 1024l515.3-558.2c37.8-41 8.8-107.4-47-107.4h-44.8c-6.1 0-10-6.6-6.9-12L870.4 0H450.8z","p-id":"4712",fill:o.color},null,8,Iv)]))}}),Mv={key:0,class:"center-content"},Lv=I({props:{value:null,color:null,icon:null,label:null,width:null,height:null},setup(o){const n=o;Qe([wo,Xe,ta]);const a=E(null);let l=null;function u(w,g){return{tooltip:{show:!1},series:[{type:"pie",radius:["75%","90%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},z:1,zlevel:0,data:[{value:w,itemStyle:{color:g||"#409EFF"}},{value:Math.max(0,100-w),itemStyle:{color:"#f0f0f0"}}]}]}}const d=()=>{!a.value||(l=l!=null?l:ea(a.value),l.setOption(u(n.value,n.color)))};Yt(()=>O(this,null,function*(){yield oa(),d(),window.addEventListener("resize",p)}));function p(){l==null||l.resize()}return At(()=>[n.value,n.color],()=>{l?l.setOption({series:[{z:1,zlevel:0,data:[{value:n.value,itemStyle:{color:n.color||"#409EFF"}},{value:Math.max(0,100-n.value),itemStyle:{color:"#f0f0f0"}}]}]}):d()},{immediate:!0}),ke(()=>{window.removeEventListener("resize",p),l==null||l.dispose(),l=null}),(w,g)=>(r(),s("div",{class:"pie-chart-wrapper",style:ft({width:o.width||"120px",height:o.height||"120px"})},[t("div",{ref_key:"chartDom",ref:a,class:"chart-dom"},null,512),o.icon||o.label?(r(),s("div",Mv,[o.icon==="chip"?(r(),Z(to,{key:0,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="temperature"?(r(),Z(Pv,{key:1,color:o.color,class:"center-icon"},null,8,["color"])):o.icon==="lightning"?(r(),Z(eo,{key:2,color:o.color,class:"center-icon"},null,8,["color"])):C("",!0),o.label?(r(),s("div",{key:3,class:"center-label",style:ft({color:o.color})},i(o.label),5)):C("",!0)])):C("",!0)],4))}});var Ke=N(Lv,[["__scopeId","data-v-a9cd39ac"]]);const Nv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},Ov=["fill"],Vv=I({props:{color:{type:String,default:"#0a0a0a"}},setup(o){return(n,a)=>(r(),s("svg",Nv,[t("path",{d:"M868.95177918 215.34678468H274.11312994c-10.26749627 0-19.00277466 3.6151618-26.30943653 10.88910739-7.22487113 7.23032433-10.89456058 15.97650768-10.89456059 26.20583515v370.75858453c0 10.24023245 3.66968946 18.95370022 10.89456059 26.22764579 7.30666259 7.22487113 16.04194099 10.86184429 26.30943653 10.86184429h594.83864924c10.28385442 0 19.04094415-3.63697315 26.28217344-10.86184429 7.30120941-7.27394558 10.9218244-15.98741334 10.92182439-26.22764579V252.44172722c0-10.2293275-3.62061501-18.97551083-10.92727686-26.20583516-7.23577681-7.27394558-15.99286582-10.8891081-26.27672097-10.88910738M274.09131931 141.21142578h594.83864924c30.77522572 0 57.07375657 10.86729676 78.86287773 32.59643853 21.78912116 21.74004671 32.66187112 47.91861806 32.66187114 78.62841045v370.76403699c0 30.68798176-10.87274996 56.91562756-32.66187114 78.63386293-21.78912116 21.72914105-48.08765274 32.59643853-78.86287773 32.59643851H608.68737796v74.15716953h111.5465602c10.26204379 0 19.03003849 3.6151618 26.28217344 10.8891081 7.29030445 7.22487113 10.91091874 15.97650768 10.91091872 26.20583518 0 10.24023245-3.62061501 18.98641651-10.91637192 26.20038195-7.25213496 7.28485125-16.01467717 10.90001305-26.27672024 10.90001379H422.80370787c-10.27840195 0-19.0191328-3.6151618-26.30943728-10.90001379-7.25213496-7.21396618-10.89456058-15.96014952-10.89456056-26.20038195 0-10.23477998 3.6478781-18.97551083 10.89456056-26.20583518 7.29030445-7.27394558 16.03103531-10.8891081 26.30943728-10.8891081h111.53565452v-74.15716953H274.09131931c-30.79703633 0-57.09011544-10.86729676-78.86287845-32.59643851C173.43931968 680.11593931 162.54475911 653.88829351 162.54475911 623.20031175V252.44172722C162.54475911 221.72648236 173.43931968 195.54791102 195.22844086 173.80786431 217.00665706 152.07872254 243.29428298 141.21142578 274.09131931 141.21142578","p-id":"6454",fill:o.color},null,8,Ov)]))}}),Gv={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},jv=["fill"],Uv=["fill"],qv=I({props:{color:{type:String,default:"#333333"}},setup(o){return(n,a)=>(r(),s("svg",Gv,[t("path",{d:"M512 458.67c-8.66 0-15.69 7.02-15.69 15.69v125.49c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-125.5c0-8.66-7.03-15.68-15.69-15.68z m-31.37-26.98h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v103.53h-15.69c-8.66 0-15.69 7.02-15.69 15.69 0.01 8.66 7.03 15.69 15.7 15.69z m219.61 53.33c-8.66 0-15.69 7.02-15.69 15.69V601.1c0 8.66 7.02 15.69 15.69 15.69s15.69-7.02 15.69-15.69v-99.76c0.35-8.66-6.39-15.95-15.05-16.3-0.22-0.02-0.43-0.02-0.64-0.02z m-31.38-27.61h62.75c8.66 0 15.69-7.02 15.69-15.69 0-8.66-7.02-15.69-15.69-15.69h-14.43V296.78c0-8.66-7.02-15.69-15.69-15.69s-15.69 7.02-15.69 15.69v125.49h-16.94c-8.66 0-15.69 7.02-15.69 15.69 0 8.66 7.02 15.69 15.69 15.69v3.76z m-376.47 32.63h62.75c8.66 0 15.69-7.02 15.69-15.69s-7.02-15.69-15.69-15.69h-15.69V296.78c0-8.66-7.02-15.69-15.69-15.69-8.66 0-15.69 7.02-15.69 15.69v161.88h-15.69c-8.66 0-15.69 7.02-15.69 15.69s7.04 15.69 15.7 15.69z m31.37 32c-8.66 0-15.69 7.02-15.69 15.69v62.75c0 8.66 7.02 15.69 15.69 15.69 8.66 0 15.69-7.02 15.69-15.69v-62.75c0-8.67-7.02-15.69-15.69-15.69z",fill:o.color,"p-id":"15217"},null,8,jv),t("path",{d:"M870 116.39H154c-49.71 0-90 40.29-90 90v485.1c0 49.71 40.29 90 90 90h716c49.71 0 90-40.29 90-90v-485.1c0-49.7-40.29-90-90-90z m50 565.1c0 33.14-26.86 60-60 60H164c-33.14 0-60-26.86-60-60v-465.1c0-33.14 26.86-60 60-60h696c33.14 0 60 26.86 60 60v465.1zM680.24 907.61H343.76c-11.05 0-20-8.95-20-20s8.95-20 20-20h336.48c11.05 0 20 8.95 20 20 0 11.04-8.96 20-20 20z",fill:o.color,"p-id":"15218"},null,8,Uv)]))}}),Rv={href:"/cgi-bin/luci/admin/system/flash"},Wv={href:"/cgi-bin/luci/admin/store/pages/maintance"},Hv={class:"content"},Jv={class:"chart_box"},Zv={class:"chart"},Kv={class:"chart"},Qv={class:"chart"},Xv={class:"info"},tb={class:"item1 bgcolor1"},eb={style:{"font-weight":"bold","margin-top":"2px"}},ab={class:"item1 bgcolor2"},ob={style:{"font-weight":"bold","margin-top":"2px"}},nb={class:"item"},ib={class:"item"},rb=I({setup(o){const{$gettext:n}=H(),a=Me(),l=Q(()=>a.version),u=Q(()=>a.systemStatus),d=E(!1),p=Q(()=>{var h;return((h=u.value)==null?void 0:h.cpuUsage)||0}),w=Q(()=>{var h;return((h=u.value)==null?void 0:h.cpuTemperature)||0}),g=Q(()=>{var m;const h=((m=u.value)==null?void 0:m.memAvailablePercentage)||100;return 100-h}),c=Q(()=>{const h=p.value;return h<31?"#3b82f6":h>=31&&h<60?"#f59e0b":"#ef4444"}),f=Q(()=>{const h=w.value;return h<=55?"#22c55e":h>55&&h<=70?"#f97316":"#dc2626"}),v=Q(()=>{const h=g.value;return h<31?"#8b5cf6":h>=31&&h<60?"#fb923c":"#b91c1c"}),x=Pt.stampForm;Yt(()=>{});const k=()=>{d.value=!d.value},_=()=>{k(),Dt.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(h,m)=>(r(),Z(Rt,{title:e(n)("\u7CFB\u7EDF\u4FE1\u606F"),showFooter:!1,style:{width:"100%",height:"100%",display:"block"}},{icon:j(()=>[D(Vv,{class:"icon computerIcon"})]),"settings-menu":j(()=>[t("div",null,[t("a",{onClick:_},i(e(n)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("div",null,[t("a",Rv,i(e(n)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("div",null,[t("a",Wv,i(e(n)("\u63D2\u4EF6\u5907\u4EFD")),1)])]),default:j(()=>{var b,y,F,Y,P;return[t("div",Hv,[t("div",Jv,[t("div",Zv,[D(Ke,{value:e(p),color:e(c),icon:"chip",label:`${e(p)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u4F7F\u7528\u7387")),1)]),t("div",Kv,[D(Ke,{value:e(w)/1.5,color:e(f),icon:"temperature",label:`${e(w)}\u2103`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("CPU\u6E29\u5EA6")),1)]),t("div",Qv,[D(Ke,{value:e(g),color:e(v),icon:"lightning",label:`${e(g)}%`,width:"150px",height:"150px"},null,8,["value","color","label"]),t("div",null,i(e(n)("\u5185\u5B58\u4F7F\u7528\u7387")),1)])]),t("div",Xv,[t("div",tb,[t("div",null,[D(to,{color:"#155dfc",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u8BBE\u5907\u578B\u53F7")),1)]),t("span",eb,i((b=e(l))==null?void 0:b.model),1)]),t("div",ab,[t("div",null,[D(qv,{color:"#00a63e",class:"icon1",style:{"margin-bottom":"0"}}),t("span",null,i(e(n)("\u56FA\u4EF6\u7248\u672C")),1)]),t("span",ob,i((y=e(l))==null?void 0:y.firmwareVersion)+"\uFF08"+i(e(n)("\u5185\u6838"))+"\uFF1A"+i((F=e(l))==null?void 0:F.kernelVersion)+"\uFF09",1)]),t("div",nb,[t("div",null,i(e(n)("\u7CFB\u7EDF\u65F6\u95F4"))+"\uFF1A",1),t("span",null,i((Y=e(u))==null?void 0:Y.localtime),1)]),t("div",ib,[t("div",null,i(e(n)("\u5DF2\u542F\u52A8"))+"\uFF1A",1),t("span",null,i(e(x)((P=e(u))==null?void 0:P.uptime)),1)])])])]}),_:1},8,["title"]))}});var sb=N(rb,[["__scopeId","data-v-0aa90746"]]);const db=o=>(it("data-v-4ca82311"),o=o(),rt(),o),lb={class:"action"},ub={class:"action-body"},cb=db(()=>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)),pb={class:"title"},fb={class:"info"},mb=["href"],gb={class:"btns"},vb=I({props:{port:Number,Close:Function},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=Q(()=>`http://${location.hostname}:${n.port}`),d=()=>{n.Close&&(n.Close(),location.reload())};return(p,w)=>(r(),Z(_t,{type:1},{default:j(()=>[D($t,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",lb,[t("div",ub,[cb,t("h2",pb,i(e(a)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",fb,[t("span",null,i(e(a)("\u524D\u5F80")),1),t("a",{href:e(u),target:"_blank",rel:"noopener noreferrer"},i(e(u)),9,mb),t("span",null,i(e(a)("\u8FDB\u884C\u6D4B\u901F")),1)]),t("div",gb,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:d},i(e(a)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var bb=N(vb,[["__scopeId","data-v-4ca82311"]]),hb=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(bb,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}};const _b={class:"page-container"},xb={style:{height:"48px","text-align":"right"}},wb={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},kb={class:"card-container"},yb={class:"network-container",style:{"margin-top":"10px"}},Fb={class:"left-box"},Eb={class:"right-box",style:{overflow:"visible"}},$b={class:"network-container align-c"},Cb={class:"left-box"},Db={class:"other-container"},Bb={class:"grid-container"},Yb={class:"system"},Ab=I({setup(o){var _,h;const{$gettext:n}=H(),a=aa();Zo();const l=Me(),u=E(!0);(h=(_=window.quickstart_configs)==null?void 0:_.update)!=null&&h.disable&&(u.value=!1),u.value&&setTimeout(()=>{l.requestCheckUpdate()},1100);const d=Fe(),p=Q(()=>d.deviceList),w=Q(()=>{var m,b;return[{icon:"navigation",title:n("\u7F51\u7EDC\u5411\u5BFC"),subtitle:n("\u7F51\u7EDC\u914D\u7F6E\u5F15\u5BFC"),tag:n("\u667A\u80FD\u914D\u7F6E"),status:"",extra:"",color:"purple",link:"/network"},{icon:"topology",title:n("\u5C40\u57DF\u7F51\u8BBE\u5907\u7BA1\u7406"),subtitle:n("\u7BA1\u7406\u7F51\u7EDC\u4E2D\u7684\u6240\u6709\u8BBE\u5907"),badge:n("\u63A8\u8350"),status:"",num:((b=(m=p.value)==null?void 0:m.devices)==null?void 0:b.length)||0,color:"blue",link:"/devicemanagement"},{icon:"speed",title:n("\u7F51\u7EDC\u6D4B\u901F"),subtitle:n("\u68C0\u6D4B\u7F51\u7EDC\u901F\u5EA6"),status:"",tag:n("\u70B9\u51FB\u6D4B\u8BD5"),color:"skyblue",link:"/networkSpeedTest"},{icon:"baby",title:n("\u5BB6\u957F\u63A7\u5236"),subtitle:n("\u513F\u7AE5\u4E0A\u7F51\u4FDD\u62A4"),badge:n("\u4FDD\u62A4"),status:"",extra:"",color:"pink",isActive:!0,alink:"/cgi-bin/luci/admin/services/appfilter"},{icon:"appStore",title:n("\u5E94\u7528\u5546\u5E97"),subtitle:n("\u767E\u6B3E\u5E94\u7528\uFF0C\u81EA\u7531\u9009\u62E9"),status:"",color:"orange",alink:"/cgi-bin/luci/admin/store/pages/store"}]}),g=m=>{if(!!m.title){if(m.icon=="speed")return f();if(m.icon=="baby")return c();m.link?a.push(m.link):m.alink&&(window.location.href=m.alink)}},c=()=>O(this,null,function*(){(yield Dt.checkAndInstallApp("luci-app-oaf","\u5E94\u7528\u8FC7\u6EE4"))&&(window.location.href="/cgi-bin/luci/admin/services/appfilter")}),f=()=>O(this,null,function*(){var m,b,y;if(yield Dt.checkAndInstallApp("app-meta-homebox","Homebox"))try{const F=yield G.Network.Homebox.Enable.POST();(b=(m=F==null?void 0:F.data)==null?void 0:m.result)!=null&&b.port?hb({port:F.data.result.port,setup:0}):((y=F==null?void 0:F.data)==null?void 0:y.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":$.Warning(n("\u542F\u52A8\u5931\u8D25"))}catch(F){$.Warning(n("\u542F\u52A8\u5931\u8D25"))}}),v=E(!0);(()=>O(this,null,function*(){try{const m=yield G.App.Check.POST({name:"luci-app-oaf"});if(m!=null&&m.data){const{result:b,error:y}=m.data;y?v.value=!1:b&&b.status=="installed"?v.value=!0:v.value=!1}}catch(m){v.value=!1}}))();const k=m=>{const b=Kt("dockerd")?5:4;if(b<=2)return`calc((100% - ${(b-1)*24}px) / ${b})`;if(m<2){const y=Math.min(2,b);return`calc((100% - ${(y-1)*24}px) / ${y})`}else{const y=b-2;return`calc((100% - ${(y-1)*24}px) / ${y})`}};return(m,b)=>(r(),s("div",_b,[t("div",xb,[t("a",wb,i(e(n)("iStoreOS\u5B98\u7F51")),1)]),t("div",kb,[(r(!0),s(U,null,tt(e(w),(y,F)=>(r(),s(U,{key:F},[y.icon!=="baby"||v.value?(r(),Z(s4,{key:0,card:y,onClick:g},null,8,["card"])):C("",!0)],64))),128))]),t("div",yb,[t("div",Fb,[D(_3)]),t("div",Eb,[D(v8),D(D8,{style:{"margin-top":"10px"}})])]),t("div",$b,[t("div",Cb,[D(h7)])]),t("div",Db,[t("div",Bb,[t("div",{class:"grid-item",style:ft({flexBasis:k(0)})},[D(sg)],4),t("div",{class:"grid-item",style:ft({flexBasis:k(1)})},[D(Ef)],4),e(Kt)("dockerd")?(r(),s("div",{key:0,class:"grid-item",style:ft({flexBasis:k(2)})},[D(Dv)],4)):C("",!0),t("div",{class:"grid-item",style:ft({flexBasis:k(3)})},[D(Kc)],4),t("div",{class:"grid-item",style:ft({flexBasis:k(4)})},[D(t3)],4)])]),t("div",Yb,[D(sb)])]))}});var Sb=N(Ab,[["__scopeId","data-v-7b58b1f2"]]);const zb={};function Pb(o,n){const a=ht("router-view");return r(),Z(a)}var Tb=N(zb,[["render",Pb]]);const Ib={},Mb={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"},Lb=Ot('',2),Nb=[Lb];function Ob(o,n){return r(),s("svg",Mb,Nb)}var Vb=N(Ib,[["render",Ob]]);const Gb={},jb={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"},Ub=Ot('',2),qb=[Ub];function Rb(o,n){return r(),s("svg",jb,qb)}var Wb=N(Gb,[["render",Rb]]);const Hb={},Jb={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"},Zb=Ot('',2),Kb=[Zb];function Qb(o,n){return r(),s("svg",Jb,Kb)}var Xb=N(Hb,[["render",Qb]]);const th={id:"page"},eh={class:"title"},ah={class:"desc"},oh={class:"network-containers"},nh={class:"network-container_item"},ih={class:"cover"},rh={class:"thumbnail"},sh={class:"network-container_item"},dh={class:"cover"},lh={class:"thumbnail"},uh={class:"network-container_item"},ch={class:"cover"},ph={class:"thumbnail"},fh=["innerHTML"],mh=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=n("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+n("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(u,d)=>{const p=ht("router-link");return r(),s("div",th,[t("div",eh,i(e(n)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",ah,i(e(n)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",oh,[t("div",nh,[D(p,{to:"/network/pppoe"},{default:j(()=>[t("div",ih,[t("div",rh,[D(Wb),t("span",null,i(e(n)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",sh,[D(p,{to:"/network/dhcp"},{default:j(()=>[t("div",dh,[t("div",lh,[D(Vb),t("span",null,i(e(n)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",uh,[D(p,{to:"/network/gateway"},{default:j(()=>[t("div",ch,[t("div",ph,[D(Xb),t("span",null,i(e(n)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(l)},null,8,fh)])}}});var gh=N(mh,[["__scopeId","data-v-0b149a51"]]);const vh={key:0,id:"page"},bh={class:"title"},hh={class:"desc"},_h={class:"network-message"},xh=["innerHTML"],wh=["onSubmit"],kh={class:"label-key"},yh=["placeholder","disabled"],Fh={class:"label-key"},Eh=["placeholder","disabled"],$h={key:0,class:"chose_dhcp"},Ch={class:"dhcp_info"},Dh={key:1,class:"msg"},Bh={class:"btns"},Yh=["disabled"],Ah=["onClick"],Sh={key:1,id:"page"},zh={class:"title"},Ph={class:"btns"},Th=["onClick"],Ih=["onClick"],Mh=I({setup(o){const{$gettext:n,$ngettext:a}=H(),u=Pe().query.type,d=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),p=E(0),w=E({}),g=E(""),c=E(!1),f=E(0),v=E(!1);(()=>O(this,null,function*(){var _,h;c.value=!0;try{const m=yield Promise.all([G.Guide.Pppoe.GET(),G.Guide.GetLan.GET()]);if(m[0].data){const{success:b,error:y,result:F}=m[0].data;F&&(F.enableLanDhcp=!1,w.value=F),b==-1011&&(c.value=!0,f.value=b)}(_=m[1].data)!=null&&_.result&&(((h=m[1].data)==null?void 0:h.result).enableDhcp||(v.value=!0,w.value.enableLanDhcp=!0))}catch(m){g.value=m}f.value==0&&(c.value=!1)}))();const k=()=>O(this,null,function*(){const _=w.value.account||"",h=w.value.password||"";if(_==""){g.value=n("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(h==""){g.value=n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}c.value=!0;const m=$.Loading(n("\u914D\u7F6E\u4E2D..."));try{const b=yield G.Guide.Pppoe.POST({account:_,password:h});if(b!=null&&b.data){const{error:y,success:F}=b.data;y&&(g.value=y),(F==null||F==0)&&($.Success(n("\u914D\u7F6E\u6210\u529F")),p.value=1)}}catch(b){g.value=b}c.value=!1,m.Close()});return(_,h)=>{const m=ht("switch-box"),b=ht("router-link");return p.value==0?(r(),s("div",vh,[t("h2",bh,i(e(n)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",hh,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",_h,[f.value==-1011?(r(),s("li",{key:0,innerHTML:e(d)},null,8,xh)):C("",!0)]),t("form",{onSubmit:ut(k,["prevent"])},[t("label",null,[t("div",kh,[t("span",null,i(e(n)("\u5BBD\u5E26\u8D26\u53F7")),1)]),L(t("input",{type:"text","onUpdate:modelValue":h[0]||(h[0]=y=>w.value.account=y),placeholder:e(n)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:c.value},null,8,yh),[[et,w.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",Fh,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),L(t("input",{type:"password","onUpdate:modelValue":h[1]||(h[1]=y=>w.value.password=y),placeholder:e(n)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:c.value},null,8,Eh),[[et,w.value.password,void 0,{trim:!0}]])]),v.value?(r(),s("div",$h,[D(m,{modelValue:w.value.enableLanDhcp,"onUpdate:modelValue":h[2]||(h[2]=y=>w.value.enableLanDhcp=y)},{default:j(()=>[t("span",Ch,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):C("",!0),g.value?(r(),s("div",Dh,i(g.value),1)):C("",!0),t("div",Bh,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,Yh),D(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u8FD4\u56DE")),9,Ah)]),_:1},8,["to"])])],40,wh)])):p.value==1?(r(),s("div",Sh,[t("h2",zh,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",Ph,[D(b,{to:"/",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,Th)]),_:1}),D(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u8FD4\u56DE")),9,Ih)]),_:1},8,["to"])])])):C("",!0)}}});var Lh=N(Mh,[["__scopeId","data-v-f442676c"]]);const Nh={key:0,id:"page"},Oh={class:"title"},Vh={class:"desc"},Gh={class:"network-message"},jh=["innerHTML"],Uh=["onSubmit"],qh={class:"label-key"},Rh={value:"dhcp"},Wh={value:"static"},Hh={class:"label-key"},Jh=["placeholder","disabled"],Zh={key:0,class:"msg"},Kh={class:"label-key"},Qh=["placeholder","disabled"],Xh={key:1,class:"msg"},t_={class:"label-key"},e_=["placeholder","disabled"],a_={class:"label-key"},o_=["disabled"],n_={value:"manual"},i_={class:"label-key"},r_=["onUpdate:modelValue","placeholder","disabled"],s_={class:"label-key"},d_=["placeholder","disabled"],l_={class:"label-key"},u_=["placeholder","disabled"],c_={key:2,class:"chose_dhcp"},p_={class:"dhcp_info"},f_={key:3,class:"msgs"},m_={class:"btns"},g_=["disabled"],v_=["onClick"],b_={key:1,id:"page"},h_={class:"title"},__={class:"btns"},x_=["onClick"],w_=["onClick"],k_=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=n("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+n("\u94FE\u63A5")+""},!0),u=E(0),d=E({}),p=E(""),w=E(""),g=E(""),c=E(!1),f=E(""),v=E(""),x=E(0),k=Pt.checkIsIP,_=E(!1),m=Pe().query.type;(()=>O(this,null,function*(){var A,B;c.value=!0;try{const S=yield Promise.all([G.Guide.ClientModel.GET(),G.Guide.GetLan.GET()]);if(S[0]){const R=S[0];if(R.data){const{success:V,error:T,result:M}=R.data;M&&(M.wanProto!="dhcp"&&M.wanProto!="static"&&(M.wanProto="dhcp",M.dnsProto="auto"),M.enableLanDhcp=!1,d.value=M),V==-1011&&(x.value=V,c.value=!0)}}(A=S[1].data)!=null&&A.result&&(((B=S[1].data)==null?void 0:B.result).enableDhcp||(_.value=!0,d.value.enableLanDhcp=!0))}catch(S){p.value=S}x.value==0&&(c.value=!1)}))();const y=A=>{A.target.value=="static"?((d.value.staticIp==null||d.value.staticIp=="")&&(d.value.staticIp="192.168.1.100"),(d.value.subnetMask==null||d.value.subnetMask=="")&&(d.value.subnetMask="255.255.255.0"),d.value.dnsProto=="auto"&&setTimeout(()=>d.value.dnsProto="manual",0)):d.value.dnsProto=="manual"&&setTimeout(()=>d.value.dnsProto="auto",0)},F=A=>{const B=A.target;if(B.value==""){f.value="";return}k(B.value)?f.value="":f.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},Y=A=>{const B=A.target;if(B.value==""){v.value="";return}k(B.value)?v.value="":v.value=n("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},P=()=>O(this,null,function*(){const A={};switch(d.value.wanProto){case"dhcp":break;case"static":A.staticIp=d.value.staticIp,A.subnetMask=d.value.subnetMask,A.gateway=d.value.gateway||"";break}switch(d.value.dnsProto){case"auto":break;case"manual":A.manualDnsIp=[],d.value.manualDnsIp!=null&&d.value.manualDnsIp.length>0?A.manualDnsIp=d.value.manualDnsIp:(A.manualDnsIp.push(w.value),g.value&&A.manualDnsIp.push(g.value));break}A.dnsProto=d.value.dnsProto,A.wanProto=d.value.wanProto,A.enableLanDhcp=d.value.enableLanDhcp;const B=$.Loading(n("\u914D\u7F6E\u4E2D...."));c.value=!0;try{const S=yield G.Guide.ClientModel.POST(A);if(S!=null&&S.data){const{success:R,error:V}=S==null?void 0:S.data;V&&(p.value=V),(R==null||R==0)&&($.Success(n("\u914D\u7F6E\u6210\u529F")),u.value=1)}}catch(S){p.value=S}c.value=!1,B.Close()});return(A,B)=>{const S=ht("switch-box"),R=ht("router-link");return u.value==0?(r(),s("div",Nh,[t("h2",Oh,i(e(n)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",Vh,i(e(n)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",Gh,[x.value==-1011?(r(),s("li",{key:0,innerHTML:e(l)},null,8,jh)):C("",!0)]),t("form",{onSubmit:ut(P,["prevent"])},[t("label",null,[t("div",qh,[t("span",null,i(e(n)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),L(t("select",{"onUpdate:modelValue":B[0]||(B[0]=V=>d.value.wanProto=V),onInput:y},[t("option",Rh,i(e(n)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",Wh,i(e(n)("\u9759\u6001IP\u5730\u5740")),1)],544),[[dt,d.value.wanProto]])]),d.value.wanProto=="static"?(r(),s(U,{key:0},[t("label",null,[t("div",Hh,[t("span",null,i(e(n)("IP\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[1]||(B[1]=V=>d.value.staticIp=V),placeholder:e(n)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:c.value,onInput:F},null,40,Jh),[[et,d.value.staticIp,void 0,{trim:!0}]])]),f.value?(r(),s("p",Zh,i(f.value),1)):C("",!0),t("label",null,[t("div",Kh,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[2]||(B[2]=V=>d.value.subnetMask=V),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:c.value,onInput:Y},null,40,Qh),[[et,d.value.subnetMask,void 0,{trim:!0}]])]),v.value?(r(),s("p",Xh,i(v.value),1)):C("",!0),t("label",null,[t("div",t_,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[3]||(B[3]=V=>d.value.gateway=V),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:"",disabled:c.value},null,8,e_),[[et,d.value.gateway,void 0,{trim:!0}]])])],64)):C("",!0),t("label",null,[t("div",a_,[t("span",null,i(e(n)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),L(t("select",{"onUpdate:modelValue":B[4]||(B[4]=V=>d.value.dnsProto=V)},[t("option",{value:"auto",disabled:d.value.wanProto=="static"},i(e(n)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,o_),t("option",n_,i(e(n)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[dt,d.value.dnsProto]])]),d.value.dnsProto=="manual"?(r(),s(U,{key:1},[d.value.manualDnsIp!=null&&d.value.manualDnsIp.length>0?(r(!0),s(U,{key:0},tt(d.value.manualDnsIp,(V,T)=>(r(),s("label",null,[t("div",i_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":M=>d.value.manualDnsIp[T]=M,placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:c.value},null,8,r_),[[et,d.value.manualDnsIp[T],void 0,{trim:!0}]])]))),256)):(r(),s(U,{key:1},[t("label",null,[t("div",s_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":B[5]||(B[5]=V=>w.value=V),placeholder:e(n)("DNS\u670D\u52A1\u5668"),required:"",disabled:c.value},null,8,d_),[[et,w.value,void 0,{trim:!0}]])]),t("label",null,[t("div",l_,i(e(n)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),L(t("input",{type:"text","onUpdate:modelValue":B[6]||(B[6]=V=>g.value=V),placeholder:e(n)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:c.value},null,8,u_),[[et,g.value,void 0,{trim:!0}]])])],64))],64)):C("",!0),_.value?(r(),s("div",c_,[D(S,{modelValue:d.value.enableLanDhcp,"onUpdate:modelValue":B[7]||(B[7]=V=>d.value.enableLanDhcp=V)},{default:j(()=>[t("span",p_,i(e(n)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):C("",!0),p.value?(r(),s("div",f_,i(p.value),1)):C("",!0),t("div",m_,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value},i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),9,g_),D(R,{to:e(m)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(n)("\u8FD4\u56DE")),9,v_)]),_:1},8,["to"])])],40,Uh)])):u.value==1?(r(),s("div",b_,[t("h2",h_,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("div",__,[D(R,{to:"/",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:V},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,x_)]),_:1}),D(R,{to:e(m)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(n)("\u8FD4\u56DE")),9,w_)]),_:1},8,["to"])])])):C("",!0)}}});var y_=N(k_,[["__scopeId","data-v-162eca5f"]]);const F_=o=>(it("data-v-2dee59a8"),o=o(),rt(),o),E_={key:0,id:"page"},$_={class:"title"},C_=F_(()=>t("br",null,null,-1)),D_={class:"btns"},B_=["onClick"],Y_={key:1,id:"page"},A_={class:"title"},S_={class:"desc"},z_=["onSubmit"],P_={class:"label-key"},T_={class:"label-value"},I_={class:"label-key"},M_=["placeholder"],L_={class:"label-key"},N_=["placeholder"],O_={class:"label-key"},V_=["placeholder"],G_={class:"label-key"},j_=["placeholder"],U_={key:0,class:"msgs"},q_={class:"switch_inline"},R_={key:0,class:"switch_info"},W_={key:1,class:"switch_info"},H_={class:"switch_inline"},J_={class:"switch_info"},Z_={class:"switch_inline"},K_={class:"switch_info"},Q_={class:"btns"},X_={class:"cbi-button cbi-button-apply app-btn app-next"},tx=["onClick"],ex={key:2,id:"page"},ax={class:"title"},ox={class:"desc"},nx={class:"btns"},ix={key:3,id:"page"},rx={class:"title"},sx=["disabled"],dx={style:{"text-align":"left"}},lx={class:"btns"},ux=["disabled"],cx=["onClick"],px=I({setup(o){const{$gettext:n,$ngettext:a}=H(),u=Pe().query.type,d=E(0),p=E(""),w=E(!1),g=Q(()=>{var h,m,b;return!(((h=f.value)==null?void 0:h.ipv4addr)&&((m=f.value)==null?void 0:m.ipv4mask)&&((b=f.value)==null?void 0:b.gateway))}),c=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),f=E(),v=()=>{w.value=!0,G.Network.Status.GET().then(h=>{if(h!=null&&h.data){const{result:m}=h==null?void 0:h.data;m&&(f.value=m)}}).finally(()=>{w.value=!1})},x=h=>{var m,b,y,F,Y;h&&(c.value.staticLanIp=((m=f.value)==null?void 0:m.ipv4addr)||"",c.value.subnetMask=((b=f.value)==null?void 0:b.ipv4mask)&&It.prefixToMask(f.value.ipv4mask)||"",c.value.gateway=((y=f.value)==null?void 0:y.gateway)||"",c.value.staticDnsIp=((F=f.value)==null?void 0:F.dnsList)&&((Y=f.value)==null?void 0:Y.dnsList[0])||"223.5.5.5"),d.value=1},k=h=>{window.location.href=location.protocol+"//"+c.value.staticLanIp+(location.port?":"+location.port:"")},_=()=>O(this,null,function*(){const h=c.value,m=$.Loading(n("\u914D\u7F6E\u4E2D..."));try{const b=yield G.Guide.GatewayRouter.POST(h);if(b!=null&&b.data){const{success:y,error:F}=b==null?void 0:b.data;if(F&&(p.value=F),y==null||y==0){setTimeout(()=>{d.value=2,m.Close()},5e3);return}}}catch(b){p.value=b}m.Close()});return(h,m)=>{var F,Y,P,A;const b=ht("router-link"),y=ht("switch-box");return d.value==0?(r(),s("div",E_,[t("h2",$_,i(e(n)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[nt(i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,i(e(n)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),C_,t("p",null,i(e(n)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,i(e(n)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,i(e(n)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",D_,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:m[0]||(m[0]=B=>d.value=3)},i(e(n)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:m[1]||(m[1]=B=>x(!1))},i(e(n)("\u624B\u52A8\u914D\u7F6E...")),1),D(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(n)("\u8FD4\u56DE")),9,B_)]),_:1},8,["to"])])])):d.value==1?(r(),s("div",Y_,[t("h2",A_,i(e(n)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",S_,i(e(n)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:ut(_,["prevent"])},[t("label",null,[t("div",P_,[t("span",null,i(e(n)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",T_,[t("select",{disabled:"",style:ft({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,i(e(n)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",I_,[t("span",null,i(e(n)("IP \u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":m[2]||(m[2]=B=>c.value.staticLanIp=B),placeholder:e(n)("IP\u5730\u5740"),required:""},null,8,M_),[[et,c.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",L_,[t("span",null,i(e(n)("\u5B50\u7F51\u63A9\u7801")),1)]),L(t("input",{type:"text","onUpdate:modelValue":m[3]||(m[3]=B=>c.value.subnetMask=B),placeholder:e(n)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,N_),[[et,c.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",O_,[t("span",null,i(e(n)("\u7F51\u5173\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":m[4]||(m[4]=B=>c.value.gateway=B),placeholder:e(n)("\u7F51\u5173\u5730\u5740"),required:""},null,8,V_),[[et,c.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",G_,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":m[5]||(m[5]=B=>c.value.staticDnsIp=B),placeholder:e(n)("223.5.5.5"),required:""},null,8,j_),[[et,c.value.staticDnsIp,void 0,{trim:!0}]])]),p.value?(r(),s("div",U_,i(p.value),1)):C("",!0),t("div",q_,[D(y,{modelValue:c.value.enableDhcp,"onUpdate:modelValue":m[6]||(m[6]=B=>c.value.enableDhcp=B)},{default:j(()=>[c.value.enableDhcp?(r(),s("span",R_,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(r(),s("span",W_,i(e(n)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",H_,[D(y,{modelValue:c.value.dhcp6c,"onUpdate:modelValue":m[7]||(m[7]=B=>c.value.dhcp6c=B)},{default:j(()=>[t("span",J_,i(e(n)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Z_,[D(y,{modelValue:c.value.enableNat,"onUpdate:modelValue":m[8]||(m[8]=B=>c.value.enableNat=B)},{default:j(()=>[t("span",K_,i(e(n)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Q_,[t("button",X_,i(e(n)("\u4FDD\u5B58\u914D\u7F6E")),1),D(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(n)("\u8FD4\u56DE")),9,tx)]),_:1},8,["to"])])],40,z_)])):d.value==2?(r(),s("div",ex,[t("h2",ax,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("h3",ox,i(e(n)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",nx,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k},i(e(n)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):d.value==3?(r(),s("div",ix,[t("h2",rx,i(e(n)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,i(e(n)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),nt(" "+i(e(n)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:st(["cbi-button cbi-button-neutral",e(g)?"cbi-button-neutral":"cbi-button-success"]),disabled:w.value,onClick:v},[nt(i(e(n)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",dx,[t("ul",null,[t("li",null,i(e(n)("IP \u5730\u5740: "))+i((F=f.value)==null?void 0:F.ipv4addr),1),t("li",null,i(e(n)("\u5B50\u7F51\u63A9\u7801: "))+i(((Y=f.value)==null?void 0:Y.ipv4mask)&&e(It).prefixToMask(f.value.ipv4mask)),1),t("li",null,i(e(n)("\u7F51\u5173\u5730\u5740: "))+i((P=f.value)==null?void 0:P.gateway),1),t("li",null,i(e(n)("DNS\u670D\u52A1\u5668: "))+i(((A=f.value)==null?void 0:A.dnsList)&&f.value.dnsList[0]||(e(g)?"":e(n)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,sx),nt(" "+i(e(n)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",lx,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(g),onClick:m[9]||(m[9]=B=>x(!0))},i(e(n)("\u81EA\u52A8\u586B\u5199..."))+i(e(g)?e(n)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,ux),D(b,{to:e(u)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(n)("\u8FD4\u56DE")),9,cx)]),_:1},8,["to"])])])):C("",!0)}}});var fx=N(px,[["__scopeId","data-v-2dee59a8"]]);const mx={class:"actioner-container"},gx={class:"actioner-container_header"},vx={class:"actioner-container_body"},bx={class:"label-item"},hx={class:"label-item_key"},_x={class:"label-item_value"},xx=["value"],wx={class:"label-item_tips"},kx={class:"label-item"},yx={class:"label-item_key"},Fx={key:0,class:"label-item_value"},Ex={class:"msg-warning"},$x={key:1,class:"label-item_value"},Cx=["value"],Dx={key:1,class:"msg-warning"},Bx={class:"label-item_tips"},Yx={class:"actioner-container_footer"},Ax=["disabled"],Sx=["disabled"],zx={key:1,class:"actioner-container_body setup-loading"},Px={class:"actioner-container_body setup-error"},Tx={class:"actioner-container_footer"},Ix=["disabled"],Mx={class:"actioner-container_body setup-success"},Lx={class:"body-title"},Nx={class:"actioner-container_footer"},Ox=I({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},p=E("init"),w=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}],c=E("raid5"),f=E([]),v=b=>{let y="";return g.forEach(F=>{F.name===b&&(y=F.info)}),y},x=E(!1),k=mt({loading:!1,members:[]}),_=b=>{};(()=>O(this,null,function*(){k.loading=!0;try{const b=yield G.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 m=()=>O(this,null,function*(){const b=g.filter(F=>F.name===c.value)[0],y=f.value;if(!b){$.Warning(a("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(y.length==0){$.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(b.select>y.length){$.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}))){x.value=!0,p.value="loading";try{const F=yield G.Raid.Create.POST({level:b.name,devicePaths:y});if(F.data){const{success:Y,error:P,result:A}=F.data;if(P)throw P;(Y||0)==0&&(p.value="success",d())}}catch(F){w.value=F,p.value="error"}finally{x.value=!1}}});return(b,y)=>{const F=ht("icon-loading"),Y=ht("icon-error"),P=ht("icon-success");return r(),s("div",mx,[t("div",gx,[t("span",null,i(e(a)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),p.value=="init"?(r(),s(U,{key:0},[t("div",vx,[t("p",null,i(e(a)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",bx,[t("div",hx,[t("span",null,i(e(a)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",_x,[L(t("select",{"onUpdate:modelValue":y[0]||(y[0]=A=>c.value=A),onChange:_},[(r(),s(U,null,tt(g,A=>t("option",{value:A.name},i(A.title),9,xx)),64))],544),[[dt,c.value]])]),t("div",wx,[D(zt),nt(" "+i(v(c.value)),1)])]),t("div",kx,[t("div",yx,[t("span",null,i(e(a)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(k).loading?(r(),s("div",Fx,[t("span",Ex,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",$x,[e(k).members.length>0?(r(!0),s(U,{key:0},tt(e(k).members,A=>(r(),s("label",null,[L(t("input",{type:"checkbox","onUpdate:modelValue":y[1]||(y[1]=B=>f.value=B),value:A.path},null,8,Cx),[[qt,f.value]]),nt(" \u3010"+i(A.model)+"\u3011"+i(A.name)+" "+i(A.path)+" ["+i(A.sizeStr)+"] ",1)]))),256)):(r(),s("span",Dx,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",Bx,[D(zt),nt(" "+i(e(a)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",Yx,[t("div",{class:"close",onClick:u,disabled:x.value},i(e(a)("\u53D6\u6D88")),9,Ax),t("div",{class:"next",onClick:m,disabled:x.value},i(e(a)("\u521B\u5EFA")),9,Sx)])],64)):p.value=="loading"?(r(),s("div",zx,[D(F,{size:60,color:"#666"}),t("span",null,i(e(a)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):p.value=="error"?(r(),s(U,{key:2},[t("div",Px,[D(Y),t("span",null,i(w.value),1)]),t("div",Tx,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1),t("div",{class:"next",onClick:m,disabled:x.value},i(e(a)("\u91CD\u65B0\u521B\u5EFA")),9,Ix)])],64)):p.value=="success"?(r(),s(U,{key:3},[t("div",Mx,[D(P),t("div",Lx,i(e(a)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",Nx,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])],64)):C("",!0)])}}});var Vx=N(Ox,[["__scopeId","data-v-77451104"]]);const Gx={class:"actioner-container"},jx={class:"actioner-container_body"},Ux=["value"],qx={class:"actioner-container_footer"},Rx=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},d=E("");return(()=>{G.Raid.Detail.POST({path:n.raid.path}).then(w=>{if(w.data){const{result:g,error:c}=w.data;c?d.value=c:d.value=(g==null?void 0:g.detail)||""}}).catch(w=>{d.value=w.message})})(),(w,g)=>(r(),s("div",Gx,[t("div",jx,[t("textarea",{value:d.value},null,8,Ux)]),t("div",qx,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])]))}});var Wx=N(Rx,[["__scopeId","data-v-5ec616d8"]]);const Hx={class:"actioner-container"},Jx={class:"actioner-container_header"},Zx={class:"actioner-container_body"},Kx={class:"label-item"},Qx={class:"label-item_key"},Xx={class:"label-item_value"},tw={disabled:""},ew={class:"label-item"},aw={class:"label-item_key"},ow={key:0,class:"label-item_value"},nw={class:"msg-warning"},iw={key:1,class:"label-item_value"},rw=["value"],sw={key:1,class:"msg-warning"},dw={class:"actioner-container_footer"},lw=["disabled"],uw=["disabled"],cw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},p=()=>O(this,null,function*(){const v=c.value;if(v==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const x=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield G.Raid.Add.POST({path:n.raid.path,memberPath:v});if(k.data){const{error:_,success:h}=k.data;if(_)throw _;(h||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),u())}}catch(k){$.Error(`${k}`)}finally{g.value=!1,x.Close()}}),w=mt({loading:!1,members:[]}),g=E(!1),c=E("");return(()=>O(this,null,function*(){w.loading=!0,g.value=!0;try{const v=yield G.Raid.CreateList.GET();if(v!=null&&v.data){const{success:x,error:k,result:_}=v.data;if(_&&(w.members=_.members||[]),k)throw k}}catch(v){console.log(v)}finally{g.value=!1,w.loading=!1}}))(),(v,x)=>(r(),s("div",Hx,[t("div",Jx,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u4FEE\u6539")),1)]),t("div",Zx,[t("div",Kx,[t("div",Qx,i(e(a)("\u8BBE\u5907")),1),t("div",Xx,[t("select",tw,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",ew,[t("div",aw,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(w).loading?(r(),s("div",ow,[t("span",nw,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",iw,[e(w).members.length>0?(r(!0),s(U,{key:0},tt(e(w).members,k=>(r(),s("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":x[0]||(x[0]=_=>c.value=_),value:k.path},null,8,rw),[[Ft,c.value]]),nt(" \u3010"+i(k.model)+"\u3011"+i(k.name)+" "+i(k.path)+" ["+i(k.sizeStr)+"] ",1)]))),256)):(r(),s("span",sw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",dw,[t("div",{class:"close",onClick:u,disabled:g.value},i(e(a)("\u53D6\u6D88")),9,lw),t("div",{class:"next",onClick:p,disabled:g.value},i(e(a)("\u4FDD\u5B58")),9,uw)])]))}});var pw=N(cw,[["__scopeId","data-v-70cb932e"]]);const fw={class:"actioner-container"},mw={class:"actioner-container_header"},gw={class:"actioner-container_body"},vw={class:"label-item"},bw={class:"label-item_key"},hw={class:"label-item_value"},_w={disabled:""},xw={class:"label-item"},ww={class:"label-item_key"},kw={class:"label-item_value"},yw=["value"],Fw={class:"actioner-container_footer"},Ew=["disabled"],$w=["disabled"],Cw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},p=()=>O(this,null,function*(){const c=g.value;if(c==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}w.value=!0;const f=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const v=yield G.Raid.Remove.POST({path:n.raid.path,memberPath:c});if(v.data){const{error:x,success:k}=v.data;if(x)throw x;(k||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),u())}}catch(v){$.Error(`${v}`)}finally{w.value=!1,f.Close()}}),w=E(!1),g=E("");return(c,f)=>(r(),s("div",fw,[t("div",mw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u79FB\u9664")),1)]),t("div",gw,[t("div",vw,[t("div",bw,i(e(a)("\u8BBE\u5907")),1),t("div",hw,[t("select",_w,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",xw,[t("div",ww,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",kw,[(r(!0),s(U,null,tt(o.raid.members,v=>(r(),s("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=x=>g.value=x),value:v},null,8,yw),[[Ft,g.value]]),nt(" "+i(v),1)]))),256))])])]),t("div",Fw,[t("div",{class:"close",onClick:u,disabled:w.value},i(e(a)("\u53D6\u6D88")),9,Ew),t("div",{class:"next",onClick:p,disabled:w.value},i(e(a)("\u4FDD\u5B58")),9,$w)])]))}});var Dw=N(Cw,[["__scopeId","data-v-56c0f6fb"]]);const Bw={class:"actioner-container"},Yw={class:"actioner-container_header"},Aw={class:"actioner-container_body"},Sw={class:"label-item"},zw={class:"label-item_key"},Pw={class:"label-item_value"},Tw={disabled:""},Iw={class:"label-item"},Mw={class:"label-item_key"},Lw={key:0,class:"label-item_value"},Nw={class:"msg-warning"},Ow={key:1,class:"label-item_value"},Vw=["value"],Gw={key:1,class:"msg-warning"},jw={class:"actioner-container_footer"},Uw=["disabled"],qw=["disabled"],Rw=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=()=>{n.Close()},d=()=>{n.success&&n.success()},p=()=>O(this,null,function*(){const v=c.value;if(v==""){$.Warning(a("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}g.value=!0;const x=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const k=yield G.Raid.Recover.POST({path:n.raid.path,memberPath:v});if(k.data){const{error:_,success:h}=k.data;if(_)throw _;(h||0)==0&&($.Success(a("\u4FDD\u5B58\u6210\u529F")),d(),u())}}catch(k){$.Error(`${k}`)}finally{g.value=!1,x.Close()}}),w=mt({loading:!1,members:[]}),g=E(!1),c=E("");return(()=>O(this,null,function*(){w.loading=!0,g.value=!0;try{const v=yield G.Raid.CreateList.GET();if(v!=null&&v.data){const{success:x,error:k,result:_}=v.data;if(_&&(w.members=_.members||[]),k)throw k}}catch(v){console.log(v)}finally{g.value=!1,w.loading=!1}}))(),(v,x)=>(r(),s("div",Bw,[t("div",Yw,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(a)("\u6062\u590D")),1)]),t("div",Aw,[t("div",Sw,[t("div",zw,i(e(a)("\u8BBE\u5907")),1),t("div",Pw,[t("select",Tw,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Iw,[t("div",Mw,i(e(a)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(w).loading?(r(),s("div",Lw,[t("span",Nw,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])):(r(),s("div",Ow,[e(w).members.length>0?(r(!0),s(U,{key:0},tt(e(w).members,k=>(r(),s("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":x[0]||(x[0]=_=>c.value=_),value:k.path},null,8,Vw),[[Ft,c.value]]),nt(" \u3010"+i(k.model)+"\u3011"+i(k.name)+" "+i(k.path)+" ["+i(k.sizeStr)+"] ",1)]))),256)):(r(),s("span",Gw,i(e(a)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",jw,[t("div",{class:"close",onClick:u,disabled:g.value},i(e(a)("\u53D6\u6D88")),9,Uw),t("div",{class:"next",onClick:p,disabled:g.value},i(e(a)("\u4FDD\u5B58")),9,qw)])]))}});var Ww=N(Rw,[["__scopeId","data-v-0586260e"]]);const Hw={class:"action-main"},Jw=I({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(n,a)=>(r(),Z(_t,{type:2},{default:j(()=>[t("div",Hw,[o.setup=="create"?(r(),Z(Vx,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(r(),Z(Wx,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(r(),Z(pw,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(r(),Z(Dw,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(r(),Z(Ww,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):C("",!0)])]),_:1}))}});var Zw=N(Jw,[["__scopeId","data-v-e20ba082"]]);const he=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(Zw,pt(lt({},o),{Close:()=>{l()}}));a.use(Na),a.mount(n);const l=()=>{a.unmount(),n.remove()};return{Close:l}},ao=o=>(it("data-v-f1411b40"),o=o(),rt(),o),Kw={id:"page"},Qw={name:"content"},Xw={class:"cbi-map-descr"},tk={style:{color:"#f5365b","margin-top":"10px"}},ek={style:{color:"#f5365b","margin-top":"10px"}},ak={class:"btns"},ok=["disabled"],nk={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},ik={class:"table cbi-section-table"},rk={style:{}},sk={class:"tr cbi-section-table-titles anonymous"},dk={class:"th cbi-section-table-cell","data-widget":"value"},lk={class:"th cbi-section-table-cell","data-widget":"value"},uk={class:"th cbi-section-table-cell","data-widget":"value"},ck={class:"th cbi-section-table-cell","data-widget":"value"},pk={class:"th cbi-section-table-cell","data-widget":"value"},fk={class:"th cbi-section-table-cell","data-widget":"value"},mk={class:"th cbi-section-table-cell","data-widget":"value"},gk={class:"th cbi-section-table-cell","data-widget":"value"},vk={class:"tr cbi-section-table-row"},bk={class:"td cbi-value-field"},hk={class:"td cbi-value-field"},_k=["title"],xk={class:"item-status"},wk={key:0,class:"item-status item-status-detail"},kk={class:"td cbi-value-field"},yk={class:"td cbi-value-field"},Fk={class:"td cbi-value-field"},Ek=ao(()=>t("br",null,null,-1)),$k={class:"td cbi-value-field"},Ck=ao(()=>t("br",null,null,-1)),Dk={key:1,href:"/cgi-bin/luci/admin/quickstart/"},Bk={class:"td cbi-section-table-cell nowrap cbi-section-actions"},Yk=["title","disabled","onClick"],Ak=["title","disabled","onClick"],Sk=["title","onClick"],zk=["title","onClick"],Pk=["title","onClick"],Tk=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=mt({disksList:[]}),u=()=>O(this,null,function*(){try{const m=yield G.Raid.List.GET();if(m!=null&&m.data){const{success:b,error:y,result:F}=m.data;if(F&&(l.disksList=F.disks||[]),y)throw y}}catch(m){console.log(m)}}),d=Pt.easyInterval(u,5e3);ke(()=>{d()});const p=m=>{switch(m.level){case"raid0":case"jbod":return!0}return m.status.indexOf("degraded")!=-1||m.status.indexOf("resyncing(")!=-1},w=m=>{let b=[];return m.childrens&&m.childrens.forEach(y=>{y.mountPoint&&b.push(`${y.name}(${y.mountPoint})`)}),b},g=()=>O(this,null,function*(){he({setup:"create",success:()=>{u()}})}),c=m=>{he({setup:"info",raid:m})},f=m=>O(this,null,function*(){if(m.childrens&&m.childrens.length>0&&m.childrens.filter(F=>F.mountPoint).length>0){Se({content:n("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:n("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:n("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:m.name}))||!confirm(n("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:m.name})))return;const b=$.Loading(n("\u5220\u9664\u4E2D..."));try{const y=yield G.Raid.Delete.POST({path:m.path,members:m.members});if(y.data){const{success:F,error:Y}=y.data;if(Y)throw Y;(F||0)==0&&($.Success(n("\u5220\u9664\u6210\u529F")),u())}}catch(y){$.Error(`${y}`)}finally{b.Close()}}),v=m=>{he({setup:"edit",raid:m,success:()=>{u()}})},x=m=>{he({setup:"remove",raid:m,success:()=>{u()}})},k=m=>{he({setup:"recover",raid:m,success:()=>{u()}})},_=E(!1),h=()=>{Se({content:n("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:n("\u786E\u5B9A"),next:()=>O(this,null,function*(){_.value=!0;const m=$.Loading(n("\u626B\u63CF\u4E2D..."));try{const b=yield G.Raid.Autofix.GET();if(b.data){const{error:y,success:F}=b.data;if(y)throw y;(F||0)==0&&($.Success(n("\u6062\u590D\u5B8C\u6210")),u())}}catch(b){$.Error(`${b}`)}finally{m.Close(),_.value=!1}}),clearTitle:n("\u53D6\u6D88"),clear:()=>{}})};return(m,b)=>(r(),s("div",Kw,[t("h2",Qw,i(e(n)("RAID\u7BA1\u7406")),1),t("div",Xw,[t("p",null,i(e(n)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",tk," * "+i(e(n)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",ek," * "+i(e(n)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",ak,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:b[0]||(b[0]=y=>g())},i(e(n)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:b[1]||(b[1]=y=>h()),disabled:_.value},i(e(n)("\u626B\u63CF\u6062\u590DRAID")),9,ok)]),t("div",null,[t("div",nk,[t("table",ik,[t("tbody",rk,[t("tr",sk,[t("th",dk,i(e(n)("\u540D\u79F0")),1),t("th",lk,i(e(n)("\u8BBE\u5907")),1),t("th",uk,i(e(n)("\u72B6\u6001")),1),t("th",ck,i(e(n)("\u7EA7\u522B")),1),t("th",pk,i(e(n)("\u5BB9\u91CF")),1),t("th",fk,i(e(n)("\u6210\u5458")),1),t("th",mk,i(e(n)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",gk,i(e(n)("\u64CD\u4F5C")),1)]),(r(!0),s(U,null,tt(e(l).disksList,y=>(r(),s("tr",vk,[t("td",bk,[t("b",null,i(y.name),1)]),t("td",hk,[t("b",null,i(y.path),1)]),t("td",{class:"td cbi-value-field",title:y.status+(y.rebuildStatus||"")},[t("b",xk,i(y.status),1),y.rebuildStatus?(r(),s("b",wk," \u2026 ")):C("",!0)],8,_k),t("td",kk,[t("b",null,i(y.level),1)]),t("td",yk,[t("b",null,i(y.size),1)]),t("td",Fk,[(r(!0),s(U,null,tt(y.members,F=>(r(),s("b",null,[nt(i(F)+" ",1),Ek]))),256))]),t("td",$k,[w(y).length>0?(r(!0),s(U,{key:0},tt(w(y),F=>(r(),s("b",null,[nt(i(F)+" ",1),Ck]))),256)):(r(),s("a",Dk,i(e(n)("\u53BB\u6302\u8F7D")),1))]),t("td",Bk,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6269\u5145"),disabled:p(y),onClick:F=>v(y)},i(e(n)("\u6269\u5145")),9,Yk),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u79FB\u9664"),disabled:p(y),onClick:F=>x(y)},i(e(n)("\u79FB\u9664")),9,Ak),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u6062\u590D"),onClick:F=>k(y)},i(e(n)("\u6062\u590D")),9,Sk),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8BE6\u60C5"),onClick:F=>c(y)},i(e(n)("\u8BE6\u60C5")),9,zk),t("button",{class:"cbi-button cbi-button-remove",title:e(n)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:F=>f(y)},i(e(n)("\u5220\u9664")),9,Pk)])]))),256))])])])])]))}});var Ik=N(Tk,[["__scopeId","data-v-f1411b40"]]);const Mk=o=>(it("data-v-2b6b4ef9"),o=o(),rt(),o),Lk={id:"page"},Nk=Mk(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),Ok={class:"cbi-map-descr"},Vk={class:"tabs"},Gk=["href","onClick"],jk=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=[{to:"/smart",name:n("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:n("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:n("\u67E5\u770B\u65E5\u5FD7")}],u=E(!1),d=mt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),p=c=>{const{global:f,devices:v,tasks:x}=c;f&&(d.global.enable=f.enable||!1,d.global.powermode=f.powermode||"never"),d.devices=v||[],d.tasks=x||[]};(()=>O(this,null,function*(){try{const c=yield G.Smart.Config.GET();if(c.data){const{result:f}=c.data;f&&p(f)}}catch(c){}finally{u.value=!0}}))();const g=c=>O(this,null,function*(){const f=$.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const v=yield G.Smart.Config.POST(c);if(v.data){console.log(v.data);const{success:x,error:k,result:_}=v.data;if(k)throw k;(x||0)==0&&($.Success(n("\u4FDD\u5B58\u6210\u529F")),_&&p(_))}}catch(v){$.Error(`${v}`)}finally{f.Close()}});return(c,f)=>{const v=ht("router-link"),x=ht("router-view");return r(),s("div",Lk,[Nk,t("div",Ok,[t("p",null,i(e(n)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,i(e(n)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,i(e(n)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,i(e(n)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",Vk,[(r(),s(U,null,tt(l,k=>D(v,{to:k.to,custom:"",key:k.to},{default:j(({route:_,href:h,navigate:m,isActive:b,isExactActive:y})=>[t("li",{class:st({"active cbi-tab":b&&y})},[t("a",{href:h,onClick:m},i(k.name),9,Gk)],2)]),_:2},1032,["to"])),64))]),u.value?(r(),Z(x,{key:0,name:"default"},{default:j(({Component:k,route:_})=>[(r(),Z(ko,null,{default:j(()=>[(r(),Z(za(k),{key:_.path,config:e(d),saveData:g},null,8,["config"]))]),_:2},1024))]),_:1})):C("",!0)])}}});var Uk=N(jk,[["__scopeId","data-v-2b6b4ef9"]]);const qk={class:"action-main"},Rk=I({setup(o){return(n,a)=>(r(),Z(_t,{type:2},{default:j(()=>[t("div",qk,[Et(n.$slots,"default",{},void 0,!0)])]),_:3}))}});var Ge=N(Rk,[["__scopeId","data-v-f3b0d6f0"]]);const Wk={class:"actioner-container"},Hk={class:"actioner-container_header"},Jk={class:"actioner-container_body"},Zk={class:"cbi-value"},Kk={class:"cbi-value-title"},Qk={class:"cbi-value-field"},Xk={class:"cbi-value-description"},ty={class:"cbi-value"},ey={class:"cbi-value-title"},ay={class:"cbi-value-field"},oy={class:"cbi-checkbox"},ny={value:-1},iy={value:0},ry=["value"],sy={class:"cbi-value-description"},dy={class:"cbi-value"},ly={class:"cbi-value-title"},uy={class:"cbi-value-field"},cy={class:"cbi-checkbox"},py={value:-1},fy={value:0},my=["value"],gy={class:"cbi-value-description"},vy={class:"actioner-container_footer"},by=["disabled"],hy=["disabled"],_y=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var g,c,f;const n=o,{$gettext:a,$ngettext:l}=H();console.log(n.device);const u=E(!1),d=mt({tmpDiff:((g=n.device)==null?void 0:g.tmpDiff)||0,tmpMax:((c=n.device)==null?void 0:c.tmpMax)||0,devicePath:((f=n.device)==null?void 0:f.devicePath)||""}),p=()=>{u.value=!0,n.close()},w=()=>O(this,null,function*(){u.value=!0;try{yield n.next({tmpDiff:d.tmpDiff,tmpMax:d.tmpMax,devicePath:d.devicePath}),u.value=!1,p()}catch(v){}});return(v,x)=>(r(),Z(Ge,null,{default:j(()=>[t("div",Wk,[t("div",Hk,[t("span",null," S.M.A.R.T. \xBB "+i(e(a)("\u8BBE\u5907"))+" \xBB "+i(o.disk.path),1)]),t("div",Jk,[t("div",Zk,[t("label",Kk,i(e(a)("\u78C1\u76D8")),1),t("div",Qk,[t("div",Xk,i(o.disk.model)+" [ "+i(o.disk.path)+"\uFF0C"+i(o.disk.sizeStr)+" ] ",1)])]),t("div",ty,[t("label",ey,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",ay,[t("div",oy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":x[0]||(x[0]=k=>e(d).tmpDiff=k)},[t("option",ny,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",iy,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,k=>t("option",{value:k},i(k)+"\xB0C",9,ry)),64))],512),[[dt,e(d).tmpDiff,void 0,{number:!0}]])]),t("div",sy,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",dy,[t("label",ly,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",uy,[t("div",cy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":x[1]||(x[1]=k=>e(d).tmpMax=k)},[t("option",py,i(e(a)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",fy,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,k=>t("option",{value:k*5},i(k*5)+"\xB0C",9,my)),64))],512),[[dt,e(d).tmpMax,void 0,{number:!0}]])]),t("div",gy,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",vy,[t("button",{class:"close",onClick:p,disabled:u.value},i(e(a)("\u53D6\u6D88")),9,by),t("button",{class:"next",onClick:w,disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,hy)])])]),_:1}))}}),xy={class:"actioner-container"},wy={class:"actioner-container_header"},ky={class:"actioner-container_body"},yy={class:"cbi-value"},Fy={class:"cbi-value-title"},Ey={class:"cbi-value-field"},$y={class:"cbi-checkbox"},Cy={value:""},Dy=["value"],By={class:"cbi-value"},Yy={class:"cbi-value-title"},Ay={class:"cbi-value-field"},Sy={class:"cbi-checkbox"},zy={value:"short"},Py={value:"long"},Ty={value:"conveyance"},Iy={value:"offline"},My={class:"cbi-value"},Ly={class:"cbi-value-title"},Ny={class:"cbi-value-field"},Oy={class:"cbi-checkbox"},Vy=t("option",{value:"*"},"*",-1),Gy=["value"],jy={class:"cbi-value-description"},Uy={class:"cbi-value"},qy={class:"cbi-value-title"},Ry={class:"cbi-value-field"},Wy={class:"cbi-checkbox"},Hy=t("option",{value:"*"},"*",-1),Jy=["value"],Zy={class:"cbi-value-description"},Ky={class:"cbi-value"},Qy={class:"cbi-value-title"},Xy={class:"cbi-value-field"},tF={class:"cbi-checkbox"},eF=t("option",{value:"*"},"*",-1),aF=["value"],oF={class:"cbi-value-description"},nF={class:"actioner-container_footer"},iF=["disabled"],rF=["disabled"],sF=I({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!1),d=mt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),p=E([]);(()=>O(this,null,function*(){try{const f=yield G.Smart.List.GET();if(f.data){const{result:v,error:x}=f.data;v&&v.disks&&(p.value=v.disks)}}catch(f){}}))();const g=()=>{u.value=!0,n.close()},c=()=>O(this,null,function*(){if(d.devicePath==""){$.Warning(a("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}u.value=!0;try{yield n.next(d),g()}catch(f){}finally{u.value=!1}});return(f,v)=>(r(),Z(Ge,null,{default:j(()=>[t("div",xy,[t("div",wy,[t("span",null,i(e(a)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",ky,[t("div",yy,[t("label",Fy,i(e(a)("\u78C1\u76D8")),1),t("div",Ey,[t("div",$y,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[0]||(v[0]=x=>e(d).devicePath=x)},[t("option",Cy,i(e(a)("\u9009\u62E9\u78C1\u76D8")),1),(r(!0),s(U,null,tt(p.value,x=>(r(),s("option",{value:x.path},i(x.model)+" [ "+i(x.path)+"\uFF0C"+i(x.sizeStr)+" ] ",9,Dy))),256))],512),[[dt,e(d).devicePath,void 0,{trim:!0}]])])])]),t("div",By,[t("label",Yy,i(e(a)("\u7C7B\u578B")),1),t("div",Ay,[t("div",Sy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[1]||(v[1]=x=>e(d).type=x)},[t("option",zy,i(e(a)("\u77ED\u6682\u81EA\u68C0")),1),t("option",Py,i(e(a)("\u957F\u65F6\u81EA\u68C0")),1),t("option",Ty,i(e(a)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",Iy,i(e(a)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[dt,e(d).type,void 0,{trim:!0}]])])])]),t("div",My,[t("label",Ly,i(e(a)("\u5C0F\u65F6")),1),t("div",Ny,[t("div",Oy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[2]||(v[2]=x=>e(d).hour=x)},[Vy,(r(),s(U,null,tt(24,(x,k)=>t("option",{value:`${k}`},i(k),9,Gy)),64))],512),[[dt,e(d).hour,void 0,{trim:!0}]])]),t("div",jy,i(e(a)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",Uy,[t("label",qy,i(e(a)("\u5929")),1),t("div",Ry,[t("div",Wy,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[3]||(v[3]=x=>e(d).dayPerMonth=x)},[Hy,(r(),s(U,null,tt(31,x=>t("option",{value:`${x}`},i(x),9,Jy)),64))],512),[[dt,e(d).dayPerMonth,void 0,{trim:!0}]])]),t("div",Zy,i(e(a)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",Ky,[t("label",Qy,i(e(a)("\u6708")),1),t("div",Xy,[t("div",tF,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[4]||(v[4]=x=>e(d).month=x)},[eF,(r(),s(U,null,tt(12,(x,k)=>t("option",{value:`${x}`},i(x),9,aF)),64))],512),[[dt,e(d).month,void 0,{trim:!0}]])]),t("div",oF,i(e(a)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",nF,[t("button",{class:"close",onClick:g,disabled:u.value},i(e(a)("\u53D6\u6D88")),9,iF),t("button",{class:"next",onClick:c,disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,rF)])])]),_:1}))}}),dF={class:"actioner-container"},lF={class:"actioner-container_header"},uF={class:"actioner-container_body"},cF=["value"],pF={class:"actioner-container_footer"},fF=["disabled"],mF=["disabled"],gF=I({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!1),d=E(""),p=E(""),w=E(""),g=()=>O(this,null,function*(){d.value+=".";try{const x=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.task.devicePath||""});if(x.data){const{result:k,error:_}=x.data;k&&k.result&&(w.value=k.result),_&&(w.value=_)}}catch(x){x&&(w.value=x)}}),c=Pt.easyInterval(g,5e3);ke(()=>{c()});const f=()=>{u.value=!0,c(),n.close()},v=()=>O(this,null,function*(){u.value=!0;try{const x=yield G.Smart.Test.POST({type:n.task.type||"short",devicePath:n.task.devicePath||""});if(x.data){const{success:k,error:_,result:h}=x.data;_&&(p.value=_),h&&h.result&&(p.value=h.result)}}catch(x){p.value=x}finally{}});return(x,k)=>(r(),Z(Ge,null,{default:j(()=>[t("div",dF,[t("div",lF,[t("span",null,i(e(a)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",uF,[t("textarea",{value:p.value+` `+w.value+` -`+s.value,disabled:""},null,8,fF)]),t("div",mF,[t("div",{class:"close",onClick:f,disabled:u.value},i(e(a)("\u5173\u95ED")),9,gF),u.value?C("",!0):(r(),d("div",{key:0,class:"next",onClick:g,disabled:u.value},i(e(a)("\u8FD0\u884C")),9,vF))])])]),_:1}))}});var hF=N(bF,[["__scopeId","data-v-abf07ee0"]]);const _F={class:"actioner-container"},xF={class:"actioner-container_header"},wF={class:"tabs"},kF={class:"actioner-container_body"},yF={key:0,class:"table"},FF={class:"tr"},EF={class:"td left"},$F={class:"td left"},CF={class:"tr"},DF={class:"td left"},BF={class:"td left"},YF={class:"tr"},AF={class:"td left"},SF={class:"td left"},zF=["value"],PF=["value"],TF=["value"],IF={class:"actioner-container_footer"},MF=["disabled"],LF=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!1),s=F("info"),p=_=>{switch(s.value=_,_){case"info":break;case"attribute":f();break;case"log":c();break;case"extend":g();break}},w=()=>{u.value=!0,n.close()},m=mt({log:"",attribute:"",extend:""}),c=()=>O(this,null,function*(){try{const _=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.disk.path||""});if(_.data){const{result:k,error:b}=_.data;k&&k.result&&(m.log=k.result),b&&(m.log=b)}}catch(_){m.log=_}}),f=()=>O(this,null,function*(){try{const _=yield G.Smart.Attribute.Result.POST({devicePath:n.disk.path||""});if(_.data){const{result:k,error:b}=_.data;k&&k.result&&(m.attribute=k.result),b&&(m.attribute=b)}}catch(_){m.attribute=_}}),g=()=>O(this,null,function*(){try{const _=yield G.Smart.Extend.Result.POST({devicePath:n.disk.path||""});if(_.data){const{result:k,error:b}=_.data;k&&k.result&&(m.extend=k.result),b&&(m.extend=b)}}catch(_){m.extend=_}});return(_,k)=>(r(),Z(Ge,null,{default:j(()=>[t("div",_F,[t("div",xF,[t("ul",wF,[t("li",{class:st({"active cbi-tab":s.value=="info"}),onClick:k[0]||(k[0]=b=>p("info"))},[t("a",null,i(e(a)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:st({"active cbi-tab":s.value=="attribute"}),onClick:k[1]||(k[1]=b=>p("attribute"))},[t("a",null,i(e(a)("\u5C5E\u6027")),1)],2),t("li",{class:st({"active cbi-tab":s.value=="log"}),onClick:k[2]||(k[2]=b=>p("log"))},[t("a",null,i(e(a)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:st({"active cbi-tab":s.value=="extend"}),onClick:k[3]||(k[3]=b=>p("extend"))},[t("a",null,i(e(a)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",kF,[s.value=="info"?(r(),d("table",yF,[t("tr",FF,[t("td",EF,i(e(a)("\u8BBE\u5907")),1),t("td",$F,i(o.disk.path),1)]),t("tr",CF,[t("td",DF,i(e(a)("\u578B\u53F7")),1),t("td",BF,i(o.disk.model),1)]),t("tr",YF,[t("td",AF,i(e(a)("\u5E8F\u53F7")),1),t("td",SF,i(o.disk.serial),1)])])):s.value=="attribute"?(r(),d("textarea",{key:1,disabled:"",value:e(m).attribute},null,8,zF)):s.value=="log"?(r(),d("textarea",{key:2,disabled:"",value:e(m).log},null,8,PF)):s.value=="extend"?(r(),d("textarea",{key:3,disabled:"",value:e(m).extend},null,8,TF)):C("",!0)]),t("div",IF,[t("div",{class:"close",onClick:w,disabled:u.value},i(e(a)("\u5173\u95ED")),9,MF)])])]),_:1}))}});var NF=N(LF,[["__scopeId","data-v-4a646cde"]]);const OF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(wy,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},VF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(lF,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},GF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(hF,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},jF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(NF,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},UF={class:"cbi-section"},qF={class:"cbi-value"},RF={class:"cbi-value-title"},WF={class:"cbi-value-field"},HF={class:"cbi-checkbox"},JF=["value"],ZF={class:"cbi-value"},KF={class:"cbi-value-title"},QF={class:"cbi-value-field"},XF={class:"cbi-checkbox"},tE={value:"never"},eE={value:"sleep"},aE={value:"standby"},oE={value:"idle"},nE={class:"cbi-value-description"},iE=t("br",null,null,-1),rE=t("br",null,null,-1),sE=t("br",null,null,-1),dE=t("br",null,null,-1),lE={class:"cbi-value"},uE={class:"cbi-value-title"},cE={class:"cbi-value-field"},pE={class:"cbi-checkbox"},fE={value:0},mE=["value"],gE={class:"cbi-value-description"},vE={class:"cbi-value"},bE={class:"cbi-value-title"},hE={class:"cbi-value-field"},_E={class:"cbi-checkbox"},xE={value:0},wE=["value"],kE={class:"cbi-value-description"},yE={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},FE={class:"table cbi-section-table"},EE={class:"tr cbi-section-table-titles anonymous"},$E={class:"th cbi-section-table-cell","data-widget":"value"},CE={class:"th cbi-section-table-cell","data-widget":"value"},DE={class:"th cbi-section-table-cell","data-widget":"value"},BE={class:"th cbi-section-table-cell","data-widget":"value"},YE={class:"th cbi-section-table-cell","data-widget":"value"},AE={class:"th cbi-section-table-cell","data-widget":"value"},SE={class:"th cbi-section-table-cell","data-widget":"value"},zE={class:"th cbi-section-table-cell","data-widget":"value"},PE={class:"tr cbi-section-table-row"},TE={class:"td cbi-value-field"},IE={class:"td cbi-value-field"},ME={class:"td cbi-value-field"},LE={class:"td cbi-value-field"},NE={class:"td cbi-value-field"},OE={class:"td cbi-value-field"},VE={class:"td cbi-value-field"},GE={class:"td cbi-value-field"},jE=["title","onClick"],UE=["title","onClick"],qE={class:"cbi-page-actions control-group"},RE=["value"],WE=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=mt(n.config),s=()=>{u.global.tmpDiff=n.config.global.tmpDiff||0,u.global.tmpMax=n.config.global.tmpMax||0,u.global.enable=n.config.global.enable||!1,u.global.powermode=n.config.global.powermode||"never",u.devices=n.config.devices||[],u.tasks=n.config.tasks||[]},p=F([]),w=()=>O(this,null,function*(){try{const _=yield G.Smart.List.GET();if(_.data){const{result:k,error:b}=_.data;k&&k.disks&&(p.value=k.disks||[])}}catch(_){}}),m=Pt.easyInterval(w,5e3);ke(()=>{m()});const c=()=>O(this,null,function*(){yield n.saveData({global:u.global,devices:n.config.devices,tasks:n.config.tasks}),s()}),f=_=>{jF({disk:_})},g=(_,k)=>O(this,null,function*(){let b=null,h=-1;if(u.devices){for(let v=0;vO(this,null,function*(){v.tmpDiff==-1&&(v.tmpDiff=u.global.tmpDiff),v.tmpMax==-1&&(v.tmpMax=u.global.tmpMax),v.devicePath==""&&(v.devicePath=_.path);let x=[...u.devices];h>=0&&(x[h]=v);const y=new Map;x.forEach($=>{$.devicePath!=null&&y.set($.devicePath,null)});for(let $=0;$(r(),d(U,null,[t("fieldset",UF,[t("div",qF,[t("label",RF,i(e(a)("\u542F\u7528")),1),t("div",WF,[t("div",HF,[L(t("input",{type:"checkbox","onUpdate:modelValue":k[0]||(k[0]=b=>e(u).global.enable=b),value:!e(u).global.enable},null,8,JF),[[Rt,e(u).global.enable]])])])]),t("div",ZF,[t("label",KF,i(e(a)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",QF,[t("div",XF,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[1]||(k[1]=b=>e(u).global.powermode=b)},[t("option",tE,i(e(a)("\u603B\u662F")),1),t("option",eE,i(e(a)("\u7761\u7720")),1),t("option",aE,i(e(a)("\u5F85\u673A")),1),t("option",oE,i(e(a)("\u95F2\u7F6E")),1)],512),[[dt,e(u).global.powermode,void 0,{trim:!0}]])]),t("div",nE,[t("span",null,i(e(a)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),iE,t("span",null,"* "+i(e(a)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),rE,t("span",null,"* "+i(e(a)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),sE,t("span",null,"* "+i(e(a)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),dE,t("span",null,"* "+i(e(a)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",lE,[t("label",uE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",cE,[t("div",pE,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[2]||(k[2]=b=>e(u).global.tmpDiff=b)},[t("option",fE,i(e(a)("\u7981\u7528")),1),(r(),d(U,null,tt(15,b=>t("option",{value:b},i(b)+"\xB0C",9,mE)),64))],512),[[dt,e(u).global.tmpDiff,void 0,{number:!0}]])]),t("div",gE,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",vE,[t("label",bE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",hE,[t("div",_E,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[3]||(k[3]=b=>e(u).global.tmpMax=b)},[t("option",xE,i(e(a)("\u7981\u7528")),1),(r(),d(U,null,tt(20,b=>t("option",{value:b*5},i(b*5)+"\xB0C",9,wE)),64))],512),[[dt,e(u).global.tmpMax,void 0,{number:!0}]])]),t("div",kE,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",yE,[t("table",FE,[t("thead",null,[t("tr",EE,[t("th",$E,i(e(a)("\u8BBE\u5907")),1),t("th",CE,i(e(a)("\u578B\u53F7")),1),t("th",DE,i(e(a)("\u5E8F\u53F7")),1),t("th",BE,i(e(a)("\u5BB9\u91CF")),1),t("th",YE,i(e(a)("\u6E29\u5EA6")),1),t("th",AE,i(e(a)("\u72B6\u6001")),1),t("th",SE,i(e(a)("\u5065\u5EB7")),1),t("th",zE,i(e(a)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(r(!0),d(U,null,tt(p.value,(b,h)=>(r(),d("tr",PE,[t("td",TE,[t("b",null,i(b.path),1)]),t("td",IE,[t("b",null,i(b.model),1)]),t("td",ME,[t("b",null,i(b.serial),1)]),t("td",LE,[t("b",null,i(b.sizeStr),1)]),t("td",NE,[t("b",null,i(b.temp),1)]),t("td",OE,[t("b",null,i(b.status),1)]),t("td",VE,[t("b",null,i(b.health),1)]),t("td",GE,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:v=>g(b)},i(e(a)("\u7F16\u8F91")),9,jE),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:v=>f(b)},i(e(a)("\u8BE6\u60C5")),9,UE)])]))),256))])])]),t("span",qE,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:c},null,8,RE)])],64))}}),HE={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},JE={class:"table cbi-section-table"},ZE={class:"tr cbi-section-table-titles anonymous"},KE={class:"th cbi-section-table-cell","data-widget":"value"},QE={class:"th cbi-section-table-cell","data-widget":"value"},XE={class:"th cbi-section-table-cell","data-widget":"value"},t$={class:"th cbi-section-table-cell","data-widget":"value"},e$={class:"tr cbi-section-table-row"},a$={class:"td cbi-value-field"},o$={class:"td cbi-value-field"},n$={class:"td cbi-value-field"},i$={class:"td cbi-value-field"},r$=["title","onClick"],s$=["title","onClick"],d$=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=mt(n.config),s=c=>{switch(c){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")}},p=()=>{VF({config:n.config,disks:[],next:c=>O(this,null,function*(){yield n.saveData({tasks:[...u.tasks,c],global:n.config.global,devices:n.config.devices}),u.tasks=n.config.tasks||[]})})},w=c=>O(this,null,function*(){const f=[...u.tasks];f.splice(c,1),yield n.saveData({tasks:f,global:n.config.global,devices:n.config.devices}),u.tasks=n.config.tasks||[]}),m=c=>{GF({task:c})};return(c,f)=>(r(),d(U,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:f[0]||(f[0]=g=>p())},i(e(a)("\u65B0\u5EFA")),1),t("div",HE,[t("table",JE,[t("thead",null,[t("tr",ZE,[t("th",KE,i(e(a)("\u8BBE\u5907")),1),t("th",QE,i(e(a)("\u7C7B\u578B")),1),t("th",XE,i(e(a)("\u8C03\u5EA6")),1),t("th",t$,i(e(a)("\u529F\u80FD")),1)])]),t("tbody",null,[(r(!0),d(U,null,tt(e(u).tasks,(g,_)=>(r(),d("tr",e$,[t("td",a$,[t("b",null,i(g.devicePath),1)]),t("td",o$,[t("b",null,i(s(g.type)),1)]),t("td",n$,[t("b",null,i(g.month)+"/"+i(g.dayPerMonth)+"/"+i(g.hour),1)]),t("td",i$,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8C03\u8BD5"),onClick:k=>m(g)},i(e(a)("\u9884\u89C8")),9,r$),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5220\u9664"),onClick:k=>w(_)},i(e(a)("\u5220\u9664")),9,s$)])]))),256))])])])],64))}}),l$={class:"cbi-section"},u$=["value"],c$=I({setup(o){return O(this,null,function*(){let n,a;const l=F(""),u=()=>O(this,null,function*(){try{const s=yield G.Smart.Log.GET();if(s.data){const{result:p,error:w}=s.data;p&&p.result&&(l.value=p.result),w&&(l.value=w)}}catch(s){l.value=s}});return[n,a]=yo(()=>u()),yield n,a(),(s,p)=>(r(),d("fieldset",l$,[t("textarea",{value:l.value,disabled:""},null,8,u$)]))})}});var p$=N(c$,[["__scopeId","data-v-997c3dee"]]);const oo=o=>(it("data-v-17b89cb7"),o=o(),rt(),o),f$=oo(()=>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)),m$={class:"app-container_status-label_text"},g$={class:"text_status"},v$={class:"text_info"},b$=oo(()=>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)),h$={class:"app-container_status-label_text"},_$={class:"text_info"},x$=I({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=ia(),s=F(null),p=m=>{const c=m.target,{left:f,top:g}=c.getBoundingClientRect();u.portitemStyle.show=!0,u.portitemStyle.left=f,u.portitemStyle.top=g,u.portitemStyle.portitem=n.item},w=m=>{u.portitemStyle.show=!1};return(m,c)=>(r(),d("div",{class:"app-container_status-label_bg",style:ft(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:s,onMouseenter:p,onMouseleave:w},[o.item.linkState=="DOWN"?(r(),d(U,{key:0},[f$,t("div",m$,[t("div",g$,i(e(a)("\u5DF2\u65AD\u5F00")),1),t("div",v$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(r(),d(U,{key:1},[b$,t("div",h$,[t("div",null,i(o.item.linkSpeed),1),t("div",_$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var w$=N(x$,[["__scopeId","data-v-17b89cb7"]]);const k$={},y$={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"},F$=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),E$=[F$];function $$(o,n){return r(),d("svg",y$,E$)}var Ca=N(k$,[["render",$$]]);const C$=["onSubmit"],D$={class:"actioner-dns_header"},B$={key:0},Y$={key:1},A$={class:"actioner-dns_body"},S$={class:"label-item"},z$={class:"label-item_key"},P$={class:"label-item_value"},T$={class:"label-item"},I$={class:"label-item_key"},M$={class:"label-item_value"},L$={value:"dhcp"},N$={key:0,value:"pppoe"},O$={value:"static"},V$={class:"actioner-dns_footer"},G$=["disabled"],j$=I({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=F(!1),s=F(n.inface),p=()=>O(this,null,function*(){E.Loading(a("\u914D\u7F6E\u4E2D...")).Close(),n.next(s.value),w()}),w=()=>{n.Close&&n.Close()};return(m,c)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[t("form",{class:"actioner-dns",onSubmit:ut(p,["prevent"])},[t("div",D$,[o.name=="wan"?(r(),d("span",B$,i(o.e=="edit"?e(a)("\u7F16\u8F91WAN"):e(a)("\u6DFB\u52A0WAN")),1)):(r(),d("span",Y$,i(o.e=="edit"?e(a)("\u7F16\u8F91LAN"):e(a)("\u6DFB\u52A0LAN")),1))]),t("div",A$,[t("div",S$,[t("div",z$,[t("span",null,i(e(a)("\u540D\u79F0")),1)]),t("div",P$,[t("span",null,i(s.value.name.toLocaleUpperCase()),1)])]),t("div",T$,[t("div",I$,[t("span",null,i(e(a)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",M$,[L(t("select",{"onUpdate:modelValue":c[0]||(c[0]=f=>s.value.proto=f)},[t("option",L$,i(e(a)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(r(),d("option",N$,"PPPoE")):C("",!0),t("option",O$,i(e(a)("\u9759\u6001\u5730\u5740")),1)],512),[[dt,s.value.proto]])])])]),t("div",V$,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,G$),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},i(e(a)("\u53D6\u6D88")),1)])],40,C$)]),_:1},8,["Close"]))}});var U$=N(j$,[["__scopeId","data-v-6f6071af"]]);const Da=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(U$,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()}},jt=o=>(it("data-v-4ec945e0"),o=o(),rt(),o),q$={id:"page"},R$={name:"content"},W$={class:"container"},H$={class:"table-wrapper"},J$={class:"table-header"},Z$={class:"interface-device-flex"},K$=jt(()=>t("div",{class:"header-cell spacer-col"},null,-1)),Q$=jt(()=>t("div",{class:"header-cell"},null,-1)),X$=jt(()=>t("div",{class:"header-cell action-col"},null,-1)),tC={class:"table-body"},eC=["name","value","onUpdate:modelValue","onInput"],aC=jt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),oC={class:"table-cell name-col"},nC={class:"table-cell action-col"},iC=["title","onClick"],rC=["onClick"],sC=jt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),dC=jt(()=>t("div",{class:"table-cell name-col"},null,-1)),lC={class:"table-cell action-col"},uC=["name","value","onUpdate:modelValue","onInput"],cC=jt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),pC={class:"table-cell name-col"},fC={class:"table-cell action-col"},mC=["title","onClick"],gC=["onClick"],vC=jt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),bC=jt(()=>t("div",{class:"table-cell name-col"},null,-1)),hC={class:"table-cell action-col"},_C={class:"cbi-page-actions control-group"},xC=["value","disabled"],wC=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=mt({devices:[],interfaces:[]}),u=F(!1),s=mt({lan:[],wan:[]});(()=>{G.Network.GetInterfaceConfig.GET().then(k=>{if(k.data){const{result:b}=k.data;if(b){l.devices=b.devices||[],l.interfaces=b.interfaces||[];for(let h=0;h{k=="wan"?s.wan.splice(b,1):k=="lan"&&s.lan.splice(b,1)},m=(k,b)=>{if(b==null){let h=k=="wan"?s.wan.length:s.lan.length;h==6&&k=="wan"&&h++,Da({e:"add",name:k,inface:{name:k+`${h}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:k},next:v=>{k=="wan"?s.wan.push(v):s.lan.push(v),E.Message(n("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else Da({e:"edit",name:k,inface:k=="wan"?s.wan[b]:s.lan[b],next:h=>{k=="wan"?s.wan[b]=h:s.lan[b]=h}})},c=(k,b)=>k?k.indexOf(b):-1,f=(k,b)=>{const v=k.target.value;for(let y=0;y{const v=k.target.value;for(let x=0;xO(this,null,function*(){u.value=!0;const k=[];for(let h=0;h(r(),d("div",q$,[t("h2",R$,i(e(n)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",W$,[t("div",H$,[t("div",J$,[(r(!0),d(U,null,tt(e(l).devices,h=>(r(),d("div",{class:"header-cell device-col",key:h.name},[t("div",Z$,[D(w$,{item:h},null,8,["item"])])]))),128)),K$,Q$,X$]),t("div",tC,[(r(!0),d(U,null,tt(e(s).lan,(h,v)=>(r(),d("div",{key:v,class:"table-row"},[(r(!0),d(U,null,tt(e(l).devices,x=>(r(),d("div",{class:"table-cell device-col",key:x.name},[L(t("input",{type:"checkbox",name:x.name,value:x.name,"onUpdate:modelValue":y=>h.deviceNames=y,onInput:y=>f(y,v)},null,40,eC),[[Rt,h.deviceNames]])]))),128)),aC,t("div",oC,[t("b",null,i(h.name),1)]),t("div",nC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:x=>m("lan",v)},i(e(n)("\u7F16\u8F91")),9,iC),v!==0?(r(),d("button",{key:0,class:"cbi-button cbi-button-remove",onClick:x=>w("lan",v)},i(e(n)("\u5220\u9664")),9,rC)):C("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:b[0]||(b[0]=h=>m("lan"))},[(r(!0),d(U,null,tt(e(l).devices,h=>(r(),d("div",{class:"table-cell device-col",key:h.name}))),128)),sC,dC,t("div",lC,[D(Ca,{class:"icon"})])]),(r(!0),d(U,null,tt(e(s).wan,(h,v)=>(r(),d("div",{key:v,class:"table-row"},[(r(!0),d(U,null,tt(e(l).devices,x=>(r(),d("div",{class:"table-cell device-col",key:x.name},[L(t("input",{type:"checkbox",name:x.name,value:x.name,"onUpdate:modelValue":y=>h.deviceNames=y,onInput:y=>g(y,v)},null,40,uC),[[Rt,h.deviceNames]])]))),128)),cC,t("div",pC,[t("b",null,i(h.name),1)]),t("div",fC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:x=>m("wan",v)},i(e(n)("\u7F16\u8F91")),9,mC),v!==0?(r(),d("button",{key:0,class:"cbi-button cbi-button-remove",onClick:x=>w("wan",v)},i(e(n)("\u5220\u9664")),9,gC)):C("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:b[1]||(b[1]=h=>m("wan"))},[(r(!0),d(U,null,tt(e(l).devices,h=>(r(),d("div",{class:"table-cell device-col",key:h.name}))),128)),vC,bC,t("div",hC,[D(Ca,{class:"icon"})])])])])]),t("div",_C,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(n)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:_,disabled:u.value},null,8,xC)])]))}});var kC=N(wC,[["__scopeId","data-v-4ec945e0"]]);const yC={name:"CustomTable",props:{data:{type:Array,default:()=>[]},columns:{type:Array,required:!0,validator:o=>o.every(n=>n.label&&n.prop)},showSelection:{type:Boolean,default:!1},rowKey:{type:String,default:"id"},showPagination:{type:Boolean,default:!0},pageSize:{type:Number,default:10},currentPage:{type:Number,default:1},emptyText:{type:String,default:"\u6682\u65E0\u6570\u636E"},maxPagerCount:{type:Number,default:5},theadBgColor:{type:String,default:"#F8F8F8"}},emits:["selection-change","update:currentPage","page-change"],setup(o,{emit:n}){const{$gettext:a}=H(),l=F([]),u=F(!1),s=F(!1);F(null);const p=Q(()=>o.data.length),w=Q(()=>Math.ceil(p.value/o.pageSize)),m=Q(()=>{if(!o.showPagination)return o.data;const Y=(o.currentPage-1)*o.pageSize,P=Y+o.pageSize;return o.data.slice(Y,P)}),c=Q(()=>(o.currentPage-1)*o.pageSize+1),f=Q(()=>{const Y=o.currentPage*o.pageSize;return Y>p.value?p.value:Y}),g=Q(()=>({minWidth:`${o.columns.reduce((P,A)=>P+(parseInt(A.width)||50),o.showSelection?50:0)}px`})),_=Q(()=>{const Y=[],P=Math.floor(o.maxPagerCount/2);let A=o.currentPage-P,B=o.currentPage+P;A<1&&(A=1,B=Math.min(o.maxPagerCount,w.value)),B>w.value&&(B=w.value,A=Math.max(1,B-o.maxPagerCount+1));for(let S=A;S<=B;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"}),b=()=>{u.value?l.value=[...m.value.map(Y=>Y[o.rowKey])]:l.value=[],x()},h=()=>{u.value=l.value.length===m.value.length&&m.value.length>0,x()},v=(Y,P)=>{P?l.value.includes(Y)||l.value.push(Y):l.value=l.value.filter(A=>A!==Y),h()},x=()=>{const Y=o.data.filter(P=>l.value.includes(P[o.rowKey]));n("selection-change",Y)},y=Y=>{Y<1||Y>w.value||(n("update:currentPage",Y),n("page-change",Y))},$=()=>{s.value=window.innerWidth<=768};return At(()=>o.data,()=>{l.value=[],u.value=!1},{deep:!0}),Yt(()=>{$(),window.addEventListener("resize",$)}),Gt(()=>{window.removeEventListener("resize",$)}),{selectedRows:l,allSelected:u,isMobile:s,total:p,totalPages:w,paginatedData:m,startItem:c,endItem:f,visiblePages:_,tableStyle:g,gettext:a,getColumnStyle:k,toggleAllSelection:b,handleSelectionChange:h,changePage:y,updateSelection:v}}},FC={class:"custom-table-container"},EC={key:0,class:"selection-header"},$C={key:0,class:"selection-cell"},CC=["checked","onChange"],DC={key:0,class:"empty-row"},BC=["colspan"],YC={key:0,class:"pagination-wrapper"},AC={class:"pagination-info"},SC={class:"pagination-controls"},zC=["disabled"],PC=["onClick"],TC=["disabled"];function IC(o,n,a,l,u,s){return r(),d("div",FC,[t("div",{class:"custom-table-wrapper",style:ft({overflowX:l.isMobile?"auto":"hidden"})},[t("table",{class:st(["custom-table",{"has-selection":a.showSelection}]),style:ft(l.tableStyle)},[t("thead",{style:ft({background:a.theadBgColor})},[t("tr",null,[a.showSelection?(r(),d("th",EC,[L(t("input",{type:"checkbox","onUpdate:modelValue":n[0]||(n[0]=p=>l.allSelected=p),onChange:n[1]||(n[1]=(...p)=>l.toggleAllSelection&&l.toggleAllSelection(...p))},null,544),[[Rt,l.allSelected]])])):C("",!0),(r(!0),d(U,null,tt(a.columns,(p,w)=>(r(),d("th",{key:w,style:ft(l.getColumnStyle(p))},i(l.gettext(p.label)),5))),128))])],4),t("tbody",null,[(r(!0),d(U,null,tt(l.paginatedData,(p,w)=>(r(),d("tr",{key:w,class:st({"last-row":w===l.paginatedData.length-1})},[a.showSelection?(r(),d("td",$C,[t("input",{type:"checkbox",checked:l.selectedRows.includes(p[a.rowKey]),onChange:m=>l.updateSelection(p[a.rowKey],m.target.checked)},null,40,CC)])):C("",!0),(r(!0),d(U,null,tt(a.columns,(m,c)=>(r(),d("td",{key:c,style:ft({textAlign:m.align||"center"})},[m.slot?Et(o.$slots,m.slot,{key:0,row:p,index:w},void 0,!0):(r(),d(U,{key:1},[nt(i(p[m.prop]),1)],64))],4))),128))],2))),128)),l.paginatedData.length===0?(r(),d("tr",DC,[t("td",{colspan:a.showSelection?a.columns.length+1:a.columns.length},i(a.emptyText),9,BC)])):C("",!0)])],6)],4),a.showPagination?(r(),d("div",YC,[t("div",AC,i(l.gettext("\u663E\u793A"))+" "+i(l.startItem)+" "+i(l.gettext("\u5230"))+" "+i(l.endItem)+" "+i(l.gettext("\u6761"))+"\uFF0C"+i(l.gettext("\u5171"))+" "+i(l.total)+" "+i(l.gettext("\u6761")),1),t("div",SC,[t("button",{disabled:a.currentPage===1,onClick:n[2]||(n[2]=p=>l.changePage(a.currentPage-1))},i(l.gettext("\u4E0A\u4E00\u9875")),9,zC),(r(!0),d(U,null,tt(l.visiblePages,p=>(r(),d("button",{key:p,class:st({active:p===a.currentPage}),onClick:w=>l.changePage(p)},i(p),11,PC))),128)),t("button",{disabled:a.currentPage===l.totalPages,onClick:n[3]||(n[3]=p=>l.changePage(a.currentPage+1))},i(l.gettext("\u4E0B\u4E00\u9875")),9,TC)])])):C("",!0)])}var je=N(yC,[["render",IC],["__scopeId","data-v-2c8ecf89"]]);const no=o=>(it("data-v-d28f7d82"),o=o(),rt(),o),MC={style:{display:"flex","align-items":"center"}},LC={class:"search_box"},NC={class:"search_container"},OC={class:"search_input_wrapper"},VC=["onKeyup","placeholder"],GC=no(()=>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)),jC=[GC],UC=no(()=>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)),qC=[UC],RC=I({props:{showBatchDelete:{type:Boolean,default:!0},showAdd:{type:Boolean,default:!0}},emits:["refresh","batch-delete","search","handleAdd"],setup(o,{emit:n}){const a=o,{$gettext:l}=H(),u=F(""),s=F(!1),p=F(a.showBatchDelete),w=F(a.showAdd),m=()=>{n("refresh",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},c=()=>{n("search",String(u.value))},f=()=>{n("batch-delete",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},g=()=>{n("handleAdd")};return(_,k)=>(r(),d("div",MC,[w.value?(r(),d("button",{key:0,class:"del-button add-button--danger",style:{},onClick:g},[t("span",null,i(e(l)("\u6DFB\u52A0")),1)])):C("",!0),p.value?(r(),d("button",{key:1,class:"del-button del-button--danger",onClick:f},[t("span",null,i(e(l)("\u6279\u91CF\u5220\u9664")),1)])):C("",!0),t("div",LC,[t("div",NC,[t("div",OC,[L(t("input",{type:"text",onKeyup:Fo(c,["enter"]),"onUpdate:modelValue":k[0]||(k[0]=b=>u.value=b),class:"search_input",placeholder:e(l)("\u8BF7\u8F93\u5165\u540D\u79F0/IP/MAC\u2026")},null,40,VC),[[et,u.value,void 0,{trim:!0}]]),t("svg",{class:"search_icon",viewBox:"0 0 24 24",width:"24",height:"24",onClick:c},jC)]),t("button",{class:st(["refresh_button",{rotate:s.value}]),onClick:m},qC,2)])])]))}});var fa=N(RC,[["__scopeId","data-v-d28f7d82"]]);const WC=o=>(it("data-v-9ce78472"),o=o(),rt(),o),HC=WC(()=>t("span",{class:"switch__button"},null,-1)),JC=[HC],ZC=["checked","disabled"],KC=I({props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},activeColor:{default:"#409EFF"},inactiveColor:{default:"#DCDFE6"}},emits:["update:modelValue","change","beforeChange"],setup(o,{emit:n}){const a=o,l=()=>{if(n("beforeChange",!a.modelValue),a.disabled)return;const u=!a.modelValue;n("update:modelValue",u),n("change",u)};return Q(()=>a.modelValue),(u,s)=>(r(),d("div",{class:st(["switch",{"is-checked":o.modelValue,"is-disabled":o.disabled}]),onClick:l},[t("span",{class:"switch__core",style:ft({backgroundColor:o.modelValue?o.activeColor:o.inactiveColor,borderColor:o.modelValue?o.activeColor:o.inactiveColor})},JC,4),t("input",{type:"checkbox",class:"switch__input",checked:o.modelValue,disabled:o.disabled},null,8,ZC)],2))}});var Ot=N(KC,[["__scopeId","data-v-9ce78472"]]);const QC={class:"flow"},XC={class:"flow-data"},tD={key:0},eD={key:1},aD=I({props:{ipParam:{type:String}},setup(o){const n=o,{$gettext:a}=H();Qe([Ba,Ya,Aa,Xe,ta,Sa]);const l=F(n.ipParam),u=F(),s=v=>{var y;const x=(y=u.value)==null?void 0:y[v];return!x||x.startTime==0?"":g(x.startTime*1e3)+"-"+g(x.endTime*1e3)},p=Q(()=>{var x;let v=[];return(x=u.value)==null||x.forEach(y=>{v.push({value:y.uploadSpeed})}),v}),w=Q(()=>{var x;let v=[];return(x=u.value)==null||x.forEach(y=>{v.push({value:y.downloadSpeed})}),v}),m=Q(()=>{var x;let v="";if(u.value){let y=((x=u.value)==null?void 0:x.length)||0;if(y>0){let $=u.value[y-1];v=_($.uploadSpeed)+"/s"}}return v}),c=Q(()=>{var x;let v="";if(u.value){let y=((x=u.value)==null?void 0:x.length)||0;if(y>0){let $=u.value[y-1];v=_($.downloadSpeed)+"/s"}}return v}),f=()=>O(this,null,function*(){var v;try{const x=yield G.DeviceMangement.speedsForOneDevice.POST({ip:l.value});if(x.data&&(v=x.data.result)!=null&&v.items){const y=x.data.result.slots||10;if(x.data.result.items.lengthy?u.value=x.data.result.items.slice(y-x.data.result.items.length):u.value=x.data.result.items}}catch(x){console.log(x)}}),g=Pt.dateForm,_=Pt.byteToSize,k=F();let b=null;const h=v=>{const x=Ua();return b=ea(v,x?"dark":"light"),b.setOption({animation:!1,backgroundColor:x?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:y=>{if(Array.isArray(y)){let $="";y.length>0&&($=s(y[0].axisValue));for(let Y=0;Y${y[Y].seriesName}: ${_(y[Y].value)}/s`;return $.toString()}else{const $=y;return`${s($.axisValue)}
${$.seriesName}: ${_($.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:x?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(y,$){return`${_(y)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:w.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:p.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:x?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),b};return Yt(()=>{setTimeout(()=>O(this,null,function*(){if(k.value){yield f();const v=h(k.value),x=k.value;v.resize({width:x.clientWidth,height:x.clientHeight}),window.addEventListener("resize",()=>{v.resize({width:x.clientWidth,height:x.clientHeight})});const y=()=>O(this,null,function*(){if(b!=null){if(!document.hidden){if(yield f(),b==null)return;v.setOption({series:[{name:a("\u4E0B\u8F7D"),data:w.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:p.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(y,5e3)}});setTimeout(y,5e3)}}),900)}),Gt(()=>{b!=null&&(b.dispose(),b=null)}),(v,x)=>(r(),d("div",QC,[t("div",{ref_key:"el",ref:k,class:"echart"},null,512),t("div",XC,[e(m)?(r(),d("span",tD,i(e(a)("\u4E0A\u4F20:"))+" "+i(e(m)),1)):C("",!0),e(c)?(r(),d("span",eD,i(e(a)("\u4E0B\u8F7D:"))+" "+i(e(c)),1)):C("",!0)])]))}});var oD=N(aD,[["__scopeId","data-v-529a02b0"]]);const nD=["onClick"],iD={class:"modal-header"},rD={class:"modal-title"},sD={class:"modal-content"},dD={key:0,class:"modal-footer"},ee=I({props:{modelValue:{type:Boolean},title:{default:"\u63D0\u793A"},showClose:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1},footerShow:{type:Boolean,default:!0},width:{default:"500px"}},emits:["update:modelValue","confirm","cancel","close"],setup(o,{expose:n,emit:a}){const l=o;Eo(g=>({"1df87c10":e(s)}));const{$gettext:u}=H(),s=Q(()=>typeof l.width=="number"?`${l.width}px`:l.width),p=F(l.modelValue);At(()=>l.modelValue,g=>{p.value=g}),At(p,g=>{a("update:modelValue",g),g||a("close")}),Q(()=>typeof l.width=="number"?`${l.width}px`:l.width);const w=()=>{p.value=!1},m=()=>{l.closeOnClickOverlay&&f()},c=()=>{a("confirm")},f=()=>{a("cancel"),w()};return n({show:()=>p.value=!0,hide:()=>p.value=!1}),(g,_)=>(r(),Z($t,{name:"fade"},{default:j(()=>[p.value?(r(),d("div",{key:0,class:"modal-overlay",onClick:ut(m,["self"])},[D($t,{name:"slide"},{default:j(()=>[t("div",{class:"modal-container",style:ft({maxWidth:e(s)})},[t("div",iD,[t("h3",rD,i(e(u)(o.title)),1),o.showClose?(r(),d("button",{key:0,class:"modal-close",onClick:f,"aria-label":"Close"}," \xD7 ")):C("",!0)]),t("div",sD,[Et(g.$slots,"default")]),o.footerShow?(r(),d("div",dD,[Et(g.$slots,"footer",{},()=>[t("button",{class:"modal-button cancel",onClick:f},i(e(u)("\u53D6\u6D88")),1),t("button",{class:"modal-button confirm",onClick:c},i(e(u)("\u4FDD\u5B58")),1)])])):C("",!0)],4)]),_:3})],8,nD)):C("",!0)]),_:3}))}}),$e=o=>(it("data-v-2f8a90b2"),o=o(),rt(),o),lD={class:"container"},uD={style:{display:"flex","justify-content":"end"}},cD=["onClick"],pD=["onClick"],fD=["onClick"],mD={class:"custom-content"},gD={class:"IP_address"},vD={class:"item_box"},bD={class:"item_left"},hD={key:0,class:"tip"},_D=["onClick"],xD={key:1},wD={class:"item_box"},kD={class:"item_left"},yD={class:"item_box"},FD={class:"item_left"},ED=["placeholder"],$D={class:"item_box"},CD={class:"item_left"},DD=["placeholder"],BD={class:"item_box"},YD={class:"item_left"},AD=["placeholder"],SD={class:"custom-content"},zD=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),PD={class:"item_box"},TD={class:"item_left"},ID=["placeholder"],MD={class:"item_box"},LD=$e(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),ND=["placeholder"],OD={class:"item_box"},VD={class:"item_left"},GD={key:0,value:null,disabled:""},jD=["value"],UD={class:"item_box"},qD={class:"item_left"},RD={key:0,class:"item_box"},WD=$e(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),HD=["placeholder"],JD={class:"custom-content"},ZD={class:"info-content"},KD=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),QD={style:{"margin-bottom":"16px",flex:"1"}},XD={class:"item_box"},tB={class:"item_left"},eB={class:"item_box"},aB={class:"item_left"},oB={class:"item_box"},nB=$e(()=>t("div",{class:"item_left"}," MAC\uFF1A",-1)),iB={class:"item_box"},rB={class:"item_left"},sB={class:"item_box"},dB={class:"item_left"},lB={class:"item_box"},uB={class:"item_left"},cB=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=H(),l=z=>{R.hostname=z.target.value.replace(/[\u4e00-\u9fa5]/g,"")},u=F(null),s=()=>{p(),A(),u.value=setInterval(A,3e3)},p=()=>{u.value&&(clearInterval(u.value),u.value=null)};Yt(()=>O(this,null,function*(){yield Y(),c.value.length!==0&&s()})),Gt(()=>{p()});const w=F({});(()=>O(this,null,function*(){try{const{data:z}=yield G.DeviceMangement.globalConfigs.GET();z.result&&(w.value=z.result||{})}catch(z){}}))();const c=F([]),f=F([]),g=F(!1),_=F(!1),k=F(!1),b=Q(()=>!R.dhcpGateway),h=F([{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=z=>({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")})[z]||z,x=()=>{g.value=!1,n("openGloba")},y=z=>{var K,X;if(z==!0&&!((X=(K=w.value)==null?void 0:K.speedLimit)!=null&&X.enabled))return E.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},$=F([]),Y=()=>O(this,null,function*(){var K,X,ot;let z=E.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:xt}=yield G.DeviceMangement.listDevices.GET();xt.result&&(c.value=((K=xt.result)==null?void 0:K.devices)||[],f.value=((X=xt.result)==null?void 0:X.devices)||[],$.value=((ot=xt.result)==null?void 0:ot.dhcpTags)||[])}catch(xt){}finally{z.Close()}}),P=(z,K)=>{const X={};return z.forEach(ot=>{ot.ip&&(X[ot.ip]={downloadSpeedStr:ot.downloadSpeedStr||"0 B",uploadSpeedStr:ot.uploadSpeedStr||"0 B"})}),K.map(ot=>ot.ip&&X[ot.ip]?pt(lt({},ot),{downloadSpeedStr:X[ot.ip].downloadSpeedStr,uploadSpeedStr:X[ot.ip].uploadSpeedStr}):pt(lt({},ot),{downloadSpeedStr:ot.downloadSpeedStr||"0 B",uploadSpeedStr:ot.uploadSpeedStr||"0 B"}))},A=()=>O(this,null,function*(){try{const{data:z}=yield G.DeviceMangement.speedsForDevices.GET();z.result&&(f.value=P(z.result,f.value))}catch(z){}}),B=z=>/^[a-zA-Z\s]+$/.test(z)?z.toUpperCase():z,S=mt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),R=mt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),V=F(""),T=F({}),M=(z,K)=>{var X,ot,xt,St,wt,ne,ie,re,se,de,le,ue,ce,pe,fe,me;T.value=z,K===1?(S.ip=z.ip||"",S.mac=z.mac||"",S.uploadSpeed=((X=z==null?void 0:z.speedLimit)==null?void 0:X.uploadSpeed)||100,S.downloadSpeed=((ot=z==null?void 0:z.speedLimit)==null?void 0:ot.downloadSpeed)||1e3,S.networkAccess=!((xt=z==null?void 0:z.speedLimit)!=null&&xt.networkAccess)||!1,S.enabled=((St=z==null?void 0:z.speedLimit)==null?void 0:St.enabled)||!1,S.comment=((wt=z==null?void 0:z.speedLimit)==null?void 0:wt.comment)||"",S.action=((ne=z==null?void 0:z.speedLimit)==null?void 0:ne.action)||"add",g.value=!0):K===2?(R.hostname=((ie=z==null?void 0:z.staticAssigned)==null?void 0:ie.hostname)||"",R.assignedIP=((re=z==null?void 0:z.staticAssigned)==null?void 0:re.assignedIP)||"",R.assignedMac=((se=z==null?void 0:z.staticAssigned)==null?void 0:se.assignedMac)||"",R.bindIP=((de=z==null?void 0:z.staticAssigned)==null?void 0:de.bindIP)||!1,R.tagTitle=((le=z==null?void 0:z.staticAssigned)==null?void 0:le.tagTitle)||"",R.tagName=((ue=z==null?void 0:z.staticAssigned)==null?void 0:ue.tagName)||"",(ce=z==null?void 0:z.staticAssigned)!=null&&ce.dhcpGateway?($.value.forEach(ge=>{var kt;ge.gateway===((kt=z==null?void 0:z.staticAssigned)==null?void 0:kt.dhcpGateway)&&(W.value=ge)}),R.dhcpGateway=((fe=z==null?void 0:z.staticAssigned)==null?void 0:fe.dhcpGateway)||$.value[0]||""):(W.value=$.value[0]||null,R.dhcpGateway=((pe=W.value)==null?void 0:pe.gateway)||""),R.action=((me=z==null?void 0:z.staticAssigned)==null?void 0:me.action)||"add",_.value=!0):K===3&&(V.value="",V.value=z.ip,k.value=!0)},W=F($.value[0]||null),bt=()=>{var z,K,X;W.value?(R.dhcpGateway=((z=W.value)==null?void 0:z.gateway)||"",R.tagName=((K=W.value)==null?void 0:K.tagName)||"",R.tagTitle=((X=W.value)==null?void 0:X.tagTitle)||""):(R.dhcpGateway="",R.tagName="",R.tagTitle="")},Bt=(z,K)=>K?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[z].test(K.trim()):!1,gt=z=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(z.toString()),Mt=()=>O(this,null,function*(){if(!R.hostname)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u540D\u79F0")}`);if(!R.assignedMac)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!Bt("mac",R.assignedMac))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!R.dhcpGateway)return E.Warning(`${a("\u8BF7\u9009\u62E9")}${a("\u7F51\u5173")}`);if(R.bindIP){if(!R.assignedIP)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!Bt("ip",R.assignedIP))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else R.assignedIP="";let z=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.staticDeviceConfig.POST(R);JSON.stringify(K)==="{}"?(_.value=!1,Tt(),at(),E.Success("\u4FDD\u5B58\u6210\u529F !")):E.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){E.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{z.Close()}}),Ut=()=>O(this,null,function*(){var K,X;if(!((X=(K=w.value)==null?void 0:K.speedLimit)!=null&&X.enabled))return E.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 E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!gt(S.downloadSpeed))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S.uploadSpeed)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!gt(S.uploadSpeed))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);S.downloadSpeed=Number(S.downloadSpeed),S.uploadSpeed=Number(S.uploadSpeed)}let z=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{S.networkAccess=!S.networkAccess;const{data:ot}=yield G.DeviceMangement.speedLimitConfig.POST(S);JSON.stringify(ot)==="{}"?(g.value=!1,Tt(),at(),E.Success("\u4FDD\u5B58\u6210\u529F !")):E.Success((ot==null?void 0:ot.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(ot){E.Warning(`${ot==null?void 0:ot.error} || ${ot==null?void 0:ot.message}`)}finally{S.downloadSpeed=1e3,S.uploadSpeed=100,z.Close()}}),Tt=()=>{T.value={},W.value=$.value[0]||null,R.hostname="",R.assignedIP="",R.assignedMac="",R.bindIP=!1,R.dhcpGateway="",R.tagName="",R.tagTitle="",R.action="add",S.ip="",S.mac="",S.uploadSpeed=100,S.downloadSpeed=1e3,S.networkAccess=!1,S.comment="",S.action="add"},Lt=F([]),qe=F(null),at=()=>O(this,null,function*(){c.value=[],yield Y()}),J=z=>c.value.filter(K=>{const X=K.ip.includes(z),ot=K.mac.toLowerCase().includes(z.toLowerCase());return X||ot}),Ct=z=>{z===""&&(f.value=c.value),f.value=J(z)},ct=()=>{if(Lt.value.length===0)return E.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !")};return(z,K)=>(r(),d("div",lD,[t("div",uD,[D(fa,{onRefresh:at,showAdd:!1,showBatchDelete:!1,ref_key:"searchRef",ref:qe,onBatchDelete:ct,onSearch:Ct},null,512)]),t("div",null,[D(je,{data:f.value,columns:h.value,showPagination:!1},{action:j(({row:X})=>[t("span",{style:{color:"#553AFE",cursor:"pointer"},onClick:ot=>M(X,2)},i(e(a)("\u9759\u6001\u5206\u914D")),9,cD),t("span",{style:{color:"#553AFE",cursor:"pointer",margin:"0 8px"},onClick:ot=>M(X,1)},i(e(a)("\u9650\u901F\u914D\u7F6E")),9,pD),t("span",{style:{color:"#553AFE",margin:"0 8px",cursor:"pointer"},onClick:ot=>M(X,3)},i(e(a)("\u8BE6\u60C5")),9,fD)]),staticAssigned:j(({row:X})=>{var ot,xt;return[t("span",null,i(v((ot=X==null?void 0:X.staticAssigned)==null?void 0:ot.tagTitle)||v((xt=X==null?void 0:X.staticAssigned)==null?void 0:xt.tagName)||"-"),1)]}),_:1},8,["data","columns"])]),D(ee,{modelValue:g.value,"onUpdate:modelValue":K[6]||(K[6]=X=>g.value=X),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:Ut,onCancel:Tt},{default:j(()=>{var X,ot,xt,St;return[t("div",mD,[t("div",gD,"IP: "+i(T.value.ip),1),t("div",vD,[t("div",bD,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),D(Ot,{modelValue:e(S).enabled,"onUpdate:modelValue":K[0]||(K[0]=wt=>e(S).enabled=wt),disabled:!((ot=(X=w.value)==null?void 0:X.speedLimit)!=null&&ot.enabled),onBeforeChange:y},null,8,["modelValue","disabled"])]),(St=(xt=w.value)==null?void 0:xt.speedLimit)!=null&&St.enabled?C("",!0):(r(),d("div",hD,[t("a",{href:"",onClick:ut(x,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,_D)])),e(S).enabled?(r(),d("div",xD,[t("div",wD,[t("div",kD,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),D(Ot,{modelValue:e(S).networkAccess,"onUpdate:modelValue":K[1]||(K[1]=wt=>e(S).networkAccess=wt),onChange:K[2]||(K[2]=()=>{})},null,8,["modelValue"])]),e(S).networkAccess?C("",!0):(r(),d(U,{key:0},[t("div",yD,[t("div",FD,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[3]||(K[3]=wt=>e(S).downloadSpeed=wt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,ED),[[et,e(S).downloadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",$D,[t("div",CD,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[4]||(K[4]=wt=>e(S).uploadSpeed=wt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,DD),[[et,e(S).uploadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",BD,[t("div",YD,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[5]||(K[5]=wt=>e(S).comment=wt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,AD),[[et,e(S).comment,void 0,{trim:!0}]])])],64))])):C("",!0)])]}),_:1},8,["modelValue"]),D(ee,{modelValue:_.value,"onUpdate:modelValue":K[12]||(K[12]=X=>_.value=X),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:Mt,onCancel:Tt},{default:j(()=>[t("div",SD,[zD,t("div",PD,[t("div",TD,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text",onInput:l,"onUpdate:modelValue":K[7]||(K[7]=X=>e(R).hostname=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,ID),[[et,e(R).hostname,void 0,{trim:!0}]])]),t("div",MD,[LD,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[8]||(K[8]=X=>e(R).assignedMac=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,ND),[[et,e(R).assignedMac,void 0,{trim:!0}]])]),t("div",OD,[t("div",VD,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":K[9]||(K[9]=X=>W.value=X),onChange:bt},[e(b)?(r(),d("option",GD,i(e(a)("\u8BF7\u9009\u62E9")),1)):C("",!0),(r(!0),d(U,null,tt($.value,X=>(r(),d("option",{value:X},i(X.gateway)+"("+i(X.tagTitle?v(X.tagTitle):X.tagName?X.tagName:"-")+") ",9,jD))),256))],544),[[dt,W.value]])]),t("div",UD,[t("div",qD,i(e(a)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),D(Ot,{modelValue:e(R).bindIP,"onUpdate:modelValue":K[10]||(K[10]=X=>e(R).bindIP=X)},null,8,["modelValue"])]),e(R).bindIP?(r(),d("div",RD,[WD,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[11]||(K[11]=X=>e(R).assignedIP=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,HD),[[et,e(R).assignedIP,void 0,{trim:!0}]])])):C("",!0)])]),_:1},8,["modelValue"]),D(ee,{modelValue:k.value,"onUpdate:modelValue":K[13]||(K[13]=X=>k.value=X),title:"\u8BE6\u60C5",width:"550px",footerShow:!1,"show-close":!0,onCancel:Tt},{default:j(()=>{var X,ot,xt,St,wt;return[t("div",JD,[t("div",ZD,[KD,t("div",QD,[t("div",XD,[t("div",tB,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),nt(" "+i(T.value.hostname||"-"),1)]),t("div",eB,[t("div",aB,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),nt(" "+i(T.value.ip),1)]),t("div",oB,[nB,nt(" "+i(T.value.mac),1)]),t("div",iB,[t("div",rB,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),nt(" "+i(((X=T.value)==null?void 0:X.staticAssigned.dhcpGateway)||"-"),1)]),t("div",sB,[t("div",dB,i(e(a)("\u63A5\u53E3"))+"\uFF1A",1),nt(" "+i(B(T.value.intr)||"-"),1)]),t("div",lB,[t("div",uB,i(e(a)("\u6807\u7B7E"))+"\uFF1A",1),nt(" "+i(((xt=(ot=T.value)==null?void 0:ot.staticAssigned)==null?void 0:xt.tagTitle)||((wt=(St=T.value)==null?void 0:St.staticAssigned)==null?void 0:wt.tagName)||"-"),1)])])]),V.value?(r(),Z(oD,{key:0,ipParam:V.value},null,8,["ipParam"])):C("",!0)])]}),_:1},8,["modelValue"])]))}});var pB=N(cB,[["__scopeId","data-v-2f8a90b2"]]);const ma=o=>(it("data-v-0ad740fc"),o=o(),rt(),o),fB={class:"container"},mB={style:{display:"flex","justify-content":"end"}},gB=["onClick"],vB={class:"custom-content"},bB=ma(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),hB={class:"item_box"},_B={class:"item_left"},xB=["placeholder"],wB={class:"item_box"},kB=ma(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),yB=["placeholder"],FB={class:"item_box"},EB={class:"item_left"},$B={key:0,value:null,disabled:""},CB=["value"],DB={class:"item_box"},BB={class:"item_left"},YB={key:0,class:"item_box"},AB=ma(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),SB=["placeholder"],zB=I({setup(o){const{$gettext:n}=H(),a=F([]);(()=>O(this,null,function*(){var T;try{const{data:M}=yield G.DeviceMangement.globalConfigs.GET();M.result&&(a.value=((T=M.result)==null?void 0:T.dhcpTags)||[])}catch(M){}}))();const u=F([]),s=F([]),p=F(!1),w=F([{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"}]),m=T=>({default:n("\u9ED8\u8BA4\u7F51\u5173"),parent:n("\u4E0A\u7EA7\u8DEF\u7531"),myself:n("\u672C\u8BBE\u5907"),bypass:n("\u65C1\u8DEF\u7531"),floatip:n("\u6D6E\u52A8\u7F51\u5173")})[T]||T,c=T=>{B.hostname=T.target.value.replace(/[\u4e00-\u9fa5]/g,"")},f=()=>O(this,null,function*(){let T=E.Loading(n("\u52A0\u8F7D\u4E2D..."));try{const{data:M}=yield G.DeviceMangement.listStaticDevices.GET();M.result&&(u.value=M.result||[],s.value=M.result||[])}catch(M){}finally{T.Close()}});f();const g=F(!0),_=F([]),k=T=>{_.value=T},b=()=>O(this,null,function*(){u.value=[];let T=E.Loading(n("\u52A0\u8F7D\u4E2D..."));yield f(),T.Close()}),h=T=>u.value.filter(M=>{const W=M.assignedIP.includes(T),bt=M.assignedMac.toLowerCase().includes(T.toLowerCase());return W||bt}),v=T=>{T===""&&(s.value=u.value),s.value=h(T)},x=T=>O(this,null,function*(){if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let M={hostname:T.hostname||"",assignedIP:T.assignedIP||"",assignedMac:T.assignedMac||"",tagTitle:T.tagTitle||"",bindIP:T.bindIP||!1,tagName:T.tagName||"",dhcpGateway:T.dhcpGateway||"",action:"delete"};y(M,1)}}),y=(T,M)=>O(this,null,function*(){let W=E.Loading(n("\u5220\u9664\u4E2D..."));try{const{data:bt}=yield G.DeviceMangement.staticDeviceConfig.POST(T);return M==1&&(JSON.stringify(bt)==="{}"?E.Success("\u5220\u9664\u6210\u529F !"):E.Success((bt==null?void 0:bt.error)||"\u5220\u9664\u5931\u8D25\uFF01"),f()),bt}catch(bt){}finally{W.Close()}}),$=()=>O(this,null,function*(){if(_.value.length===0)return E.Warning(n("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const T=_.value.map(M=>{const W={hostname:M.hostname||"",assignedIP:M.assignedIP||"",assignedMac:M.assignedMac||"",tagTitle:M.tagTitle||"",bindIP:M.bindIP||!1,tagName:M.tagName||"",dhcpGateway:M.dhcpGateway||"",action:"delete"};return y(W)});yield Promise.all(T),E.Success(n("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),f()}catch(T){}}),Y=Q(()=>!B.dhcpGateway),P=F(null),A=()=>{var T,M,W;P.value?(B.dhcpGateway=((T=P.value)==null?void 0:T.gateway)||"",B.tagName=((M=P.value)==null?void 0:M.tagName)||"",B.tagTitle=((W=P.value)==null?void 0:W.tagTitle)||""):(B.dhcpGateway="",B.tagName="",B.tagTitle="")},B=mt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),S=(T,M)=>M?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[T].test(M.trim()):!1,R=()=>O(this,null,function*(){if(!B.assignedMac)return E.Warning(`${n("\u8BF7\u8F93\u5165")}${n("MAC")}`);if(!S("mac",B.assignedMac))return E.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!B.dhcpGateway)return E.Warning(`${n("\u8BF7\u9009\u62E9")}${n("\u7F51\u5173")}`);if(B.bindIP){if(!B.assignedIP)return E.Warning(`${n("\u8BF7\u8F93\u5165")}${n("IP")}`);if(!S("ip",B.assignedIP))return E.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else B.assignedIP="";let T=E.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const{data:M}=yield G.DeviceMangement.staticDeviceConfig.POST(B);JSON.stringify(M)==="{}"?(p.value=!1,V(),b(),E.Success("\u4FDD\u5B58\u6210\u529F !")):E.Success((M==null?void 0:M.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(M){E.Warning(`${M==null?void 0:M.error} || ${M==null?void 0:M.message}`)}finally{T.Close()}}),V=()=>{P.value=null,B.hostname="",B.assignedIP="",B.assignedMac="",B.bindIP=!1,B.dhcpGateway="",B.tagName="",B.tagTitle="",B.action="add"};return(T,M)=>(r(),d("div",fB,[t("div",mB,[D(fa,{onHandleAdd:M[0]||(M[0]=W=>p.value=!0),onRefresh:b,onBatchDelete:$,onSearch:v})]),t("div",null,[D(je,{data:s.value,columns:w.value,rowKey:"assignedMac",showSelection:g.value,showPagination:!1,onSelectionChange:k},{action:j(({row:W})=>[t("button",{class:"del-button del-button--danger",onClick:bt=>x(W)},[t("span",null,i(e(n)("\u5220\u9664")),1)],8,gB)]),tagTitle:j(({row:W})=>[t("span",null,i(m(W==null?void 0:W.tagTitle)||m(W==null?void 0:W.tagName)||"-"),1)]),bindIP:j(({row:W})=>[t("span",null,i(W!=null&&W.bindIP?e(n)("\u662F"):e(n)("\u5426")),1)]),_:1},8,["data","columns","showSelection"])]),D(ee,{modelValue:p.value,"onUpdate:modelValue":M[6]||(M[6]=W=>p.value=W),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:R,onCancel:V},{default:j(()=>[t("div",vB,[bB,t("div",hB,[t("div",_B,i(e(n)("\u540D\u79F0"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text",onInput:c,"onUpdate:modelValue":M[1]||(M[1]=W=>e(B).hostname=W),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,xB),[[et,e(B).hostname,void 0,{trim:!0}]])]),t("div",wB,[kB,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":M[2]||(M[2]=W=>e(B).assignedMac=W),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,yB),[[et,e(B).assignedMac,void 0,{trim:!0}]])]),t("div",FB,[t("div",EB,i(e(n)("\u7F51\u5173"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":M[3]||(M[3]=W=>P.value=W),onChange:A},[e(Y)?(r(),d("option",$B,i(e(n)("\u8BF7\u9009\u62E9")),1)):C("",!0),(r(!0),d(U,null,tt(a.value,W=>(r(),d("option",{value:W},i(W.gateway)+"("+i(W.tagTitle?m(W.tagTitle):W.tagName?W.tagName:"-")+") ",9,CB))),256))],544),[[dt,P.value]])]),t("div",DB,[t("div",BB,i(e(n)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),D(Ot,{modelValue:e(B).bindIP,"onUpdate:modelValue":M[4]||(M[4]=W=>e(B).bindIP=W)},null,8,["modelValue"])]),e(B).bindIP?(r(),d("div",YB,[AB,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":M[5]||(M[5]=W=>e(B).assignedIP=W),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,SB),[[et,e(B).assignedIP,void 0,{trim:!0}]])])):C("",!0)])]),_:1},8,["modelValue"])]))}});var PB=N(zB,[["__scopeId","data-v-0ad740fc"]]);const TB={class:"container"},IB={style:{display:"flex","justify-content":"end"}},MB=["onClick"],LB={class:"custom-content"},NB={class:"item_box"},OB={class:"item_left"},VB={class:"item_box"},GB={class:"item_left"},jB=["placeholder"],UB={class:"item_box"},qB={class:"item_left"},RB=["placeholder"],WB={key:0,class:"tip"},HB=["onClick"],JB={key:1},ZB={class:"item_box"},KB={class:"item_left"},QB={class:"item_box"},XB={class:"item_left"},tY=["placeholder"],eY={class:"item_box"},aY={class:"item_left"},oY=["placeholder"],nY={class:"item_box"},iY={class:"item_left"},rY=["placeholder"],sY=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=H(),l=F({});(()=>O(this,null,function*(){try{const{data:V}=yield G.DeviceMangement.globalConfigs.GET();V.result&&(l.value=V.result||{})}catch(V){}}))();const s=F([]),p=F([]),w=F(!1),m=F([{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"}]),c=()=>O(this,null,function*(){let V=E.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:T}=yield G.DeviceMangement.listSpeedLimitedDevices.GET();T.result&&(s.value=T.result||[],p.value=T.result||[])}catch(T){}finally{V.Close()}});c();const f=F(!0),g=F([]),_=V=>{g.value=V},k=()=>O(this,null,function*(){s.value=[];let V=E.Loading(a("\u52A0\u8F7D\u4E2D..."));yield c(),V.Close()}),b=V=>s.value.filter(T=>{const M=T.ip.includes(V),W=T.mac.toLowerCase().includes(V.toLowerCase());return M||W}),h=V=>{V===""&&(p.value=s.value),p.value=b(V)},v=V=>O(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 T={ip:V.ip||"",mac:V.mac||"",uploadSpeed:V.uploadSpeed||0,downloadSpeed:V.downloadSpeed||0,networkAccess:V.networkAccess||!1,comment:"",action:"delete"};x(T,1)}}),x=(V,T)=>O(this,null,function*(){let M=E.Loading(a("\u5220\u9664\u4E2D..."));try{const{data:W}=yield G.DeviceMangement.speedLimitConfig.POST(V);return T==1&&(JSON.stringify(W)==="{}"?E.Success("\u5220\u9664\u6210\u529F !"):E.Success((W==null?void 0:W.error)||"\u5220\u9664\u5931\u8D25\uFF01"),c()),W}catch(W){}finally{M.Close()}}),y=()=>O(this,null,function*(){if(g.value.length===0)return E.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 V=g.value.map(T=>{const M={ip:T.ip||"",mac:T.mac||"",uploadSpeed:T.uploadSpeed||0,downloadSpeed:T.downloadSpeed||0,networkAccess:T.networkAccess||!1,comment:"",action:"delete"};return x(M)});yield Promise.all(V),E.Success(a("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),c()}catch(V){}}),$=()=>{w.value=!1,n("openGloba")},Y=V=>{var T,M;if(V==!0&&!((M=(T=l.value)==null?void 0:T.speedLimit)!=null&&M.enabled))return E.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},P=mt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),A=V=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(V.toString()),B=(V,T)=>T?{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})$/}[V].test(T.trim()):!1,S=()=>O(this,null,function*(){var T,M;if(!((M=(T=l.value)==null?void 0:T.speedLimit)!=null&&M.enabled))return E.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(!P.ip)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!B("ip",P.ip))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);if(!P.mac)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!B("mac",P.mac))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(P.networkAccess)P.downloadSpeed=0,P.uploadSpeed=0;else{if(!P.downloadSpeed)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!A(P.downloadSpeed))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!P.uploadSpeed)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!A(P.uploadSpeed))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);P.downloadSpeed=Number(P.downloadSpeed),P.uploadSpeed=Number(P.uploadSpeed)}let V=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{P.networkAccess=!P.networkAccess;const{data:W}=yield G.DeviceMangement.speedLimitConfig.POST(P);JSON.stringify(W)==="{}"?(k(),E.Success("\u4FDD\u5B58\u6210\u529F !")):E.Success((W==null?void 0:W.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01"),w.value=!1,R()}catch(W){E.Warning(`${W==null?void 0:W.error} || ${W==null?void 0:W.message}`)}finally{P.downloadSpeed=1e3,P.uploadSpeed=100,V.Close()}}),R=()=>{P.ip="",P.mac="",P.uploadSpeed=100,P.downloadSpeed=1e3,P.networkAccess=!1,P.comment="",P.action="add"};return(V,T)=>(r(),d("div",TB,[t("div",IB,[D(fa,{onHandleAdd:T[0]||(T[0]=M=>w.value=!0),onRefresh:k,onBatchDelete:y,onSearch:h})]),t("div",null,[D(je,{data:p.value,columns:m.value,rowKey:"mac",showSelection:f.value,showPagination:!1,onSelectionChange:_},{action:j(({row:M})=>[t("button",{class:"del-button del-button--danger",onClick:W=>v(M)},[t("span",null,i(e(a)("\u5220\u9664")),1)],8,MB)]),enabled:j(({row:M})=>[t("span",null,i(M!=null&&M.enabled?e(a)("\u662F"):e(a)("\u5426")),1)]),uploadSpeed:j(({row:M})=>[t("span",null,i((M==null?void 0:M.uploadSpeed)||"-")+" "+i(M!=null&&M.uploadSpeed?"Mbit/s":""),1)]),downloadSpeed:j(({row:M})=>[t("span",null,i((M==null?void 0:M.downloadSpeed)||"-")+" "+i(M!=null&&M.downloadSpeed?"Mbit/s":""),1)]),_:1},8,["data","columns","showSelection"])]),D(ee,{modelValue:w.value,"onUpdate:modelValue":T[9]||(T[9]=M=>w.value=M),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:S,onCancel:R},{default:j(()=>{var M,W,bt,Bt;return[t("div",LB,[t("div",NB,[t("div",OB,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),D(Ot,{modelValue:e(P).enabled,"onUpdate:modelValue":T[1]||(T[1]=gt=>e(P).enabled=gt),disabled:!((W=(M=l.value)==null?void 0:M.speedLimit)!=null&&W.enabled),onBeforeChange:Y},null,8,["modelValue","disabled"])]),t("div",VB,[t("div",GB,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[2]||(T[2]=gt=>e(P).ip=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,jB),[[et,e(P).ip,void 0,{trim:!0}]])]),t("div",UB,[t("div",qB,i(e(a)("MAC\u5730\u5740"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[3]||(T[3]=gt=>e(P).mac=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,RB),[[et,e(P).mac,void 0,{trim:!0}]])]),(Bt=(bt=l.value)==null?void 0:bt.speedLimit)!=null&&Bt.enabled?C("",!0):(r(),d("div",WB,[t("a",{href:"",onClick:ut($,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,HB)])),e(P).enabled?(r(),d("div",JB,[t("div",ZB,[t("div",KB,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),D(Ot,{modelValue:e(P).networkAccess,"onUpdate:modelValue":T[4]||(T[4]=gt=>e(P).networkAccess=gt),onChange:T[5]||(T[5]=()=>{})},null,8,["modelValue"])]),e(P).networkAccess?C("",!0):(r(),d(U,{key:0},[t("div",QB,[t("div",XB,i(e(a)("\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[6]||(T[6]=gt=>e(P).downloadSpeed=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,tY),[[et,e(P).downloadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",eY,[t("div",aY,i(e(a)("\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[7]||(T[7]=gt=>e(P).uploadSpeed=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,oY),[[et,e(P).uploadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",nY,[t("div",iY,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[8]||(T[8]=gt=>e(P).comment=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,rY),[[et,e(P).comment,void 0,{trim:!0}]])])],64))])):C("",!0)])]}),_:1},8,["modelValue"])]))}});var dY=N(sY,[["__scopeId","data-v-1c110960"]]);const ga=o=>(it("data-v-15068472"),o=o(),rt(),o),lY={key:0,class:"dialog-overlay"},uY={class:"dialog-container"},cY={class:"dialog-title"},pY=ga(()=>t("div",{class:"loading-animation"},[t("div",{class:"spinner"})],-1)),fY={class:"dialog-message"},mY={key:0,class:"dialog-overlay"},gY={class:"dialog-container"},vY={class:"dialog-title"},bY=ga(()=>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)),hY={class:"dialog-message"},_Y={key:0,class:"dialog-overlay"},xY={class:"dialog-container tag-dialog"},wY={class:"dialog-title"},kY={class:"warning-message"},yY=ga(()=>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)),FY={class:"input-group"},EY={for:"tagTitle"},$Y=["placeholder"],CY={class:"input-group"},DY={for:"tagName"},BY=["disabled","placeholder"],YY={class:"input-group"},AY={for:"gateway"},SY=["placeholder"],zY={class:"button-group"},PY=I({props:{title:{type:String,required:!0}},emits:["confirm","update:modelValue"],setup(o,{expose:n,emit:a}){const{$gettext:l}=H(),u=F("install"),s=F(!1),p=F(!1),w=F(!1),m=F(""),c=F(""),f=F(""),g=()=>{u.value="install",s.value=!0},_=()=>{s.value=!1},k=()=>{s.value=!1,setTimeout(()=>{p.value=!0},300)},b=()=>{p.value=!1},h=F("1"),v=()=>{u.value="tag",h.value="1",c.value="",m.value="",f.value="",w.value=!0},x=()=>{u.value="tag",h.value="2",w.value=!0},y=()=>{w.value=!1},$=A=>{c.value=A.target.value.replace(/[\u4e00-\u9fa5]/g,"")},Y=(A,B)=>B?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[A].test(B.trim()):!1,P=()=>{if(!Y("ip",f.value.trim()))return E.Warning(`${l("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);m.value.trim()&&c.value.trim()&&f.value.trim()&&(a("confirm",{tagTitle:m.value.trim(),tagName:c.value.trim(),gateway:f.value.trim(),type:h.value}),y())};return At(m,A=>{a("update:modelValue",A)}),At(c,A=>{a("update:modelValue",A)}),At(f,A=>{a("update:modelValue",A)}),n({tagTitle:m,tagName:c,gateway:f,openInstallDialog:g,showInstallResult:k,openTagDialog:v,closeTagDialog:y,cancelInstall:_,openEditTagDialog:x}),(A,B)=>(r(),d(U,null,[D($t,{name:"fade"},{default:j(()=>[s.value&&u.value==="install"?(r(),d("div",lY,[t("div",uY,[t("div",cY,i(o.title),1),pY,t("p",fY,i(e(l)("\u6B63\u5728\u5B89\u88C5"))+"...",1),t("button",{class:"dialog-button",onClick:_},i(e(l)("\u5173\u95ED")),1)])])):C("",!0)]),_:1}),D($t,{name:"fade"},{default:j(()=>[p.value&&u.value==="install"?(r(),d("div",mY,[t("div",gY,[t("div",vY,i(e(l)("\u7ED3\u679C")),1),bY,t("p",hY,i(e(l)("\u5B89\u88C5\u6210\u529F"))+"\uFF01",1),t("button",{class:"dialog-button",onClick:b},i(e(l)("\u786E\u5B9A")),1)])])):C("",!0)]),_:1}),D($t,{name:"fade"},{default:j(()=>[w.value&&u.value==="tag"?(r(),d("div",_Y,[t("div",xY,[t("div",wY,i(h.value==="1"?e(l)("\u6DFB\u52A0\u6807\u7B7E"):e(l)("\u7F16\u8F91\u6807\u7B7E")),1),t("div",kY,[yY,t("span",null,i(e(l)("\u6CE8\u610F\uFF1A\u6DFB\u52A0ID\u65F6\uFF0C\u8BF7\u52FF\u5C06\u201Codhcpd\u201D\u6216\u7F51\u7EDC\u63A5\u53E3\uFF08\u4F8B\u5982\u201Clan\u201D,\u201Cwan\u201D,\u201Cwan6\u201D\u7B49\uFF09\u4F5C\u4E3AID\uFF0C\u6B64\u4E3E\u5C06\u4EA7\u751F\u51B2\u7A81\u3002\u5EFA\u8BAE\u5728ID\u524D\u9762\u52A0\u4E0A\u524D\u7F00\u201Ct_\u201D\u4EE5\u675C\u7EDD\u6B64\u7C7B\u51B2\u7A81\u3002")),1)]),t("div",FY,[t("label",EY,i(e(l)("\u6807\u9898"))+"\uFF1A",1),L(t("input",{id:"tagTitle","onUpdate:modelValue":B[0]||(B[0]=S=>m.value=S),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,$Y),[[et,m.value]])]),t("div",CY,[t("label",DY,i(e(l)("ID"))+"\uFF1A",1),L(t("input",{id:"tagName","onUpdate:modelValue":B[1]||(B[1]=S=>c.value=S),onInput:$,disabled:h.value=="2",type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,BY),[[et,c.value]])]),t("div",YY,[t("label",AY,i(e(l)("\u7F51\u5173"))+"\uFF1A",1),L(t("input",{id:"gateway","onUpdate:modelValue":B[2]||(B[2]=S=>f.value=S),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,SY),[[et,f.value]])]),t("div",zY,[t("button",{class:"cancel-button",onClick:y},i(e(l)("\u53D6\u6D88")),1),t("button",{class:"confirm-button",onClick:P},i(e(l)("\u786E\u5B9A")),1)])])])):C("",!0)]),_:1})],64))}});var TY=N(PY,[["__scopeId","data-v-15068472"]]);const io=o=>(it("data-v-66e54129"),o=o(),rt(),o),IY={class:"tab-container"},MY={class:"tab-header"},LY=["onClick"],NY={class:"tab-content_g"},OY={key:0,class:"not_installed"},VY=io(()=>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)),GY={key:1},jY={class:"item_box"},UY={class:"item_left"},qY={class:"item_box"},RY={class:"item_left"},WY=["placeholder"],HY={class:"item_box"},JY={class:"item_left"},ZY=["placeholder"],KY={class:"item_box"},QY={class:"item_left"},XY={key:0,class:"not_installed"},tA=io(()=>t("svg",{t:"1752659436579",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4943",width:"150",height:"150"},[t("path",{d:"M216.896 97.232l-55.792 106.24 704.784 8.928-24.352-75.888-38.496-39.28z",fill:"#FFFFFF","p-id":"4944"}),t("path",{d:"M192.016 255.968h655.968v592H192.016z",fill:"#FFFFFF","p-id":"4945"}),t("path",{d:"M921.904 187.008l-66.72-80.656a69.744 69.744 0 0 0-55.168-26.32h-576a71.296 71.296 0 0 0-55.664 26.416l-66.256 80.56a93.984 93.984 0 0 0-22.08 61.024v600a96.288 96.288 0 0 0 96 96h672a96.288 96.288 0 0 0 96-96v-600a93.984 93.984 0 0 0-22.112-61.024zM512.016 777.856L246.128 512.032h166.144v-132.976h199.392v132.976h166.128zM179.664 179.664l33.152-66.464h598.128l33.2 66.464z",fill:"#909399","p-id":"4946"})],-1)),eA={key:1},aA={class:"item_box"},oA={class:"item_left"},nA={class:"item_box"},iA={class:"item_left"},rA={key:0,value:"",disabled:""},sA=["value"],dA={class:"item_box"},lA={class:"item_left"},uA=["placeholder"],cA={class:"item_box"},pA={class:"item_left"},fA=["placeholder"],mA={class:"item_box"},gA={class:"item_left"},vA={style:{"margin-bottom":"16px"}},bA={class:"item_box"},hA={class:"item_left"},_A={class:"item_box"},xA={class:"item_left"},wA=["value"],kA={class:"item_box"},yA={class:"item_left"},FA={style:{display:"flex","justify-content":"end","margin-bottom":"8px"}},EA=["onClick"],$A=["onClick"],CA=I({setup(o,{expose:n}){const{$gettext:a}=H(),l=Q(()=>!c.role),u=F([]),s=F([{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"}]),p=F([{name:a("\u4E3B\u8DEF\u7531"),value:"fallback"},{name:a("\u65C1\u8DEF\u7531"),value:"main"}]),w=mt({dhcpEnabled:!1,dhcpGateway:""}),m=mt({enabled:!1,uploadSpeed:"",downloadSpeed:"",installed:!0}),c=mt({enabled:!1,role:"",setIP:"",checkIP:""}),f=F({}),g=()=>O(this,null,function*(){var at,J,Ct,ct,z,K,X,ot,xt,St,wt,ne,ie,re,se,de,le,ue,ce,pe,fe,me,ge;try{const{data:kt}=yield G.DeviceMangement.globalConfigs.GET();if(kt.result){if(f.value=kt.result||{},w.dhcpEnabled=((J=(at=kt.result)==null?void 0:at.dhcpGlobal)==null?void 0:J.dhcpEnabled)||!1,(ct=(Ct=kt.result)==null?void 0:Ct.dhcpGlobal)!=null&&ct.dhcpGateway)w.dhcpGateway=(K=(z=kt.result)==null?void 0:z.dhcpGlobal)==null?void 0:K.dhcpGateway;else{const ba=(ot=(X=kt.result)==null?void 0:X.dhcpGlobal)==null?void 0:ot.gatewaySels.find(lo=>lo.title==="myself");ba?w.dhcpGateway=ba.gateway:w.dhcpGateway=""}u.value=((xt=kt.result)==null?void 0:xt.dhcpTags)||[],m.enabled=((wt=(St=kt.result)==null?void 0:St.speedLimit)==null?void 0:wt.enabled)||!1,m.uploadSpeed=((ie=(ne=kt.result)==null?void 0:ne.speedLimit)==null?void 0:ie.uploadSpeed)||"",m.downloadSpeed=((se=(re=kt.result)==null?void 0:re.speedLimit)==null?void 0:se.downloadSpeed)||"",c.enabled=((le=(de=kt.result)==null?void 0:de.floatGateway)==null?void 0:le.enabled)||!1,c.role=((ce=(ue=kt.result)==null?void 0:ue.floatGateway)==null?void 0:ce.role)||"",c.setIP=((fe=(pe=kt.result)==null?void 0:pe.floatGateway)==null?void 0:fe.setIP)||"",c.checkIP=((ge=(me=kt.result)==null?void 0:me.floatGateway)==null?void 0:ge.checkIP)||""}}catch(kt){}});g();const _=()=>O(this,null,function*(){let at=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield G.DeviceMangement.dhcpGatewayConfig.POST(w);JSON.stringify(J)==="{}"?(E.Success(a("\u4FDD\u5B58\u6210\u529F")),g()):E.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){E.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{at.Close()}}),k=(at,J)=>O(this,null,function*(){let Ct=E.Loading(a("\u68C0\u67E5\u4E2D..."));try{const ct=yield G.App.Check.POST({name:at});if(Ct.Close(),ct!=null&&ct.data){const{result:z,error:K}=ct.data;if(K)E.Warning(K);else{if(z)return z.status=="installed";E.Warning(a("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}}return!1}catch(ct){return Ct.Close(),E.Warning(ct),!1}}),b=F(!1),h=F(!1),v=()=>O(this,null,function*(){(yield k("app-meta-floatip"))&&(h.value=!0)}),x=()=>O(this,null,function*(){(yield k("app-meta-eqos"))&&(b.value=!0)});v(),x();const y=[{id:"tag",label:a("DHCP")},{id:"gateway",label:a("\u6D6E\u52A8\u7F51\u5173")},{id:"ip",label:a("IP\u9650\u901F")}],$=F("tag");n({activeTab:$});const Y=at=>{$.value=at},P=F(),A=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,B=F("app-meta-floatip"),S=Q(()=>B.value==="app-meta-floatip"?a("\u6D6E\u52A8\u7F51\u5173"):a("IP\u9650\u901F")),R=at=>O(this,null,function*(){if(B.value=at,P.value.openInstallDialog(),yield Dt.installApp(at))return at=="app-meta-floatip"?v():x(),P.value.showInstallResult(),!0;P.value.cancelInstall(),E.Error(a("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}),V=at=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(at.toString()),T=()=>O(this,null,function*(){if(m.enabled){if(!m.downloadSpeed)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!V(m.downloadSpeed))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!m.uploadSpeed)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!V(m.uploadSpeed))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);m.downloadSpeed=Number(m.downloadSpeed),m.uploadSpeed=Number(m.uploadSpeed)}else m.downloadSpeed=0,m.uploadSpeed=0;let at=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield G.DeviceMangement.enableSpeedLimit.POST(m);JSON.stringify(J)==="{}"?(E.Success(a("\u4FDD\u5B58\u6210\u529F")),g()):E.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){E.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{at.Close()}}),M=(at,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]?)(?:\/([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(J.trim()):!1,W=()=>O(this,null,function*(){if(!c.role)return E.Warning(a("\u8BF7\u9009\u62E9\u8282\u70B9\u89D2\u8272"));if(!c.setIP)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u6D6E\u52A8\u7F51\u5173")}IP`);if(!M("ip",c.setIP))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6D6E\u52A8\u7F51\u5173IP\u5730\u5740")}`);if(!c.checkIP)return E.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u65C1\u8DEF\u7531")}IP`);if(!M("ip",c.checkIP))return E.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65C1\u8DEF\u7531IP\u5730\u5740")}`);let at=E.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield G.DeviceMangement.enableFloatGateway.POST(c);JSON.stringify(J)==="{}"?(E.Success(a("\u4FDD\u5B58\u6210\u529F")),g()):E.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){E.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{at.Close()}}),bt=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"))||(w.dhcpEnabled=!0)},Bt=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"))||(c.enabled=!0)},gt=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"))||(m.enabled=!0)},Mt=at=>O(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 J=E.Loading(a("\u5220\u9664\u4E2D...")),Ct={action:"delete",tagTitle:at.tagTitle||"",tagName:at.tagName||"",dhcpOption:(at==null?void 0:at.dhcpOption)||[]};try{const{data:ct}=yield G.DeviceMangement.dhcpTagsConfig.POST(Ct);JSON.stringify(ct)==="{}"?(E.Success(a("\u5220\u9664\u6210\u529F")),g()):E.Success((ct==null?void 0:ct.error)||"\u5220\u9664\u5931\u8D25\uFF01")}catch(ct){E.Warning(`${ct==null?void 0:ct.error} || ${ct==null?void 0:ct.message}`)}finally{J.Close()}}}),Ut=()=>{P.value.openTagDialog()},Tt=F([]),Lt=at=>O(this,null,function*(){Tt.value=at.dhcpOption?at.dhcpOption:[],P.value.tagTitle=at.tagTitle||"",P.value.tagName=at.tagName||"",P.value.gateway=at.gateway||"",yield oa(),P.value.openEditTagDialog()}),qe=at=>O(this,null,function*(){let J=E.Loading(a("\u4FDD\u5B58\u4E2D..."));const Ct=[`3,${at.gateway}`,`6,${at.gateway}`];let ct={action:at.type==1?"add":"modify",tagTitle:at.tagTitle,tagName:at.tagName,dhcpOption:Ct};try{const{data:z}=yield G.DeviceMangement.dhcpTagsConfig.POST(ct);JSON.stringify(z)==="{}"?(E.Success(a("\u4FDD\u5B58\u6210\u529F")),g()):E.Success((z==null?void 0:z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(z){E.Warning(`${z==null?void 0:z.error} || ${z==null?void 0:z.message}`)}finally{J.Close()}});return(at,J)=>{var Ct,ct;return r(),d("div",IY,[t("div",MY,[(r(),d(U,null,tt(y,z=>t("button",{key:z.id,class:st(["tab-button",{active:$.value===z.id}]),onClick:K=>Y(z.id)},i(z.label),11,LY)),64))]),t("div",NY,[L(t("div",null,[b.value?(r(),d("div",GY,[t("div",jY,[t("div",UY,i(e(a)("IP\u9650\u901F"))+"\uFF1A",1),D(Ot,{modelValue:e(m).enabled,"onUpdate:modelValue":J[1]||(J[1]=z=>e(m).enabled=z),onChange:gt},null,8,["modelValue"])]),e(m).enabled?(r(),d(U,{key:0},[t("div",qY,[t("div",RY,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[2]||(J[2]=z=>e(m).downloadSpeed=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,WY),[[et,e(m).downloadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",HY,[t("div",JY,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[3]||(J[3]=z=>e(m).uploadSpeed=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,ZY),[[et,e(m).uploadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)])],64)):C("",!0),t("div",KY,[t("div",QY,[t("button",{class:"add-button add-button--danger",onClick:T},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),d("div",OY,[VY,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:J[0]||(J[0]=z=>R("app-meta-eqos"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[Xt,$.value==="ip"]]),L(t("div",null,[h.value?(r(),d("div",eA,[t("div",aA,[t("div",oA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"\uFF1A",1),D(Ot,{modelValue:e(c).enabled,"onUpdate:modelValue":J[5]||(J[5]=z=>e(c).enabled=z),onChange:Bt},null,8,["modelValue"])]),t("div",nA,[t("div",iA,i(e(a)("\u8282\u70B9\u89D2\u8272"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":J[6]||(J[6]=z=>e(c).role=z),onChange:J[7]||(J[7]=()=>{})},[e(l)?(r(),d("option",rA,i(e(a)("\u8BF7\u9009\u62E9")),1)):C("",!0),(r(!0),d(U,null,tt(p.value,z=>(r(),d("option",{value:z.value},i(z.name),9,sA))),256))],544),[[dt,e(c).role]])]),t("div",dA,[t("div",lA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"IP\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[8]||(J[8]=z=>e(c).setIP=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,uA),[[et,e(c).setIP,void 0,{trim:!0}]])]),t("div",cA,[t("div",pA,i(e(a)("\u65C1\u8DEF\u7531IP"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[9]||(J[9]=z=>e(c).checkIP=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,fA),[[et,e(c).checkIP,void 0,{trim:!0}]])]),t("div",mA,[t("div",gA,[t("button",{class:"add-button add-button--danger",onClick:W},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),d("div",XY,[tA,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:J[4]||(J[4]=z=>R("app-meta-floatip"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[Xt,$.value==="gateway"]]),L(t("div",null,[t("div",vA,[t("div",bA,[t("div",hA,i(e(a)("\u542F\u7528"))+"DHCP\uFF1A",1),D(Ot,{modelValue:e(w).dhcpEnabled,"onUpdate:modelValue":J[10]||(J[10]=z=>e(w).dhcpEnabled=z),onChange:bt},null,8,["modelValue"])]),t("div",_A,[t("div",xA,"DHCP"+i(e(a)("\u7F51\u5173"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":J[11]||(J[11]=z=>e(w).dhcpGateway=z),onChange:J[12]||(J[12]=()=>{})},[(r(!0),d(U,null,tt((ct=(Ct=f.value)==null?void 0:Ct.dhcpGlobal)==null?void 0:ct.gatewaySels,z=>(r(),d("option",{value:z.gateway},i(z.gateway)+" ("+i(z.title?A(z.title):"")+") ",9,wA))),256))],544),[[dt,e(w).dhcpGateway]])]),t("div",kA,[t("div",yA,[t("button",{class:"add-button add-button--danger",onClick:_},i(e(a)("\u4FDD\u5B58")),1)])])]),t("div",FA,[t("button",{class:"add-button add-button--danger",onClick:Ut},[t("span",null,i(e(a)("\u6DFB\u52A0")),1)])]),D(je,{data:u.value,columns:s.value,showSelection:!1,showPagination:!1,theadBgColor:"#e8e6f9"},{action:j(({row:z})=>[z.autoCreated?C("",!0):(r(),d("span",{key:0,style:{color:"#553AFE",cursor:"pointer"},onClick:K=>Lt(z)},i(e(a)("\u7F16\u8F91")),9,EA)),z.autoCreated?C("",!0):(r(),d("span",{key:1,style:{color:"#F04134",cursor:"pointer","margin-left":"18px"},onClick:K=>Mt(z)},i(e(a)("\u5220\u9664")),9,$A))]),tagTitle:j(({row:z})=>[t("span",null,i(A(z.tagTitle)),1)]),tagName:j(({row:z})=>[t("span",null,i(z.tagName||"-"),1)]),gateway:j(({row:z})=>[t("span",null,i(z.gateway||"-"),1)]),_:1},8,["data","columns"])],512),[[Xt,$.value==="tag"]])]),D(TY,{ref_key:"tagDialogRef",ref:P,title:e(S),onConfirm:qe},null,8,["title"])])}}});var DA=N(CA,[["__scopeId","data-v-66e54129"]]);const ro=o=>(it("data-v-a5a78984"),o=o(),rt(),o),BA={id:"page"},YA={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},AA=ro(()=>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)),SA={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},zA={class:"device_container",style:{color:"black"}},PA={class:"tab-container"},TA={class:"tabs_box_g"},IA=["onClick"],MA={class:"tab-content_g"},LA={key:0,class:"content-item"},NA={key:1,class:"content-item"},OA={key:2,class:"content-item"},VA={key:3,class:"content-item"},GA=ro(()=>t("div",{style:{height:"30px"}},null,-1)),jA=I({setup(o){const{$gettext:n}=H(),a=F(["\u8BBE\u5907\u5217\u8868","\u9759\u6001\u5206\u914D\u5217\u8868","\u9650\u901F\u8BBE\u5907\u5217\u8868","\u5168\u5C40\u8BBE\u7F6E"]),l=F(0),u=F(null),s=()=>O(this,null,function*(){l.value=3,yield oa(),u.value&&(u.value.activeTab="ip")});return(p,w)=>{const m=ht("router-link");return r(),d(U,null,[t("div",BA,[t("div",YA,[D(m,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:j(()=>[nt(i(e(n)("\u9996\u9875")),1)]),_:1}),AA,t("a",SA,i(e(n)("\u8BBE\u5907\u7BA1\u7406")),1)])]),t("div",zA,[t("div",PA,[t("div",TA,[(r(!0),d(U,null,tt(a.value,(c,f)=>(r(),d("button",{key:f,onClick:g=>l.value=f,class:st({active:l.value===f})},i(e(n)(c)),11,IA))),128))]),t("div",MA,[l.value===0?(r(),d("div",LA,[D(pB,{onOpenGloba:s})])):C("",!0),l.value===1?(r(),d("div",NA,[D(PB)])):C("",!0),l.value===2?(r(),d("div",OA,[D(dY,{onOpenGloba:s})])):C("",!0),l.value===3?(r(),d("div",VA,[D(DA,{ref_key:"configureRef",ref:u},null,512)])):C("",!0)]),GA])])],64)}}});var UA=N(jA,[["__scopeId","data-v-a5a78984"]]);const qA={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},RA=["fill"],WA=["fill"],HA=I({props:{color:{type:String,default:"#ffa847"}},setup(o){return(n,a)=>(r(),d("svg",qA,[t("path",{d:"M640.825806 900.129032c-18.167742 6.606452-37.987097 9.909677-57.806451 13.212903-26.425806 4.954839-44.593548 29.729032-41.290323 56.154839 4.954839 26.425806 29.729032 44.593548 56.154839 41.290323 24.774194-3.303226 47.896774-9.909677 71.019355-16.516129 26.425806-8.258065 41.290323-36.335484 33.032258-62.761291s-34.683871-39.63871-61.109678-31.380645zM974.451613 576.412903c-26.425806-6.606452-52.851613 9.909677-61.109678 36.335484-4.954839 19.819355-11.56129 37.987097-18.167741 56.154839-9.909677 24.774194 1.651613 54.503226 26.425806 64.412903 24.774194 9.909677 54.503226-1.651613 64.412903-26.425806 9.909677-23.122581 16.516129-46.245161 23.122581-69.367742 6.606452-28.077419-8.258065-54.503226-34.683871-61.109678zM814.245161 791.122581c-13.212903 14.864516-28.077419 28.077419-42.941935 39.638709-21.470968 16.516129-24.774194 47.896774-8.258065 69.367742 16.516129 21.470968 47.896774 24.774194 69.367742 8.258065 19.819355-14.864516 37.987097-31.380645 54.503226-49.548387 18.167742-19.819355 18.167742-51.2-1.651613-69.367742s-51.2-18.167742-71.019355 1.651613zM526.864516 341.883871c-28.077419 0-49.548387 21.470968-49.548387 49.548387v122.219355c0 14.864516 6.606452 28.077419 18.167742 37.987097l117.264516 97.445161c21.470968 18.167742 52.851613 14.864516 69.367742-6.606452s14.864516-52.851613-6.606452-69.367742l-99.096774-82.580645v-99.096774c0-26.425806-21.470968-49.548387-49.548387-49.548387z",fill:o.color,"p-id":"4722"},null,8,RA),t("path",{d:"M910.03871 327.019355c28.077419 1.651613 51.2-18.167742 52.851613-46.245161l9.909677-142.03871c1.651613-28.077419-18.167742-51.2-46.245161-52.851613-28.077419-1.651613-51.2 18.167742-52.851613 46.245161v16.516129c-1.651613-1.651613-3.303226-3.303226-4.954839-3.303226-1.651613-3.303226-4.954839-4.954839-6.606452-8.258064-18.167742-16.516129-36.335484-31.380645-57.806451-46.245161-1.651613-1.651613-4.954839-3.303226-6.606452-3.303226-46.245161-31.380645-99.096774-54.503226-155.251613-69.367742-1.651613 0-3.303226-1.651613-4.954838-1.651613-8.258065-1.651613-14.864516-3.303226-23.122581-4.954839h-1.651613c-6.606452-1.651613-13.212903-3.303226-21.470968-3.303225-4.954839-1.651613-11.56129-1.651613-16.516129-1.651613-3.303226 0-6.606452-1.651613-9.909677-1.651613h-1.651613C307.2-19.819355 69.367742 153.6 18.167742 412.903226c-52.851613 275.819355 125.522581 541.729032 401.341935 594.580645 26.425806 4.954839 52.851613-11.56129 57.806452-39.63871 4.954839-26.425806-11.56129-52.851613-39.63871-57.806451h-1.651613c-19.819355-3.303226-37.987097-9.909677-56.154838-16.516129h-3.303226c-44.593548-16.516129-84.232258-39.63871-118.916129-67.716129l-4.954839-4.954839c-14.864516-13.212903-29.729032-26.425806-41.290322-41.290323-1.651613-1.651613-3.303226-3.303226-6.606452-4.954838-28.077419-33.032258-51.2-71.019355-67.716129-112.309678 0-3.303226-1.651613-6.606452-1.651613-8.258064-6.606452-18.167742-13.212903-37.987097-16.516129-56.154839 0-3.303226-1.651613-6.606452-3.303226-9.909677-8.258065-41.290323-9.909677-82.580645-4.954838-125.522581 1.651613-3.303226 1.651613-6.606452 3.303225-9.909678 3.303226-19.819355 6.606452-37.987097 13.212904-57.806451 1.651613-3.303226 1.651613-6.606452 1.651612-9.909678 13.212903-41.290323 33.032258-80.929032 57.806452-115.612903 3.303226-1.651613 4.954839-4.954839 6.606452-6.606451 11.56129-14.864516 24.774194-29.729032 39.638709-44.593549 1.651613-1.651613 3.303226-4.954839 4.954839-6.606451 33.032258-31.380645 71.019355-56.154839 112.309677-74.322581 1.651613 0 3.303226 0 3.303226-1.651613 18.167742-8.258065 37.987097-14.864516 56.154839-19.819355 1.651613 0 1.651613-1.651613 3.303226-1.651613 47.896774-13.212903 100.748387-16.516129 153.6-9.909677 3.303226 0 6.606452 1.651613 9.909677 1.651613 6.606452 1.651613 11.56129 1.651613 18.167742 3.303226 80.929032 16.516129 153.6 54.503226 209.754839 112.309677l-29.729032-1.651613c-28.077419-1.651613-51.2 18.167742-52.851613 46.245161-1.651613 28.077419 18.167742 51.2 46.245161 52.851613l142.03871 8.258065z",fill:o.color,"p-id":"4723"},null,8,WA)]))}}),JA={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},ZA=["fill"],KA=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),d("svg",JA,[t("path",{d:"M914.285714 548.571429a36.571429 36.571429 0 0 1 36.571429 36.571428v219.428572a146.285714 146.285714 0 0 1-146.285714 146.285714H219.428571a146.285714 146.285714 0 0 1-146.285714-146.285714v-219.428572a36.571429 36.571429 0 1 1 73.142857 0v219.428572a73.142857 73.142857 0 0 0 67.657143 72.96L219.428571 877.714286h585.142858a73.142857 73.142857 0 0 0 72.96-67.657143L877.714286 804.571429v-219.428572a36.571429 36.571429 0 0 1 36.571428-36.571428zM537.307429 83.858286l258.596571 258.596571a36.571429 36.571429 0 1 1-51.712 51.712L548.571429 198.509714 548.571429 634.733714a36.571429 36.571429 0 1 1-73.142858 0V197.485714L278.674286 394.166857a36.571429 36.571429 0 1 1-51.712-51.712l258.596571-258.596571a36.571429 36.571429 0 0 1 51.712 0z",fill:o.color,"p-id":"9077"},null,8,ZA)]))}}),Ht=o=>(it("data-v-de94d0fe"),o=o(),rt(),o),QA={class:"item_container"},XA={class:"item"},tS={class:"item_title"},eS={class:"tip"},aS={class:"item"},oS={class:"item_title"},nS={class:"select_box"},iS={value:null,disabled:"",selected:""},rS=["value"],sS={class:"start_btn"},dS={key:0,class:"progress"},lS=Ht(()=>t("span",null,"25%",-1)),uS={class:"item"},cS={class:"item_title"},pS={class:"log_info"},fS={class:"item"},mS={class:"item_title"},gS={class:"result_box"},vS={class:"result"},bS={class:"result_item"},hS=Ht(()=>t("div",{class:"speed_value"},"105.5",-1)),_S=Ht(()=>t("span",{class:"unit"},"Mbps",-1)),xS=Ht(()=>t("span",{class:"status status_bg1"},"\u4F18\u79C0",-1)),wS={class:"speed_title"},kS={class:"result_item"},yS=Ht(()=>t("div",{class:"speed_value"},"105.5",-1)),FS=Ht(()=>t("span",{class:"unit"},"Mbps",-1)),ES=Ht(()=>t("span",{class:"status status_bg2"},"\u826F\u597D",-1)),$S={class:"speed_title"},CS=Vt('
18 ms
\u826F\u597D\u5EF6\u8FDF
18 ms
\u5EF6\u8FDF
',2),DS=Ht(()=>t("div",{class:"custom-content"},[t("p",null,"\u4EE5\u4E0B\u662F\u68C0\u6D4B\u5230\u7684\u5185\u7F51\u5730\u5740\uFF0C\u8BF7\u70B9\u51FB\u8BBF\u95EE\u8FDB\u884C\u6D4B\u901F"),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")])],-1)),BS=I({setup(o){const{$gettext:n}=H(),a=F(!1),l=F([{title:"SpeedTest.Net",describe:"\u5168\u7403\u6807\u51C6\u7F51\u901F\u6D4B\u8BD5\u670D\u52A1",value:"SpeedTest"},{title:"CDN\u8282\u70B9\u6D4B\u8BD5",describe:"\u6D4B\u8BD5\u5230\u4E3B\u8981CDN\u8282\u70B9\u7684\u8FDE\u63A5\u901F\u5EA6",value:"CDN"},{title:"UST\u9AD8\u6821\u8282\u70B9",describe:"\u4E2D\u79D1\u5927\u6559\u80B2\u7F51\u8282\u70B9\u6D4B\u8BD5",value:"UST"},{title:"NAT\u7C7B\u578B\u6D4B\u901F",describe:"\u68C0\u6D4B\u7F51\u7EDCNAT\u7C7B\u578B\u548C\u8FDE\u901A\u6027",value:"NAT"}]),u=F(null),s=F(!1),p=()=>{!u.value||(s.value=!0)};return(w,m)=>(r(),d(U,null,[t("div",QA,[t("div",XA,[t("div",tS,[D(ze,{color:"#155dfc",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u68C0\u6D4B\u672C\u5730\u7F51\u7EDC\u73AF\u5883\uFF0C\u83B7\u53D6\u5185\u7F51\u8BBF\u95EE\u5730\u5740")),1),t("div",{class:"wifi_btn",onClick:m[0]||(m[0]=c=>a.value=!0)},[t("div",null,[D(ze,{color:"#ffffff",class:"icon1"}),t("span",null,i(e(n)("\u5F00\u59CB\u5185\u7F51\u6D4B\u901F")),1)])]),t("p",eS,i(e(n)("\u70B9\u51FB\u6309\u94AE\u83B7\u53D6\u5185\u7F51\u6D4B\u901F\u5730\u5740\uFF0C\u901A\u8FC7\u8BBF\u95EE\u8FD9\u4E9B\u5730\u5740\u6765\u6D4B\u8BD5\u5185\u7F51\u8FDE\u63A5\u901F\u5EA6")),1)]),t("div",aS,[t("div",oS,[D(xe,{color:"#2bb55e",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9\uFF0C\u8FDB\u884C\u7F51\u7EDC\u901F\u5EA6\u548C\u8FDE\u63A5\u8D28\u91CF\u6D4B\u8BD5")),1),t("div",nS,[t("div",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),L(t("select",{"onUpdate:modelValue":m[1]||(m[1]=c=>u.value=c),id:"node",required:"",class:st({"is-placeholder":!u.value})},[t("option",iS,i(e(n)("\u8BF7\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),(r(!0),d(U,null,tt(l.value,c=>(r(),d("option",{value:c},i(c.title)+" - "+i(c.describe),9,rS))),256))],2),[[dt,u.value]])]),t("div",{class:st(["wifi_btn m-20",{"is-bg":!u.value||s.value}]),onClick:p},[t("div",sS,[s.value?(r(),d("span",{key:0,class:st(["icon3-wrap",{"is-rotating":s.value}])},[D(HA,{color:"#ffffff",class:"icon3"})],2)):(r(),Z(xe,{key:1,color:"#ffffff",class:"icon2"})),t("span",null,i(e(n)("\u5F00\u59CB\u6D4B\u901F")),1)])],2),s.value?(r(),d("div",dS,[t("p",null,[nt(i(e(n)("\u6D4B\u901F\u8FDB\u5EA6"))+" ",1),lS]),D(Qa,{percentage:25,showPercentage:!1,height:"10px",borderRadius:"10px",color:"#030213",backgroundColor:"#cdccd0"})])):C("",!0)]),t("div",uS,[t("div",cS,[D(Wa,{color:"#ff6900",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u65E5\u5FD7")),1)]),t("p",null,i(e(n)("\u5B9E\u65F6\u6D4B\u901F\u8FC7\u7A0B\u8BB0\u5F55")),1),t("div",pS,[(r(),d(U,null,tt(20,c=>t("p",null,"[17:00:20] \u6B63\u5728\u8FDE\u63A5\u5230\u6D4B\u8BD5\u670D\u52A1\u5668...")),64))])]),t("div",fS,[t("div",mS,[D(eo,{color:"#9865ff",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u7ED3\u679C")),1)]),t("p",null,i(e(n)("\u6D4B\u901F\u8282\u70B9"))+"\uFF1ACDN\u8282\u70B9 (\u5317\u4EAC)",1),t("div",gS,[t("div",vS,[t("div",bS,[D(Kt,{color:"#155dfc",class:"icon_speed"}),hS,_S,xS,t("div",wS,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1)]),t("div",kS,[D(KA,{color:"#00a63e",class:"icon_speed1"}),yS,FS,ES,t("div",$S,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1)])]),CS])])]),D(ee,{modelValue:a.value,"onUpdate:modelValue":m[2]||(m[2]=c=>a.value=c),title:"\u5185\u7F51\u8BBF\u95EE\u5730\u5740",width:"550px",footerShow:!1,"show-close":!0},{default:j(()=>[DS]),_:1},8,["modelValue"])],64))}});var YS=N(BS,[["__scopeId","data-v-de94d0fe"]]);const AS={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},SS=["fill"],zS=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),d("svg",AS,[t("path",{d:"M0 855.04a64.896 64.896 0 0 1 129.792 0v55.637333a64.896 64.896 0 0 1-129.792 0V855.04zM213.248 669.610667a64.896 64.896 0 0 1 129.792 0v241.066666a64.896 64.896 0 0 1-129.792 0v-241.066666zM426.496 484.181333a64.896 64.896 0 0 1 129.792 0v426.496a64.896 64.896 0 1 1-129.792 0v-426.496zM639.701333 298.752a64.896 64.896 0 1 1 129.792 0v611.925333a64.896 64.896 0 0 1-129.792 0V298.752zM852.949333 113.322667a64.896 64.896 0 0 1 129.792 0v797.354666a64.896 64.896 0 0 1-129.792 0V113.322667z",fill:o.color,"p-id":"11967"},null,8,SS)]))}}),va=o=>(it("data-v-63694ef8"),o=o(),rt(),o),PS={id:"page"},TS={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},IS=va(()=>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)),MS={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},LS={class:"container",style:{color:"black"}},NS={class:"title"},OS=va(()=>t("span",null,"\u7F51\u7EDC\u6D4B\u901F\u5DE5\u5177",-1)),VS=va(()=>t("p",null,"\u4E13\u4E1A\u7684\u7F51\u7EDC\u8FDE\u63A5\u901F\u5EA6\u68C0\u6D4B\u5DE5\u5177\uFF0C\u652F\u6301\u5185\u7F51\u548C\u5916\u7F51\u6D4B\u901F",-1)),GS=I({setup(o){const{$gettext:n}=H();return(a,l)=>{const u=ht("router-link");return r(),d(U,null,[t("div",PS,[t("div",TS,[D(u,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:j(()=>[nt(i(e(n)("\u9996\u9875")),1)]),_:1}),IS,t("a",MS,i(e(n)("\u7F51\u7EDC\u6D4B\u901F")),1)])]),t("div",LS,[t("div",NS,[t("div",null,[D(zS,{class:"icon"}),OS]),VS]),D(YS)])],64)}}});var jS=N(GS,[["__scopeId","data-v-63694ef8"]]);const Ce=o=>(it("data-v-1f11eeec"),o=o(),rt(),o),US=["onSubmit"],qS={class:"form-item"},RS={class:"label-name"},WS={class:"label-value switch_label"},HS={class:"label-flex pc-radio"},JS=["disabled"],ZS=["disabled"],KS=Ce(()=>t("div",{class:"switch-button"},null,-1)),QS=[KS],XS={key:0,class:"form-item"},tz={class:"label-name"},ez={class:"label-value"},az=["disabled"],oz={value:100},nz={value:70},iz={value:50},rz={value:30},sz={key:0,class:"select-arrow"},dz={class:"form-item"},lz={class:"label-name"},uz={class:"label-value"},cz=["disabled","placeholder"],pz={class:"form-item"},fz={class:"label-name"},mz={class:"label-value"},gz=["disabled"],vz=["value"],bz={key:0,class:"select-arrow"},hz={class:"form-item"},_z={class:"label-name"},xz={class:"label-value"},wz=["type","disabled","placeholder"],kz={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},yz=Ce(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),Fz=[yz],Ez={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},$z=Ce(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),Cz=[$z],Dz={class:"form-item"},Bz={class:"label-name"},Yz={class:"label-value"},Az=["disabled"],Sz={value:!1},zz={value:!0},Pz={key:0,class:"select-arrow"},Tz={key:1,class:"form-item"},Iz={class:"label-name"},Mz={class:"label-value"},Lz=["disabled"],Nz=["value"],Oz={key:0,class:"select-arrow"},Vz={key:2,class:"form-item"},Gz={class:"label-name"},jz={class:"label-value"},Uz=["disabled"],qz=Ce(()=>t("option",{value:"20"},"20 MHz",-1)),Rz=Ce(()=>t("option",{value:"40"},"40 MHz",-1)),Wz={key:0,value:"auto"},Hz={key:1,value:"80"},Jz={key:2,value:"160"},Zz={key:0,class:"select-arrow"},Kz={key:3,class:"form-item"},Qz={class:"label-name"},Xz={class:"label-value"},tP=["disabled"],eP={value:0},aP=["value"],oP=["disabled"],nP={value:0},iP=Vt('',12),rP={key:2,class:"select-arrow"},sP={key:4,class:"form-item"},dP={class:"label-name"},lP={class:"label-value"},uP=["placeholder","disabled"],cP={class:"label-btns"},pP=["disabled"],fP=I({props:{data:null},emits:["getData"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),s=F(Object.assign({},a.data)),p=$o("disabled"),w=F(!0),m=()=>{p.value||(s.value.disabled=!s.value.disabled)};At(()=>s.value.disabled,k=>{f()});const c=()=>O(this,null,function*(){if(s.value.txpower===a.data.txpower)return;const k=E.Loading("\u914D\u7F6E\u4E2D...");try{const{data:b}=yield G.Quickwifi.Power.POST({device:s.value.device||"",txpower:s.value.txpower||0}),{error:h,success:v}=b;if(h)throw h;(v==null||v==0)&&E.Success("\u914D\u7F6E\u5B8C\u6210")}catch(b){throw E.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),b}finally{k.Close()}}),f=()=>O(this,null,function*(){const k=E.Loading("\u914D\u7F6E\u4E2D...");try{const{data:b}=yield G.Quickwifi.Switch.POST({ifaceName:s.value.ifaceName||"",enable:!s.value.disabled}),{error:h,success:v}=b;if(h)throw h;(v==null||v==0)&&E.Success("\u914D\u7F6E\u5B8C\u6210")}catch(b){throw console.error("\u8BF7\u6C42\u51FA\u9519:",b),E.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),b}finally{k.Close()}}),g=()=>O(this,null,function*(){const k=lt({},s.value);delete k.encryptSelects,delete k.hwmodeSelects,delete k.disabled,delete k.txpower;const{data:b}=yield G.Quickwifi.Edit.POST(k),{error:h,success:v}=b;if(h)throw h;(v==null||v==0)&&E.Success("\u914D\u7F6E\u5B8C\u6210")}),_=()=>O(this,null,function*(){if(p.value)return;p.value=!0;const k=E.Loading("\u914D\u7F6E\u4E2D...");try{yield g(),yield n("getData")}catch(b){const h=E.Error(`${b}`);setTimeout(()=>{h.Close()},2e3)}finally{k.Close(),p.value=!1}});return(k,b)=>(r(),d("form",{class:"form-container",onSubmit:ut(_,["prevent"])},[t("div",qS,[t("div",RS,[t("span",null,i(e(l)("\u542F\u7528Wi-Fi")),1)]),t("div",WS,[t("div",HS,[t("label",null,[L(t("input",{type:"radio",value:!1,"onUpdate:modelValue":b[0]||(b[0]=h=>s.value.disabled=h),disabled:e(p)},null,8,JS),[[Ft,s.value.disabled]]),nt(" "+i(e(l)("\u5F00\u542F")),1)]),t("label",null,[L(t("input",{type:"radio",value:!0,"onUpdate:modelValue":b[1]||(b[1]=h=>s.value.disabled=h),disabled:e(p)},null,8,ZS),[[Ft,s.value.disabled]]),nt(" "+i(e(l)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:m},[t("div",{class:st(["switch-core",{"is-checked":!s.value.disabled,"is-disabled":e(p)}])},QS,2)])])]),s.value.isGuest?C("",!0):(r(),d("div",XS,[t("div",tz,[t("span",null,i(e(l)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",ez,[L(t("select",{"onUpdate:modelValue":b[2]||(b[2]=h=>s.value.txpower=h),disabled:e(p),onChange:c},[t("option",oz,i(e(l)("\u6700\u5927")),1),t("option",nz,i(e(l)("\u9AD8")),1),t("option",iz,i(e(l)("\u4E2D")),1),t("option",rz,i(e(l)("\u4F4E")),1)],40,az),[[dt,s.value.txpower]]),e(p)?C("",!0):(r(),d("div",sz))])])),t("div",dz,[t("div",lz,[t("span",null,i(e(l)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",uz,[L(t("input",{"onUpdate:modelValue":b[3]||(b[3]=h=>s.value.ssid=h),disabled:e(p),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,cz),[[et,s.value.ssid]])])]),t("div",pz,[t("div",fz,[t("span",null,i(e(l)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",mz,[L(t("select",{"onUpdate:modelValue":b[4]||(b[4]=h=>s.value.encryption=h),disabled:e(p)},[(r(!0),d(U,null,tt(s.value.encryptSelects,h=>(r(),d("option",{value:h},i(h),9,vz))),256))],8,gz),[[dt,s.value.encryption]]),e(p)?C("",!0):(r(),d("div",bz))])]),t("div",hz,[t("div",_z,[t("span",null,i(e(l)("Wi-Fi \u5BC6\u7801")),1)]),t("div",xz,[L(t("input",{"onUpdate:modelValue":b[5]||(b[5]=h=>s.value.key=h),class:"password_input",type:w.value?"password":"",disabled:e(p),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,wz),[[Co,s.value.key]]),e(p)?C("",!0):(r(),d("div",{key:0,onClick:b[6]||(b[6]=h=>w.value=!w.value)},[w.value?(r(),d("svg",kz,Fz)):(r(),d("svg",Ez,Cz))]))])]),t("div",Dz,[t("div",Bz,[t("span",null,i(e(l)("SSID \u53EF\u89C1\u6027")),1)]),t("div",Yz,[L(t("select",{"onUpdate:modelValue":b[7]||(b[7]=h=>s.value.hidden=h),disabled:e(p)},[t("option",Sz,i(e(l)("\u663E\u793A")),1),t("option",zz,i(e(l)("\u9690\u85CF")),1)],8,Az),[[dt,s.value.hidden]]),e(p)?C("",!0):(r(),d("div",Pz))])]),s.value.isGuest?C("",!0):(r(),d("div",Tz,[t("div",Iz,[t("span",null,i(e(l)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",Mz,[L(t("select",{"onUpdate:modelValue":b[8]||(b[8]=h=>s.value.hwmode=h),disabled:e(p)},[(r(!0),d(U,null,tt(s.value.hwmodeSelects,h=>(r(),d("option",{value:h},i(h),9,Nz))),256))],8,Lz),[[dt,s.value.hwmode]]),e(p)?C("",!0):(r(),d("div",Oz))])])),s.value.isGuest?C("",!0):(r(),d("div",Vz,[t("div",Gz,[t("span",null,i(e(l)("\u9891\u5BBD")),1)]),t("div",jz,[L(t("select",{"onUpdate:modelValue":b[9]||(b[9]=h=>s.value.htmode=h),disabled:e(p)},[qz,Rz,s.value.band==="2g"?(r(),d("option",Wz," 20/40 MHz ")):C("",!0),s.value.band==="5g"?(r(),d("option",Hz," 80 MHz ")):C("",!0),s.value.band==="5g"?(r(),d("option",Jz," 160 MHz ")):C("",!0)],8,Uz),[[dt,s.value.htmode]]),e(p)?C("",!0):(r(),d("div",Zz))])])),s.value.isGuest?C("",!0):(r(),d("div",Kz,[t("div",Qz,[t("span",null,i(e(l)("\u4FE1\u9053")),1)]),t("div",Xz,[s.value.band==="2g"?L((r(),d("select",{key:0,"onUpdate:modelValue":b[10]||(b[10]=h=>s.value.channel=h),disabled:e(p)},[t("option",eP,i(e(l)("\u81EA\u52A8")),1),(r(),d(U,null,tt(13,h=>t("option",{value:h},i(h),9,aP)),64))],8,tP)),[[dt,s.value.channel,void 0,{number:!0}]]):C("",!0),s.value.band==="5g"?L((r(),d("select",{key:1,"onUpdate:modelValue":b[11]||(b[11]=h=>s.value.channel=h),disabled:e(p)},[t("option",nP,i(e(l)("\u81EA\u52A8")),1),iP],8,oP)),[[dt,s.value.channel,void 0,{number:!0}]]):C("",!0),e(p)?C("",!0):(r(),d("div",rP))])])),s.value.isGuest?C("",!0):(r(),d("div",sP,[t("div",dP,[t("span",null,i(e(l)("\u7F51\u7EDC")),1)]),t("div",lP,[L(t("input",{type:"text",placeholder:e(l)("\u8BF7\u914D\u7F6E\u7F51\u7EDC\u540D\u79F0"),required:"","onUpdate:modelValue":b[12]||(b[12]=h=>s.value.network=h),disabled:e(p)},null,8,uP),[[et,s.value.network]])])])),t("div",cP,[t("button",{class:"btn primary-btn",disabled:e(p),onClick:_},i(e(l)("\u4FDD\u5B58\u914D\u7F6E")),9,pP)])],40,US))}});var mP=N(fP,[["__scopeId","data-v-1f11eeec"]]);const Ue=o=>(it("data-v-40cb5302"),o=o(),rt(),o),gP={id:"page",class:"page-container"},vP={class:"mobile-tags-container"},bP={class:"tags-wrapper"},hP={class:"tags-scroll"},_P=["onClick"],xP={class:"more-btn-wrapper"},wP=Ue(()=>t("div",{class:"fade-overlay"},null,-1)),kP=Ue(()=>t("div",{class:"line"},null,-1)),yP=Ue(()=>t("div",{class:"line"},null,-1)),FP=Ue(()=>t("div",{class:"line"},null,-1)),EP=[kP,yP,FP],$P={class:"page-flex"},CP={class:"page-sidebar"},DP=["onClick"],BP={class:"page-main"},YP={class:"popup-content"},AP={class:"popup-tags"},SP=["onClick"],zP={class:"popup-footer"},PP=I({setup(o){var h;const{$gettext:n}=H(),a=F(!1);Do("disabled",a);const l=F([]),u=Pe(),s=aa(),p=F(String((h=u==null?void 0:u.query)==null?void 0:h.tab)),w=F(!1),m=v=>{var x;return(x=v.band)==null?void 0:x.toUpperCase()},c=v=>v.isGuest?v.band+"_Guest":v.ssid,f=v=>{a.value||(p.value=c(v),w.value=!1,p.value!==u.query.tab&&s.push({query:{tab:p.value}}))},g=F(),_=v=>{a.value||(g.value=c(v))},k=()=>{w.value=!1,g.value!==u.query.tab&&s.push({query:{tab:g.value}})};At(()=>w.value,v=>{v?g.value=p.value:p.value=g.value});const b=()=>O(this,null,function*(){try{const{data:v}=yield G.Quickwifi.List.GET(),{error:x,result:y}=v;if(x)throw x;y!=null&&y.ifaces&&(l.value=y.ifaces.map(Y=>pt(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 $=!1;for(let Y=0;Y0&&f(l.value[0])}catch(v){console.log(v)}});return b(),(v,x)=>(r(),d("div",gP,[t("div",vP,[t("div",bP,[t("div",hP,[(r(!0),d(U,null,tt(l.value,y=>(r(),d("div",{key:c(y),class:st(p.value===c(y)?"tag-item active":"tag-item"),onClick:ut($=>f(y),["stop"])},i(m(y))+" "+i(y.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,_P))),128))]),t("div",xP,[wP,t("div",{class:"more-btn",onClick:x[0]||(x[0]=y=>w.value=!0)},EP)])])]),t("div",$P,[t("div",CP,[(r(!0),d(U,null,tt(l.value,y=>(r(),d("div",{key:c(y),class:st(p.value===c(y)?"item activeItem":"item"),onClick:ut($=>f(y),["stop"])},i(m(y))+" "+i(y.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,DP))),128))]),t("div",BP,[(r(!0),d(U,null,tt(l.value,y=>(r(),d(U,{key:c(y)},[p.value===c(y)?(r(),Z(mP,{key:0,data:y,onGetData:b},null,8,["data"])):C("",!0)],64))),128))])]),w.value?(r(),d("div",{key:0,class:"popup-overlay",onClick:x[2]||(x[2]=ut(y=>w.value=!1,["self"]))},[t("div",YP,[t("div",AP,[(r(!0),d(U,null,tt(l.value,y=>(r(),d("div",{key:c(y),class:st(g.value===c(y)?"popup-tag-item active":"popup-tag-item"),onClick:ut($=>_(y),["stop"])},i(m(y))+" "+i(y.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,SP))),128))]),t("div",zP,[t("button",{class:"cancel-btn",onClick:x[1]||(x[1]=y=>w.value=!1)},i(e(n)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:k},i(e(n)("\u786E\u5B9A")),1)])])])):C("",!0)]))}});var TP=N(PP,[["__scopeId","data-v-40cb5302"]]);const IP=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",so=Bo({history:Yo(IP()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:Pb},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:Mb,children:[{path:"",component:bh},{path:"pppoe",component:Oh},{path:"dhcp",component:E_},{path:"gateway",component:gx}]},{path:"/quickwifi",component:TP},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:Lk},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:Rk,children:[{path:"",component:WE},{path:"task",component:d$},{path:"log",component:p$}]},{path:"/interfaceconfig",component:kC},{path:"/devicemanagement",component:UA},{path:"/networkSpeedTest",component:jS}]});so.beforeEach((o,n)=>(o.meta.title,!0));const yt=vt(en);yt.component("svg-menu",ln);yt.component("svg-system",gn);yt.component("svg-download",wn);yt.component("svg-store",Bn);yt.component("svg-info",Tn);yt.component("svg-disk",ii);yt.component("svg-nav",ci);yt.component("progress-item",Ma);yt.component("svg-view-show",Ti);yt.component("svg-view-hidden",Vi);yt.component("article-item",Hi);yt.component("switch-box",La);yt.component("editable-select",Zt);yt.use(Na);yt.use(so);yt.use(Ao());zo(yt).finally(()=>yt.mount("#app"))});export default MP(); +`+d.value,disabled:""},null,8,cF)]),t("div",pF,[t("div",{class:"close",onClick:f,disabled:u.value},i(e(a)("\u5173\u95ED")),9,fF),u.value?C("",!0):(r(),s("div",{key:0,class:"next",onClick:v,disabled:u.value},i(e(a)("\u8FD0\u884C")),9,mF))])])]),_:1}))}});var vF=N(gF,[["__scopeId","data-v-abf07ee0"]]);const bF={class:"actioner-container"},hF={class:"actioner-container_header"},_F={class:"tabs"},xF={class:"actioner-container_body"},wF={key:0,class:"table"},kF={class:"tr"},yF={class:"td left"},FF={class:"td left"},EF={class:"tr"},$F={class:"td left"},CF={class:"td left"},DF={class:"tr"},BF={class:"td left"},YF={class:"td left"},AF=["value"],SF=["value"],zF=["value"],PF={class:"actioner-container_footer"},TF=["disabled"],IF=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!1),d=E("info"),p=x=>{switch(d.value=x,x){case"info":break;case"attribute":f();break;case"log":c();break;case"extend":v();break}},w=()=>{u.value=!0,n.close()},g=mt({log:"",attribute:"",extend:""}),c=()=>O(this,null,function*(){try{const x=yield G.Smart.Test.Result.POST({type:"selftest",devicePath:n.disk.path||""});if(x.data){const{result:k,error:_}=x.data;k&&k.result&&(g.log=k.result),_&&(g.log=_)}}catch(x){g.log=x}}),f=()=>O(this,null,function*(){try{const x=yield G.Smart.Attribute.Result.POST({devicePath:n.disk.path||""});if(x.data){const{result:k,error:_}=x.data;k&&k.result&&(g.attribute=k.result),_&&(g.attribute=_)}}catch(x){g.attribute=x}}),v=()=>O(this,null,function*(){try{const x=yield G.Smart.Extend.Result.POST({devicePath:n.disk.path||""});if(x.data){const{result:k,error:_}=x.data;k&&k.result&&(g.extend=k.result),_&&(g.extend=_)}}catch(x){g.extend=x}});return(x,k)=>(r(),Z(Ge,null,{default:j(()=>[t("div",bF,[t("div",hF,[t("ul",_F,[t("li",{class:st({"active cbi-tab":d.value=="info"}),onClick:k[0]||(k[0]=_=>p("info"))},[t("a",null,i(e(a)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:st({"active cbi-tab":d.value=="attribute"}),onClick:k[1]||(k[1]=_=>p("attribute"))},[t("a",null,i(e(a)("\u5C5E\u6027")),1)],2),t("li",{class:st({"active cbi-tab":d.value=="log"}),onClick:k[2]||(k[2]=_=>p("log"))},[t("a",null,i(e(a)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:st({"active cbi-tab":d.value=="extend"}),onClick:k[3]||(k[3]=_=>p("extend"))},[t("a",null,i(e(a)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",xF,[d.value=="info"?(r(),s("table",wF,[t("tr",kF,[t("td",yF,i(e(a)("\u8BBE\u5907")),1),t("td",FF,i(o.disk.path),1)]),t("tr",EF,[t("td",$F,i(e(a)("\u578B\u53F7")),1),t("td",CF,i(o.disk.model),1)]),t("tr",DF,[t("td",BF,i(e(a)("\u5E8F\u53F7")),1),t("td",YF,i(o.disk.serial),1)])])):d.value=="attribute"?(r(),s("textarea",{key:1,disabled:"",value:e(g).attribute},null,8,AF)):d.value=="log"?(r(),s("textarea",{key:2,disabled:"",value:e(g).log},null,8,SF)):d.value=="extend"?(r(),s("textarea",{key:3,disabled:"",value:e(g).extend},null,8,zF)):C("",!0)]),t("div",PF,[t("div",{class:"close",onClick:w,disabled:u.value},i(e(a)("\u5173\u95ED")),9,TF)])])]),_:1}))}});var MF=N(IF,[["__scopeId","data-v-4a646cde"]]);const LF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(_y,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},NF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(sF,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},OF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(vF,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},VF=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=D(MF,pt(lt({},o),{close:()=>{l()}})),l=()=>{n.remove()};Te(a,n)},GF={class:"cbi-section"},jF={class:"cbi-value"},UF={class:"cbi-value-title"},qF={class:"cbi-value-field"},RF={class:"cbi-checkbox"},WF=["value"],HF={class:"cbi-value"},JF={class:"cbi-value-title"},ZF={class:"cbi-value-field"},KF={class:"cbi-checkbox"},QF={value:"never"},XF={value:"sleep"},tE={value:"standby"},eE={value:"idle"},aE={class:"cbi-value-description"},oE=t("br",null,null,-1),nE=t("br",null,null,-1),iE=t("br",null,null,-1),rE=t("br",null,null,-1),sE={class:"cbi-value"},dE={class:"cbi-value-title"},lE={class:"cbi-value-field"},uE={class:"cbi-checkbox"},cE={value:0},pE=["value"],fE={class:"cbi-value-description"},mE={class:"cbi-value"},gE={class:"cbi-value-title"},vE={class:"cbi-value-field"},bE={class:"cbi-checkbox"},hE={value:0},_E=["value"],xE={class:"cbi-value-description"},wE={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},kE={class:"table cbi-section-table"},yE={class:"tr cbi-section-table-titles anonymous"},FE={class:"th cbi-section-table-cell","data-widget":"value"},EE={class:"th cbi-section-table-cell","data-widget":"value"},$E={class:"th cbi-section-table-cell","data-widget":"value"},CE={class:"th cbi-section-table-cell","data-widget":"value"},DE={class:"th cbi-section-table-cell","data-widget":"value"},BE={class:"th cbi-section-table-cell","data-widget":"value"},YE={class:"th cbi-section-table-cell","data-widget":"value"},AE={class:"th cbi-section-table-cell","data-widget":"value"},SE={class:"tr cbi-section-table-row"},zE={class:"td cbi-value-field"},PE={class:"td cbi-value-field"},TE={class:"td cbi-value-field"},IE={class:"td cbi-value-field"},ME={class:"td cbi-value-field"},LE={class:"td cbi-value-field"},NE={class:"td cbi-value-field"},OE={class:"td cbi-value-field"},VE=["title","onClick"],GE=["title","onClick"],jE={class:"cbi-page-actions control-group"},UE=["value"],qE=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=mt(n.config),d=()=>{u.global.tmpDiff=n.config.global.tmpDiff||0,u.global.tmpMax=n.config.global.tmpMax||0,u.global.enable=n.config.global.enable||!1,u.global.powermode=n.config.global.powermode||"never",u.devices=n.config.devices||[],u.tasks=n.config.tasks||[]},p=E([]),w=()=>O(this,null,function*(){try{const x=yield G.Smart.List.GET();if(x.data){const{result:k,error:_}=x.data;k&&k.disks&&(p.value=k.disks||[])}}catch(x){}}),g=Pt.easyInterval(w,5e3);ke(()=>{g()});const c=()=>O(this,null,function*(){yield n.saveData({global:u.global,devices:n.config.devices,tasks:n.config.tasks}),d()}),f=x=>{VF({disk:x})},v=(x,k)=>O(this,null,function*(){let _=null,h=-1;if(u.devices){for(let m=0;mO(this,null,function*(){m.tmpDiff==-1&&(m.tmpDiff=u.global.tmpDiff),m.tmpMax==-1&&(m.tmpMax=u.global.tmpMax),m.devicePath==""&&(m.devicePath=x.path);let b=[...u.devices];h>=0&&(b[h]=m);const y=new Map;b.forEach(F=>{F.devicePath!=null&&y.set(F.devicePath,null)});for(let F=0;F(r(),s(U,null,[t("fieldset",GF,[t("div",jF,[t("label",UF,i(e(a)("\u542F\u7528")),1),t("div",qF,[t("div",RF,[L(t("input",{type:"checkbox","onUpdate:modelValue":k[0]||(k[0]=_=>e(u).global.enable=_),value:!e(u).global.enable},null,8,WF),[[qt,e(u).global.enable]])])])]),t("div",HF,[t("label",JF,i(e(a)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",ZF,[t("div",KF,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[1]||(k[1]=_=>e(u).global.powermode=_)},[t("option",QF,i(e(a)("\u603B\u662F")),1),t("option",XF,i(e(a)("\u7761\u7720")),1),t("option",tE,i(e(a)("\u5F85\u673A")),1),t("option",eE,i(e(a)("\u95F2\u7F6E")),1)],512),[[dt,e(u).global.powermode,void 0,{trim:!0}]])]),t("div",aE,[t("span",null,i(e(a)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),oE,t("span",null,"* "+i(e(a)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),nE,t("span",null,"* "+i(e(a)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),iE,t("span",null,"* "+i(e(a)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),rE,t("span",null,"* "+i(e(a)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",sE,[t("label",dE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",lE,[t("div",uE,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[2]||(k[2]=_=>e(u).global.tmpDiff=_)},[t("option",cE,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(15,_=>t("option",{value:_},i(_)+"\xB0C",9,pE)),64))],512),[[dt,e(u).global.tmpDiff,void 0,{number:!0}]])]),t("div",fE,i(e(a)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",mE,[t("label",gE,i(e(a)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",vE,[t("div",bE,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":k[3]||(k[3]=_=>e(u).global.tmpMax=_)},[t("option",hE,i(e(a)("\u7981\u7528")),1),(r(),s(U,null,tt(20,_=>t("option",{value:_*5},i(_*5)+"\xB0C",9,_E)),64))],512),[[dt,e(u).global.tmpMax,void 0,{number:!0}]])]),t("div",xE,i(e(a)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",wE,[t("table",kE,[t("thead",null,[t("tr",yE,[t("th",FE,i(e(a)("\u8BBE\u5907")),1),t("th",EE,i(e(a)("\u578B\u53F7")),1),t("th",$E,i(e(a)("\u5E8F\u53F7")),1),t("th",CE,i(e(a)("\u5BB9\u91CF")),1),t("th",DE,i(e(a)("\u6E29\u5EA6")),1),t("th",BE,i(e(a)("\u72B6\u6001")),1),t("th",YE,i(e(a)("\u5065\u5EB7")),1),t("th",AE,i(e(a)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(r(!0),s(U,null,tt(p.value,(_,h)=>(r(),s("tr",SE,[t("td",zE,[t("b",null,i(_.path),1)]),t("td",PE,[t("b",null,i(_.model),1)]),t("td",TE,[t("b",null,i(_.serial),1)]),t("td",IE,[t("b",null,i(_.sizeStr),1)]),t("td",ME,[t("b",null,i(_.temp),1)]),t("td",LE,[t("b",null,i(_.status),1)]),t("td",NE,[t("b",null,i(_.health),1)]),t("td",OE,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:m=>v(_)},i(e(a)("\u7F16\u8F91")),9,VE),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:m=>f(_)},i(e(a)("\u8BE6\u60C5")),9,GE)])]))),256))])])]),t("span",jE,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:c},null,8,UE)])],64))}}),RE={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},WE={class:"table cbi-section-table"},HE={class:"tr cbi-section-table-titles anonymous"},JE={class:"th cbi-section-table-cell","data-widget":"value"},ZE={class:"th cbi-section-table-cell","data-widget":"value"},KE={class:"th cbi-section-table-cell","data-widget":"value"},QE={class:"th cbi-section-table-cell","data-widget":"value"},XE={class:"tr cbi-section-table-row"},t$={class:"td cbi-value-field"},e$={class:"td cbi-value-field"},a$={class:"td cbi-value-field"},o$={class:"td cbi-value-field"},n$=["title","onClick"],i$=["title","onClick"],r$=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=mt(n.config),d=c=>{switch(c){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")}},p=()=>{NF({config:n.config,disks:[],next:c=>O(this,null,function*(){yield n.saveData({tasks:[...u.tasks,c],global:n.config.global,devices:n.config.devices}),u.tasks=n.config.tasks||[]})})},w=c=>O(this,null,function*(){const f=[...u.tasks];f.splice(c,1),yield n.saveData({tasks:f,global:n.config.global,devices:n.config.devices}),u.tasks=n.config.tasks||[]}),g=c=>{OF({task:c})};return(c,f)=>(r(),s(U,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:f[0]||(f[0]=v=>p())},i(e(a)("\u65B0\u5EFA")),1),t("div",RE,[t("table",WE,[t("thead",null,[t("tr",HE,[t("th",JE,i(e(a)("\u8BBE\u5907")),1),t("th",ZE,i(e(a)("\u7C7B\u578B")),1),t("th",KE,i(e(a)("\u8C03\u5EA6")),1),t("th",QE,i(e(a)("\u529F\u80FD")),1)])]),t("tbody",null,[(r(!0),s(U,null,tt(e(u).tasks,(v,x)=>(r(),s("tr",XE,[t("td",t$,[t("b",null,i(v.devicePath),1)]),t("td",e$,[t("b",null,i(d(v.type)),1)]),t("td",a$,[t("b",null,i(v.month)+"/"+i(v.dayPerMonth)+"/"+i(v.hour),1)]),t("td",o$,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8C03\u8BD5"),onClick:k=>g(v)},i(e(a)("\u9884\u89C8")),9,n$),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5220\u9664"),onClick:k=>w(x)},i(e(a)("\u5220\u9664")),9,i$)])]))),256))])])])],64))}}),s$={class:"cbi-section"},d$=["value"],l$=I({setup(o){return O(this,null,function*(){let n,a;const l=E(""),u=()=>O(this,null,function*(){try{const d=yield G.Smart.Log.GET();if(d.data){const{result:p,error:w}=d.data;p&&p.result&&(l.value=p.result),w&&(l.value=w)}}catch(d){l.value=d}});return[n,a]=yo(()=>u()),yield n,a(),(d,p)=>(r(),s("fieldset",s$,[t("textarea",{value:l.value,disabled:""},null,8,d$)]))})}});var u$=N(l$,[["__scopeId","data-v-997c3dee"]]);const oo=o=>(it("data-v-17b89cb7"),o=o(),rt(),o),c$=oo(()=>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)),p$={class:"app-container_status-label_text"},f$={class:"text_status"},m$={class:"text_info"},g$=oo(()=>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)),v$={class:"app-container_status-label_text"},b$={class:"text_info"},h$=I({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=ia(),d=E(null),p=g=>{const c=g.target,{left:f,top:v}=c.getBoundingClientRect();u.portitemStyle.show=!0,u.portitemStyle.left=f,u.portitemStyle.top=v,u.portitemStyle.portitem=n.item},w=g=>{u.portitemStyle.show=!1};return(g,c)=>(r(),s("div",{class:"app-container_status-label_bg",style:ft(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:d,onMouseenter:p,onMouseleave:w},[o.item.linkState=="DOWN"?(r(),s(U,{key:0},[c$,t("div",p$,[t("div",f$,i(e(a)("\u5DF2\u65AD\u5F00")),1),t("div",m$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(r(),s(U,{key:1},[g$,t("div",v$,[t("div",null,i(o.item.linkSpeed),1),t("div",b$,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var _$=N(h$,[["__scopeId","data-v-17b89cb7"]]);const x$={},w$={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"},k$=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),y$=[k$];function F$(o,n){return r(),s("svg",w$,y$)}var Ca=N(x$,[["render",F$]]);const E$=["onSubmit"],$$={class:"actioner-dns_header"},C$={key:0},D$={key:1},B$={class:"actioner-dns_body"},Y$={class:"label-item"},A$={class:"label-item_key"},S$={class:"label-item_value"},z$={class:"label-item"},P$={class:"label-item_key"},T$={class:"label-item_value"},I$={value:"dhcp"},M$={key:0,value:"pppoe"},L$={value:"static"},N$={class:"actioner-dns_footer"},O$=["disabled"],V$=I({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const n=o,{$gettext:a,$ngettext:l}=H(),u=E(!1),d=E(n.inface),p=()=>O(this,null,function*(){$.Loading(a("\u914D\u7F6E\u4E2D...")).Close(),n.next(d.value),w()}),w=()=>{n.Close&&n.Close()};return(g,c)=>(r(),Z(_t,{Close:o.Close,type:1},{default:j(()=>[t("form",{class:"actioner-dns",onSubmit:ut(p,["prevent"])},[t("div",$$,[o.name=="wan"?(r(),s("span",C$,i(o.e=="edit"?e(a)("\u7F16\u8F91WAN"):e(a)("\u6DFB\u52A0WAN")),1)):(r(),s("span",D$,i(o.e=="edit"?e(a)("\u7F16\u8F91LAN"):e(a)("\u6DFB\u52A0LAN")),1))]),t("div",B$,[t("div",Y$,[t("div",A$,[t("span",null,i(e(a)("\u540D\u79F0")),1)]),t("div",S$,[t("span",null,i(d.value.name.toLocaleUpperCase()),1)])]),t("div",z$,[t("div",P$,[t("span",null,i(e(a)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",T$,[L(t("select",{"onUpdate:modelValue":c[0]||(c[0]=f=>d.value.proto=f)},[t("option",I$,i(e(a)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(r(),s("option",M$,"PPPoE")):C("",!0),t("option",L$,i(e(a)("\u9759\u6001\u5730\u5740")),1)],512),[[dt,d.value.proto]])])])]),t("div",N$,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:u.value},i(e(a)("\u4FDD\u5B58")),9,O$),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},i(e(a)("\u53D6\u6D88")),1)])],40,E$)]),_:1},8,["Close"]))}});var G$=N(V$,[["__scopeId","data-v-6f6071af"]]);const Da=o=>{const n=document.createElement("div");document.body.appendChild(n);const a=vt(G$,pt(lt({},o),{Close:()=>{l()}}));a.mount(n);const l=()=>{a.unmount(),n.remove()}},Gt=o=>(it("data-v-4ec945e0"),o=o(),rt(),o),j$={id:"page"},U$={name:"content"},q$={class:"container"},R$={class:"table-wrapper"},W$={class:"table-header"},H$={class:"interface-device-flex"},J$=Gt(()=>t("div",{class:"header-cell spacer-col"},null,-1)),Z$=Gt(()=>t("div",{class:"header-cell"},null,-1)),K$=Gt(()=>t("div",{class:"header-cell action-col"},null,-1)),Q$={class:"table-body"},X$=["name","value","onUpdate:modelValue","onInput"],tC=Gt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),eC={class:"table-cell name-col"},aC={class:"table-cell action-col"},oC=["title","onClick"],nC=["onClick"],iC=Gt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),rC=Gt(()=>t("div",{class:"table-cell name-col"},null,-1)),sC={class:"table-cell action-col"},dC=["name","value","onUpdate:modelValue","onInput"],lC=Gt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),uC={class:"table-cell name-col"},cC={class:"table-cell action-col"},pC=["title","onClick"],fC=["onClick"],mC=Gt(()=>t("div",{class:"table-cell spacer-col"},null,-1)),gC=Gt(()=>t("div",{class:"table-cell name-col"},null,-1)),vC={class:"table-cell action-col"},bC={class:"cbi-page-actions control-group"},hC=["value","disabled"],_C=I({setup(o){const{$gettext:n,$ngettext:a}=H(),l=mt({devices:[],interfaces:[]}),u=E(!1),d=mt({lan:[],wan:[]});(()=>{G.Network.GetInterfaceConfig.GET().then(k=>{if(k.data){const{result:_}=k.data;if(_){l.devices=_.devices||[],l.interfaces=_.interfaces||[];for(let h=0;h{k=="wan"?d.wan.splice(_,1):k=="lan"&&d.lan.splice(_,1)},g=(k,_)=>{if(_==null){let h=k=="wan"?d.wan.length:d.lan.length;h==6&&k=="wan"&&h++,Da({e:"add",name:k,inface:{name:k+`${h}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:k},next:m=>{k=="wan"?d.wan.push(m):d.lan.push(m),$.Message(n("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else Da({e:"edit",name:k,inface:k=="wan"?d.wan[_]:d.lan[_],next:h=>{k=="wan"?d.wan[_]=h:d.lan[_]=h}})},c=(k,_)=>k?k.indexOf(_):-1,f=(k,_)=>{const m=k.target.value;for(let y=0;y{const m=k.target.value;for(let b=0;bO(this,null,function*(){u.value=!0;const k=[];for(let h=0;h(r(),s("div",j$,[t("h2",U$,i(e(n)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",q$,[t("div",R$,[t("div",W$,[(r(!0),s(U,null,tt(e(l).devices,h=>(r(),s("div",{class:"header-cell device-col",key:h.name},[t("div",H$,[D(_$,{item:h},null,8,["item"])])]))),128)),J$,Z$,K$]),t("div",Q$,[(r(!0),s(U,null,tt(e(d).lan,(h,m)=>(r(),s("div",{key:m,class:"table-row"},[(r(!0),s(U,null,tt(e(l).devices,b=>(r(),s("div",{class:"table-cell device-col",key:b.name},[L(t("input",{type:"checkbox",name:b.name,value:b.name,"onUpdate:modelValue":y=>h.deviceNames=y,onInput:y=>f(y,m)},null,40,X$),[[qt,h.deviceNames]])]))),128)),tC,t("div",eC,[t("b",null,i(h.name),1)]),t("div",aC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:b=>g("lan",m)},i(e(n)("\u7F16\u8F91")),9,oC),m!==0?(r(),s("button",{key:0,class:"cbi-button cbi-button-remove",onClick:b=>w("lan",m)},i(e(n)("\u5220\u9664")),9,nC)):C("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:_[0]||(_[0]=h=>g("lan"))},[(r(!0),s(U,null,tt(e(l).devices,h=>(r(),s("div",{class:"table-cell device-col",key:h.name}))),128)),iC,rC,t("div",sC,[D(Ca,{class:"icon"})])]),(r(!0),s(U,null,tt(e(d).wan,(h,m)=>(r(),s("div",{key:m,class:"table-row"},[(r(!0),s(U,null,tt(e(l).devices,b=>(r(),s("div",{class:"table-cell device-col",key:b.name},[L(t("input",{type:"checkbox",name:b.name,value:b.name,"onUpdate:modelValue":y=>h.deviceNames=y,onInput:y=>v(y,m)},null,40,dC),[[qt,h.deviceNames]])]))),128)),lC,t("div",uC,[t("b",null,i(h.name),1)]),t("div",cC,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:b=>g("wan",m)},i(e(n)("\u7F16\u8F91")),9,pC),m!==0?(r(),s("button",{key:0,class:"cbi-button cbi-button-remove",onClick:b=>w("wan",m)},i(e(n)("\u5220\u9664")),9,fC)):C("",!0)])]))),128)),t("div",{class:"table-row add-row",onClick:_[1]||(_[1]=h=>g("wan"))},[(r(!0),s(U,null,tt(e(l).devices,h=>(r(),s("div",{class:"table-cell device-col",key:h.name}))),128)),mC,gC,t("div",vC,[D(Ca,{class:"icon"})])])])])]),t("div",bC,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(n)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:x,disabled:u.value},null,8,hC)])]))}});var xC=N(_C,[["__scopeId","data-v-4ec945e0"]]);const wC={name:"CustomTable",props:{data:{type:Array,default:()=>[]},columns:{type:Array,required:!0,validator:o=>o.every(n=>n.label&&n.prop)},showSelection:{type:Boolean,default:!1},rowKey:{type:String,default:"id"},showPagination:{type:Boolean,default:!0},pageSize:{type:Number,default:10},currentPage:{type:Number,default:1},emptyText:{type:String,default:"\u6682\u65E0\u6570\u636E"},maxPagerCount:{type:Number,default:5},theadBgColor:{type:String,default:"#F8F8F8"}},emits:["selection-change","update:currentPage","page-change"],setup(o,{emit:n}){const{$gettext:a}=H(),l=E([]),u=E(!1),d=E(!1);E(null);const p=Q(()=>o.data.length),w=Q(()=>Math.ceil(p.value/o.pageSize)),g=Q(()=>{if(!o.showPagination)return o.data;const Y=(o.currentPage-1)*o.pageSize,P=Y+o.pageSize;return o.data.slice(Y,P)}),c=Q(()=>(o.currentPage-1)*o.pageSize+1),f=Q(()=>{const Y=o.currentPage*o.pageSize;return Y>p.value?p.value:Y}),v=Q(()=>({minWidth:`${o.columns.reduce((P,A)=>P+(parseInt(A.width)||50),o.showSelection?50:0)}px`})),x=Q(()=>{const Y=[],P=Math.floor(o.maxPagerCount/2);let A=o.currentPage-P,B=o.currentPage+P;A<1&&(A=1,B=Math.min(o.maxPagerCount,w.value)),B>w.value&&(B=w.value,A=Math.max(1,B-o.maxPagerCount+1));for(let S=A;S<=B;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"}),_=()=>{u.value?l.value=[...g.value.map(Y=>Y[o.rowKey])]:l.value=[],b()},h=()=>{u.value=l.value.length===g.value.length&&g.value.length>0,b()},m=(Y,P)=>{P?l.value.includes(Y)||l.value.push(Y):l.value=l.value.filter(A=>A!==Y),h()},b=()=>{const Y=o.data.filter(P=>l.value.includes(P[o.rowKey]));n("selection-change",Y)},y=Y=>{Y<1||Y>w.value||(n("update:currentPage",Y),n("page-change",Y))},F=()=>{d.value=window.innerWidth<=768};return At(()=>o.data,()=>{l.value=[],u.value=!1},{deep:!0}),Yt(()=>{F(),window.addEventListener("resize",F)}),Vt(()=>{window.removeEventListener("resize",F)}),{selectedRows:l,allSelected:u,isMobile:d,total:p,totalPages:w,paginatedData:g,startItem:c,endItem:f,visiblePages:x,tableStyle:v,gettext:a,getColumnStyle:k,toggleAllSelection:_,handleSelectionChange:h,changePage:y,updateSelection:m}}},kC={class:"custom-table-container"},yC={key:0,class:"selection-header"},FC={key:0,class:"selection-cell"},EC=["checked","onChange"],$C={key:0,class:"empty-row"},CC=["colspan"],DC={key:0,class:"pagination-wrapper"},BC={class:"pagination-info"},YC={class:"pagination-controls"},AC=["disabled"],SC=["onClick"],zC=["disabled"];function PC(o,n,a,l,u,d){return r(),s("div",kC,[t("div",{class:"custom-table-wrapper",style:ft({overflowX:l.isMobile?"auto":"hidden"})},[t("table",{class:st(["custom-table",{"has-selection":a.showSelection}]),style:ft(l.tableStyle)},[t("thead",{style:ft({background:a.theadBgColor})},[t("tr",null,[a.showSelection?(r(),s("th",yC,[L(t("input",{type:"checkbox","onUpdate:modelValue":n[0]||(n[0]=p=>l.allSelected=p),onChange:n[1]||(n[1]=(...p)=>l.toggleAllSelection&&l.toggleAllSelection(...p))},null,544),[[qt,l.allSelected]])])):C("",!0),(r(!0),s(U,null,tt(a.columns,(p,w)=>(r(),s("th",{key:w,style:ft(l.getColumnStyle(p))},i(l.gettext(p.label)),5))),128))])],4),t("tbody",null,[(r(!0),s(U,null,tt(l.paginatedData,(p,w)=>(r(),s("tr",{key:w,class:st({"last-row":w===l.paginatedData.length-1})},[a.showSelection?(r(),s("td",FC,[t("input",{type:"checkbox",checked:l.selectedRows.includes(p[a.rowKey]),onChange:g=>l.updateSelection(p[a.rowKey],g.target.checked)},null,40,EC)])):C("",!0),(r(!0),s(U,null,tt(a.columns,(g,c)=>(r(),s("td",{key:c,style:ft({textAlign:g.align||"center"})},[g.slot?Et(o.$slots,g.slot,{key:0,row:p,index:w},void 0,!0):(r(),s(U,{key:1},[nt(i(p[g.prop]),1)],64))],4))),128))],2))),128)),l.paginatedData.length===0?(r(),s("tr",$C,[t("td",{colspan:a.showSelection?a.columns.length+1:a.columns.length},i(a.emptyText),9,CC)])):C("",!0)])],6)],4),a.showPagination?(r(),s("div",DC,[t("div",BC,i(l.gettext("\u663E\u793A"))+" "+i(l.startItem)+" "+i(l.gettext("\u5230"))+" "+i(l.endItem)+" "+i(l.gettext("\u6761"))+"\uFF0C"+i(l.gettext("\u5171"))+" "+i(l.total)+" "+i(l.gettext("\u6761")),1),t("div",YC,[t("button",{disabled:a.currentPage===1,onClick:n[2]||(n[2]=p=>l.changePage(a.currentPage-1))},i(l.gettext("\u4E0A\u4E00\u9875")),9,AC),(r(!0),s(U,null,tt(l.visiblePages,p=>(r(),s("button",{key:p,class:st({active:p===a.currentPage}),onClick:w=>l.changePage(p)},i(p),11,SC))),128)),t("button",{disabled:a.currentPage===l.totalPages,onClick:n[3]||(n[3]=p=>l.changePage(a.currentPage+1))},i(l.gettext("\u4E0B\u4E00\u9875")),9,zC)])])):C("",!0)])}var je=N(wC,[["render",PC],["__scopeId","data-v-2c8ecf89"]]);const no=o=>(it("data-v-d28f7d82"),o=o(),rt(),o),TC={style:{display:"flex","align-items":"center"}},IC={class:"search_box"},MC={class:"search_container"},LC={class:"search_input_wrapper"},NC=["onKeyup","placeholder"],OC=no(()=>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)),VC=[OC],GC=no(()=>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)),jC=[GC],UC=I({props:{showBatchDelete:{type:Boolean,default:!0},showAdd:{type:Boolean,default:!0}},emits:["refresh","batch-delete","search","handleAdd"],setup(o,{emit:n}){const a=o,{$gettext:l}=H(),u=E(""),d=E(!1),p=E(a.showBatchDelete),w=E(a.showAdd),g=()=>{n("refresh",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},c=()=>{n("search",String(u.value))},f=()=>{n("batch-delete",{data:"\u8FD9\u662F\u5B50\u7EC4\u4EF6\u7684\u6570\u636E"})},v=()=>{n("handleAdd")};return(x,k)=>(r(),s("div",TC,[w.value?(r(),s("button",{key:0,class:"del-button add-button--danger",style:{},onClick:v},[t("span",null,i(e(l)("\u6DFB\u52A0")),1)])):C("",!0),p.value?(r(),s("button",{key:1,class:"del-button del-button--danger",onClick:f},[t("span",null,i(e(l)("\u6279\u91CF\u5220\u9664")),1)])):C("",!0),t("div",IC,[t("div",MC,[t("div",LC,[L(t("input",{type:"text",onKeyup:Fo(c,["enter"]),"onUpdate:modelValue":k[0]||(k[0]=_=>u.value=_),class:"search_input",placeholder:e(l)("\u8BF7\u8F93\u5165\u540D\u79F0/IP/MAC\u2026")},null,40,NC),[[et,u.value,void 0,{trim:!0}]]),t("svg",{class:"search_icon",viewBox:"0 0 24 24",width:"24",height:"24",onClick:c},VC)]),t("button",{class:st(["refresh_button",{rotate:d.value}]),onClick:g},jC,2)])])]))}});var fa=N(UC,[["__scopeId","data-v-d28f7d82"]]);const qC=o=>(it("data-v-9ce78472"),o=o(),rt(),o),RC=qC(()=>t("span",{class:"switch__button"},null,-1)),WC=[RC],HC=["checked","disabled"],JC=I({props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},activeColor:{default:"#409EFF"},inactiveColor:{default:"#DCDFE6"}},emits:["update:modelValue","change","beforeChange"],setup(o,{emit:n}){const a=o,l=()=>{if(n("beforeChange",!a.modelValue),a.disabled)return;const u=!a.modelValue;n("update:modelValue",u),n("change",u)};return Q(()=>a.modelValue),(u,d)=>(r(),s("div",{class:st(["switch",{"is-checked":o.modelValue,"is-disabled":o.disabled}]),onClick:l},[t("span",{class:"switch__core",style:ft({backgroundColor:o.modelValue?o.activeColor:o.inactiveColor,borderColor:o.modelValue?o.activeColor:o.inactiveColor})},WC,4),t("input",{type:"checkbox",class:"switch__input",checked:o.modelValue,disabled:o.disabled},null,8,HC)],2))}});var Nt=N(JC,[["__scopeId","data-v-9ce78472"]]);const ZC={class:"flow"},KC={class:"flow-data"},QC={key:0},XC={key:1},tD=I({props:{ipParam:{type:String}},setup(o){const n=o,{$gettext:a}=H();Qe([Ba,Ya,Aa,Xe,ta,Sa]);const l=E(n.ipParam),u=E(),d=m=>{var y;const b=(y=u.value)==null?void 0:y[m];return!b||b.startTime==0?"":v(b.startTime*1e3)+"-"+v(b.endTime*1e3)},p=Q(()=>{var b;let m=[];return(b=u.value)==null||b.forEach(y=>{m.push({value:y.uploadSpeed})}),m}),w=Q(()=>{var b;let m=[];return(b=u.value)==null||b.forEach(y=>{m.push({value:y.downloadSpeed})}),m}),g=Q(()=>{var b;let m="";if(u.value){let y=((b=u.value)==null?void 0:b.length)||0;if(y>0){let F=u.value[y-1];m=x(F.uploadSpeed)+"/s"}}return m}),c=Q(()=>{var b;let m="";if(u.value){let y=((b=u.value)==null?void 0:b.length)||0;if(y>0){let F=u.value[y-1];m=x(F.downloadSpeed)+"/s"}}return m}),f=()=>O(this,null,function*(){var m;try{const b=yield G.DeviceMangement.speedsForOneDevice.POST({ip:l.value});if(b.data&&(m=b.data.result)!=null&&m.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)}}),v=Pt.dateForm,x=Pt.byteToSize,k=E();let _=null;const h=m=>{const b=Ua();return _=ea(m,b?"dark":"light"),_.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=d(y[0].axisValue));for(let Y=0;Y${y[Y].seriesName}: ${x(y[Y].value)}/s`;return F.toString()}else{const F=y;return`${d(F.axisValue)}
${F.seriesName}: ${x(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`${x(y)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:w.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:p.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}}),_};return Yt(()=>{setTimeout(()=>O(this,null,function*(){if(k.value){yield f();const m=h(k.value),b=k.value;m.resize({width:b.clientWidth,height:b.clientHeight}),window.addEventListener("resize",()=>{m.resize({width:b.clientWidth,height:b.clientHeight})});const y=()=>O(this,null,function*(){if(_!=null){if(!document.hidden){if(yield f(),_==null)return;m.setOption({series:[{name:a("\u4E0B\u8F7D"),data:w.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:p.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(y,5e3)}});setTimeout(y,5e3)}}),900)}),Vt(()=>{_!=null&&(_.dispose(),_=null)}),(m,b)=>(r(),s("div",ZC,[t("div",{ref_key:"el",ref:k,class:"echart"},null,512),t("div",KC,[e(g)?(r(),s("span",QC,i(e(a)("\u4E0A\u4F20:"))+" "+i(e(g)),1)):C("",!0),e(c)?(r(),s("span",XC,i(e(a)("\u4E0B\u8F7D:"))+" "+i(e(c)),1)):C("",!0)])]))}});var eD=N(tD,[["__scopeId","data-v-529a02b0"]]);const aD=["onClick"],oD={class:"modal-header"},nD={class:"modal-title"},iD={class:"modal-content"},rD={key:0,class:"modal-footer"},ee=I({props:{modelValue:{type:Boolean},title:{default:"\u63D0\u793A"},showClose:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1},footerShow:{type:Boolean,default:!0},width:{default:"500px"}},emits:["update:modelValue","confirm","cancel","close"],setup(o,{expose:n,emit:a}){const l=o;Eo(v=>({"1df87c10":e(d)}));const{$gettext:u}=H(),d=Q(()=>typeof l.width=="number"?`${l.width}px`:l.width),p=E(l.modelValue);At(()=>l.modelValue,v=>{p.value=v}),At(p,v=>{a("update:modelValue",v),v||a("close")}),Q(()=>typeof l.width=="number"?`${l.width}px`:l.width);const w=()=>{p.value=!1},g=()=>{l.closeOnClickOverlay&&f()},c=()=>{a("confirm")},f=()=>{a("cancel"),w()};return n({show:()=>p.value=!0,hide:()=>p.value=!1}),(v,x)=>(r(),Z($t,{name:"fade"},{default:j(()=>[p.value?(r(),s("div",{key:0,class:"modal-overlay",onClick:ut(g,["self"])},[D($t,{name:"slide"},{default:j(()=>[t("div",{class:"modal-container",style:ft({maxWidth:e(d)})},[t("div",oD,[t("h3",nD,i(e(u)(o.title)),1),o.showClose?(r(),s("button",{key:0,class:"modal-close",onClick:f,"aria-label":"Close"}," \xD7 ")):C("",!0)]),t("div",iD,[Et(v.$slots,"default")]),o.footerShow?(r(),s("div",rD,[Et(v.$slots,"footer",{},()=>[t("button",{class:"modal-button cancel",onClick:f},i(e(u)("\u53D6\u6D88")),1),t("button",{class:"modal-button confirm",onClick:c},i(e(u)("\u4FDD\u5B58")),1)])])):C("",!0)],4)]),_:3})],8,aD)):C("",!0)]),_:3}))}}),$e=o=>(it("data-v-2f8a90b2"),o=o(),rt(),o),sD={class:"container"},dD={style:{display:"flex","justify-content":"end"}},lD=["onClick"],uD=["onClick"],cD=["onClick"],pD={class:"custom-content"},fD={class:"IP_address"},mD={class:"item_box"},gD={class:"item_left"},vD={key:0,class:"tip"},bD=["onClick"],hD={key:1},_D={class:"item_box"},xD={class:"item_left"},wD={class:"item_box"},kD={class:"item_left"},yD=["placeholder"],FD={class:"item_box"},ED={class:"item_left"},$D=["placeholder"],CD={class:"item_box"},DD={class:"item_left"},BD=["placeholder"],YD={class:"custom-content"},AD=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),SD={class:"item_box"},zD={class:"item_left"},PD=["placeholder"],TD={class:"item_box"},ID=$e(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),MD=["placeholder"],LD={class:"item_box"},ND={class:"item_left"},OD={key:0,value:null,disabled:""},VD=["value"],GD={class:"item_box"},jD={class:"item_left"},UD={key:0,class:"item_box"},qD=$e(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),RD=["placeholder"],WD={class:"custom-content"},HD={class:"info-content"},JD=$e(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),ZD={style:{"margin-bottom":"16px",flex:"1"}},KD={class:"item_box"},QD={class:"item_left"},XD={class:"item_box"},tB={class:"item_left"},eB={class:"item_box"},aB=$e(()=>t("div",{class:"item_left"}," MAC\uFF1A",-1)),oB={class:"item_box"},nB={class:"item_left"},iB={class:"item_box"},rB={class:"item_left"},sB={class:"item_box"},dB={class:"item_left"},lB=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=H(),l=z=>{R.hostname=z.target.value.replace(/[\u4e00-\u9fa5]/g,"")},u=E(null),d=()=>{p(),A(),u.value=setInterval(A,3e3)},p=()=>{u.value&&(clearInterval(u.value),u.value=null)};Yt(()=>O(this,null,function*(){yield Y(),c.value.length!==0&&d()})),Vt(()=>{p()});const w=E({});(()=>O(this,null,function*(){try{const{data:z}=yield G.DeviceMangement.globalConfigs.GET();z.result&&(w.value=z.result||{})}catch(z){}}))();const c=E([]),f=E([]),v=E(!1),x=E(!1),k=E(!1),_=Q(()=>!R.dhcpGateway),h=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"}]),m=z=>({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")})[z]||z,b=()=>{v.value=!1,n("openGloba")},y=z=>{var K,X;if(z==!0&&!((X=(K=w.value)==null?void 0:K.speedLimit)!=null&&X.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},F=E([]),Y=()=>O(this,null,function*(){var K,X,ot;let z=$.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:xt}=yield G.DeviceMangement.listDevices.GET();xt.result&&(c.value=((K=xt.result)==null?void 0:K.devices)||[],f.value=((X=xt.result)==null?void 0:X.devices)||[],F.value=((ot=xt.result)==null?void 0:ot.dhcpTags)||[])}catch(xt){}finally{z.Close()}}),P=(z,K)=>{const X={};return z.forEach(ot=>{ot.ip&&(X[ot.ip]={downloadSpeedStr:ot.downloadSpeedStr||"0 B",uploadSpeedStr:ot.uploadSpeedStr||"0 B"})}),K.map(ot=>ot.ip&&X[ot.ip]?pt(lt({},ot),{downloadSpeedStr:X[ot.ip].downloadSpeedStr,uploadSpeedStr:X[ot.ip].uploadSpeedStr}):pt(lt({},ot),{downloadSpeedStr:ot.downloadSpeedStr||"0 B",uploadSpeedStr:ot.uploadSpeedStr||"0 B"}))},A=()=>O(this,null,function*(){try{const{data:z}=yield G.DeviceMangement.speedsForDevices.GET();z.result&&(f.value=P(z.result,f.value))}catch(z){}}),B=z=>/^[a-zA-Z\s]+$/.test(z)?z.toUpperCase():z,S=mt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),R=mt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),V=E(""),T=E({}),M=(z,K)=>{var X,ot,xt,St,wt,ne,ie,re,se,de,le,ue,ce,pe,fe,me;T.value=z,K===1?(S.ip=z.ip||"",S.mac=z.mac||"",S.uploadSpeed=((X=z==null?void 0:z.speedLimit)==null?void 0:X.uploadSpeed)||100,S.downloadSpeed=((ot=z==null?void 0:z.speedLimit)==null?void 0:ot.downloadSpeed)||1e3,S.networkAccess=!((xt=z==null?void 0:z.speedLimit)!=null&&xt.networkAccess)||!1,S.enabled=((St=z==null?void 0:z.speedLimit)==null?void 0:St.enabled)||!1,S.comment=((wt=z==null?void 0:z.speedLimit)==null?void 0:wt.comment)||"",S.action=((ne=z==null?void 0:z.speedLimit)==null?void 0:ne.action)||"add",v.value=!0):K===2?(R.hostname=((ie=z==null?void 0:z.staticAssigned)==null?void 0:ie.hostname)||"",R.assignedIP=((re=z==null?void 0:z.staticAssigned)==null?void 0:re.assignedIP)||"",R.assignedMac=((se=z==null?void 0:z.staticAssigned)==null?void 0:se.assignedMac)||"",R.bindIP=((de=z==null?void 0:z.staticAssigned)==null?void 0:de.bindIP)||!1,R.tagTitle=((le=z==null?void 0:z.staticAssigned)==null?void 0:le.tagTitle)||"",R.tagName=((ue=z==null?void 0:z.staticAssigned)==null?void 0:ue.tagName)||"",(ce=z==null?void 0:z.staticAssigned)!=null&&ce.dhcpGateway?(F.value.forEach(ge=>{var kt;ge.gateway===((kt=z==null?void 0:z.staticAssigned)==null?void 0:kt.dhcpGateway)&&(W.value=ge)}),R.dhcpGateway=((fe=z==null?void 0:z.staticAssigned)==null?void 0:fe.dhcpGateway)||F.value[0]||""):(W.value=F.value[0]||null,R.dhcpGateway=((pe=W.value)==null?void 0:pe.gateway)||""),R.action=((me=z==null?void 0:z.staticAssigned)==null?void 0:me.action)||"add",x.value=!0):K===3&&(V.value="",V.value=z.ip,k.value=!0)},W=E(F.value[0]||null),bt=()=>{var z,K,X;W.value?(R.dhcpGateway=((z=W.value)==null?void 0:z.gateway)||"",R.tagName=((K=W.value)==null?void 0:K.tagName)||"",R.tagTitle=((X=W.value)==null?void 0:X.tagTitle)||""):(R.dhcpGateway="",R.tagName="",R.tagTitle="")},Bt=(z,K)=>K?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[z].test(K.trim()):!1,gt=z=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(z.toString()),jt=()=>O(this,null,function*(){if(!R.hostname)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u540D\u79F0")}`);if(!R.assignedMac)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!Bt("mac",R.assignedMac))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!R.dhcpGateway)return $.Warning(`${a("\u8BF7\u9009\u62E9")}${a("\u7F51\u5173")}`);if(R.bindIP){if(!R.assignedIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!Bt("ip",R.assignedIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else R.assignedIP="";let z=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:K}=yield G.DeviceMangement.staticDeviceConfig.POST(R);JSON.stringify(K)==="{}"?(x.value=!1,Tt(),at(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((K==null?void 0:K.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(K){$.Warning(`${K==null?void 0:K.error} || ${K==null?void 0:K.message}`)}finally{z.Close()}}),Qt=()=>O(this,null,function*(){var K,X;if(!((X=(K=w.value)==null?void 0:K.speedLimit)!=null&&X.enabled))return $.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 $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!gt(S.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!S.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!gt(S.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);S.downloadSpeed=Number(S.downloadSpeed),S.uploadSpeed=Number(S.uploadSpeed)}let z=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{S.networkAccess=!S.networkAccess;const{data:ot}=yield G.DeviceMangement.speedLimitConfig.POST(S);JSON.stringify(ot)==="{}"?(v.value=!1,Tt(),at(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((ot==null?void 0:ot.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(ot){$.Warning(`${ot==null?void 0:ot.error} || ${ot==null?void 0:ot.message}`)}finally{S.downloadSpeed=1e3,S.uploadSpeed=100,z.Close()}}),Tt=()=>{T.value={},W.value=F.value[0]||null,R.hostname="",R.assignedIP="",R.assignedMac="",R.bindIP=!1,R.dhcpGateway="",R.tagName="",R.tagTitle="",R.action="add",S.ip="",S.mac="",S.uploadSpeed=100,S.downloadSpeed=1e3,S.networkAccess=!1,S.comment="",S.action="add"},Mt=E([]),qe=E(null),at=()=>O(this,null,function*(){c.value=[],yield Y()}),J=z=>c.value.filter(K=>{const X=K.ip.includes(z),ot=K.mac.toLowerCase().includes(z.toLowerCase());return X||ot}),Ct=z=>{z===""&&(f.value=c.value),f.value=J(z)},ct=()=>{if(Mt.value.length===0)return $.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !")};return(z,K)=>(r(),s("div",sD,[t("div",dD,[D(fa,{onRefresh:at,showAdd:!1,showBatchDelete:!1,ref_key:"searchRef",ref:qe,onBatchDelete:ct,onSearch:Ct},null,512)]),t("div",null,[D(je,{data:f.value,columns:h.value,showPagination:!1},{action:j(({row:X})=>[t("span",{style:{color:"#553AFE",cursor:"pointer"},onClick:ot=>M(X,2)},i(e(a)("\u9759\u6001\u5206\u914D")),9,lD),t("span",{style:{color:"#553AFE",cursor:"pointer",margin:"0 8px"},onClick:ot=>M(X,1)},i(e(a)("\u9650\u901F\u914D\u7F6E")),9,uD),t("span",{style:{color:"#553AFE",margin:"0 8px",cursor:"pointer"},onClick:ot=>M(X,3)},i(e(a)("\u8BE6\u60C5")),9,cD)]),staticAssigned:j(({row:X})=>{var ot,xt;return[t("span",null,i(m((ot=X==null?void 0:X.staticAssigned)==null?void 0:ot.tagTitle)||m((xt=X==null?void 0:X.staticAssigned)==null?void 0:xt.tagName)||"-"),1)]}),_:1},8,["data","columns"])]),D(ee,{modelValue:v.value,"onUpdate:modelValue":K[6]||(K[6]=X=>v.value=X),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:Qt,onCancel:Tt},{default:j(()=>{var X,ot,xt,St;return[t("div",pD,[t("div",fD,"IP: "+i(T.value.ip),1),t("div",mD,[t("div",gD,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),D(Nt,{modelValue:e(S).enabled,"onUpdate:modelValue":K[0]||(K[0]=wt=>e(S).enabled=wt),disabled:!((ot=(X=w.value)==null?void 0:X.speedLimit)!=null&&ot.enabled),onBeforeChange:y},null,8,["modelValue","disabled"])]),(St=(xt=w.value)==null?void 0:xt.speedLimit)!=null&&St.enabled?C("",!0):(r(),s("div",vD,[t("a",{href:"",onClick:ut(b,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,bD)])),e(S).enabled?(r(),s("div",hD,[t("div",_D,[t("div",xD,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),D(Nt,{modelValue:e(S).networkAccess,"onUpdate:modelValue":K[1]||(K[1]=wt=>e(S).networkAccess=wt),onChange:K[2]||(K[2]=()=>{})},null,8,["modelValue"])]),e(S).networkAccess?C("",!0):(r(),s(U,{key:0},[t("div",wD,[t("div",kD,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[3]||(K[3]=wt=>e(S).downloadSpeed=wt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,yD),[[et,e(S).downloadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",FD,[t("div",ED,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[4]||(K[4]=wt=>e(S).uploadSpeed=wt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,$D),[[et,e(S).uploadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",CD,[t("div",DD,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[5]||(K[5]=wt=>e(S).comment=wt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,BD),[[et,e(S).comment,void 0,{trim:!0}]])])],64))])):C("",!0)])]}),_:1},8,["modelValue"]),D(ee,{modelValue:x.value,"onUpdate:modelValue":K[12]||(K[12]=X=>x.value=X),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:jt,onCancel:Tt},{default:j(()=>[t("div",YD,[AD,t("div",SD,[t("div",zD,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text",onInput:l,"onUpdate:modelValue":K[7]||(K[7]=X=>e(R).hostname=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,PD),[[et,e(R).hostname,void 0,{trim:!0}]])]),t("div",TD,[ID,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[8]||(K[8]=X=>e(R).assignedMac=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,MD),[[et,e(R).assignedMac,void 0,{trim:!0}]])]),t("div",LD,[t("div",ND,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":K[9]||(K[9]=X=>W.value=X),onChange:bt},[e(_)?(r(),s("option",OD,i(e(a)("\u8BF7\u9009\u62E9")),1)):C("",!0),(r(!0),s(U,null,tt(F.value,X=>(r(),s("option",{value:X},i(X.gateway)+"("+i(X.tagTitle?m(X.tagTitle):X.tagName?X.tagName:"-")+") ",9,VD))),256))],544),[[dt,W.value]])]),t("div",GD,[t("div",jD,i(e(a)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),D(Nt,{modelValue:e(R).bindIP,"onUpdate:modelValue":K[10]||(K[10]=X=>e(R).bindIP=X)},null,8,["modelValue"])]),e(R).bindIP?(r(),s("div",UD,[qD,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":K[11]||(K[11]=X=>e(R).assignedIP=X),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,RD),[[et,e(R).assignedIP,void 0,{trim:!0}]])])):C("",!0)])]),_:1},8,["modelValue"]),D(ee,{modelValue:k.value,"onUpdate:modelValue":K[13]||(K[13]=X=>k.value=X),title:"\u8BE6\u60C5",width:"550px",footerShow:!1,"show-close":!0,onCancel:Tt},{default:j(()=>{var X,ot,xt,St,wt;return[t("div",WD,[t("div",HD,[JD,t("div",ZD,[t("div",KD,[t("div",QD,i(e(a)("\u540D\u79F0"))+"\uFF1A",1),nt(" "+i(T.value.hostname||"-"),1)]),t("div",XD,[t("div",tB,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),nt(" "+i(T.value.ip),1)]),t("div",eB,[aB,nt(" "+i(T.value.mac),1)]),t("div",oB,[t("div",nB,i(e(a)("\u7F51\u5173"))+"\uFF1A",1),nt(" "+i(((X=T.value)==null?void 0:X.staticAssigned.dhcpGateway)||"-"),1)]),t("div",iB,[t("div",rB,i(e(a)("\u63A5\u53E3"))+"\uFF1A",1),nt(" "+i(B(T.value.intr)||"-"),1)]),t("div",sB,[t("div",dB,i(e(a)("\u6807\u7B7E"))+"\uFF1A",1),nt(" "+i(((xt=(ot=T.value)==null?void 0:ot.staticAssigned)==null?void 0:xt.tagTitle)||((wt=(St=T.value)==null?void 0:St.staticAssigned)==null?void 0:wt.tagName)||"-"),1)])])]),V.value?(r(),Z(eD,{key:0,ipParam:V.value},null,8,["ipParam"])):C("",!0)])]}),_:1},8,["modelValue"])]))}});var uB=N(lB,[["__scopeId","data-v-2f8a90b2"]]);const ma=o=>(it("data-v-0ad740fc"),o=o(),rt(),o),cB={class:"container"},pB={style:{display:"flex","justify-content":"end"}},fB=["onClick"],mB={class:"custom-content"},gB=ma(()=>t("div",{class:"img_box"},[t("img",{src:"https://fwindex.koolcenter.com/cover/x86_64/cover.png",alt:""})],-1)),vB={class:"item_box"},bB={class:"item_left"},hB=["placeholder"],_B={class:"item_box"},xB=ma(()=>t("div",{class:"item_left"},"MAC\uFF1A",-1)),wB=["placeholder"],kB={class:"item_box"},yB={class:"item_left"},FB={key:0,value:null,disabled:""},EB=["value"],$B={class:"item_box"},CB={class:"item_left"},DB={key:0,class:"item_box"},BB=ma(()=>t("div",{class:"item_left"},"IP\uFF1A",-1)),YB=["placeholder"],AB=I({setup(o){const{$gettext:n}=H(),a=E([]);(()=>O(this,null,function*(){var T;try{const{data:M}=yield G.DeviceMangement.globalConfigs.GET();M.result&&(a.value=((T=M.result)==null?void 0:T.dhcpTags)||[])}catch(M){}}))();const u=E([]),d=E([]),p=E(!1),w=E([{label:"\u4E3B\u673A\u540D\u79F0",prop:"hostname"},{label:"IP\u5730\u5740",prop:"assignedIP"},{label:"MAC\u5730\u5740",prop:"assignedMac"},{label:"\u9759\u6001IP\u7ED1\u5B9A",prop:"bindIP",slot:"bindIP"},{label:"\u6807\u7B7E",prop:"tagTitle",slot:"tagTitle"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),g=T=>({default:n("\u9ED8\u8BA4\u7F51\u5173"),parent:n("\u4E0A\u7EA7\u8DEF\u7531"),myself:n("\u672C\u8BBE\u5907"),bypass:n("\u65C1\u8DEF\u7531"),floatip:n("\u6D6E\u52A8\u7F51\u5173")})[T]||T,c=T=>{B.hostname=T.target.value.replace(/[\u4e00-\u9fa5]/g,"")},f=()=>O(this,null,function*(){let T=$.Loading(n("\u52A0\u8F7D\u4E2D..."));try{const{data:M}=yield G.DeviceMangement.listStaticDevices.GET();M.result&&(u.value=M.result||[],d.value=M.result||[])}catch(M){}finally{T.Close()}});f();const v=E(!0),x=E([]),k=T=>{x.value=T},_=()=>O(this,null,function*(){u.value=[];let T=$.Loading(n("\u52A0\u8F7D\u4E2D..."));yield f(),T.Close()}),h=T=>u.value.filter(M=>{const W=M.assignedIP.includes(T),bt=M.assignedMac.toLowerCase().includes(T.toLowerCase());return W||bt}),m=T=>{T===""&&(d.value=u.value),d.value=h(T)},b=T=>O(this,null,function*(){if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))){let M={hostname:T.hostname||"",assignedIP:T.assignedIP||"",assignedMac:T.assignedMac||"",tagTitle:T.tagTitle||"",bindIP:T.bindIP||!1,tagName:T.tagName||"",dhcpGateway:T.dhcpGateway||"",action:"delete"};y(M,1)}}),y=(T,M)=>O(this,null,function*(){let W=$.Loading(n("\u5220\u9664\u4E2D..."));try{const{data:bt}=yield G.DeviceMangement.staticDeviceConfig.POST(T);return M==1&&(JSON.stringify(bt)==="{}"?$.Success("\u5220\u9664\u6210\u529F !"):$.Success((bt==null?void 0:bt.error)||"\u5220\u9664\u5931\u8D25\uFF01"),f()),bt}catch(bt){}finally{W.Close()}}),F=()=>O(this,null,function*(){if(x.value.length===0)return $.Warning(n("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(n("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9759\u6001\u5206\u914D\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u8054\u7F51\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const T=x.value.map(M=>{const W={hostname:M.hostname||"",assignedIP:M.assignedIP||"",assignedMac:M.assignedMac||"",tagTitle:M.tagTitle||"",bindIP:M.bindIP||!1,tagName:M.tagName||"",dhcpGateway:M.dhcpGateway||"",action:"delete"};return y(W)});yield Promise.all(T),$.Success(n("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),f()}catch(T){}}),Y=Q(()=>!B.dhcpGateway),P=E(null),A=()=>{var T,M,W;P.value?(B.dhcpGateway=((T=P.value)==null?void 0:T.gateway)||"",B.tagName=((M=P.value)==null?void 0:M.tagName)||"",B.tagTitle=((W=P.value)==null?void 0:W.tagTitle)||""):(B.dhcpGateway="",B.tagName="",B.tagTitle="")},B=mt({hostname:"",assignedIP:"",assignedMac:"",bindIP:!1,tagTitle:"",tagName:"",dhcpGateway:"",action:"add"}),S=(T,M)=>M?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[T].test(M.trim()):!1,R=()=>O(this,null,function*(){if(!B.assignedMac)return $.Warning(`${n("\u8BF7\u8F93\u5165")}${n("MAC")}`);if(!S("mac",B.assignedMac))return $.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(!B.dhcpGateway)return $.Warning(`${n("\u8BF7\u9009\u62E9")}${n("\u7F51\u5173")}`);if(B.bindIP){if(!B.assignedIP)return $.Warning(`${n("\u8BF7\u8F93\u5165")}${n("IP")}`);if(!S("ip",B.assignedIP))return $.Warning(`${n("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`)}else B.assignedIP="";let T=$.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const{data:M}=yield G.DeviceMangement.staticDeviceConfig.POST(B);JSON.stringify(M)==="{}"?(p.value=!1,V(),_(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((M==null?void 0:M.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(M){$.Warning(`${M==null?void 0:M.error} || ${M==null?void 0:M.message}`)}finally{T.Close()}}),V=()=>{P.value=null,B.hostname="",B.assignedIP="",B.assignedMac="",B.bindIP=!1,B.dhcpGateway="",B.tagName="",B.tagTitle="",B.action="add"};return(T,M)=>(r(),s("div",cB,[t("div",pB,[D(fa,{onHandleAdd:M[0]||(M[0]=W=>p.value=!0),onRefresh:_,onBatchDelete:F,onSearch:m})]),t("div",null,[D(je,{data:d.value,columns:w.value,rowKey:"assignedMac",showSelection:v.value,showPagination:!1,onSelectionChange:k},{action:j(({row:W})=>[t("button",{class:"del-button del-button--danger",onClick:bt=>b(W)},[t("span",null,i(e(n)("\u5220\u9664")),1)],8,fB)]),tagTitle:j(({row:W})=>[t("span",null,i(g(W==null?void 0:W.tagTitle)||g(W==null?void 0:W.tagName)||"-"),1)]),bindIP:j(({row:W})=>[t("span",null,i(W!=null&&W.bindIP?e(n)("\u662F"):e(n)("\u5426")),1)]),_:1},8,["data","columns","showSelection"])]),D(ee,{modelValue:p.value,"onUpdate:modelValue":M[6]||(M[6]=W=>p.value=W),title:"\u9759\u6001\u5206\u914D",width:"550px","show-close":!0,onConfirm:R,onCancel:V},{default:j(()=>[t("div",mB,[gB,t("div",vB,[t("div",bB,i(e(n)("\u540D\u79F0"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text",onInput:c,"onUpdate:modelValue":M[1]||(M[1]=W=>e(B).hostname=W),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,hB),[[et,e(B).hostname,void 0,{trim:!0}]])]),t("div",_B,[xB,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":M[2]||(M[2]=W=>e(B).assignedMac=W),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,wB),[[et,e(B).assignedMac,void 0,{trim:!0}]])]),t("div",kB,[t("div",yB,i(e(n)("\u7F51\u5173"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":M[3]||(M[3]=W=>P.value=W),onChange:A},[e(Y)?(r(),s("option",FB,i(e(n)("\u8BF7\u9009\u62E9")),1)):C("",!0),(r(!0),s(U,null,tt(a.value,W=>(r(),s("option",{value:W},i(W.gateway)+"("+i(W.tagTitle?g(W.tagTitle):W.tagName?W.tagName:"-")+") ",9,EB))),256))],544),[[dt,P.value]])]),t("div",$B,[t("div",CB,i(e(n)("MAC\u5730\u5740\u4E0EIP\u7ED1\u5B9A"))+"\uFF1A",1),D(Nt,{modelValue:e(B).bindIP,"onUpdate:modelValue":M[4]||(M[4]=W=>e(B).bindIP=W)},null,8,["modelValue"])]),e(B).bindIP?(r(),s("div",DB,[BB,L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":M[5]||(M[5]=W=>e(B).assignedIP=W),placeholder:e(n)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,YB),[[et,e(B).assignedIP,void 0,{trim:!0}]])])):C("",!0)])]),_:1},8,["modelValue"])]))}});var SB=N(AB,[["__scopeId","data-v-0ad740fc"]]);const zB={class:"container"},PB={style:{display:"flex","justify-content":"end"}},TB=["onClick"],IB={class:"custom-content"},MB={class:"item_box"},LB={class:"item_left"},NB={class:"item_box"},OB={class:"item_left"},VB=["placeholder"],GB={class:"item_box"},jB={class:"item_left"},UB=["placeholder"],qB={key:0,class:"tip"},RB=["onClick"],WB={key:1},HB={class:"item_box"},JB={class:"item_left"},ZB={class:"item_box"},KB={class:"item_left"},QB=["placeholder"],XB={class:"item_box"},tY={class:"item_left"},eY=["placeholder"],aY={class:"item_box"},oY={class:"item_left"},nY=["placeholder"],iY=I({emits:["openGloba"],setup(o,{emit:n}){const{$gettext:a}=H(),l=E({});(()=>O(this,null,function*(){try{const{data:V}=yield G.DeviceMangement.globalConfigs.GET();V.result&&(l.value=V.result||{})}catch(V){}}))();const d=E([]),p=E([]),w=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"}]),c=()=>O(this,null,function*(){let V=$.Loading(a("\u52A0\u8F7D\u4E2D..."));try{const{data:T}=yield G.DeviceMangement.listSpeedLimitedDevices.GET();T.result&&(d.value=T.result||[],p.value=T.result||[])}catch(T){}finally{V.Close()}});c();const f=E(!0),v=E([]),x=V=>{v.value=V},k=()=>O(this,null,function*(){d.value=[];let V=$.Loading(a("\u52A0\u8F7D\u4E2D..."));yield c(),V.Close()}),_=V=>d.value.filter(T=>{const M=T.ip.includes(V),W=T.mac.toLowerCase().includes(V.toLowerCase());return M||W}),h=V=>{V===""&&(p.value=d.value),p.value=_(V)},m=V=>O(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 T={ip:V.ip||"",mac:V.mac||"",uploadSpeed:V.uploadSpeed||0,downloadSpeed:V.downloadSpeed||0,networkAccess:V.networkAccess||!1,comment:"",action:"delete"};b(T,1)}}),b=(V,T)=>O(this,null,function*(){let M=$.Loading(a("\u5220\u9664\u4E2D..."));try{const{data:W}=yield G.DeviceMangement.speedLimitConfig.POST(V);return T==1&&(JSON.stringify(W)==="{}"?$.Success("\u5220\u9664\u6210\u529F !"):$.Success((W==null?void 0:W.error)||"\u5220\u9664\u5931\u8D25\uFF01"),c()),W}catch(W){}finally{M.Close()}}),y=()=>O(this,null,function*(){if(v.value.length===0)return $.Warning(a("\u8BF7\u52FE\u9009\u8981\u5220\u9664\u7684\u6570\u636E")+" !");if(confirm(a("\u6E29\u99A8\u63D0\u793A\uFF1A\u5220\u9664\u8BBE\u5907\u7684\u9650\u901F\u914D\u7F6E\u53EF\u80FD\u5F71\u54CD\u6B64\u8BBE\u5907\u7684\u5E26\u5BBD\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")))try{const V=v.value.map(T=>{const M={ip:T.ip||"",mac:T.mac||"",uploadSpeed:T.uploadSpeed||0,downloadSpeed:T.downloadSpeed||0,networkAccess:T.networkAccess||!1,comment:"",action:"delete"};return b(M)});yield Promise.all(V),$.Success(a("\u6240\u6709\u5220\u9664\u64CD\u4F5C\u5DF2\u5B8C\u6210")),c()}catch(V){}}),F=()=>{w.value=!1,n("openGloba")},Y=V=>{var T,M;if(V==!0&&!((M=(T=l.value)==null?void 0:T.speedLimit)!=null&&M.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"))},P=mt({ip:"",mac:"",uploadSpeed:100,downloadSpeed:1e3,networkAccess:!1,enabled:!1,comment:"",action:"add"}),A=V=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(V.toString()),B=(V,T)=>T?{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})$/}[V].test(T.trim()):!1,S=()=>O(this,null,function*(){var T,M;if(!((M=(T=l.value)==null?void 0:T.speedLimit)!=null&&M.enabled))return $.Warning(a("\u8BF7\u524D\u5F80\u5168\u5C40\u914D\u7F6E\u5F00\u542F\u9650\u901F"));if(!P.ip)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("IP")}`);if(!B("ip",P.ip))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);if(!P.mac)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("MAC")}`);if(!B("mac",P.mac))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684MAC\u5730\u5740")}`);if(P.networkAccess)P.downloadSpeed=0,P.uploadSpeed=0;else{if(!P.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!A(P.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!P.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!A(P.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);P.downloadSpeed=Number(P.downloadSpeed),P.uploadSpeed=Number(P.uploadSpeed)}let V=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{P.networkAccess=!P.networkAccess;const{data:W}=yield G.DeviceMangement.speedLimitConfig.POST(P);JSON.stringify(W)==="{}"?(k(),$.Success("\u4FDD\u5B58\u6210\u529F !")):$.Success((W==null?void 0:W.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01"),w.value=!1,R()}catch(W){$.Warning(`${W==null?void 0:W.error} || ${W==null?void 0:W.message}`)}finally{P.downloadSpeed=1e3,P.uploadSpeed=100,V.Close()}}),R=()=>{P.ip="",P.mac="",P.uploadSpeed=100,P.downloadSpeed=1e3,P.networkAccess=!1,P.comment="",P.action="add"};return(V,T)=>(r(),s("div",zB,[t("div",PB,[D(fa,{onHandleAdd:T[0]||(T[0]=M=>w.value=!0),onRefresh:k,onBatchDelete:y,onSearch:h})]),t("div",null,[D(je,{data:p.value,columns:g.value,rowKey:"mac",showSelection:f.value,showPagination:!1,onSelectionChange:x},{action:j(({row:M})=>[t("button",{class:"del-button del-button--danger",onClick:W=>m(M)},[t("span",null,i(e(a)("\u5220\u9664")),1)],8,TB)]),enabled:j(({row:M})=>[t("span",null,i(M!=null&&M.enabled?e(a)("\u662F"):e(a)("\u5426")),1)]),uploadSpeed:j(({row:M})=>[t("span",null,i((M==null?void 0:M.uploadSpeed)||"-")+" "+i(M!=null&&M.uploadSpeed?"Mbit/s":""),1)]),downloadSpeed:j(({row:M})=>[t("span",null,i((M==null?void 0:M.downloadSpeed)||"-")+" "+i(M!=null&&M.downloadSpeed?"Mbit/s":""),1)]),_:1},8,["data","columns","showSelection"])]),D(ee,{modelValue:w.value,"onUpdate:modelValue":T[9]||(T[9]=M=>w.value=M),title:"\u9650\u901F\u914D\u7F6E","show-close":!0,onConfirm:S,onCancel:R},{default:j(()=>{var M,W,bt,Bt;return[t("div",IB,[t("div",MB,[t("div",LB,i(e(a)("\u5BF9\u8BBE\u5907\u5F00\u542F\u9650\u901F"))+"\uFF1A",1),D(Nt,{modelValue:e(P).enabled,"onUpdate:modelValue":T[1]||(T[1]=gt=>e(P).enabled=gt),disabled:!((W=(M=l.value)==null?void 0:M.speedLimit)!=null&&W.enabled),onBeforeChange:Y},null,8,["modelValue","disabled"])]),t("div",NB,[t("div",OB,i(e(a)("IP\u5730\u5740"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[2]||(T[2]=gt=>e(P).ip=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,VB),[[et,e(P).ip,void 0,{trim:!0}]])]),t("div",GB,[t("div",jB,i(e(a)("MAC\u5730\u5740"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[3]||(T[3]=gt=>e(P).mac=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,UB),[[et,e(P).mac,void 0,{trim:!0}]])]),(Bt=(bt=l.value)==null?void 0:bt.speedLimit)!=null&&Bt.enabled?C("",!0):(r(),s("div",qB,[t("a",{href:"",onClick:ut(F,["prevent"])},i(e(a)("\u70B9\u6211\u8DF3\u8F6C\u5168\u5C40\u914D\u7F6E")),9,RB)])),e(P).enabled?(r(),s("div",WB,[t("div",HB,[t("div",JB,i(e(a)("\u7981\u6B62\u8BE5\u8BBE\u5907\u8BBF\u95EE\u7F51\u7EDC"))+"\uFF1A",1),D(Nt,{modelValue:e(P).networkAccess,"onUpdate:modelValue":T[4]||(T[4]=gt=>e(P).networkAccess=gt),onChange:T[5]||(T[5]=()=>{})},null,8,["modelValue"])]),e(P).networkAccess?C("",!0):(r(),s(U,{key:0},[t("div",ZB,[t("div",KB,i(e(a)("\u4E0B\u8F7D\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[6]||(T[6]=gt=>e(P).downloadSpeed=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,QB),[[et,e(P).downloadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",XB,[t("div",tY,i(e(a)("\u4E0A\u4F20\u9650\u901F\uFF08Mbit/s\uFF09"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[7]||(T[7]=gt=>e(P).uploadSpeed=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,eY),[[et,e(P).uploadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",aY,[t("div",oY,i(e(a)("\u6CE8\u89E3"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":T[8]||(T[8]=gt=>e(P).comment=gt),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,nY),[[et,e(P).comment,void 0,{trim:!0}]])])],64))])):C("",!0)])]}),_:1},8,["modelValue"])]))}});var rY=N(iY,[["__scopeId","data-v-1c110960"]]);const ga=o=>(it("data-v-15068472"),o=o(),rt(),o),sY={key:0,class:"dialog-overlay"},dY={class:"dialog-container"},lY={class:"dialog-title"},uY=ga(()=>t("div",{class:"loading-animation"},[t("div",{class:"spinner"})],-1)),cY={class:"dialog-message"},pY={key:0,class:"dialog-overlay"},fY={class:"dialog-container"},mY={class:"dialog-title"},gY=ga(()=>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)),vY={class:"dialog-message"},bY={key:0,class:"dialog-overlay"},hY={class:"dialog-container tag-dialog"},_Y={class:"dialog-title"},xY={class:"warning-message"},wY=ga(()=>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)),kY={class:"input-group"},yY={for:"tagTitle"},FY=["placeholder"],EY={class:"input-group"},$Y={for:"tagName"},CY=["disabled","placeholder"],DY={class:"input-group"},BY={for:"gateway"},YY=["placeholder"],AY={class:"button-group"},SY=I({props:{title:{type:String,required:!0}},emits:["confirm","update:modelValue"],setup(o,{expose:n,emit:a}){const{$gettext:l}=H(),u=E("install"),d=E(!1),p=E(!1),w=E(!1),g=E(""),c=E(""),f=E(""),v=()=>{u.value="install",d.value=!0},x=()=>{d.value=!1},k=()=>{d.value=!1,setTimeout(()=>{p.value=!0},300)},_=()=>{p.value=!1},h=E("1"),m=()=>{u.value="tag",h.value="1",c.value="",g.value="",f.value="",w.value=!0},b=()=>{u.value="tag",h.value="2",w.value=!0},y=()=>{w.value=!1},F=A=>{c.value=A.target.value.replace(/[\u4e00-\u9fa5]/g,"")},Y=(A,B)=>B?{ip:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,mac:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$|^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/}[A].test(B.trim()):!1,P=()=>{if(!Y("ip",f.value.trim()))return $.Warning(`${l("\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740")}`);g.value.trim()&&c.value.trim()&&f.value.trim()&&(a("confirm",{tagTitle:g.value.trim(),tagName:c.value.trim(),gateway:f.value.trim(),type:h.value}),y())};return At(g,A=>{a("update:modelValue",A)}),At(c,A=>{a("update:modelValue",A)}),At(f,A=>{a("update:modelValue",A)}),n({tagTitle:g,tagName:c,gateway:f,openInstallDialog:v,showInstallResult:k,openTagDialog:m,closeTagDialog:y,cancelInstall:x,openEditTagDialog:b}),(A,B)=>(r(),s(U,null,[D($t,{name:"fade"},{default:j(()=>[d.value&&u.value==="install"?(r(),s("div",sY,[t("div",dY,[t("div",lY,i(o.title),1),uY,t("p",cY,i(e(l)("\u6B63\u5728\u5B89\u88C5"))+"...",1),t("button",{class:"dialog-button",onClick:x},i(e(l)("\u5173\u95ED")),1)])])):C("",!0)]),_:1}),D($t,{name:"fade"},{default:j(()=>[p.value&&u.value==="install"?(r(),s("div",pY,[t("div",fY,[t("div",mY,i(e(l)("\u7ED3\u679C")),1),gY,t("p",vY,i(e(l)("\u5B89\u88C5\u6210\u529F"))+"\uFF01",1),t("button",{class:"dialog-button",onClick:_},i(e(l)("\u786E\u5B9A")),1)])])):C("",!0)]),_:1}),D($t,{name:"fade"},{default:j(()=>[w.value&&u.value==="tag"?(r(),s("div",bY,[t("div",hY,[t("div",_Y,i(h.value==="1"?e(l)("\u6DFB\u52A0\u6807\u7B7E"):e(l)("\u7F16\u8F91\u6807\u7B7E")),1),t("div",xY,[wY,t("span",null,i(e(l)("\u6CE8\u610F\uFF1A\u6DFB\u52A0ID\u65F6\uFF0C\u8BF7\u52FF\u5C06\u201Codhcpd\u201D\u6216\u7F51\u7EDC\u63A5\u53E3\uFF08\u4F8B\u5982\u201Clan\u201D,\u201Cwan\u201D,\u201Cwan6\u201D\u7B49\uFF09\u4F5C\u4E3AID\uFF0C\u6B64\u4E3E\u5C06\u4EA7\u751F\u51B2\u7A81\u3002\u5EFA\u8BAE\u5728ID\u524D\u9762\u52A0\u4E0A\u524D\u7F00\u201Ct_\u201D\u4EE5\u675C\u7EDD\u6B64\u7C7B\u51B2\u7A81\u3002")),1)]),t("div",kY,[t("label",yY,i(e(l)("\u6807\u9898"))+"\uFF1A",1),L(t("input",{id:"tagTitle","onUpdate:modelValue":B[0]||(B[0]=S=>g.value=S),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,FY),[[et,g.value]])]),t("div",EY,[t("label",$Y,i(e(l)("ID"))+"\uFF1A",1),L(t("input",{id:"tagName","onUpdate:modelValue":B[1]||(B[1]=S=>c.value=S),onInput:F,disabled:h.value=="2",type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,40,CY),[[et,c.value]])]),t("div",DY,[t("label",BY,i(e(l)("\u7F51\u5173"))+"\uFF1A",1),L(t("input",{id:"gateway","onUpdate:modelValue":B[2]||(B[2]=S=>f.value=S),type:"text",placeholder:e(l)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,YY),[[et,f.value]])]),t("div",AY,[t("button",{class:"cancel-button",onClick:y},i(e(l)("\u53D6\u6D88")),1),t("button",{class:"confirm-button",onClick:P},i(e(l)("\u786E\u5B9A")),1)])])])):C("",!0)]),_:1})],64))}});var zY=N(SY,[["__scopeId","data-v-15068472"]]);const io=o=>(it("data-v-66e54129"),o=o(),rt(),o),PY={class:"tab-container"},TY={class:"tab-header"},IY=["onClick"],MY={class:"tab-content_g"},LY={key:0,class:"not_installed"},NY=io(()=>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)),OY={key:1},VY={class:"item_box"},GY={class:"item_left"},jY={class:"item_box"},UY={class:"item_left"},qY=["placeholder"],RY={class:"item_box"},WY={class:"item_left"},HY=["placeholder"],JY={class:"item_box"},ZY={class:"item_left"},KY={key:0,class:"not_installed"},QY=io(()=>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)),XY={key:1},tA={class:"item_box"},eA={class:"item_left"},aA={class:"item_box"},oA={class:"item_left"},nA={key:0,value:"",disabled:""},iA=["value"],rA={class:"item_box"},sA={class:"item_left"},dA=["placeholder"],lA={class:"item_box"},uA={class:"item_left"},cA=["placeholder"],pA={class:"item_box"},fA={class:"item_left"},mA={style:{"margin-bottom":"16px"}},gA={class:"item_box"},vA={class:"item_left"},bA={class:"item_box"},hA={class:"item_left"},_A=["value"],xA={class:"item_box"},wA={class:"item_left"},kA={style:{display:"flex","justify-content":"end","margin-bottom":"8px"}},yA=["onClick"],FA=["onClick"],EA=I({setup(o,{expose:n}){const{$gettext:a}=H(),l=Q(()=>!c.role),u=E([]),d=E([{label:"\u6807\u9898",prop:"tagTitle",slot:"tagTitle"},{label:"ID",prop:"tagName",slot:"tagName"},{label:"\u7F51\u5173",prop:"gateway",slot:"gateway"},{label:"\u64CD\u4F5C",prop:"action",slot:"action"}]),p=E([{name:a("\u4E3B\u8DEF\u7531"),value:"fallback"},{name:a("\u65C1\u8DEF\u7531"),value:"main"}]),w=mt({dhcpEnabled:!1,dhcpGateway:""}),g=mt({enabled:!1,uploadSpeed:"",downloadSpeed:"",installed:!0}),c=mt({enabled:!1,role:"",setIP:"",checkIP:""}),f=E({}),v=()=>O(this,null,function*(){var at,J,Ct,ct,z,K,X,ot,xt,St,wt,ne,ie,re,se,de,le,ue,ce,pe,fe,me,ge;try{const{data:kt}=yield G.DeviceMangement.globalConfigs.GET();if(kt.result){if(f.value=kt.result||{},w.dhcpEnabled=((J=(at=kt.result)==null?void 0:at.dhcpGlobal)==null?void 0:J.dhcpEnabled)||!1,(ct=(Ct=kt.result)==null?void 0:Ct.dhcpGlobal)!=null&&ct.dhcpGateway)w.dhcpGateway=(K=(z=kt.result)==null?void 0:z.dhcpGlobal)==null?void 0:K.dhcpGateway;else{const ba=(ot=(X=kt.result)==null?void 0:X.dhcpGlobal)==null?void 0:ot.gatewaySels.find(lo=>lo.title==="myself");ba?w.dhcpGateway=ba.gateway:w.dhcpGateway=""}u.value=((xt=kt.result)==null?void 0:xt.dhcpTags)||[],g.enabled=((wt=(St=kt.result)==null?void 0:St.speedLimit)==null?void 0:wt.enabled)||!1,g.uploadSpeed=((ie=(ne=kt.result)==null?void 0:ne.speedLimit)==null?void 0:ie.uploadSpeed)||"",g.downloadSpeed=((se=(re=kt.result)==null?void 0:re.speedLimit)==null?void 0:se.downloadSpeed)||"",c.enabled=((le=(de=kt.result)==null?void 0:de.floatGateway)==null?void 0:le.enabled)||!1,c.role=((ce=(ue=kt.result)==null?void 0:ue.floatGateway)==null?void 0:ce.role)||"",c.setIP=((fe=(pe=kt.result)==null?void 0:pe.floatGateway)==null?void 0:fe.setIP)||"",c.checkIP=((ge=(me=kt.result)==null?void 0:me.floatGateway)==null?void 0:ge.checkIP)||""}}catch(kt){}});v();const x=()=>O(this,null,function*(){let at=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield G.DeviceMangement.dhcpGatewayConfig.POST(w);JSON.stringify(J)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){$.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{at.Close()}}),k=(at,J)=>O(this,null,function*(){let Ct=$.Loading(a("\u68C0\u67E5\u4E2D..."));try{const ct=yield G.App.Check.POST({name:at});if(Ct.Close(),ct!=null&&ct.data){const{result:z,error:K}=ct.data;if(K)$.Warning(K);else{if(z)return z.status=="installed";$.Warning(a("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}}return!1}catch(ct){return Ct.Close(),$.Warning(ct),!1}}),_=E(!1),h=E(!1),m=()=>O(this,null,function*(){(yield k("app-meta-floatip"))&&(h.value=!0)}),b=()=>O(this,null,function*(){(yield k("app-meta-eqos"))&&(_.value=!0)});m(),b();const y=[{id:"tag",label:a("DHCP")},{id:"gateway",label:a("\u6D6E\u52A8\u7F51\u5173")},{id:"ip",label:a("IP\u9650\u901F")}],F=E("tag");n({activeTab:F});const Y=at=>{F.value=at},P=E(),A=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,B=E("app-meta-floatip"),S=Q(()=>B.value==="app-meta-floatip"?a("\u6D6E\u52A8\u7F51\u5173"):a("IP\u9650\u901F")),R=at=>O(this,null,function*(){if(B.value=at,P.value.openInstallDialog(),yield Dt.installApp(at))return at=="app-meta-floatip"?m():b(),P.value.showInstallResult(),!0;P.value.cancelInstall(),$.Error(a("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}),V=at=>/^([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/.test(at.toString()),T=()=>O(this,null,function*(){if(g.enabled){if(!g.downloadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0B\u8F7D\u901F\u5EA6")}`);if(!V(g.downloadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0B\u8F7D\u901F\u5EA6")}`);if(!g.uploadSpeed)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u4E0A\u4F20\u901F\u5EA6")}`);if(!V(g.uploadSpeed))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4E0A\u4F20\u901F\u5EA6")}`);g.downloadSpeed=Number(g.downloadSpeed),g.uploadSpeed=Number(g.uploadSpeed)}else g.downloadSpeed=0,g.uploadSpeed=0;let at=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield G.DeviceMangement.enableSpeedLimit.POST(g);JSON.stringify(J)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){$.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{at.Close()}}),M=(at,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]?)(?:\/([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(J.trim()):!1,W=()=>O(this,null,function*(){if(!c.role)return $.Warning(a("\u8BF7\u9009\u62E9\u8282\u70B9\u89D2\u8272"));if(!c.setIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u6D6E\u52A8\u7F51\u5173")}IP`);if(!M("ip",c.setIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6D6E\u52A8\u7F51\u5173IP\u5730\u5740")}`);if(!c.checkIP)return $.Warning(`${a("\u8BF7\u8F93\u5165")}${a("\u65C1\u8DEF\u7531")}IP`);if(!M("ip",c.checkIP))return $.Warning(`${a("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65C1\u8DEF\u7531IP\u5730\u5740")}`);let at=$.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const{data:J}=yield G.DeviceMangement.enableFloatGateway.POST(c);JSON.stringify(J)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((J==null?void 0:J.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(J){$.Warning(`${J==null?void 0:J.error} || ${J==null?void 0:J.message}`)}finally{at.Close()}}),bt=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"))||(w.dhcpEnabled=!0)},Bt=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"))||(c.enabled=!0)},gt=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)},jt=at=>O(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 J=$.Loading(a("\u5220\u9664\u4E2D...")),Ct={action:"delete",tagTitle:at.tagTitle||"",tagName:at.tagName||"",dhcpOption:(at==null?void 0:at.dhcpOption)||[]};try{const{data:ct}=yield G.DeviceMangement.dhcpTagsConfig.POST(Ct);JSON.stringify(ct)==="{}"?($.Success(a("\u5220\u9664\u6210\u529F")),v()):$.Success((ct==null?void 0:ct.error)||"\u5220\u9664\u5931\u8D25\uFF01")}catch(ct){$.Warning(`${ct==null?void 0:ct.error} || ${ct==null?void 0:ct.message}`)}finally{J.Close()}}}),Qt=()=>{P.value.openTagDialog()},Tt=E([]),Mt=at=>O(this,null,function*(){Tt.value=at.dhcpOption?at.dhcpOption:[],P.value.tagTitle=at.tagTitle||"",P.value.tagName=at.tagName||"",P.value.gateway=at.gateway||"",yield oa(),P.value.openEditTagDialog()}),qe=at=>O(this,null,function*(){let J=$.Loading(a("\u4FDD\u5B58\u4E2D..."));const Ct=[`3,${at.gateway}`,`6,${at.gateway}`];let ct={action:at.type==1?"add":"modify",tagTitle:at.tagTitle,tagName:at.tagName,dhcpOption:Ct};try{const{data:z}=yield G.DeviceMangement.dhcpTagsConfig.POST(ct);JSON.stringify(z)==="{}"?($.Success(a("\u4FDD\u5B58\u6210\u529F")),v()):$.Success((z==null?void 0:z.error)||"\u4FDD\u5B58\u5931\u8D25\uFF01")}catch(z){$.Warning(`${z==null?void 0:z.error} || ${z==null?void 0:z.message}`)}finally{J.Close()}});return(at,J)=>{var Ct,ct;return r(),s("div",PY,[t("div",TY,[(r(),s(U,null,tt(y,z=>t("button",{key:z.id,class:st(["tab-button",{active:F.value===z.id}]),onClick:K=>Y(z.id)},i(z.label),11,IY)),64))]),t("div",MY,[L(t("div",null,[_.value?(r(),s("div",OY,[t("div",VY,[t("div",GY,i(e(a)("IP\u9650\u901F"))+"\uFF1A",1),D(Nt,{modelValue:e(g).enabled,"onUpdate:modelValue":J[1]||(J[1]=z=>e(g).enabled=z),onChange:gt},null,8,["modelValue"])]),e(g).enabled?(r(),s(U,{key:0},[t("div",jY,[t("div",UY,i(e(a)("\u4E0B\u8F7D\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[2]||(J[2]=z=>e(g).downloadSpeed=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,qY),[[et,e(g).downloadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)]),t("div",RY,[t("div",WY,i(e(a)("\u4E0A\u4F20\u901F\u5EA6"))+"\uFF08Mbit/s\uFF09\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[3]||(J[3]=z=>e(g).uploadSpeed=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,HY),[[et,e(g).uploadSpeed,void 0,{trim:!0}]]),nt(" \xA0 "+i(e(a)("\u603B\u5E26\u5BBD")),1)])],64)):C("",!0),t("div",JY,[t("div",ZY,[t("button",{class:"add-button add-button--danger",onClick:T},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),s("div",LY,[NY,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:J[0]||(J[0]=z=>R("app-meta-eqos"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[te,F.value==="ip"]]),L(t("div",null,[h.value?(r(),s("div",XY,[t("div",tA,[t("div",eA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"\uFF1A",1),D(Nt,{modelValue:e(c).enabled,"onUpdate:modelValue":J[5]||(J[5]=z=>e(c).enabled=z),onChange:Bt},null,8,["modelValue"])]),t("div",aA,[t("div",oA,i(e(a)("\u8282\u70B9\u89D2\u8272"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":J[6]||(J[6]=z=>e(c).role=z),onChange:J[7]||(J[7]=()=>{})},[e(l)?(r(),s("option",nA,i(e(a)("\u8BF7\u9009\u62E9")),1)):C("",!0),(r(!0),s(U,null,tt(p.value,z=>(r(),s("option",{value:z.value},i(z.name),9,iA))),256))],544),[[dt,e(c).role]])]),t("div",rA,[t("div",sA,i(e(a)("\u6D6E\u52A8\u7F51\u5173"))+"IP\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[8]||(J[8]=z=>e(c).setIP=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,dA),[[et,e(c).setIP,void 0,{trim:!0}]])]),t("div",lA,[t("div",uA,i(e(a)("\u65C1\u8DEF\u7531IP"))+"\uFF1A",1),L(t("input",{id:"tagName",type:"text","onUpdate:modelValue":J[9]||(J[9]=z=>e(c).checkIP=z),placeholder:e(a)("\u8BF7\u8F93\u5165")+"...",class:"tag-input"},null,8,cA),[[et,e(c).checkIP,void 0,{trim:!0}]])]),t("div",pA,[t("div",fA,[t("button",{class:"add-button add-button--danger",onClick:W},i(e(a)("\u4FDD\u5B58")),1)])])])):(r(),s("div",KY,[QY,t("span",null,i(e(a)("\u8F6F\u4EF6\u6682\u672A\u5B89\u88C5")),1),t("div",{class:"not_installed_btn",onClick:J[4]||(J[4]=z=>R("app-meta-floatip"))},i(e(a)("\u7ACB\u5373\u5B89\u88C5")),1)]))],512),[[te,F.value==="gateway"]]),L(t("div",null,[t("div",mA,[t("div",gA,[t("div",vA,i(e(a)("\u542F\u7528"))+"DHCP\uFF1A",1),D(Nt,{modelValue:e(w).dhcpEnabled,"onUpdate:modelValue":J[10]||(J[10]=z=>e(w).dhcpEnabled=z),onChange:bt},null,8,["modelValue"])]),t("div",bA,[t("div",hA,"DHCP"+i(e(a)("\u7F51\u5173"))+"\uFF1A",1),L(t("select",{"onUpdate:modelValue":J[11]||(J[11]=z=>e(w).dhcpGateway=z),onChange:J[12]||(J[12]=()=>{})},[(r(!0),s(U,null,tt((ct=(Ct=f.value)==null?void 0:Ct.dhcpGlobal)==null?void 0:ct.gatewaySels,z=>(r(),s("option",{value:z.gateway},i(z.gateway)+" ("+i(z.title?A(z.title):"")+") ",9,_A))),256))],544),[[dt,e(w).dhcpGateway]])]),t("div",xA,[t("div",wA,[t("button",{class:"add-button add-button--danger",onClick:x},i(e(a)("\u4FDD\u5B58")),1)])])]),t("div",kA,[t("button",{class:"add-button add-button--danger",onClick:Qt},[t("span",null,i(e(a)("\u6DFB\u52A0")),1)])]),D(je,{data:u.value,columns:d.value,showSelection:!1,showPagination:!1,theadBgColor:"#e8e6f9"},{action:j(({row:z})=>[z.autoCreated?C("",!0):(r(),s("span",{key:0,style:{color:"#553AFE",cursor:"pointer"},onClick:K=>Mt(z)},i(e(a)("\u7F16\u8F91")),9,yA)),z.autoCreated?C("",!0):(r(),s("span",{key:1,style:{color:"#F04134",cursor:"pointer","margin-left":"18px"},onClick:K=>jt(z)},i(e(a)("\u5220\u9664")),9,FA))]),tagTitle:j(({row:z})=>[t("span",null,i(A(z.tagTitle)),1)]),tagName:j(({row:z})=>[t("span",null,i(z.tagName||"-"),1)]),gateway:j(({row:z})=>[t("span",null,i(z.gateway||"-"),1)]),_:1},8,["data","columns"])],512),[[te,F.value==="tag"]])]),D(zY,{ref_key:"tagDialogRef",ref:P,title:e(S),onConfirm:qe},null,8,["title"])])}}});var $A=N(EA,[["__scopeId","data-v-66e54129"]]);const ro=o=>(it("data-v-a5a78984"),o=o(),rt(),o),CA={id:"page"},DA={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},BA=ro(()=>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)),YA={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},AA={class:"device_container",style:{color:"black"}},SA={class:"tab-container"},zA={class:"tabs_box_g"},PA=["onClick"],TA={class:"tab-content_g"},IA={key:0,class:"content-item"},MA={key:1,class:"content-item"},LA={key:2,class:"content-item"},NA={key:3,class:"content-item"},OA=ro(()=>t("div",{style:{height:"30px"}},null,-1)),VA=I({setup(o){const{$gettext:n}=H(),a=E(["\u8BBE\u5907\u5217\u8868","\u9759\u6001\u5206\u914D\u5217\u8868","\u9650\u901F\u8BBE\u5907\u5217\u8868","\u5168\u5C40\u8BBE\u7F6E"]),l=E(0),u=E(null),d=()=>O(this,null,function*(){l.value=3,yield oa(),u.value&&(u.value.activeTab="ip")});return(p,w)=>{const g=ht("router-link");return r(),s(U,null,[t("div",CA,[t("div",DA,[D(g,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:j(()=>[nt(i(e(n)("\u9996\u9875")),1)]),_:1}),BA,t("a",YA,i(e(n)("\u8BBE\u5907\u7BA1\u7406")),1)])]),t("div",AA,[t("div",SA,[t("div",zA,[(r(!0),s(U,null,tt(a.value,(c,f)=>(r(),s("button",{key:f,onClick:v=>l.value=f,class:st({active:l.value===f})},i(e(n)(c)),11,PA))),128))]),t("div",TA,[l.value===0?(r(),s("div",IA,[D(uB,{onOpenGloba:d})])):C("",!0),l.value===1?(r(),s("div",MA,[D(SB)])):C("",!0),l.value===2?(r(),s("div",LA,[D(rY,{onOpenGloba:d})])):C("",!0),l.value===3?(r(),s("div",NA,[D($A,{ref_key:"configureRef",ref:u},null,512)])):C("",!0)]),OA])])],64)}}});var GA=N(VA,[["__scopeId","data-v-a5a78984"]]);const jA={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},UA=["fill"],qA=["fill"],RA=I({props:{color:{type:String,default:"#ffa847"}},setup(o){return(n,a)=>(r(),s("svg",jA,[t("path",{d:"M640.825806 900.129032c-18.167742 6.606452-37.987097 9.909677-57.806451 13.212903-26.425806 4.954839-44.593548 29.729032-41.290323 56.154839 4.954839 26.425806 29.729032 44.593548 56.154839 41.290323 24.774194-3.303226 47.896774-9.909677 71.019355-16.516129 26.425806-8.258065 41.290323-36.335484 33.032258-62.761291s-34.683871-39.63871-61.109678-31.380645zM974.451613 576.412903c-26.425806-6.606452-52.851613 9.909677-61.109678 36.335484-4.954839 19.819355-11.56129 37.987097-18.167741 56.154839-9.909677 24.774194 1.651613 54.503226 26.425806 64.412903 24.774194 9.909677 54.503226-1.651613 64.412903-26.425806 9.909677-23.122581 16.516129-46.245161 23.122581-69.367742 6.606452-28.077419-8.258065-54.503226-34.683871-61.109678zM814.245161 791.122581c-13.212903 14.864516-28.077419 28.077419-42.941935 39.638709-21.470968 16.516129-24.774194 47.896774-8.258065 69.367742 16.516129 21.470968 47.896774 24.774194 69.367742 8.258065 19.819355-14.864516 37.987097-31.380645 54.503226-49.548387 18.167742-19.819355 18.167742-51.2-1.651613-69.367742s-51.2-18.167742-71.019355 1.651613zM526.864516 341.883871c-28.077419 0-49.548387 21.470968-49.548387 49.548387v122.219355c0 14.864516 6.606452 28.077419 18.167742 37.987097l117.264516 97.445161c21.470968 18.167742 52.851613 14.864516 69.367742-6.606452s14.864516-52.851613-6.606452-69.367742l-99.096774-82.580645v-99.096774c0-26.425806-21.470968-49.548387-49.548387-49.548387z",fill:o.color,"p-id":"4722"},null,8,UA),t("path",{d:"M910.03871 327.019355c28.077419 1.651613 51.2-18.167742 52.851613-46.245161l9.909677-142.03871c1.651613-28.077419-18.167742-51.2-46.245161-52.851613-28.077419-1.651613-51.2 18.167742-52.851613 46.245161v16.516129c-1.651613-1.651613-3.303226-3.303226-4.954839-3.303226-1.651613-3.303226-4.954839-4.954839-6.606452-8.258064-18.167742-16.516129-36.335484-31.380645-57.806451-46.245161-1.651613-1.651613-4.954839-3.303226-6.606452-3.303226-46.245161-31.380645-99.096774-54.503226-155.251613-69.367742-1.651613 0-3.303226-1.651613-4.954838-1.651613-8.258065-1.651613-14.864516-3.303226-23.122581-4.954839h-1.651613c-6.606452-1.651613-13.212903-3.303226-21.470968-3.303225-4.954839-1.651613-11.56129-1.651613-16.516129-1.651613-3.303226 0-6.606452-1.651613-9.909677-1.651613h-1.651613C307.2-19.819355 69.367742 153.6 18.167742 412.903226c-52.851613 275.819355 125.522581 541.729032 401.341935 594.580645 26.425806 4.954839 52.851613-11.56129 57.806452-39.63871 4.954839-26.425806-11.56129-52.851613-39.63871-57.806451h-1.651613c-19.819355-3.303226-37.987097-9.909677-56.154838-16.516129h-3.303226c-44.593548-16.516129-84.232258-39.63871-118.916129-67.716129l-4.954839-4.954839c-14.864516-13.212903-29.729032-26.425806-41.290322-41.290323-1.651613-1.651613-3.303226-3.303226-6.606452-4.954838-28.077419-33.032258-51.2-71.019355-67.716129-112.309678 0-3.303226-1.651613-6.606452-1.651613-8.258064-6.606452-18.167742-13.212903-37.987097-16.516129-56.154839 0-3.303226-1.651613-6.606452-3.303226-9.909677-8.258065-41.290323-9.909677-82.580645-4.954838-125.522581 1.651613-3.303226 1.651613-6.606452 3.303225-9.909678 3.303226-19.819355 6.606452-37.987097 13.212904-57.806451 1.651613-3.303226 1.651613-6.606452 1.651612-9.909678 13.212903-41.290323 33.032258-80.929032 57.806452-115.612903 3.303226-1.651613 4.954839-4.954839 6.606452-6.606451 11.56129-14.864516 24.774194-29.729032 39.638709-44.593549 1.651613-1.651613 3.303226-4.954839 4.954839-6.606451 33.032258-31.380645 71.019355-56.154839 112.309677-74.322581 1.651613 0 3.303226 0 3.303226-1.651613 18.167742-8.258065 37.987097-14.864516 56.154839-19.819355 1.651613 0 1.651613-1.651613 3.303226-1.651613 47.896774-13.212903 100.748387-16.516129 153.6-9.909677 3.303226 0 6.606452 1.651613 9.909677 1.651613 6.606452 1.651613 11.56129 1.651613 18.167742 3.303226 80.929032 16.516129 153.6 54.503226 209.754839 112.309677l-29.729032-1.651613c-28.077419-1.651613-51.2 18.167742-52.851613 46.245161-1.651613 28.077419 18.167742 51.2 46.245161 52.851613l142.03871 8.258065z",fill:o.color,"p-id":"4723"},null,8,qA)]))}}),WA={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},HA=["fill"],JA=I({props:{color:{type:String,default:"#9810f9"}},setup(o){return(n,a)=>(r(),s("svg",WA,[t("path",{d:"M914.285714 548.571429a36.571429 36.571429 0 0 1 36.571429 36.571428v219.428572a146.285714 146.285714 0 0 1-146.285714 146.285714H219.428571a146.285714 146.285714 0 0 1-146.285714-146.285714v-219.428572a36.571429 36.571429 0 1 1 73.142857 0v219.428572a73.142857 73.142857 0 0 0 67.657143 72.96L219.428571 877.714286h585.142858a73.142857 73.142857 0 0 0 72.96-67.657143L877.714286 804.571429v-219.428572a36.571429 36.571429 0 0 1 36.571428-36.571428zM537.307429 83.858286l258.596571 258.596571a36.571429 36.571429 0 1 1-51.712 51.712L548.571429 198.509714 548.571429 634.733714a36.571429 36.571429 0 1 1-73.142858 0V197.485714L278.674286 394.166857a36.571429 36.571429 0 1 1-51.712-51.712l258.596571-258.596571a36.571429 36.571429 0 0 1 51.712 0z",fill:o.color,"p-id":"9077"},null,8,HA)]))}}),Wt=o=>(it("data-v-de94d0fe"),o=o(),rt(),o),ZA={class:"item_container"},KA={class:"item"},QA={class:"item_title"},XA={class:"tip"},tS={class:"item"},eS={class:"item_title"},aS={class:"select_box"},oS={value:null,disabled:"",selected:""},nS=["value"],iS={class:"start_btn"},rS={key:0,class:"progress"},sS=Wt(()=>t("span",null,"25%",-1)),dS={class:"item"},lS={class:"item_title"},uS={class:"log_info"},cS={class:"item"},pS={class:"item_title"},fS={class:"result_box"},mS={class:"result"},gS={class:"result_item"},vS=Wt(()=>t("div",{class:"speed_value"},"105.5",-1)),bS=Wt(()=>t("span",{class:"unit"},"Mbps",-1)),hS=Wt(()=>t("span",{class:"status status_bg1"},"\u4F18\u79C0",-1)),_S={class:"speed_title"},xS={class:"result_item"},wS=Wt(()=>t("div",{class:"speed_value"},"105.5",-1)),kS=Wt(()=>t("span",{class:"unit"},"Mbps",-1)),yS=Wt(()=>t("span",{class:"status status_bg2"},"\u826F\u597D",-1)),FS={class:"speed_title"},ES=Ot('
18 ms
\u826F\u597D\u5EF6\u8FDF
18 ms
\u5EF6\u8FDF
',2),$S=Wt(()=>t("div",{class:"custom-content"},[t("p",null,"\u4EE5\u4E0B\u662F\u68C0\u6D4B\u5230\u7684\u5185\u7F51\u5730\u5740\uFF0C\u8BF7\u70B9\u51FB\u8BBF\u95EE\u8FDB\u884C\u6D4B\u901F"),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")]),t("div",{class:"address_box"},[t("span",null,"http://192.168.1.1"),t("div",null,"\u8BBF\u95EE")])],-1)),CS=I({setup(o){const{$gettext:n}=H(),a=E(!1),l=E([{title:"SpeedTest.Net",describe:"\u5168\u7403\u6807\u51C6\u7F51\u901F\u6D4B\u8BD5\u670D\u52A1",value:"SpeedTest"},{title:"CDN\u8282\u70B9\u6D4B\u8BD5",describe:"\u6D4B\u8BD5\u5230\u4E3B\u8981CDN\u8282\u70B9\u7684\u8FDE\u63A5\u901F\u5EA6",value:"CDN"},{title:"UST\u9AD8\u6821\u8282\u70B9",describe:"\u4E2D\u79D1\u5927\u6559\u80B2\u7F51\u8282\u70B9\u6D4B\u8BD5",value:"UST"},{title:"NAT\u7C7B\u578B\u6D4B\u901F",describe:"\u68C0\u6D4B\u7F51\u7EDCNAT\u7C7B\u578B\u548C\u8FDE\u901A\u6027",value:"NAT"}]),u=E(null),d=E(!1),p=()=>{!u.value||(d.value=!0)};return(w,g)=>(r(),s(U,null,[t("div",ZA,[t("div",KA,[t("div",QA,[D(ze,{color:"#155dfc",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u68C0\u6D4B\u672C\u5730\u7F51\u7EDC\u73AF\u5883\uFF0C\u83B7\u53D6\u5185\u7F51\u8BBF\u95EE\u5730\u5740")),1),t("div",{class:"wifi_btn",onClick:g[0]||(g[0]=c=>a.value=!0)},[t("div",null,[D(ze,{color:"#ffffff",class:"icon1"}),t("span",null,i(e(n)("\u5F00\u59CB\u5185\u7F51\u6D4B\u901F")),1)])]),t("p",XA,i(e(n)("\u70B9\u51FB\u6309\u94AE\u83B7\u53D6\u5185\u7F51\u6D4B\u901F\u5730\u5740\uFF0C\u901A\u8FC7\u8BBF\u95EE\u8FD9\u4E9B\u5730\u5740\u6765\u6D4B\u8BD5\u5185\u7F51\u8FDE\u63A5\u901F\u5EA6")),1)]),t("div",tS,[t("div",eS,[D(xe,{color:"#2bb55e",class:"icon"}),t("span",null,i(e(n)("\u5185\u7F51\u6D4B\u901F")),1)]),t("p",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9\uFF0C\u8FDB\u884C\u7F51\u7EDC\u901F\u5EA6\u548C\u8FDE\u63A5\u8D28\u91CF\u6D4B\u8BD5")),1),t("div",aS,[t("div",null,i(e(n)("\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),L(t("select",{"onUpdate:modelValue":g[1]||(g[1]=c=>u.value=c),id:"node",required:"",class:st({"is-placeholder":!u.value})},[t("option",oS,i(e(n)("\u8BF7\u9009\u62E9\u6D4B\u901F\u8282\u70B9")),1),(r(!0),s(U,null,tt(l.value,c=>(r(),s("option",{value:c},i(c.title)+" - "+i(c.describe),9,nS))),256))],2),[[dt,u.value]])]),t("div",{class:st(["wifi_btn m-20",{"is-bg":!u.value||d.value}]),onClick:p},[t("div",iS,[d.value?(r(),s("span",{key:0,class:st(["icon3-wrap",{"is-rotating":d.value}])},[D(RA,{color:"#ffffff",class:"icon3"})],2)):(r(),Z(xe,{key:1,color:"#ffffff",class:"icon2"})),t("span",null,i(e(n)("\u5F00\u59CB\u6D4B\u901F")),1)])],2),d.value?(r(),s("div",rS,[t("p",null,[nt(i(e(n)("\u6D4B\u901F\u8FDB\u5EA6"))+" ",1),sS]),D(Qa,{percentage:25,showPercentage:!1,height:"10px",borderRadius:"10px",color:"#030213",backgroundColor:"#cdccd0"})])):C("",!0)]),t("div",dS,[t("div",lS,[D(Wa,{color:"#ff6900",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u65E5\u5FD7")),1)]),t("p",null,i(e(n)("\u5B9E\u65F6\u6D4B\u901F\u8FC7\u7A0B\u8BB0\u5F55")),1),t("div",uS,[(r(),s(U,null,tt(20,c=>t("p",null,"[17:00:20] \u6B63\u5728\u8FDE\u63A5\u5230\u6D4B\u8BD5\u670D\u52A1\u5668...")),64))])]),t("div",cS,[t("div",pS,[D(eo,{color:"#9865ff",class:"icon2"}),t("span",null,i(e(n)("\u6D4B\u901F\u7ED3\u679C")),1)]),t("p",null,i(e(n)("\u6D4B\u901F\u8282\u70B9"))+"\uFF1ACDN\u8282\u70B9 (\u5317\u4EAC)",1),t("div",fS,[t("div",mS,[t("div",gS,[D(Zt,{color:"#155dfc",class:"icon_speed"}),vS,bS,hS,t("div",_S,i(e(n)("\u4E0B\u8F7D\u901F\u5EA6")),1)]),t("div",xS,[D(JA,{color:"#00a63e",class:"icon_speed1"}),wS,kS,yS,t("div",FS,i(e(n)("\u4E0A\u4F20\u901F\u5EA6")),1)])]),ES])])]),D(ee,{modelValue:a.value,"onUpdate:modelValue":g[2]||(g[2]=c=>a.value=c),title:"\u5185\u7F51\u8BBF\u95EE\u5730\u5740",width:"550px",footerShow:!1,"show-close":!0},{default:j(()=>[$S]),_:1},8,["modelValue"])],64))}});var DS=N(CS,[["__scopeId","data-v-de94d0fe"]]);const BS={width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"none"},YS=["fill"],AS=I({props:{color:{type:String,default:"#155dfc"}},setup(o){return(n,a)=>(r(),s("svg",BS,[t("path",{d:"M0 855.04a64.896 64.896 0 0 1 129.792 0v55.637333a64.896 64.896 0 0 1-129.792 0V855.04zM213.248 669.610667a64.896 64.896 0 0 1 129.792 0v241.066666a64.896 64.896 0 0 1-129.792 0v-241.066666zM426.496 484.181333a64.896 64.896 0 0 1 129.792 0v426.496a64.896 64.896 0 1 1-129.792 0v-426.496zM639.701333 298.752a64.896 64.896 0 1 1 129.792 0v611.925333a64.896 64.896 0 0 1-129.792 0V298.752zM852.949333 113.322667a64.896 64.896 0 0 1 129.792 0v797.354666a64.896 64.896 0 0 1-129.792 0V113.322667z",fill:o.color,"p-id":"11967"},null,8,YS)]))}}),va=o=>(it("data-v-63694ef8"),o=o(),rt(),o),SS={id:"page"},zS={style:{"text-align":"left",display:"flex","align-items":"center","margin-bottom":"20px","padding-top":"4px"}},PS=va(()=>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)),TS={style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color1)","line-height":"1.5em"}},IS={class:"container",style:{color:"black"}},MS={class:"title"},LS=va(()=>t("span",null,"\u7F51\u7EDC\u6D4B\u901F\u5DE5\u5177",-1)),NS=va(()=>t("p",null,"\u4E13\u4E1A\u7684\u7F51\u7EDC\u8FDE\u63A5\u901F\u5EA6\u68C0\u6D4B\u5DE5\u5177\uFF0C\u652F\u6301\u5185\u7F51\u548C\u5916\u7F51\u6D4B\u901F",-1)),OS=I({setup(o){const{$gettext:n}=H();return(a,l)=>{const u=ht("router-link");return r(),s(U,null,[t("div",SS,[t("div",zS,[D(u,{to:"/",style:{"text-decoration":"none",color:"var(--breadcrumbs-tit-color)","line-height":"1.5em","margin-right":"4px"}},{default:j(()=>[nt(i(e(n)("\u9996\u9875")),1)]),_:1}),PS,t("a",TS,i(e(n)("\u7F51\u7EDC\u6D4B\u901F")),1)])]),t("div",IS,[t("div",MS,[t("div",null,[D(AS,{class:"icon"}),LS]),NS]),D(DS)])],64)}}});var VS=N(OS,[["__scopeId","data-v-63694ef8"]]);const Ce=o=>(it("data-v-1f11eeec"),o=o(),rt(),o),GS=["onSubmit"],jS={class:"form-item"},US={class:"label-name"},qS={class:"label-value switch_label"},RS={class:"label-flex pc-radio"},WS=["disabled"],HS=["disabled"],JS=Ce(()=>t("div",{class:"switch-button"},null,-1)),ZS=[JS],KS={key:0,class:"form-item"},QS={class:"label-name"},XS={class:"label-value"},tz=["disabled"],ez={value:100},az={value:70},oz={value:50},nz={value:30},iz={key:0,class:"select-arrow"},rz={class:"form-item"},sz={class:"label-name"},dz={class:"label-value"},lz=["disabled","placeholder"],uz={class:"form-item"},cz={class:"label-name"},pz={class:"label-value"},fz=["disabled"],mz=["value"],gz={key:0,class:"select-arrow"},vz={class:"form-item"},bz={class:"label-name"},hz={class:"label-value"},_z=["type","disabled","placeholder"],xz={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},wz=Ce(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),kz=[wz],yz={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},Fz=Ce(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),Ez=[Fz],$z={class:"form-item"},Cz={class:"label-name"},Dz={class:"label-value"},Bz=["disabled"],Yz={value:!1},Az={value:!0},Sz={key:0,class:"select-arrow"},zz={key:1,class:"form-item"},Pz={class:"label-name"},Tz={class:"label-value"},Iz=["disabled"],Mz=["value"],Lz={key:0,class:"select-arrow"},Nz={key:2,class:"form-item"},Oz={class:"label-name"},Vz={class:"label-value"},Gz=["disabled"],jz=Ce(()=>t("option",{value:"20"},"20 MHz",-1)),Uz=Ce(()=>t("option",{value:"40"},"40 MHz",-1)),qz={key:0,value:"auto"},Rz={key:1,value:"80"},Wz={key:2,value:"160"},Hz={key:0,class:"select-arrow"},Jz={key:3,class:"form-item"},Zz={class:"label-name"},Kz={class:"label-value"},Qz=["disabled"],Xz={value:0},tP=["value"],eP=["disabled"],aP={value:0},oP=Ot('',12),nP={key:2,class:"select-arrow"},iP={key:4,class:"form-item"},rP={class:"label-name"},sP={class:"label-value"},dP=["placeholder","disabled"],lP={class:"label-btns"},uP=["disabled"],cP=I({props:{data:null},emits:["getData"],setup(o,{emit:n}){const a=o,{$gettext:l,$ngettext:u}=H(),d=E(Object.assign({},a.data)),p=$o("disabled"),w=E(!0),g=()=>{p.value||(d.value.disabled=!d.value.disabled)};At(()=>d.value.disabled,k=>{f()});const c=()=>O(this,null,function*(){if(d.value.txpower===a.data.txpower)return;const k=$.Loading("\u914D\u7F6E\u4E2D...");try{const{data:_}=yield G.Quickwifi.Power.POST({device:d.value.device||"",txpower:d.value.txpower||0}),{error:h,success:m}=_;if(h)throw h;(m==null||m==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}catch(_){throw $.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),_}finally{k.Close()}}),f=()=>O(this,null,function*(){const k=$.Loading("\u914D\u7F6E\u4E2D...");try{const{data:_}=yield G.Quickwifi.Switch.POST({ifaceName:d.value.ifaceName||"",enable:!d.value.disabled}),{error:h,success:m}=_;if(h)throw h;(m==null||m==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}catch(_){throw console.error("\u8BF7\u6C42\u51FA\u9519:",_),$.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),_}finally{k.Close()}}),v=()=>O(this,null,function*(){const k=lt({},d.value);delete k.encryptSelects,delete k.hwmodeSelects,delete k.disabled,delete k.txpower;const{data:_}=yield G.Quickwifi.Edit.POST(k),{error:h,success:m}=_;if(h)throw h;(m==null||m==0)&&$.Success("\u914D\u7F6E\u5B8C\u6210")}),x=()=>O(this,null,function*(){if(p.value)return;p.value=!0;const k=$.Loading("\u914D\u7F6E\u4E2D...");try{yield v(),yield n("getData")}catch(_){const h=$.Error(`${_}`);setTimeout(()=>{h.Close()},2e3)}finally{k.Close(),p.value=!1}});return(k,_)=>(r(),s("form",{class:"form-container",onSubmit:ut(x,["prevent"])},[t("div",jS,[t("div",US,[t("span",null,i(e(l)("\u542F\u7528Wi-Fi")),1)]),t("div",qS,[t("div",RS,[t("label",null,[L(t("input",{type:"radio",value:!1,"onUpdate:modelValue":_[0]||(_[0]=h=>d.value.disabled=h),disabled:e(p)},null,8,WS),[[Ft,d.value.disabled]]),nt(" "+i(e(l)("\u5F00\u542F")),1)]),t("label",null,[L(t("input",{type:"radio",value:!0,"onUpdate:modelValue":_[1]||(_[1]=h=>d.value.disabled=h),disabled:e(p)},null,8,HS),[[Ft,d.value.disabled]]),nt(" "+i(e(l)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:g},[t("div",{class:st(["switch-core",{"is-checked":!d.value.disabled,"is-disabled":e(p)}])},ZS,2)])])]),d.value.isGuest?C("",!0):(r(),s("div",KS,[t("div",QS,[t("span",null,i(e(l)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",XS,[L(t("select",{"onUpdate:modelValue":_[2]||(_[2]=h=>d.value.txpower=h),disabled:e(p),onChange:c},[t("option",ez,i(e(l)("\u6700\u5927")),1),t("option",az,i(e(l)("\u9AD8")),1),t("option",oz,i(e(l)("\u4E2D")),1),t("option",nz,i(e(l)("\u4F4E")),1)],40,tz),[[dt,d.value.txpower]]),e(p)?C("",!0):(r(),s("div",iz))])])),t("div",rz,[t("div",sz,[t("span",null,i(e(l)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",dz,[L(t("input",{"onUpdate:modelValue":_[3]||(_[3]=h=>d.value.ssid=h),disabled:e(p),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,lz),[[et,d.value.ssid]])])]),t("div",uz,[t("div",cz,[t("span",null,i(e(l)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",pz,[L(t("select",{"onUpdate:modelValue":_[4]||(_[4]=h=>d.value.encryption=h),disabled:e(p)},[(r(!0),s(U,null,tt(d.value.encryptSelects,h=>(r(),s("option",{value:h},i(h),9,mz))),256))],8,fz),[[dt,d.value.encryption]]),e(p)?C("",!0):(r(),s("div",gz))])]),t("div",vz,[t("div",bz,[t("span",null,i(e(l)("Wi-Fi \u5BC6\u7801")),1)]),t("div",hz,[L(t("input",{"onUpdate:modelValue":_[5]||(_[5]=h=>d.value.key=h),class:"password_input",type:w.value?"password":"",disabled:e(p),placeholder:e(l)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,_z),[[Co,d.value.key]]),e(p)?C("",!0):(r(),s("div",{key:0,onClick:_[6]||(_[6]=h=>w.value=!w.value)},[w.value?(r(),s("svg",xz,kz)):(r(),s("svg",yz,Ez))]))])]),t("div",$z,[t("div",Cz,[t("span",null,i(e(l)("SSID \u53EF\u89C1\u6027")),1)]),t("div",Dz,[L(t("select",{"onUpdate:modelValue":_[7]||(_[7]=h=>d.value.hidden=h),disabled:e(p)},[t("option",Yz,i(e(l)("\u663E\u793A")),1),t("option",Az,i(e(l)("\u9690\u85CF")),1)],8,Bz),[[dt,d.value.hidden]]),e(p)?C("",!0):(r(),s("div",Sz))])]),d.value.isGuest?C("",!0):(r(),s("div",zz,[t("div",Pz,[t("span",null,i(e(l)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",Tz,[L(t("select",{"onUpdate:modelValue":_[8]||(_[8]=h=>d.value.hwmode=h),disabled:e(p)},[(r(!0),s(U,null,tt(d.value.hwmodeSelects,h=>(r(),s("option",{value:h},i(h),9,Mz))),256))],8,Iz),[[dt,d.value.hwmode]]),e(p)?C("",!0):(r(),s("div",Lz))])])),d.value.isGuest?C("",!0):(r(),s("div",Nz,[t("div",Oz,[t("span",null,i(e(l)("\u9891\u5BBD")),1)]),t("div",Vz,[L(t("select",{"onUpdate:modelValue":_[9]||(_[9]=h=>d.value.htmode=h),disabled:e(p)},[jz,Uz,d.value.band==="2g"?(r(),s("option",qz," 20/40 MHz ")):C("",!0),d.value.band==="5g"?(r(),s("option",Rz," 80 MHz ")):C("",!0),d.value.band==="5g"?(r(),s("option",Wz," 160 MHz ")):C("",!0)],8,Gz),[[dt,d.value.htmode]]),e(p)?C("",!0):(r(),s("div",Hz))])])),d.value.isGuest?C("",!0):(r(),s("div",Jz,[t("div",Zz,[t("span",null,i(e(l)("\u4FE1\u9053")),1)]),t("div",Kz,[d.value.band==="2g"?L((r(),s("select",{key:0,"onUpdate:modelValue":_[10]||(_[10]=h=>d.value.channel=h),disabled:e(p)},[t("option",Xz,i(e(l)("\u81EA\u52A8")),1),(r(),s(U,null,tt(13,h=>t("option",{value:h},i(h),9,tP)),64))],8,Qz)),[[dt,d.value.channel,void 0,{number:!0}]]):C("",!0),d.value.band==="5g"?L((r(),s("select",{key:1,"onUpdate:modelValue":_[11]||(_[11]=h=>d.value.channel=h),disabled:e(p)},[t("option",aP,i(e(l)("\u81EA\u52A8")),1),oP],8,eP)),[[dt,d.value.channel,void 0,{number:!0}]]):C("",!0),e(p)?C("",!0):(r(),s("div",nP))])])),d.value.isGuest?C("",!0):(r(),s("div",iP,[t("div",rP,[t("span",null,i(e(l)("\u7F51\u7EDC")),1)]),t("div",sP,[L(t("input",{type:"text",placeholder:e(l)("\u8BF7\u914D\u7F6E\u7F51\u7EDC\u540D\u79F0"),required:"","onUpdate:modelValue":_[12]||(_[12]=h=>d.value.network=h),disabled:e(p)},null,8,dP),[[et,d.value.network]])])])),t("div",lP,[t("button",{class:"btn primary-btn",disabled:e(p),onClick:x},i(e(l)("\u4FDD\u5B58\u914D\u7F6E")),9,uP)])],40,GS))}});var pP=N(cP,[["__scopeId","data-v-1f11eeec"]]);const Ue=o=>(it("data-v-40cb5302"),o=o(),rt(),o),fP={id:"page",class:"page-container"},mP={class:"mobile-tags-container"},gP={class:"tags-wrapper"},vP={class:"tags-scroll"},bP=["onClick"],hP={class:"more-btn-wrapper"},_P=Ue(()=>t("div",{class:"fade-overlay"},null,-1)),xP=Ue(()=>t("div",{class:"line"},null,-1)),wP=Ue(()=>t("div",{class:"line"},null,-1)),kP=Ue(()=>t("div",{class:"line"},null,-1)),yP=[xP,wP,kP],FP={class:"page-flex"},EP={class:"page-sidebar"},$P=["onClick"],CP={class:"page-main"},DP={class:"popup-content"},BP={class:"popup-tags"},YP=["onClick"],AP={class:"popup-footer"},SP=I({setup(o){var h;const{$gettext:n}=H(),a=E(!1);Do("disabled",a);const l=E([]),u=Pe(),d=aa(),p=E(String((h=u==null?void 0:u.query)==null?void 0:h.tab)),w=E(!1),g=m=>{var b;return(b=m.band)==null?void 0:b.toUpperCase()},c=m=>m.isGuest?m.band+"_Guest":m.ssid,f=m=>{a.value||(p.value=c(m),w.value=!1,p.value!==u.query.tab&&d.push({query:{tab:p.value}}))},v=E(),x=m=>{a.value||(v.value=c(m))},k=()=>{w.value=!1,v.value!==u.query.tab&&d.push({query:{tab:v.value}})};At(()=>w.value,m=>{m?v.value=p.value:p.value=v.value});const _=()=>O(this,null,function*(){try{const{data:m}=yield G.Quickwifi.List.GET(),{error:b,result:y}=m;if(b)throw b;y!=null&&y.ifaces&&(l.value=y.ifaces.map(Y=>pt(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(l.value[0])}catch(m){console.log(m)}});return _(),(m,b)=>(r(),s("div",fP,[t("div",mP,[t("div",gP,[t("div",vP,[(r(!0),s(U,null,tt(l.value,y=>(r(),s("div",{key:c(y),class:st(p.value===c(y)?"tag-item active":"tag-item"),onClick:ut(F=>f(y),["stop"])},i(g(y))+" "+i(y.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,bP))),128))]),t("div",hP,[_P,t("div",{class:"more-btn",onClick:b[0]||(b[0]=y=>w.value=!0)},yP)])])]),t("div",FP,[t("div",EP,[(r(!0),s(U,null,tt(l.value,y=>(r(),s("div",{key:c(y),class:st(p.value===c(y)?"item activeItem":"item"),onClick:ut(F=>f(y),["stop"])},i(g(y))+" "+i(y.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,$P))),128))]),t("div",CP,[(r(!0),s(U,null,tt(l.value,y=>(r(),s(U,{key:c(y)},[p.value===c(y)?(r(),Z(pP,{key:0,data:y,onGetData:_},null,8,["data"])):C("",!0)],64))),128))])]),w.value?(r(),s("div",{key:0,class:"popup-overlay",onClick:b[2]||(b[2]=ut(y=>w.value=!1,["self"]))},[t("div",DP,[t("div",BP,[(r(!0),s(U,null,tt(l.value,y=>(r(),s("div",{key:c(y),class:st(v.value===c(y)?"popup-tag-item active":"popup-tag-item"),onClick:ut(F=>x(y),["stop"])},i(g(y))+" "+i(y.isGuest?` ${e(n)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,YP))),128))]),t("div",AP,[t("button",{class:"cancel-btn",onClick:b[1]||(b[1]=y=>w.value=!1)},i(e(n)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:k},i(e(n)("\u786E\u5B9A")),1)])])])):C("",!0)]))}});var zP=N(SP,[["__scopeId","data-v-40cb5302"]]);const PP=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",so=Bo({history:Yo(PP()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:Sb},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:Tb,children:[{path:"",component:gh},{path:"pppoe",component:Lh},{path:"dhcp",component:y_},{path:"gateway",component:fx}]},{path:"/quickwifi",component:zP},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:Ik},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:Uk,children:[{path:"",component:qE},{path:"task",component:r$},{path:"log",component:u$}]},{path:"/interfaceconfig",component:xC},{path:"/devicemanagement",component:GA},{path:"/networkSpeedTest",component:VS}]});so.beforeEach((o,n)=>(o.meta.title,!0));const yt=vt(en);yt.component("svg-menu",ln);yt.component("svg-system",gn);yt.component("svg-download",wn);yt.component("svg-store",Bn);yt.component("svg-info",Tn);yt.component("svg-disk",ii);yt.component("svg-nav",ci);yt.component("progress-item",Ma);yt.component("svg-view-show",Ti);yt.component("svg-view-hidden",Vi);yt.component("article-item",Hi);yt.component("switch-box",La);yt.component("editable-select",Jt);yt.use(Na);yt.use(so);yt.use(Ao());zo(yt).finally(()=>yt.mount("#app"))});export default TP(); 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 09bc09ca31..3f83fa5ad0 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;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@keyframes bganimation-3ee635ef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ee635ef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ee635ef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ee635ef]{animation:rotateEnter-3ee635ef .7s;position:relative}.rotate-leave-active[data-v-3ee635ef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ee635ef]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-3ee635ef]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-3ee635ef]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-54af3568{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-54af3568{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-54af3568{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-54af3568]{animation:rotateEnter-54af3568 .7s;position:relative}.rotate-leave-active[data-v-54af3568]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-54af3568]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-54af3568]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-54af3568]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-54af3568],label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-54af3568]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-54af3568]{display:none!important}label.checkbox_switch svg[data-v-54af3568]{height:1em;width:2em}article[data-v-995510fc]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-995510fc]{max-width:33.333%}}@keyframes bganimation-995510fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-995510fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-995510fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-995510fc]{animation:rotateEnter-995510fc .7s;position:relative}.rotate-leave-active[data-v-995510fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-995510fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-995510fc]{max-width:50%}}@keyframes bganimation-782f97c0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-782f97c0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-782f97c0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-782f97c0]{animation:rotateEnter-782f97c0 .7s;position:relative}.rotate-leave-active[data-v-782f97c0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-782f97c0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-782f97c0]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-782f97c0]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-782f97c0]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-782f97c0]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-782f97c0] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-782f97c0] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-782f97c0] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-782f97c0]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-782f97c0]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-782f97c0]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-782f97c0]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-782f97c0]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-782f97c0]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-782f97c0]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-782f97c0]{background-color:#439c07}@keyframes bganimation-c446588c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c446588c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c446588c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c446588c]{animation:rotateEnter-c446588c .7s;position:relative}.rotate-leave-active[data-v-c446588c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c446588c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-c446588c]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-c446588c],.select-editable input[data-v-c446588c]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-c446588c]{position:relative;width:100%}.select-editable input[data-v-c446588c]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-c446588c]:focus,.select-editable input[data-v-c446588c]:focus{outline:none;box-shadow:none}@keyframes bganimation-47c6049a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-47c6049a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-47c6049a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-47c6049a]{animation:rotateEnter-47c6049a .7s;position:relative}.rotate-leave-active[data-v-47c6049a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-47c6049a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-47c6049a{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-47c6049a]{animation:turn-47c6049a 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-47c6049a]{width:100%;height:100%}.quick-loading svg path[data-v-47c6049a]{fill:#fff}@keyframes bganimation-0cc5bf50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0cc5bf50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0cc5bf50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0cc5bf50]{animation:rotateEnter-0cc5bf50 .7s;position:relative}.rotate-leave-active[data-v-0cc5bf50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0cc5bf50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-0cc5bf50]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-0cc5bf50]{width:22px;height:22px}a:hover svg path[data-v-0cc5bf50]{fill:#3688ff}@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%}}@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%}}.reusable-card[data-v-bb194020]{border:1px solid;border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;display:flex;flex-direction:column;gap:12px;border:1px solid var(--border-color);background:var(--card-bg-color)}.card-header[data-v-bb194020]{display:flex;justify-content:space-between;align-items:center}.card-header .left[data-v-bb194020]{display:flex;align-items:center;gap:8px}.card-header[data-v-bb194020]>svg{width:20px;height:20px}.title[data-v-bb194020]{font-size:16px;font-weight:600;line-height:1;color:var(--app-container_title-color)}.settings-btn[data-v-bb194020]{cursor:pointer}.card-body[data-v-bb194020]{flex:1 1 auto}.card-footer[data-v-bb194020]{display:flex;justify-content:center}.footer-btn[data-v-bb194020]{display:inline-flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;border:1px solid var(--btn-border-color);justify-content:center;cursor:pointer;width:100%;max-width:600px;margin-top:16px}.footer-icon[data-v-bb194020]{display:inline-flex;align-items:center}.footer-text[data-v-bb194020]{font-size:14px;font-weight:400;color:var(--app-container_title-color)}.settings-icon[data-v-bb194020]{width:20px;height:20px}.settings-icon[data-v-bb194020] svg,.settings-icon[data-v-bb194020] g,.settings-icon[data-v-bb194020] path,.settings-icon[data-v-bb194020] circle,.settings-icon[data-v-bb194020] rect,.settings-icon[data-v-bb194020] line,.settings-icon[data-v-bb194020] polyline,.settings-icon[data-v-bb194020] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}.btn-primary[data-v-bb194020]{background-color:#00b8db;color:#fff;border:none;padding:5px 16px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-primary[data-v-bb194020]:hover{background-color:#26a7c7}.btn-primary[data-v-bb194020]:active{transform:scale(.95)}.btn-pink[data-v-bb194020]{background-color:#f751a9;color:#fff;border:none;padding:5px 16px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-pink[data-v-bb194020]:hover{background-color:#e60076}.btn-pink[data-v-bb194020]:active{transform:scale(.95)}.settings-wrapper[data-v-bb194020]{position:relative}.dropdown-menu[data-v-bb194020]{position:absolute;top:38px;right:0;background:#fff;border-radius:6px;padding:16px 0;min-width:220px;box-shadow:0 4px 12px #0003;z-index:10}.fade-enter-active[data-v-bb194020],.fade-leave-active[data-v-bb194020]{transition:opacity .2s}.fade-enter-from[data-v-bb194020],.fade-leave-to[data-v-bb194020]{opacity:0}.dropdown-menu[data-v-bb194020] div{display:block;width:100%;text-align:center;padding:8px 0;border:none;background:none;cursor:pointer;font-size:14px;color:#333;transition:background .2s,color .2s}.dropdown-menu[data-v-bb194020] div:hover{background-color:#eee}@keyframes bganimation-bb194020{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bb194020{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bb194020{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bb194020]{animation:rotateEnter-bb194020 .7s;position:relative}.rotate-leave-active[data-v-bb194020]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bb194020]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.reusable-card[data-v-bb194020]{padding:10px;border-radius:6px}.title[data-v-bb194020]{font-size:14px}.footer-btn[data-v-bb194020]{margin-top:6px}.dropdown-menu[data-v-bb194020]{padding:8px 0;min-width:150px}}@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}.action .action-footer button[data-v-3dae3be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-3dae3be2]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-3dae3be2]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-3dae3be2]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-3dae3be2]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-3dae3be2]{flex:auto}.action.format .disk-list[data-v-3dae3be2]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-3dae3be2]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-3dae3be2]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-3dae3be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-3dae3be2]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-3dae3be2]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-3dae3be2],.action.format .label-item .label-item_value input[data-v-3dae3be2]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-3dae3be2]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-3dae3be2]{flex:auto}.action.format p.msg[data-v-3dae3be2]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-3dae3be2]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-3dae3be2]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-3dae3be2]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-3dae3be2]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-3dae3be2]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-3dae3be2]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-3dae3be2]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-3dae3be2]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-3dae3be2]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-3dae3be2]{color:#0000fb}.action.result .btns[data-v-3dae3be2]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-3dae3be2]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-3dae3be2]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-3dae3be2]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-3dae3be2]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-3dae3be2]{width:100%}}.action .action-footer button[data-v-b222ef5e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-b222ef5e]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.list .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.format .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b222ef5e]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b222ef5e]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b222ef5e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b222ef5e]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b222ef5e]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b222ef5e],.action.format .label-item .label-item_value input[data-v-b222ef5e]{width:100%;height:36px}.action.format .auto[data-v-b222ef5e]{flex:auto}.action.format p.msg[data-v-b222ef5e]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b222ef5e]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b222ef5e]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b222ef5e]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b222ef5e]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-b222ef5e]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-b222ef5e]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-b222ef5e]{color:#f70324}.action.result .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-b222ef5e]{flex:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-b222ef5e]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-b222ef5e]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-b222ef5e]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-b222ef5e]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-b222ef5e]{width:80%}}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-45926ac6]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-45926ac6]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-45926ac6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-45926ac6]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-45926ac6]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-45926ac6]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@keyframes bganimation-2b3974a4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b3974a4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b3974a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b3974a4]{animation:rotateEnter-2b3974a4 .7s;position:relative}.rotate-leave-active[data-v-2b3974a4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b3974a4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2b3974a4]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2b3974a4]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2b3974a4]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2b3974a4]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2b3974a4]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2b3974a4]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2b3974a4]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2b3974a4],.action .action-body .label-item .label-item_value input[data-v-2b3974a4]{width:100%;height:36px}.action .action-footer[data-v-2b3974a4]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2b3974a4]{flex:auto}.action .action-footer button[data-v-2b3974a4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-88275da0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-88275da0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-88275da0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-88275da0]{animation:rotateEnter-88275da0 .7s;position:relative}.rotate-leave-active[data-v-88275da0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-88275da0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-88275da0]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-88275da0]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-88275da0]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-88275da0]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-88275da0]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-88275da0]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-88275da0]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-88275da0]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-88275da0]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-88275da0],.action .action-body .label-item .label-item_value input[data-v-88275da0]{width:100%;height:36px}.action .action-body .samba-item[data-v-88275da0]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-88275da0]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-88275da0]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-88275da0]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-88275da0]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-88275da0]{margin-left:10px}.action .action-footer[data-v-88275da0]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-88275da0]{flex:auto}.action .action-footer button[data-v-88275da0]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3f686017]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-3f686017]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-3f686017]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-3f686017]{width:100%;display:block;padding:2rem 0}.action form label[data-v-3f686017]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-3f686017],.action form label select[data-v-3f686017]{width:100%;display:block;height:42px}.action .btns[data-v-3f686017]{width:100%;margin-top:3rem}.action .btns button[data-v-3f686017]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-3f686017]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-3f686017]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-3f686017]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-3f686017],.action li.disk-item .disk-item_f .disk-item_used[data-v-3f686017]{width:100%}.action .tips[data-v-3f686017]{float:right;font-size:.8em}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-3f686017]{font-size:2em}}@keyframes bganimation-376759fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-376759fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-376759fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-376759fb]{animation:rotateEnter-376759fb .7s;position:relative}.rotate-leave-active[data-v-376759fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-376759fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-376759fb]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-376759fb]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.aria2-item .aria2-item_value[data-v-376759fb]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-376759fb]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-376759fb]{color:#888}.use-url_app[data-v-376759fb]{padding-bottom:14px}.use-url_app a[data-v-376759fb]{text-decoration:none;color:#297ff3}@keyframes bganimation-086db06c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-086db06c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-086db06c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-086db06c]{animation:rotateEnter-086db06c .7s;position:relative}.rotate-leave-active[data-v-086db06c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-086db06c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-086db06c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-086db06c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.qbittorrent-item .qbittorrent-item_value[data-v-086db06c]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-086db06c]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-086db06c]{color:#888}a[data-v-086db06c]{text-decoration:none;color:#297ff3}@keyframes bganimation-3232162a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3232162a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3232162a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3232162a]{animation:rotateEnter-3232162a .7s;position:relative}.rotate-leave-active[data-v-3232162a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3232162a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-3232162a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-3232162a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.transmission-item .transmission-item_value[data-v-3232162a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-3232162a]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-3232162a]{color:#888}a[data-v-3232162a]{text-decoration:none;color:#297ff3}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-395b81d2]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-395b81d2]{color:#999;font-size:14px}.action input[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-395b81d2]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-395b81d2]{width:100%}.action form label input[data-v-395b81d2],.action form label select[data-v-395b81d2]{height:100%;font-size:14px}.action .myinput_wrap[data-v-395b81d2],.action .RPC_input[data-v-395b81d2]{width:85%}.action .myinput_wrap textarea[data-v-395b81d2]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-395b81d2]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-395b81d2]{margin-right:10px}.action .input_row .radios input[data-v-395b81d2],.action .input_row .radios label[data-v-395b81d2]{cursor:pointer}.action .Tracker label[data-v-395b81d2]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-395b81d2]{padding:6px 2px}.action .btns[data-v-395b81d2]{width:100%;margin:42px auto 0}.action .btns button[data-v-395b81d2]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-395b81d2]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-395b81d2]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-395b81d2]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-395b81d2]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-395b81d2]{visibility:visible;opacity:1}.action .tooltip-top[data-v-395b81d2]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-395b81d2]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-395b81d2]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-395b81d2]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-395b81d2]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-395b81d2]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-395b81d2]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-395b81d2]{text-align:center;font-size:14px}.action .finished[data-v-395b81d2]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-395b81d2]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-395b81d2]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-395b81d2]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-395b81d2]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-395b81d2]:focus,.select-editable input[data-v-395b81d2]:focus{outline:none}[data-v-395b81d2]::placeholder{color:#999}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-395b81d2]{width:100%}.action .input_row[data-v-395b81d2]{display:block}.action .input_row .myinput_wrap[data-v-395b81d2],.action .input_row .RPC_input[data-v-395b81d2]{width:100%}}@keyframes bganimation-2299b58c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2299b58c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2299b58c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2299b58c]{animation:rotateEnter-2299b58c .7s;position:relative}.rotate-leave-active[data-v-2299b58c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2299b58c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-2299b58c]{width:1.3rem;height:1.3rem}.icon1[data-v-2299b58c]{width:1rem;height:1rem}.icon2[data-v-2299b58c]{width:1.5rem;height:1.5rem;margin-bottom:12px}[data-v-2299b58c] .downloadIcon path{fill:var(--app-container_title-color)!important}a[data-v-2299b58c]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-2299b58c]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .tab[data-v-2299b58c]{display:flex;gap:8px}.content .tab .item[data-v-2299b58c]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer}.content .tab .item .title[data-v-2299b58c]{margin-bottom:8px}.content .tab .item>span[data-v-2299b58c]{font-size:12px}.content .tab .active[data-v-2299b58c]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-2299b58c]{background-color:#fff7ed;color:#ca3500}.content .tab .memory[data-v-2299b58c]{background-color:#f9fafb;color:#364153}.content .tab .network[data-v-2299b58c]{background-color:#f0fdfa;color:#277881}.btn_settings[data-v-2299b58c]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-2299b58c]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-2299b58c]{transform:rotate(90deg)}@keyframes bganimation-2299b58c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2299b58c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2299b58c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2299b58c]{animation:rotateEnter-2299b58c .7s;position:relative}.rotate-leave-active[data-v-2299b58c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2299b58c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-2299b58c]{margin:10px 0}}@keyframes bganimation-73552138{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-73552138{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-73552138{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-73552138]{animation:rotateEnter-73552138 .7s;position:relative}.rotate-leave-active[data-v-73552138]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-73552138]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-73552138]{text-align:center;margin-bottom:20px}.label-item[data-v-73552138]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-73552138]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-73552138]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-73552138]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b9ee57da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b9ee57da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b9ee57da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b9ee57da]{animation:rotateEnter-b9ee57da .7s;position:relative}.rotate-leave-active[data-v-b9ee57da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b9ee57da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b9ee57da]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b9ee57da]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b9ee57da]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{text-align:center}.actioner-container_body .body-info[data-v-b9ee57da]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b9ee57da]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b9ee57da]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-aefb6fdc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aefb6fdc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-aefb6fdc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-aefb6fdc]{animation:rotateEnter-aefb6fdc .7s;position:relative}.rotate-leave-active[data-v-aefb6fdc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aefb6fdc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-aefb6fdc]{width:100%;height:100%;border:none}@keyframes bganimation-0e2b47e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0e2b47e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0e2b47e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0e2b47e6]{animation:rotateEnter-0e2b47e6 .7s;position:relative}.rotate-leave-active[data-v-0e2b47e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0e2b47e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-0e2b47e6]{width:100%;height:100%;border:none}@keyframes bganimation-29e2aec8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-29e2aec8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-29e2aec8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-29e2aec8]{animation:rotateEnter-29e2aec8 .7s;position:relative}.rotate-leave-active[data-v-29e2aec8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-29e2aec8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-29e2aec8]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-29e2aec8]{width:100px;height:100px}.actioner-container_body .body-title[data-v-29e2aec8]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-29e2aec8]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-29e2aec8]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-29e2aec8]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-29e2aec8]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-169b4450{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169b4450{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169b4450{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169b4450]{animation:rotateEnter-169b4450 .7s;position:relative}.rotate-leave-active[data-v-169b4450]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169b4450]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-169b4450]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-6590a3fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6590a3fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6590a3fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6590a3fa]{animation:rotateEnter-6590a3fa .7s;position:relative}.rotate-leave-active[data-v-6590a3fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6590a3fa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-6590a3fa]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-3b80943c]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-3b80943c] .actioner-container{width:100%}.action-main[data-v-3b80943c] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-3b80943c]{width:90%}}@keyframes bganimation-145a3c50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-145a3c50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-145a3c50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-145a3c50]{animation:rotateEnter-145a3c50 .7s;position:relative}.rotate-leave-active[data-v-145a3c50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-145a3c50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-145a3c50]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-145a3c50]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-145a3c50]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-145a3c50]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-145a3c50]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-145a3c50]:hover{opacity:.8}.action .clear[data-v-145a3c50]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-145a3c50]:hover{opacity:.8}@keyframes bganimation-2c659599{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c659599{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c659599{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c659599]{animation:rotateEnter-2c659599 .7s;position:relative}.rotate-leave-active[data-v-2c659599]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c659599]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-2c659599]{display:block;width:100%;text-align:center}.title_info p[data-v-2c659599]{font-size:20px;margin-bottom:10px}.label-item[data-v-2c659599]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-2c659599]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-2c659599]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-2c659599]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-2c659599]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-2c659599],.label-item .label-item_value input[data-v-2c659599]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-2c659599]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-2c659599]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-2c659599]{margin-left:8px}.label-message[data-v-2c659599]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-8a1e6470]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-8a1e6470] .actioner-container{width:100%}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.ali,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-8a1e6470]{width:90%}}@keyframes bganimation-d3a8d744{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d3a8d744{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d3a8d744{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d3a8d744]{animation:rotateEnter-d3a8d744 .7s;position:relative}.rotate-leave-active[data-v-d3a8d744]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d3a8d744]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-d3a8d744] .footer-btn{background:var(--card-bg-color);border:1px solid var(--btn-border-color)}[data-v-d3a8d744] .reusable-card{background:#fff5ee!important;border:1px solid #ffd6a7!important}[data-v-d3a8d744] .earthIcon path{fill:var(--app-container_title-color)!important}.icon[data-v-d3a8d744]{width:1.3rem;height:1.3rem}.icon1[data-v-d3a8d744]{width:1rem;height:1rem}.icon2[data-v-d3a8d744]{width:1.5rem;height:1.5rem;margin-bottom:8px}.icon3[data-v-d3a8d744]{width:1.5rem;height:1.5rem;cursor:pointer}a[data-v-d3a8d744]{text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-d3a8d744]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400;padding:0 12px}.content .tab[data-v-d3a8d744]{display:flex;gap:8px}.content .tab .item[data-v-d3a8d744]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer}.content .tab .item .title[data-v-d3a8d744]{margin-bottom:8px}.content .tab .item>span[data-v-d3a8d744]{font-size:12px}.content .tab .active[data-v-d3a8d744]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-d3a8d744]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-d3a8d744]{background-color:#f0fdf4;color:#008236}.content .tab .network[data-v-d3a8d744]{background-color:#f9fafb;color:#4a5565}.content .info[data-v-d3a8d744]{margin-top:20px}.content .info .status[data-v-d3a8d744]{padding:20px 0 0;margin-top:16px;display:flex;justify-content:space-between;border-top:1px solid var(--btn-border-color)}.content .info .status .offline[data-v-d3a8d744]{background:#eceef2;color:#030213}.content .info .status>div[data-v-d3a8d744]{color:var(--app-container_title-color);font-size:16px}.content .info .status>span[data-v-d3a8d744]{color:#fff;padding:4px 8px;background:#030213;border-radius:6px;font-size:12px}.content .info .title_box[data-v-d3a8d744]{margin:20px 0}.content .info .title_box .title[data-v-d3a8d744]{color:var(--item-label_key-span-color);margin-bottom:10px}.content .info .title_box .path[data-v-d3a8d744]{display:flex;align-items:center;justify-content:space-between;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .info .title_box .path>span[data-v-d3a8d744]{display:inline-block;padding:4px 8px;border:1px solid #553afb;font-size:12px;border-radius:4px;cursor:pointer;flex-shrink:0}.content .info .title_box .path>span>a[data-v-d3a8d744]{color:#553afb}.btn_settings[data-v-d3a8d744]{padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}@keyframes bganimation-d3a8d744{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d3a8d744{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d3a8d744{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d3a8d744]{animation:rotateEnter-d3a8d744 .7s;position:relative}.rotate-leave-active[data-v-d3a8d744]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d3a8d744]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-d3a8d744]{margin:10px 0 0;padding:4px}.content .info[data-v-d3a8d744]{margin-top:10px}.content .info .status[data-v-d3a8d744]{padding-top:10px}.content .info .title_box[data-v-d3a8d744]{margin:10px 0}}@keyframes bganimation-a2c6d680{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a2c6d680{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a2c6d680{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a2c6d680]{animation:rotateEnter-a2c6d680 .7s;position:relative}.rotate-leave-active[data-v-a2c6d680]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a2c6d680]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-a2c6d680]{width:1.5rem;height:1.5rem;margin-right:6px}.display_flex[data-v-a2c6d680]{display:flex;align-items:center}.network_container[data-v-a2c6d680]{border:1px solid var(--border-color);border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;background:var(--card-bg-color);height:100%;display:flex;flex-direction:column}.network_container .title_box[data-v-a2c6d680]{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;flex-shrink:0}.network_container .title_box>span[data-v-a2c6d680]{font-size:16px;font-weight:600}.network_container .title_box .network_tag[data-v-a2c6d680]{display:flex;align-items:center}.network_container .title_box .network_tag .tag_item[data-v-a2c6d680]{display:flex;align-items:center;font-size:12px;margin-left:16px}.network_container .title_box .network_tag .tag_item>span[data-v-a2c6d680]{line-height:1}.network_container .title_box .network_tag .tag_item>div[data-v-a2c6d680]{width:12px;height:12px;border-radius:50%;margin-right:6px}.network_container .title_box .network_tag .tag_item .tag_dn[data-v-a2c6d680]{background:#20c7f7}.network_container .title_box .network_tag .tag_item .tag_up[data-v-a2c6d680]{background:#553afe}.network_container .echart[data-v-a2c6d680]{flex:1;min-height:200px}.network_container .speed[data-v-a2c6d680]{display:flex;flex-shrink:0}.network_container .speed .speed_item[data-v-a2c6d680]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.network_container .speed .speed_item>span[data-v-a2c6d680]{font-size:12px;color:#999;margin-bottom:10px}.network_container .speed .speed_item>div[data-v-a2c6d680]{font-size:16px;color:#333}@keyframes bganimation-a2c6d680{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a2c6d680{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a2c6d680{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a2c6d680]{animation:rotateEnter-a2c6d680 .7s;position:relative}.rotate-leave-active[data-v-a2c6d680]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a2c6d680]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.network_container[data-v-a2c6d680]{border-radius:6px;padding:10px}.network_container .title_box[data-v-a2c6d680]{margin-bottom:16px}.network_container .title_box>span[data-v-a2c6d680]{font-size:14px;font-weight:600}}@keyframes bganimation-4eb7fe63{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4eb7fe63{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4eb7fe63{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4eb7fe63]{animation:rotateEnter-4eb7fe63 .7s;position:relative}.rotate-leave-active[data-v-4eb7fe63]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4eb7fe63]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-4eb7fe63]{width:1.5rem;height:1.5rem}[data-v-4eb7fe63] .networkIcon path{fill:var(--app-container_title-color)!important}.info_content[data-v-4eb7fe63]{margin:12px 0 0 4px}.info_content .status_box[data-v-4eb7fe63]{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border-color);font-size:14px;line-height:1}.info_content .status_box .status_name[data-v-4eb7fe63]{display:flex;align-items:center;line-height:1}.info_content .status_box .status_name .icon[data-v-4eb7fe63]{width:1rem;height:1rem;margin-right:6px}.info_content .status_box .status_time[data-v-4eb7fe63]{padding:4px 8px;background:#dbfce7;color:#008236;border-radius:4px}.info_content .ip_item[data-v-4eb7fe63]{display:flex;justify-content:space-between;align-items:center}.info_content .ip_item .ip_tag[data-v-4eb7fe63]{padding:3px 6px;border-radius:6px;border:1px solid #d1d5db;font-size:12px;line-height:1}.info_content .ip_item .device[data-v-4eb7fe63]{font-size:14px;color:#155dfc}.info_content .ip_item .delay[data-v-4eb7fe63]{font-size:14px;color:#00a663}.info_content .ip_item .download[data-v-4eb7fe63]{font-size:14px;color:var(--item-label_key-span-color)}.info_content .line[data-v-4eb7fe63]{width:100%;height:1px;background:var(--btn-border-color);margin-bottom:20px}.info_content .line1[data-v-4eb7fe63]{width:100%;height:1px;background:var(--btn-border-color);margin:20px 0}.info_content .ip_item[data-v-4eb7fe63]:nth-last-child(1){margin-top:20px}.info_content .ip_info[data-v-4eb7fe63]{margin:24px 0 20px}.info_content .ip_info .ip_address[data-v-4eb7fe63]{color:var(--item-label_key-span-color);margin-top:10px}@keyframes bganimation-a22762d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a22762d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a22762d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a22762d6]{animation:rotateEnter-a22762d6 .7s;position:relative}.rotate-leave-active[data-v-a22762d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a22762d6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-a22762d6]{width:1.3rem;height:1.3rem}.icon1[data-v-a22762d6],.icon2[data-v-a22762d6]{width:1rem;height:1rem}[data-v-a22762d6] .interfaceIcon path{fill:var(--app-container_title-color)!important}[data-v-a22762d6] .footer-btn{margin-top:6px}.content[data-v-a22762d6]{margin-top:6px;padding-bottom:6px;min-height:30px;display:flex;overflow-x:auto;white-space:nowrap}.content[data-v-a22762d6]::-webkit-scrollbar{height:6px}.content[data-v-a22762d6]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.content .item[data-v-a22762d6]{position:relative;display:inline-flex;align-items:center;padding-right:20px;margin-right:16px;cursor:pointer}.content .item[data-v-a22762d6]:before{content:"";display:inline-block;position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px!important;height:60%;background:#e0e0e0}.content .item[data-v-a22762d6]:last-child:before{content:none}.content .icon_box[data-v-a22762d6]{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:8px;background:#dbfce7;margin-right:12px}.content .name[data-v-a22762d6]{display:flex;align-items:center;margin-bottom:6px}.content .speed[data-v-a22762d6]{padding:4px 6px;background:#dbfce7;font-size:12px;border-radius:6px;line-height:1;color:#008236;margin-left:8px}.content .status[data-v-a22762d6]{font-size:12px;color:#6a7282}.btn_settings[data-v-a22762d6]{position:relative;padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-a22762d6]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-a22762d6]{transform:rotate(90deg)}.row input[type=checkbox][data-v-a22762d6]{vertical-align:middle;margin:0}.row[data-v-a22762d6]{gap:8px;padding:0;margin:6px 0;display:flex;align-items:center}.row>input[data-v-a22762d6]{margin-right:6px!important;margin-top:0}[data-v-a22762d6] .dropdown-menu div:hover{background:transparent!important}[data-v-a22762d6] .dropdown-menu{padding:8px 0}[data-v-a22762d6] .dropdown-menu>div{padding:0}@keyframes bganimation-a22762d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a22762d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a22762d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a22762d6]{animation:rotateEnter-a22762d6 .7s;position:relative}.rotate-leave-active[data-v-a22762d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a22762d6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-0048c7ce{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0048c7ce{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0048c7ce{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0048c7ce]{animation:rotateEnter-0048c7ce .7s;position:relative}.rotate-leave-active[data-v-0048c7ce]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0048c7ce]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.feature-card[data-v-0048c7ce]{flex:1 1 0;min-width:280px;max-width:350px;padding:14px 14px 20px;border:2px solid var(--border-color);border-radius:10px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;background-color:var(--card-bg-color);display:flex;align-items:center;justify-content:space-between}.feature-card[data-v-0048c7ce]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.feature-card .badge[data-v-0048c7ce]{font-size:12px;padding:4px 6px;border-radius:6px;color:#fff;line-height:1}.feature-card .header[data-v-0048c7ce]{display:flex;align-items:center;gap:6px;margin-bottom:16px}.feature-card .header .icon-wrapper[data-v-0048c7ce]{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background-color:#999;color:#fff}.feature-card .header .icon-wrapper .icon-svg[data-v-0048c7ce]{width:24px;height:24px}.feature-card .content .title[data-v-0048c7ce]{font-weight:700;color:var(--item-label_key-span-color);margin-bottom:8px}.feature-card .content .subtitle[data-v-0048c7ce]{font-size:14px;color:#666;margin-top:2px}.feature-card .footer[data-v-0048c7ce]{display:flex;align-items:center;margin-top:12px;font-size:12px}.feature-card .footer .status[data-v-0048c7ce]{padding:4px 6px;border-radius:6px;background-color:#eee;color:#666;line-height:1;margin-right:6px}.feature-card .footer .status.active[data-v-0048c7ce]{background-color:#d3f9d8;color:#38a169}.feature-card .footer .extra[data-v-0048c7ce]{color:inherit}.feature-card .footer .extra .extra_num[data-v-0048c7ce]{font-size:16px}.feature-card .right-arrow[data-v-0048c7ce]{width:18px;height:18px}.feature-card.purple .icon-wrapper[data-v-0048c7ce]{background-color:#ad46ff}.feature-card.purple .badge[data-v-0048c7ce]{background-color:#f3e8ff;color:#8200db}.feature-card.blue .icon-wrapper[data-v-0048c7ce]{background-color:#3b82f6}.feature-card.blue .badge[data-v-0048c7ce]{background-color:#e6effe;color:#3b82f6}.feature-card.blue .right-arrow[data-v-0048c7ce]{opacity:.8;width:18px;height:18px}.feature-card.green .icon-wrapper[data-v-0048c7ce],.feature-card.green .badge[data-v-0048c7ce]{background-color:#22c55e}.feature-card.pink .icon-wrapper[data-v-0048c7ce]{background-color:#ec4899}.feature-card.pink .badge[data-v-0048c7ce]{background-color:#f6339a}.feature-card.pink .right-arrow[data-v-0048c7ce]{color:#f6349b;opacity:.7}.feature-card.skyblue .icon-wrapper[data-v-0048c7ce]{background-color:#615fff}.feature-card.skyblue .badge[data-v-0048c7ce]{background-color:#e0e7ff;color:#432dd7}.feature-card.orange .icon-wrapper[data-v-0048c7ce],.feature-card.orange .badge[data-v-0048c7ce]{background-color:#f97316}@keyframes bganimation-0048c7ce{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0048c7ce{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0048c7ce{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0048c7ce]{animation:rotateEnter-0048c7ce .7s;position:relative}.rotate-leave-active[data-v-0048c7ce]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0048c7ce]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.feature-card[data-v-0048c7ce]{min-width:180px;padding:10px;border-radius:6px;border:1px solid #e5e5e5;transition:none}.feature-card[data-v-0048c7ce]:hover{transform:none;box-shadow:none}.feature-card .header[data-v-0048c7ce]{margin-bottom:8px}.feature-card .content .title[data-v-0048c7ce]{font-weight:700;color:#333;margin-bottom:4px}.feature-card .footer[data-v-0048c7ce]{margin-top:6px}}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0d919a1e]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-0d919a1e]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-0d919a1e]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0d919a1e]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0d919a1e]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0d919a1e],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0d919a1e]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-0d919a1e]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-0d919a1e]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-0d919a1e]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-0d919a1e]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-0d919a1e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-0d919a1e]{text-align:center}.setting_status p[data-v-0d919a1e]{margin:10px 0}.setting_status a[data-v-0d919a1e]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-0d919a1e]{margin-top:10px}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-0d919a1e]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-0d919a1e]{width:100%}}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-59ad49e6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-59ad49e6]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-59ad49e6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-59ad49e6]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-59ad49e6]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-59ad49e6]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-59ad49e6]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-59ad49e6]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-59ad49e6]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-59ad49e6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-59ad49e6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-59ad49e6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-59ad49e6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-59ad49e6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-59ad49e6]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-59ad49e6]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-59ad49e6]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-59ad49e6]{margin-top:114px}.timeout span[data-v-59ad49e6],.sandbox_roboot_refresh[data-v-59ad49e6]{color:#5e72e4}option[data-v-59ad49e6]:disabled{background-color:#e0e0e0}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-59ad49e6]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-59ad49e6]{min-height:42vh}.actioner-tips[data-v-59ad49e6]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:3px 10px}}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3e084f0f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-3e084f0f]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-3e084f0f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-3e084f0f]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-3e084f0f]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-3e084f0f]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-3e084f0f]{margin-top:114px}.timeout span[data-v-3e084f0f]{color:#5e72e4}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-3e084f0f]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-3e084f0f]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-3e084f0f]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:12px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:3px 10px}}@keyframes bganimation-7bdb8244{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7bdb8244{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7bdb8244{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7bdb8244]{animation:rotateEnter-7bdb8244 .7s;position:relative}.rotate-leave-active[data-v-7bdb8244]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7bdb8244]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-7bdb8244]{width:1.5rem;height:1.5rem;margin-bottom:12px}button[data-v-7bdb8244]{margin:0!important}.item_container[data-v-7bdb8244]{display:flex;gap:16px;width:100%;padding-bottom:4px;box-sizing:border-box;flex-wrap:wrap}.item_container[data-v-7bdb8244]::-webkit-scrollbar{height:6px}.item_container[data-v-7bdb8244]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.item_container .item[data-v-7bdb8244]{position:relative;flex:1 1 0;padding:16px 12px;min-width:120px;max-width:200px;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;border-radius:8px;box-sizing:border-box;border:1px solid #e5e7eb;cursor:pointer;color:var(--card-txt-color)}.item_container .app-update-button-more[data-v-7bdb8244]{position:absolute;top:4px;right:4px}.item_container .menu_background[data-v-7bdb8244]{position:fixed;inset:0}.item_container .renew[data-v-7bdb8244]{display:flex;align-items:center}.item_container .renew i[data-v-7bdb8244]{display:inline-block;padding:3px;background-color:red;border-radius:50%;margin-right:4px}.item_container .dns_txt[data-v-7bdb8244]{display:flex;align-items:center;line-height:1;color:#32325d}.item_container .disabled-style[data-v-7bdb8244]{opacity:.6;cursor:not-allowed;background-color:#e0e0e0}.item_container .app-update-button-menu[data-v-7bdb8244]{position:absolute;z-index:999;width:30%;right:0;top:0}.item_container .app-update-button-menu ul[data-v-7bdb8244]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:6px 0;border-radius:6px;top:-45px;right:0;text-align:center;position:absolute;word-break:keep-all}.item_container .app-update-button-menu ul li[data-v-7bdb8244]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.item_container .app-update-button-menu ul li .app-update-menu-item[data-v-7bdb8244]{padding:5px 2px;white-space:nowrap}.item_container .app-update-button-menu ul li .app-update-menu-item-loading[data-v-7bdb8244]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}@keyframes bganimation-7bdb8244{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7bdb8244{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7bdb8244{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7bdb8244]{animation:rotateEnter-7bdb8244 .7s;position:relative}.rotate-leave-active[data-v-7bdb8244]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7bdb8244]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.item_container[data-v-7bdb8244]{gap:10px}}@keyframes bganimation-6c80f0b7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6c80f0b7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6c80f0b7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6c80f0b7]{animation:rotateEnter-6c80f0b7 .7s;position:relative}.rotate-leave-active[data-v-6c80f0b7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6c80f0b7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-6c80f0b7]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.sambas-item .sambas-item_value[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}.app-container_samba li.samba-item[data-v-6c80f0b7]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}.app-container_samba li.samba-item .samba-item_value[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-6c80f0b7]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-6c80f0b7]:hover{opacity:.7}.tit[data-v-6c80f0b7]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-9e39e9b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9e39e9b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9e39e9b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9e39e9b2]{animation:rotateEnter-9e39e9b2 .7s;position:relative}.rotate-leave-active[data-v-9e39e9b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9e39e9b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-9e39e9b2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-9e39e9b2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.webdav-item .webdav-item_value[data-v-9e39e9b2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}@keyframes bganimation-485e1494{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-485e1494{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-485e1494{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-485e1494]{animation:rotateEnter-485e1494 .7s;position:relative}.rotate-leave-active[data-v-485e1494]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-485e1494]{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-485e1494]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-485e1494]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value[data-v-485e1494]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value .configure[data-v-485e1494]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-485e1494]{cursor:pointer}a[data-v-485e1494]{text-decoration:none;color:#297ff3}@keyframes bganimation-7ee59a9a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7ee59a9a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7ee59a9a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7ee59a9a]{animation:rotateEnter-7ee59a9a .7s;position:relative}.rotate-leave-active[data-v-7ee59a9a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7ee59a9a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-7ee59a9a]{width:1.3rem;height:1.3rem}.icon1[data-v-7ee59a9a]{width:1rem;height:1rem}.icon2[data-v-7ee59a9a]{width:1.5rem;height:1.5rem;margin-bottom:12px}.settings-icon[data-v-7ee59a9a] svg,.settings-icon[data-v-7ee59a9a] g,.settings-icon[data-v-7ee59a9a] path,.settings-icon[data-v-7ee59a9a] circle,.settings-icon[data-v-7ee59a9a] rect,.settings-icon[data-v-7ee59a9a] line,.settings-icon[data-v-7ee59a9a] polyline,.settings-icon[data-v-7ee59a9a] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}a[data-v-7ee59a9a]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-7ee59a9a]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.content .tab[data-v-7ee59a9a]{display:flex;gap:8px}.content .tab .item[data-v-7ee59a9a]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer}.content .tab .item .title[data-v-7ee59a9a]{margin-bottom:8px}.content .tab .item>span[data-v-7ee59a9a]{font-size:12px}.content .tab .active[data-v-7ee59a9a]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-7ee59a9a]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-7ee59a9a]{background-color:#dbfce7;color:#008236}.content .tab .network[data-v-7ee59a9a]{background-color:#faf5ff;color:#8200db}.btn_settings[data-v-7ee59a9a]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-7ee59a9a]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-7ee59a9a]{transform:rotate(90deg)}@keyframes bganimation-7ee59a9a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7ee59a9a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7ee59a9a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7ee59a9a]{animation:rotateEnter-7ee59a9a .7s;position:relative}.rotate-leave-active[data-v-7ee59a9a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7ee59a9a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-7ee59a9a]{margin:10px 0}}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-5f5fb500]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-5f5fb500]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-5f5fb500]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-5f5fb500]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-5f5fb500]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-5f5fb500]{flex:auto}.action.format .disk-list[data-v-5f5fb500]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-5f5fb500]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-5f5fb500]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-5f5fb500]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-5f5fb500]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-5f5fb500]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-5f5fb500],.action.format .label-item .label-item_value input[data-v-5f5fb500]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-5f5fb500]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-5f5fb500]{flex:auto}.action.format p.msg[data-v-5f5fb500]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-5f5fb500]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-5f5fb500]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-5f5fb500]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-5f5fb500]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-5f5fb500]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-5f5fb500]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-5f5fb500]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-5f5fb500]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-5f5fb500]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-5f5fb500]{color:#0000fb}.action.result .btns[data-v-5f5fb500]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-4e7285ca]{color:red}.disk-content[data-v-4e7285ca]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-4e7285ca]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-4e7285ca]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-4e7285ca]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-4e7285ca]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-4e7285ca]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-4e7285ca]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-4e7285ca]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-4e7285ca]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-4e7285ca]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-4e7285ca]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-4e7285ca]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-4e7285ca]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-4e7285ca]{display:flex;align-items:center}.disk_infoicon[data-v-4e7285ca]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-4e7285ca]{flex:none}.tooltip-trigger[data-v-4e7285ca]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-4e7285ca]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-4e7285ca]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-4e7285ca]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-4e7285ca]{visibility:visible;opacity:1}.tooltip-top[data-v-4e7285ca]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-4e7285ca]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-4e7285ca]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-4e7285ca]{display:block}.disk-content .disk_status[data-v-4e7285ca]{flex-wrap:wrap}}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-56d0d562]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-56d0d562]{overflow:auto}.action ul .app-container_info[data-v-56d0d562]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-56d0d562]{width:100%;height:100%}.action .action-footer[data-v-56d0d562]{text-align:center;margin-top:46px}.action .action-footer button[data-v-56d0d562]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-56d0d562]{width:160%}}@media screen and (max-width: 800px){.action[data-v-56d0d562]{width:138%}}@media screen and (max-width: 700px){.action[data-v-56d0d562]{width:132%}}@media screen and (max-width: 600px){.action[data-v-56d0d562]{width:116%}}@media screen and (max-width: 500px){.action[data-v-56d0d562]{width:100%}}@media screen and (max-width: 400px){.action[data-v-56d0d562]{width:90%}}@media screen and (max-width: 300px){.action[data-v-56d0d562]{width:100%}}.progress-bar-wrapper[data-v-2691c876]{width:100%;margin-bottom:0}.progress-bar[data-v-2691c876]{width:100%;position:relative;box-shadow:inset 0 1px 3px #0000001a}.progress-fill[data-v-2691c876]{display:flex;align-items:center;justify-content:flex-end;padding-right:8px;box-sizing:border-box}.percentage-text[data-v-2691c876]{color:#fff;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.3);white-space:nowrap;line-height:1}@media (max-width: 768px){.percentage-text[data-v-2691c876]{font-size:10px;padding-right:4px}}@media (prefers-color-scheme: dark){.progress-bar[data-v-2691c876]{box-shadow:inset 0 1px 3px #ffffff1a}}@keyframes bganimation-bf7bcc14{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bf7bcc14{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bf7bcc14{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bf7bcc14]{animation:rotateEnter-bf7bcc14 .7s;position:relative}.rotate-leave-active[data-v-bf7bcc14]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bf7bcc14]{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-bf7bcc14]{color:red}li.disk-item[data-v-bf7bcc14]{width:100%;margin:0 0 1rem}li.disk-item .disk-item_name[data-v-bf7bcc14]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk-item_name>span[data-v-bf7bcc14]{color:#6a7280}li.disk-item .disk_icon[data-v-bf7bcc14]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-bf7bcc14]{display:flex;justify-content:flex-end}li.disk-item .disk_value .disk-item_value[data-v-bf7bcc14]{flex:auto;position:relative;cursor:help;display:flex;align-items:center}li.disk-item .disk_value .disk-item_value .value-data[data-v-bf7bcc14]{width:100%;text-overflow:ellipsis;white-space:nowrap}li.disk-item .disk_value .disk-item_value .value-data>div[data-v-bf7bcc14]{margin-top:10px;display:flex;justify-content:space-between}li.disk-item .disk_value .disk-item_value .value-data button[data-v-bf7bcc14]{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-bf7bcc14]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-bf7bcc14]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:30%;right:30%;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-bf7bcc14]: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-bf7bcc14]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-bf7bcc14]{margin-left:10px;cursor:pointer;margin-bottom:10px}.tooltip-trigger[data-v-bf7bcc14]{flex:none;cursor:help}.tooltip-trigger[data-v-bf7bcc14]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-bf7bcc14]{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-bf7bcc14]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-bf7bcc14]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-bf7bcc14]{visibility:visible;opacity:1}.tooltip-top[data-v-bf7bcc14]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-bf7bcc14]: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-bf7bcc14]: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-30806f07{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30806f07{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30806f07{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30806f07]{animation:rotateEnter-30806f07 .7s;position:relative}.rotate-leave-active[data-v-30806f07]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30806f07]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-30806f07]{width:1.3rem;height:1.3rem}.icon1[data-v-30806f07]{width:1rem;height:1rem}[data-v-30806f07] .folderIcon path{fill:var(--app-container_title-color)!important}a[data-v-30806f07]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content .disk_loading_icon[data-v-30806f07]{height:100px;display:flex;flex-direction:column;align-items:center;padding:10px}.content .disk_loading_icon .disk_loading_info[data-v-30806f07]{font-size:16px;color:#333;margin-top:12px}.content .line[data-v-30806f07]{height:1px;background:var(--btn-border-color);margin:0}.content .item[data-v-30806f07]{display:flex;margin-top:8px;padding:10px}.content .item .icon_box[data-v-30806f07]{width:1.5rem;height:1.5rem;background:#dbeafe;display:flex;align-items:center;justify-content:center;border-radius:4px}.content .item .icon_box .icon[data-v-30806f07]{width:.8rem;height:.8rem}.content .item .info[data-v-30806f07]{flex:1}.content .item .info .name[data-v-30806f07]{display:flex;justify-content:space-between;align-items:center;margin-left:12px;margin-top:6px}.content .item .info .name>div[data-v-30806f07]{font-size:14px;color:var(--app-container_title-color)}.content .item .info .name>span[data-v-30806f07]{display:inline-flex;align-items:center;padding:4px 6px;line-height:1;border:1px solid #d8e3db;background:#f0fdf4;border-radius:4px;color:#008236;font-size:12px;font-weight:400}.content .item .info .name>span .icon[data-v-30806f07]{width:.7rem;height:.7rem;margin-right:4px}.content .item .info .schedule[data-v-30806f07]{margin-top:12px}.content .item .info .schedule span[data-v-30806f07]{font-size:12px;color:#6a7280;font-weight:400}.content .item .info .schedule>div[data-v-30806f07]{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.btn_settings[data-v-30806f07]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-30806f07]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-30806f07]{transform:rotate(90deg)}@keyframes bganimation-30806f07{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30806f07{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30806f07{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30806f07]{animation:rotateEnter-30806f07 .7s;position:relative}.rotate-leave-active[data-v-30806f07]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30806f07]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content .item[data-v-30806f07]{margin-top:0}.content .line[data-v-30806f07]{height:1px;background:#e5e7eb;margin:0 0 10px}}@keyframes bganimation-5d803f28{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5d803f28{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5d803f28{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5d803f28]{animation:rotateEnter-5d803f28 .7s;position:relative}.rotate-leave-active[data-v-5d803f28]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5d803f28]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-5d803f28]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-5d803f28]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.docker-item .docker-item_value[data-v-5d803f28]{flex:0 0 100%;max-width:50%;padding-left:10px;display:flex;justify-content:flex-end;align-items:center}li.docker-item .docker-item_value .configure[data-v-5d803f28]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-5d803f28]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-5d803f28]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.tooltip-trigger[data-v-5d803f28]{position:relative;display:inline-block;cursor:help}.tooltip-trigger .tooltip-text[data-v-5d803f28]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-5d803f28]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-5d803f28]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-5d803f28]{visibility:visible;opacity:1}.tooltip-top[data-v-5d803f28]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-5d803f28]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-5d803f28]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-5d803f28]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-5d803f28]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-5d803f28]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-5d803f28]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-5d803f28]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-5d803f28]{background-color:#52c41a;transition:.3s}.input-switch span.enable em[data-v-5d803f28]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-5d803f28]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-5d803f28]{transform:translate(0);transition:.3s}.content[data-v-5d803f28]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .status[data-v-5d803f28]{display:flex;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #e8e8e8;margin:0 6px}.content .docker_box[data-v-5d803f28]{display:flex;align-items:center;justify-content:space-between;margin:20px 6px}.content .docker_box .title[data-v-5d803f28]{margin-bottom:20px}.content .docker_box .path[data-v-5d803f28]{flex:1;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .docker_num[data-v-5d803f28]{display:flex}.content .docker_num .num_item[data-v-5d803f28]{flex:1;display:flex;justify-content:center;align-items:center;flex-direction:column;color:var(--app-container_title-color)}.content .docker_num .num_item>span[data-v-5d803f28]{font-size:20px;margin-top:6px}.docker_tip svg[data-v-5d803f28]{vertical-align:bottom;margin-left:14px;width:1.5em;height:1.5em}.status-icon[data-v-5d803f28]{display:inline-block;margin-left:10px;font-size:12px;color:#008236;padding:4px 6px;background:#dbfce7;border-radius:6px}@keyframes bganimation-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-faa89494{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-faa89494{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-faa89494{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-faa89494]{animation:rotateEnter-faa89494 .7s;position:relative}.rotate-leave-active[data-v-faa89494]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-faa89494]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-faa89494]{width:1.3rem;height:1.3rem}.icon1[data-v-faa89494]{width:1rem;height:1rem}[data-v-faa89494] .dockerIcon path{fill:var(--app-container_title-color)!important}a[data-v-faa89494]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-faa89494]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.btn_settings[data-v-faa89494]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-faa89494]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-faa89494]{transform:rotate(90deg)}@keyframes bganimation-faa89494{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-faa89494{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-faa89494{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-faa89494]{animation:rotateEnter-faa89494 .7s;position:relative}.rotate-leave-active[data-v-faa89494]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-faa89494]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-faa89494]{margin:10px 0}}.pie-chart-wrapper[data-v-a9cd39ac]{position:relative;display:flex;align-items:center;justify-content:center}.chart-dom[data-v-a9cd39ac]{width:100%;height:100%}.center-content[data-v-a9cd39ac]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:2;pointer-events:none}.center-icon[data-v-a9cd39ac]{width:20px;height:20px;margin-bottom:4px;display:block;margin-left:auto;margin-right:auto}.center-label[data-v-a9cd39ac]{margin-top:4px;font-size:14px;font-weight:600}@keyframes bganimation-0aa90746{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0aa90746{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0aa90746{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0aa90746]{animation:rotateEnter-0aa90746 .7s;position:relative}.rotate-leave-active[data-v-0aa90746]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0aa90746]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-0aa90746]{width:1.3rem;height:1.3rem}.icon1[data-v-0aa90746]{width:2rem;height:2rem;margin-bottom:8px}[data-v-0aa90746] .computerIcon path{fill:var(--app-container_title-color)!important}a[data-v-0aa90746]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-0aa90746]{color:#333;margin-top:20px;margin-bottom:20px;padding:0 10px;font-weight:400}.content .chart_box[data-v-0aa90746]{padding-bottom:20px;border-bottom:1px solid var(--btn-border-color);margin-bottom:20px;display:flex}.content .chart_box .chart[data-v-0aa90746]{flex:1;display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.content .chart_box .chart>div[data-v-0aa90746]{margin-top:4px}.content .info[data-v-0aa90746]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.content .info .item[data-v-0aa90746]{display:flex;justify-content:center}.content .info .item>div[data-v-0aa90746]{color:var(--app-container_title-color)}.content .info .item>span[data-v-0aa90746]{color:var(--app-container_status-label_block);font-size:16px;line-height:1}.content .info .item1[data-v-0aa90746]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:20px;padding:30px}.content .info .item1>div[data-v-0aa90746]{display:flex;align-items:center;margin-bottom:8px}.content .info .item1>div>span[data-v-0aa90746]{margin-left:8px}.content .info .bgcolor1[data-v-0aa90746]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-0aa90746]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}@keyframes bganimation-0aa90746{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0aa90746{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0aa90746{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0aa90746]{animation:rotateEnter-0aa90746 .7s;position:relative}.rotate-leave-active[data-v-0aa90746]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0aa90746]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-0aa90746]{margin-top:10px;margin-bottom:10px;padding:0 4px}.content .chart_box[data-v-0aa90746]{padding-bottom:10px;margin-bottom:10px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.content .chart_box[data-v-0aa90746]::-webkit-scrollbar{display:none}.content .info[data-v-0aa90746]{grid-template-columns:repeat(1,1fr);gap:6px}.content .info .item1[data-v-0aa90746]{margin-top:6px;padding:10px}.content .info .bgcolor1[data-v-0aa90746]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-0aa90746]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}}@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}.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-cd964ae0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-cd964ae0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-cd964ae0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-cd964ae0]{animation:rotateEnter-cd964ae0 .7s;position:relative}.rotate-leave-active[data-v-cd964ae0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-cd964ae0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container .card-container[data-v-cd964ae0]{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:16px;width:100%;padding-bottom:10px}.page-container .card-container[data-v-cd964ae0]::-webkit-scrollbar{height:6px}.page-container .card-container[data-v-cd964ae0]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.page-container .network-container[data-v-cd964ae0]{display:flex;gap:24px;width:100%;margin-top:20px;align-items:stretch}.page-container .network-container .left-box[data-v-cd964ae0]{flex:2;min-width:0}.page-container .network-container .right-box[data-v-cd964ae0]{flex:1;overflow:hidden;min-width:0}.page-container .align-c[data-v-cd964ae0]{align-items:center}.page-container .other-container[data-v-cd964ae0]{width:100%;margin-top:20px}.page-container .other-container .grid-container[data-v-cd964ae0]{display:flex;flex-wrap:wrap;gap:24px}.page-container .other-container .grid-container .grid-item[data-v-cd964ae0]{display:flex;align-items:center;justify-content:center;border-radius:8px}.page-container .btns[data-v-cd964ae0]{margin-top:20px}.page-container .system[data-v-cd964ae0]{margin-top:24px}@keyframes bganimation-cd964ae0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-cd964ae0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-cd964ae0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-cd964ae0]{animation:rotateEnter-cd964ae0 .7s;position:relative}.rotate-leave-active[data-v-cd964ae0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-cd964ae0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1300px){.page-container .other-container[data-v-cd964ae0]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-cd964ae0]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-cd964ae0]{border-radius:6px}}@keyframes bganimation-cd964ae0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-cd964ae0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-cd964ae0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-cd964ae0]{animation:rotateEnter-cd964ae0 .7s;position:relative}.rotate-leave-active[data-v-cd964ae0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-cd964ae0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.page-container .card-container[data-v-cd964ae0]{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:16px;scrollbar-width:none;-ms-overflow-style:none}.page-container .card-container>*[data-v-cd964ae0]{flex:0 0 auto;min-width:280px}.page-container .card-container[data-v-cd964ae0]::-webkit-scrollbar{display:none}.page-container .network-container[data-v-cd964ae0]{flex-direction:column;margin-top:10px;gap:10px}.page-container .network-container .right-box[data-v-cd964ae0]{flex:none;width:100%}.page-container .other-container[data-v-cd964ae0]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-cd964ae0]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-cd964ae0]{border-radius:6px}}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0b149a51]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-0b149a51]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-0b149a51]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-0b149a51]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-0b149a51]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-0b149a51]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-0b149a51]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-0b149a51]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-0b149a51]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-0b149a51]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-0b149a51]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-0b149a51]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-0b149a51]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-0b149a51]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-0b149a51]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-0b149a51]{background-color:#439c07}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-f442676c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f442676c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f442676c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f442676c]{animation:rotateEnter-f442676c .7s;position:relative}.rotate-leave-active[data-v-f442676c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f442676c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-f442676c]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-f442676c]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-f442676c]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-f442676c]{margin:.5rem 0}#page .network-message li[data-v-f442676c]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-f442676c]{color:red}#page .network-message li a[data-v-f442676c]{color:#00f}#page form[data-v-f442676c]{display:block;width:100%;margin:3rem 0}#page form label[data-v-f442676c]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-f442676c]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-f442676c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-f442676c]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-f442676c]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-f442676c]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-f442676c]{margin-left:10px;user-select:none}#page .msg[data-v-f442676c]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-f442676c]{width:100%;margin-top:3rem}#page .btns button[data-v-f442676c]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-162eca5f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-162eca5f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-162eca5f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-162eca5f]{animation:rotateEnter-162eca5f .7s;position:relative}.rotate-leave-active[data-v-162eca5f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-162eca5f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-162eca5f]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-162eca5f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-162eca5f]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-162eca5f]{margin:.5rem 0}#page .network-message li[data-v-162eca5f]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-162eca5f]{color:red}#page .network-message li a[data-v-162eca5f]{color:#00f}#page form[data-v-162eca5f]{display:block;width:100%;margin:3rem 0}#page form label[data-v-162eca5f]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-162eca5f]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-162eca5f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-162eca5f]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-162eca5f],#page form label select[data-v-162eca5f]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-162eca5f]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-162eca5f]{margin-left:10px;user-select:none}#page .msgs[data-v-162eca5f]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-162eca5f]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-162eca5f]{width:100%;margin-top:3rem}#page .btns button[data-v-162eca5f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-2dee59a8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2dee59a8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2dee59a8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2dee59a8]{animation:rotateEnter-2dee59a8 .7s;position:relative}.rotate-leave-active[data-v-2dee59a8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2dee59a8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-2dee59a8]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-2dee59a8]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-2dee59a8]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-2dee59a8]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-2dee59a8]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-2dee59a8]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-2dee59a8]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-2dee59a8]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-2dee59a8]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-2dee59a8]{display:block;width:100%;margin:3rem 0}#page form label[data-v-2dee59a8]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-2dee59a8]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-2dee59a8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-2dee59a8]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-2dee59a8],#page form label select[data-v-2dee59a8]{width:100%;display:block;height:42px}.switch_inline[data-v-2dee59a8]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-2dee59a8]{margin-left:10px;user-select:none}@keyframes bganimation-77451104{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77451104{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77451104{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77451104]{animation:rotateEnter-77451104 .7s;position:relative}.rotate-leave-active[data-v-77451104]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77451104]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-77451104]{line-height:22px;font-size:14px}.label-item[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77451104]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77451104]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77451104]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-77451104],.label-item .label-item_value input[data-v-77451104]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-77451104]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-77451104]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-77451104]{top:0}.label-item .label-item_tips[data-v-77451104]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77451104]{vertical-align:top}span.msg-warning[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-77451104]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-77451104]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-77451104]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-77451104]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-77451104]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-77451104]{display:block}.actioner-container_body.setup-success .body-tips[data-v-77451104]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-77451104]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-77451104]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5ec616d8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ec616d8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ec616d8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ec616d8]{animation:rotateEnter-5ec616d8 .7s;position:relative}.rotate-leave-active[data-v-5ec616d8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ec616d8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-5ec616d8]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-70cb932e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70cb932e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70cb932e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70cb932e]{animation:rotateEnter-70cb932e .7s;position:relative}.rotate-leave-active[data-v-70cb932e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70cb932e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-70cb932e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-70cb932e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-70cb932e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-70cb932e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-70cb932e]{width:100%}.label-item .label-item_value select[data-v-70cb932e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-70cb932e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-70cb932e]{top:0;margin:0}.label-item .label-item_tips[data-v-70cb932e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-70cb932e]{vertical-align:top}span.msg-warning[data-v-70cb932e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-56c0f6fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56c0f6fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56c0f6fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56c0f6fb]{animation:rotateEnter-56c0f6fb .7s;position:relative}.rotate-leave-active[data-v-56c0f6fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56c0f6fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-56c0f6fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-56c0f6fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-56c0f6fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-56c0f6fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-56c0f6fb]{width:100%}.label-item .label-item_value select[data-v-56c0f6fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-56c0f6fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-56c0f6fb]{top:0;margin:0}.label-item .label-item_tips[data-v-56c0f6fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-56c0f6fb]{vertical-align:top}span.msg-warning[data-v-56c0f6fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-0586260e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0586260e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0586260e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0586260e]{animation:rotateEnter-0586260e .7s;position:relative}.rotate-leave-active[data-v-0586260e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0586260e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-0586260e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-0586260e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-0586260e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-0586260e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-0586260e]{width:100%}.label-item .label-item_value select[data-v-0586260e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-0586260e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-0586260e]{top:0;margin:0}.label-item .label-item_tips[data-v-0586260e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-0586260e]{vertical-align:top}span.msg-warning[data-v-0586260e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-e20ba082]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-e20ba082] .actioner-container{width:100%}.action-main[data-v-e20ba082] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-e20ba082] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-e20ba082]{width:90%}}@keyframes bganimation-f1411b40{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f1411b40{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f1411b40{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f1411b40]{animation:rotateEnter-f1411b40 .7s;position:relative}.rotate-leave-active[data-v-f1411b40]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f1411b40]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-f1411b40]{margin-bottom:32px}.item-status[data-v-f1411b40]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-f1411b40]{text-decoration:underline;cursor:help}@keyframes bganimation-2b6b4ef9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b6b4ef9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b6b4ef9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b6b4ef9]{animation:rotateEnter-2b6b4ef9 .7s;position:relative}.rotate-leave-active[data-v-2b6b4ef9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b6b4ef9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2b6b4ef9]{margin-bottom:1rem}#page[data-v-2b6b4ef9] .cbi-section{padding:1rem}#page[data-v-2b6b4ef9] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-f3b0d6f0]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-f3b0d6f0] .actioner-container{width:100%}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-f3b0d6f0]{width:90%}}@keyframes bganimation-abf07ee0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-abf07ee0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-abf07ee0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-abf07ee0]{animation:rotateEnter-abf07ee0 .7s;position:relative}.rotate-leave-active[data-v-abf07ee0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-abf07ee0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-abf07ee0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-4a646cde{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a646cde{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a646cde{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a646cde]{animation:rotateEnter-4a646cde .7s;position:relative}.rotate-leave-active[data-v-4a646cde]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a646cde]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-4a646cde]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-997c3dee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-997c3dee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-997c3dee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-997c3dee]{animation:rotateEnter-997c3dee .7s;position:relative}.rotate-leave-active[data-v-997c3dee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-997c3dee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-997c3dee]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-17b89cb7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17b89cb7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17b89cb7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17b89cb7]{animation:rotateEnter-17b89cb7 .7s;position:relative}.rotate-leave-active[data-v-17b89cb7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17b89cb7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-17b89cb7]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-17b89cb7]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-17b89cb7]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-17b89cb7]{font-weight:700;font-size:14px}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-6f6071af]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-6f6071af]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-6f6071af]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-6f6071af]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-6f6071af]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-6f6071af],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-6f6071af]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-6f6071af]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-6f6071af]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-6f6071af]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-6f6071af]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-6f6071af]{width:100%}}@keyframes bganimation-4ec945e0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4ec945e0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4ec945e0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4ec945e0]{animation:rotateEnter-4ec945e0 .7s;position:relative}.rotate-leave-active[data-v-4ec945e0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4ec945e0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 170px;height:80px;justify-content:start}[data-v-4ec945e0] .interface-device-flex{justify-content:start}.container[data-v-4ec945e0]{width:100%;overflow-x:auto}.container .table-wrapper[data-v-4ec945e0]{min-width:1280px;width:max-content}.container .table-wrapper .table-body[data-v-4ec945e0]{display:flex;flex-direction:column;min-width:100%}.container .table-wrapper .table-header[data-v-4ec945e0]{display:flex;border-bottom:2px solid #e5e7eb;background-color:#f8fafc;padding-left:10px}.container .table-wrapper .table-row[data-v-4ec945e0]{display:flex;min-width:100%;align-items:center;border-bottom:1px solid #e5e7eb;transition:background-color .2s}.container .table-wrapper .table-row[data-v-4ec945e0]:hover{background-color:#f3f4f6}.container .table-wrapper .add-row[data-v-4ec945e0]{cursor:pointer}.container .table-wrapper .add-row[data-v-4ec945e0]:hover{background-color:#f0f9ff}.container .table-wrapper .table-cell[data-v-4ec945e0]{padding:12px 16px;box-sizing:border-box;display:flex;justify-content:center}.container .table-wrapper .device-col[data-v-4ec945e0]{flex:0 0 200px;min-width:200px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:first-of-type{flex:0 0 10px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:last-of-type{flex:0 0 32px}.container .table-wrapper .name-col[data-v-4ec945e0]{flex:0 0 150px;min-width:150px;text-align:left}.container .table-wrapper .action-col[data-v-4ec945e0]{flex:0 0 auto;text-align:right;min-width:160px}.container .table-wrapper .icon[data-v-4ec945e0]{width:48px;height:100%;cursor:pointer}.container .table-wrapper .interface-device-flex[data-v-4ec945e0]{display:flex;justify-content:center;width:100%}.container .cbi-page-actions[data-v-4ec945e0]{margin-top:20px;display:flex;justify-content:flex-end}@media (max-width: 768px){.container[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 80px;width:120px;height:80px;justify-content:start}.container .table-wrapper[data-v-4ec945e0]{min-width:100%}.container .table-cell[data-v-4ec945e0]{padding:8px 12px}.container .device-col[data-v-4ec945e0]{flex:0 0 120px!important;min-width:120px!important;margin-right:16px}.container .name-col[data-v-4ec945e0]{flex:0 0 80px!important;min-width:80px!important}.container .action-col[data-v-4ec945e0]{min-width:120px}.container .interface-device-flex[data-v-4ec945e0]{flex-direction:column;gap:4px}}tr>td,tr>th,.tr>.td,.tr>.th,.cbi-section-table-row:before,#cbi-wireless>#wifi_assoclist_table>.tr:nth-child(2){border:none}@keyframes bganimation-2c8ecf89{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c8ecf89{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c8ecf89{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c8ecf89]{animation:rotateEnter-2c8ecf89 .7s;position:relative}.rotate-leave-active[data-v-2c8ecf89]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c8ecf89]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-table-container[data-v-2c8ecf89]{width:100%;font-size:14px;color:var(--flow-span-color)}.custom-table-container input[data-v-2c8ecf89]{margin:0}.custom-table-container .custom-table-wrapper[data-v-2c8ecf89]{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.custom-table-container .custom-table[data-v-2c8ecf89]{width:100%;border-collapse:collapse;table-layout:auto}.custom-table-container .custom-table thead[data-v-2c8ecf89]{border-radius:8px!important;background:#F8F8F8}.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{color:var(--flow-span-color)!important;font-weight:500!important;border:none!important;padding:18px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]{background:transparent;border-bottom:1px solid #f8f8f8!important}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]:last-child{border-bottom:none!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:24px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr:hover td[data-v-2c8ecf89]{background-color:#00000005!important}.custom-table-container .custom-table tbody tr.empty-row td[data-v-2c8ecf89]{text-align:center!important;padding:30px 0!important;color:#c98d8d66!important;border-bottom:none!important}.custom-table-container .custom-table .selection-header[data-v-2c8ecf89],.custom-table-container .custom-table .selection-cell[data-v-2c8ecf89]{width:50px!important;min-width:50px!important;text-align:center!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:0 8px}.custom-table-container .pagination-wrapper .pagination-info[data-v-2c8ecf89]{color:#0009;font-size:13px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:32px;height:32px;margin:0 4px;padding:0 8px;background:#fff;color:#000000a6;cursor:pointer;transition:all .3s}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:hover:not(:disabled){color:#1890ff;border-color:#1890ff}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.custom-table-container .pagination-wrapper .pagination-controls button.active[data-v-2c8ecf89]{color:#fff;background-color:#1890ff;border-color:#1890ff}@media (max-width: 768px){.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{padding:8px 4px!important;font-size:13px!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:12px 4px!important;font-size:13px!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{flex-direction:column;align-items:flex-start;gap:12px}.custom-table-container .pagination-wrapper .pagination-controls[data-v-2c8ecf89]{display:flex;flex-wrap:wrap;gap:4px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:28px;height:28px;margin:0;padding:0 6px;font-size:13px}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.del-button[data-v-d28f7d82]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 15px;font-size:14px;border-radius:4px}.add-button--danger[data-v-d28f7d82]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-d28f7d82]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-d28f7d82]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.del-button--danger[data-v-d28f7d82]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-d28f7d82]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-d28f7d82]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.search_box[data-v-d28f7d82]{width:350px}.search_box .search_container[data-v-d28f7d82]{display:flex;align-items:center;gap:8px}.search_box .search_container .search_input_wrapper[data-v-d28f7d82]{position:relative;flex-grow:1}.search_box .search_container .search_input_wrapper .search_icon[data-v-d28f7d82]{position:absolute;right:10px;top:50%;transform:translateY(-50%);fill:#000c;cursor:pointer}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]{width:100%;padding:4px 35px 4px 12px;border-radius:4px;border:1px solid rgba(0,0,0,.6);font-size:14px;outline:none;transition:border-color .3s;color:#222;background:transparent}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]:focus{border-color:#4a90e2}.search_box .search_container .refresh_button[data-v-d28f7d82]{background:none;border:none;cursor:pointer;padding:8px;border-radius:50%;transition:background-color .3s;display:flex;align-items:center;justify-content:center}.search_box .search_container .refresh_button[data-v-d28f7d82]:hover{background-color:#f0f0f0}.search_box .search_container .refresh_button .refresh_icon[data-v-d28f7d82]{fill:#000c;transition:transform .3s}.search_box .search_container .refresh_button.rotate .refresh_icon[data-v-d28f7d82]{animation:spin-d28f7d82 1s linear infinite}@keyframes spin-d28f7d82{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.search_box[data-v-d28f7d82]{width:80%}.del-button[data-v-d28f7d82]{padding:6px 8px}}@keyframes bganimation-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-1c110960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c110960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c110960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c110960]{animation:rotateEnter-1c110960 .7s;position:relative}.rotate-leave-active[data-v-1c110960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c110960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-1c110960]{position:relative}.custom-content .img_box[data-v-1c110960]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-1c110960]{width:100%;height:100%}.custom-content .IP_address[data-v-1c110960]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-1c110960]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-1c110960]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-1c110960]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-1c110960]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-1c110960]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-1c110960]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-1c110960]{width:140px;text-align:right}.del-button[data-v-1c110960]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-1c110960]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-1c110960]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-1c110960]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-1c110960]{opacity:.5;cursor:not-allowed}@keyframes bganimation-1c110960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c110960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c110960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c110960]{animation:rotateEnter-1c110960 .7s;position:relative}.rotate-leave-active[data-v-1c110960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c110960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-15068472{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-15068472{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-15068472{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-15068472]{animation:rotateEnter-15068472 .7s;position:relative}.rotate-leave-active[data-v-15068472]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-15068472]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.dialog-overlay[data-v-15068472]{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:16px}.dialog-container[data-v-15068472]{background-color:#fff;border-radius:12px;padding:16px;width:100%;max-width:400px;box-shadow:0 4px 12px #00000026}.dialog-container .dialog-title[data-v-15068472]{margin:0 0 20px;font-size:1.2rem;font-weight:500;color:#333;text-align:left}.dialog-container .dialog-message[data-v-15068472]{margin:20px 0;font-size:1rem;color:#666;text-align:center}.dialog-container .loading-animation[data-v-15068472]{margin:20px 0}.dialog-container .loading-animation .spinner[data-v-15068472]{width:40px;height:40px;margin:0 auto;border:4px solid rgba(110,72,170,.2);border-radius:50%;border-top-color:#8d78fa;animation:spin-15068472 1s linear infinite}.dialog-container .dialog-button[data-v-15068472]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s;margin:0 auto;display:block}.dialog-container .dialog-button[data-v-15068472]:hover{background-color:#553afe;opacity:.9}.dialog-container .dialog-button[data-v-15068472]:active{transform:scale(.98)}.dialog-container .warning-message[data-v-15068472]{display:flex;gap:8px;background-color:#fff8e1;border-left:4px solid #FFC107;padding:12px;margin-bottom:20px;border-radius:4px;font-size:.9rem;color:#333;text-align:left}.dialog-container .warning-message .warning-icon[data-v-15068472]{flex-shrink:0;width:20px;height:20px;color:#ffa000}.dialog-container .input-group[data-v-15068472]{margin-bottom:16px;text-align:left}.dialog-container .input-group label[data-v-15068472]{display:block;margin-bottom:8px;font-size:.95rem;color:#333}.dialog-container .input-group .tag-input[data-v-15068472]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .2s}.dialog-container .input-group .tag-input[data-v-15068472]:focus{outline:none;border-color:#6e48aa}.dialog-container .button-group[data-v-15068472]{display:flex;justify-content:flex-end;gap:12px}.dialog-container .button-group .cancel-button[data-v-15068472]{background-color:#fff;color:#333;border:1px solid #ddd;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .cancel-button[data-v-15068472]:hover{background-color:#e0e0e0}.dialog-container .button-group .cancel-button[data-v-15068472]:active{transform:scale(.98)}.dialog-container .button-group .confirm-button[data-v-15068472]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .confirm-button[data-v-15068472]:hover{background-color:#553afe;opacity:.9}.dialog-container .button-group .confirm-button[data-v-15068472]:active{transform:scale(.98)}.tag-dialog[data-v-15068472]{max-width:500px}.fade-enter-active[data-v-15068472],.fade-leave-active[data-v-15068472]{transition:opacity .3s ease}.fade-enter-from[data-v-15068472],.fade-leave-to[data-v-15068472]{opacity:0}@keyframes spin-15068472{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-circle-15068472{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}@keyframes icon-line-tip-15068472{0%{width:0;left:1px;top:15px}54%{width:0;left:1px;top:15px}70%{width:40px;left:-6px;top:30px}84%{width:14px;left:17px;top:38px}to{width:12px;left:8px;top:22px}}@keyframes icon-line-long-15068472{0%{width:0;right:37px;top:43px}65%{width:0;right:37px;top:43px}84%{width:44px;right:0;top:28px}to{width:20px;right:8px;top:20px}}@media (max-width: 480px){.dialog-container[data-v-15068472]{padding:16px}.dialog-container .dialog-title[data-v-15068472]{font-size:1.1rem;margin-bottom:16px}.dialog-container .dialog-message[data-v-15068472]{font-size:.95rem;margin:16px 0}.dialog-container .warning-message[data-v-15068472]{font-size:.85rem;padding:10px}.dialog-container .input-group[data-v-15068472]{margin-bottom:20px}.dialog-container .input-group label[data-v-15068472]{font-size:.9rem}.dialog-container .input-group .tag-input[data-v-15068472]{padding:8px 10px;font-size:.95rem}.dialog-container .button-group[data-v-15068472]{gap:8px}.dialog-container .button-group .cancel-button[data-v-15068472],.dialog-container .button-group .confirm-button[data-v-15068472]{padding:4px 16px;font-size:.95rem}.dialog-container .loading-animation .spinner[data-v-15068472]{width:36px;height:36px}}@keyframes bganimation-66e54129{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66e54129{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66e54129{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66e54129]{animation:rotateEnter-66e54129 .7s;position:relative}.rotate-leave-active[data-v-66e54129]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66e54129]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.add-button[data-v-66e54129]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 12px;font-size:14px;border-radius:4px}.add-button--danger[data-v-66e54129]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-66e54129]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-66e54129]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-66e54129]{opacity:.5;cursor:not-allowed}.tab-container[data-v-66e54129]{display:flex;flex-direction:row;width:100%;margin:0 auto;border-radius:8px;overflow:hidden}@media (max-width: 768px){.tab-container[data-v-66e54129]{flex-direction:column}}.tab-header[data-v-66e54129]{display:flex;flex-direction:column;width:120px}@media (max-width: 768px){.tab-header[data-v-66e54129]{flex-direction:row;width:100%;overflow-x:auto;white-space:nowrap}}.tab-button[data-v-66e54129]{padding:12px 16px;text-align:left;border:none;background:transparent!important;cursor:pointer;font-size:14px;color:var(--flow-span-color);transition:all .3s ease;border-radius:8px 0 0 8px}.tab-button[data-v-66e54129]:hover{background:var(--tag-bg-color)!important}.tab-button.active[data-v-66e54129]{background:var(--tag-bg-color)!important;font-weight:500;margin:0}@media (max-width: 768px){.tab-button[data-v-66e54129]{border-radius:8px 8px 0 0;text-align:center;flex:1;min-width:max-content}.tab-button.active[data-v-66e54129]{border-radius:8px 8px 0 0}}.tab-content_g[data-v-66e54129]{flex:1;padding:20px;background:var(--tag-bg-color);border-radius:0 8px 8px 0;min-height:60vh}.tab-content_g .not_installed[data-v-66e54129]{display:flex;flex-direction:column;align-items:center}.tab-content_g .not_installed>span[data-v-66e54129]{color:var(--tit-color);margin:20px 0}.tab-content_g .not_installed .not_installed_btn[data-v-66e54129]{padding:6px 16px;background:#553AFE;border-radius:4px;font-size:14px;color:#fff;cursor:pointer}@media (max-width: 768px){.tab-content_g[data-v-66e54129]{border-radius:0 0 8px 8px}}.item_box[data-v-66e54129]{margin-top:12px;display:flex;align-items:center;color:var(--tit-color)!important}.item_box>input[data-v-66e54129]{width:40%;color:var(--card-box-shadow);background:transparent!important;color:var(--tit-color)!important}@media (max-width: 768px){.item_box>input[data-v-66e54129]{width:70%}}.item_box>input[data-v-66e54129]::placeholder{color:var(--item-label_key-span-color)}.item_box>select[data-v-66e54129]{background:transparent!important;width:40%;color:var(--card-box-shadow)}@media (max-width: 768px){.item_box>select[data-v-66e54129]{width:70%}}.item_box>select>option[data-v-66e54129]{padding:4px 12px!important}.item_box .item_left[data-v-66e54129]{width:140px;text-align:right}@media (max-width: 768px){.item_box .item_left[data-v-66e54129]{width:100px}}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.tab-container[data-v-a5a78984]{margin:0 auto}.tabs_box_g[data-v-a5a78984]{display:flex}.tabs_box_g button[data-v-a5a78984]{padding:14px 24px;border:none;background:none;cursor:pointer;font-size:14px;border-radius:8px 8px 0 0;margin:0;transition:all .3s ease}.tabs_box_g button.active[data-v-a5a78984]{background:var(--card-bg-color);color:#553afe;font-weight:700;position:relative}.tab-content_g[data-v-a5a78984]{background:var(--card-bg-color);padding:16px;border-radius:0 8px 8px}.content-item[data-v-a5a78984]{min-height:60vh}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.tabs_box_g button[data-v-a5a78984]{padding:7px 12px!important}.tab-content_g[data-v-a5a78984]{border-radius:0 0 8px 8px}}@keyframes bganimation-de94d0fe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-de94d0fe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-de94d0fe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-de94d0fe]{animation:rotateEnter-de94d0fe .7s;position:relative}.rotate-leave-active[data-v-de94d0fe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-de94d0fe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-de94d0fe]{width:24px;height:24px;margin-right:6px}.icon1[data-v-de94d0fe]{width:16px;height:16px;margin-right:8px}.icon2[data-v-de94d0fe]{width:20px;height:20px;margin-right:8px}.icon3[data-v-de94d0fe]{width:17px;height:17px;margin-right:8px}.m-20[data-v-de94d0fe]{margin:20px 0!important}[data-v-de94d0fe] .modal-container .modal-header{border-bottom:none;padding-bottom:0;padding-left:20px}[data-v-de94d0fe] .modal-container .modal-header .modal-title{text-align:left}[data-v-de94d0fe] .modal-container .modal-content{padding:0 20px 20px}.item_container[data-v-de94d0fe]{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:24px;font-size:16px}.item_container .item[data-v-de94d0fe]{padding:16px;background:var(--card-bg-color);border-radius:10px}.item_container .item .item_title[data-v-de94d0fe]{display:flex;align-items:center}.item_container .item .item_title>span[data-v-de94d0fe]{color:var(--app-container_title-color);display:inline-block;padding-top:2px}.item_container .item>p[data-v-de94d0fe]{color:#717182;margin-top:10px}.item_container .item .wifi_btn[data-v-de94d0fe]{margin:40px 0;display:flex;justify-content:center}.item_container .item .wifi_btn>div[data-v-de94d0fe]{background:#000;padding:12px 24px;border-radius:6px;display:flex;align-items:center;color:#fff;cursor:pointer;font-size:14px}.item_container .item .wifi_btn>div>span[data-v-de94d0fe]{display:inline-block;padding-top:2px}.item_container .item .wifi_btn .start_btn[data-v-de94d0fe]{padding:10px;width:100%;display:flex;justify-content:center}.item_container .item .progress>p[data-v-de94d0fe]{display:flex;justify-content:space-between;font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .is-bg[data-v-de94d0fe]{opacity:.6;pointer-events:none;cursor:not-allowed}.item_container .item .select_box[data-v-de94d0fe]{margin-top:30px;color:var(--app-container_title-color)}.item_container .item .select_box>select[data-v-de94d0fe]{width:100%;background:#f3f3f5;border-radius:6px;color:var(--app-container_title-color)}.item_container .item .select_box>select.is-placeholder[data-v-de94d0fe]{color:#9aa0a6}.item_container .item .select_box option[disabled][data-v-de94d0fe]{color:#9aa0a6}.item_container .item .select_box option[hidden][data-v-de94d0fe]{display:none}.item_container .item .tip[data-v-de94d0fe]{text-align:center;font-size:14px}.item_container .item .log_info[data-v-de94d0fe]{padding:24px 16px;margin-top:20px;background:black;border-radius:8px;max-height:300px;overflow-y:auto}.item_container .item .log_info[data-v-de94d0fe]::-webkit-scrollbar{height:6px}.item_container .item .log_info[data-v-de94d0fe]::-webkit-scrollbar-thumb{background:#777780;border-radius:6px}.item_container .item .log_info>p[data-v-de94d0fe]{font-size:14px;color:#05df72;margin-bottom:12px}.item_container .item .log_info>p[data-v-de94d0fe]:last-child{margin-bottom:0}.item_container .item .result_box[data-v-de94d0fe]{margin-top:20px}.item_container .item .result_box .result[data-v-de94d0fe]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px}.item_container .item .result_box .result .result_state[data-v-de94d0fe]{display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.item_container .item .result_box .result .result_state>div[data-v-de94d0fe]{margin-bottom:6px;font-weight:700;font-size:18px;letter-spacing:.1em}.item_container .item .result_box .result .result_state .result_txt[data-v-de94d0fe]{font-size:12px}.item_container .item .result_box .result .result_item[data-v-de94d0fe]{background:#ececf0;border-radius:6px;padding:20px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.item_container .item .result_box .result .result_item .result_title[data-v-de94d0fe]{font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .result_box .result .result_item .speed_value[data-v-de94d0fe]{font-size:24px;font-weight:700;letter-spacing:.1em}.item_container .item .result_box .result .result_item .speed_title[data-v-de94d0fe]{font-size:12px}.item_container .item .result_box .result .result_item .icon_speed[data-v-de94d0fe]{width:30px;height:30px;margin-bottom:10px}.item_container .item .result_box .result .result_item .icon_speed1[data-v-de94d0fe]{width:26px;height:26px;margin-bottom:10px}.item_container .item .result_box .result .result_item .unit[data-v-de94d0fe]{color:#717182;display:inline-block;margin-bottom:6px}.custom-content p[data-v-de94d0fe]{color:#717182}.custom-content .address_box[data-v-de94d0fe]{background:#ececf0;border-radius:6px;padding:10px 12px;margin-top:16px;display:flex;justify-content:space-between;align-items:center}.custom-content .address_box>span[data-v-de94d0fe]{font-size:16px}.custom-content .address_box>div[data-v-de94d0fe]{background:#fff;padding:6px 12px;border-radius:4px;cursor:pointer}@keyframes spin-de94d0fe{to{transform:rotate(360deg)}}.icon3-wrap[data-v-de94d0fe]{display:inline-flex;width:17px;height:17px;margin-right:8px;align-items:center;justify-content:center}.icon3-wrap .icon3[data-v-de94d0fe]{width:100%;height:100%}.is-rotating[data-v-de94d0fe]{animation:spin-de94d0fe 1s linear infinite;transform-origin:center;transform-box:fill-box;will-change:transform}.line[data-v-de94d0fe]{height:1px;background:#d9d9d9;margin:20px 0}.status[data-v-de94d0fe]{display:inline-block;padding:4px 12px;color:#fff;border-radius:6px;font-size:12px;margin-bottom:10px}.status_bg1[data-v-de94d0fe]{background:#00c950}.status_bg2[data-v-de94d0fe]{background:#2b7fff}.status_bg3[data-v-de94d0fe]{background:#ef4444}.status_bg4[data-v-de94d0fe]{background:#f0b100}@keyframes bganimation-de94d0fe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-de94d0fe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-de94d0fe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-de94d0fe]{animation:rotateEnter-de94d0fe .7s;position:relative}.rotate-leave-active[data-v-de94d0fe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-de94d0fe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.item_container[data-v-de94d0fe]{grid-template-columns:repeat(1,1fr);grid-gap:12px;padding-bottom:16px}}@keyframes bganimation-63694ef8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63694ef8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-63694ef8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-63694ef8]{animation:rotateEnter-63694ef8 .7s;position:relative}.rotate-leave-active[data-v-63694ef8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63694ef8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-63694ef8]{width:30px;height:30px;margin-right:10px;display:block}.icon[data-v-63694ef8] svg{display:block}.container[data-v-63694ef8]{min-height:87vh}.container .title[data-v-63694ef8]{font-size:16px;margin-bottom:20px;display:flex;justify-content:center;flex-direction:column}.container .title>div[data-v-63694ef8]{display:inline-flex;justify-content:center;align-items:center;line-height:1;margin-bottom:10px}.container .title>div>span[data-v-63694ef8]{color:var(--app-container_title-color);position:relative;top:1px;font-weight:600}.container .title>p[data-v-63694ef8]{text-align:center;color:#717182}@keyframes bganimation-63694ef8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63694ef8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-63694ef8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-63694ef8]{animation:rotateEnter-63694ef8 .7s;position:relative}.rotate-leave-active[data-v-63694ef8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63694ef8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-1f11eeec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f11eeec{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f11eeec{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f11eeec]{animation:rotateEnter-1f11eeec .7s;position:relative}.rotate-leave-active[data-v-1f11eeec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f11eeec]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-1f11eeec]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-1f11eeec]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-1f11eeec]{display:none;align-items:center}.switch-core[data-v-1f11eeec]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-1f11eeec]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-1f11eeec]{opacity:.6;cursor:not-allowed}.switch-button[data-v-1f11eeec]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(20px)}.switch-label[data-v-1f11eeec]{font-size:14px;color:#999}.switch-label.active[data-v-1f11eeec]{color:#409eff}form.form-container[data-v-1f11eeec]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-name[data-v-1f11eeec]{display:block;width:100%;margin-bottom:.5rem;color:var(--item-label_key-span-color)}form.form-container .label-name span[data-v-1f11eeec]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-1f11eeec]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-1f11eeec],form.form-container .label-value select[data-v-1f11eeec]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:var(--item-label_key-span-color);font-size:14px}form.form-container .label-value input>option[data-v-1f11eeec],form.form-container .label-value select>option[data-v-1f11eeec]{color:#8898aa}form.form-container .label-value input[data-v-1f11eeec]:focus,form.form-container .label-value select[data-v-1f11eeec]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-1f11eeec]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-1f11eeec]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-1f11eeec],form.form-container .label-value input[type=radio][data-v-1f11eeec]{width:auto}form.form-container .label-value input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-1f11eeec]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-1f11eeec]::placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]:-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]::-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-btns[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-1f11eeec]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-1f11eeec]{color:#f9ad1e}form.form-container .label-flex[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-1f11eeec]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-1f11eeec]{width:200px!important}.form-item .label-value[data-v-1f11eeec]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-1f11eeec]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-1f11eeec]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-1f11eeec]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-1f11eeec]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-1f11eeec]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-1f11eeec]:hover{opacity:.9;transition:.3}select[data-v-1f11eeec]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-1f11eeec]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-1f11eeec]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-1f11eeec]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-1f11eeec]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-1f11eeec]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-1f11eeec]{color:var(--item-label_key-span-color)}form.form-container .form-item .label-value[data-v-1f11eeec]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-1f11eeec],form.form-container .form-item .label-value select[data-v-1f11eeec]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-1f11eeec]{padding-right:24px}form.form-container .form-item .label-value input[data-v-1f11eeec]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-1f11eeec]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-1f11eeec]{padding-right:16px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-1f11eeec] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-1f11eeec] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-1f11eeec]{display:flex}form.form-container .label-flex label[data-v-1f11eeec]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-1f11eeec]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-1f11eeec]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-1f11eeec]{width:20px;height:20px;right:0}.pc-radio[data-v-1f11eeec],.label-flex[data-v-1f11eeec]{display:none!important}.mobile-switch[data-v-1f11eeec]{display:flex;align-items:center;height:50px}.switch_label[data-v-1f11eeec]{display:flex;justify-content:end}.switch-core[data-v-1f11eeec]{width:50px;height:24px}.switch-button[data-v-1f11eeec]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(26px)}.select-arrow[data-v-1f11eeec]{position:absolute;right:6px;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-40cb5302{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40cb5302{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40cb5302{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40cb5302]{animation:rotateEnter-40cb5302 .7s;position:relative}.rotate-leave-active[data-v-40cb5302]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-40cb5302]{display:none}.page-flex[data-v-40cb5302]{display:flex}.page-flex .page-sidebar[data-v-40cb5302]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-40cb5302]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:var(--item-label_key-span-color);display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-40cb5302]:hover,.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-40cb5302]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-40cb5302]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-40cb5302]{display:block}.page-flex .page-sidebar[data-v-40cb5302]{display:none}.page-flex .page-main[data-v-40cb5302]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-40cb5302]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-40cb5302]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-40cb5302]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-40cb5302]::-webkit-scrollbar{display:none}.tag-item[data-v-40cb5302]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:var(--tag-bg-color);color:var(--item-label_key-span-color);font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-40cb5302]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-40cb5302]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:var(--gradient-bg-color)}.more-btn[data-v-40cb5302]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-40cb5302]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-40cb5302] .showSide{z-index:1!important}.popup-overlay[data-v-40cb5302]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-40cb5302]{width:100%;max-height:85vh;background-color:var(--popup-bg-color);border-radius:0 0 4px 4px;animation:slideDown-40cb5302 .3s ease-out;overflow-y:auto;padding-top:25px}.popup-content .popup-tag-item[data-v-40cb5302],.popup-content .active[data-v-40cb5302]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-40cb5302{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-40cb5302]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-40cb5302]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.popup-footer[data-v-40cb5302]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-40cb5302]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-40cb5302]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-40cb5302]{background-color:#5279f7;color:#fff;border:none}} +@keyframes bganimation-41cbce66{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-41cbce66{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-41cbce66{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-41cbce66]{animation:rotateEnter-41cbce66 .7s;position:relative}.rotate-leave-active[data-v-41cbce66]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-41cbce66]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-41cbce66]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-41cbce66]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-2d97dedc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2d97dedc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2d97dedc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2d97dedc]{animation:rotateEnter-2d97dedc .7s;position:relative}.rotate-leave-active[data-v-2d97dedc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2d97dedc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-2d97dedc]{width:100%}#main[data-v-2d97dedc],#main[data-v-2d97dedc] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #0000001a;--SystemUpdateBanner-bg-color: #2c2c2c;--SystemUpdateBanner-border-color: #2c2c2c;--btn-border-color: #727272;--card-txt-color: #32325d;--SystemInfo-bg-color:#2c2c2c}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%);--breadcrumbs-tit-color:#d6dbf8;--breadcrumbs-tit-color1:#f1f2f9;--border-color: #e5e5e5;--SystemUpdateBanner-bg-color: #eff6ff;--SystemUpdateBanner-border-color: #bedbff;--btn-border-color: #e5e5e5;--card-txt-color: #32325d;--SystemInfo-bg-color:#f9fafd}@keyframes bganimation-3ee635ef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ee635ef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ee635ef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ee635ef]{animation:rotateEnter-3ee635ef .7s;position:relative}.rotate-leave-active[data-v-3ee635ef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ee635ef]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-3ee635ef]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-3ee635ef]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-54af3568{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-54af3568{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-54af3568{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-54af3568]{animation:rotateEnter-54af3568 .7s;position:relative}.rotate-leave-active[data-v-54af3568]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-54af3568]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-54af3568]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-54af3568]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-54af3568],label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-54af3568]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-54af3568]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-54af3568]{display:none!important}label.checkbox_switch svg[data-v-54af3568]{height:1em;width:2em}article[data-v-995510fc]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-995510fc]{max-width:33.333%}}@keyframes bganimation-995510fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-995510fc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-995510fc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-995510fc]{animation:rotateEnter-995510fc .7s;position:relative}.rotate-leave-active[data-v-995510fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-995510fc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-995510fc]{max-width:50%}}@keyframes bganimation-782f97c0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-782f97c0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-782f97c0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-782f97c0]{animation:rotateEnter-782f97c0 .7s;position:relative}.rotate-leave-active[data-v-782f97c0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-782f97c0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-782f97c0]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-782f97c0]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-782f97c0]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-782f97c0]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-782f97c0] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-782f97c0] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-782f97c0] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-782f97c0]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-782f97c0]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-782f97c0]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-782f97c0]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-782f97c0]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-782f97c0]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-782f97c0]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-782f97c0]{background-color:#439c07}@keyframes bganimation-c446588c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c446588c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c446588c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c446588c]{animation:rotateEnter-c446588c .7s;position:relative}.rotate-leave-active[data-v-c446588c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c446588c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-c446588c]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-c446588c],.select-editable input[data-v-c446588c]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-c446588c]{position:relative;width:100%}.select-editable input[data-v-c446588c]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-c446588c]:focus,.select-editable input[data-v-c446588c]:focus{outline:none;box-shadow:none}@keyframes bganimation-47c6049a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-47c6049a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-47c6049a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-47c6049a]{animation:rotateEnter-47c6049a .7s;position:relative}.rotate-leave-active[data-v-47c6049a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-47c6049a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-47c6049a{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-47c6049a]{animation:turn-47c6049a 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-47c6049a]{width:100%;height:100%}.quick-loading svg path[data-v-47c6049a]{fill:#fff}@keyframes bganimation-0cc5bf50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0cc5bf50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0cc5bf50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0cc5bf50]{animation:rotateEnter-0cc5bf50 .7s;position:relative}.rotate-leave-active[data-v-0cc5bf50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0cc5bf50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-0cc5bf50]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-0cc5bf50]{width:22px;height:22px}a:hover svg path[data-v-0cc5bf50]{fill:#3688ff}@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%}}@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%}}.reusable-card[data-v-bb194020]{border:1px solid;border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;display:flex;flex-direction:column;gap:12px;border:1px solid var(--border-color);background:var(--card-bg-color)}.card-header[data-v-bb194020]{display:flex;justify-content:space-between;align-items:center}.card-header .left[data-v-bb194020]{display:flex;align-items:center;gap:8px}.card-header[data-v-bb194020]>svg{width:20px;height:20px}.title[data-v-bb194020]{font-size:16px;font-weight:600;line-height:1;color:var(--app-container_title-color)}.settings-btn[data-v-bb194020]{cursor:pointer}.card-body[data-v-bb194020]{flex:1 1 auto}.card-footer[data-v-bb194020]{display:flex;justify-content:center}.footer-btn[data-v-bb194020]{display:inline-flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;border:1px solid var(--btn-border-color);justify-content:center;cursor:pointer;width:100%;max-width:600px;margin-top:16px}.footer-icon[data-v-bb194020]{display:inline-flex;align-items:center}.footer-text[data-v-bb194020]{font-size:14px;font-weight:400;color:var(--app-container_title-color)}.settings-icon[data-v-bb194020]{width:20px;height:20px}.settings-icon[data-v-bb194020] svg,.settings-icon[data-v-bb194020] g,.settings-icon[data-v-bb194020] path,.settings-icon[data-v-bb194020] circle,.settings-icon[data-v-bb194020] rect,.settings-icon[data-v-bb194020] line,.settings-icon[data-v-bb194020] polyline,.settings-icon[data-v-bb194020] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}.btn-primary[data-v-bb194020]{background-color:#00b8db;color:#fff;border:none;padding:5px 16px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-primary[data-v-bb194020]:hover{background-color:#26a7c7}.btn-primary[data-v-bb194020]:active{transform:scale(.95)}.btn-pink[data-v-bb194020]{background-color:#f751a9;color:#fff;border:none;padding:5px 16px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s,transform .1s;margin-left:6px}.btn-pink[data-v-bb194020]:hover{background-color:#e60076}.btn-pink[data-v-bb194020]:active{transform:scale(.95)}.settings-wrapper[data-v-bb194020]{position:relative}.dropdown-menu[data-v-bb194020]{position:absolute;top:38px;right:0;background:#fff;border-radius:6px;padding:16px 0;min-width:220px;box-shadow:0 4px 12px #0003;z-index:10}.fade-enter-active[data-v-bb194020],.fade-leave-active[data-v-bb194020]{transition:opacity .2s}.fade-enter-from[data-v-bb194020],.fade-leave-to[data-v-bb194020]{opacity:0}.dropdown-menu[data-v-bb194020] div{display:block;width:100%;text-align:center;padding:8px 0;border:none;background:none;cursor:pointer;font-size:14px;color:#333;transition:background .2s,color .2s}.dropdown-menu[data-v-bb194020] div:hover{background-color:#eee}@keyframes bganimation-bb194020{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bb194020{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bb194020{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bb194020]{animation:rotateEnter-bb194020 .7s;position:relative}.rotate-leave-active[data-v-bb194020]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bb194020]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.reusable-card[data-v-bb194020]{padding:10px;border-radius:6px}.title[data-v-bb194020]{font-size:14px}.footer-btn[data-v-bb194020]{margin-top:6px}.dropdown-menu[data-v-bb194020]{padding:8px 0;min-width:150px}}@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}.action .action-footer button[data-v-3dae3be2]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-3dae3be2]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-3dae3be2]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-3dae3be2]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-3dae3be2]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-3dae3be2]{flex:auto}.action.format .disk-list[data-v-3dae3be2]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-3dae3be2]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-3dae3be2]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-3dae3be2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-3dae3be2]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-3dae3be2]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-3dae3be2],.action.format .label-item .label-item_value input[data-v-3dae3be2]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-3dae3be2]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-3dae3be2]{flex:auto}.action.format p.msg[data-v-3dae3be2]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-3dae3be2]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-3dae3be2]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-3dae3be2]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-3dae3be2]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-3dae3be2]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-3dae3be2]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-3dae3be2]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-3dae3be2]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-3dae3be2]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-3dae3be2]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-3dae3be2]{color:#0000fb}.action.result .btns[data-v-3dae3be2]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3dae3be2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3dae3be2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3dae3be2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3dae3be2]{animation:rotateEnter-3dae3be2 .7s;position:relative}.rotate-leave-active[data-v-3dae3be2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3dae3be2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-3dae3be2]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-3dae3be2]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-3dae3be2]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-3dae3be2]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-3dae3be2]{width:100%}}.action .action-footer button[data-v-b222ef5e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-b222ef5e]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.list .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b222ef5e]{flex:auto}.action.format .disk-list[data-v-b222ef5e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b222ef5e]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b222ef5e]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b222ef5e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b222ef5e]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b222ef5e]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b222ef5e],.action.format .label-item .label-item_value input[data-v-b222ef5e]{width:100%;height:36px}.action.format .auto[data-v-b222ef5e]{flex:auto}.action.format p.msg[data-v-b222ef5e]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b222ef5e]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b222ef5e]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b222ef5e]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b222ef5e]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b222ef5e]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-b222ef5e]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-b222ef5e]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-b222ef5e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-b222ef5e]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-b222ef5e]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-b222ef5e]{color:#f70324}.action.result .action-footer[data-v-b222ef5e]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-b222ef5e]{flex:auto}@keyframes bganimation-b222ef5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b222ef5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b222ef5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b222ef5e]{animation:rotateEnter-b222ef5e .7s;position:relative}.rotate-leave-active[data-v-b222ef5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b222ef5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-b222ef5e]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-b222ef5e]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-b222ef5e]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-b222ef5e]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-b222ef5e]{width:80%}}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-45926ac6]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-45926ac6]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-45926ac6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-45926ac6]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-45926ac6]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-45926ac6]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-45926ac6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-45926ac6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-45926ac6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-45926ac6]{animation:rotateEnter-45926ac6 .7s;position:relative}.rotate-leave-active[data-v-45926ac6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-45926ac6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-45926ac6]{font-size:20px}}@keyframes bganimation-2b3974a4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b3974a4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b3974a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b3974a4]{animation:rotateEnter-2b3974a4 .7s;position:relative}.rotate-leave-active[data-v-2b3974a4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b3974a4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2b3974a4]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2b3974a4]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2b3974a4]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2b3974a4]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2b3974a4]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2b3974a4]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2b3974a4]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2b3974a4]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2b3974a4],.action .action-body .label-item .label-item_value input[data-v-2b3974a4]{width:100%;height:36px}.action .action-footer[data-v-2b3974a4]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2b3974a4]{flex:auto}.action .action-footer button[data-v-2b3974a4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-88275da0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-88275da0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-88275da0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-88275da0]{animation:rotateEnter-88275da0 .7s;position:relative}.rotate-leave-active[data-v-88275da0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-88275da0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-88275da0]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-88275da0]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-88275da0]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-88275da0]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-88275da0]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-88275da0]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-88275da0]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-88275da0]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-88275da0]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-88275da0],.action .action-body .label-item .label-item_value input[data-v-88275da0]{width:100%;height:36px}.action .action-body .samba-item[data-v-88275da0]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-88275da0]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-88275da0]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-88275da0]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-88275da0]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-88275da0]{margin-left:10px}.action .action-footer[data-v-88275da0]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-88275da0]{flex:auto}.action .action-footer button[data-v-88275da0]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3f686017]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-3f686017]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-3f686017]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-3f686017]{width:100%;display:block;padding:2rem 0}.action form label[data-v-3f686017]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-3f686017],.action form label select[data-v-3f686017]{width:100%;display:block;height:42px}.action .btns[data-v-3f686017]{width:100%;margin-top:3rem}.action .btns button[data-v-3f686017]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-3f686017]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-3f686017]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-3f686017]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-3f686017],.action li.disk-item .disk-item_f .disk-item_used[data-v-3f686017]{width:100%}.action .tips[data-v-3f686017]{float:right;font-size:.8em}@keyframes bganimation-3f686017{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f686017{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f686017{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f686017]{animation:rotateEnter-3f686017 .7s;position:relative}.rotate-leave-active[data-v-3f686017]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f686017]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-3f686017]{font-size:2em}}@keyframes bganimation-376759fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-376759fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-376759fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-376759fb]{animation:rotateEnter-376759fb .7s;position:relative}.rotate-leave-active[data-v-376759fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-376759fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-376759fb]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-376759fb]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.aria2-item .aria2-item_value[data-v-376759fb]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-376759fb]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-376759fb]{color:#888}.use-url_app[data-v-376759fb]{padding-bottom:14px}.use-url_app a[data-v-376759fb]{text-decoration:none;color:#297ff3}@keyframes bganimation-086db06c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-086db06c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-086db06c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-086db06c]{animation:rotateEnter-086db06c .7s;position:relative}.rotate-leave-active[data-v-086db06c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-086db06c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-086db06c]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-086db06c]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.qbittorrent-item .qbittorrent-item_value[data-v-086db06c]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-086db06c]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-086db06c]{color:#888}a[data-v-086db06c]{text-decoration:none;color:#297ff3}@keyframes bganimation-3232162a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3232162a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3232162a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3232162a]{animation:rotateEnter-3232162a .7s;position:relative}.rotate-leave-active[data-v-3232162a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3232162a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-3232162a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-3232162a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.transmission-item .transmission-item_value[data-v-3232162a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-3232162a]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-3232162a]{color:#888}a[data-v-3232162a]{text-decoration:none;color:#297ff3}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-395b81d2]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-395b81d2]{color:#999;font-size:14px}.action input[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-395b81d2]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-395b81d2]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-395b81d2]{width:100%}.action form label input[data-v-395b81d2],.action form label select[data-v-395b81d2]{height:100%;font-size:14px}.action .myinput_wrap[data-v-395b81d2],.action .RPC_input[data-v-395b81d2]{width:85%}.action .myinput_wrap textarea[data-v-395b81d2]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-395b81d2]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-395b81d2]{margin-right:10px}.action .input_row .radios input[data-v-395b81d2],.action .input_row .radios label[data-v-395b81d2]{cursor:pointer}.action .Tracker label[data-v-395b81d2]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-395b81d2]{padding:6px 2px}.action .btns[data-v-395b81d2]{width:100%;margin:42px auto 0}.action .btns button[data-v-395b81d2]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-395b81d2]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-395b81d2]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-395b81d2]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-395b81d2]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-395b81d2]{visibility:visible;opacity:1}.action .tooltip-top[data-v-395b81d2]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-395b81d2]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-395b81d2]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-395b81d2]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-395b81d2]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-395b81d2]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-395b81d2]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-395b81d2]{text-align:center;font-size:14px}.action .finished[data-v-395b81d2]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-395b81d2]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-395b81d2]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-395b81d2]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-395b81d2]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-395b81d2]:focus,.select-editable input[data-v-395b81d2]:focus{outline:none}[data-v-395b81d2]::placeholder{color:#999}@keyframes bganimation-395b81d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-395b81d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-395b81d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-395b81d2]{animation:rotateEnter-395b81d2 .7s;position:relative}.rotate-leave-active[data-v-395b81d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-395b81d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-395b81d2]{width:100%}.action .input_row[data-v-395b81d2]{display:block}.action .input_row .myinput_wrap[data-v-395b81d2],.action .input_row .RPC_input[data-v-395b81d2]{width:100%}}@keyframes bganimation-2299b58c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2299b58c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2299b58c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2299b58c]{animation:rotateEnter-2299b58c .7s;position:relative}.rotate-leave-active[data-v-2299b58c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2299b58c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-2299b58c]{width:1.3rem;height:1.3rem}.icon1[data-v-2299b58c]{width:1rem;height:1rem}.icon2[data-v-2299b58c]{width:1.5rem;height:1.5rem;margin-bottom:12px}[data-v-2299b58c] .downloadIcon path{fill:var(--app-container_title-color)!important}a[data-v-2299b58c]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-2299b58c]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .tab[data-v-2299b58c]{display:flex;gap:8px}.content .tab .item[data-v-2299b58c]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer}.content .tab .item .title[data-v-2299b58c]{margin-bottom:8px}.content .tab .item>span[data-v-2299b58c]{font-size:12px}.content .tab .active[data-v-2299b58c]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-2299b58c]{background-color:#fff7ed;color:#ca3500}.content .tab .memory[data-v-2299b58c]{background-color:#f9fafb;color:#364153}.content .tab .network[data-v-2299b58c]{background-color:#f0fdfa;color:#277881}.btn_settings[data-v-2299b58c]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-2299b58c]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-2299b58c]{transform:rotate(90deg)}@keyframes bganimation-2299b58c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2299b58c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2299b58c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2299b58c]{animation:rotateEnter-2299b58c .7s;position:relative}.rotate-leave-active[data-v-2299b58c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2299b58c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-2299b58c]{margin:10px 0}}@keyframes bganimation-73552138{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-73552138{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-73552138{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-73552138]{animation:rotateEnter-73552138 .7s;position:relative}.rotate-leave-active[data-v-73552138]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-73552138]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-73552138]{text-align:center;margin-bottom:20px}.label-item[data-v-73552138]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-73552138]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-73552138]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-73552138]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-73552138]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-73552138]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b9ee57da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b9ee57da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b9ee57da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b9ee57da]{animation:rotateEnter-b9ee57da .7s;position:relative}.rotate-leave-active[data-v-b9ee57da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b9ee57da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b9ee57da]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b9ee57da]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b9ee57da]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{text-align:center}.actioner-container_body .body-info[data-v-b9ee57da]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b9ee57da]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b9ee57da]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b9ee57da]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-aefb6fdc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aefb6fdc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-aefb6fdc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-aefb6fdc]{animation:rotateEnter-aefb6fdc .7s;position:relative}.rotate-leave-active[data-v-aefb6fdc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aefb6fdc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-aefb6fdc]{width:100%;height:100%;border:none}@keyframes bganimation-0e2b47e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0e2b47e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0e2b47e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0e2b47e6]{animation:rotateEnter-0e2b47e6 .7s;position:relative}.rotate-leave-active[data-v-0e2b47e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0e2b47e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-0e2b47e6]{width:100%;height:100%;border:none}@keyframes bganimation-29e2aec8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-29e2aec8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-29e2aec8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-29e2aec8]{animation:rotateEnter-29e2aec8 .7s;position:relative}.rotate-leave-active[data-v-29e2aec8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-29e2aec8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-29e2aec8]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-29e2aec8]{width:100px;height:100px}.actioner-container_body .body-title[data-v-29e2aec8]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-29e2aec8]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-29e2aec8]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-29e2aec8]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-29e2aec8]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-169b4450{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169b4450{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169b4450{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169b4450]{animation:rotateEnter-169b4450 .7s;position:relative}.rotate-leave-active[data-v-169b4450]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169b4450]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-169b4450]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-6590a3fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6590a3fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6590a3fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6590a3fa]{animation:rotateEnter-6590a3fa .7s;position:relative}.rotate-leave-active[data-v-6590a3fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6590a3fa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-6590a3fa]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-3b80943c]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-3b80943c] .actioner-container{width:100%}.action-main[data-v-3b80943c] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-3b80943c] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-3b80943c] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-3b80943c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b80943c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b80943c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b80943c]{animation:rotateEnter-3b80943c .7s;position:relative}.rotate-leave-active[data-v-3b80943c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b80943c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-3b80943c]{width:90%}}@keyframes bganimation-145a3c50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-145a3c50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-145a3c50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-145a3c50]{animation:rotateEnter-145a3c50 .7s;position:relative}.rotate-leave-active[data-v-145a3c50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-145a3c50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-145a3c50]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-145a3c50]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-145a3c50]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-145a3c50]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-145a3c50]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-145a3c50]:hover{opacity:.8}.action .clear[data-v-145a3c50]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-145a3c50]:hover{opacity:.8}@keyframes bganimation-2c659599{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c659599{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c659599{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c659599]{animation:rotateEnter-2c659599 .7s;position:relative}.rotate-leave-active[data-v-2c659599]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c659599]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-2c659599]{display:block;width:100%;text-align:center}.title_info p[data-v-2c659599]{font-size:20px;margin-bottom:10px}.label-item[data-v-2c659599]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-2c659599]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-2c659599]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-2c659599]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-2c659599]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-2c659599],.label-item .label-item_value input[data-v-2c659599]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-2c659599]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-2c659599]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-2c659599]{margin-left:8px}.label-message[data-v-2c659599]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-8a1e6470]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-8a1e6470] .actioner-container{width:100%}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.ali,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-8a1e6470] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-8a1e6470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a1e6470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a1e6470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a1e6470]{animation:rotateEnter-8a1e6470 .7s;position:relative}.rotate-leave-active[data-v-8a1e6470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a1e6470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-8a1e6470]{width:90%}}@keyframes bganimation-d3a8d744{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d3a8d744{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d3a8d744{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d3a8d744]{animation:rotateEnter-d3a8d744 .7s;position:relative}.rotate-leave-active[data-v-d3a8d744]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d3a8d744]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-d3a8d744] .footer-btn{background:var(--card-bg-color);border:1px solid var(--btn-border-color)}[data-v-d3a8d744] .reusable-card{background:#fff5ee!important;border:1px solid #ffd6a7!important}[data-v-d3a8d744] .earthIcon path{fill:var(--app-container_title-color)!important}.icon[data-v-d3a8d744]{width:1.3rem;height:1.3rem}.icon1[data-v-d3a8d744]{width:1rem;height:1rem}.icon2[data-v-d3a8d744]{width:1.5rem;height:1.5rem;margin-bottom:8px}.icon3[data-v-d3a8d744]{width:1.5rem;height:1.5rem;cursor:pointer}a[data-v-d3a8d744]{text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-d3a8d744]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400;padding:0 12px}.content .tab[data-v-d3a8d744]{display:flex;gap:8px}.content .tab .item[data-v-d3a8d744]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer}.content .tab .item .title[data-v-d3a8d744]{margin-bottom:8px}.content .tab .item>span[data-v-d3a8d744]{font-size:12px}.content .tab .active[data-v-d3a8d744]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-d3a8d744]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-d3a8d744]{background-color:#f0fdf4;color:#008236}.content .tab .network[data-v-d3a8d744]{background-color:#f9fafb;color:#4a5565}.content .info[data-v-d3a8d744]{margin-top:20px}.content .info .status[data-v-d3a8d744]{padding:20px 0 0;margin-top:16px;display:flex;justify-content:space-between;border-top:1px solid var(--btn-border-color)}.content .info .status .offline[data-v-d3a8d744]{background:#eceef2;color:#030213}.content .info .status>div[data-v-d3a8d744]{color:var(--app-container_title-color);font-size:16px}.content .info .status>span[data-v-d3a8d744]{color:#fff;padding:4px 8px;background:#030213;border-radius:6px;font-size:12px}.content .info .title_box[data-v-d3a8d744]{margin:20px 0}.content .info .title_box .title[data-v-d3a8d744]{color:var(--item-label_key-span-color);margin-bottom:10px}.content .info .title_box .path[data-v-d3a8d744]{display:flex;align-items:center;justify-content:space-between;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .info .title_box .path>span[data-v-d3a8d744]{display:inline-block;padding:4px 8px;border:1px solid #553afb;font-size:12px;border-radius:4px;cursor:pointer;flex-shrink:0}.content .info .title_box .path>span>a[data-v-d3a8d744]{color:#553afb}.btn_settings[data-v-d3a8d744]{padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}@keyframes bganimation-d3a8d744{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d3a8d744{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d3a8d744{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d3a8d744]{animation:rotateEnter-d3a8d744 .7s;position:relative}.rotate-leave-active[data-v-d3a8d744]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d3a8d744]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-d3a8d744]{margin:10px 0 0;padding:4px}.content .info[data-v-d3a8d744]{margin-top:10px}.content .info .status[data-v-d3a8d744]{padding-top:10px}.content .info .title_box[data-v-d3a8d744]{margin:10px 0}}@keyframes bganimation-a2c6d680{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a2c6d680{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a2c6d680{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a2c6d680]{animation:rotateEnter-a2c6d680 .7s;position:relative}.rotate-leave-active[data-v-a2c6d680]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a2c6d680]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-a2c6d680]{width:1.5rem;height:1.5rem;margin-right:6px}.display_flex[data-v-a2c6d680]{display:flex;align-items:center}.network_container[data-v-a2c6d680]{border:1px solid var(--border-color);border-radius:10px;padding:20px 14px;box-sizing:border-box;background-clip:padding-box;background:var(--card-bg-color);height:100%;display:flex;flex-direction:column}.network_container .title_box[data-v-a2c6d680]{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;flex-shrink:0}.network_container .title_box>span[data-v-a2c6d680]{font-size:16px;font-weight:600}.network_container .title_box .network_tag[data-v-a2c6d680]{display:flex;align-items:center}.network_container .title_box .network_tag .tag_item[data-v-a2c6d680]{display:flex;align-items:center;font-size:12px;margin-left:16px}.network_container .title_box .network_tag .tag_item>span[data-v-a2c6d680]{line-height:1}.network_container .title_box .network_tag .tag_item>div[data-v-a2c6d680]{width:12px;height:12px;border-radius:50%;margin-right:6px}.network_container .title_box .network_tag .tag_item .tag_dn[data-v-a2c6d680]{background:#20c7f7}.network_container .title_box .network_tag .tag_item .tag_up[data-v-a2c6d680]{background:#553afe}.network_container .echart[data-v-a2c6d680]{flex:1;min-height:200px}.network_container .speed[data-v-a2c6d680]{display:flex;flex-shrink:0}.network_container .speed .speed_item[data-v-a2c6d680]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.network_container .speed .speed_item>span[data-v-a2c6d680]{font-size:12px;color:#999;margin-bottom:10px}.network_container .speed .speed_item>div[data-v-a2c6d680]{font-size:16px;color:#333}@keyframes bganimation-a2c6d680{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a2c6d680{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a2c6d680{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a2c6d680]{animation:rotateEnter-a2c6d680 .7s;position:relative}.rotate-leave-active[data-v-a2c6d680]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a2c6d680]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.network_container[data-v-a2c6d680]{border-radius:6px;padding:10px}.network_container .title_box[data-v-a2c6d680]{margin-bottom:16px}.network_container .title_box>span[data-v-a2c6d680]{font-size:14px;font-weight:600}}@keyframes bganimation-4eb7fe63{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4eb7fe63{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4eb7fe63{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4eb7fe63]{animation:rotateEnter-4eb7fe63 .7s;position:relative}.rotate-leave-active[data-v-4eb7fe63]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4eb7fe63]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-4eb7fe63]{width:1.5rem;height:1.5rem}[data-v-4eb7fe63] .networkIcon path{fill:var(--app-container_title-color)!important}.info_content[data-v-4eb7fe63]{margin:12px 0 0 4px}.info_content .status_box[data-v-4eb7fe63]{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border-color);font-size:14px;line-height:1}.info_content .status_box .status_name[data-v-4eb7fe63]{display:flex;align-items:center;line-height:1}.info_content .status_box .status_name .icon[data-v-4eb7fe63]{width:1rem;height:1rem;margin-right:6px}.info_content .status_box .status_time[data-v-4eb7fe63]{padding:4px 8px;background:#dbfce7;color:#008236;border-radius:4px}.info_content .ip_item[data-v-4eb7fe63]{display:flex;justify-content:space-between;align-items:center}.info_content .ip_item .ip_tag[data-v-4eb7fe63]{padding:3px 6px;border-radius:6px;border:1px solid #d1d5db;font-size:12px;line-height:1}.info_content .ip_item .device[data-v-4eb7fe63]{font-size:14px;color:#155dfc}.info_content .ip_item .delay[data-v-4eb7fe63]{font-size:14px;color:#00a663}.info_content .ip_item .download[data-v-4eb7fe63]{font-size:14px;color:var(--item-label_key-span-color)}.info_content .line[data-v-4eb7fe63]{width:100%;height:1px;background:var(--btn-border-color);margin-bottom:20px}.info_content .line1[data-v-4eb7fe63]{width:100%;height:1px;background:var(--btn-border-color);margin:20px 0}.info_content .ip_item[data-v-4eb7fe63]:nth-last-child(1){margin-top:20px}.info_content .ip_info[data-v-4eb7fe63]{margin:24px 0 20px}.info_content .ip_info .ip_address[data-v-4eb7fe63]{color:var(--item-label_key-span-color);margin-top:10px}@keyframes bganimation-a22762d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a22762d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a22762d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a22762d6]{animation:rotateEnter-a22762d6 .7s;position:relative}.rotate-leave-active[data-v-a22762d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a22762d6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-a22762d6]{width:1.3rem;height:1.3rem}.icon1[data-v-a22762d6],.icon2[data-v-a22762d6]{width:1rem;height:1rem}[data-v-a22762d6] .interfaceIcon path{fill:var(--app-container_title-color)!important}[data-v-a22762d6] .footer-btn{margin-top:6px}.content[data-v-a22762d6]{margin-top:6px;padding-bottom:6px;min-height:30px;display:flex;overflow-x:auto;white-space:nowrap}.content[data-v-a22762d6]::-webkit-scrollbar{height:6px}.content[data-v-a22762d6]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.content .item[data-v-a22762d6]{position:relative;display:inline-flex;align-items:center;padding-right:20px;margin-right:16px;cursor:pointer}.content .item[data-v-a22762d6]:before{content:"";display:inline-block;position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px!important;height:60%;background:#e0e0e0}.content .item[data-v-a22762d6]:last-child:before{content:none}.content .icon_box[data-v-a22762d6]{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:8px;background:#dbfce7;margin-right:12px}.content .name[data-v-a22762d6]{display:flex;align-items:center;margin-bottom:6px}.content .speed[data-v-a22762d6]{padding:4px 6px;background:#dbfce7;font-size:12px;border-radius:6px;line-height:1;color:#008236;margin-left:8px}.content .status[data-v-a22762d6]{font-size:12px;color:#6a7282}.btn_settings[data-v-a22762d6]{position:relative;padding:6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-a22762d6]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-a22762d6]{transform:rotate(90deg)}.row input[type=checkbox][data-v-a22762d6]{vertical-align:middle;margin:0}.row[data-v-a22762d6]{gap:8px;padding:0;margin:6px 0;display:flex;align-items:center}.row>input[data-v-a22762d6]{margin-right:6px!important;margin-top:0}[data-v-a22762d6] .dropdown-menu div:hover{background:transparent!important}[data-v-a22762d6] .dropdown-menu{padding:8px 0}[data-v-a22762d6] .dropdown-menu>div{padding:0}@keyframes bganimation-a22762d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a22762d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a22762d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a22762d6]{animation:rotateEnter-a22762d6 .7s;position:relative}.rotate-leave-active[data-v-a22762d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a22762d6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-adc89aea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-adc89aea{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-adc89aea{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-adc89aea]{animation:rotateEnter-adc89aea .7s;position:relative}.rotate-leave-active[data-v-adc89aea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-adc89aea]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.feature-card[data-v-adc89aea]{flex:1 1 0;min-width:280px;max-width:350px;padding:14px 14px 20px;border:2px solid var(--border-color);border-radius:10px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;background-color:var(--card-bg-color);display:flex;align-items:center;justify-content:space-between}.feature-card[data-v-adc89aea]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.feature-card .badge[data-v-adc89aea]{font-size:12px;padding:4px 6px;border-radius:6px;color:#fff;line-height:1}.feature-card .header[data-v-adc89aea]{display:flex;align-items:center;gap:6px;margin-bottom:16px}.feature-card .header .icon-wrapper[data-v-adc89aea]{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background-color:#999;color:#fff}.feature-card .header .icon-wrapper .icon-svg[data-v-adc89aea]{width:24px;height:24px}.feature-card .content .title[data-v-adc89aea]{font-weight:700;color:var(--item-label_key-span-color);margin-bottom:8px}.feature-card .content .subtitle[data-v-adc89aea]{font-size:14px;color:#666;margin-top:2px}.feature-card .footer[data-v-adc89aea]{display:flex;align-items:center;margin-top:12px;font-size:12px}.feature-card .footer .status[data-v-adc89aea]{padding:4px 6px;border-radius:6px;background-color:#eee;color:#666;line-height:1;margin-right:6px}.feature-card .footer .status.active[data-v-adc89aea]{background-color:#d3f9d8;color:#38a169}.feature-card .footer .extra[data-v-adc89aea]{color:inherit}.feature-card .footer .extra .extra_num[data-v-adc89aea]{font-size:16px}.feature-card .right-arrow[data-v-adc89aea]{width:18px;height:18px}.feature-card.purple .icon-wrapper[data-v-adc89aea]{background-color:#ad46ff}.feature-card.purple .badge[data-v-adc89aea]{background-color:#f3e8ff;color:#8200db}.feature-card.blue .icon-wrapper[data-v-adc89aea]{background-color:#3b82f6}.feature-card.blue .badge[data-v-adc89aea]{background-color:#e6effe;color:#3b82f6}.feature-card.blue .right-arrow[data-v-adc89aea]{opacity:.8;width:18px;height:18px}.feature-card.green .icon-wrapper[data-v-adc89aea],.feature-card.green .badge[data-v-adc89aea]{background-color:#22c55e}.feature-card.pink .icon-wrapper[data-v-adc89aea]{background-color:#ec4899}.feature-card.pink .badge[data-v-adc89aea]{background-color:#f6339a}.feature-card.pink .right-arrow[data-v-adc89aea]{color:#f6349b;opacity:.7}.feature-card.skyblue .icon-wrapper[data-v-adc89aea]{background-color:#615fff}.feature-card.skyblue .badge[data-v-adc89aea]{background-color:#e0e7ff;color:#432dd7}.feature-card.orange .icon-wrapper[data-v-adc89aea],.feature-card.orange .badge[data-v-adc89aea]{background-color:#f97316}@keyframes bganimation-adc89aea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-adc89aea{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-adc89aea{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-adc89aea]{animation:rotateEnter-adc89aea .7s;position:relative}.rotate-leave-active[data-v-adc89aea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-adc89aea]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.feature-card[data-v-adc89aea]{min-width:180px;padding:10px;border-radius:6px;border:1px solid #e5e5e5;transition:none}.feature-card[data-v-adc89aea]:hover{transform:none;box-shadow:none}.feature-card .header[data-v-adc89aea]{margin-bottom:8px}.feature-card .content .title[data-v-adc89aea]{font-weight:700;color:#333;margin-bottom:4px}.feature-card .footer[data-v-adc89aea]{margin-top:6px}}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0d919a1e]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-0d919a1e]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-0d919a1e]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0d919a1e]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0d919a1e]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0d919a1e]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0d919a1e],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0d919a1e]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-0d919a1e]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-0d919a1e]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-0d919a1e]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-0d919a1e]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-0d919a1e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-0d919a1e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-0d919a1e]{text-align:center}.setting_status p[data-v-0d919a1e]{margin:10px 0}.setting_status a[data-v-0d919a1e]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-0d919a1e]{margin-top:10px}@keyframes bganimation-0d919a1e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d919a1e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d919a1e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d919a1e]{animation:rotateEnter-0d919a1e .7s;position:relative}.rotate-leave-active[data-v-0d919a1e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d919a1e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-0d919a1e]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-0d919a1e]{width:100%}}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-59ad49e6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-59ad49e6]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-59ad49e6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-59ad49e6]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-59ad49e6]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-59ad49e6]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-59ad49e6]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-59ad49e6]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-59ad49e6]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-59ad49e6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-59ad49e6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-59ad49e6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-59ad49e6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-59ad49e6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-59ad49e6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-59ad49e6]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-59ad49e6]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-59ad49e6]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-59ad49e6]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-59ad49e6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-59ad49e6]{margin-top:114px}.timeout span[data-v-59ad49e6],.sandbox_roboot_refresh[data-v-59ad49e6]{color:#5e72e4}option[data-v-59ad49e6]:disabled{background-color:#e0e0e0}@keyframes bganimation-59ad49e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-59ad49e6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-59ad49e6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-59ad49e6]{animation:rotateEnter-59ad49e6 .7s;position:relative}.rotate-leave-active[data-v-59ad49e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-59ad49e6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-59ad49e6]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-59ad49e6]{min-height:42vh}.actioner-tips[data-v-59ad49e6]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-59ad49e6]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-59ad49e6]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-59ad49e6]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-59ad49e6]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-59ad49e6]{padding:3px 10px}}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3e084f0f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-3e084f0f]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-3e084f0f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-3e084f0f]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-3e084f0f]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-3e084f0f]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-3e084f0f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-3e084f0f]{margin-top:114px}.timeout span[data-v-3e084f0f]{color:#5e72e4}@keyframes bganimation-3e084f0f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e084f0f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e084f0f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e084f0f]{animation:rotateEnter-3e084f0f .7s;position:relative}.rotate-leave-active[data-v-3e084f0f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e084f0f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-3e084f0f]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-3e084f0f]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-3e084f0f]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-3e084f0f]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-3e084f0f]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-3e084f0f]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3e084f0f]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-3e084f0f]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-3e084f0f],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-3e084f0f]{font-size:12px}.actioner-tips .sandbox_info[data-v-3e084f0f]{padding:3px 10px}}@keyframes bganimation-c1428106{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c1428106{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c1428106{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c1428106]{animation:rotateEnter-c1428106 .7s;position:relative}.rotate-leave-active[data-v-c1428106]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c1428106]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-c1428106] .icon{width:1.5rem;height:1.5rem;margin-bottom:12px;display:inline-block;flex:0 0 auto}button[data-v-c1428106]{margin:0!important}button.item[data-v-c1428106]:disabled{opacity:1}button.item:disabled svg[data-v-c1428106],button.item:disabled .icon[data-v-c1428106]{opacity:1!important;filter:none!important;color:#00b8db!important;stroke:#00b8db!important;fill:#00b8db!important}.item_container[data-v-c1428106]{display:flex;gap:16px;width:100%;padding-bottom:4px;box-sizing:border-box;flex-wrap:wrap}.item_container[data-v-c1428106]::-webkit-scrollbar{height:6px}.item_container[data-v-c1428106]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.item_container .item[data-v-c1428106]{position:relative;flex:1 1 0;padding:16px 12px;min-width:120px;max-width:200px;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;border-radius:8px;box-sizing:border-box;border:1px solid #e5e7eb;cursor:pointer;color:var(--card-txt-color)}.item_container .app-update-button-more[data-v-c1428106]{position:absolute;top:4px;right:4px}.item_container .menu_background[data-v-c1428106]{position:fixed;inset:0}.item_container .renew[data-v-c1428106]{display:flex;align-items:center}.item_container .renew i[data-v-c1428106]{display:inline-block;padding:3px;background-color:red;border-radius:50%;margin-right:4px}.item_container .dns_txt[data-v-c1428106]{display:flex;align-items:center;line-height:1;color:#32325d}.item_container .disabled-style[data-v-c1428106]{opacity:.6;cursor:not-allowed;pointer-events:none;background-color:#e0e0e0}.item_container .app-update-button-menu[data-v-c1428106]{position:absolute;z-index:999;width:30%;right:0;top:0}.item_container .app-update-button-menu ul[data-v-c1428106]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:6px 0;border-radius:6px;top:-45px;right:0;text-align:center;position:absolute;word-break:keep-all}.item_container .app-update-button-menu ul li[data-v-c1428106]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.item_container .app-update-button-menu ul li .app-update-menu-item[data-v-c1428106]{padding:5px 2px;white-space:nowrap}.item_container .app-update-button-menu ul li .app-update-menu-item-loading[data-v-c1428106]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}@keyframes bganimation-c1428106{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c1428106{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c1428106{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c1428106]{animation:rotateEnter-c1428106 .7s;position:relative}.rotate-leave-active[data-v-c1428106]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c1428106]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.item_container[data-v-c1428106]{gap:10px}}@keyframes bganimation-6c80f0b7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6c80f0b7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6c80f0b7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6c80f0b7]{animation:rotateEnter-6c80f0b7 .7s;position:relative}.rotate-leave-active[data-v-6c80f0b7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6c80f0b7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-6c80f0b7]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.sambas-item .sambas-item_value[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}.app-container_samba li.samba-item[data-v-6c80f0b7]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}.app-container_samba li.samba-item .samba-item_value[data-v-6c80f0b7]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-6c80f0b7]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-6c80f0b7]:hover{opacity:.7}.tit[data-v-6c80f0b7]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-9e39e9b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9e39e9b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9e39e9b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9e39e9b2]{animation:rotateEnter-9e39e9b2 .7s;position:relative}.rotate-leave-active[data-v-9e39e9b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9e39e9b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-9e39e9b2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-9e39e9b2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.webdav-item .webdav-item_value[data-v-9e39e9b2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}@keyframes bganimation-485e1494{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-485e1494{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-485e1494{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-485e1494]{animation:rotateEnter-485e1494 .7s;position:relative}.rotate-leave-active[data-v-485e1494]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-485e1494]{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-485e1494]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-485e1494]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value[data-v-485e1494]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-container_title-color)}li.linkease-item .linkease-item_value .configure[data-v-485e1494]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-485e1494]{cursor:pointer}a[data-v-485e1494]{text-decoration:none;color:#297ff3}@keyframes bganimation-7ee59a9a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7ee59a9a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7ee59a9a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7ee59a9a]{animation:rotateEnter-7ee59a9a .7s;position:relative}.rotate-leave-active[data-v-7ee59a9a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7ee59a9a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-7ee59a9a]{width:1.3rem;height:1.3rem}.icon1[data-v-7ee59a9a]{width:1rem;height:1rem}.icon2[data-v-7ee59a9a]{width:1.5rem;height:1.5rem;margin-bottom:12px}.settings-icon[data-v-7ee59a9a] svg,.settings-icon[data-v-7ee59a9a] g,.settings-icon[data-v-7ee59a9a] path,.settings-icon[data-v-7ee59a9a] circle,.settings-icon[data-v-7ee59a9a] rect,.settings-icon[data-v-7ee59a9a] line,.settings-icon[data-v-7ee59a9a] polyline,.settings-icon[data-v-7ee59a9a] polygon{fill:var(--app-container_title-color)!important;stroke:var(--app-container_title-color)!important}a[data-v-7ee59a9a]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-7ee59a9a]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.content .tab[data-v-7ee59a9a]{display:flex;gap:8px}.content .tab .item[data-v-7ee59a9a]{flex:1;padding:16px;display:flex;flex-direction:column;align-items:center;border-radius:10px;cursor:pointer}.content .tab .item .title[data-v-7ee59a9a]{margin-bottom:8px}.content .tab .item>span[data-v-7ee59a9a]{font-size:12px}.content .tab .active[data-v-7ee59a9a]{border:2px solid #6d6d6d}.content .tab .cloud[data-v-7ee59a9a]{background-color:#eff6ff;color:#1447e6}.content .tab .memory[data-v-7ee59a9a]{background-color:#dbfce7;color:#008236}.content .tab .network[data-v-7ee59a9a]{background-color:#faf5ff;color:#8200db}.btn_settings[data-v-7ee59a9a]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-7ee59a9a]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-7ee59a9a]{transform:rotate(90deg)}@keyframes bganimation-7ee59a9a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7ee59a9a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7ee59a9a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7ee59a9a]{animation:rotateEnter-7ee59a9a .7s;position:relative}.rotate-leave-active[data-v-7ee59a9a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7ee59a9a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-7ee59a9a]{margin:10px 0}}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-5f5fb500]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-5f5fb500]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-5f5fb500]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-5f5fb500]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-5f5fb500]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-5f5fb500]{flex:auto}.action.format .disk-list[data-v-5f5fb500]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-5f5fb500]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-5f5fb500]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-5f5fb500]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-5f5fb500]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-5f5fb500]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-5f5fb500],.action.format .label-item .label-item_value input[data-v-5f5fb500]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-5f5fb500]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-5f5fb500]{flex:auto}.action.format p.msg[data-v-5f5fb500]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-5f5fb500]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-5f5fb500]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-5f5fb500]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-5f5fb500]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-5f5fb500{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f5fb500{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f5fb500{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f5fb500]{animation:rotateEnter-5f5fb500 .7s;position:relative}.rotate-leave-active[data-v-5f5fb500]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f5fb500]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-5f5fb500]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-5f5fb500]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-5f5fb500]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-5f5fb500]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-5f5fb500]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-5f5fb500]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-5f5fb500]{color:#0000fb}.action.result .btns[data-v-5f5fb500]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-4e7285ca]{color:red}.disk-content[data-v-4e7285ca]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-4e7285ca]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-4e7285ca]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-4e7285ca]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-4e7285ca]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-4e7285ca]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-4e7285ca]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-4e7285ca]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-4e7285ca]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-4e7285ca]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-4e7285ca]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-4e7285ca]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-4e7285ca]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-4e7285ca]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-4e7285ca]{display:flex;align-items:center}.disk_infoicon[data-v-4e7285ca]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-4e7285ca]{flex:none}.tooltip-trigger[data-v-4e7285ca]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-4e7285ca]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-4e7285ca]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-4e7285ca]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-4e7285ca]{visibility:visible;opacity:1}.tooltip-top[data-v-4e7285ca]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-4e7285ca]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-4e7285ca]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-4e7285ca{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4e7285ca{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4e7285ca{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4e7285ca]{animation:rotateEnter-4e7285ca .7s;position:relative}.rotate-leave-active[data-v-4e7285ca]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4e7285ca]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-4e7285ca]{display:block}.disk-content .disk_status[data-v-4e7285ca]{flex-wrap:wrap}}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-56d0d562]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-56d0d562]{overflow:auto}.action ul .app-container_info[data-v-56d0d562]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-56d0d562]{width:100%;height:100%}.action .action-footer[data-v-56d0d562]{text-align:center;margin-top:46px}.action .action-footer button[data-v-56d0d562]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-56d0d562{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56d0d562{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56d0d562{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56d0d562]{animation:rotateEnter-56d0d562 .7s;position:relative}.rotate-leave-active[data-v-56d0d562]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56d0d562]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-56d0d562]{width:160%}}@media screen and (max-width: 800px){.action[data-v-56d0d562]{width:138%}}@media screen and (max-width: 700px){.action[data-v-56d0d562]{width:132%}}@media screen and (max-width: 600px){.action[data-v-56d0d562]{width:116%}}@media screen and (max-width: 500px){.action[data-v-56d0d562]{width:100%}}@media screen and (max-width: 400px){.action[data-v-56d0d562]{width:90%}}@media screen and (max-width: 300px){.action[data-v-56d0d562]{width:100%}}.progress-bar-wrapper[data-v-2691c876]{width:100%;margin-bottom:0}.progress-bar[data-v-2691c876]{width:100%;position:relative;box-shadow:inset 0 1px 3px #0000001a}.progress-fill[data-v-2691c876]{display:flex;align-items:center;justify-content:flex-end;padding-right:8px;box-sizing:border-box}.percentage-text[data-v-2691c876]{color:#fff;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.3);white-space:nowrap;line-height:1}@media (max-width: 768px){.percentage-text[data-v-2691c876]{font-size:10px;padding-right:4px}}@media (prefers-color-scheme: dark){.progress-bar[data-v-2691c876]{box-shadow:inset 0 1px 3px #ffffff1a}}@keyframes bganimation-bf7bcc14{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bf7bcc14{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bf7bcc14{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bf7bcc14]{animation:rotateEnter-bf7bcc14 .7s;position:relative}.rotate-leave-active[data-v-bf7bcc14]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bf7bcc14]{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-bf7bcc14]{color:red}li.disk-item[data-v-bf7bcc14]{width:100%;margin:0 0 1rem}li.disk-item .disk-item_name[data-v-bf7bcc14]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk-item_name>span[data-v-bf7bcc14]{color:#6a7280}li.disk-item .disk_icon[data-v-bf7bcc14]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-bf7bcc14]{display:flex;justify-content:flex-end}li.disk-item .disk_value .disk-item_value[data-v-bf7bcc14]{flex:auto;position:relative;cursor:help;display:flex;align-items:center}li.disk-item .disk_value .disk-item_value .value-data[data-v-bf7bcc14]{width:100%;text-overflow:ellipsis;white-space:nowrap}li.disk-item .disk_value .disk-item_value .value-data>div[data-v-bf7bcc14]{margin-top:10px;display:flex;justify-content:space-between}li.disk-item .disk_value .disk-item_value .value-data button[data-v-bf7bcc14]{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-bf7bcc14]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-bf7bcc14]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:30%;right:30%;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-bf7bcc14]: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-bf7bcc14]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-bf7bcc14]{margin-left:10px;cursor:pointer;margin-bottom:10px}.tooltip-trigger[data-v-bf7bcc14]{flex:none;cursor:help}.tooltip-trigger[data-v-bf7bcc14]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-bf7bcc14]{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-bf7bcc14]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-bf7bcc14]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-bf7bcc14]{visibility:visible;opacity:1}.tooltip-top[data-v-bf7bcc14]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-bf7bcc14]: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-bf7bcc14]: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-30806f07{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30806f07{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30806f07{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30806f07]{animation:rotateEnter-30806f07 .7s;position:relative}.rotate-leave-active[data-v-30806f07]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30806f07]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-30806f07]{width:1.3rem;height:1.3rem}.icon1[data-v-30806f07]{width:1rem;height:1rem}[data-v-30806f07] .folderIcon path{fill:var(--app-container_title-color)!important}a[data-v-30806f07]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content .disk_loading_icon[data-v-30806f07]{height:100px;display:flex;flex-direction:column;align-items:center;padding:10px}.content .disk_loading_icon .disk_loading_info[data-v-30806f07]{font-size:16px;color:#333;margin-top:12px}.content .line[data-v-30806f07]{height:1px;background:var(--btn-border-color);margin:0}.content .item[data-v-30806f07]{display:flex;margin-top:8px;padding:10px}.content .item .icon_box[data-v-30806f07]{width:1.5rem;height:1.5rem;background:#dbeafe;display:flex;align-items:center;justify-content:center;border-radius:4px}.content .item .icon_box .icon[data-v-30806f07]{width:.8rem;height:.8rem}.content .item .info[data-v-30806f07]{flex:1}.content .item .info .name[data-v-30806f07]{display:flex;justify-content:space-between;align-items:center;margin-left:12px;margin-top:6px}.content .item .info .name>div[data-v-30806f07]{font-size:14px;color:var(--app-container_title-color)}.content .item .info .name>span[data-v-30806f07]{display:inline-flex;align-items:center;padding:4px 6px;line-height:1;border:1px solid #d8e3db;background:#f0fdf4;border-radius:4px;color:#008236;font-size:12px;font-weight:400}.content .item .info .name>span .icon[data-v-30806f07]{width:.7rem;height:.7rem;margin-right:4px}.content .item .info .schedule[data-v-30806f07]{margin-top:12px}.content .item .info .schedule span[data-v-30806f07]{font-size:12px;color:#6a7280;font-weight:400}.content .item .info .schedule>div[data-v-30806f07]{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.btn_settings[data-v-30806f07]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-30806f07]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-30806f07]{transform:rotate(90deg)}@keyframes bganimation-30806f07{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30806f07{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30806f07{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30806f07]{animation:rotateEnter-30806f07 .7s;position:relative}.rotate-leave-active[data-v-30806f07]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30806f07]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content .item[data-v-30806f07]{margin-top:0}.content .line[data-v-30806f07]{height:1px;background:#e5e7eb;margin:0 0 10px}}@keyframes bganimation-5d803f28{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5d803f28{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5d803f28{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5d803f28]{animation:rotateEnter-5d803f28 .7s;position:relative}.rotate-leave-active[data-v-5d803f28]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5d803f28]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-5d803f28]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-5d803f28]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;color:var(--app-container_title-color)}li.docker-item .docker-item_value[data-v-5d803f28]{flex:0 0 100%;max-width:50%;padding-left:10px;display:flex;justify-content:flex-end;align-items:center}li.docker-item .docker-item_value .configure[data-v-5d803f28]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-5d803f28]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-5d803f28]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.tooltip-trigger[data-v-5d803f28]{position:relative;display:inline-block;cursor:help}.tooltip-trigger .tooltip-text[data-v-5d803f28]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-5d803f28]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-5d803f28]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-5d803f28]{visibility:visible;opacity:1}.tooltip-top[data-v-5d803f28]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-5d803f28]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-5d803f28]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-5d803f28]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-5d803f28]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-5d803f28]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-5d803f28]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-5d803f28]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-5d803f28]{background-color:#52c41a;transition:.3s}.input-switch span.enable em[data-v-5d803f28]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-5d803f28]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-5d803f28]{transform:translate(0);transition:.3s}.content[data-v-5d803f28]{color:#333;margin-top:20px;margin-bottom:20px;font-weight:400}.content .status[data-v-5d803f28]{display:flex;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #e8e8e8;margin:0 6px}.content .docker_box[data-v-5d803f28]{display:flex;align-items:center;justify-content:space-between;margin:20px 6px}.content .docker_box .title[data-v-5d803f28]{margin-bottom:20px}.content .docker_box .path[data-v-5d803f28]{flex:1;border:1px solid #e0e1e1;background:#f9fafb;border-radius:4px;padding:8px 10px}.content .docker_num[data-v-5d803f28]{display:flex}.content .docker_num .num_item[data-v-5d803f28]{flex:1;display:flex;justify-content:center;align-items:center;flex-direction:column;color:var(--app-container_title-color)}.content .docker_num .num_item>span[data-v-5d803f28]{font-size:20px;margin-top:6px}.docker_tip svg[data-v-5d803f28]{vertical-align:bottom;margin-left:14px;width:1.5em;height:1.5em}.status-icon[data-v-5d803f28]{display:inline-block;margin-left:10px;font-size:12px;color:#008236;padding:4px 6px;background:#dbfce7;border-radius:6px}@keyframes bganimation-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-faa89494{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-faa89494{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-faa89494{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-faa89494]{animation:rotateEnter-faa89494 .7s;position:relative}.rotate-leave-active[data-v-faa89494]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-faa89494]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-faa89494]{width:1.3rem;height:1.3rem}.icon1[data-v-faa89494]{width:1rem;height:1rem}[data-v-faa89494] .dockerIcon path{fill:var(--app-container_title-color)!important}a[data-v-faa89494]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-faa89494]{color:#333;margin-top:10px;margin-bottom:10px;font-weight:400}.btn_settings[data-v-faa89494]{position:relative;padding:6px 34px 6px 18px;border-radius:4px;border:1px solid var(--btn-border-color);line-height:1;display:flex;align-items:center}.rotation[data-v-faa89494]{position:absolute;right:2px;top:50%;height:100%;transform:translateY(-50%);border-left:1px solid var(--btn-border-color);display:flex;align-items:center}.rotation .moreIcon[data-v-faa89494]{transform:rotate(90deg)}@keyframes bganimation-faa89494{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-faa89494{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-faa89494{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-faa89494]{animation:rotateEnter-faa89494 .7s;position:relative}.rotate-leave-active[data-v-faa89494]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-faa89494]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-faa89494]{margin:10px 0}}.pie-chart-wrapper[data-v-a9cd39ac]{position:relative;display:flex;align-items:center;justify-content:center}.chart-dom[data-v-a9cd39ac]{width:100%;height:100%}.center-content[data-v-a9cd39ac]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:2;pointer-events:none}.center-icon[data-v-a9cd39ac]{width:20px;height:20px;margin-bottom:4px;display:block;margin-left:auto;margin-right:auto}.center-label[data-v-a9cd39ac]{margin-top:4px;font-size:14px;font-weight:600}@keyframes bganimation-0aa90746{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0aa90746{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0aa90746{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0aa90746]{animation:rotateEnter-0aa90746 .7s;position:relative}.rotate-leave-active[data-v-0aa90746]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0aa90746]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-0aa90746]{width:1.3rem;height:1.3rem}.icon1[data-v-0aa90746]{width:2rem;height:2rem;margin-bottom:8px}[data-v-0aa90746] .computerIcon path{fill:var(--app-container_title-color)!important}a[data-v-0aa90746]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.content[data-v-0aa90746]{color:#333;margin-top:20px;margin-bottom:20px;padding:0 10px;font-weight:400}.content .chart_box[data-v-0aa90746]{padding-bottom:20px;border-bottom:1px solid var(--btn-border-color);margin-bottom:20px;display:flex}.content .chart_box .chart[data-v-0aa90746]{flex:1;display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.content .chart_box .chart>div[data-v-0aa90746]{margin-top:4px}.content .info[data-v-0aa90746]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.content .info .item[data-v-0aa90746]{display:flex;justify-content:center}.content .info .item>div[data-v-0aa90746]{color:var(--app-container_title-color)}.content .info .item>span[data-v-0aa90746]{color:var(--app-container_status-label_block);font-size:16px;line-height:1}.content .info .item1[data-v-0aa90746]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:20px;padding:30px}.content .info .item1>div[data-v-0aa90746]{display:flex;align-items:center;margin-bottom:8px}.content .info .item1>div>span[data-v-0aa90746]{margin-left:8px}.content .info .bgcolor1[data-v-0aa90746]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-0aa90746]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}@keyframes bganimation-0aa90746{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0aa90746{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0aa90746{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0aa90746]{animation:rotateEnter-0aa90746 .7s;position:relative}.rotate-leave-active[data-v-0aa90746]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0aa90746]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.content[data-v-0aa90746]{margin-top:10px;margin-bottom:10px;padding:0 4px}.content .chart_box[data-v-0aa90746]{padding-bottom:10px;margin-bottom:10px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.content .chart_box[data-v-0aa90746]::-webkit-scrollbar{display:none}.content .info[data-v-0aa90746]{grid-template-columns:repeat(1,1fr);gap:6px}.content .info .item1[data-v-0aa90746]{margin-top:6px;padding:10px}.content .info .bgcolor1[data-v-0aa90746]{background:#e9f2ff;border-radius:10px;border:1px solid #bedbff;color:#155dfc}.content .info .bgcolor2[data-v-0aa90746]{background:#ebfdf1;border-radius:10px;border:1px solid #b9f8cf;color:#008236}}@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}.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-7b58b1f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b58b1f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b58b1f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b58b1f2]{animation:rotateEnter-7b58b1f2 .7s;position:relative}.rotate-leave-active[data-v-7b58b1f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b58b1f2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container .card-container[data-v-7b58b1f2]{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:16px;width:100%;padding-bottom:10px}.page-container .card-container[data-v-7b58b1f2]::-webkit-scrollbar{height:6px}.page-container .card-container[data-v-7b58b1f2]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.page-container .network-container[data-v-7b58b1f2]{display:flex;gap:24px;width:100%;margin-top:20px;align-items:stretch}.page-container .network-container .left-box[data-v-7b58b1f2]{flex:2;min-width:0}.page-container .network-container .right-box[data-v-7b58b1f2]{flex:1;overflow:hidden;min-width:0}.page-container .align-c[data-v-7b58b1f2]{align-items:center}.page-container .other-container[data-v-7b58b1f2]{width:100%;margin-top:20px}.page-container .other-container .grid-container[data-v-7b58b1f2]{display:flex;flex-wrap:wrap;gap:24px}.page-container .other-container .grid-container .grid-item[data-v-7b58b1f2]{display:flex;align-items:center;justify-content:center;border-radius:8px}.page-container .btns[data-v-7b58b1f2]{margin-top:20px}.page-container .system[data-v-7b58b1f2]{margin-top:24px}@keyframes bganimation-7b58b1f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b58b1f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b58b1f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b58b1f2]{animation:rotateEnter-7b58b1f2 .7s;position:relative}.rotate-leave-active[data-v-7b58b1f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b58b1f2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1300px){.page-container .other-container[data-v-7b58b1f2]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-7b58b1f2]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-7b58b1f2]{border-radius:6px}}@keyframes bganimation-7b58b1f2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b58b1f2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b58b1f2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b58b1f2]{animation:rotateEnter-7b58b1f2 .7s;position:relative}.rotate-leave-active[data-v-7b58b1f2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b58b1f2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){.page-container .card-container[data-v-7b58b1f2]{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:16px;scrollbar-width:none;-ms-overflow-style:none}.page-container .card-container>*[data-v-7b58b1f2]{flex:0 0 auto;min-width:280px}.page-container .card-container[data-v-7b58b1f2]::-webkit-scrollbar{display:none}.page-container .network-container[data-v-7b58b1f2]{flex-direction:column;margin-top:10px;gap:10px}.page-container .network-container .right-box[data-v-7b58b1f2]{flex:none;width:100%}.page-container .other-container[data-v-7b58b1f2]{width:100%;margin-top:16px}.page-container .other-container .grid-container[data-v-7b58b1f2]{flex-direction:column;gap:12px}.page-container .other-container .grid-container .grid-item[data-v-7b58b1f2]{border-radius:6px}}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0b149a51]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-0b149a51]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-0b149a51]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-0b149a51]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-0b149a51]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-0b149a51]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-0b149a51]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-0b149a51]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-0b149a51]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-0b149a51]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-0b149a51]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-0b149a51]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-0b149a51]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-0b149a51]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-0b149a51]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-0b149a51]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-0b149a51]{background-color:#439c07}@keyframes bganimation-0b149a51{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b149a51{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b149a51{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b149a51]{animation:rotateEnter-0b149a51 .7s;position:relative}.rotate-leave-active[data-v-0b149a51]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b149a51]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-f442676c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f442676c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f442676c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f442676c]{animation:rotateEnter-f442676c .7s;position:relative}.rotate-leave-active[data-v-f442676c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f442676c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-f442676c]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-f442676c]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-f442676c]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-f442676c]{margin:.5rem 0}#page .network-message li[data-v-f442676c]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-f442676c]{color:red}#page .network-message li a[data-v-f442676c]{color:#00f}#page form[data-v-f442676c]{display:block;width:100%;margin:3rem 0}#page form label[data-v-f442676c]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-f442676c]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-f442676c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-f442676c]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-f442676c]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-f442676c]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-f442676c]{margin-left:10px;user-select:none}#page .msg[data-v-f442676c]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-f442676c]{width:100%;margin-top:3rem}#page .btns button[data-v-f442676c]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-162eca5f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-162eca5f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-162eca5f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-162eca5f]{animation:rotateEnter-162eca5f .7s;position:relative}.rotate-leave-active[data-v-162eca5f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-162eca5f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-162eca5f]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-162eca5f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-162eca5f]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-162eca5f]{margin:.5rem 0}#page .network-message li[data-v-162eca5f]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-162eca5f]{color:red}#page .network-message li a[data-v-162eca5f]{color:#00f}#page form[data-v-162eca5f]{display:block;width:100%;margin:3rem 0}#page form label[data-v-162eca5f]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-162eca5f]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-162eca5f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-162eca5f]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-162eca5f],#page form label select[data-v-162eca5f]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-162eca5f]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-162eca5f]{margin-left:10px;user-select:none}#page .msgs[data-v-162eca5f]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-162eca5f]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-162eca5f]{width:100%;margin-top:3rem}#page .btns button[data-v-162eca5f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-2dee59a8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2dee59a8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2dee59a8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2dee59a8]{animation:rotateEnter-2dee59a8 .7s;position:relative}.rotate-leave-active[data-v-2dee59a8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2dee59a8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-2dee59a8]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-2dee59a8]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-2dee59a8]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-2dee59a8]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-2dee59a8]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-2dee59a8]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-2dee59a8]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-2dee59a8]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-2dee59a8]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-2dee59a8]{display:block;width:100%;margin:3rem 0}#page form label[data-v-2dee59a8]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-2dee59a8]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-2dee59a8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-2dee59a8]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-2dee59a8],#page form label select[data-v-2dee59a8]{width:100%;display:block;height:42px}.switch_inline[data-v-2dee59a8]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-2dee59a8]{margin-left:10px;user-select:none}@keyframes bganimation-77451104{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77451104{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77451104{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77451104]{animation:rotateEnter-77451104 .7s;position:relative}.rotate-leave-active[data-v-77451104]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77451104]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-77451104]{line-height:22px;font-size:14px}.label-item[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77451104]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77451104]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77451104]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77451104]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-77451104],.label-item .label-item_value input[data-v-77451104]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-77451104]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-77451104]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-77451104]{top:0}.label-item .label-item_tips[data-v-77451104]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77451104]{vertical-align:top}span.msg-warning[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-77451104]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-77451104]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-77451104]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-77451104]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-77451104]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-77451104]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-77451104]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-77451104]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-77451104]{display:block}.actioner-container_body.setup-success .body-tips[data-v-77451104]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-77451104]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-77451104]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5ec616d8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ec616d8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ec616d8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ec616d8]{animation:rotateEnter-5ec616d8 .7s;position:relative}.rotate-leave-active[data-v-5ec616d8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ec616d8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-5ec616d8]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-70cb932e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70cb932e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70cb932e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70cb932e]{animation:rotateEnter-70cb932e .7s;position:relative}.rotate-leave-active[data-v-70cb932e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70cb932e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-70cb932e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-70cb932e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-70cb932e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-70cb932e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-70cb932e]{width:100%}.label-item .label-item_value select[data-v-70cb932e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-70cb932e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-70cb932e]{top:0;margin:0}.label-item .label-item_tips[data-v-70cb932e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-70cb932e]{vertical-align:top}span.msg-warning[data-v-70cb932e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-56c0f6fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-56c0f6fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-56c0f6fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-56c0f6fb]{animation:rotateEnter-56c0f6fb .7s;position:relative}.rotate-leave-active[data-v-56c0f6fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-56c0f6fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-56c0f6fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-56c0f6fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-56c0f6fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-56c0f6fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-56c0f6fb]{width:100%}.label-item .label-item_value select[data-v-56c0f6fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-56c0f6fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-56c0f6fb]{top:0;margin:0}.label-item .label-item_tips[data-v-56c0f6fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-56c0f6fb]{vertical-align:top}span.msg-warning[data-v-56c0f6fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-0586260e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0586260e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0586260e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0586260e]{animation:rotateEnter-0586260e .7s;position:relative}.rotate-leave-active[data-v-0586260e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0586260e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-0586260e]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-0586260e]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-0586260e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-0586260e]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-0586260e]{width:100%}.label-item .label-item_value select[data-v-0586260e]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-0586260e]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-0586260e]{top:0;margin:0}.label-item .label-item_tips[data-v-0586260e]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-0586260e]{vertical-align:top}span.msg-warning[data-v-0586260e]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-e20ba082]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-e20ba082] .actioner-container{width:100%}.action-main[data-v-e20ba082] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-e20ba082] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-e20ba082] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-e20ba082{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e20ba082{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e20ba082{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e20ba082]{animation:rotateEnter-e20ba082 .7s;position:relative}.rotate-leave-active[data-v-e20ba082]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e20ba082]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-e20ba082]{width:90%}}@keyframes bganimation-f1411b40{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f1411b40{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f1411b40{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f1411b40]{animation:rotateEnter-f1411b40 .7s;position:relative}.rotate-leave-active[data-v-f1411b40]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f1411b40]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-f1411b40]{margin-bottom:32px}.item-status[data-v-f1411b40]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-f1411b40]{text-decoration:underline;cursor:help}@keyframes bganimation-2b6b4ef9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b6b4ef9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b6b4ef9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b6b4ef9]{animation:rotateEnter-2b6b4ef9 .7s;position:relative}.rotate-leave-active[data-v-2b6b4ef9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b6b4ef9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2b6b4ef9]{margin-bottom:1rem}#page[data-v-2b6b4ef9] .cbi-section{padding:1rem}#page[data-v-2b6b4ef9] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-f3b0d6f0]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-f3b0d6f0] .actioner-container{width:100%}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-f3b0d6f0] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-f3b0d6f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f3b0d6f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f3b0d6f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f3b0d6f0]{animation:rotateEnter-f3b0d6f0 .7s;position:relative}.rotate-leave-active[data-v-f3b0d6f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f3b0d6f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-f3b0d6f0]{width:90%}}@keyframes bganimation-abf07ee0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-abf07ee0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-abf07ee0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-abf07ee0]{animation:rotateEnter-abf07ee0 .7s;position:relative}.rotate-leave-active[data-v-abf07ee0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-abf07ee0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-abf07ee0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-4a646cde{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a646cde{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a646cde{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a646cde]{animation:rotateEnter-4a646cde .7s;position:relative}.rotate-leave-active[data-v-4a646cde]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a646cde]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-4a646cde]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-997c3dee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-997c3dee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-997c3dee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-997c3dee]{animation:rotateEnter-997c3dee .7s;position:relative}.rotate-leave-active[data-v-997c3dee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-997c3dee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-997c3dee]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-17b89cb7{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-17b89cb7{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-17b89cb7{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-17b89cb7]{animation:rotateEnter-17b89cb7 .7s;position:relative}.rotate-leave-active[data-v-17b89cb7]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-17b89cb7]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-17b89cb7]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-17b89cb7]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-17b89cb7]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-17b89cb7]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-17b89cb7]{font-weight:700;font-size:14px}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-6f6071af]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-6f6071af]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-6f6071af]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-6f6071af]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-6f6071af]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-6f6071af]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-6f6071af],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-6f6071af]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-6f6071af]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-6f6071af]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-6f6071af]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-6f6071af]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-6f6071af{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f6071af{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f6071af{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f6071af]{animation:rotateEnter-6f6071af .7s;position:relative}.rotate-leave-active[data-v-6f6071af]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f6071af]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-6f6071af]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-6f6071af]{width:100%}}@keyframes bganimation-4ec945e0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4ec945e0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4ec945e0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4ec945e0]{animation:rotateEnter-4ec945e0 .7s;position:relative}.rotate-leave-active[data-v-4ec945e0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4ec945e0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 170px;height:80px;justify-content:start}[data-v-4ec945e0] .interface-device-flex{justify-content:start}.container[data-v-4ec945e0]{width:100%;overflow-x:auto}.container .table-wrapper[data-v-4ec945e0]{min-width:1280px;width:max-content}.container .table-wrapper .table-body[data-v-4ec945e0]{display:flex;flex-direction:column;min-width:100%}.container .table-wrapper .table-header[data-v-4ec945e0]{display:flex;border-bottom:2px solid #e5e7eb;background-color:#f8fafc;padding-left:10px}.container .table-wrapper .table-row[data-v-4ec945e0]{display:flex;min-width:100%;align-items:center;border-bottom:1px solid #e5e7eb;transition:background-color .2s}.container .table-wrapper .table-row[data-v-4ec945e0]:hover{background-color:#f3f4f6}.container .table-wrapper .add-row[data-v-4ec945e0]{cursor:pointer}.container .table-wrapper .add-row[data-v-4ec945e0]:hover{background-color:#f0f9ff}.container .table-wrapper .table-cell[data-v-4ec945e0]{padding:12px 16px;box-sizing:border-box;display:flex;justify-content:center}.container .table-wrapper .device-col[data-v-4ec945e0]{flex:0 0 200px;min-width:200px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:first-of-type{flex:0 0 10px}.container .table-wrapper .spacer-col[data-v-4ec945e0]:last-of-type{flex:0 0 32px}.container .table-wrapper .name-col[data-v-4ec945e0]{flex:0 0 150px;min-width:150px;text-align:left}.container .table-wrapper .action-col[data-v-4ec945e0]{flex:0 0 auto;text-align:right;min-width:160px}.container .table-wrapper .icon[data-v-4ec945e0]{width:48px;height:100%;cursor:pointer}.container .table-wrapper .interface-device-flex[data-v-4ec945e0]{display:flex;justify-content:center;width:100%}.container .cbi-page-actions[data-v-4ec945e0]{margin-top:20px;display:flex;justify-content:flex-end}@media (max-width: 768px){.container[data-v-4ec945e0] .app-container_status-label_bg{margin:8px 0;flex:0 0 80px;width:120px;height:80px;justify-content:start}.container .table-wrapper[data-v-4ec945e0]{min-width:100%}.container .table-cell[data-v-4ec945e0]{padding:8px 12px}.container .device-col[data-v-4ec945e0]{flex:0 0 120px!important;min-width:120px!important;margin-right:16px}.container .name-col[data-v-4ec945e0]{flex:0 0 80px!important;min-width:80px!important}.container .action-col[data-v-4ec945e0]{min-width:120px}.container .interface-device-flex[data-v-4ec945e0]{flex-direction:column;gap:4px}}tr>td,tr>th,.tr>.td,.tr>.th,.cbi-section-table-row:before,#cbi-wireless>#wifi_assoclist_table>.tr:nth-child(2){border:none}@keyframes bganimation-2c8ecf89{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c8ecf89{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c8ecf89{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c8ecf89]{animation:rotateEnter-2c8ecf89 .7s;position:relative}.rotate-leave-active[data-v-2c8ecf89]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c8ecf89]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-table-container[data-v-2c8ecf89]{width:100%;font-size:14px;color:var(--flow-span-color)}.custom-table-container input[data-v-2c8ecf89]{margin:0}.custom-table-container .custom-table-wrapper[data-v-2c8ecf89]{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.custom-table-container .custom-table[data-v-2c8ecf89]{width:100%;border-collapse:collapse;table-layout:auto}.custom-table-container .custom-table thead[data-v-2c8ecf89]{border-radius:8px!important;background:#F8F8F8}.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{color:var(--flow-span-color)!important;font-weight:500!important;border:none!important;padding:18px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]{background:transparent;border-bottom:1px solid #f8f8f8!important}.custom-table-container .custom-table tbody tr[data-v-2c8ecf89]:last-child{border-bottom:none!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:24px 8px!important;white-space:nowrap}.custom-table-container .custom-table tbody tr:hover td[data-v-2c8ecf89]{background-color:#00000005!important}.custom-table-container .custom-table tbody tr.empty-row td[data-v-2c8ecf89]{text-align:center!important;padding:30px 0!important;color:#c98d8d66!important;border-bottom:none!important}.custom-table-container .custom-table .selection-header[data-v-2c8ecf89],.custom-table-container .custom-table .selection-cell[data-v-2c8ecf89]{width:50px!important;min-width:50px!important;text-align:center!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:0 8px}.custom-table-container .pagination-wrapper .pagination-info[data-v-2c8ecf89]{color:#0009;font-size:13px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:32px;height:32px;margin:0 4px;padding:0 8px;background:#fff;color:#000000a6;cursor:pointer;transition:all .3s}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:hover:not(:disabled){color:#1890ff;border-color:#1890ff}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]:disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.custom-table-container .pagination-wrapper .pagination-controls button.active[data-v-2c8ecf89]{color:#fff;background-color:#1890ff;border-color:#1890ff}@media (max-width: 768px){.custom-table-container .custom-table thead tr th[data-v-2c8ecf89]{padding:8px 4px!important;font-size:13px!important}.custom-table-container .custom-table tbody tr td[data-v-2c8ecf89]{padding:12px 4px!important;font-size:13px!important}.custom-table-container .pagination-wrapper[data-v-2c8ecf89]{flex-direction:column;align-items:flex-start;gap:12px}.custom-table-container .pagination-wrapper .pagination-controls[data-v-2c8ecf89]{display:flex;flex-wrap:wrap;gap:4px}.custom-table-container .pagination-wrapper .pagination-controls button[data-v-2c8ecf89]{min-width:28px;height:28px;margin:0;padding:0 6px;font-size:13px}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.del-button[data-v-d28f7d82]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 15px;font-size:14px;border-radius:4px}.add-button--danger[data-v-d28f7d82]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-d28f7d82]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-d28f7d82]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.del-button--danger[data-v-d28f7d82]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-d28f7d82]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-d28f7d82]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-d28f7d82]{opacity:.5;cursor:not-allowed}.search_box[data-v-d28f7d82]{width:350px}.search_box .search_container[data-v-d28f7d82]{display:flex;align-items:center;gap:8px}.search_box .search_container .search_input_wrapper[data-v-d28f7d82]{position:relative;flex-grow:1}.search_box .search_container .search_input_wrapper .search_icon[data-v-d28f7d82]{position:absolute;right:10px;top:50%;transform:translateY(-50%);fill:#000c;cursor:pointer}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]{width:100%;padding:4px 35px 4px 12px;border-radius:4px;border:1px solid rgba(0,0,0,.6);font-size:14px;outline:none;transition:border-color .3s;color:#222;background:transparent}.search_box .search_container .search_input_wrapper .search_input[data-v-d28f7d82]:focus{border-color:#4a90e2}.search_box .search_container .refresh_button[data-v-d28f7d82]{background:none;border:none;cursor:pointer;padding:8px;border-radius:50%;transition:background-color .3s;display:flex;align-items:center;justify-content:center}.search_box .search_container .refresh_button[data-v-d28f7d82]:hover{background-color:#f0f0f0}.search_box .search_container .refresh_button .refresh_icon[data-v-d28f7d82]{fill:#000c;transition:transform .3s}.search_box .search_container .refresh_button.rotate .refresh_icon[data-v-d28f7d82]{animation:spin-d28f7d82 1s linear infinite}@keyframes spin-d28f7d82{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bganimation-d28f7d82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d28f7d82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d28f7d82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d28f7d82]{animation:rotateEnter-d28f7d82 .7s;position:relative}.rotate-leave-active[data-v-d28f7d82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d28f7d82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.search_box[data-v-d28f7d82]{width:80%}.del-button[data-v-d28f7d82]{padding:6px 8px}}@keyframes bganimation-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-1c110960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c110960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c110960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c110960]{animation:rotateEnter-1c110960 .7s;position:relative}.rotate-leave-active[data-v-1c110960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c110960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.custom-content[data-v-1c110960]{position:relative}.custom-content .img_box[data-v-1c110960]{position:absolute;right:0;top:0;width:100px;height:100px}.custom-content .img_box>img[data-v-1c110960]{width:100%;height:100%}.custom-content .IP_address[data-v-1c110960]{text-align:center;padding:14px 16px;background:rgba(85,58,254,.1);border-radius:8px;margin-bottom:16px}.custom-content .tip[data-v-1c110960]{text-align:center;margin-top:16px;font-size:12px}.custom-content .item_box[data-v-1c110960]{margin-top:12px;display:flex;align-items:center}.custom-content .item_box>input[data-v-1c110960]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>input[data-v-1c110960]::placeholder{color:#8898aa}.custom-content .item_box>select[data-v-1c110960]{width:45%;color:var(--card-box-shadow);background:transparent!important}.custom-content .item_box>select>option[data-v-1c110960]{padding:4px 12px!important}.custom-content .item_box .item_left[data-v-1c110960]{width:140px;text-align:right}.del-button[data-v-1c110960]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:6px 10px;font-size:14px;border-radius:4px}.del-button--danger[data-v-1c110960]{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.del-button--danger[data-v-1c110960]:hover{background:#f78989;border-color:#f78989;color:#fff}.del-button--danger[data-v-1c110960]:active{background:#dd6161;border-color:#dd6161;color:#fff}.del-button.is-disabled[data-v-1c110960]{opacity:.5;cursor:not-allowed}@keyframes bganimation-1c110960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1c110960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1c110960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1c110960]{animation:rotateEnter-1c110960 .7s;position:relative}.rotate-leave-active[data-v-1c110960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1c110960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-15068472{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-15068472{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-15068472{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-15068472]{animation:rotateEnter-15068472 .7s;position:relative}.rotate-leave-active[data-v-15068472]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-15068472]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.dialog-overlay[data-v-15068472]{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:16px}.dialog-container[data-v-15068472]{background-color:#fff;border-radius:12px;padding:16px;width:100%;max-width:400px;box-shadow:0 4px 12px #00000026}.dialog-container .dialog-title[data-v-15068472]{margin:0 0 20px;font-size:1.2rem;font-weight:500;color:#333;text-align:left}.dialog-container .dialog-message[data-v-15068472]{margin:20px 0;font-size:1rem;color:#666;text-align:center}.dialog-container .loading-animation[data-v-15068472]{margin:20px 0}.dialog-container .loading-animation .spinner[data-v-15068472]{width:40px;height:40px;margin:0 auto;border:4px solid rgba(110,72,170,.2);border-radius:50%;border-top-color:#8d78fa;animation:spin-15068472 1s linear infinite}.dialog-container .dialog-button[data-v-15068472]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s;margin:0 auto;display:block}.dialog-container .dialog-button[data-v-15068472]:hover{background-color:#553afe;opacity:.9}.dialog-container .dialog-button[data-v-15068472]:active{transform:scale(.98)}.dialog-container .warning-message[data-v-15068472]{display:flex;gap:8px;background-color:#fff8e1;border-left:4px solid #FFC107;padding:12px;margin-bottom:20px;border-radius:4px;font-size:.9rem;color:#333;text-align:left}.dialog-container .warning-message .warning-icon[data-v-15068472]{flex-shrink:0;width:20px;height:20px;color:#ffa000}.dialog-container .input-group[data-v-15068472]{margin-bottom:16px;text-align:left}.dialog-container .input-group label[data-v-15068472]{display:block;margin-bottom:8px;font-size:.95rem;color:#333}.dialog-container .input-group .tag-input[data-v-15068472]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .2s}.dialog-container .input-group .tag-input[data-v-15068472]:focus{outline:none;border-color:#6e48aa}.dialog-container .button-group[data-v-15068472]{display:flex;justify-content:flex-end;gap:12px}.dialog-container .button-group .cancel-button[data-v-15068472]{background-color:#fff;color:#333;border:1px solid #ddd;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .cancel-button[data-v-15068472]:hover{background-color:#e0e0e0}.dialog-container .button-group .cancel-button[data-v-15068472]:active{transform:scale(.98)}.dialog-container .button-group .confirm-button[data-v-15068472]{background-color:#553afe;color:#fff;border:none;border-radius:6px;padding:4px 20px;font-size:1rem;cursor:pointer;transition:all .2s}.dialog-container .button-group .confirm-button[data-v-15068472]:hover{background-color:#553afe;opacity:.9}.dialog-container .button-group .confirm-button[data-v-15068472]:active{transform:scale(.98)}.tag-dialog[data-v-15068472]{max-width:500px}.fade-enter-active[data-v-15068472],.fade-leave-active[data-v-15068472]{transition:opacity .3s ease}.fade-enter-from[data-v-15068472],.fade-leave-to[data-v-15068472]{opacity:0}@keyframes spin-15068472{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-circle-15068472{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}@keyframes icon-line-tip-15068472{0%{width:0;left:1px;top:15px}54%{width:0;left:1px;top:15px}70%{width:40px;left:-6px;top:30px}84%{width:14px;left:17px;top:38px}to{width:12px;left:8px;top:22px}}@keyframes icon-line-long-15068472{0%{width:0;right:37px;top:43px}65%{width:0;right:37px;top:43px}84%{width:44px;right:0;top:28px}to{width:20px;right:8px;top:20px}}@media (max-width: 480px){.dialog-container[data-v-15068472]{padding:16px}.dialog-container .dialog-title[data-v-15068472]{font-size:1.1rem;margin-bottom:16px}.dialog-container .dialog-message[data-v-15068472]{font-size:.95rem;margin:16px 0}.dialog-container .warning-message[data-v-15068472]{font-size:.85rem;padding:10px}.dialog-container .input-group[data-v-15068472]{margin-bottom:20px}.dialog-container .input-group label[data-v-15068472]{font-size:.9rem}.dialog-container .input-group .tag-input[data-v-15068472]{padding:8px 10px;font-size:.95rem}.dialog-container .button-group[data-v-15068472]{gap:8px}.dialog-container .button-group .cancel-button[data-v-15068472],.dialog-container .button-group .confirm-button[data-v-15068472]{padding:4px 16px;font-size:.95rem}.dialog-container .loading-animation .spinner[data-v-15068472]{width:36px;height:36px}}@keyframes bganimation-66e54129{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66e54129{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66e54129{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66e54129]{animation:rotateEnter-66e54129 .7s;position:relative}.rotate-leave-active[data-v-66e54129]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66e54129]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.add-button[data-v-66e54129]{display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;text-align:center;box-sizing:border-box;outline:none;margin:0 8px 0 0;transition:all .1s;font-weight:500;user-select:none;padding:8px 12px;font-size:14px;border-radius:4px}.add-button--danger[data-v-66e54129]{color:#fff;background-color:#553afe;border-color:#553afe}.add-button--danger[data-v-66e54129]:hover{background:#5c44f8;border-color:#5c44f8;color:#fff}.add-button--danger[data-v-66e54129]:active{background:#553AFE;border-color:#553afe;color:#fff}.add-button.is-disabled[data-v-66e54129]{opacity:.5;cursor:not-allowed}.tab-container[data-v-66e54129]{display:flex;flex-direction:row;width:100%;margin:0 auto;border-radius:8px;overflow:hidden}@media (max-width: 768px){.tab-container[data-v-66e54129]{flex-direction:column}}.tab-header[data-v-66e54129]{display:flex;flex-direction:column;width:120px}@media (max-width: 768px){.tab-header[data-v-66e54129]{flex-direction:row;width:100%;overflow-x:auto;white-space:nowrap}}.tab-button[data-v-66e54129]{padding:12px 16px;text-align:left;border:none;background:transparent!important;cursor:pointer;font-size:14px;color:var(--flow-span-color);transition:all .3s ease;border-radius:8px 0 0 8px}.tab-button[data-v-66e54129]:hover{background:var(--tag-bg-color)!important}.tab-button.active[data-v-66e54129]{background:var(--tag-bg-color)!important;font-weight:500;margin:0}@media (max-width: 768px){.tab-button[data-v-66e54129]{border-radius:8px 8px 0 0;text-align:center;flex:1;min-width:max-content}.tab-button.active[data-v-66e54129]{border-radius:8px 8px 0 0}}.tab-content_g[data-v-66e54129]{flex:1;padding:20px;background:var(--tag-bg-color);border-radius:0 8px 8px 0;min-height:60vh}.tab-content_g .not_installed[data-v-66e54129]{display:flex;flex-direction:column;align-items:center}.tab-content_g .not_installed>span[data-v-66e54129]{color:var(--tit-color);margin:20px 0}.tab-content_g .not_installed .not_installed_btn[data-v-66e54129]{padding:6px 16px;background:#553AFE;border-radius:4px;font-size:14px;color:#fff;cursor:pointer}@media (max-width: 768px){.tab-content_g[data-v-66e54129]{border-radius:0 0 8px 8px}}.item_box[data-v-66e54129]{margin-top:12px;display:flex;align-items:center;color:var(--tit-color)!important}.item_box>input[data-v-66e54129]{width:40%;color:var(--card-box-shadow);background:transparent!important;color:var(--tit-color)!important}@media (max-width: 768px){.item_box>input[data-v-66e54129]{width:70%}}.item_box>input[data-v-66e54129]::placeholder{color:var(--item-label_key-span-color)}.item_box>select[data-v-66e54129]{background:transparent!important;width:40%;color:var(--card-box-shadow)}@media (max-width: 768px){.item_box>select[data-v-66e54129]{width:70%}}.item_box>select>option[data-v-66e54129]{padding:4px 12px!important}.item_box .item_left[data-v-66e54129]{width:140px;text-align:right}@media (max-width: 768px){.item_box .item_left[data-v-66e54129]{width:100px}}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.tab-container[data-v-a5a78984]{margin:0 auto}.tabs_box_g[data-v-a5a78984]{display:flex}.tabs_box_g button[data-v-a5a78984]{padding:14px 24px;border:none;background:none;cursor:pointer;font-size:14px;border-radius:8px 8px 0 0;margin:0;transition:all .3s ease}.tabs_box_g button.active[data-v-a5a78984]{background:var(--card-bg-color);color:#553afe;font-weight:700;position:relative}.tab-content_g[data-v-a5a78984]{background:var(--card-bg-color);padding:16px;border-radius:0 8px 8px}.content-item[data-v-a5a78984]{min-height:60vh}@keyframes bganimation-a5a78984{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a5a78984{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a5a78984{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a5a78984]{animation:rotateEnter-a5a78984 .7s;position:relative}.rotate-leave-active[data-v-a5a78984]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a5a78984]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.tabs_box_g button[data-v-a5a78984]{padding:7px 12px!important}.tab-content_g[data-v-a5a78984]{border-radius:0 0 8px 8px}}@keyframes bganimation-de94d0fe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-de94d0fe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-de94d0fe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-de94d0fe]{animation:rotateEnter-de94d0fe .7s;position:relative}.rotate-leave-active[data-v-de94d0fe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-de94d0fe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-de94d0fe]{width:24px;height:24px;margin-right:6px}.icon1[data-v-de94d0fe]{width:16px;height:16px;margin-right:8px}.icon2[data-v-de94d0fe]{width:20px;height:20px;margin-right:8px}.icon3[data-v-de94d0fe]{width:17px;height:17px;margin-right:8px}.m-20[data-v-de94d0fe]{margin:20px 0!important}[data-v-de94d0fe] .modal-container .modal-header{border-bottom:none;padding-bottom:0;padding-left:20px}[data-v-de94d0fe] .modal-container .modal-header .modal-title{text-align:left}[data-v-de94d0fe] .modal-container .modal-content{padding:0 20px 20px}.item_container[data-v-de94d0fe]{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:24px;font-size:16px}.item_container .item[data-v-de94d0fe]{padding:16px;background:var(--card-bg-color);border-radius:10px}.item_container .item .item_title[data-v-de94d0fe]{display:flex;align-items:center}.item_container .item .item_title>span[data-v-de94d0fe]{color:var(--app-container_title-color);display:inline-block;padding-top:2px}.item_container .item>p[data-v-de94d0fe]{color:#717182;margin-top:10px}.item_container .item .wifi_btn[data-v-de94d0fe]{margin:40px 0;display:flex;justify-content:center}.item_container .item .wifi_btn>div[data-v-de94d0fe]{background:#000;padding:12px 24px;border-radius:6px;display:flex;align-items:center;color:#fff;cursor:pointer;font-size:14px}.item_container .item .wifi_btn>div>span[data-v-de94d0fe]{display:inline-block;padding-top:2px}.item_container .item .wifi_btn .start_btn[data-v-de94d0fe]{padding:10px;width:100%;display:flex;justify-content:center}.item_container .item .progress>p[data-v-de94d0fe]{display:flex;justify-content:space-between;font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .is-bg[data-v-de94d0fe]{opacity:.6;pointer-events:none;cursor:not-allowed}.item_container .item .select_box[data-v-de94d0fe]{margin-top:30px;color:var(--app-container_title-color)}.item_container .item .select_box>select[data-v-de94d0fe]{width:100%;background:#f3f3f5;border-radius:6px;color:var(--app-container_title-color)}.item_container .item .select_box>select.is-placeholder[data-v-de94d0fe]{color:#9aa0a6}.item_container .item .select_box option[disabled][data-v-de94d0fe]{color:#9aa0a6}.item_container .item .select_box option[hidden][data-v-de94d0fe]{display:none}.item_container .item .tip[data-v-de94d0fe]{text-align:center;font-size:14px}.item_container .item .log_info[data-v-de94d0fe]{padding:24px 16px;margin-top:20px;background:black;border-radius:8px;max-height:300px;overflow-y:auto}.item_container .item .log_info[data-v-de94d0fe]::-webkit-scrollbar{height:6px}.item_container .item .log_info[data-v-de94d0fe]::-webkit-scrollbar-thumb{background:#777780;border-radius:6px}.item_container .item .log_info>p[data-v-de94d0fe]{font-size:14px;color:#05df72;margin-bottom:12px}.item_container .item .log_info>p[data-v-de94d0fe]:last-child{margin-bottom:0}.item_container .item .result_box[data-v-de94d0fe]{margin-top:20px}.item_container .item .result_box .result[data-v-de94d0fe]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px}.item_container .item .result_box .result .result_state[data-v-de94d0fe]{display:flex;flex-direction:column;align-items:center;color:var(--app-container_title-color)}.item_container .item .result_box .result .result_state>div[data-v-de94d0fe]{margin-bottom:6px;font-weight:700;font-size:18px;letter-spacing:.1em}.item_container .item .result_box .result .result_state .result_txt[data-v-de94d0fe]{font-size:12px}.item_container .item .result_box .result .result_item[data-v-de94d0fe]{background:#ececf0;border-radius:6px;padding:20px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.item_container .item .result_box .result .result_item .result_title[data-v-de94d0fe]{font-size:16px;color:#0a0a0a;margin-bottom:12px}.item_container .item .result_box .result .result_item .speed_value[data-v-de94d0fe]{font-size:24px;font-weight:700;letter-spacing:.1em}.item_container .item .result_box .result .result_item .speed_title[data-v-de94d0fe]{font-size:12px}.item_container .item .result_box .result .result_item .icon_speed[data-v-de94d0fe]{width:30px;height:30px;margin-bottom:10px}.item_container .item .result_box .result .result_item .icon_speed1[data-v-de94d0fe]{width:26px;height:26px;margin-bottom:10px}.item_container .item .result_box .result .result_item .unit[data-v-de94d0fe]{color:#717182;display:inline-block;margin-bottom:6px}.custom-content p[data-v-de94d0fe]{color:#717182}.custom-content .address_box[data-v-de94d0fe]{background:#ececf0;border-radius:6px;padding:10px 12px;margin-top:16px;display:flex;justify-content:space-between;align-items:center}.custom-content .address_box>span[data-v-de94d0fe]{font-size:16px}.custom-content .address_box>div[data-v-de94d0fe]{background:#fff;padding:6px 12px;border-radius:4px;cursor:pointer}@keyframes spin-de94d0fe{to{transform:rotate(360deg)}}.icon3-wrap[data-v-de94d0fe]{display:inline-flex;width:17px;height:17px;margin-right:8px;align-items:center;justify-content:center}.icon3-wrap .icon3[data-v-de94d0fe]{width:100%;height:100%}.is-rotating[data-v-de94d0fe]{animation:spin-de94d0fe 1s linear infinite;transform-origin:center;transform-box:fill-box;will-change:transform}.line[data-v-de94d0fe]{height:1px;background:#d9d9d9;margin:20px 0}.status[data-v-de94d0fe]{display:inline-block;padding:4px 12px;color:#fff;border-radius:6px;font-size:12px;margin-bottom:10px}.status_bg1[data-v-de94d0fe]{background:#00c950}.status_bg2[data-v-de94d0fe]{background:#2b7fff}.status_bg3[data-v-de94d0fe]{background:#ef4444}.status_bg4[data-v-de94d0fe]{background:#f0b100}@keyframes bganimation-de94d0fe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-de94d0fe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-de94d0fe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-de94d0fe]{animation:rotateEnter-de94d0fe .7s;position:relative}.rotate-leave-active[data-v-de94d0fe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-de94d0fe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media (max-width: 827px){.item_container[data-v-de94d0fe]{grid-template-columns:repeat(1,1fr);grid-gap:12px;padding-bottom:16px}}@keyframes bganimation-63694ef8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63694ef8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-63694ef8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-63694ef8]{animation:rotateEnter-63694ef8 .7s;position:relative}.rotate-leave-active[data-v-63694ef8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63694ef8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-63694ef8]{width:30px;height:30px;margin-right:10px;display:block}.icon[data-v-63694ef8] svg{display:block}.container[data-v-63694ef8]{min-height:87vh}.container .title[data-v-63694ef8]{font-size:16px;margin-bottom:20px;display:flex;justify-content:center;flex-direction:column}.container .title>div[data-v-63694ef8]{display:inline-flex;justify-content:center;align-items:center;line-height:1;margin-bottom:10px}.container .title>div>span[data-v-63694ef8]{color:var(--app-container_title-color);position:relative;top:1px;font-weight:600}.container .title>p[data-v-63694ef8]{text-align:center;color:#717182}@keyframes bganimation-63694ef8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63694ef8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-63694ef8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-63694ef8]{animation:rotateEnter-63694ef8 .7s;position:relative}.rotate-leave-active[data-v-63694ef8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63694ef8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-1f11eeec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f11eeec{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1f11eeec{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1f11eeec]{animation:rotateEnter-1f11eeec .7s;position:relative}.rotate-leave-active[data-v-1f11eeec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f11eeec]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-1f11eeec]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-1f11eeec]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-1f11eeec]{display:none;align-items:center}.switch-core[data-v-1f11eeec]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-1f11eeec]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-1f11eeec]{opacity:.6;cursor:not-allowed}.switch-button[data-v-1f11eeec]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(20px)}.switch-label[data-v-1f11eeec]{font-size:14px;color:#999}.switch-label.active[data-v-1f11eeec]{color:#409eff}form.form-container[data-v-1f11eeec]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-name[data-v-1f11eeec]{display:block;width:100%;margin-bottom:.5rem;color:var(--item-label_key-span-color)}form.form-container .label-name span[data-v-1f11eeec]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-1f11eeec]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-1f11eeec],form.form-container .label-value select[data-v-1f11eeec]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:var(--item-label_key-span-color);font-size:14px}form.form-container .label-value input>option[data-v-1f11eeec],form.form-container .label-value select>option[data-v-1f11eeec]{color:#8898aa}form.form-container .label-value input[data-v-1f11eeec]:focus,form.form-container .label-value select[data-v-1f11eeec]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-1f11eeec]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-1f11eeec]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-1f11eeec],form.form-container .label-value input[type=radio][data-v-1f11eeec]{width:auto}form.form-container .label-value input[type=radio][data-v-1f11eeec]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-1f11eeec]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-1f11eeec]::placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]:-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-1f11eeec]::-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-btns[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-1f11eeec]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-1f11eeec]{color:#f9ad1e}form.form-container .label-flex[data-v-1f11eeec]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-1f11eeec]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-1f11eeec]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-1f11eeec]{width:200px!important}.form-item .label-value[data-v-1f11eeec]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-1f11eeec]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-1f11eeec]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-1f11eeec]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-1f11eeec]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-1f11eeec]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-1f11eeec]:hover{opacity:.9;transition:.3}select[data-v-1f11eeec]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-1f11eeec]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-1f11eeec]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-1f11eeec]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-1f11eeec]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-1f11eeec]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-1f11eeec]{color:var(--item-label_key-span-color)}form.form-container .form-item .label-value[data-v-1f11eeec]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-1f11eeec],form.form-container .form-item .label-value select[data-v-1f11eeec]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-1f11eeec]{padding-right:24px}form.form-container .form-item .label-value input[data-v-1f11eeec]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-1f11eeec]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-1f11eeec]{padding-right:16px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-1f11eeec] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-1f11eeec] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-1f11eeec]{display:flex}form.form-container .label-flex label[data-v-1f11eeec]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-1f11eeec]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-1f11eeec]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-1f11eeec]{width:20px;height:20px;right:0}.pc-radio[data-v-1f11eeec],.label-flex[data-v-1f11eeec]{display:none!important}.mobile-switch[data-v-1f11eeec]{display:flex;align-items:center;height:50px}.switch_label[data-v-1f11eeec]{display:flex;justify-content:end}.switch-core[data-v-1f11eeec]{width:50px;height:24px}.switch-button[data-v-1f11eeec]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-1f11eeec]{transform:translate(26px)}.select-arrow[data-v-1f11eeec]{position:absolute;right:6px;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-40cb5302{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40cb5302{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40cb5302{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40cb5302]{animation:rotateEnter-40cb5302 .7s;position:relative}.rotate-leave-active[data-v-40cb5302]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-40cb5302]{width:100%;background-color:var(--card-bg-color);border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-40cb5302]{display:none}.page-flex[data-v-40cb5302]{display:flex}.page-flex .page-sidebar[data-v-40cb5302]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-40cb5302]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:var(--item-label_key-span-color);display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-40cb5302]:hover,.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-40cb5302]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-40cb5302]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-40cb5302]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-40cb5302]{display:block}.page-flex .page-sidebar[data-v-40cb5302]{display:none}.page-flex .page-main[data-v-40cb5302]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-40cb5302]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-40cb5302]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-40cb5302]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-40cb5302]::-webkit-scrollbar{display:none}.tag-item[data-v-40cb5302]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:var(--tag-bg-color);color:var(--item-label_key-span-color);font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-40cb5302]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-40cb5302]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:var(--gradient-bg-color)}.more-btn[data-v-40cb5302]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-40cb5302]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-40cb5302] .showSide{z-index:1!important}.popup-overlay[data-v-40cb5302]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-40cb5302]{width:100%;max-height:85vh;background-color:var(--popup-bg-color);border-radius:0 0 4px 4px;animation:slideDown-40cb5302 .3s ease-out;overflow-y:auto;padding-top:25px}.popup-content .popup-tag-item[data-v-40cb5302],.popup-content .active[data-v-40cb5302]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-40cb5302{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-40cb5302]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-40cb5302]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-40cb5302]{background-color:#5279f7;color:#fff}.popup-footer[data-v-40cb5302]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-40cb5302]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-40cb5302]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-40cb5302]{background-color:#5279f7;color:#fff;border:none}} diff --git a/openwrt-packages/quickstart/Makefile b/openwrt-packages/quickstart/Makefile index 8b6b010711..20d5ef537f 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.7 +PKG_VERSION:=0.11.8 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:=8d70a4e8a6c17c767d3507037567185aa6f80e388b22a2eede9d2e253fbad233 +PKG_HASH:=ae92af877db37d2ffcf31c89c56f57b784bd4dc909f581c3802ba92d9a0be27c PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION) diff --git a/openwrt-passwall/luci-app-passwall/root/usr/share/passwall/app.sh b/openwrt-passwall/luci-app-passwall/root/usr/share/passwall/app.sh index 3b84e8815d..8dcf918794 100755 --- a/openwrt-passwall/luci-app-passwall/root/usr/share/passwall/app.sh +++ b/openwrt-passwall/luci-app-passwall/root/usr/share/passwall/app.sh @@ -423,7 +423,7 @@ run_ipt2socks() { flag="${flag}_TCP_UDP" ;; esac - _extra_param="${_extra_param} -n 65535 -v" + _extra_param="${_extra_param} -o 60 -n 65535 -v" ln_run "$(first_type ipt2socks)" "ipt2socks_${flag}" $log_file -l $local_port -b 0.0.0.0 -s $socks_address -p $socks_port ${_extra_param} } diff --git a/sing-box/README.md b/sing-box/README.md index 7b1c833a42..90be2a83a7 100644 --- a/sing-box/README.md +++ b/sing-box/README.md @@ -1,3 +1,11 @@ +> Sponsored by [Warp](https://go.warp.dev/sing-box), built for coding with multiple AI agents + + +Warp sponsorship + + +--- + # sing-box The universal proxy platform. diff --git a/sing-box/dns/transport/local/local.go b/sing-box/dns/transport/local/local.go index 28d49aed1c..51b8c18c5a 100644 --- a/sing-box/dns/transport/local/local.go +++ b/sing-box/dns/transport/local/local.go @@ -53,13 +53,15 @@ func (t *Transport) Start(stage adapter.StartStage) error { switch stage { case adapter.StartStateInitialize: if !t.preferGo { - resolvedResolver, err := NewResolvedResolver(t.ctx, t.logger) - if err == nil { - err = resolvedResolver.Start() + if isSystemdResolvedManaged() { + resolvedResolver, err := NewResolvedResolver(t.ctx, t.logger) if err == nil { - t.resolved = resolvedResolver - } else { - t.logger.Warn(E.Cause(err, "initialize resolved resolver")) + err = resolvedResolver.Start() + if err == nil { + t.resolved = resolvedResolver + } else { + t.logger.Warn(E.Cause(err, "initialize resolved resolver")) + } } } } @@ -82,12 +84,11 @@ func (t *Transport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, } } question := message.Question[0] - domain := dns.FqdnToDomain(question.Name) if question.Qtype == mDNS.TypeA || question.Qtype == mDNS.TypeAAAA { - addresses := t.hosts.Lookup(domain) + addresses := t.hosts.Lookup(dns.FqdnToDomain(question.Name)) if len(addresses) > 0 { return dns.FixedResponse(message.Id, question, addresses, C.DefaultDNSTTL), nil } } - return t.exchange(ctx, message, domain) + return t.exchange(ctx, message, question.Name) } diff --git a/sing-box/dns/transport/local/local_darwin.go b/sing-box/dns/transport/local/local_darwin.go index 6754d94626..3f2b424c01 100644 --- a/sing-box/dns/transport/local/local_darwin.go +++ b/sing-box/dns/transport/local/local_darwin.go @@ -96,15 +96,14 @@ func (t *Transport) Close() error { func (t *Transport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, error) { question := message.Question[0] - domain := dns.FqdnToDomain(question.Name) if question.Qtype == mDNS.TypeA || question.Qtype == mDNS.TypeAAAA { - addresses := t.hosts.Lookup(domain) + addresses := t.hosts.Lookup(dns.FqdnToDomain(question.Name)) if len(addresses) > 0 { return dns.FixedResponse(message.Id, question, addresses, C.DefaultDNSTTL), nil } } if !t.fallback { - return t.exchange(ctx, message, domain) + return t.exchange(ctx, message, question.Name) } if !C.IsIos { if t.dhcpTransport != nil { @@ -116,7 +115,7 @@ func (t *Transport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, } if t.preferGo { // Assuming the user knows what they are doing, we still execute the query which will fail. - return t.exchange(ctx, message, domain) + return t.exchange(ctx, message, question.Name) } if question.Qtype == mDNS.TypeA || question.Qtype == mDNS.TypeAAAA { var network string @@ -125,7 +124,7 @@ func (t *Transport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, } else { network = "ip6" } - addresses, err := t.resolver.LookupNetIP(ctx, network, domain) + addresses, err := t.resolver.LookupNetIP(ctx, network, question.Name) if err != nil { var dnsError *net.DNSError if errors.As(err, &dnsError) && dnsError.IsNotFound { diff --git a/sing-box/dns/transport/local/local_resolved_linux.go b/sing-box/dns/transport/local/local_resolved_linux.go index 3c9bf0c4a0..bac34c025f 100644 --- a/sing-box/dns/transport/local/local_resolved_linux.go +++ b/sing-box/dns/transport/local/local_resolved_linux.go @@ -1,9 +1,11 @@ package local import ( + "bufio" "context" "errors" "os" + "strings" "sync" "sync/atomic" @@ -22,6 +24,25 @@ import ( mDNS "github.com/miekg/dns" ) +func isSystemdResolvedManaged() bool { + resolvContent, err := os.Open("/etc/resolv.conf") + if err != nil { + return false + } + defer resolvContent.Close() + scanner := bufio.NewScanner(resolvContent) + for scanner.Scan() { + line := strings.TrimSpace(scanner.Text()) + if line == "" || line[0] != '#' { + return false + } + if strings.Contains(line, "systemd-resolved") { + return true + } + } + return false +} + type DBusResolvedResolver struct { ctx context.Context logger logger.ContextLogger @@ -188,7 +209,7 @@ func (t *DBusResolvedResolver) checkResolved(ctx context.Context) (*ResolvedObje int32(defaultInterface.Index), ) if call.Err != nil { - return nil, err + return nil, call.Err } var linkPath dbus.ObjectPath err = call.Store(&linkPath) @@ -214,15 +235,12 @@ func (t *DBusResolvedResolver) checkResolved(ctx context.Context) (*ResolvedObje return nil, E.New("No appropriate name servers or networks for name found") } } - return &ResolvedObject{ - BusObject: dbusObject, - }, nil - } else { - return &ResolvedObject{ - BusObject: dbusObject, - InterfaceIndex: int32(defaultInterface.Index), - }, nil + return nil, E.New("link has no DNS servers configured") } + return &ResolvedObject{ + BusObject: dbusObject, + InterfaceIndex: int32(defaultInterface.Index), + }, nil } func (t *DBusResolvedResolver) updateDefaultInterface(defaultInterface *control.Interface, flags int) { diff --git a/sing-box/dns/transport/local/local_resolved_stub.go b/sing-box/dns/transport/local/local_resolved_stub.go index ac23c4f3b7..2e01185118 100644 --- a/sing-box/dns/transport/local/local_resolved_stub.go +++ b/sing-box/dns/transport/local/local_resolved_stub.go @@ -9,6 +9,10 @@ import ( "github.com/sagernet/sing/common/logger" ) +func isSystemdResolvedManaged() bool { + return false +} + func NewResolvedResolver(ctx context.Context, logger logger.ContextLogger) (ResolvedResolver, error) { return nil, os.ErrInvalid } diff --git a/sing-box/docs/sponsors.md b/sing-box/docs/sponsors.md index d40d77096f..3389892803 100644 --- a/sing-box/docs/sponsors.md +++ b/sing-box/docs/sponsors.md @@ -11,16 +11,22 @@ the project maintainer via [GitHub Sponsors](https://github.com/sponsors/nekohas ![](https://nekohasekai.github.io/sponsor-images/sponsors.svg) -### Special Sponsors +## Commercial Sponsors -**Viral Tech, Inc.** +> [Warp](https://go.warp.dev/sing-box), Built for coding with multiple AI agents. + +[![](https://github.com/warpdotdev/brand-assets/raw/refs/heads/main/Github/Sponsor/Warp-Github-LG-02.png)](https://go.warp.dev/sing-box) + +## Special Sponsors + +> Viral Tech, Inc. Helping us re-list sing-box apps on the Apple Store. --- -[![JetBrains logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://www.jetbrains.com) +> [JetBrains](https://www.jetbrains.com) Free license for the amazing IDEs. ---- +[![JetBrains logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://www.jetbrains.com) diff --git a/sing-box/go.mod b/sing-box/go.mod index e653225263..6eb1b041bf 100644 --- a/sing-box/go.mod +++ b/sing-box/go.mod @@ -36,7 +36,7 @@ require ( github.com/sagernet/sing-tun v0.8.0-beta.10 github.com/sagernet/sing-vmess v0.2.8-0.20250909125414-3aed155119a1 github.com/sagernet/smux v1.5.34-mod.2 - github.com/sagernet/tailscale v1.86.5-sing-box-1.13-mod.3 + github.com/sagernet/tailscale v1.86.5-sing-box-1.13-mod.4 github.com/sagernet/wireguard-go v0.0.2-beta.1.0.20250917110311-16510ac47288 github.com/sagernet/ws v0.0.0-20231204124109-acfe8907c854 github.com/spf13/cobra v1.9.1 diff --git a/sing-box/go.sum b/sing-box/go.sum index 91f4e8a6eb..e85af26d37 100644 --- a/sing-box/go.sum +++ b/sing-box/go.sum @@ -116,8 +116,6 @@ github.com/mdlayher/sdnotify v1.0.0 h1:Ma9XeLVN/l0qpyx1tNeMSeTjCPH6NtuD6/N9XdTlQ github.com/mdlayher/sdnotify v1.0.0/go.mod h1:HQUmpM4XgYkhDLtd+Uad8ZFK1T9D5+pNxnXQjCeJlGE= github.com/mdlayher/socket v0.5.1 h1:VZaqt6RkGkt2OE9l3GcC6nZkqD3xKeQLyfleW/uBcos= github.com/mdlayher/socket v0.5.1/go.mod h1:TjPLHI1UgwEv5J1B5q0zTZq12A/6H7nKmtTanQE37IQ= -github.com/metacubex/utls v1.8.0 h1:mSYi6FMnmc5riARl5UZDmWVy710z+P5b7xuGW0lV9ac= -github.com/metacubex/utls v1.8.0/go.mod h1:FdjYzVfCtgtna19hX0ER1Xsa5uJInwdQ4IcaaI98lEQ= github.com/metacubex/utls v1.8.2 h1:d7KalMZ5hnOJ6lThMz8Ykd+5dvmXH3Eoeyfv2jUuG3w= github.com/metacubex/utls v1.8.2/go.mod h1:kncGGVhFaoGn5M3pFe3SXhZCzsbCJayNOH4UEqTKTko= github.com/mholt/acmez/v3 v3.1.2 h1:auob8J/0FhmdClQicvJvuDavgd5ezwLBfKuYmynhYzc= @@ -179,8 +177,8 @@ github.com/sagernet/sing-vmess v0.2.8-0.20250909125414-3aed155119a1 h1:aSwUNYUkV github.com/sagernet/sing-vmess v0.2.8-0.20250909125414-3aed155119a1/go.mod h1:P11scgTxMxVVQ8dlM27yNm3Cro40mD0+gHbnqrNGDuY= github.com/sagernet/smux v1.5.34-mod.2 h1:gkmBjIjlJ2zQKpLigOkFur5kBKdV6bNRoFu2WkltRQ4= github.com/sagernet/smux v1.5.34-mod.2/go.mod h1:0KW0+R+ycvA2INW4gbsd7BNyg+HEfLIAxa5N02/28Zc= -github.com/sagernet/tailscale v1.86.5-sing-box-1.13-mod.3 h1:OGoHEw76F3F4keIGcOwB/5U+P1N3i+hLlgC7rvSnub0= -github.com/sagernet/tailscale v1.86.5-sing-box-1.13-mod.3/go.mod h1:YdN/avjce8sqPFLT9E1uEh8gPewNSnC41U4ZhBJ+ACw= +github.com/sagernet/tailscale v1.86.5-sing-box-1.13-mod.4 h1:Ceg+9Ug+qAFgEchGodlHmMOY2h7KktQQDAyuoIsPbos= +github.com/sagernet/tailscale v1.86.5-sing-box-1.13-mod.4/go.mod h1:YdN/avjce8sqPFLT9E1uEh8gPewNSnC41U4ZhBJ+ACw= github.com/sagernet/wireguard-go v0.0.2-beta.1.0.20250917110311-16510ac47288 h1:E2tZFeg9mGYGQ7E7BbxMv1cU35HxwgRm6tPKI2Pp7DA= github.com/sagernet/wireguard-go v0.0.2-beta.1.0.20250917110311-16510ac47288/go.mod h1:WUxgxUDZoCF2sxVmW+STSxatP02Qn3FcafTiI2BLtE0= github.com/sagernet/ws v0.0.0-20231204124109-acfe8907c854 h1:6uUiZcDRnZSAegryaUGwPC/Fj13JSHwiTftrXhMmYOc= diff --git a/small/luci-app-passwall/root/usr/share/passwall/app.sh b/small/luci-app-passwall/root/usr/share/passwall/app.sh index 3b84e8815d..8dcf918794 100755 --- a/small/luci-app-passwall/root/usr/share/passwall/app.sh +++ b/small/luci-app-passwall/root/usr/share/passwall/app.sh @@ -423,7 +423,7 @@ run_ipt2socks() { flag="${flag}_TCP_UDP" ;; esac - _extra_param="${_extra_param} -n 65535 -v" + _extra_param="${_extra_param} -o 60 -n 65535 -v" ln_run "$(first_type ipt2socks)" "ipt2socks_${flag}" $log_file -l $local_port -b 0.0.0.0 -s $socks_address -p $socks_port ${_extra_param} } diff --git a/small/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua b/small/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua index f8b94b0dc0..c1083ed55a 100755 --- a/small/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua +++ b/small/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua @@ -1017,7 +1017,7 @@ local function processData(szType, content) result.alias = nil local switch_enable = result.switch_enable result.switch_enable = nil - result.hashkey = md5(jsonStringify(result)) + result.hashkey = md5(jsonStringify(result) .. "_" .. (alias or "")) result.alias = alias result.switch_enable = switch_enable return result @@ -1236,26 +1236,14 @@ local execute = function() or result.alias == "NULL" or check_filer(result) or result.server:match("[^0-9a-zA-Z%-_%.%s]") + or cache[groupHash][result.hashkey] then log('丢弃无效节点: ' .. result.alias) else -- log('成功解析: ' .. result.type ..' 节点, ' .. result.alias) - -- 检查重复(hashkey + alias)节点 - cache[groupHash][result.hashkey] = cache[groupHash][result.hashkey] or {} - local is_duplicate = false - for _, r in ipairs(cache[groupHash][result.hashkey]) do - if r.alias == result.alias then - is_duplicate = true - break - end - end - if not is_duplicate then - result.grouphashkey = groupHash - tinsert(nodeResult[index], result) - cache[groupHash][result.hashkey] = nodeResult[index][#nodeResult[index]] - else - log('丢弃重复节点: ' .. result.alias) - end + result.grouphashkey = groupHash + tinsert(nodeResult[index], result) + cache[groupHash][result.hashkey] = nodeResult[index][#nodeResult[index]] end end end, function(err) diff --git a/v2ray-core/.github/workflows/codeql-analysis.yml b/v2ray-core/.github/workflows/codeql-analysis.yml index 889e462cfc..5cf6513e0c 100644 --- a/v2ray-core/.github/workflows/codeql-analysis.yml +++ b/v2ray-core/.github/workflows/codeql-analysis.yml @@ -23,10 +23,10 @@ jobs: uses: actions/checkout@v5 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: autobuild - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/v2rayn/v2rayN/v2rayN.Desktop/Views/QrcodeView.axaml b/v2rayn/v2rayN/v2rayN.Desktop/Views/QrcodeView.axaml index 350cb06a31..f9c8821dbd 100644 --- a/v2rayn/v2rayN/v2rayN.Desktop/Views/QrcodeView.axaml +++ b/v2rayn/v2rayN/v2rayN.Desktop/Views/QrcodeView.axaml @@ -13,7 +13,7 @@ 400 - + 400 - - - - - - + + +