Liferay.Loader.define("journal-web$codemirror@5.65.2/mode/yaml-frontmatter/yaml-frontmatter",["module","exports","require","../../lib/codemirror","../yaml/yaml"],(function(t,e,n){var a,o=void 0;window;a=function(t){t.defineMode("yaml-frontmatter",(function(e,n){var a=t.getMode(e,"yaml"),o=t.getMode(e,n&&n.base||"gfm");function localMode(t){return 1==t.state?{mode:a,state:t.yaml}:{mode:o,state:t.inner}}return{startState:function(){return{state:0,yaml:null,inner:t.startState(o)}},copyState:function(e){return{state:e.state,yaml:e.yaml&&t.copyState(a,e.yaml),inner:t.copyState(o,e.inner)}},token:function(e,n){if(0==n.state)return e.match("---",!1)?(n.state=1,n.yaml=t.startState(a),a.token(e,n.yaml)):(n.state=2,o.token(e,n.inner));if(1==n.state){var r=e.sol()&&e.match(/(---|\.\.\.)/,!1),i=a.token(e,n.yaml);return r&&(n.state=2,n.yaml=null),i}return o.token(e,n.inner)},innerMode:localMode,indent:function(e,n,a){var o=localMode(e);return o.mode.indent?o.mode.indent(o.state,n,a):t.Pass},blankLine:function(t){var e=localMode(t);if(e.mode.blankLine)return e.mode.blankLine(e.state)}}}))},"object"==typeof e&&"object"==typeof t?a(n("../../lib/codemirror"),n("../yaml/yaml")):"function"==typeof o&&o.amd?o(["../../lib/codemirror","../yaml/yaml"],a):a(CodeMirror)}));
//# sourceMappingURL=yaml-frontmatter.js.map