import{C as B}from"./index.991aca48.entry.js";function P(t,l){for(var f=0;f<l.length;f++){const e=l[f];if(typeof e!="string"&&!Array.isArray(e)){for(const I in e)if(I!=="default"&&!(I in t)){const _=Object.getOwnPropertyDescriptor(e,I);_&&Object.defineProperty(t,I,_.get?_:{enumerable:!0,get:()=>e[I]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O={};(function(t,l){(function(f){f(B)})(function(f){f.defineMode("ntriples",function(){var e={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function I(_,n){var i=_.location,r;i==e.PRE_SUBJECT&&n=="<"?r=e.WRITING_SUB_URI:i==e.PRE_SUBJECT&&n=="_"?r=e.WRITING_BNODE_URI:i==e.PRE_PRED&&n=="<"?r=e.WRITING_PRED_URI:i==e.PRE_OBJ&&n=="<"?r=e.WRITING_OBJ_URI:i==e.PRE_OBJ&&n=="_"?r=e.WRITING_OBJ_BNODE:i==e.PRE_OBJ&&n=='"'?r=e.WRITING_OBJ_LITERAL:i==e.WRITING_SUB_URI&&n==">"||i==e.WRITING_BNODE_URI&&n==" "?r=e.PRE_PRED:i==e.WRITING_PRED_URI&&n==">"?r=e.PRE_OBJ:i==e.WRITING_OBJ_URI&&n==">"||i==e.WRITING_OBJ_BNODE&&n==" "||i==e.WRITING_OBJ_LITERAL&&n=='"'||i==e.WRITING_LIT_LANG&&n==" "||i==e.WRITING_LIT_TYPE&&n==">"?r=e.POST_OBJ:i==e.WRITING_OBJ_LITERAL&&n=="@"?r=e.WRITING_LIT_LANG:i==e.WRITING_OBJ_LITERAL&&n=="^"?r=e.WRITING_LIT_TYPE:n==" "&&(i==e.PRE_SUBJECT||i==e.PRE_PRED||i==e.PRE_OBJ||i==e.POST_OBJ)?r=i:i==e.POST_OBJ&&n=="."?r=e.PRE_SUBJECT:r=e.ERROR,_.location=r}return{startState:function(){return{location:e.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(_,n){var i=_.next();if(i=="<"){I(n,i);var r="";return _.eatWhile(function(R){return R!="#"&&R!=">"?(r+=R,!0):!1}),n.uris.push(r),_.match("#",!1)||(_.next(),I(n,">")),"variable"}if(i=="#"){var u="";return _.eatWhile(function(R){return R!=">"&&R!=" "?(u+=R,!0):!1}),n.anchors.push(u),"variable-2"}if(i==">")return I(n,">"),"variable";if(i=="_"){I(n,i);var T="";return _.eatWhile(function(R){return R!=" "?(T+=R,!0):!1}),n.bnodes.push(T),_.next(),I(n," "),"builtin"}if(i=='"')return I(n,i),_.eatWhile(function(R){return R!='"'}),_.next(),_.peek()!="@"&&_.peek()!="^"&&I(n,'"'),"string";if(i=="@"){I(n,"@");var E="";return _.eatWhile(function(R){return R!=" "?(E+=R,!0):!1}),n.langs.push(E),_.next(),I(n," "),"string-2"}if(i=="^"){_.next(),I(n,"^");var o="";return _.eatWhile(function(R){return R!=">"?(o+=R,!0):!1}),n.types.push(o),_.next(),I(n,">"),"variable"}i==" "&&I(n,i),i=="."&&I(n,i)}}}),f.defineMIME("application/n-triples","ntriples"),f.defineMIME("application/n-quads","ntriples"),f.defineMIME("text/n-triples","ntriples")})})();const W=P({__proto__:null,default:O},[O]);export{W as n};
