ace.define("ace/ext/simple_tokenizer",["require","exports","module","ace/tokenizer","ace/layer/text_util"],(function(e,t,n){"use strict";var i=e("../tokenizer").Tokenizer,o=e("../layer/text_util").isTextToken,r=function(){function e(e,t){this._lines=e.split(/\r\n|\r|\n/),this._states=[],this._tokenizer=t}return e.prototype.getTokens=function(e){var t=this._lines[e],n=this._states[e-1],i=this._tokenizer.getLineTokens(t,n);return this._states[e]=i.state,i.tokens},e.prototype.getLength=function(){return this._lines.length},e}();n.exports={tokenize:function(e,t){for(var n=new r(e,new i(t.getRules())),s=[],u=0;u<n.getLength();u++){var a=n.getTokens(u);s.push(a.map((function(e){return{className:o(e.type)?void 0:"ace_"+e.type.replace(/\./g," ace_"),value:e.value}})))}return s}}})),ace.require(["ace/ext/simple_tokenizer"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));