!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Mexp=t():e.Mexp=t()}(self,(function(){return e={28:(e,t,o)=>{var n=o(733);n.prototype.formulaEval=function(){"use strict";for(var e,t,o,n=[],a=this.value,p=0;p"+t.value+""+a[p].show+""+e.value+"",type:10}):n.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+""+e.value+"",type:1})):2===a[p].type||9===a[p].type?(e=n.pop(),t=n.pop(),n.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+a[p].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:a[p].type})):12===a[p].type&&(e=n.pop(),t=n.pop(),o=n.pop(),n.push({value:a[p].show+"("+o.value+","+t.value+","+e.value+")",type:12}));return n[0].value},e.exports=n},618:(e,t,o)=>{"use strict";var n=o(178);function a(e,t){for(var o=0;oy.length-2?y.length-1:e.length-s;o>0;o--)if(void 0!==y[o])for(a=0;a0&&o{"use strict";var t=function(e){this.value=e};t.math={isDegree:!0,acos:function(e){return t.math.isDegree?180/Math.PI*Math.acos(e):Math.acos(e)},add:function(e,t){return e+t},asin:function(e){return t.math.isDegree?180/Math.PI*Math.asin(e):Math.asin(e)},atan:function(e){return t.math.isDegree?180/Math.PI*Math.atan(e):Math.atan(e)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(e,o){var n=1,a=e-o,p=o;p{var n=o(618);n.prototype.toPostfix=function(){"use strict";for(var e,t,o,a,p,u=[],h=[{value:"(",type:4,pre:0}],s=this.value,r=1;ro)h.push(e);else{for(;o>=a&&!l||l&&a{var n=o(477);n.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,o,a,p=[],u=this.value,h=void 0!==e.n,s=0;s1)throw new n.Exception("Uncaught Syntax error");return p[0].value>1e15?"Infinity":parseFloat(p[0].value.toFixed(15))},n.eval=function(e,t,o){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===o?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(o)},e.exports=n}},t={},o=function o(n){var a=t[n];if(void 0!==a)return a.exports;var p=t[n]={exports:{}};return e[n](p,p.exports,o),p.exports}(28),o;var e,t,o}));