/**
 * 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;-moz-user-select:none;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-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) *::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:-moz-fit-content;width:fit-content}.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{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;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}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.crt-scanlines{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(to bottom,transparent 0px,transparent 2px,rgba(0,0,0,.3) 2px,rgba(0,0,0,.3) 4px)}.crt-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 50%,rgba(0,0,0,.6) 80%,rgba(0,0,0,.95) 100%)}.crt-flicker{position:absolute;inset:0;pointer-events:none;background:#000;animation:crtFlicker .1s infinite}@keyframes crtFlicker{0%{opacity:.02}5%{opacity:.1}10%{opacity:.02}15%{opacity:.1}50%{opacity:.02}55%{opacity:.1}80%{opacity:.02}to{opacity:.1}}@media(min-width:768px){:where(.crt-bezel){display:flex;flex-direction:column;align-items:center;justify-content:center;--bezel-x: 120px;--bezel-y: 160px;--screen-w: min(96vw - var(--bezel-x), (96vh - var(--bezel-y)) * 4 / 3);--screen-h: min(96vh - var(--bezel-y), (96vw - var(--bezel-x)) * 3 / 4);background:radial-gradient(ellipse at 50% 60%,#18150e,#0d0b07 60%,#080604)}:where(.crt-bezel):before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,calc(-50% + 8px));width:calc(var(--screen-w) + var(--bezel-x));height:calc(var(--screen-h) + var(--bezel-y));border-radius:18px;background:linear-gradient(170deg,#d6ca9e,#ccbe8c 15%,#c8b886 40%,#c0b07e,#b4a672);box-shadow:inset 0 2px #ffffff59,inset 0 6px 12px #ffffff14,inset 0 -2px #0003,inset 0 -8px 16px #0000000f,inset 2px 0 #ffffff26,inset -2px 0 #0000001a,0 4px #a09060,0 6px #907e52,0 8px #806e44,0 12px 40px #000000b3,0 30px 80px #0006}:where(.crt-bezel):after{content:"";width:8px;height:8px;border-radius:50%;background:#3c3;box-shadow:0 0 4px #3c3,0 0 12px #3c36;margin-top:1.2rem;z-index:2;flex-shrink:0}:where(.crt-bezel .crt-screen){position:relative;z-index:1;width:var(--screen-w);height:var(--screen-h);aspect-ratio:4 / 3;border-radius:20px;overflow:hidden;box-shadow:inset 0 0 80px #0006,inset 0 0 160px #00000026,0 0 0 5px #1a1814,0 0 0 10px #2e2c22,0 0 25px #0009}:where(.crt-bezel .crt-screen):after{content:"";position:absolute;inset:0;z-index:15;pointer-events:none;border-radius:inherit;background:linear-gradient(-30deg,transparent 0%,transparent 32%,rgba(255,255,255,.03) 40%,rgba(255,255,255,.07) 47%,rgba(255,255,255,.03) 54%,transparent 62%,transparent 100%),radial-gradient(ellipse at 50% 50%,transparent 60%,rgba(0,0,0,.12) 100%)}}#crt-screen{position:fixed;inset:0;z-index:999;background:#001200;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}.crt-vignette{z-index:10}.crt-scanlines{z-index:11}.crt-flicker{z-index:12}#terminal-container{position:relative;z-index:5;width:100%;height:100vh;padding:3rem 4rem 4rem;box-sizing:border-box}#terminal-container .xterm{height:100%}#terminal-container .xterm-screen{text-shadow:0 0 5px rgba(51,255,51,.6),0 0 15px rgba(51,255,51,.3),0 0 30px rgba(51,255,51,.1)}.crt-monitor{display:contents}@media(min-width:768px){.crt-monitor{display:flex;flex-direction:column;position:fixed;inset:0;z-index:999}#crt-screen{position:relative;inset:auto}#terminal-container{height:95%;padding:1.5rem 2rem}}@media(max-width:640px){.crt-monitor{display:flex;flex-direction:column;align-items:center;position:fixed;inset:0;z-index:999;background:linear-gradient(180deg,#c6c4a8,#bebb9e 40%,#b6b396);padding:0;overflow:hidden}.crt-monitor:before{content:"DOT MATRIX WITH STEREO SOUND";display:block;width:100%;text-align:center;font-family:Courier New,monospace;font-size:.42rem;font-weight:700;letter-spacing:.15em;color:#5a5a6e;padding:.6rem 0 .4rem;border-top:4px solid #4e2a6e;flex-shrink:0}.crt-monitor:after{content:"";display:flex;flex-shrink:0;margin:.6rem auto .8rem;width:28px;height:6px;border-radius:3px;background:#8a8878;box-shadow:44px 0 #8a8878;transform:rotate(-25deg);opacity:.5}#crt-screen{position:relative;inset:auto;z-index:1;flex:1;min-height:0;width:calc(100% - 2.5rem);max-width:400px;margin:.4rem auto 0;background:#9bbc0f;display:flex;flex-direction:column;border-radius:8px 8px 20px;border:3px solid #3a3a40;box-shadow:inset 0 0 20px #0000001f,inset 0 3px 6px #00000014,0 0 0 2px #a8a696,0 2px 8px #00000026;overflow:hidden}.crt-vignette,.crt-flicker{display:none}.crt-scanlines{background:repeating-linear-gradient(to right,transparent 0px,transparent 1px,rgba(15,56,15,.09) 1px,rgba(15,56,15,.09) 2px),repeating-linear-gradient(to bottom,transparent 0px,transparent 1px,rgba(15,56,15,.09) 1px,rgba(15,56,15,.09) 2px)}#terminal-container{flex:1;min-height:0;width:100%;padding:.8rem;box-sizing:border-box;background:transparent;margin:0;border:none;box-shadow:none;max-height:none;overflow:hidden}#terminal-container .xterm-screen{text-shadow:none}}main{padding:0!important}header{display:none!important}footer{display:none!important}
