define("ace/mode/aiscript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{include:"#comments"},{include:"#keywords"},{include:"#strings"},{include:"#back-quote"},{include:"#numeric-literal"},{include:"#boolean-literal"},{include:"#null-literal"},{include:"#undefined-literal"},{include:"#numericConstant-literal"},{include:"#array-literal"},{include:"#vars"},{include:"#math"}],"#comments":[{token:"comment.line",regex:/\/\/.*/},{token:"comment.block",regex:/### {/,push:[{token:"comment.block",regex:/}/,next:"pop"},{defaultToken:"comment.block"}]}],"#vars":[{token:"storage.modifier.aiscript",regex:/#[0-9a-zA-Z_]+/},{token:"variable.name.aiscript",regex:/\$[0-9a-zA-Z_]+/}],"#keywords":[{token:"keyword.control.aiscript",regex:/\breturn\b/}],"#strings":[{token:"string.quoted.double.aiscript",regex:/"/,push:[{token:"string.quoted.double.aiscript",regex:/"/,next:"pop"},{token:"constant.character.escape.aiscript",regex:/\\./},{defaultToken:"string.quoted.double.aiscript"}]}],"#back-quote":[{token:"string.quoted.double.aiscript",regex:/`/,push:[{token:"string.quoted.double.aiscript",regex:/`/,next:"pop"},{token:"constant.character.escape.aiscript",regex:/\\./},{defaultToken:"string.quoted.double.aiscript"}]}],"#boolean-literal":[{token:"constant.language.boolean.true.aiscript",regex:/(?f)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\s*$/),s=e.getLength(),o=n,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;while(++no)return new i(o,r,l,t.length)}}.call(o.prototype)}),define("ace/mode/aiscript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/aiscript_highlight_rules","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./aiscript_highlight_rules").aiscriptHighlightRules,o=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o};r.inherits(u,i),function(){this.$id="ace/mode/aiscript"}.call(u.prototype),t.Mode=u}); (function() { window.require(["ace/mode/aiscript"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); })();