import{A as k}from"./index.f4d41e67.entry.js";function E(f,c){return c.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(t){if(t!=="default"&&!(t in f)){var u=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(f,t,u.get?u:{enumerable:!0,get:function(){return r[t]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(f,c){(function(r){r(k.exports)})(function(r){r.defineMode("octave",function(){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var u=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),p=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),d=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),s=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),m=new RegExp("^((>>=)|(<<=))"),h=new RegExp("^[\\]\\)]"),g=new RegExp("^[_A-Za-z\xA1-\uFFFF][_A-Za-z0-9\xA1-\uFFFF]*"),v=t(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),x=t(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function a(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=i,"operator"):(n.tokenize=i,i(e,n))}function b(e,n){return e.match(/^.*%}/)?(n.tokenize=i,"comment"):(e.skipToEnd(),"comment")}function i(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=b,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=i,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(t(["nan","NaN","inf","Inf"])))return"number";var o=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return o?o[1]?"string":"string error":e.match(x)?"keyword":e.match(v)?"builtin":e.match(g)?"variable":e.match(u)||e.match(d)?"operator":e.match(p)||e.match(s)||e.match(m)?null:e.match(h)?(n.tokenize=a,null):(e.next(),"error")}return{startState:function(){return{tokenize:i}},token:function(e,n){var o=n.tokenize(e,n);return(o==="number"||o==="variable")&&(n.tokenize=a),o},lineComment:"%",fold:"indent"}}),r.defineMIME("text/x-octave","octave")})})();var w=l.exports,z=E({__proto__:null,default:w},[l.exports]);export{z as o};
