import{g as J}from"./index-DWjGvHqQ.js";function Z(c,r){for(var a=0;a<r.length;a++){const n=r[a];if(typeof n!="string"&&!Array.isArray(n)){for(const e in n)if(e!=="default"&&!(e in c)){const s=Object.getOwnPropertyDescriptor(n,e);s&&Object.defineProperty(c,e,s.get?s:{enumerable:!0,get:()=>n[e]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var N,u;function V(){if(u)return N;u=1;function c(r){const a='\\s\\n\\[\\]\\(\\)\\"{}/;',n='\\s\\n\\[\\]\\(\\)\\"{};',e="(?<=^|["+a+"])",s="(?=$|["+a+"])",t="[^"+a+"]+",I={begin:e+t},i={className:"subst",begin:"\\^(\\(([0-9a-fA-F]+|del|tab)\\)|.)"},R={className:"char",begin:'#"',end:'"',contains:[i]},_={className:"string",illegal:"\\n",variants:[{begin:'"',end:'"'},{begin:'%"',end:'"'}],contains:[i]},p={className:"string",begin:"{",end:"}",contains:[i]},o={className:"string",begin:"%{",end:"}%"},l={className:"string",begin:"%%{",end:"}%%",contains:[o]},m={className:"string",begin:"%%%{",end:"}%%%",contains:[l,o]},A={className:"string",begin:"%%%%{",end:"}%%%%",contains:[m,l,o]},f={className:"string",begin:"<",end:">",illegal:"\\n"},T={className:"string",begin:"%[^\\s\\n\\[\\]\\(\\)]+"},M={className:"string",begin:"[^\\s\\n:/\\[\\]\\(\\)]+@[^\\s\\n:/\\[\\]\\(\\)]+"},L={className:"string",begin:e+"[^"+n+":\\d]+:[^"+n+"]+"},b={className:"doctag",begin:";[-@].*",illegal:"\\n"},g={className:"comment",begin:";.*",illegal:"\\n"},O={className:"doctag",begin:/^(>>|red>>)/},D={className:"doctag",begin:/^[\*]{2}[\*]*\s/,end:/\n/},h={className:"regexp",begin:/(\[|\]|\(|\))+|\#\(|\#\[|\|/},y={className:"string",begin:"\\s*(([01]\\s*){8})+"},v={className:"string",begin:"\\s*([0-9a-fA-F]{2,2}\\s*)+"},B={className:"string",begin:"64#\\{[0-9a-zA-Z+/=\\s]*\\}"},x={className:"string",begin:"(16)?#\\{",end:"\\}",contains:[b,g,v]},S={className:"string",begin:"2#\\{",end:"\\}",contains:[b,g,y]},j={className:"number",variants:[{begin:"(0|16)#[0-9a-fA-F]+"},{begin:"2#[01]+"},{begin:"8#[0-7]+"},{begin:"10#[0-9]+"}]},d="[-+]?(1\\.#INF|1\\.#NaN)|[-+]?(?:\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?",P={className:"number",begin:"\\b"+d},U={className:"number",begin:"[+-]?([a-zA-Z]{3})?\\$[-+]?(?:\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?"},C={className:"number",begin:"("+d+")x("+d+")"},k={className:"number",begin:"\\d{1,2}\\-([A-Za-z]{3}|January|Febuary|March|April|May|June|July|August|September|October|November|December)\\-\\d{4}(/\\d{1,2}[:]\\d{1,2}([:]\\d{1,2}(\\.\\d{1,5})?)?([+-]\\d{1,2}[:]\\d{1,2})?)?"},w={className:"number",begin:/([-+]?\d{0,5}([:]\d{1,9}){1,2}([.,]\d{0,9})?(am|pm)?)(?!\w)/},F={className:"number",begin:"(\\d{0,3}[.]\\d{0,3}[.]\\d{0,3})([.]\\d{1,3}){0,9}",contains:[{className:"emphasis",begin:/(\.\d{1,3})+/}]},W={className:"variable",begin:e+t+":"},G={className:"variable",begin:e+":"+t},Y={className:"section",begin:e+"'"+t},H={className:"section",begin:"[/@]"+t},q={className:"string",begin:"#"+t},z={className:"type",begin:e+t+"[!?]"+s},K={className:"operator",begin:e+"(==|!==|!=|<=|>=|=?|<>|<|>|>>|>>>|<<|\\+\\+|\\+|\\-\\-|\\-|=|\\*|%|&|\\/\\/|\\/|and|or|xor|!|not)"+s},X={className:"literal",begin:e+"(true|false|on|off|none)"+s},$={className:"keyword",begin:e+"(if|either|unless|any|all|quit|return|exit|continue|break|try|catch|throw|make|to|as|set|print|prin|probe|for|foreach|forall|forever|forskip|until|do|while|case|loop|repeat|switch|opt|some|thru|select|pick|poke|reverse|put|extend|append|repend|reduce|reform|rejoin|join|ajoin|copy|binary|transcode|reject|skip|end|load|read|write|open|close|query|head|tail|clear|insert|remove|find|enhex|dehex|debase|checksum|difference|union|intersect|exclude|unique|complement|charset|does|has|wrap|function|func|closure|context|object|module|bind|parse|wait)"+s};return{aliases:["rebol","red","red/system"],case_insensitive:!0,illegal:/(\/\*|\/\/)/,contains:[b,g,O,D,h,S,x,B,j,F,C,U,R,_,p,A,m,l,o,T,L,H,Y,W,G,K,f,M,z,k,w,q,X,$,{className:"number",begin:'\\b([0-9A-F]+)h(?=\\s|\\)|\\]|/|;|\\"|{\\[|\\(|$)'},P,I]}}return N=c,N}var E=V();const Q=J(E),ae=Z({__proto__:null,default:Q},[E]);export{ae as r};
