define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,i){"use strict";var o=e("../../lib/oop"),r=e("./fold_mode").FoldMode,c=e("../../range").Range,t=t.FoldMode=function(){};o.inherits(t,r),function(){this.getFoldWidgetRange=function(e,t,i){var o=this.indentationBlock(e,i);if(o)return o;var r=/\S/,n=(d=e.getLine(i)).search(r);if(-1!=n&&"#"==d[n]){for(var l=d.length,s=e.getLength(),o=i,a=i;++i<s;){var d,g=(d=e.getLine(i)).search(r);if(-1!=g){if("#"!=d[g])break;a=i}}if(o<a){n=e.getLine(a).length;return new c(o,l,a,n)}}},this.getFoldWidget=function(e,t,i){var o=e.getLine(i),r=o.search(/\S/),n=e.getLine(i+1),l=e.getLine(i-1),s=l.search(/\S/),a=n.search(/\S/);if(-1==r)return e.foldWidgets[i-1]=-1!=s&&s<a?"start":"","";if(-1==s){if(r==a&&"#"==o[r]&&"#"==n[r])return e.foldWidgets[i-1]="",e.foldWidgets[i+1]="","start"}else if(s==r&&"#"==o[r]&&"#"==l[r]&&-1==e.getLine(i-2).search(/\S/))return e.foldWidgets[i-1]="start",e.foldWidgets[i+1]="";return e.foldWidgets[i-1]=-1!=s&&s<r?"start":"",r<a?"start":""}}.call(t.prototype)}),define("ace/mode/space_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){"use strict";function o(){this.$rules={start:[{token:"empty_line",regex:/ */,next:"key"},{token:"empty_line",regex:/$/,next:"key"}],key:[{token:"variable",regex:/\S+/},{token:"empty_line",regex:/$/,next:"start"},{token:"keyword.operator",regex:/ /,next:"value"}],value:[{token:"keyword.operator",regex:/$/,next:"start"},{token:"string",regex:/[^$]/}]}}var r=e("../lib/oop"),e=e("./text_highlight_rules").TextHighlightRules;r.inherits(o,e),t.SpaceHighlightRules=o}),define("ace/mode/space",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/folding/coffee","ace/mode/space_highlight_rules"],function(e,t,i){"use strict";function o(){this.HighlightRules=s,this.foldingRules=new l,this.$behaviour=this.$defaultBehaviour}var r=e("../lib/oop"),n=e("./text").Mode,l=e("./folding/coffee").FoldMode,s=e("./space_highlight_rules").SpaceHighlightRules;r.inherits(o,n),function(){this.$id="ace/mode/space"}.call(o.prototype),t.Mode=o}),window.require(["ace/mode/space"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});