import{A as u}from"./index.f4d41e67.entry.js";function l(i,f){return f.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(o){if(o!=="default"&&!(o in i)){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(i,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}})}),Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(i,f){(function(e){e(u.exports)})(function(e){var o="><+-.,[]".split("");e.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(n,t){if(n.eatSpace())return null;n.sol()&&(t.commentLine=!1);var r=n.next().toString();if(o.indexOf(r)!==-1){if(t.commentLine===!0)return n.eol()&&(t.commentLine=!1),"comment";if(r==="]"||r==="[")return r==="["?t.left++:t.right++,"bracket";if(r==="+"||r==="-")return"keyword";if(r==="<"||r===">")return"atom";if(r==="."||r===",")return"def"}else return t.commentLine=!0,n.eol()&&(t.commentLine=!1),"comment";n.eol()&&(t.commentLine=!1)}}}),e.defineMIME("text/x-brainfuck","brainfuck")})})();var a=c.exports,p=l({__proto__:null,default:a},[c.exports]);export{p as b};
