ace.define("ace/ext/static_highlight",["require","exports","module","ace/edit_session","ace/layer/text","ace/config","ace/lib/dom","ace/lib/lang"],(function(e,t,n){"use strict";var i=e("../edit_session").EditSession,o=e("../layer/text").Text,r=e("../config"),s=e("../lib/dom"),a=e("../lib/lang").escapeHTML;function c(e){this.type=e,this.style={},this.textContent=""}c.prototype.cloneNode=function(){return this},c.prototype.appendChild=function(e){this.textContent+=e.toString()},c.prototype.toString=function(){var e=[];if("fragment"!=this.type){e.push("<",this.type),this.className&&e.push(" class='",this.className,"'");var t=[];for(var n in this.style)t.push(n,":",this.style[n]);t.length&&e.push(" style='",t.join(""),"'"),e.push(">")}return this.textContent&&e.push(this.textContent),"fragment"!=this.type&&e.push(""),e.join("")};var l={createTextNode:function(e,t){return a(e)},createElement:function(e){return new c(e)},createFragment:function(){return new c("fragment")}},h=function(){this.config={},this.dom=l};h.prototype=o.prototype;var g=function e(t,n,i){var o=t.className.match(/lang-(\w+)/),r=n.mode||o&&"ace/mode/"+o[1];if(!r)return!1;var a=n.theme||"ace/theme/textmate",c="",l=[];if(t.firstElementChild)for(var h=0,g=0;g