/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.tin[data-v-720f1524]{border:1px solid var(--line);border-radius:7px;padding:8px 10px;font-size:13.5px;outline:none;background:#fff;color:var(--text)}.tin[data-v-720f1524]:focus{border-color:var(--brand)}.tin[data-v-cb28c671]{border:1px solid var(--line);border-radius:7px;padding:7px 10px;font-size:13.5px;outline:none;background:#fff;color:var(--text)}code[data-v-cb28c671]{background:#f4f4f6;padding:1px 6px;border-radius:4px;font-size:12.5px}:root{--bg: #f5f6f8;--card: #ffffff;--line: #e3e6ea;--text: #1f2430;--sub: #8a919e;--brand: #2563eb;--ok: #16a34a;--off: #cbd2da;--err: #dc2626}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:var(--bg);color:var(--text);font-size:14px}a{color:var(--brand);text-decoration:none}.topbar{display:flex;align-items:center;gap:20px;background:#fff;border-bottom:1px solid var(--line);padding:0 24px;height:52px;position:sticky;top:0;z-index:10}.brand{font-weight:700;font-size:16px;letter-spacing:.3px}.brand-dim{color:var(--sub);font-weight:400}.topbar nav{display:flex;gap:4px}.topbar nav a{padding:6px 12px;border-radius:6px;color:var(--text)}.topbar nav a:hover{background:var(--bg)}.topbar nav a.active{background:#eef2ff;color:var(--brand);font-weight:600}.spacer{flex:1}.user{color:var(--sub)}.content{max-width:1080px;margin:24px auto;padding:0 24px}h2{font-size:18px;margin:8px 0 16px}h3{font-size:15px;margin:24px 0 10px;color:var(--text)}.count{color:var(--sub);font-weight:400;font-size:14px}.back{display:inline-block;margin-bottom:10px}.tbl{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden}.tbl th,.tbl td{text-align:left;padding:10px 14px;border-bottom:1px solid var(--line)}.tbl thead th{background:#fafbfc;color:var(--sub);font-weight:500;font-size:12.5px}.tbl tbody tr:last-child td{border-bottom:none}.tbl tbody tr.row{cursor:pointer}.tbl tbody tr.row:hover{background:#f8fafd}.sub{color:var(--sub);font-size:12px;margin-top:2px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%}.dot.on{background:var(--ok);box-shadow:0 0 0 3px #16a34a26}.dot.off{background:var(--off)}.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:16px 20px}.kv{display:grid;grid-template-columns:120px 1fr;gap:8px 16px;margin:0}.kv dt{color:var(--sub)}.kv dd{margin:0;font-family:ui-monospace,Consolas,monospace}.btn{border:1px solid var(--line);background:#fff;color:var(--text);padding:7px 16px;border-radius:7px;cursor:pointer;font-size:13.5px}.btn:hover{border-color:#c9cfd8;background:#fafbfc}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{background:#1d4fd8}.btn:disabled{opacity:.6;cursor:not-allowed}.btn.block{width:100%}.btn-ghost{border:none;background:none;color:var(--sub);cursor:pointer;font-size:13px;padding:4px 8px;border-radius:6px}.btn-ghost:hover{color:var(--err);background:var(--bg)}.login-wrap{display:flex;justify-content:center;padding-top:10vh}.login-card{width:340px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:32px;display:flex;flex-direction:column;gap:14px}.login-card h2{text-align:center;margin:0 0 8px}.login-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--sub)}.login-card input{border:1px solid var(--line);border-radius:7px;padding:9px 11px;font-size:14px;outline:none;color:var(--text)}.login-card input:focus{border-color:var(--brand)}.err{color:var(--err);font-size:13px;margin:4px 0}.empty{color:var(--sub);background:var(--card);border:1px dashed var(--line);border-radius:10px;padding:18px;text-align:center}.term-wrap{background:#1e1e2e;border-radius:10px;padding:8px;min-height:420px}.term-status{display:flex;align-items:center;gap:8px;color:var(--sub);font-size:12.5px;margin-bottom:6px}
