import{P as vr}from"./index.d4616be0.js";function fr(Z,nr){return nr.forEach(function(s){s&&typeof s!="string"&&!Array.isArray(s)&&Object.keys(s).forEach(function(o){if(o!=="default"&&!(o in Z)){var n=Object.getOwnPropertyDescriptor(s,o);Object.defineProperty(Z,o,n.get?n:{enumerable:!0,get:function(){return s[o]}})}})}),Object.freeze(Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"}))}var sr={exports:{}};(function(Z,nr){(function(o,n){Z.exports=n()})(vr,function(){return function(s){var o={};function n(t){if(o[t])return o[t].exports;var L=o[t]={exports:{},id:t,loaded:!1};return s[t].call(L.exports,L,L.exports,n),L.loaded=!0,L.exports}return n.m=s,n.c=o,n.p="",n(0)}([function(s,o,n){var t;t=function(L){return{clustering:n(1),regression:n(5),statistics:n(6),histogram:n(15),transform:{regression:n(18),histogram:n(21),clustering:n(22)}}}.call(o,n,o,s),t!==void 0&&(s.exports=t)},function(s,o,n){var t;t=function(L){var g=n(2),P=g.dataPreprocess,d=g.normalizeDimensions,l=n(3),r=n(4),m=l.size,E=l.sumOfColumn,e=l.sum,p=l.zeros,r=n(4),u=r.isNumber,v=Math.pow,a={SINGLE:"single",MULTIPLE:"multiple"};function f(M,N,y){for(var F=p(M.length,2),I=D(N,z(M,y.dimensions)),A=!0,U,T,R,C;A;){A=!1;for(var S=0;SR&&(T.min=R),T.maxf?1:a0)i=h;else if(D<0)c=h+1;else return h+1}return c}function v(a,f,c){if(!!(a&&f)){if(a.map&&a.map===d)return a.map(f,c);for(var i=[],h=0,D=a.length;h=10&&m++,m}return{isNumber:g,isInteger:P,quantityExponent:d}}.call(o,n,o,s),t!==void 0&&(s.exports=t)},function(s,o,n){var t;t=function(L){var g=n(2),P=g.dataPreprocess,d=g.normalizeDimensions,l={linear:function(e,p){for(var r=p.dimensions[0],u=p.dimensions[1],v=0,a=0,f=0,c=0,i=e.length,h=0;h=0;i--)i>1?U+=Math.round(y[i]*Math.pow(10,i+1))/Math.pow(10,i+1)+"x^"+i+" + ":i===1?U+=Math.round(y[i]*100)/100+"x + ":U+=Math.round(y[i]*100)/100;return{points:F,parameter:y,expression:U}}};function m(e,p){for(var r=0;rMath.abs(e[r][u])&&(u=v);for(var a=r;a=r;i--)e[i][c]-=e[i][r]/e[r][r]*e[r][c]}for(var h=new Array(p),D=e.length-1,v=e.length-2;v>=0;v--){for(var f=0,r=v+1;rm&&(m=l[E]);return m}return d}.call(o,n,o,s),t!==void 0&&(s.exports=t)},function(s,o,n){var t;t=function(L){var g=n(9);return function(P){var d=g(P);return d&&Math.sqrt(d)}}.call(o,n,o,s),t!==void 0&&(s.exports=t)},function(s,o,n){var t;t=function(L){var g=n(4),P=g.isNumber,d=n(10);function l(m){var E=m.length;if(!E||E<2)return 0;if(m.length>=2){for(var e=d(m),p=0,r,u=0;u=1)return g[d-1];var l=(d-1)*P,m=Math.floor(l),E=g[m],e=g[m+1];return E+(e-E)*(l-m)}}.call(o,n,o,s),t!==void 0&&(s.exports=t)},function(s,o,n){var t;t=function(L){var g=n(4),P=g.isNumber;function d(l){for(var m=1/0,E=0;E0?T[S-1]:T[S]-y===A?y:T[S]-A,C[S].x1=S50?50:D},scott:function(h,D,x){return Math.ceil((x-D)/(3.5*l(h)*Math.pow(h.length,-1/3)))},freedmanDiaconis:function(h,D,x){return h.sort(r),Math.ceil((x-D)/(2*(d(h,.75)-d(h,.25))*Math.pow(h.length,-1/3)))},sturges:function(h){return Math.ceil(Math.log(h.length)/Math.LN2)+1}};return c}.call(o,n,o,s),t!==void 0&&(s.exports=t)},function(s,o,n){var t;t=function(L){var g=n(2),P=g.getPrecision;return function(d,l,m,E){var e=arguments.length;e<2?(l=d,d=0,m=1):e<3?m=1:e<4?(m=+m,E=P(m)):E=+E;for(var p=Math.ceil(((l-d)/m).toFixed(E)),r=new Array(p+1),u=0;u=Math.sqrt(50)?e*=10:p>=Math.sqrt(10)?e*=5:p>=Math.sqrt(2)&&(e*=2);var r=E<0?-E:0,u=+(d>=P?e:-e).toFixed(r);return{step:u,toFixedPrecision:r}}}.call(o,n,o,s),t!==void 0&&(s.exports=t)},function(s,o,n){var t;t=function(L){var g=n(5),P=n(19),d=2;return{type:"ecStat:regression",transform:function(m){var E=m.upstream,e=m.config||{},p=e.method||"linear",r=g(p,E.cloneRawData(),{order:e.order,dimensions:P.normalizeExistingDimensions(m,e.dimensions)}),u=r.points,v=e.formulaOn;v==null&&(v="end");var a;if(v!=="none"){for(var f=0;f