!function(){function t(t,n){for(var e=0,r=t.length;e<r;++e)n(t[e])}function n(n,e,s,a){var l=n.getCursor(),c=s(n,l),f=c;for(/^[\w$_]*$/.test(c.string)||(c=f={start:l.ch,end:l.ch,string:"",state:c.state,type:"."==c.string?"property":null});"property"==f.type;){if("."!=(f=s(n,{line:l.line,ch:f.start})).string)return;if(")"==(f=s(n,{line:l.line,ch:f.start})).string){var u=1;do{switch((f=s(n,{line:l.line,ch:f.start})).string){case")":u++;break;case"(":u--}}while(u>0);if("variable"!=(f=s(n,{line:l.line,ch:f.start})).type)return;f.type="function"}if(!p)var p=[];p.push(f)}return{list:function(n,e,s,a){function l(t){0!=t.indexOf(u)||function(t,n){if(!Array.prototype.indexOf){for(var e=t.length;e--;)if(t[e]===n)return!0;return!1}return-1!=t.indexOf(n)}(f,t)||f.push(t)}function c(n){"string"==typeof n?t(r,l):n instanceof Array?t(i,l):n instanceof Function&&t(o,l);for(var e in n)l(e)}var f=[],u=n.string;if(e){var p,d=e.pop();for("variable"==d.type?(a&&a.additionalContext&&(p=a.additionalContext[d.string]),p=p||window[d.string]):"string"==d.type?p="":"atom"==d.type?p=1:"function"==d.type&&(null==window.jQuery||"$"!=d.string&&"jQuery"!=d.string||"function"!=typeof window.jQuery?null!=window._&&"_"==d.string&&"function"==typeof window._&&(p=window._()):p=window.jQuery());null!=p&&e.length;)p=p[e.pop().string];null!=p&&c(p)}else{for(var h=n.state.localVars;h;h=h.next)l(h.name);c(window),t(s,l)}return f}(c,p,e,a),from:{line:l.line,ch:c.start},to:{line:l.line,ch:c.end}}}function e(t,n){var e=t.getTokenAt(n);return n.ch==e.start+1&&"."==e.string.charAt(0)?(e.end=e.start,e.string=".",e.type="property"):/^\.[\w$_]*$/.test(e.string)&&(e.type="property",e.start++,e.string=e.string.replace(/\./,"")),e}CodeMirror.javascriptHint=function(t,e){return n(t,s,function(t,n){return t.getTokenAt(n)},e)},CodeMirror.coffeescriptHint=function(t,r){return n(t,a,e,r)};var r="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),i="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),o="prototype apply call bind".split(" "),s="break case catch continue debugger default delete do else false finally for function if in instanceof new null return switch throw true try typeof var void while with".split(" "),a="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ")}();