<commit_before><!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Shdr Editor</title>
  <meta name="description" content="Shdr is an online ESSL (GLSL) shader editor, viewer and validator powered by WebGL and built by <NAME> (BKcore).">
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" type="text/css" href="css/main.css">
  <link rel="stylesheet" type="text/css" href="fonts/font-awesome/font-awesome.min.css">
  <link rel="stylesheet" type="text/css" href="fonts/ubuntu-mono/font.css">
</head>
<body onload="init();">

<!-- inline preloader -->
<div id="main-loader" style="position: absolute; z-index: 10000; top: 0; bottom: 0; left: 0; right: 0; background: #000; color: #000; font-family: Arial, 'Ubuntu sans', sans-serif; font-size: 32px; font-weight: bold;">
  <div style="position: absolute; z-index: 10001; top: 50%; left: 0; width: 100%; background: #191919; text-align: center; line-height: 60px; margin-top: -30px; border-top: 1px solid #333; border-bottom: 1px solid #333;">
    <img src="img/loader.gif" height="32" width="32" alt="Loading..." style="margin-bottom: -4px"> Fetching stuff.
  </div>
</div>

<!-- app structure -->
<div id="panel-top">
  <div class="menu" id="menu-mode" data-action="mode">
    <button type="button" class="menu-trigger"><i class="icon-pencil"></i><span>Fragment</span></button>
    <div class="menu-list">
      <button type="button" class="menu-item" data-index="0">Fragment</button>
      <button type="button" class="menu-item" data-index="1">Vertex</button>
    </div>
  </div>
  <div class="menu" id="menu-update" data-action="update">
    <button type="button" class="menu-trigger"><i class="icon-circle"></i>Auto update</button>
    <div class="menu-list">
      <button type="button" class="menu-item" data-index="0"><i class="icon-circle"></i>Auto Update</button>
      <button type="button" class="menu-item" data-index="1"><i class="icon-adjust"></i>ENTER Update</button>
      <button type="button" class="menu-item" data-index="2"><i class="icon-circle-blank"></i>Ctrl+S Update</button>
    </div>
  </div>
  <div class="menu" id="menu-snippets" data-action="snippets">
    <button type="button" class="menu-trigger"><i class="icon-plus"></i>Snippets</button>
    <div class="menu-list"></div>
  </div>
  <div class="menu" id="menu-download" data-action="download">
    <button type="button" class="menu-button"><i class="icon-download-alt"></i>Download</button>
  </div>
  <div class="menu" id="menu-share" data-action="share">
    <button type="button" class="menu-button"><i class="icon-share-alt"></i>Share</button>
  </div>
  <!-- LEFT/RIGHT -->
  <div class="menu menu-right" id="menu-models" data-action="models">
    <button type="button" class="menu-trigger"><i class="icon-reorder"></i><span>Monkey (high)</span></button>
    <div class="menu-list"></div>
  </div>
  <div class="menu menu-right" id="menu-rotate" data-action="rotate">
    <button type="button" class="menu-button menu-toggle menu-icon-only" data-current="0" data-off="1" data-on="0">
      <i class="icon-pause" data-on="icon-pause" data-off="icon-play"></i>
    </button>
  </div>
</div>

<div id="panel-main">
  <div id="panel-left">
  	<div id="editor"></div>
  </div>
  <div id="panel-right">
    <div id="viewer"></div>
    <div id="shdr">Shdr</div>
    <div id="model-loader">
      <img src="img/loader.gif" height="32" width="32" alt="Loading model...">
    </div>
  </div>
</div>

<div id="panel-bottom">
  <div id="status">
    <span class="status-success"><i class="icon-ok-sign"></i><b>Ready</b></span>
  </div>
  <div id="footer">
    <div class="menu menu-right menu-status" id="menu-about" data-action="about">
      <button type="button" class="menu-button"><i class="icon-info-sign"></i>About Shdr</button>
    </div>
  </div>
</div>

<div id="box-share" class="box">
  <h1 class="title">Share URL</h1>
  <div class="content">
    <input type="text" value="" id="box-share-url">
  </div>
  <button type="button" class="close">
    <i class="icon-remove"></i>
  </button>
</div>

<div id="box-about" class="box">
  <h1 class="title">About Shdr</h1>
  <div class="content">
    <p>
      Shdr is an online ESSL (GLSL) shader editor, viewer and validator powered by WebGL.
    </p>
    <p>
      <b>Author:</b> <a href="bkcore.com" target="_blank"><NAME></a>
      <br><b>Version:</b> 0.1.130225
    </p>
    <p>
      Inspired by MrDoob's live HTML editor.
      <br>Powered by Three.js, Ace.js, RawDeflate.js and jQuery.
      <br>Icons by AwesomeFont, Monkey head from Blender, HexMKII from HexGL.
    </p>
    <p>
      Issues, feature requests, contributions:
      <a href="https://github.com/BKcore/Shdr" target="_blank">Fork me on GitHub!</a>
    </p>
  </div>
  <button type="button" class="close">
    <i class="icon-remove"></i>
  </button>
</div>

<div id="mid-separator"></div>
<div id="top-separator"></div>
<div id="bottom-separator"></div>
	
<script src="libs/threejs/three.min.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/threejs/three.orbit.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/threejs/three.webglrenderer.custom.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/zip/rawdeflate.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/zip/rawinflate.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/jquery-1.8.js" type="text/javascript" charset="utf-8"></script>

<script src="shdr/Validator.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/UI.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/Snippets.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/Models.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/Viewer.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/App.js" type="text/javascript" charset="utf-8"></script>

<script>

	function init() {
		var app = new shdr.App("editor", "viewer");
		window.app = app;
  } 

</script>

</body>
</html>
<commit_msg>Fixed missing rename in HTML structure.<commit_after><!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Shdr Editor</title>
  <meta name="description" content="Shdr is an online ESSL (GLSL) shader editor, viewer and validator powered by WebGL and built by <NAME> (BKcore).">
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" type="text/css" href="css/main.css">
  <link rel="stylesheet" type="text/css" href="fonts/font-awesome/font-awesome.min.css">
  <link rel="stylesheet" type="text/css" href="fonts/ubuntu-mono/font.css">
</head>
<body onload="init();">

<!-- inline preloader -->
<div id="main-loader" style="position: absolute; z-index: 10000; top: 0; bottom: 0; left: 0; right: 0; background: #000; color: #000; font-family: Arial, 'Ubuntu sans', sans-serif; font-size: 32px; font-weight: bold;">
  <div style="position: absolute; z-index: 10001; top: 50%; left: 0; width: 100%; background: #191919; text-align: center; line-height: 60px; margin-top: -30px; border-top: 1px solid #333; border-bottom: 1px solid #333;">
    <img src="img/loader.gif" height="32" width="32" alt="Loading..." style="margin-bottom: -4px"> Fetching stuff.
  </div>
</div>

<!-- app structure -->
<div id="panel-top">
  <div class="menu" id="menu-mode" data-action="mode">
    <button type="button" class="menu-trigger"><i class="icon-pencil"></i><span>Fragment</span></button>
    <div class="menu-list">
      <button type="button" class="menu-item" data-index="0">Fragment</button>
      <button type="button" class="menu-item" data-index="1">Vertex</button>
    </div>
  </div>
  <div class="menu" id="menu-update" data-action="update">
    <button type="button" class="menu-trigger"><i class="icon-circle"></i>Auto update</button>
    <div class="menu-list">
      <button type="button" class="menu-item" data-index="0"><i class="icon-circle"></i>Auto Update</button>
      <button type="button" class="menu-item" data-index="1"><i class="icon-adjust"></i>ENTER Update</button>
      <button type="button" class="menu-item" data-index="2"><i class="icon-circle-blank"></i>Ctrl+S Update</button>
    </div>
  </div>
  <div class="menu" id="menu-snippets" data-action="snippets">
    <button type="button" class="menu-trigger"><i class="icon-plus"></i>Snippets</button>
    <div class="menu-list"></div>
  </div>
  <div class="menu" id="menu-download" data-action="download">
    <button type="button" class="menu-button"><i class="icon-download-alt"></i>Download</button>
  </div>
  <div class="menu" id="menu-share" data-action="share">
    <button type="button" class="menu-button"><i class="icon-share-alt"></i>Share</button>
  </div>
  <!-- LEFT/RIGHT -->
  <div class="menu menu-right" id="menu-models" data-action="models">
    <button type="button" class="menu-trigger"><i class="icon-reorder"></i><span>Suzanne (high)</span></button>
    <div class="menu-list"></div>
  </div>
  <div class="menu menu-right" id="menu-rotate" data-action="rotate">
    <button type="button" class="menu-button menu-toggle menu-icon-only" data-current="0" data-off="1" data-on="0">
      <i class="icon-pause" data-on="icon-pause" data-off="icon-play"></i>
    </button>
  </div>
</div>

<div id="panel-main">
  <div id="panel-left">
  	<div id="editor"></div>
  </div>
  <div id="panel-right">
    <div id="viewer"></div>
    <div id="shdr">Shdr</div>
    <div id="model-loader">
      <img src="img/loader.gif" height="32" width="32" alt="Loading model...">
    </div>
  </div>
</div>

<div id="panel-bottom">
  <div id="status">
    <span class="status-success"><i class="icon-ok-sign"></i><b>Ready</b></span>
  </div>
  <div id="footer">
    <div class="menu menu-right menu-status" id="menu-about" data-action="about">
      <button type="button" class="menu-button"><i class="icon-info-sign"></i>About Shdr</button>
    </div>
  </div>
</div>

<div id="box-share" class="box">
  <h1 class="title">Share URL</h1>
  <div class="content">
    <input type="text" value="" id="box-share-url">
  </div>
  <button type="button" class="close">
    <i class="icon-remove"></i>
  </button>
</div>

<div id="box-about" class="box">
  <h1 class="title">About Shdr</h1>
  <div class="content">
    <p>
      Shdr is an online ESSL (GLSL) shader editor, viewer and validator powered by WebGL.
    </p>
    <p>
      <b>Author:</b> <a href="bkcore.com" target="_blank"><NAME></a>
      <br><b>Version:</b> 0.1.130225
    </p>
    <p>
      Inspired by MrDoob's live HTML editor.
      <br>Powered by Three.js, Ace.js, RawDeflate.js and jQuery.
      <br>Icons by AwesomeFont, Monkey head from Blender, HexMKII from HexGL.
    </p>
    <p>
      Issues, feature requests, contributions:
      <a href="https://github.com/BKcore/Shdr" target="_blank">Fork me on GitHub!</a>
    </p>
  </div>
  <button type="button" class="close">
    <i class="icon-remove"></i>
  </button>
</div>

<div id="mid-separator"></div>
<div id="top-separator"></div>
<div id="bottom-separator"></div>
	
<script src="libs/threejs/three.min.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/threejs/three.orbit.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/threejs/three.webglrenderer.custom.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/zip/rawdeflate.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/zip/rawinflate.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/jquery-1.8.js" type="text/javascript" charset="utf-8"></script>

<script src="shdr/Validator.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/UI.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/Snippets.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/Models.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/Viewer.js" type="text/javascript" charset="utf-8"></script>
<script src="shdr/App.js" type="text/javascript" charset="utf-8"></script>

<script>

	function init() {
		var app = new shdr.App("editor", "viewer");
		window.app = app;
  } 

</script>

</body>
</html>

{'fraction_non_alphanumeric': 0.22034991534306217, 'fraction_numerical': 0.014673869225187455, 'mean_word_length': 4.55983863738234, 'pattern_counts': {'":': 0, '<': 411, '<?xml version=': 0, '>': 411, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3667160', 'n_tokens_mistral': 4552, 'n_tokens_neox': 4342, 'n_words': 903}