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