(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84069,e=>{"use strict";function t(e){return RegExp("^(("+e.join(")|(")+"))\\b")}var n=RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),r=RegExp("^[\\(\\[\\{\\},:=;\\.]"),i=RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),a=RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),o=RegExp("^((>>=)|(<<=))"),c=RegExp("^[\\]\\)]"),s=RegExp("^[_A-Za-z¡-][_A-Za-z0-9¡-]*"),m=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"]),l=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 u(e,t){return e.sol()||"'"!==e.peek()?(t.tokenize=p,p(e,t)):(e.next(),t.tokenize=p,"operator")}function f(e,t){return e.match(/^.*%}/)?t.tokenize=p:e.skipToEnd(),"comment"}function p(e,d){if(e.eatSpace())return null;if(e.match("%{"))return d.tokenize=f,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=p,"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 h=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return h?h[1]?"string":"error":e.match(l)?"keyword":e.match(m)?"builtin":e.match(s)?"variable":e.match(n)||e.match(i)?"operator":e.match(r)||e.match(a)||e.match(o)?null:e.match(c)?(d.tokenize=u,null):(e.next(),"error")}e.s(["octave",0,{name:"octave",startState:function(){return{tokenize:p}},token:function(e,t){var n=t.tokenize(e,t);return("number"===n||"variable"===n)&&(t.tokenize=u),n},languageData:{commentTokens:{line:"%"}}}])}]);