gy-cesium
Version:
gy
669 lines • 3.69 MB
JavaScript
var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => {
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
return value;
};
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t2, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb, _ub, _vb, _wb, _xb, _yb, _zb, _Ab, _Bb, _Cb, _Db, _Eb, _Fb, _Gb, _Hb, _Ib, _Jb, _Kb, _Lb, _Mb, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb, _Tb, _Ub, _Vb, _Wb, _Xb, _Yb, _Zb, __b, _$b;
import { reactive, markRaw, defineComponent, onMounted, onBeforeUnmount, ref, watch, shallowRef, watchEffect, readonly, unref as unref$1, getCurrentScope, onScopeDispose, getCurrentInstance as getCurrentInstance$1, nextTick, computed as computed$1 } from "vue-demi";
import * as _0x1b2787 from "cesium";
import { lineString, lineChunk, polygon, centerOfMass, transformScale } from "@turf/turf";
import _0x26b4d0 from "gsap";
import _0x20b096 from "@cesium/engine/Source/Scene/ShadowMap.js";
import _0x2df929 from "@cesium/engine/Source/Renderer/Texture.js";
import { resolveComponent, openBlock, createElementBlock, withModifiers, renderSlot, createBlock, createCommentVNode, getCurrentInstance, inject, ref as ref$1, computed, unref, isRef, warn, defineComponent as defineComponent$1, mergeProps, createElementVNode, onMounted as onMounted$1, watch as watch$1, toRef, onUnmounted, shallowRef as shallowRef$1, nextTick as nextTick$1, useAttrs as useAttrs$1, useSlots, normalizeClass, normalizeStyle, Fragment, withCtx, resolveDynamicComponent, createVNode, toDisplayString, onBeforeUnmount as onBeforeUnmount$1, Transition, withDirectives, vShow, provide, reactive as reactive$1, onActivated, onUpdated, cloneVNode, Text, Comment, Teleport as Teleport$1, onBeforeMount, readonly as readonly$1, onDeactivated, watchEffect as watchEffect$1, renderList, withKeys, createTextVNode, createSlots, toRaw, toRefs, resolveDirective, toHandlerKey, vModelText, h } from "vue";
const widgets = "";
(function(_0x41d58c, _0x2e2b8e) {
const _0x4155ce = _0x16c0, _0x1c6ca0 = _0x41d58c();
while (!![]) {
try {
const _0x3896dd = parseInt(_0x4155ce(408)) / 1 * (parseInt(_0x4155ce(404)) / 2) + -parseInt(_0x4155ce(406)) / 3 * (-parseInt(_0x4155ce(398)) / 4) + -parseInt(_0x4155ce(401)) / 5 * (parseInt(_0x4155ce(407)) / 6) + parseInt(_0x4155ce(405)) / 7 + -parseInt(_0x4155ce(403)) / 8 + -parseInt(_0x4155ce(400)) / 9 + parseInt(_0x4155ce(409)) / 10;
if (_0x3896dd === _0x2e2b8e)
break;
else
_0x1c6ca0["push"](_0x1c6ca0["shift"]());
} catch (_0x4cddd2) {
_0x1c6ca0["push"](_0x1c6ca0["shift"]());
}
}
})(_0x71b6, 425953);
const x_PI = 3.141592653589793 * 3e3 / 180, PI = 3.141592653589793, a = 6378245, ee$1 = 0.006693421622965943;
function bd09togcj02(_0x1fbb7f, _0x2ddb6c) {
const _0x6b94de = _0x16c0;
let _0x3b0f80 = 3.141592653589793 * 3e3 / 180, _0x415b29 = _0x1fbb7f - 65e-4, _0x5dd24a = _0x2ddb6c - 6e-3, _0x14285b = Math[_0x6b94de(397)](_0x415b29 * _0x415b29 + _0x5dd24a * _0x5dd24a) - 2e-5 * Math[_0x6b94de(410)](_0x5dd24a * _0x3b0f80), _0x374243 = Math[_0x6b94de(396)](_0x5dd24a, _0x415b29) - 3e-6 * Math["cos"](_0x415b29 * _0x3b0f80), _0x5d0d9d = _0x14285b * Math[_0x6b94de(399)](_0x374243), _0x3a0e04 = _0x14285b * Math["sin"](_0x374243);
return [_0x5d0d9d, _0x3a0e04];
}
function gcj02tobd09(_0x2f5293, _0x1a7d8d) {
const _0x744ae3 = _0x16c0;
let _0x4a3cd5 = Math[_0x744ae3(397)](_0x2f5293 * _0x2f5293 + _0x1a7d8d * _0x1a7d8d) + 2e-5 * Math[_0x744ae3(410)](_0x1a7d8d * x_PI), _0x169e48 = Math[_0x744ae3(396)](_0x1a7d8d, _0x2f5293) + 3e-6 * Math["cos"](_0x2f5293 * x_PI), _0x256e85 = _0x4a3cd5 * Math[_0x744ae3(399)](_0x169e48) + 65e-4, _0xaf023e = _0x4a3cd5 * Math[_0x744ae3(410)](_0x169e48) + 6e-3;
return [_0x256e85, _0xaf023e];
}
function wgs84togcj02(_0x23b09a, _0x41b734) {
const _0x386aac = _0x16c0;
if (outOfChina(_0x23b09a, _0x41b734))
return [_0x23b09a, _0x41b734];
else {
let _0x1adcdc = transformlat(_0x23b09a - 105, _0x41b734 - 35), _0x3669be = transformlng(_0x23b09a - 105, _0x41b734 - 35), _0x1ac836 = _0x41b734 / 180 * PI, _0x5041ec = Math[_0x386aac(410)](_0x1ac836);
_0x5041ec = 1 - ee$1 * _0x5041ec * _0x5041ec;
let _0x831fe6 = Math[_0x386aac(397)](_0x5041ec);
_0x1adcdc = _0x1adcdc * 180 / (a * (1 - ee$1) / (_0x5041ec * _0x831fe6) * PI), _0x3669be = _0x3669be * 180 / (a / _0x831fe6 * Math[_0x386aac(399)](_0x1ac836) * PI);
const _0x248f5e = _0x41b734 + _0x1adcdc, _0x8f69ee = _0x23b09a + _0x3669be;
return [_0x8f69ee, _0x248f5e];
}
}
function gcj02towgs84(_0x4648b9, _0x45125f) {
const _0x543c1a = _0x16c0;
if (outOfChina(_0x4648b9, _0x45125f))
return [_0x4648b9, _0x45125f];
else {
let _0x31bd03 = transformlat(_0x4648b9 - 105, _0x45125f - 35), _0x3b486c = transformlng(_0x4648b9 - 105, _0x45125f - 35), _0x1cdcc4 = _0x45125f / 180 * PI, _0x4600ea = Math[_0x543c1a(410)](_0x1cdcc4);
_0x4600ea = 1 - ee$1 * _0x4600ea * _0x4600ea;
let _0x2d3788 = Math[_0x543c1a(397)](_0x4600ea);
_0x31bd03 = _0x31bd03 * 180 / (a * (1 - ee$1) / (_0x4600ea * _0x2d3788) * PI), _0x3b486c = _0x3b486c * 180 / (a / _0x2d3788 * Math[_0x543c1a(399)](_0x1cdcc4) * PI);
const _0x28fd53 = _0x45125f + _0x31bd03, _0x33fe23 = _0x4648b9 + _0x3b486c;
return [_0x4648b9 * 2 - _0x33fe23, _0x45125f * 2 - _0x28fd53];
}
}
function bd09towgs84(_0x4ac702, _0x139f8a) {
const _0x540d75 = bd09togcj02(_0x4ac702, _0x139f8a), _0x5016e3 = gcj02towgs84(_0x540d75[0], _0x540d75[1]);
return _0x5016e3;
}
function _0x71b6() {
const _0xe1d97c = ["1589632xuEhaB", "62Xtimrj", "3885406sVKMbL", "43611xGMyMw", "1458918AucdSy", "13091pMbfAa", "1802190pnoQnU", "sin", "atan2", "sqrt", "212pGMMCu", "cos", "7205364OQqYhu", "10JRlzQg", "abs"];
_0x71b6 = function() {
return _0xe1d97c;
};
return _0x71b6();
}
function wgs84tobd09(_0x306aac, _0x26ab1d) {
const _0x410f33 = wgs84togcj02(_0x306aac, _0x26ab1d), _0x17609d = gcj02tobd09(_0x410f33[0], _0x410f33[1]);
return _0x17609d;
}
function transformlat(_0x11791b, _0x1dda38) {
const _0x2f4a27 = _0x16c0;
let _0x279989 = -100 + 2 * _0x11791b + 3 * _0x1dda38 + 0.2 * _0x1dda38 * _0x1dda38 + 0.1 * _0x11791b * _0x1dda38 + 0.2 * Math[_0x2f4a27(397)](Math["abs"](_0x11791b));
return _0x279989 += (20 * Math[_0x2f4a27(410)](6 * _0x11791b * PI) + 20 * Math[_0x2f4a27(410)](2 * _0x11791b * PI)) * 2 / 3, _0x279989 += (20 * Math[_0x2f4a27(410)](_0x1dda38 * PI) + 40 * Math[_0x2f4a27(410)](_0x1dda38 / 3 * PI)) * 2 / 3, _0x279989 += (160 * Math[_0x2f4a27(410)](_0x1dda38 / 12 * PI) + 320 * Math[_0x2f4a27(410)](_0x1dda38 * PI / 30)) * 2 / 3, _0x279989;
}
function transformlng(_0x4a0634, _0x10cee5) {
const _0x38bf57 = _0x16c0;
let _0x19d6d0 = 300 + _0x4a0634 + 2 * _0x10cee5 + 0.1 * _0x4a0634 * _0x4a0634 + 0.1 * _0x4a0634 * _0x10cee5 + 0.1 * Math[_0x38bf57(397)](Math[_0x38bf57(402)](_0x4a0634));
return _0x19d6d0 += (20 * Math[_0x38bf57(410)](6 * _0x4a0634 * PI) + 20 * Math[_0x38bf57(410)](2 * _0x4a0634 * PI)) * 2 / 3, _0x19d6d0 += (20 * Math[_0x38bf57(410)](_0x4a0634 * PI) + 40 * Math[_0x38bf57(410)](_0x4a0634 / 3 * PI)) * 2 / 3, _0x19d6d0 += (150 * Math[_0x38bf57(410)](_0x4a0634 / 12 * PI) + 300 * Math["sin"](_0x4a0634 / 30 * PI)) * 2 / 3, _0x19d6d0;
}
function _0x16c0(_0x5e86a4, _0x6c59d2) {
const _0x71b6bf = _0x71b6();
return _0x16c0 = function(_0x16c043, _0x1ce5eb) {
_0x16c043 = _0x16c043 - 396;
let _0x3bf367 = _0x71b6bf[_0x16c043];
return _0x3bf367;
}, _0x16c0(_0x5e86a4, _0x6c59d2);
}
function outOfChina(_0x50a270, _0x5e882f) {
return _0x50a270 < 72.004 || _0x50a270 > 137.8347 || (_0x5e882f < 0.8293 || _0x5e882f > 55.8271 || ![]);
}
(function(_0x1d3a8c, _0x17b79d) {
const _0x17cd92 = _0x2ad4, _0x3f6714 = _0x1d3a8c();
while (!![]) {
try {
const _0x40319a = -parseInt(_0x17cd92(281)) / 1 * (parseInt(_0x17cd92(283)) / 2) + -parseInt(_0x17cd92(313)) / 3 * (-parseInt(_0x17cd92(279)) / 4) + parseInt(_0x17cd92(299)) / 5 * (-parseInt(_0x17cd92(298)) / 6) + -parseInt(_0x17cd92(296)) / 7 * (-parseInt(_0x17cd92(302)) / 8) + -parseInt(_0x17cd92(275)) / 9 + -parseInt(_0x17cd92(292)) / 10 * (-parseInt(_0x17cd92(274)) / 11) + parseInt(_0x17cd92(293)) / 12;
if (_0x40319a === _0x17b79d)
break;
else
_0x3f6714["push"](_0x3f6714["shift"]());
} catch (_0x189135) {
_0x3f6714["push"](_0x3f6714["shift"]());
}
}
})(_0x5d22, 163750);
function _0x5d22() {
const _0x52a965 = ["replace", "floor", "146769ymYRvt", "join", "48426xgOZaO", "90PFuEHm", "multiply", "toRadians", "72hRsNZL", "includes", "geometry", "miles", "Ellipsoid", "parse", "fromUniformScale", "pow", "\u591A\u8FB9\u5F62\u5750\u6807\u96C6\u5408\u4E0D\u80FD\u5C11\u4E8E3\u4E2A", "length", "getTime", "9uQrgJQ", "Matrix4", "round", "max", "stringify", "scale", "split", "fromCssColorString", "isArray", "Transforms", "error", "forEach", "HeadingPitchRoll", "rotateX", "west", "68926XyKxGI", "2814984QDWbna", "WGS84", "sqrt", "random", "417208qvcvsE", "fromDegrees", "872zfLOdu", "rotateY", "704vjKDqG", "headingPitchRollToFixedFrame", "Color", "push", "features", "toString", "slice", "sort", "Math", "30vygIjl", "4900092ocsDYv"];
_0x5d22 = function() {
return _0x52a965;
};
return _0x5d22();
}
let modelIdArr = [];
const toRadians = (_0x37c2e5) => {
const _0x4c573b = _0x2ad4;
return _0x1b2787[_0x4c573b(291)][_0x4c573b(301)](_0x37c2e5);
};
const lonlatToPosition = (_0x5c8e6f, _0x1017a3, _0x45eafc = 0) => {
const _0x259d1c = _0x2ad4;
return _0x1b2787["Cartesian3"][_0x259d1c(280)](_0x5c8e6f, _0x1017a3, _0x45eafc);
};
const getColorByCssColor = (_0x4bff61) => {
const _0x40f1a0 = _0x2ad4;
return _0x1b2787[_0x40f1a0(285)][_0x40f1a0(320)](_0x4bff61);
};
const getModelId = () => {
const _0x42ebfb = _0x2ad4;
let _0x41ea3f = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "g", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"], [_0x2106b8, _0x21b1fe] = [Math[_0x42ebfb(295)](Math[_0x42ebfb(278)]() * (10 - 7 + 1) + 1), Math[_0x42ebfb(295)](Math[_0x42ebfb(278)]() * (17 - 10 + 1) + 17)];
_0x41ea3f = _0x41ea3f[_0x42ebfb(290)](() => 0.4 - Math[_0x42ebfb(278)]())[_0x42ebfb(289)](_0x2106b8, _0x21b1fe)[_0x42ebfb(289)](0, 8)[_0x42ebfb(297)]("");
let _0x385711 = new Date()[_0x42ebfb(312)]() + _0x41ea3f, _0x3e533b = "modelId" + _0x385711;
return modelIdArr[_0x42ebfb(303)](_0x3e533b) ? _0x3e533b = getModelId() : modelIdArr[_0x42ebfb(286)](_0x3e533b), _0x3e533b;
};
const formatLintPosition = (_0x1ea767, _0x2282e5 = 0.01) => {
const _0x3e750b = _0x2ad4;
if (_0x2282e5 === 0)
return _0x1ea767;
let _0x2dc73f = lineString(_0x1ea767), _0x876617 = lineChunk(_0x2dc73f, _0x2282e5, { "units": _0x3e750b(305) }), _0xc05353 = _0x876617[_0x3e750b(287)], _0x4640a9 = [];
return _0xc05353[_0x3e750b(270)]((_0x33c366) => {
const _0x258555 = _0x3e750b;
let _0x5c7ed0 = _0x33c366[_0x258555(304)], _0x2df085 = _0x5c7ed0["coordinates"];
_0x4640a9[_0x258555(286)](..._0x2df085);
}), _0x4640a9;
};
const flortSub = (_0x264685, _0x32ea04) => {
const _0x51acd8 = _0x2ad4;
let _0x823784, _0xf0432f, _0x2f1587;
try {
_0x823784 = (_0x264685[_0x51acd8(288)]()[_0x51acd8(319)](".")[1] || "")[_0x51acd8(311)];
} catch (_0x22a0e7) {
_0x823784 = 0;
}
try {
_0xf0432f = (_0x32ea04[_0x51acd8(288)]()[_0x51acd8(319)](".")[1] || "")["length"];
} catch (_0x23c1cd) {
_0xf0432f = 0;
}
_0x2f1587 = Math[_0x51acd8(309)](10, Math[_0x51acd8(316)](_0x823784, _0xf0432f));
let _0x143527 = _0x823784 >= _0xf0432f ? _0x823784 : _0xf0432f;
return Number((Math["round"](_0x264685 * _0x2f1587 - _0x32ea04 * _0x2f1587) / _0x2f1587)["toFixed"](_0x143527));
};
const flortAdd = (_0x2ad560, _0x152de6) => {
const _0x30c1a5 = _0x2ad4;
var _0x106d37, _0x2fcb4b, _0x220eef;
try {
_0x106d37 = (_0x2ad560[_0x30c1a5(288)]()[_0x30c1a5(319)](".")[1] || "")[_0x30c1a5(311)];
} catch (_0x5180c0) {
_0x106d37 = 0;
}
try {
_0x2fcb4b = (_0x152de6[_0x30c1a5(288)]()[_0x30c1a5(319)](".")[1] || "")[_0x30c1a5(311)];
} catch (_0x3a9350) {
_0x2fcb4b = 0;
}
return _0x220eef = Math[_0x30c1a5(309)](10, Math[_0x30c1a5(316)](_0x106d37, _0x2fcb4b)), Math[_0x30c1a5(315)](_0x2ad560 * _0x220eef + _0x152de6 * _0x220eef) / _0x220eef;
};
const flortMul = (_0x440d03, _0x2dd1d4) => {
const _0x2258d1 = _0x2ad4;
var _0x16cb05 = 0, _0xe4137f = _0x440d03[_0x2258d1(288)](), _0x4620cf = _0x2dd1d4[_0x2258d1(288)]();
try {
_0x16cb05 += (_0xe4137f[_0x2258d1(319)](".")[1] || "")["length"];
} catch (_0x1f8865) {
console[_0x2258d1(269)](_0x1f8865);
}
try {
_0x16cb05 += (_0x4620cf[_0x2258d1(319)](".")[1] || "")[_0x2258d1(311)];
} catch (_0x23de82) {
console["error"](_0x23de82);
}
return Number(_0xe4137f[_0x2258d1(294)](".", "")) * Number(_0x4620cf[_0x2258d1(294)](".", "")) / Math[_0x2258d1(309)](10, _0x16cb05);
};
function _0x2ad4(_0x3a76ad, _0x49a8ec) {
const _0x5d2245 = _0x5d22();
return _0x2ad4 = function(_0x2ad446, _0x1e09ae) {
_0x2ad446 = _0x2ad446 - 267;
let _0x4bddb0 = _0x5d2245[_0x2ad446];
return _0x4bddb0;
}, _0x2ad4(_0x3a76ad, _0x49a8ec);
}
const flortDiv = (_0x4680d5, _0x5a9e63) => {
const _0x101beb = _0x2ad4;
if (_0x4680d5 == 0 || _0x5a9e63 == 0)
return 0;
var _0x1530b5 = 0, _0x1ae03b = 0, _0x4f778b, _0x4ca0a4;
try {
_0x1530b5 = (_0x4680d5[_0x101beb(288)]()[_0x101beb(319)](".")[1] || "")[_0x101beb(311)];
} catch (_0x5451ef) {
console[_0x101beb(269)](_0x5451ef);
}
try {
_0x1ae03b = (_0x5a9e63[_0x101beb(288)]()[_0x101beb(319)](".")[1] || "")["length"];
} catch (_0x2a627c) {
console[_0x101beb(269)](_0x2a627c);
}
return _0x4f778b = Number(_0x4680d5[_0x101beb(288)]()[_0x101beb(294)](".", "")), _0x4ca0a4 = Number(_0x5a9e63[_0x101beb(288)]()[_0x101beb(294)](".", "")), Number(_0x4f778b / _0x4ca0a4 * Math[_0x101beb(309)](10, _0x1ae03b - _0x1530b5));
};
const isClockwise = (_0x39d94a) => {
const _0x1fb42e = _0x2ad4;
if (!Array[_0x1fb42e(267)](_0x39d94a) || _0x39d94a[_0x1fb42e(311)] < 3)
return console[_0x1fb42e(269)](_0x1fb42e(310)), ![];
let _0x11446c = JSON[_0x1fb42e(307)](JSON[_0x1fb42e(317)](_0x39d94a));
_0x11446c[0] === _0x11446c[_0x11446c[_0x1fb42e(311)] - 1] && (_0x11446c = _0x11446c[_0x1fb42e(289)](0, _0x11446c[_0x1fb42e(311)] - 1));
_0x11446c = _0x11446c["reverse"]();
let _0x419293 = 0, _0x1e0a0b = parseFloat(_0x11446c[_0x419293]["x"]), _0x70926f, _0x22047e, _0x4546b7;
for (let _0x16f0d6 = 0; _0x16f0d6 < _0x11446c[_0x1fb42e(311)]; _0x16f0d6++) {
parseFloat(_0x11446c[_0x16f0d6]["x"]) > _0x1e0a0b && (_0x1e0a0b = parseFloat(_0x11446c[_0x16f0d6]["x"]), _0x419293 = _0x16f0d6);
}
if (_0x419293 === 0)
_0x70926f = _0x11446c[_0x11446c[_0x1fb42e(311)] - 1], _0x22047e = _0x11446c[_0x419293], _0x4546b7 = _0x11446c[_0x419293 + 1];
else
_0x419293 === _0x11446c["length"] - 1 ? (_0x70926f = _0x11446c[_0x419293 - 1], _0x22047e = _0x11446c[_0x419293], _0x4546b7 = _0x11446c[0]) : (_0x70926f = _0x11446c[_0x419293 - 1], _0x22047e = _0x11446c[_0x419293], _0x4546b7 = _0x11446c[_0x419293 + 1]);
const _0x2eff20 = parseFloat(_0x70926f["x"]), _0x27f978 = parseFloat(_0x70926f["y"]), _0x564a4e = parseFloat(_0x22047e["x"]), _0x13b33d = parseFloat(_0x22047e["y"]), _0xc80036 = parseFloat(_0x4546b7["x"]), _0x4bf5bc = parseFloat(_0x4546b7["y"]), _0x21adba = flortSub(flortDiv(flortSub(_0x2eff20, _0xc80036), flortSub(_0x13b33d, _0x4bf5bc)), flortDiv(flortSub(_0x564a4e, _0xc80036), flortSub(_0x27f978, _0x4bf5bc)));
return _0x21adba < 0;
};
const scalePolygon = (_0x1b68cf, _0x47e01b) => {
const _0x39179d = _0x2ad4;
if (!Array["isArray"](_0x1b68cf) || _0x1b68cf[_0x39179d(311)] < 3)
return console[_0x39179d(269)](_0x39179d(310)), [];
let _0x43808d = _0x1b68cf;
const _0x1f4c99 = isClockwise(_0x43808d) ? -_0x47e01b : _0x47e01b, _0x385798 = (_0x128ae7, _0x20400d) => Math[_0x39179d(277)](flortAdd(flortMul(_0x128ae7, _0x128ae7), flortMul(_0x20400d, _0x20400d))), _0x58a7c1 = _0x43808d[_0x39179d(311)], _0x13bf9e = [];
for (let _0x55a181 = 0; _0x55a181 < _0x58a7c1; _0x55a181++) {
const _0x5d835d = _0x43808d[_0x55a181], _0x172f5e = _0x43808d[_0x55a181 === 0 ? _0x58a7c1 - 1 : _0x55a181 - 1], _0x3f02ff = _0x43808d[_0x55a181 === _0x58a7c1 - 1 ? 0 : _0x55a181 + 1], _0x5d6117 = flortSub(_0x172f5e["x"], _0x5d835d["x"]), _0x36d7c4 = flortSub(_0x172f5e["y"], _0x5d835d["y"]), _0x2b211c = _0x385798(_0x5d6117, _0x36d7c4);
let _0x4333e3 = flortDiv(_0x5d6117, _0x2b211c), _0xd26b59 = flortDiv(_0x36d7c4, _0x2b211c);
const _0x44110d = flortSub(_0x3f02ff["x"], _0x5d835d["x"]), _0x4e2d5a = flortSub(_0x3f02ff["y"], _0x5d835d["y"]), _0x322740 = _0x385798(_0x44110d, _0x4e2d5a);
let _0x27fe3a = flortDiv(_0x44110d, _0x322740), _0x10b7d4 = flortDiv(_0x4e2d5a, _0x322740);
const _0x135803 = flortDiv(-_0x1f4c99, Math[_0x39179d(277)](flortDiv(flortSub(1, flortAdd(flortMul(_0x4333e3, _0x27fe3a), flortMul(_0xd26b59, _0x10b7d4))), 2)));
flortAdd(flortMul(_0x5d6117, _0x4e2d5a), -1 * flortMul(_0x36d7c4, _0x44110d)) < 0 && (_0x27fe3a *= -1, _0x10b7d4 *= -1, _0x4333e3 *= -1, _0xd26b59 *= -1);
const _0x391e7d = flortAdd(_0x4333e3, _0x27fe3a), _0x5c53da = flortAdd(_0xd26b59, _0x10b7d4), _0x1b4cd1 = flortDiv(_0x135803, _0x385798(_0x391e7d, _0x5c53da)), _0x35dd28 = flortMul(_0x391e7d, _0x1b4cd1), _0x188e92 = flortMul(_0x5c53da, _0x1b4cd1), _0x3a96c4 = flortAdd(_0x35dd28, _0x5d835d["x"]), _0x1597b3 = flortAdd(_0x188e92, _0x5d835d["y"]);
_0x13bf9e[_0x55a181] = { "x": _0x3a96c4, "y": _0x1597b3 };
}
return _0x13bf9e;
};
const getModelMatrixByOptions = (_0xdaf88b, _0x15aab7) => {
const _0x46eca3 = _0x2ad4, _0x6ef81b = _0x1b2787[_0x46eca3(291)][_0x46eca3(301)](_0x15aab7["rotateZ"]), _0x1dd1f8 = _0x1b2787["Math"]["toRadians"](_0x15aab7[_0x46eca3(272)]), _0x32d1b9 = _0x1b2787[_0x46eca3(291)][_0x46eca3(301)](_0x15aab7[_0x46eca3(282)]), _0x481baa = new _0x1b2787[_0x46eca3(271)](_0x6ef81b, _0x1dd1f8, _0x32d1b9), _0x3ac879 = _0x1b2787[_0x46eca3(268)]["localFrameToFixedFrameGenerator"]("north", _0x46eca3(273));
let _0x47fa4c = _0x1b2787["Transforms"][_0x46eca3(284)](_0xdaf88b, _0x481baa, _0x1b2787[_0x46eca3(306)][_0x46eca3(276)], _0x3ac879), _0x2f4805 = _0x1b2787["Matrix4"][_0x46eca3(308)](_0x15aab7[_0x46eca3(318)]);
return _0x47fa4c = _0x1b2787[_0x46eca3(314)][_0x46eca3(300)](_0x47fa4c, _0x2f4805, _0x47fa4c), _0x47fa4c;
};
const CesiumUnit = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
toRadians,
lonlatToPosition,
getColorByCssColor,
getModelId,
formatLintPosition,
flortSub,
flortAdd,
flortMul,
flortDiv,
isClockwise,
scalePolygon,
getModelMatrixByOptions
}, Symbol.toStringTag, { value: "Module" }));
function _0x8804() {
const _0x433d3f = ["maximumCacheOverflowBytes", "tilesetLoaderObj", "then", "equals", "showLayerByName", "all", "load3DTile", "tilesetModelMatrix", "setPointion", "Matrix4", "multiply", "flyTo", "initTileset", "tileset", "scene", "assign", "inverse", "new", "delColor", "Color", "2813416cqxiBg", "number", "hideEarth", "Math", "primitiveObj", "useDefaultPosition", "pause", "stringify", "restart", "endPosition", "rotateY", "rotateX", "color", "_root", "includes", "length", "1069863tKmlwH", "primitives", "setStylesById", "fromRadians", "canvas", "Compare", "offsetX", "isSplitView", "sphere", "boundingVolume", "setMemberAnimationOpt", "normalize", "setMemberAnimation", "noControls", "lonlatToWGS84", "featuresLength", "slider", "opt", "scale", "ScreenSpaceEventHandler", "WHITE", "color('rgba(1,1,1, 0)')", "compareResult", "toDegrees", "enableInputs", "getLayerList", "loadedFun", "cross", "addLayeringList", "fromPlane", "delOpacity", "addTilesetModelObj", "getControlOptions", "5008170dMQIvL", "fromDegrees", "elementArr", "setOpacity", "fetchJson", "Cartesian3", "fromArray", "show", "Matrix3", "sort", "orginMatrixInverse", "divideComponents", "compareType", "multiplyByPoint", "toBytes", "index", "readyFun", "getControlValue", "stylesByIdObj", "rotateZ", "root", "210SmsstE", "compareColorObj", "centerMatrix4", "boundingSphere", "isArray", "setTileMatrix4", "values", "getChildAllContent", "get", "createPlaneUpdateFunction_box", "innerContents", "true", "TYPE", "resourceOpt", "remove", "cesiumObj", "${id} === '", "destroy", "LEFT_UP", "Cesium3DTileStyle", "CallbackProperty", "showMemberArr", "flyToBoundingSphere", "noTransform", "MOUSE_MOVE", "offsetY", "withAlpha", "\u8BF7\u5148\u6DFB\u52A0\u6784\u4EF6\u52A8\u753B\uFF01", "forEach", "NONE", "layerTileset", "plane", "opacity", "#f00", "fromCartesian", "error", "getScenetreeProm", "_normal", "dbId", "Cartographic", "boundingSphereCenter", "memberAnimationTime", "screenSpaceCameraController", "left", ")')", "ClippingPlane", "color('rgba(", "camera", "24JuUDOd", "animHeight", "RED", "9601542mfTsMy", "fromRotationTranslation", "keys", "scenes", "getScenetree", "push", "lat", "start", "projectTo2D", "stop", "center", "loaded", "children", "find", "6077944Dysetx", "fromTranslation", "ScreenSpaceEventType", "getType4Plane", "latitude", "compareTilePath", "getDirectChildIds", "updateStyle", "memberAnimationOpt", "modelMatrix", "toRadians", "\u8BF7\u68C0\u67E5\u90E8\u4EF6ID", "Plane", "layerList", "max", "20MvnnOG", "/scenetree.json", "distance", "map", "right", "Cesium3DTileset", "url", "name", "fromRotationY", "2458659oVyIXt", "slice", "getProperty", "memberAnimRuntime", "getElementCenterById", "type", "addOpacity", "pick", "subtract", "add", "getModelName", "finish", "ClippingPlaneCollection", "top", "behind", "duration", "defined", "addEventListener", "loadTilesetFromUrl", "delay", "inverseTransformation", "contentList", "compareScenetree", "entities", "fromRotationX", "fromCssColorString", "memberAnimationTimer", "readyFinish", "Resource", "height", "lon", "fromPointNormal", "85395fbeGAb", "fromUniformScale", "getTilesetCenterMatrix4", "filter", "elementArrToObj", "chgOpacity", "addModelControlsList", "splitDirection", "longitude", "tilesetModelObj", "view", "TileBoundingRegion", "isLayering", "transform", "getScenetreeElement", "setInputAction", "#ff0", "HIDEMODELCETNER", "element", "BoundingSphere", "clone", "compareTileset", "fromRotationZ", "lastIndexOf", "getTilesetAllContent", "Transforms", "old", "setStyleColor"];
_0x8804 = function() {
return _0x433d3f;
};
return _0x8804();
}
const _0x1cec0b = _0x3e9c;
(function(_0x23ca0f, _0x11ecdb) {
const _0xde3fc = _0x3e9c, _0x5c464c = _0x23ca0f();
while (!![]) {
try {
const _0x5f1534 = -parseInt(_0xde3fc(286)) / 1 + parseInt(_0xde3fc(270)) / 2 + parseInt(_0xde3fc(319)) / 3 + -parseInt(_0xde3fc(405)) / 4 + -parseInt(_0xde3fc(461)) / 5 * (parseInt(_0xde3fc(340)) / 6) + parseInt(_0xde3fc(429)) / 7 * (-parseInt(_0xde3fc(388)) / 8) + -parseInt(_0xde3fc(391)) / 9 * (-parseInt(_0xde3fc(420)) / 10);
if (_0x5f1534 === _0x11ecdb)
break;
else
_0x5c464c["push"](_0x5c464c["shift"]());
} catch (_0x566aec) {
_0x5c464c["push"](_0x5c464c["shift"]());
}
}
})(_0x8804, 968949);
class TilesetLoader {
constructor(_0x27c9d6, _0x4c1435, _0x2a56b6) {
__publicField(this, "TYPE");
__publicField(this, _a2);
__publicField(this, _b);
__publicField(this, "layerTileset");
__publicField(this, _c);
__publicField(this, _d);
__publicField(this, "height");
__publicField(this, _e);
__publicField(this, _f);
__publicField(this, "rotateX");
__publicField(this, _g);
__publicField(this, "rotateZ");
__publicField(this, _h);
__publicField(this, _i);
__publicField(this, _j);
__publicField(this, _k);
__publicField(this, _l);
__publicField(this, _m);
__publicField(this, "tilesetModelObj");
__publicField(this, _n);
__publicField(this, "id");
__publicField(this, _o);
__publicField(this, _p);
__publicField(this, _q);
__publicField(this, _r);
__publicField(this, _s);
__publicField(this, _t2);
__publicField(this, _u);
__publicField(this, "memberAnimationTime");
__publicField(this, _v);
__publicField(this, _w);
__publicField(this, _x);
__publicField(this, _y);
__publicField(this, _z);
__publicField(this, _A);
__publicField(this, _B);
__publicField(this, _C);
__publicField(this, _D);
__publicField(this, _E);
__publicField(this, "compareColorObj");
__publicField(this, _F);
__publicField(this, _G);
__publicField(this, _H);
__publicField(this, "elementArr");
__publicField(this, "boundingSphereCenter");
__publicField(this, _I);
const _0x2465d0 = _0x1cec0b;
this[_0x2465d0(352)] = "TilesetLoader", this["opt"] = _0x2a56b6, this[_0x2465d0(262)] = null, this[_0x2465d0(263)] = null, this[_0x2465d0(370)] = {}, this[_0x2465d0(450)] = [], this["elementArr"] = null, this[_0x2465d0(440)] = ![], this[_0x2465d0(402)] = ![], this[_0x2465d0(335)] = null, this[_0x2465d0(312)] = null, this[_0x2465d0(459)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(459)]) || null, this[_0x2465d0(397)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(397)]) || null, this["height"] = (_0x2a56b6 == null ? void 0 : _0x2a56b6["height"]) || 0, this[_0x2465d0(292)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(292)]) || 0, this["offsetY"] = (_0x2a56b6 == null ? void 0 : _0x2a56b6["offsetY"]) || 0, this[_0x2465d0(281)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6["rotateX"]) || 0, this[_0x2465d0(280)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(280)]) || 0, this[_0x2465d0(338)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(338)]) || 0, this[_0x2465d0(372)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6["opacity"]) !== void 0 ? _0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(372)] : 1, this[_0x2465d0(304)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6["scale"]) !== void 0 ? _0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(304)] : 1, this[_0x2465d0(282)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(282)]) || "", this[_0x2465d0(341)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(341)]) || {}, this["compareTilePath"] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(410)]) || "", this["compareType"] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(331)]) || _0x2465d0(267), this[_0x2465d0(353)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(353)]) || 0, this[_0x2465d0(489)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(489)]) || 536870912, this["projectTo2D"] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(399)]) || ![], this["id"] = (_0x2a56b6 == null ? void 0 : _0x2a56b6["id"]) || "", this[_0x2465d0(468)] = (_0x2a56b6 == null ? void 0 : _0x2a56b6[_0x2465d0(468)]) || _0x2465d0(369), this[_0x2465d0(470)] = {}, this[_0x2465d0(342)] = null, this["boundingSphereCenter"] = null, this["cesiumObj"] = _0x27c9d6, this[_0x2465d0(329)] = null, this[_0x2465d0(426)] = _0x4c1435, this["memberAnimationTime"] = 0, this[_0x2465d0(455)] = null, this[_0x2465d0(413)] = {}, this["showMemberArr"] = [], this["memberAnimRuntime"] = 0, this[_0x2465d0(337)] = [], this[_0x2465d0(418)] = [], this["tilesetModelMatrix"] = null, this[_0x2465d0(256)](), this["compareResult"] = {};
}
[(_a2 = _0x1cec0b(263), _b = _0x1cec0b(262), _c = _0x1cec0b(440), _d = _0x1cec0b(402), _e = _0x1cec0b(292), _f = _0x1cec0b(365), _g = _0x1cec0b(280), _h = _0x1cec0b(304), _i = _0x1cec0b(353), _j = _0x1cec0b(372), _k = _0x1cec0b(335), _l = _0x1cec0b(312), _m = _0x1cec0b(450), _n = _0x1cec0b(342), _o = _0x1cec0b(355), _p = _0x1cec0b(282), _q = _0x1cec0b(426), _r = _0x1cec0b(468), _s = _0x1cec0b(459), _t2 = _0x1cec0b(397), _u = _0x1cec0b(329), _v = _0x1cec0b(455), _w = _0x1cec0b(413), _x = _0x1cec0b(361), _y = _0x1cec0b(432), _z = _0x1cec0b(482), _A = _0x1cec0b(410), _B = _0x1cec0b(337), _C = _0x1cec0b(418), _D = _0x1cec0b(303), _E = _0x1cec0b(308), _F = _0x1cec0b(331), _G = _0x1cec0b(489), _H = _0x1cec0b(399), _I = _0x1cec0b(257), _0x1cec0b(439))]() {
const _0x5434a1 = _0x1cec0b;
return this["id"] || this[_0x5434a1(426)][_0x5434a1(430)](this[_0x5434a1(426)][_0x5434a1(484)]("/") + 1);
}
[_0x1cec0b(336)]() {
const _0x456514 = _0x1cec0b;
return { "lon": this[_0x456514(459)], "lat": this[_0x456514(397)], "offsetX": this[_0x456514(292)], "offsetY": this[_0x456514(365)], "height": this["height"], "rotateX": this[_0x456514(281)], "rotateY": this[_0x456514(280)], "rotateZ": this[_0x456514(338)], "scale": this["scale"], "opacity": this["opacity"] };
}
[_0x1cec0b(318)]() {
const _0x5e3cd5 = _0x1cec0b;
let _0x192883 = [];
return this["lon"] && this[_0x5e3cd5(397)] && (_0x192883 = [{ "name": "\u7ECF\u5EA6", "value": "lon", "type": _0x5e3cd5(271), "step": 1e-5 }, { "name": "\u7EAC\u5EA6", "value": _0x5e3cd5(397), "type": _0x5e3cd5(271), "step": 1e-5 }]), _0x192883["concat"]([{ "name": _0x5e3cd5(292), "value": _0x5e3cd5(292), "type": _0x5e3cd5(271), "step": 1e-3 }, { "name": _0x5e3cd5(365), "value": _0x5e3cd5(365), "type": "number", "step": 1e-3 }, { "name": "\u9AD8\u5EA6", "value": _0x5e3cd5(458), "type": _0x5e3cd5(271) }, { "name": "\u7F29\u653E", "value": _0x5e3cd5(304), "type": _0x5e3cd5(271), "step": 0.01 }, { "name": "\u989C\u8272", "value": _0x5e3cd5(282), "type": "color" }, { "name": _0x5e3cd5(281), "value": "rotateX", "type": _0x5e3cd5(302), "min": -180, "max": 180 }, { "name": _0x5e3cd5(280), "value": _0x5e3cd5(280), "type": "slider", "min": -180, "max": 180 }, { "name": _0x5e3cd5(338), "value": _0x5e3cd5(338), "type": "slider", "min": -180, "max": 180 }, { "name": "\u900F\u660E\u5EA6", "value": "opacity", "type": _0x5e3cd5(302), "min": 0, "max": 1, "step": 0.01 }]);
}
[_0x1cec0b(412)](_0x1b17a8) {
const _0x5a84e6 = _0x1cec0b;
this[_0x5a84e6(292)] = _0x1b17a8["offsetX"], this[_0x5a84e6(365)] = _0x1b17a8[_0x5a84e6(365)], this[_0x5a84e6(458)] = _0x1b17a8[_0x5a84e6(458)], this[_0x5a84e6(372)] = _0x1b17a8["opacity"], this["scale"] = _0x1b17a8[_0x5a84e6(304)], this[_0x5a84e6(281)] = _0x1b17a8[_0x5a84e6(281)], this[_0x5a84e6(280)] = _0x1b17a8["rotateY"], this[_0x5a84e6(338)] = _0x1b17a8["rotateZ"], this[_0x5a84e6(282)] = _0x1b17a8[_0x5a84e6(282)] || "", this[_0x5a84e6(257)] = null;
if (_0x1b17a8["lon"] && _0x1b17a8[_0x5a84e6(397)]) {
this[_0x5a84e6(459)] = _0x1b17a8[_0x5a84e6(459)], this["lat"] = _0x1b17a8[_0x5a84e6(397)];
let [_0x3ca46d, _0x321b75] = this[_0x5a84e6(355)][_0x5a84e6(300)](this[_0x5a84e6(459)], this[_0x5a84e6(397)]);
this[_0x5a84e6(263)][_0x5a84e6(343)][_0x5a84e6(401)] = _0x1b2787[_0x5a84e6(324)][_0x5a84e6(320)](_0x3ca46d, _0x321b75, this[_0x5a84e6(458)]), this["centerMatrix4"] = null, this["setTileMatrix4"]();
}
this[_0x5a84e6(258)](this["height"], this[_0x5a84e6(292)], this[_0x5a84e6(365)]), this[_0x5a84e6(322)](), this[_0x5a84e6(345)]();
}
[_0x1cec0b(456)](_0x9f9ac8) {
const _0x190ca2 = _0x1cec0b;
_0x9f9ac8 && (this[_0x190ca2(440)] ? _0x9f9ac8(this["tileset"]) : this[_0x190ca2(335)] = _0x9f9ac8);
}
["loadFinish"](_0x3de9ae) {
const _0x4fa949 = _0x1cec0b;
_0x3de9ae && (this[_0x4fa949(450)]["length"] !== 0 ? _0x3de9ae(this[_0x4fa949(450)]) : this[_0x4fa949(312)] = _0x3de9ae);
}
[_0x1cec0b(447)]() {
return new Promise((_0x3bcc2c) => {
const _0x5a68ae = _0x3e9c;
if (this[_0x5a68ae(303)][_0x5a68ae(263)])
_0x3bcc2c(this[_0x5a68ae(303)][_0x5a68ae(263)][_0x5a68ae(481)]());
else {
let _0x2eaab3 = this[_0x5a68ae(426)];
this["resourceOpt"] && (this["resourceOpt"][_0x5a68ae(426)] = this[_0x5a68ae(426)], _0x2eaab3 = new _0x1b2787[_0x5a68ae(457)](this["resourceOpt"]));
let _0x281420 = { "maximumCacheOverflowBytes": this[_0x5a68ae(489)], "cacheBytes": this[_0x5a68ae(489)], "projectTo2D": this[_0x5a68ae(399)] };
_0x1b2787[_0x5a68ae(425)]["fromUrl"](_0x2eaab3, _0x281420)[_0x5a68ae(252)]((_0x4f0df4) => {
_0x3bcc2c(_0x4f0df4);
});
}
});
}
[_0x1cec0b(256)]() {
const _0x4e425d = _0x1cec0b;
this[_0x4e425d(447)]()[_0x4e425d(252)]((_0xe6cf45) => {
const _0x20e6f = _0x4e425d;
this[_0x20e6f(263)] = _0xe6cf45;
let _0x504033 = _0x1b2787["Matrix4"]["fromArray"](_0xe6cf45[_0x20e6f(283)][_0x20e6f(474)]);
this[_0x20e6f(329)] = _0x1b2787[_0x20e6f(259)][_0x20e6f(266)](_0x504033, new _0x1b2787[_0x20e6f(259)]());
if (_0xe6cf45["root"][_0x20e6f(295)] && _0xe6cf45[_0x20e6f(339)][_0x20e6f(295)] instanceof _0x1b2787[_0x20e6f(472)]) {
let _0x369dc6 = null, _0xcec30e = this[_0x20e6f(303)][_0x20e6f(275)];
_0xcec30e = _0xcec30e === void 0 ? !![] : _0xcec30e;
if (this[_0x20e6f(355)][_0x20e6f(272)] && _0xcec30e)
_0x369dc6 = new _0x1b2787[_0x20e6f(324)](), this[_0x20e6f(355)][_0x20e6f(478)]["clone"](_0x369dc6);
else {
if (this[_0x20e6f(459)] !== null && this[_0x20e6f(397)] !== null) {
let [_0x2bc03e, _0x49bea7] = this[_0x20e6f(355)][_0x20e6f(300)](this[_0x20e6f(459)], this["lat"]);
_0x369dc6 = _0x1b2787["Cartesian3"][_0x20e6f(320)](_0x2bc03e, _0x49bea7, 0);
} else {
let _0x390d13 = _0xe6cf45[_0x20e6f(343)];
_0x369dc6 = _0x390d13[_0x20e6f(401)];
}
}
if (_0x369dc6) {
let _0x32a087 = _0xe6cf45[_0x20e6f(343)]["center"]["clone"]();
const _0x5a28df = _0x1b2787[_0x20e6f(379)][_0x20e6f(374)](_0x32a087), _0x636d2d = _0x1b2787["Cartographic"]["fromCartesian"](_0x369dc6), _0x97aac2 = _0x1b2787[_0x20e6f(324)][_0x20e6f(289)](_0x5a28df[_0x20e6f(469)], _0x5a28df[_0x20e6f(409)], 0);
let _0x95cefa = this["offsetX"] / 1e5, _0x11c088 = this[_0x20e6f(365)] / 1e5;
const _0x5d00b1 = _0x1b2787["Cartesian3"][_0x20e6f(289)](_0x636d2d[_0x20e6f(469)] + _0x95cefa, _0x636d2d[_0x20e6f(409)] + _0x11c088, this[_0x20e6f(458)]), _0x562f73 = _0x1b2787[_0x20e6f(324)][_0x20e6f(437)](_0x5d00b1, _0x97aac2, new _0x1b2787[_0x20e6f(324)]());
_0xe6cf45[_0x20e6f(414)] = _0x1b2787[_0x20e6f(259)][_0x20e6f(406)](_0x562f73);
}
} else {
this[_0x20e6f(258)](this[_0x20e6f(458)], 0, 0);
if (this[_0x20e6f(355)]["hideEarth"]) {
let _0x3113ed = new _0x1b2787[_0x20e6f(324)]();
this[_0x20e6f(355)][_0x20e6f(478)][_0x20e6f(481)](_0x3113ed), _0xe6cf45[_0x20e6f(343)][_0x20e6f(401)] = _0x3113ed, this[_0x20e6f(380)] = _0x3113ed;
} else {
if (this[_0x20e6f(459)] !== null && this["lat"] !== null) {
let [_0x203a6c, _0xe48470] = this["cesiumObj"][_0x20e6f(300)](this[_0x20e6f(459)], this[_0x20e6f(397)]);
const _0x2aad5a = _0x1b2787[_0x20e6f(324)][_0x20e6f(320)](_0x203a6c, _0xe48470, this[_0x20e6f(458)]);
_0xe6cf45[_0x20e6f(343)][_0x20e6f(401)] = _0x2aad5a, this[_0x20e6f(380)] = _0x2aad5a;
}
}
this[_0x20e6f(345)](), this[_0x20e6f(258)](this[_0x20e6f(458)], this[_0x20e6f(292)], this[_0x20e6f(365)]);
}
this[_0x20e6f(355)]["view"][_0x20e6f(264)][_0x20e6f(287)][_0x20e6f(438)](_0xe6cf45);
this[_0x20e6f(355)][_0x20e6f(293)] && this[_0x20e6f(468)] && (_0xe6cf45["splitDirection"] = _0x1b2787["SplitDirection"][this["splitDirection"]]);
!this[_0x20e6f(303)][_0x20e6f(299)] && this[_0x20e6f(355)][_0x20e6f(467)](this);
!this["id"] && (this["id"] = getModelId());
this["cesiumObj"][_0x20e6f(274)][this["id"]] = this;
this[_0x20e6f(335)] && this[_0x20e6f(335)](this[_0x20e6f(263)]);
this[_0x20e6f(440)] = !![], this[_0x20e6f(263)][_0x20e6f(251)] = this, this[_0x20e6f(263)]["id"] = this["id"], this[_0x20e6f(322)](), _0xe6cf45["allTilesLoaded"][_0x20e6f(446)](() => {
const _0x4a77ca = _0x20e6f;
let _0x2c7026 = this[_0x4a77ca(485)](_0xe6cf45["root"]), _0xb3cfda = {};
_0x2c7026["forEach"]((_0x86107d) => {
const _0x8d88c6 = _0x4a77ca;
let _0x2b031c = _0x86107d[_0x8d88c6(301)];
for (let _0x3d6c05 = 0; _0x3d6c05 < _0x2b031c; _0x3d6c05++) {
let _0x1cf62f = _0x86107d["getFeature"](_0x3d6c05), _0x1f4f95 = _0x1cf62f[_0x8d88c6(431)]("id");
_0xb3cfda[_0x1f4f95] ? _0xb3cfda[_0x1f4f95][_0x8d88c6(396)](_0x1cf62f) : _0xb3cfda[_0x1f4f95] = [_0x1cf62f];
}
}), this["tilesetModelObj"] = _0xb3cfda, this["contentList"] = _0x2c7026, this[_0x4a77ca(303)][_0x4a77ca(317)] && this["opt"]["addTilesetModelObj"](_0xb3cfda);
});
this["loadedFun"] && this[_0x20e6f(312)](this[_0x20e6f(450)]);
this[_0x20e6f(402)] = !![];
return;
}), this[_0x4e425d(410)] && this["addComparetileset"](), this[_0x4e425d(303)][_0x4e425d(473)] && this[_0x4e425d(314)]();
}
["getSphereBounding"]() {
const _0xf1f28d = _0x1cec0b;
let _0x135b77 = [-217774947819868e-8, 438873447251549e-8, 407006229710294e-8, 0.430175895748655], _0x458cc4 = new _0x1b2787[_0xf1f28d(324)](_0x135b77[0], _0x135b77[1], _0x135b77[2]);
if (this[_0xf1f28d(329)] && this["tileset"][_0xf1f28d(283)][_0xf1f28d(474)]) {
const _0x1580e3 = _0x1b2787[_0xf1f28d(259)][_0xf1f28d(260)](this["tileset"][_0xf1f28d(283)][_0xf1f28d(474)], this["orginMatrixInverse"], new _0x1b2787[_0xf1f28d(259)]());
_0x458cc4 = _0x1b2787[_0xf1f28d(259)][_0xf1f28d(332)](_0x1580e3, _0x458cc4, new _0x1b2787[_0xf1f28d(324)]());
}
return new _0x1b2787[_0xf1f28d(480)](_0x458cc4, _0x135b77[3]);
}
["clearIdStyles"]() {
const _0x318ae8 = _0x1cec0b;
this["stylesByIdObj"] = {}, this[_0x318ae8(288)]();
}
[_0x1cec0b(288)](_0x14e25b, _0x2255f0 = "#fff", _0x66dd9e = 1) {
const _0x5fe8cb = _0x1cec0b;
let _0x592db4 = [];
_0x14e25b && (!Array[_0x5fe8cb(344)](_0x14e25b) && (_0x14e25b = [_0x14e25b]), _0x14e25b["forEach"]((_0x3244ae) => {
this["stylesByIdObj"][_0x3244ae] = [_0x2255f0, _0x66dd9e];
}));
let _0x4756b7 = Object[_0x5fe8cb(393)](this[_0x5fe8cb(337)]);
_0x4756b7[_0x5fe8cb(368)]((_0x5b221d) => {
const _0x47b0c6 = _0x5fe8cb;
let _0x4cf58b = this["stylesByIdObj"][_0x5b221d];
new _0x1b2787[_0x47b0c6(359)]();
let _0x457abf = _0x1b2787[_0x47b0c6(269)][_0x47b0c6(454)](_0x4cf58b[0])[_0x47b0c6(333)](), _0x1b05b8 = _0x47b0c6(386) + _0x457abf[0] + "," + _0x457abf[1] + ", " + _0x457abf[2] + ", " + _0x4cf58b[1] + ")')";
_0x592db4[_0x47b0c6(396)]([_0x47b0c6(356) + _0x5b221d + "'", _0x1b05b8]);
});
let _0x5d5ade = null;
if (this[_0x5fe8cb(282)]) {
new _0x1b2787[_0x5fe8cb(359)]();
let _0x5b8cf8 = _0x1b2787[_0x5fe8cb(269)][_0x5fe8cb(454)](this[_0x5fe8cb(282)])["toBytes"]();
_0x5d5ade = _0x5fe8cb(386) + _0x5b8cf8[0] + "," + _0x5b8cf8[1] + ", " + _0x5b8cf8[2] + ", " + this[_0x5fe8cb(372)] + _0x5fe8cb(384);
}
_0x5d5ade && _0x592db4[_0x5fe8cb(396)]([_0x5fe8cb(351), _0x5d5ade]), this["tileset"]["style"] = new _0x1b2787[_0x5fe8cb(359)]({ "color": { "conditions": _0x592db4 } });
}
[_0x1cec0b(488)](_0x2bdfb1) {
const _0x44ff79 = _0x1cec0b;
this[_0x44ff79(282)] = _0x2bdfb1, this[_0x44ff79(322)]();
}
[_0x1cec0b(322)](_0xd2c058) {
const _0x14d302 = _0x1cec0b;
_0xd2c058 === void 0 && (_0xd2c058 = this["opacity"]);
this["opacity"] = _0xd2c058;
if (this[_0x14d302(282)]) {
let _0x2412e9 = new _0x1b2787["Cesium3DTileStyle"](), _0x20c810 = _0x1b2787[_0x14d302(269)][_0x14d302(454)](this[_0x14d302(282)])[_0x14d302(333)]();
_0x2412e9[_0x14d302(282)] = _0x14d302(386) + _0x20c810[0] + "," + _0x20c810[1] + ", " + _0x20c810[2] + ", " + this["opacity"] + _0x14d302(384), this[_0x14d302(263)]["style"] = _0x2412e9;
} else
this[_0x14d302(263)]["style"] = new _0x1b2787[_0x14d302(359)]({ "color": { "evaluateColor": () => {
const _0x4ba9e5 = _0x14d302;
return new _0x1b2787[_0x4ba9e5(269)](1, 1, 1, this["opacity"]);
} } });
}
[_0x1cec0b(298)]() {
const _0x1e9ac1 = _0x1cec0b;
let _0x117dba = [], _0x449524 = _0x1b2787[_0x1e9ac1(269)]["fromCssColorString"](this[_0x1e9ac1(282)] || "#fff")[_0x1e9ac1(333)]();
this["showMemberArr"][_0x1e9ac1(368)]((_0x5b3c92) => {
const _0x51fd08 = _0x1e9ac1;
let _0x40cad1 = this[_0x51fd08(413)][_0x5b3c92], _0x6fc635 = _0x40cad1[0] + _0x40cad1[1], _0x3a2767 = this[_0x51fd08(381)] > _0x6fc635 ? 1 : (this[_0x51fd08(381)] - _0x40cad1[0]) / _0x40cad1[1], _0x5a6c6c = _0x51fd08(386) + _0x449524[0] + "," + _0x449524[1] + ", " + _0x449524[2] + ", " + _0x3a2767 + _0x51fd08(384);
_0x117dba[_0x51fd08(396)](["${id} === '" + _0x5b3c92 + "'", _0x5a6c6c]);
}), _0x117dba[_0x1e9ac1(396)](["true", _0x1e9ac1(307)]), this["tileset"]["style"] = new _0x1b2787[_0x1e9ac1(359)]({ "color": { "conditions": _0x117dba } });
}
[_0x1cec0b(296)](_0x39ec68) {
const _0x2757b5 = _0x1cec0b;
this[_0x2757b5(400)]();
let _0x4584db = {};
_0x39ec68[_0x2757b5(368)]((_0x4cc874) => {
const _0x15321f = _0x2757b5;
_0x4584db[_0x4cc874[_0x15321f(378)]] = [_0x4cc874[_0x15321f(448)], _0x4cc874[_0x15321f(444)]];
});
let _0x30250f = _0x39ec68[_0x2757b5(423)]((_0x30f80a) => _0x30f80a["delay"]), _0x1186b3 = _0x30250f[_0x2757b5(285)] === 0 ? 0 : Math[_0x2757b5(419)](..._0x30250f), _0x3443c1 = _0x39ec68[_0x2757b5(423)]((_0x3eb71b) => _0x3eb71b[_0x2757b5(444)]), _0x225ded = _0x3443c1[_0x2757b5(285)] === 0 ? 0 : Math["max"](..._0x3443c1);
this["memberAnimRuntime"] = _0x1186b3 + _0x225ded, this[_0x2757b5(413)] = _0x4584db || {};
}
[_0x1cec0b(398)]() {
const _0x6c4540 = _0x1cec0b;
if (JSON[_0x6c4540(277)](this["memberAnimationOpt"]) === "{}") {
console[_0x6c4540(375)](_0x6c4540(367));
return;
}
if (this["memberAnimationTimer"])
return;
if (this["memberAnimationTime"] === 0) {
let _0x5f4c96 = Object[_0x6c4540(346)](this[_0x6c4540(470)]);
_0x5f4c96[_0x6c4540(368)]((_0x271485) => {
_0x271485["forEach"]((_0x40e69a) => {
const _0x34f16a = _0x3e9c;
_0x40e69a[_0x34f16a(326)] = ![];
});
});
}
this[_0x6c4540(455)] = setInterval(() => {
const _0x1752a0 = _0x6c4540;
if (this[_0x1752a0(381)] >= this[_0x1752a0(432)]) {
this["stop"]();
return;
}
this[_0x1752a0(381)] += 100;
let _0xb4d836 = Object["keys"](this[_0x1752a0(413)]);
_0xb4d836[_0x1752a0(368)]((_0x6abc85) => {
var _a3;
const _0x22816b = _0x1752a0;
let _0xac07da = this[_0x22816b(413)][_0x6abc85][0];
_0xac07da <= this[_0x22816b(381)] && !this[_0x22816b(361)][_0x22816b(284)](_0x6abc85) && (this[_0x22816b(361)]["push"](_0x6abc85), (_a3 = this[_0x22816b(470)][_0x6abc85]) == null ? void 0 : _a3[_0x22816b(368)]((_0xae9b13) => {
_0xae9b13["show"] = !![];
}));
}), this[_0x1752a0(298)]();
}, 100);
}
[_0x1cec0b(400)]() {
const _0xdedd10 = _0x1cec0b;
this[_0xdedd10(361)] = [], this[_0xdedd10(381)] = 0, this["memberAnimationTimer"] && (clearInterval(this["memberAnimationTimer"]), this[_0xdedd10(455)] = null);
}
[_0x1cec0b(276)]() {
const _0x2eb8ef = _0x1cec0b;
this[_0x2eb8ef(455)] && (clearInterval(this["memberAnimationTimer"]), this["memberAnimationTimer"] = null);
}
[_0x1cec0b(278)]() {
const _0x1c0b6f = _0x1cec0b;
this[_0x1c0b6f(400)](), this["start"]();
}
[_0x1cec0b(389)](_0x1bdcc6) {
const _0x245a44 = _0x1cec0b;
if (this["tileset"]) {
let _0x163dbe = this[_0x245a44(263)][_0x245a44(343)][_0x245a44(401)]["clone"]();
const _0x2c55f9 = _0x1b2787[_0x245a44(379)][_0x245a44(374)](_0x163dbe), _0x3e70b7 = _0x1b2787[_0x245a44(324)][_0x245a44(289)](_0x2c55f9["longitude"], _0x2c55f9[_0x245a44(409)], 0);
let _0x174a69 = this["offsetX"] / 1e5, _0x126d26 = this[_0x245a44(365)] / 1e5;
const _0x4b631f = _0x1b2787[_0x245a44(324)][_0x245a44(289)](_0x2c55f9["longitude"] + _0x174a69, _0x2c55f9[_0x245a44(409)] + _0x126d26, _0x1bdcc6), _0xf2b2a6 = _0x1b2787[_0x245a44(324)]["subtract"](_0x4b631f, _0x3e70b7, new _0x1b2787[_0x245a44(324)]());
let _0x3f0b4e = _0x1b2787["Matrix4"][_0x245a44(406)](_0xf2b2a6);
_0x26b4d0["to"](this["tileset"][_0x245a44(414)], 2, { ..._0x3f0b4e });
}
}
[_0x1cec0b(258)](_0x513c4c, _0x237617 = 0, _0x25589a = 0) {
const _0x2d2a90 = _0x1cec0b;
if (this[_0x2d2a90(263)]) {
let _0x1e1b09 = this[_0x2d2a90(263)][_0x2d2a90(343)]["center"][_0x2d2a90(481)]();
const _0x141eec = _0x1b2787[_0x2d2a90(379)]["fromCartesian"](_0x1e1b09), _0x3848ef = _0x1b2787[_0x2d2a90(324)]["fromRadians"](_0x141eec[_0x2d2a90(469)], _0x141eec[_0x2d2a90(409)], 0);
_0x237617 = _0x237617 / 1e5, _0x25589a = _0x25589a / 1e5;
const _0x51b071 = _0x1b2787[_0x2d2a90(324)][_0x2d2a90(289)](_0x141eec["longitude"] + _0x237617, _0x141eec[_0x2d2a90(409)] + _0x25589a, _0x513c4c), _0x1fac72 = _0x1b2787["Cartesian3"]["subtract"](_0x51b071, _0x3848ef, new _0x1b2787["Cartesian3"]());
this["tileset"][_0x2d2a90(414)] = _0x1b2787[_0x2d2a90(259)][_0x2d2a90(406)](_0x1fac72);
} else
this["height"] = _0x513c4c, this[_0x2d2a90(292)] = _0x237617, this[_0x2d2a90(365)] = _0x25589a;
}
["getChildAllContent"](_0x2b1ebd) {
const _0x382f6d = _0x1cec0b;
let _0xe9488f = [];
if (_0x2b1ebd) {
_0xe9488f[_0x382f6d(396)](_0x2b1ebd);
let _0x2554c9 = _0x2b1ebd[_0x382f6d(350)];
_0x2554c9 && _0x2554c9[_0x382f6d(368)]((_0x331432) => {
const _0x3f13df = _0x382f6d;
_0xe9488f[_0x3f13df(396)](...this[_0x3f13df(347)](_0x331432));
});
}
return _0xe9488f;
}
["getTilesetAllContent"](_0x276dfb) {
const _0x453785 = _0x1cec0b;
let _0x21e9ce = [];
if (_0x276dfb[_0x453785(403)]) {
let _0x5e84de = _0x276dfb[_0x453785(403)];
_0x5e84de[_0x453785(368)]((_0x5e192d) => {
const _0xd16672 = _0x453785;
_0x21e9ce[_0xd16672(396)](...this[_0xd16672(485)](_0x5e192d));
});
}
return _0x21e9ce[_0x453785(396)](...this[_0x453785(347)](_0x276dfb["content"])), _0x21e9ce;
}
[_0x1cec0b(463)]() {
const _0x39543e = _0x1cec0b;
if (!this["centerMatrix4"]) {
let _0x297bf4 = this[_0x39543e(263)][_0x39543e(343)], _0x3ef46b = _0x1b2787[_0x39543e(379)]["fromCartesian"](_0x297bf4[_0x39543e(401)]), _0x3993e4 = _0x1b2787[_0x39543e(273)]["toDegrees"](_0x3ef46b[_0x39543e(469)]), _0x568c2d = _0x1b2787[_0x39543e(273)][_0x39543e(309)](_0x3ef46b["latitude"]), _0x5f4167 = _0x1b2787[_0x39543e(324)][_0x39543e(289)](_0x1b2787[_0x39543e(273)][_0x39543e(415)](_0x3993e4), _0x1b2787[_0x39543e(273)][_0x39543e(415)](_0x568c2d), 0), _0xb3c8b1 = _0x1b2787[_0x39543e(486)]["eastNorthUpToFixedFrame"](_0x5f4167);
this["centerMatrix4"] = _0xb3c8b1["clone"]();
}
return this[_0x39543e(342)];
}
[_0x1cec0b(345)]() {
const _0x514d5a = _0x1cec0b;
if (this["opt"][_0x514d5a(363)])
return;
let _0x1abea8 = this[_0x514d5a(463)]()[_0x514d5a(481)](), _0x48401a = _0x1b2787[_0x514d5a(259)][_0x514d5a(462)](this["scale"]);
_0x1b2787[_0x514d5a(259)]["multiply"](_0x1abea8, _0x48401a, _0x1abea8);
let _0x30ebde = _0x1b2787[_0x514d5a(327)][_0x514d5a(453)](_0x1b2787[_0x514d5a(273)][_0x514d5a(415)](this[_0x514d5a(281)])), _0x433fd8 = _0x1b2787[_0x514d5a(259)]["fromRotationTranslation"](_0x30ebde);
_0x1b2787[_0x514d5a(259)][_0x514d5a(260)](_0x1abea8, _0x433fd8, _0x1abea8);
let _0x21e27a = _0x1b2787[_0x514d5a(327)][_0x514d5a(428)](_0x1b2787[_0x514d5a(273)]["toRadians"](this["rotateY"])), _0x5db1ce = _0x1b2787["Matrix4"][_0x514d5a(392)](_0x21e27a);
_0x1b2787[_0x514d5a(259)][_0x514d5a(260)](_0x1abea8, _0x5db1ce, _0x1abea8);
let _0x548f1c = _0x1b2787[_0x514d5a(327)]["fromRotationZ"](_0x1b2787["Math"][_0x514d5a(415)](this["rotateZ"])), _0x525e28 = _0x1b2787["Matrix4"][_0x514d5a(392)](_0x548f1c);
_0x1b2787[_0x514d5a(259)][_0x514d5a(260)](_0x1abea8, _0x525e28, _0x1abea8), this[_0x514d5a(263)][_0x514d5a(283)]["transform"] = _0x1abea8;
}
[_0x1cec0b(261)]() {
const _0x2178fe = _0x1cec0b;
let _0x72747a = this["tileset"][_0x2178fe(343)][_0x2178fe(481)]();
this[_0x2178fe(355)]["view"][_0x2178fe(387)][_0x2178fe(362)](_0x72747a);
}
["loadClip_box"](_0x5a6a46, _0x195d80, _0x5e7f3f) {
const _0x11359c = _0x1cec0b;
var _0x14af42 = this["tileset"], _0x45e35f = void 0, _0x74432 = _0x14af42[_0x11359c(339)][_0x11359c(474)];
_0x45e35f = _0x74432 && _0x74432[_0x11359c(253)](_0x1b2787[_0x11359c(259)]["IDENTITY"]) || !_0x74432 ? _0x1b2787[_0x11359c(486)]["eastNorthUpToFixedFrame"](_0x14af42[_0x11359c(343)]["center"]) : _0x1b2787[_0x11359c(259)]["fromArray"](_0x14af42[_0x11359c(339)][_0x11359c(474)]), _0x45e35f = _0x1b2787[_0x11359c(259)][_0x11359c(449)](_0x1b2787[_0x11359c(259)][_0x11359c(325)](_0x14af42[_0x11359c(339)][_0x11359c(474)]), new _0x1b2787[_0x11359c(259)]());
let _0x1aae91 = _0x1b2787[_0x11359c(486)]["eastNorthUpToFixedFrame"](_0x14af42["boundingSphere"][_0x11359c(401)])[_0x11359c(481)](), _0x1b7458 = _0x1b2787[_0x11359c(259)][_0x11359c(462)](this[_0x11359c(304)]);
_0x1b2787["Matrix4"][_0x11359c(260)](_0x1aae91, _0x1b7458, _0x1aae91);
let _0x2c0f45 = _0x1b2787[_0x11359c(327)][_0x11359c(453)](_0x1b2787[_0x11359c(273)]["toRadians"](this[_0x11359c(281)])), _0x46acfa = _0x1b2787[_0x11359c(259)][_0x11359c(392)](_0x2c0f45);
_0x1b2787[_0x11359c(259)][_0x11359c(260)](_0x1aae91, _0x46acfa, _0x1aae91);
let _0x5d33f8 = _0x1b2787[_0x11359c(327)][_0x11359c(428)](_0x1b2787["Math"]["toRadians"](this[_0x11359c(280)])), _0x479f2d = _0x1b2787[_0x11359c(259)][_0x11359c(392)](_0x5d33f8);
_0x1b2787[_0x11359c(259)][_0x11359c(260)](_0x1aae91, _0x479f2d, _0x1aae91);
let _0x516c2c = _0x1b2787[_0x11359c(327)][_0x11359c(483)](_0x1b2787[_0x11359c(273)][_0x11359c(