import{q as vr,p as fr}from"./index-DT8qTvyx.js";function lr(Q,q){for(var v=0;vo[r]})}}}return Object.freeze(Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"}))}var or={exports:{}};(function(Q,q){(function(o,r){Q.exports=r()})(vr,function(){return function(v){var o={};function r(e){if(o[e])return o[e].exports;var L=o[e]={exports:{},id:e,loaded:!1};return v[e].call(L.exports,L,L.exports,r),L.loaded=!0,L.exports}return r.m=v,r.c=o,r.p="",r(0)}([function(v,o,r){var e;e=(function(L){return{clustering:r(1),regression:r(5),statistics:r(6),histogram:r(15),transform:{regression:r(18),histogram:r(21),clustering:r(22)}}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.dataPreprocess,d=g.normalizeDimensions,l=r(3),n=r(4),m=l.size,E=l.sumOfColumn,t=l.sum,p=l.zeros,n=r(4),s=n.isNumber,u=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 P=0;PR&&(T.min=R),T.maxf?1:a0)i=h;else if(D<0)c=h+1;else return h+1}return c}function u(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:S,quantityExponent:d}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.dataPreprocess,d=g.normalizeDimensions,l={linear:function(t,p){for(var n=p.dimensions[0],s=p.dimensions[1],u=0,a=0,f=0,c=0,i=t.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(t,p){for(var n=0;nMath.abs(t[n][s])&&(s=u);for(var a=n;a=n;i--)t[i][c]-=t[i][n]/t[n][n]*t[n][c]}for(var h=new Array(p),D=t.length-1,u=t.length-2;u>=0;u--){for(var f=0,n=u+1;nm&&(m=l[E]);return m}return d}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(9);return function(S){var d=g(S);return d&&Math.sqrt(d)}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(4),S=g.isNumber,d=r(10);function l(m){var E=m.length;if(!E||E<2)return 0;if(m.length>=2){for(var t=d(m),p=0,n,s=0;s=1)return g[d-1];var l=(d-1)*S,m=Math.floor(l),E=g[m],t=g[m+1];return E+(t-E)*(l-m)}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(4),S=g.isNumber;function d(l){for(var m=1/0,E=0;E0?T[P-1]:T[P]-y===A?y:T[P]-A,C[P].x1=P50?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(n),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,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.getPrecision;return function(d,l,m,E){var t=arguments.length;t<2?(l=d,d=0,m=1):t<3?m=1:t<4?(m=+m,E=S(m)):E=+E;for(var p=Math.ceil(((l-d)/m).toFixed(E)),n=new Array(p+1),s=0;s=Math.sqrt(50)?t*=10:p>=Math.sqrt(10)?t*=5:p>=Math.sqrt(2)&&(t*=2);var n=E<0?-E:0,s=+(d>=S?t:-t).toFixed(n);return{step:s,toFixedPrecision:n}}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(5),S=r(19),d=2;return{type:"ecStat:regression",transform:function(m){var E=m.upstream,t=m.config||{},p=t.method||"linear",n=g(p,E.cloneRawData(),{order:t.order,dimensions:S.normalizeExistingDimensions(m,t.dimensions)}),s=n.points,u=t.formulaOn;u==null&&(u="end");var a;if(u!=="none"){for(var f=0;f