import{C as b}from"./index.991aca48.entry.js";import{a as v}from"./yaml-d419978c.js";function g(m,u){for(var t=0;t<u.length;t++){const a=u[t];if(typeof a!="string"&&!Array.isArray(a)){for(const r in a)if(r!=="default"&&!(r in m)){const o=Object.getOwnPropertyDescriptor(a,r);o&&Object.defineProperty(m,r,o.get?o:{enumerable:!0,get:()=>a[r]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var p={};(function(m,u){(function(t){t(b,v)})(function(t){var a=0,r=1,o=2;t.defineMode("yaml-frontmatter",function(s,d){var l=t.getMode(s,"yaml"),i=t.getMode(s,d&&d.base||"gfm");function c(e){return e.state==r?{mode:l,state:e.yaml}:{mode:i,state:e.inner}}return{startState:function(){return{state:a,yaml:null,inner:t.startState(i)}},copyState:function(e){return{state:e.state,yaml:e.yaml&&t.copyState(l,e.yaml),inner:t.copyState(i,e.inner)}},token:function(e,n){if(n.state==a)return e.match("---",!1)?(n.state=r,n.yaml=t.startState(l),l.token(e,n.yaml)):(n.state=o,i.token(e,n.inner));if(n.state==r){var y=e.sol()&&e.match(/(---|\.\.\.)/,!1),f=l.token(e,n.yaml);return y&&(n.state=o,n.yaml=null),f}else return i.token(e,n.inner)},innerMode:c,indent:function(e,n,y){var f=c(e);return f.mode.indent?f.mode.indent(f.state,n,y):t.Pass},blankLine:function(e){var n=c(e);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}})})})();const O=g({__proto__:null,default:p},[p]);export{O as y};
