{"version":3,"sources":["webpack:///app.180ab41-en.js","webpack:///webpack/bootstrap 4248d2c69c145187109f","webpack:///./js/utils.js","webpack:///./js/lib/chibi.js","webpack:///./js/modal.js","webpack:///./js/notif.js","webpack:///./node_modules/events/events.js","webpack:///./js/term/themes.js","webpack:///./js/term/demo.js","webpack:///./js/lib/color_utils.js","webpack:///./js/lang.js","webpack:///./js/term/screen_attr_bits.js","webpack:///./js/index.js","webpack:///./js/lib/polyfills.js","webpack:///./js/appcommon.js","webpack:///./js/wifi.js","webpack:///./lang/en.php","webpack:///./js/term/index.js","webpack:///./js/term/screen.js","webpack:///./js/term/screen_parser.js","webpack:///./js/term/screen_renderer.js","webpack:///./js/term/connection.js","webpack:///./js/term/input.js","webpack:///./js/term/upload.js","webpack:///./js/term/soft_keyboard.js","webpack:///./js/term/debug.js","webpack:///./js/term/buttons.js","webpack:///./js/term_conf.js","webpack:///./js/lib/colortriangle.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","mk","e","document","createElement","qs","querySelector","qsa","querySelectorAll","cr","hdl","which","parse2B","arguments","length","undefined","charCodeAt","parse3B","encode2B","lsb","msb","String","fromCharCode","encode3B","xsb","_typeof","Symbol","iterator","obj","constructor","fireReady","domready","readyfn","fireLoaded","pageloaded","loadedfn","nodeLoop","fn","nodes","cssCamel","replace","result","charAt","toUpperCase","computeStyle","elm","currentStyle","w","getComputedStyle","getPropertyValue","queryPair","value","encodeURIComponent","setCss","style","showCss","display","serializeData","subelm","j","querystring","Array","nodeName","elements","disabled","type","selected","checked","substring","classHelper","classes","action","classarray","has","split","clz","classList","remove","add","toggle","contains","insertHtml","position","tmpnodes","tmpnode","innerHTML","lastChild","parentNode","insertBefore","nextSibling","appendChild","firstChild","chibi","selector","cb","nodelist","json","nodeType","each","apply","first","shift","last","pop","odd","odds","push","even","evens","hide","show","state","removeChild","css","getClass","className","setClass","addClass","removeClass","toggleClass","set","hasClass","html","htmlBefore","htmlAfter","htmlAppend","htmlPrepend","attr","toLowerCase","cssText","setAttribute","getAttribute","data","key","val","values","check","on","event","addEventListener","attachEvent","off","removeEventListener","detachEvent","window","onload","ajax","options","opts","assign","method","nocache","timeout","loader","callback","loaderFn","_loader","url","query","indexOf","xhr","XMLHttpRequest","ts","Date","toString","open","abortTmeo","setTimeout","console","error","abort","onreadystatechange","readyState","responseText","status","clearTimeout","setRequestHeader","send","post","ready","loaded","entityMap","&","<",">","\"","'","/","`","=","htmlEscape","string","$","modal","curCloseCb","sel","closeCb","$m","init","this","stopImmediatePropagation","nt","$balloon","timerHideBegin","timerHideEnd","canCancel","stopTimeouts","message","isError","EventEmitter","_events","_maxListeners","isFunction","arg","isNumber","isObject","isUndefined","defaultMaxListeners","setMaxListeners","isNaN","TypeError","emit","er","handler","len","args","listeners","Error","err","context","slice","addListener","listener","newListener","warned","trace","once","g","removeListener","fired","list","splice","removeAllListeners","listenerCount","evlistener","emitter","_require","rgb255ToHex","themes","fgbgThemes","colorTable256","buildColorTable","fill","red","green","blue","redValue","greenValue","blueValue","gray","SELECTION_FG","SELECTION_BG","themePreview","themeN","forEach","elem","shade","dataset","fg","test","toHex","color","bg","backgroundColor","ensureColorTable256","getColor","palette","substr","Math","floor","now","_toConsumableArray","arr","isArray","arr2","from","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","create","writable","setPrototypeOf","__proto__","_classCallCheck","instance","Constructor","_get","receiver","Function","desc","getOwnPropertyDescriptor","parent","getPrototypeOf","_createClass","defineProperties","target","props","descriptor","protoProps","staticProps","_require2","encodeAsCodePoint","fromCodePoint","ANSIParser","reset","joinChunks","currentSequence","sequence","content","numbers","map","numOr1","number","mode","r","b","text","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","next","done","character","code","codePointAt","match","parseSequence","return","TERM_DEFAULT_STYLE","getRainbowColor","t","sin","PI","ScrollingTerminal","screen","_this","width","height","termScreen","parser","handleParsed","buttonLabels","_lastLoad","loadTimer","showPage","cursor","x","y","visible","trackMouse","theme","defaultFG","defaultBG","rainbow","superRainbow","clear","scroll","newLine","max","moveBack","min","writeChar","deleteForward","insertBlanks","load","clampCursor","write","attributes","join","serialized","lastStyle","index","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","cell","foreground","background","setForeground","setBackground","setAttributes","encodeColor","topicData","screenOpts","getScreenOpts","title","getTitle","buttons","getButtons","getCursor","serializeScreen","_screenOpts","_title","_buttons","_cursor","_screen","_this2","clearInterval","_loadTimer","setInterval","update","getUpdate","Process","_EventEmitter","demoData","mouseReceiver","demoshIndex","Clear","_Process","destroy","screenfetch","Screenfetch","_Process2","_this6","image","location","hostname","devicePixelRatio","filter","line","trim","chars","loop","local-echo","_Process3","LocalEcho","_len","_key","includes","label","shell","info","Info","_Process4","_this9","_len2","_key2","fast","showSplash","then","printText","_this10","splash","levels"," ",".","-","*","#","characters","repeat","cursorX","cursorY","moveTo","moveX","moveY","abs","drawCell","level","Promise","resolve","reject","cycles","dx","parts","colors","PrintColors","_Process5","ls","ListCommands","_Process6","SetTheme","_this13","_Process7","maxnum","Number","isFinite","terminal","drawnScreenFG","ShowThemes","_this14","_Process8","savedCursorStyle","_this15","fgType","bgType","get24FG","set24FG","v","get24BG","set24BG","make24Control","getValue","setValue","getDisplay","shouldShow","parseValue","input","parseInt","moveAfterInput","controls","count","selection","render","selectedX","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","control","_iteratorNormalCompletion4","_didIteratorError4","_iteratorError4","_step4","_iterator4","_iteratorNormalCompletion5","_didIteratorError5","_iteratorError5","_step5","_iterator5","_console","_len3","_key3","log","concat","getControlCount","getSelectedControl","parsed","SetCursor","_Process9","_len4","_key4","steady","ToggleRainbow","_this17","su","_Process10","_didWarnRainbow","mouse","MouseDemo","_this18","_Process11","_this19","boxes","generateRandomBox","grabbedBox","grabOffset","_iteratorNormalCompletion6","_didIteratorError6","_iteratorError6","_step6","_iterator6","box","drawnX","random","reverse","_iteratorNormalCompletion7","_didIteratorError7","_iteratorError7","_step7","_iterator7","button","scrollInsideBox","getBoxAt","_boxes","amount","sudo","Sudo","_this20","didDestroy","_Process12","_this21","_len5","_key5","child","setButtons","run","make","Make","_this22","_Process14","_len6","_key6","h","pwd","cd","whoami","navigator","userAgent","uname","mkdir","rm","cp","mv","ln","touch","exit","github","GoToGithub","_Process15","autocompleteIndex","DemoShell","printInfo","_this24","history","historyIndex","cursorPos","lastInputLength","prompt","success","unshift","current","visual","prefix","startsWith","newInput","copyFromHistoryIndex","completed","getCompleted","words","moveForward","rest","parse","command","inQuote","_iteratorNormalCompletion8","_didIteratorError8","_iteratorError8","_step8","_iterator8","spawn","_this25","_child","writeChars","demoInterface","onButtonPress","row","column","modifiers","mouseMove","mouseDown","mouseUp","didInit","pad","M","TAU","hue2rgb","v1","v2","hsl2rgb","var_1","var_2","rgb2hsl","d_r","d_g","d_b","hex2rgb","hex","groups","bytes","pow","rgb2hex","round","ATTR_FG","ATTR_BG","ATTR_BOLD","ATTR_UNDERLINE","ATTR_INVERSE","ATTR_BLINK","ATTR_ITALIC","ATTR_STRIKE","ATTR_OVERLINE","ATTR_FAINT","ATTR_FRAKTUR","termInit","TermConf","$defineProperty","stringFromCharCode","highSurrogate","lowSurrogate","codeUnits","codePoint","RangeError","pageShown","notify","menuOpen","inp","keyCode","ctrlKey","submit","$x","dots","$this","step","deltaY","evt","createEvent","initEvent","dispatchEvent","fireEvent","preventDefault","errAt","search","errs","decodeURIComponent","humanReadableErrors","lbls","lbl","childNodes","textContent","msgAt","msg","innerWidth","removeAttribute","br","href","vis","noAutoShow","bnr","id","tr","calc_dBm","toFixed","selectSta","password","ip","hasPassword","onScan","resp","rescan","JSON","inProgress","APs","$list","sort","a","rssi","ap","enc","item","$item","essid","curSSID","inner","escapedSSID","rssi_perc","authTypes","$th","conn_ssid","conn_pass","startScanning","scanAPs","_demo","_demo_aps","_root","time","wifiInit","cfg","disp1","disp2","sta_ssid","sta_password","sta_active_ip","sta_active_ssid","WiFi","wifi.connected_ip_is","wifi.not_conn","wifi.enter_passwd","term_nav.fullscreen","term_conn.connecting","term_conn.waiting_content","term_conn.disconnected","term_conn.waiting_server","term_conn.reconnecting","localize","Notify","TermScreen","TermConnection","TermInput","TermUpload","initSoftKeyboard","attachDebugger","initButtons","conn","termUpload","labels","_buttons$labels","scr","errmsg","showSplashTimeout","delay","statusScreen","loading","screenFG","screenBG","screenAttrs","onerror","errorMsg","file","col","canvas","fullscreenIcon","isFullscreen","properFullscreen","fitScreen","screenPadding","padding","fitScreenIfNeeded","fitIntoWidth","fitIntoHeight","innerHeight","toggleFitScreen","resizeButtonIcon","Element","requestFullscreen","webkitRequestFullscreen","checkForFullscreen","body","updateSize","span","termUpl","ScreenParser","ScreenRenderer","ctx","getContext","renderer","_debug","audioCtx","AudioContext","webkitAudioContext","warn","Proxy","blinking","hanging","_window","fontFamily","fontSize","gridScaleX","gridScaleY","debug","graphics","_windowScale","_padding","windowState","selectable","start","end","setSelectable","mouseMode","clicks","movement","scheduleSizeUpdate","scheduleDraw","bracketedPaste","blinkingCellCount","reverseVideo","selecting","selectStart","screenToGrid","selectMove","selectEnd","getNormalizedSelection","altKey","offsetX","offsetY","_this$input","onMouseDown","touchPosition","touchDownTime","touchDidMove","getTouchPositionOffset","rect","getBoundingClientRect","clientX","left","clientY","top","touches","passive","touchSelectMenu","selectionPos","gridToScreen","transform","copyButton","copySelectionToClipboard","_this$input2","onMouseMove","_this$input3","onMouseUp","aggregateWheelDelta","wheelDeltaY","_this$input4","onMouseWheel","_this$input5","_scheduledSizeUpdate","weight","rounded","cellSize","getCellSize","_this3","withScale","font","getFont","measureText","charSize","getCharSize","ceil","didChange","realWidth","realHeight","originalWidth","terminalAspect","resetDrawn","draw","_window2","_selection","_ref","_getNormalizedSelecti","colAfterStart","colBeforeEnd","onStartLine","onEndLine","screenLength","lines","previousLineIndex","isInSelection","selectedText","getSelectedText","textarea","select","execCommand","Notification","permission","focus","requestPermission","_lastBeep","_convolver","createConvolver","impulseLength","sampleRate","impulse","createBuffer","getChannelData","buffer","connect","destination","mainOsc","createOscillator","mainGain","createGain","gain","frequency","surrOsc","surrGain","startTime","currentTime","stop","requestAnimationFrame","_parser","_input","updates","topic","resetScreen","loadTheme","setDefaultColors","defFG","defBG","cursorVisible","setAlts","inputAlts","trackMouseClicks","trackMouseMovement","setMouseMode","cursorBlinking","resetCursorBlink","cursorStyle","debugEnabled","showButtons","showConfigLinks","beep","tempDoNotCommitUpstream","backgroundImage","du","str","NaN","num","didWarn","contentLoaded","ci","strArray","topics","collectOneTerminatedString","cursorShape","flags","cursorAttrs","regionStart","regionEnd","charsetGx","charsetG0","charsetG1","freeHeap","clientCount","_ci","frameY","frameX","frameHeight","frameWidth","pushFrame","attrs","lastChar","frameLength","MASK_LINE_ATTR","MASK_BLINK","pushCell","myAttrs","hasFG","hasBG","cellFG","cellBG","cellXInFrame","cellYInFrame","charCode","hideLoadFailedMsg","parseUpdate","showNotification","stringify","frakturExceptions","C","H","I","R","Z","_palette","defaultBgNum","defaultFgNum","blinkStyleOn","blinkInterval","cursorBlinkOn","cursorBlinkInterval","resetBlink","drawnScreen","drawnScreenBG","drawnScreenAttrs","drawnCursor","why","aggregateTime","_scheduledDraw","intervals","cellWidth","cellHeight","isDefaultBG","_screen$window","fillStyle","screenX","screenY","isBorderCell","fillX","fillY","fillWidth","fillHeight","right","bottom","clearRect","fillRect","_ref2","underline","strike","overline","globalAlpha","alphaToFraktur","beginPath","cw","ch","c2w","c2h","offset","dotSpacingX","dotSpacingY","dotSize","alignRight","dy","dotSizeY","lineTo","strokeStyle","stroke","fillText","lineWidth","lineCap","lineY","radius","_screen$window2","cells","_this4","_screen$window3","drawStatus","startDrawLoop","stopDrawLoop","_screen$getCellSize","setTransform","drawStart","textAlign","textBaseline","FONT_MASK","fontGroups","Map","updateMap","isCursor","wasCursor","inSelection","_ref3","_ref4","didUpdate","redrawMap","isTextWide","keys","shouldUpdate","isWideCell","checkRadius","adjacentDidUpdate","getAdjacentCells","adjacentCell","save","redrawing","clipRect","clip","drawBackground","setCell","drawCharacter","_ref5","restore","drawEnd","_screen$window4","screenWidth","screenHeight","translate","rotate","_drawTimerThread","threadID","drawTimerLoop","_this5","demo","ws","heartbeatTimeout","pingInterval","xoff","autoXoffTimeout","reconnTimeout","forceClosing","blobReader","FileReader","onDecodedWSMessage","disconnectTimeout","hidden","closeSocket","heartbeat","readAsText","onWSMessage","close","alert","WebSocket","onWSOpen","onWSClose","onHeartbeatFail","_this7","_this8","sendPing","sendString","sendButton","initKeys","allFn","shouldAcceptEvent","metaKey","handleKeyDown","clipboardData","setData","getData","setContent","all_fn","mb1","mb2","mb3","packModifiersForMouse","KEY_NAMES","3","6","8","9","12","13","16","17","18","19","20","27","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","58","59","60","61","62","63","64","91","92","93","106","107","109","110","111","144","145","160","161","162","163","164","165","166","167","168","169","170","171","172","173","174","175","176","186","187","188","189","190","192","194","219","220","221","222","224","np_alt","cu_alt","fn_alt","mt_click","mt_move","no_keys","crlf_mode","fa","alt","normal","ca","na","keymap","Backspace","Tab","Enter","Control+Enter","Escape","ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Home","Insert","Delete","End","PageUp","PageDown","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","Shift+F1","Shift+F2","Shift+F3","Shift+F4","Shift+F5","Shift+F6","Shift+F7","Shift+F8","Shift+F9","Shift+F10","Shift+F11","Shift+F12","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9","Numpad*","Numpad+","Numpad-","Numpad.","Numpad/","Control+]","Control+\\","Control+[","Control+^","Control+_","Control+ArrowLeft","Control+ArrowRight","Control+ArrowUp","Control+ArrowDown","Control+Home","Control+End","Shift+ArrowLeft","Shift+ArrowRight","Shift+ArrowUp","Shift+ArrowDown","Shift+Home","Shift+End","Alt+ArrowLeft","Alt+ArrowRight","Meta+ArrowLeft","Meta+ArrowRight","Alt+Backspace","Meta+Backspace","Control+Shift+C","Control+Insert","Control+F12","activeElement","HTMLTextAreaElement","keyBlacklist","softModifiers","ctrl","meta","shiftKey","binding","itemModifiers","cu","np","crlf","click","move","dir","blockKeys","yes","openUploadDialog","updateStatus","onDialogClose","fuTout","line_i","startUpload","fuClose","inline_pos","send_delay_ms","nl_str","CR","LF","CRLF","uploadLine","canSend","curLine","maxChunk","MAX_LINE_LEN","chunk","pt","closeWhenReady","reader","files","ftype","confirm","txt","_slicedToArray","sliceIterator","_arr","_n","_d","_e","_s","_i","keyInput","shortcutBar","keyboardOpen","updateInputPosition","_screen$gridToScreen","_screen$gridToScreen2","lastCompositionString","sendInputDelta","newValue","resend","stopPropagation","isComposing","inputType","shortcuts","Control","Esc","←","↓","↑","→","touchMoved","shortcut","fakeEvent","connection","debugCanvas","mouseHoverCell","updateToolbar","startDrawing","onMouseOut","addCanvas","removeCanvas","updateCanvasSize","drawInfo","endTime","lastReason","clippedRects","updateFrames","reason","frame","clipPattern","patternCanvas","pctx","createPattern","isDrawing","lastDrawTime","drawLoop","dt","activeCells","_cells$get","_cells$get2","timestamp","elapsedTime","strokeRect","didDrawUpdateFrames","framesToDelete","elapsed","lineJoin","setLineDash","lineDashOffset","toolbar","toolbarAttached","dataDisplay","internalDisplay","redraw","fancyGraphics","attachToolbar","detachToolbar","displayCellAttrs","formatColor","getCellData","cellAttrs","fgText","bgText","cellCode","hexcode","setFormattedText","node","pushSpan","internalInfo","container","pushButton","blur","popButton","selectedTheme","showColor","ex","ColorTriangle","uppercase","trianglePointerSize","size","parseColor","initInput","$presets","thm","tit","xfg","xbg","nextTheme","selectedIndex","prevTheme","times","win","doc","triangleSize","wheelPointerColor1","wheelPointerColor2","trianglePointerColor1","trianglePointerColor2","pixelRatio","setOptions","calculateProperties","createContainer","createTriangle","createWheel","createWheelPointer","createTrianglePointer","attachEvents","setHEX","innerSize","wheelThickness","wheelPointerSize","wheelRadius","triangleRadius","triangleSideLength","sqrt","hue","third","saturation","lightness","hx","cos","hy","sx","sy","vx","vy","mx","my","boxShadow","borderRadius","wheel","margin","drawWheel","arc","triangle","triangleCtx","closePath","grad0","createLinearGradient","hsla","addColorStop","grad1","globalCompositeOperation","wheelPointer","drawPointer","trianglePointer","color1","color2","getRGB","setRGB","getHSL","setHSL","initColor","calculatePositions","moveWheelPointer","drawTriangle","moveTrianglePointer","down","mousedown","mousemove","mouseup","xy","getRelativeCoordinates","x0","y0","rad","atan2","rad0","rad1","tan","maxR","rad2","atan","widthShare","dflt","ct","openColorTriangle","offsetWidth","getHEX","fireChangeEvent","offsetTop","offsetHeight","el","getElement","offsetLeft","zIndex","inject","closeColorTriangle","dispose"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,GAGAzB,IAAA0B,EAAA,MD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,MACViS,MAAM,+CACZgvC,IACAG,KAEAQ,MAED,OA/eP/G,GAA6C/wC","file":"app.180ab41-en.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 10);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/** Make a node */\nexports.mk = function mk(e) {\n return document.createElement(e);\n};\n\n/** Find one by query */\nexports.qs = function qs(s) {\n return document.querySelector(s);\n};\n\n/** Find all by query */\nexports.qsa = function qsa(s) {\n return document.querySelectorAll(s);\n};\n\n/**\n * Filter 'spacebar' and 'return' from keypress handler,\n * and when they're pressed, fire the callback.\n * use $(...).on('keypress', cr(handler))\n */\nexports.cr = function cr(hdl) {\n return function (e) {\n if (e.which === 10 || e.which === 13 || e.which === 32) {\n hdl();\n }\n };\n};\n\n/** Decode number from 2B encoding */\nexports.parse2B = function parse2B(s) {\n var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n return s.charCodeAt(i++) - 1 + (s.charCodeAt(i) - 1) * 127;\n};\n\n/** Decode number from 3B encoding */\nexports.parse3B = function parse3B(s) {\n var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n return s.charCodeAt(i) - 1 + (s.charCodeAt(i + 1) - 1) * 127 + (s.charCodeAt(i + 2) - 1) * 127 * 127;\n};\n\n/** Encode using 2B encoding, returns string. */\nexports.encode2B = function encode2B(n) {\n var lsb = void 0,\n msb = void 0;\n lsb = n % 127;\n n = (n - lsb) / 127;\n lsb += 1;\n msb = n + 1;\n return String.fromCharCode(lsb) + String.fromCharCode(msb);\n};\n\n/** Encode using 3B encoding, returns string. */\nexports.encode3B = function encode3B(n) {\n var lsb = void 0,\n msb = void 0,\n xsb = void 0;\n lsb = n % 127;\n n = (n - lsb) / 127;\n lsb += 1;\n msb = n % 127;\n n = (n - msb) / 127;\n msb += 1;\n xsb = n + 1;\n return String.fromCharCode(lsb) + String.fromCharCode(msb) + String.fromCharCode(xsb);\n};\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/*!chibi 3.0.7, Copyright 2012-2016 Kyle Barrow, released under MIT license */\n\n// MODIFIED VERSION.\n(function () {\n\t'use strict';\n\n\tvar readyfn = [],\n\t loadedfn = [],\n\t domready = false,\n\t pageloaded = false,\n\t d = document,\n\t w = window;\n\n\t// Fire any function calls on ready event\n\tfunction fireReady() {\n\t\tvar i;\n\t\tdomready = true;\n\t\tfor (i = 0; i < readyfn.length; i += 1) {\n\t\t\treadyfn[i]();\n\t\t}\n\t\treadyfn = [];\n\t}\n\n\t// Fire any function calls on loaded event\n\tfunction fireLoaded() {\n\t\tvar i;\n\t\tpageloaded = true;\n\t\t// For browsers with no DOM loaded support\n\t\tif (!domready) {\n\t\t\tfireReady();\n\t\t}\n\t\tfor (i = 0; i < loadedfn.length; i += 1) {\n\t\t\tloadedfn[i]();\n\t\t}\n\t\tloadedfn = [];\n\t}\n\n\t// Check DOM ready, page loaded\n\tif (d.addEventListener) {\n\t\t// Standards\n\t\td.addEventListener('DOMContentLoaded', fireReady, false);\n\t\tw.addEventListener('load', fireLoaded, false);\n\t} else if (d.attachEvent) {\n\t\t// IE\n\t\td.attachEvent('onreadystatechange', fireReady);\n\t\t// IE < 9\n\t\tw.attachEvent('onload', fireLoaded);\n\t} else {\n\t\t// Anything else\n\t\tw.onload = fireLoaded;\n\t}\n\n\t// Utility functions\n\n\t// Loop through node array\n\tfunction nodeLoop(fn, nodes) {\n\t\tvar i;\n\t\t// Good idea to walk up the DOM\n\t\tfor (i = nodes.length - 1; i >= 0; i -= 1) {\n\t\t\tfn(nodes[i]);\n\t\t}\n\t}\n\n\t// Convert to camel case\n\tfunction cssCamel(property) {\n\t\treturn property.replace(/-\\w/g, function (result) {\n\t\t\treturn result.charAt(1).toUpperCase();\n\t\t});\n\t}\n\n\t// Get computed style\n\tfunction computeStyle(elm, property) {\n\t\t// IE, everything else or null\n\t\treturn elm.currentStyle ? elm.currentStyle[cssCamel(property)] : w.getComputedStyle ? w.getComputedStyle(elm, null).getPropertyValue(property) : null;\n\t}\n\n\t// Returns URI encoded query string pair\n\tfunction queryPair(name, value) {\n\t\treturn encodeURIComponent(name).replace(/%20/g, '+') + '=' + encodeURIComponent(value).replace(/%20/g, '+');\n\t}\n\n\t// Set CSS, important to wrap in try to prevent error thown on unsupported property\n\tfunction setCss(elm, property, value) {\n\t\ttry {\n\t\t\telm.style[cssCamel(property)] = value;\n\t\t} catch (e) {}\n\t}\n\n\t// Show CSS\n\tfunction showCss(elm) {\n\t\telm.style.display = '';\n\t\t// For elements still hidden by style block\n\t\tif (computeStyle(elm, 'display') === 'none') {\n\t\t\telm.style.display = 'block';\n\t\t}\n\t}\n\n\t// Serialize form & JSON values\n\tfunction serializeData(nodes) {\n\t\tvar querystring = '',\n\t\t subelm,\n\t\t i,\n\t\t j;\n\t\tif (nodes.constructor === Object) {\n\t\t\t// Serialize JSON data\n\t\t\tfor (subelm in nodes) {\n\t\t\t\tif (nodes.hasOwnProperty(subelm)) {\n\t\t\t\t\tif (nodes[subelm].constructor === Array) {\n\t\t\t\t\t\tfor (i = 0; i < nodes[subelm].length; i += 1) {\n\t\t\t\t\t\t\tquerystring += '&' + queryPair(subelm, nodes[subelm][i]);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tquerystring += '&' + queryPair(subelm, nodes[subelm]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// Serialize node data\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\tif (elm.nodeName === 'FORM') {\n\t\t\t\t\tfor (i = 0; i < elm.elements.length; i += 1) {\n\t\t\t\t\t\tsubelm = elm.elements[i];\n\n\t\t\t\t\t\tif (!subelm.disabled) {\n\t\t\t\t\t\t\tswitch (subelm.type) {\n\t\t\t\t\t\t\t\t// Ignore buttons, unsupported XHR 1 form fields\n\t\t\t\t\t\t\t\tcase 'button':\n\t\t\t\t\t\t\t\tcase 'image':\n\t\t\t\t\t\t\t\tcase 'file':\n\t\t\t\t\t\t\t\tcase 'submit':\n\t\t\t\t\t\t\t\tcase 'reset':\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase 'select-one':\n\t\t\t\t\t\t\t\t\tif (subelm.length > 0) {\n\t\t\t\t\t\t\t\t\t\tquerystring += '&' + queryPair(subelm.name, subelm.value);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase 'select-multiple':\n\t\t\t\t\t\t\t\t\tfor (j = 0; j < subelm.length; j += 1) {\n\t\t\t\t\t\t\t\t\t\tif (subelm[j].selected) {\n\t\t\t\t\t\t\t\t\t\t\tquerystring += '&' + queryPair(subelm.name, subelm[j].value);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase 'checkbox':\n\t\t\t\t\t\t\t\tcase 'radio':\n\t\t\t\t\t\t\t\t\tif (subelm.checked) {\n\t\t\t\t\t\t\t\t\t\tquerystring += '&' + queryPair(subelm.name, subelm.value);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\t// Everything else including shinny new HTML5 input types\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\tquerystring += '&' + queryPair(subelm.name, subelm.value);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, nodes);\n\t\t}\n\t\t// Tidy up first &\n\t\treturn querystring.length > 0 ? querystring.substring(1) : '';\n\t}\n\n\t// Class helper\n\tfunction classHelper(classes, action, nodes) {\n\t\tvar classarray,\n\t\t search,\n\t\t i,\n\t\t replace,\n\t\t has = false;\n\t\tif (classes) {\n\t\t\t// Trim any whitespace\n\t\t\tclassarray = classes.split(/\\s+/);\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\tfor (i = 0; i < classarray.length; i += 1) {\n\t\t\t\t\tvar clz = classarray[i];\n\t\t\t\t\tif (action === 'remove') {\n\t\t\t\t\t\telm.classList.remove(clz);\n\t\t\t\t\t} else if (action === 'add') {\n\t\t\t\t\t\telm.classList.add(clz);\n\t\t\t\t\t} else if (action === 'toggle') {\n\t\t\t\t\t\telm.classList.toggle(clz);\n\t\t\t\t\t} else if (action === 'has') {\n\t\t\t\t\t\tif (elm.classList.contains(clz)) {\n\t\t\t\t\t\t\thas = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// search = new RegExp('\\\\b' + classarray[i] + '\\\\b', 'g');\n\t\t\t\t\t// replace = new RegExp(' *' + classarray[i] + '\\\\b', 'g');\n\t\t\t\t\t// if (action === 'remove') {\n\t\t\t\t\t// \telm.className = elm.className.replace(search, '');\n\t\t\t\t\t// } else if (action === 'toggle') {\n\t\t\t\t\t// \telm.className = (elm.className.match(search)) ? elm.className.replace(replace, '') : elm.className + ' ' + classarray[i];\n\t\t\t\t\t// } else if (action === 'has') {\n\t\t\t\t\t// \tif (elm.className.match(search)) {\n\t\t\t\t\t// \t\thas = true;\n\t\t\t\t\t// \t\tbreak;\n\t\t\t\t\t// \t}\n\t\t\t\t\t// }\n\t\t\t\t}\n\t\t\t}, nodes);\n\t\t}\n\t\treturn has;\n\t}\n\n\t// HTML insertion helper\n\tfunction insertHtml(value, position, nodes) {\n\t\tvar tmpnodes, tmpnode;\n\t\tif (value) {\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\t// No insertAdjacentHTML support for FF < 8 and IE doesn't allow insertAdjacentHTML table manipulation, so use this instead\n\t\t\t\t// Convert string to node. We can't innerHTML on a document fragment\n\t\t\t\ttmpnodes = d.createElement('div');\n\t\t\t\ttmpnodes.innerHTML = value;\n\t\t\t\twhile ((tmpnode = tmpnodes.lastChild) !== null) {\n\t\t\t\t\t// Catch error in unlikely case elm has been removed\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (position === 'before') {\n\t\t\t\t\t\t\telm.parentNode.insertBefore(tmpnode, elm);\n\t\t\t\t\t\t} else if (position === 'after') {\n\t\t\t\t\t\t\telm.parentNode.insertBefore(tmpnode, elm.nextSibling);\n\t\t\t\t\t\t} else if (position === 'append') {\n\t\t\t\t\t\t\telm.appendChild(tmpnode);\n\t\t\t\t\t\t} else if (position === 'prepend') {\n\t\t\t\t\t\t\telm.insertBefore(tmpnode, elm.firstChild);\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, nodes);\n\t\t}\n\t}\n\n\t// Get nodes and return chibi\n\tfunction chibi(selector) {\n\t\tvar cb,\n\t\t nodes = [],\n\t\t json = false,\n\t\t nodelist,\n\t\t i;\n\n\t\tif (selector) {\n\n\t\t\t// Element node, would prefer to use (selector instanceof HTMLElement) but no IE support\n\t\t\tif (selector.nodeType && selector.nodeType === 1) {\n\t\t\t\tnodes = [selector]; // return element as node list\n\t\t\t} else if ((typeof selector === 'undefined' ? 'undefined' : _typeof(selector)) === 'object') {\n\t\t\t\t// JSON, document object or node list, would prefer to use (selector instanceof NodeList) but no IE support\n\t\t\t\tjson = typeof selector.length !== 'number';\n\t\t\t\tnodes = selector;\n\t\t\t} else if (typeof selector === 'string') {\n\t\t\t\tnodelist = d.querySelectorAll(selector);\n\n\t\t\t\t// Convert node list to array so results have full access to array methods\n\t\t\t\t// Array.prototype.slice.call not supported in IE < 9 and often slower than loop anyway\n\t\t\t\tfor (i = 0; i < nodelist.length; i += 1) {\n\t\t\t\t\tnodes[i] = nodelist[i];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Only attach nodes if not JSON\n\t\tcb = json ? {} : nodes;\n\n\t\t// Public functions\n\n\t\t// Executes a function on nodes\n\t\tcb.each = function (fn) {\n\t\t\tif (typeof fn === 'function') {\n\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\t// <= IE 8 loses scope so need to apply\n\t\t\t\t\treturn fn.apply(elm, arguments);\n\t\t\t\t}, nodes);\n\t\t\t}\n\t\t\treturn cb;\n\t\t};\n\t\t// Find first\n\t\tcb.first = function () {\n\t\t\treturn chibi(nodes.shift());\n\t\t};\n\t\t// Find last\n\t\tcb.last = function () {\n\t\t\treturn chibi(nodes.pop());\n\t\t};\n\t\t// Find odd\n\t\tcb.odd = function () {\n\t\t\tvar odds = [],\n\t\t\t i;\n\t\t\tfor (i = 0; i < nodes.length; i += 2) {\n\t\t\t\todds.push(nodes[i]);\n\t\t\t}\n\t\t\treturn chibi(odds);\n\t\t};\n\t\t// Find even\n\t\tcb.even = function () {\n\t\t\tvar evens = [],\n\t\t\t i;\n\t\t\tfor (i = 1; i < nodes.length; i += 2) {\n\t\t\t\tevens.push(nodes[i]);\n\t\t\t}\n\t\t\treturn chibi(evens);\n\t\t};\n\t\t// Hide node\n\t\tcb.hide = function () {\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\telm.style.display = 'none';\n\t\t\t}, nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Show node\n\t\tcb.show = function () {\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\tshowCss(elm);\n\t\t\t}, nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Toggle node display\n\t\tcb.toggle = function (state) {\n\t\t\tif (typeof state != 'undefined') {\n\t\t\t\t// ADDED\n\t\t\t\tif (state) cb.show();else cb.hide();\n\t\t\t} else {\n\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\t// computeStyle instead of style.display == 'none' catches elements that are hidden via style block\n\t\t\t\t\tif (computeStyle(elm, 'display') === 'none') {\n\t\t\t\t\t\tshowCss(elm);\n\t\t\t\t\t} else {\n\t\t\t\t\t\telm.style.display = 'none';\n\t\t\t\t\t}\n\t\t\t\t}, nodes);\n\t\t\t}\n\t\t\treturn cb;\n\t\t};\n\t\t// Remove node\n\t\tcb.remove = function () {\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\t// Catch error in unlikely case elm has been removed\n\t\t\t\ttry {\n\t\t\t\t\telm.parentNode.removeChild(elm);\n\t\t\t\t} catch (e) {}\n\t\t\t}, nodes);\n\t\t\treturn chibi();\n\t\t};\n\t\t// Get/Set CSS\n\t\tcb.css = function (property, value) {\n\t\t\tif (property) {\n\t\t\t\tif (value || value === '') {\n\t\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\t\tsetCss(elm, property, value);\n\t\t\t\t\t}, nodes);\n\t\t\t\t\treturn cb;\n\t\t\t\t}\n\t\t\t\tif (nodes[0]) {\n\t\t\t\t\tif (nodes[0].style[cssCamel(property)]) {\n\t\t\t\t\t\treturn nodes[0].style[cssCamel(property)];\n\t\t\t\t\t}\n\t\t\t\t\tif (computeStyle(nodes[0], property)) {\n\t\t\t\t\t\treturn computeStyle(nodes[0], property);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\t// Get class(es)\n\t\tcb.getClass = function () {\n\t\t\tif (nodes[0] && nodes[0].className.length > 0) {\n\t\t\t\t// Weak IE trim support\n\t\t\t\treturn nodes[0].className.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '').replace(/\\s+/, ' ');\n\t\t\t}\n\t\t};\n\t\t// Set (replaces) classes\n\t\tcb.setClass = function (classes) {\n\t\t\tif (classes || classes === '') {\n\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\telm.className = classes;\n\t\t\t\t}, nodes);\n\t\t\t}\n\t\t\treturn cb;\n\t\t};\n\t\t// Add class\n\t\tcb.addClass = function (classes) {\n\t\t\tclassHelper(classes, 'add', nodes);\n\t\t\t// if (classes) {\n\t\t\t// \tnodeLoop(function (elm) {\n\t\t\t// \t\telm.className += ' ' + classes;\n\t\t\t// \t}, nodes);\n\t\t\t// }\n\t\t\treturn cb;\n\t\t};\n\t\t// Remove class\n\t\tcb.removeClass = function (classes) {\n\t\t\tclassHelper(classes, 'remove', nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Toggle class\n\t\tcb.toggleClass = function (classes, set) {\n\t\t\tvar method = typeof set === 'undefined' ? 'toggle' : +set ? 'add' : 'remove';\n\t\t\tclassHelper(classes, method, nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Has class\n\t\tcb.hasClass = function (classes) {\n\t\t\treturn classHelper(classes, 'has', nodes);\n\t\t};\n\t\t// Get/set HTML\n\t\tcb.html = function (value) {\n\t\t\tif (value || value === '') {\n\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\telm.innerHTML = value;\n\t\t\t\t}, nodes);\n\t\t\t\treturn cb;\n\t\t\t}\n\t\t\tif (nodes[0]) {\n\t\t\t\treturn nodes[0].innerHTML;\n\t\t\t}\n\t\t};\n\t\t// Insert HTML before selector\n\t\tcb.htmlBefore = function (value) {\n\t\t\tinsertHtml(value, 'before', nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Insert HTML after selector\n\t\tcb.htmlAfter = function (value) {\n\t\t\tinsertHtml(value, 'after', nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Insert HTML after selector innerHTML\n\t\tcb.htmlAppend = function (value) {\n\t\t\tinsertHtml(value, 'append', nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Insert HTML before selector innerHTML\n\t\tcb.htmlPrepend = function (value) {\n\t\t\tinsertHtml(value, 'prepend', nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Get/Set HTML attributes\n\t\tcb.attr = function (property, value) {\n\t\t\tif (property) {\n\t\t\t\tproperty = property.toLowerCase();\n\t\t\t\t// IE < 9 doesn't allow style or class via get/setAttribute so switch. cssText returns prettier CSS anyway\n\t\t\t\tif (typeof value !== 'undefined') {\n\t\t\t\t\t//FIXED BUG HERE\n\t\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\t\tif (property === 'style') {\n\t\t\t\t\t\t\telm.style.cssText = value;\n\t\t\t\t\t\t} else if (property === 'class') {\n\t\t\t\t\t\t\telm.className = value;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telm.setAttribute(property, value);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, nodes);\n\t\t\t\t\treturn cb;\n\t\t\t\t}\n\t\t\t\tif (nodes[0]) {\n\t\t\t\t\tif (property === 'style') {\n\t\t\t\t\t\tif (nodes[0].style.cssText) {\n\t\t\t\t\t\t\treturn nodes[0].style.cssText;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (property === 'class') {\n\t\t\t\t\t\tif (nodes[0].className) {\n\t\t\t\t\t\t\treturn nodes[0].className;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (nodes[0].getAttribute(property)) {\n\t\t\t\t\t\t\treturn nodes[0].getAttribute(property);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\t// Get/Set HTML data property\n\t\tcb.data = function (key, value) {\n\t\t\tif (key) {\n\t\t\t\treturn cb.attr('data-' + key, value);\n\t\t\t}\n\t\t};\n\t\t// Get/Set form element values\n\t\tcb.val = function (value) {\n\t\t\tvar values, i, j;\n\t\t\tif (typeof value != 'undefined') {\n\t\t\t\t// FIXED A BUG HERE\n\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\tswitch (elm.nodeName) {\n\t\t\t\t\t\tcase 'SELECT':\n\t\t\t\t\t\t\tif (typeof value === 'string' || typeof value === 'number') {\n\t\t\t\t\t\t\t\tvalue = [value];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (i = 0; i < elm.length; i += 1) {\n\t\t\t\t\t\t\t\t// Multiple select\n\t\t\t\t\t\t\t\tfor (j = 0; j < value.length; j += 1) {\n\t\t\t\t\t\t\t\t\telm[i].selected = '';\n\t\t\t\t\t\t\t\t\tif (elm[i].value === \"\" + value[j]) {\n\t\t\t\t\t\t\t\t\t\telm[i].selected = 'selected';\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'INPUT':\n\t\t\t\t\t\tcase 'TEXTAREA':\n\t\t\t\t\t\tcase 'BUTTON':\n\t\t\t\t\t\t\telm.value = value;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}, nodes);\n\n\t\t\t\treturn cb;\n\t\t\t}\n\t\t\tif (nodes[0]) {\n\t\t\t\tswitch (nodes[0].nodeName) {\n\t\t\t\t\tcase 'SELECT':\n\t\t\t\t\t\tvalues = [];\n\t\t\t\t\t\tfor (i = 0; i < nodes[0].length; i += 1) {\n\t\t\t\t\t\t\tif (nodes[0][i].selected) {\n\t\t\t\t\t\t\t\tvalues.push(nodes[0][i].value);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn values.length > 1 ? values : values[0];\n\t\t\t\t\tcase 'INPUT':\n\t\t\t\t\tcase 'TEXTAREA':\n\t\t\t\t\tcase 'BUTTON':\n\t\t\t\t\t\treturn nodes[0].value;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\t// Return matching checked checkbox or radios\n\t\tcb.checked = function (check) {\n\t\t\tif (typeof check === 'boolean') {\n\t\t\t\tnodeLoop(function (elm) {\n\t\t\t\t\tif (elm.nodeName === 'INPUT' && (elm.type === 'checkbox' || elm.type === 'radio')) {\n\t\t\t\t\t\telm.checked = check;\n\t\t\t\t\t}\n\t\t\t\t}, nodes);\n\t\t\t\treturn cb;\n\t\t\t}\n\t\t\tif (nodes[0] && nodes[0].nodeName === 'INPUT' && (nodes[0].type === 'checkbox' || nodes[0].type === 'radio')) {\n\t\t\t\treturn !!nodes[0].checked;\n\t\t\t}\n\t\t};\n\t\t// Add event handler\n\t\tcb.on = function (event, fn) {\n\t\t\tif (selector === w || selector === d) {\n\t\t\t\tnodes = [selector];\n\t\t\t}\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\tif (d.addEventListener) {\n\t\t\t\t\telm.addEventListener(event, fn, false);\n\t\t\t\t} else if (d.attachEvent) {\n\t\t\t\t\t// <= IE 8 loses scope so need to apply, we add this to object so we can detach later (can't detach anonymous functions)\n\t\t\t\t\telm[event + fn] = function () {\n\t\t\t\t\t\treturn fn.apply(elm, arguments);\n\t\t\t\t\t};\n\t\t\t\t\telm.attachEvent('on' + event, elm[event + fn]);\n\t\t\t\t}\n\t\t\t}, nodes);\n\t\t\treturn cb;\n\t\t};\n\t\t// Remove event handler\n\t\tcb.off = function (event, fn) {\n\t\t\tif (selector === w || selector === d) {\n\t\t\t\tnodes = [selector];\n\t\t\t}\n\t\t\tnodeLoop(function (elm) {\n\t\t\t\tif (d.addEventListener) {\n\t\t\t\t\telm.removeEventListener(event, fn, false);\n\t\t\t\t} else if (d.attachEvent) {\n\t\t\t\t\telm.detachEvent('on' + event, elm[event + fn]);\n\t\t\t\t\t// Tidy up\n\t\t\t\t\telm[event + fn] = null;\n\t\t\t\t}\n\t\t\t}, nodes);\n\t\t\treturn cb;\n\t\t};\n\t\treturn cb;\n\t}\n\n\t// Basic XHR\n\tchibi.ajax = function (options) {\n\t\t// if options is a number, it's timeout in ms\n\t\tvar opts = Object.assign({\n\t\t\tmethod: 'GET',\n\t\t\tnocache: true,\n\t\t\ttimeout: 5000,\n\t\t\tloader: true,\n\t\t\tcallback: null\n\t\t}, options);\n\t\topts.method = opts.method.toUpperCase();\n\n\t\tvar loaderFn = opts.loader ? chibi._loader : function () {};\n\t\tvar url = opts.url;\n\t\tvar method = opts.method;\n\t\tvar query = null;\n\n\t\tif (opts.data) {\n\t\t\tquery = serializeData(opts.data);\n\t\t}\n\n\t\tif (query && method === 'GET') {\n\t\t\turl += url.indexOf('?') === -1 ? '?' + query : '&' + query;\n\t\t\tquery = null;\n\t\t}\n\n\t\tvar xhr = new XMLHttpRequest();\n\n\t\t// prevent caching\n\t\tif (opts.nocache) {\n\t\t\tvar ts = (+new Date()).toString(36);\n\t\t\turl += (url.indexOf('?') === -1 ? '?' : '&') + '_=' + ts;\n\t\t}\n\n\t\tloaderFn(true);\n\n\t\txhr.open(method, url, true);\n\t\txhr.timeout = opts.timeout;\n\n\t\t// Abort after given timeout\n\t\tvar abortTmeo = setTimeout(function () {\n\t\t\tconsole.error(\"XHR timed out.\");\n\t\t\txhr.abort();\n\t\t\tloaderFn(false);\n\t\t}, opts.timeout + 10);\n\n\t\txhr.onreadystatechange = function () {\n\t\t\tif (xhr.readyState === 4) {\n\t\t\t\tloaderFn(false);\n\n\t\t\t\topts.callback && opts.callback(xhr.responseText, xhr.status);\n\n\t\t\t\tclearTimeout(abortTmeo);\n\t\t\t}\n\t\t};\n\n\t\txhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');\n\t\tif (method === 'POST') {\n\t\t\txhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');\n\t\t}\n\n\t\txhr.send(query);\n\t\treturn xhr;\n\t};\n\n\tchibi._loader = function () {};\n\n\t// Alias to cb.ajax(url, 'get', callback)\n\tchibi.get = function (url, callback, opts) {\n\t\topts = opts || {};\n\t\topts.url = url;\n\t\topts.callback = callback;\n\t\topts.method = 'GET';\n\t\treturn chibi.ajax(opts);\n\t};\n\n\t// Alias to cb.ajax(url, 'post', callback)\n\tchibi.post = function (url, callback, opts) {\n\t\topts = opts || {};\n\t\topts.url = url;\n\t\topts.callback = callback;\n\t\topts.method = 'POST';\n\t\treturn chibi.ajax(opts);\n\t};\n\n\t// Fire on DOM ready\n\tchibi.ready = function (fn) {\n\t\tif (fn) {\n\t\t\tif (domready) {\n\t\t\t\tfn();\n\t\t\t\treturn chibi;\n\t\t\t} else {\n\t\t\t\treadyfn.push(fn);\n\t\t\t}\n\t\t}\n\t};\n\n\t// Fire on page loaded\n\tchibi.loaded = function (fn) {\n\t\tif (fn) {\n\t\t\tif (pageloaded) {\n\t\t\t\tfn();\n\t\t\t\treturn chibi;\n\t\t\t} else {\n\t\t\t\tloadedfn.push(fn);\n\t\t\t}\n\t\t}\n\t};\n\n\tvar entityMap = {\n\t\t'&': '&',\n\t\t'<': '<',\n\t\t'>': '>',\n\t\t'\"': '"',\n\t\t\"'\": ''',\n\t\t'/': '/',\n\t\t'`': '`',\n\t\t'=': '='\n\t};\n\n\tchibi.htmlEscape = function (string) {\n\t\treturn String(string).replace(/[&<>\"'`=\\/]/g, function (s) {\n\t\t\treturn entityMap[s];\n\t\t});\n\t};\n\n\t// Set Chibi's global namespace here ($)\n\tmodule.exports = chibi;\n})();\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar $ = __webpack_require__(1);\n\n/** Module for toggling a modal overlay */\nvar modal = {};\nvar curCloseCb = null;\n\nmodal.show = function (sel, closeCb) {\n var $m = $(sel);\n $m.removeClass('hidden visible');\n setTimeout(function () {\n $m.addClass('visible');\n }, 1);\n curCloseCb = closeCb;\n};\n\nmodal.hide = function (sel) {\n var $m = $(sel);\n $m.removeClass('visible');\n setTimeout(function () {\n $m.addClass('hidden');\n if (curCloseCb) curCloseCb();\n }, 500); // transition time\n};\n\nmodal.init = function () {\n // close modal by click outside the dialog\n $('.Modal').on('click', function () {\n if ($(this).hasClass('no-close')) return; // this is a no-close modal\n modal.hide(this);\n });\n\n $('.Dialog').on('click', function (e) {\n e.stopImmediatePropagation();\n });\n\n // Hide all modals on esc\n $(window).on('keydown', function (e) {\n if (e.which === 27) {\n modal.hide('.Modal');\n }\n });\n};\n\nmodule.exports = modal;\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar $ = __webpack_require__(1);\nvar modal = __webpack_require__(2);\n\nvar nt = {};\nvar sel = '#notif';\nvar $balloon = void 0;\n\nvar timerHideBegin = void 0; // timeout to start hiding (transition)\nvar timerHideEnd = void 0; // timeout to add the hidden class\nvar canCancel = false;\n\nvar stopTimeouts = function stopTimeouts() {\n clearTimeout(timerHideBegin);\n clearTimeout(timerHideEnd);\n};\n\nnt.show = function (message, timeout, isError) {\n $balloon.toggleClass('error', isError === true);\n $balloon.html(message);\n modal.show($balloon);\n stopTimeouts();\n\n if (!timeout || timeout <= 0) {\n timeout = 2500;\n }\n\n timerHideBegin = setTimeout(nt.hide, timeout);\n\n canCancel = false;\n setTimeout(function () {\n canCancel = true;\n }, 500);\n};\n\nnt.hide = function () {\n var $m = $(sel);\n $m.removeClass('visible');\n timerHideEnd = setTimeout(function () {\n $m.addClass('hidden');\n }, 250); // transition time\n};\n\nnt.init = function () {\n $balloon = $(sel);\n\n // close by click outside\n $(document).on('click', function () {\n if (!canCancel) return;\n nt.hide(this);\n });\n\n // click caused by selecting, prevent it from bubbling\n $balloon.on('click', function (e) {\n e.stopImmediatePropagation();\n return false;\n });\n\n // stop fading if moused\n $balloon.on('mouseenter', function () {\n stopTimeouts();\n $balloon.removeClass('hidden').addClass('visible');\n });\n};\n\nmodule.exports = nt;\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar $ = __webpack_require__(1);\n\nvar _require = __webpack_require__(7),\n rgb255ToHex = _require.rgb255ToHex;\n\nvar themes = exports.themes = [[// 0 - Tango - terminator\n'#111213', '#CC0000', '#4E9A06', '#C4A000', '#3465A4', '#75507B', '#06989A', '#D3D7CF', '#555753', '#EF2929', '#8AE234', '#FCE94F', '#729FCF', '#AD7FA8', '#34E2E2', '#EEEEEC'], [// 1 - Linux (CGA) - terminator\n'#000000', '#aa0000', '#00aa00', '#aa5500', '#0000aa', '#aa00aa', '#00aaaa', '#aaaaaa', '#555555', '#ff5555', '#55ff55', '#ffff55', '#5555ff', '#ff55ff', '#55ffff', '#ffffff'], [// 2 - xterm - terminator\n'#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000ee', '#cd00cd', '#00cdcd', '#e5e5e5', '#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff'], [// 3 - rxvt - terminator\n'#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000cd', '#cd00cd', '#00cdcd', '#faebd7', '#404040', '#ff0000', '#00ff00', '#ffff00', '#0000ff', '#ff00ff', '#00ffff', '#ffffff'], [// 4 - Ambience - terminator\n'#2e3436', '#cc0000', '#4e9a06', '#c4a000', '#3465a4', '#75507b', '#06989a', '#d3d7cf', '#555753', '#ef2929', '#8ae234', '#fce94f', '#729fcf', '#ad7fa8', '#34e2e2', '#eeeeec'], [// 5 - Solarized Dark - terminator\n'#073642', '#dc322f', '#859900', '#b58900', '#268bd2', '#d33682', '#2aa198', '#eee8d5', '#002b36', '#cb4b16', '#586e75', '#657b83', '#839496', '#6c71c4', '#93a1a1', '#fdf6e3'], [// 6 - CGA NTSC - wikipedia\n'#000000', '#69001A', '#117800', '#769100', '#1A00A6', '#8019AB', '#289E76', '#A4A4A4', '#484848', '#C54E76', '#6DD441', '#D2ED46', '#765BFF', '#DC75FF', '#84FAD2', '#FFFFFF'], [// 7 - ZX Spectrum - wikipedia\n'#000000', '#aa0000', '#00aa00', '#aaaa00', '#0000aa', '#aa00aa', '#00aaaa', '#aaaaaa', '#000000', '#ff0000', '#00FF00', '#ffff00', '#0000ff', '#ff00ff', '#00ffff', '#ffffff'], [// 8 - Apple II - wikipedia\n'#000000', '#722640', '#0E5940', '#808080', '#40337F', '#E434FE', '#1B9AFE', '#BFB3FF', '#404C00', '#E46501', '#1BCB01', '#BFCC80', '#808080', '#F1A6BF', '#8DD9BF', '#ffffff'], [// 9 - Commodore - wikipedia\n'#000000', '#8D3E37', '#55A049', '#AAB95D', '#40318D', '#80348B', '#72C1C8', '#D59F74', '#8B5429', '#B86962', '#94E089', '#FFFFB2', '#8071CC', '#AA5FB6', '#87D6DD', '#ffffff'], [// 10 - Solarized Light - https://github.com/sgerrand/xfce4-terminal-colors-solarized\n'#eee8d5', '#dc322f', '#859900', '#b58900', '#268bd2', '#d33682', '#2aa198', '#073642', '#fdf6e3', '#cb4b16', '#93a1a1', '#839496', '#657b83', '#6c71c4', '#586e75', '#002b36'], [// 11 - Solarized Dark High contrast - https://github.com/sgerrand/xfce4-terminal-colors-solarized\n'#073642', '#dc322f', '#859900', '#b58900', '#268bd2', '#d33682', '#2aa198', '#fdf6e3', '#002b36', '#cb4b16', '#657b83', '#839496', '#93a1a1', '#6c71c4', '#eee8d5', '#fdf6e3']];\n\nexports.fgbgThemes = [['#AAAAAA', '#000000', 'Lnx', 'Linux'], ['#FFFFFF', '#000000', 'W+K', 'White on Black'], ['#00FF00', '#000000', 'Lim', 'Lime'], ['#E53C00', '#000000', 'Nix', 'Nixie'], ['#EFF0F1', '#31363B', 'Brz', 'Breeze'], ['#FFFFFF', '#300A24', 'Amb', 'Ambiance'], ['#839496', '#002B36', 'SoD', 'Solarized Dark'], ['#93a1a1', '#002b36', 'SoH', 'Solarized Dark (High Contrast)'], ['#657B83', '#FDF6E3', 'SoL', 'Solarized Light'], ['#000000', '#FFD75F', 'Wsp', 'Wasp'], ['#000000', '#FFFFDD', 'K+Y', 'Black on Yellow'], ['#000000', '#FFFFFF', 'K+W', 'Black on White']];\n\nvar colorTable256 = null;\n\nexports.buildColorTable = function () {\n if (colorTable256 !== null) return colorTable256;\n\n // 256color lookup table\n // should not be used to look up 0-15\n colorTable256 = new Array(16).fill('#000000');\n\n // fill color table\n // colors 16-231 are a 6x6x6 color cube\n for (var red = 0; red < 6; red++) {\n for (var green = 0; green < 6; green++) {\n for (var blue = 0; blue < 6; blue++) {\n var redValue = red * 40 + (red ? 55 : 0);\n var greenValue = green * 40 + (green ? 55 : 0);\n var blueValue = blue * 40 + (blue ? 55 : 0);\n colorTable256.push(rgb255ToHex(redValue, greenValue, blueValue));\n }\n }\n }\n // colors 232-255 are a grayscale ramp, sans black and white\n for (var gray = 0; gray < 24; gray++) {\n var value = gray * 10 + 8;\n colorTable256.push(rgb255ToHex(value, value, value));\n }\n\n return colorTable256;\n};\n\nexports.SELECTION_FG = '#333';\nexports.SELECTION_BG = '#b2d7fe';\n\nexports.themePreview = function (themeN) {\n $('[data-fg]').forEach(function (elem) {\n var shade = elem.dataset.fg;\n if (/^\\d+$/.test(shade)) shade = exports.toHex(shade, themeN);\n elem.style.color = shade;\n });\n $('[data-bg]').forEach(function (elem) {\n var shade = elem.dataset.bg;\n if (/^\\d+$/.test(shade)) shade = exports.toHex(shade, themeN);\n elem.style.backgroundColor = shade;\n });\n};\n\nexports.colorTable256 = null;\nexports.ensureColorTable256 = function () {\n if (!exports.colorTable256) exports.colorTable256 = exports.buildColorTable();\n};\n\nexports.getColor = function (i) {\n var palette = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n // return palette color if it exists\n if (i < 16 && i in palette) return palette[i];\n\n // -1 for selection foreground, -2 for selection background\n if (i === -1) return exports.SELECTION_FG;\n if (i === -2) return exports.SELECTION_BG;\n\n // 256 color\n if (i > 15 && i < 256) {\n exports.ensureColorTable256();\n return exports.colorTable256[i];\n }\n\n // 24-bit color, encoded as (hex) + 256 (such that #000000 == 256)\n if (i > 255) {\n i -= 256;\n return '#' + ('000000' + i.toString(16)).substr(-6);\n }\n\n // return error color\n return Math.floor(Date.now() / 1000) % 2 === 0 ? '#f0f' : '#0f0';\n};\n\nexports.toHex = function (shade, themeN) {\n if (/^\\d+$/.test(shade)) {\n shade = +shade;\n return exports.getColor(shade, themes[themeN]);\n }\n return shade;\n};\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EventEmitter = __webpack_require__(4);\n\nvar _require = __webpack_require__(0),\n parse2B = _require.parse2B;\n\nvar _require2 = __webpack_require__(5),\n themes = _require2.themes;\n\nvar encodeAsCodePoint = function encodeAsCodePoint(i) {\n return String.fromCodePoint(i + (i >= 0xD800 ? 0x801 : 1));\n};\n\nvar ANSIParser = function () {\n function ANSIParser(handler) {\n _classCallCheck(this, ANSIParser);\n\n this.reset();\n this.handler = handler;\n this.joinChunks = true;\n }\n\n _createClass(ANSIParser, [{\n key: 'reset',\n value: function reset() {\n this.currentSequence = 0;\n this.sequence = '';\n }\n }, {\n key: 'parseSequence',\n value: function parseSequence(sequence) {\n if (sequence[0] === '[') {\n var type = sequence[sequence.length - 1];\n var content = sequence.substring(1, sequence.length - 1);\n\n var numbers = content ? content.split(';').map(function (i) {\n return +i.replace(/\\D/g, '');\n }) : [];\n var numOr1 = numbers.length ? numbers[0] : 1;\n if (type === 'H') {\n this.handler('set-cursor', (numbers[0] | 0) - 1, (numbers[1] | 0) - 1);\n } else if (type >= 'A' && type <= 'D') {\n this.handler('move-cursor-' + (type <= 'B' ? 'y' : 'x'), (type === 'B' || type === 'C' ? 1 : -1) * numOr1);\n } else if (type === 'E' || type === 'F') {\n this.handler('move-cursor-line', (type === 'E' ? 1 : -1) * numOr1);\n } else if (type === 'G') {\n this.handler('set-cursor-x', numOr1 - 1);\n } else if (type === 'J') {\n var number = numbers.length ? numbers[0] : 2;\n if (number === 2) this.handler('clear');\n } else if (type === 'P') {\n this.handler('delete', numOr1);\n } else if (type === '@') {\n this.handler('insert-blanks', numOr1);\n } else if (type === 'q') this.handler('set-cursor-style', numOr1);else if (type === 'm') {\n if (!numbers.length) {\n this.handler('reset-style');\n return;\n }\n var _type = void 0;\n while (_type = numbers.shift()) {\n if (_type === 0) this.handler('reset-style');else if (_type === 1) this.handler('add-attrs', 1 << 2); // bold\n else if (_type === 2) this.handler('add-attrs', 1 << 9); // faint\n else if (_type === 3) this.handler('add-attrs', 1 << 6); // italic\n else if (_type === 4) this.handler('add-attrs', 1 << 3); // underline\n else if (_type === 5 || _type === 6) this.handler('add-attrs', 1 << 5); // blink\n else if (_type === 7) this.handler('add-attrs', 1 << 4); // invert\n else if (_type === 9) this.handler('add-attrs', 1 << 7); // strike\n else if (_type === 20) this.handler('add-attrs', 1 << 10); // fraktur\n else if (_type >= 30 && _type <= 37) this.handler('set-color-fg', _type % 10);else if (_type >= 40 && _type <= 47) this.handler('set-color-bg', _type % 10);else if (_type === 39) this.handler('reset-color-fg');else if (_type === 49) this.handler('reset-color-bg');else if (_type >= 90 && _type <= 98) this.handler('set-color-fg', _type % 10 + 8);else if (_type >= 100 && _type <= 108) this.handler('set-color-bg', _type % 10 + 8);else if (_type === 38 || _type === 48) {\n var mode = numbers.shift();\n if (mode === 2) {\n var r = numbers.shift();\n var g = numbers.shift();\n var b = numbers.shift();\n var color = (r << 16 | g << 8 | b) + 256;\n if (_type === 38) this.handler('set-color-fg', color);\n if (_type === 48) this.handler('set-color-bg', color);\n } else if (mode === 5) {\n var _color = (numbers.shift() | 0) & 0xFF;\n if (_type === 38) this.handler('set-color-fg', _color);\n if (_type === 48) this.handler('set-color-bg', _color);\n }\n }\n }\n } else if (type === 'h' || type === 'l') {\n if (content === '?25') {\n if (type === 'h') this.handler('show-cursor');else if (type === 'l') this.handler('hide-cursor');\n }\n }\n }\n }\n }, {\n key: 'write',\n value: function write(text) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = text.toString()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var character = _step.value;\n\n var code = character.codePointAt(0);\n if (code === 0x1b) this.currentSequence = 1;else if (this.currentSequence === 1 && character === '[') {\n this.currentSequence = 2;\n this.sequence += '[';\n } else if (this.currentSequence && character.match(/[\\x40-\\x7e]/)) {\n this.parseSequence(this.sequence + character);\n this.currentSequence = 0;\n this.sequence = '';\n } else if (this.currentSequence > 1) this.sequence += character;else if (this.currentSequence === 1) {\n // something something nothing\n this.currentSequence = 0;\n this.handler('write', character);\n } else if (code < 0x03) this.handler('_null');else if (code === 0x03) this.handler('sigint');else if (code <= 0x06) this.handler('_null');else if (code === 0x07) this.handler('bell');else if (code === 0x08) this.handler('back');else if (code === 0x09) this.handler('tab');else if (code === 0x0a) this.handler('new-line');else if (code === 0x0d) this.handler('return');else if (code === 0x15) this.handler('delete-line');else if (code === 0x17) this.handler('delete-word');else this.handler('write', character);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n if (!this.joinChunks) this.reset();\n }\n }]);\n\n return ANSIParser;\n}();\n\nvar TERM_DEFAULT_STYLE = [0, 0, 0];\n\nvar getRainbowColor = function getRainbowColor(t) {\n var r = Math.floor(Math.sin(t) * 2.5 + 2.5);\n var g = Math.floor(Math.sin(t + 2 / 3 * Math.PI) * 2.5 + 2.5);\n var b = Math.floor(Math.sin(t + 4 / 3 * Math.PI) * 2.5 + 2.5);\n return 16 + 36 * r + 6 * g + b;\n};\n\nvar ScrollingTerminal = function () {\n function ScrollingTerminal(screen) {\n var _this = this;\n\n _classCallCheck(this, ScrollingTerminal);\n\n this.width = 80;\n this.height = 25;\n this.termScreen = screen;\n this.parser = new ANSIParser(function () {\n return _this.handleParsed.apply(_this, arguments);\n });\n this.buttonLabels = [];\n\n this.reset();\n\n this._lastLoad = Date.now();\n this.loadTimer();\n\n window.showPage();\n }\n\n _createClass(ScrollingTerminal, [{\n key: 'reset',\n value: function reset() {\n this.style = TERM_DEFAULT_STYLE.slice();\n this.cursor = { x: 0, y: 0, style: 1, visible: true };\n this.trackMouse = false;\n this.theme = 0;\n this.defaultFG = 7;\n this.defaultBG = 0;\n this.rainbow = this.superRainbow = false;\n this.parser.reset();\n this.clear();\n }\n }, {\n key: 'clear',\n value: function clear() {\n this.screen = [];\n for (var i = 0; i < this.width * this.height; i++) {\n this.screen.push([' ', this.style.slice()]);\n }\n }\n }, {\n key: 'scroll',\n value: function scroll() {\n this.screen.splice(0, this.width);\n for (var i = 0; i < this.width; i++) {\n this.screen.push([' ', TERM_DEFAULT_STYLE.slice()]);\n }\n this.cursor.y--;\n }\n }, {\n key: 'newLine',\n value: function newLine() {\n this.cursor.y++;\n if (this.cursor.y >= this.height) this.scroll();\n }\n }, {\n key: 'writeChar',\n value: function writeChar(character) {\n this.screen[this.cursor.y * this.width + this.cursor.x] = [character, this.style.slice()];\n this.cursor.x++;\n if (this.cursor.x >= this.width) {\n this.cursor.x = 0;\n this.newLine();\n }\n }\n }, {\n key: 'moveBack',\n value: function moveBack() {\n var n = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n\n for (var i = 0; i < n; i++) {\n this.cursor.x--;\n if (this.cursor.x < 0) {\n if (this.cursor.y > 0) this.cursor.x = this.width - 1;else this.cursor.x = 0;\n this.cursor.y = Math.max(0, this.cursor.y - 1);\n }\n }\n }\n }, {\n key: 'moveForward',\n value: function moveForward() {\n var n = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n\n for (var i = 0; i < n; i++) {\n this.cursor.x++;\n if (this.cursor.x >= this.width) {\n this.cursor.x = 0;\n this.cursor.y++;\n if (this.cursor.y >= this.height) this.scroll();\n }\n }\n }\n }, {\n key: 'deleteChar',\n value: function deleteChar() {\n // FIXME unused?\n this.moveBack();\n this.screen.splice((this.cursor.y + 1) * this.width, 0, [' ', TERM_DEFAULT_STYLE.slice()]);\n this.screen.splice(this.cursor.y * this.width + this.cursor.x, 1);\n }\n }, {\n key: 'deleteForward',\n value: function deleteForward(n) {\n n = Math.min(this.width, n);\n for (var i = 0; i < n; i++) {\n this.screen.splice((this.cursor.y + 1) * this.width, 0, [' ', TERM_DEFAULT_STYLE.slice()]);\n }this.screen.splice(this.cursor.y * this.width + this.cursor.x, n);\n }\n }, {\n key: 'clampCursor',\n value: function clampCursor() {\n if (this.cursor.x < 0) this.cursor.x = 0;\n if (this.cursor.y < 0) this.cursor.y = 0;\n if (this.cursor.x > this.width - 1) this.cursor.x = this.width - 1;\n if (this.cursor.y > this.height - 1) this.cursor.y = this.height - 1;\n }\n }, {\n key: 'handleParsed',\n value: function handleParsed(action) {\n if (action === 'write') {\n this.writeChar(arguments.length <= 1 ? undefined : arguments[1]);\n } else if (action === 'delete') {\n this.deleteForward(arguments.length <= 1 ? undefined : arguments[1]);\n } else if (action === 'insert-blanks') {\n this.insertBlanks(arguments.length <= 1 ? undefined : arguments[1]); // FIXME undefined?\n } else if (action === 'clear') {\n this.clear();\n } else if (action === 'bell') {\n this.termScreen.load('U\\x01B');\n } else if (action === 'back') {\n this.moveBack();\n } else if (action === 'new-line') {\n this.newLine();\n this.cursor.x = 0;\n } else if (action === 'return') {\n this.cursor.x = 0;\n } else if (action === 'set-cursor') {\n this.cursor.x = arguments.length <= 2 ? undefined : arguments[2];\n this.cursor.y = arguments.length <= 1 ? undefined : arguments[1];\n this.clampCursor();\n } else if (action === 'move-cursor-y') {\n this.cursor.y += arguments.length <= 1 ? undefined : arguments[1];\n this.clampCursor();\n } else if (action === 'move-cursor-x') {\n this.cursor.x += arguments.length <= 1 ? undefined : arguments[1];\n this.clampCursor();\n } else if (action === 'move-cursor-line') {\n this.cursor.x = 0;\n this.cursor.y += arguments.length <= 1 ? undefined : arguments[1];\n this.clampCursor();\n } else if (action === 'set-cursor-x') {\n this.cursor.x = arguments.length <= 1 ? undefined : arguments[1];\n } else if (action === 'set-cursor-style') {\n this.cursor.style = Math.max(0, Math.min(6, arguments.length <= 1 ? undefined : arguments[1]));\n } else if (action === 'reset-style') {\n this.style = TERM_DEFAULT_STYLE.slice();\n } else if (action === 'add-attrs') {\n this.style[2] |= arguments.length <= 1 ? undefined : arguments[1];\n } else if (action === 'set-color-fg') {\n this.style[0] = arguments.length <= 1 ? undefined : arguments[1];\n this.style[2] |= 1;\n } else if (action === 'set-color-bg') {\n this.style[1] = arguments.length <= 1 ? undefined : arguments[1];\n this.style[2] |= 1 << 1;\n } else if (action === 'reset-color-fg') {\n this.style[0] = 0;\n if (this.style[2] & 1) this.style[2] ^= 1;\n } else if (action === 'reset-color-bg') {\n this.style[1] = 0;\n if (this.style[2] & 1 << 1) this.style[2] ^= 1 << 1;\n } else if (action === 'hide-cursor') {\n this.cursor.visible = false;\n } else if (action === 'show-cursor') {\n this.cursor.visible = true;\n }\n }\n }, {\n key: 'write',\n value: function write(text) {\n this.parser.write(text);\n }\n }, {\n key: 'getScreenOpts',\n value: function getScreenOpts() {\n var data = 'O';\n data += encodeAsCodePoint(25);\n data += encodeAsCodePoint(80);\n data += encodeAsCodePoint(this.theme);\n data += encodeAsCodePoint(this.defaultFG & 0xFFFF);\n data += encodeAsCodePoint(this.defaultFG >> 16);\n data += encodeAsCodePoint(this.defaultBG & 0xFFFF);\n data += encodeAsCodePoint(this.defaultBG >> 16);\n var attributes = +this.cursor.visible;\n attributes |= (3 << 5) * +this.trackMouse; // track mouse controls both\n attributes |= 3 << 7; // buttons/links always visible\n attributes |= this.cursor.style << 9;\n data += encodeAsCodePoint(attributes);\n return data;\n }\n }, {\n key: 'getButtons',\n value: function getButtons() {\n var data = 'B';\n data += encodeAsCodePoint(this.buttonLabels.length);\n data += this.buttonLabels.map(function (x) {\n return x + '\\x01';\n }).join('');\n return data;\n }\n }, {\n key: 'getTitle',\n value: function getTitle() {\n return 'TESPTerm Web UI Demo\\x01';\n }\n }, {\n key: 'getCursor',\n value: function getCursor() {\n var data = 'C';\n data += encodeAsCodePoint(this.cursor.y);\n data += encodeAsCodePoint(this.cursor.x);\n data += encodeAsCodePoint(0);\n return data;\n }\n }, {\n key: 'encodeColor',\n value: function encodeColor(color) {\n if (color < 256) {\n return encodeAsCodePoint(color);\n } else {\n color -= 256;\n return encodeAsCodePoint(color & 0xFFF | 0x10000) + encodeAsCodePoint(color >> 12);\n }\n }\n }, {\n key: 'serializeScreen',\n value: function serializeScreen() {\n var serialized = 'S';\n serialized += encodeAsCodePoint(0) + encodeAsCodePoint(0);\n serialized += encodeAsCodePoint(this.height) + encodeAsCodePoint(this.width);\n\n var lastStyle = [null, null, null];\n var index = 0;\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = this.screen[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var cell = _step2.value;\n\n var style = cell[1].slice();\n if (this.rainbow) {\n var x = index % this.width;\n var y = Math.floor(index / this.width);\n // C instead of F in mask and 1 << 8 in attrs to change attr bits 1 and 2\n var t = (x + y) / 10 + Date.now() / 1000;\n if (this.superRainbow) {\n t = (x * y + Date.now()) / 100 + Date.now() / 1000;\n }\n style[0] = getRainbowColor(t);\n style[1] = 0;\n if (this.superRainbow) style[1] = getRainbowColor(t / 10);\n style[2] = style[2] | 1;\n if (!this.superRainbow && style[2] & 1 << 1) style[2] ^= 1 << 1;\n index++;\n }\n\n var foreground = style[0];\n var background = style[1];\n var attributes = style[2];\n var setForeground = foreground !== lastStyle[0];\n var setBackground = background !== lastStyle[1];\n var setAttributes = attributes !== lastStyle[2];\n\n if (setForeground && setBackground) {\n if (foreground < 256 && background < 256) {\n serialized += '\\x03' + encodeAsCodePoint(background << 8 | foreground);\n } else {\n serialized += '\\x05' + this.encodeColor(foreground);\n serialized += '\\x06' + this.encodeColor(background);\n }\n } else if (setForeground) serialized += '\\x05' + this.encodeColor(foreground);else if (setBackground) serialized += '\\x06' + this.encodeColor(background);\n if (setAttributes) serialized += '\\x04' + encodeAsCodePoint(attributes);\n lastStyle = style;\n\n serialized += cell[0];\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n return serialized;\n }\n }, {\n key: 'getUpdate',\n value: function getUpdate() {\n var topics = 0;\n var topicData = [];\n var screenOpts = this.getScreenOpts();\n var title = this.getTitle();\n var buttons = this.getButtons();\n var cursor = this.getCursor();\n var screen = this.serializeScreen();\n if (this._screenOpts !== screenOpts) {\n this._screenOpts = screenOpts;\n topicData.push(screenOpts);\n }\n if (this._title !== title) {\n this._title = title;\n topicData.push(title);\n }\n if (this._buttons !== buttons) {\n this._buttons = buttons;\n topicData.push(buttons);\n }\n if (this._cursor !== cursor) {\n this._cursor = cursor;\n topicData.push(cursor);\n }\n if (this._screen !== screen) {\n this._screen = screen;\n topicData.push(screen);\n }\n if (!topicData.length) return '';\n return 'U' + encodeAsCodePoint(topics) + topicData.join('');\n }\n }, {\n key: 'loadTimer',\n value: function loadTimer() {\n var _this2 = this;\n\n clearInterval(this._loadTimer);\n this._loadTimer = setInterval(function () {\n var update = _this2.getUpdate();\n if (update) _this2.termScreen.load(update);\n }, 30);\n }\n }]);\n\n return ScrollingTerminal;\n}();\n\nvar Process = function (_EventEmitter) {\n _inherits(Process, _EventEmitter);\n\n function Process() {\n _classCallCheck(this, Process);\n\n return _possibleConstructorReturn(this, (Process.__proto__ || Object.getPrototypeOf(Process)).apply(this, arguments));\n }\n\n _createClass(Process, [{\n key: 'write',\n value: function write(data) {\n this.emit('in', data);\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n // death.\n this.emit('exit', 0);\n }\n }, {\n key: 'run',\n value: function run() {\n // noop\n }\n }]);\n\n return Process;\n}(EventEmitter);\n\nvar demoData = {\n buttons: [],\n mouseReceiver: null\n};\n\nvar demoshIndex = {\n clear: function (_Process) {\n _inherits(Clear, _Process);\n\n function Clear() {\n _classCallCheck(this, Clear);\n\n return _possibleConstructorReturn(this, (Clear.__proto__ || Object.getPrototypeOf(Clear)).apply(this, arguments));\n }\n\n _createClass(Clear, [{\n key: 'run',\n value: function run() {\n this.emit('write', '\\x1b[2J\\x1b[1;1H');\n this.destroy();\n }\n }]);\n\n return Clear;\n }(Process),\n screenfetch: function (_Process2) {\n _inherits(Screenfetch, _Process2);\n\n function Screenfetch() {\n _classCallCheck(this, Screenfetch);\n\n return _possibleConstructorReturn(this, (Screenfetch.__proto__ || Object.getPrototypeOf(Screenfetch)).apply(this, arguments));\n }\n\n _createClass(Screenfetch, [{\n key: 'run',\n value: function run() {\n var _this6 = this;\n\n var image = ('\\n ###. ESPTerm Demo\\n \\'###. Hostname: ' + window.location.hostname + '\\n \\'###. Shell: ESPTerm Demo Shell\\n \\'###. Resolution: 80x25@' + window.devicePixelRatio + 'x\\n :###-\\n .###\\'\\n .###\\'\\n .###\\' ###############\\n ###\\' ###############\\n ').split('\\n').filter(function (line) {\n return line.trim();\n });\n\n var chars = '';\n for (var y = 0; y < image.length; y++) {\n for (var x = 0; x < 80; x++) {\n if (image[y][x]) {\n chars += '\\x1B[38;5;' + getRainbowColor((x + y) / 10) + 'm' + image[y][x];\n } else chars += ' ';\n }\n }\n\n this.emit('write', '\\r\\n\\x1b[?25l');\n var loop = function loop() {\n _this6.emit('write', chars.substr(0, 80));\n chars = chars.substr(80);\n if (chars.length) setTimeout(loop, 50);else {\n _this6.emit('write', '\\r\\n\\x1b[?25h');\n _this6.destroy();\n }\n };\n loop();\n }\n }]);\n\n return Screenfetch;\n }(Process),\n 'local-echo': function (_Process3) {\n _inherits(LocalEcho, _Process3);\n\n function LocalEcho() {\n _classCallCheck(this, LocalEcho);\n\n return _possibleConstructorReturn(this, (LocalEcho.__proto__ || Object.getPrototypeOf(LocalEcho)).apply(this, arguments));\n }\n\n _createClass(LocalEcho, [{\n key: 'run',\n value: function run() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (!args.includes('--suppress-note')) {\n this.emit('write', '\\x1b[38;5;239mNote: not all terminal features are supported and may not work as expected in this demo\\x1b[m\\n');\n }\n this.emit('buttons', [{\n label: 'Exit',\n action: function action(shell) {\n shell.write('\\x03');\n }\n }]);\n }\n }, {\n key: 'write',\n value: function write(data) {\n this.emit('write', data);\n }\n }]);\n\n return LocalEcho;\n }(Process),\n info: function (_Process4) {\n _inherits(Info, _Process4);\n\n function Info() {\n _classCallCheck(this, Info);\n\n return _possibleConstructorReturn(this, (Info.__proto__ || Object.getPrototypeOf(Info)).apply(this, arguments));\n }\n\n _createClass(Info, [{\n key: 'run',\n value: function run() {\n var _this9 = this;\n\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var fast = args.includes('--fast');\n this.showSplash().then(function () {\n _this9.printText(fast);\n });\n }\n }, {\n key: 'showSplash',\n value: function showSplash() {\n var _this10 = this;\n\n var splash = '\\n -#####- -###*..#####- ######-\\n -#* -#- .## .##. *#-\\n -##### .-###*..#####- *#- -*##*- #*-#--#**#-*##-\\n -#* -#-.##. *#- *##@#* ##. -#* *# .#*\\n -#####--####- .##. *#- -*#@@- ##. -#* *# .#*\\n '.split('\\n').filter(function (line) {\n return line.trim();\n });\n var levels = {\n ' ': -231,\n '.': 4,\n '-': 8,\n '*': 17,\n '#': 24\n };\n var characters = {\n ' ': ' ',\n '.': '░',\n '-': '▒',\n '*': '▓',\n '#': '█'\n };\n for (var i in splash) {\n if (splash[i].length < 79) splash[i] += ' '.repeat(79 - splash[i].length);\n }\n this.emit('write', '\\r\\n'.repeat(splash.length + 1));\n this.emit('write', '\\x1b[A'.repeat(splash.length));\n this.emit('write', '\\x1b[?25l');\n\n var cursorX = 0;\n var cursorY = 0;\n var moveTo = function moveTo(x, y) {\n var moveX = x - cursorX;\n var moveY = y - cursorY;\n _this10.emit('write', '\\x1B[' + Math.abs(moveX) + (moveX > 0 ? 'C' : 'D'));\n _this10.emit('write', '\\x1B[' + Math.abs(moveY) + (moveY > 0 ? 'B' : 'A'));\n cursorX = x;\n cursorY = y;\n };\n var drawCell = function drawCell(x, y) {\n moveTo(x, y);\n if (splash[y][x] === '@') {\n _this10.emit('write', '\\x1b[48;5;238m\\x1b[38;5;255m▄\\b');\n } else {\n var level = 231 + levels[splash[y][x]];\n var character = characters[splash[y][x]];\n _this10.emit('write', '\\x1B[48;5;' + level + 'm\\x1B[38;5;' + level + 'm' + character + '\\b');\n }\n };\n return new Promise(function (resolve, reject) {\n var self = _this10;\n var x = 13;\n var cycles = 0;\n var loop = function loop() {\n for (var y = 0; y < splash.length; y++) {\n var dx = x - y;\n if (dx > 0) drawCell(dx, y);\n }\n\n if (++x < 70) {\n if (++cycles >= 3) {\n setTimeout(loop, 50);\n cycles = 0;\n } else loop();\n } else {\n moveTo(0, splash.length);\n self.emit('write', '\\x1b[m\\x1b[?25h');\n resolve();\n }\n };\n loop();\n });\n }\n }, {\n key: 'printText',\n value: function printText() {\n var fast = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n // lots of printing\n var parts = ['', ' ESPTerm is a VT100-like terminal emulator running on the ESP8266 WiFi chip.', '', ' \\x1b[93mThis is an online demo of the web user interface, simulating a simple ', ' terminal in your browser.\\x1b[m', '', ' Type \\x1b[92mls\\x1b[m to list available commands.', ' Use the \\x1b[94mlinks\\x1b[m below this screen for a demo of the options and more info.', ''];\n\n if (fast) {\n this.emit('write', parts.join('\\r\\n') + '\\r\\n');\n this.destroy();\n } else {\n var self = this;\n var loop = function loop() {\n self.emit('write', parts.shift() + '\\r\\n');\n if (parts.length) setTimeout(loop, 17);else self.destroy();\n };\n loop();\n }\n }\n }]);\n\n return Info;\n }(Process),\n colors: function (_Process5) {\n _inherits(PrintColors, _Process5);\n\n function PrintColors() {\n _classCallCheck(this, PrintColors);\n\n return _possibleConstructorReturn(this, (PrintColors.__proto__ || Object.getPrototypeOf(PrintColors)).apply(this, arguments));\n }\n\n _createClass(PrintColors, [{\n key: 'run',\n value: function run() {\n this.emit('write', '\\r\\n');\n var fgtext = 'foreground-color';\n this.emit('write', ' ');\n for (var i = 0; i < 16; i++) {\n this.emit('write', '\\x1b[' + (i < 8 ? '3' + i : '9' + (i - 8)) + 'm');\n this.emit('write', fgtext[i] + ' ');\n }\n this.emit('write', '\\r\\n ');\n for (var _i = 0; _i < 16; _i++) {\n this.emit('write', '\\x1b[' + (_i < 8 ? '4' + _i : '10' + (_i - 8)) + 'm ');\n }\n this.emit('write', '\\x1b[m\\r\\n');\n for (var r = 0; r < 6; r++) {\n this.emit('write', ' ');\n for (var g = 0; g < 6; g++) {\n for (var b = 0; b < 6; b++) {\n this.emit('write', '\\x1B[48;5;' + (16 + r * 36 + g * 6 + b) + 'm ');\n }\n this.emit('write', '\\x1b[m');\n }\n this.emit('write', '\\r\\n');\n }\n this.emit('write', ' ');\n for (var _g = 0; _g < 24; _g++) {\n this.emit('write', '\\x1B[48;5;' + (232 + _g) + 'm ');\n }\n this.emit('write', '\\x1b[m\\r\\n\\n');\n this.destroy();\n }\n }]);\n\n return PrintColors;\n }(Process),\n ls: function (_Process6) {\n _inherits(ListCommands, _Process6);\n\n function ListCommands() {\n _classCallCheck(this, ListCommands);\n\n return _possibleConstructorReturn(this, (ListCommands.__proto__ || Object.getPrototypeOf(ListCommands)).apply(this, arguments));\n }\n\n _createClass(ListCommands, [{\n key: 'run',\n value: function run() {\n this.emit('write', '\\x1b[92mList of demo commands\\x1b[m\\r\\n');\n for (var i in demoshIndex) {\n if (typeof demoshIndex[i] === 'string') continue;\n this.emit('write', i + '\\r\\n');\n }\n this.destroy();\n }\n }]);\n\n return ListCommands;\n }(Process),\n theme: function (_Process7) {\n _inherits(SetTheme, _Process7);\n\n function SetTheme(shell) {\n _classCallCheck(this, SetTheme);\n\n var _this13 = _possibleConstructorReturn(this, (SetTheme.__proto__ || Object.getPrototypeOf(SetTheme)).call(this));\n\n _this13.shell = shell;\n return _this13;\n }\n\n _createClass(SetTheme, [{\n key: 'run',\n value: function run() {\n var theme = +(arguments.length <= 0 ? undefined : arguments[0]) | 0;\n var maxnum = themes.length;\n if (!arguments.length || !Number.isFinite(theme) || theme < 0 || theme >= maxnum) {\n this.emit('write', '\\x1B[31mUsage: theme [0\\u2013' + (maxnum - 1) + ']\\n');\n this.destroy();\n return;\n }\n this.shell.terminal.theme = theme;\n // HACK: reset drawn screen to prevent only partly redrawn screen\n this.shell.terminal.termScreen.drawnScreenFG = [];\n this.emit('write', '');\n this.destroy();\n }\n }]);\n\n return SetTheme;\n }(Process),\n themes: function (_Process8) {\n _inherits(ShowThemes, _Process8);\n\n function ShowThemes(shell) {\n _classCallCheck(this, ShowThemes);\n\n var _this14 = _possibleConstructorReturn(this, (ShowThemes.__proto__ || Object.getPrototypeOf(ShowThemes)).call(this));\n\n _this14.shell = shell;\n _this14.parser = new ANSIParser(function () {\n return _this14.handler.apply(_this14, arguments);\n });\n return _this14;\n }\n\n _createClass(ShowThemes, [{\n key: 'destroy',\n value: function destroy() {\n this.shell.terminal.cursor.style = this.savedCursorStyle;\n this.emit('write', '\\n\\n');\n _get(ShowThemes.prototype.__proto__ || Object.getPrototypeOf(ShowThemes.prototype), 'destroy', this).call(this);\n }\n }, {\n key: 'run',\n value: function run() {\n var _this15 = this;\n\n this.savedCursorStyle = this.shell.terminal.cursor.style;\n this.shell.terminal.cursor.style = 3;\n\n this.fgType = 0;\n this.bgType = 0;\n\n var get24FG = function get24FG() {\n return _this15.shell.terminal.defaultFG - 256;\n };\n var set24FG = function set24FG(v) {\n _this15.shell.terminal.defaultFG = v + 256;\n };\n var get24BG = function get24BG() {\n return _this15.shell.terminal.defaultBG - 256;\n };\n var set24BG = function set24BG(v) {\n _this15.shell.terminal.defaultBG = v + 256;\n };\n\n var make24Control = function make24Control(label, index, _getValue, _setValue, type) {\n index *= 4;\n\n return {\n label: label,\n length: 1,\n getValue: function getValue() {\n return _getValue() >> index & 0xF;\n },\n getDisplay: function getDisplay() {\n return (_getValue() >> index & 0xF).toString(16);\n },\n setValue: function setValue(value) {\n _setValue(_getValue() & (0xFFFFFF ^ 0xF << index) | (value & 0xF) << index);\n },\n shouldShow: function shouldShow() {\n return _this15[type + 'Type'] === 1;\n },\n parseValue: function parseValue(input) {\n return parseInt(input, 16) & 0xF;\n },\n moveAfterInput: index !== 0\n };\n };\n\n this.controls = [{\n label: 'Theme: ',\n length: themes.length.toString().length,\n getValue: function getValue() {\n return _this15.shell.terminal.theme;\n },\n setValue: function setValue(value) {\n var count = themes.length;\n _this15.shell.terminal.theme = (value % count + count) % count;\n }\n }, {\n label: ' Default Foreground: ',\n length: 6,\n getValue: function getValue() {\n return _this15.fgType;\n },\n getDisplay: function getDisplay() {\n return _this15.fgType === 0 ? '256' : '24-bit';\n },\n setValue: function setValue(value) {\n _this15.fgType = (value % 2 + 2) % 2;\n }\n }, {\n label: ' ',\n length: 3,\n getValue: function getValue() {\n return _this15.shell.terminal.defaultFG & 0xFF;\n },\n setValue: function setValue(value) {\n _this15.shell.terminal.defaultFG = value & 0xFF;\n },\n shouldShow: function shouldShow() {\n return _this15.fgType === 0;\n },\n parseValue: function parseValue(input) {\n return parseInt(input, 16);\n }\n }, make24Control(' #', 5, get24FG, set24FG, 'fg'), make24Control('', 4, get24FG, set24FG, 'fg'), make24Control('', 3, get24FG, set24FG, 'fg'), make24Control('', 2, get24FG, set24FG, 'fg'), make24Control('', 1, get24FG, set24FG, 'fg'), make24Control('', 0, get24FG, set24FG, 'fg'), {\n label: ' Default Background: ',\n length: 6,\n getValue: function getValue() {\n return _this15.bgType;\n },\n getDisplay: function getDisplay() {\n return _this15.bgType === 0 ? '256' : '24-bit';\n },\n setValue: function setValue(value) {\n _this15.bgType = (value % 2 + 2) % 2;\n }\n }, {\n label: ' ',\n length: 3,\n getValue: function getValue() {\n return _this15.shell.terminal.defaultBG & 0xFF;\n },\n setValue: function setValue(value) {\n _this15.shell.terminal.defaultBG = value & 0xFF;\n },\n shouldShow: function shouldShow() {\n return _this15.bgType === 0;\n },\n parseValue: function parseValue(input) {\n return parseInt(input, 16);\n }\n }, make24Control(' #', 5, get24BG, set24BG, 'bg'), make24Control('', 4, get24BG, set24BG, 'bg'), make24Control('', 3, get24BG, set24BG, 'bg'), make24Control('', 2, get24BG, set24BG, 'bg'), make24Control('', 1, get24BG, set24BG, 'bg'), make24Control('', 0, get24BG, set24BG, 'bg')];\n this.selection = 0;\n\n this.emit('write', '\\x1b[1mThemes\\x1b[m\\n\\n\\n\\n\\x1b[2A');\n\n this.render();\n }\n }, {\n key: 'render',\n value: function render() {\n this.emit('write', '\\x1b[m\\r');\n // no ^[2K implementation, here's a hack\n this.emit('write', ' '.repeat(this.shell.terminal.width - 1) + '\\r');\n\n var index = 0;\n var selectedX = 0;\n var _iteratorNormalCompletion3 = true;\n var _didIteratorError3 = false;\n var _iteratorError3 = undefined;\n\n try {\n for (var _iterator3 = this.controls[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var control = _step3.value;\n\n if (control.shouldShow && !control.shouldShow()) continue;\n if (control.label) {\n this.emit('write', '\\x1B[1m' + control.label + '\\x1B[m');\n }\n // TODO: colors\n this.emit('write', '\\x1b[38;5;255m\\x1b[48;5;16m');\n var value = control.getDisplay ? control.getDisplay() : control.getValue().toString();\n this.emit('write', (control.fill || ' ').repeat(Math.max(0, control.length - value.length)));\n this.emit('write', value.substr(0, control.length));\n this.emit('write', '\\x1b[m');\n\n if (index === this.selection) {\n selectedX = this.shell.terminal.cursor.x - 1;\n\n // draw arrows\n this.emit('write', '\\x1b[m\\x1b[D\\x1b[A▲\\x1b[D\\x1b[2B▼\\x1b[A');\n } else {\n // clear arrows if they were there\n this.emit('write', '\\x1b[m\\x1b[D\\x1b[A \\x1b[D\\x1b[2B \\x1b[A');\n }\n\n index++;\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3.return) {\n _iterator3.return();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n\n this.shell.terminal.cursor.x = selectedX;\n }\n }, {\n key: 'write',\n value: function write(data) {\n this.parser.write(data);\n }\n }, {\n key: 'getControlCount',\n value: function getControlCount() {\n var count = 0;\n var _iteratorNormalCompletion4 = true;\n var _didIteratorError4 = false;\n var _iteratorError4 = undefined;\n\n try {\n for (var _iterator4 = this.controls[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n var control = _step4.value;\n\n if (control.shouldShow && !control.shouldShow()) continue;\n count++;\n }\n } catch (err) {\n _didIteratorError4 = true;\n _iteratorError4 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion4 && _iterator4.return) {\n _iterator4.return();\n }\n } finally {\n if (_didIteratorError4) {\n throw _iteratorError4;\n }\n }\n }\n\n return count;\n }\n }, {\n key: 'getSelectedControl',\n value: function getSelectedControl() {\n var selected = null;\n var index = 0;\n var _iteratorNormalCompletion5 = true;\n var _didIteratorError5 = false;\n var _iteratorError5 = undefined;\n\n try {\n for (var _iterator5 = this.controls[Symbol.iterator](), _step5; !(_iteratorNormalCompletion5 = (_step5 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {\n var control = _step5.value;\n\n if (control.shouldShow && !control.shouldShow()) continue;\n if (index === this.selection) {\n selected = control;\n break;\n }\n index++;\n }\n } catch (err) {\n _didIteratorError5 = true;\n _iteratorError5 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion5 && _iterator5.return) {\n _iterator5.return();\n }\n } finally {\n if (_didIteratorError5) {\n throw _iteratorError5;\n }\n }\n }\n\n return selected;\n }\n }, {\n key: 'handler',\n value: function handler(action) {\n var _console;\n\n for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n\n (_console = console).log.apply(_console, [action].concat(args));\n\n if (action === 'move-cursor-x') {\n this.selection += args[0];\n var count = this.getControlCount();\n this.selection = (this.selection % count + count) % count;\n } else if (action === 'move-cursor-y') {\n var control = this.getSelectedControl();\n if (control) control.setValue(control.getValue() - args[0]);\n } else if (action === 'write') {\n var _control = this.getSelectedControl();\n if (_control && _control.parseValue) {\n var parsed = _control.parseValue(args[0]);\n if (Number.isFinite(parsed)) {\n _control.setValue(parsed);\n if (_control.moveAfterInput) {\n if (this.selection < this.getControlCount() - 1) this.selection++;\n }\n }\n }\n }\n\n this.render();\n }\n }]);\n\n return ShowThemes;\n }(Process),\n cursor: function (_Process9) {\n _inherits(SetCursor, _Process9);\n\n function SetCursor() {\n _classCallCheck(this, SetCursor);\n\n return _possibleConstructorReturn(this, (SetCursor.__proto__ || Object.getPrototypeOf(SetCursor)).apply(this, arguments));\n }\n\n _createClass(SetCursor, [{\n key: 'run',\n value: function run() {\n for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n var steady = args.includes('--steady');\n if (args.includes('block')) {\n this.emit('write', '\\x1B[' + 2 * steady + ' q');\n } else if (args.includes('line')) {\n this.emit('write', '\\x1B[' + (3 + steady) + ' q');\n } else if (args.includes('bar') || args.includes('beam')) {\n this.emit('write', '\\x1B[' + (5 + steady) + ' q');\n } else {\n this.emit('write', '\\x1b[31mUsage: cursor [block|line|bar] [--steady]\\r\\n');\n }\n this.destroy();\n }\n }]);\n\n return SetCursor;\n }(Process),\n rainbow: function (_Process10) {\n _inherits(ToggleRainbow, _Process10);\n\n function ToggleRainbow(shell) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, ToggleRainbow);\n\n var _this17 = _possibleConstructorReturn(this, (ToggleRainbow.__proto__ || Object.getPrototypeOf(ToggleRainbow)).call(this));\n\n _this17.shell = shell;\n _this17.su = options.su;\n _this17.abort = false;\n return _this17;\n }\n\n _createClass(ToggleRainbow, [{\n key: 'write',\n value: function write(data) {\n var newLine = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (data === 'y') {\n this.shell.terminal.rainbow = !this.shell.terminal.rainbow;\n this.shell.terminal.superRainbow = true;\n demoData._didWarnRainbow = true;\n } else {\n this.emit('write', data);\n }\n if (newLine) this.emit('write', '\\x1b[0;32m\\x1b[G\\x1b[79PRainbow!\\n');\n this.destroy();\n }\n }, {\n key: 'run',\n value: function run() {\n if (this.su && !this.shell.terminal.rainbow) {\n if (!demoData._didWarnRainbow) {\n this.emit('write', '\\x1b[31;1mWarning: flashy colors. Continue? [y/N] ');\n } else {\n this.write('y', false);\n }\n } else {\n this.shell.terminal.rainbow = !this.shell.terminal.rainbow;\n this.shell.terminal.superRainbow = false;\n this.destroy();\n }\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n this.abort = true;\n _get(ToggleRainbow.prototype.__proto__ || Object.getPrototypeOf(ToggleRainbow.prototype), 'destroy', this).call(this);\n }\n }]);\n\n return ToggleRainbow;\n }(Process),\n mouse: function (_Process11) {\n _inherits(MouseDemo, _Process11);\n\n function MouseDemo(shell) {\n _classCallCheck(this, MouseDemo);\n\n var _this18 = _possibleConstructorReturn(this, (MouseDemo.__proto__ || Object.getPrototypeOf(MouseDemo)).call(this));\n\n _this18.shell = shell;\n return _this18;\n }\n\n _createClass(MouseDemo, [{\n key: 'run',\n value: function run() {\n var _this19 = this;\n\n var self = this;\n this.emit('buttons', [{\n label: 'Exit',\n action: function action(shell) {\n shell.write('\\x03');\n }\n }, {\n label: 'Add Box',\n action: function action() {\n self.boxes.push(self.generateRandomBox());\n self.render();\n }\n }]);\n\n this.shell.terminal.trackMouse = true;\n demoData.mouseReceiver = this;\n\n this.boxes = Array(3).fill(0).map(function (x) {\n return _this19.generateRandomBox();\n });\n this.grabbedBox = null;\n this.grabOffset = [0, 0];\n\n this.render();\n }\n }, {\n key: 'render',\n value: function render() {\n this.emit('write', '\\x1b[m\\x1b[2J\\x1b[1;1H');\n this.emit('write', '\\x1b[97m\\x1b[1mMouse Demo\\r\\n\\x1b[mMove boxes around or scroll their contents!');\n\n // draw boxes\n var _iteratorNormalCompletion6 = true;\n var _didIteratorError6 = false;\n var _iteratorError6 = undefined;\n\n try {\n for (var _iterator6 = this.boxes[Symbol.iterator](), _step6; !(_iteratorNormalCompletion6 = (_step6 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) {\n var box = _step6.value;\n\n this.emit('write', '\\x1B[' + (box.y + 1) + ';' + (box.x + 1) + 'H');\n this.emit('write', '\\x1B[m\\x1B[48;2;' + box.color.join(';') + 'm');\n for (var y = box.y; y < box.y + box.height; y++) {\n var drawnX = 0;\n for (var x = box.x; x < box.x + box.width; x++) {\n if (x < 0 || x >= this.shell.terminal.width - 1) continue;\n if (y < 0 || y >= this.shell.terminal.height) continue;\n drawnX++;\n this.emit('write', box.content[y - box.y][x - box.x]);\n }\n this.emit('write', '\\x1b[D'.repeat(drawnX) + '\\x1b[B');\n }\n }\n\n // move cursor to mouse\n } catch (err) {\n _didIteratorError6 = true;\n _iteratorError6 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion6 && _iterator6.return) {\n _iterator6.return();\n }\n } finally {\n if (_didIteratorError6) {\n throw _iteratorError6;\n }\n }\n }\n\n if (this.mouse) {\n this.emit('write', '\\x1B[' + (this.mouse.y + 1) + ';' + (this.mouse.x + 1) + 'H');\n }\n }\n }, {\n key: 'generateRandomBox',\n value: function generateRandomBox() {\n var chars = 'abcdefghijklmnopqrstuvwxyz-*()!@#$%';\n var content = [];\n var width = [5, 10, 15][Math.floor(Math.random() * 3)];\n var height = [4, 5, 6][Math.floor(Math.random() * 3)];\n\n for (var y = 0; y < height; y++) {\n content.push('');\n for (var x = 0; x < width; x++) {\n if (Math.random() > 0.6) {\n content[y] += chars[Math.floor(Math.random() * chars.length)];\n } else content[y] += ' ';\n }\n }\n\n return {\n x: Math.floor(Math.random() * (this.shell.terminal.width - 1)) + 1,\n y: Math.floor(Math.random() * (this.shell.terminal.height - 1)) + 1,\n width: width,\n height: height,\n color: [Math.random(), Math.random(), Math.random()].map(function (x) {\n return Math.floor(x * 255);\n }),\n content: content\n };\n }\n }, {\n key: 'getBoxAt',\n value: function getBoxAt(x, y) {\n var boxes = this.boxes.slice().reverse(); // top to bottom, like drawing order\n var _iteratorNormalCompletion7 = true;\n var _didIteratorError7 = false;\n var _iteratorError7 = undefined;\n\n try {\n for (var _iterator7 = boxes[Symbol.iterator](), _step7; !(_iteratorNormalCompletion7 = (_step7 = _iterator7.next()).done); _iteratorNormalCompletion7 = true) {\n var box = _step7.value;\n\n if (box.x <= x && box.x + box.width > x && box.y <= y && box.y + box.height > y) {\n return box;\n }\n }\n } catch (err) {\n _didIteratorError7 = true;\n _iteratorError7 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion7 && _iterator7.return) {\n _iterator7.return();\n }\n } finally {\n if (_didIteratorError7) {\n throw _iteratorError7;\n }\n }\n }\n }\n }, {\n key: 'mouseMove',\n value: function mouseMove(x, y) {\n this.mouse = { x: x, y: y };\n if (this.grabbedBox) {\n this.grabbedBox.x = x + this.grabOffset[0];\n this.grabbedBox.y = y + this.grabOffset[1];\n }\n this.render();\n }\n }, {\n key: 'mouseDown',\n value: function mouseDown(x, y, button) {\n if (button === 4) this.scrollInsideBox(this.getBoxAt(x, y), -1);else if (button === 5) this.scrollInsideBox(this.getBoxAt(x, y), 1);else {\n var box = this.getBoxAt(x, y);\n if (box) {\n var _boxes;\n\n this.grabbedBox = box;\n this.grabOffset = [box.x - x, box.y - y];\n // move grabbed box to top of stack\n (_boxes = this.boxes).push.apply(_boxes, _toConsumableArray(this.boxes.splice(this.boxes.indexOf(box), 1)));\n }\n }\n this.render();\n }\n }, {\n key: 'mouseUp',\n value: function mouseUp(x, y, button) {\n this.grabbedBox = null;\n }\n }, {\n key: 'scrollInsideBox',\n value: function scrollInsideBox(box, amount) {\n if (!box) return;\n var content = box.content.slice();\n box.content = [];\n for (var i = 0; i < content.length; i++) {\n box.content.push(content[(i + amount % content.length + content.length) % content.length]);\n }\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n this.shell.terminal.write('\\x1b[m\\x1b[2J\\x1b[1;1H');\n this.shell.terminal.trackMouse = false;\n if (demoData.mouseReceiver === this) demoData.mouseReceiver = null;\n _get(MouseDemo.prototype.__proto__ || Object.getPrototypeOf(MouseDemo.prototype), 'destroy', this).call(this);\n }\n }]);\n\n return MouseDemo;\n }(Process),\n sudo: function (_Process12) {\n _inherits(Sudo, _Process12);\n\n function Sudo(shell) {\n _classCallCheck(this, Sudo);\n\n var _this20 = _possibleConstructorReturn(this, (Sudo.__proto__ || Object.getPrototypeOf(Sudo)).call(this));\n\n _this20.shell = shell;\n _this20.didDestroy = false;\n return _this20;\n }\n\n _createClass(Sudo, [{\n key: 'run',\n value: function run() {\n var _this21 = this;\n\n for (var _len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n if (args.length === 0) {\n this.emit('write', '\\x1b[31mUsage: sudo [command]\\x1b[m\\r\\n');\n this.destroy();\n } else {\n var name = args.shift();\n if (this.shell.index[name]) {\n var _Process13 = this.shell.index[name];\n if (_Process13 instanceof Function) {\n var child = this.child = new _Process13(this.shell, { su: true });\n this.on('in', function (data) {\n return child.write(data);\n });\n var write = function write(data) {\n return _this21.emit('write', data);\n };\n var setButtons = function setButtons(buttons) {\n return _this21.emit('buttons', buttons);\n };\n child.on('write', write);\n child.on('buttons', setButtons);\n child.on('exit', function (code) {\n child.removeListener('write', write);\n child.removeListener('buttons', setButtons);\n _this21.destroy();\n });\n child.run.apply(child, args);\n } else {\n this.emit('write', _Process13);\n this.destroy();\n }\n } else {\n this.emit('write', 'sudo: ' + name + ': command not found\\r\\n');\n this.destroy();\n }\n }\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n if (this.didDestroy) return;\n this.didDestroy = true;\n if (this.child) this.child.destroy();\n _get(Sudo.prototype.__proto__ || Object.getPrototypeOf(Sudo.prototype), 'destroy', this).call(this);\n }\n }]);\n\n return Sudo;\n }(Process),\n make: function (_Process14) {\n _inherits(Make, _Process14);\n\n function Make(shell) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, Make);\n\n var _this22 = _possibleConstructorReturn(this, (Make.__proto__ || Object.getPrototypeOf(Make)).call(this));\n\n _this22.su = options.su;\n return _this22;\n }\n\n _createClass(Make, [{\n key: 'run',\n value: function run() {\n for (var _len6 = arguments.length, args = Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n if (args.length === 0) this.emit('write', '\\x1b[31mmake: *** No targets specified. Stop.\\x1b[0m\\r\\n');else if (args.length === 3 && args.join(' ').toLowerCase() === 'me a sandwich') {\n if (this.su) {\n var b = '\\x1b[33m';\n var r = '\\x1b[0m';\n var l = '\\x1b[32m';\n var c = '\\x1b[38;5;229m';\n var h = '\\x1b[38;5;225m';\n this.emit('write', ' ' + b + '_.---._\\r\\n' + ' _.-~ ~-._\\r\\n' + ' _.-~ ~-._\\r\\n' + ' _.-~ ~---._\\r\\n' + ' _.-~ ~\\\\\\r\\n' + ' .-~ _.;\\r\\n' + ' :-._ _.-~ ./\\r\\n' + ' `-._~-._ _..__.-~ _.-~\\r\\n' + (' ' + c + '/ ' + b + '~-._~-._ / .__..--' + c + '~-' + l + '---._\\r\\n') + (c + ' \\\\_____(_' + b + ';-._\\\\. _.-~_/' + c + ' ~)' + l + '.. . \\\\\\r\\n') + (l + ' /(_____ ' + b + '\\\\`--...--~_.-~' + c + '______..-+' + l + '_______)\\r\\n') + (l + ' .(_________/' + b + '`--...--~/' + l + ' _/ ' + h + ' ' + b + '/\\\\\\r\\n') + (b + ' /-._' + h + ' \\\\_ ' + l + '(___./_..-~' + h + '__.....' + b + '__..-~./\\r\\n') + (b + ' `-._~-._' + h + ' ~\\\\--------~ .-~' + b + '_..__.-~ _.-~\\r\\n') + (b + ' ~-._~-._ ' + h + '~---------` ' + b + '/ .__..--~\\r\\n') + (b + ' ~-._\\\\. _.-~_/\\r\\n') + (b + ' \\\\`--...--~_.-~\\r\\n') + (b + ' `--...--~' + r + '\\r\\n'));\n } else {\n this.emit('write', '\\x1b[31mmake: me a sandwich : Permission denied\\x1b[0m\\r\\n');\n }\n } else {\n this.emit('write', '\\x1B[31mmake: *** No rule to make target \\'' + args.join(' ').toLowerCase() + '\\'. Stop.\\x1B[0m\\r\\n');\n }\n this.destroy();\n }\n }]);\n\n return Make;\n }(Process),\n pwd: '/this/is/a/demo\\r\\n',\n cd: '\\x1b[38;5;239mNo directories to change to\\r\\n',\n whoami: window.navigator.userAgent + '\\r\\n',\n hostname: '' + window.location.hostname,\n uname: 'ESPTerm Demo\\r\\n',\n mkdir: '\\x1b[38;5;239mDid not create a directory because this is a demo.\\r\\n',\n rm: '\\x1b[38;5;239mDid not delete anything because this is a demo.\\r\\n',\n cp: '\\x1b[38;5;239mNothing to copy because this is a demo.\\r\\n',\n mv: '\\x1b[38;5;239mNothing to move because this is a demo.\\r\\n',\n ln: '\\x1b[38;5;239mNothing to link because this is a demo.\\r\\n',\n touch: '\\x1b[38;5;239mNothing to touch\\r\\n',\n exit: '\\x1b[38;5;239mNowhere to go\\r\\n',\n github: function (_Process15) {\n _inherits(GoToGithub, _Process15);\n\n function GoToGithub() {\n _classCallCheck(this, GoToGithub);\n\n return _possibleConstructorReturn(this, (GoToGithub.__proto__ || Object.getPrototypeOf(GoToGithub)).apply(this, arguments));\n }\n\n _createClass(GoToGithub, [{\n key: 'run',\n value: function run() {\n window.open('https://github.com/espterm/espterm-firmware');\n this.destroy();\n }\n }]);\n\n return GoToGithub;\n }(Process)\n};\nvar autocompleteIndex = {\n 'local-echo': 'local-echo [--suppress-note]',\n theme: 'theme [n]',\n cursor: 'cursor [block|line|bar] [--steady]',\n sudo: 'sudo [command]'\n};\n\nvar DemoShell = function () {\n function DemoShell(terminal, printInfo) {\n var _this24 = this;\n\n _classCallCheck(this, DemoShell);\n\n this.terminal = terminal;\n this.terminal.reset();\n this.parser = new ANSIParser(function () {\n return _this24.handleParsed.apply(_this24, arguments);\n });\n this.history = [];\n this.historyIndex = 0;\n this.cursorPos = 0;\n this.lastInputLength = 0;\n this.child = null;\n this.index = demoshIndex;\n\n if (printInfo) this.run('info');else this.prompt();\n }\n\n _createClass(DemoShell, [{\n key: 'write',\n value: function write(text) {\n if (this.child) {\n if (text.codePointAt(0) === 3) this.child.destroy();else this.child.write(text);\n } else this.parser.write(text);\n }\n }, {\n key: 'prompt',\n value: function prompt() {\n var success = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n if (this.terminal.cursor.x !== 0) this.terminal.write('\\x1b[m\\x1b[38;5;238m⏎\\r\\n');\n this.terminal.write('\\x1b[34;1mdemosh \\x1b[m');\n if (!success) this.terminal.write('\\x1b[31m');\n this.terminal.write('$ \\x1b[m');\n this.history.unshift('');\n this.cursorPos = 0;\n\n this.setButtons();\n }\n }, {\n key: 'copyFromHistoryIndex',\n value: function copyFromHistoryIndex() {\n if (!this.historyIndex) return;\n var current = this.history[this.historyIndex];\n this.history[0] = current;\n this.historyIndex = 0;\n }\n }, {\n key: 'getCompleted',\n value: function getCompleted() {\n var visual = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n if (this.history[0]) {\n var input = this.history[0];\n var prefix = '';\n if (input.startsWith('sudo ')) {\n var newInput = input.replace(/^(sudo\\s+)+/, '');\n prefix = input.substr(0, input.length - newInput.length);\n input = newInput;\n }\n if (!input) return null;\n for (var name in this.index) {\n if (name.startsWith(input) && name !== input) {\n if (visual && name in autocompleteIndex) return prefix + autocompleteIndex[name];\n return prefix + name;\n }\n }\n return null;\n }\n return null;\n }\n }, {\n key: 'handleParsed',\n value: function handleParsed(action) {\n this.terminal.write('\\x1B[' + (this.lastInputLength - this.cursorPos) + 'P');\n this.terminal.write('\\b\\x1b[P'.repeat(this.cursorPos));\n\n if (action === 'write') {\n this.copyFromHistoryIndex();\n this.history[0] = this.history[0].substr(0, this.cursorPos) + (arguments.length <= 1 ? undefined : arguments[1]) + this.history[0].substr(this.cursorPos);\n this.cursorPos++;\n } else if (action === 'back') {\n this.copyFromHistoryIndex();\n this.history[0] = this.history[0].substr(0, this.cursorPos - 1) + this.history[0].substr(this.cursorPos);\n this.cursorPos--;\n if (this.cursorPos < 0) this.cursorPos = 0;\n } else if (action === 'tab') {\n var _completed = this.getCompleted();\n if (_completed) {\n this.history[0] = _completed;\n this.cursorPos = this.history[0].length;\n }\n } else if (action === 'move-cursor-x') {\n this.cursorPos = Math.max(0, Math.min(this.history[this.historyIndex].length, this.cursorPos + (arguments.length <= 1 ? undefined : arguments[1])));\n } else if (action === 'delete-line') {\n this.copyFromHistoryIndex();\n this.history[0] = '';\n this.cursorPos = 0;\n } else if (action === 'delete-word') {\n this.copyFromHistoryIndex();\n var words = this.history[0].substr(0, this.cursorPos).split(' ');\n words.pop();\n this.history[0] = words.join(' ') + this.history[0].substr(this.cursorPos);\n this.cursorPos = words.join(' ').length;\n } else if (action === 'move-cursor-y') {\n this.historyIndex -= arguments.length <= 1 ? undefined : arguments[1];\n if (this.historyIndex < 0) this.historyIndex = 0;\n if (this.historyIndex >= this.history.length) this.historyIndex = this.history.length - 1;\n this.cursorPos = this.history[this.historyIndex].length;\n }\n\n this.terminal.write(this.history[this.historyIndex]);\n this.terminal.write('\\b'.repeat(this.history[this.historyIndex].length));\n this.terminal.moveForward(this.cursorPos);\n\n this.lastInputLength = this.cursorPos;\n\n var completed = this.getCompleted(true);\n if (this.historyIndex === 0 && completed && action !== 'return') {\n // show closest match faintly\n var rest = completed.substr(this.history[0].length);\n this.terminal.write('\\x1B[2m' + rest + '\\x1B[m' + '\\b'.repeat(rest.length));\n this.lastInputLength += rest.length;\n }\n\n if (action === 'return') {\n this.terminal.write('\\n');\n this.parse(this.history[this.historyIndex]);\n }\n }\n }, {\n key: 'parse',\n value: function parse(input) {\n if (input === 'help') input = 'info';\n // TODO: basic chaining (i.e. semicolon)\n if (input) this.run(input);else this.prompt();\n }\n }, {\n key: 'run',\n value: function run(command) {\n var parts = [''];\n\n var inQuote = false;\n var _iteratorNormalCompletion8 = true;\n var _didIteratorError8 = false;\n var _iteratorError8 = undefined;\n\n try {\n for (var _iterator8 = command.trim()[Symbol.iterator](), _step8; !(_iteratorNormalCompletion8 = (_step8 = _iterator8.next()).done); _iteratorNormalCompletion8 = true) {\n var character = _step8.value;\n\n if (inQuote && character !== inQuote) {\n parts[parts.length - 1] += character;\n } else if (inQuote) {\n inQuote = false;\n } else if (character === '\"' || character === \"'\") {\n inQuote = character;\n } else if (character.match(/\\s/)) {\n if (parts[parts.length - 1]) parts.push('');\n } else parts[parts.length - 1] += character;\n }\n } catch (err) {\n _didIteratorError8 = true;\n _iteratorError8 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion8 && _iterator8.return) {\n _iterator8.return();\n }\n } finally {\n if (_didIteratorError8) {\n throw _iteratorError8;\n }\n }\n }\n\n var name = parts.shift();\n\n if (name in this.index) {\n this.spawn(name, parts);\n } else {\n this.terminal.write('demosh: Unknown command: ' + name + '\\r\\n');\n this.prompt(false);\n }\n }\n }, {\n key: 'spawn',\n value: function spawn(name) {\n var _this25 = this;\n\n var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n var Process = this.index[name];\n if (Process instanceof Function) {\n var _child;\n\n this.setButtons([]);\n this.child = new Process(this);\n var write = function write(data) {\n return _this25.terminal.write(data);\n };\n var setButtons = function setButtons(buttons) {\n return _this25.setButtons(buttons);\n };\n this.child.on('write', write);\n this.child.on('buttons', setButtons);\n this.child.on('exit', function (code) {\n if (_this25.child) {\n _this25.child.removeListener('write', write);\n _this25.child.removeListener('buttons', setButtons);\n }\n _this25.child = null;\n _this25.prompt(!code);\n });\n (_child = this.child).run.apply(_child, _toConsumableArray(args));\n } else {\n this.terminal.write(Process);\n this.prompt();\n }\n }\n }, {\n key: 'setButtons',\n value: function setButtons(buttons) {\n if (!buttons) {\n var shell = this;\n var writeChars = function writeChars(chars) {\n var loop = function loop() {\n shell.write(chars[0]);\n chars = chars.substr(1);\n if (chars) setTimeout(loop, 100);\n };\n setTimeout(loop, 200);\n };\n\n buttons = [{\n label: 'Open GitHub',\n action: function action(shell) {\n if (shell.child) shell.child.destroy();\n writeChars('github\\r');\n }\n }, {\n label: 'Help',\n action: function action(shell) {\n if (shell.child) shell.child.destroy();\n writeChars('info\\r');\n }\n }];\n }\n if (!buttons.length) buttons.push({ label: '', action: function action() {}\n });\n this.buttons = buttons;\n this.terminal.buttonLabels = buttons.map(function (x) {\n return x.label;\n });\n }\n }, {\n key: 'onButtonPress',\n value: function onButtonPress(index) {\n var button = this.buttons[index];\n if (!button) return;\n button.action(this, this.terminal);\n }\n }]);\n\n return DemoShell;\n}();\n\nwindow.demoInterface = module.exports = {\n input: function input(data) {\n var type = data[0];\n var content = data.substr(1);\n\n if (type === 's') {\n this.shell.write(content);\n } else if (type === 'b') {\n var button = content.charCodeAt(0);\n this.shell.onButtonPress(button - 1);\n } else if (type === 'm' || type === 'p' || type === 'r') {\n var row = parse2B(content, 0);\n var column = parse2B(content, 2);\n var _button = parse2B(content, 4);\n var modifiers = parse2B(content, 6);\n\n if (demoData.mouseReceiver) {\n if (type === 'm') demoData.mouseReceiver.mouseMove(column, row, _button, modifiers);else if (type === 'p') demoData.mouseReceiver.mouseDown(column, row, _button, modifiers);else if (type === 'r') demoData.mouseReceiver.mouseUp(column, row, _button, modifiers);\n }\n }\n },\n\n didInit: false,\n init: function init(screen) {\n if (this.didInit) return;\n this.didInit = true;\n this.terminal = new ScrollingTerminal(screen);\n this.shell = new DemoShell(this.terminal, true);\n }\n};\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*\n * Copyright (c) 2010 Tim Baumann\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n// NOTE:\n// Extracted from ColorTriangle and\n// Converted to ES6 by MightyPork (2017)\n\n/*******************\n * Color conversion *\n *******************/\n\nvar M = Math;\nvar TAU = 2 * M.PI;\n\nexports.hue2rgb = function (v1, v2, h) {\n if (h < 0) h += 1;\n if (h > 1) h -= 1;\n\n if (6 * h < 1) return v1 + (v2 - v1) * 6 * h;\n if (2 * h < 1) return v2;\n if (3 * h < 2) return v1 + (v2 - v1) * (2 / 3 - h) * 6;\n return v1;\n};\n\nexports.hsl2rgb = function (h, s, l) {\n h /= TAU;\n var r = void 0,\n g = void 0,\n b = void 0;\n\n if (s === 0) {\n r = g = b = l;\n } else {\n var var_1 = void 0,\n var_2 = void 0;\n\n if (l < 0.5) var_2 = l * (1 + s);else var_2 = l + s - s * l;\n\n var_1 = 2 * l - var_2;\n\n r = exports.hue2rgb(var_1, var_2, h + 1 / 3);\n g = exports.hue2rgb(var_1, var_2, h);\n b = exports.hue2rgb(var_1, var_2, h - 1 / 3);\n }\n return [r, g, b];\n};\n\nexports.rgb2hsl = function (r, g, b) {\n var min = M.min(r, g, b);\n var max = M.max(r, g, b);\n var d = max - min; // delta\n\n var h = void 0,\n s = void 0,\n l = void 0;\n\n l = (max + min) / 2;\n\n if (d === 0) {\n // gray\n h = s = 0; // HSL results from 0 to 1\n } else {\n // chroma\n if (l < 0.5) s = d / (max + min);else s = d / (2 - max - min);\n\n var d_r = ((max - r) / 6 + d / 2) / d;\n var d_g = ((max - g) / 6 + d / 2) / d;\n var d_b = ((max - b) / 6 + d / 2) / d; // deltas\n\n if (r === max) h = d_b - d_g;else if (g === max) h = 1 / 3 + d_r - d_b;else if (b === max) h = 2 / 3 + d_g - d_r;\n\n if (h < 0) h += 1;else if (h > 1) h -= 1;\n }\n h *= TAU;\n return [h, s, l];\n};\n\nexports.hex2rgb = function (hex) {\n var groups = hex.match(/^#([\\da-f]{3,6})$/i);\n if (groups) {\n hex = groups[1];\n var bytes = hex.length / 3;\n var max = Math.pow(16, bytes) - 1;\n return [0, 1, 2].map(function (x) {\n return parseInt(hex.slice(x * bytes, (x + 1) * bytes), 16) / max;\n });\n }\n return [0, 0, 0];\n};\n\nfunction pad(n) {\n return ('00' + n).substr(-2);\n}\n\nexports.rgb255ToHex = function (r, g, b) {\n return '#' + [r, g, b].map(function (x) {\n return pad(x.toString(16));\n }).join('');\n};\n\nexports.rgb2hex = function (r, g, b) {\n return '#' + [r, g, b].map(function (x) {\n return pad(Math.round(x * 255).toString(16));\n }).join('');\n};\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar data = __webpack_require__(14);\n\nmodule.exports = function localize(key) {\n return data[key] || '?' + key + '?';\n};\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n// Bits in the cell attribs word\n\n/* eslint-disable no-multi-spaces */\nexports.ATTR_FG = 1 << 0; // 1 if not using default background color (ignore cell bg) - color extension bit\nexports.ATTR_BG = 1 << 1; // 1 if not using default foreground color (ignore cell fg) - color extension bit\nexports.ATTR_BOLD = 1 << 2; // Bold font\nexports.ATTR_UNDERLINE = 1 << 3; // Underline decoration\nexports.ATTR_INVERSE = 1 << 4; // Invert colors - this is useful so we can clear then with SGR manipulation commands\nexports.ATTR_BLINK = 1 << 5; // Blinking\nexports.ATTR_ITALIC = 1 << 6; // Italic font\nexports.ATTR_STRIKE = 1 << 7; // Strike-through decoration\nexports.ATTR_OVERLINE = 1 << 8; // Over-line decoration\nexports.ATTR_FAINT = 1 << 9; // Faint foreground color (reduced alpha)\nexports.ATTR_FRAKTUR = 1 << 10; // Fraktur font (unicode substitution)\n/* eslint-enable no-multi-spaces */\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n__webpack_require__(11);\n__webpack_require__(2);\n__webpack_require__(3);\n__webpack_require__(12);\ntry {\n __webpack_require__(6);\n} catch (err) {}\n__webpack_require__(13);\n\nvar $ = __webpack_require__(1);\n\nvar _require = __webpack_require__(0),\n qs = _require.qs;\n\n/* Export stuff to the global scope for inline scripts */\n\n\nwindow.termInit = __webpack_require__(15);\nwindow.$ = $;\nwindow.qs = qs;\n\nwindow.themes = __webpack_require__(5);\n\nwindow.TermConf = __webpack_require__(25);\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */\nif (!String.fromCodePoint) {\n (function () {\n var defineProperty = function () {\n // IE 8 only supports `Object.defineProperty` on DOM elements\n try {\n var object = {};\n var $defineProperty = Object.defineProperty;\n var result = $defineProperty(object, object, object) && $defineProperty;\n } catch (error) {}\n return result;\n }();\n var stringFromCharCode = String.fromCharCode;\n var floor = Math.floor;\n var fromCodePoint = function fromCodePoint() {\n var MAX_SIZE = 0x4000;\n var codeUnits = [];\n var highSurrogate;\n var lowSurrogate;\n var index = -1;\n var length = arguments.length;\n if (!length) {\n return '';\n }\n var result = '';\n while (++index < length) {\n var codePoint = Number(arguments[index]);\n if (!isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity`\n codePoint < 0 || // not a valid Unicode code point\n codePoint > 0x10FFFF || // not a valid Unicode code point\n floor(codePoint) != codePoint // not an integer\n ) {\n throw RangeError('Invalid code point: ' + codePoint);\n }\n if (codePoint <= 0xFFFF) {\n // BMP code point\n codeUnits.push(codePoint);\n } else {\n // Astral code point; split in surrogate halves\n // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n codePoint -= 0x10000;\n highSurrogate = (codePoint >> 10) + 0xD800;\n lowSurrogate = codePoint % 0x400 + 0xDC00;\n codeUnits.push(highSurrogate, lowSurrogate);\n }\n if (index + 1 == length || codeUnits.length > MAX_SIZE) {\n result += stringFromCharCode.apply(null, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n };\n if (defineProperty) {\n defineProperty(String, 'fromCodePoint', {\n 'value': fromCodePoint,\n 'configurable': true,\n 'writable': true\n });\n } else {\n String.fromCodePoint = fromCodePoint;\n }\n })();\n}\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar $ = __webpack_require__(1);\n\nvar _require = __webpack_require__(0),\n mk = _require.mk,\n qs = _require.qs,\n qsa = _require.qsa,\n cr = _require.cr;\n\nvar modal = __webpack_require__(2);\nvar notify = __webpack_require__(3);\n\n/** Global generic init */\n$.ready(function () {\n // Opening menu on mobile / narrow screen\n function menuOpen() {\n $('#menu').toggleClass('expanded');\n }\n $('#brand').on('click', menuOpen).on('keypress', cr(menuOpen));\n\n // Checkbox UI (checkbox CSS and hidden input with int value)\n $('.Row.checkbox').forEach(function (x) {\n var inp = x.querySelector('input');\n var box = x.querySelector('.box');\n\n $(box).toggleClass('checked', inp.value);\n\n var hdl = function hdl() {\n inp.value = 1 - inp.value;\n $(box).toggleClass('checked', inp.value);\n };\n\n $(x).on('click', hdl).on('keypress', cr(hdl));\n });\n\n // Expanding boxes on mobile\n $('.Box.mobcol,.Box.fold').forEach(function (x) {\n var h = x.querySelector('h2');\n\n var hdl = function hdl() {\n if ($(x).hasClass('d-expanded')) {\n $(x).removeClass('d-expanded');\n } else {\n $(x).toggleClass('expanded');\n }\n };\n $(h).on('click', hdl).on('keypress', cr(hdl));\n });\n\n $('form').forEach(function (x) {\n $(x).on('keypress', function (e) {\n if ((e.keyCode === 10 || e.keyCode === 13) && e.ctrlKey) {\n x.submit();\n }\n });\n });\n\n // loader dots...\n setInterval(function () {\n $('.anim-dots').each(function (x) {\n var $x = $(x);\n var dots = $x.html() + '.';\n if (dots.length === 5) dots = '.';\n $x.html(dots);\n });\n }, 1000);\n\n // flipping number boxes with the mouse wheel\n $('input[type=number]').on('wheel', function (e) {\n var $this = $(this);\n var val = +$this.val();\n if (isNaN(val)) val = 1;\n\n var step = +($this.attr('step') || 1);\n var min = +$this.attr('min');\n var max = +$this.attr('max');\n if (e.deltaY > 0) {\n val += step;\n } else {\n val -= step;\n }\n\n if (Number.isFinite(min)) val = Math.max(val, +min);\n if (Number.isFinite(max)) val = Math.min(val, +max);\n $this.val(val);\n\n if ('createEvent' in document) {\n var evt = document.createEvent('HTMLEvents');\n evt.initEvent('change', false, true);\n $this[0].dispatchEvent(evt);\n } else {\n $this[0].fireEvent('onchange');\n }\n\n e.preventDefault();\n });\n\n // populate the form errors box from GET arg ?err=...\n // (a way to pass errors back from server via redirect)\n var errAt = window.location.search.indexOf('err=');\n if (errAt !== -1 && qs('.Box.errors')) {\n var errs = decodeURIComponent(window.location.search.substr(errAt + 4)).split(',');\n var humanReadableErrors = [];\n errs.forEach(function (er) {\n var lbls = qsa('label[for=\"' + er + '\"]');\n if (lbls) {\n for (var i = 0; i < lbls.length; i++) {\n var lbl = lbls[i];\n lbl.classList.add('error');\n if (i === 0) humanReadableErrors.push(lbl.childNodes[0].textContent.trim().replace(/: ?$/, ''));\n }\n } else {\n humanReadableErrors.push(er);\n }\n });\n\n qs('.Box.errors .list').innerHTML = humanReadableErrors.join(', ');\n qs('.Box.errors').classList.remove('hidden');\n }\n\n var msgAt = window.location.search.indexOf('msg=');\n if (msgAt !== -1 && qs('.Box.message')) {\n var msg = decodeURIComponent(window.location.search.substr(msgAt + 4));\n var box = qs('.Box.message');\n box.innerHTML = msg;\n box.classList.remove('hidden');\n setTimeout(function () {\n box.classList.add('hiding');\n setTimeout(function () {\n box.classList.add('hidden');\n }, 1000);\n }, 2000);\n }\n\n modal.init();\n notify.init();\n\n // remove tabindices from h2 if wide\n if (window.innerWidth > 550) {\n $('.Box h2').forEach(function (x) {\n x.removeAttribute('tabindex');\n });\n\n // brand works as a link back to term in widescreen mode\n var br = qs('#brand');\n br && br.addEventListener('click', function () {\n window.location.href = '/'; // go to terminal\n });\n }\n});\n\n// setup the ajax loader\n$._loader = function (vis) {\n $('#loader').toggleClass('show', vis);\n};\n\nvar pageShown = false;\n// reveal content on load\nfunction showPage() {\n pageShown = true;\n $('#content').addClass('load');\n}\n// HACKITY HACK: fix this later\nwindow.showPage = showPage;\n\n// Auto reveal pages other than the terminal (sets window.noAutoShow)\n$.ready(function () {\n if (window.noAutoShow === true) {\n setTimeout(function () {\n if (!pageShown) {\n var bnr = mk('P');\n bnr.id = 'load-failed';\n bnr.innerHTML = 'Server connection failed! Trying again' + '.';\n qs('#screen').appendChild(bnr);\n qs('#screen').classList.add('failed');\n showPage();\n }\n }, 2000);\n } else {\n setTimeout(function () {\n showPage();\n }, 1);\n }\n});\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar $ = __webpack_require__(1);\n\nvar _require = __webpack_require__(0),\n mk = _require.mk;\n\nvar tr = __webpack_require__(8);\n\n{\n\n // Get XX % for a slider input\n var calc_dBm = function calc_dBm(inp) {\n return '+' + (inp.value * 0.25).toFixed(2) + ' dBm';\n };\n\n // Display selected STA SSID etc\n\n\n var selectSta = function selectSta(name, password, ip) {\n $('#sta_ssid').val(name);\n $('#sta_password').val(password);\n\n $('#sta-nw').toggleClass('hidden', name.length === 0);\n $('#sta-nw-nil').toggleClass('hidden', name.length > 0);\n\n $('#sta-nw .essid').html($.htmlEscape(name));\n var hasPassword = !!password;\n\n // (the following is kind of confusing with the double-double negations,\n // but it works)\n $('#sta-nw .passwd').toggleClass('hidden', !hasPassword);\n $('#sta-nw .nopasswd').toggleClass('hidden', hasPassword);\n\n $('#sta-nw .ip').html(ip.length > 0 ? tr('wifi.connected_ip_is') + ip : tr('wifi.not_conn'));\n };\n\n /** Update display for received response */\n\n\n var onScan = function onScan(resp, status) {\n // var ap_json = {\n // \"result\": {\n // \"inProgress\": \"0\",\n // \"APs\": [\n // {\"essid\": \"Chlivek\", \"bssid\": \"88:f7:c7:52:b3:99\", \"rssi\": \"204\", \"enc\": \"4\", \"channel\": \"1\"},\n // {\"essid\": \"TyNikdy\", \"bssid\": \"5c:f4:ab:0d:f1:1b\", \"rssi\": \"164\", \"enc\": \"3\", \"channel\": \"1\"},\n // ]\n // }\n // };\n\n if (status !== 200) {\n // bad response\n rescan(5000); // wait 5s then retry\n return;\n }\n\n try {\n resp = JSON.parse(resp);\n } catch (e) {\n console.log(e);\n rescan(5000);\n return;\n }\n\n var done = !resp.result.inProgress && resp.result.APs.length > 0;\n rescan(done ? 15000 : 1000);\n if (!done) return; // no redraw yet\n\n // clear the AP list\n var $list = $('#ap-list');\n // remove old APs\n $('#ap-list .AP').remove();\n\n $list.toggleClass('hidden', !done);\n $('#ap-loader').toggleClass('hidden', done);\n\n // scan done\n resp.result.APs.sort(function (a, b) {\n return b.rssi - a.rssi;\n }).forEach(function (ap) {\n ap.enc = parseInt(ap.enc);\n\n if (ap.enc > 4) return; // hide unsupported auths\n\n var item = mk('div');\n\n var $item = $(item).data('ssid', ap.essid).data('pwd', ap.enc).attr('tabindex', 0).addClass('AP');\n\n // mark current SSID\n if (ap.essid === curSSID) {\n $item.addClass('selected');\n }\n\n var inner = mk('div');\n var escapedSSID = $.htmlEscape(ap.essid);\n $(inner).addClass('inner').htmlAppend('
\\ec
).\n\t\tThey can be changed by the terminal application using escape sequences.\n\t\t',\n\t'term.explain_expert' => '\n\t\tThose are advanced config options that usually don\\'t need to be changed.\n\t\tEdit them only if you know what you\\'re doing.',\n\n\t'term.example' => 'Default colors preview',\n\n\t'term.explain_scheme' => '\n\t\tTo select default text and background color, click on the\n\t\tpreview palette. Alternatively, use numbers 0-15 for theme colors,\n\t\t16-255 for standard colors and hex (#FFFFFF) for True Color (24-bit).\n\t\t',\n\n\t'term.fgbg_presets' => 'Defaults Presets',\n\t'term.color_scheme' => 'Color Scheme',\n\t'term.reset_screen' => 'Reset screen & parser',\n\t'term.term_title' => 'Header Text',\n\t'term.term_width' => 'Width',\n\t'term.term_height' => 'Height',\n\t'term.buttons' => 'Button Labels',\n\t'term.theme' => 'Color Palette',\n\t'term.cursor_shape' => 'Cursor Style',\n\t'term.parser_tout_ms' => 'Parser Timeout',\n\t'term.display_tout_ms' => 'Redraw Delay',\n\t'term.display_cooldown_ms' => 'Redraw Cooldown',\n\t'term.allow_decopt_12' => 'Allow \\e?12h/l',\n\t'term.fn_alt_mode' => 'SS3 Fn keys',\n\t'term.show_config_links' => 'Show nav links',\n\t'term.show_buttons' => 'Show buttons',\n\t'term.loopback' => 'Local Echo (SRM)',\n\t'term.crlf_mode' => 'Enter = CR+LF (LNM)',\n\t'term.want_all_fn' => 'Capture F5, F11, F12',\n\t'term.button_msgs' => 'Button codes