@guihz/trading-vue-editor-tes 0.1.78 → 0.1.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10142,11 +10142,9 @@ Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
|
10142
10142
|
return k(e) ? NaN : Math.sqrt(e);
|
|
10143
10143
|
}
|
|
10144
10144
|
sum({ source: e, length: t = 1 }, r) {
|
|
10145
|
-
let i = this._mathCacheDataLoc[`sum_${r}`];
|
|
10146
|
-
i || (i = []), i
|
|
10147
|
-
|
|
10148
|
-
if (!(s.length < t))
|
|
10149
|
-
return X0.sum(s.slice(-t));
|
|
10145
|
+
let { list: i, barIndex: s } = this._mathCacheDataLoc[`sum_${r}`] || { barIndex: -1 };
|
|
10146
|
+
if (i || (i = []), k(e) || (s === this._barIndex ? (i.pop(), i.push(e)) : s < this._barIndex && i.push(e)), i = i.slice(-t), this._mathCacheDataLoc[`sum_${r}`] = { list: i, barIndex: this._barIndex }, !(i.length < t))
|
|
10147
|
+
return X0.sum(i);
|
|
10150
10148
|
}
|
|
10151
10149
|
};
|
|
10152
10150
|
function Mc() {
|
|
@@ -23726,11 +23724,9 @@ ${u}`), u;
|
|
|
23726
23724
|
return k(e) ? NaN : Math.sqrt(e);
|
|
23727
23725
|
}
|
|
23728
23726
|
sum({ source: e, length: t = 1 }, r) {
|
|
23729
|
-
let i = this._mathCacheDataLoc[`sum_${r}`];
|
|
23730
|
-
i || (i = []), i
|
|
23731
|
-
|
|
23732
|
-
if (!(s.length < t))
|
|
23733
|
-
return X0.sum(s.slice(-t));
|
|
23727
|
+
let { list: i, barIndex: s } = this._mathCacheDataLoc[`sum_${r}`] || { barIndex: -1 };
|
|
23728
|
+
if (i || (i = []), k(e) || (s === this._barIndex ? (i.pop(), i.push(e)) : s < this._barIndex && i.push(e)), i = i.slice(-t), this._mathCacheDataLoc[`sum_${r}`] = { list: i, barIndex: this._barIndex }, !(i.length < t))
|
|
23729
|
+
return X0.sum(i);
|
|
23734
23730
|
}
|
|
23735
23731
|
todegrees({ radians: e }) {
|
|
23736
23732
|
return k(e) ? NaN : e * (180 / Math.PI);
|
|
@@ -28709,11 +28705,9 @@ ${u}`), u;
|
|
|
28709
28705
|
return k(e) ? NaN : Math.sqrt(e);
|
|
28710
28706
|
}
|
|
28711
28707
|
sum({ source: e, length: t = 1 }, r) {
|
|
28712
|
-
let i = this._cacheData[`sum_${r}`];
|
|
28713
|
-
i || (i = []), i
|
|
28714
|
-
|
|
28715
|
-
if (!(s.length < t))
|
|
28716
|
-
return X0.sum(s.slice(-t));
|
|
28708
|
+
let { list: i, barIndex: s } = this._cacheData[`sum_${r}`] || { barIndex: -1 };
|
|
28709
|
+
if (i || (i = []), k(e) || (s === this._barIndex ? (i.pop(), i.push(e)) : s < this._barIndex && i.push(e)), i = i.slice(-t), this._cacheData[`sum_${r}`] = { list: i, barIndex: this._barIndex }, !(i.length < t))
|
|
28710
|
+
return X0.sum(i);
|
|
28717
28711
|
}
|
|
28718
28712
|
todegrees({ radians: e }) {
|
|
28719
28713
|
return k(e) ? NaN : e * (180 / Math.PI);
|
|
@@ -39905,11 +39899,9 @@ ${u}`), u;
|
|
|
39905
39899
|
return k(e) ? NaN : Math.sqrt(e);
|
|
39906
39900
|
}
|
|
39907
39901
|
sum({ source: e, length: t = 1 }, r) {
|
|
39908
|
-
let i = this._cacheData[`sum_${r}`];
|
|
39909
|
-
i || (i = []), i
|
|
39910
|
-
|
|
39911
|
-
if (!(s.length < t))
|
|
39912
|
-
return X0.sum(s.slice(-t));
|
|
39902
|
+
let { list: i, barIndex: s } = this._cacheData[`sum_${r}`] || { barIndex: -1 };
|
|
39903
|
+
if (i || (i = []), k(e) || (s === this._barIndex ? (i.pop(), i.push(e)) : s < this._barIndex && i.push(e)), i = i.slice(-t), this._cacheData[`sum_${r}`] = { list: i, barIndex: this._barIndex }, !(i.length < t))
|
|
39904
|
+
return X0.sum(i);
|
|
39913
39905
|
}
|
|
39914
39906
|
todegrees({ radians: e }) {
|
|
39915
39907
|
return k(e) ? NaN : e * (180 / Math.PI);
|
|
@@ -15057,7 +15057,7 @@ function Kn(i, r, t) {
|
|
|
15057
15057
|
function x2() {
|
|
15058
15058
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
|
15059
15059
|
}
|
|
15060
|
-
const vd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
|
15060
|
+
const vd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-DI2VuASv.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run MineScript Server" });
|
|
15061
15061
|
vd.onerror = (i) => {
|
|
15062
15062
|
console.error(i);
|
|
15063
15063
|
};
|