import{A as T}from"./index.f4d41e67.entry.js";function z(a,s){return s.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(u){if(u!=="default"&&!(u in a)){var f=Object.getOwnPropertyDescriptor(i,u);Object.defineProperty(a,u,f.get?f:{enumerable:!0,get:function(){return i[u]}})}})}),Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var d={exports:{}};(function(a,s){(function(i){i(T.exports)})(function(i){i.defineMode("yacas",function(u,f){function v(e){for(var r={},n=e.split(" "),o=0;o<n.length;++o)r[n[o]]=!0;return r}var b=v("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),h="(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)",c="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",m=new RegExp(h),g=new RegExp(c),y=new RegExp(c+"?_"+c),k=new RegExp(c+"\\s*\\(");function l(e,r){var n;if(n=e.next(),n==='"')return r.tokenize=x,r.tokenize(e,r);if(n==="/"){if(e.eat("*"))return r.tokenize=S,r.tokenize(e,r);if(e.eat("/"))return e.skipToEnd(),"comment"}e.backUp(1);var o=e.match(/^(\w+)\s*\(/,!1);o!==null&&b.hasOwnProperty(o[1])&&r.scopes.push("bodied");var t=p(r);if(t==="bodied"&&n==="["&&r.scopes.pop(),(n==="["||n==="{"||n==="(")&&r.scopes.push(n),t=p(r),(t==="["&&n==="]"||t==="{"&&n==="}"||t==="("&&n===")")&&r.scopes.pop(),n===";")for(;t==="bodied";)r.scopes.pop(),t=p(r);return e.match(/\d+ *#/,!0,!1)?"qualifier":e.match(m,!0,!1)?"number":e.match(y,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(k,!0,!1)?(e.backUp(1),"variable"):e.match(g,!0,!1)?"variable-2":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function x(e,r){for(var n,o=!1,t=!1;(n=e.next())!=null;){if(n==='"'&&!t){o=!0;break}t=!t&&n==="\\"}return o&&!t&&(r.tokenize=l),"string"}function S(e,r){for(var n,o;(o=e.next())!=null;){if(n==="*"&&o==="/"){r.tokenize=l;break}n=o}return"comment"}function p(e){var r=null;return e.scopes.length>0&&(r=e.scopes[e.scopes.length-1]),r}return{startState:function(){return{tokenize:l,scopes:[]}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},indent:function(e,r){if(e.tokenize!==l&&e.tokenize!==null)return i.Pass;var n=0;return(r==="]"||r==="];"||r==="}"||r==="};"||r===");")&&(n=-1),(e.scopes.length+n)*u.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),i.defineMIME("text/x-yacas",{name:"yacas"})})})();var w=d.exports,F=z({__proto__:null,default:w},[d.exports]);export{F as y};
