/**
 * 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;inset: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;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{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}.terminal-container[data-astro-cid-n7m4eshx]{width:100%;background:linear-gradient(to bottom,#b8e9dc 0%,#b8e9dc calc(100% - 300px),transparent calc(100% - 400px),transparent calc(100% - 150px),#9f491d calc(100% - 150px)),url(/background.png),#9f491d;background-size:100% 100%,100%,100% 100%;background-position:center center,center calc(100% - 150px),center bottom;background-repeat:no-repeat,repeat-x,no-repeat;position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:40px}.crt-monitor[data-astro-cid-n7m4eshx]{position:relative;width:min(90vw,1200px);max-width:90vw;aspect-ratio:4 / 3;display:flex;flex-direction:column;align-items:center}.crt-bezel[data-astro-cid-n7m4eshx]{position:relative;width:100%;height:calc(100% - 10px);background:linear-gradient(180deg,#f5f5f0,#e8e8e0 10%,#dcdcc8,#d0d0b8,#d8d8c4,#e4e4d4 90%,#ededdf);border-radius:8px 8px 4px 4px;padding:40px 45px 90px;box-shadow:0 10px 40px #0000004d,0 0 0 2px #c8c8b0,0 0 0 4px #b8b8a0;border:1px solid #c0c0a8}.clip-path-defs[data-astro-cid-n7m4eshx]{position:absolute;width:0;height:0;pointer-events:none}.crt-controls[data-astro-cid-n7m4eshx]{position:absolute;bottom:15px;right:25px;display:flex;align-items:center;gap:20px;z-index:10;pointer-events:none}.crt-controls[data-astro-cid-n7m4eshx] [data-astro-cid-n7m4eshx]{pointer-events:auto}.power-led[data-astro-cid-n7m4eshx]{display:flex;flex-direction:row;align-items:center;gap:8px}.led-indicator[data-astro-cid-n7m4eshx]{width:10px;height:10px;border-radius:50%;background:#d0d0b8;box-shadow:inset 0 0 4px #0000004d,0 0 0 1px #b8b8a0,0 0 0 2px #d0d0b8;transition:all .3s ease;flex-shrink:0}.led-indicator[data-astro-cid-n7m4eshx].active{background:#fa0;box-shadow:inset 0 0 8px #ffc80099,0 0 10px #fa0c,0 0 15px #fa06,0 0 0 1px #b8b8a0,0 0 0 2px #d0d0b8;animation:led-pulse 2s ease-in-out infinite}.led-label[data-astro-cid-n7m4eshx]{font-family:Arial,sans-serif;font-size:9px;color:#666;text-transform:uppercase;letter-spacing:.5px;font-weight:400;white-space:nowrap}@keyframes led-pulse{0%,to{opacity:1;box-shadow:inset 0 0 8px #ffc80099,0 0 10px #fa0c,0 0 15px #fa06,0 0 0 1px #b8b8a0,0 0 0 2px #d0d0b8}50%{opacity:.7;box-shadow:inset 0 0 8px #ffc80066,0 0 8px #fa09,0 0 12px #ffaa004d,0 0 0 1px #b8b8a0,0 0 0 2px #d0d0b8}}#crt-power-switch[data-astro-cid-n7m4eshx]{display:none}.power-switch-label[data-astro-cid-n7m4eshx]{position:relative;display:inline-block;width:50px;height:24px;background:#d0d0b8;background-image:linear-gradient(to bottom,#e0e0cc,#c8c8b0);border:1px solid #b8b8a0;border-radius:12px;box-shadow:inset 0 1px 2px #fff9,inset 0 -1px 2px #0003,0 1px 2px #0000004d;cursor:pointer;transition:all .2s ease}.power-switch-label[data-astro-cid-n7m4eshx]:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;background:linear-gradient(to bottom,#f0f0e8,#d8d8c4);border:1px solid #c0c0a8;border-radius:50%;box-shadow:inset 0 1px 2px #fffc,inset 0 -1px 2px #0003,0 1px 1px #0000004d;transition:all .2s ease}.power-switch-label[data-astro-cid-n7m4eshx] span[data-astro-cid-n7m4eshx]{position:absolute;bottom:-18px;left:50%;transform:translate(-50%);font-family:Arial,sans-serif;font-size:8px;color:#666;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;font-weight:400}#crt-power-switch[data-astro-cid-n7m4eshx]:checked+.power-switch-label[data-astro-cid-n7m4eshx],#crt-power-switch[data-astro-cid-n7m4eshx]:active+.power-switch-label[data-astro-cid-n7m4eshx]{background-image:linear-gradient(to bottom,#e8e8d8,#d8d8c8)}#crt-power-switch[data-astro-cid-n7m4eshx]:checked+.power-switch-label[data-astro-cid-n7m4eshx]:after{background:linear-gradient(to bottom,#4a4,#2a2);box-shadow:inset 0 1px 2px #ffffff4d,inset 0 -1px 2px #0000004d,0 1px 1px #000c,0 0 8px #0f06;transform:translate(26px)}.crt-screen[data-astro-cid-n7m4eshx]{padding:45px 35px 80px;box-sizing:border-box;position:relative;width:100%;height:100%;clip-path:url(#crtPath);overflow:hidden;box-shadow:inset 0 0 120px #000000e6,inset 0 0 40px #000000b3}.crt-screen[data-astro-cid-n7m4eshx].power-off{background:#111}.crt-screen[data-astro-cid-n7m4eshx].power-off .screen-content[data-astro-cid-n7m4eshx]{animation:crt-power-off .55s forwards ease-in-out}.crt-screen[data-astro-cid-n7m4eshx].power-on .screen-content[data-astro-cid-n7m4eshx]{animation:crt-power-on 4s forwards linear}.screen-content[data-astro-cid-n7m4eshx]{position:absolute;top:0;left:0;width:100%;height:100%}.screen-content[data-astro-cid-n7m4eshx] .xterm{font-size:28px;position:relative;z-index:2;transform-style:preserve-3d;box-sizing:border-box;padding:80px 35px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.screen-content[data-astro-cid-n7m4eshx] .xterm-viewport{overflow-y:auto;-webkit-overflow-scrolling:touch}.crt-stand[data-astro-cid-n7m4eshx]{position:relative;width:320px;height:45px;margin-top:28px;background:linear-gradient(180deg,#f5f5f0,#e8e8e0 10%,#dcdcc8,#d0d0b8,#d8d8c4,#e4e4d4 90%,#ededdf)!important;border-radius:8px 8px 0 0;box-shadow:0 4px 12px #00000040,0 2px 6px #00000026,inset 0 1px 3px #fff6,inset 0 -2px 4px #00000026;border:1px solid #c0c0a8!important;border-bottom:none;z-index:1}.crt-stand[data-astro-cid-n7m4eshx]:before{content:"";position:absolute;top:-25px;left:50%;transform:translate(-50%);width:140px;height:25px;background:linear-gradient(180deg,#f5f5f0,#e8e8e0 10%,#dcdcc8,#d0d0b8,#d8d8c4,#e4e4d4 90%,#ededdf)!important;border-radius:0;box-shadow:inset 0 2px 4px #0003,0 1px 2px #0000001a,inset 0 -1px 2px #fff3;border:1px solid #c0c0a8!important;border-bottom:none}.crt-stand[data-astro-cid-n7m4eshx]:after{content:"";position:absolute;bottom:-8px;left:0;width:100%;height:8px;background:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.1) 50%,transparent 100%);border-radius:0 0 8px 8px;transform:perspective(200px) rotateX(-5deg);transform-origin:top center}.loading-message[data-astro-cid-n7m4eshx],.error-message[data-astro-cid-n7m4eshx]{color:#0f0;padding:20px;font-family:monospace;text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:18px}.error-message[data-astro-cid-n7m4eshx]{color:red}.terminal-error[data-astro-cid-n7m4eshx]{color:red;padding:20px;font-family:monospace;text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#000c;border:1px solid #ff0000;border-radius:5px}.xterm-viewport{background-color:transparent!important}.fullscreen-terminal[data-astro-cid-n7m4eshx]{position:fixed;top:0;left:0;width:100vw;z-index:9998}@media(max-width:768px){.terminal-container[data-astro-cid-n7m4eshx]{padding:5px 5px 10px;align-items:flex-start}.crt-monitor[data-astro-cid-n7m4eshx]{width:98vw;max-width:98vw;aspect-ratio:16 / 10;max-height:calc(100vh - 20px)}.crt-bezel[data-astro-cid-n7m4eshx]{padding:12px 10px 55px;border-radius:6px 6px 3px 3px;height:calc(100% - 5px)}.crt-screen[data-astro-cid-n7m4eshx]{padding:15px 8px 50px}.screen-content[data-astro-cid-n7m4eshx] .xterm{font-size:16px;padding:15px 8px!important;line-height:1.4}.crt-controls[data-astro-cid-n7m4eshx]{bottom:8px;right:10px;gap:12px}.power-led[data-astro-cid-n7m4eshx]{gap:4px}.led-indicator[data-astro-cid-n7m4eshx]{width:7px;height:7px}.led-label[data-astro-cid-n7m4eshx]{font-size:7px}.power-switch-label[data-astro-cid-n7m4eshx]{width:40px;height:20px;top:10px;right:10px}.power-switch-label[data-astro-cid-n7m4eshx]:after{width:14px;height:14px}.power-switch-label[data-astro-cid-n7m4eshx] span[data-astro-cid-n7m4eshx]{font-size:7px;bottom:-16px}#crt-power-switch[data-astro-cid-n7m4eshx]:checked+.power-switch-label[data-astro-cid-n7m4eshx]:after{transform:translate(20px)}.crt-stand[data-astro-cid-n7m4eshx]{width:180px;height:30px}.crt-stand[data-astro-cid-n7m4eshx]:before{width:90px;height:18px;top:-18px}.crt-stand[data-astro-cid-n7m4eshx]:after{height:6px;bottom:-6px}.loading-message[data-astro-cid-n7m4eshx],.error-message[data-astro-cid-n7m4eshx]{font-size:14px;padding:15px}}@media(max-width:480px){.terminal-container[data-astro-cid-n7m4eshx]{padding:2px 2px 5px}.crt-monitor[data-astro-cid-n7m4eshx]{width:100vw;max-width:100vw;aspect-ratio:16 / 11;max-height:calc(100vh - 10px)}.crt-bezel[data-astro-cid-n7m4eshx]{padding:8px 6px 45px;border-radius:4px 4px 2px 2px}.crt-screen[data-astro-cid-n7m4eshx]{padding:12px 6px 40px}.screen-content[data-astro-cid-n7m4eshx] .xterm{font-size:14px;padding:12px 6px!important}.crt-controls[data-astro-cid-n7m4eshx]{bottom:5px;right:6px;gap:8px}.power-led[data-astro-cid-n7m4eshx]{gap:3px}.led-indicator[data-astro-cid-n7m4eshx]{width:6px;height:6px}.led-label[data-astro-cid-n7m4eshx]{font-size:6px}.power-switch-label[data-astro-cid-n7m4eshx]{width:35px;height:18px;top:8px;right:8px}.power-switch-label[data-astro-cid-n7m4eshx]:after{width:12px;height:12px}.power-switch-label[data-astro-cid-n7m4eshx] span[data-astro-cid-n7m4eshx]{font-size:6px;bottom:-14px}#crt-power-switch[data-astro-cid-n7m4eshx]:checked+.power-switch-label[data-astro-cid-n7m4eshx]:after{transform:translate(17px)}.crt-stand[data-astro-cid-n7m4eshx]{width:160px;height:25px}.crt-stand[data-astro-cid-n7m4eshx]:before{width:75px;height:15px;top:-15px}.crt-stand[data-astro-cid-n7m4eshx]:after{height:5px;bottom:-5px}.loading-message[data-astro-cid-n7m4eshx],.error-message[data-astro-cid-n7m4eshx]{font-size:12px;padding:10px}}.boot-overlay[data-astro-cid-qozdfemc]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000f2;z-index:9999;display:none;align-items:center;justify-content:center;font-family:monospace}.boot-overlay[data-astro-cid-qozdfemc].active{display:flex}.boot-output[data-astro-cid-qozdfemc]{color:#0f0;font-size:16px;text-align:left;white-space:pre-wrap;max-width:80%;max-height:80%;overflow-y:auto}@media(max-width:768px){.boot-output[data-astro-cid-qozdfemc]{font-size:14px;max-width:90%}}.command-interface[data-astro-cid-voxsioym]{position:fixed;bottom:20px;left:50%;transform:translate(-50%);width:calc(100% - 80px);max-width:800px;z-index:9996;display:none}.command-interface[data-astro-cid-voxsioym].active{display:block}.input-area[data-astro-cid-voxsioym]{display:flex;align-items:center;background:#000c;border:1px solid #00ff00;border-radius:4px;padding:8px 12px;margin-bottom:10px}.prompt[data-astro-cid-voxsioym]{color:#0f0;font-family:monospace;font-size:16px;margin-right:8px;font-weight:700}.command-input[data-astro-cid-voxsioym]{flex:1;background:transparent;border:none;color:#0f0;font-family:monospace;font-size:16px;outline:none;caret-color:#0f0}.command-input[data-astro-cid-voxsioym]::placeholder{color:#00ff0080}.command-output[data-astro-cid-voxsioym]{background:#000000e6;border:1px solid #00ff00;border-radius:4px;padding:12px;color:#0f0;font-family:monospace;font-size:14px;white-space:pre-wrap;max-height:200px;overflow-y:auto;display:none}.command-output[data-astro-cid-voxsioym].active{display:block}@media(max-width:768px){.command-interface[data-astro-cid-voxsioym]{width:calc(100% - 40px);bottom:10px}.prompt[data-astro-cid-voxsioym],.command-input[data-astro-cid-voxsioym]{font-size:14px}.command-output[data-astro-cid-voxsioym]{font-size:12px;max-height:150px}}.terminal-wrapper[data-astro-cid-eqg5l7fp]{position:relative;width:100%;overflow:hidden}
