import{A as w}from"./index.f4d41e67.entry.js";function k(u,d){return d.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(l){if(l!=="default"&&!(l in u)){var f=Object.getOwnPropertyDescriptor(o,l);Object.defineProperty(u,l,f.get?f:{enumerable:!0,get:function(){return o[l]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(u,d){(function(o){o(w.exports)})(function(o){o.defineMode("turtle",function(l){var f=l.indentUnit,i;function a(n){return new RegExp("^(?:"+n.join("|")+")$","i")}a([]);var h=a(["@prefix","@base","a"]),v=/[*+\-<>=&|]/;function y(n,e){var t=n.next();if(i=null,t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=b(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return i=t,null;if(t=="#")return n.skipToEnd(),"comment";if(v.test(t))return n.eatWhile(v),null;if(t==":")return"operator";if(n.eatWhile(/[_\w\d]/),n.peek()==":")return"variable-3";var r=n.current();return h.test(r)?"meta":t>="A"&&t<="Z"?"comment":"keyword";var r=n.current()}function b(n){return function(e,t){for(var r=!1,c;(c=e.next())!=null;){if(c==n&&!r){t.tokenize=y;break}r=!r&&c=="\\"}return"string"}}function p(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function x(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:y,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),i=="(")p(e,")",n.column());else if(i=="[")p(e,"]",n.column());else if(i=="{")p(e,"}",n.column());else if(/[\]\}\)]/.test(i)){for(;e.context&&e.context.type=="pattern";)x(e);e.context&&i==e.context.type&&x(e)}else i=="."&&e.context&&e.context.type=="pattern"?x(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?p(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var c=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(c?0:1):r.indent+(c?0:f):0},lineComment:"#"}}),o.defineMIME("text/turtle","turtle")})})();var m=g.exports,z=k({__proto__:null,default:m},[g.exports]);export{z as t};
