████████╗ ██████╗  ██████╗ ██╗███╗   ██╗ ██████╗  ██████╗ ███████╗
╚══██╔══╝██╔═══██╗██╔════╝ ██║████╗  ██║██╔═══██╗██╔═══██╗██╔════╝
   ██║   ██║   ██║██║  ███╗██║██╔██╗ ██║██║   ██║██║   ██║█████╗
   ██║   ██║   ██║██║   ██║██║██║╚██╗██║██║   ██║██║   ██║██╔══╝
   ██║   ╚██████╔╝╚██████╔╝██║██║ ╚████║╚██████╔╝╚██████╔╝███████╗
   ╚═╝    ╚═════╝  ╚═════╝ ╚═╝╚═╝  ╚═══╝ ╚═════╝  ╚═════╝ ╚══════╝
        
        
..............................
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| rob@sk .../config$ -------------------------------------------------------------------------------------------------------------------------+
| PREVIEW ----------------------------------------------------------------------------------------------------------------------------------------------+
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ |
| ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ |
| '''''''''''''''''''  /'´    _.-´¯¯¯`-.             |
| ' o ' ::::::::   | `-.         '-._   _.-'´¯¯¯`-.   |
| >::::::: | : : :  _.-´          _.-'            ¯¯`-.   |
| ´:::::::::::| : : : '-.                 ¯`-.           _.-'´¯¯¯  |  |
| ´:::::::::::| : :  '-.         (@)         ¯`-.        _.-'       |  |
| ´:::::::::::| :  '-.             _.-'           _.-'        =_[ ]=_   |
| ´:::::::::::| :  '-.          _.-'¯                  _.-'      =_[ ]=_   |
| ´:::::::::::|     '-._ _.-'¯                   _.-'          =_[ ]=_   |
| ´:::::::::::|    '-._.-'¯                          _.-'           =_[ ]=_   |
| ´:::::::::::|                                      ´               =_[ ]=_   |
| ´:::::::::::| ''`-.                                 `               =_[ ]=_   |
| ´:::::::::::|    `-.                                                     |
| ´:::::::::::|                                                             |
| ´:::::::::::|                                                             |
| ´:::::::::::|                                                             |
|                                                             |
|Sunday, February 2, 2020, 1:28:38AM                           |
|Schedule:                                                   |
|12-6p Private Mentored Sessions (IRL)                     |
|6-9p Off (IRL)                                            |
|9p-1a On Stream (video and mic)                             |
|    Working on Config and Whatever                          |
|    <https://github.com/rwxrob/config>                        |
|Please sub to YouTube.                                      |
|Things are very ca.       ream.                             |
|Highlights are ge e       focused.                            |
                
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| CONSOLE ----------------------------------------------------------------------------------------------------------------------------------------------+
`; iframeDoc.open(); iframeDoc.write(fullHtml); iframeDoc.close(); }, 200); // Debounce de 200ms para evitar atualizações muito rápidas } // Listener para receber mensagens do iframe (do console.log interceptado) window.addEventListener('message', (event) => { // Verifica a origem da mensagem por segurança, embora para 'file://' ou 'http://localhost' não seja tão crítico. // Para produção, é recomendado verificar event.origin if (event.data && event.data.type === 'console') { consoleOutput.value += event.data.message + '\n'; consoleOutput.scrollTop = consoleOutput.scrollHeight; // Rola para o final do console } }); // Atualiza o preview a cada input no editor editor.addEventListener('input', updatePreview); // Renderização inicial ao carregar a página updatePreview();