Liferay.Loader.define("liferay!template-web$codemirror@5.65.2/mode/brainfuck/brainfuck",["module","exports","require","../../lib/codemirror"],(function(e,o,t){var n,r=void 0;window;n=function(e){"use strict";var o="><+-.,[]".split("");e.defineMode("brainfuck",(function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,t){if(e.eatSpace())return null;e.sol()&&(t.commentLine=!1);var n=e.next().toString();return-1===o.indexOf(n)?(t.commentLine=!0,e.eol()&&(t.commentLine=!1),"comment"):!0===t.commentLine?(e.eol()&&(t.commentLine=!1),"comment"):"]"===n||"["===n?("["===n?t.left++:t.right++,"bracket"):"+"===n||"-"===n?"keyword":"<"===n||">"===n?"atom":"."===n||","===n?"def":void(e.eol()&&(t.commentLine=!1))}}})),e.defineMIME("text/x-brainfuck","brainfuck")},"object"==typeof o&&"object"==typeof e?n(t("../../lib/codemirror")):"function"==typeof r&&r.amd?r(["../../lib/codemirror"],n):n(CodeMirror)}));
//# sourceMappingURL=brainfuck.js.map