vue-data-ui-hq
Version:
A user-empowering data visualization Vue 3 components library for eloquent data storytelling
1,330 lines • 208 kB
JavaScript
import { _ as za } from "./jspdf.es.min-wYlldo1s.js";
var Ke = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function _o(a) {
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
}
var vt = function(a) {
return a && a.Math === Math && a;
}, V = (
// eslint-disable-next-line es/no-global-this -- safe
vt(typeof globalThis == "object" && globalThis) || vt(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
vt(typeof self == "object" && self) || vt(typeof Ke == "object" && Ke) || vt(typeof Ke == "object" && Ke) || // eslint-disable-next-line no-new-func -- fallback
/* @__PURE__ */ function() {
return this;
}() || Function("return this")()
), $t = {}, k = function(a) {
try {
return !!a();
} catch {
return !0;
}
}, $l = k, le = !$l(function() {
return Object.defineProperty({}, 1, { get: function() {
return 7;
} })[1] !== 7;
}), wl = k, mr = !wl(function() {
var a = (function() {
}).bind();
return typeof a != "function" || a.hasOwnProperty("prototype");
}), Cl = mr, Ut = Function.prototype.call, Y = Cl ? Ut.bind(Ut) : function() {
return Ut.apply(Ut, arguments);
}, Vo = {}, Do = {}.propertyIsEnumerable, ko = Object.getOwnPropertyDescriptor, Al = ko && !Do.call({ 1: 2 }, 1);
Vo.f = Al ? function(e) {
var t = ko(this, e);
return !!t && t.enumerable;
} : Do;
var Ti = function(a, e) {
return {
enumerable: !(a & 1),
configurable: !(a & 2),
writable: !(a & 4),
value: e
};
}, Lo = mr, Bo = Function.prototype, Ha = Bo.call, Pl = Lo && Bo.bind.bind(Ha, Ha), L = Lo ? Pl : function(a) {
return function() {
return Ha.apply(a, arguments);
};
}, jo = L, Rl = jo({}.toString), Nl = jo("".slice), Be = function(a) {
return Nl(Rl(a), 8, -1);
}, Il = L, Ml = k, _l = Be, Qr = Object, Vl = Il("".split), Fo = Ml(function() {
return !Qr("z").propertyIsEnumerable(0);
}) ? function(a) {
return _l(a) === "String" ? Vl(a, "") : Qr(a);
} : Qr, je = function(a) {
return a == null;
}, Dl = je, kl = TypeError, he = function(a) {
if (Dl(a)) throw new kl("Can't call method on " + a);
return a;
}, Ll = Fo, Bl = he, wt = function(a) {
return Ll(Bl(a));
}, Kr = typeof document == "object" && document.all, B = typeof Kr > "u" && Kr !== void 0 ? function(a) {
return typeof a == "function" || a === Kr;
} : function(a) {
return typeof a == "function";
}, jl = B, ve = function(a) {
return typeof a == "object" ? a !== null : jl(a);
}, Zr = V, Fl = B, Ul = function(a) {
return Fl(a) ? a : void 0;
}, Fe = function(a, e) {
return arguments.length < 2 ? Ul(Zr[a]) : Zr[a] && Zr[a][e];
}, Gl = L, br = Gl({}.isPrototypeOf), zl = V, dn = zl.navigator, pn = dn && dn.userAgent, Ct = pn ? String(pn) : "", Uo = V, Jr = Ct, yn = Uo.process, mn = Uo.Deno, bn = yn && yn.versions || mn && mn.version, xn = bn && bn.v8, ue, fr;
xn && (ue = xn.split("."), fr = ue[0] > 0 && ue[0] < 4 ? 1 : +(ue[0] + ue[1]));
!fr && Jr && (ue = Jr.match(/Edge\/(\d+)/), (!ue || ue[1] >= 74) && (ue = Jr.match(/Chrome\/(\d+)/), ue && (fr = +ue[1])));
var Oi = fr, Tn = Oi, Hl = k, Yl = V, Xl = Yl.String, Go = !!Object.getOwnPropertySymbols && !Hl(function() {
var a = Symbol("symbol detection");
return !Xl(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && Tn && Tn < 41;
}), Wl = Go, zo = Wl && !Symbol.sham && typeof Symbol.iterator == "symbol", ql = Fe, Ql = B, Kl = br, Zl = zo, Jl = Object, Ho = Zl ? function(a) {
return typeof a == "symbol";
} : function(a) {
var e = ql("Symbol");
return Ql(e) && Kl(e.prototype, Jl(a));
}, eh = String, xr = function(a) {
try {
return eh(a);
} catch {
return "Object";
}
}, th = B, rh = xr, ah = TypeError, Te = function(a) {
if (th(a)) return a;
throw new ah(rh(a) + " is not a function");
}, ih = Te, nh = je, ot = function(a, e) {
var t = a[e];
return nh(t) ? void 0 : ih(t);
}, ea = Y, ta = B, ra = ve, sh = TypeError, oh = function(a, e) {
var t, r;
if (e === "string" && ta(t = a.toString) && !ra(r = ea(t, a)) || ta(t = a.valueOf) && !ra(r = ea(t, a)) || e !== "string" && ta(t = a.toString) && !ra(r = ea(t, a))) return r;
throw new sh("Can't convert object to primitive value");
}, Yo = { exports: {} }, On = V, uh = Object.defineProperty, Si = function(a, e) {
try {
uh(On, a, { value: e, configurable: !0, writable: !0 });
} catch {
On[a] = e;
}
return e;
}, lh = V, hh = Si, Sn = "__core-js_shared__", En = Yo.exports = lh[Sn] || hh(Sn, {});
(En.versions || (En.versions = [])).push({
version: "3.39.0",
mode: "global",
copyright: "© 2014-2024 Denis Pushkarev (zloirock.ru)",
license: "https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",
source: "https://github.com/zloirock/core-js"
});
var Ei = Yo.exports, $n = Ei, $i = function(a, e) {
return $n[a] || ($n[a] = e || {});
}, vh = he, fh = Object, Tr = function(a) {
return fh(vh(a));
}, ch = L, gh = Tr, dh = ch({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
return dh(gh(e), t);
}, ph = L, yh = 0, mh = Math.random(), bh = ph(1 .toString), Xo = function(a) {
return "Symbol(" + (a === void 0 ? "" : a) + ")_" + bh(++yh + mh, 36);
}, xh = V, Th = $i, wn = fe, Oh = Xo, Sh = Go, Eh = zo, Ze = xh.Symbol, aa = Th("wks"), $h = Eh ? Ze.for || Ze : Ze && Ze.withoutSetter || Oh, z = function(a) {
return wn(aa, a) || (aa[a] = Sh && wn(Ze, a) ? Ze[a] : $h("Symbol." + a)), aa[a];
}, wh = Y, Cn = ve, An = Ho, Ch = ot, Ah = oh, Ph = z, Rh = TypeError, Nh = Ph("toPrimitive"), Ih = function(a, e) {
if (!Cn(a) || An(a)) return a;
var t = Ch(a, Nh), r;
if (t) {
if (e === void 0 && (e = "default"), r = wh(t, a, e), !Cn(r) || An(r)) return r;
throw new Rh("Can't convert object to primitive value");
}
return e === void 0 && (e = "number"), Ah(a, e);
}, Mh = Ih, _h = Ho, Wo = function(a) {
var e = Mh(a, "string");
return _h(e) ? e : e + "";
}, Vh = V, Pn = ve, Ya = Vh.document, Dh = Pn(Ya) && Pn(Ya.createElement), Or = function(a) {
return Dh ? Ya.createElement(a) : {};
}, kh = le, Lh = k, Bh = Or, qo = !kh && !Lh(function() {
return Object.defineProperty(Bh("div"), "a", {
get: function() {
return 7;
}
}).a !== 7;
}), jh = le, Fh = Y, Uh = Vo, Gh = Ti, zh = wt, Hh = Wo, Yh = fe, Xh = qo, Rn = Object.getOwnPropertyDescriptor;
$t.f = jh ? Rn : function(e, t) {
if (e = zh(e), t = Hh(t), Xh) try {
return Rn(e, t);
} catch {
}
if (Yh(e, t)) return Gh(!Fh(Uh.f, e, t), e[t]);
};
var Oe = {}, Wh = le, qh = k, Qo = Wh && qh(function() {
return Object.defineProperty(function() {
}, "prototype", {
value: 42,
writable: !1
}).prototype !== 42;
}), Qh = ve, Kh = String, Zh = TypeError, J = function(a) {
if (Qh(a)) return a;
throw new Zh(Kh(a) + " is not an object");
}, Jh = le, ev = qo, tv = Qo, Gt = J, Nn = Wo, rv = TypeError, ia = Object.defineProperty, av = Object.getOwnPropertyDescriptor, na = "enumerable", sa = "configurable", oa = "writable";
Oe.f = Jh ? tv ? function(e, t, r) {
if (Gt(e), t = Nn(t), Gt(r), typeof e == "function" && t === "prototype" && "value" in r && oa in r && !r[oa]) {
var i = av(e, t);
i && i[oa] && (e[t] = r.value, r = {
configurable: sa in r ? r[sa] : i[sa],
enumerable: na in r ? r[na] : i[na],
writable: !1
});
}
return ia(e, t, r);
} : ia : function(e, t, r) {
if (Gt(e), t = Nn(t), Gt(r), ev) try {
return ia(e, t, r);
} catch {
}
if ("get" in r || "set" in r) throw new rv("Accessors not supported");
return "value" in r && (e[t] = r.value), e;
};
var iv = le, nv = Oe, sv = Ti, At = iv ? function(a, e, t) {
return nv.f(a, e, sv(1, t));
} : function(a, e, t) {
return a[e] = t, a;
}, Ko = { exports: {} }, Xa = le, ov = fe, Zo = Function.prototype, uv = Xa && Object.getOwnPropertyDescriptor, wi = ov(Zo, "name"), lv = wi && (function() {
}).name === "something", hv = wi && (!Xa || Xa && uv(Zo, "name").configurable), Sr = {
EXISTS: wi,
PROPER: lv,
CONFIGURABLE: hv
}, vv = L, fv = B, Wa = Ei, cv = vv(Function.toString);
fv(Wa.inspectSource) || (Wa.inspectSource = function(a) {
return cv(a);
});
var Ci = Wa.inspectSource, gv = V, dv = B, In = gv.WeakMap, pv = dv(In) && /native code/.test(String(In)), yv = $i, mv = Xo, Mn = yv("keys"), Ai = function(a) {
return Mn[a] || (Mn[a] = mv(a));
}, Pi = {}, bv = pv, Jo = V, xv = ve, Tv = At, ua = fe, la = Ei, Ov = Ai, Sv = Pi, _n = "Object already initialized", qa = Jo.TypeError, Ev = Jo.WeakMap, cr, Ot, gr, $v = function(a) {
return gr(a) ? Ot(a) : cr(a, {});
}, wv = function(a) {
return function(e) {
var t;
if (!xv(e) || (t = Ot(e)).type !== a)
throw new qa("Incompatible receiver, " + a + " required");
return t;
};
};
if (bv || la.state) {
var de = la.state || (la.state = new Ev());
de.get = de.get, de.has = de.has, de.set = de.set, cr = function(a, e) {
if (de.has(a)) throw new qa(_n);
return e.facade = a, de.set(a, e), e;
}, Ot = function(a) {
return de.get(a) || {};
}, gr = function(a) {
return de.has(a);
};
} else {
var Ye = Ov("state");
Sv[Ye] = !0, cr = function(a, e) {
if (ua(a, Ye)) throw new qa(_n);
return e.facade = a, Tv(a, Ye, e), e;
}, Ot = function(a) {
return ua(a, Ye) ? a[Ye] : {};
}, gr = function(a) {
return ua(a, Ye);
};
}
var Er = {
set: cr,
get: Ot,
has: gr,
enforce: $v,
getterFor: wv
}, Ri = L, Cv = k, Av = B, zt = fe, Qa = le, Pv = Sr.CONFIGURABLE, Rv = Ci, eu = Er, Nv = eu.enforce, Iv = eu.get, Vn = String, sr = Object.defineProperty, Mv = Ri("".slice), _v = Ri("".replace), Vv = Ri([].join), Dv = Qa && !Cv(function() {
return sr(function() {
}, "length", { value: 8 }).length !== 8;
}), kv = String(String).split("String"), Lv = Ko.exports = function(a, e, t) {
Mv(Vn(e), 0, 7) === "Symbol(" && (e = "[" + _v(Vn(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!zt(a, "name") || Pv && a.name !== e) && (Qa ? sr(a, "name", { value: e, configurable: !0 }) : a.name = e), Dv && t && zt(t, "arity") && a.length !== t.arity && sr(a, "length", { value: t.arity });
try {
t && zt(t, "constructor") && t.constructor ? Qa && sr(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
} catch {
}
var r = Nv(a);
return zt(r, "source") || (r.source = Vv(kv, typeof e == "string" ? e : "")), a;
};
Function.prototype.toString = Lv(function() {
return Av(this) && Iv(this).source || Rv(this);
}, "toString");
var tu = Ko.exports, Bv = B, jv = Oe, Fv = tu, Uv = Si, Ue = function(a, e, t, r) {
r || (r = {});
var i = r.enumerable, n = r.name !== void 0 ? r.name : e;
if (Bv(t) && Fv(t, n, r), r.global)
i ? a[e] = t : Uv(e, t);
else {
try {
r.unsafe ? a[e] && (i = !0) : delete a[e];
} catch {
}
i ? a[e] = t : jv.f(a, e, {
value: t,
enumerable: !1,
configurable: !r.nonConfigurable,
writable: !r.nonWritable
});
}
return a;
}, ru = {}, Gv = Math.ceil, zv = Math.floor, Hv = Math.trunc || function(e) {
var t = +e;
return (t > 0 ? zv : Gv)(t);
}, Yv = Hv, $r = function(a) {
var e = +a;
return e !== e || e === 0 ? 0 : Yv(e);
}, Xv = $r, Wv = Math.max, qv = Math.min, Qv = function(a, e) {
var t = Xv(a);
return t < 0 ? Wv(t + e, 0) : qv(t, e);
}, Kv = $r, Zv = Math.min, ut = function(a) {
var e = Kv(a);
return e > 0 ? Zv(e, 9007199254740991) : 0;
}, Jv = ut, Ni = function(a) {
return Jv(a.length);
}, ef = wt, tf = Qv, rf = Ni, Dn = function(a) {
return function(e, t, r) {
var i = ef(e), n = rf(i);
if (n === 0) return !a && -1;
var o = tf(r, n), s;
if (a && t !== t) {
for (; n > o; )
if (s = i[o++], s !== s) return !0;
} else for (; n > o; o++)
if ((a || o in i) && i[o] === t) return a || o || 0;
return !a && -1;
};
}, au = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: Dn(!0),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: Dn(!1)
}, af = L, ha = fe, nf = wt, sf = au.indexOf, of = Pi, kn = af([].push), iu = function(a, e) {
var t = nf(a), r = 0, i = [], n;
for (n in t) !ha(of, n) && ha(t, n) && kn(i, n);
for (; e.length > r; ) ha(t, n = e[r++]) && (~sf(i, n) || kn(i, n));
return i;
}, Ii = [
"constructor",
"hasOwnProperty",
"isPrototypeOf",
"propertyIsEnumerable",
"toLocaleString",
"toString",
"valueOf"
], uf = iu, lf = Ii, hf = lf.concat("length", "prototype");
ru.f = Object.getOwnPropertyNames || function(e) {
return uf(e, hf);
};
var nu = {};
nu.f = Object.getOwnPropertySymbols;
var vf = Fe, ff = L, cf = ru, gf = nu, df = J, pf = ff([].concat), yf = vf("Reflect", "ownKeys") || function(e) {
var t = cf.f(df(e)), r = gf.f;
return r ? pf(t, r(e)) : t;
}, Ln = fe, mf = yf, bf = $t, xf = Oe, Tf = function(a, e, t) {
for (var r = mf(e), i = xf.f, n = bf.f, o = 0; o < r.length; o++) {
var s = r[o];
!Ln(a, s) && !(t && Ln(t, s)) && i(a, s, n(e, s));
}
}, Of = k, Sf = B, Ef = /#|\.prototype\./, Pt = function(a, e) {
var t = wf[$f(a)];
return t === Af ? !0 : t === Cf ? !1 : Sf(e) ? Of(e) : !!e;
}, $f = Pt.normalize = function(a) {
return String(a).replace(Ef, ".").toLowerCase();
}, wf = Pt.data = {}, Cf = Pt.NATIVE = "N", Af = Pt.POLYFILL = "P", su = Pt, Ht = V, Pf = $t.f, Rf = At, Nf = Ue, If = Si, Mf = Tf, _f = su, ee = function(a, e) {
var t = a.target, r = a.global, i = a.stat, n, o, s, u, l, h;
if (r ? o = Ht : i ? o = Ht[t] || If(t, {}) : o = Ht[t] && Ht[t].prototype, o) for (s in e) {
if (l = e[s], a.dontCallGetSet ? (h = Pf(o, s), u = h && h.value) : u = o[s], n = _f(r ? s : t + (i ? "." : "#") + s, a.forced), !n && u !== void 0) {
if (typeof l == typeof u) continue;
Mf(l, u);
}
(a.sham || u && u.sham) && Rf(l, "sham", !0), Nf(o, s, l, a);
}
}, ft = V, Vf = Ct, Df = Be, Yt = function(a) {
return Vf.slice(0, a.length) === a;
}, ou = function() {
return Yt("Bun/") ? "BUN" : Yt("Cloudflare-Workers") ? "CLOUDFLARE" : Yt("Deno/") ? "DENO" : Yt("Node.js/") ? "NODE" : ft.Bun && typeof Bun.version == "string" ? "BUN" : ft.Deno && typeof Deno.version == "object" ? "DENO" : Df(ft.process) === "process" ? "NODE" : ft.window && ft.document ? "BROWSER" : "REST";
}(), kf = ou, wr = kf === "NODE", Lf = L, Bf = Te, jf = function(a, e, t) {
try {
return Lf(Bf(Object.getOwnPropertyDescriptor(a, e)[t]));
} catch {
}
}, Ff = ve, Uf = function(a) {
return Ff(a) || a === null;
}, Gf = Uf, zf = String, Hf = TypeError, Yf = function(a) {
if (Gf(a)) return a;
throw new Hf("Can't set " + zf(a) + " as a prototype");
}, Xf = jf, Wf = ve, qf = he, Qf = Yf, uu = Object.setPrototypeOf || ("__proto__" in {} ? function() {
var a = !1, e = {}, t;
try {
t = Xf(Object.prototype, "__proto__", "set"), t(e, []), a = e instanceof Array;
} catch {
}
return function(i, n) {
return qf(i), Qf(n), Wf(i) && (a ? t(i, n) : i.__proto__ = n), i;
};
}() : void 0), Kf = Oe.f, Zf = fe, Jf = z, Bn = Jf("toStringTag"), Cr = function(a, e, t) {
a && !t && (a = a.prototype), a && !Zf(a, Bn) && Kf(a, Bn, { configurable: !0, value: e });
}, jn = tu, ec = Oe, tc = function(a, e, t) {
return t.get && jn(t.get, e, { getter: !0 }), t.set && jn(t.set, e, { setter: !0 }), ec.f(a, e, t);
}, rc = Fe, ac = tc, ic = z, nc = le, Fn = ic("species"), sc = function(a) {
var e = rc(a);
nc && e && !e[Fn] && ac(e, Fn, {
configurable: !0,
get: function() {
return this;
}
});
}, oc = br, uc = TypeError, lc = function(a, e) {
if (oc(e, a)) return a;
throw new uc("Incorrect invocation");
}, hc = z, vc = hc("toStringTag"), lu = {};
lu[vc] = "z";
var fc = String(lu) === "[object z]", cc = fc, gc = B, or = Be, dc = z, pc = dc("toStringTag"), yc = Object, mc = or(/* @__PURE__ */ function() {
return arguments;
}()) === "Arguments", bc = function(a, e) {
try {
return a[e];
} catch {
}
}, Mi = cc ? or : function(a) {
var e, t, r;
return a === void 0 ? "Undefined" : a === null ? "Null" : typeof (t = bc(e = yc(a), pc)) == "string" ? t : mc ? or(e) : (r = or(e)) === "Object" && gc(e.callee) ? "Arguments" : r;
}, xc = L, Tc = k, hu = B, Oc = Mi, Sc = Fe, Ec = Ci, vu = function() {
}, fu = Sc("Reflect", "construct"), _i = /^\s*(?:class|function)\b/, $c = xc(_i.exec), wc = !_i.test(vu), ct = function(e) {
if (!hu(e)) return !1;
try {
return fu(vu, [], e), !0;
} catch {
return !1;
}
}, cu = function(e) {
if (!hu(e)) return !1;
switch (Oc(e)) {
case "AsyncFunction":
case "GeneratorFunction":
case "AsyncGeneratorFunction":
return !1;
}
try {
return wc || !!$c(_i, Ec(e));
} catch {
return !0;
}
};
cu.sham = !0;
var Cc = !fu || Tc(function() {
var a;
return ct(ct.call) || !ct(Object) || !ct(function() {
a = !0;
}) || a;
}) ? cu : ct, Ac = Cc, Pc = xr, Rc = TypeError, Nc = function(a) {
if (Ac(a)) return a;
throw new Rc(Pc(a) + " is not a constructor");
}, Un = J, Ic = Nc, Mc = je, _c = z, Vc = _c("species"), gu = function(a, e) {
var t = Un(a).constructor, r;
return t === void 0 || Mc(r = Un(t)[Vc]) ? e : Ic(r);
}, Dc = mr, du = Function.prototype, Gn = du.apply, zn = du.call, pu = typeof Reflect == "object" && Reflect.apply || (Dc ? zn.bind(Gn) : function() {
return zn.apply(Gn, arguments);
}), kc = Be, Lc = L, Ar = function(a) {
if (kc(a) === "Function") return Lc(a);
}, Hn = Ar, Bc = Te, jc = mr, Fc = Hn(Hn.bind), Vi = function(a, e) {
return Bc(a), e === void 0 ? a : jc ? Fc(a, e) : function() {
return a.apply(e, arguments);
};
}, Uc = Fe, yu = Uc("document", "documentElement"), Gc = L, zc = Gc([].slice), Hc = TypeError, Yc = function(a, e) {
if (a < e) throw new Hc("Not enough arguments");
return a;
}, Xc = Ct, mu = /(?:ipad|iphone|ipod).*applewebkit/i.test(Xc), ae = V, Wc = pu, qc = Vi, Yn = B, Qc = fe, bu = k, Xn = yu, Kc = zc, Wn = Or, Zc = Yc, Jc = mu, eg = wr, Ka = ae.setImmediate, Za = ae.clearImmediate, tg = ae.process, va = ae.Dispatch, rg = ae.Function, qn = ae.MessageChannel, ag = ae.String, fa = 0, xt = {}, Qn = "onreadystatechange", St, Ie, ca, ga;
bu(function() {
St = ae.location;
});
var Di = function(a) {
if (Qc(xt, a)) {
var e = xt[a];
delete xt[a], e();
}
}, da = function(a) {
return function() {
Di(a);
};
}, Kn = function(a) {
Di(a.data);
}, Zn = function(a) {
ae.postMessage(ag(a), St.protocol + "//" + St.host);
};
(!Ka || !Za) && (Ka = function(e) {
Zc(arguments.length, 1);
var t = Yn(e) ? e : rg(e), r = Kc(arguments, 1);
return xt[++fa] = function() {
Wc(t, void 0, r);
}, Ie(fa), fa;
}, Za = function(e) {
delete xt[e];
}, eg ? Ie = function(a) {
tg.nextTick(da(a));
} : va && va.now ? Ie = function(a) {
va.now(da(a));
} : qn && !Jc ? (ca = new qn(), ga = ca.port2, ca.port1.onmessage = Kn, Ie = qc(ga.postMessage, ga)) : ae.addEventListener && Yn(ae.postMessage) && !ae.importScripts && St && St.protocol !== "file:" && !bu(Zn) ? (Ie = Zn, ae.addEventListener("message", Kn, !1)) : Qn in Wn("script") ? Ie = function(a) {
Xn.appendChild(Wn("script"))[Qn] = function() {
Xn.removeChild(this), Di(a);
};
} : Ie = function(a) {
setTimeout(da(a), 0);
});
var xu = {
set: Ka,
clear: Za
}, Jn = V, ig = le, ng = Object.getOwnPropertyDescriptor, sg = function(a) {
if (!ig) return Jn[a];
var e = ng(Jn, a);
return e && e.value;
}, Tu = function() {
this.head = null, this.tail = null;
};
Tu.prototype = {
add: function(a) {
var e = { item: a, next: null }, t = this.tail;
t ? t.next = e : this.head = e, this.tail = e;
},
get: function() {
var a = this.head;
if (a) {
var e = this.head = a.next;
return e === null && (this.tail = null), a.item;
}
}
};
var Ou = Tu, og = Ct, ug = /ipad|iphone|ipod/i.test(og) && typeof Pebble < "u", lg = Ct, hg = /web0s(?!.*chrome)/i.test(lg), it = V, vg = sg, es = Vi, pa = xu.set, fg = Ou, cg = mu, gg = ug, dg = hg, ya = wr, ts = it.MutationObserver || it.WebKitMutationObserver, rs = it.document, as = it.process, Xt = it.Promise, Ja = vg("queueMicrotask"), Xe, ma, ba, Wt, is;
if (!Ja) {
var qt = new fg(), Qt = function() {
var a, e;
for (ya && (a = as.domain) && a.exit(); e = qt.get(); ) try {
e();
} catch (t) {
throw qt.head && Xe(), t;
}
a && a.enter();
};
!cg && !ya && !dg && ts && rs ? (ma = !0, ba = rs.createTextNode(""), new ts(Qt).observe(ba, { characterData: !0 }), Xe = function() {
ba.data = ma = !ma;
}) : !gg && Xt && Xt.resolve ? (Wt = Xt.resolve(void 0), Wt.constructor = Xt, is = es(Wt.then, Wt), Xe = function() {
is(Qt);
}) : ya ? Xe = function() {
as.nextTick(Qt);
} : (pa = es(pa, it), Xe = function() {
pa(Qt);
}), Ja = function(a) {
qt.head || Xe(), qt.add(a);
};
}
var pg = Ja, yg = function(a, e) {
try {
arguments.length === 1 ? console.error(a) : console.error(a, e);
} catch {
}
}, ki = function(a) {
try {
return { error: !1, value: a() };
} catch (e) {
return { error: !0, value: e };
}
}, mg = V, Pr = mg.Promise, bg = V, Tt = Pr, xg = B, Tg = su, Og = Ci, Sg = z, ns = ou, xa = Oi;
Tt && Tt.prototype;
var Eg = Sg("species"), ei = !1, Su = xg(bg.PromiseRejectionEvent), $g = Tg("Promise", function() {
var a = Og(Tt), e = a !== String(Tt);
if (!e && xa === 66) return !0;
if (!xa || xa < 51 || !/native code/.test(a)) {
var t = new Tt(function(n) {
n(1);
}), r = function(n) {
n(function() {
}, function() {
});
}, i = t.constructor = {};
if (i[Eg] = r, ei = t.then(function() {
}) instanceof r, !ei) return !0;
}
return !e && (ns === "BROWSER" || ns === "DENO") && !Su;
}), Rt = {
CONSTRUCTOR: $g,
REJECTION_EVENT: Su,
SUBCLASSING: ei
}, lt = {}, ss = Te, wg = TypeError, Cg = function(a) {
var e, t;
this.promise = new a(function(r, i) {
if (e !== void 0 || t !== void 0) throw new wg("Bad Promise constructor");
e = r, t = i;
}), this.resolve = ss(e), this.reject = ss(t);
};
lt.f = function(a) {
return new Cg(a);
};
var Ag = ee, dr = wr, we = V, nt = Y, os = Ue, us = uu, Pg = Cr, Rg = sc, Ng = Te, ur = B, Ig = ve, Mg = lc, _g = gu, Eu = xu.set, Li = pg, Vg = yg, Dg = ki, kg = Ou, $u = Er, pr = Pr, Bi = Rt, wu = lt, Rr = "Promise", Cu = Bi.CONSTRUCTOR, Lg = Bi.REJECTION_EVENT, Bg = Bi.SUBCLASSING, Ta = $u.getterFor(Rr), jg = $u.set, Qe = pr && pr.prototype, De = pr, Kt = Qe, Au = we.TypeError, ti = we.document, ji = we.process, ri = wu.f, Fg = ri, Ug = !!(ti && ti.createEvent && we.dispatchEvent), Pu = "unhandledrejection", Gg = "rejectionhandled", ls = 0, Ru = 1, zg = 2, Fi = 1, Nu = 2, Zt, hs, Hg, vs, Iu = function(a) {
var e;
return Ig(a) && ur(e = a.then) ? e : !1;
}, Mu = function(a, e) {
var t = e.value, r = e.state === Ru, i = r ? a.ok : a.fail, n = a.resolve, o = a.reject, s = a.domain, u, l, h;
try {
i ? (r || (e.rejection === Nu && Xg(e), e.rejection = Fi), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Au("Promise-chain cycle")) : (l = Iu(u)) ? nt(l, u, n, o) : n(u)) : o(t);
} catch (f) {
s && !h && s.exit(), o(f);
}
}, _u = function(a, e) {
a.notified || (a.notified = !0, Li(function() {
for (var t = a.reactions, r; r = t.get(); )
Mu(r, a);
a.notified = !1, e && !a.rejection && Yg(a);
}));
}, Vu = function(a, e, t) {
var r, i;
Ug ? (r = ti.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), we.dispatchEvent(r)) : r = { promise: e, reason: t }, !Lg && (i = we["on" + a]) ? i(r) : a === Pu && Vg("Unhandled promise rejection", t);
}, Yg = function(a) {
nt(Eu, we, function() {
var e = a.facade, t = a.value, r = fs(a), i;
if (r && (i = Dg(function() {
dr ? ji.emit("unhandledRejection", t, e) : Vu(Pu, e, t);
}), a.rejection = dr || fs(a) ? Nu : Fi, i.error))
throw i.value;
});
}, fs = function(a) {
return a.rejection !== Fi && !a.parent;
}, Xg = function(a) {
nt(Eu, we, function() {
var e = a.facade;
dr ? ji.emit("rejectionHandled", e) : Vu(Gg, e, a.value);
});
}, Je = function(a, e, t) {
return function(r) {
a(e, r, t);
};
}, tt = function(a, e, t) {
a.done || (a.done = !0, t && (a = t), a.value = e, a.state = zg, _u(a, !0));
}, ai = function(a, e, t) {
if (!a.done) {
a.done = !0, t && (a = t);
try {
if (a.facade === e) throw new Au("Promise can't be resolved itself");
var r = Iu(e);
r ? Li(function() {
var i = { done: !1 };
try {
nt(
r,
e,
Je(ai, i, a),
Je(tt, i, a)
);
} catch (n) {
tt(i, n, a);
}
}) : (a.value = e, a.state = Ru, _u(a, !1));
} catch (i) {
tt({ done: !1 }, i, a);
}
}
};
if (Cu && (De = function(e) {
Mg(this, Kt), Ng(e), nt(Zt, this);
var t = Ta(this);
try {
e(Je(ai, t), Je(tt, t));
} catch (r) {
tt(t, r);
}
}, Kt = De.prototype, Zt = function(e) {
jg(this, {
type: Rr,
done: !1,
notified: !1,
parent: !1,
reactions: new kg(),
rejection: !1,
state: ls,
value: null
});
}, Zt.prototype = os(Kt, "then", function(e, t) {
var r = Ta(this), i = ri(_g(this, De));
return r.parent = !0, i.ok = ur(e) ? e : !0, i.fail = ur(t) && t, i.domain = dr ? ji.domain : void 0, r.state === ls ? r.reactions.add(i) : Li(function() {
Mu(i, r);
}), i.promise;
}), hs = function() {
var a = new Zt(), e = Ta(a);
this.promise = a, this.resolve = Je(ai, e), this.reject = Je(tt, e);
}, wu.f = ri = function(a) {
return a === De || a === Hg ? new hs(a) : Fg(a);
}, ur(pr) && Qe !== Object.prototype)) {
vs = Qe.then, Bg || os(Qe, "then", function(e, t) {
var r = this;
return new De(function(i, n) {
nt(vs, r, i, n);
}).then(e, t);
}, { unsafe: !0 });
try {
delete Qe.constructor;
} catch {
}
us && us(Qe, Kt);
}
Ag({ global: !0, constructor: !0, wrap: !0, forced: Cu }, {
Promise: De
});
Pg(De, Rr, !1);
Rg(Rr);
var Nt = {}, Wg = z, qg = Nt, Qg = Wg("iterator"), Kg = Array.prototype, Zg = function(a) {
return a !== void 0 && (qg.Array === a || Kg[Qg] === a);
}, Jg = Mi, cs = ot, ed = je, td = Nt, rd = z, ad = rd("iterator"), Du = function(a) {
if (!ed(a)) return cs(a, ad) || cs(a, "@@iterator") || td[Jg(a)];
}, id = Y, nd = Te, sd = J, od = xr, ud = Du, ld = TypeError, hd = function(a, e) {
var t = arguments.length < 2 ? ud(a) : e;
if (nd(t)) return sd(id(t, a));
throw new ld(od(a) + " is not iterable");
}, vd = Y, gs = J, fd = ot, cd = function(a, e, t) {
var r, i;
gs(a);
try {
if (r = fd(a, "return"), !r) {
if (e === "throw") throw t;
return t;
}
r = vd(r, a);
} catch (n) {
i = !0, r = n;
}
if (e === "throw") throw t;
if (i) throw r;
return gs(r), t;
}, gd = Vi, dd = Y, pd = J, yd = xr, md = Zg, bd = Ni, ds = br, xd = hd, Td = Du, ps = cd, Od = TypeError, lr = function(a, e) {
this.stopped = a, this.result = e;
}, ys = lr.prototype, ku = function(a, e, t) {
var r = t && t.that, i = !!(t && t.AS_ENTRIES), n = !!(t && t.IS_RECORD), o = !!(t && t.IS_ITERATOR), s = !!(t && t.INTERRUPTED), u = gd(e, r), l, h, f, c, v, d, g, p = function(x) {
return l && ps(l, "normal", x), new lr(!0, x);
}, y = function(x) {
return i ? (pd(x), s ? u(x[0], x[1], p) : u(x[0], x[1])) : s ? u(x, p) : u(x);
};
if (n)
l = a.iterator;
else if (o)
l = a;
else {
if (h = Td(a), !h) throw new Od(yd(a) + " is not iterable");
if (md(h)) {
for (f = 0, c = bd(a); c > f; f++)
if (v = y(a[f]), v && ds(ys, v)) return v;
return new lr(!1);
}
l = xd(a, h);
}
for (d = n ? a.next : l.next; !(g = dd(d, l)).done; ) {
try {
v = y(g.value);
} catch (x) {
ps(l, "throw", x);
}
if (typeof v == "object" && v && ds(ys, v)) return v;
}
return new lr(!1);
}, Sd = z, Lu = Sd("iterator"), Bu = !1;
try {
var Ed = 0, ms = {
next: function() {
return { done: !!Ed++ };
},
return: function() {
Bu = !0;
}
};
ms[Lu] = function() {
return this;
}, Array.from(ms, function() {
throw 2;
});
} catch {
}
var $d = function(a, e) {
try {
if (!e && !Bu) return !1;
} catch {
return !1;
}
var t = !1;
try {
var r = {};
r[Lu] = function() {
return {
next: function() {
return { done: t = !0 };
}
};
}, a(r);
} catch {
}
return t;
}, wd = Pr, Cd = $d, Ad = Rt.CONSTRUCTOR, ju = Ad || !Cd(function(a) {
wd.all(a).then(void 0, function() {
});
}), Pd = ee, Rd = Y, Nd = Te, Id = lt, Md = ki, _d = ku, Vd = ju;
Pd({ target: "Promise", stat: !0, forced: Vd }, {
all: function(e) {
var t = this, r = Id.f(t), i = r.resolve, n = r.reject, o = Md(function() {
var s = Nd(t.resolve), u = [], l = 0, h = 1;
_d(e, function(f) {
var c = l++, v = !1;
h++, Rd(s, t, f).then(function(d) {
v || (v = !0, u[c] = d, --h || i(u));
}, n);
}), --h || i(u);
});
return o.error && n(o.value), r.promise;
}
});
var Dd = ee, kd = Rt.CONSTRUCTOR, ii = Pr, Ld = Fe, Bd = B, jd = Ue, bs = ii && ii.prototype;
Dd({ target: "Promise", proto: !0, forced: kd, real: !0 }, {
catch: function(a) {
return this.then(void 0, a);
}
});
if (Bd(ii)) {
var xs = Ld("Promise").prototype.catch;
bs.catch !== xs && jd(bs, "catch", xs, { unsafe: !0 });
}
var Fd = ee, Ud = Y, Gd = Te, zd = lt, Hd = ki, Yd = ku, Xd = ju;
Fd({ target: "Promise", stat: !0, forced: Xd }, {
race: function(e) {
var t = this, r = zd.f(t), i = r.reject, n = Hd(function() {
var o = Gd(t.resolve);
Yd(e, function(s) {
Ud(o, t, s).then(r.resolve, i);
});
});
return n.error && i(n.value), r.promise;
}
});
var Wd = ee, qd = lt, Qd = Rt.CONSTRUCTOR;
Wd({ target: "Promise", stat: !0, forced: Qd }, {
reject: function(e) {
var t = qd.f(this), r = t.reject;
return r(e), t.promise;
}
});
var Kd = J, Zd = ve, Jd = lt, ep = function(a, e) {
if (Kd(a), Zd(e) && e.constructor === a) return e;
var t = Jd.f(a), r = t.resolve;
return r(e), t.promise;
}, tp = ee, rp = Fe, ap = Rt.CONSTRUCTOR, ip = ep;
rp("Promise");
tp({ target: "Promise", stat: !0, forced: ap }, {
resolve: function(e) {
return ip(this, e);
}
});
function Ts(a, e, t, r, i, n, o) {
try {
var s = a[n](o), u = s.value;
} catch (l) {
return void t(l);
}
s.done ? e(u) : Promise.resolve(u).then(r, i);
}
function xe(a) {
return function() {
var e = this, t = arguments;
return new Promise(function(r, i) {
var n = a.apply(e, t);
function o(u) {
Ts(n, r, i, o, s, "next", u);
}
function s(u) {
Ts(n, r, i, o, s, "throw", u);
}
o(void 0);
});
};
}
var np = Mi, sp = String, pe = function(a) {
if (np(a) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
return sp(a);
}, op = J, Fu = function() {
var a = op(this), e = "";
return a.hasIndices && (e += "d"), a.global && (e += "g"), a.ignoreCase && (e += "i"), a.multiline && (e += "m"), a.dotAll && (e += "s"), a.unicode && (e += "u"), a.unicodeSets && (e += "v"), a.sticky && (e += "y"), e;
}, Ui = k, up = V, Gi = up.RegExp, zi = Ui(function() {
var a = Gi("a", "y");
return a.lastIndex = 2, a.exec("abcd") !== null;
}), lp = zi || Ui(function() {
return !Gi("a", "y").sticky;
}), hp = zi || Ui(function() {
var a = Gi("^r", "gy");
return a.lastIndex = 2, a.exec("str") !== null;
}), Uu = {
BROKEN_CARET: hp,
MISSED_STICKY: lp,
UNSUPPORTED_Y: zi
}, Gu = {}, vp = iu, fp = Ii, cp = Object.keys || function(e) {
return vp(e, fp);
}, gp = le, dp = Qo, pp = Oe, yp = J, mp = wt, bp = cp;
Gu.f = gp && !dp ? Object.defineProperties : function(e, t) {
yp(e);
for (var r = mp(t), i = bp(t), n = i.length, o = 0, s; n > o; ) pp.f(e, s = i[o++], r[s]);
return e;
};
var xp = J, Tp = Gu, Os = Ii, Op = Pi, Sp = yu, Ep = Or, $p = Ai, Ss = ">", Es = "<", ni = "prototype", si = "script", zu = $p("IE_PROTO"), Oa = function() {
}, Hu = function(a) {
return Es + si + Ss + a + Es + "/" + si + Ss;
}, $s = function(a) {
a.write(Hu("")), a.close();
var e = a.parentWindow.Object;
return a = null, e;
}, wp = function() {
var a = Ep("iframe"), e = "java" + si + ":", t;
return a.style.display = "none", Sp.appendChild(a), a.src = String(e), t = a.contentWindow.document, t.open(), t.write(Hu("document.F=Object")), t.close(), t.F;
}, Jt, hr = function() {
try {
Jt = new ActiveXObject("htmlfile");
} catch {
}
hr = typeof document < "u" ? document.domain && Jt ? $s(Jt) : wp() : $s(Jt);
for (var a = Os.length; a--; ) delete hr[ni][Os[a]];
return hr();
};
Op[zu] = !0;
var Hi = Object.create || function(e, t) {
var r;
return e !== null ? (Oa[ni] = xp(e), r = new Oa(), Oa[ni] = null, r[zu] = e) : r = hr(), t === void 0 ? r : Tp.f(r, t);
}, Cp = k, Ap = V, Pp = Ap.RegExp, Rp = Cp(function() {
var a = Pp(".", "s");
return !(a.dotAll && a.test(`
`) && a.flags === "s");
}), Np = k, Ip = V, Mp = Ip.RegExp, _p = Np(function() {
var a = Mp("(?<a>b)", "g");
return a.exec("b").groups.a !== "b" || "b".replace(a, "$<a>c") !== "bc";
}), et = Y, Nr = L, Vp = pe, Dp = Fu, kp = Uu, Lp = $i, Bp = Hi, jp = Er.get, Fp = Rp, Up = _p, Gp = Lp("native-string-replace", String.prototype.replace), yr = RegExp.prototype.exec, oi = yr, zp = Nr("".charAt), Hp = Nr("".indexOf), Yp = Nr("".replace), Sa = Nr("".slice), ui = function() {
var a = /a/, e = /b*/g;
return et(yr, a, "a"), et(yr, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
}(), Yu = kp.BROKEN_CARET, li = /()??/.exec("")[1] !== void 0, Xp = ui || li || Yu || Fp || Up;
Xp && (oi = function(e) {
var t = this, r = jp(t), i = Vp(e), n = r.raw, o, s, u, l, h, f, c;
if (n)
return n.lastIndex = t.lastIndex, o = et(oi, n, i), t.lastIndex = n.lastIndex, o;
var v = r.groups, d = Yu && t.sticky, g = et(Dp, t), p = t.source, y = 0, x = i;
if (d && (g = Yp(g, "y", ""), Hp(g, "g") === -1 && (g += "g"), x = Sa(i, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && zp(i, t.lastIndex - 1) !== `
`) && (p = "(?: " + p + ")", x = " " + x, y++), s = new RegExp("^(?:" + p + ")", g)), li && (s = new RegExp("^" + p + "$(?!\\s)", g)), ui && (u = t.lastIndex), l = et(yr, d ? s : t, x), d ? l ? (l.input = Sa(l.input, y), l[0] = Sa(l[0], y), l.index = t.lastIndex, t.lastIndex += l[0].length) : t.lastIndex = 0 : ui && l && (t.lastIndex = t.global ? l.index + l[0].length : u), li && l && l.length > 1 && et(Gp, l[0], s, function() {
for (h = 1; h < arguments.length - 2; h++)
arguments[h] === void 0 && (l[h] = void 0);
}), l && v)
for (l.groups = f = Bp(null), h = 0; h < v.length; h++)
c = v[h], f[c[0]] = l[c[1]];
return l;
});
var Yi = oi, Wp = ee, ws = Yi;
Wp({ target: "RegExp", proto: !0, forced: /./.exec !== ws }, {
exec: ws
});
var Cs = Y, As = Ue, qp = Yi, Ps = k, Xu = z, Qp = At, Kp = Xu("species"), Ea = RegExp.prototype, Xi = function(a, e, t, r) {
var i = Xu(a), n = !Ps(function() {
var l = {};
return l[i] = function() {
return 7;
}, ""[a](l) !== 7;
}), o = n && !Ps(function() {
var l = !1, h = /a/;
return a === "split" && (h = {}, h.constructor = {}, h.constructor[Kp] = function() {
return h;
}, h.flags = "", h[i] = /./[i]), h.exec = function() {
return l = !0, null;
}, h[i](""), !l;
});
if (!n || !o || t) {
var s = /./[i], u = e(i, ""[a], function(l, h, f, c, v) {
var d = h.exec;
return d === qp || d === Ea.exec ? n && !v ? { done: !0, value: Cs(s, h, f, c) } : { done: !0, value: Cs(l, f, h, c) } : { done: !1 };
});
As(String.prototype, a, u[0]), As(Ea, i, u[1]);
}
r && Qp(Ea[i], "sham", !0);
}, Wi = L, Zp = $r, Jp = pe, ey = he, ty = Wi("".charAt), Rs = Wi("".charCodeAt), ry = Wi("".slice), Ns = function(a) {
return function(e, t) {
var r = Jp(ey(e)), i = Zp(t), n = r.length, o, s;
return i < 0 || i >= n ? a ? "" : void 0 : (o = Rs(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = Rs(r, i + 1)) < 56320 || s > 57343 ? a ? ty(r, i) : o : a ? ry(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
};
}, ay = {
// `String.prototype.codePointAt` method
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
codeAt: Ns(!1),
// `String.prototype.at` method
// https://github.com/mathiasbynens/String.prototype.at
charAt: Ns(!0)
}, iy = ay.charAt, qi = function(a, e, t) {
return e + (t ? iy(a, e).length : 1);
}, Is = Y, ny = J, sy = B, oy = Be, uy = Yi, ly = TypeError, Qi = function(a, e) {
var t = a.exec;
if (sy(t)) {
var r = Is(t, a, e);
return r !== null && ny(r), r;
}
if (oy(a) === "RegExp") return Is(uy, a, e);
throw new ly("RegExp#exec called on incompatible receiver");
}, hy = Y, vy = Xi, fy = J, cy = je, gy = ut, $a = pe, dy = he, py = ot, yy = qi, Ms = Qi;
vy("match", function(a, e, t) {
return [
// `String.prototype.match` method
// https://tc39.es/ecma262/#sec-string.prototype.match
function(i) {
var n = dy(this), o = cy(i) ? void 0 : py(i, a);
return o ? hy(o, i, n) : new RegExp(i)[a]($a(n));
},
// `RegExp.prototype[@@match]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@match
function(r) {
var i = fy(this), n = $a(r), o = t(e, i, n);
if (o.done) return o.value;
if (!i.global) return Ms(i, n);
var s = i.unicode;
i.lastIndex = 0;
for (var u = [], l = 0, h; (h = Ms(i, n)) !== null; ) {
var f = $a(h[0]);
u[l] = f, f === "" && (i.lastIndex = yy(n, gy(i.lastIndex), s)), l++;
}
return l === 0 ? null : u;
}
];
});
var Ki = L, my = Tr, by = Math.floor, wa = Ki("".charAt), xy = Ki("".replace), Ca = Ki("".slice), Ty = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, Oy = /\$([$&'`]|\d{1,2})/g, Sy = function(a, e, t, r, i, n) {
var o = t + a.length, s = r.length, u = Oy;
return i !== void 0 && (i = my(i), u = Ty), xy(n, u, function(l, h) {
var f;
switch (wa(h, 0)) {
case "$":
return "$";
case "&":
return a;
case "`":
return Ca(e, 0, t);
case "'":
return Ca(e, o);
case "<":
f = i[Ca(h, 1, -1)];
break;
default:
var c = +h;
if (c === 0) return l;
if (c > s) {
var v = by(c / 10);
return v === 0 ? l : v <= s ? r[v - 1] === void 0 ? wa(h, 1) : r[v - 1] + wa(h, 1) : l;
}
f = r[c - 1];
}
return f === void 0 ? "" : f;
});
}, Ey = pu, _s = Y, Ir = L, $y = Xi, wy = k, Cy = J, Ay = B, Py = je, Ry = $r, Ny = ut, We = pe, Iy = he, My = qi, _y = ot, Vy = Sy, Dy = Qi, ky = z, hi = ky("replace"), Ly = Math.max, By = Math.min, jy = Ir([].concat), Aa = Ir([].push), Vs = Ir("".indexOf), Ds = Ir("".slice), Fy = function(a) {
return a === void 0 ? a : String(a);
}, Uy = function() {
return "a".replace(/./, "$0") === "$0";
}(), ks = function() {
return /./[hi] ? /./[hi]("a", "$0") === "" : !1;
}(), Gy = !wy(function() {
var a = /./;
return a.exec = function() {
var e = [];
return e.groups = { a: "7" }, e;
}, "".replace(a, "$<a>") !== "7";
});
$y("replace", function(a, e, t) {
var r = ks ? "$" : "$0";
return [
// `String.prototype.replace` method
// https://tc39.es/ecma262/#sec-string.prototype.replace
function(n, o) {
var s = Iy(this), u = Py(n) ? void 0 : _y(n, hi);
return u ? _s(u, n, s, o) : _s(e, We(s), n, o);
},
// `RegExp.prototype[@@replace]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
function(i, n) {
var o = Cy(this), s = We(i);
if (typeof n == "string" && Vs(n, r) === -1 && Vs(n, "$<") === -1) {
var u = t(e, o, s, n);
if (u.done) return u.value;
}
var l = Ay(n);
l || (n = We(n));
var h = o.global, f;
h && (f = o.unicode, o.lastIndex = 0);
for (var c = [], v; v = Dy(o, s), !(v === null || (Aa(c, v), !h)); ) {
var d = We(v[0]);
d === "" && (o.lastIndex = My(s, Ny(o.lastIndex), f));
}
for (var g = "", p = 0, y = 0; y < c.length; y++) {
v = c[y];
for (var x = We(v[0]), b = Ly(By(Ry(v.index), s.length), 0), T = [], $, E = 1; E < v.length; E++) Aa(T, Fy(v[E]));
var O = v.groups;
if (l) {
var C = jy([x], T, b, s);
O !== void 0 && Aa(C, O), $ = We(Ey(n, void 0, C));
} else
$ = Vy(x, s, b, T, O, n);
b >= p && (g += Ds(s, p, b) + $, p = b + x.length);
}
return g + Ds(s, p);
}
];
}, !Gy || !Uy || ks);
var zy = ve, Hy = Be, Yy = z, Xy = Yy("match"), Wy = function(a) {
var e;
return zy(a) && ((e = a[Xy]) !== void 0 ? !!e : Hy(a) === "RegExp");
}, qy = Wy, Qy = TypeError, Zi = function(a) {
if (qy(a))
throw new Qy("The method doesn't accept regular expressions");
return a;
}, Ky = z, Zy = Ky("match"), Ji = function(a) {
var e = /./;
try {
"/./"[a](e);
} catch {
try {
return e[Zy] = !1, "/./"[a](e);
} catch {
}
}
return !1;
}, Jy = ee, em = Ar, tm = $t.f, rm = ut, Ls = pe, am = Zi, im = he, nm = Ji, sm = em("".slice), om = Math.min, Wu = nm("startsWith"), um = !Wu && !!function() {
var a = tm(String.prototype, "startsWith");
return a && !a.writable;
}();
Jy({ target: "String", proto: !0, forced: !um && !Wu }, {
startsWith: function(e) {
var t = Ls(im(this));
am(e);
var r = rm(om(arguments.length > 1 ? arguments[1] : void 0, t.length)), i = Ls(e);
return sm(t, r, r + i.length) === i;
}
});
var lm = z, hm = Hi, vm = Oe.f, vi = lm("unscopables"), fi = Array.prototype;
fi[vi] === void 0 && vm(fi, vi, {
configurable: !0,
value: hm(null)
});
var fm = function(a) {
fi[vi][a] = !0;
}, cm = k, gm = !cm(function() {
function a() {
}
return a.prototype.constructor = null, Object.getPrototypeOf(new a()) !== a.prototype;
}), dm = fe, pm = B, ym = Tr, mm = Ai, bm = gm, Bs = mm("IE_PROTO"), ci = Object, xm = ci.prototype, qu = bm ? ci.getPrototypeOf : function(a) {
var e = ym(a);
if (dm(e, Bs)) return e[Bs];
var t = e.constructor;
return pm(t) && e instanceof t ? t.prototype : e instanceof ci ? xm : null;
}, Tm = k, Om = B, Sm = ve, js = qu, Em = Ue, $m = z, gi = $m("iterator"), Qu = !1, ke, Pa, Ra;
[].keys && (Ra = [].keys(), "next" in Ra ? (Pa = js(js(Ra)), Pa !== Object.prototype && (ke = Pa)) : Qu = !0);
var wm = !Sm(ke) || Tm(function() {
var a = {};
return ke[gi].call(a) !== a;
});
wm && (ke = {});
Om(ke[gi]) || Em(ke, gi, function() {
return this;
});
var Ku = {
IteratorPrototype: ke,
BUGGY_SAFARI_ITERATORS: Qu
}, Cm = Ku.IteratorPrototype, Am = Hi, Pm = Ti, Rm = Cr, Nm = Nt, Im = function() {
return this;
}, Mm = function(a, e, t, r) {
var i = e + " Iterator";
return a.prototype = Am(Cm, { next: Pm(+!r, t) }), Rm(a, i, !1), Nm[i] = Im, a;
}, _m = ee, Vm = Y, Zu = Sr, Dm = B, km = Mm, Fs = qu, Us = uu, Lm = Cr, Bm = At, Na = Ue, jm = z, Fm = Nt, Ju = Ku, Um = Zu.PROPER, Gm = Zu.CONFIGURABLE, Gs = Ju.IteratorPrototype, er = Ju.BUGGY_SAFARI_ITERATORS, gt = jm("iterator"), zs = "keys", dt = "values", Hs = "entries", zm = function() {
return this;
}, Hm = function(a, e, t, r, i, n, o) {
km(t, e, r);
var s = function(y) {
if (y === i && c) return c;
if (!er && y && y in h) return h[y];
switch (y) {
case zs:
return function() {
return new t(this, y);
};
case dt:
return function() {
return new t(this, y);
};
case Hs:
return function() {
return new t(this, y);
};
}
return function() {
return new t(this);
};
}, u = e + " Iterator", l = !1, h = a.prototype, f = h[gt] || h["@@iterator"] || i && h[i], c = !er && f || s(i), v = e === "Array" && h.entries || f, d, g, p;
if (v && (d = Fs(v.call(new a())), d !== Object.prototype && d.next && (Fs(d) !== Gs && (Us ? Us(d, Gs) : Dm(d[gt]) || Na(d, gt, zm)), Lm(d, u, !0))), Um && i === dt && f && f.name !== dt && (Gm ? Bm(h, "name", dt) : (l = !0, c = function() {
return Vm(f, this);
})), i)
if (g = {
values: s(dt),
keys: n ? c : s(zs),
entries: s(Hs)
}, o) for (p in g)
(er || l || !(p in h)) && Na(h, p, g[p]);
else _m({ target: e, proto: !0, forced: er || l }, g);
return h[gt] !== c && Na(h, gt, c, { name: i }), Fm[e] = c, g;
}, Ym = function(a, e) {
return { value: a, done: e };
}, Xm = wt, en = fm, Ys = Nt, el = Er, Wm = Oe.f, qm = Hm, tr = Ym, Qm = le, tl = "Array Iterator", Km = el.set, Zm = el.getterFor(tl), Jm = qm(Array, "Array", function(a, e) {
Km(this, {
type: tl,
target: Xm(a),
// target
index: 0,
// next index
kind: e
// kind
});
}, function() {
var a = Zm(this), e = a.target, t = a.index++;
if (!e || t >= e.length)
return a.target = null, tr(void 0, !0);
switch (a.kind) {
case "keys":
return tr(t, !1);
case "values":
return tr(e[t], !1);
}
return tr([t, e[t]], !1);
}, "values"), Xs = Ys.Arguments = Ys.Array;
en("keys");
en("values");
en("entries");
if (Qm && Xs.name !== "values") try {
Wm(Xs, "name", { value: "values" });
} catch {
}
var e0 = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
}, t0 = Or, Ia = t0("span").classList, Ws = Ia && Ia.constructor && Ia.constructor.prototype, r0 = Ws === Object.prototype ? void 0 : Ws, qs = V, rl = e0, a0 = r0, yt = Jm, Qs = At, i0 = Cr, n0 = z, Ma = n0("iterator"), _a = yt.values, al = function(a, e) {
if (a) {
if (a[Ma] !== _a) try {
Qs(a, Ma, _a);
} catch {
a[Ma] = _a;
}
if (i0(a, e, !0), rl[e]) {
for (var t in yt)
if (a[t] !== yt[t]) try {
Qs(a, t, yt[t]);
} catch {
a[t] = yt[t];
}
}
}
};
for (var Va in rl)
al(qs[Va] && qs[Va].prototype, Va);
al(a0, "DOMTokenList");
function s0(a, e) {
if (za(a) != "object" || !a) return a;
var t = a[Symbol.toPrimitive];
if (t !== void 0) {
var r = t.call(a, e || "default");
if (za(r) != "object") return r;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (e === "string" ? String : Number)(a);
}
function o0(a) {
var e = s0(a, "string");
return za(e) == "symbol" ? e : e + "";
}
function tn(a, e, t) {
return (e = o0(e)) in a ? Object.defineProperty(a, e, {
value: t,
enumerable: !0,
configurable: !0,
writable: !0
}) : a[e] = t, a;
}
var u0 = Te, l0 = Tr, h0 = Fo, v0 = Ni, Ks = TypeError, Zs = "Reduce of empty array with no initial value", Js = function(a) {
return function(e, t, r, i) {
var n = l0(e), o = h0(n), s = v0(n);
if (u0(t), s === 0 && r < 2) throw new Ks(Zs);
var u = a ? s - 1 : 0, l = a ? -1 : 1;
if (r < 2) for (; ; ) {
if (u in o) {
i = o[u], u += l;
break;
}
if (u += l, a ? u < 0 : s <= u)
throw new Ks(Zs);
}
for (; a ? u >= 0 : s > u; u += l) u in o && (i = t(i, o[u], u, n));
return i;
};
}, f0 = {
// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
left: Js(!1),
// `Array.prototype.reduceRight` method
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
right: Js(!0)
}, c0 = k, il = function(a, e) {
var t = [][a];
return !!t && c0(function() {
t.call(null, e || function() {
return 1;
}, 1);
});
}, g0 = ee, d0 = f0.left, p0 = il, eo = Oi, y0 = wr, m0 = !y0 && eo > 79 && eo < 83, b0 = m0 || !p0("reduce");
g0({ target: "Array", proto: !0, forced: b0 }, {
reduce: function(e) {
var t = arguments.length;
return d0(this, e, t, t > 1 ? arguments[1] : void 0);
}
});
var x0 = ee, T0 = Ar, O0 = $t.f, S0 = ut, to = pe, E0 = Zi, $0 = he, w0 = Ji, C0 = T0("".slice), A0 = Math.min, nl = w0("endsWith"), P0 = !nl && !!function() {
var a = O0(String.prototype, "endsWith");
return a && !a.writable;
}();
x0({ target: "String", proto: !0, forced: !P0 && !nl }, {
endsWith: function(e) {
var t = to($0(this));
E0(e);
var r = arguments.length > 1 ? arguments[1] : void 0, i = t.length, n = r === void 0 ? i : A0(S0(r), i), o = to(e);
return C0(t, n - o.length, n) === o;
}
});
var Da = Y, sl = L, R0 = Xi, N0 = J, I0 = je, M0 = he, _0 = gu, V0 = qi, D0 = ut, ro = pe, k0 = ot, ao = Qi, L0 = Uu, B0 = k, qe = L0.UNSUPPORTED_Y, j0 = 4294967295, F0 = Math.min, ka = sl([].push), La = sl("".slice), U0 = !B0(function() {
var a = /(?:)/, e = a.exec;
a.exec = function() {
return e.apply(this, arguments);
};
var t = "ab".split(a);
return t.length !== 2 || t[0] !== "a" || t[1] !== "b";
}), io = "abbc".split(/(b)*/)[1] === "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing
"test".split(/(?:)/, -1).length !== 4 || "ab".split(/(?:ab)*/).length !== 2 || ".".split(/(.?)(.?)/).length !== 4 || // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
".".split(/()()/).length > 1 || "".split(/.?/).length;
R0("split", function(a, e, t) {
var r = "0