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