Liferay.Loader.define("journal-web$codemirror@5.65.2/addon/fold/indent-fold",["module","exports","require","../../lib/codemirror"],(function(e,n,o){var i,r=void 0;window;i=function(e){"use strict";function lineIndent(n,o){var i=n.getLine(o),r=i.search(/\S/);return-1==r||/\bcomment\b/.test(n.getTokenTypeAt(e.Pos(o,r+1)))?-1:e.countColumn(i,null,n.getOption("tabSize"))}e.registerHelper("fold","indent",(function(n,o){var i=lineIndent(n,o.line);if(!(i<0)){for(var r=null,t=o.line+1,l=n.lastLine();t<=l;++t){var d=lineIndent(n,t);if(-1==d);else{if(!(d>i))break;r=t}}return r?{from:e.Pos(o.line,n.getLine(o.line).length),to:e.Pos(r,n.getLine(r).length)}:void 0}}))},"object"==typeof n&&"object"==typeof e?i(o("../../lib/codemirror")):"function"==typeof r&&r.amd?r(["../../lib/codemirror"],i):i(CodeMirror)}));
//# sourceMappingURL=indent-fold.js.map