Liferay.Loader.define("portal-search-web$codemirror@5.62.0/addon/runmode/colorize",["module","exports","require","../../lib/codemirror","./runmode"],(function(e,r,o){var n;window,n=function(e){"use strict";var r=/^(p|li|div|h\\d|pre|blockquote|td)$/;function o(e,n){if(3==e.nodeType)return n.push(e.nodeValue);for(var t=e.firstChild;t;t=t.nextSibling)o(t,n),r.test(e.nodeType)&&n.push("\n")}e.colorize=function(r,n){r||(r=document.body.getElementsByTagName("pre"));for(var t=0;t<r.length;++t){var i=r[t],d=i.getAttribute("data-lang")||n;if(d){var a=[];o(i,a),i.innerHTML="",e.runMode(a.join(""),d,i),i.className+=" cm-s-default"}}}},"object"==typeof r&&"object"==typeof e?n(o("../../lib/codemirror"),o("./runmode")):n(CodeMirror)}));
//# sourceMappingURL=colorize.js.map