go-viee-fetch-Demo/public/static/js/index.js
2025-08-25 20:25:55 +08:00

2 lines
80 KiB
JavaScript

var g = (() => { function B(t, e, n) { e = V(e); var r = t, e = G() ? Reflect.construct(e, n || [], V(t).constructor) : e.apply(t, n); if (!e || "object" != typeof e && "function" != typeof e) { if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); if (void 0 === (e = r)) throw new ReferenceError("this hasn't been initialised - super() hasn't been called") } return e } function L(t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") } function _(t, e) { for (var n = 0; n < e.length; n++) { var r = e[n]; r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, (t => "symbol" == typeof (t = ((t, e) => { if ("object" != typeof t || !t) return t; var n = t[Symbol.toPrimitive]; if (void 0 === n) return ("string" === e ? String : Number)(t); if ("object" != typeof (n = n.call(t, e || "default"))) return n; throw new TypeError("@@toPrimitive must return a primitive value.") })(t, "string")) ? t : t + "")(r.key), r) } } function F(t, e, n) { return e && _(t.prototype, e), n && _(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t } function z() { return (z = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (t, e, n) { var r = ((t, e) => { for (; !{}.hasOwnProperty.call(t, e) && null !== (t = V(t));); return t })(t, e); if (r) return (r = Object.getOwnPropertyDescriptor(r, e)).get ? r.get.call(arguments.length < 3 ? t : n) : r.value }).apply(null, arguments) } function V(t) { return (V = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t) })(t) } function U(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && Y(t, e) } function G() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () { })) } catch (t) { } return (G = function () { return !!t })() } function Y(t, e) { return (Y = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t })(t, e) } function $(t, e, n, r) { var o = z(V(1 & r ? t.prototype : t), e, n); return 2 & r && "function" == typeof o ? function (t) { return o.apply(n, t) } : o } function H(t) { return t && t.Math === Math && t } function t(t) { try { return !!t() } catch (t) { return !0 } } function X(t, e) { return { enumerable: !(1 & t), configurable: !(2 & t), writable: !(4 & t), value: e } } function W(t) { return jt(Tt(t), 8, -1) } function Z(t) { return null == t } function K(t) { if (Nt(t)) throw new Bt("Can't call method on " + t); return t } function q(t) { return Lt(_t(t)) } function e(t) { return "object" == typeof t ? null !== t : zt(t) } function J(t, e) { return arguments.length < 2 ? (n = Vt[t], Ut(n) ? n : void 0) : Vt[t] && Vt[t][e]; var n } function Q(t) { try { return qt(t) } catch (t) { return "Object" } } function n(t) { if (Jt(t)) return t; throw new te(Qt(t) + " is not a function") } function tt(t, e) { return t = t[e], ne(t) ? void 0 : ee(t) } function et(e, n) { try { se(ce, e, { value: n, configurable: !0, writable: !0 }) } catch (t) { ce[e] = n } return n } function nt(t, e) { return ue[t] || (ue[t] = e || {}) } function rt(t) { return fe(le(t)) } function ot(t) { return "Symbol(" + (void 0 === t ? "" : t) + ")_" + ye(++pe + ve, 36) } function r(t) { return ge(we, t) || (we[t] = me && ge(be, t) ? be[t] : Pe("Symbol." + t)), we[t] } function it(t) { return t = Ce(t, "string"), Te(t) ? t : t + "" } function at(t) { return Re ? je.createElement(t) : {} } function o(t) { if (Ue(t)) return t; throw new Ye(Ge(t) + " is not an object") } function ct(t) { return an[t] || (an[t] = on(t)) } function st(t, e, n, r) { var o = (r = r || {}).enumerable, i = void 0 !== r.name ? r.name : e; if (On(n) && Cn(n, i, r), r.global) o ? t[e] = n : Tn(e, n); else { try { r.unsafe ? t[e] && (o = !0) : delete t[e] } catch (t) { } o ? t[e] = n : xn.f(t, e, { value: n, enumerable: !1, configurable: !r.nonConfigurable, writable: !r.nonWritable }) } return t } function ut(t) { return (t = +t) != t || 0 == t ? 0 : In(t) } function lt(t, e) { return (t = Mn(t)) < 0 ? Nn(t + e, 0) : Bn(t, e) } function ft(t) { return 0 < (t = Ln(t)) ? _n(t, 9007199254740991) : 0 } function dt(t) { return Fn(t.length) } function pt(c) { return function (t, e, n) { var r = zn(t), o = Un(r); if (0 !== o) { var i, a = Vn(n, o); if (c && e != e) { for (; a < o;)if ((i = r[a++]) != i) return !0 } else for (; a < o; a++)if ((c || a in r) && r[a] === e) return c || a || 0 } return !c && -1 } } function vt(t, e) { var n, r = Yn(t), o = 0, i = []; for (n in r) !Gn(Hn, n) && Gn(r, n) && Xn(i, n); for (; e.length > o;)!Gn(r, n = e[o++]) || ~$n(i, n) || Xn(i, n); return i } function yt(t, e) { return (t = ur[sr(t)]) === fr || t !== lr && (ar(e) ? ir(e) : !!e) } function i(t, e) { var n, r, o, i = t.target, a = t.global, c = t.stat, s = a ? hr : c ? hr[i] || yr(i, {}) : hr[i] && hr[i].prototype; if (s) for (n in e) { if (r = e[n], o = t.dontCallGetSet ? (o = dr(s, n)) && o.value : s[n], !mr(a ? n : i + (c ? "." : "#") + n, t.forced) && void 0 !== o) { if (typeof r == typeof o) continue; gr(r, o) } (t.sham || o && o.sham) && pr(r, "sham", !0), vr(s, n, r, t) } } function gt(t) { if ("Function" === br(t)) return wr(t) } function mt(t, e) { return Pr(t), void 0 === e ? t : Er ? Sr(t, e) : function () { return t.apply(e, arguments) } } function bt() { } function wt(t) { if (!jr(t)) return !1; try { return Mr(bt, [], t), !0 } catch (t) { return !1 } } function Pt(t) { if (!jr(t)) return !1; switch (Rr(t)) { case "AsyncFunction": case "GeneratorFunction": case "AsyncGeneratorFunction": return !1 }try { return Lr || !!Br(Nr, Ir(t)) } catch (t) { return !0 } } function Et(t, e) { return new (Gr(t))(0 === e ? 0 : e) } function St(h) { var d = 1 === h, p = 2 === h, v = 3 === h, y = 4 === h, g = 6 === h, m = 7 === h, b = 5 === h || g; return function (t, e, n, r) { for (var o, i, a = Hr(t), c = $r(a), s = Xr(c), u = Yr(e, n), l = 0, e = r || Wr, f = d ? e(t, s) : p || m ? e(t, 0) : void 0; l < s; l++)if ((b || l in c) && (i = u(o = c[l], l, a), h)) if (d) f[l] = i; else if (i) switch (h) { case 3: return !0; case 5: return o; case 6: return l; case 2: Zr(f, o) } else switch (h) { case 4: return !1; case 7: Zr(f, o) }return g ? -1 : v || y ? y : f } } var At, Dt, a, kt, c = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}, c = H("object" == typeof globalThis && globalThis) || H("object" == typeof window && window) || H("object" == typeof self && self) || H("object" == typeof c && c) || H("object" == typeof c && c) || function () { return this }() || Function("return this")(), s = {}, u = !t(function () { return 7 !== Object.defineProperty({}, 1, { get: function () { return 7 } })[1] }), l = !t(function () { var t = function () { }.bind(); return "function" != typeof t || t.hasOwnProperty("prototype") }), Ot = Function.prototype.call, f = l ? Ot.bind(Ot) : function () { return Ot.apply(Ot, arguments) }, h = {}, d = {}.propertyIsEnumerable, xt = Object.getOwnPropertyDescriptor, p = xt && !d.call({ 1: 2 }, 1), p = (h.f = p ? function (t) { t = xt(this, t); return !!t && t.enumerable } : d, l), Ct = (d = Function.prototype).call, d = p && d.bind.bind(Ct, Ct), Tt = (d = p = p ? d : function (t) { return function () { return Ct.apply(t, arguments) } })({}.toString), jt = d("".slice), d = t, Rt = W, It = Object, Mt = p("".split), d = d(function () { return !It("z").propertyIsEnumerable(0) }) ? function (t) { return "String" === Rt(t) ? Mt(t, "") : It(t) } : It, Nt = Z, Bt = TypeError, Lt = d, _t = K, Ft = "object" == typeof document && document.all, v = void 0 === Ft && void 0 !== Ft ? function (t) { return "function" == typeof t || t === Ft } : function (t) { return "function" == typeof t }, zt = v, Vt = c, Ut = v, Gt = p({}.isPrototypeOf), y = I = (I = (I = c.navigator) && I.userAgent) ? String(I) : "", Yt = c.process, g = c.Deno, g = (Yt = Yt && Yt.versions || g && g.version) && Yt.v8, $t = Yt = b = !(b = g ? 0 < (m = g.split("."))[0] && m[0] < 4 ? 1 : +(m[0] + m[1]) : b) && y && (!(m = y.match(/Edge\/(\d+)/)) || 74 <= m[1]) && (m = y.match(/Chrome\/(\d+)/)) ? +m[1] : b, g = t, Ht = c.String, m = (y = !!Object.getOwnPropertySymbols && !g(function () { var t = Symbol("symbol detection"); return !Ht(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && $t && $t < 41 })) && !Symbol.sham && "symbol" == typeof Symbol.iterator, Xt = J, Wt = v, Zt = Gt, Kt = Object, b = m ? function (t) { return "symbol" == typeof t } : function (t) { var e = Xt("Symbol"); return Wt(e) && Zt(e.prototype, Kt(t)) }, qt = String, Jt = v, Qt = Q, te = TypeError, ee = n, ne = Z, re = f, oe = v, ie = e, ae = TypeError, g = { exports: {} }, ce = c, se = Object.defineProperty, w = et, P = "__core-js_shared__", ue = (((w = g.exports = c[P] || w(P, {})).versions || (w.versions = [])).push({ version: "3.44.0", mode: "global", copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)", license: "https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE", source: "https://github.com/zloirock/core-js" }), g.exports), le = K, fe = Object, he = rt, de = p({}.hasOwnProperty), P = Object.hasOwn || function (t, e) { return de(he(t), e) }, w = p, pe = 0, ve = Math.random(), ye = w(1.1.toString), w = nt, ge = P, E = ot, me = y, y = m, be = c.Symbol, we = w("wks"), Pe = y ? be.for || be : be && be.withoutSetter || E, Ee = f, Se = e, Ae = b, De = tt, ke = function (t, e) { var n, r; if ("string" === e && oe(n = t.toString) && !ie(r = re(n, t))) return r; if (oe(n = t.valueOf) && !ie(r = re(n, t))) return r; if ("string" !== e && oe(n = t.toString) && !ie(r = re(n, t))) return r; throw new ae("Can't convert object to primitive value") }, Oe = TypeError, xe = r("toPrimitive"), Ce = function (t, e) { if (!Se(t) || Ae(t)) return t; var n = De(t, xe); if (n) { if (n = Ee(n, t, e = void 0 === e ? "default" : e), !Se(n) || Ae(n)) return n; throw new Oe("Can't convert object to primitive value") } return ke(t, e = void 0 === e ? "number" : e) }, Te = b, m = e, je = c.document, Re = m(je) && m(je.createElement), Ie = at, w = !u && !t(function () { return 7 !== Object.defineProperty(Ie("div"), "a", { get: function () { return 7 } }).a }), Me = f, Ne = h, Be = X, Le = q, _e = it, Fe = P, ze = w, Ve = Object.getOwnPropertyDescriptor, y = (s.f = u ? Ve : function (t, e) { if (t = Le(t), e = _e(e), ze) try { return Ve(t, e) } catch (t) { } if (Fe(t, e)) return Be(!Me(Ne.f, t, e), t[e]) }, {}), E = u && t(function () { return 42 !== Object.defineProperty(function () { }, "prototype", { value: 42, writable: !1 }).prototype }), Ue = e, Ge = String, Ye = TypeError, $e = w, He = o, Xe = it, We = TypeError, Ze = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, qe = "enumerable", Je = "configurable", Qe = "writable", b = (y.f = u ? E ? function (t, e, n) { var r; return He(t), e = Xe(e), He(n), "function" == typeof t && "prototype" === e && "value" in n && Qe in n && !n[Qe] && (r = Ke(t, e)) && r[Qe] && (t[e] = n.value, n = { configurable: (Je in n ? n : r)[Je], enumerable: (qe in n ? n : r)[qe], writable: !1 }), Ze(t, e, n) } : Ze : function (t, e, n) { if (He(t), e = Xe(e), He(n), $e) try { return Ze(t, e, n) } catch (t) { } if ("get" in n || "set" in n) throw new We("Accessors not supported"); return "value" in n && (t[e] = n.value), t }, u), tn = y, en = X, m = b ? function (t, e, n) { return tn.f(t, e, en(1, n)) } : function (t, e, n) { return t[e] = n, t }, w = { exports: {} }, b = u, nn = P, S = Function.prototype, A = b && Object.getOwnPropertyDescriptor, nn = { EXISTS: nn = nn(S, "name"), PROPER: nn && "something" === function () { }.name, CONFIGURABLE: nn && (!b || A(S, "name").configurable) }, b = p, A = v, S = g.exports, rn = b(Function.toString), b = (A(S.inspectSource) || (S.inspectSource = function (t) { return rn(t) }), S.inspectSource), A = v, S = c.WeakMap, A = A(S) && /native code/.test(String(S)), on = ot, an = nt("keys"), S = {}, cn = e, sn = m, un = P, g = g.exports, D = ct, k = S, ln = "Object already initialized", fn = c.TypeError, O = c.WeakMap, hn = A || g.state ? ((a = g.state || (g.state = new O)).get = a.get, a.has = a.has, a.set = a.set, At = function (t, e) { if (a.has(t)) throw new fn(ln); return e.facade = t, a.set(t, e), e }, Dt = function (t) { return a.get(t) || {} }, function (t) { return a.has(t) }) : (k[kt = D("state")] = !0, At = function (t, e) { if (un(t, kt)) throw new fn(ln); return e.facade = t, sn(t, kt, e), e }, Dt = function (t) { return un(t, kt) ? t[kt] : {} }, function (t) { return un(t, kt) }), A = { set: At, get: Dt, has: hn, enforce: function (t) { return hn(t) ? Dt(t) : At(t, {}) }, getterFor: function (e) { return function (t) { if (cn(t) && (t = Dt(t)).type === e) return t; throw new fn("Incompatible receiver, " + e + " required") } } }, g = p, O = t, dn = v, pn = P, vn = u, yn = nn.CONFIGURABLE, gn = b, mn = A.enforce, bn = A.get, wn = String, Pn = Object.defineProperty, En = g("".slice), Sn = g("".replace), An = g([].join), Dn = vn && !O(function () { return 8 !== Pn(function () { }, "length", { value: 8 }).length }), kn = String(String).split("String"), k = w.exports = function (t, e, n) { "Symbol(" === En(wn(e), 0, 7) && (e = "[" + Sn(wn(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), n && n.getter && (e = "get " + e), n && n.setter && (e = "set " + e), (!pn(t, "name") || yn && t.name !== e) && (vn ? Pn(t, "name", { value: e, configurable: !0 }) : t.name = e), Dn && n && pn(n, "arity") && t.length !== n.arity && Pn(t, "length", { value: n.arity }); try { n && pn(n, "constructor") && n.constructor ? vn && Pn(t, "prototype", { writable: !1 }) : t.prototype && (t.prototype = void 0) } catch (t) { } n = mn(t); return pn(n, "source") || (n.source = An(kn, "string" == typeof e ? e : "")), t }, On = (Function.prototype.toString = k(function () { return dn(this) && bn(this).source || gn(this) }, "toString"), v), xn = y, Cn = w.exports, Tn = et, D = {}, jn = Math.ceil, Rn = Math.floor, In = Math.trunc || function (t) { t = +t; return (0 < t ? Rn : jn)(t) }, Mn = ut, Nn = Math.max, Bn = Math.min, Ln = ut, _n = Math.min, Fn = ft, zn = q, Vn = lt, Un = dt, g = { includes: pt(!0), indexOf: pt(!1) }, O = p, Gn = P, Yn = q, $n = g.indexOf, Hn = S, Xn = O([].push), Wn = vt, Zn = (k = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]).concat("length", "prototype"); D.f = Object.getOwnPropertyNames || function (t) { return Wn(t, Zn) }; (O = {}).f = Object.getOwnPropertySymbols; var Kn = J, qn = D, Jn = O, Qn = o, tr = p([].concat), D = Kn("Reflect", "ownKeys") || function (t) { var e = qn.f(Qn(t)), n = Jn.f; return n ? tr(e, n(t)) : e }, er = P, nr = D, rr = s, or = y, ir = t, ar = v, cr = /#|\.prototype\./, sr = yt.normalize = function (t) { return String(t).replace(cr, ".").toLowerCase() }, ur = yt.data = {}, lr = yt.NATIVE = "N", fr = yt.POLYFILL = "P", O = yt, hr = c, dr = s.f, pr = m, vr = st, yr = et, gr = function (t, e, n) { for (var r = nr(e), o = or.f, i = rr.f, a = 0; a < r.length; a++) { var c = r[a]; er(t, c) || n && er(n, c) || o(t, c, i(e, c)) } }, mr = O, br = W, wr = p, Pr = n, Er = l, Sr = gt(gt.bind), Ar = W, Kn = Array.isArray || function (t) { return "Array" === Ar(t) }; (D = {})[r("toStringTag")] = "z"; var D = s = "[object z]" === String(D), Dr = v, kr = W, Or = r("toStringTag"), xr = Object, Cr = "Arguments" === kr(function () { return arguments }()), x = p, Tr = t, jr = v, Rr = D = D ? kr : function (t) { var e; return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (e = ((t, e) => { try { return t[e] } catch (t) { } })(t = xr(t), Or)) ? e : Cr ? kr(t) : "Object" === (e = kr(t)) && Dr(t.callee) ? "Arguments" : e }, Ir = b, Mr = J("Reflect", "construct"), Nr = /^\s*(?:class|function)\b/, Br = x(Nr.exec), Lr = !Nr.test(bt), x = (Pt.sham = !0, !Mr || Tr(function () { var t; return wt(wt.call) || !wt(Object) || !wt(function () { t = !0 }) || t }) ? Pt : wt), _r = Kn, Fr = x, zr = e, Vr = r("species"), Ur = Array, Gr = function (t) { var e; return void 0 === (e = _r(t) && (e = t.constructor, Fr(e) && (e === Ur || _r(e.prototype)) || zr(e) && null === (e = e[Vr])) ? void 0 : e) ? Ur : e }, Yr = mt, $r = d, Hr = rt, Xr = dt, Wr = Et, Zr = p([].push), Tr = { forEach: St(0), map: St(1), filter: St(2), some: St(3), every: St(4), find: St(5), findIndex: St(6), filterReject: St(7) }, d = {}, Kr = vt, qr = k, C = Object.keys || function (t) { return Kr(t, qr) }, Jr = y, Qr = o, to = q, eo = C; function no() { } function ro(t) { t.write(go("")), t.close(); var e = t.parentWindow.Object; return t = null, e } function oo(t) { wo[bo][t] = !0 } d.f = u && !E ? Object.defineProperties : function (t, e) { Qr(t); for (var n, r = to(e), o = eo(e), i = o.length, a = 0; a < i;)Jr.f(t, n = o[a++], r[n]); return t }; var io, E = J("document", "documentElement"), ao = o, co = d, so = k, d = S, uo = E, lo = at, fo = ">", ho = "<", po = "prototype", vo = "script", yo = ct("IE_PROTO"), go = function (t) { return ho + vo + fo + t + ho + "/" + vo + fo }, mo = function () { try { io = new ActiveXObject("htmlfile") } catch (t) { } mo = "undefined" == typeof document || document.domain && io ? ro(io) : (t = lo("iframe"), e = "java" + vo + ":", t.style.display = "none", uo.appendChild(t), t.src = String(e), (e = t.contentWindow.document).open(), e.write(go("document.F=Object")), e.close(), e.F); for (var t, e, n = so.length; n--;)delete mo[po][so[n]]; return mo() }, k = (d[yo] = !0, Object.create || function (t, e) { var n; return null !== t ? (no[po] = ao(t), n = new no, no[po] = null, n[yo] = t) : n = mo(), void 0 === e ? n : co.f(n, e) }), S = r, d = k, T = y.f, bo = S("unscopables"), wo = Array.prototype, S = (void 0 === wo[bo] && T(wo, bo, { configurable: !0, value: d(null) }), i), Po = Tr.find, T = oo, Eo = !0, S = ((d = "find") in [] && Array(1)[d](function () { Eo = !1 }), S({ target: "Array", proto: !0, forced: Eo }, { find: function (t) { return Po(this, t, 1 < arguments.length ? arguments[1] : void 0) } }), T(d), i), T = y.f, So = (S({ target: "Object", stat: !0, forced: Object.defineProperty !== T, sham: !u }, { defineProperty: T }), D); function Ao(s) { return function (t) { for (var e, n = Lo(t), r = Bo(n), o = zo && null === No(n), i = r.length, a = 0, c = []; a < i;)e = r[a++], Mo && !(o ? e in n : _o(n, e)) || Fo(c, s ? [e, n[e]] : n[e]); return c } } function Do(t) { if ("Symbol" === Uo(t)) throw new TypeError("Cannot convert a Symbol value to a string"); return Go(t) } function ko() { var t = Yo(this), e = ""; return t.hasIndices && (e += "d"), t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.dotAll && (e += "s"), t.unicode && (e += "u"), t.unicodeSets && (e += "v"), t.sticky && (e += "y"), e } function Oo(t, e) { var n = [][t]; return !!n && gi(function () { n.call(null, e || function () { return 1 }, 1) }) } s || st(Object.prototype, "toString", s ? {}.toString : function () { return "[object " + So(this) + "]" }, { unsafe: !0 }); var d = !t(function () { function t() { } return t.prototype.constructor = null, Object.getPrototypeOf(new t) !== t.prototype }), xo = P, Co = v, To = rt, S = d, jo = ct("IE_PROTO"), Ro = Object, Io = Ro.prototype, T = S ? Ro.getPrototypeOf : function (t) { var e, t = To(t); return xo(t, jo) ? t[jo] : (e = t.constructor, Co(e) && t instanceof e ? e.prototype : t instanceof Ro ? Io : null) }, Mo = u, s = t, No = T, Bo = C, Lo = q, _o = (d = p)(h.f), Fo = d([].push), zo = Mo && s(function () { var t = Object.create(null); return t[2] = 2, !_o(t, 2) }), S = i, Vo = { entries: Ao(!0), values: Ao(!1) }.values, Uo = (S({ target: "Object", stat: !0 }, { values: function (t) { return Vo(t) } }), D), Go = String, Yo = o, T = t, $o = c.RegExp, h = (C = T(function () { var t = $o("a", "y"); return t.lastIndex = 2, null !== t.exec("abcd") })) || T(function () { return !$o("a", "y").sticky }), d = { BROKEN_CARET: C || T(function () { var t = $o("^r", "gy"); return t.lastIndex = 2, null !== t.exec("str") }), MISSED_STICKY: h, UNSUPPORTED_Y: C }, s = t, Ho = c.RegExp, S = s(function () { var t = Ho(".", "s"); return !(t.dotAll && t.test("\n") && "s" === t.flags) }), T = t, Xo = c.RegExp, h = T(function () { var t = Xo("(?<a>b)", "g"); return "b" !== t.exec("b").groups.a || "bc" !== "b".replace(t, "$<a>c") }), Wo = f, C = p, Zo = Do, Ko = ko, s = d, T = nt, qo = k, Jo = A.get, d = S, k = h, Qo = T("native-string-replace", String.prototype.replace), ti = RegExp.prototype.exec, ei = ti, ni = C("".charAt), ri = C("".indexOf), oi = C("".replace), ii = C("".slice), ai = (S = /b*/g, Wo(ti, h = /a/, "a"), Wo(ti, S, "a"), 0 !== h.lastIndex || 0 !== S.lastIndex), ci = s.BROKEN_CARET, si = void 0 !== /()??/.exec("")[1], T = ei = ai || si || ci || d || k ? function (t) { var e, n, r, o, i, a, c = this, s = Jo(c), t = Zo(t), u = s.raw; if (u) return u.lastIndex = c.lastIndex, f = Wo(ei, u, t), c.lastIndex = u.lastIndex, f; var l = s.groups, u = ci && c.sticky, f = Wo(Ko, c), s = c.source, h = 0, d = t; if (u && (f = oi(f, "y", ""), -1 === ri(f, "g") && (f += "g"), d = ii(t, c.lastIndex), 0 < c.lastIndex && (!c.multiline || (c.multiline, "\n" !== ni(t, c.lastIndex - 1))) && (s = "(?: " + s + ")", d = " " + d, h++), e = new RegExp("^(?:" + s + ")", f)), si && (e = new RegExp("^" + s + "$(?!\\s)", f)), ai && (n = c.lastIndex), r = Wo(ti, u ? e : c, d), u ? r ? (r.input = ii(r.input, h), r[0] = ii(r[0], h), r.index = c.lastIndex, c.lastIndex += r[0].length) : c.lastIndex = 0 : ai && r && (c.lastIndex = c.global ? r.index + r[0].length : n), si && r && 1 < r.length && Wo(Qo, r[0], e, function () { for (o = 1; o < arguments.length - 2; o++)void 0 === arguments[o] && (r[o] = void 0) }), r && l) for (r.groups = i = qo(null), o = 0; o < l.length; o++)i[(a = l[o])[0]] = r[a[1]]; return r } : ei, ui = (i({ target: "RegExp", proto: !0, forced: /./.exec !== T }, { exec: T }), (() => F(function t() { L(this, t), this._eventMap = {} }, [{ key: "add", value: function (t, e, n) { var r = 3 < arguments.length && void 0 !== arguments[3] && arguments[3]; (this._eventMap[t] || (this._eventMap[t] = new ht.Notifier)).add(e, n, r) } }, { key: "remove", value: function (t, e, n) { t = this._eventMap[t]; t && t.remove(e, n) } }, { key: "fire", value: function (t, e) { t = this._eventMap[t]; t && t.fire(e) } }]))()), li = "index", fi = { HU_NAN: "湖南省", SHAN_DONG: "山东省", GUI_ZHOU: "贵州省" }, hi = "switch2dView", di = "switch3dView", pi = "clickCity", vi = ["北京市", "天津市", "河北省", "山西省", "内蒙古自治区", "辽宁省", "吉林省", "黑龙江省", "上海市", "江苏省", "浙江省", "安徽省", "福建省", "江西省", "山东省", "河南省", "湖北省", "湖南省", "广东省", "广西壮族自治区", "海南省", "重庆市", "四川省", "贵州省", "云南省", "西藏自治区", "陕西省", "甘肃省", "青海省", "宁夏回族自治区", "新疆维吾尔自治区", "香港特别行政区", "澳门特别行政区", "台湾省"], yi = { default: "e8f955d0-7693-11f0-8f44-31884b3ffdc2.json", pie: "04e04790-7694-11f0-8f44-31884b3ffdc2.json", bar: "4e24e6e0-780b-11f0-8f44-31884b3ffdc2.json" }, gi = t, mi = Tr.forEach, C = Oo("forEach") ? [].forEach : function (t) { return mi(this, t, 1 < arguments.length ? arguments[1] : void 0) }; function bi(e) { if (e && e.forEach !== ji) try { Ri(e, "forEach", ji) } catch (t) { e.forEach = ji } } i({ target: "Array", proto: !0, forced: [].forEach !== C }, { forEach: C }), i({ target: "Array", stat: !0 }, { isArray: Kn }); var wi, h = p([].slice), S = p, Pi = n, Ei = e, Si = P, Ai = h, s = l, Di = Function, ki = S([].concat), Oi = S([].join), xi = {}, d = s ? Di.bind : function (a) { var c = Pi(this), t = c.prototype, s = Ai(arguments, 1), u = function () { var t = ki(s, Ai(arguments)); if (this instanceof u) { var e = c, n = t.length, r = t; if (!Si(xi, n)) { for (var o = [], i = 0; i < n; i++)o[i] = "a[" + i + "]"; xi[n] = Di("C,a", "return new C(" + Oi(o, ",") + ")") } return xi[n](e, r) } return c.apply(a, t) }; return Ei(t) && (u.prototype = t), u }; i({ target: "Function", proto: !0, forced: Function.bind !== d }, { bind: d }); var S = (k = at("span").classList) && k.constructor && k.constructor.prototype, Ci = c, Ti = { 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 }, s = S === Object.prototype ? void 0 : S, ji = C, Ri = m; for (wi in Ti) Ti[wi] && bi(Ci[wi] && Ci[wi].prototype); function Ii(t, e, n) { _i ? Fi.f(t, e, zi(0, n)) : t[e] = n } function Mi(e) { return 51 <= Ui || !Vi(function () { var t = []; return (t.constructor = {})[Gi] = function () { return { foo: 1 } }, 1 !== t[e](Boolean).foo }) } bi(s); var d = i, k = gt, Ni = g.indexOf, S = Oo, Bi = k([].indexOf), Li = !!Bi && 1 / Bi([1], 1, -0) < 0, _i = (d({ target: "Array", proto: !0, forced: Li || !S("indexOf") }, { indexOf: function (t) { var e = 1 < arguments.length ? arguments[1] : void 0; return Li ? Bi(this, t, e) || 0 : Ni(this, t, e) } }), u), Fi = y, zi = X, Vi = t, Ui = Yt, Gi = r("species"), C = i, Yi = Kn, $i = x, Hi = e, Xi = lt, Wi = dt, Zi = q, Ki = Ii, s = r, qi = h, k = Mi("slice"), Ji = s("species"), Qi = Array, ta = Math.max, d = (C({ target: "Array", proto: !0, forced: !k }, { slice: function (t, e) { var n, r, o, i = Zi(this), a = Wi(i), c = Xi(t, a), s = Xi(void 0 === e ? a : e, a); if (Yi(i) && (n = i.constructor, (n = $i(n) && (n === Qi || Yi(n.prototype)) || Hi(n) && null === (n = n[Ji]) ? void 0 : n) === Qi || void 0 === n)) return qi(i, c, s); for (r = new (void 0 === n ? Qi : n)(ta(s - c, 0)), o = 0; c < s; c++, o++)c in i && Ki(r, o, i[c]); return r.length = o, r } }), p), S = st, s = Date.prototype, ea = "Invalid Date", na = d(s[C = "toString"]), ra = d(s.getTime); function oa(t, e, n) { return 0 === e ? n : e % 2 == 1 ? oa(t, e - 1, n * t) : oa(t * t, e / 2, n) } function ia(t, e, n) { for (var r = -1, o = n; ++r < 6;)o += e * t[r], t[r] = o % 1e7, o = Ba(o / 1e7) } function aa(t, e) { for (var n = 6, r = 0; 0 <= --n;)r += t[n], t[n] = Ba(r / e), r = r % e * 1e7 } function ca(t) { for (var e, n = 6, r = ""; 0 <= --n;)"" === r && 0 !== n && 0 === t[n] || (e = Na(t[n]), r = "" === r ? e : r + La("0", 7 - e.length) + e); return r } function sa(t) { return za.slice(0, t.length) === t } function ua(t) { return function () { Ic(t) } } function la(t) { Ic(t.data) } function fa(t) { j.postMessage(Cc(t), ya.protocol + "//" + ya.host) } function ha() { this.head = null, this.tail = null } function da(t) { try { return { error: !1, value: t() } } catch (t) { return { error: !0, value: t } } } function pa(t) { var n, r; this.promise = new t(function (t, e) { if (void 0 !== n || void 0 !== r) throw new Wc("Bad Promise constructor"); n = t, r = e }), this.resolve = Xc(n), this.reject = Xc(r) } function va(e) { qc(rs, Kc, function () { var t = e.facade; Zc ? ys.emit("rejectionHandled", t) : Cs(Ps, t, e.value) }) } String(new Date(NaN)) !== ea && S(s, C, function () { var t = ra(this); return t == t ? na(this) : ea }); var ya, ga, ma, ba, wa, Pa, Ea, Sa, Aa, Da, ka, Oa, k = p(1.1.valueOf), xa = ut, Ca = Do, Ta = K, ja = RangeError, d = i, S = p, Ra = ut, Ia = k, s = t, Ma = RangeError, Na = String, Ba = Math.floor, La = S(function (t) { var e = Ca(Ta(this)), n = "", r = xa(t); if (r < 0 || r === 1 / 0) throw new ja("Wrong number of repetitions"); for (; 0 < r; (r >>>= 1) && (e += e))1 & r && (n += e); return n }), _a = S("".slice), Fa = S(1.1.toFixed), C = (d({ target: "Number", proto: !0, forced: s(function () { return "0.000" !== Fa(8e-5, 3) || "1" !== Fa(.9, 0) || "1.25" !== Fa(1.255, 2) || "1000000000000000128" !== Fa(0xde0b6b3a7640080, 0) }) || !s(function () { Fa({}) }) }, { toFixed: function (t) { var e, n, r = Ia(this), t = Ra(t), o = [0, 0, 0, 0, 0, 0], i = "", a = "0"; if (t < 0 || 20 < t) throw new Ma("Incorrect fraction digits"); if (r != r) return "NaN"; if (r <= -1e21 || 1e21 <= r) return Na(r); if (r < 0 && (i = "-", r = -r), 1e-21 < r) if (r = (e = (t => { for (var e = 0, n = t; 4096 <= n;)e += 12, n /= 4096; for (; 2 <= n;)e += 1, n /= 2; return e })(r * oa(2, 69, 1)) - 69) < 0 ? r * oa(2, -e, 1) : r / oa(2, e, 1), r *= 4503599627370496, 0 < (e = 52 - e)) { for (ia(o, 0, r), n = t; 7 <= n;)ia(o, 1e7, 0), n -= 7; for (ia(o, oa(10, n, 1), 0), n = e - 1; 23 <= n;)aa(o, 1 << 23), n -= 23; aa(o, 1 << n), ia(o, 1, 1), aa(o, 2), a = ca(o) } else ia(o, 0, r), ia(o, 1 << -e, 0), a = ca(o) + La("0", t); return a = 0 < t ? i + ((r = a.length) <= t ? "0." + La("0", t - r) + a : _a(a, 0, r - t) + "." + _a(a, r - t)) : i + a } }), c), za = I, k = W, d = "NODE" == (S = sa("Bun/") ? "BUN" : sa("Cloudflare-Workers") ? "CLOUDFLARE" : sa("Deno/") ? "DENO" : sa("Node.js/") ? "NODE" : C.Bun && "string" == typeof Bun.version ? "BUN" : C.Deno && "object" == typeof Deno.version ? "DENO" : "process" === k(C.process) ? "NODE" : C.window && C.document ? "BROWSER" : "REST"), s = c, Va = p, Ua = n, Ga = e, Ya = function (t) { return Ga(t) || null === t }, $a = String, Ha = TypeError, Xa = function (t, e, n) { try { return Va(Ua(Object.getOwnPropertyDescriptor(t, e)[n])) } catch (t) { } }, Wa = e, Za = K, Ka = function (t) { if (Ya(t)) return t; throw new Ha("Can't set " + $a(t) + " as a prototype") }, k = Object.setPrototypeOf || ("__proto__" in {} ? (() => { var n, r = !1, t = {}; try { (n = Xa(Object.prototype, "__proto__", "set"))(t, []), r = t instanceof Array } catch (t) { } return function (t, e) { return Za(t), Ka(e), Wa(t) && (r ? n(t, e) : t.__proto__ = e), t } })() : void 0), qa = y.f, Ja = P, Qa = r("toStringTag"), tc = w.exports, ec = y, nc = J, rc = function (t, e, n) { return n.get && tc(n.get, e, { getter: !0 }), n.set && tc(n.set, e, { setter: !0 }), ec.f(t, e, n) }, oc = u, ic = r("species"), ac = Gt, cc = TypeError, sc = x, uc = Q, lc = TypeError, fc = o, hc = function (t) { if (sc(t)) return t; throw new lc(uc(t) + " is not a constructor") }, dc = Z, pc = r("species"), vc = (C = Function.prototype).apply, yc = C.call, w = "object" == typeof Reflect && Reflect.apply || (l ? yc.bind(vc) : function () { return yc.apply(vc, arguments) }), gc = TypeError, y = /(?:ipad|iphone|ipod).*applewebkit/i.test(I), j = c, mc = w, x = mt, bc = v, wc = P, C = t, Pc = E, Ec = h, Sc = at, Ac = function (t, e) { if (t < e) throw new gc("Not enough arguments"); return t }, l = y, E = d, h = j.setImmediate, R = j.clearImmediate, Dc = j.process, kc = j.Dispatch, Oc = j.Function, xc = j.MessageChannel, Cc = j.String, Tc = 0, jc = {}, Rc = "onreadystatechange", Ic = (C(function () { ya = j.location }), function (t) { var e; wc(jc, t) && (e = jc[t], delete jc[t], e()) }), xc = (h && R || (h = function (t) { Ac(arguments.length, 1); var e = bc(t) ? t : Oc(t), n = Ec(arguments, 1); return jc[++Tc] = function () { mc(e, void 0, n) }, ga(Tc), Tc }, R = function (t) { delete jc[t] }, E ? ga = function (t) { Dc.nextTick(ua(t)) } : kc && kc.now ? ga = function (t) { kc.now(ua(t)) } : xc && !l ? (l = (E = new xc).port2, E.port1.onmessage = la, ga = x(l.postMessage, l)) : j.addEventListener && bc(j.postMessage) && !j.importScripts && ya && "file:" !== ya.protocol && !C(fa) ? (ga = fa, j.addEventListener("message", la, !1)) : ga = Rc in Sc("script") ? function (t) { Pc.appendChild(Sc("script"))[Rc] = function () { Pc.removeChild(this), Ic(t) } } : function (t) { setTimeout(ua(t), 0) }), { set: h, clear: R }), Mc = c, Nc = u, Bc = Object.getOwnPropertyDescriptor, E = (ha.prototype = { add: function (t) { var t = { item: t, next: null }, e = this.tail; e ? e.next = t : this.head = t, this.tail = t }, get: function () { var t = this.head; if (t) return null === (this.head = t.next) && (this.tail = null), t.item } }, ha), x = /ipad|iphone|ipod/i.test(I) && "undefined" != typeof Pebble, l = /web0s(?!.*chrome)/i.test(I), C = c, h = function (t) { var e; return Nc ? (e = Bc(Mc, t)) && e.value : Mc[t] }, R = mt, Lc = xc.set, u = E, I = y, y = x, x = l, _c = d, l = C.MutationObserver || C.WebKitMutationObserver, M = C.document, Fc = C.process, N = C.Promise, I = ((h = h("queueMicrotask")) || (Pa = new u, Ea = function () { var t, e; for (_c && (t = Fc.domain) && t.exit(); e = Pa.get();)try { e() } catch (t) { throw Pa.head && Sa(), t } t && t.enter() }, Sa = I || _c || x || !l || !M ? !y && N && N.resolve ? ((u = N.resolve(void 0)).constructor = N, wa = R(u.then, u), function () { wa(Ea) }) : _c ? function () { Fc.nextTick(Ea) } : (Lc = R(Lc, C), function () { Lc(Ea) }) : (ma = !0, ba = M.createTextNode(""), new l(Ea).observe(ba, { characterData: !0 }), function () { ba.data = ma = !ma }), h = function (t) { Pa.head || Sa(), Pa.add(t) }), h), x = c.Promise, y = c, zc = x, N = v, u = O, Vc = b, R = r, Uc = S, Gc = Yt, Yc = (zc && zc.prototype, R("species")), $c = !1, Hc = N(y.PromiseRejectionEvent), C = { CONSTRUCTOR: u("Promise", function () { var t = Vc(zc), e = t !== String(zc); if (!e && 66 === Gc) return !0; if (!Gc || Gc < 51 || !/native code/.test(t)) { var t = new zc(function (t) { t(1) }), n = function (t) { t(function () { }, function () { }) }; if ((t.constructor = {})[Yc] = n, !($c = t.then(function () { }) instanceof n)) return !0 } return !(e || "BROWSER" != Uc && "DENO" != Uc || Hc) }), REJECTION_EVENT: Hc, SUBCLASSING: $c }, M = {}, Xc = n, Wc = TypeError, l = (M.f = function (t) { return new pa(t) }, i), Zc = d, Kc = c, h = s, qc = f, O = st, b = k, S = function (t, e, n) { (t = t && !n ? t.prototype : t) && !Ja(t, Qa) && qa(t, Qa, { configurable: !0, value: e }) }, R = function (t) { t = nc(t); oc && t && !t[ic] && rc(t, ic, { configurable: !0, get: function () { return this } }) }, Jc = n, Qc = v, ts = e, es = function (t, e) { if (ac(e, t)) return t; throw new cc("Incorrect invocation") }, ns = function (t, e) { var t = fc(t).constructor; return void 0 === t || dc(t = fc(t)[pc]) ? e : hc(t) }, rs = xc.set, os = I, is = function (t, e) { try { 1 === arguments.length ? console.error(t) : console.error(t, e) } catch (t) { } }, as = da, cs = E, N = A, y = x, u = M, ss = "Promise", d = C.CONSTRUCTOR, us = C.REJECTION_EVENT, s = C.SUBCLASSING, ls = N.getterFor(ss), fs = N.set, k = y && y.prototype, hs = y, ds = k, ps = Kc.TypeError, vs = Kc.document, ys = Kc.process, gs = u.f, ms = gs, bs = !!(vs && vs.createEvent && Kc.dispatchEvent), ws = "unhandledrejection", Ps = "rejectionhandled", Es = 1, Ss = 2, As = 1, Ds = 2, ks = function (t) { var e; return !(!ts(t) || !Qc(e = t.then)) && e }, Os = function (t, e) { var n, r, o, i = e.value, a = e.state === Es, c = a ? t.ok : t.fail, s = t.resolve, u = t.reject, l = t.domain; try { c ? (a || (e.rejection === Ds && va(e), e.rejection = As), !0 === c ? n = i : (l && l.enter(), n = c(i), l && (l.exit(), o = !0)), n === t.promise ? u(new ps("Promise-chain cycle")) : (r = ks(n)) ? qc(r, n, s, u) : s(n)) : u(i) } catch (t) { l && !o && l.exit(), u(t) } }, xs = function (n, r) { n.notified || (n.notified = !0, os(function () { for (var t, e = n.reactions; t = e.get();)Os(t, n); n.notified = !1, r && !n.rejection && Ts(n) })) }, Cs = function (t, e, n) { var r; bs ? ((r = vs.createEvent("Event")).promise = e, r.reason = n, r.initEvent(t, !1, !0), Kc.dispatchEvent(r)) : r = { promise: e, reason: n }, !us && (e = Kc["on" + t]) ? e(r) : t === ws && is("Unhandled promise rejection", n) }, Ts = function (r) { qc(rs, Kc, function () { var t = r.facade, e = r.value, n = js(r); if (n && (n = as(function () { Zc ? ys.emit("unhandledRejection", e, t) : Cs(ws, t, e) }), r.rejection = Zc || js(r) ? Ds : As, n.error)) throw n.value }) }, js = function (t) { return t.rejection !== As && !t.parent }, Rs = function (e, n, r) { return function (t) { e(n, t, r) } }, Is = function (t, e, n) { t.done || (t.done = !0, (t = n ? n : t).value = e, t.state = Ss, xs(t, !0)) }, Ms = function (n, t, e) { if (!n.done) { n.done = !0, e && (n = e); try { if (n.facade === t) throw new ps("Promise can't be resolved itself"); var r = ks(t); r ? os(function () { var e = { done: !1 }; try { qc(r, t, Rs(Ms, e, n), Rs(Is, e, n)) } catch (t) { Is(e, t, n) } }) : (n.value = t, n.state = Es, xs(n, !1)) } catch (t) { Is({ done: !1 }, t, n) } } }; if (d && (ds = (hs = function (t) { es(this, ds), Jc(t), qc(Aa, this); var e = ls(this); try { t(Rs(Ms, e), Rs(Is, e)) } catch (t) { Is(e, t) } }).prototype, (Aa = function (t) { fs(this, { type: ss, done: !1, notified: !1, parent: !1, reactions: new cs, rejection: !1, state: 0, value: null }) }).prototype = O(ds, "then", function (t, e) { var n = ls(this), r = gs(ns(this, hs)); return n.parent = !0, r.ok = !Qc(t) || t, r.fail = Qc(e) && e, r.domain = Zc ? ys.domain : void 0, 0 === n.state ? n.reactions.add(r) : os(function () { Os(r, n) }), r.promise }), Da = function () { var t = new Aa, e = ls(t); this.promise = t, this.resolve = Rs(Ms, e), this.reject = Rs(Is, e) }, u.f = gs = function (t) { return t === hs || t === ka ? new Da : ms(t) }, Qc(y)) && k !== Object.prototype) { Oa = k.then, s || O(k, "then", function (t, e) { var n = this; return new hs(function (t, e) { qc(Oa, n, t, e) }).then(t, e) }, { unsafe: !0 }); try { delete k.constructor } catch (t) { } b && b(k, ds) } function Ns(t) { if (!Gs(t)) return Us(t, $s) || Us(t, "@@iterator") || Ys[Vs(t)] } function Bs(t, e) { this.stopped = t, this.result = e } function Ls(t, e, n) { function r(t) { return i && lu(i, "normal"), new Bs(!0, t) } function o(t) { return h ? (ru(t), v ? y(t[0], t[1], r) : y(t[0], t[1])) : v ? y(t, r) : y(t) } var i, a, c, s, u, l, f = n && n.that, h = !(!n || !n.AS_ENTRIES), d = !(!n || !n.IS_RECORD), p = !(!n || !n.IS_ITERATOR), v = !(!n || !n.INTERRUPTED), y = eu(e, f); if (d) i = t.iterator; else if (p) i = t; else { if (!(n = uu(t))) throw new fu(ou(t) + " is not iterable"); if (iu(n)) { for (a = 0, c = au(t); a < c; a++)if ((s = o(t[a])) && cu(hu, s)) return s; return new Bs(!1) } i = su(t, n) } for (u = (d ? t : i).next; !(l = nu(u, i)).done;) { try { s = o(l.value) } catch (t) { lu(i, "throw", t) } if ("object" == typeof s && s && cu(hu, s)) return s } return new Bs(!1) } l({ global: !0, constructor: !0, wrap: !0, forced: d }, { Promise: hs }), ka = h.Promise, S(hs, ss, !1), R(ss); var _s = xc = {}, Fs = r("iterator"), zs = Array.prototype, Vs = D, Us = tt, Gs = Z, Ys = xc, $s = r("iterator"), Hs = f, Xs = n, Ws = o, Zs = Q, Ks = Ns, qs = TypeError, Js = f, Qs = o, tu = tt, eu = mt, nu = f, ru = o, ou = Q, iu = function (t) { return void 0 !== t && (_s.Array === t || zs[Fs] === t) }, au = dt, cu = Gt, su = function (t, e) { e = arguments.length < 2 ? Ks(t) : e; if (Xs(e)) return Ws(Hs(e, t)); throw new qs(Zs(t) + " is not iterable") }, uu = Ns, lu = function (t, e, n) { var r, o; Qs(t); try { if (!(r = tu(t, "return"))) { if ("throw" === e) throw n; return n } r = Js(r, t) } catch (t) { o = !0, r = t } if ("throw" === e) throw n; if (o) throw r; return Qs(r), n }, fu = TypeError, hu = Bs.prototype, du = r("iterator"), pu = !1; try { var vu = 0, yu = { next: function () { return { done: !!vu++ } }, return: function () { pu = !0 } }; yu[du] = function () { return this }, Array.from(yu, function () { throw 2 }) } catch (t) { } var gu = x, I = function (t, e) { try { if (!e && !pu) return !1 } catch (t) { return !1 } var n = !1; try { var r = {}; r[du] = function () { return { next: function () { return { done: n = !0 } } } }, t(r) } catch (t) { } return n }, E = C.CONSTRUCTOR || !I(function (t) { gu.all(t).then(void 0, function () { }) }), mu = f, bu = n, wu = M, Pu = da, Eu = Ls, A = (i({ target: "Promise", stat: !0, forced: E }, { all: function (t) { var c = this, e = wu.f(c), s = e.resolve, u = e.reject, n = Pu(function () { var r = bu(c.resolve), o = [], i = 0, a = 1; Eu(t, function (t) { var e = i++, n = !1; a++, mu(r, c, t).then(function (t) { n || (n = !0, o[e] = t, --a) || s(o) }, u) }), --a || s(o) }); return n.error && u(n.value), e.promise } }), i), u = J, y = v, s = st, O = (N = x) && N.prototype, Su = (A({ target: "Promise", proto: !0, forced: C.CONSTRUCTOR, real: !0 }, { catch: function (t) { return this.then(void 0, t) } }), y(N) && (b = u("Promise").prototype.catch, O.catch !== b) && s(O, "catch", b, { unsafe: !0 }), f), Au = n, Du = M, ku = da, Ou = Ls, xu = (i({ target: "Promise", stat: !0, forced: E }, { race: function (t) { var n = this, r = Du.f(n), o = r.reject, e = ku(function () { var e = Au(n.resolve); Ou(t, function (t) { Su(e, n, t).then(r.resolve, o) }) }); return e.error && o(e.value), r.promise } }), M), Cu = (i({ target: "Promise", stat: !0, forced: C.CONSTRUCTOR }, { reject: function (t) { var e = xu.f(this); return (0, e.reject)(t), e.promise } }), o), Tu = e, ju = M, k = i, l = J, d = C.CONSTRUCTOR, Ru = function (t, e) { return Cu(t), Tu(e) && e.constructor === t ? e : ((0, (t = ju.f(t)).resolve)(e), t.promise) }; function Iu(o) { return function (t, e) { var n, t = el(nl(t)), e = tl(e), r = t.length; return e < 0 || r <= e ? o ? "" : void 0 : (n = ol(t, e)) < 55296 || 56319 < n || e + 1 === r || (r = ol(t, e + 1)) < 56320 || 57343 < r ? o ? rl(t, e) : n : o ? il(t, e, e + 2) : r - 56320 + (n - 55296 << 10) + 65536 } } l("Promise"), k({ target: "Promise", stat: !0, forced: d }, { resolve: function (t) { return Ru(this, t) } }); var Mu, h = t, Nu = c.RegExp, S = !h(function () { var e = !0; try { Nu(".", "d") } catch (t) { e = !1 } var t, n = {}, r = "", o = e ? "dgimsy" : "gimsy", i = { dotAll: "s", global: "g", ignoreCase: "i", multiline: "m", sticky: "y" }; for (t in e && (i.hasIndices = "d"), i) ((t, e) => { Object.defineProperty(n, t, { get: function () { return r += e, !0 } }) })(t, i[t]); return Object.getOwnPropertyDescriptor(Nu.prototype, "flags").get.call(n) !== o || r !== o }), Bu = f, Lu = P, _u = Gt, Fu = { correct: S }, zu = ko, Vu = RegExp.prototype, R = Fu.correct ? function (t) { return t.flags } : function (t) { return Fu.correct || !_u(Vu, t) || Lu(t, "flags") ? t.flags : Bu(zu, t) }, D = nn.PROPER, xc = st, Uu = o, Gu = Do, yu = t, Yu = R, I = "toString", $u = (x = RegExp.prototype)[I], A = yu(function () { return "/a/b" !== $u.call({ source: "a", flags: "b" }) }), y = D && $u.name !== I, Hu = ((A || y) && xc(x, I, function () { var t = Uu(this); return "/" + Gu(t.source) + "/" + Gu(Yu(t)) }, { unsafe: !0 }), f), Xu = st, Wu = T, Zu = t, Ku = r, qu = m, Ju = Ku("species"), Qu = RegExp.prototype, tl = ut, el = Do, nl = K, rl = (N = p)("".charAt), ol = N("".charCodeAt), il = N("".slice), al = { codeAt: Iu(!1), charAt: Iu(!0) }.charAt, u = p, cl = rt, sl = Math.floor, ul = u("".charAt), ll = u("".replace), fl = u("".slice), hl = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, dl = /\$([$&'`]|\d{1,2})/g, pl = f, vl = o, yl = v, gl = W, ml = T, bl = TypeError, wl = w, Pl = f, s = p, O = function (n, t, e, r) { var a, o = Ku(n), c = !Zu(function () { var t = {}; return t[o] = function () { return 7 }, 7 !== ""[n](t) }), i = c && !Zu(function () { var t = !1, e = /a/; return "split" === n && ((e = { constructor: {} }).constructor[Ju] = function () { return e }, e.flags = "", e[o] = /./[o]), e.exec = function () { return t = !0, null }, e[o](""), !t }); c && i && !e || (a = /./[o], i = t(o, ""[n], function (t, e, n, r, o) { var i = e.exec; return i === Wu || i === Qu.exec ? c && !o ? { done: !0, value: Hu(a, e, n, r) } : { done: !0, value: Hu(t, n, e, r) } : { done: !1 } }), Xu(String.prototype, n, i[0]), Xu(Qu, o, i[1])), r && qu(Qu[o], "sham", !0) }, b = t, El = o, Sl = v, Al = e, Dl = ut, kl = ft, Ol = Do, xl = K, Cl = function (t, e, n) { return e + (n ? al(t, e).length : 1) }, Tl = tt, jl = function (i, a, c, s, u, t) { var l = c + i.length, f = s.length, e = dl; return void 0 !== u && (u = cl(u), e = hl), ll(t, e, function (t, e) { var n; switch (ul(e, 0)) { case "$": return "$"; case "&": return i; case "`": return fl(a, 0, c); case "'": return fl(a, l); case "<": n = u[fl(e, 1, -1)]; break; default: var r, o = +e; if (0 == o) return t; if (f < o) return 0 !== (r = sl(o / 10)) && r <= f ? void 0 === s[r - 1] ? ul(e, 1) : s[r - 1] + ul(e, 1) : t; n = s[o - 1] }return void 0 === n ? "" : n }) }, Rl = R, Il = function (t, e) { var n = t.exec; if (yl(n)) return null !== (n = pl(n, t, e)) && vl(n), n; if ("RegExp" === gl(t)) return pl(ml, t, e); throw new bl("RegExp#exec called on incompatible receiver") }, Ml = r("replace"), Nl = Math.max, Bl = Math.min, Ll = s([].concat), _l = s([].push), Fl = s("".indexOf), zl = s("".slice), E = "$0" === "a".replace(/./, "$0"), Vl = !!/./[Ml] && "" === /./[Ml]("a", "$0"); O("replace", function (t, b, w) { var P = Vl ? "$" : "$0"; return [function (t, e) { var n = xl(this), r = Al(t) ? Tl(t, Ml) : void 0; return r ? Pl(r, t, n, e) : Pl(b, Ol(n), t, e) }, function (t, e) { var n = El(this), r = Ol(t); if ("string" == typeof e && -1 === Fl(e, P) && -1 === Fl(e, "$<")) { t = w(b, n, r, e); if (t.done) return t.value } for (var o, i = Sl(e), t = (i || (e = Ol(e)), Ol(Rl(n))), a = -1 !== Fl(t, "g"), c = (a && (o = -1 !== Fl(t, "u"), n.lastIndex = 0), []); null !== (h = Il(n, r)) && (_l(c, h), a);)"" === Ol(h[0]) && (n.lastIndex = Cl(r, kl(n.lastIndex), o)); for (var s, u = "", l = 0, f = 0; f < c.length; f++) { for (var h, d = Ol((h = c[f])[0]), p = Nl(Bl(Dl(h.index), r.length), 0), v = [], y = 1; y < h.length; y++)_l(v, void 0 === (s = h[y]) ? s : String(s)); var g = h.groups, m = i ? (m = Ll([d], v, p, r), void 0 !== g && _l(m, g), Ol(wl(e, void 0, m))) : jl(d, r, p, v, g, e); l <= p && (u += zl(r, l, p) + m, l = p + d.length) } return u + zl(r, l) }] }, !!b(function () { var t = /./; return t.exec = function () { var t = []; return t.groups = { a: "7" }, t }, "7" !== "".replace(t, "$<a>") }) || !E || Vl), /firefox/.test(window.navigator.userAgent.toLowerCase()); (M = ht.Default).clone; var Ul = M.isFunction, Gl = M.xhrLoad, Yl = M.parse, $l = (Mu = {}, function (e, n, o, t) { var r = !(4 < arguments.length && void 0 !== arguments[4]) || arguments[4], i = !t; i && Mu[n] ? e.view.deserialize(Mu[n], { reset: r, finishFunc: function (t, e, n, r) { Ul(o) && o(t, e, n, r, i) } }) : Gl(n, function (t) { t = Yl(t); Mu[n] = t, e.active && e.view.deserialize(t, { reset: r, finishFunc: function (t, e, n, r) { Ul(o) && o(t, e, n, r, i) } }) }) }), Hl = (() => F(function t(e, n) { var r = this; L(this, t), this.url = "", this.key = "", this.active = !1, this.view = n, this.dm = n.dm(), this.player = new ht.animationplayer, this.main = e, this.event = e.event, n instanceof ht.graph.GraphView && this.event.add(hi, function (t) { r.handleSwitch(t) }), n instanceof ht.graph3d.Graph3dView && this.event.add(di, function (t) { r.handleSwitch(t) }) }, [{ key: "handleSwitch", value: function (t) { t === this.key ? (this.active || (this.active = !0, this.onSetup()), this.dm.clear(), $l(this, this.url, this.onPostDeserialize.bind(this))) : this.active && (this.onTearDown(), this.active = !1) } }, { key: "onSetup", value: function () { this.view.mi(this.handleInteractive, this), this.view.mp(this.handlePropertyChange, this) } }, { key: "onTearDown", value: function () { this.view.umi(this.handleInteractive, this), this.view.ump(this.handlePropertyChange, this) } }, { key: "onPostDeserialize", value: function () { this.view.reset(), this.startAnims() } }, { key: "handleInteractive", value: function (t) { } }, { key: "handlePropertyChange", value: function (t) { } }, { key: "startAnims", value: function () { var t, e = this; null != (t = this.anims) && t.forEach(function (t) { return e.player.play(e.view, t) }), Array.isArray(this.symbolAnims) ? this.symbolAnims.forEach(function (t) { return e.player.playSymbol(e.view, t) }) : this.symbolAnims && this.player.playSymbol(this.view) } }, { key: "removeAnims", value: function () { this.player.removeAll(this.view), this.player.removeSymbolAnimation() } }]))(), Xl = TypeError, C = i, l = t, Wl = Kn, Zl = e, Kl = rt, ql = dt, Jl = function (t) { if (9007199254740991 < t) throw Xl("Maximum allowed index exceeded"); return t }, Ql = Ii, tf = Et, k = Mi, d = Yt, ef = r("isConcatSpreadable"), c = 51 <= d || !l(function () { var t = []; return t[ef] = !1, t.concat()[0] !== t }), h = (C({ target: "Array", proto: !0, arity: 1, forced: !c || !k("concat") }, { concat: function (t) { for (var e, n, r, o, i, a = Kl(this), c = tf(a, 0), s = 0, u = -1, l = arguments.length; u < l; u++)if (i = void 0, !Zl(o = r = -1 === u ? a : arguments[u]) || (void 0 !== (i = o[ef]) ? !i : !Wl(o))) Jl(s + 1), Ql(c, s++, r); else for (n = ql(r), Jl(s + n), e = 0; e < n; e++, s++)e in r && Ql(c, s, r[e]); return c.length = s, c } }), i), nf = Tr.filter, P = (h({ target: "Array", proto: !0, forced: !Mi("filter") }, { filter: function (t) { return nf(this, t, 1 < arguments.length ? arguments[1] : void 0) } }), i), rf = g.includes, Gt = oo, S = (P({ target: "Array", proto: !0, forced: t(function () { return !Array(1).includes() }) }, { includes: function (t) { return rf(this, t, 1 < arguments.length ? arguments[1] : void 0) } }), Gt("includes"), i), of = Tr.map, af = (S({ target: "Array", proto: !0, forced: !Mi("map") }, { map: function (t) { return of(this, t, 1 < arguments.length ? arguments[1] : void 0) } }), e), cf = W, sf = r("match"), uf = function (t) { var e; return af(t) && (void 0 !== (e = t[sf]) ? !!e : "RegExp" === cf(t)) }, lf = TypeError, ff = r("match"), nn = i, hf = function (t) { if (uf(t)) throw new lf("The method doesn't accept regular expressions"); return t }, df = K, pf = Do, yu = function (e) { var n = /./; try { "/./"[e](n) } catch (t) { try { return n[ff] = !1, "/./"[e](n) } catch (t) { } } return !1 }, vf = p("".indexOf), yf = (nn({ target: "String", proto: !0, forced: !yu("includes") }, { includes: function (t) { return !!~vf(pf(df(this)), pf(hf(t)), 1 < arguments.length ? arguments[1] : void 0) } }), null), gf = null, mf = null, bf = null, wf = null; function Pf(s) { for (var t, u = null == s.isSolid || s.isSolid, l = null != s.opacity ? s.opacity : .5, f = s.R || 500, h = s.width || 250, d = null == s.isPercent || s.isPercent, p = s.pieHeight || 100, v = 0, e = 0; e < s.pieData.length; e++)s.pieData[e].value2 && (t = Math.max.apply(null, s.pieData[e].value2), v < t) && (v = t); for (var y = [], g = 0; g < s.pieData.length; g++)(() => { for (var t = 0, e = 0, n = 0, r = (s.pieData[g].value.forEach(function (t) { n += t }), [s.pieData[g].x, s.pieData[g].e, s.pieData[g].y]), o = 0; o < s.pieData[g].value.length; o++) { var i, a, c = null; t = (c = s.pieData[g].value2 && s.pieData[g].value2.length ? (i = [2 * f, s.pieData[g].value2[o] * p / v, 2 * f], e += o == s.pieData[g].value.length - 1 ? 360 - e : Math.round(s.pieData[g].value[o] / n * 360), u ? Ef(s.g3d, t, e, s.colorArr[o], l, i, r) : Sf(s.g3d, t, e, s.colorArr[o], l, i, r, 1 - h / f)) : d ? (i = [2 * f, p, 2 * f], e += o == s.pieData[g].value.length - 1 ? 360 - e : Math.round(s.pieData[g].value[o] / n * 360), u ? Ef(s.g3d, t, e, s.colorArr[o], l, i, r) : Sf(s.g3d, t, e, s.colorArr[o], l, i, r, 1 - h / f)) : (a = [2 * f, s.pieData[g].value[o] * p / v, 2 * f], e += o == s.pieData[g].value.length - 1 ? 360 - e : Math.round(360 / s.pieData[g].value.length), u ? Ef(s.g3d, t, e, s.colorArr[o], l, a, r) : Sf(s.g3d, t, e, s.colorArr[o], l, a, r, 1 - h / f)), e), c.s({ pieDataIndex: g, valueDataIndex: o, pieInfo: s.pieData[g], "3d.selectable": !1 }), y.push(c) } })(); return yf = s.g3d, gf = s.billbordImg, mf = s.pieData, bf = s.colorArr, wf = s.isShowBillboard, document.body.addEventListener("mousemove", Af), y } function Ef(t, e, n, r, o, i, a) { for (var c = null, s = null, u = 0, l = 0, f = 0, h = 1, d = 0, p = 0, v = 0, y = (Array.isArray(r) && (c = (c = (c = r[0].split("(")[1] || "").split(")")[0] || "").split(","), s = (s = (s = r[1].split("(")[1] || "").split(")")[0] || "").split(","), u = (c[0] || 0) / 255, l = (c[1] || 0) / 255, f = (c[2] || 0) / 255, h = c[3] || 1, d = (s[0] || 0) / 255, p = (s[1] || 0) / 255, v = (s[2] || 0) / 255), [0, 1, 0]), g = [], m = [1, 1], b = [u, l, f, h], w = e; w <= n; w++) { var P = Math.PI / 180 * w; y.push(Math.cos(P), 1, Math.sin(P)), g.push(w - e, 0, w - e + 1), m.push(Math.cos(P), Math.sin(P)), Array.isArray(r) && b.push(u, l, f, h) } for (var E = e; E <= n; E++) { var S = Math.PI / 180 * E; y.push(Math.cos(S), 0, Math.sin(S)), E != n && g.push(E - e + 2 + (n - e), E - e + 3 + (n - e), E - e + 1, E - e + 1, E - e + 3 + (n - e), E - e + 2), m.push(Math.cos(S), Math.sin(S)), Array.isArray(r) && b.push(d, p, v, v) } return y.push(0, 0, 0), g.push(0, 1, n - e + 2, 0, n - e + 2, y.length / 3 - 1, 0, y.length / 3 - 1, y.length / 3 - 2, 0, y.length / 3 - 2, n - e + 1), m.push(1, 1), Array.isArray(r) && b.push(d, p, v, v), "string" == typeof r ? ((c = new ht.Node).s({ shape3d: { vs: y, is: g, uv: m }, "shape3d.color": r, "shape3d.reverse.flip": !0, "shape3d.opacity": o }), c.s3(i), c.p3(a), t.dm().add(c), c) : Array.isArray(r) ? ((s = new ht.Node).s3(i), s.p3(a), s.s({ shape3d: { model3d: !0, mesh: { vs: y, is: g, uv: m, a_color: b }, mat: { type: "pieChartShader.glsl" } }, "shape3d.transparent": !0 }), t.dm().add(s), s) : void 0 } function Sf(t, e, n, r, o, i, a, c) { for (var s = null, u = null, l = 0, f = 0, h = 0, d = 1, p = 0, v = 0, y = 0, g = 1, m = (Array.isArray(r) && (s = (s = (s = r[0].split("(")[1] || "").split(")")[0] || "").split(","), u = (u = (u = r[1].split("(")[1] || "").split(")")[0] || "").split(","), l = (s[0] || 0) / 255, f = (s[1] || 0) / 255, h = (s[2] || 0) / 255, d = s[3] || 1, p = (u[0] || 0) / 255, v = (u[1] || 0) / 255, y = (u[2] || 0) / 255, g = u[3] || 1), []), b = [], w = [], P = [p, v, y, y], E = e; E <= n; E++) { var S = Math.PI / 180 * E; m.push(Math.cos(S), 1, Math.sin(S), c * Math.cos(S), 1, c * Math.sin(S)), w.push(1, 1, 1, 1), Array.isArray(r) && P.push(l, f, h, d, l, f, h, d) } for (var A = e; A < n; A++)b.push(2 * (A - e), 2 * (A - e) + 1, 2 * (A - e) + 3, 2 * (A - e), 2 * (A - e) + 3, 2 * (A - e) + 2); for (var D = e; D <= n; D++) { var k = Math.PI / 180 * D; m.push(Math.cos(k), 0, Math.sin(k), c * Math.cos(k), 0, c * Math.sin(k)), w.push(1, 1, 1, 1), Array.isArray(r) && P.push(p, v, y, g, p, v, y, g) } for (var O = e; O < n; O++)b.push(2 * (O - e) + 2 + 2 * (n - e), 2 * (O - e) + 4 + 2 * (n - e), 2 * (O - e), 2 * (O - e), 2 * (O - e) + 4 + 2 * (n - e), 2 * (O - e) + 2, 2 * (O - e) + 3 + 2 * (n - e), 2 * (O - e) + 5 + 2 * (n - e), 2 * (O - e) + 1, 2 * (O - e) + 1, 2 * (O - e) + 5 + 2 * (n - e), 2 * (O - e) + 3); return b.push(2 + 2 * (n - e), 3 + 2 * (n - e), 0, 0, 3 + 2 * (n - e), 1, m.length / 3 - 1, m.length / 3 - 2, 1 + 2 * (n - e), 1 + 2 * (n - e), m.length / 3 - 2, 2 * (n - e)), "string" == typeof r ? ((s = new ht.Node).s({ shape3d: { vs: m, is: b, uv: w }, "shape3d.color": r, "shape3d.reverse.flip": !0, "shape3d.opacity": o }), s.s3(i), s.p3(a), t.dm().add(s), s) : Array.isArray(r) ? ((u = new ht.Node).s3(i), u.p3(a), u.s({ shape3d: { model3d: !0, mesh: { vs: m, is: b, uv: w, a_color: P }, mat: { type: "pieChartShader.glsl" } }, "shape3d.transparent": !0 }), t.dm().add(u), u) : void 0 } function Af(t) { var e, n; wf && ((t = yf.getDataInfoAt(t)) ? (n = yf.dm().getDataByTag("instructions"), mf && (e = t.data.s("pieDataIndex"), t = t.data.s("valueDataIndex"), e = mf[e]) && (n && yf.dm().remove(n), e.instructions || (e.instructions = ""), (n = new ht.Node).s({ shape3d: "billboard", "shape3d.image": gf, autorotate: !0, fixSizeOnScreen: -1 }), n.a({ pointsColor: bf[t], titleText: e.instructions, contentText: "当前值:" + e.value[t] }), n.setAnchor3d(0, 0, 1), n.setRenderLayer("top"), n.p3(e.x, 0, e.y), n.setTag("instructions"), yf.dm().add(n))) : (t = yf.dm().getDataByTag("instructions")) && yf.dm().remove(t)) } ht.Default.setShader("pieChartShader.glsl", "// hints : bloomSelective \nuniform mat4 uModelViewMatrix;\nuniform mat4 uProjectMatrix;\n\nattribute vec3 vs;\nattribute vec4 a_color;\n\nvarying vec4 v_color;\n\nvoid main(void) {\n v_color = a_color;\n gl_Position = uProjectMatrix * uModelViewMatrix * vec4(vs, 1.0);\n}\n// FS\nvarying vec4 v_color;\n\nvoid main(void) {\n gl_FragColor = v_color;\n}\n"); var Df = (() => { function a(t, e) { return L(this, a), (t = B(this, a, [t, e])).key = li, t.url = "07aa7e30-765f-11f0-8f44-31884b3ffdc2.json", t.eye = [243.13264, 1541.607, 1022.28518], t.center = [164.28105, -179.1378, -359.57752], t.near = 10, t.far = 1e5, t.provinceFocusable = !0, t } return U(a, Hl), F(a, [{ key: "onPostDeserialize", value: function (t, e, r, n) { var o = this, t = ($(a, "onPostDeserialize", this, 3)([t, e, r, n]), this.main.nextDeserializeCallback), i = (delete this.main.nextDeserializeCallback, "function" == typeof t && t(), this.risenProvinces = [], this.flywires = [], this.bars = [], this.pies = [], this.billboards = [], this.modifiedPlots = [], { duration: 1e3, easing: function (t) { return t }, action: function (e) { o.flywires.forEach(function (t) { t.s("shape3d.uv.offset", [-e, 0]) }), 1 === e && (o.flywireAnimInstance = ht.Default.startAnim(i)) } }); this.flywireAnimInstance = ht.Default.startAnim(i), vi.forEach(function (n) { e.getDataByTag("全国.省地块." + n).s({ interactive: !0, onEnter: function () { return r.setCursor("pointer") }, onLeave: function () { return r.setCursor("") }, onClick: function () { o.event.fire("clickProvince", n), o.provinceFocusable && o.riseProvince(n, !0) } }); var t = e.getDataByTag(n + ".市地块"); t && t.eachChild(function (t) { var e = t.getTag().split(".").slice(-1)[0]; t.s({ interactive: !0, onEnter: function () { return r.setCursor("pointer") }, onLeave: function () { return r.setCursor("") }, onClick: function () { o.event.fire(pi, { province: n, city: e }) } }) }) }) } }, { key: "onTearDown", value: function () { var t; $(a, "onTearDown", this, 3)([]), null != (t = this.flywireAnimInstance) && t.stop() } }, { key: "setProvinceFocusable", value: function (t) { this.provinceFocusable = t, delete this.focusProvince } }, { key: "riseProvince", value: function (t, e) { var n = this.dm.getDataByTag(t + ".详细"), r = this.dm.getDataByTag("全国.省地块." + t); return n && r ? this.risenProvinces.includes(t) ? console.warn("地块已升起") : (this.risenProvinces.length || this.player.play(this.view, "地块升起"), e && (this.clearAll(), this.focusProvince = t, this.view.flyTo(r, { animation: { duration: 1e3 } })), this.risenProvinces.push(t), r.s("3d.selectable", !1), n.s("3d.visible", !0), void ht.Default.startAnim({ duration: 1e3, easing: function (t) { return t }, action: function (t) { n.setScaleTall(.2 + .8 * t) } })) : console.warn("地块未创建") } }, { key: "fallProvince", value: function (e) { this.risenProvinces = this.risenProvinces.filter(function (t) { return t !== e }), this.focusProvince === e && delete this.focusProvince; var n = this.dm.getDataByTag(e + ".详细"), r = this.dm.getDataByTag("全国.省地块." + e); if (!n || !r) return console.warn("地块未创建"); this.risenProvinces.length || this.player.playBackward(this.view, "地块升起"), ht.Default.startAnim({ duration: 1e3, easing: function (t) { return t }, action: function (t) { n.setScaleTall(1 - .8 * t), 1 === t && (n.s("3d.visible", !1), r.s("3d.selectable", !0)) } }) } }, { key: "clearAllRisenProvinces", value: function () { for (; this.risenProvinces.length;)this.fallProvince(this.risenProvinces[0]); delete this.focusProvince } }, { key: "createFlywire", value: function (t, e) { var t = t instanceof ht.Data ? t : this.getAnchorByName(t), e = e instanceof ht.Data ? e : this.getAnchorByName(e); return t && e ? ((t = new ht.plugin.EdgeExt(t, e)).s({ "shape3d.color": "rgb(255,255,255)", "edge.width": 3, "edge.color": "#D8D8D8", "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, shape3d: "cylinder", "shape3d.resolution": 12, "shape3d.side": 6, "edge.type": "EdgePluginCustomizeEdgeType", "edge.target.anchor.elevation": 0, "shape3d.image": "dd8dfef0-7123-11f0-b099-a5ca5beb626f.json", "shape3d.reverse.cull": !0, "shape3d.transparent": !0, "shape3d.opacity": 1, "shape3d.uv.offset": [0, 0], "repeat.uv.length": 241, "body.color": "rgb(255,249,128)" }), t.a({ "edge.customizeCurve": !0 }), this.dm.add(t), this.flywires.push(t), t) : console.warn("节点未找到") } }, { key: "clearAllFlywires", value: function () { this.flywires.forEach(function (t) { return t.removeFromDataModel() }), this.flywires = [] } }, { key: "createBar", value: function (t) { var i, a, c, s, u = this, e = t.location, n = t.items, r = t.width, l = void 0 === r ? 15 : r, r = t.rotation, f = void 0 === r ? 0 : r, r = t.offsetX, r = void 0 === r ? 0 : r, o = t.offsetY, o = void 0 === o ? 0 : o, h = t.offsetZ, h = void 0 === h ? 0 : h, d = t.onClick, p = t.onEnter, v = t.onLeave, t = this.getAnchorByName(e); return t ? (i = t.getX() + r, a = t.getY() + o, c = t.getElevation() + h, s = [], n.forEach(function (t) { var e = t.tall, e = void 0 === e ? 10 : e, n = t.color, r = t.wfColor, o = new ht.Node; o.s({ shape3d: "box", "shape3d.color": n, "wf.visible": null != r, "wf.color": r, "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, interactive: "function" == typeof d || "function" == typeof p || "function" == typeof v, onEnter: function () { "function" == typeof d && u.view.setCursor("pointer"), "function" == typeof p && p(o, t) }, onLeave: function () { u.view.setCursor(""), "function" == typeof v && v(o, t) }, onClick: function () { "function" == typeof d && d(o, t) } }), o.setSize(l, l), o.setTall(e), o.setAnchor3d(.5, 0, .5), o.p3(i, c, a), o.setRotationY(f * Math.PI / 180), c += e, u.dm.add(o), s.push(o), u.bars.push(o) }), s) : console.warn("节点未找到") } }, { key: "clearAllBars", value: function () { this.bars.forEach(function (t) { return t.removeFromDataModel() }), this.bars = [] } }, { key: "createPie", value: function (t) { var e = this, n = t.location, r = t.items, o = t.width, o = void 0 === o ? 5 : o, i = t.radius, i = void 0 === i ? 20 : i, a = t.height, a = void 0 === a ? 10 : a, c = t.rotation, s = void 0 === c ? 0 : c, c = t.offsetX, c = void 0 === c ? 0 : c, u = t.offsetY, u = void 0 === u ? 0 : u, l = t.offsetZ, l = void 0 === l ? 0 : l, f = t.onClick, h = t.onEnter, d = t.onLeave, t = this.getAnchorByName(n); return t ? (n = t.getX() + c, c = t.getY() + u, u = t.getElevation() + l, (t = Pf({ g3d: this.view, pieData: [{ x: n, y: c, e: u, value: r.map(function (t) { return t.value }), value2: r.map(function (t) { return t.value2 }) }], colorArr: r.map(function (t) { return t.color }), isSolid: !1, isShowBillboard: !1, R: i, width: o, pieHeight: a })).forEach(function (t) { e.pies.push(t), t.setRotationY(s * Math.PI / 180), t.s({ "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, "3d.selectable": !0, interactive: "function" == typeof f || "function" == typeof h || "function" == typeof d, onEnter: function () { "function" == typeof f && e.view.setCursor("pointer"), "function" == typeof h && h(t, r[t.s("valueDataIndex")]) }, onLeave: function () { e.view.setCursor(""), "function" == typeof d && d(t, r[t.s("valueDataIndex")]) }, onClick: function () { "function" == typeof f && f(t, r[t.s("valueDataIndex")]) } }) }), t) : console.warn("节点未找到") } }, { key: "clearAllPies", value: function () { this.pies.forEach(function (t) { return t.removeFromDataModel() }), this.pies = [] } }, { key: "createBillboard", value: function (t) { var e, n = this, r = t.location, o = t.type, o = void 0 === o ? "default" : o, i = t.scale, i = void 0 === i ? 1 : i, a = t.fixSize, a = void 0 === a || a, c = t.value, s = t.text, u = t.offsetX, u = void 0 === u ? 0 : u, l = t.offsetY, l = void 0 === l ? 0 : l, f = t.offsetZ, f = void 0 === f ? 0 : f, h = t.onClick, d = t.onEnter, p = t.onLeave, t = this.getAnchorByName(r); return t ? (r = yi[o]) ? (o = t.getX() + u, u = t.getY() + l, l = t.getElevation() + f, (e = new ht.Node).a({ value: c, text: s }), e.s({ shape3d: "billboard", "shape3d.image": r, autorotate: !0, "shape3d.transparent": !0, "texture.scale": 2, "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, "shape3d.reflector": !1, "shape3d.discard.selectable": !1, fixSizeOnScreen: a, interactive: "function" == typeof h || "function" == typeof d || "function" == typeof p, onEnter: function () { "function" == typeof h && n.view.setCursor("pointer"), "function" == typeof d && d(e) }, onLeave: function () { n.view.setCursor(""), "function" == typeof p && p(e) }, onClick: function () { "function" == typeof h && h(e) } }), e.setScale3d(i, i, i), e.setAnchor3d(.5, 0, .5), e.p3(o, l, u), this.dm.add(e), this.billboards.push(e), e) : console.warn("类型未找到") : console.warn("节点未找到") } }, { key: "clearAllBillboards", value: function () { this.billboards.forEach(function (t) { return t.removeFromDataModel() }), this.billboards = [] } }, { key: "clearAll", value: function () { this.clearAllBars(), this.clearAllPies(), this.clearAllBillboards(), this.clearAllFlywires(), this.clearAllRisenProvinces(), this.resetAllPlotsColor() } }, { key: "setPlotColor", value: function (t, e, n) { t = t instanceof ht.Data ? t : this.getPlotByName(t); if (!t) return console.warn("地块未找到"); t.s("body.color", e), n && (t.s("shape3d.top.color", "#fff"), t.s("shape3d.top.image", void 0)), this.modifiedPlots.push(t) } }, { key: "resetPlotColor", value: function (t) { var e = t instanceof ht.Data ? t : this.getPlotByName(t); if (!e) return console.warn("地块未找到"); e.getTag().includes("省地块") ? (e.s("body.color", "rgb(22,48,79)"), e.s("shape3d.top.image", "351ea240-6c57-11f0-b6cb-0f5863d02eef.json")) : (e.s("body.color", "rgb(21,40,59)"), e.s("shape3d.top.image", "b1654730-6e5a-11ed-9b13-9b04de62ba56.jpg")), this.modifiedPlots = this.modifiedPlots.filter(function (t) { return t !== e }) } }, { key: "resetAllPlotsColor", value: function () { for (; this.modifiedPlots.length;)this.resetPlotColor(this.modifiedPlots[0]) } }, { key: "getPlotByName", value: function (t) { if ("string" == typeof t) { var t = t.split("."), e = t[0]; if (e) return 1 < t.length ? (t = t[1], this.dm.getDataByTag("".concat(e, ".市地块.").concat(t))) : this.dm.getDataByTag("全国.省地块.".concat(e)) } } }, { key: "getAnchorByName", value: function (t) { if ("string" == typeof t) { var t = t.split("."), e = t[0]; if (e) return 1 < t.length ? (t = t[1], this.dm.getDataByTag("".concat(e, ".市锚点.").concat(t))) : this.dm.getDataByTag("全国.省锚点.".concat(e)) } } }, { key: "switchToProvince", value: function (t, e) { if (!Object.values(fi).includes(t)) return console.warn("场景未创建"); this.main.nextDeserializeCallback = e, this.main.switch3d(t) } }, { key: "handleInteractive", value: function (t) { switch (t.kind) { case "doubleClickBackground": case "doubleClickData": this.provinceFocusable && this.focusProvince && (this.clearAll(), this.view.reset({ duration: 1e3 })) } } }]) })(), kf = (() => { function a(t, e) { return L(this, a), (t = B(this, a, [t, e])).citys = [], t } return U(a, Hl), F(a, [{ key: "onPostDeserialize", value: function (t, e, r, n) { var o = this, t = ($(a, "onPostDeserialize", this, 3)([t, e, r, n]), this.main.nextDeserializeCallback), i = (delete this.main.nextDeserializeCallback, "function" == typeof t && t(), this.risenCitys = [], this.flywires = [], this.bars = [], this.pies = [], this.billboards = [], this.modifiedPlots = [], { duration: 1e3, easing: function (t) { return t }, action: function (e) { o.flywires.forEach(function (t) { t.s("shape3d.uv.offset", [-e, 0]) }), 1 === e && (o.flywireAnimInstance = ht.Default.startAnim(i)) } }); this.flywireAnimInstance = ht.Default.startAnim(i), this.citys.forEach(function (n) { e.getDataByTag(o.key + ".市地块." + n).s({ interactive: !0, onEnter: function () { return r.setCursor("pointer") }, onLeave: function () { return r.setCursor("") }, onClick: function () { o.event.fire(pi, { province: o.key, city: n }) } }); var t = e.getDataByTag(n + ".区地块"); t && t.eachChild(function (t) { var e = t.getTag().split(".").slice(-1)[0]; t.s({ interactive: !0, onEnter: function () { return r.setCursor("pointer") }, onLeave: function () { return r.setCursor("") }, onClick: function () { o.event.fire("clickDistrict", { province: o.key, city: n, district: e }) } }) }) }) } }, { key: "onTearDown", value: function () { var t; $(a, "onTearDown", this, 3)([]), null != (t = this.flywireAnimInstance) && t.stop() } }, { key: "riseCity", value: function (t) { t = t.replace(this.key + ".", ""); var e = this.dm.getDataByTag(t + ".详细"), n = this.dm.getDataByTag(this.key + ".市地块." + t); return e && n ? this.risenCitys.includes(t) ? console.warn("地块已升起") : (this.risenCitys.length || this.player.play(this.view, "地块升起"), this.risenCitys.push(t), n.s("3d.selectable", !1), e.s("3d.visible", !0), void ht.Default.startAnim({ duration: 1e3, easing: function (t) { return t }, action: function (t) { e.setScaleTall(.2 + .8 * t) } })) : console.warn("地块未创建") } }, { key: "fallCity", value: function (e) { e = e.replace(this.key + ".", ""), this.risenCitys = this.risenCitys.filter(function (t) { return t !== e }); var n = this.dm.getDataByTag(e + ".详细"), r = this.dm.getDataByTag(this.key + ".市地块." + e); if (!n || !r) return console.warn("地块未创建"); this.risenCitys.length || this.player.playBackward(this.view, "地块升起"), ht.Default.startAnim({ duration: 1e3, easing: function (t) { return t }, action: function (t) { n.setScaleTall(1 - .8 * t), 1 === t && (n.s("3d.visible", !1), r.s("3d.selectable", !0)) } }) } }, { key: "clearAllRisenCitys", value: function () { for (; this.risenCitys.length;)this.fallCity(this.risenCitys[0]) } }, { key: "createFlywire", value: function (t, e) { var t = t instanceof ht.Data ? t : this.getAnchorByName(t), e = e instanceof ht.Data ? e : this.getAnchorByName(e); return t && e ? ((t = new ht.plugin.EdgeExt(t, e)).s({ "shape3d.color": "rgb(255,255,255)", "edge.width": 1, "edge.color": "#D8D8D8", "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, shape3d: "cylinder", "shape3d.resolution": 12, "shape3d.side": 6, "edge.type": "EdgePluginCustomizeEdgeType", "edge.target.anchor.elevation": 0, "shape3d.image": "dd8dfef0-7123-11f0-b099-a5ca5beb626f.json", "shape3d.reverse.cull": !0, "shape3d.transparent": !0, "shape3d.opacity": 1, "shape3d.uv.offset": [0, 0], "repeat.uv.length": 241, "body.color": "rgb(255,249,128)" }), t.a({ "edge.customizeCurve": !0 }), this.dm.add(t), this.flywires.push(t), t) : console.warn("节点未找到") } }, { key: "clearAllFlywires", value: function () { this.flywires.forEach(function (t) { return t.removeFromDataModel() }), this.flywires = [] } }, { key: "createBar", value: function (t) { var i, a, c, s, u = this, e = t.location, n = t.items, r = t.width, l = void 0 === r ? 5 : r, r = t.rotation, f = void 0 === r ? 0 : r, r = t.offsetX, r = void 0 === r ? 0 : r, o = t.offsetY, o = void 0 === o ? 0 : o, h = t.offsetZ, h = void 0 === h ? 0 : h, d = t.onClick, p = t.onEnter, v = t.onLeave, t = this.getAnchorByName(e); return t ? (i = t.getX() + r, a = t.getY() + o, c = t.getElevation() + h, s = [], n.forEach(function (t) { var e = t.tall, e = void 0 === e ? 10 : e, n = t.color, r = t.wfColor, o = new ht.Node; o.s({ shape3d: "box", "shape3d.color": n, "wf.visible": null != r, "wf.color": r, "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, interactive: "function" == typeof d || "function" == typeof p || "function" == typeof v, onEnter: function () { "function" == typeof d && u.view.setCursor("pointer"), "function" == typeof p && p(o, t) }, onLeave: function () { u.view.setCursor(""), "function" == typeof v && v(o, t) }, onClick: function () { "function" == typeof d && d(o, t) } }), o.setSize(l, l), o.setTall(e), o.setAnchor3d(.5, 0, .5), o.p3(i, c, a), o.setRotationY(f * Math.PI / 180), c += e, u.dm.add(o), s.push(o), u.bars.push(o) }), s) : console.warn("节点未找到") } }, { key: "clearAllBars", value: function () { this.bars.forEach(function (t) { return t.removeFromDataModel() }), this.bars = [] } }, { key: "createPie", value: function (t) { var e = this, n = t.location, r = t.items, o = t.width, o = void 0 === o ? 1.5 : o, i = t.radius, i = void 0 === i ? 6 : i, a = t.height, a = void 0 === a ? 3 : a, c = t.rotation, s = void 0 === c ? 0 : c, c = t.offsetX, c = void 0 === c ? 0 : c, u = t.offsetY, u = void 0 === u ? 0 : u, l = t.offsetZ, l = void 0 === l ? 0 : l, f = t.onClick, h = t.onEnter, d = t.onLeave, t = this.getAnchorByName(n); return t ? (n = t.getX() + c, c = t.getY() + u, u = t.getElevation() + l, (t = createPieChart({ g3d: this.view, pieData: [{ x: n, y: c, e: u, value: r.map(function (t) { return t.value }), value2: r.map(function (t) { return t.value2 }) }], colorArr: r.map(function (t) { return t.color }), isSolid: !1, isShowBillboard: !1, R: i, width: o, pieHeight: a })).forEach(function (t) { e.pies.push(t), t.setRotationY(s * Math.PI / 180), t.s({ "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, "3d.selectable": !0, interactive: "function" == typeof f || "function" == typeof h || "function" == typeof d, onEnter: function () { "function" == typeof f && e.view.setCursor("pointer"), "function" == typeof h && h(t, r[t.s("valueDataIndex")]) }, onLeave: function () { e.view.setCursor(""), "function" == typeof d && d(t, r[t.s("valueDataIndex")]) }, onClick: function () { "function" == typeof f && f(t, r[t.s("valueDataIndex")]) } }) }), t) : console.warn("节点未找到") } }, { key: "clearAllPies", value: function () { this.pies.forEach(function (t) { return t.removeFromDataModel() }), this.pies = [] } }, { key: "createBillboard", value: function (t) { var e, n = this, r = t.location, o = t.type, o = void 0 === o ? "default" : o, i = t.scale, i = void 0 === i ? 1 : i, a = t.fixSize, a = void 0 === a || a, c = t.value, s = t.text, u = t.offsetX, u = void 0 === u ? 0 : u, l = t.offsetY, l = void 0 === l ? 0 : l, f = t.offsetZ, f = void 0 === f ? 0 : f, h = t.onClick, d = t.onEnter, p = t.onLeave, t = this.getAnchorByName(r); return t ? (r = BILLBOARD_TYPES[o]) ? (o = t.getX() + u, u = t.getY() + l, l = t.getElevation() + f, (e = new ht.Node).a({ value: c, text: s }), e.s({ shape3d: "billboard", "shape3d.image": r, autorotate: !0, "shape3d.transparent": !0, "texture.scale": 2, "light.mask": 1, "effect.flow.mask": 1, "3d.clipbox.mask": 0, "shadow.cast": !1, "shadow.receive": !1, "3d.reflectable": !1, "shape3d.reflector": !1, "shape3d.discard.selectable": !1, fixSizeOnScreen: a, interactive: "function" == typeof h || "function" == typeof d || "function" == typeof p, onEnter: function () { "function" == typeof h && n.view.setCursor("pointer"), "function" == typeof d && d(e) }, onLeave: function () { n.view.setCursor(""), "function" == typeof p && p(e) }, onClick: function () { "function" == typeof h && h(e) } }), e.setScale3d(i, i, i), e.setAnchor3d(.5, 0, .5), e.p3(o, l, u), this.dm.add(e), this.billboards.push(e), e) : console.warn("类型未找到") : console.warn("节点未找到") } }, { key: "clearAllBillboards", value: function () { this.billboards.forEach(function (t) { return t.removeFromDataModel() }), this.billboards = [] } }, { key: "clearAll", value: function () { this.clearAllBars(), this.clearAllPies(), this.clearAllBillboards(), this.clearAllFlywires(), this.clearAllRisenCitys(), this.resetAllPlotsColor() } }, { key: "setPlotColor", value: function (t, e, n) { t = t instanceof ht.Data ? t : this.getPlotByName(t); if (!t) return console.warn("地块未找到"); t.s("body.color", e), n && (t.s("shape3d.top.color", "#fff"), t.s("shape3d.top.image", void 0)), this.modifiedPlots.push(t) } }, { key: "resetPlotColor", value: function (t) { var e = t instanceof ht.Data ? t : this.getPlotByName(t); if (!e) return console.warn("地块未找到"); e.getTag().includes("市地块") ? e.s("body.color", "rgb(21,34,46)") : e.s("body.color", "rgb(21,40,59)"), e.s("shape3d.top.image", "b1654730-6e5a-11ed-9b13-9b04de62ba56.jpg"), this.modifiedPlots = this.modifiedPlots.filter(function (t) { return t !== e }) } }, { key: "resetAllPlotsColor", value: function () { for (; this.modifiedPlots.length;)this.resetPlotColor(this.modifiedPlots[0]) } }, { key: "getPlotByName", value: function (t) { if ("string" == typeof t) { var t = (t = t.replace(this.key + ".", "")).split("."), e = t[0]; if (e) return 1 < t.length ? (t = t[1], this.dm.getDataByTag("".concat(e, ".区地块.").concat(t))) : this.dm.getDataByTag("".concat(this.key, ".市地块.").concat(e)) } } }, { key: "getAnchorByName", value: function (t) { if ("string" == typeof t) { var t = (t = t.replace(this.key + ".", "")).split("."), e = t[0]; if (e) return 1 < t.length ? (t = t[1], this.dm.getDataByTag("".concat(e, ".区锚点.").concat(t))) : this.dm.getDataByTag("".concat(this.key, ".市锚点.").concat(e)) } } }, { key: "switchToChina", value: function (t) { this.main.nextDeserializeCallback = t, this.main.switch3d(li) } }]) })(), Of = (() => { function n(t, e) { return L(this, n), (t = B(this, n, [t, e])).key = fi.HU_NAN, t.url = "d7d06960-73ff-11f0-8f44-31884b3ffdc2.json", t.eye = [445.3761219146667, 239.34349735141913, 353.951375009966], t.center = [434.9965151120824, -2.305441363441538, 116.20420373072619], t.near = 10, t.far = 1e5, t.citys = ["长沙市", "株洲市", "湘潭市", "衡阳市", "邵阳市", "岳阳市", "常德市", "张家界市", "益阳市", "郴州市", "永州市", "怀化市", "娄底市", "湘西土家族苗族自治州"], t } return U(n, kf), F(n) })(), xf = (() => { function n(t, e) { return L(this, n), (t = B(this, n, [t, e])).key = fi.GUI_ZHOU, t.url = "d676f3e0-73ff-11f0-8f44-31884b3ffdc2.json", t.eye = [254.83746, 228.29467, 371.31739], t.center = [251.70729, -14.13064, 110.48116], t.near = 10, t.far = 1e5, t.citys = ["贵阳市", "六盘水市", "遵义市", "安顺市", "毕节市", "铜仁市", "黔西南布依族苗族自治州", "黔东南苗族侗族自治州", "黔南布依族苗族自治州"], t } return U(n, kf), F(n) })(), Cf = (() => { function n(t, e) { return L(this, n), (t = B(this, n, [t, e])).key = fi.SHAN_DONG, t.url = "eaba0480-7415-11f0-8f44-31884b3ffdc2.json", t.eye = [689.75917, 249.36393, -42.48301], t.center = [684.75834, 2.77785, -280.58266], t.near = 10, t.far = 1e5, t.citys = ["济南市", "青岛市", "淄博市", "枣庄市", "东营市", "烟台市", "潍坊市", "济宁市", "泰安市", "威海市", "日照市", "莱芜市", "临沂市", "德州市", "聊城市", "滨州市", "菏泽市"], t } return U(n, kf), F(n) })(), D = (() => F(function t() { L(this, t), this.g2d = new ht.graph.GraphView, this.g3d = new ht.graph3d.Graph3dView, this.event = new ui, this.initView() }, [{ key: "initView", value: function () { function t(t) { n.getDataAt(t) && t.stopPropagation() } var e = this, n = this.g2d, r = this.g3d; n.getSelectWidth = function () { return 0 }, n.setZoomable(!1), n.setPannable(!1), n.setRectSelectable(!1), n.setScrollBarVisible(!1), n.setMovableFunc(function (t) { return /(^|;)\s*movable(;|$)/.test(t.s("comment")) }); n.getView().addEventListener("mousedown", t), n.getView().addEventListener("touchstart", t), n.getView().addEventListener("mousewheel", t), n.addToDOM(r.getView()), r.getBrightness = function (t) { return t.s("brightness") }, r.preventDefaultWhenInteractive = function () { return !1 }, r.addToDOM(), Object.defineProperty(this, "views", { value: { indexScene: new Df(this, r), hunanProvinceScene: new Of(this, r), guizhouProvinceScene: new xf(this, r), shandongProvinceScene: new Cf(this, r) }, writable: !1, configurable: !1 }), r.reset = function (t) { r.setFovy(e.active3d.fovy || ht.Default.graph3dViewFovy), r.setUp(ht.Default.graph3dViewUp), r.setNear(e.active3d.near || ht.Default.graph3dViewNear), r.setFar(e.active3d.far || ht.Default.graph3dViewFar), r.moveCamera(e.active3d.eye || ht.Default.graph3dViewEye, e.active3d.center || ht.Default.graph3dViewCenter, t) } } }, { key: "switch", value: function () { var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : li; this.switch2d(t), this.switch3d(t) } }, { key: "switch2d", value: function () { this.event.fire(hi, 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : li) } }, { key: "switch3d", value: function () { this.event.fire(di, 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : li) } }]))(); return Object.defineProperty(D.prototype, "active2d", { get: function () { return Object.values(this.views).find(function (t) { return t.active && t.view instanceof ht.graph.GraphView }) }, configurable: !1 }), Object.defineProperty(D.prototype, "active3d", { get: function () { return Object.values(this.views).find(function (t) { return t.active && t.view instanceof ht.graph3d.Graph3dView }) }, configurable: !1 }), (A = new D).switch(), A })();