import{bK as b}from"./vendor.3d5b4206.js";import{a as v}from"./yaml.b82271de.js";function S(i,c){return c.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if(r!=="default"&&!(r in i)){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(i,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(i)}var p={exports:{}};(function(i,c){(function(t){t(b.exports,v.exports)})(function(t){var r=0,a=1,y=2;t.defineMode("yaml-frontmatter",function(s,d){var o=t.getMode(s,"yaml"),l=t.getMode(s,d&&d.base||"gfm");function u(e){return e.state==a?{mode:o,state:e.yaml}:{mode:l,state:e.inner}}return{startState:function(){return{state:r,yaml:null,inner:t.startState(l)}},copyState:function(e){return{state:e.state,yaml:e.yaml&&t.copyState(o,e.yaml),inner:t.copyState(l,e.inner)}},token:function(e,n){if(n.state==r)return e.match("---",!1)?(n.state=a,n.yaml=t.startState(o),o.token(e,n.yaml)):(n.state=y,l.token(e,n.inner));if(n.state==a){var f=e.sol()&&e.match(/(---|\.\.\.)/,!1),m=o.token(e,n.yaml);return f&&(n.state=y,n.yaml=null),m}else return l.token(e,n.inner)},innerMode:u,indent:function(e,n,f){var m=u(e);return m.mode.indent?m.mode.indent(m.state,n,f):t.Pass},blankLine:function(e){var n=u(e);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}})})})();var g=p.exports,x=Object.freeze(S({__proto__:null,[Symbol.toStringTag]:"Module",default:g},[p.exports]));export{x as y};
