Is there a way to extract the array "o" that contains data used for drawing a polygon? Simply using driver.execute("return o")
or console.log doesn't seem to work. Any suggestions on how to achieve this?
const zt = function(e, t, n, r) {
const i = r.playerId
, {subscribe: a} = de.get(r.playerId)
, o = r.hotspots
, s = Ce(`#${f}skin_desktop .${f}svg_hotspots`)
, l = 100;
let d = null
, c = "";
if (!s || o.data.length <= 2)
return;
const {is: p, browser: u} = H.get()
, g = p.ie || p.edge && u.version <= 18;
o.data.splice(0, 2);
const m = o.data.length
, h = 1e3 / (m - 1)
, _ = Math.max.apply(null, o.data) / l
, v = (s.firstChild || s.content.firstChild).cloneNode(!0);
v.getElementsByTagName("clipPath")[0].setAttribute("id", i + "_hotspotsClip"),
v.getElementsByTagName("g")[0].setAttribute("clip-path", "url(#" + i + "_hotspotsClip)"),
n.appendChild(v),
d = Ce(t.polygon);
const b = Ce(t.container)
, y = Ce(t.progress);
y.setAttribute("fill", o.chartColor),
b.style.height = o.chartHeight;
for (let f = 0; f < m; f++) {
const e = parseInt(o.data[f], 10);
c += h * f + "," + (l - Math.floor(e / _)) + " "
}
function A() {
St(b, "visible")
}.....