import{A as S}from"./index.f4d41e67.entry.js";function O(p,k){return k.forEach(function(l){l&&typeof l!="string"&&!Array.isArray(l)&&Object.keys(l).forEach(function(f){if(f!=="default"&&!(f in p)){var b=Object.getOwnPropertyDescriptor(l,f);Object.defineProperty(p,f,b.get?b:{enumerable:!0,get:function(){return l[f]}})}})}),Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var D={exports:{}};(function(p,k){(function(l){l(S.exports)})(function(l){function f(d,t){for(var r=0;r<d.length;r++)t(d[r],r)}function b(d,t){for(var r=0;r<d.length;r++)if(t(d[r],r))return!0;return!1}l.defineMode("dylan",function(d){var t={unnamedDefinition:["interface"],namedDefinition:["module","library","macro","C-struct","C-union","C-function","C-callable-wrapper"],typeParameterizedDefinition:["class","C-subtype","C-mapped-subtype"],otherParameterizedDefinition:["method","function","C-variable","C-address"],constantSimpleDefinition:["constant"],variableSimpleDefinition:["variable"],otherSimpleDefinition:["generic","domain","C-pointer-type","table"],statement:["if","block","begin","method","case","for","select","when","unless","until","while","iterate","profiling","dynamic-bind"],separator:["finally","exception","cleanup","else","elseif","afterwards"],other:["above","below","by","from","handler","in","instance","let","local","otherwise","slot","subclass","then","to","keyed-by","virtual"],signalingCalls:["signal","error","cerror","break","check-type","abort"]};t.otherDefinition=t.unnamedDefinition.concat(t.namedDefinition).concat(t.otherParameterizedDefinition),t.definition=t.typeParameterizedDefinition.concat(t.otherDefinition),t.parameterizedDefinition=t.typeParameterizedDefinition.concat(t.otherParameterizedDefinition),t.simpleDefinition=t.constantSimpleDefinition.concat(t.variableSimpleDefinition).concat(t.otherSimpleDefinition),t.keyword=t.statement.concat(t.separator).concat(t.other);var r="[-_a-zA-Z?!*@<>$%]+",C=new RegExp("^"+r),u={symbolKeyword:r+":",symbolClass:"<"+r+">",symbolGlobal:"\\*"+r+"\\*",symbolConstant:"\\$"+r},z={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"};for(var y in u)u.hasOwnProperty(y)&&(u[y]=new RegExp("^"+u[y]));u.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var s={};s.keyword="keyword",s.definition="def",s.simpleDefinition="def",s.signalingCalls="builtin";var v={},g={};f(["keyword","definition","simpleDefinition","signalingCalls"],function(e){f(t[e],function(i){v[i]=e,g[i]=s[e]})});function h(e,i,n){return i.tokenize=n,n(e,i)}function x(e,i){var n=e.peek();if(n=="'"||n=='"')return e.next(),h(e,i,m(n,"string"));if(n=="/"){if(e.next(),e.eat("*"))return h(e,i,P);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if(n=="#")return e.next(),n=e.peek(),n=='"'?(e.next(),h(e,i,m('"',"string"))):n=="b"?(e.next(),e.eatWhile(/[01]/),"number"):n=="x"?(e.next(),e.eatWhile(/[\da-f]/i),"number"):n=="o"?(e.next(),e.eatWhile(/[0-7]/),"number"):n=="#"?(e.next(),"punctuation"):n=="["||n=="("?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if(n=="~")return e.next(),n=e.peek(),n=="="?(e.next(),n=e.peek(),n=="="&&e.next(),"operator"):"operator";if(n==":"){if(e.next(),n=e.peek(),n=="=")return e.next(),"operator";if(n==":")return e.next(),"punctuation"}else{if("[](){}".indexOf(n)!=-1)return e.next(),"bracket";if(".,".indexOf(n)!=-1)return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var c in u)if(u.hasOwnProperty(c)){var o=u[c];if(o instanceof Array&&b(o,function(a){return e.match(a)})||e.match(o))return z[c]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),v.hasOwnProperty(e.current())?g[e.current()]:e.current().match(C)?"variable":(e.next(),"variable-2"))}function P(e,i){for(var n=!1,c=!1,o=0,a;a=e.next();){if(a=="/"&&n)if(o>0)o--;else{i.tokenize=x;break}else a=="*"&&c&&o++;n=a=="*",c=a=="/"}return"comment"}function m(e,i){return function(n,c){for(var o=!1,a,w=!1;(a=n.next())!=null;){if(a==e&&!o){w=!0;break}o=!o&&a=="\\"}return(w||!o)&&(c.tokenize=x),i}}return{startState:function(){return{tokenize:x,currentIndent:0}},token:function(e,i){if(e.eatSpace())return null;var n=i.tokenize(e,i);return n},blockCommentStart:"/*",blockCommentEnd:"*/"}}),l.defineMIME("text/x-dylan","dylan")})})();var E=D.exports,A=O({__proto__:null,default:E},[D.exports]);export{A as d};
